/* Ticket list only; original controls and records remain in place. */
body.itp-ticket-list table.itp-ticket-cards{table-layout:auto!important}
body.itp-ticket-list .itp-ticket-more{display:none}
@media(min-width:768px){
 body.itp-ticket-list .table-responsive:has(.itp-ticket-cards){overflow-x:auto!important}
 body.itp-ticket-list table.itp-ticket-cards{min-width:1100px!important}
 body.itp-ticket-list table.itp-ticket-cards td{line-height:1.8;vertical-align:top}
 body.itp-ticket-list table.itp-ticket-cards td[data-ticket-field="1"]{min-width:210px}
 body.itp-ticket-list table.itp-ticket-cards td[data-ticket-field="21"]{min-width:260px;max-width:360px;white-space:normal!important}
}
@media(max-width:767px){
 body.itp-ticket-list .table-responsive:has(.itp-ticket-cards){overflow:visible!important}
 body.itp-ticket-list table.itp-ticket-cards,body.itp-ticket-list table.itp-ticket-cards tbody{display:block!important;width:100%!important;min-width:0!important;background:transparent!important}
 body.itp-ticket-list table.itp-ticket-cards thead{position:static!important;display:block!important;width:100%!important;height:auto!important;clip:auto!important;margin:0 0 12px!important;overflow:auto!important;white-space:nowrap!important;background:#f1f5fb;border-radius:12px}
 body.itp-ticket-list table.itp-ticket-cards thead tr{display:flex!important;gap:8px;padding:8px!important;width:max-content!important;max-width:none!important}
 body.itp-ticket-list table.itp-ticket-cards thead th{display:flex!important;align-items:center;min-height:40px;flex:none;padding:6px 10px!important;font-size:12px;background:#fff;border-radius:8px}
 body.itp-ticket-list table.itp-ticket-cards tbody>tr[data-itp-ticket-ready]{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px 12px!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0 0 14px!important;padding:16px!important;background:#fff!important;border:1px solid #dce5f1!important;border-radius:18px!important;box-shadow:0 4px 16px #19335a08!important;box-sizing:border-box!important}
 body.itp-ticket-list table.itp-ticket-cards tbody>tr>td{display:none!important;grid-column:1/-1;min-height:0!important;width:auto!important;min-width:0!important;max-width:100%!important;padding:0!important;border:0!important;background:transparent!important;white-space:normal!important;overflow-wrap:break-word!important;line-height:1.8!important;font-size:13px!important;box-shadow:none!important}
 body.itp-ticket-list table.itp-ticket-cards tbody>tr>td:before{display:none!important}
 body.itp-ticket-list table.itp-ticket-cards td[data-ticket-field="select"]{display:block!important;grid-column:2;grid-row:1}
 body.itp-ticket-list table.itp-ticket-cards td[data-ticket-field="2"]{display:block!important;grid-column:1;grid-row:1;color:#64748b;font-size:12px!important}
 body.itp-ticket-list table.itp-ticket-cards td[data-ticket-field="2"]:before{display:inline!important;content:'شماره تیکت: '!important}
 body.itp-ticket-list table.itp-ticket-cards td[data-ticket-field="1"]{display:block!important;grid-row:2}
 body.itp-ticket-list table.itp-ticket-cards td[data-ticket-field="1"]>a{display:block!important;font-size:16px!important;font-weight:800;color:#153d72;min-height:44px!important;padding:4px 0;line-height:1.8}
 body.itp-ticket-list table.itp-ticket-cards td[data-ticket-field="12"]{display:block!important;grid-row:3;color:#27527c;background:#edf5ff!important;border-radius:8px;padding:7px 10px!important}
 body.itp-ticket-list table.itp-ticket-cards td[data-ticket-field="12"] .text-nowrap{white-space:normal!important}
 body.itp-ticket-list table.itp-ticket-cards td[data-ticket-field="19"]{display:block!important;color:#64748b;font-size:12px!important}
 body.itp-ticket-list table.itp-ticket-cards td[data-ticket-field="19"]:before{display:inline!important;content:'آخرین به‌روزرسانی: '!important}
 body.itp-ticket-list table.itp-ticket-cards tbody>tr.itp-ticket-expanded>td:not(.itp-ticket-more){display:block!important}
 body.itp-ticket-list table.itp-ticket-cards tbody>tr.itp-ticket-expanded>td[data-ticket-field]:not([data-ticket-field="1"]):not([data-ticket-field="2"]):not([data-ticket-field="12"]):not([data-ticket-field="select"]):before{display:block!important;content:attr(data-itp-label)!important;color:#64748b;font-size:12px;margin-bottom:4px}
 body.itp-ticket-list table.itp-ticket-cards tbody>tr>td.itp-ticket-more{display:block!important;order:99;border-top:1px solid #edf1f7!important;padding-top:8px!important}
 body.itp-ticket-list .itp-ticket-more button{width:100%;min-height:44px!important;border:0;border-radius:10px;background:#f1f5fb;color:#24549a;font:inherit;font-weight:700;cursor:pointer}
 body.itp-ticket-list .itp-ticket-more button:focus-visible{outline:3px solid #82b9ff;outline-offset:2px}
 body.itp-ticket-list .secondary-bar .btn{min-width:40px;min-height:40px}
}

@media(max-width:767px){
 body.itp-ticket-list .secondary-bar{position:static!important}
 body.itp-ticket-list .secondary-bar>.container-fluid{flex-wrap:wrap!important;gap:8px!important;padding:10px!important}
 body.itp-ticket-list .secondary-bar .navbar-nav{width:100%;overflow-x:auto;border:0!important;padding:0!important;gap:6px}
 body.itp-ticket-list .secondary-bar .navbar-nav .btn{width:auto!important;padding:8px 12px!important;white-space:nowrap}
 body.itp-ticket-list .secondary-bar .navbar-nav .btn>span{display:inline!important;font-size:12px}
 body.itp-ticket-list .secondary-bar .navbar-nav .btn>i{display:none!important}
 body.itp-ticket-list .search-header{flex-wrap:wrap!important;overflow:visible!important;padding:10px!important}
 body.itp-ticket-list .search-controls{flex-wrap:wrap!important;gap:6px!important}
 body.itp-ticket-list .search-controls .form-switch{width:auto!important;min-width:64px!important;gap:4px!important;padding:8px!important}
 body.itp-ticket-list .search-controls .form-switch:after{content:attr(data-itp-action)!important;display:block!important;font-size:12px!important;white-space:nowrap}
 body.itp-ticket-list .search-controls .form-check-label{display:none!important}
 body.itp-ticket-list .search-controls .show_displaypreference_modal:after{content:'ستون‌ها';font-size:12px}
 body.itp-ticket-list #dropdown-export:after{content:'خروجی';font-size:12px;border:0!important}
 body.itp-ticket-list .search-controls button>i,body.itp-ticket-list #dropdown-export>span{display:none!important}
}

@media(max-width:767px){
html body.itp-shell-ready.itp-ticket-list .secondary-bar{position:static!important;height:auto!important;max-height:none!important}
html body.itp-shell-ready.itp-ticket-list .secondary-bar .navbar-nav{display:flex!important;max-width:100%!important}
html body.itp-shell-ready.itp-ticket-list .secondary-bar .navbar-nav .nav-item{display:block!important}
html body.itp-shell-ready.itp-ticket-list .secondary-bar .navbar-nav .btn>span{display:inline!important}
html body.itp-shell-ready.itp-ticket-list .search-card>.search-header{max-height:none!important;height:auto!important;flex-wrap:wrap!important;overflow:visible!important}
html body.itp-shell-ready.itp-ticket-list .search-card>.search-header .search-controls{flex-wrap:wrap!important;max-width:100%!important}
html body.itp-shell-ready.itp-ticket-list .search-card>.search-header .search-controls label.form-switch{width:auto!important;min-width:64px!important;padding:8px!important;overflow:visible!important}
html body.itp-shell-ready.itp-ticket-list .search-card>.search-header .search-controls label.form-switch>.form-check-label{display:none!important}
html body.itp-shell-ready.itp-ticket-list .search-card>.search-header .search-controls label.form-switch::after{content:attr(data-itp-action)!important;position:static!important;width:auto!important;height:auto!important;border-radius:0!important;background:none!important;opacity:1!important;font-size:12px!important}
html body.itp-shell-ready.itp-ticket-list .search-card>.search-header .search-controls label.form-switch:has(input:checked){background:#dcecff!important;outline:2px solid #4084e9}
}

body.itp-ticket-list .itp-ticket-intro{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:16px;color:#183e70}
body.itp-ticket-list .itp-ticket-intro a{padding:10px 14px;min-height:44px;border-radius:10px;background:#1564ee;color:#fff;font-weight:700;text-decoration:none}
@media(max-width:767px){
html body.itp-shell-ready.itp-ticket-list #dropdown-export{width:auto!important;min-width:64px!important}
html body.itp-shell-ready.itp-ticket-list #dropdown-export::after{transform:none!important;position:static!important;width:auto!important;height:auto!important;border:0!important;margin:0!important}
body.itp-ticket-list .itp-ticket-intro{font-size:13px;padding:12px 2px}
}

@media(max-width:767px){
html body.itp-shell-ready.itp-ticket-list table.itp-ticket-cards tbody>tr>td.itp-ticket-more{display:flex!important;gap:8px}
body.itp-ticket-list .itp-ticket-more>a{display:flex!important;align-items:center;justify-content:center;flex:1;min-height:44px!important;border-radius:10px;background:#1564ee;color:#fff!important;text-decoration:none;white-space:nowrap!important;padding:8px 12px!important;font-weight:700}
body.itp-ticket-list .itp-ticket-more button{flex:1;width:auto!important}
}

@media(max-width:767px){
html body.itp-shell-ready.itp-ticket-list .secondary-bar{margin-top:104px!important}
html body.itp-shell-ready.itp-ticket-list .secondary-bar .navbar-nav{flex-wrap:nowrap!important;overflow-x:auto!important;min-height:44px!important}
html body.itp-shell-ready.itp-ticket-list .secondary-bar .navbar-nav .nav-item{flex:0 0 auto!important}
html body.itp-shell-ready.itp-ticket-list .page-wrapper{padding-top:0!important}
}

/* Keep the ticket tools below, rather than behind, the fixed mobile header. */
@media(max-width:767px){
html body.itp-shell-ready.itp-ticket-list .secondary-bar{position:sticky!important;top:104px!important;z-index:840000!important;margin-top:104px!important;width:100%!important;max-width:100%!important;left:auto!important;right:auto!important;background:#fff!important}
html body.itp-shell-ready.itp-ticket-list .secondary-bar>.container-fluid{width:100%!important;min-width:0!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;padding:8px 12px!important;gap:8px!important}
html body.itp-shell-ready.itp-ticket-list .secondary-bar .breadcrumb{margin:0!important;padding:0!important;min-height:20px!important}
html body.itp-shell-ready.itp-ticket-list .secondary-bar .navbar-nav{margin:0!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:44px!important;flex-wrap:nowrap!important;gap:6px!important;padding-bottom:4px!important}
html body.itp-shell-ready.itp-ticket-list .secondary-bar .navbar-nav .btn{height:44px!important;min-height:44px!important;min-width:72px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:8px 12px!important;font-size:12px!important;border-radius:9px!important}
}

@media(max-width:767px){
html body.itp-shell-ready.itp-ticket-list .secondary-bar{position:fixed!important;top:104px!important;left:0!important;right:0!important;margin:0!important;width:100%!important;height:128px!important;min-height:128px!important;max-height:128px!important;padding:0!important;box-sizing:border-box!important;overflow:hidden!important}
html body.itp-shell-ready.itp-ticket-list .page-wrapper{padding-top:244px!important}
}

.itp-mobile-tools>summary{display:none}
@media(min-width:768px){.itp-mobile-tools{display:contents}.itp-mobile-tools:not([open])>.navbar-nav{display:flex!important}}
@media(max-width:767px){
html body.itp-shell-ready.itp-ticket-mobile .secondary-bar{position:fixed!important;top:104px!important;left:0!important;right:0!important;margin:0!important;padding:8px 12px!important;width:100%!important;height:56px!important;min-height:56px!important;max-height:56px!important;overflow:visible!important;z-index:840000!important;background:#fff!important;box-sizing:border-box!important}
html body.itp-shell-ready.itp-ticket-mobile .secondary-bar>.container-fluid{padding:0!important;display:block!important;width:100%!important}
html body.itp-shell-ready.itp-ticket-mobile .secondary-bar .breadcrumb{display:none!important}
html body.itp-shell-ready.itp-ticket-mobile .page-wrapper{padding-top:172px!important}
html body.itp-shell-ready.itp-ticket-mobile .itp-mobile-tools{position:relative;width:100%;margin:0}
html body.itp-shell-ready.itp-ticket-mobile .itp-mobile-tools>summary{display:flex!important;align-items:center;justify-content:space-between;min-height:40px;padding:6px 12px;border:1px solid #dce5f1;border-radius:10px;background:#f4f7fc;color:#234b7d;font-size:14px;font-weight:700;cursor:pointer;list-style:none;box-sizing:border-box}
html body.itp-shell-ready.itp-ticket-mobile .itp-mobile-tools>summary:after{content:'⌄';font-size:20px}
html body.itp-shell-ready.itp-ticket-mobile .itp-mobile-tools[open]>summary:after{content:'⌃'}
html body.itp-shell-ready.itp-ticket-mobile .itp-mobile-tools:not([open])>.navbar-nav{display:none!important}
html body.itp-shell-ready.itp-ticket-mobile .itp-mobile-tools[open]>.navbar-nav{position:absolute!important;top:48px;right:0;left:0;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;margin:0!important;padding:12px!important;width:100%!important;max-height:60vh;overflow:auto!important;background:#fff;box-shadow:0 12px 30px #1c38552b;border:1px solid #dce5f1;border-radius:12px;box-sizing:border-box}
html body.itp-shell-ready.itp-ticket-mobile .itp-mobile-tools .nav-item{display:block!important;min-width:0}
html body.itp-shell-ready.itp-ticket-mobile .itp-mobile-tools .btn{display:flex!important;justify-content:center;align-items:center;white-space:normal!important;width:100%!important;min-height:44px!important;height:auto!important;margin:0!important;padding:8px!important;font-size:13px;border-radius:8px;box-sizing:border-box}
html body.itp-shell-ready.itp-ticket-mobile .itp-mobile-tools .btn>span{display:inline!important}
html body.itp-shell-ready.itp-ticket-mobile .itp-mobile-tools .btn>i{display:none!important}
html body.itp-shell-ready.itp-ticket-mobile .itil-left-side{order:-1!important;width:100%!important;padding:12px 4px!important;border-top:0!important}
html body.itp-shell-ready.itp-ticket-mobile .itil-right-side{order:2!important;width:100%!important}
html body.itp-shell-ready.itp-ticket-mobile .itil-timeline{width:100%!important}
html body.itp-shell-ready.itp-ticket-mobile .timeline-item{max-width:100%!important;min-width:0!important}
html body.itp-shell-ready.itp-ticket-mobile .timeline-item p{font-size:15px!important;line-height:2!important;overflow-wrap:break-word}
html body.itp-shell-ready.itp-ticket-mobile .page-body{padding:10px!important}
html body.itp-shell-ready.itp-ticket-mobile .form-control,html body.itp-shell-ready.itp-ticket-mobile .select2-selection{font-size:16px!important;min-height:44px!important}
html body.itp-shell-ready.itp-ticket-mobile .accordion-button{font-size:14px!important;min-height:52px!important;line-height:1.8}
html body.itp-shell-ready.itp-ticket-list table.itp-ticket-cards tbody>tr.itp-ticket-expanded>td.itp-ticket-empty{display:none!important}
html body.itp-shell-ready.itp-ticket-list table.itp-ticket-cards td[data-ticket-field="19"]{font-size:13px!important}
html body.itp-shell-ready.itp-ticket-list table.itp-ticket-cards td[data-ticket-field="1"]>a{font-size:17px!important}
html body.itp-shell-ready.itp-ticket-mobile #itil-footer{padding-bottom:env(safe-area-inset-bottom)!important}
}

.itp-field-caption{display:none}
@media(max-width:767px){
html body.itp-shell-ready.itp-ticket-mobile .itilfollowup .form-field{display:flex!important;flex-direction:column!important;padding:0!important;margin:0 0 14px!important;width:100%!important}
html body.itp-shell-ready.itp-ticket-mobile .itilfollowup label.col-form-label{width:100%!important;max-width:100%!important;text-align:right!important;display:block!important;padding:4px 0!important;font-size:14px!important}
html body.itp-shell-ready.itp-ticket-mobile .itp-field-caption{display:inline!important}
html body.itp-shell-ready.itp-ticket-mobile .itilfollowup .form-field>.col-10{width:100%!important;max-width:100%!important}
html body.itp-shell-ready.itp-ticket-mobile .itilfollowup .row{margin-left:0!important;margin-right:0!important}
html body.itp-shell-ready.itp-ticket-mobile .itilfollowup .tox-tinymce{min-height:230px!important;border-radius:12px!important}
html body.itp-shell-ready.itp-ticket-mobile .itilfollowup .fileupload{padding:12px!important;border:1px dashed #aebfd5;border-radius:12px;font-size:13px!important;overflow-wrap:anywhere}
html body.itp-shell-ready.itp-ticket-mobile .timeline-content{margin-left:0!important;margin-right:0!important;border-radius:14px!important}
html body.itp-shell-ready.itp-ticket-mobile .timeline-content .card-body{padding:14px!important}
html body.itp-shell-ready.itp-ticket-mobile .itilfollowup .btn[type=submit]{min-height:48px!important;font-size:15px!important}
html body.itp-shell-ready.itp-ticket-mobile .page-body h3{font-size:17px!important;line-height:1.8!important;overflow-wrap:break-word}
}

@media(max-width:767px){
html body.itp-shell-ready.itp-ticket-mobile .plugin_formcreator_form{width:100%!important;max-width:100%!important;margin:0!important;padding:8px!important;box-sizing:border-box}
html body.itp-shell-ready.itp-ticket-mobile .plugin_formcreator_form [id^="form-group-field"]{padding:12px!important;margin-bottom:6px!important;box-sizing:border-box;max-width:100%!important}
html body.itp-shell-ready.itp-ticket-mobile .plugin_formcreator_form label{font-size:14px!important;line-height:1.8!important}
html body.itp-shell-ready.itp-ticket-mobile .plugin_formcreator_form input:not([type=hidden]):not([type=checkbox]),html body.itp-shell-ready.itp-ticket-mobile .plugin_formcreator_form .select2-container{max-width:100%!important}
html body.itp-shell-ready.itp-ticket-mobile .plugin_formcreator_form button[type=submit],html body.itp-shell-ready.itp-ticket-mobile .plugin_formcreator_form input[type=submit]{display:block;width:100%!important;min-height:48px!important;background:#1564ee!important;border:0!important;border-radius:12px!important;color:#fff!important;font-size:16px!important;font-weight:700!important;padding:12px!important}
}

.itp-detail-status,.itp-message-meta,.itp-action-caption{display:none}
@media(max-width:767px){
html body.itp-shell-ready.itp-ticket-detail .navigationheader{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;padding:14px!important;margin:0 0 12px!important;background:#fff;border:1px solid #dce5ef;border-radius:16px;min-height:0!important}
html body.itp-shell-ready.itp-ticket-detail .navigationheader-title{grid-column:1/-1;grid-row:1;width:100%!important;max-width:100%!important;min-width:0!important;display:block!important;text-align:right!important;margin:0!important;padding:0!important;white-space:normal!important;font-size:18px!important;line-height:1.9!important;overflow:visible!important}
html body.itp-shell-ready.itp-ticket-detail .navigationheader-title>span{display:none!important}
html body.itp-shell-ready.itp-ticket-detail .itp-detail-status{display:block!important;grid-column:1/-1;grid-row:2;padding:7px 10px;border-radius:9px;background:#edf5ff;color:#285584;font-size:13px;line-height:1.8}
html body.itp-shell-ready.itp-ticket-detail .navigationheader>div:not(.itp-detail-status){display:flex!important;align-items:center;gap:4px;width:auto!important;min-width:0!important}
html body.itp-shell-ready.itp-ticket-detail .navigationheader>div:last-child{justify-content:flex-end}
html body.itp-shell-ready.itp-ticket-detail .navigationheader .btn{min-height:40px;min-width:40px;background:#f1f5fa;border-radius:8px}
html body.itp-shell-ready.itp-ticket-detail .navigationheader .bs-invisible{display:none!important}
html body.itp-shell-ready.itp-ticket-detail #tabspanel,html body.itp-shell-ready.itp-ticket-detail .itp-tabs-scroll-hint{display:none!important}
html body.itp-shell-ready.itp-ticket-detail #tabspanel-select{height:48px!important;margin:0 0 12px!important;padding:8px 12px!important;background:#fff!important;border:1px solid #cddae8!important;border-radius:12px!important;font-size:15px!important}
html body.itp-shell-ready.itp-ticket-detail .card-tabs>.tab-content{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html body.itp-shell-ready.itp-ticket-detail .timeline-item>.row{margin:0!important;display:block!important}
html body.itp-shell-ready.itp-ticket-detail .timeline-item>.row>.col-auto{display:none!important}
html body.itp-shell-ready.itp-ticket-detail .timeline-item>.row>.col,html body.itp-shell-ready.itp-ticket-detail .timeline-item>.row>.col-12{padding:0!important;width:100%!important;max-width:100%!important}
html body.itp-shell-ready.itp-ticket-detail .timeline-content{margin:0 0 14px!important;border:1px solid #d9e6e8!important;background:#fff!important;box-shadow:0 4px 16px #19324b08!important}
html body.itp-shell-ready.itp-ticket-detail .ITILContent .timeline-content{border-right:4px solid #1596a6!important;background:#f4fbfc!important}
html body.itp-shell-ready.itp-ticket-detail .timeline-header{display:flex!important;align-items:flex-start!important;gap:8px!important;margin-bottom:12px!important;min-height:36px!important}
html body.itp-shell-ready.itp-ticket-detail .timeline-header>.creator{display:none!important}
html body.itp-shell-ready.itp-ticket-detail .itp-message-meta{display:flex!important;flex:1;min-width:0;flex-direction:column;gap:4px;font-size:12px;color:#62788d;line-height:1.7}
html body.itp-shell-ready.itp-ticket-detail .itp-message-meta strong{font-size:13px;color:#28516c}
html body.itp-shell-ready.itp-ticket-detail .itp-message-meta span{align-self:flex-start}
html body.itp-shell-ready.itp-ticket-detail .read-only-content>.card-title{margin:0 0 12px!important;padding:0 0 10px!important;border-bottom:1px solid #dce8ed!important;background:transparent!important;font-size:16px!important;line-height:1.9!important}
html body.itp-shell-ready.itp-ticket-detail .rich_text_container{font-size:15px!important;line-height:2!important;max-width:100%;overflow-wrap:anywhere}
html body.itp-shell-ready.itp-ticket-detail .rich_text_container img{max-width:100%!important;height:auto!important}
html body.itp-shell-ready.itp-ticket-detail .rich_text_container table{display:block;max-width:100%;overflow-x:auto}
html body.itp-shell-ready.itp-ticket-detail .rich_text_container pre{white-space:pre-wrap;overflow-wrap:anywhere}
html body.itp-shell-ready.itp-ticket-detail #itil-data{border:1px solid #dce5ef!important;border-radius:14px!important;overflow:hidden!important;background:#fff}
html body.itp-shell-ready.itp-ticket-detail #itil-data .accordion-body{padding:14px!important}
html body.itp-shell-ready.itp-ticket-detail #itil-data .form-field{display:block!important;width:100%!important;max-width:100%!important;margin:0 0 14px!important;padding:0!important}
html body.itp-shell-ready.itp-ticket-detail #itil-data .form-field>label,html body.itp-shell-ready.itp-ticket-detail #itil-data .field-container{display:block!important;width:100%!important;max-width:100%!important;text-align:right!important;font-size:14px!important;line-height:1.8!important}
html body.itp-shell-ready.itp-ticket-detail #itil-data .field-container{padding:0!important}
html body.itp-shell-ready.itp-ticket-detail .select2-container{max-width:100%!important;min-width:0!important}
html body.itp-shell-ready.itp-ticket-detail .select2-selection__rendered{white-space:normal!important;line-height:1.8!important;padding-top:6px!important;padding-bottom:6px!important}
html body.itp-shell-ready.itp-ticket-detail #itil-footer{position:fixed!important;bottom:0!important;left:0!important;right:0!important;width:100%!important;max-width:100%!important;margin:0!important;background:#fff!important;box-shadow:0 -4px 20px #17385114!important;border-top:1px solid #dce5ef!important;z-index:840000!important;padding:8px 10px calc(8px + env(safe-area-inset-bottom))!important;box-sizing:border-box}
html body.itp-shell-ready.itp-ticket-detail #itil-footer>.buttons-bar{display:flex!important;flex-wrap:wrap!important;gap:8px!important;padding:0!important}
html body.itp-shell-ready.itp-ticket-detail #itil-footer .timeline-buttons{width:100%!important;flex:1 1 100%!important;gap:6px!important;padding:0!important;margin:0!important;display:flex!important}
html body.itp-shell-ready.itp-ticket-detail #itil-footer .main-actions{flex:1!important;margin:0!important}
html body.itp-shell-ready.itp-ticket-detail #itil-footer .answer-action.btn{flex:1!important;font-size:15px!important;min-height:44px!important;margin:0!important}
html body.itp-shell-ready.itp-ticket-detail #itil-footer .dropdown-toggle-split{min-width:38px!important;margin:0!important}
html body.itp-shell-ready.itp-ticket-detail #itil-footer .filter-timeline{display:flex!important;align-items:center!important;gap:4px!important;margin:0!important}
html body.itp-shell-ready.itp-ticket-detail #itil-footer .form-buttons{width:100%!important;flex:1 1 100%!important;margin:0!important;padding:0!important;background:transparent!important;display:block!important}
html body.itp-shell-ready.itp-ticket-detail #itil-footer .form-buttons>span.d-none{display:none!important}
html body.itp-shell-ready.itp-ticket-detail #itil-footer .form-buttons>span:last-child{display:block!important}
html body.itp-shell-ready.itp-ticket-detail #right-actions{display:flex!important;gap:8px!important;width:100%!important;flex-direction:row-reverse!important}
html body.itp-shell-ready.itp-ticket-detail #itil-footer button[name=update]{flex:1!important;width:auto!important;min-height:44px!important;border-radius:10px!important}
html body.itp-shell-ready.itp-ticket-detail #itil-footer button[name=delete]{width:72px!important;min-height:44px!important;border-radius:10px!important}
html body.itp-shell-ready.itp-ticket-detail #itil-footer button[name=update]>span:not(.itp-action-caption){display:none!important}
html body.itp-shell-ready.itp-ticket-detail .itp-action-caption{display:inline!important;font-size:12px;font-weight:700;margin-inline:4px}
html body.itp-shell-ready.itp-ticket-detail #itil-footer .open-timeline-filter-popover,html body.itp-shell-ready.itp-ticket-detail #itil-footer .view-timeline-todo-list{width:auto!important;min-width:44px!important;min-height:44px!important;padding:6px!important;font-size:12px!important;background:#f2f5f9!important;border-radius:9px!important}
html body.itp-shell-ready.itp-ticket-detail #itil-footer .dropdown-menu{max-width:calc(100vw - 24px)!important;max-height:50vh!important;overflow-y:auto!important}
html body.itp-shell-ready.itp-ticket-detail .page-body{padding-bottom:160px!important}
html body.itp-shell-ready.itp-ticket-detail #new-itilobject-form{scroll-margin-top:172px}
html body.itp-shell-ready.itp-ticket-detail .tox-tinymce{max-width:100%!important}
}

@media(max-width:767px){
html body.itp-shell-ready.itp-ticket-detail #itil-footer{height:auto!important;min-height:112px!important;max-height:none!important;overflow:visible!important}
html body.itp-shell-ready.itp-ticket-detail #itil-footer>.buttons-bar{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
html body.itp-shell-ready.itp-ticket-detail #itil-footer .timeline-buttons{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
html body.itp-shell-ready.itp-ticket-detail #itil-footer .main-actions{width:auto!important;min-width:0!important;max-width:100%!important;flex:1 1 0!important}
html body.itp-shell-ready.itp-ticket-detail #itil-footer .main-actions .btn{width:auto!important;min-width:0!important}
html body.itp-shell-ready.itp-ticket-detail #itil-footer .filter-timeline{width:auto!important;max-width:45%!important;flex:0 0 auto!important}
html body.itp-shell-ready.itp-ticket-detail #itil-footer .form-buttons{min-width:0!important;max-width:100%!important}
}

.itp-send-label{display:none}
@media(max-width:767px){
html body.itp-shell-ready.itp-ticket-detail #itil-footer button[name=delete]{flex:0 0 72px!important;width:72px!important;min-width:72px!important;max-width:72px!important}
html body.itp-shell-ready.itp-ticket-detail #right-actions>div.btn-group{flex:0 0 40px!important;max-width:40px!important}
html body.itp-shell-ready.itp-ticket-detail .itilfollowup form>.row{display:flex!important;flex-direction:column!important}
html body.itp-shell-ready.itp-ticket-detail .itilfollowup form>.row>.order-first{order:2!important;padding:0!important}
html body.itp-shell-ready.itp-ticket-detail .itilfollowup form>.row>.col-12:not(.order-first){order:1!important;padding:0!important}
html body.itp-shell-ready.itp-ticket-detail .itilfollowup button[type=submit][name=add]{width:100%!important;min-height:48px!important;border:0!important;border-radius:11px!important;background:#1564ee!important;color:#fff!important;font-size:0!important;display:flex!important;justify-content:center!important;align-items:center!important;padding:12px!important}
html body.itp-shell-ready.itp-ticket-detail .itilfollowup button[type=submit][name=add]>.itp-send-label{display:inline!important;font-size:15px!important;font-weight:700!important}
html body.itp-shell-ready.itp-ticket-detail .itilfollowup button[type=submit][name=add]>i{display:none!important}
html body.itp-shell-ready.itp-ticket-detail .itilfollowup .card-footer{padding:12px!important;background:#fff!important}
html body.itp-shell-ready.itp-ticket-detail .itilfollowup .tox-tinymce{margin:8px 0 12px!important}
html body.itp-shell-ready.itp-ticket-detail .itilfollowup input[type=file]{font-size:12px!important;width:100%!important;min-width:0!important}
html body.itp-shell-ready.itp-ticket-detail #filter-timeline-popover{max-width:calc(100vw - 24px)!important;max-height:50vh!important;overflow-y:auto!important;white-space:normal!important}
html body.itp-shell-ready.itp-ticket-detail :is(button,a,input,select,summary):focus-visible{outline:3px solid #7fb6ff!important;outline-offset:2px}
}

@media(max-width:360px){
html body.itp-shell-ready.itp-ticket-detail #itil-footer .filter-timeline .itp-action-caption{display:none!important}
html body.itp-shell-ready.itp-ticket-detail #itil-footer .filter-timeline{width:92px!important;max-width:92px!important;gap:4px!important}
html body.itp-shell-ready.itp-ticket-detail #itil-footer .filter-timeline button{width:44px!important;max-width:44px!important;padding:4px!important}
}

@media(max-width:767px){
html body.itp-shell-ready.itp-ticket-detail #filter-timeline-popover{width:240px!important;max-width:calc(100vw - 24px)!important;right:auto!important;left:0!important;border-radius:12px!important;box-shadow:0 8px 24px #183b5426}
html body.itp-shell-ready.itp-ticket-detail #filter-timeline-popover .list-group-item{min-height:44px!important;padding:8px 12px!important}
html body.itp-shell-ready.itp-ticket-detail #filter-timeline-popover .form-check-label{font-size:14px!important;white-space:normal!important}
html body.itp-shell-ready.itp-ticket-detail .timeline-content .dropdown-menu .dropdown-item{min-height:44px;white-space:normal}
html body.itp-shell-ready.itp-ticket-detail #itil-data .select2-selection--multiple .select2-selection__choice{max-width:100%!important;white-space:normal!important;padding:6px!important;line-height:1.8!important}
}

@media(max-width:767px){
html body.itp-shell-ready.itp-ticket-detail .navigationheader>div:not(.itp-detail-status){flex-wrap:wrap!important;max-width:100%!important;gap:4px!important}
html body.itp-shell-ready.itp-ticket-detail .navigationheader>div>span{margin:0!important;font-size:12px!important;flex:0 0 auto!important}
html body.itp-shell-ready.itp-ticket-detail .navigationheader .btn{width:40px!important;max-width:40px!important;flex:0 0 40px!important;padding:6px!important}
}

@media(max-width:360px){
html body.itp-shell-ready.itp-ticket-detail .navigationheader{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px 3px!important}
html body.itp-shell-ready.itp-ticket-detail .navigationheader>div:not(.itp-detail-status){display:contents!important}
html body.itp-shell-ready.itp-ticket-detail .navigationheader .btn{width:36px!important;min-width:36px!important;max-width:36px!important;height:40px!important;justify-self:center!important}
html body.itp-shell-ready.itp-ticket-detail .navigationheader>div>span{align-self:center;justify-self:center}
}

/* Readable interaction states in ticket controls. */
html body.itp-shell-ready.itp-ticket-mobile :is(.dropdown-item,.nav-link,.accordion-button,.itp-mobile-tools>summary,.itp-ticket-more button):is(:hover,:focus,:focus-visible,:active,.active){color:#193f69!important;background-color:#e8f1fc!important;text-shadow:none!important}
html body.itp-shell-ready.itp-ticket-mobile :is(.dropdown-item,.nav-link,.accordion-button,.itp-mobile-tools>summary,.itp-ticket-more button):is(:hover,:focus,:focus-visible,:active,.active)>:is(span,i){color:inherit!important}
html body.itp-shell-ready.itp-ticket-mobile .btn:is(.btn-outline-secondary,.btn-ghost-secondary,.btn-secondary,.btn-ghost-info,.btn-ghost-danger,.btn-light):is(:hover,:focus,:focus-visible,:active,.active){color:#193f69!important;background:#e8f1fc!important;border-color:#aac5e6!important}
html body.itp-shell-ready.itp-ticket-mobile .btn:is(.btn-outline-secondary,.btn-ghost-secondary,.btn-secondary,.btn-ghost-info,.btn-ghost-danger,.btn-light):is(:hover,:focus,:focus-visible,:active,.active)>:is(span,i){color:inherit!important}
html body.itp-shell-ready.itp-ticket-mobile .select2-results__option:is(.select2-results__option--highlighted,[aria-selected=true],:hover,:focus){color:#193f69!important;background:#e8f1fc!important}
html body.itp-shell-ready.itp-ticket-mobile .select2-results__option:is(.select2-results__option--highlighted,[aria-selected=true]) *{color:inherit!important}
html body.itp-shell-ready.itp-ticket-mobile .select2-selection:is(:hover,:focus,:active),html body.itp-shell-ready.itp-ticket-mobile .select2-container--focus .select2-selection{color:#193f69!important;background:#fff!important;border-color:#78a6e5!important}
html body.itp-shell-ready.itp-ticket-mobile .select2-selection__rendered{color:#193f69!important}
html body.itp-shell-ready.itp-ticket-mobile .btn-primary:is(:hover,:focus,:focus-visible,:active,.active){background:#1453bf!important;border-color:#1453bf!important;color:#fff!important}
html body.itp-shell-ready.itp-ticket-mobile .btn-primary:is(:hover,:focus,:focus-visible,:active,.active)>:is(span,i){color:#fff!important}
html body.itp-shell-ready.itp-ticket-mobile .btn-outline-danger:is(:hover,:focus,:focus-visible,:active,.active){background:#fff0f0!important;border-color:#d66c6c!important;color:#a72c34!important}
html body.itp-shell-ready.itp-ticket-mobile .btn-outline-danger:is(:hover,:focus,:focus-visible,:active,.active)>:is(span,i){color:inherit!important}
html body.itp-shell-ready.itp-ticket-mobile .navigationheader .btn:is(:hover,:focus,:active){color:#193f69!important;background:#dfebfa!important}
html body.itp-shell-ready.itp-ticket-mobile .timeline-content a:not(.btn):is(:hover,:focus,:active){color:#174da1!important;background-color:#edf5ff!important}

/* Footer utilities use a light fill in every state: never inherit white ghost text. */
html body.itp-shell-ready.itp-ticket-detail #itil-footer .filter-timeline button,
html body.itp-shell-ready.itp-ticket-detail #itil-footer .filter-timeline button:is(:hover,:focus,:focus-visible,:active,.active),
html body.itp-shell-ready.itp-ticket-detail #itil-footer .filter-timeline button:is(:hover,:focus,:focus-visible,:active,.active) :is(span,i),
html body.itp-shell-ready.itp-ticket-detail #itil-footer .filter-timeline button :is(span,i){color:#193f69!important;-webkit-text-fill-color:#193f69!important;opacity:1!important;text-shadow:none!important}
html body.itp-shell-ready.itp-ticket-detail #itil-footer .filter-timeline button:is(:hover,:focus,:focus-visible,:active,.active){background:#dfeafa!important;border-color:#8fb0d6!important;--tblr-btn-hover-color:#193f69;--tblr-btn-active-color:#193f69;--tblr-btn-color:#193f69}

.itp-tasks-empty{display:none}
@media(max-width:767px){
html body.itp-shell-ready.itp-ticket-detail.timeline-todo-list .itil-left-side{padding:0!important}
html body.itp-shell-ready.itp-ticket-detail.timeline-todo-list .itil-timeline{width:100%!important;max-width:100%!important;min-width:0!important;gap:0!important;margin:0!important;padding:0!important}
html body.itp-shell-ready.itp-ticket-detail.timeline-todo-list .tasks-title{width:100%!important;margin:0!important;padding:14px!important;background:#143c65;border-radius:14px 14px 0 0;box-sizing:border-box!important}
html body.itp-shell-ready.itp-ticket-detail.timeline-todo-list .tasks-title h3{font-size:16px!important;line-height:1.8!important;color:#fff!important;margin:0!important}
html body.itp-shell-ready.itp-ticket-detail.timeline-todo-list .timeline_stats{width:100%!important;max-width:100%!important;margin:0 0 12px!important;padding:16px!important;background:#fff;border:1px solid #dae5ef;border-top:0;border-radius:0 0 14px 14px;box-sizing:border-box!important;font-size:14px!important;color:#284d70}
html body.itp-shell-ready.itp-ticket-detail.timeline-todo-list .timeline_stats>.d-flex{display:flex!important;align-items:center!important;gap:12px!important;width:100%!important}
html body.itp-shell-ready.itp-ticket-detail.timeline-todo-list .timeline_stats .progress{display:block!important;flex:1!important;min-width:0!important;width:auto!important;max-width:none!important;height:10px!important;background:#e6edf5!important;border-radius:10px!important;margin:0!important}
html body.itp-shell-ready.itp-ticket-detail.timeline-todo-list .timeline_stats .progress-bar{height:10px!important;background-color:#1599ad!important}
html body.itp-shell-ready.itp-ticket-detail.timeline-todo-list .task-progress-label{font-size:13px!important;color:#24507c!important;margin:0!important;flex:0 0 auto}
html body.itp-shell-ready.itp-ticket-detail.timeline-todo-list .itp-tasks-empty:not([hidden]){display:block!important;order:3;width:100%;box-sizing:border-box;text-align:center;background:#f7fafc;border:1px dashed #b9cbdd;border-radius:14px;padding:24px 18px;margin:0 0 16px;color:#365d7e;font-size:14px;line-height:1.9}
html body.itp-shell-ready.itp-ticket-detail.timeline-todo-list .itp-tasks-empty p{margin:8px 0 0;font-size:13px;color:#6a8095;line-height:1.9}
html body.itp-shell-ready.itp-ticket-detail.timeline-todo-list .validations-title.itp-no-validations{display:none!important}
html body.itp-shell-ready.itp-ticket-detail.timeline-todo-list .ITILTask{max-width:100%!important;width:100%!important;box-sizing:border-box!important;margin:0 0 12px!important}
html body.itp-shell-ready.itp-ticket-detail #itil-footer .view-timeline-todo-list[aria-pressed=true]{background:#dcecff!important;border:2px solid #5b8fc8!important}
}
