:root{--ml-font-family: system-ui, -apple-system, sans-serif;--ml-font-size: .875rem;--ml-line-height: 1.5;--ml-color-text: #1a1a2e;--ml-color-placeholder: #9ca3af;--ml-color-label: #374151;--ml-color-required: #ef4444;--ml-color-error: #ef4444;--ml-color-error-bg: #fef2f2;--ml-color-border: #d1d5db;--ml-color-border-focus:#3b82f6;--ml-color-border-error:#ef4444;--ml-color-bg: #ffffff;--ml-color-bg-disabled: #f9fafb;--ml-pill-bg: #f3f4f6;--ml-pill-bg-active: #3b82f6;--ml-pill-bg-filled: #eff6ff;--ml-pill-color: #6b7280;--ml-pill-color-active: #ffffff;--ml-pill-border: #e5e7eb;--ml-pill-border-active:#3b82f6;--ml-pill-border-required: #ef4444;--ml-toolbar-bg: #f8fafc;--ml-toolbar-border: #e2e8f0;--ml-toolbar-btn-hover: #e2e8f0;--ml-toolbar-btn-active:#dbeafe;--ml-radius: .375rem;--ml-radius-sm: .25rem;--ml-shadow-focus: 0 0 0 3px rgba(59,130,246,.25)}.ml-field{display:flex;flex-direction:column;gap:.375rem;font-family:var(--ml-font-family);font-size:var(--ml-font-size);line-height:var(--ml-line-height)}.ml-label{font-weight:600;color:var(--ml-color-label);-webkit-user-select:none;-moz-user-select:none;user-select:none}.ml-required{color:var(--ml-color-required);margin-left:.125rem}.ml-locale-selector{display:flex;flex-wrap:wrap;gap:.25rem}.ml-locale-pill{display:inline-flex;align-items:center;gap:.25rem;padding:.2rem .55rem;border:1px solid var(--ml-pill-border);border-radius:var(--ml-radius-sm);background:var(--ml-pill-bg);color:var(--ml-pill-color);font-family:var(--ml-font-family);font-size:.7rem;font-weight:600;letter-spacing:.05em;cursor:pointer;transition:background .12s,border-color .12s,color .12s;white-space:nowrap}.ml-locale-pill:hover:not(.ml-locale-pill--active){background:var(--ml-pill-bg-filled);border-color:var(--ml-pill-border-active);color:var(--ml-pill-color-active)}.ml-locale-pill--active{background:var(--ml-pill-bg-active);border-color:var(--ml-pill-border-active);color:var(--ml-pill-color-active)}.ml-locale-pill--filled:not(.ml-locale-pill--active){background:var(--ml-pill-bg-filled);border-color:#bfdbfe;color:#1d4ed8}.ml-locale-pill--required{border-color:var(--ml-pill-border-required)!important;color:var(--ml-color-required)!important}.ml-locale-dot{font-size:.45rem;line-height:1}.ml-input,.ml-textarea{width:100%;padding:.5rem .75rem;border:1px solid var(--ml-color-border);border-radius:var(--ml-radius);background:var(--ml-color-bg);color:var(--ml-color-text);font-family:var(--ml-font-family);font-size:var(--ml-font-size);line-height:var(--ml-line-height);box-sizing:border-box;transition:border-color .15s,box-shadow .15s;outline:none}.ml-input::-moz-placeholder,.ml-textarea::-moz-placeholder{color:var(--ml-color-placeholder)}.ml-input::placeholder,.ml-textarea::placeholder{color:var(--ml-color-placeholder)}.ml-input:focus,.ml-textarea:focus{border-color:var(--ml-color-border-focus);box-shadow:var(--ml-shadow-focus)}.ml-input:disabled,.ml-textarea:disabled{background:var(--ml-color-bg-disabled);cursor:not-allowed;opacity:.7}.ml-input--error,.ml-textarea.ml-input--error{border-color:var(--ml-color-border-error);background:var(--ml-color-error-bg)}.ml-input--error:focus,.ml-textarea.ml-input--error:focus{box-shadow:0 0 0 3px #ef444433}.ml-textarea{resize:vertical}.ml-error{display:block;color:var(--ml-color-error);font-size:.75rem;margin-top:.125rem}.ml-field--rich .ml-rich-wrapper{border:1px solid var(--ml-color-border);border-radius:var(--ml-radius);background:var(--ml-color-bg);overflow:hidden;transition:border-color .15s,box-shadow .15s}.ml-field--rich .ml-rich-wrapper:focus-within{border-color:var(--ml-color-border-focus);box-shadow:var(--ml-shadow-focus)}.ml-field--rich .ml-rich-wrapper.ml-input--error{border-color:var(--ml-color-border-error);background:var(--ml-color-error-bg)}.ml-field--rich .ml-rich-wrapper.ml-input--error:focus-within{box-shadow:0 0 0 3px #ef444433}.ml-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.125rem;padding:.375rem .5rem;background:var(--ml-toolbar-bg);border-bottom:1px solid var(--ml-toolbar-border)}.ml-toolbar-btn{display:inline-flex;align-items:center;justify-content:center;min-width:2rem;height:2rem;padding:0 .375rem;border:none;border-radius:var(--ml-radius-sm);background:transparent;color:var(--ml-color-text);font-family:var(--ml-font-family);font-size:.8rem;font-weight:600;cursor:pointer;transition:background .1s}.ml-toolbar-btn:hover:not(:disabled){background:var(--ml-toolbar-btn-hover)}.ml-toolbar-btn--active{background:var(--ml-toolbar-btn-active);color:#1d4ed8}.ml-toolbar-btn:disabled{opacity:.35;cursor:default}.ml-toolbar-divider{width:1px;height:1.25rem;background:var(--ml-toolbar-border);margin:0 .25rem;flex-shrink:0}.ml-rich-editor{padding:.625rem .75rem;outline:none}.ml-rich-editor .tiptap{outline:none;min-height:inherit;color:var(--ml-color-text);font-family:var(--ml-font-family);font-size:var(--ml-font-size);line-height:var(--ml-line-height)}.ml-rich-editor .tiptap p.is-editor-empty:first-child:before{content:attr(data-placeholder);color:var(--ml-color-placeholder);float:left;pointer-events:none;height:0}.ml-rich-editor .tiptap h2{font-size:1.25rem;font-weight:700;margin:.75em 0 .25em}.ml-rich-editor .tiptap h3{font-size:1.05rem;font-weight:700;margin:.75em 0 .25em}.ml-rich-editor .tiptap p{margin:0 0 .5em}.ml-rich-editor .tiptap p:last-child{margin-bottom:0}.ml-rich-editor .tiptap ul,.ml-rich-editor .tiptap ol{padding-left:1.5rem;margin:.25em 0 .5em}.ml-rich-editor .tiptap li{margin:.125em 0}.ml-rich-editor .tiptap blockquote{border-left:3px solid var(--ml-color-border-focus);padding-left:.75rem;color:#6b7280;margin:.5em 0}.ml-rich-editor .tiptap code{background:#f1f5f9;border-radius:var(--ml-radius-sm);padding:.1em .35em;font-size:.85em;font-family:ui-monospace,monospace}.ml-rtl .tiptap,.ml-rtl .ml-rich-editor{direction:rtl;text-align:right}.ml-rtl .tiptap ul,.ml-rtl .tiptap ol{padding-left:0;padding-right:1.5rem}.ml-rtl .tiptap blockquote{border-left:none;border-right:3px solid var(--ml-color-border-focus);padding-left:0;padding-right:.75rem}.dl{display:flex;flex-direction:column;gap:12px;font-size:14px;color:#1e293b}.dl-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.dl-title{font-size:16px;font-weight:700;margin:0}.dl-toolbar{display:flex;align-items:center;gap:8px}.dl-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;padding:12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px}.dl-filter{display:flex;flex-direction:column;gap:4px;min-width:160px}.dl-filter-label{font-size:11px;font-weight:600;color:#64748b}.dl-filter-actions{display:flex;gap:8px;margin-left:auto}.dl-control{width:100%;padding:7px 10px;font-size:14px;color:#1e293b;background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none}.dl-control:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11f}.dl-control-sm{width:auto;padding:5px 8px}.dl-table-wrap{overflow-x:auto;border:1px solid #e2e8f0;border-radius:12px}.dl-table{width:100%;border-collapse:collapse}.dl-table thead th{text-align:left;font-size:12px;font-weight:600;color:#64748b;padding:10px 12px;background:#f8fafc;border-bottom:1px solid #e2e8f0;white-space:nowrap}.dl-th-sortable{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dl-th-sortable:hover{color:#4338ca}.dl-sort-ind{margin-left:6px;font-size:10px;color:#94a3b8}.dl-th-actions{text-align:right}.dl-w-sm{width:96px}.dl-w-md{width:160px}.dl-w-lg{width:240px}.dl-w-xl{width:320px}.dl-table tbody td{padding:10px 12px;border-bottom:1px solid #f1f5f9;vertical-align:middle}.dl-table tbody tr:last-child td{border-bottom:none}.dl-table tbody tr:hover td{background:#f8fafc}.dl-td-actions{text-align:right;white-space:nowrap}.dl-td-actions>*{margin-left:6px}.dl-state{text-align:center;color:#94a3b8;padding:28px 12px}.dl-error{color:#dc2626}.dl-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;font-size:13px;font-weight:600;color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;transition:all .15s}.dl-btn:hover:not(:disabled){background:#f1f5f9}.dl-btn:disabled{opacity:.5;cursor:not-allowed}.dl-btn-sm{padding:5px 10px;font-size:12px}.dl-btn-primary{background:#4f46e5;border-color:#4f46e5;color:#fff}.dl-btn-primary:hover:not(:disabled){background:#4338ca}.dl-btn-danger{color:#dc2626;border-color:#fecaca;background:#fff}.dl-btn-danger:hover:not(:disabled){background:#fef2f2}.dl-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.dl-pagesize{display:flex;align-items:center;gap:8px;font-size:13px;color:#64748b}.dl-pager{display:flex;align-items:center;gap:8px}.dl-count{font-size:13px;color:#64748b;margin-right:4px}.dl-page-ind{font-size:13px;color:#334155;min-width:56px;text-align:center}.df{display:flex;flex-direction:column;gap:1.25rem;width:100%;container-type:inline-size}.df-panel{display:block}.df-panel-title{font-size:.95em;font-weight:600;margin:0 0 .75rem;padding-bottom:.5rem;border-bottom:1px solid var(--df-border, #e2e8f0);color:var(--df-heading, #334155)}.df-grid{display:grid;gap:1rem}.df-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.df-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.df-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.df-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.df-span-1{grid-column:span 1}.df-span-2{grid-column:span 2}.df-span-3{grid-column:span 3}.df-span-4{grid-column:span 4}@container (max-width: 920px){.df-cols-3,.df-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}.df-span-3,.df-span-4{grid-column:span 2}}@container (max-width: 560px){.df-cols-2,.df-cols-3,.df-cols-4{grid-template-columns:1fr}.df-span-2,.df-span-3,.df-span-4{grid-column:span 1}}@media (max-width: 560px){.df-cols-2,.df-cols-3,.df-cols-4{grid-template-columns:1fr}.df-span-2,.df-span-3,.df-span-4{grid-column:span 1}}.df-field{display:flex;flex-direction:column}.df-label{font-size:.8em;font-weight:600;color:var(--df-label, #475569);margin-bottom:.25rem}.df-required{color:var(--df-danger, #ef4444);margin-left:.15rem}.df-control{width:100%;box-sizing:border-box;padding:.5rem .75rem;border:1px solid var(--df-border, #cbd5e1);border-radius:.5rem;background:var(--df-field-bg, #ffffff);color:inherit;font:inherit;outline:none}.df-control:focus{border-color:var(--df-accent, #4f46e5);box-shadow:0 0 0 3px #4f46e51f}.df-textarea{min-height:5rem;resize:vertical}.df-select-multi{min-height:7rem}.df-readonly{background:var(--df-readonly-bg, #f8fafc);color:var(--df-readonly-text, #64748b)}.df-invalid{border-color:var(--df-danger, #ef4444);background:var(--df-danger-bg, #fef2f2)}.df-help{font-size:.72em;color:var(--df-hint, #94a3b8);margin-top:.2rem}.df-error{font-size:.72em;color:var(--df-danger, #ef4444);margin-top:.2rem}.df-choice{display:flex;flex-direction:column;gap:.4rem;padding-top:.25rem}.df-choice-row{flex-direction:row;flex-wrap:wrap;gap:.4rem 1.25rem}.df-choice-item{display:flex;align-items:center;gap:.5rem;font-size:.9em}.df-choice-hint{font-size:.8em;color:var(--df-hint, #94a3b8)}.df-msg{border-radius:.5rem;padding:.6rem 1rem;font-size:.9em}.df-msg-success{background:var(--df-success-bg, #f0fdf4);border:1px solid #bbf7d0;color:var(--df-success, #15803d)}.df-msg-error{background:var(--df-danger-bg, #fef2f2);border:1px solid #fecaca;color:var(--df-danger, #b91c1c)}.df-actions{display:flex;gap:.75rem;flex-wrap:wrap}.df-actions-left{justify-content:flex-start}.df-actions-center{justify-content:center}.df-actions-right{justify-content:flex-end}.df-btn{padding:.55rem 1.25rem;border-radius:.5rem;font:inherit;font-weight:600;cursor:pointer;border:1px solid transparent;transition:background-color .15s,border-color .15s}.df-btn:disabled{opacity:.6;cursor:not-allowed}.df-btn-submit{background:var(--df-accent, #4f46e5);color:var(--df-accent-text, #ffffff)}.df-btn-submit:hover:not(:disabled){background:var(--df-accent-hover, #4338ca)}.df-btn-reset,.df-btn-cancel{background:var(--df-field-bg, #ffffff);border-color:var(--df-border, #cbd5e1);color:var(--df-label, #475569)}.df-btn-reset:hover:not(:disabled),.df-btn-cancel:hover:not(:disabled){background:var(--df-readonly-bg, #f8fafc)}.df-state{padding:1.5rem;color:var(--df-hint, #94a3b8);font-size:.9em}.df-state-error{color:var(--df-danger, #ef4444)}.df-steps{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;margin:0 0 .5rem;padding:0}.df-step{display:flex;align-items:center;gap:.4rem;padding:.25rem .5rem;border-radius:999px;cursor:default;opacity:.6;font-size:.85em}.df-step-active{opacity:1;font-weight:600}.df-step-done{opacity:.85;cursor:pointer}.df-step-dot{display:inline-flex;align-items:center;justify-content:center;width:1.4em;height:1.4em;border-radius:50%;border:1px solid currentColor;font-size:.8em;line-height:1}.df-step-active .df-step-dot,.df-step-done .df-step-dot{background:currentColor;color:#fff}.df-progress{height:4px;border-radius:999px;background:#00000014;overflow:hidden;margin-bottom:1rem}.df-progress-bar{height:100%;background:currentColor;transition:width .25s ease}.df-wizard-nav{display:flex;align-items:center;gap:.5rem}.df-wizard-spacer{flex:1}.df-wizard-count{font-size:.85em;opacity:.7}.df-btn-back:disabled{opacity:.4;cursor:not-allowed}
