@quazardous/qdadm 2.35.0 → 2.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/styles/qdadm.css +1 -1
- package/package.json +1 -1
- package/src/components/pages/LoginPage.vue +38 -21
- package/src/components/tasks/TaskHost.vue +3 -0
- package/src/components/tasks/TaskTray.vue +4 -1
- package/src/i18n/defaults/core.en.generated.ts +25 -0
- package/src/i18n/defaults/core.en.yml +25 -0
- package/src/i18n/defaults/core.fr.generated.ts +25 -0
- package/src/i18n/defaults/core.fr.yml +25 -0
- package/src/index.ts +1 -0
- package/src/kernel/Kernel.registries.ts +1 -1
- package/src/kernel/Kernel.types.ts +2 -0
- package/src/kernel/Kernel.vue.ts +2 -0
- package/src/notifications/NotificationBadge.vue +4 -2
- package/src/notifications/NotificationPanel.vue +22 -12
- package/src/notifications/NotificationStore.ts +2 -0
- package/src/plugin.ts +22 -12
- package/src/styles/_tasks.scss +10 -4
- package/src/tasks/taskStore.ts +4 -3
- package/src/tasks/useTaskNotifications.ts +76 -0
- package/src/tasks/useTaskRunner.ts +10 -1
package/dist/styles/qdadm.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--fad-text-primary: var(--p-text-color);--fad-text-secondary: var(--p-text-muted-color);--fad-text-disabled: var(--p-surface-400);--fad-text-inverse: var(--p-surface-0);--fad-surface-ground: var(--p-surface-ground);--fad-surface-card: var(--p-surface-card);--fad-surface-overlay: var(--p-surface-overlay);--fad-surface-border: var(--p-surface-200);--fad-surface-hover: var(--p-surface-100);--fad-primary: var(--p-primary-color);--fad-primary-hover: var(--p-primary-600);--fad-primary-text: var(--p-primary-contrast-color);--fad-success: var(--p-green-500);--fad-warning: var(--p-orange-500);--fad-danger: var(--p-red-500);--fad-info: var(--p-blue-500);--fad-space-2xs: 0.125rem;--fad-space-xs: 0.25rem;--fad-space-sm: 0.375rem;--fad-space-md: 0.75rem;--fad-space-lg: 1rem;--fad-space-xl: 1.5rem;--fad-space-2xl: 2rem;--fad-font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;--fad-font-size-2xs: 0.6875rem;--fad-font-size-xs: 0.75rem;--fad-font-size-sm: 0.875rem;--fad-font-size-md: 0.9375rem;--fad-font-size-lg: 1rem;--fad-font-size-xl: 1.125rem;--fad-font-size-2xl: 1.25rem;--fad-font-weight-light: 300;--fad-font-weight-normal: 400;--fad-font-weight-medium: 500;--fad-font-weight-semibold: 600;--fad-font-weight-bold: 700;--fad-line-height-tight: 1.25;--fad-line-height-normal: 1.5;--fad-line-height-relaxed: 1.75;--fad-border-width: 1px;--fad-border-color: var(--fad-surface-border);--fad-radius-sm: 0.25rem;--fad-radius-md: 0.375rem;--fad-radius-lg: 0.5rem;--fad-radius-xl: 0.75rem;--fad-radius-full: 9999px;--fad-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);--fad-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);--fad-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);--fad-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);--fad-transition-instant: 50ms ease;--fad-transition-fast: 100ms ease;--fad-transition-normal: 150ms ease;--fad-transition-slow: 200ms ease;--fad-z-dropdown: 1000;--fad-z-sticky: 1020;--fad-z-fixed: 1030;--fad-z-modal-backdrop: 1040;--fad-z-modal: 1050;--fad-z-popover: 1060;--fad-z-tooltip: 1070;--fad-sidebar-width: 15rem;--fad-sidebar-width-tablet: 13rem;--fad-sidebar-width-collapsed: 2.5rem;--fad-header-height: 2.75rem;--fad-content-max-width: 87.5rem;--fad-nav-item-height: 2rem;--fad-nav-item-padding-x: 0.75rem;--fad-nav-item-padding-y: 0.5rem;--fad-nav-icon-size: 1rem;--fad-nav-section-gap: 0.5rem}.dark-mode{--fad-surface-border: var(--p-surface-700);--fad-surface-hover: var(--p-surface-800);--fad-text-disabled: var(--p-surface-500)}.d-none{display:none !important}.d-block{display:block !important}.d-flex{display:flex !important}.d-inline-flex{display:inline-flex !important}.d-grid{display:grid !important}.flex-row{flex-direction:row}.flex-column{flex-direction:column}.flex-wrap{flex-wrap:wrap}.flex-1{flex:1}.flex-auto{flex:auto}.flex-none{flex:none}.items-start{align-items:flex-start}.items-center{align-items:center}.items-end{align-items:flex-end}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.gap-xs{gap:.25rem}.gap-sm{gap:.375rem}.gap-md{gap:.75rem}.gap-lg{gap:1rem}.gap-xl{gap:1.5rem}.w-full{width:100% !important}.w-auto{width:auto !important}.w-50{width:50%}.max-w-full{max-width:100%}.m-0{margin:0}.m-auto{margin:auto}.mt-0{margin-top:0}.mt-xs{margin-top:.25rem}.mt-sm{margin-top:.375rem}.mt-md{margin-top:.75rem}.mt-lg{margin-top:1rem}.mt-xl{margin-top:1.5rem}.mb-0{margin-bottom:0}.mb-xs{margin-bottom:.25rem}.mb-sm{margin-bottom:.375rem}.mb-md{margin-bottom:.75rem}.mb-lg{margin-bottom:1rem}.mb-xl{margin-bottom:1.5rem}.ml-auto{margin-left:auto}.mr-auto{margin-right:auto}.mx-auto{margin-left:auto;margin-right:auto}.p-0{padding:0}.p-xs{padding:.25rem}.p-sm{padding:.375rem}.p-md{padding:.75rem}.p-lg{padding:1rem}.p-xl{padding:1.5rem}.px-md{padding-left:.75rem;padding-right:.75rem}.py-md{padding-top:.75rem;padding-bottom:.75rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-xs{font-size:.75rem}.text-sm{font-size:.875rem}.text-md{font-size:.9375rem}.text-lg{font-size:1rem}.text-xl{font-size:1.125rem}.text-2xl{font-size:1.25rem}.font-normal{font-weight:400}.font-medium{font-weight:500}.font-semibold{font-weight:600}.font-bold{font-weight:700}.text-primary{color:var(--fad-text-primary)}.text-secondary{color:var(--fad-text-secondary)}.text-muted{color:var(--fad-text-secondary)}.text-success{color:var(--fad-success)}.text-warning{color:var(--fad-warning)}.text-danger{color:var(--fad-danger)}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.visible{visibility:visible}.invisible{visibility:hidden}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-100{opacity:1}.border{border:1px solid var(--fad-border-color)}.border-0{border:none}.border-top{border-top:1px solid var(--fad-border-color)}.border-bottom{border-bottom:1px solid var(--fad-border-color)}.rounded-sm{border-radius:.25rem}.rounded-md{border-radius:.375rem}.rounded-lg{border-radius:.5rem}.rounded-full{border-radius:9999px}.cursor-pointer{cursor:pointer}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.overflow-hidden{overflow:hidden}.overflow-auto{overflow:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-auto{overflow-x:auto}.relative{position:relative}.absolute{position:absolute}.fixed{position:fixed}.sticky{position:sticky}.fad-card{background:var(--fad-surface-card);border:1px solid var(--fad-border-color);border-radius:.5rem;padding:1rem}.fad-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem;padding-bottom:.75rem;border-bottom:1px solid var(--fad-border-color)}.fad-card-title{font-size:1rem;font-weight:600;color:var(--fad-text-primary);margin:0}.fad-card-body{color:var(--fad-text-primary)}.fad-card-footer{display:flex;align-items:center;justify-content:flex-end;gap:.375rem;margin-top:.75rem;padding-top:.75rem;border-top:1px solid var(--fad-border-color)}.fad-form-field{display:flex;flex-direction:column;gap:.375rem;margin-bottom:1rem}.fad-form-label{font-weight:500;color:var(--fad-text-primary);font-size:.875rem}.fad-form-label-required::after{content:" *";color:var(--fad-danger)}.fad-form-help{font-size:.75rem;color:var(--fad-text-secondary)}.fad-form-error{font-size:.75rem;color:var(--fad-danger)}.fad-form-row{display:grid;grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));gap:.75rem}.fad-form-section-title{font-size:1rem;font-weight:600;color:var(--fad-text-primary);margin:1.5rem 0 .75rem 0;padding-bottom:.375rem;border-bottom:1px solid var(--fad-border-color)}.fad-form-section-title:first-child{margin-top:0}.fad-form-field--dirty{position:relative}.fad-form-field--dirty::before{content:"";position:absolute;left:-8px;top:0;bottom:0;width:3px;background:var(--fad-warning);border-radius:9999px}.fad-form-field--error .fad-form-label{color:var(--fad-danger)}.fad-page-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem;padding-bottom:.75rem}.fad-page-title{font-size:1.25rem;font-weight:600;color:var(--fad-text-primary);margin:0}.fad-page-actions{display:flex;gap:.375rem}.fad-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem .75rem;text-align:center;color:var(--fad-text-secondary)}.fad-empty-state-icon{font-size:3rem;opacity:.5;margin-bottom:.75rem}.fad-empty-state-title{font-size:1rem;font-weight:500;color:var(--fad-text-primary);margin:0 0 .375rem 0}.fad-empty-state-description{font-size:.875rem;max-width:400px}.fad-loading{display:flex;align-items:center;justify-content:center;padding:2rem}.fad-loading-spinner{animation:fad-spin 1s linear infinite}@keyframes fad-spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.fad-badge{display:inline-flex;align-items:center;padding:.25rem .375rem;font-size:.75rem;font-weight:500;border-radius:9999px;text-transform:uppercase;letter-spacing:.025em}.fad-badge--success{background:var(--p-green-100);color:var(--p-green-700)}.fad-badge--warning{background:var(--p-orange-100);color:var(--p-orange-700)}.fad-badge--danger{background:var(--p-red-100);color:var(--p-red-700)}.fad-badge--info{background:var(--p-blue-100);color:var(--p-blue-700)}.fad-badge--neutral{background:var(--p-surface-100);color:var(--p-surface-600)}.fad-tabs{display:flex;gap:.25rem;border-bottom:1px solid var(--fad-border-color);margin-bottom:1rem}.fad-tab{display:flex;align-items:center;gap:.25rem;padding:.375rem .75rem;font-size:.875rem;font-weight:500;color:var(--fad-text-secondary);background:rgba(0,0,0,0);border:none;border-bottom:2px solid rgba(0,0,0,0);cursor:pointer;transition:all 100ms ease;margin-bottom:-1px}.fad-tab:hover{color:var(--fad-text-primary)}.fad-tab--active{color:var(--fad-primary);border-bottom-color:var(--fad-primary)}.fad-tab-count{background:var(--p-surface-100);color:var(--fad-text-secondary);padding:.125rem .375rem;border-radius:9999px;font-size:.75rem}.fad-tab--active .fad-tab-count{background:var(--p-primary-100);color:var(--fad-primary)}.fad-page-nav{display:flex;justify-content:space-between;align-items:center;margin-bottom:.375rem}.fad-page-nav-breadcrumb{flex:1}.fad-page-nav-links{display:flex;align-items:center;gap:.375rem;font-size:.875rem}.fad-page-nav-separator{color:var(--fad-text-secondary)}.fad-page-nav-link{color:var(--fad-primary);text-decoration:none;transition:color 100ms ease}.fad-page-nav-link:hover{color:var(--fad-primary-hover);text-decoration:underline}.fad-page-nav-link--active{color:var(--fad-text-primary);font-weight:500;pointer-events:none}*{margin:0;padding:0;box-sizing:border-box}html,body,#app{height:100%;font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}input::placeholder,textarea::placeholder,.p-inputtext::placeholder,.p-autocomplete-input::placeholder,.p-textarea::placeholder,.p-select-label.p-placeholder,.p-dropdown-label.p-placeholder{color:#a0aec0 !important;opacity:1}.page-content{flex:1;padding:1rem}.page-header{margin-bottom:1rem}.page-title{font-size:1.25rem;font-weight:600;color:var(--p-surface-900)}.header-actions{display:flex;gap:.75rem;align-items:center}.p-tabpanels{padding-top:.75rem}.p-tabpanel>.form-field:first-child,.p-tabpanel>.form-row:first-child,.p-tabpanel>.form-grid:first-child{margin-top:.375rem}.info-block{background:var(--p-surface-50);padding:1rem;border-radius:.5rem}.info-block-title{margin:0 0 .75rem 0;font-size:.9375rem;color:var(--p-surface-600)}.info-block-title i{margin-right:.375rem}.info-label{font-weight:500;color:var(--p-surface-500);display:block;margin-bottom:.25rem}.info-label-sm{font-size:.75rem;font-weight:600;color:var(--p-surface-500);text-transform:uppercase;display:block;margin-bottom:.25rem}.value-lg{font-size:1.25rem;font-weight:600}.accent-block{background:var(--p-surface-50);border-left:3px solid var(--p-primary-500);padding:.75rem;border-radius:.25rem}.code-block{word-break:break-all;font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace;background:var(--p-surface-100);padding:.75rem;border-radius:.25rem}.section-header{display:flex;align-items:center;gap:.375rem;margin-bottom:.75rem}.section-header h3{margin:0;font-size:.9375rem;font-weight:600}.section-header i{color:var(--p-primary-500)}.section-description{color:var(--p-surface-500);font-size:.875rem;margin-bottom:.75rem}.section-title{margin:0 0 .75rem 0;font-size:.9375rem;font-weight:600;color:var(--p-surface-700)}.section-title--separator{border-top:1px solid var(--p-surface-200);padding-top:1rem}.section-title i{margin-right:.375rem}.image-gallery{display:grid;grid-template-columns:repeat(auto-fill, minmax(200px, 1fr));gap:.75rem}.image-card{position:relative;border-radius:.5rem;overflow:hidden;border:1px solid var(--p-surface-200)}.image-card img{width:100%;aspect-ratio:16/9;object-fit:cover}.image-card--clickable{cursor:pointer;transition:border-color 150ms ease,box-shadow 150ms ease}.image-card--clickable:hover{border-color:var(--p-primary-300);box-shadow:0 2px 8px rgba(0,0,0,.1)}.image-caption{padding:.375rem;background:var(--p-surface-50);font-size:.75rem;color:var(--p-surface-600)}.info-row{display:flex;justify-content:space-between;align-items:center;padding:.375rem 0;border-bottom:1px solid var(--p-surface-100)}.info-row:last-child{border-bottom:none}.layout-breadcrumb{padding:.75rem 1rem;background:var(--p-surface-0, white);border-bottom:1px solid var(--p-surface-200, #e2e8f0)}.layout-breadcrumb .p-breadcrumb-list{margin:0;padding:0}.breadcrumb-link{display:flex;align-items:center;gap:.375rem;color:var(--p-primary-600, #2563eb);text-decoration:none;font-size:.875rem}.breadcrumb-link:hover{text-decoration:underline}.breadcrumb-link i{font-size:.875rem}.breadcrumb-current{display:flex;align-items:center;gap:.375rem;color:var(--p-surface-600, #475569);font-size:.875rem}.breadcrumb-current i{font-size:.875rem}.breadcrumb{margin-bottom:.5rem}.breadcrumb-list{display:flex;align-items:center;gap:.5rem;list-style:none;margin:0;padding:0;font-size:.875rem}.breadcrumb-item{display:flex;align-items:center;gap:.5rem}.breadcrumb-item.is-current .breadcrumb-text{color:var(--p-text-color, #333);font-weight:500}.breadcrumb-separator{font-size:.75rem;color:var(--p-text-muted-color, #888)}.breadcrumb-item .breadcrumb-link{display:flex;align-items:center;gap:.375rem;color:var(--p-primary-color, #3b82f6);text-decoration:none;transition:color .2s}.breadcrumb-item .breadcrumb-link:hover{color:var(--p-primary-hover-color, #2563eb);text-decoration:underline}.breadcrumb-item .breadcrumb-link i{font-size:.875rem}.breadcrumb-text{display:flex;align-items:center;gap:.375rem;color:var(--p-text-muted-color, #888)}.form-grid{display:grid;grid-template-columns:repeat(2, 1fr);gap:1rem;padding:.75rem 0}@media(max-width: 767px){.form-grid{grid-template-columns:1fr}}.form-row{display:grid;grid-template-columns:repeat(2, 1fr);gap:1rem;align-items:end}.form-row-3{display:grid;grid-template-columns:repeat(3, 1fr);gap:.75rem;align-items:end}.form-row.metadata{display:grid;grid-template-columns:repeat(4, 1fr);gap:.75rem;padding:.75rem;background:var(--p-surface-50);border-radius:.5rem;align-items:end}.form-row.checkboxes{display:flex;gap:3rem}.form-row+.form-field,.form-field+.form-row{margin-top:1.25rem}.form-field{display:flex;flex-direction:column;gap:.375rem}.form-field label{font-weight:500;color:var(--p-surface-700)}.form-field small{color:var(--p-surface-500);font-size:.85rem}.form-field .p-inputtext,.form-field .p-textarea,.form-field .p-select,.form-field .p-multiselect,.form-field .p-inputwrapper,.form-field input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),.form-field textarea{width:100% !important;box-sizing:border-box}.form-field>input[type=checkbox],.form-field>input[type=radio]{align-self:flex-start}.form-field .p-textarea,.form-field textarea{min-height:100px;resize:vertical}.meta-item{display:flex;flex-direction:column;gap:.25rem}.meta-item label{font-size:.85rem;color:var(--p-surface-500)}.meta-item span{font-weight:500}.toggle-field{flex-direction:row;align-items:center;gap:.75rem}.toggle-field label{min-width:120px}.checkbox-field{display:flex;align-items:center;gap:.375rem}.checkbox-field label{margin:0;cursor:pointer}.url-field,.lock-field,.envelope-field{display:flex;gap:.375rem;align-items:center}.url-field input,.lock-field input,.envelope-field input{flex:1}.field-hint,.form-hint{font-size:.8rem;color:var(--p-surface-400);margin-top:.25rem;display:block}.field-error{font-size:.8rem;color:var(--p-red-500);margin-top:.25rem;display:block}.editor-box{border:1px solid var(--p-surface-200);border-radius:.5rem;padding:.75rem;background:var(--p-surface-50)}.editor-chips{display:flex;flex-wrap:wrap;gap:.375rem;margin-bottom:.75rem;padding-bottom:.75rem;border-bottom:1px solid var(--p-surface-200)}.chip-code{font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace;font-size:.875rem}.chip-namespace{color:var(--p-surface-500)}.chip-action{color:var(--p-primary-600);font-weight:500}.chip-wildcard{color:var(--p-orange-500);font-weight:700}.info-grid{display:grid;grid-template-columns:repeat(2, 1fr);gap:.75rem}.info-grid>div{display:flex;flex-direction:column;gap:.25rem}.info-grid label{font-size:.85rem;color:var(--p-surface-500)}.info-item{display:flex;flex-direction:column;gap:.25rem}.info-item label{font-size:.75rem;font-weight:600;color:var(--p-surface-500);text-transform:uppercase}.info-value{font-size:.9rem}.timestamps-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));gap:.75rem}.timestamps-grid--separator{padding-top:.75rem;border-top:1px solid var(--p-surface-200)}.timestamp{display:flex;flex-direction:column;gap:.25rem}.timestamp label{font-size:.75rem;color:var(--text-color-secondary);text-transform:uppercase}.form-dirty-indicator{display:flex;align-items:center;gap:.375rem;padding:.375rem .75rem;background:color-mix(in srgb, var(--p-orange-100) 50%, transparent);border:1px solid var(--p-orange-300);border-radius:.375rem;color:var(--p-orange-700);font-size:.875rem;margin-bottom:.75rem}.form-dirty-indicator i{color:var(--p-orange-500)}.form-field.field-dirty .p-inputtext,.form-field.field-dirty .p-select,.form-field.field-dirty .p-textarea,.form-field.field-dirty .p-password input,.form-field.field-dirty .p-multiselect,.form-field.field-dirty .p-calendar input,.form-field.field-dirty .p-inputnumber input,.form-field.field-dirty .p-dropdown{border-color:#f97316 !important;box-shadow:0 0 0 1px #f97316 !important}.form-card{background:var(--p-surface-0);padding:1.5rem;border-radius:.5rem}.config-intro{display:flex;align-items:flex-start;gap:.75rem;padding:.75rem;background:var(--p-surface-50);border-radius:.5rem;margin-bottom:1rem}.config-intro i{font-size:1.25rem;color:var(--p-primary-500);margin-top:.125rem}.config-field{margin-bottom:1rem}.form-actions{display:flex;justify-content:space-between;align-items:center;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--p-surface-200)}.form-actions-left{display:flex;align-items:center;gap:.5rem}.dirty-indicator{color:var(--p-orange-500);font-size:.5rem;animation:pulse 2s infinite}@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}.field-invalid input,.field-invalid textarea,.field-invalid .p-inputtext,.field-invalid .p-select,.field-invalid .p-dropdown{border-color:var(--p-red-500)}.field-invalid input:focus,.field-invalid textarea:focus,.field-invalid .p-inputtext:focus,.field-invalid .p-select:focus,.field-invalid .p-dropdown:focus{box-shadow:0 0 0 1px var(--p-red-500)}.form-page{display:flex;flex-direction:column;gap:1rem}.form-error-message{margin:1rem 0}.validation-summary{margin-bottom:1rem}.validation-errors{margin:0;padding-left:1.5rem}.validation-errors li{margin:.25rem 0}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));gap:1rem;margin-bottom:1.5rem}.stat-card{background:var(--p-surface-0);border-radius:.5rem;padding:1rem;border:1px solid var(--p-surface-200)}.stat-card-title{font-size:.875rem;color:var(--p-surface-500);margin-bottom:.375rem}.stat-card-value{font-size:2rem;font-weight:600;color:var(--p-surface-900)}.stat-card-subtitle{font-size:.75rem;color:var(--p-surface-400);margin-top:.25rem}.loading-state{display:flex;justify-content:center;align-items:center;padding:2rem}.loading-state--inline{padding:.75rem;gap:.75rem;color:var(--p-text-muted-color)}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:2rem;color:var(--text-color-secondary)}.empty-state--sm{padding:1rem}.empty-state--lg{padding:3rem}.empty-state-icon{font-size:2rem;margin-bottom:.5rem;opacity:.5}.empty-state--sm .empty-state-icon{font-size:1.5rem}.empty-state--lg .empty-state-icon{font-size:3rem;margin-bottom:1rem}.empty-state-title{margin:0 0 .25rem 0;font-weight:500;color:var(--text-color-secondary)}.empty-state--lg .empty-state-title{font-size:1.1rem}.empty-state-description{opacity:.7;max-width:300px}.empty-state-actions{margin-top:1rem}.error-message{background:var(--p-red-50);border:1px solid var(--p-red-200);border-radius:.375rem;padding:.75rem .75rem;color:var(--p-red-700);font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace;font-size:.85rem;white-space:pre-wrap;word-break:break-word}.error-content{background:var(--p-red-50);color:var(--p-red-700);padding:.75rem;border-radius:.5rem;overflow-x:auto;margin:0;font-size:.85rem;white-space:pre-wrap}:root[data-theme=dark] .error-message,:root[data-theme=dark] .error-content{background:rgba(239,68,68,.1);color:var(--p-red-400);border-color:var(--p-red-900)}.p-datatable .p-datatable-tbody>tr>td{padding:.5rem .75rem !important}.p-datatable .p-datatable-thead>tr>th{padding:.625rem .75rem !important}.table-actions{display:flex;gap:.25rem;justify-content:flex-start}.text-muted{color:var(--p-surface-400)}.status-tags,.type-tags{display:flex;gap:.25rem;flex-wrap:wrap}.external-link{display:flex;align-items:center;gap:.375rem;color:var(--p-primary-500);text-decoration:none}.external-link:hover{text-decoration:underline}.external-link i{font-size:.75rem;opacity:.6}.domain-cell{display:flex;align-items:center}.domain-link{display:flex;align-items:center;gap:.375rem;color:var(--p-primary-500);text-decoration:none}.domain-link:hover{text-decoration:underline}.domain-link i{font-size:.75rem;opacity:.6}.domain-tags{display:flex;gap:.25rem}.clickable-cell{cursor:pointer;color:var(--p-primary-color)}.clickable-cell:hover{text-decoration:underline}.entity-link{display:flex;align-items:center;gap:.375rem;text-decoration:none;color:var(--p-primary-color)}.entity-link:hover{text-decoration:underline}.entity-type{font-weight:500}.entity-id{font-size:.75rem;background:var(--p-surface-100);padding:.15rem .35rem;border-radius:3px}.tags-preview{display:flex;gap:.25rem;flex-wrap:wrap}.tags-preview .p-tag{font-size:.75rem}.p-role-label,.p-permission-label{display:inline-flex;align-items:center;background:rgba(0,0,0,0);font-size:.75rem;font-weight:normal !important;padding:.25rem .75rem;border-radius:var(--p-tag-border-radius, 6px);white-space:nowrap}.p-role-label--pill,.p-permission-label--pill{border-radius:999px}.p-role-label--more,.p-permission-label--more{border-style:dashed}.p-role-label{border:1px solid var(--p-blue-500);color:var(--p-blue-600)}.p-permission-label{border:1px solid var(--p-surface-400);color:var(--p-surface-600)}.p-role-labels,.p-permission-labels{display:flex;flex-wrap:wrap;gap:.25rem}.p-chip{background:none !important;border:1px solid var(--p-surface-300) !important;color:var(--p-surface-600) !important;font-size:.75rem !important;padding:.2rem .6rem !important}.datatable-row-clickable .p-datatable-tbody>tr{cursor:pointer}.datatable-row-clickable .p-datatable-tbody>tr:active{background:var(--p-primary-50) !important}.filter-bar{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.75rem}.filter-bar-left{display:flex;align-items:center;gap:.75rem}.filter-bar-right{display:flex;align-items:center;gap:.75rem}.p-select.filter-default,.p-autocomplete.filter-default .p-inputtext{border-color:var(--p-primary-400, #60a5fa) !important;box-shadow:0 0 0 1px var(--p-primary-400, #60a5fa) !important}.p-select.filter-modified,.p-autocomplete.filter-modified .p-inputtext{border-color:#f97316 !important;box-shadow:0 0 0 1px #f97316 !important}.p-select.filter-active,.p-inputtext.filter-active{border-color:#f97316 !important;box-shadow:0 0 0 1px #f97316 !important}.filter-bar .p-button,.filter-bar-left .p-button,.flex.align-items-end .p-button,.flex.items-end .p-button{height:2.5rem;align-self:flex-end;margin-bottom:0}.spinner-lg{font-size:2rem}.spinner-md{font-size:1.5rem}.card{background:var(--p-surface-0);border-radius:.5rem;padding:1rem;border:1px solid var(--p-surface-200)}.info-card{background:var(--p-surface-50);padding:.75rem;border-radius:.5rem}.card-title{display:flex;align-items:center;justify-content:space-between}.card h3,.card-heading{margin:0 0 .75rem;font-size:.9375rem;font-weight:600;color:var(--p-surface-700)}.warning-card{background:var(--p-yellow-50);padding:.75rem;border-radius:.5rem;border:1px solid var(--p-yellow-200)}.warning-card i{color:var(--p-yellow-600)}.warning-card span{margin-left:.375rem;color:var(--p-yellow-700)}.span-full{grid-column:1/-1}.grid{display:grid}.grid-cols-2{grid-template-columns:repeat(2, 1fr)}.grid-cols-3{grid-template-columns:repeat(3, 1fr)}.text-uppercase{text-transform:uppercase}.text-center{text-align:center}.monospace{font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace}.break-all{word-break:break-all}.w-full{width:100% !important}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.375rem}.mb-2{margin-bottom:.75rem}.mb-3{margin-bottom:1rem}.mt-0{margin-top:0}.mt-1{margin-top:.375rem}.mt-2{margin-top:.75rem}.p-2{padding:.75rem}.p-3{padding:1rem}.pt-2{padding-top:.75rem}.gap-1{gap:.375rem}.gap-2{gap:.75rem}.gap-3{gap:1rem}.flex{display:flex}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.flex-1{flex:1}.alert-warning{background:var(--p-yellow-50);padding:.75rem;margin-bottom:.75rem;border-radius:.5rem;border:1px solid var(--p-yellow-200)}.alert-warning-icon{color:var(--p-yellow-600)}.alert-warning-text{margin-left:.375rem;color:var(--p-yellow-700)}.alert-info{color:var(--p-orange-600);margin-bottom:.75rem}.key-info-panel{background:var(--p-surface-50);padding:.75rem;margin-bottom:.75rem;border-radius:.5rem}.key-info-grid{display:flex;flex-wrap:wrap;gap:1.5rem;align-items:center}.key-info-item small{color:var(--p-surface-500);display:block}.info-banner{margin-top:.75rem;margin-bottom:.75rem}.info-banner:first-child{margin-top:0}.info-banner .p-message-content{padding:.375rem .75rem}.info-banner .p-message-icon{display:none}.info-banner-content{display:flex;align-items:center;gap:.625rem}.info-banner-icon{font-size:1.125rem;flex-shrink:0}.info-banner-text{flex:1}.info-banner-text strong{font-weight:600}.p-button{background:rgba(0,0,0,0) !important;border:1px solid var(--p-primary-500) !important;color:var(--p-primary-500) !important;transition:background-color .2s,border-color .2s,color .2s}.p-button:hover:not(:disabled){background:var(--p-primary-50) !important;border-color:var(--p-primary-600) !important;color:var(--p-primary-600) !important}.p-button:focus{box-shadow:0 0 0 2px var(--p-surface-0),0 0 0 4px var(--p-primary-200)}.p-button:disabled{opacity:.6;cursor:not-allowed}.p-button-secondary{border-color:var(--p-surface-400) !important;color:var(--p-surface-600) !important}.p-button-secondary:hover:not(:disabled){background:var(--p-surface-100) !important;border-color:var(--p-surface-500) !important;color:var(--p-surface-700) !important}.p-button-secondary:focus{box-shadow:0 0 0 2px var(--p-surface-0),0 0 0 4px var(--p-surface-200)}.p-button-success{border-color:var(--p-green-500) !important;color:var(--p-green-600) !important}.p-button-success:hover:not(:disabled){background:var(--p-green-50) !important;border-color:var(--p-green-600) !important;color:var(--p-green-700) !important}.p-button-success:focus{box-shadow:0 0 0 2px var(--p-surface-0),0 0 0 4px var(--p-green-200)}.p-button-warn{border-color:var(--p-orange-500) !important;color:var(--p-orange-600) !important}.p-button-warn:hover:not(:disabled){background:var(--p-orange-50) !important;border-color:var(--p-orange-600) !important;color:var(--p-orange-700) !important}.p-button-warn:focus{box-shadow:0 0 0 2px var(--p-surface-0),0 0 0 4px var(--p-orange-200)}.p-button-danger{border-color:var(--p-red-500) !important;color:var(--p-red-600) !important}.p-button-danger:hover:not(:disabled){background:var(--p-red-50) !important;border-color:var(--p-red-600) !important;color:var(--p-red-700) !important}.p-button-danger:focus{box-shadow:0 0 0 2px var(--p-surface-0),0 0 0 4px var(--p-red-200)}.p-button-info{border-color:var(--p-blue-500) !important;color:var(--p-blue-600) !important}.p-button-info:hover:not(:disabled){background:var(--p-blue-50) !important;border-color:var(--p-blue-600) !important;color:var(--p-blue-700) !important}.p-button-info:focus{box-shadow:0 0 0 2px var(--p-surface-0),0 0 0 4px var(--p-blue-200)}.p-button-contrast{border-color:var(--p-surface-900) !important;color:var(--p-surface-900) !important}.p-button-contrast:hover:not(:disabled){background:var(--p-surface-900) !important;border-color:var(--p-surface-900) !important;color:var(--p-surface-0) !important}.p-button-filled,.p-button.p-button-raised{background:var(--p-primary-500) !important;border-color:var(--p-primary-500) !important;color:#fff !important}.p-button-filled:hover:not(:disabled),.p-button.p-button-raised:hover:not(:disabled){background:var(--p-primary-600) !important;border-color:var(--p-primary-600) !important;color:#fff !important}.p-button-filled.p-button-secondary,.p-button.p-button-raised.p-button-secondary{background:var(--p-surface-500) !important;border-color:var(--p-surface-500) !important;color:#fff !important}.p-button-filled.p-button-secondary:hover:not(:disabled),.p-button.p-button-raised.p-button-secondary:hover:not(:disabled){background:var(--p-surface-600) !important;border-color:var(--p-surface-600) !important}.p-button-filled.p-button-success,.p-button.p-button-raised.p-button-success{background:var(--p-green-500) !important;border-color:var(--p-green-500) !important;color:#fff !important}.p-button-filled.p-button-success:hover:not(:disabled),.p-button.p-button-raised.p-button-success:hover:not(:disabled){background:var(--p-green-600) !important;border-color:var(--p-green-600) !important}.p-button-filled.p-button-warn,.p-button.p-button-raised.p-button-warn{background:var(--p-orange-500) !important;border-color:var(--p-orange-500) !important;color:#fff !important}.p-button-filled.p-button-warn:hover:not(:disabled),.p-button.p-button-raised.p-button-warn:hover:not(:disabled){background:var(--p-orange-600) !important;border-color:var(--p-orange-600) !important}.p-button-filled.p-button-danger,.p-button.p-button-raised.p-button-danger{background:var(--p-red-500) !important;border-color:var(--p-red-500) !important;color:#fff !important}.p-button-filled.p-button-danger:hover:not(:disabled),.p-button.p-button-raised.p-button-danger:hover:not(:disabled){background:var(--p-red-600) !important;border-color:var(--p-red-600) !important}.p-button-text{background:rgba(0,0,0,0) !important;border-color:rgba(0,0,0,0) !important}.p-button-text:hover:not(:disabled){background:var(--p-primary-50) !important;border-color:rgba(0,0,0,0) !important}.p-button-text.p-button-secondary:hover:not(:disabled){background:var(--p-surface-100) !important}.p-button-text.p-button-success:hover:not(:disabled){background:var(--p-green-50) !important}.p-button-text.p-button-warn:hover:not(:disabled){background:var(--p-orange-50) !important}.p-button-text.p-button-danger:hover:not(:disabled){background:var(--p-red-50) !important}.p-button-link{background:rgba(0,0,0,0) !important;border-color:rgba(0,0,0,0) !important;color:var(--p-primary-500) !important;text-decoration:none}.p-button-link:hover:not(:disabled){background:rgba(0,0,0,0) !important;border-color:rgba(0,0,0,0) !important;text-decoration:underline}.p-button-icon-only{background:unset !important;border:unset !important;color:unset !important}.p-button-icon-only:hover:not(:disabled){background:unset !important;border-color:unset !important;color:unset !important}.p-button-sm{font-size:.875rem;padding:.375rem .75rem}.p-button-lg{font-size:1rem;padding:.75rem 1.25rem}.p-tag{background:rgba(0,0,0,0) !important;border:1px solid var(--p-primary-500) !important;color:var(--p-primary-500) !important;font-weight:normal !important;white-space:nowrap}.p-tag-secondary{background:rgba(0,0,0,0) !important;border-color:var(--p-surface-400) !important;color:var(--p-surface-600) !important}.p-tag-success{background:rgba(0,0,0,0) !important;border-color:var(--p-green-500) !important;color:var(--p-green-600) !important}.p-tag-warn{background:rgba(0,0,0,0) !important;border-color:var(--p-orange-500) !important;color:var(--p-orange-600) !important}.p-tag-danger{background:rgba(0,0,0,0) !important;border-color:var(--p-red-500) !important;color:var(--p-red-600) !important}.p-tag-info{background:rgba(0,0,0,0) !important;border-color:var(--p-blue-500) !important;color:var(--p-blue-600) !important}.p-tag-contrast{background:rgba(0,0,0,0) !important;border-color:var(--p-surface-900) !important;color:var(--p-surface-900) !important}.p-splitbutton .p-splitbutton-defaultbutton{border:1px solid var(--p-primary-500) !important;border-right:none !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important;background:rgba(0,0,0,0) !important;color:var(--p-primary-500) !important}.p-splitbutton .p-splitbutton-defaultbutton:hover:not(:disabled){background:var(--p-primary-50) !important}.p-splitbutton .p-splitbutton-dropdown{border:1px solid var(--p-primary-500) !important;border-left:none !important;border-top-left-radius:0 !important;border-bottom-left-radius:0 !important;background:rgba(0,0,0,0) !important;color:var(--p-primary-500) !important}.p-splitbutton .p-splitbutton-dropdown:hover:not(:disabled){background:var(--p-primary-50) !important}.p-splitbutton.p-splitbutton-danger .p-splitbutton-defaultbutton,.p-splitbutton.p-splitbutton-danger .p-splitbutton-dropdown{border-color:var(--p-red-500) !important;color:var(--p-red-600) !important}.p-splitbutton.p-splitbutton-danger .p-splitbutton-defaultbutton:hover:not(:disabled),.p-splitbutton.p-splitbutton-danger .p-splitbutton-dropdown:hover:not(:disabled){background:var(--p-red-50) !important}.p-splitbutton.p-splitbutton-secondary .p-splitbutton-defaultbutton,.p-splitbutton.p-splitbutton-secondary .p-splitbutton-dropdown{border-color:var(--p-surface-400) !important;color:var(--p-surface-600) !important}.p-splitbutton.p-splitbutton-secondary .p-splitbutton-defaultbutton:hover:not(:disabled),.p-splitbutton.p-splitbutton-secondary .p-splitbutton-dropdown:hover:not(:disabled){background:var(--p-surface-100) !important}.p-splitbutton.p-splitbutton-success .p-splitbutton-defaultbutton,.p-splitbutton.p-splitbutton-success .p-splitbutton-dropdown{border-color:var(--p-green-500) !important;color:var(--p-green-600) !important}.p-splitbutton.p-splitbutton-success .p-splitbutton-defaultbutton:hover:not(:disabled),.p-splitbutton.p-splitbutton-success .p-splitbutton-dropdown:hover:not(:disabled){background:var(--p-green-50) !important}.cards-grid{display:grid;gap:1rem;margin-bottom:1.5rem}.cards-grid--cols-auto{grid-template-columns:repeat(auto-fit, minmax(180px, 1fr))}.cards-grid--cols-2{grid-template-columns:repeat(2, 1fr)}.cards-grid--cols-3{grid-template-columns:repeat(3, 1fr)}.cards-grid--cols-4{grid-template-columns:repeat(4, 1fr)}.stat-card,.card-custom{background:var(--p-surface-0);border:1px solid var(--p-surface-200);border-radius:.5rem;padding:1.25rem}.stat-card{text-align:center}.stat-card--clickable{cursor:pointer;transition:border-color .2s,box-shadow .2s}.stat-card--clickable:hover{border-color:var(--p-primary-300);box-shadow:0 2px 8px rgba(0,0,0,.08)}.stat-value{font-size:2rem;font-weight:600;color:var(--p-primary-500);display:flex;align-items:center;justify-content:center;gap:.5rem}.stat-value--success{color:var(--p-green-500)}.stat-value--danger{color:var(--p-red-500)}.stat-value--warning{color:var(--p-orange-500)}.stat-value--info{color:var(--p-blue-500)}.stat-icon{font-size:1.5rem}.stat-label{font-size:.875rem;color:var(--p-surface-600);margin-top:.25rem}@media(max-width: 768px){.cards-grid--cols-3,.cards-grid--cols-4{grid-template-columns:repeat(2, 1fr)}}@media(max-width: 480px){.cards-grid{grid-template-columns:1fr}}.rich-cards-grid{display:grid;gap:1rem;margin-bottom:1.5rem}.rich-cards-grid--cols-auto{grid-template-columns:repeat(auto-fit, minmax(200px, 1fr))}.rich-cards-grid--cols-2{grid-template-columns:repeat(2, 1fr)}.rich-cards-grid--cols-3{grid-template-columns:repeat(3, 1fr)}.rich-cards-grid--cols-4{grid-template-columns:repeat(4, 1fr)}.rich-cards-grid--cols-5{grid-template-columns:repeat(5, 1fr)}.rich-cards-grid--cols-6{grid-template-columns:repeat(6, 1fr)}.rich-card{background:var(--p-surface-0);border:1px solid var(--p-surface-200);border-radius:.5rem;padding:1.25rem}.rich-card--clickable{cursor:pointer;transition:border-color .2s,box-shadow .2s,transform .2s}.rich-card--clickable:hover{border-color:var(--p-primary-300);box-shadow:0 4px 12px rgba(0,0,0,.1);transform:translateY(-2px)}.rich-card--success .rich-card-value{color:var(--p-green-600)}.rich-card--success .rich-card-icon{color:var(--p-green-500)}.rich-card--danger .rich-card-value{color:var(--p-red-600)}.rich-card--danger .rich-card-icon{color:var(--p-red-500)}.rich-card--warning .rich-card-value{color:var(--p-orange-600)}.rich-card--warning .rich-card-icon{color:var(--p-orange-500)}.rich-card--info .rich-card-value{color:var(--p-blue-600)}.rich-card--info .rich-card-icon{color:var(--p-blue-500)}.rich-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.rich-card-title{font-size:.875rem;font-weight:500;color:var(--p-surface-600)}.rich-card-icon{font-size:1.25rem;color:var(--p-surface-400)}.rich-card-value{font-size:2rem;font-weight:700;color:var(--p-surface-900);line-height:1.2}.rich-card-subtitle{font-size:.8rem;color:var(--p-surface-500);margin-top:.25rem}@media(max-width: 1024px){.rich-cards-grid--cols-5,.rich-cards-grid--cols-6{grid-template-columns:repeat(3, 1fr)}}@media(max-width: 768px){.rich-cards-grid--cols-3,.rich-cards-grid--cols-4,.rich-cards-grid--cols-5,.rich-cards-grid--cols-6{grid-template-columns:repeat(2, 1fr)}}@media(max-width: 480px){.rich-cards-grid{grid-template-columns:1fr}}.code-box{word-break:break-all;font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace;background:var(--p-surface-100);padding:.75rem;border-radius:.25rem}.code-box--sm{padding:.375rem;font-size:.875rem}.tag-sm{font-size:.7rem}.tag-xs{font-size:.75rem}.tags-constrained{max-width:300px}.json-viewer{background:var(--p-surface-50);border:1px solid var(--p-surface-200);border-radius:.375rem;overflow:auto;font-family:"Monaco","Menlo","Ubuntu Mono",monospace;font-size:.8125rem;line-height:1.5}.json-content{padding:1rem;margin:0;white-space:pre-wrap;word-break:break-word}.json-key{color:#881391}.json-string{color:#1a1aa6}.json-number{color:#1c00cf}.json-boolean{color:#0d22aa;font-weight:500}.json-null{color:gray;font-style:italic}.qd-log-stream{--qd-log-bg: #1e1e1e;--qd-log-fg: #d4d4d4;--qd-log-muted: #858585;--qd-log-mark: rgba(255, 213, 79, 0.45);--qd-log-error-bg: rgba(241, 76, 76, 0.14);--qd-log-current: rgba(59, 142, 234, 0.3);position:relative;display:flex;flex-direction:column;border:1px solid var(--p-surface-300);border-radius:.25rem;overflow:hidden;min-width:0}.qd-log-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .5rem;padding:.25rem .5rem;background:var(--p-surface-50);border-bottom:1px solid var(--p-surface-200);font-size:.875rem}.qd-log-spacer-x{flex:1}.qd-log-status{display:inline-flex;align-items:center;gap:.375rem;font-weight:500}.qd-log-status-dot{width:.5rem;height:.5rem;border-radius:50%;background:var(--p-surface-400)}.qd-log-status--streaming .qd-log-status-dot{background:var(--p-green-500);animation:qd-log-pulse 1.2s ease-in-out infinite}.qd-log-status--done .qd-log-status-dot{background:var(--p-blue-500)}.qd-log-status--error .qd-log-status-dot{background:var(--p-red-500)}@keyframes qd-log-pulse{50%{opacity:.3}}.qd-log-count,.qd-log-search-count{color:var(--p-text-muted-color);font-size:.75rem;font-variant-numeric:tabular-nums}.qd-log-search{display:inline-flex;align-items:center;gap:.125rem}.qd-log-search .p-inputtext{width:12rem;max-width:40vw}.qd-log-viewport{overflow:auto;background:var(--qd-log-bg);color:var(--qd-log-fg);font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace;font-size:.8125rem;line-height:var(--qd-log-line-height, 20px);outline:none}.qd-log-empty{padding:.75rem 1rem;color:var(--qd-log-muted);font-style:italic}.qd-log-line{display:flex;height:var(--qd-log-line-height, 20px);white-space:pre;padding-right:.75rem}.qd-log-line--error{background:var(--qd-log-error-bg)}.qd-log-line--current{background:var(--qd-log-current)}.qd-log-stream--wrap .qd-log-line{height:auto;min-height:var(--qd-log-line-height, 20px);white-space:pre-wrap;word-break:break-word;content-visibility:auto;contain-intrinsic-size:auto var(--qd-log-line-height, 20px)}.qd-log-n{flex:none;min-width:3.5rem;padding:0 .75rem 0 .5rem;text-align:right;color:var(--qd-log-muted);user-select:none}.qd-log-text{flex:1;min-width:0}.qd-log-ts{color:var(--qd-log-muted)}.qd-log-mark{background:var(--qd-log-mark);border-radius:2px}.qd-log-resume{position:absolute;bottom:.75rem;left:50%;transform:translateX(-50%);display:inline-flex;align-items:center;gap:.375rem;padding:.25rem .75rem;border:none;border-radius:999px;background:var(--p-primary-color);color:var(--p-primary-contrast-color);font-size:.75rem;cursor:pointer;box-shadow:0 2px 6px rgba(0,0,0,.3)}.qd-timeline{position:relative;min-width:0}.qd-timeline-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.75rem}.qd-timeline-actors,.qd-timeline-gaps{display:flex;flex-wrap:wrap;gap:.375rem}.qd-timeline-gaps{margin-left:auto}.qd-timeline-chip{display:inline-flex;align-items:center;gap:.375rem;padding:.125rem .625rem;border:1px solid var(--qd-actor);border-radius:999px;background:color-mix(in srgb, var(--qd-actor) 14%, transparent);color:var(--p-text-color);font-size:.75rem;cursor:pointer}.qd-timeline-chip i{color:var(--qd-actor);font-size:.75rem}.qd-timeline-chip--off{opacity:.45;background:rgba(0,0,0,0);text-decoration:line-through}.qd-timeline-gap-chip{display:inline-flex;align-items:center;gap:.375rem;padding:.125rem .625rem;border-radius:999px;background:var(--p-surface-100);font-size:.75rem}.qd-timeline-error{color:var(--p-red-500);margin-bottom:.5rem}.qd-timeline-empty{color:var(--p-text-muted-color);font-style:italic;padding:.5rem 0}.qd-timeline-list{list-style:none;margin:0;padding:0}.qd-timeline-day{margin:.75rem 0 .25rem;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--p-text-muted-color)}.qd-timeline-day:first-child{margin-top:0}.qd-timeline-event{position:relative;display:flex;gap:.75rem;padding:0 0 .75rem}.qd-timeline-event::before{content:"";position:absolute;left:.875rem;top:1.75rem;bottom:0;width:2px;background:var(--p-surface-200)}.qd-timeline-event:last-child::before{display:none}.qd-timeline-event--fresh .qd-timeline-content{animation:qd-timeline-flash 2.5s ease-out}@keyframes qd-timeline-flash{0%{background:color-mix(in srgb, var(--p-primary-color) 22%, transparent)}100%{background:rgba(0,0,0,0)}}.qd-timeline-since{position:absolute;left:2.5rem;top:-0.7rem;font-size:.6875rem;color:var(--p-text-muted-color)}.qd-timeline-marker{flex:none;display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;border-radius:50%;background:var(--qd-actor);color:#fff;font-size:.8125rem;z-index:1}.qd-timeline-content{flex:1;min-width:0;border-radius:.25rem}.qd-timeline-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:.25rem .625rem;width:100%;padding:.25rem .375rem;border:none;border-radius:.25rem;background:rgba(0,0,0,0);color:inherit;font:inherit;text-align:left}.qd-timeline-head:is(button){cursor:pointer}.qd-timeline-head:is(button):hover{background:var(--p-surface-100)}.qd-timeline-title{font-weight:600}.qd-timeline-event--danger .qd-timeline-title{color:var(--p-red-600)}.qd-timeline-event--warn .qd-timeline-title{color:var(--p-orange-600)}.qd-timeline-event--success .qd-timeline-title{color:var(--p-green-600)}.qd-timeline-actor{font-size:.75rem;color:var(--qd-actor);font-weight:500}.qd-timeline-time{margin-left:auto;font-size:.75rem;color:var(--p-text-muted-color);font-variant-numeric:tabular-nums}.qd-timeline-chevron{font-size:.75rem;color:var(--p-text-muted-color)}.qd-timeline-detail{padding:.5rem .375rem .25rem}.qd-timeline-absolute{font-size:.75rem;color:var(--p-text-muted-color);margin-bottom:.5rem}.qd-timeline-new{position:absolute;left:50%;bottom:.75rem;transform:translateX(-50%)}.qd-payload{--pl-tag: #22863a;--pl-attr: #6f42c1;--pl-value: #032f62;--pl-comment: #6a737d;--pl-ins-bg: rgba(46, 160, 67, 0.16);--pl-del-bg: rgba(248, 81, 73, 0.16);border:1px solid var(--p-surface-200);border-radius:.25rem;overflow:hidden;min-width:0;background:var(--p-surface-0)}.qd-payload-request{padding:.5rem .75rem;border-bottom:1px solid var(--p-surface-200);background:var(--p-surface-50);font-size:.875rem}.qd-payload-line{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;min-width:0}.pl-method{font-weight:700;font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace}.pl-url{font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace;word-break:break-all;min-width:0}.pl-status{padding:0 .5rem;border-radius:999px;font-weight:600;font-size:.75rem;background:var(--p-surface-200)}.pl-status--ok{background:var(--p-green-100);color:var(--p-green-800)}.pl-status--info{background:var(--p-blue-100);color:var(--p-blue-800)}.pl-status--warn{background:var(--p-orange-100);color:var(--p-orange-800)}.pl-status--error{background:var(--p-red-100);color:var(--p-red-800)}.qd-payload-headers{margin-top:.375rem}.qd-payload-headers summary{cursor:pointer;color:var(--p-text-muted-color)}.qd-payload-headers table{margin-top:.25rem;border-collapse:collapse;font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace;font-size:.75rem}.qd-payload-headers th{text-align:left;padding:.125rem 1rem .125rem 0;font-weight:600;white-space:nowrap;vertical-align:top}.qd-payload-headers td{word-break:break-all}.qd-payload-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;padding:.125rem .5rem;border-bottom:1px solid var(--p-surface-200);font-size:.75rem}.qd-payload-format{font-weight:700;letter-spacing:.05em;color:var(--p-text-muted-color)}.qd-payload-size{color:var(--p-text-muted-color)}.qd-payload-spacer{flex:1}.qd-payload-check{display:inline-flex;align-items:center;gap:.25rem;cursor:pointer}.qd-payload-warning,.qd-payload-identical{padding:.375rem .75rem;font-size:.875rem}.qd-payload-warning{background:var(--p-orange-50);color:var(--p-orange-800)}.qd-payload-identical{background:var(--p-green-50);color:var(--p-green-800)}.qd-payload-body{overflow:auto}.qd-payload-body .json-viewer{border:none;border-radius:0}.qd-payload-code{margin:0;padding:.5rem .75rem .5rem 0;font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace;font-size:.8125rem;line-height:1.5;white-space:pre}.pl-n{display:inline-block;min-width:3rem;padding-right:.75rem;text-align:right;color:var(--p-text-muted-color);user-select:none}.pl-tag{color:var(--pl-tag)}.pl-attr{color:var(--pl-attr)}.pl-value{color:var(--pl-value)}.pl-punct{color:var(--p-text-muted-color)}.pl-comment,.pl-decl{color:var(--pl-comment);font-style:italic}.pl-cdata{color:var(--pl-comment)}.qd-payload-table-wrap{min-width:0}.qd-payload-table{border-collapse:collapse;font-size:.875rem;width:max-content;min-width:100%}.qd-payload-table th,.qd-payload-table td{padding:.25rem .75rem;border-bottom:1px solid var(--p-surface-100);text-align:left;vertical-align:top;white-space:pre-wrap}.qd-payload-table thead th{position:sticky;top:0;background:var(--p-surface-50);font-weight:600}.qd-payload-table .pl-n{display:table-cell;min-width:0}.qd-payload-kv th{font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace;font-weight:600;white-space:nowrap}.qd-payload-more{display:block;width:100%;padding:.375rem;border:none;background:var(--p-surface-50);color:var(--p-primary-color);cursor:pointer}.qd-payload-binary p{margin:.5rem .75rem;font-size:.875rem}.pl-count{font-weight:700;font-variant-numeric:tabular-nums}.pl-count--add{color:var(--p-green-600)}.pl-count--del{color:var(--p-red-600)}.pl-count--chg{color:var(--p-orange-600)}.pl-diff{width:100%;border-collapse:collapse;table-layout:fixed;font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace;font-size:.8125rem;line-height:1.5}.pl-diff th{padding:.25rem .75rem;background:var(--p-surface-50);font-family:var(--p-font-family, inherit);font-size:.75rem;text-align:left}.pl-diff td{padding:0 .5rem;white-space:pre-wrap;word-break:break-all;vertical-align:top}.pl-diff td.pl-n{display:table-cell;width:3rem;min-width:0}.pl-diff .pl-sign{width:1rem;padding:0;text-align:center}.pl-diff--split td:nth-child(3){border-left:1px solid var(--p-surface-200)}.pl-ins,tr.pl-ins td{background:var(--pl-ins-bg)}.pl-del,tr.pl-del td{background:var(--pl-del-bg)}.pl-empty{background:repeating-linear-gradient(45deg, transparent 0 4px, var(--p-surface-100) 4px 8px)}.pl-fold td{padding:0}.pl-fold td button{width:100%;padding:.125rem;border:none;background:var(--p-surface-100);color:var(--p-text-muted-color);font-size:.75rem;cursor:pointer}.pl-csv-diff .pl-row--added td{background:var(--pl-ins-bg)}.pl-csv-diff .pl-row--removed td{background:var(--pl-del-bg)}.pl-csv-diff .pl-cell--changed{background:color-mix(in srgb, var(--p-orange-400) 18%, transparent)}.pl-csv-diff .pl-cell--changed del{color:var(--p-red-700)}.pl-csv-diff .pl-cell--changed ins{color:var(--p-green-700);text-decoration:none;font-weight:600}.qd-email{border:1px solid var(--p-surface-200);border-radius:.25rem;overflow:hidden;min-width:0;background:var(--p-surface-0)}.qd-email-head{padding:.75rem 1rem .5rem;border-bottom:1px solid var(--p-surface-200)}.qd-email-subject{margin:0 0 .5rem;font-size:1.0625rem;font-weight:600;overflow-wrap:anywhere}.qd-email-main{display:grid;grid-template-columns:max-content minmax(0, 1fr);gap:.125rem .75rem;margin:0;font-size:.875rem}.qd-email-main dt{color:var(--p-text-muted-color)}.qd-email-main dd{margin:0;overflow-wrap:anywhere}.qd-email-headers{margin-top:.5rem;font-size:.75rem}.qd-email-headers summary{cursor:pointer;color:var(--p-text-muted-color)}.qd-email-headers table{margin-top:.25rem;border-collapse:collapse;font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace}.qd-email-headers th{padding:.0625rem 1rem .0625rem 0;text-align:left;font-weight:600;white-space:nowrap;vertical-align:top}.qd-email-headers td{overflow-wrap:anywhere}.qd-email-warning{padding:.375rem 1rem;background:var(--p-orange-50);color:var(--p-orange-800);font-size:.875rem}.qd-email-tabs{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem;padding:0 .5rem;border-bottom:1px solid var(--p-surface-200);font-size:.875rem}.qd-email-tab{padding:.5rem .75rem;border:none;border-bottom:2px solid rgba(0,0,0,0);background:rgba(0,0,0,0);color:var(--p-text-muted-color);font:inherit;cursor:pointer}.qd-email-tab--active{border-bottom-color:var(--p-primary-color);color:var(--p-text-color);font-weight:600}.qd-email-spacer{flex:1}.qd-email-blocked{color:var(--p-text-muted-color);font-size:.75rem}.qd-email-frame-wrap{resize:vertical;overflow:hidden;min-height:8rem;background:#fff}.qd-email-frame{display:block;width:100%;height:100%;border:0}.qd-email-text{margin:0;padding:.75rem 1rem;max-height:32rem;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace;font-size:.8125rem}.qd-email-source{white-space:pre}.qd-email-empty{padding:.75rem 1rem;color:var(--p-text-muted-color);font-style:italic}.qd-email-attachments{list-style:none;margin:0;padding:.25rem .5rem;border-top:1px solid var(--p-surface-200)}.qd-email-attachment{display:flex;align-items:center;gap:.5rem;padding:.25rem;font-size:.875rem;min-width:0}.qd-email-thumb{width:2.5rem;height:2.5rem;object-fit:cover;border-radius:.25rem;border:1px solid var(--p-surface-200)}.qd-email-clip{width:2.5rem;text-align:center;color:var(--p-text-muted-color)}.qd-email-att-name{font-weight:500;overflow-wrap:anywhere}.qd-email-att-meta{flex:1;color:var(--p-text-muted-color);font-size:.75rem}.qd-task-head{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem;font-size:.875rem}.qd-task-status{display:inline-flex;align-items:center;gap:.375rem;padding:.125rem .625rem;border-radius:999px;font-weight:600;background:var(--p-blue-50);color:var(--p-blue-700)}.qd-task-status--succeeded{background:var(--p-green-50);color:var(--p-green-700)}.qd-task-status--failed{background:var(--p-red-50);color:var(--p-red-700)}.qd-task-status--cancelled{background:var(--p-surface-100);color:var(--p-text-muted-color)}.qd-task-elapsed,.qd-task-id{color:var(--p-text-muted-color);font-variant-numeric:tabular-nums}.qd-task-id{margin-left:auto;font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace;font-size:.75rem}.qd-task-progress{height:.75rem}.qd-task-step{margin-top:.375rem;color:var(--p-text-muted-color);font-size:.875rem}.qd-task-log{margin-top:.75rem}.qd-task-error,.qd-task-warning{margin-top:.75rem;padding:.5rem .75rem;border-radius:.25rem;font-size:.875rem;overflow-wrap:anywhere}.qd-task-error{background:var(--p-red-50);color:var(--p-red-800)}.qd-task-warning{background:var(--p-orange-50);color:var(--p-orange-800)}.qd-task-result{margin-top:.75rem}.qd-task-dialog .p-dialog-footer{display:flex;align-items:center;gap:.5rem}.qd-task-spacer{flex:1}.qd-task-link{display:inline-flex;align-items:center;gap:.375rem;font-size:.875rem}.qd-task-confirm-message{margin:0 0 .75rem}.qd-task-confirm-label{display:block;margin-bottom:.375rem;font-size:.875rem}.qd-task-confirm-input{width:100%;font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace}.qd-task-tray{padding:.25rem .75rem}.qd-task-tray-button{display:flex;align-items:center;gap:.5rem;width:100%;padding:.5rem .625rem;border:1px solid var(--p-surface-200);border-radius:.25rem;background:var(--p-surface-0);color:inherit;font:inherit;font-size:.875rem;cursor:pointer}.qd-task-tray-button--busy{border-color:var(--p-primary-color)}.qd-task-tray-button:hover{background:var(--p-surface-50)}.qd-task-tray-label{flex:1;text-align:left;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.qd-task-tray-count{min-width:1.25rem;padding:0 .375rem;border-radius:999px;background:var(--p-primary-color);color:var(--p-primary-contrast-color);font-size:.75rem;font-weight:700;text-align:center}.qd-task-list{list-style:none;margin:0 0 .25rem;padding:0;min-width:18rem;max-width:24rem}.qd-task-item{display:flex;align-items:center;gap:.5rem;width:100%;padding:.375rem .5rem;border:none;border-radius:.25rem;background:rgba(0,0,0,0);color:inherit;font:inherit;font-size:.875rem;text-align:left;cursor:pointer}.qd-task-item:hover{background:var(--p-surface-100)}.qd-task-item--succeeded i{color:var(--p-green-600)}.qd-task-item--failed i{color:var(--p-red-600)}.qd-task-item--cancelled i{color:var(--p-text-muted-color)}.qd-task-item-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.qd-task-item-state{color:var(--p-text-muted-color);font-size:.75rem;white-space:nowrap}.sidebar--collapsed .qd-task-tray{padding:.25rem}.sidebar--collapsed .qd-task-tray .qd-task-tray-label{display:none}.dialog-content{display:flex;align-items:flex-start;gap:1rem;margin-bottom:.75rem}.dialog-content p{margin:0;line-height:1.5}.dialog-section-title{font-size:.875rem;font-weight:600;margin-bottom:.375rem;color:var(--p-surface-600)}.dialog-icon{font-size:2rem;color:var(--p-orange-500);flex-shrink:0}.multi-step-dialog{padding:.5rem 0}.step-content{padding:1rem 0}.step-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-top:1.5rem;padding-top:1rem;border-top:1px solid var(--p-surface-200)}.markdown-rendered{background:var(--p-surface-100);padding:.75rem;border-radius:.25rem;max-height:400px;overflow-y:auto;font-size:.875rem}.markdown-rendered h1,.markdown-rendered h2,.markdown-rendered h3,.markdown-rendered h4{margin:.75rem 0 .375rem 0;font-weight:600}.markdown-rendered h1{font-size:1.25rem}.markdown-rendered h2{font-size:1.125rem}.markdown-rendered h3{font-size:1rem}.markdown-rendered p{margin:.375rem 0}.markdown-rendered ul,.markdown-rendered ol{margin:.375rem 0;padding-left:1rem}.markdown-rendered a{color:var(--p-primary-500);text-decoration:underline}.markdown-rendered code{background:var(--p-surface-200);padding:.1rem .3rem;border-radius:.25rem;font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace;font-size:.85em}.markdown-rendered pre{background:var(--p-surface-200);padding:.75rem;border-radius:.25rem;overflow-x:auto}.markdown-rendered blockquote{border-left:3px solid var(--p-surface-300);margin:.375rem 0;padding-left:.75rem;color:var(--p-surface-600)}.markdown-rendered .md-figure{margin:.75rem 0;padding:0}.markdown-rendered .md-figure img{max-width:100%;height:auto;border-radius:.25rem;display:block}.markdown-rendered .md-figure figcaption{margin-top:.375rem;font-size:.75rem;color:var(--p-surface-500);font-style:italic;line-height:1.5}.header-left{display:flex;align-items:center;gap:.75rem}.content-grid{display:grid;gap:1rem}.meta-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));gap:1rem}@media(max-width: 767px){.meta-grid{grid-template-columns:1fr}}.summary-text,.intent-text{line-height:1.5}.tags-wrap{display:flex;gap:.375rem;flex-wrap:wrap}.url-actions{display:flex;gap:.375rem;align-items:center}.content-box{background:var(--p-surface-100);padding:.75rem;border-radius:.25rem;white-space:pre-wrap;word-break:break-word}.content-box--scrollable{max-height:300px;overflow-y:auto}.content-box--tall{max-height:400px}.status-row{display:flex;justify-content:space-between;align-items:flex-start}.tags-row{display:flex;gap:.375rem}.show-field{display:flex;flex-direction:column;gap:.25rem}.show-field--horizontal{flex-direction:row;align-items:flex-start;gap:1rem}.show-field__label{font-weight:600;color:var(--p-text-muted-color, #6c757d);font-size:.875rem}.show-field--horizontal .show-field__label{padding-top:.125rem}.show-field__value{color:var(--p-text-color, #1e293b);line-height:1.5}.show-display{display:inline}.show-display--badge{display:inline-flex;align-items:center}.show-display--empty{color:var(--p-text-muted-color, #6c757d)}.show-display--email,.show-display--url,.show-display--reference{color:var(--p-primary-color, #3b82f6);text-decoration:none}.show-display--email:hover,.show-display--url:hover,.show-display--reference:hover{text-decoration:underline}.show-display--password{font-family:monospace;letter-spacing:.1em}.show-display--number,.show-display--currency{font-variant-numeric:tabular-nums}.show-display--boolean{display:inline-flex;align-items:center;gap:.5rem}.show-display--boolean.text-success{color:var(--p-green-500, #22c55e)}.show-display--boolean.text-danger{color:var(--p-red-500, #ef4444)}.show-display--boolean.text-muted{color:var(--p-text-muted-color, #6c757d)}.show-display--textarea{white-space:pre-wrap;line-height:1.6}.show-display--image img{border-radius:4px;object-fit:cover}.show-display--json{background:var(--p-surface-100, #f1f5f9);padding:.75rem;border-radius:4px;font-size:.875rem;overflow-x:auto;margin:0}.sidebar-box{position:relative;z-index:1;padding:.5rem .75rem;border-top:1px solid var(--p-surface-700, #334155);height:3.5rem;box-sizing:border-box;cursor:pointer;transition:background var(--fad-transition-fast);display:flex;align-items:center}.sidebar-box:hover{background:var(--p-surface-700, #334155)}.sidebar-box:focus-within{z-index:20}.sidebar-box-inner{display:flex;align-items:center;gap:.5rem;padding-left:2rem;height:100%;width:100%}.sidebar-box-icon{position:absolute;left:.5rem;top:50%;transform:translateY(-50%);width:28px;height:28px;display:flex;align-items:center;justify-content:center;font-size:.875rem;color:var(--p-surface-400, #94a3b8)}.sidebar-box:hover .sidebar-box-icon{color:var(--p-surface-200, #e2e8f0)}.sidebar-box-content{flex:1;min-width:0;opacity:1;transition:opacity .1s ease .2s}.sidebar-box-title{font-weight:var(--fad-font-weight-normal);font-size:var(--fad-font-size-sm);color:var(--p-surface-100, #f1f5f9);white-space:nowrap}.sidebar-box-subtitle{font-size:var(--fad-font-size-2xs);color:var(--p-surface-400, #94a3b8);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-box--impersonator .sidebar-box-icon{color:var(--p-orange-400, #fb923c)}.sidebar-box--impersonator:hover .sidebar-box-icon{color:var(--p-orange-300, #fdba74)}.sidebar-box--impersonator .sidebar-box-title{color:var(--p-orange-400, #fb923c)}.sidebar-box--impersonator .sidebar-box-subtitle{color:var(--p-orange-300, #fdba74)}.sidebar--collapsed .sidebar-box{padding:0}.sidebar--collapsed .sidebar-box-inner{justify-content:center;padding-left:0}.sidebar--collapsed .sidebar-box-content{opacity:0;visibility:hidden;transition:opacity 0s,visibility 0s}.sidebar-box-controls{padding:.5rem 1rem}.sidebar-box-controls-label{font-size:var(--fad-font-size-xs);font-weight:var(--fad-font-weight-medium);color:var(--p-surface-500, #64748b);text-transform:uppercase;letter-spacing:.06em;display:block;margin-bottom:.375rem}.sidebar-box-controls-input{width:100%}.sidebar-box-controls-input :deep(.p-autocomplete-input){width:100%;font-size:var(--fad-font-size-sm)}.sidebar-box-controls-input :deep(.p-autocomplete-overlay){z-index:9999 !important}.sidebar--collapsed .sidebar-box-controls{display:none !important}.sidebar-box--full{height:auto;cursor:default}.sidebar-box--full:hover{background:rgba(0,0,0,0)}.sidebar-box-full{width:100%;padding:.25rem 0;opacity:1;transition:opacity .1s ease .2s}.sidebar-box-full-label{font-size:var(--fad-font-size-xs);font-weight:var(--fad-font-weight-medium);color:var(--p-surface-500, #64748b);text-transform:uppercase;letter-spacing:.06em;display:block;margin-bottom:.375rem}.sidebar-box-full-input{width:100%}.sidebar-box-full-input :deep(.p-autocomplete-input){width:100%;font-size:var(--fad-font-size-sm)}.sidebar-box-full-input :deep(.p-autocomplete-overlay){z-index:9999 !important}.sidebar--collapsed .sidebar-box--full{opacity:0;visibility:hidden;height:0;padding:0;border:none;overflow:hidden;transition:opacity 0s,visibility 0s,height 0s,padding 0s}.sidebar--collapsed .sidebar-box-full{opacity:0;transition:opacity 0s}.sidebar-nav .nav-item{position:relative;display:flex;align-items:center;padding:var(--fad-nav-item-padding-y) var(--fad-nav-item-padding-x);padding-left:calc((var(--fad-sidebar-width-collapsed) + 1.125rem)/2 + .375rem);color:var(--p-surface-300, #cbd5e1);text-decoration:none;font-size:var(--fad-font-size-sm);font-weight:var(--fad-font-weight-normal);border-radius:0;transition:background var(--fad-transition-fast),color var(--fad-transition-fast),padding var(--fad-transition-slow)}.sidebar-nav .nav-item i{position:absolute;left:calc((var(--fad-sidebar-width-collapsed) - 1.125rem)/2);top:50%;transform:translateY(-50%);font-size:var(--fad-nav-icon-size);width:1.125rem;text-align:center;opacity:.8}.sidebar-nav .nav-item span{white-space:nowrap;opacity:1;transition:opacity .1s ease .2s}.sidebar-nav .nav-item .nav-item-external{margin-left:.375rem;font-size:.625rem;color:var(--p-surface-400, #94a3b8)}.sidebar-nav .nav-item:hover{background:var(--p-surface-700, #334155);color:var(--p-surface-0, white)}.sidebar-nav .nav-item-active{background:var(--p-surface-700, #334155);color:var(--p-primary-300, #93c5fd);border-left:2px solid var(--p-primary-400, #60a5fa);padding-left:calc(calc((var(--fad-sidebar-width-collapsed) + 1.125rem) / 2 + 0.375rem) - 2px)}.sidebar-nav .nav-item-active:hover{background:var(--p-surface-600, #475569)}.sidebar-nav .nav-item-active i{opacity:1}.sidebar--collapsed .sidebar-nav .nav-item{padding:.5rem 0;padding-left:calc((var(--fad-sidebar-width-collapsed) + 1.125rem)/2 + .375rem);border-left:none !important}.sidebar--collapsed .sidebar-nav .nav-item-active{border-left:none !important;padding-left:calc((var(--fad-sidebar-width-collapsed) + 1.125rem)/2 + .375rem)}.sidebar--collapsed .sidebar-nav .nav-item span{opacity:0;visibility:hidden;transition:opacity 0s,visibility 0s}@media(max-width: 767px){.sidebar.sidebar--collapsed .sidebar-nav .nav-item{justify-content:flex-start;padding:var(--fad-nav-item-padding-y) var(--fad-nav-item-padding-x);padding-left:calc((var(--fad-sidebar-width-collapsed) + 1.125rem)/2 + .375rem)}.sidebar.sidebar--collapsed .sidebar-nav .nav-item span{display:inline;opacity:1;visibility:visible;width:auto;transition:opacity .1s ease .2s}.sidebar.sidebar--collapsed .sidebar-nav .nav-item i{position:absolute;left:calc((var(--fad-sidebar-width-collapsed) - 1.125rem)/2);font-size:var(--fad-nav-icon-size);width:1.125rem}}:root{--qdadm-sidebar-width: 15rem;--qdadm-sidebar-collapsed-width: 2.5rem;--qdadm-sidebar-transition: 200ms ease;--qdadm-content-padding: 1rem;--qdadm-content-padding-mobile: 0.75rem}@media(max-width: 1023px){.app-layout{--qdadm-sidebar-width: 12rem}}@media(max-width: 767px){.app-layout{--qdadm-sidebar-width: 100vw}}.sidebar{transition:transform var(--qdadm-sidebar-transition),width var(--qdadm-sidebar-transition)}@media(max-width: 767px){.sidebar{transform:translateX(-100%);position:fixed;z-index:1000;box-shadow:none;width:100vw !important;height:100dvh;max-height:100dvh;overflow-y:auto}.sidebar.sidebar--open{transform:translateX(0);box-shadow:none}}.main-content{transition:margin-left var(--qdadm-sidebar-transition)}@media(max-width: 767px){.main-content{margin-left:0 !important}}.sidebar-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:99;opacity:0;transition:opacity .25s}@media(max-width: 767px){.sidebar-overlay{display:block;pointer-events:none}.sidebar-overlay.sidebar-overlay--visible{opacity:1;pointer-events:auto}}.hamburger-btn{display:none !important}@media(max-width: 767px){.hamburger-btn{display:flex !important}}@media(max-width: 767px){.page-content{padding:var(--qdadm-content-padding-mobile)}}@media(max-width: 767px){.page-header{flex-direction:column;gap:1rem;align-items:flex-start !important}}@media(max-width: 767px){.page-header .page-header-actions{width:100%;justify-content:flex-start}}.p-datatable .p-datatable-table-container{overflow-x:auto;-webkit-overflow-scrolling:touch}@media(max-width: 767px){.p-datatable .p-datatable-table{min-width:600px}}@media(max-width: 479px){.p-datatable .p-datatable-table{min-width:500px}}@media(max-width: 767px){.filter-bar{flex-wrap:wrap;gap:.75rem}}@media(max-width: 767px){.filter-bar-left{flex-wrap:wrap;gap:.5rem;width:100%}}@media(max-width: 767px){.card{border-radius:0;border:none;background:rgba(0,0,0,0);padding:0}}@media(max-width: 767px){.form-grid{grid-template-columns:1fr !important}}@media(max-width: 479px){.form-actions{flex-direction:column;gap:.5rem}.form-actions .form-actions-left{width:100%;flex-direction:column}.form-actions .p-button{width:100%;white-space:nowrap}}@media(max-width: 767px){.cards-grid{grid-template-columns:repeat(2, 1fr)}}@media(max-width: 479px){.cards-grid{grid-template-columns:1fr}}@media(max-width: 767px){.hide-mobile{display:none !important}}.hide-desktop{display:none !important}@media(max-width: 767px){.hide-desktop{display:block !important}}@media(max-width: 767px){.hide-mobile-inline{display:none !important}}.show-mobile-inline{display:none !important}@media(max-width: 767px){.show-mobile-inline{display:inline !important}}
|
|
1
|
+
:root{--fad-text-primary: var(--p-text-color);--fad-text-secondary: var(--p-text-muted-color);--fad-text-disabled: var(--p-surface-400);--fad-text-inverse: var(--p-surface-0);--fad-surface-ground: var(--p-surface-ground);--fad-surface-card: var(--p-surface-card);--fad-surface-overlay: var(--p-surface-overlay);--fad-surface-border: var(--p-surface-200);--fad-surface-hover: var(--p-surface-100);--fad-primary: var(--p-primary-color);--fad-primary-hover: var(--p-primary-600);--fad-primary-text: var(--p-primary-contrast-color);--fad-success: var(--p-green-500);--fad-warning: var(--p-orange-500);--fad-danger: var(--p-red-500);--fad-info: var(--p-blue-500);--fad-space-2xs: 0.125rem;--fad-space-xs: 0.25rem;--fad-space-sm: 0.375rem;--fad-space-md: 0.75rem;--fad-space-lg: 1rem;--fad-space-xl: 1.5rem;--fad-space-2xl: 2rem;--fad-font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;--fad-font-size-2xs: 0.6875rem;--fad-font-size-xs: 0.75rem;--fad-font-size-sm: 0.875rem;--fad-font-size-md: 0.9375rem;--fad-font-size-lg: 1rem;--fad-font-size-xl: 1.125rem;--fad-font-size-2xl: 1.25rem;--fad-font-weight-light: 300;--fad-font-weight-normal: 400;--fad-font-weight-medium: 500;--fad-font-weight-semibold: 600;--fad-font-weight-bold: 700;--fad-line-height-tight: 1.25;--fad-line-height-normal: 1.5;--fad-line-height-relaxed: 1.75;--fad-border-width: 1px;--fad-border-color: var(--fad-surface-border);--fad-radius-sm: 0.25rem;--fad-radius-md: 0.375rem;--fad-radius-lg: 0.5rem;--fad-radius-xl: 0.75rem;--fad-radius-full: 9999px;--fad-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);--fad-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);--fad-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);--fad-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);--fad-transition-instant: 50ms ease;--fad-transition-fast: 100ms ease;--fad-transition-normal: 150ms ease;--fad-transition-slow: 200ms ease;--fad-z-dropdown: 1000;--fad-z-sticky: 1020;--fad-z-fixed: 1030;--fad-z-modal-backdrop: 1040;--fad-z-modal: 1050;--fad-z-popover: 1060;--fad-z-tooltip: 1070;--fad-sidebar-width: 15rem;--fad-sidebar-width-tablet: 13rem;--fad-sidebar-width-collapsed: 2.5rem;--fad-header-height: 2.75rem;--fad-content-max-width: 87.5rem;--fad-nav-item-height: 2rem;--fad-nav-item-padding-x: 0.75rem;--fad-nav-item-padding-y: 0.5rem;--fad-nav-icon-size: 1rem;--fad-nav-section-gap: 0.5rem}.dark-mode{--fad-surface-border: var(--p-surface-700);--fad-surface-hover: var(--p-surface-800);--fad-text-disabled: var(--p-surface-500)}.d-none{display:none !important}.d-block{display:block !important}.d-flex{display:flex !important}.d-inline-flex{display:inline-flex !important}.d-grid{display:grid !important}.flex-row{flex-direction:row}.flex-column{flex-direction:column}.flex-wrap{flex-wrap:wrap}.flex-1{flex:1}.flex-auto{flex:auto}.flex-none{flex:none}.items-start{align-items:flex-start}.items-center{align-items:center}.items-end{align-items:flex-end}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.gap-xs{gap:.25rem}.gap-sm{gap:.375rem}.gap-md{gap:.75rem}.gap-lg{gap:1rem}.gap-xl{gap:1.5rem}.w-full{width:100% !important}.w-auto{width:auto !important}.w-50{width:50%}.max-w-full{max-width:100%}.m-0{margin:0}.m-auto{margin:auto}.mt-0{margin-top:0}.mt-xs{margin-top:.25rem}.mt-sm{margin-top:.375rem}.mt-md{margin-top:.75rem}.mt-lg{margin-top:1rem}.mt-xl{margin-top:1.5rem}.mb-0{margin-bottom:0}.mb-xs{margin-bottom:.25rem}.mb-sm{margin-bottom:.375rem}.mb-md{margin-bottom:.75rem}.mb-lg{margin-bottom:1rem}.mb-xl{margin-bottom:1.5rem}.ml-auto{margin-left:auto}.mr-auto{margin-right:auto}.mx-auto{margin-left:auto;margin-right:auto}.p-0{padding:0}.p-xs{padding:.25rem}.p-sm{padding:.375rem}.p-md{padding:.75rem}.p-lg{padding:1rem}.p-xl{padding:1.5rem}.px-md{padding-left:.75rem;padding-right:.75rem}.py-md{padding-top:.75rem;padding-bottom:.75rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-xs{font-size:.75rem}.text-sm{font-size:.875rem}.text-md{font-size:.9375rem}.text-lg{font-size:1rem}.text-xl{font-size:1.125rem}.text-2xl{font-size:1.25rem}.font-normal{font-weight:400}.font-medium{font-weight:500}.font-semibold{font-weight:600}.font-bold{font-weight:700}.text-primary{color:var(--fad-text-primary)}.text-secondary{color:var(--fad-text-secondary)}.text-muted{color:var(--fad-text-secondary)}.text-success{color:var(--fad-success)}.text-warning{color:var(--fad-warning)}.text-danger{color:var(--fad-danger)}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.visible{visibility:visible}.invisible{visibility:hidden}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-100{opacity:1}.border{border:1px solid var(--fad-border-color)}.border-0{border:none}.border-top{border-top:1px solid var(--fad-border-color)}.border-bottom{border-bottom:1px solid var(--fad-border-color)}.rounded-sm{border-radius:.25rem}.rounded-md{border-radius:.375rem}.rounded-lg{border-radius:.5rem}.rounded-full{border-radius:9999px}.cursor-pointer{cursor:pointer}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.overflow-hidden{overflow:hidden}.overflow-auto{overflow:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-auto{overflow-x:auto}.relative{position:relative}.absolute{position:absolute}.fixed{position:fixed}.sticky{position:sticky}.fad-card{background:var(--fad-surface-card);border:1px solid var(--fad-border-color);border-radius:.5rem;padding:1rem}.fad-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem;padding-bottom:.75rem;border-bottom:1px solid var(--fad-border-color)}.fad-card-title{font-size:1rem;font-weight:600;color:var(--fad-text-primary);margin:0}.fad-card-body{color:var(--fad-text-primary)}.fad-card-footer{display:flex;align-items:center;justify-content:flex-end;gap:.375rem;margin-top:.75rem;padding-top:.75rem;border-top:1px solid var(--fad-border-color)}.fad-form-field{display:flex;flex-direction:column;gap:.375rem;margin-bottom:1rem}.fad-form-label{font-weight:500;color:var(--fad-text-primary);font-size:.875rem}.fad-form-label-required::after{content:" *";color:var(--fad-danger)}.fad-form-help{font-size:.75rem;color:var(--fad-text-secondary)}.fad-form-error{font-size:.75rem;color:var(--fad-danger)}.fad-form-row{display:grid;grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));gap:.75rem}.fad-form-section-title{font-size:1rem;font-weight:600;color:var(--fad-text-primary);margin:1.5rem 0 .75rem 0;padding-bottom:.375rem;border-bottom:1px solid var(--fad-border-color)}.fad-form-section-title:first-child{margin-top:0}.fad-form-field--dirty{position:relative}.fad-form-field--dirty::before{content:"";position:absolute;left:-8px;top:0;bottom:0;width:3px;background:var(--fad-warning);border-radius:9999px}.fad-form-field--error .fad-form-label{color:var(--fad-danger)}.fad-page-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem;padding-bottom:.75rem}.fad-page-title{font-size:1.25rem;font-weight:600;color:var(--fad-text-primary);margin:0}.fad-page-actions{display:flex;gap:.375rem}.fad-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem .75rem;text-align:center;color:var(--fad-text-secondary)}.fad-empty-state-icon{font-size:3rem;opacity:.5;margin-bottom:.75rem}.fad-empty-state-title{font-size:1rem;font-weight:500;color:var(--fad-text-primary);margin:0 0 .375rem 0}.fad-empty-state-description{font-size:.875rem;max-width:400px}.fad-loading{display:flex;align-items:center;justify-content:center;padding:2rem}.fad-loading-spinner{animation:fad-spin 1s linear infinite}@keyframes fad-spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.fad-badge{display:inline-flex;align-items:center;padding:.25rem .375rem;font-size:.75rem;font-weight:500;border-radius:9999px;text-transform:uppercase;letter-spacing:.025em}.fad-badge--success{background:var(--p-green-100);color:var(--p-green-700)}.fad-badge--warning{background:var(--p-orange-100);color:var(--p-orange-700)}.fad-badge--danger{background:var(--p-red-100);color:var(--p-red-700)}.fad-badge--info{background:var(--p-blue-100);color:var(--p-blue-700)}.fad-badge--neutral{background:var(--p-surface-100);color:var(--p-surface-600)}.fad-tabs{display:flex;gap:.25rem;border-bottom:1px solid var(--fad-border-color);margin-bottom:1rem}.fad-tab{display:flex;align-items:center;gap:.25rem;padding:.375rem .75rem;font-size:.875rem;font-weight:500;color:var(--fad-text-secondary);background:rgba(0,0,0,0);border:none;border-bottom:2px solid rgba(0,0,0,0);cursor:pointer;transition:all 100ms ease;margin-bottom:-1px}.fad-tab:hover{color:var(--fad-text-primary)}.fad-tab--active{color:var(--fad-primary);border-bottom-color:var(--fad-primary)}.fad-tab-count{background:var(--p-surface-100);color:var(--fad-text-secondary);padding:.125rem .375rem;border-radius:9999px;font-size:.75rem}.fad-tab--active .fad-tab-count{background:var(--p-primary-100);color:var(--fad-primary)}.fad-page-nav{display:flex;justify-content:space-between;align-items:center;margin-bottom:.375rem}.fad-page-nav-breadcrumb{flex:1}.fad-page-nav-links{display:flex;align-items:center;gap:.375rem;font-size:.875rem}.fad-page-nav-separator{color:var(--fad-text-secondary)}.fad-page-nav-link{color:var(--fad-primary);text-decoration:none;transition:color 100ms ease}.fad-page-nav-link:hover{color:var(--fad-primary-hover);text-decoration:underline}.fad-page-nav-link--active{color:var(--fad-text-primary);font-weight:500;pointer-events:none}*{margin:0;padding:0;box-sizing:border-box}html,body,#app{height:100%;font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}input::placeholder,textarea::placeholder,.p-inputtext::placeholder,.p-autocomplete-input::placeholder,.p-textarea::placeholder,.p-select-label.p-placeholder,.p-dropdown-label.p-placeholder{color:#a0aec0 !important;opacity:1}.page-content{flex:1;padding:1rem}.page-header{margin-bottom:1rem}.page-title{font-size:1.25rem;font-weight:600;color:var(--p-surface-900)}.header-actions{display:flex;gap:.75rem;align-items:center}.p-tabpanels{padding-top:.75rem}.p-tabpanel>.form-field:first-child,.p-tabpanel>.form-row:first-child,.p-tabpanel>.form-grid:first-child{margin-top:.375rem}.info-block{background:var(--p-surface-50);padding:1rem;border-radius:.5rem}.info-block-title{margin:0 0 .75rem 0;font-size:.9375rem;color:var(--p-surface-600)}.info-block-title i{margin-right:.375rem}.info-label{font-weight:500;color:var(--p-surface-500);display:block;margin-bottom:.25rem}.info-label-sm{font-size:.75rem;font-weight:600;color:var(--p-surface-500);text-transform:uppercase;display:block;margin-bottom:.25rem}.value-lg{font-size:1.25rem;font-weight:600}.accent-block{background:var(--p-surface-50);border-left:3px solid var(--p-primary-500);padding:.75rem;border-radius:.25rem}.code-block{word-break:break-all;font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace;background:var(--p-surface-100);padding:.75rem;border-radius:.25rem}.section-header{display:flex;align-items:center;gap:.375rem;margin-bottom:.75rem}.section-header h3{margin:0;font-size:.9375rem;font-weight:600}.section-header i{color:var(--p-primary-500)}.section-description{color:var(--p-surface-500);font-size:.875rem;margin-bottom:.75rem}.section-title{margin:0 0 .75rem 0;font-size:.9375rem;font-weight:600;color:var(--p-surface-700)}.section-title--separator{border-top:1px solid var(--p-surface-200);padding-top:1rem}.section-title i{margin-right:.375rem}.image-gallery{display:grid;grid-template-columns:repeat(auto-fill, minmax(200px, 1fr));gap:.75rem}.image-card{position:relative;border-radius:.5rem;overflow:hidden;border:1px solid var(--p-surface-200)}.image-card img{width:100%;aspect-ratio:16/9;object-fit:cover}.image-card--clickable{cursor:pointer;transition:border-color 150ms ease,box-shadow 150ms ease}.image-card--clickable:hover{border-color:var(--p-primary-300);box-shadow:0 2px 8px rgba(0,0,0,.1)}.image-caption{padding:.375rem;background:var(--p-surface-50);font-size:.75rem;color:var(--p-surface-600)}.info-row{display:flex;justify-content:space-between;align-items:center;padding:.375rem 0;border-bottom:1px solid var(--p-surface-100)}.info-row:last-child{border-bottom:none}.layout-breadcrumb{padding:.75rem 1rem;background:var(--p-surface-0, white);border-bottom:1px solid var(--p-surface-200, #e2e8f0)}.layout-breadcrumb .p-breadcrumb-list{margin:0;padding:0}.breadcrumb-link{display:flex;align-items:center;gap:.375rem;color:var(--p-primary-600, #2563eb);text-decoration:none;font-size:.875rem}.breadcrumb-link:hover{text-decoration:underline}.breadcrumb-link i{font-size:.875rem}.breadcrumb-current{display:flex;align-items:center;gap:.375rem;color:var(--p-surface-600, #475569);font-size:.875rem}.breadcrumb-current i{font-size:.875rem}.breadcrumb{margin-bottom:.5rem}.breadcrumb-list{display:flex;align-items:center;gap:.5rem;list-style:none;margin:0;padding:0;font-size:.875rem}.breadcrumb-item{display:flex;align-items:center;gap:.5rem}.breadcrumb-item.is-current .breadcrumb-text{color:var(--p-text-color, #333);font-weight:500}.breadcrumb-separator{font-size:.75rem;color:var(--p-text-muted-color, #888)}.breadcrumb-item .breadcrumb-link{display:flex;align-items:center;gap:.375rem;color:var(--p-primary-color, #3b82f6);text-decoration:none;transition:color .2s}.breadcrumb-item .breadcrumb-link:hover{color:var(--p-primary-hover-color, #2563eb);text-decoration:underline}.breadcrumb-item .breadcrumb-link i{font-size:.875rem}.breadcrumb-text{display:flex;align-items:center;gap:.375rem;color:var(--p-text-muted-color, #888)}.form-grid{display:grid;grid-template-columns:repeat(2, 1fr);gap:1rem;padding:.75rem 0}@media(max-width: 767px){.form-grid{grid-template-columns:1fr}}.form-row{display:grid;grid-template-columns:repeat(2, 1fr);gap:1rem;align-items:end}.form-row-3{display:grid;grid-template-columns:repeat(3, 1fr);gap:.75rem;align-items:end}.form-row.metadata{display:grid;grid-template-columns:repeat(4, 1fr);gap:.75rem;padding:.75rem;background:var(--p-surface-50);border-radius:.5rem;align-items:end}.form-row.checkboxes{display:flex;gap:3rem}.form-row+.form-field,.form-field+.form-row{margin-top:1.25rem}.form-field{display:flex;flex-direction:column;gap:.375rem}.form-field label{font-weight:500;color:var(--p-surface-700)}.form-field small{color:var(--p-surface-500);font-size:.85rem}.form-field .p-inputtext,.form-field .p-textarea,.form-field .p-select,.form-field .p-multiselect,.form-field .p-inputwrapper,.form-field input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),.form-field textarea{width:100% !important;box-sizing:border-box}.form-field>input[type=checkbox],.form-field>input[type=radio]{align-self:flex-start}.form-field .p-textarea,.form-field textarea{min-height:100px;resize:vertical}.meta-item{display:flex;flex-direction:column;gap:.25rem}.meta-item label{font-size:.85rem;color:var(--p-surface-500)}.meta-item span{font-weight:500}.toggle-field{flex-direction:row;align-items:center;gap:.75rem}.toggle-field label{min-width:120px}.checkbox-field{display:flex;align-items:center;gap:.375rem}.checkbox-field label{margin:0;cursor:pointer}.url-field,.lock-field,.envelope-field{display:flex;gap:.375rem;align-items:center}.url-field input,.lock-field input,.envelope-field input{flex:1}.field-hint,.form-hint{font-size:.8rem;color:var(--p-surface-400);margin-top:.25rem;display:block}.field-error{font-size:.8rem;color:var(--p-red-500);margin-top:.25rem;display:block}.editor-box{border:1px solid var(--p-surface-200);border-radius:.5rem;padding:.75rem;background:var(--p-surface-50)}.editor-chips{display:flex;flex-wrap:wrap;gap:.375rem;margin-bottom:.75rem;padding-bottom:.75rem;border-bottom:1px solid var(--p-surface-200)}.chip-code{font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace;font-size:.875rem}.chip-namespace{color:var(--p-surface-500)}.chip-action{color:var(--p-primary-600);font-weight:500}.chip-wildcard{color:var(--p-orange-500);font-weight:700}.info-grid{display:grid;grid-template-columns:repeat(2, 1fr);gap:.75rem}.info-grid>div{display:flex;flex-direction:column;gap:.25rem}.info-grid label{font-size:.85rem;color:var(--p-surface-500)}.info-item{display:flex;flex-direction:column;gap:.25rem}.info-item label{font-size:.75rem;font-weight:600;color:var(--p-surface-500);text-transform:uppercase}.info-value{font-size:.9rem}.timestamps-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));gap:.75rem}.timestamps-grid--separator{padding-top:.75rem;border-top:1px solid var(--p-surface-200)}.timestamp{display:flex;flex-direction:column;gap:.25rem}.timestamp label{font-size:.75rem;color:var(--text-color-secondary);text-transform:uppercase}.form-dirty-indicator{display:flex;align-items:center;gap:.375rem;padding:.375rem .75rem;background:color-mix(in srgb, var(--p-orange-100) 50%, transparent);border:1px solid var(--p-orange-300);border-radius:.375rem;color:var(--p-orange-700);font-size:.875rem;margin-bottom:.75rem}.form-dirty-indicator i{color:var(--p-orange-500)}.form-field.field-dirty .p-inputtext,.form-field.field-dirty .p-select,.form-field.field-dirty .p-textarea,.form-field.field-dirty .p-password input,.form-field.field-dirty .p-multiselect,.form-field.field-dirty .p-calendar input,.form-field.field-dirty .p-inputnumber input,.form-field.field-dirty .p-dropdown{border-color:#f97316 !important;box-shadow:0 0 0 1px #f97316 !important}.form-card{background:var(--p-surface-0);padding:1.5rem;border-radius:.5rem}.config-intro{display:flex;align-items:flex-start;gap:.75rem;padding:.75rem;background:var(--p-surface-50);border-radius:.5rem;margin-bottom:1rem}.config-intro i{font-size:1.25rem;color:var(--p-primary-500);margin-top:.125rem}.config-field{margin-bottom:1rem}.form-actions{display:flex;justify-content:space-between;align-items:center;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--p-surface-200)}.form-actions-left{display:flex;align-items:center;gap:.5rem}.dirty-indicator{color:var(--p-orange-500);font-size:.5rem;animation:pulse 2s infinite}@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}.field-invalid input,.field-invalid textarea,.field-invalid .p-inputtext,.field-invalid .p-select,.field-invalid .p-dropdown{border-color:var(--p-red-500)}.field-invalid input:focus,.field-invalid textarea:focus,.field-invalid .p-inputtext:focus,.field-invalid .p-select:focus,.field-invalid .p-dropdown:focus{box-shadow:0 0 0 1px var(--p-red-500)}.form-page{display:flex;flex-direction:column;gap:1rem}.form-error-message{margin:1rem 0}.validation-summary{margin-bottom:1rem}.validation-errors{margin:0;padding-left:1.5rem}.validation-errors li{margin:.25rem 0}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));gap:1rem;margin-bottom:1.5rem}.stat-card{background:var(--p-surface-0);border-radius:.5rem;padding:1rem;border:1px solid var(--p-surface-200)}.stat-card-title{font-size:.875rem;color:var(--p-surface-500);margin-bottom:.375rem}.stat-card-value{font-size:2rem;font-weight:600;color:var(--p-surface-900)}.stat-card-subtitle{font-size:.75rem;color:var(--p-surface-400);margin-top:.25rem}.loading-state{display:flex;justify-content:center;align-items:center;padding:2rem}.loading-state--inline{padding:.75rem;gap:.75rem;color:var(--p-text-muted-color)}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:2rem;color:var(--text-color-secondary)}.empty-state--sm{padding:1rem}.empty-state--lg{padding:3rem}.empty-state-icon{font-size:2rem;margin-bottom:.5rem;opacity:.5}.empty-state--sm .empty-state-icon{font-size:1.5rem}.empty-state--lg .empty-state-icon{font-size:3rem;margin-bottom:1rem}.empty-state-title{margin:0 0 .25rem 0;font-weight:500;color:var(--text-color-secondary)}.empty-state--lg .empty-state-title{font-size:1.1rem}.empty-state-description{opacity:.7;max-width:300px}.empty-state-actions{margin-top:1rem}.error-message{background:var(--p-red-50);border:1px solid var(--p-red-200);border-radius:.375rem;padding:.75rem .75rem;color:var(--p-red-700);font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace;font-size:.85rem;white-space:pre-wrap;word-break:break-word}.error-content{background:var(--p-red-50);color:var(--p-red-700);padding:.75rem;border-radius:.5rem;overflow-x:auto;margin:0;font-size:.85rem;white-space:pre-wrap}:root[data-theme=dark] .error-message,:root[data-theme=dark] .error-content{background:rgba(239,68,68,.1);color:var(--p-red-400);border-color:var(--p-red-900)}.p-datatable .p-datatable-tbody>tr>td{padding:.5rem .75rem !important}.p-datatable .p-datatable-thead>tr>th{padding:.625rem .75rem !important}.table-actions{display:flex;gap:.25rem;justify-content:flex-start}.text-muted{color:var(--p-surface-400)}.status-tags,.type-tags{display:flex;gap:.25rem;flex-wrap:wrap}.external-link{display:flex;align-items:center;gap:.375rem;color:var(--p-primary-500);text-decoration:none}.external-link:hover{text-decoration:underline}.external-link i{font-size:.75rem;opacity:.6}.domain-cell{display:flex;align-items:center}.domain-link{display:flex;align-items:center;gap:.375rem;color:var(--p-primary-500);text-decoration:none}.domain-link:hover{text-decoration:underline}.domain-link i{font-size:.75rem;opacity:.6}.domain-tags{display:flex;gap:.25rem}.clickable-cell{cursor:pointer;color:var(--p-primary-color)}.clickable-cell:hover{text-decoration:underline}.entity-link{display:flex;align-items:center;gap:.375rem;text-decoration:none;color:var(--p-primary-color)}.entity-link:hover{text-decoration:underline}.entity-type{font-weight:500}.entity-id{font-size:.75rem;background:var(--p-surface-100);padding:.15rem .35rem;border-radius:3px}.tags-preview{display:flex;gap:.25rem;flex-wrap:wrap}.tags-preview .p-tag{font-size:.75rem}.p-role-label,.p-permission-label{display:inline-flex;align-items:center;background:rgba(0,0,0,0);font-size:.75rem;font-weight:normal !important;padding:.25rem .75rem;border-radius:var(--p-tag-border-radius, 6px);white-space:nowrap}.p-role-label--pill,.p-permission-label--pill{border-radius:999px}.p-role-label--more,.p-permission-label--more{border-style:dashed}.p-role-label{border:1px solid var(--p-blue-500);color:var(--p-blue-600)}.p-permission-label{border:1px solid var(--p-surface-400);color:var(--p-surface-600)}.p-role-labels,.p-permission-labels{display:flex;flex-wrap:wrap;gap:.25rem}.p-chip{background:none !important;border:1px solid var(--p-surface-300) !important;color:var(--p-surface-600) !important;font-size:.75rem !important;padding:.2rem .6rem !important}.datatable-row-clickable .p-datatable-tbody>tr{cursor:pointer}.datatable-row-clickable .p-datatable-tbody>tr:active{background:var(--p-primary-50) !important}.filter-bar{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.75rem}.filter-bar-left{display:flex;align-items:center;gap:.75rem}.filter-bar-right{display:flex;align-items:center;gap:.75rem}.p-select.filter-default,.p-autocomplete.filter-default .p-inputtext{border-color:var(--p-primary-400, #60a5fa) !important;box-shadow:0 0 0 1px var(--p-primary-400, #60a5fa) !important}.p-select.filter-modified,.p-autocomplete.filter-modified .p-inputtext{border-color:#f97316 !important;box-shadow:0 0 0 1px #f97316 !important}.p-select.filter-active,.p-inputtext.filter-active{border-color:#f97316 !important;box-shadow:0 0 0 1px #f97316 !important}.filter-bar .p-button,.filter-bar-left .p-button,.flex.align-items-end .p-button,.flex.items-end .p-button{height:2.5rem;align-self:flex-end;margin-bottom:0}.spinner-lg{font-size:2rem}.spinner-md{font-size:1.5rem}.card{background:var(--p-surface-0);border-radius:.5rem;padding:1rem;border:1px solid var(--p-surface-200)}.info-card{background:var(--p-surface-50);padding:.75rem;border-radius:.5rem}.card-title{display:flex;align-items:center;justify-content:space-between}.card h3,.card-heading{margin:0 0 .75rem;font-size:.9375rem;font-weight:600;color:var(--p-surface-700)}.warning-card{background:var(--p-yellow-50);padding:.75rem;border-radius:.5rem;border:1px solid var(--p-yellow-200)}.warning-card i{color:var(--p-yellow-600)}.warning-card span{margin-left:.375rem;color:var(--p-yellow-700)}.span-full{grid-column:1/-1}.grid{display:grid}.grid-cols-2{grid-template-columns:repeat(2, 1fr)}.grid-cols-3{grid-template-columns:repeat(3, 1fr)}.text-uppercase{text-transform:uppercase}.text-center{text-align:center}.monospace{font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace}.break-all{word-break:break-all}.w-full{width:100% !important}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.375rem}.mb-2{margin-bottom:.75rem}.mb-3{margin-bottom:1rem}.mt-0{margin-top:0}.mt-1{margin-top:.375rem}.mt-2{margin-top:.75rem}.p-2{padding:.75rem}.p-3{padding:1rem}.pt-2{padding-top:.75rem}.gap-1{gap:.375rem}.gap-2{gap:.75rem}.gap-3{gap:1rem}.flex{display:flex}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.flex-1{flex:1}.alert-warning{background:var(--p-yellow-50);padding:.75rem;margin-bottom:.75rem;border-radius:.5rem;border:1px solid var(--p-yellow-200)}.alert-warning-icon{color:var(--p-yellow-600)}.alert-warning-text{margin-left:.375rem;color:var(--p-yellow-700)}.alert-info{color:var(--p-orange-600);margin-bottom:.75rem}.key-info-panel{background:var(--p-surface-50);padding:.75rem;margin-bottom:.75rem;border-radius:.5rem}.key-info-grid{display:flex;flex-wrap:wrap;gap:1.5rem;align-items:center}.key-info-item small{color:var(--p-surface-500);display:block}.info-banner{margin-top:.75rem;margin-bottom:.75rem}.info-banner:first-child{margin-top:0}.info-banner .p-message-content{padding:.375rem .75rem}.info-banner .p-message-icon{display:none}.info-banner-content{display:flex;align-items:center;gap:.625rem}.info-banner-icon{font-size:1.125rem;flex-shrink:0}.info-banner-text{flex:1}.info-banner-text strong{font-weight:600}.p-button{background:rgba(0,0,0,0) !important;border:1px solid var(--p-primary-500) !important;color:var(--p-primary-500) !important;transition:background-color .2s,border-color .2s,color .2s}.p-button:hover:not(:disabled){background:var(--p-primary-50) !important;border-color:var(--p-primary-600) !important;color:var(--p-primary-600) !important}.p-button:focus{box-shadow:0 0 0 2px var(--p-surface-0),0 0 0 4px var(--p-primary-200)}.p-button:disabled{opacity:.6;cursor:not-allowed}.p-button-secondary{border-color:var(--p-surface-400) !important;color:var(--p-surface-600) !important}.p-button-secondary:hover:not(:disabled){background:var(--p-surface-100) !important;border-color:var(--p-surface-500) !important;color:var(--p-surface-700) !important}.p-button-secondary:focus{box-shadow:0 0 0 2px var(--p-surface-0),0 0 0 4px var(--p-surface-200)}.p-button-success{border-color:var(--p-green-500) !important;color:var(--p-green-600) !important}.p-button-success:hover:not(:disabled){background:var(--p-green-50) !important;border-color:var(--p-green-600) !important;color:var(--p-green-700) !important}.p-button-success:focus{box-shadow:0 0 0 2px var(--p-surface-0),0 0 0 4px var(--p-green-200)}.p-button-warn{border-color:var(--p-orange-500) !important;color:var(--p-orange-600) !important}.p-button-warn:hover:not(:disabled){background:var(--p-orange-50) !important;border-color:var(--p-orange-600) !important;color:var(--p-orange-700) !important}.p-button-warn:focus{box-shadow:0 0 0 2px var(--p-surface-0),0 0 0 4px var(--p-orange-200)}.p-button-danger{border-color:var(--p-red-500) !important;color:var(--p-red-600) !important}.p-button-danger:hover:not(:disabled){background:var(--p-red-50) !important;border-color:var(--p-red-600) !important;color:var(--p-red-700) !important}.p-button-danger:focus{box-shadow:0 0 0 2px var(--p-surface-0),0 0 0 4px var(--p-red-200)}.p-button-info{border-color:var(--p-blue-500) !important;color:var(--p-blue-600) !important}.p-button-info:hover:not(:disabled){background:var(--p-blue-50) !important;border-color:var(--p-blue-600) !important;color:var(--p-blue-700) !important}.p-button-info:focus{box-shadow:0 0 0 2px var(--p-surface-0),0 0 0 4px var(--p-blue-200)}.p-button-contrast{border-color:var(--p-surface-900) !important;color:var(--p-surface-900) !important}.p-button-contrast:hover:not(:disabled){background:var(--p-surface-900) !important;border-color:var(--p-surface-900) !important;color:var(--p-surface-0) !important}.p-button-filled,.p-button.p-button-raised{background:var(--p-primary-500) !important;border-color:var(--p-primary-500) !important;color:#fff !important}.p-button-filled:hover:not(:disabled),.p-button.p-button-raised:hover:not(:disabled){background:var(--p-primary-600) !important;border-color:var(--p-primary-600) !important;color:#fff !important}.p-button-filled.p-button-secondary,.p-button.p-button-raised.p-button-secondary{background:var(--p-surface-500) !important;border-color:var(--p-surface-500) !important;color:#fff !important}.p-button-filled.p-button-secondary:hover:not(:disabled),.p-button.p-button-raised.p-button-secondary:hover:not(:disabled){background:var(--p-surface-600) !important;border-color:var(--p-surface-600) !important}.p-button-filled.p-button-success,.p-button.p-button-raised.p-button-success{background:var(--p-green-500) !important;border-color:var(--p-green-500) !important;color:#fff !important}.p-button-filled.p-button-success:hover:not(:disabled),.p-button.p-button-raised.p-button-success:hover:not(:disabled){background:var(--p-green-600) !important;border-color:var(--p-green-600) !important}.p-button-filled.p-button-warn,.p-button.p-button-raised.p-button-warn{background:var(--p-orange-500) !important;border-color:var(--p-orange-500) !important;color:#fff !important}.p-button-filled.p-button-warn:hover:not(:disabled),.p-button.p-button-raised.p-button-warn:hover:not(:disabled){background:var(--p-orange-600) !important;border-color:var(--p-orange-600) !important}.p-button-filled.p-button-danger,.p-button.p-button-raised.p-button-danger{background:var(--p-red-500) !important;border-color:var(--p-red-500) !important;color:#fff !important}.p-button-filled.p-button-danger:hover:not(:disabled),.p-button.p-button-raised.p-button-danger:hover:not(:disabled){background:var(--p-red-600) !important;border-color:var(--p-red-600) !important}.p-button-text{background:rgba(0,0,0,0) !important;border-color:rgba(0,0,0,0) !important}.p-button-text:hover:not(:disabled){background:var(--p-primary-50) !important;border-color:rgba(0,0,0,0) !important}.p-button-text.p-button-secondary:hover:not(:disabled){background:var(--p-surface-100) !important}.p-button-text.p-button-success:hover:not(:disabled){background:var(--p-green-50) !important}.p-button-text.p-button-warn:hover:not(:disabled){background:var(--p-orange-50) !important}.p-button-text.p-button-danger:hover:not(:disabled){background:var(--p-red-50) !important}.p-button-link{background:rgba(0,0,0,0) !important;border-color:rgba(0,0,0,0) !important;color:var(--p-primary-500) !important;text-decoration:none}.p-button-link:hover:not(:disabled){background:rgba(0,0,0,0) !important;border-color:rgba(0,0,0,0) !important;text-decoration:underline}.p-button-icon-only{background:unset !important;border:unset !important;color:unset !important}.p-button-icon-only:hover:not(:disabled){background:unset !important;border-color:unset !important;color:unset !important}.p-button-sm{font-size:.875rem;padding:.375rem .75rem}.p-button-lg{font-size:1rem;padding:.75rem 1.25rem}.p-tag{background:rgba(0,0,0,0) !important;border:1px solid var(--p-primary-500) !important;color:var(--p-primary-500) !important;font-weight:normal !important;white-space:nowrap}.p-tag-secondary{background:rgba(0,0,0,0) !important;border-color:var(--p-surface-400) !important;color:var(--p-surface-600) !important}.p-tag-success{background:rgba(0,0,0,0) !important;border-color:var(--p-green-500) !important;color:var(--p-green-600) !important}.p-tag-warn{background:rgba(0,0,0,0) !important;border-color:var(--p-orange-500) !important;color:var(--p-orange-600) !important}.p-tag-danger{background:rgba(0,0,0,0) !important;border-color:var(--p-red-500) !important;color:var(--p-red-600) !important}.p-tag-info{background:rgba(0,0,0,0) !important;border-color:var(--p-blue-500) !important;color:var(--p-blue-600) !important}.p-tag-contrast{background:rgba(0,0,0,0) !important;border-color:var(--p-surface-900) !important;color:var(--p-surface-900) !important}.p-splitbutton .p-splitbutton-defaultbutton{border:1px solid var(--p-primary-500) !important;border-right:none !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important;background:rgba(0,0,0,0) !important;color:var(--p-primary-500) !important}.p-splitbutton .p-splitbutton-defaultbutton:hover:not(:disabled){background:var(--p-primary-50) !important}.p-splitbutton .p-splitbutton-dropdown{border:1px solid var(--p-primary-500) !important;border-left:none !important;border-top-left-radius:0 !important;border-bottom-left-radius:0 !important;background:rgba(0,0,0,0) !important;color:var(--p-primary-500) !important}.p-splitbutton .p-splitbutton-dropdown:hover:not(:disabled){background:var(--p-primary-50) !important}.p-splitbutton.p-splitbutton-danger .p-splitbutton-defaultbutton,.p-splitbutton.p-splitbutton-danger .p-splitbutton-dropdown{border-color:var(--p-red-500) !important;color:var(--p-red-600) !important}.p-splitbutton.p-splitbutton-danger .p-splitbutton-defaultbutton:hover:not(:disabled),.p-splitbutton.p-splitbutton-danger .p-splitbutton-dropdown:hover:not(:disabled){background:var(--p-red-50) !important}.p-splitbutton.p-splitbutton-secondary .p-splitbutton-defaultbutton,.p-splitbutton.p-splitbutton-secondary .p-splitbutton-dropdown{border-color:var(--p-surface-400) !important;color:var(--p-surface-600) !important}.p-splitbutton.p-splitbutton-secondary .p-splitbutton-defaultbutton:hover:not(:disabled),.p-splitbutton.p-splitbutton-secondary .p-splitbutton-dropdown:hover:not(:disabled){background:var(--p-surface-100) !important}.p-splitbutton.p-splitbutton-success .p-splitbutton-defaultbutton,.p-splitbutton.p-splitbutton-success .p-splitbutton-dropdown{border-color:var(--p-green-500) !important;color:var(--p-green-600) !important}.p-splitbutton.p-splitbutton-success .p-splitbutton-defaultbutton:hover:not(:disabled),.p-splitbutton.p-splitbutton-success .p-splitbutton-dropdown:hover:not(:disabled){background:var(--p-green-50) !important}.cards-grid{display:grid;gap:1rem;margin-bottom:1.5rem}.cards-grid--cols-auto{grid-template-columns:repeat(auto-fit, minmax(180px, 1fr))}.cards-grid--cols-2{grid-template-columns:repeat(2, 1fr)}.cards-grid--cols-3{grid-template-columns:repeat(3, 1fr)}.cards-grid--cols-4{grid-template-columns:repeat(4, 1fr)}.stat-card,.card-custom{background:var(--p-surface-0);border:1px solid var(--p-surface-200);border-radius:.5rem;padding:1.25rem}.stat-card{text-align:center}.stat-card--clickable{cursor:pointer;transition:border-color .2s,box-shadow .2s}.stat-card--clickable:hover{border-color:var(--p-primary-300);box-shadow:0 2px 8px rgba(0,0,0,.08)}.stat-value{font-size:2rem;font-weight:600;color:var(--p-primary-500);display:flex;align-items:center;justify-content:center;gap:.5rem}.stat-value--success{color:var(--p-green-500)}.stat-value--danger{color:var(--p-red-500)}.stat-value--warning{color:var(--p-orange-500)}.stat-value--info{color:var(--p-blue-500)}.stat-icon{font-size:1.5rem}.stat-label{font-size:.875rem;color:var(--p-surface-600);margin-top:.25rem}@media(max-width: 768px){.cards-grid--cols-3,.cards-grid--cols-4{grid-template-columns:repeat(2, 1fr)}}@media(max-width: 480px){.cards-grid{grid-template-columns:1fr}}.rich-cards-grid{display:grid;gap:1rem;margin-bottom:1.5rem}.rich-cards-grid--cols-auto{grid-template-columns:repeat(auto-fit, minmax(200px, 1fr))}.rich-cards-grid--cols-2{grid-template-columns:repeat(2, 1fr)}.rich-cards-grid--cols-3{grid-template-columns:repeat(3, 1fr)}.rich-cards-grid--cols-4{grid-template-columns:repeat(4, 1fr)}.rich-cards-grid--cols-5{grid-template-columns:repeat(5, 1fr)}.rich-cards-grid--cols-6{grid-template-columns:repeat(6, 1fr)}.rich-card{background:var(--p-surface-0);border:1px solid var(--p-surface-200);border-radius:.5rem;padding:1.25rem}.rich-card--clickable{cursor:pointer;transition:border-color .2s,box-shadow .2s,transform .2s}.rich-card--clickable:hover{border-color:var(--p-primary-300);box-shadow:0 4px 12px rgba(0,0,0,.1);transform:translateY(-2px)}.rich-card--success .rich-card-value{color:var(--p-green-600)}.rich-card--success .rich-card-icon{color:var(--p-green-500)}.rich-card--danger .rich-card-value{color:var(--p-red-600)}.rich-card--danger .rich-card-icon{color:var(--p-red-500)}.rich-card--warning .rich-card-value{color:var(--p-orange-600)}.rich-card--warning .rich-card-icon{color:var(--p-orange-500)}.rich-card--info .rich-card-value{color:var(--p-blue-600)}.rich-card--info .rich-card-icon{color:var(--p-blue-500)}.rich-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.rich-card-title{font-size:.875rem;font-weight:500;color:var(--p-surface-600)}.rich-card-icon{font-size:1.25rem;color:var(--p-surface-400)}.rich-card-value{font-size:2rem;font-weight:700;color:var(--p-surface-900);line-height:1.2}.rich-card-subtitle{font-size:.8rem;color:var(--p-surface-500);margin-top:.25rem}@media(max-width: 1024px){.rich-cards-grid--cols-5,.rich-cards-grid--cols-6{grid-template-columns:repeat(3, 1fr)}}@media(max-width: 768px){.rich-cards-grid--cols-3,.rich-cards-grid--cols-4,.rich-cards-grid--cols-5,.rich-cards-grid--cols-6{grid-template-columns:repeat(2, 1fr)}}@media(max-width: 480px){.rich-cards-grid{grid-template-columns:1fr}}.code-box{word-break:break-all;font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace;background:var(--p-surface-100);padding:.75rem;border-radius:.25rem}.code-box--sm{padding:.375rem;font-size:.875rem}.tag-sm{font-size:.7rem}.tag-xs{font-size:.75rem}.tags-constrained{max-width:300px}.json-viewer{background:var(--p-surface-50);border:1px solid var(--p-surface-200);border-radius:.375rem;overflow:auto;font-family:"Monaco","Menlo","Ubuntu Mono",monospace;font-size:.8125rem;line-height:1.5}.json-content{padding:1rem;margin:0;white-space:pre-wrap;word-break:break-word}.json-key{color:#881391}.json-string{color:#1a1aa6}.json-number{color:#1c00cf}.json-boolean{color:#0d22aa;font-weight:500}.json-null{color:gray;font-style:italic}.qd-log-stream{--qd-log-bg: #1e1e1e;--qd-log-fg: #d4d4d4;--qd-log-muted: #858585;--qd-log-mark: rgba(255, 213, 79, 0.45);--qd-log-error-bg: rgba(241, 76, 76, 0.14);--qd-log-current: rgba(59, 142, 234, 0.3);position:relative;display:flex;flex-direction:column;border:1px solid var(--p-surface-300);border-radius:.25rem;overflow:hidden;min-width:0}.qd-log-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .5rem;padding:.25rem .5rem;background:var(--p-surface-50);border-bottom:1px solid var(--p-surface-200);font-size:.875rem}.qd-log-spacer-x{flex:1}.qd-log-status{display:inline-flex;align-items:center;gap:.375rem;font-weight:500}.qd-log-status-dot{width:.5rem;height:.5rem;border-radius:50%;background:var(--p-surface-400)}.qd-log-status--streaming .qd-log-status-dot{background:var(--p-green-500);animation:qd-log-pulse 1.2s ease-in-out infinite}.qd-log-status--done .qd-log-status-dot{background:var(--p-blue-500)}.qd-log-status--error .qd-log-status-dot{background:var(--p-red-500)}@keyframes qd-log-pulse{50%{opacity:.3}}.qd-log-count,.qd-log-search-count{color:var(--p-text-muted-color);font-size:.75rem;font-variant-numeric:tabular-nums}.qd-log-search{display:inline-flex;align-items:center;gap:.125rem}.qd-log-search .p-inputtext{width:12rem;max-width:40vw}.qd-log-viewport{overflow:auto;background:var(--qd-log-bg);color:var(--qd-log-fg);font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace;font-size:.8125rem;line-height:var(--qd-log-line-height, 20px);outline:none}.qd-log-empty{padding:.75rem 1rem;color:var(--qd-log-muted);font-style:italic}.qd-log-line{display:flex;height:var(--qd-log-line-height, 20px);white-space:pre;padding-right:.75rem}.qd-log-line--error{background:var(--qd-log-error-bg)}.qd-log-line--current{background:var(--qd-log-current)}.qd-log-stream--wrap .qd-log-line{height:auto;min-height:var(--qd-log-line-height, 20px);white-space:pre-wrap;word-break:break-word;content-visibility:auto;contain-intrinsic-size:auto var(--qd-log-line-height, 20px)}.qd-log-n{flex:none;min-width:3.5rem;padding:0 .75rem 0 .5rem;text-align:right;color:var(--qd-log-muted);user-select:none}.qd-log-text{flex:1;min-width:0}.qd-log-ts{color:var(--qd-log-muted)}.qd-log-mark{background:var(--qd-log-mark);border-radius:2px}.qd-log-resume{position:absolute;bottom:.75rem;left:50%;transform:translateX(-50%);display:inline-flex;align-items:center;gap:.375rem;padding:.25rem .75rem;border:none;border-radius:999px;background:var(--p-primary-color);color:var(--p-primary-contrast-color);font-size:.75rem;cursor:pointer;box-shadow:0 2px 6px rgba(0,0,0,.3)}.qd-timeline{position:relative;min-width:0}.qd-timeline-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.75rem}.qd-timeline-actors,.qd-timeline-gaps{display:flex;flex-wrap:wrap;gap:.375rem}.qd-timeline-gaps{margin-left:auto}.qd-timeline-chip{display:inline-flex;align-items:center;gap:.375rem;padding:.125rem .625rem;border:1px solid var(--qd-actor);border-radius:999px;background:color-mix(in srgb, var(--qd-actor) 14%, transparent);color:var(--p-text-color);font-size:.75rem;cursor:pointer}.qd-timeline-chip i{color:var(--qd-actor);font-size:.75rem}.qd-timeline-chip--off{opacity:.45;background:rgba(0,0,0,0);text-decoration:line-through}.qd-timeline-gap-chip{display:inline-flex;align-items:center;gap:.375rem;padding:.125rem .625rem;border-radius:999px;background:var(--p-surface-100);font-size:.75rem}.qd-timeline-error{color:var(--p-red-500);margin-bottom:.5rem}.qd-timeline-empty{color:var(--p-text-muted-color);font-style:italic;padding:.5rem 0}.qd-timeline-list{list-style:none;margin:0;padding:0}.qd-timeline-day{margin:.75rem 0 .25rem;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--p-text-muted-color)}.qd-timeline-day:first-child{margin-top:0}.qd-timeline-event{position:relative;display:flex;gap:.75rem;padding:0 0 .75rem}.qd-timeline-event::before{content:"";position:absolute;left:.875rem;top:1.75rem;bottom:0;width:2px;background:var(--p-surface-200)}.qd-timeline-event:last-child::before{display:none}.qd-timeline-event--fresh .qd-timeline-content{animation:qd-timeline-flash 2.5s ease-out}@keyframes qd-timeline-flash{0%{background:color-mix(in srgb, var(--p-primary-color) 22%, transparent)}100%{background:rgba(0,0,0,0)}}.qd-timeline-since{position:absolute;left:2.5rem;top:-0.7rem;font-size:.6875rem;color:var(--p-text-muted-color)}.qd-timeline-marker{flex:none;display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;border-radius:50%;background:var(--qd-actor);color:#fff;font-size:.8125rem;z-index:1}.qd-timeline-content{flex:1;min-width:0;border-radius:.25rem}.qd-timeline-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:.25rem .625rem;width:100%;padding:.25rem .375rem;border:none;border-radius:.25rem;background:rgba(0,0,0,0);color:inherit;font:inherit;text-align:left}.qd-timeline-head:is(button){cursor:pointer}.qd-timeline-head:is(button):hover{background:var(--p-surface-100)}.qd-timeline-title{font-weight:600}.qd-timeline-event--danger .qd-timeline-title{color:var(--p-red-600)}.qd-timeline-event--warn .qd-timeline-title{color:var(--p-orange-600)}.qd-timeline-event--success .qd-timeline-title{color:var(--p-green-600)}.qd-timeline-actor{font-size:.75rem;color:var(--qd-actor);font-weight:500}.qd-timeline-time{margin-left:auto;font-size:.75rem;color:var(--p-text-muted-color);font-variant-numeric:tabular-nums}.qd-timeline-chevron{font-size:.75rem;color:var(--p-text-muted-color)}.qd-timeline-detail{padding:.5rem .375rem .25rem}.qd-timeline-absolute{font-size:.75rem;color:var(--p-text-muted-color);margin-bottom:.5rem}.qd-timeline-new{position:absolute;left:50%;bottom:.75rem;transform:translateX(-50%)}.qd-payload{--pl-tag: #22863a;--pl-attr: #6f42c1;--pl-value: #032f62;--pl-comment: #6a737d;--pl-ins-bg: rgba(46, 160, 67, 0.16);--pl-del-bg: rgba(248, 81, 73, 0.16);border:1px solid var(--p-surface-200);border-radius:.25rem;overflow:hidden;min-width:0;background:var(--p-surface-0)}.qd-payload-request{padding:.5rem .75rem;border-bottom:1px solid var(--p-surface-200);background:var(--p-surface-50);font-size:.875rem}.qd-payload-line{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;min-width:0}.pl-method{font-weight:700;font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace}.pl-url{font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace;word-break:break-all;min-width:0}.pl-status{padding:0 .5rem;border-radius:999px;font-weight:600;font-size:.75rem;background:var(--p-surface-200)}.pl-status--ok{background:var(--p-green-100);color:var(--p-green-800)}.pl-status--info{background:var(--p-blue-100);color:var(--p-blue-800)}.pl-status--warn{background:var(--p-orange-100);color:var(--p-orange-800)}.pl-status--error{background:var(--p-red-100);color:var(--p-red-800)}.qd-payload-headers{margin-top:.375rem}.qd-payload-headers summary{cursor:pointer;color:var(--p-text-muted-color)}.qd-payload-headers table{margin-top:.25rem;border-collapse:collapse;font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace;font-size:.75rem}.qd-payload-headers th{text-align:left;padding:.125rem 1rem .125rem 0;font-weight:600;white-space:nowrap;vertical-align:top}.qd-payload-headers td{word-break:break-all}.qd-payload-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;padding:.125rem .5rem;border-bottom:1px solid var(--p-surface-200);font-size:.75rem}.qd-payload-format{font-weight:700;letter-spacing:.05em;color:var(--p-text-muted-color)}.qd-payload-size{color:var(--p-text-muted-color)}.qd-payload-spacer{flex:1}.qd-payload-check{display:inline-flex;align-items:center;gap:.25rem;cursor:pointer}.qd-payload-warning,.qd-payload-identical{padding:.375rem .75rem;font-size:.875rem}.qd-payload-warning{background:var(--p-orange-50);color:var(--p-orange-800)}.qd-payload-identical{background:var(--p-green-50);color:var(--p-green-800)}.qd-payload-body{overflow:auto}.qd-payload-body .json-viewer{border:none;border-radius:0}.qd-payload-code{margin:0;padding:.5rem .75rem .5rem 0;font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace;font-size:.8125rem;line-height:1.5;white-space:pre}.pl-n{display:inline-block;min-width:3rem;padding-right:.75rem;text-align:right;color:var(--p-text-muted-color);user-select:none}.pl-tag{color:var(--pl-tag)}.pl-attr{color:var(--pl-attr)}.pl-value{color:var(--pl-value)}.pl-punct{color:var(--p-text-muted-color)}.pl-comment,.pl-decl{color:var(--pl-comment);font-style:italic}.pl-cdata{color:var(--pl-comment)}.qd-payload-table-wrap{min-width:0}.qd-payload-table{border-collapse:collapse;font-size:.875rem;width:max-content;min-width:100%}.qd-payload-table th,.qd-payload-table td{padding:.25rem .75rem;border-bottom:1px solid var(--p-surface-100);text-align:left;vertical-align:top;white-space:pre-wrap}.qd-payload-table thead th{position:sticky;top:0;background:var(--p-surface-50);font-weight:600}.qd-payload-table .pl-n{display:table-cell;min-width:0}.qd-payload-kv th{font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace;font-weight:600;white-space:nowrap}.qd-payload-more{display:block;width:100%;padding:.375rem;border:none;background:var(--p-surface-50);color:var(--p-primary-color);cursor:pointer}.qd-payload-binary p{margin:.5rem .75rem;font-size:.875rem}.pl-count{font-weight:700;font-variant-numeric:tabular-nums}.pl-count--add{color:var(--p-green-600)}.pl-count--del{color:var(--p-red-600)}.pl-count--chg{color:var(--p-orange-600)}.pl-diff{width:100%;border-collapse:collapse;table-layout:fixed;font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace;font-size:.8125rem;line-height:1.5}.pl-diff th{padding:.25rem .75rem;background:var(--p-surface-50);font-family:var(--p-font-family, inherit);font-size:.75rem;text-align:left}.pl-diff td{padding:0 .5rem;white-space:pre-wrap;word-break:break-all;vertical-align:top}.pl-diff td.pl-n{display:table-cell;width:3rem;min-width:0}.pl-diff .pl-sign{width:1rem;padding:0;text-align:center}.pl-diff--split td:nth-child(3){border-left:1px solid var(--p-surface-200)}.pl-ins,tr.pl-ins td{background:var(--pl-ins-bg)}.pl-del,tr.pl-del td{background:var(--pl-del-bg)}.pl-empty{background:repeating-linear-gradient(45deg, transparent 0 4px, var(--p-surface-100) 4px 8px)}.pl-fold td{padding:0}.pl-fold td button{width:100%;padding:.125rem;border:none;background:var(--p-surface-100);color:var(--p-text-muted-color);font-size:.75rem;cursor:pointer}.pl-csv-diff .pl-row--added td{background:var(--pl-ins-bg)}.pl-csv-diff .pl-row--removed td{background:var(--pl-del-bg)}.pl-csv-diff .pl-cell--changed{background:color-mix(in srgb, var(--p-orange-400) 18%, transparent)}.pl-csv-diff .pl-cell--changed del{color:var(--p-red-700)}.pl-csv-diff .pl-cell--changed ins{color:var(--p-green-700);text-decoration:none;font-weight:600}.qd-email{border:1px solid var(--p-surface-200);border-radius:.25rem;overflow:hidden;min-width:0;background:var(--p-surface-0)}.qd-email-head{padding:.75rem 1rem .5rem;border-bottom:1px solid var(--p-surface-200)}.qd-email-subject{margin:0 0 .5rem;font-size:1.0625rem;font-weight:600;overflow-wrap:anywhere}.qd-email-main{display:grid;grid-template-columns:max-content minmax(0, 1fr);gap:.125rem .75rem;margin:0;font-size:.875rem}.qd-email-main dt{color:var(--p-text-muted-color)}.qd-email-main dd{margin:0;overflow-wrap:anywhere}.qd-email-headers{margin-top:.5rem;font-size:.75rem}.qd-email-headers summary{cursor:pointer;color:var(--p-text-muted-color)}.qd-email-headers table{margin-top:.25rem;border-collapse:collapse;font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace}.qd-email-headers th{padding:.0625rem 1rem .0625rem 0;text-align:left;font-weight:600;white-space:nowrap;vertical-align:top}.qd-email-headers td{overflow-wrap:anywhere}.qd-email-warning{padding:.375rem 1rem;background:var(--p-orange-50);color:var(--p-orange-800);font-size:.875rem}.qd-email-tabs{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem;padding:0 .5rem;border-bottom:1px solid var(--p-surface-200);font-size:.875rem}.qd-email-tab{padding:.5rem .75rem;border:none;border-bottom:2px solid rgba(0,0,0,0);background:rgba(0,0,0,0);color:var(--p-text-muted-color);font:inherit;cursor:pointer}.qd-email-tab--active{border-bottom-color:var(--p-primary-color);color:var(--p-text-color);font-weight:600}.qd-email-spacer{flex:1}.qd-email-blocked{color:var(--p-text-muted-color);font-size:.75rem}.qd-email-frame-wrap{resize:vertical;overflow:hidden;min-height:8rem;background:#fff}.qd-email-frame{display:block;width:100%;height:100%;border:0}.qd-email-text{margin:0;padding:.75rem 1rem;max-height:32rem;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace;font-size:.8125rem}.qd-email-source{white-space:pre}.qd-email-empty{padding:.75rem 1rem;color:var(--p-text-muted-color);font-style:italic}.qd-email-attachments{list-style:none;margin:0;padding:.25rem .5rem;border-top:1px solid var(--p-surface-200)}.qd-email-attachment{display:flex;align-items:center;gap:.5rem;padding:.25rem;font-size:.875rem;min-width:0}.qd-email-thumb{width:2.5rem;height:2.5rem;object-fit:cover;border-radius:.25rem;border:1px solid var(--p-surface-200)}.qd-email-clip{width:2.5rem;text-align:center;color:var(--p-text-muted-color)}.qd-email-att-name{font-weight:500;overflow-wrap:anywhere}.qd-email-att-meta{flex:1;color:var(--p-text-muted-color);font-size:.75rem}.qd-task-head{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem;font-size:.875rem}.qd-task-status{display:inline-flex;align-items:center;gap:.375rem;padding:.125rem .625rem;border-radius:999px;font-weight:600;background:var(--p-blue-50);color:var(--p-blue-700)}.qd-task-status--succeeded{background:var(--p-green-50);color:var(--p-green-700)}.qd-task-status--failed{background:var(--p-red-50);color:var(--p-red-700)}.qd-task-status--cancelled{background:var(--p-surface-100);color:var(--p-text-muted-color)}.qd-task-elapsed,.qd-task-id{color:var(--p-text-muted-color);font-variant-numeric:tabular-nums}.qd-task-id{margin-left:auto;font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace;font-size:.75rem}.qd-task-progress{height:.75rem}.qd-task-step{margin-top:.375rem;color:var(--p-text-muted-color);font-size:.875rem}.qd-task-log{margin-top:.75rem}.qd-task-error,.qd-task-warning{margin-top:.75rem;padding:.5rem .75rem;border-radius:.25rem;font-size:.875rem;overflow-wrap:anywhere}.qd-task-error{background:var(--p-red-50);color:var(--p-red-800)}.qd-task-warning{background:var(--p-orange-50);color:var(--p-orange-800)}.qd-task-result{margin-top:.75rem}.qd-task-dialog .p-dialog-footer{display:flex;align-items:center;gap:.5rem}.qd-task-spacer{flex:1}.qd-task-link{display:inline-flex;align-items:center;gap:.375rem;font-size:.875rem}.qd-task-confirm-message{margin:0 0 .75rem}.qd-task-confirm-label{display:block;margin-bottom:.375rem;font-size:.875rem}.qd-task-confirm-input{width:100%;font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace}.qd-task-tray{padding:.25rem .75rem}.qd-task-tray-button{display:flex;align-items:center;gap:.5rem;width:100%;padding:.5rem .625rem;border:1px solid var(--p-surface-700, #334155);border-radius:.25rem;background:rgba(0,0,0,0);color:var(--p-surface-200, #e2e8f0);font:inherit;font-size:.875rem;cursor:pointer}.qd-task-tray-button--busy{border-color:var(--p-primary-color)}.qd-task-tray-button:hover{background:var(--p-surface-700, #334155)}.qd-task-tray-label{flex:1;text-align:left;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.qd-task-tray-count{min-width:1.25rem;padding:0 .375rem;border-radius:999px;background:var(--p-primary-color);color:var(--p-primary-contrast-color);font-size:.75rem;font-weight:700;text-align:center}.qd-task-list{list-style:none;margin:0 0 .25rem;padding:0;min-width:18rem;max-width:24rem}.qd-task-item{display:flex;align-items:center;gap:.5rem;width:100%;padding:.375rem .5rem;border:none;border-radius:.25rem;background:rgba(0,0,0,0);color:inherit;font:inherit;font-size:.875rem;text-align:left;cursor:pointer}.qd-task-item:hover{background:var(--p-surface-100)}.qd-task-item--succeeded i{color:var(--p-green-600)}.qd-task-item--failed i{color:var(--p-red-600)}.qd-task-item--cancelled i{color:var(--p-text-muted-color)}.qd-task-item-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.qd-task-item-state{color:var(--p-text-muted-color);font-size:.75rem;white-space:nowrap}.sidebar--collapsed .qd-task-tray{padding:.25rem}.sidebar--collapsed .qd-task-tray .qd-task-tray-button{justify-content:center;padding:.5rem .25rem}.sidebar--collapsed .qd-task-tray .qd-task-tray-label{display:none}.dialog-content{display:flex;align-items:flex-start;gap:1rem;margin-bottom:.75rem}.dialog-content p{margin:0;line-height:1.5}.dialog-section-title{font-size:.875rem;font-weight:600;margin-bottom:.375rem;color:var(--p-surface-600)}.dialog-icon{font-size:2rem;color:var(--p-orange-500);flex-shrink:0}.multi-step-dialog{padding:.5rem 0}.step-content{padding:1rem 0}.step-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-top:1.5rem;padding-top:1rem;border-top:1px solid var(--p-surface-200)}.markdown-rendered{background:var(--p-surface-100);padding:.75rem;border-radius:.25rem;max-height:400px;overflow-y:auto;font-size:.875rem}.markdown-rendered h1,.markdown-rendered h2,.markdown-rendered h3,.markdown-rendered h4{margin:.75rem 0 .375rem 0;font-weight:600}.markdown-rendered h1{font-size:1.25rem}.markdown-rendered h2{font-size:1.125rem}.markdown-rendered h3{font-size:1rem}.markdown-rendered p{margin:.375rem 0}.markdown-rendered ul,.markdown-rendered ol{margin:.375rem 0;padding-left:1rem}.markdown-rendered a{color:var(--p-primary-500);text-decoration:underline}.markdown-rendered code{background:var(--p-surface-200);padding:.1rem .3rem;border-radius:.25rem;font-family:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,monospace;font-size:.85em}.markdown-rendered pre{background:var(--p-surface-200);padding:.75rem;border-radius:.25rem;overflow-x:auto}.markdown-rendered blockquote{border-left:3px solid var(--p-surface-300);margin:.375rem 0;padding-left:.75rem;color:var(--p-surface-600)}.markdown-rendered .md-figure{margin:.75rem 0;padding:0}.markdown-rendered .md-figure img{max-width:100%;height:auto;border-radius:.25rem;display:block}.markdown-rendered .md-figure figcaption{margin-top:.375rem;font-size:.75rem;color:var(--p-surface-500);font-style:italic;line-height:1.5}.header-left{display:flex;align-items:center;gap:.75rem}.content-grid{display:grid;gap:1rem}.meta-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));gap:1rem}@media(max-width: 767px){.meta-grid{grid-template-columns:1fr}}.summary-text,.intent-text{line-height:1.5}.tags-wrap{display:flex;gap:.375rem;flex-wrap:wrap}.url-actions{display:flex;gap:.375rem;align-items:center}.content-box{background:var(--p-surface-100);padding:.75rem;border-radius:.25rem;white-space:pre-wrap;word-break:break-word}.content-box--scrollable{max-height:300px;overflow-y:auto}.content-box--tall{max-height:400px}.status-row{display:flex;justify-content:space-between;align-items:flex-start}.tags-row{display:flex;gap:.375rem}.show-field{display:flex;flex-direction:column;gap:.25rem}.show-field--horizontal{flex-direction:row;align-items:flex-start;gap:1rem}.show-field__label{font-weight:600;color:var(--p-text-muted-color, #6c757d);font-size:.875rem}.show-field--horizontal .show-field__label{padding-top:.125rem}.show-field__value{color:var(--p-text-color, #1e293b);line-height:1.5}.show-display{display:inline}.show-display--badge{display:inline-flex;align-items:center}.show-display--empty{color:var(--p-text-muted-color, #6c757d)}.show-display--email,.show-display--url,.show-display--reference{color:var(--p-primary-color, #3b82f6);text-decoration:none}.show-display--email:hover,.show-display--url:hover,.show-display--reference:hover{text-decoration:underline}.show-display--password{font-family:monospace;letter-spacing:.1em}.show-display--number,.show-display--currency{font-variant-numeric:tabular-nums}.show-display--boolean{display:inline-flex;align-items:center;gap:.5rem}.show-display--boolean.text-success{color:var(--p-green-500, #22c55e)}.show-display--boolean.text-danger{color:var(--p-red-500, #ef4444)}.show-display--boolean.text-muted{color:var(--p-text-muted-color, #6c757d)}.show-display--textarea{white-space:pre-wrap;line-height:1.6}.show-display--image img{border-radius:4px;object-fit:cover}.show-display--json{background:var(--p-surface-100, #f1f5f9);padding:.75rem;border-radius:4px;font-size:.875rem;overflow-x:auto;margin:0}.sidebar-box{position:relative;z-index:1;padding:.5rem .75rem;border-top:1px solid var(--p-surface-700, #334155);height:3.5rem;box-sizing:border-box;cursor:pointer;transition:background var(--fad-transition-fast);display:flex;align-items:center}.sidebar-box:hover{background:var(--p-surface-700, #334155)}.sidebar-box:focus-within{z-index:20}.sidebar-box-inner{display:flex;align-items:center;gap:.5rem;padding-left:2rem;height:100%;width:100%}.sidebar-box-icon{position:absolute;left:.5rem;top:50%;transform:translateY(-50%);width:28px;height:28px;display:flex;align-items:center;justify-content:center;font-size:.875rem;color:var(--p-surface-400, #94a3b8)}.sidebar-box:hover .sidebar-box-icon{color:var(--p-surface-200, #e2e8f0)}.sidebar-box-content{flex:1;min-width:0;opacity:1;transition:opacity .1s ease .2s}.sidebar-box-title{font-weight:var(--fad-font-weight-normal);font-size:var(--fad-font-size-sm);color:var(--p-surface-100, #f1f5f9);white-space:nowrap}.sidebar-box-subtitle{font-size:var(--fad-font-size-2xs);color:var(--p-surface-400, #94a3b8);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-box--impersonator .sidebar-box-icon{color:var(--p-orange-400, #fb923c)}.sidebar-box--impersonator:hover .sidebar-box-icon{color:var(--p-orange-300, #fdba74)}.sidebar-box--impersonator .sidebar-box-title{color:var(--p-orange-400, #fb923c)}.sidebar-box--impersonator .sidebar-box-subtitle{color:var(--p-orange-300, #fdba74)}.sidebar--collapsed .sidebar-box{padding:0}.sidebar--collapsed .sidebar-box-inner{justify-content:center;padding-left:0}.sidebar--collapsed .sidebar-box-content{opacity:0;visibility:hidden;transition:opacity 0s,visibility 0s}.sidebar-box-controls{padding:.5rem 1rem}.sidebar-box-controls-label{font-size:var(--fad-font-size-xs);font-weight:var(--fad-font-weight-medium);color:var(--p-surface-500, #64748b);text-transform:uppercase;letter-spacing:.06em;display:block;margin-bottom:.375rem}.sidebar-box-controls-input{width:100%}.sidebar-box-controls-input :deep(.p-autocomplete-input){width:100%;font-size:var(--fad-font-size-sm)}.sidebar-box-controls-input :deep(.p-autocomplete-overlay){z-index:9999 !important}.sidebar--collapsed .sidebar-box-controls{display:none !important}.sidebar-box--full{height:auto;cursor:default}.sidebar-box--full:hover{background:rgba(0,0,0,0)}.sidebar-box-full{width:100%;padding:.25rem 0;opacity:1;transition:opacity .1s ease .2s}.sidebar-box-full-label{font-size:var(--fad-font-size-xs);font-weight:var(--fad-font-weight-medium);color:var(--p-surface-500, #64748b);text-transform:uppercase;letter-spacing:.06em;display:block;margin-bottom:.375rem}.sidebar-box-full-input{width:100%}.sidebar-box-full-input :deep(.p-autocomplete-input){width:100%;font-size:var(--fad-font-size-sm)}.sidebar-box-full-input :deep(.p-autocomplete-overlay){z-index:9999 !important}.sidebar--collapsed .sidebar-box--full{opacity:0;visibility:hidden;height:0;padding:0;border:none;overflow:hidden;transition:opacity 0s,visibility 0s,height 0s,padding 0s}.sidebar--collapsed .sidebar-box-full{opacity:0;transition:opacity 0s}.sidebar-nav .nav-item{position:relative;display:flex;align-items:center;padding:var(--fad-nav-item-padding-y) var(--fad-nav-item-padding-x);padding-left:calc((var(--fad-sidebar-width-collapsed) + 1.125rem)/2 + .375rem);color:var(--p-surface-300, #cbd5e1);text-decoration:none;font-size:var(--fad-font-size-sm);font-weight:var(--fad-font-weight-normal);border-radius:0;transition:background var(--fad-transition-fast),color var(--fad-transition-fast),padding var(--fad-transition-slow)}.sidebar-nav .nav-item i{position:absolute;left:calc((var(--fad-sidebar-width-collapsed) - 1.125rem)/2);top:50%;transform:translateY(-50%);font-size:var(--fad-nav-icon-size);width:1.125rem;text-align:center;opacity:.8}.sidebar-nav .nav-item span{white-space:nowrap;opacity:1;transition:opacity .1s ease .2s}.sidebar-nav .nav-item .nav-item-external{margin-left:.375rem;font-size:.625rem;color:var(--p-surface-400, #94a3b8)}.sidebar-nav .nav-item:hover{background:var(--p-surface-700, #334155);color:var(--p-surface-0, white)}.sidebar-nav .nav-item-active{background:var(--p-surface-700, #334155);color:var(--p-primary-300, #93c5fd);border-left:2px solid var(--p-primary-400, #60a5fa);padding-left:calc(calc((var(--fad-sidebar-width-collapsed) + 1.125rem) / 2 + 0.375rem) - 2px)}.sidebar-nav .nav-item-active:hover{background:var(--p-surface-600, #475569)}.sidebar-nav .nav-item-active i{opacity:1}.sidebar--collapsed .sidebar-nav .nav-item{padding:.5rem 0;padding-left:calc((var(--fad-sidebar-width-collapsed) + 1.125rem)/2 + .375rem);border-left:none !important}.sidebar--collapsed .sidebar-nav .nav-item-active{border-left:none !important;padding-left:calc((var(--fad-sidebar-width-collapsed) + 1.125rem)/2 + .375rem)}.sidebar--collapsed .sidebar-nav .nav-item span{opacity:0;visibility:hidden;transition:opacity 0s,visibility 0s}@media(max-width: 767px){.sidebar.sidebar--collapsed .sidebar-nav .nav-item{justify-content:flex-start;padding:var(--fad-nav-item-padding-y) var(--fad-nav-item-padding-x);padding-left:calc((var(--fad-sidebar-width-collapsed) + 1.125rem)/2 + .375rem)}.sidebar.sidebar--collapsed .sidebar-nav .nav-item span{display:inline;opacity:1;visibility:visible;width:auto;transition:opacity .1s ease .2s}.sidebar.sidebar--collapsed .sidebar-nav .nav-item i{position:absolute;left:calc((var(--fad-sidebar-width-collapsed) - 1.125rem)/2);font-size:var(--fad-nav-icon-size);width:1.125rem}}:root{--qdadm-sidebar-width: 15rem;--qdadm-sidebar-collapsed-width: 2.5rem;--qdadm-sidebar-transition: 200ms ease;--qdadm-content-padding: 1rem;--qdadm-content-padding-mobile: 0.75rem}@media(max-width: 1023px){.app-layout{--qdadm-sidebar-width: 12rem}}@media(max-width: 767px){.app-layout{--qdadm-sidebar-width: 100vw}}.sidebar{transition:transform var(--qdadm-sidebar-transition),width var(--qdadm-sidebar-transition)}@media(max-width: 767px){.sidebar{transform:translateX(-100%);position:fixed;z-index:1000;box-shadow:none;width:100vw !important;height:100dvh;max-height:100dvh;overflow-y:auto}.sidebar.sidebar--open{transform:translateX(0);box-shadow:none}}.main-content{transition:margin-left var(--qdadm-sidebar-transition)}@media(max-width: 767px){.main-content{margin-left:0 !important}}.sidebar-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:99;opacity:0;transition:opacity .25s}@media(max-width: 767px){.sidebar-overlay{display:block;pointer-events:none}.sidebar-overlay.sidebar-overlay--visible{opacity:1;pointer-events:auto}}.hamburger-btn{display:none !important}@media(max-width: 767px){.hamburger-btn{display:flex !important}}@media(max-width: 767px){.page-content{padding:var(--qdadm-content-padding-mobile)}}@media(max-width: 767px){.page-header{flex-direction:column;gap:1rem;align-items:flex-start !important}}@media(max-width: 767px){.page-header .page-header-actions{width:100%;justify-content:flex-start}}.p-datatable .p-datatable-table-container{overflow-x:auto;-webkit-overflow-scrolling:touch}@media(max-width: 767px){.p-datatable .p-datatable-table{min-width:600px}}@media(max-width: 479px){.p-datatable .p-datatable-table{min-width:500px}}@media(max-width: 767px){.filter-bar{flex-wrap:wrap;gap:.75rem}}@media(max-width: 767px){.filter-bar-left{flex-wrap:wrap;gap:.5rem;width:100%}}@media(max-width: 767px){.card{border-radius:0;border:none;background:rgba(0,0,0,0);padding:0}}@media(max-width: 767px){.form-grid{grid-template-columns:1fr !important}}@media(max-width: 479px){.form-actions{flex-direction:column;gap:.5rem}.form-actions .form-actions-left{width:100%;flex-direction:column}.form-actions .p-button{width:100%;white-space:nowrap}}@media(max-width: 767px){.cards-grid{grid-template-columns:repeat(2, 1fr)}}@media(max-width: 479px){.cards-grid{grid-template-columns:1fr}}@media(max-width: 767px){.hide-mobile{display:none !important}}.hide-desktop{display:none !important}@media(max-width: 767px){.hide-desktop{display:block !important}}@media(max-width: 767px){.hide-mobile-inline{display:none !important}}.show-mobile-inline{display:none !important}@media(max-width: 767px){.show-mobile-inline{display:inline !important}}
|
package/package.json
CHANGED
|
@@ -23,6 +23,7 @@ import Card from 'primevue/card'
|
|
|
23
23
|
import InputText from 'primevue/inputtext'
|
|
24
24
|
import Password from 'primevue/password'
|
|
25
25
|
import QdButton from '../base/QdButton.vue'
|
|
26
|
+
import { useI18n } from '../../i18n/useI18n'
|
|
26
27
|
import type { OrchestratorLike } from '../../entity/EntityManager.interface'
|
|
27
28
|
|
|
28
29
|
/**
|
|
@@ -97,25 +98,25 @@ const props = defineProps({
|
|
|
97
98
|
default: null
|
|
98
99
|
},
|
|
99
100
|
/**
|
|
100
|
-
* Username field label
|
|
101
|
+
* Username field label (default: core.login.username)
|
|
101
102
|
*/
|
|
102
103
|
usernameLabel: {
|
|
103
|
-
type: String
|
|
104
|
-
default:
|
|
104
|
+
type: String as PropType<string | null>,
|
|
105
|
+
default: null
|
|
105
106
|
},
|
|
106
107
|
/**
|
|
107
|
-
* Password field label
|
|
108
|
+
* Password field label (default: core.login.password)
|
|
108
109
|
*/
|
|
109
110
|
passwordLabel: {
|
|
110
|
-
type: String
|
|
111
|
-
default:
|
|
111
|
+
type: String as PropType<string | null>,
|
|
112
|
+
default: null
|
|
112
113
|
},
|
|
113
114
|
/**
|
|
114
|
-
* Submit button label
|
|
115
|
+
* Submit button label (default: core.login.submit)
|
|
115
116
|
*/
|
|
116
117
|
submitLabel: {
|
|
117
|
-
type: String
|
|
118
|
-
default:
|
|
118
|
+
type: String as PropType<string | null>,
|
|
119
|
+
default: null
|
|
119
120
|
},
|
|
120
121
|
/**
|
|
121
122
|
* Route to redirect after successful login
|
|
@@ -145,6 +146,13 @@ const props = defineProps({
|
|
|
145
146
|
emitSignal: {
|
|
146
147
|
type: Boolean,
|
|
147
148
|
default: true
|
|
149
|
+
},
|
|
150
|
+
/**
|
|
151
|
+
* Success toast ("Welcome / Logged in as …") after login
|
|
152
|
+
*/
|
|
153
|
+
welcomeToast: {
|
|
154
|
+
type: Boolean,
|
|
155
|
+
default: true
|
|
148
156
|
}
|
|
149
157
|
})
|
|
150
158
|
|
|
@@ -157,16 +165,23 @@ const router = useRouter()
|
|
|
157
165
|
const authAdapter = inject<AuthAdapter | null>('authAdapter', null)
|
|
158
166
|
const orchestrator = inject<Orchestrator | null>('qdadmOrchestrator', null)
|
|
159
167
|
const appConfig = inject<AppConfig>('qdadmApp', {})
|
|
168
|
+
const { tOr } = useI18n()
|
|
160
169
|
|
|
161
170
|
const username = ref<string>(props.defaultUsername)
|
|
162
171
|
const password = ref<string>(props.defaultPassword)
|
|
163
172
|
const loading = ref<boolean>(false)
|
|
164
173
|
|
|
174
|
+
const labels = computed(() => ({
|
|
175
|
+
username: props.usernameLabel ?? tOr('core.login.username', 'Username'),
|
|
176
|
+
password: props.passwordLabel ?? tOr('core.login.password', 'Password'),
|
|
177
|
+
submit: props.submitLabel ?? tOr('core.login.submit', 'Sign In'),
|
|
178
|
+
}))
|
|
179
|
+
|
|
165
180
|
const displayTitle = computed<string>(() => props.title || appConfig.name || 'Admin')
|
|
166
181
|
|
|
167
182
|
async function handleLogin(): Promise<void> {
|
|
168
183
|
if (!authAdapter?.login) {
|
|
169
|
-
orchestrator?.toast.error('Configuration Error', 'No auth adapter configured', 'LoginPage')
|
|
184
|
+
orchestrator?.toast.error(tOr('core.login.configError', 'Configuration Error'), tOr('core.login.noAuthAdapter', 'No auth adapter configured'), 'LoginPage')
|
|
170
185
|
return
|
|
171
186
|
}
|
|
172
187
|
|
|
@@ -179,11 +194,13 @@ async function handleLogin(): Promise<void> {
|
|
|
179
194
|
|
|
180
195
|
// Emit auth:login signal for debug bar and other listeners
|
|
181
196
|
orchestrator?.signals?.emit('auth:login', { user: result.user })
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
197
|
+
if (props.welcomeToast) {
|
|
198
|
+
orchestrator?.toast.success(
|
|
199
|
+
tOr('core.login.welcome', 'Welcome'),
|
|
200
|
+
tOr('core.login.loggedInAs', 'Logged in as {name}', { name: result.user?.username || result.user?.email || username.value }),
|
|
201
|
+
'LoginPage'
|
|
202
|
+
)
|
|
203
|
+
}
|
|
187
204
|
|
|
188
205
|
emit('login', result)
|
|
189
206
|
router.push(props.redirectTo)
|
|
@@ -194,14 +211,14 @@ async function handleLogin(): Promise<void> {
|
|
|
194
211
|
const message = axiosError.response?.data?.error?.message
|
|
195
212
|
|| axiosError.response?.data?.message
|
|
196
213
|
|| axiosError.message
|
|
197
|
-
|| 'Invalid credentials'
|
|
214
|
+
|| tOr('core.login.invalidCredentials', 'Invalid credentials')
|
|
198
215
|
|
|
199
216
|
orchestrator?.signals?.emit('auth:login:error', {
|
|
200
217
|
username: username.value,
|
|
201
218
|
error: message,
|
|
202
219
|
status: axiosError.response?.status
|
|
203
220
|
})
|
|
204
|
-
orchestrator?.toast.error('Login Failed', message, 'LoginPage')
|
|
221
|
+
orchestrator?.toast.error(tOr('core.login.failed', 'Login Failed'), message, 'LoginPage')
|
|
205
222
|
|
|
206
223
|
emit('error', error)
|
|
207
224
|
} finally {
|
|
@@ -225,7 +242,7 @@ async function handleLogin(): Promise<void> {
|
|
|
225
242
|
<template #content>
|
|
226
243
|
<form @submit.prevent="handleLogin" class="qdadm-login-form" autocomplete="off">
|
|
227
244
|
<div class="qdadm-login-field">
|
|
228
|
-
<label for="qdadm-username">{{
|
|
245
|
+
<label for="qdadm-username">{{ labels.username }}</label>
|
|
229
246
|
<InputText
|
|
230
247
|
v-model="username"
|
|
231
248
|
id="qdadm-username"
|
|
@@ -235,7 +252,7 @@ async function handleLogin(): Promise<void> {
|
|
|
235
252
|
/>
|
|
236
253
|
</div>
|
|
237
254
|
<div class="qdadm-login-field">
|
|
238
|
-
<label for="qdadm-password">{{
|
|
255
|
+
<label for="qdadm-password">{{ labels.password }}</label>
|
|
239
256
|
<Password
|
|
240
257
|
v-model="password"
|
|
241
258
|
inputId="qdadm-password"
|
|
@@ -247,7 +264,7 @@ async function handleLogin(): Promise<void> {
|
|
|
247
264
|
</div>
|
|
248
265
|
<QdButton
|
|
249
266
|
type="submit"
|
|
250
|
-
:label="
|
|
267
|
+
:label="labels.submit"
|
|
251
268
|
icon="pi pi-sign-in"
|
|
252
269
|
class="w-full"
|
|
253
270
|
:loading="loading"
|
|
@@ -256,7 +273,7 @@ async function handleLogin(): Promise<void> {
|
|
|
256
273
|
and the footer, which is where users look for them. Rendered
|
|
257
274
|
only when filled, so the divider never shows on its own. -->
|
|
258
275
|
<div v-if="$slots.alternatives" class="qdadm-login-alternatives">
|
|
259
|
-
<div class="qdadm-login-divider"><span>or</span></div>
|
|
276
|
+
<div class="qdadm-login-divider"><span>{{ tOr('core.login.or', 'or') }}</span></div>
|
|
260
277
|
<slot name="alternatives"></slot>
|
|
261
278
|
</div>
|
|
262
279
|
|
|
@@ -14,8 +14,11 @@ import TaskDialog from './TaskDialog.vue'
|
|
|
14
14
|
import { useI18n } from '../../i18n/useI18n'
|
|
15
15
|
import { useTaskRunner } from '../../tasks/useTaskRunner'
|
|
16
16
|
import { getTaskStore } from '../../tasks/taskStore'
|
|
17
|
+
import { useTaskNotifications } from '../../tasks/useTaskNotifications'
|
|
17
18
|
|
|
18
19
|
useTaskRunner()
|
|
20
|
+
// Running tasks in the notification zone, when it is on (#4171)
|
|
21
|
+
useTaskNotifications()
|
|
19
22
|
const store = getTaskStore()
|
|
20
23
|
const { t } = useI18n()
|
|
21
24
|
|
|
@@ -10,8 +10,11 @@ import Popover from 'primevue/popover'
|
|
|
10
10
|
import QdButton from '../base/QdButton.vue'
|
|
11
11
|
import { useI18n } from '../../i18n/useI18n'
|
|
12
12
|
import { getTaskStore } from '../../tasks/taskStore'
|
|
13
|
+
import { useTaskTrayVisible } from '../../tasks/useTaskNotifications'
|
|
13
14
|
|
|
14
15
|
const store = getTaskStore()
|
|
16
|
+
// With the notification zone on, running tasks show there instead (#4171)
|
|
17
|
+
const visible = useTaskTrayVisible()
|
|
15
18
|
const { t } = useI18n()
|
|
16
19
|
const popover = ref<InstanceType<typeof Popover> | null>(null)
|
|
17
20
|
|
|
@@ -29,7 +32,7 @@ const icon = (status: string) =>
|
|
|
29
32
|
</script>
|
|
30
33
|
|
|
31
34
|
<template>
|
|
32
|
-
<div v-if="runs.length" class="qd-task-tray">
|
|
35
|
+
<div v-if="visible && runs.length" class="qd-task-tray">
|
|
33
36
|
<button type="button" class="qd-task-tray-button" :class="{ 'qd-task-tray-button--busy': activeCount > 0 }"
|
|
34
37
|
:aria-label="t('core.task.tray', { count: activeCount })" @click="popover?.toggle($event)">
|
|
35
38
|
<i :class="activeCount ? 'pi pi-spin pi-cog' : 'pi pi-check'" />
|
|
@@ -162,6 +162,31 @@ export default `core:
|
|
|
162
162
|
tray: "{count} running task | {count} running tasks"
|
|
163
163
|
trayDone: Recent tasks
|
|
164
164
|
clear: Clear finished
|
|
165
|
+
# LoginPage (#4168)
|
|
166
|
+
login:
|
|
167
|
+
username: Username
|
|
168
|
+
password: Password
|
|
169
|
+
submit: Sign In
|
|
170
|
+
or: or
|
|
171
|
+
welcome: Welcome
|
|
172
|
+
loggedInAs: "Logged in as {name}"
|
|
173
|
+
failed: Login Failed
|
|
174
|
+
invalidCredentials: Invalid credentials
|
|
175
|
+
configError: Configuration Error
|
|
176
|
+
noAuthAdapter: No auth adapter configured
|
|
177
|
+
# NotificationPanel and NotificationBadge (#4171)
|
|
178
|
+
notifications:
|
|
179
|
+
title: Notifications
|
|
180
|
+
unread: "Notifications, {count} unread"
|
|
181
|
+
loading: Loading
|
|
182
|
+
markAllRead: Mark all read
|
|
183
|
+
clearAll: Clear all
|
|
184
|
+
close: Close
|
|
185
|
+
dismiss: Dismiss
|
|
186
|
+
empty: No notifications
|
|
187
|
+
justNow: just now
|
|
188
|
+
minutesAgo: "{count}m ago"
|
|
189
|
+
hoursAgo: "{count}h ago"
|
|
165
190
|
# NotFoundPage
|
|
166
191
|
notFound:
|
|
167
192
|
title: Page not found
|
|
@@ -160,6 +160,31 @@ core:
|
|
|
160
160
|
tray: "{count} running task | {count} running tasks"
|
|
161
161
|
trayDone: Recent tasks
|
|
162
162
|
clear: Clear finished
|
|
163
|
+
# LoginPage (#4168)
|
|
164
|
+
login:
|
|
165
|
+
username: Username
|
|
166
|
+
password: Password
|
|
167
|
+
submit: Sign In
|
|
168
|
+
or: or
|
|
169
|
+
welcome: Welcome
|
|
170
|
+
loggedInAs: "Logged in as {name}"
|
|
171
|
+
failed: Login Failed
|
|
172
|
+
invalidCredentials: Invalid credentials
|
|
173
|
+
configError: Configuration Error
|
|
174
|
+
noAuthAdapter: No auth adapter configured
|
|
175
|
+
# NotificationPanel and NotificationBadge (#4171)
|
|
176
|
+
notifications:
|
|
177
|
+
title: Notifications
|
|
178
|
+
unread: "Notifications, {count} unread"
|
|
179
|
+
loading: Loading
|
|
180
|
+
markAllRead: Mark all read
|
|
181
|
+
clearAll: Clear all
|
|
182
|
+
close: Close
|
|
183
|
+
dismiss: Dismiss
|
|
184
|
+
empty: No notifications
|
|
185
|
+
justNow: just now
|
|
186
|
+
minutesAgo: "{count}m ago"
|
|
187
|
+
hoursAgo: "{count}h ago"
|
|
163
188
|
# NotFoundPage
|
|
164
189
|
notFound:
|
|
165
190
|
title: Page not found
|
|
@@ -162,6 +162,31 @@ export default `core:
|
|
|
162
162
|
tray: "{count} tâche en cours | {count} tâches en cours"
|
|
163
163
|
trayDone: Tâches récentes
|
|
164
164
|
clear: Effacer les terminées
|
|
165
|
+
# LoginPage (#4168)
|
|
166
|
+
login:
|
|
167
|
+
username: Identifiant
|
|
168
|
+
password: Mot de passe
|
|
169
|
+
submit: Se connecter
|
|
170
|
+
or: ou
|
|
171
|
+
welcome: Bienvenue
|
|
172
|
+
loggedInAs: "Connecté en tant que {name}"
|
|
173
|
+
failed: Échec de la connexion
|
|
174
|
+
invalidCredentials: Identifiants invalides
|
|
175
|
+
configError: Erreur de configuration
|
|
176
|
+
noAuthAdapter: Aucun adaptateur d'authentification configuré
|
|
177
|
+
# NotificationPanel and NotificationBadge (#4171)
|
|
178
|
+
notifications:
|
|
179
|
+
title: Notifications
|
|
180
|
+
unread: "Notifications, {count} non lue | Notifications, {count} non lues"
|
|
181
|
+
loading: Chargement
|
|
182
|
+
markAllRead: Tout marquer comme lu
|
|
183
|
+
clearAll: Tout effacer
|
|
184
|
+
close: Fermer
|
|
185
|
+
dismiss: Retirer
|
|
186
|
+
empty: Aucune notification
|
|
187
|
+
justNow: à l'instant
|
|
188
|
+
minutesAgo: "il y a {count} min"
|
|
189
|
+
hoursAgo: "il y a {count} h"
|
|
165
190
|
# NotFoundPage
|
|
166
191
|
notFound:
|
|
167
192
|
title: Page introuvable
|
|
@@ -160,6 +160,31 @@ core:
|
|
|
160
160
|
tray: "{count} tâche en cours | {count} tâches en cours"
|
|
161
161
|
trayDone: Tâches récentes
|
|
162
162
|
clear: Effacer les terminées
|
|
163
|
+
# LoginPage (#4168)
|
|
164
|
+
login:
|
|
165
|
+
username: Identifiant
|
|
166
|
+
password: Mot de passe
|
|
167
|
+
submit: Se connecter
|
|
168
|
+
or: ou
|
|
169
|
+
welcome: Bienvenue
|
|
170
|
+
loggedInAs: "Connecté en tant que {name}"
|
|
171
|
+
failed: Échec de la connexion
|
|
172
|
+
invalidCredentials: Identifiants invalides
|
|
173
|
+
configError: Erreur de configuration
|
|
174
|
+
noAuthAdapter: Aucun adaptateur d'authentification configuré
|
|
175
|
+
# NotificationPanel and NotificationBadge (#4171)
|
|
176
|
+
notifications:
|
|
177
|
+
title: Notifications
|
|
178
|
+
unread: "Notifications, {count} non lue | Notifications, {count} non lues"
|
|
179
|
+
loading: Chargement
|
|
180
|
+
markAllRead: Tout marquer comme lu
|
|
181
|
+
clearAll: Tout effacer
|
|
182
|
+
close: Fermer
|
|
183
|
+
dismiss: Retirer
|
|
184
|
+
empty: Aucune notification
|
|
185
|
+
justNow: à l'instant
|
|
186
|
+
minutesAgo: "il y a {count} min"
|
|
187
|
+
hoursAgo: "il y a {count} h"
|
|
163
188
|
# NotFoundPage
|
|
164
189
|
notFound:
|
|
165
190
|
title: Page introuvable
|
package/src/index.ts
CHANGED
|
@@ -408,6 +408,7 @@ export { useSidebarState, SIDEBAR_COLLAPSED_KEY } from './composables/useSidebar
|
|
|
408
408
|
// ════════════════════════════════════════════════════════════════════════════
|
|
409
409
|
export * from './components/index'
|
|
410
410
|
export { useTaskRunner, taskAction } from './tasks/useTaskRunner'
|
|
411
|
+
export { useTaskNotifications, useTaskTrayVisible, type TasksConfig } from './tasks/useTaskNotifications'
|
|
411
412
|
export {
|
|
412
413
|
getTaskStore,
|
|
413
414
|
registerTaskKind,
|
|
@@ -381,7 +381,7 @@ export function applyRegistryMethods(KernelClass: { prototype: Kernel }): void {
|
|
|
381
381
|
'managerResolver', 'managers', 'moduleDefs', 'modules', 'modulesOptions',
|
|
382
382
|
'notifications', 'onAuthExpired', 'pages', 'parentParamMode', 'primevue',
|
|
383
383
|
'root', 'routeParamResolver', 'routePrefix', 'routeState', 'sectionOrder',
|
|
384
|
-
'security', 'sse', 'storageResolver', 'toast', 'warmup',
|
|
384
|
+
'security', 'sse', 'storageResolver', 'tasks', 'toast', 'warmup',
|
|
385
385
|
])
|
|
386
386
|
|
|
387
387
|
proto._validateKernelOptions = function (this: Self): void {
|
|
@@ -273,6 +273,8 @@ export interface KernelOptions {
|
|
|
273
273
|
routeState?: string | RouteStatePersister
|
|
274
274
|
debugBar?: DebugBarConfig
|
|
275
275
|
notifications?: NotificationsConfig
|
|
276
|
+
/** TaskRunner UI (#4171). `tray`: show TaskTray in the sidebar; default only when notifications are off. */
|
|
277
|
+
tasks?: { tray?: boolean }
|
|
276
278
|
/** App-wide display defaults (#2772). */
|
|
277
279
|
display?: {
|
|
278
280
|
/** What a missing value shows, in detail pages and formatters. Default `'-'`. */
|
package/src/kernel/Kernel.vue.ts
CHANGED
|
@@ -362,6 +362,8 @@ export function applyVueMethods(KernelClass: { prototype: Kernel }): void {
|
|
|
362
362
|
app.provide('qdadmPermissionRegistry', this.permissionRegistry)
|
|
363
363
|
}
|
|
364
364
|
|
|
365
|
+
app.provide('qdadmTasksConfig', this.options.tasks ?? {})
|
|
366
|
+
|
|
365
367
|
// Create and provide notification store if notifications are enabled
|
|
366
368
|
if (this.options.notifications?.enabled) {
|
|
367
369
|
this.notificationStore = createNotificationStore({
|
|
@@ -14,8 +14,10 @@
|
|
|
14
14
|
*/
|
|
15
15
|
import { computed } from 'vue'
|
|
16
16
|
import { useNotifications } from './NotificationStore'
|
|
17
|
+
import { useI18n } from '../i18n/useI18n'
|
|
17
18
|
|
|
18
19
|
const store = useNotifications()
|
|
20
|
+
const { tOr } = useI18n()
|
|
19
21
|
|
|
20
22
|
const unread = computed(() => store.unreadCount.value)
|
|
21
23
|
const unreadLabel = computed(() => (unread.value > 99 ? '99+' : String(unread.value)))
|
|
@@ -26,10 +28,10 @@ const unreadLabel = computed(() => (unread.value > 99 ? '99+' : String(unread.va
|
|
|
26
28
|
class="notification-badge-zone"
|
|
27
29
|
:class="{ 'notification-badge-zone--alert': store.hasAlert.value || unread > 0 }"
|
|
28
30
|
role="button"
|
|
29
|
-
:aria-label="unread > 0 ?
|
|
31
|
+
:aria-label="unread > 0 ? tOr('core.notifications.unread', 'Notifications, {count} unread', { count: unread }) : tOr('core.notifications.title', 'Notifications')"
|
|
30
32
|
@click.stop.prevent="store.toggle()"
|
|
31
33
|
>
|
|
32
|
-
<span v-if="store.isBusy.value" class="notification-badge-ring" role="progressbar" aria-label="Loading" />
|
|
34
|
+
<span v-if="store.isBusy.value" class="notification-badge-ring" role="progressbar" :aria-label="tOr('core.notifications.loading', 'Loading')" />
|
|
33
35
|
<span v-if="store.isFlashing.value" class="notification-badge-flash" aria-hidden="true" />
|
|
34
36
|
<span v-if="unread > 0" class="notification-badge-count">{{ unreadLabel }}</span>
|
|
35
37
|
</div>
|
|
@@ -15,10 +15,19 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { RouterLink, useRouter, type RouteLocationRaw } from 'vue-router'
|
|
17
17
|
import { useNotifications } from './NotificationStore'
|
|
18
|
-
import type { Notification, NotificationSeverity } from './NotificationStore'
|
|
18
|
+
import type { Notification, NotificationSeverity, StatusItem } from './NotificationStore'
|
|
19
|
+
import { useI18n } from '../i18n/useI18n'
|
|
19
20
|
|
|
20
21
|
const store = useNotifications()
|
|
21
22
|
const router = useRouter()
|
|
23
|
+
const { tOr } = useI18n()
|
|
24
|
+
|
|
25
|
+
/** A status item with `onClick` (#4171) runs it; one with `to` is a link. Both close the panel. */
|
|
26
|
+
function openStatus(item: StatusItem): void {
|
|
27
|
+
if (!item.onClick && !item.to) return
|
|
28
|
+
store.close()
|
|
29
|
+
item.onClick?.()
|
|
30
|
+
}
|
|
22
31
|
|
|
23
32
|
/** An entry is read when clicked; one with a `to` also takes the user there (#2677). */
|
|
24
33
|
function openNotification(notif: Notification): void {
|
|
@@ -48,11 +57,11 @@ function formatTime(timestamp: number): string {
|
|
|
48
57
|
const diffMs = now.getTime() - date.getTime()
|
|
49
58
|
const diffMins = Math.floor(diffMs / 60000)
|
|
50
59
|
|
|
51
|
-
if (diffMins < 1) return 'just now'
|
|
52
|
-
if (diffMins < 60) return
|
|
60
|
+
if (diffMins < 1) return tOr('core.notifications.justNow', 'just now')
|
|
61
|
+
if (diffMins < 60) return tOr('core.notifications.minutesAgo', '{count}m ago', { count: diffMins })
|
|
53
62
|
|
|
54
63
|
const diffHours = Math.floor(diffMins / 60)
|
|
55
|
-
if (diffHours < 24) return
|
|
64
|
+
if (diffHours < 24) return tOr('core.notifications.hoursAgo', '{count}h ago', { count: diffHours })
|
|
56
65
|
|
|
57
66
|
return date.toLocaleDateString()
|
|
58
67
|
}
|
|
@@ -69,7 +78,7 @@ function formatTime(timestamp: number): string {
|
|
|
69
78
|
<button
|
|
70
79
|
v-if="store.unreadCount.value > 0"
|
|
71
80
|
class="notification-toolbar-btn"
|
|
72
|
-
title="Mark all read"
|
|
81
|
+
:title="tOr('core.notifications.markAllRead', 'Mark all read')"
|
|
73
82
|
@click="store.markAllRead()"
|
|
74
83
|
>
|
|
75
84
|
<i class="pi pi-check-circle" />
|
|
@@ -77,14 +86,14 @@ function formatTime(timestamp: number): string {
|
|
|
77
86
|
<button
|
|
78
87
|
v-if="store.notifications.value.length > 0"
|
|
79
88
|
class="notification-toolbar-btn"
|
|
80
|
-
title="Clear all"
|
|
89
|
+
:title="tOr('core.notifications.clearAll', 'Clear all')"
|
|
81
90
|
@click="store.clearNotifications()"
|
|
82
91
|
>
|
|
83
92
|
<i class="pi pi-trash" />
|
|
84
93
|
</button>
|
|
85
94
|
<button
|
|
86
95
|
class="notification-toolbar-btn notification-toolbar-close"
|
|
87
|
-
title="Close"
|
|
96
|
+
:title="tOr('core.notifications.close', 'Close')"
|
|
88
97
|
@click="store.close()"
|
|
89
98
|
>
|
|
90
99
|
<i class="pi pi-times" />
|
|
@@ -104,13 +113,14 @@ function formatTime(timestamp: number): string {
|
|
|
104
113
|
class="notification-status-item"
|
|
105
114
|
:class="[
|
|
106
115
|
`notification-status-item--${item.severity}`,
|
|
107
|
-
{ 'notification-status-item--link': !!item.to }
|
|
116
|
+
{ 'notification-status-item--link': !!item.to || !!item.onClick }
|
|
108
117
|
]"
|
|
109
|
-
|
|
118
|
+
:role="item.onClick && !item.to ? 'button' : undefined"
|
|
119
|
+
@click="openStatus(item)"
|
|
110
120
|
>
|
|
111
121
|
<i :class="item.icon || statusIcons[item.severity]" />
|
|
112
122
|
<span class="notification-status-label">{{ item.label }}</span>
|
|
113
|
-
<i v-if="item.to" class="pi pi-chevron-right notification-status-arrow" />
|
|
123
|
+
<i v-if="item.to || item.onClick" class="pi pi-chevron-right notification-status-arrow" />
|
|
114
124
|
<span v-else-if="item.count != null" class="notification-status-count">{{ item.count }}</span>
|
|
115
125
|
</component>
|
|
116
126
|
</div>
|
|
@@ -142,7 +152,7 @@ function formatTime(timestamp: number): string {
|
|
|
142
152
|
</div>
|
|
143
153
|
<button
|
|
144
154
|
class="notification-item-dismiss"
|
|
145
|
-
title="Dismiss"
|
|
155
|
+
:title="tOr('core.notifications.dismiss', 'Dismiss')"
|
|
146
156
|
@click.stop="store.removeNotification(notif.id)"
|
|
147
157
|
>
|
|
148
158
|
<i class="pi pi-times" />
|
|
@@ -155,7 +165,7 @@ function formatTime(timestamp: number): string {
|
|
|
155
165
|
class="notification-panel-empty"
|
|
156
166
|
>
|
|
157
167
|
<i class="pi pi-bell" />
|
|
158
|
-
<span>No notifications</span>
|
|
168
|
+
<span>{{ tOr('core.notifications.empty', 'No notifications') }}</span>
|
|
159
169
|
</div>
|
|
160
170
|
</div>
|
|
161
171
|
</div>
|
|
@@ -76,6 +76,8 @@ export interface StatusItem {
|
|
|
76
76
|
icon?: string
|
|
77
77
|
/** Route location for navigation (vue-router LocationAsRelativeRaw) */
|
|
78
78
|
to?: { name: string; params?: Record<string, unknown>; query?: Record<string, unknown> }
|
|
79
|
+
/** Called on click, then the panel closes (#4171): reopen a dialog, run an action. */
|
|
80
|
+
onClick?: () => void
|
|
79
81
|
}
|
|
80
82
|
|
|
81
83
|
export interface NotificationStoreConfig {
|
package/src/plugin.ts
CHANGED
|
@@ -51,7 +51,11 @@ export interface AppConfig {
|
|
|
51
51
|
shortName?: string
|
|
52
52
|
logo?: string | null
|
|
53
53
|
logoSmall?: string | null
|
|
54
|
-
|
|
54
|
+
/**
|
|
55
|
+
* The page icon. Default: the page's own `link[rel~=icon]` is kept, the
|
|
56
|
+
* qdadm logo is added only when it has none. `false` / `null`: never touch it.
|
|
57
|
+
*/
|
|
58
|
+
favicon?: string | false | null
|
|
55
59
|
version?: string | null
|
|
56
60
|
theme?: AppTheme
|
|
57
61
|
/** The signed-in user's profile page (#4157). */
|
|
@@ -109,6 +113,22 @@ export interface QdadmPlugin {
|
|
|
109
113
|
/**
|
|
110
114
|
* Creates the qdadm plugin with the given configuration
|
|
111
115
|
*/
|
|
116
|
+
/**
|
|
117
|
+
* Set the page icon (#4166). An explicit `favicon` wins; without one, the
|
|
118
|
+
* page's own `link[rel~=icon]` stays (index.html, or set in JS before the
|
|
119
|
+
* mount) and the qdadm logo is only a fallback; `false` / `null` leave the
|
|
120
|
+
* head alone.
|
|
121
|
+
*/
|
|
122
|
+
export function applyFavicon(favicon: string | false | null | undefined, doc: Document = document): void {
|
|
123
|
+
if (favicon === false || favicon === null) return
|
|
124
|
+
const existing = doc.querySelector("link[rel~='icon']")
|
|
125
|
+
if (!favicon && existing) return
|
|
126
|
+
const link = existing || doc.createElement('link')
|
|
127
|
+
link.setAttribute('rel', 'icon')
|
|
128
|
+
link.setAttribute('href', favicon || qdadmLogo)
|
|
129
|
+
if (!existing) doc.head.appendChild(link)
|
|
130
|
+
}
|
|
131
|
+
|
|
112
132
|
export function createQdadm(options: QdadmOptions): QdadmPlugin {
|
|
113
133
|
return {
|
|
114
134
|
install(app: App) {
|
|
@@ -151,7 +171,6 @@ export function createQdadm(options: QdadmOptions): QdadmPlugin {
|
|
|
151
171
|
shortName: 'Admin',
|
|
152
172
|
logo: null,
|
|
153
173
|
logoSmall: null,
|
|
154
|
-
favicon: qdadmLogo,
|
|
155
174
|
version: null,
|
|
156
175
|
theme: {
|
|
157
176
|
primary: '#3B82F6',
|
|
@@ -243,16 +262,7 @@ export function createQdadm(options: QdadmOptions): QdadmPlugin {
|
|
|
243
262
|
}
|
|
244
263
|
}
|
|
245
264
|
|
|
246
|
-
|
|
247
|
-
if (appConfig.favicon) {
|
|
248
|
-
const existingLink = document.querySelector("link[rel~='icon']")
|
|
249
|
-
const link = existingLink || document.createElement('link')
|
|
250
|
-
link.setAttribute('rel', 'icon')
|
|
251
|
-
link.setAttribute('href', appConfig.favicon)
|
|
252
|
-
if (!existingLink) {
|
|
253
|
-
document.head.appendChild(link)
|
|
254
|
-
}
|
|
255
|
-
}
|
|
265
|
+
applyFavicon(appConfig.favicon)
|
|
256
266
|
}
|
|
257
267
|
}
|
|
258
268
|
}
|
package/src/styles/_tasks.scss
CHANGED
|
@@ -120,10 +120,11 @@
|
|
|
120
120
|
gap: 0.5rem;
|
|
121
121
|
width: 100%;
|
|
122
122
|
padding: 0.5rem 0.625rem;
|
|
123
|
-
|
|
123
|
+
// Sidebar colours, like SidebarBox: the sidebar is dark whatever the theme (#4171)
|
|
124
|
+
border: 1px solid var(--p-surface-700, #334155);
|
|
124
125
|
border-radius: $radius-sm;
|
|
125
|
-
background:
|
|
126
|
-
color:
|
|
126
|
+
background: transparent;
|
|
127
|
+
color: var(--p-surface-200, #e2e8f0);
|
|
127
128
|
font: inherit;
|
|
128
129
|
font-size: $font-size-sm;
|
|
129
130
|
cursor: pointer;
|
|
@@ -133,7 +134,7 @@
|
|
|
133
134
|
}
|
|
134
135
|
|
|
135
136
|
&:hover {
|
|
136
|
-
background: var(--p-surface-
|
|
137
|
+
background: var(--p-surface-700, #334155);
|
|
137
138
|
}
|
|
138
139
|
}
|
|
139
140
|
|
|
@@ -206,6 +207,11 @@
|
|
|
206
207
|
.sidebar--collapsed .qd-task-tray {
|
|
207
208
|
padding: 0.25rem;
|
|
208
209
|
|
|
210
|
+
.qd-task-tray-button {
|
|
211
|
+
justify-content: center;
|
|
212
|
+
padding: 0.5rem 0.25rem;
|
|
213
|
+
}
|
|
214
|
+
|
|
209
215
|
.qd-task-tray-label {
|
|
210
216
|
display: none;
|
|
211
217
|
}
|
package/src/tasks/taskStore.ts
CHANGED
|
@@ -366,9 +366,10 @@ function createTaskStore() {
|
|
|
366
366
|
}
|
|
367
367
|
|
|
368
368
|
/**
|
|
369
|
-
* Start a task and follow it. Resolves with the run once the task
|
|
370
|
-
*
|
|
371
|
-
* moves on in the store.
|
|
369
|
+
* Start a task and follow it. Resolves with the run once the task has
|
|
370
|
+
* started (queued), NOT when it ends, or with null when the confirmation
|
|
371
|
+
* was declined. The run moves on in the store: await `run.finished` (or
|
|
372
|
+
* pass `onSettled`) for its outcome.
|
|
372
373
|
*/
|
|
373
374
|
async function run(options: RunOptions): Promise<TaskRun | null> {
|
|
374
375
|
const base = options.kind ? kinds.get(options.kind) : undefined
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* useTaskNotifications - running tasks in the notification zone (#4171)
|
|
3
|
+
*
|
|
4
|
+
* With the NotificationModule on, each running task is a status item of the
|
|
5
|
+
* notification panel (a click reopens its dialog) and the badge shows its
|
|
6
|
+
* work-in-progress ring until the task ends; the end itself is a toast, kept
|
|
7
|
+
* in the history. TaskHost calls it, so any layout that hosts tasks gets it.
|
|
8
|
+
*
|
|
9
|
+
* `showTray` says whether TaskTray should show too: `tasks.tray` in the
|
|
10
|
+
* Kernel options when set, else only without the notification zone.
|
|
11
|
+
*/
|
|
12
|
+
import { computed, inject, onBeforeUnmount, watch, type ComputedRef } from 'vue'
|
|
13
|
+
import { useI18n } from '../i18n/useI18n'
|
|
14
|
+
import { NOTIFICATION_KEY, type NotificationStore } from '../notifications/NotificationStore'
|
|
15
|
+
import { getTaskStore, type TaskRun } from './taskStore'
|
|
16
|
+
|
|
17
|
+
export interface TasksConfig {
|
|
18
|
+
/** Show TaskTray in the sidebar. Default: only when the notification zone is off. */
|
|
19
|
+
tray?: boolean
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
const STATUS_PREFIX = 'task:'
|
|
23
|
+
|
|
24
|
+
/** Whether TaskTray shows, for the current app. */
|
|
25
|
+
export function useTaskTrayVisible(): ComputedRef<boolean> {
|
|
26
|
+
const notifications = inject<NotificationStore | null>(NOTIFICATION_KEY, null)
|
|
27
|
+
const config = inject<TasksConfig>('qdadmTasksConfig', {})
|
|
28
|
+
return computed(() => config.tray ?? !notifications)
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export function useTaskNotifications(): void {
|
|
32
|
+
const notifications = inject<NotificationStore | null>(NOTIFICATION_KEY, null)
|
|
33
|
+
if (!notifications) return
|
|
34
|
+
const store = getTaskStore()
|
|
35
|
+
const { t } = useI18n()
|
|
36
|
+
const tracked = new Set<string>()
|
|
37
|
+
const shown = new Set<string>()
|
|
38
|
+
|
|
39
|
+
const stateText = (run: TaskRun): string =>
|
|
40
|
+
run.progress !== null ? `${Math.round(run.progress)} %` : t(`core.task.status.${run.status}`)
|
|
41
|
+
|
|
42
|
+
const stop = watch(
|
|
43
|
+
() => store.active.value.map((r) => ({ run: r, label: r.label, status: r.status, progress: r.progress })),
|
|
44
|
+
(entries) => {
|
|
45
|
+
const ids = new Set<string>()
|
|
46
|
+
for (const { run } of entries) {
|
|
47
|
+
const id = STATUS_PREFIX + run.id
|
|
48
|
+
ids.add(id)
|
|
49
|
+
notifications.registerStatus({
|
|
50
|
+
id,
|
|
51
|
+
label: `${run.label} — ${stateText(run)}`,
|
|
52
|
+
severity: 'nominal',
|
|
53
|
+
icon: 'pi pi-spin pi-spinner',
|
|
54
|
+
onClick: () => store.open(run.id),
|
|
55
|
+
})
|
|
56
|
+
shown.add(id)
|
|
57
|
+
if (!tracked.has(run.id)) {
|
|
58
|
+
tracked.add(run.id)
|
|
59
|
+
void notifications.track(run.finished).finally(() => tracked.delete(run.id))
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
for (const id of [...shown]) {
|
|
63
|
+
if (ids.has(id)) continue
|
|
64
|
+
notifications.removeStatus(id)
|
|
65
|
+
shown.delete(id)
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
{ immediate: true }
|
|
69
|
+
)
|
|
70
|
+
|
|
71
|
+
onBeforeUnmount(() => {
|
|
72
|
+
stop()
|
|
73
|
+
for (const id of shown) notifications.removeStatus(id)
|
|
74
|
+
shown.clear()
|
|
75
|
+
})
|
|
76
|
+
}
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* ```ts
|
|
5
5
|
* const tasks = useTaskRunner()
|
|
6
|
-
*
|
|
6
|
+
* // run() resolves once the task has STARTED (queued), not when it ends;
|
|
7
|
+
* // it resolves with null when the user declines the confirmation.
|
|
8
|
+
* const run = await tasks.run({
|
|
7
9
|
* label: `Create box ${name}`,
|
|
8
10
|
* start: () => api.post('/boxes', { name }).then((r) => r.data), // → { task_id }
|
|
9
11
|
* task: { entity: 'tasks' }, // follow the task record
|
|
@@ -11,6 +13,12 @@
|
|
|
11
13
|
* cancel: (id) => api.post(`/tasks/${id}/cancel`),
|
|
12
14
|
* to: (id) => ({ name: 'task-show', params: { id } }),
|
|
13
15
|
* })
|
|
16
|
+
* // The end: run.finished settles with the final run, whatever the outcome
|
|
17
|
+
* const end = await run?.finished
|
|
18
|
+
* if (end?.status === 'failed') console.warn(end.error)
|
|
19
|
+
*
|
|
20
|
+
* // Or react to the end without awaiting it (also fires after a reload resume)
|
|
21
|
+
* tasks.run({ label: 'Refresh db', start, task: { entity: 'tasks' }, onSettled: () => list.refresh() })
|
|
14
22
|
*
|
|
15
23
|
* // As a row action, with a typed confirmation
|
|
16
24
|
* list.addAction('destroy', {
|
|
@@ -34,6 +42,7 @@ export function useTaskRunner() {
|
|
|
34
42
|
signals: inject('qdadmSignals', null),
|
|
35
43
|
})
|
|
36
44
|
return {
|
|
45
|
+
/** Start a task. Resolves once it has started (or null when declined); await `run.finished` for its end. */
|
|
37
46
|
run: store.run,
|
|
38
47
|
cancel: store.cancel,
|
|
39
48
|
dismiss: store.dismiss,
|