/* AI-CLO PTITHCM V12.4.4 — shared desktop app-window chrome for draggable/resizable dialogs. */
#modal:is(.app-window-modal,.quick-edit-modal){position:fixed!important;left:50%;top:50%;right:auto;bottom:auto;width:720px;height:600px;min-width:520px;min-height:410px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);margin:0!important;padding:0!important;transform:translate(-50%,-50%);overflow:hidden;display:flex;flex-direction:column;border-radius:12px;box-shadow:0 24px 80px #11182755}
#modal:is(.app-window-modal,.quick-edit-modal).assessment-window-modal{min-width:620px;min-height:480px}
#modal:is(.app-window-modal,.quick-edit-modal) .modal-head{position:relative;flex:0 0 44px;height:44px;min-height:44px;z-index:12;display:flex;align-items:center;padding:0 10px 0 14px;cursor:grab;user-select:none;touch-action:none;background:var(--red,#a61d2d)!important;border:0!important;border-bottom:1px solid var(--red2,#7f1422)!important;color:#fff!important}
#modal:is(.app-window-modal,.quick-edit-modal) .modal-head.dragging{cursor:grabbing}
#modal:is(.app-window-modal,.quick-edit-modal) .modal-head h3{display:flex;align-items:center;gap:7px;margin:0;color:#fff!important;font-size:14px;font-weight:850;letter-spacing:.1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#modal:is(.app-window-modal,.quick-edit-modal) .modal-head button{width:32px;height:32px;display:grid;place-items:center;margin-left:auto;padding:0;border:0;border-radius:7px;background:transparent!important;color:#fff!important;font-size:22px;line-height:1}
#modal:is(.app-window-modal,.quick-edit-modal) .modal-head button:hover{background:#ffffff22!important}
#modal:is(.app-window-modal,.quick-edit-modal) #modalBody{min-height:0;overflow:auto;overscroll-behavior:contain;background:#fff}
.quick-resize-handle{position:absolute;z-index:20;display:block;background:transparent;touch-action:none}
.quick-resize-n{left:10px;right:10px;top:0;height:8px;cursor:ns-resize}.quick-resize-s{left:10px;right:10px;bottom:0;height:8px;cursor:ns-resize}.quick-resize-e{top:10px;bottom:10px;right:0;width:8px;cursor:ew-resize}.quick-resize-w{top:10px;bottom:10px;left:0;width:8px;cursor:ew-resize}.quick-resize-ne{top:0;right:0;width:14px;height:14px;cursor:nesw-resize}.quick-resize-nw{top:0;left:0;width:14px;height:14px;cursor:nwse-resize}.quick-resize-se{right:0;bottom:0;width:18px;height:18px;cursor:nwse-resize}.quick-resize-sw{left:0;bottom:0;width:18px;height:18px;cursor:nesw-resize}.quick-resize-se:after{content:"";position:absolute;right:4px;bottom:4px;width:8px;height:8px;border-right:2px solid #98a2b3;border-bottom:2px solid #98a2b3;opacity:.9}
@media(max-width:700px){#modal:is(.app-window-modal,.quick-edit-modal),#modal:is(.app-window-modal,.quick-edit-modal).assessment-window-modal{left:10px!important;top:10px!important;right:auto!important;bottom:auto!important;width:calc(100vw - 20px)!important;height:auto!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:calc(100dvh - 20px);transform:none!important;border-radius:10px}#modal:is(.app-window-modal,.quick-edit-modal) .modal-head{cursor:default;touch-action:auto}.quick-resize-handle{display:none!important}}
