.gt-chat{--offset:max(14px, env(safe-area-inset-bottom));right:max(14px,env(safe-area-inset-right));bottom:var(--offset);z-index:90;color:var(--ink);font:inherit;position:fixed}.gt-chat button{cursor:pointer;font:inherit;color:inherit}.gt-chat button:disabled{opacity:.6;cursor:default}:is(.gt-chat button:focus-visible,.gt-chat input:focus-visible,.gt-chat textarea:focus-visible){outline:3px solid var(--accent);outline-offset:2px}.gt-chat button.gt-chat-launcher,.gt-chat button.gt-chat-primary{background:var(--accent);color:var(--on-accent);border:0;font-weight:650}.gt-chat-launcher{border-radius:40px;padding:.8rem 1.1rem;box-shadow:0 4px 16px #0003}.gt-chat section{width:min(24rem,100vw - 28px);max-height:calc(100dvh - var(--offset) - 5rem);background:var(--panel);border:1px solid var(--line);border-radius:18px;flex-direction:column;display:flex;position:absolute;bottom:calc(100% + .65rem);right:0;overflow:auto;box-shadow:0 10px 40px #0003}.gt-chat header,.gt-chat footer,.gt-chat-actions,.gt-chat-compose div{justify-content:space-between;align-items:center;gap:.6rem;display:flex}.gt-chat header{border-bottom:1px solid var(--line);padding:.7rem 1rem}.gt-chat h2{margin:0;font-size:1.08rem}.gt-chat section button{border:1px solid var(--line);background:var(--surface-raised);border-radius:9px;padding:.52rem .7rem}.gt-chat header button{font-size:1.2rem}.gt-chat-log{overscroll-behavior:contain;min-height:4rem;max-height:42dvh;padding:.75rem 1rem;overflow:auto}.gt-chat p{overflow-wrap:anywhere;white-space:pre-line;margin:.4rem 0 .7rem;line-height:1.45}.gt-chat-question{background:var(--accent-soft);border-radius:12px;padding:.55rem .8rem;margin-left:1.5rem!important}.gt-chat-starters{flex-wrap:wrap;gap:.45rem;display:flex}.gt-chat-compose,.gt-chat footer,.gt-chat-report,.gt-chat-notice{padding:.65rem 1rem}.gt-chat-compose{border-top:1px solid var(--line)}.gt-chat small{color:var(--muted);margin-bottom:.5rem;font-size:.8rem;display:block}.gt-chat input:not([type=checkbox]),.gt-chat textarea{border:1px solid var(--line);background:var(--surface);width:100%;min-width:0;color:inherit;font:inherit;border-radius:8px;padding:.6rem}.gt-chat-report label{margin:.6rem 0;display:block}.gt-chat .gt-chat-check{align-items:center;gap:.5rem;display:flex}.gt-chat footer button{color:var(--accent);background:0 0;border:0;padding:.3rem 0}@media (max-width:900px){body:has(.director-app-mobile-nav) .gt-chat{--offset:calc(5rem + env(safe-area-inset-bottom))}}@media print{.gt-chat{display:none}}
