/* Independent editor dialogs do not inherit clipped preview coordinates. */
dialog.hf145-editor-dialog{position:fixed!important;inset:0!important;width:calc(100dvw - 40px)!important;max-width:calc(100dvw - 40px)!important;height:calc(100dvh - 40px)!important;max-height:calc(100dvh - 40px)!important;min-height:0!important;margin:auto!important;padding:0!important;border:1px solid #cbd5e1;border-radius:12px;overflow:hidden!important;background:#fff;box-sizing:border-box;zoom:1!important}
dialog.hf145-editor-dialog[open]{display:flex!important;flex-direction:column!important}dialog.hf145-editor-dialog:not([open]){display:none!important}dialog.hf145-editor-dialog::backdrop{background:#0f172a66}
.hf145-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;border-bottom:1px solid #cbd5e1;background:#f8fafc;flex:0 0 auto;position:relative;z-index:3}
.hf145-dialog-body{display:flex;flex-direction:column;min-height:0;flex:1 1 auto;overflow:hidden;padding:10px}
#hf145WbsDialog .project-wbs-pane,#hf145OrgDialog #r59OrgEditorPanel{position:relative!important;inset:auto!important;width:100%!important;max-width:100%!important;min-width:0!important;height:100%!important;min-height:0!important;flex:1 1 auto!important;overflow:hidden!important;box-shadow:none!important;border:0!important;transform:none!important;animation:none!important;z-index:auto!important}
#hf145WbsDialog .project-wbs-scroll,#hf145OrgDialog #r59OrgEditor{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow:auto!important}
#hf145WbsDialog .wbs-pane-head,#hf145OrgDialog #r78EditorTop{flex:0 0 auto!important}
#hf58WorkbenchBody #projectSplitView{min-height:280px!important}#hf58WorkbenchBody #page-orgchart .r59-org-workspace{min-height:280px!important}
#hf58WorkbenchBody #page-orgchart .r59-org-panel:not(.hf143-editor){width:100%!important;min-width:0!important;max-width:none!important}
#r78PreviewBar{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:6px;overflow-x:auto;max-width:100%;padding:3px 0;min-height:0!important}
#r78PreviewBar .r78-preview-row,#r78PreviewBar .r79-context-row{display:contents!important}#r78PreviewBar .btn{flex:0 0 auto;white-space:nowrap;font-size:11px!important;padding:7px 8px!important;margin:0!important}
#r78PreviewBar .field{display:flex!important;flex:0 0 auto!important;flex-direction:row!important;align-items:center!important;gap:4px!important;margin:0!important;padding:4px!important;min-width:0!important}
#r78PreviewBar .field label{white-space:nowrap;margin:0!important;font-size:10px!important}#r78PreviewBar input,#r78PreviewBar select{padding:5px!important;font-size:11px!important;width:auto!important;max-width:150px;min-width:0!important}#r78PreviewBar #r78Zoom{width:54px!important}#r78PreviewBar input[type=file]{display:none!important}#r78PreviewBar .r78-slot-wrap{display:flex;gap:4px;align-items:center;flex:0 0 auto;white-space:nowrap}#r78PreviewBar .r76-zoom-field,#r78PreviewBar .r79-copy-inner{display:flex;align-items:center;gap:4px}#r78PreviewBar .r78-save-status-wrap{flex:0 0 auto}
#page-projects>.card>.tablewrap{overflow-y:auto!important;overscroll-behavior:contain!important;touch-action:pan-y pan-x}
#loginView .login-card>h2{text-align:center!important}#loginView .login-card>p:empty{display:none!important}
#hf144ProjectDetail{max-height:none!important;overflow:visible!important;margin:0!important}#hf145ProjectSummary{display:block;overflow:auto;padding:16px;height:calc(100dvh - 220px);min-height:250px}#hf145ProjectSummary .hf142-date-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}#hf145ProjectSummary .hf144-project-details{padding:16px}
.hf145-registry-search{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:8px}.hf145-registry-search input{flex:1;min-width:180px}
#hf145CustomerChoices{width:min(900px,calc(100dvw - 30px));max-height:calc(100dvh - 30px);padding:0;border:1px solid #cbd5e1;border-radius:10px}#hf145CustomerChoices::backdrop{background:#0f172a66}.hf145-choice-list{max-height:65dvh;overflow:auto;padding:10px}.hf145-choice{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:10px;border-bottom:1px solid #e2e8f0}.hf145-choice small{display:block;color:#64748b;font-size:12px}.hf145-choice button{white-space:nowrap}
#hf145DailyState{font-size:12px;color:#0369a1}#hf145DailyState[data-state=error]{color:#b91c1c}#hf145DailyRetry[hidden]{display:none!important}
@media print{.hf145-editor-dialog{display:none!important}}
