.wt-modal-overlay{display:none;position:fixed;inset:0;z-index:10000;align-items:center;justify-content:center;background:rgba(0,0,0,0.5);padding:20px}.wt-modal-overlay.wt-modal-confirm{z-index:10001}body.wt-tile-expanded:not(.wt-modal-invoker-scoped) .wt-modal-overlay:not(.wt-modal-confirm){top:var(--wt-tile-panel-top,0);left:var(--wt-tile-panel-left,0);right:auto;bottom:auto;width:var(--wt-tile-panel-w,100vw);height:var(--wt-tile-panel-h,100vh);box-sizing:border-box;border-radius:var(--wt-tile-radius,14px)}body.wt-tile-expanded:not(.wt-modal-invoker-scoped) .wt-modal-overlay:not(.wt-modal-confirm) .wt-modal,body.wt-tile-expanded:not(.wt-modal-invoker-scoped) .wt-modal-overlay:not(.wt-modal-confirm) .wt-modal-sm,body.wt-tile-expanded:not(.wt-modal-invoker-scoped) .wt-modal-overlay:not(.wt-modal-confirm) .wt-modal-md,body.wt-tile-expanded:not(.wt-modal-invoker-scoped) .wt-modal-overlay:not(.wt-modal-confirm) .wt-modal-lg{max-height:calc(var(--wt-tile-panel-h,100vh) - 40px)}body.wt-modal-invoker-scoped .wt-modal-overlay-invoker-scoped:not(.wt-modal-confirm){z-index:10002}.wt-modal{background:var(--tab-content-bg,#ffffff);border:1px solid var(--container-border-color,#e0e0e0);border-radius:10px;width:100%;max-width:520px;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);display:flex;flex-direction:column;overflow:hidden;box-shadow:0 8px 30px rgba(0,0,0,0.25);font-family:'IBM Plex Sans',-apple-system,BlinkMacSystemFont,sans-serif;transform:scale(0.95) translateY(-10px);transition:transform 0.2s ease-out}.wt-modal-overlay.visible .wt-modal,.wt-modal-overlay.visible .wt-modal-sm,.wt-modal-overlay.visible .wt-modal-md,.wt-modal-overlay.visible .wt-modal-lg{transform:scale(1) translateY(0)}.wt-modal-sm{max-width:400px}.wt-modal-md{max-width:600px}.wt-modal-lg{max-width:800px}.wt-modal-sm,.wt-modal-md,.wt-modal-lg{background:var(--tab-content-bg,#ffffff);border:1px solid var(--container-border-color,#e0e0e0);border-radius:10px;width:100%;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);display:flex;flex-direction:column;overflow:hidden;box-shadow:0 8px 30px rgba(0,0,0,0.25);font-family:'IBM Plex Sans',-apple-system,BlinkMacSystemFont,sans-serif;transform:scale(0.95) translateY(-10px);transition:transform 0.2s ease-out}.wt-modal,.wt-modal-sm,.wt-modal-md,.wt-modal-lg,.filament-edit-modal{position:relative}.wt-modal-overlay .wt-resize-grip,.filament-edit-modal-overlay .wt-resize-grip{width:16px;height:16px;border-bottom-right-radius:10px;--wt-resize-grip-ink:var(--text-color,#333333)}.wt-modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid var(--container-border-color,#e0e0e0);flex-shrink:0}.wt-modal-title-group{display:flex;align-items:center;gap:10px;min-width:0}.wt-modal-header h3,.wt-modal-header h2{margin:0;font-size:1.05rem;font-weight:600;color:var(--text-color,#333333)}.wt-modal-close{background:none;border:1px solid transparent;border-radius:6px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;font-size:1.25rem;line-height:1;color:var(--text-color,#333333);opacity:0.4;cursor:pointer;transition:all 0.15s ease;flex-shrink:0;padding:0}.wt-modal-close:hover{opacity:1;background:var(--header-bg,#f5f5f5);border-color:var(--container-border-color,#e0e0e0)}.wt-modal-close.wt-btn{width:auto;height:auto;opacity:1;font-size:0.85rem;padding:9px 16px}.wt-modal-body{padding:20px;overflow-y:auto;flex:1}.wt-modal-footer{display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:14px 20px;border-top:1px solid var(--container-border-color,#e0e0e0);flex-shrink:0}.wt-modal-body>label,.wt-modal-body .form-group>label,.wt-modal-body .wt-modal-form-group>label{display:block;font-size:0.78rem;font-weight:500;margin-bottom:5px;color:color-mix(in srgb,var(--text-color,#333333) 60%,transparent)}.wt-modal-body input[type="text"],.wt-modal-body input[type="number"],.wt-modal-body input[type="email"],.wt-modal-body input[type="url"],.wt-modal-body input[type="password"],.wt-modal-body select,.wt-modal-body textarea{width:100%;padding:9px 12px;border:1px solid var(--container-border-color,#e0e0e0);border-radius:6px;background:var(--background-color,#f0f0f0);color:var(--text-color,#333333);font-family:inherit;font-size:0.85rem;box-sizing:border-box;transition:border-color 0.15s,box-shadow 0.15s}.wt-modal-body input:focus,.wt-modal-body select:focus,.wt-modal-body textarea:focus{outline:none;border-color:var(--wt-btn-accent,#0ea5e9);box-shadow:0 0 0 2px rgba(14,165,233,0.15)}.wt-modal-body .form-group .wt-dd,.wt-modal-body .wt-modal-form-group .wt-dd{width:100%;display:block}.wt-modal-body .wt-loc-dd>input[type="text"]{padding-right:30px}.prompt-dialog-input{width:100%;padding:10px 12px;font-size:14px;border:1px solid var(--container-border-color,#444);border-radius:6px;background:var(--input-bg,rgba(255,255,255,0.05));color:var(--text-color,#e0e0e0);margin-top:12px;box-sizing:border-box;transition:border-color 0.15s,box-shadow 0.15s}.prompt-dialog-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,0.2)}.prompt-dialog-input::placeholder{color:var(--text-color,#e0e0e0);opacity:0.4}.wt-input-with-reveal:has(>.prompt-dialog-input){margin-top:12px}.wt-input-with-reveal.prompt-dialog-reveal{display:inline-block;width:100%;margin-top:12px}.wt-input-with-reveal>.prompt-dialog-input{margin-top:0;display:block}.wt-modal-context{padding:10px 14px;background:var(--header-bg,#f5f5f5);border-radius:6px;margin-bottom:14px;font-size:0.85rem}.wt-modal-context.wt-modal-drop-active{box-shadow:inset 0 0 0 2px var(--wt-theme-accent,#3b82f6);background:color-mix(in srgb,var(--wt-theme-accent,#3b82f6) 14%,var(--header-bg,#f5f5f5))}.wt-modal-scroll-list{max-height:180px;overflow-y:auto;margin-bottom:14px}.wt-modal-link-list{list-style:none;margin:-6px 0 14px;padding:0;max-height:140px;overflow-y:auto}.wt-modal-link-list li{font-size:0.85rem;line-height:1.6}.wt-modal-link-list button{background:none;border:0;padding:0;color:var(--wt-theme-accent,#3b82f6);font:inherit;text-align:left;cursor:pointer}.wt-modal-link-list button:hover,.wt-modal-link-list button:focus-visible{text-decoration:underline}.wt-modal-form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.wt-modal-body .form-group,.wt-modal-body .wt-modal-form-group{margin-bottom:14px}.wt-modal-note{font-size:0.78rem;color:color-mix(in srgb,var(--text-color,#333333) 60%,transparent)}.wt-modal-warn{font-size:0.78rem;color:var(--wt-pill-paused-ink,#b45309)}.wt-modal-error{font-size:0.8rem;font-weight:500;color:var(--wt-status-error,#ef4444)}.wt-modal-warn:empty,.wt-modal-error:empty{display:none}.wt-modal-inline{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}.wt-modal-body .wt-modal-inline>input[type="number"]{flex:1 1 auto;min-width:5rem;width:auto}.wt-modal-spaced{margin-top:6px}.wt-modal-gap{margin-bottom:10px}@media (max-width:768px){.wt-modal-overlay{padding:10px}.wt-modal,.wt-modal-sm,.wt-modal-md,.wt-modal-lg{max-width:100%;max-height:calc(100vh - 20px);border-radius:8px}.wt-modal-header{padding:14px 16px}.wt-modal-body{padding:16px}.wt-modal-footer{padding:12px 16px}.wt-modal-close{min-width:36px;min-height:36px}}@media (max-width:480px){.wt-modal-close{min-width:40px;min-height:40px}}@media (max-width:768px),(max-height:500px){.wt-modal-overlay{top:var(--wt-top-bar-h,0px)}.wt-modal,.wt-modal-sm,.wt-modal-md,.wt-modal-lg{max-height:calc(100vh - var(--wt-top-bar-h,0px) - 40px);max-height:calc(100dvh - var(--wt-top-bar-h,0px) - 40px)}}.wt-power-panel{display:flex;flex-direction:column}.wt-power-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--container-border-color,#e0e0e0)}.wt-power-row:first-child{border-top:none}.wt-power-row-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;border-radius:8px;color:color-mix(in srgb,var(--text-color,#333333) 60%,transparent);background:color-mix(in srgb,var(--text-color,#333333) 8%,transparent)}.wt-power-row-on .wt-power-row-icon{color:var(--wt-theme-accent,#3b82f6);background:color-mix(in srgb,var(--wt-theme-accent,#3b82f6) 15%,transparent)}.wt-power-row-text{flex:1;min-width:0}.wt-power-row-name{color:var(--text-color,#333333);font-weight:600;overflow-wrap:anywhere}.wt-power-row-detail{font-size:0.8rem;color:color-mix(in srgb,var(--text-color,#333333) 60%,transparent)}.wt-power-row-follower{padding-left:24px}.wt-power-row-follower .wt-power-row-icon{width:26px;height:26px;font-size:0.8rem}