.figma-workspace{--workspace-header-height:56px;--conversation-width:780px;grid-template-rows:var(--workspace-header-height) minmax(0, 1fr)}.figma-workspace .workspace-topbar{height:var(--workspace-header-height)}.figma-workspace .workspace-sidebar{top:var(--workspace-header-height);height:calc(100dvh - var(--workspace-header-height))}.figma-workspace .workspace-page-label{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.figma-workspace .workspace-live-status{flex-wrap:nowrap;justify-self:stretch;min-width:0;max-width:100%;overflow:hidden}.figma-workspace .workspace-brand{white-space:nowrap}.figma-workspace .workspace-project-list strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.figma-workspace.sidebar-collapsed{--sidebar-width:0px}.figma-workspace.sidebar-collapsed .workspace-sidebar{display:none}.figma-workspace.sidebar-collapsed .workspace-topbar{grid-template-columns:56px minmax(0,1fr) auto}.workspace-mobile-menu-heading,.workspace-sidebar-backdrop{display:none}.figma-workspace .ui-language-selector select{font:inherit;border:1px solid var(--line);color:var(--ink);background:var(--surface-solid);border-radius:8px;font-size:.75rem}.figma-workspace.conversation-workspace{height:100dvh;min-height:0;overflow:hidden}.figma-workspace.conversation-workspace .workspace-main{overscroll-behavior-y:contain;flex-direction:column;min-height:0;scroll-padding-block:8px;display:flex;overflow-y:auto}.conversation-workspace .workspace-main>.error-banner{flex:none;max-height:80px;margin:6px 16px;font-size:.8125rem;overflow:auto}.figma-workspace .project-workbench.is-chat{flex-direction:column;flex:1 0 auto;min-width:0;min-height:100%;display:flex}.figma-workspace .is-chat>.project-heading,.figma-workspace .is-chat>.workbench-steps{flex:none}.figma-workspace .is-chat .agent-chat-identity,.figma-workspace .is-chat .agent-chat-composer>label{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.figma-workspace .is-chat .agent-chat{width:100%;min-height:320px;box-shadow:none;background:var(--surface-solid);border:0;border-radius:0;flex-direction:column;flex:1 0 320px;gap:0;margin:0;padding:0;display:flex;overflow:visible}.figma-workspace .is-chat .agent-chat-heading{border:0;flex-wrap:nowrap;flex:none;gap:10px;min-height:42px;padding:0 20px}.agent-chat-header-tools{flex-wrap:wrap;flex:1;align-items:center;gap:8px;min-width:0;display:flex}.figma-workspace :is(.chat-pet-trigger,.chat-quotation-start){white-space:normal;max-width:100%;min-height:36px;padding:6px 10px;font-size:.75rem;line-height:1.3}.agent-chat-heading .chat-quotation-start span{color:inherit}.figma-workspace .is-chat .agent-chat-state{background:0 0;border:0;flex:none;margin:0;padding:5px 0;font-size:.6875rem}.figma-workspace .is-chat .free-usage-status.compact{background:0 0;border:0;border-radius:0;margin:0;padding:0}.free-usage-trigger{min-height:40px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:0;font-size:.6875rem;display:inline-flex}.figma-workspace .chat-work-details-trigger{min-height:40px;color:var(--muted);padding:0;font-size:.6875rem}.figma-workspace .is-chat .agent-chat-turns{height:auto;min-height:96px;max-height:none;padding:22px max(24px, calc((100% - var(--conversation-width)) / 2));scrollbar-gutter:stable both-edges;overscroll-behavior-y:auto;background:0 0;flex:1 1 0}.figma-workspace .is-chat .agent-chat-content{width:100%;max-width:var(--conversation-width);gap:36px;min-height:100%}.figma-workspace .is-chat .agent-chat-content:has(>.agent-chat-empty:only-child){align-content:center}.figma-workspace .is-chat .agent-chat-empty{max-width:620px;padding:20px 0 40px}.figma-workspace .is-chat .agent-chat-empty-icon{background:var(--surface-2);border:0;border-radius:16px;width:52px;height:52px}.figma-workspace .is-chat .agent-chat-empty strong{letter-spacing:-.035em;font-size:clamp(1.35rem,2.4vw,1.9rem);font-weight:650}.figma-workspace .is-chat .agent-chat-empty small{max-width:460px;line-height:1.6}.figma-workspace .is-chat .agent-chat-starters{margin-top:26px}.figma-workspace .is-chat .agent-chat-starters button{background:var(--bg);border-radius:13px;transition:background-color .14s,border-color .14s}.figma-workspace .is-chat .agent-chat-turn{gap:22px}.figma-workspace .is-chat .agent-chat-message{font-size:.9375rem;line-height:1.75}.figma-workspace .is-chat .agent-chat-message.user{border:0;border-radius:18px 18px 5px;max-width:min(88%,630px);padding:13px 18px}.figma-workspace .is-chat .agent-chat-message.user>span{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.figma-workspace .is-chat .agent-chat-message.assistant{background:0 0;border:0;border-radius:0;width:100%;max-width:100%;padding:6px 0 8px}.figma-workspace .is-chat .agent-chat-message-label{margin-bottom:13px}.figma-workspace .is-chat .agent-chat-composer{width:min(var(--conversation-width), calc(100% - 48px));margin:0 24px max(16px, env(safe-area-inset-bottom));border:1px solid var(--line);background:var(--bg);border-radius:22px;flex:none;align-self:center;gap:6px;padding:12px 14px 9px;box-shadow:0 4px 22px #24233205}.figma-workspace .is-chat .agent-chat-composer:has(>textarea:focus-visible){border-color:var(--control-border)}.figma-workspace .is-chat .agent-chat-composer textarea{background:0 0;border:0;border-radius:9px;min-height:56px;max-height:min(180px,22dvh);padding:7px;line-height:1.6}.figma-workspace .is-chat .agent-chat-composer textarea:focus-visible{outline-offset:0}.figma-workspace .is-chat .agent-chat-composer .agent-chat-muted{padding-inline:7px;font-size:.6875rem;line-height:1.5}.figma-workspace .is-chat .agent-chat-actions{flex-wrap:nowrap;gap:6px}.figma-workspace .is-chat .agent-chat-actions .primary-button{border-radius:14px;min-width:78px;min-height:40px;padding:8px 12px}.figma-workspace .is-chat .agent-chat-actions .agent-chat-model-button{flex-basis:auto;min-height:40px;padding-inline:7px}.figma-workspace .is-chat .agent-chat-actions .danger{min-height:40px;padding-inline:7px;font-size:.75rem}.figma-workspace .is-chat .agent-chat-new{min-height:36px;top:44px}.figma-workspace .is-chat .agent-chat>.form-error,.figma-workspace .is-chat .agent-chat-connection{width:min(var(--conversation-width), calc(100% - 48px));border:1px solid var(--line);border-radius:10px;flex:none;align-self:center;max-height:70px;margin:0 0 8px;padding:8px 12px;font-size:.75rem;overflow:auto}.workspace-panel-backdrop{z-index:1000;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#17132652;place-items:center;padding:28px;display:grid;position:fixed;inset:0}.figma-workspace .workspace-panel{border:1px solid var(--line);width:min(960px,100%);min-height:0;max-height:calc(100dvh - 56px);color:var(--ink);background:var(--surface-solid);border-radius:18px;flex-direction:column;margin:0;animation:.15s ease-out workspace-panel-in;display:flex;overflow:hidden;box-shadow:0 24px 100px #17132625}.figma-workspace .workspace-panel-heading{border-bottom:1px solid var(--line);flex:none;justify-content:space-between;align-items:center;gap:16px;padding:12px 20px;display:flex}.figma-workspace .workspace-panel-heading h2{margin:0;font-size:1rem;font-weight:650}.figma-workspace .workspace-panel-heading .icon-button{width:44px;min-height:44px;color:var(--muted);background:0 0;border:0;padding:10px}.workspace-panel-content{overscroll-behavior:contain;min-height:0;padding:24px;overflow:auto}.figma-workspace .workspace-panel.chat-usage-panel{width:min(560px,100%)}.free-usage-detail-content p{margin:0 0 16px;line-height:1.7}.free-usage-detail-content small{color:var(--muted);line-height:1.6}@keyframes workspace-panel-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media (max-width:820px){.figma-workspace.conversation-workspace,.figma-workspace.conversation-workspace.sidebar-collapsed{grid-template-columns:minmax(0,1fr);grid-template-rows:var(--workspace-header-height) minmax(0, 1fr);display:grid}.figma-workspace.conversation-workspace:has(.workspace-account-actions select){grid-template-columns:minmax(0,1fr);grid-template-rows:var(--workspace-header-height) minmax(0, 1fr);display:grid}.figma-workspace .workspace-topbar,.figma-workspace.sidebar-collapsed .workspace-topbar{height:var(--workspace-header-height);grid-template-columns:78px minmax(0,1fr) auto;gap:4px;min-height:0;padding:0 8px;display:grid}.figma-workspace:has(.workspace-account-actions select) .workspace-topbar{height:var(--workspace-header-height);grid-template-columns:78px minmax(0,1fr) auto;gap:4px;min-height:0;padding:0 8px;display:grid}.figma-workspace .workspace-brand-group,.figma-workspace.sidebar-collapsed .workspace-brand-group{gap:0;padding:0}.figma-workspace .workspace-brand,.figma-workspace.sidebar-collapsed .workspace-brand{display:flex}.figma-workspace .workspace-brand>span:last-child{display:none}.figma-workspace .sidebar-toggle{display:inline-flex}.figma-workspace .workspace-live-status{padding:0 6px;display:flex}.figma-workspace .workspace-page-label{font-size:.8125rem}.figma-workspace .workspace-account-actions{gap:0}.figma-workspace .workspace-mobile-logout{display:none}.figma-workspace .workspace-account-actions .ui-language-selector select{max-width:77px;min-height:40px;padding:6px 3px;font-size:.6875rem}.figma-workspace .workspace-theme-toggle{width:36px}:is(.figma-workspace .workspace-sidebar,.figma-workspace:has(.workspace-account-actions select) .workspace-sidebar){display:none}:is(.figma-workspace.mobile-navigation-open .workspace-sidebar,.figma-workspace.mobile-navigation-open:has(.workspace-account-actions select) .workspace-sidebar){z-index:100;background:var(--surface);border-right:1px solid var(--line);width:min(300px,100% - 40px);height:100dvh;padding:12px 16px 20px;animation:.15s ease-out workspace-panel-in;display:flex;position:fixed;inset:0 auto 0 0;overflow-y:auto}.workspace-sidebar-backdrop{z-index:99;background:#17132652;display:block;position:fixed;inset:0}.workspace-mobile-menu-heading{justify-content:space-between;align-items:center;margin-bottom:20px;font-size:.875rem;display:flex}.workspace-mobile-menu-heading .icon-button{background:0 0;border:0;width:44px;min-height:44px}.figma-workspace .workspace-sidebar .workspace-nav{border-bottom:1px solid var(--line);margin-bottom:18px;padding-bottom:18px;display:grid}.figma-workspace .workspace-sidebar .workspace-nav>button,.figma-workspace.sidebar-collapsed .workspace-sidebar .workspace-nav>button{justify-content:flex-start;padding:10px 12px;font-size:.8125rem}.figma-workspace .workspace-sidebar .workspace-nav>button .nav-label-desktop,.figma-workspace.sidebar-collapsed .workspace-sidebar .workspace-nav>button .nav-label-desktop{display:inline}.figma-workspace .workspace-sidebar .workspace-nav>button .nav-label-mobile,.figma-workspace.sidebar-collapsed .workspace-sidebar .workspace-nav>button .nav-label-mobile{display:none}.figma-workspace .workspace-projects,.figma-workspace.sidebar-collapsed .workspace-projects{margin-top:0;display:block}.figma-workspace .workspace-sidebar .workspace-project-list{display:grid}.figma-workspace .workspace-projects-heading{padding-left:12px}.figma-workspace .workspace-projects-heading>span{display:inline}.figma-workspace .workspace-projects-heading .icon-button{border:0}.figma-workspace .workspace-all-projects{display:block}.figma-workspace .workspace-sidebar .sidebar-foot{margin-top:auto;padding-top:18px;display:grid}.figma-workspace .workspace-project-select{display:none}.figma-workspace.conversation-workspace .workspace-main{grid-area:2/1}.figma-workspace .is-chat .agent-chat-heading{min-height:40px;padding-inline:14px}.agent-chat-header-tools{gap:10px}.figma-workspace .is-chat .agent-chat-turns{padding:16px 18px 24px}.figma-workspace .is-chat .agent-chat-empty{padding-block:12px}.figma-workspace .is-chat .agent-chat-empty p{font-size:.8125rem}.figma-workspace .is-chat .agent-chat-content{gap:26px}.figma-workspace .is-chat .agent-chat-composer{width:calc(100% - 24px);margin:0 12px max(10px, env(safe-area-inset-bottom));border-radius:18px;padding:9px 10px 7px}.figma-workspace .is-chat .agent-chat>.form-error,.figma-workspace .is-chat .agent-chat-connection{width:calc(100% - 24px);max-height:60px}.workspace-panel-backdrop{padding:12px}.figma-workspace .workspace-panel{border-radius:14px;max-height:calc(100dvh - 24px)}.workspace-panel-content{padding:18px}}@media (max-height:560px){.figma-workspace .is-chat .agent-chat-turns{padding-block:0}.figma-workspace .is-chat .agent-chat-extras{max-height:min(160px,20dvh)}.figma-workspace .is-chat .agent-chat-composer{gap:3px;margin-bottom:8px;padding-block:6px}.figma-workspace .is-chat .agent-chat-composer textarea{min-height:40px;max-height:64px}.figma-workspace .is-chat .agent-chat-composer #agent-chat-input-help{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.figma-workspace .is-chat .agent-chat-heading{min-height:34px}.figma-workspace .is-chat .agent-chat>.form-error,.figma-workspace .is-chat .agent-chat-connection{max-height:42px;margin-bottom:4px;padding-block:5px}}@media (prefers-reduced-motion:reduce){.figma-workspace *,.figma-workspace :before,.figma-workspace :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.figma-workspace .is-chat .agent-chat-tools{border:0;flex:auto;align-items:center;gap:4px;min-width:0;margin:0 auto 0 0;padding:0;display:flex}.figma-workspace .is-chat .agent-chat-tools .agent-chat-model-button{border-radius:10px;flex:none;gap:6px;margin:0}.chat-model-menu{min-width:0;max-width:220px;position:relative}.figma-workspace .is-chat .chat-model-trigger{width:100%;min-width:0;min-height:40px;color:var(--ink);background:0 0;border:1px solid #0000;border-radius:10px;justify-content:flex-start;align-items:center;gap:6px;padding:7px 9px;font-size:.75rem;font-weight:600;display:inline-flex}.chat-model-trigger>svg{flex:none}.chat-model-trigger>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.figma-workspace .is-chat :is(.chat-model-trigger,.agent-chat-model-button):hover:not(:disabled),.figma-workspace .is-chat .chat-model-trigger[aria-expanded=true]{background:var(--surface-2);color:var(--accent);border-color:#0000}.chat-model-popover{z-index:50;overscroll-behavior:contain;border:1px solid var(--line);width:min(340px,100vw - 48px);max-height:min(420px,100dvh - 240px);color:var(--ink);background:var(--surface-solid);border-radius:14px;padding:18px;position:absolute;bottom:calc(100% + 10px);left:0;overflow:auto;box-shadow:0 12px 40px #21182f20}.chat-model-popover-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.chat-model-popover-heading>strong{font-size:.8125rem}.figma-workspace .is-chat .chat-model-popover .chat-model-close{width:32px;min-height:32px;color:var(--muted);background:0 0;border:0;border-radius:8px;flex:0 0 32px;padding:7px}.figma-workspace .chat-model-popover .run-controls{grid-template-columns:minmax(0,1fr);gap:12px;margin:0;padding:0;display:grid}.figma-workspace .chat-model-popover .run-controls label{gap:6px;min-width:0;font-size:.75rem;display:grid}.figma-workspace .chat-model-popover select{border:1px solid var(--line);background:var(--bg);width:100%;min-width:0;min-height:40px;color:var(--ink);font:inherit;border-radius:8px;padding:9px 10px;font-size:.8125rem}.chat-model-popover :is(.model-selection-note,[role=alert]){color:var(--muted);margin:0;font-size:.75rem;line-height:1.6}@media (max-width:480px){.figma-workspace .is-chat .agent-chat-tools{gap:2px}.chat-model-menu{flex:0 auto;max-width:150px}.figma-workspace .is-chat .chat-model-trigger{padding-inline:6px}.figma-workspace .is-chat .agent-chat-tools .agent-chat-model-button{justify-content:center;width:40px;min-width:40px;padding-inline:7px}.agent-chat-settings-label,.agent-chat-send-label{display:none}.figma-workspace .is-chat .agent-chat-actions>.primary-button{flex:0 0 40px;width:40px;min-width:40px;padding:9px}.figma-workspace .is-chat .agent-chat-actions>.danger{flex:none}.chat-model-popover{max-height:min(380px,100dvh - 220px);padding:15px}}@media (max-width:820px){.figma-workspace .chat-model-popover select{font-size:1rem}}@media (max-height:320px){.figma-workspace.conversation-workspace .workspace-main{overscroll-behavior-y:contain;scroll-padding-block:8px;overflow-y:auto}.figma-workspace .is-chat .agent-chat-heading{min-height:26px}.figma-workspace .is-chat .agent-chat-state{padding-block:2px}.figma-workspace .is-chat .agent-chat-turns{overscroll-behavior-y:auto;min-height:36px;padding-block:0}.figma-workspace .is-chat .agent-chat-composer textarea{height:40px;min-height:40px;max-height:40px;padding-block:6px}.figma-workspace .is-chat .agent-chat-composer{margin-bottom:max(6px, env(safe-area-inset-bottom))}.figma-workspace .chat-model-popover{width:min(360px,100vw - 24px);max-height:calc(100dvh - 16px);scroll-padding-block:52px 8px;position:fixed;inset:8px auto auto 50%;transform:translate(-50%)}.chat-model-popover-heading{z-index:1;background:var(--surface-solid);padding-bottom:8px;position:sticky;top:0}}.figma-workspace .is-chat .agent-chat-credit-note{color:var(--muted);flex-wrap:wrap;align-items:center;gap:4px 10px;padding-inline:7px;font-size:.75rem;line-height:1.5;display:flex}.figma-workspace .is-chat .agent-chat-credit-note .quiet-button{min-height:28px;color:var(--accent);font-size:inherit;padding:2px 4px}.figma-workspace .is-chat .agent-chat-credit-note.insufficient{color:var(--ink)}.figma-workspace .is-chat .agent-chat-tools .agent-chat-model-button{width:44px;min-width:44px;min-height:44px;color:var(--muted);border-color:#0000;padding:0}.figma-workspace .is-chat .chat-model-trigger{min-height:44px}.figma-workspace :is(.chat-model-trigger,.agent-chat-model-button,.chat-credit-trigger,.workspace-language-trigger):focus:not(:focus-visible){outline:none}.figma-workspace :is(.chat-model-popover,.agent-chat-settings) .run-controls select:focus{border-color:var(--line);box-shadow:none}.chat-settings-control{flex:none;display:inline-flex;position:relative}.chat-settings-tooltip{z-index:60;border:1px solid var(--line);background:var(--surface-solid);color:var(--ink);white-space:nowrap;border-radius:8px;padding:7px 10px;font-size:.75rem;position:absolute;bottom:100%;left:50%;transform:translate(-50%);box-shadow:0 6px 20px #21182f12}.figma-workspace .is-chat .agent-chat-credit-note{flex:none;gap:8px;padding:0}.figma-workspace .is-chat .agent-chat-actions:has(.chat-credit-notice){flex-wrap:wrap}.figma-workspace .is-chat .agent-chat-credit-note:has(.chat-credit-notice){flex-basis:100%;order:-1}.chat-credit-control{flex:0 0 44px;position:relative}.figma-workspace .chat-credit-trigger{width:44px;min-height:44px;color:var(--accent);cursor:pointer;background:0 0;border:0;border-radius:10px;place-items:center;padding:0;display:grid}.figma-workspace .chat-credit-trigger:hover,.figma-workspace .chat-credit-trigger[aria-expanded=true]{background:var(--surface-2)}.chat-credit-track{stroke:var(--line)}.chat-credit-progress{stroke:currentColor}.chat-credit-trigger text{fill:var(--muted);font:600 13px sans-serif}.chat-credit-popover{z-index:60;border:1px solid var(--line);background:var(--surface-solid);width:min(300px,100vw - 100px);color:var(--ink);border-radius:12px;padding:12px 14px;font-size:.75rem;line-height:1.6;position:absolute;bottom:100%;right:0;box-shadow:0 8px 30px #21182f16}.agent-chat-credit-note:has(.chat-credit-notice) .chat-credit-popover{left:0;right:auto}.chat-credit-popover p{color:var(--muted);margin:5px 0 0}.chat-credit-popover small{color:var(--muted);margin-top:7px;font-size:.6875rem;display:block}.chat-credit-heading{justify-content:space-between;align-items:center;gap:6px;display:flex}.figma-workspace .chat-credit-close{min-width:32px;min-height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:0 0 32px;place-items:center;padding:0;display:grid}.chat-credit-links{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.figma-workspace .chat-credit-links button{min-height:44px;color:var(--accent);background:var(--surface);font:inherit;cursor:pointer;border:0;border-radius:7px;padding:5px 8px}.chat-usage-history{margin:0;padding:0;list-style:none}.chat-usage-history li{border-bottom:1px solid var(--line);padding:16px 0}.chat-usage-history time{color:var(--muted);margin-top:4px;font-size:.75rem;display:block}.chat-usage-history p,.chat-usage-summary{overflow-wrap:anywhere;font-size:.8125rem;line-height:1.7}.chat-credit-notice{flex-wrap:wrap;flex:1;align-items:center;gap:4px 10px;min-width:0;display:flex}.figma-workspace .workspace-language-menu{position:relative}.figma-workspace .workspace-language-trigger{min-height:44px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:10px;justify-content:center;align-items:center;gap:5px;padding:0 8px;font-size:.75rem;font-weight:600;display:flex}.figma-workspace .workspace-language-trigger:hover,.figma-workspace .workspace-language-trigger[aria-expanded=true]{background:var(--surface-2);color:var(--accent)}.workspace-language-options{z-index:80;border:1px solid var(--line);background:var(--surface-solid);border-radius:12px;width:178px;padding:5px;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 8px 30px #21182f16}.figma-workspace .workspace-language-options button{width:100%;min-height:44px;color:var(--ink);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:9px;padding:0 10px;font-size:.8125rem;display:flex}.figma-workspace .workspace-language-options button[aria-checked=true],.figma-workspace .workspace-language-options button:hover{background:var(--surface);color:var(--accent)}.figma-workspace .workspace-language-options button:focus-visible{outline-offset:-2px}.workspace-language-options button svg{margin-left:auto}.workspace-language-code{color:var(--muted);font-size:.6875rem}@media (max-height:320px){.chat-credit-popover{max-height:calc(100dvh - 90px);overflow-y:auto}.workspace-language-options{max-height:calc(100dvh - 64px);overflow-y:auto}}@media (max-width:820px){.figma-workspace.workspace-shell .workspace-topbar:has(.workspace-language-menu){grid-template-columns:78px minmax(0,1fr) auto;grid-template-rows:var(--workspace-header-height);height:var(--workspace-header-height);gap:4px;min-height:0;padding:0 8px;display:grid}.figma-workspace .workspace-brand-group{grid-area:1/1}.figma-workspace .workspace-live-status{grid-area:1/2}.figma-workspace .workspace-account-actions{grid-area:1/3}}.figma-workspace .is-chat .agent-chat-composer{border-radius:24px;gap:4px;padding:10px 12px 8px}.figma-workspace .is-chat .agent-chat-composer textarea{min-height:48px;padding:7px 10px}.figma-workspace .is-chat .agent-chat-tools{gap:2px}.figma-workspace .is-chat .agent-chat-tools .chat-model-menu{margin-left:auto}.figma-workspace .is-chat .chat-model-popover{left:auto;right:0}.chat-attachment-control{flex:none;display:inline-flex;position:relative}.figma-workspace .is-chat .chat-attachment-trigger{width:44px;min-width:44px;min-height:44px;color:var(--muted);background:0 0;border:0;border-radius:10px;flex:0 0 44px;place-items:center;padding:0;display:grid}.figma-workspace .is-chat .chat-attachment-trigger:hover:not(:disabled){color:var(--accent);background:var(--surface-2)}.figma-workspace .chat-work-details-trigger{min-height:40px;color:var(--muted);background:0 0;border:0;border-radius:10px;align-items:center;gap:8px;padding:8px 12px;font-size:.75rem;font-weight:550;display:inline-flex}.figma-workspace .chat-work-details-trigger:hover{color:var(--ink);background:var(--surface-2)}.chat-work-details-trigger svg{flex:none}.figma-workspace .workspace-panel.agent-chat-settings{width:min(620px,100%)}.chat-settings-content{gap:22px;min-width:0;display:grid}.chat-settings-intro{color:var(--muted);margin:0;font-size:.8125rem;line-height:1.6}.chat-settings-section{min-width:0}.chat-settings-section h3{margin:0 0 14px;font-size:.875rem;font-weight:650}.figma-workspace :is(.agent-chat-settings,.chat-model-popover) .run-controls{width:100%;box-shadow:none;background:0 0;border:0;border-radius:0;grid-template-columns:minmax(0,1fr);gap:14px;margin:0;padding:0}.figma-workspace .agent-chat-settings .run-controls{grid-template-columns:minmax(0,160px) minmax(0,1fr);align-items:start}.figma-workspace :is(.agent-chat-settings,.chat-model-popover) .run-controls>:not(label),.figma-workspace .agent-chat-settings .chat-connection-field{grid-column:1/-1}.figma-workspace :is(.agent-chat-settings,.chat-model-popover) .run-controls label{gap:7px;min-width:0;font-size:.75rem}.figma-workspace :is(.agent-chat-settings,.chat-model-popover) .run-controls select{text-overflow:ellipsis;border-radius:10px;min-width:0;min-height:46px;padding:10px 12px;font-size:.8125rem}.figma-workspace :is(.agent-chat-settings,.chat-model-popover) .model-selection-note{overflow-wrap:anywhere;grid-column:1/-1;margin:0;font-size:.75rem;line-height:1.6}.chat-model-disclosures{background:var(--bg);border-radius:12px;gap:8px;padding:14px;display:grid}.chat-model-disclosures p{margin:0}.chat-model-availability{border-left:3px solid var(--accent);color:var(--ink);padding-left:10px;font-weight:600}.figma-workspace :is(.agent-chat-settings,.chat-model-popover) .chat-model-billing{padding-top:2px}.chat-settings-skills{border-top:1px solid var(--line);padding-top:20px}.chat-settings-skills .skill-selector{font-size:.8125rem}.chat-settings-skills .skill-selector summary{width:100%;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:10px 12px;font-size:.875rem;font-weight:600}.chat-settings-skills .skill-panel{background:0 0;border:0;border-radius:0;max-height:none;margin:0;padding:14px 0 0;overflow:visible}.chat-settings-skills .skill-panel label{margin-block:12px}.chat-settings-skills .skill-panel :is(input,select){min-height:44px;padding:10px 12px}.chat-settings-skills .skill-panel button{min-height:40px;padding:9px 10px}.chat-settings-skills .skill-results{overscroll-behavior:contain;gap:8px;max-height:300px;margin-block:12px;padding:2px;overflow-y:auto}.chat-settings-skills .skill-active{gap:6px;margin-top:10px}.chat-settings-skills .skill-active>span{color:var(--ink);background:var(--bg);align-items:center;padding:2px 8px 2px 10px;display:inline-flex}.chat-settings-skills .skill-active button{min-width:32px;min-height:32px}.figma-workspace .chat-prepare-analysis{justify-self:start;min-height:44px}@media (max-width:520px){.figma-workspace .agent-chat-settings .run-controls{grid-template-columns:minmax(0,1fr)}.figma-workspace .is-chat .agent-chat-composer{border-radius:20px;padding:8px 8px 6px}.figma-workspace .is-chat .agent-chat-actions{gap:2px}.figma-workspace .is-chat .agent-chat-tools{gap:0}.figma-workspace .is-chat .chat-model-trigger{gap:4px;padding-inline:4px}.figma-workspace .is-chat .chat-model-trigger>svg:first-child{display:none}.figma-workspace .chat-work-details-trigger{padding-inline:8px}.chat-settings-content{gap:18px}}@media (max-width:820px){.figma-workspace .is-chat .chat-model-popover{width:min(340px,100vw - 24px);max-height:min(420px,100dvh - 120px);position:fixed;bottom:84px;left:auto;right:12px}.figma-workspace :is(.agent-chat-settings,.chat-model-popover) .run-controls select,.chat-settings-skills .skill-panel :is(input,select){font-size:1rem}}@media (max-height:560px){.figma-workspace .is-chat .agent-chat-composer{gap:3px;padding-block:6px}.figma-workspace .is-chat .agent-chat-composer textarea{min-height:40px;max-height:64px}}@media (max-height:460px){.figma-workspace .is-chat .chat-model-popover{width:min(360px,100vw - 24px);max-height:calc(100dvh - 16px);position:fixed;inset:8px auto auto 50%;transform:translate(-50%)}}
.figma-workspace .workspace-live-status{gap:14px}.workspace-page-context{align-items:center;gap:8px 18px;min-width:0;display:flex;overflow:hidden}.workspace-companion{min-width:0;max-width:180px;color:var(--ink);flex:none;align-items:center;gap:8px;display:flex}.workspace-companion-portrait{border:1px solid var(--line);background:var(--surface-2);border-radius:15px;flex:0 0 44px;place-items:center;width:44px;height:44px;display:grid;overflow:hidden}.workspace-companion .pet-art,.workspace-login-pet{width:44px;height:44px;display:block}.workspace-companion-caption{gap:3px;min-width:0;display:grid;overflow:hidden}.workspace-companion-caption small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:.625rem;line-height:1.3;overflow:hidden}.workspace-companion-caption strong{text-overflow:ellipsis;white-space:nowrap;max-width:120px;font-size:.75rem;font-weight:650;line-height:1.4;overflow:hidden}.workspace-companion *,.workspace-companion .pet-art *{transition:none;animation:none}@media (max-width:1200px){.workspace-companion-caption{display:none}.workspace-page-context{gap:8px}}@media (max-width:820px){.figma-workspace .workspace-live-status{gap:6px;padding-inline:0}.workspace-companion-portrait{border-radius:12px;flex-basis:36px;width:36px;height:40px}.workspace-companion .pet-art,.workspace-login-pet{width:36px;height:40px}.workspace-page-context{display:block}}@media (prefers-reduced-motion:reduce){.workspace-companion *,.workspace-companion .pet-art *{transition:none!important;animation:none!important}}
.figma-workspace .pet-conversation-workspace{background:var(--bg);flex:1 0 auto;grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:20px;min-width:0;padding:22px;display:grid}.figma-workspace .pet-conversation-main{flex-direction:column;min-width:0;height:calc(100dvh - 280px);min-height:560px;display:flex}.figma-workspace .is-chat .pet-conversation-main .agent-chat{border:1px solid var(--line);background:var(--surface-solid);border-radius:20px;flex:auto;min-height:0;overflow:hidden}.figma-workspace .pet-conversation-main .agent-chat-heading{padding:18px 22px}.figma-workspace .pet-conversation-main .agent-chat-identity h2{font-size:18px}.figma-workspace .pet-conversation-controls{border-block:1px solid var(--line);background:var(--surface);padding:10px 20px}.figma-workspace .pet-conversation-team,.figma-workspace .pet-conversation-switches{flex-wrap:wrap;align-items:center;gap:8px 14px;display:flex}.figma-workspace .pet-conversation-team strong{font-size:13px}.figma-workspace .pet-conversation-portraits{display:flex}.figma-workspace .pet-conversation-portraits .pet-art{width:35px;height:35px;margin:0}.figma-workspace .pet-conversation-switches{justify-content:space-between}.figma-workspace .pet-conversation-switches label{min-height:42px;color:var(--muted);align-items:center;gap:8px;font-size:13px;display:flex}.figma-workspace .pet-conversation-switches input{appearance:none;background:var(--line);cursor:pointer;border:0;border-radius:12px;flex-shrink:0;width:32px;height:20px;margin:0;position:relative}.figma-workspace .pet-conversation-switches input:checked{background:var(--accent)}.figma-workspace .pet-conversation-switches input:before{content:"";background:var(--surface-solid);border-radius:50%;width:14px;height:14px;transition:transform .15s;position:absolute;top:3px;left:3px}.figma-workspace .pet-conversation-switches input:checked:before{transform:translate(12px)}.figma-workspace .pet-conversation-switches input:disabled{opacity:.45;cursor:not-allowed}.figma-workspace .pet-conversation-switches select{max-width:160px;min-height:34px;color:var(--ink);background:var(--surface-solid);border:1px solid var(--line);font:inherit;border-radius:8px;padding:4px 8px}.figma-workspace .pet-conversation-picker{width:min(700px,100vw - 32px)}.figma-workspace .pet-conversation-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-block:20px;display:grid}.figma-workspace .pet-conversation-choice{text-align:start;border:1px solid var(--line);background:var(--surface-solid);border-radius:12px;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:6px 12px;padding:14px;display:grid}.figma-workspace .pet-conversation-choice[aria-pressed=true]{border-color:var(--accent);background:var(--surface)}.figma-workspace .pet-conversation-choice .pet-art{grid-row:span 2;width:64px;height:64px}.figma-workspace .pet-conversation-choice span{color:var(--muted);font-size:13px;line-height:1.6}.figma-workspace .pet-conversation-picker-actions{flex-wrap:wrap;justify-content:space-between;gap:12px;display:flex}.figma-workspace .pet-conversation-message{color:var(--ink);gap:12px;margin:22px 0;display:flex}.figma-workspace .pet-conversation-message>.pet-art{background:var(--surface);border-radius:12px;flex:0 0 42px;width:42px;height:48px;margin:0;padding:3px}.figma-workspace .pet-conversation-message>div{min-width:0;max-width:100%}.figma-workspace .pet-conversation-message strong{font-size:14px}.figma-workspace .pet-conversation-message .chat-markdown{background:var(--surface);border-radius:0 12px 12px;margin-top:7px;padding:12px 16px;font-size:15px;line-height:1.8}.figma-workspace .pet-conversation-reply{color:var(--accent);margin:5px 0;font-size:13px}.figma-workspace .pet-conversation-evidence{color:var(--muted);margin-top:9px;font-size:13px}.figma-workspace .pet-conversation-evidence summary{cursor:pointer;width:fit-content;min-height:30px}.figma-workspace .pet-conversation-evidence p{white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid var(--line);border-radius:8px;padding:10px;font-size:14px;line-height:1.7}.figma-workspace .pet-conversation-status{background:0 0;border:0;padding:8px 0}.figma-workspace .pet-conversation-history{color:var(--muted);margin-top:12px;font-size:13px}.figma-workspace .pet-conversation-history>summary{cursor:pointer;min-height:32px}.figma-workspace .pet-conversation-brief{border:1px solid var(--line);background:var(--surface-solid);border-radius:20px;min-width:0;max-height:max(560px,100dvh - 280px);overflow-y:auto}.figma-workspace .pet-conversation-brief>header{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;gap:10px;padding:20px;display:flex}.figma-workspace .pet-conversation-brief h2{margin:0;font-size:17px}.figma-workspace .pet-conversation-brief h3{margin:0 0 12px;font-size:14px}.figma-workspace .pet-conversation-brief header span{color:var(--accent);font-size:12px}.figma-workspace .pet-conversation-brief-body{padding:20px}.figma-workspace .pet-conversation-brief dl{gap:10px;margin:12px 0;font-size:13px;display:grid}.figma-workspace .pet-conversation-brief dl>div{justify-content:space-between;gap:14px;display:flex}.figma-workspace .pet-conversation-brief dt{color:var(--muted)}.figma-workspace .pet-conversation-brief dd{text-align:end;overflow-wrap:anywhere;margin:0}.figma-workspace .pet-conversation-brief hr{border:0;border-top:1px solid var(--line);margin:22px 0}.figma-workspace .pet-conversation-quality{border:1px solid var(--line);background:var(--surface);overflow-wrap:anywhere;border-radius:14px;margin-block:18px;padding:16px;font-size:14px;line-height:1.7}.figma-workspace .pet-conversation-quality details p{white-space:pre-wrap;max-height:320px;overflow:auto}.figma-workspace .pet-conversation-quality a{color:var(--accent);text-underline-offset:3px;text-decoration:underline}.figma-workspace .pet-conversation-quality-report>summary{cursor:pointer;justify-content:space-between;align-items:baseline;gap:12px;display:flex}.figma-workspace .pet-conversation-quality-report>summary strong{color:var(--accent);white-space:nowrap;font-size:12px}.figma-workspace .pet-conversation-quality-body{margin-top:14px}.figma-workspace .pet-conversation-brief ul{margin:0;padding:0;list-style:none}.figma-workspace .pet-conversation-brief li{flex-wrap:wrap;justify-content:space-between;gap:6px 12px;margin-bottom:14px;font-size:14px;display:flex}.figma-workspace .pet-conversation-brief li details{color:var(--muted);flex-basis:100%;font-size:13px}.figma-workspace .pet-conversation-brief li details p{overflow-wrap:anywhere;line-height:1.7}.figma-workspace .pet-conversation-question,.figma-workspace .pet-conversation-proposal{background:var(--surface);border-radius:12px;margin-block:18px;padding:14px;font-size:14px;line-height:1.7}.figma-workspace .pet-conversation-total{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:10px;font-size:13px;display:flex}.figma-workspace .pet-conversation-total strong{font-size:25px}.figma-workspace .pet-conversation-brief-body>.primary-button{width:100%;margin-top:18px}@media (max-width:1100px){.figma-workspace .pet-conversation-brief{max-height:none;overflow:visible}.figma-workspace .pet-conversation-workspace{grid-template-columns:minmax(0,1fr);padding:14px}.figma-workspace .pet-conversation-main{height:max(650px,100dvh - 190px)}}@media (max-width:550px){.figma-workspace .pet-conversation-workspace{gap:16px;padding:10px}.figma-workspace .pet-conversation-controls{padding:10px 12px}.figma-workspace .pet-conversation-main .agent-chat-heading{padding:16px 12px}.figma-workspace .pet-conversation-grid{grid-template-columns:minmax(0,1fr)}.figma-workspace .pet-conversation-message{gap:8px}.figma-workspace .pet-conversation-message>.pet-art{flex-basis:32px;width:32px;height:38px}.figma-workspace .pet-conversation-message .chat-markdown{padding:10px 12px;font-size:14px}.figma-workspace .pet-conversation-brief>header,.figma-workspace .pet-conversation-brief-body{padding:18px}}
.pet-workspace,.pet-council{border:1px solid var(--line);background:var(--surface-solid);color:var(--ink);border-radius:18px;min-width:0;margin:0 0 24px;padding:26px}.pet-workspace>header{justify-content:space-between;align-items:center;gap:16px;display:flex}.pet-workspace>header>button{white-space:nowrap;flex-shrink:0}.pet-eyebrow{color:var(--muted);letter-spacing:.04em;font-size:11px}.pet-workspace h3,.pet-council h3{letter-spacing:-.04em;margin:6px 0 0;font-size:23px}.pet-workspace-note,.pet-council header p{color:var(--muted);margin:12px 0 0;font-size:13px;line-height:1.7}.pet-desk{border-bottom:5px solid color-mix(in srgb, #b89a77 35%, var(--line));grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px;padding-bottom:12px;display:grid}.pet-station{cursor:pointer;background:0 0;border:1px solid #0000;border-radius:14px;flex-direction:column;align-items:center;gap:8px;min-width:0;padding:12px;display:flex}.pet-station:hover,.pet-station.selected{border-color:var(--line);background:var(--surface-2)}.pet-art{flex-shrink:0;width:120px;max-width:100%;height:auto;display:block;overflow:visible}.pet-station>strong{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;font-size:16px;display:flex}.pet-station small{color:var(--muted);font-size:11px;font-weight:400}.pet-station>strong,.pet-proposal-title strong{overflow-wrap:anywhere;max-width:100%}.pet-status{text-align:center;color:var(--muted);font-size:11px}.pet-status-working,.pet-status-ready{color:var(--success)}.pet-status-waiting,.pet-status-partial{color:var(--warning)}.pet-status-failed{color:var(--danger)}.pet-detail{background:var(--surface-2);border-radius:12px;margin-top:18px;padding:18px}.pet-detail p{white-space:pre-wrap;margin:12px 0;font-size:14px;line-height:1.8}.pet-detail small{color:var(--muted)}.pet-working .pet-body{transform-origin:70px 110px;animation:1.5s ease-in-out infinite petWorking}.pet-working .pet-paper{animation:1.5s ease-in-out infinite petPaper}.pet-waiting .pet-body{transform-origin:70px 110px;transform:rotate(-5deg)}.pet-failed,.pet-cancelled{filter:saturate(.45)}@keyframes petWorking{0%,to{transform:rotate(-2deg)}50%{transform:rotate(2deg)translateY(-2px)}}@keyframes petPaper{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}.pet-proposals{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px;display:grid}.pet-proposal{border:1px solid var(--line);background:var(--bg);border-radius:16px;min-width:0;padding:20px}.pet-proposal-title{align-items:center;gap:12px;display:flex}.pet-proposal-title .pet-art{width:90px}.pet-proposal-title>div{gap:4px;min-width:0;display:grid}.pet-proposal-title strong{font-size:20px}.pet-proposal-title span{font-size:13px}.pet-proposal-title small{color:var(--muted);font-size:11px}.pet-proposal h4{margin:18px 0 10px;font-size:17px;line-height:1.5}.pet-proposal p{white-space:pre-wrap;margin:10px 0;font-size:13px;line-height:1.8}.pet-tradeoff{background:var(--surface-2);border-radius:10px;padding:14px}.pet-tradeoff strong{font-size:12px}.pet-tradeoff p{color:var(--muted)}.pet-proposal fieldset{border:0;min-width:0;margin:20px 0 0;padding:0}.pet-proposal legend{margin-bottom:12px;font-size:12px;font-weight:650}.pet-task{border-top:1px solid var(--line);cursor:pointer;align-items:flex-start;gap:10px;padding:14px 0;display:flex}.pet-task input{width:18px;height:18px;accent-color:var(--accent);flex-shrink:0;margin-top:3px}.pet-task>span{gap:5px;min-width:0;display:grid}.pet-task strong{font-size:13px}.pet-task small,.pet-task>span>span{color:var(--muted);overflow-wrap:anywhere;font-size:11px;line-height:1.7}.pet-apply-panel{background:var(--surface-2);border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:20px;padding:20px;display:flex}.pet-apply-panel p{color:var(--muted);margin:6px 0 0;font-size:12px;line-height:1.7}.pet-apply-panel>p{flex-basis:100%}.pet-change-preview{border-top:1px solid var(--line);width:100%;padding-top:20px}.pet-change-preview h4{margin:0 0 16px}.pet-change-preview dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.pet-change-preview dt{color:var(--muted);font-size:12px}.pet-change-preview dd{margin:8px 0 0;font-size:20px;font-weight:700}.pet-change-preview details{margin:18px 0;font-size:13px}.pet-change-preview details strong{margin-top:12px;display:block}.pet-change-preview>button{margin-top:18px}.pet-workspace button,.pet-council button{min-height:44px}.pet-council button:disabled{opacity:.45;cursor:not-allowed}.pet-workspace :where(h3,p,strong,span),.pet-council :where(h3,h4,p,strong,span){word-break:keep-all;overflow-wrap:anywhere}@media (max-width:1100px){.pet-proposals{grid-template-columns:1fr}.pet-proposal-title .pet-art{width:80px}}@media (max-width:600px){.pet-workspace,.pet-council{border-radius:14px;padding:16px}.pet-workspace h3,.pet-council h3{font-size:19px}.pet-desk{gap:4px}.pet-station{padding:5px}.pet-station>strong{flex-direction:column;gap:2px;font-size:14px}.pet-status{font-size:10px}.pet-proposal{padding:16px}.pet-change-preview dl{grid-template-columns:1fr}.pet-apply-panel{padding:16px}.pet-change-preview>button{width:100%;padding:12px}}@media (prefers-reduced-motion:reduce){.pet-art *{transition:none!important;animation:none!important}}.pet-customizer{border:1px solid var(--line);background:var(--surface-solid);color:var(--ink);border-radius:20px;min-width:0;margin:0 0 24px;padding:24px}.pet-customizer summary{cursor:pointer;font-size:18px;font-weight:650}.pet-customizer summary small{color:var(--muted);margin-left:16px;font-size:12px;font-weight:400}.pet-usage-help{margin:14px 0}.pet-usage-help>summary{color:var(--muted);font-size:12px;font-weight:500}.pet-customizer-intro{color:var(--muted);font-size:12px;line-height:1.8}.pet-prompt-studio>header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.pet-prompt-studio h3,.pet-prompt-studio h4{margin:0 0 8px}.pet-prompt-studio p{line-height:1.7}.pet-library-badge{background:var(--surface-2);border-radius:20px;flex-shrink:0;padding:5px 10px;font-size:11px}.pet-archive button{border:1px solid var(--line);background:var(--surface-solid);min-height:36px;color:var(--ink);font:inherit;cursor:pointer;border-radius:10px;padding:6px 10px;font-size:12px}.pet-prompt-studio button:disabled{opacity:.5;cursor:not-allowed}.pet-archive{margin-top:18px}.pet-archive>div{flex-wrap:wrap;align-items:center;gap:10px;padding:12px 0;display:flex}.pet-archive>div>span{width:100%;font-size:12px}@media (max-width:540px){.pet-prompt-studio>header{flex-wrap:wrap}}.pet-customizer :focus-visible{outline-offset:3px;outline:3px solid #8c73c5}.pet-customizer button:disabled{cursor:default;opacity:.55}.pet-customizer>[role=status]{overflow-wrap:anywhere;font-size:13px;line-height:1.8}@media (max-width:700px){.pet-customizer{padding:16px}.pet-customizer summary small{margin:8px 0 0;display:block}}
.figma-workspace .workspace-panel.agent-chat-settings.pet-library-panel{width:min(920px,100%)}.pet-library-panel .pet-prompt-studio{background:0 0;border:0;border-radius:0;margin:0;padding:8px 8px 0;container-type:inline-size}.pet-library-panel .pet-prompt-studio>header{align-items:center;margin-bottom:30px}.pet-library-panel .pet-prompt-studio h3{letter-spacing:-.035em;margin:0 0 6px;font-size:26px}.pet-library-panel .pet-prompt-studio>header p{color:var(--muted);margin:0;font-size:13px}.pet-library-toolbar,.pet-library-toolbar>div{align-items:center;gap:8px;display:flex}.pet-library-toolbar{justify-content:space-between;margin-bottom:14px}.pet-library-toolbar h4{margin:0;font-size:13px;font-weight:650}.pet-library-toolbar button,.pet-library-back{min-height:38px;color:var(--ink);background:var(--surface-2);font:inherit;cursor:pointer;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;font-size:12px;font-weight:550;display:inline-flex}.pet-library-toolbar .pet-library-refresh{width:38px;color:var(--muted);background:0 0;padding:8px}.pet-library-toolbar button:hover:not(:disabled),.pet-library-back:hover:not(:disabled){border-color:var(--line);color:var(--ink)}.pet-library-panel .pet-library{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 16px;display:grid}.pet-library-panel .pet-library-card{border:1px solid var(--line);background:0 0;border-radius:15px;padding:0;display:block;position:relative}.pet-library-panel .pet-library-card.is-selected{border:1px solid var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}.pet-library-panel .pet-library-choice{width:100%;min-height:246px;color:var(--ink);text-align:center;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:14px;flex-direction:column;justify-content:flex-start;align-items:center;gap:8px;padding:30px 18px 24px;display:flex}.pet-library-panel .pet-library-choice:hover:not(:disabled){background:color-mix(in srgb, var(--surface-2) 65%, transparent)}.pet-library-choice>strong{overflow-wrap:anywhere;max-width:100%;font-size:13px;font-weight:650}.pet-library-portrait{justify-content:center;align-items:center;height:108px;margin-bottom:5px;display:flex}.pet-library-panel .pet-library-portrait .pet-art{width:88px;height:auto}.pet-library-description{-webkit-line-clamp:3;max-width:25ch;color:var(--muted);overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:12px;font-weight:400;line-height:1.6;display:-webkit-box;overflow:hidden}.pet-library-check{background:var(--ink);width:20px;height:20px;color:var(--surface-solid);border-radius:50%;place-items:center;display:grid;position:absolute;top:12px;left:12px}.pet-library-actions{z-index:1;position:absolute;top:7px;right:7px}.pet-library-actions>summary{width:34px;height:34px;color:var(--muted);border-radius:8px;place-items:center;list-style:none;display:grid}.pet-library-actions>summary::-webkit-details-marker{display:none}.pet-library-actions>summary:hover,.pet-library-actions[open]>summary{color:var(--ink);background:var(--surface-2)}.pet-library-menu{border:1px solid var(--line);background:var(--surface-solid);border-radius:11px;gap:3px;min-width:150px;padding:5px;display:grid;position:absolute;top:39px;right:0;box-shadow:0 8px 24px #00000018}.pet-library-panel .pet-library-menu button{text-align:left;white-space:nowrap;color:var(--ink);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;gap:9px;padding:9px 10px;font-size:12px;display:flex}.pet-library-menu button:hover:not(:disabled){background:var(--surface-2)}.pet-library-empty{border:1px dashed var(--line);min-height:245px;color:var(--muted);text-align:center;border-radius:15px;flex-direction:column;grid-column:1/-1;justify-content:center;align-items:center;gap:12px;margin:0;padding:24px;display:flex}.pet-library-empty strong{color:var(--ink);font-size:14px}.pet-library-empty p{margin:0;font-size:12px}.pet-library-panel .pet-customizer-intro{margin:12px 0;font-size:11px}.pet-library-panel .pet-prompt-studio>[role=status]:empty{display:none}@container (max-width:640px){.pet-library-panel .pet-library{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}@container (max-width:280px){.pet-library-panel .pet-library{grid-template-columns:minmax(0,1fr)}}@media (max-width:540px){.pet-library-panel .pet-prompt-studio{padding:0}.pet-library-panel .pet-prompt-studio h3{font-size:23px}.pet-library-panel .pet-prompt-studio>header{margin-bottom:24px}.pet-library-panel .pet-library-choice{min-height:225px;padding:24px 12px 18px}.pet-library-toolbar button,.pet-library-actions>summary,.pet-library-panel .pet-library-menu button{min-height:44px}}
.figma-workspace .workspace-panel.pet-library-panel:has(.pet-creation){width:min(780px,100%);height:min(760px,100dvh - 56px)}.pet-library-panel .workspace-panel-content:has(.pet-creation){flex-direction:column;flex:1;display:flex;overflow:hidden}.pet-library-panel .pet-prompt-studio:has(>.pet-creation){flex-direction:column;flex:1;min-height:0;display:flex}.pet-library-panel .pet-creation{flex-direction:column;flex:1;width:100%;max-width:640px;min-height:0;margin:0 auto;display:flex}.pet-creation-back{min-height:36px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;flex-shrink:0;align-self:flex-start;align-items:center;gap:7px;margin:-4px 0 24px;padding:0 4px;font-size:12px;display:inline-flex}.pet-library-panel .pet-creation-heading{flex-shrink:0;margin-bottom:28px;display:block}.pet-creation-eyebrow{color:var(--muted);align-items:center;gap:6px;margin-bottom:12px;font-size:11px;font-weight:600;display:inline-flex}.pet-library-panel .pet-creation-heading h3{letter-spacing:-.045em;margin:0 0 10px;font-size:29px;line-height:1.3}.pet-creation-heading p{color:var(--muted);margin:0;font-size:13px;line-height:1.7}.pet-creation-stage{overscroll-behavior:contain;scrollbar-gutter:stable;outline:0;flex:1;min-height:0;overflow:auto}.pet-creation-stage:focus-visible{outline:2px solid var(--accent);outline-offset:6px;border-radius:14px}.pet-creation-input>label{margin-bottom:10px;font-size:13px;font-weight:600;display:block}.pet-library-panel .pet-creation-input textarea{box-sizing:border-box;border:1px solid var(--line);background:var(--surface-solid);width:100%;min-height:160px;color:var(--ink);font:inherit;resize:vertical;border-radius:15px;padding:18px 20px;font-size:14px;font-weight:400;line-height:1.8;transition:border-color .15s,box-shadow .15s;display:block}.pet-creation-input textarea::placeholder{color:var(--muted);opacity:.72}.pet-creation-input textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent);outline:none}.pet-creation-input-meta{color:var(--muted);justify-content:space-between;gap:12px;margin:10px 2px 0;font-size:11px;line-height:1.6;display:flex}.pet-creation-input-meta>span:last-child{font-variant-numeric:tabular-nums;flex-shrink:0}.pet-creation-examples{flex-wrap:wrap;gap:8px;margin:22px 0;display:flex}.pet-creation-examples button{border:1px solid var(--line);color:var(--muted);font:inherit;text-align:left;cursor:pointer;background:0 0;border-radius:8px;padding:8px 11px;font-size:11px;line-height:1.5}.pet-creation-examples button:hover:not(:disabled){background:var(--surface-2);color:var(--ink)}.pet-creation-help{color:var(--muted);margin:18px 0 0;font-size:11px;line-height:1.8}.pet-creation-reset{align-items:center;gap:8px;margin-top:16px;font-size:12px;line-height:1.7;display:flex}.pet-creation-reset input{accent-color:var(--accent)}.pet-creation-loading{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:315px;display:flex}.pet-creation-loading strong{margin:25px 0 8px;font-size:15px}.pet-creation-loading p{color:var(--muted);margin:0;font-size:12px;line-height:1.8}.pet-creation-request{background:var(--surface-2);max-width:80%;color:var(--muted);overflow-wrap:anywhere;border-radius:8px;margin-top:22px;padding:8px 12px;font-size:11px;line-height:1.7}.pet-creation-pixels{grid-template-columns:repeat(3,14px);gap:5px;padding:22px;display:grid}.pet-creation-pixels i{background:var(--accent);border-radius:3px;width:14px;height:14px;animation:1.8s ease-in-out infinite pet-pixel-build}.pet-creation-pixels i:nth-child(2n){animation-delay:.2s}.pet-creation-pixels i:nth-child(3n){animation-delay:.4s}.pet-creation-pixels i:nth-child(4n){animation-delay:.6s}.pet-creation-result{text-align:center;flex-direction:column;align-items:center;padding:4px 24px 0;display:flex}.pet-creation-portrait{border:1px solid var(--line);background:radial-gradient(ellipse at 50% 80%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%), var(--surface-2);border-radius:24px;place-items:center;width:208px;height:208px;margin-bottom:16px;display:grid}.pet-creation-portrait .pet-art{width:160px;height:160px;image-rendering:pixelated}.pet-creation-species{border:1px solid var(--line);color:var(--muted);border-radius:6px;padding:4px 9px;font-size:10px}.pet-creation-result h4{letter-spacing:-.035em;margin:9px 0;font-size:24px}.pet-creation-result>p{max-width:400px;color:var(--ink);overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.8}.pet-creation-result>p.pet-creation-focus{color:var(--muted);margin-top:5px;font-size:12px}.pet-creation-request-details{text-align:left;width:100%;color:var(--muted);margin-top:16px;font-size:11px}.pet-creation-request-details summary{cursor:pointer;width:fit-content;margin:0 auto}.pet-creation-request-details p{background:var(--surface-2);overflow-wrap:anywhere;border-radius:10px;margin:10px 0 0;padding:12px;line-height:1.8}.pet-creation-feedback{color:var(--muted);font-size:12px;line-height:1.8}.pet-creation-feedback:empty{display:none}.pet-creation-feedback p{margin:16px 0 0}.pet-creation-footer{z-index:5;border-top:1px solid var(--line);background:var(--surface-solid);flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;margin-top:20px;padding:20px 0 4px;display:flex;position:relative}.pet-creation-footer button{min-height:44px;font:inherit;cursor:pointer;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:11px 16px;font-size:13px;font-weight:600;line-height:1.4;display:inline-flex}.pet-library-panel .pet-creation-footer .pet-creation-secondary{color:var(--muted);white-space:nowrap;background:0 0;padding-inline:8px}.pet-library-panel .pet-creation-footer .pet-creation-secondary:hover:not(:disabled){color:var(--ink);background:var(--surface-2)}.pet-creation-primary{min-width:165px;color:var(--surface-solid);background:var(--ink)}.pet-creation-primary:hover:not(:disabled){opacity:.88}.pet-creation button:disabled{opacity:.45;cursor:not-allowed}.pet-creation button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.pet-creation-spinner{animation:1s linear infinite pet-creation-spin}.pet-library-draft{border:1px solid var(--line);color:var(--muted);border-radius:12px;justify-content:space-between;align-items:center;gap:12px;margin:0 0 18px;padding:12px 14px;font-size:12px;display:flex}.pet-library-draft button{color:var(--ink);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:5px 8px;font-weight:600}.pet-library-draft>span{overflow-wrap:anywhere}@keyframes pet-pixel-build{0%,to{opacity:.25;transform:scale(.75)}45%{opacity:1;transform:scale(1)}}@keyframes pet-creation-spin{to{transform:rotate(360deg)}}@container (max-width:540px){.pet-library-panel .pet-creation{min-height:0}.pet-creation-back{margin-bottom:18px}.pet-library-panel .pet-creation-heading h3{font-size:24px}.pet-creation-heading p{font-size:12px}.pet-creation-stage{min-height:0}.pet-library-panel .pet-creation-input textarea{min-height:145px;padding:15px;font-size:16px}.pet-creation-input-meta{font-size:10px}.pet-creation-examples{margin:16px 0}.pet-creation-footer{gap:8px;padding-top:16px}.pet-creation-footer button{padding-inline:12px;font-size:12px}.pet-creation-primary{min-width:150px}.pet-creation-portrait{width:180px;height:180px}.pet-creation-portrait .pet-art{width:144px;height:144px}.pet-creation-result{padding-inline:0}}@media (max-width:640px){.figma-workspace .workspace-panel.pet-library-panel:has(.pet-creation){height:min(760px,100dvh - 24px)}}@media (max-height:800px){.pet-creation-portrait{width:156px;height:156px}.pet-creation-portrait .pet-art{width:128px;height:128px}.pet-library-panel .pet-creation-heading{margin-bottom:18px}.pet-creation-back{margin-bottom:16px}}@media (max-height:560px){.pet-creation-eyebrow,.pet-creation-heading>p,.pet-creation-examples{display:none}.pet-library-panel .pet-creation-heading h3{margin-bottom:0;font-size:20px}.pet-creation-back{margin-bottom:8px}.pet-library-panel .pet-creation-input textarea{min-height:90px}.pet-creation-footer{margin-top:12px;padding-top:12px}}@media (max-height:650px){.pet-library-panel .pet-creation-heading{margin-bottom:14px}.pet-library-panel .pet-creation-heading h3{font-size:22px}.pet-creation-back{margin-bottom:10px}.pet-creation-eyebrow{margin-bottom:8px}.pet-creation-result{text-align:left;grid-template-columns:104px minmax(0,1fr);align-content:start;column-gap:14px;display:grid}.pet-creation-portrait{border-radius:16px;grid-row:1/5;width:104px;height:104px;margin:0}.pet-creation-portrait .pet-art{width:96px;height:96px}.pet-creation-species{justify-self:start}.pet-creation-result h4{margin:7px 0;font-size:20px}.pet-creation-result>p{font-size:11px;line-height:1.6}.pet-creation-result>p.pet-creation-focus{font-size:10px}.pet-creation-request-details{grid-column:1/-1;margin-top:12px}.pet-creation-request-details summary{margin:0}.pet-creation-loading{min-height:200px}.pet-creation-loading strong{margin-top:12px}}@media (prefers-reduced-motion:reduce){.pet-creation-pixels i,.pet-creation-spinner{animation:none}.pet-creation-input textarea{transition:none}}
