:is(.github-publish-backdrop,.wordpress-install-backdrop,.artifact-dialog-backdrop,.conversation-dialog-backdrop,.conversation-search-backdrop,.attachment-preview-backdrop){z-index:140;-webkit-backdrop-filter:none;backdrop-filter:none;background:#13151b61;place-items:center;padding:24px;display:grid;position:fixed;inset:0}:is(.github-publish-dialog,.wordpress-install-dialog,.artifact-ai-dialog,.conversation-dialog,.conversation-search-dialog,.attachment-preview-dialog){border:1px solid var(--wptr-border);min-width:0;max-height:calc(100dvh - 48px);color:var(--wptr-text);background:var(--wptr-surface-elevated);box-shadow:var(--shadow-subtle);scrollbar-width:thin;scrollbar-color:var(--wptr-border-strong) transparent;border-radius:24px;overflow-y:auto}.github-publish-dialog,.wordpress-install-dialog{width:min(580px,100%)}.artifact-ai-dialog{width:min(580px,100%);padding:28px}.conversation-dialog{width:min(480px,100%);padding:28px}.github-publish-dialog>header,.wordpress-install-dialog>header{border-bottom:1px solid var(--wptr-border);min-height:96px;padding:24px 28px}.github-publish-dialog>header span,.wordpress-install-dialog>header span{color:var(--wptr-text-tertiary);letter-spacing:-.01em;font-family:inherit;font-size:12px;font-weight:500}.github-publish-dialog h2,.wordpress-install-dialog h2,.conversation-dialog h2{color:var(--wptr-text);letter-spacing:-.02em;margin:6px 0 0;font-size:22px;font-weight:600;line-height:1.3}.github-publish-dialog form{gap:20px;padding:24px 28px 28px}.github-publish-fields{gap:16px}.wordpress-install-body{padding:24px 28px}.wordpress-install-dialog>footer{border-top:1px solid var(--wptr-border);padding:20px 28px}.conversation-dialog>header{border-bottom:1px solid var(--wptr-border);margin-bottom:22px;padding-bottom:22px}.conversation-dialog>header button,.conversation-search-close{width:36px;min-height:36px;color:var(--wptr-text-secondary);background:var(--wptr-surface-deep);border:0;border-radius:9999px;place-items:center;padding:0;display:grid}.conversation-dialog h2{margin:0}.conversation-dialog form,.conversation-dialog>div{gap:16px}:is(.github-publish-dialog,.wordpress-install-body,.artifact-ai-dialog,.artifact-tree-form,.conversation-dialog) label{color:var(--wptr-text);font-size:13px;font-weight:600;line-height:1.5}:is(.github-publish-dialog,.wordpress-install-body,.artifact-ai-dialog,.artifact-tree-form,.conversation-dialog) :is(input,select,textarea){border:1px solid var(--wptr-control-border);min-width:0;min-height:44px;color:var(--wptr-text);background-color:var(--wptr-surface);box-shadow:none;border-radius:12px;padding:11px 14px;font-size:14px;line-height:1.5}:is(.github-publish-dialog,.wordpress-install-dialog,.artifact-ai-dialog,.conversation-dialog) :is(input,select,textarea):focus-visible{border-color:var(--wptr-text);outline:2px solid var(--wptr-focus);outline-offset:3px;box-shadow:none}:is(.github-publish-dialog,.wordpress-install-dialog,.conversation-dialog) footer button,.github-publish-complete a,.artifact-ai-dialog-actions button{border:1px solid var(--wptr-control-border);min-height:44px;color:var(--wptr-text);box-shadow:none;background:0 0;border-radius:9999px;justify-content:center;align-items:center;gap:8px;padding:11px 20px;font-size:14px;font-weight:600;text-decoration:none;display:inline-flex}.github-publish-dialog form>footer .github-publish-submit,.wordpress-install-dialog>footer .wordpress-install-primary,.artifact-ai-dialog-actions .artifact-ai-submit,.conversation-dialog footer button.primary{color:var(--wptr-accent-foreground);border-color:var(--wptr-accent);background:var(--wptr-accent)}.github-publish-dialog form>footer .github-publish-submit:hover:not(:disabled),.wordpress-install-dialog>footer .wordpress-install-primary:hover:not(:disabled),.artifact-ai-dialog-actions .artifact-ai-submit:hover:not(:disabled),.conversation-dialog footer button.primary:hover:not(:disabled){background:var(--wptr-accent-hover);border-color:var(--wptr-accent-hover)}.conversation-dialog footer button.danger{color:var(--wptr-danger-text);border-color:color-mix(in srgb, var(--wptr-danger-text) 30%, var(--wptr-border));background:var(--wptr-danger-surface)}.github-publish-dialog form>footer,.artifact-ai-dialog-actions,.conversation-dialog footer{flex-wrap:wrap;gap:12px;margin-top:8px}.github-publish-target,.artifact-ai-credit-note{color:var(--wptr-text-secondary);background:var(--wptr-surface-deep);border-radius:12px;padding:12px 14px;font-size:12px;line-height:1.6}.github-publish-status{color:var(--wptr-text-secondary);background:var(--wptr-surface-deep);border:0;border-radius:12px;padding:14px 16px}.github-publish-status p{color:inherit;font-size:13px;line-height:1.6}.github-publish-status>span{border-color:var(--wptr-border);border-top-color:var(--wptr-text)}.github-publish-status.error,.github-publish-status.error p{color:var(--wptr-danger-text);background:var(--wptr-danger-surface)}.github-publish-complete{gap:16px;padding:40px 28px}.github-publish-complete>svg{color:var(--wptr-success-text)}.github-publish-complete strong{color:var(--wptr-text);font-size:20px}.github-publish-complete p{color:var(--wptr-text-secondary);overflow-wrap:anywhere;font-size:14px}.artifact-ai-dialog-heading{gap:12px;margin-bottom:24px}.artifact-ai-dialog-heading>span{width:36px;height:36px;color:var(--wptr-text);background:var(--wptr-surface-deep);border-radius:10px;flex-shrink:0;place-items:center;display:grid}.artifact-ai-dialog-heading strong{color:var(--wptr-text);font-size:20px;font-weight:600}.artifact-ai-dialog-heading p{color:var(--wptr-text-secondary);margin-top:7px;font-size:14px;line-height:1.6}.artifact-ai-dialog textarea{resize:vertical;min-height:150px}.artifact-ai-dialog>p[role=status]{color:var(--wptr-text-secondary);margin:12px 0;font-size:13px;line-height:1.6}.conversation-dialog p{color:var(--wptr-text-secondary);font-size:14px;line-height:1.65}.conversation-dialog p[role=alert]{color:var(--wptr-danger-text);background:var(--wptr-danger-surface);border-radius:12px;padding:12px 14px}.wordpress-install-review{gap:0}.wordpress-install-review>div,.wordpress-activate-warning>div{border-bottom:1px solid var(--wptr-border);gap:16px;padding:14px 0}.wordpress-install-review span,.wordpress-activate-warning span{color:var(--wptr-text-secondary);font-size:13px}.wordpress-install-review strong,.wordpress-activate-warning strong{color:var(--wptr-text);overflow-wrap:anywhere;font-size:13px;font-weight:600}.wordpress-install-warning,.wordpress-install-error{color:var(--wptr-warning-text);background:var(--wptr-warning-surface);border:0;border-radius:12px;padding:14px 16px;font-size:13px;line-height:1.65}.wordpress-install-error{color:var(--wptr-danger-text);background:var(--wptr-danger-surface)}.wordpress-activate-warning>svg{color:var(--wptr-warning-text)}.wordpress-activate-warning>p{color:var(--wptr-text-secondary);font-size:14px;line-height:1.65}.wordpress-install-progress,.wordpress-install-success{min-height:240px}.wordpress-install-progress svg{color:var(--wptr-text-secondary)}.wordpress-install-progress strong,.wordpress-install-success strong{color:var(--wptr-text);font-size:18px}.wordpress-install-progress p,.wordpress-install-success p,.wordpress-install-success small{color:var(--wptr-text-secondary);font-size:13px;line-height:1.65}.wordpress-install-success>span{color:var(--wptr-success-text);background:var(--wptr-success-surface)}.conversation-search-backdrop{align-items:start;padding-top:min(14dvh,140px)}.conversation-search-dialog{width:min(820px,100vw - 48px);padding:0}.conversation-search-input-row{border-bottom:1px solid var(--wptr-border);gap:14px;min-height:76px;padding:18px 24px}.conversation-search-input-row>svg{color:var(--wptr-text-tertiary)}.conversation-search-input-row input{min-width:0;min-height:40px;color:var(--wptr-text);background:0 0;border:0;border-radius:0;flex:1;font-size:17px;font-weight:500}.conversation-search-input-row:focus-within{border-bottom-color:var(--wptr-focus);box-shadow:inset 0 -1px 0 var(--wptr-focus)}.conversation-search-input-row input:focus-visible{box-shadow:none;outline:none}.conversation-search-input-row input::placeholder{color:var(--wptr-text-tertiary)}.conversation-search-input-row kbd{border:1px solid var(--wptr-border);color:var(--wptr-text-tertiary);background:var(--wptr-surface-deep);border-radius:6px;padding:4px 6px;font-size:11px}.conversation-search-close{flex-shrink:0}.conversation-search-results{max-height:min(440px,60dvh);padding:8px}.conversation-search-result{min-height:72px;color:var(--wptr-text);background:0 0;border:0;border-radius:12px;gap:20px;padding:14px 16px}.conversation-search-result[data-active=true],.conversation-search-result:hover{color:var(--wptr-text);background:var(--wptr-surface-deep);box-shadow:var(--shadow-subtle)}.conversation-search-result strong{color:var(--wptr-text);font-size:15px;font-weight:600}.conversation-search-result small{color:var(--wptr-text-secondary);margin-top:6px;font-size:13px;line-height:1.5}.conversation-search-result time{color:var(--wptr-text-tertiary);font-size:12px}.conversation-search-state,.conversation-search-guest{min-height:160px;color:var(--wptr-text-secondary);padding:32px;font-size:14px;line-height:1.6}.conversation-search-state[role=alert]{color:var(--wptr-danger-text)}.conversation-search-guest strong{color:var(--wptr-text);font-size:17px;font-weight:600}.conversation-search-guest a{border:1px solid var(--wptr-control-border);min-height:44px;color:var(--wptr-text);background:0 0;border-radius:9999px;padding:11px 20px;font-size:14px}.conversation-search-guest a:last-child{color:var(--wptr-accent-foreground);background:var(--wptr-accent);border-color:var(--wptr-accent)}.conversation-actions-menu,.attachment-menu{border:1px solid var(--wptr-border);color:var(--wptr-text);background:var(--wptr-surface-elevated);box-shadow:var(--shadow-subtle);border-radius:20px;padding:8px}.conversation-actions-menu button,.attachment-menu button{min-height:42px;color:var(--wptr-text);background:0 0;border-radius:12px;gap:12px;padding:11px 12px;font-size:13px;font-weight:500}.conversation-actions-menu button:hover,.conversation-actions-menu button:focus-visible,.attachment-menu button:hover,.attachment-menu button:focus-visible{color:var(--wptr-text);background:var(--wptr-hover)}.conversation-actions-menu button.danger{color:var(--wptr-danger-text)}.conversation-actions-menu button.danger:hover{background:var(--wptr-danger-surface)}.attachment-menu button svg{color:var(--wptr-text-tertiary)}.attachment-menu button small{color:var(--wptr-text-secondary);font-size:12px;line-height:1.5}.attachment-preview-dialog{width:min(1000px,100%);padding:20px}.attachment-preview-dialog>.icon-button{border:1px solid var(--wptr-border);width:40px;height:40px;color:var(--wptr-text);background:var(--wptr-surface-elevated);box-shadow:var(--shadow-subtle);border-radius:9999px;top:12px;right:12px}.attachment-preview-dialog>img{border-radius:12px;max-height:calc(100dvh - 156px)}.attachment-preview-dialog>p{color:var(--wptr-text-secondary);overflow-wrap:anywhere;margin:16px 0 0;font-size:13px}.attachment-thumbnail-button{border-color:var(--wptr-border);background:var(--wptr-surface-deep);box-shadow:none;border-radius:12px}.artifact-action-button{border:1px solid var(--wptr-control-border);min-height:36px;color:var(--wptr-text);background:0 0;border-radius:9999px;padding:8px 12px;font-size:12px;font-weight:600}.artifact-action-button:hover{color:var(--wptr-text);background:var(--wptr-hover);border-color:var(--wptr-border-strong)}.artifact-action-button.artifact-download-button{color:var(--wptr-accent-foreground);border-color:var(--wptr-accent);background:var(--wptr-accent)}.artifact-action-button.artifact-download-button:hover{border-color:var(--wptr-accent-hover);background:var(--wptr-accent-hover)}.artifact-action-button.artifact-install-button,.artifact-action-button.artifact-ai-button{color:var(--wptr-text);border-color:var(--wptr-control-border);background:0 0}.artifact-version-bar{border-block:1px solid var(--wptr-border);min-height:54px;color:var(--wptr-text-secondary);background:var(--wptr-surface-deep);gap:12px;padding:10px 20px}.artifact-version-bar select{border:1px solid var(--wptr-control-border);min-height:34px;color:var(--wptr-text);background-color:var(--wptr-surface);border-radius:9px;padding:6px 30px 6px 10px;font-size:12px}.artifact-version-bar>span{color:var(--wptr-text-tertiary);font-size:12px}.artifact-tree-tools{border-bottom:1px solid var(--wptr-border);background:var(--wptr-surface);padding:14px 16px}.artifact-tree-actions{flex-wrap:wrap;gap:8px}.artifact-tree-actions button,.artifact-tree-form-actions button,.artifact-code-actions button,.artifact-editor-actions button{border:1px solid var(--wptr-control-border);min-height:34px;color:var(--wptr-text);background:0 0;border-radius:9999px;padding:7px 12px;font-size:12px;font-weight:600}.artifact-tree-actions button:hover:not(:disabled),.artifact-tree-form-actions button:hover:not(:disabled),.artifact-code-actions button:hover:not(:disabled){color:var(--wptr-text);background:var(--wptr-hover);border-color:var(--wptr-border-strong)}.artifact-tree-actions .artifact-tree-delete,.artifact-tree-form-actions .danger-button{color:var(--wptr-danger-text)}.artifact-tree-form{gap:16px;padding-top:12px}.artifact-tree-form>strong{color:var(--wptr-text);font-size:14px;font-weight:600}.artifact-tree-form>p{color:var(--wptr-text-secondary);font-size:13px;line-height:1.6}.artifact-tree-form textarea{min-height:150px;font-family:var(--font-geist-mono), monospace;font-size:12px;line-height:1.7}.artifact-tree-form-actions{gap:8px}.artifact-tree-form-actions button:last-child:not(.danger-button),.artifact-editor-actions .artifact-editor-save{color:var(--wptr-accent-foreground);background:var(--wptr-accent);border-color:var(--wptr-accent)}.artifact-editor{background:var(--wptr-surface)}.artifact-editor textarea{color:var(--wptr-text);background:var(--wptr-surface);caret-color:var(--wptr-text);font-size:13px;line-height:1.8}.artifact-editor textarea:focus-visible{outline:2px solid var(--wptr-focus);outline-offset:-3px}.artifact-editor-actions{border-top:1px solid var(--wptr-border);background:var(--wptr-surface-deep);gap:8px;min-height:60px;padding:12px 16px}.artifact-inline-error{color:var(--wptr-danger-text);background:var(--wptr-danger-surface);border:0;border-radius:12px;margin:12px 0;padding:12px 14px;font-size:13px;line-height:1.6}.artifact-build-indicator{border-color:var(--wptr-border);border-top-color:var(--wptr-text)}.artifact-build-view>svg{color:var(--wptr-text-tertiary)}.artifact-build-view p,.artifact-empty-view p{color:var(--wptr-text-secondary);font-size:14px;line-height:1.65}.artifact-build-view>button{border:1px solid var(--wptr-control-border);min-height:40px;color:var(--wptr-text);background:0 0;border-radius:9999px;padding:9px 18px;font-size:13px}.artifact-code-checks,.artifact-runtime-preview{background:var(--wptr-surface-deep);box-shadow:var(--shadow-subtle);border:0;border-radius:20px;padding:20px}.artifact-code-checks>div:first-child p,.artifact-runtime-preview p,.artifact-runtime-preview>small{color:var(--wptr-text-secondary);font-size:13px;line-height:1.6}.artifact-code-checks>div:first-child button,.artifact-runtime-preview button{border:1px solid var(--wptr-control-border);min-height:40px;color:var(--wptr-text);background:var(--wptr-surface);border-radius:9999px;padding:9px 16px;font-size:12px;font-weight:600}.artifact-runtime-preview button:disabled{color:var(--wptr-text-tertiary);opacity:.6;cursor:not-allowed;background:0 0}.artifact-code-checks>ul{margin-top:20px}.artifact-code-checks>ul>li{padding:14px 0}.artifact-code-checks>ul>li>span>strong{color:var(--wptr-text);font-size:13px}.artifact-code-checks>ul>li>span>small,.artifact-code-checks>small{color:var(--wptr-text-secondary);font-size:12px;line-height:1.6}.artifact-code-checks details summary{min-width:32px;min-height:30px;color:var(--wptr-warning-text);background:var(--wptr-warning-surface);border-radius:8px;padding:6px 10px}.artifact-code-checks details ul{border:1px solid var(--wptr-border);color:var(--wptr-text);background:var(--wptr-surface-elevated);box-shadow:var(--shadow-subtle);border-radius:16px;padding:12px 16px}.artifact-preview-note{color:var(--wptr-text-secondary);background:var(--wptr-surface);border:0;border-radius:12px;padding:14px 16px;font-size:13px;line-height:1.65}@media (max-width:600px){:is(.github-publish-backdrop,.wordpress-install-backdrop,.artifact-dialog-backdrop,.conversation-dialog-backdrop,.attachment-preview-backdrop){padding:12px}:is(.github-publish-dialog,.wordpress-install-dialog,.artifact-ai-dialog,.conversation-dialog,.attachment-preview-dialog){max-height:calc(100dvh - 24px)}.github-publish-dialog>header,.wordpress-install-dialog>header{min-height:86px;padding:20px}.github-publish-dialog form,.wordpress-install-body,.wordpress-install-dialog>footer,.artifact-ai-dialog,.conversation-dialog{padding:20px}.github-publish-fields{grid-template-columns:minmax(0,1fr)}:is(.github-publish-dialog,.wordpress-install-body,.artifact-ai-dialog,.artifact-tree-form,.conversation-dialog) :is(input,select,textarea){font-size:16px}.conversation-search-backdrop{padding:20px 12px}.conversation-search-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 40px)}.conversation-search-input-row{gap:10px;padding:14px 16px}.conversation-search-input-row kbd{display:none}.conversation-search-result{gap:12px;min-height:80px;padding:14px 12px}.conversation-search-result time{font-size:11px}.conversation-search-close{width:44px;min-height:44px}.conversation-actions-menu button,.attachment-menu button{min-height:44px}.attachment-preview-dialog{padding:12px}.attachment-preview-dialog>img{max-height:calc(100dvh - 130px)}.artifact-action-button,.artifact-tree-actions button,.artifact-tree-form-actions button,.artifact-code-actions button,.artifact-editor-actions button{min-height:44px}.artifact-version-bar{flex-wrap:wrap;padding:10px 16px}.artifact-version-bar select{min-height:40px;font-size:14px}.artifact-code-checks,.artifact-runtime-preview{padding:16px}.artifact-code-checks>div:first-child{flex-direction:column;align-items:flex-start}.artifact-code-checks>div:first-child button,.artifact-runtime-preview button{min-height:44px}}
