.expanded-prompt-viewport{z-index:calc(var(--z-modal) + 20);top:var(--prompt-viewport-top,0px);left:var(--prompt-viewport-left,0px);width:var(--prompt-viewport-width,100%);height:var(--prompt-viewport-height,100dvh);padding:max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));justify-content:center;align-items:center;display:flex;position:fixed}.expanded-prompt-backdrop{background:#0000001f;position:absolute;inset:0}.expanded-prompt-panel{width:100%;max-width:1280px;height:100%;min-height:0;max-height:960px;color:var(--foreground);background:var(--glass-bg-strong);-webkit-backdrop-filter:blur(var(--glass-blur));backdrop-filter:blur(var(--glass-blur));border:1px solid var(--glass-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);flex-direction:column;display:flex;position:relative;overflow:hidden}.expanded-prompt-header,.expanded-prompt-footer{flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:8px 16px;display:flex}.expanded-prompt-header{border-bottom:1px solid var(--glass-border)}.expanded-prompt-footer{border-top:1px solid var(--glass-border);flex-wrap:wrap}.expanded-prompt-header h2,.expanded-prompt-meta,.expanded-prompt-actions button{font-family:var(--font-mono);font-size:12px}.expanded-prompt-header h2{text-transform:uppercase;letter-spacing:.06em;margin:0}.expanded-prompt-body{flex:1;min-height:0;padding:16px;display:flex}.expanded-prompt-textarea{resize:none;overscroll-behavior:contain;width:100%;height:100%;min-height:0;color:var(--foreground);font-family:var(--font-mono);scrollbar-gutter:stable;background:0 0;border:0;border-radius:0;outline:none;padding:0;font-size:16px;line-height:1.7;display:block;overflow-y:auto}.expanded-prompt-textarea::placeholder{color:var(--foreground);opacity:.8}.expanded-prompt-textarea:focus-visible{outline:1px solid var(--glass-border);outline-offset:8px}.expanded-prompt-meta{color:var(--foreground);opacity:.8;font-variant-numeric:tabular-nums;font-size:11px}.expanded-prompt-actions{gap:8px;margin-left:auto;display:flex}.expanded-prompt-close,.expanded-prompt-actions button{min-width:44px;min-height:44px;color:var(--foreground);border-radius:var(--radius-sm);cursor:pointer;border:0;justify-content:center;align-items:center;gap:8px;transition:background-color .15s,opacity .15s;display:inline-flex}.expanded-prompt-close{background:0 0}.expanded-prompt-actions button{text-transform:uppercase;letter-spacing:.04em;padding:8px 16px}.expanded-prompt-actions .expanded-prompt-done{background:var(--interactive-hover)}.expanded-prompt-actions .expanded-prompt-submit{background:var(--foreground);color:var(--background)}.expanded-prompt-submit:disabled{opacity:.4;cursor:not-allowed}.expanded-prompt-close:focus-visible,.expanded-prompt-actions button:focus-visible{outline:2px solid var(--foreground);outline-offset:2px}@media (hover:hover) and (pointer:fine){.expanded-prompt-close:hover,.expanded-prompt-done:hover{background:var(--interactive-active)}.expanded-prompt-submit:not(:disabled):hover{opacity:.85}}@media (width>=768px){.expanded-prompt-viewport{padding:32px}.expanded-prompt-header,.expanded-prompt-footer{padding:12px 24px}.expanded-prompt-body{padding:24px 32px}}@media (prefers-reduced-motion:reduce){.expanded-prompt-close,.expanded-prompt-actions button{transition:none}}
