:root,[data-theme=dark]{--destructive:#ff9b9b;color-scheme:dark;--background:#0c0c0e;--foreground:#f4f4f5;--card:#161618;--card-foreground:#f4f4f5;--popover:#1b1b1f;--popover-foreground:#f4f4f5;--primary:#c4b5fd;--primary-foreground:#20133d;--secondary:#26262b;--secondary-foreground:#f4f4f5;--muted:#202024;--muted-foreground:#a6a6b0;--accent:#302a40;--accent-foreground:#eee9ff;--border:#2e2e35;--input:#3a3a43;--ring:#c4b5fd;--radius:0.75rem}[data-theme=light]{--destructive:#b32736;color-scheme:light;--background:#f7f7f8;--foreground:#202027;--card:#ffffff;--card-foreground:#202027;--popover:#ffffff;--popover-foreground:#202027;--primary:#7047c5;--primary-foreground:#ffffff;--secondary:#eeeef2;--secondary-foreground:#202027;--muted:#ededf1;--muted-foreground:#62626e;--accent:#eee8fb;--accent-foreground:#523493;--border:#dedee5;--input:#c8c8d1;--ring:#7047c5}*{box-sizing:border-box}a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}a,button,input,select,summary,textarea{outline-offset:4px}button,select,summary{cursor:pointer}button:disabled{cursor:not-allowed}a{text-decoration:none}input,select,textarea{font:inherit}main{min-height:65vh}h1,h2,h3,p{margin-top:0}button[data-slot=button]{min-height:44px}h1{font-size:clamp(2rem,4vw,3.4rem);letter-spacing:-.045em;line-height:1.12}h2{font-size:clamp(1.65rem,2.8vw,2.7rem);letter-spacing:-.04em;line-height:1.2}h3{font-size:1.1rem;line-height:1.35}p{color:var(--muted-foreground)}.g-skip{position:fixed;top:-100px;left:20px;z-index:100;background:var(--primary);color:var(--primary-foreground);padding:12px 18px}.g-skip:focus{top:8px}.g-brand{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:700;letter-spacing:-1px;flex-shrink:0}.g-logo{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:var(--primary);color:var(--primary-foreground)}.g-beta{font-size:12px;letter-spacing:1px;padding:2px 5px;border:1px solid var(--border);border-radius:4px;color:var(--muted-foreground)}.g-desktop-nav{display:flex;gap:24px;font-size:13px;margin:auto}.g-desktop-nav a{color:var(--muted-foreground)}.g-desktop-nav a:hover,a[aria-current=page]{color:var(--foreground)}.g-language{width:85px;background:transparent;border:0;font-size:12px;min-height:44px}.g-language option{background:var(--card)}.g-credit span{color:var(--muted-foreground);font-size:12px}.g-header-portal{position:absolute;top:0;left:0}.g-header-popup{width:max-content;min-width:220px;max-width:min(320px,calc(100vw - 24px));max-height:min(480px,var(--available-height));overflow-y:auto;padding:6px;border:1px solid var(--border);border-radius:14px;background:var(--popover);color:var(--popover-foreground);box-shadow:0 16px 48px #0003;outline:none}.g-header-menu-item{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:10px 12px;border-radius:8px;font-size:13px;cursor:pointer;outline:none;overflow-wrap:anywhere}.g-header-menu-item[data-highlighted]{background:var(--muted)}.g-header-menu-separator{height:1px;margin:6px;background:var(--border)}.g-header-popup.g-language-popup{min-width:0;width:min(360px,calc(100vw - 64px),var(--available-width));max-width:calc(100vw - 24px);padding:12px;border-radius:8px}.g-nav-drawer .g-language-popup{width:min(300px,calc(100vw - 64px),var(--available-width))}.g-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover}.g-header-actions .g-account-trigger{display:inline-flex;align-items:center;gap:12px;height:52px;max-width:380px;padding:4px 14px 4px 4px;border:0;border-radius:999px;background:var(--card);color:var(--foreground);font:inherit;white-space:nowrap}.g-header-actions .g-account-trigger:hover,.g-header-actions .g-account-trigger[data-popup-open]{background:var(--muted)}.g-account-avatar-badge{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border:2px solid var(--border);border-radius:50%;overflow:hidden;background:var(--accent);color:var(--accent-foreground)}.g-account-avatar-badge .g-avatar{width:100%;height:100%}.g-account-avatar-badge>svg{width:22px;height:22px}.g-account-name{min-width:0;max-width:10em;overflow:hidden;text-overflow:ellipsis;font-size:16px;font-weight:600}.g-account-chevron{width:18px;height:18px;flex-shrink:0;color:var(--muted-foreground)}.g-language-pill{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;min-width:96px;height:44px;padding-inline:16px;border:1px solid var(--border);border-radius:999px;font-size:16px;font-weight:500}.g-language-pill>svg{width:20px;height:20px}.g-language-pill>svg:last-child{width:14px;height:14px;color:var(--muted-foreground)}.g-language-drawer{justify-content:flex-start;border-radius:10px}.g-language-drawer>svg:last-child{margin-left:auto}.g-language-popup{max-height:var(--available-height);overscroll-behavior:contain}.g-language-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 8px}.g-language-option{position:relative;justify-content:flex-start;min-height:48px;padding:10px 8px 10px 28px;border-radius:5px;font-size:16px;font-weight:500;white-space:nowrap}.g-language-option[data-checked]{background:var(--secondary);color:var(--foreground);font-weight:600}.g-language-option[data-highlighted]{box-shadow:inset 0 0 0 1px var(--ring)}.g-language-dot{position:absolute;left:10px;width:6px;height:6px;border-radius:50%;background:var(--primary)}.g-nav-drawer .g-language-option{padding-left:22px;font-size:14px}.g-nav-drawer .g-language-dot{left:8px}.g-language-pill:focus-visible{outline:2px solid var(--ring);outline-offset:3px}.g-language-pill:hover{background:var(--muted)}.g-credit-compact,.g-header-actions .g-nav-trigger,.g-menu-preferences{display:none}.g-credit{font-size:13px;white-space:nowrap;display:flex;align-items:center;gap:4px;min-height:44px}.g-credit .g-credit-compact,.g-credit .g-credit-full{color:var(--foreground);font-size:13px}.g-eyebrow{font-size:12px;letter-spacing:.13em;text-transform:uppercase;display:flex;align-items:center;gap:8px;color:var(--primary);margin-bottom:25px}.g-eyebrow>span{width:6px;height:6px;border-radius:100%;background:var(--primary);box-shadow:0 0 14px var(--primary)}.g-lede{font-size:17px;line-height:1.85;max-width:410px}.g-hero-actions{display:flex;align-items:center;gap:26px;margin-top:32px;flex-wrap:wrap}.g-cta{display:inline-flex;align-items:center;justify-content:center;gap:16px;padding:14px 22px;background:var(--primary);color:var(--primary-foreground);border-radius:9px;font-size:14px;font-weight:600;transition:transform .2s}.g-cta:hover{transform:translateY(-2px)}.g-link{font-size:13px;display:flex;align-items:center;gap:10px}.g-section-heading p{max-width:390px;font-size:13px;line-height:1.8}.g-section-heading h2{margin-bottom:0}.g-tool-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.g-faq h2{margin-bottom:30px}.g-faq details p{font-size:14px;line-height:1.9;padding-top:18px;margin:0}.g-footer p,.g-footer small{font-size:12px;margin:0}.g-footer nav{margin-left:auto;display:flex;align-items:center;flex-wrap:wrap;gap:22px;font-size:12px}.g-footer-contact{display:flex;flex-direction:column;justify-content:center;gap:4px;min-height:44px}.g-page{padding-top:48px;padding-bottom:60px}.g-page-heading p{font-size:15px;max-width:700px}.g-panel{border:1px solid var(--border);border-radius:16px;padding:24px;background:var(--card);min-width:0}.g-panel h2{font-size:20px;letter-spacing:-.02em}.g-form{display:flex;flex-direction:column;gap:20px}.g-select{background:var(--background);border:1px solid var(--input);border-radius:8px;width:100%;min-height:44px;padding:8px 10px;max-width:100%;font-size:13px}.g-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.g-row>*{min-width:0}.g-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.g-grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.g-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.g-task{border:1px solid var(--border);border-radius:12px;overflow:hidden;background:var(--card);min-width:0}.g-task-media{aspect-ratio:4/3;display:grid;place-items:center;background:var(--muted);position:relative}.g-task-media audio{width:90%}.g-task-body p{font-size:12px;overflow-wrap:anywhere}.g-task-body time{font-size:12px;color:var(--muted-foreground)}.g-pager,.g-task-body button[data-slot=button]{font-size:12px}.g-pager{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:24px}.g-upload{border:1px dashed var(--input);border-radius:10px;padding:18px;text-align:center;font-size:12px;background:var(--background);position:relative;transition:border-color .18s ease,background .18s ease}.g-upload:focus-within,.g-upload:hover{border-color:var(--primary);background:var(--accent)}.g-upload>label{display:flex;flex-direction:column;align-items:center;gap:10px;cursor:pointer;font-weight:500}.g-upload:focus-within{outline:2px solid var(--ring)}.g-upload input[type=file]{width:100%;margin-top:12px;font-size:12px}.g-file img{width:100%;height:65px;object-fit:cover;border-radius:5px}.g-file span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.g-advanced>div{padding-top:12px}.g-tools-actions{display:flex;flex-wrap:wrap;gap:8px}.g-tools-actions button{font-size:12px}.g-private{max-width:620px;margin:60px auto;text-align:center;display:flex;flex-direction:column;gap:20px}.g-price h2{font-size:20px;margin:0}.g-price p{font-size:13px;margin:0}.g-price button{margin-top:auto}.g-toolbar>[data-slot=field]{flex:1;min-width:140px}.g-table{width:100%;font-size:13px;border-collapse:collapse;text-align:left}.g-table td,.g-table th{padding:15px;border-bottom:1px solid var(--border);white-space:nowrap}.g-article h2{font-size:28px;margin-top:40px}.g-article h3{font-size:22px;margin-top:30px}.g-article p{margin-bottom:22px}.g-article ul{padding-left:24px;list-style:disc}.g-article ol{padding-left:24px;list-style:decimal}.g-article pre{overflow:auto;background:var(--muted);padding:20px;border-radius:12px}.g-article img{max-width:100%;height:auto;border-radius:12px}.g-article a{text-decoration:underline;color:var(--primary)}.g-article blockquote{border-left:3px solid var(--primary);padding-left:20px}.g-article table{display:block;overflow:auto;max-width:100%}.g-article td,.g-article th{padding:8px;border:1px solid var(--border)}.g-mobile-tabs{display:none}.g-hint{font-size:12px;color:var(--muted-foreground);line-height:1.6}.g-music-player{max-width:100%;width:100%}.g-tool-description{padding:0 1.25rem 1.5rem;line-height:1.7}.g-tool-guide>p{max-width:75ch;line-height:1.8;margin-top:1rem}.g-tool-guide ol{list-style:none;padding-left:0}.g-tool-guide details{margin-block:2rem}.g-guide-links{display:flex;flex-wrap:wrap;gap:1rem 2rem;margin-top:2rem}.g-guide-links a{text-decoration:underline;text-underline-offset:.25em}.g-form,.g-page-heading,.g-panel,.g-task-body{min-width:0;overflow-wrap:anywhere}.g-article img,[data-slot=dialog-content] img{max-width:100%;height:auto}.g-files{display:flex;flex-wrap:wrap;gap:10px;max-width:100%}.g-file>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.g-upload input{max-width:100%}.g-breadcrumb{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:1.5rem}.g-tool-guide summary{cursor:pointer}:where(a,button,input,textarea,select,summary):focus-visible{outline:2px solid var(--primary);outline-offset:3px}.g-field-hint{display:flex;flex-wrap:wrap;gap:6px 12px;color:var(--muted-foreground);font-size:12px;line-height:1.5}.g-field-hint:empty{display:none}.g-field-error,.g-required{color:var(--destructive)}.g-field-error{font-size:13px;overflow-wrap:anywhere}.g-form-heading{font-size:15px;font-weight:600;margin:12px 0 0}.g-form-section{margin-top:24px;padding-top:20px;border-top:1px solid var(--border)}.g-form-dialog textarea[readonly]{min-height:120px;resize:vertical}.g-upload[data-disabled=true]{opacity:.65}.g-file{position:relative;border:1px solid var(--border);border-radius:8px;padding:8px;max-width:140px;overflow:hidden;font-size:12px;flex-wrap:wrap}.g-file audio,.g-file video{width:100%;max-width:100%}.g-file video{max-height:200px;background:var(--muted);border-radius:8px}.g-file-actions{display:flex;flex-wrap:wrap;gap:4px}.g-file-actions button{min-height:40px}.g-form input,.g-form select,.g-form textarea,form input,form textarea{scroll-margin-block:100px}.g-required:after{content:" *"}.g-form-dialog{border-radius:16px;max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;height:auto;align-content:start}.g-material-upload{max-width:100%}.g-material-upload>summary{cursor:pointer;padding:10px 0}.g-material-upload[open]{flex-basis:100%}.g-auth-dialog{width:min(440px,calc(100% - 24px));max-width:440px;padding:20px;gap:12px}.g-auth-dialog [data-slot=dialog-header]{padding-right:24px}.g-auth-dialog [data-slot=dialog-title]{font-size:22px;line-height:1.2;letter-spacing:-.025em}.g-auth-dialog [data-slot=tabs-list]{position:relative;isolation:isolate;min-height:40px}.g-auth-dialog [data-slot=tabs]{gap:8px}.g-auth-dialog [data-slot=tabs-trigger]{z-index:1;background:transparent;box-shadow:none;transition:color .16s ease}.g-auth-dialog .g-auth-tab-indicator{position:absolute;z-index:0;top:3px;bottom:3px;left:0;width:var(--active-tab-width);translate:var(--active-tab-left) 0;border:1px solid var(--input);border-radius:6px;background:var(--background);box-shadow:var(--shadow-sm);transition:translate .22s cubic-bezier(.22,1,.36,1),width .22s cubic-bezier(.22,1,.36,1)}.g-auth-dialog .g-auth-email-form{animation:g-auth-tab-enter .18s cubic-bezier(.22,1,.36,1)}@keyframes g-auth-tab-enter{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.g-auth-dialog input{min-height:44px}.g-auth-dialog [data-slot=field]{gap:6px}.g-auth-dialog button[type=submit]{min-height:44px}.g-auth-dialog[data-mode=register]{width:min(440px,calc(100% - 24px));max-width:440px;max-height:calc(100dvh - 16px)}.g-auth-dialog[data-mode=register] [data-slot=tabs-content]{gap:6px}.g-auth-dialog[data-mode=register] .g-auth-email-form>[data-slot=field-group],.g-auth-dialog[data-mode=register] [data-slot=field]{gap:4px}.g-auth-dialog[data-mode=register] .g-auth-actions{gap:8px}.g-auth-dialog[data-mode=register] .g-auth-turnstile{display:grid;min-width:0;place-items:center}.g-auth-dialog:is([data-mode=login],[data-mode=register]){height:auto;max-height:calc(100dvh - 16px);grid-template-rows:auto minmax(0,1fr)}.g-auth-dialog:is([data-mode=login],[data-mode=register]) [data-slot=tabs]{min-height:0}.g-auth-dialog:is([data-mode=login],[data-mode=register]) [data-slot=tabs-content]{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px;scrollbar-gutter:stable}.g-auth-actions{display:grid;gap:12px}.g-auth-turnstile{min-width:0}.g-auth-google{display:grid;justify-items:center;min-width:0}.g-auth-google>div{width:100%}.g-auth-google [aria-disabled=true]{opacity:.6}.g-auth-divider{display:flex;align-items:center;gap:12px;color:var(--muted-foreground);font-size:12px}.g-auth-divider>[data-slot=separator]{flex:1;width:auto}.g-auth-divider>span{text-align:center}.g-auth-code{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,auto);gap:6px 10px}.g-auth-code>button{margin-top:26px;align-self:start;min-height:44px;max-width:160px;white-space:normal}.g-auth-code input{font-variant-numeric:tabular-nums;letter-spacing:.2em}.g-sidebar>.g-brand{padding:0 10px 14px;font-size:23px}.g-side-nav{display:flex;flex-direction:column;gap:4px;overflow-y:auto;min-height:0}.g-side-link svg{flex-shrink:0}.g-side-link span{overflow-wrap:anywhere}.g-side-link:hover{color:var(--foreground);background:var(--muted)}.g-side-link[aria-current=page]{background:var(--accent);color:var(--primary);font-weight:600}.g-sidebar-upgrade>svg{color:var(--primary);flex-shrink:0}.g-sidebar-upgrade span{font-size:12px;color:var(--muted-foreground)}.g-sidebar-upgrade strong{display:flex;align-items:center;gap:10px;color:var(--foreground);margin-top:8px;font-size:12px}.g-header .g-credit{padding:0 12px;background:var(--muted);border:1px solid var(--border);border-radius:9px;gap:6px;font-size:12px}.g-credit>svg{color:var(--primary);flex-shrink:0}.g-header .g-drawer-trigger{display:none}.g-nav-drawer[data-slot=dialog-content]{inset:0 auto 0 0;transform:none;translate:none;width:min(320px,calc(100vw - 32px));max-width:320px;height:100dvh;max-height:100dvh;border-radius:0 16px 16px 0;padding:20px 16px;display:flex;flex-direction:column;gap:22px;overflow-y:auto;animation:none}.g-drawer-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.g-drawer-heading .g-brand{font-size:23px}.g-nav-drawer .g-side-nav{flex-shrink:0;overflow:visible}.g-drawer-preferences{display:flex;flex-direction:column;gap:12px;padding-top:16px;margin-top:auto;border-top:1px solid var(--border);font-size:12px}.g-home,.g-page{margin:auto;width:100%;max-width:1500px;padding:28px 32px 56px}.g-page-studio{padding-top:12px}.g-footer{max-width:1600px;margin:auto;border-top:1px solid var(--border);display:flex;align-items:center;flex-wrap:wrap;padding:28px 32px;gap:20px}.g-footer .g-brand{font-size:18px}.g-page-heading{max-width:900px;margin-bottom:28px}.g-page-heading h1{margin-bottom:12px;font-size:clamp(1.65rem,2.4vw,2.25rem);letter-spacing:-.035em}.g-page-heading>p{font-size:13px;line-height:1.75}.g-page-heading .g-eyebrow{margin-bottom:8px;font-size:12px}.g-page-heading.g-tool-heading{margin-bottom:20px}.g-tool-heading h1{font-size:clamp(1.125rem,1.6vw,1.375rem);margin-bottom:8px}.g-section{padding:26px 0}.g-section-heading{align-items:end;gap:20px;margin-bottom:22px}.g-faq h2,.g-section-heading h2{font-size:clamp(1.3rem,2vw,1.8rem);letter-spacing:-.03em}.g-section-heading .g-eyebrow{font-size:12px;margin-bottom:10px}.g-reference-controls .g-section-heading,.g-settings-controls .g-section-heading{margin-bottom:8px}.g-section-heading>.g-link{flex-shrink:0}.g-home-hero .g-hero-actions{gap:18px;flex-wrap:wrap}.g-home-hero .g-link{color:var(--primary);font-size:12px}.g-creation-card{display:flex;flex-direction:column;align-items:start;padding:24px;border:1px solid var(--border);background:var(--card);border-radius:14px;transition:border-color .15s,transform .15s}.g-creation-card:hover{border-color:var(--primary);transform:translateY(-3px)}.g-creation-icon{display:grid;place-items:center;width:48px;height:48px;background:var(--accent);color:var(--primary);border-radius:12px;margin-bottom:20px}.g-creation-card h3{overflow-wrap:anywhere;font-size:16px;margin-bottom:10px}.g-creation-action{margin-top:auto;display:flex;align-items:center;gap:10px;color:var(--primary);font-size:12px;font-weight:500}.g-model-card>span{min-width:0;text-align:start;flex:1}.g-template-card{overflow:hidden;padding-top:0;min-width:0}.g-template-cover{width:100%;height:100%;min-height:120px;aspect-ratio:8/5;display:grid;place-items:center;background:var(--muted);color:var(--muted-foreground);overflow:hidden}.g-template-card>.g-template-cover{height:auto}.g-template-card [data-slot=card-content]{flex:1}.g-template-card p{font-size:12px;line-height:1.8}.g-template-intro{display:flex;flex-wrap:wrap;align-items:center;gap:18px;padding:24px;border:1px solid var(--border);background:var(--card);border-radius:14px}.g-template-intro>svg{color:var(--primary)}.g-template-intro p{margin:0;font-size:13px;flex:1;min-width:180px}.g-steps{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--border);margin-top:30px;padding:32px 0 28px;gap:28px}.g-steps h3{font-size:17px}.g-steps p{max-width:300px;font-size:12px}.g-step-number{font-size:12px;color:var(--primary);letter-spacing:2px;display:block;margin-bottom:14px}.g-faq{margin:36px 0 12px;max-width:none}.g-faq details{border-bottom:1px solid var(--border);padding:18px 0}.g-faq summary{display:flex;justify-content:space-between;gap:16px;list-style:none;font-size:14px}.g-faq p{max-width:800px;font-size:13px;line-height:1.8}.g-workspace{display:grid;align-items:start;grid-template-columns:minmax(360px,440px) minmax(0,1fr);gap:20px}.g-workspace:not(.g-composer-workspace) form>[data-slot=field-group]{gap:10px}.g-studio-fixed-head{display:flex;flex-direction:column;flex-shrink:0;gap:10px;min-width:0;padding-bottom:10px;border-bottom:1px solid var(--border);background:var(--card)}.g-workspace .g-panel{padding:18px;border-radius:14px}.g-studio-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-bottom:18px;border-bottom:1px solid var(--border)}.g-studio-heading h2{margin:0;font-size:16px}.g-studio-heading [data-slot=badge]{margin-left:auto;max-width:100%;white-space:normal}.g-studio-icon{color:var(--primary);display:flex;align-items:center}.g-workspace .g-form-heading{margin:8px 0 0;font-size:13px;font-weight:600}.g-workspace textarea{min-height:80px;font-size:13px;line-height:1.7}.g-parameter-options[data-slot=toggle-group]{width:100%;flex-wrap:wrap;gap:8px}.g-parameter-options [data-slot=toggle-group-item]{flex:1 0 auto;min-height:40px}.g-parameter-options [aria-pressed=true]{background:var(--accent);color:var(--primary);border-color:var(--primary)}.g-primary-parameters{gap:12px}.g-advanced{padding-top:12px;border-top:1px solid var(--border)}.g-advanced>summary{font-size:13px;color:var(--muted-foreground);font-weight:600;margin:0}.g-advanced>[data-slot=field-group]{margin-top:8px}.g-workspace .g-submit-bar{position:sticky;bottom:0;padding:10px 0 0;background:var(--card);border-top:1px solid var(--border)}.g-submit-bar button[data-slot=button]{min-height:46px}.g-result-panel{min-width:0;min-height:420px;padding:20px;border:1px solid var(--border);background:var(--card);border-radius:14px}.g-result-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-bottom:16px;border-bottom:1px solid var(--border)}.g-result-heading h2{margin:0 auto 0 0;font-size:16px}.g-result-heading .g-link,.g-result-heading button{font-size:12px}.g-result-panel>[data-slot=empty]{flex:1;min-height:280px;border:0}.g-result-panel [data-slot=empty-title]{font-size:14px;color:var(--muted-foreground)}.g-result-panel .g-results{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr))}.g-media-result-panel{display:grid;grid-template-rows:auto auto;gap:0;padding:0;overflow:visible}.g-media-detail,.g-media-history{display:flex;flex-direction:column;min-height:0;min-width:0;padding:10px 14px;overflow:visible}.g-media-history{border-top:1px solid var(--border)}.g-media-detail .g-result-heading,.g-media-history .g-result-heading{flex:none;min-height:29px;padding-bottom:8px;margin-bottom:8px}.g-media-detail .g-result-heading{margin-bottom:10px}.g-media-detail .g-result-heading h2,.g-media-history .g-result-heading h3{margin:0 auto 0 0;font-size:14px;font-weight:650}.g-media-history .g-result-heading .g-link{display:inline-flex;align-items:center;gap:5px}.g-media-detail .g-results{display:flex;flex-direction:column;flex:1}.g-media-detail .g-task{display:grid;grid-template-columns:minmax(0,1.618fr) minmax(190px,1fr);height:auto;flex-shrink:0;margin-block:auto}.g-media-result-panel-has-task .g-media-detail .g-task{margin-block:0;flex-grow:1}.g-media-detail .g-task-media{aspect-ratio:4/3;min-height:160px}.g-media-detail .g-task-media>button{position:absolute;inset:0;display:block;min-width:0;min-height:0;padding:0}.g-media-detail .g-task-media>button img{display:block;width:100%;height:100%;min-height:0;max-width:100%;max-height:100%;object-fit:contain;object-position:center}.g-media-detail .g-task-media-actions{position:absolute;z-index:1;top:10px;right:10px;display:flex;align-items:center;gap:4px;padding:4px;border:1px solid var(--border);border-radius:10px;background:var(--background)}.g-media-detail .g-task-media-actions>:is(a,[data-slot=button]){width:44px;height:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}.g-media-detail .g-task-body{display:flex;flex-direction:column;min-width:0;overflow:visible;padding:10px}.g-media-detail .g-task-body>:not(.g-task-prompt-full):not(.g-task-detail-lyrics){flex-shrink:0}.g-media-detail .g-task-media>video{position:absolute;inset:0;min-width:0;min-height:0;object-fit:contain}.g-music-preview{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;width:100%;min-width:0;padding:16px}.g-media-detail .g-music-preview{height:100%;padding-top:64px}.g-music-artwork{width:clamp(48px,8vw,96px);height:clamp(48px,8vw,96px);flex-shrink:1;min-height:0;color:var(--primary)}.g-music-preview .g-music-player{width:100%;min-width:0;max-width:400px;flex-shrink:0}.g-media-detail .g-task-detail-date{align-self:flex-start;padding:3px 7px;border:1px solid var(--border);border-radius:999px;font-size:12px;line-height:1.3}.g-media-detail .g-task-facts{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:5px 10px;min-width:0;margin-top:10px;padding:8px 0;border-block:1px solid var(--border)}.g-media-detail .g-task-fact{min-width:0}.g-media-detail .g-task-fact dt{color:var(--muted-foreground);font-size:12px;line-height:1.3}.g-media-detail .g-task-fact dd{overflow:hidden;margin-top:2px;font-size:12px;font-weight:550;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.g-media-detail .g-task-detail-label{color:var(--muted-foreground);font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.g-media-detail .g-task-detail-section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.g-media-detail .g-task-prompt-heading{margin-top:8px}.g-media-detail .g-task-prompt-heading [data-action=copy]{width:32px;height:32px;min-height:32px}.g-media-detail .g-task-copy-control{display:flex;align-items:center;gap:4px;min-width:0}.g-media-detail .g-task-copy-feedback{overflow:hidden;color:var(--muted-foreground);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.g-media-detail .g-task-prompt-heading .g-task-detail-label{color:var(--foreground);font-size:12px;letter-spacing:0;text-transform:none}.g-task-prompt-full{white-space:pre-wrap;line-height:1.5;max-height:9em;overflow-y:auto;padding-right:4px;scrollbar-width:thin}.g-media-detail .g-task-prompt-full{margin-top:4px;color:var(--foreground);font-size:12px;line-height:1.5;max-height:13.5em;overflow-wrap:anywhere}.g-media-detail .g-task-detail-note{margin-top:6px;padding-top:5px;border-top:1px solid var(--border)}.g-media-detail .g-task-detail-note [data-action=note]{width:28px;height:28px;min-height:28px}.g-media-detail .g-task-detail-note p{max-height:2.9em;overflow-y:auto;margin-top:0;color:var(--muted-foreground);font-size:12px;line-height:1.4;scrollbar-width:thin}.g-media-detail .g-task-detail-lyrics{display:flex;flex-direction:column;min-height:0;margin-top:6px;padding-top:5px;border-top:1px solid var(--border)}.g-media-detail .g-task-detail-lyrics p{overflow-y:auto;max-height:6em;margin-top:4px;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted-foreground);font-size:12px;line-height:1.5;scrollbar-width:thin}.g-media-detail .g-task-detail-lyrics p:focus-visible,.g-media-detail .g-task-detail-note p:focus-visible,.g-task-prompt-full:focus-visible{outline:2px solid var(--ring);outline-offset:2px;border-radius:2px}.g-media-detail-skeleton,.g-media-detail>[data-slot=empty]{flex:1;min-height:150px}.g-media-history-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));grid-auto-rows:60px;align-content:start;gap:6px;min-height:0;overflow-y:auto;max-height:196px;padding:2px;scrollbar-width:thin}.g-media-history-item{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:8px;width:100%;height:60px;min-width:0;overflow:hidden;padding:4px;border:1px solid var(--border);border-radius:9px;background:var(--background);text-align:left;cursor:pointer}.g-media-history-item:hover,.g-media-history-item[aria-pressed=true]{border-color:var(--primary);background:var(--accent)}.g-media-history-item:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.g-media-history-thumb{display:grid;place-items:center;width:44px;height:44px;overflow:hidden;border-radius:5px;background:var(--muted);color:var(--muted-foreground);font-size:12px;text-align:center}.g-media-history-thumb img{width:100%;height:100%;object-fit:cover}.g-media-history-meta{display:flex;flex-direction:column;gap:5px;min-width:0}.g-media-history-prompt{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:12px;line-height:1.35;overflow-wrap:anywhere}.g-media-history-meta time{color:var(--muted-foreground);font-size:12px}.g-media-history-skeleton{flex:1;min-height:100px}.g-task-body{padding:18px}.g-task-body .g-row{margin-top:12px;gap:8px}.g-media-detail .g-task-detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin-top:auto;padding-top:7px;border-top:1px solid var(--border)}.g-media-detail .g-task-detail-actions>[data-slot=button]{width:100%;height:auto;min-height:36px;min-width:0;padding:3px 6px;white-space:normal;text-align:center;line-height:1.25;font-size:12px}.g-media-detail .g-task-detail-actions>[data-slot=button] svg{width:14px;height:14px;flex:none}.g-task-media img,.g-task-media video{width:100%;height:100%;object-fit:contain}.g-page-history .g-results{grid-template-columns:repeat(3,minmax(0,1fr))}.g-toolbar{display:flex;flex-wrap:wrap;gap:14px;align-items:end;padding:18px;border:1px solid var(--border);border-radius:12px;background:var(--card);margin-bottom:4px}.g-page-account .g-panel{padding:26px}.g-table-wrap{overflow:auto;max-width:100%;overflow-x:auto;background:var(--card);border:1px solid var(--border);border-radius:12px}.g-table th{font-size:12px;color:var(--muted-foreground);font-weight:500;background:var(--muted);padding:16px 20px}.g-table td{padding:18px 20px}.g-table tbody tr:last-child td{border-bottom:0}.g-page-pricing>.g-form{max-width:1100px;margin:auto}.g-page-pricing .g-page-heading{margin:10px auto 32px;text-align:center}.g-page-pricing .g-page-heading .g-eyebrow{justify-content:center}.g-page-pricing [data-slot=tabs-list]{min-width:min(260px,100%)}.g-page-pricing [data-slot=tabs-trigger]{flex:1}.g-page-pricing [data-slot=tabs]{align-items:center}.g-page-pricing>.g-form>p{text-align:center;max-width:700px;margin:0 auto;font-size:13px}.g-price{position:relative;display:flex;flex-direction:column;gap:22px;padding:26px 20px;min-height:340px}.g-price[hidden]{display:none}.g-price [data-slot=card-content],.g-price [data-slot=card-footer],.g-price [data-slot=card-header]{padding-inline:0}.g-price [data-slot=card-content]{display:flex;flex-direction:column;gap:16px;flex:1;align-items:start}.g-price strong{letter-spacing:-2px;font-size:36px}.g-price-featured{border-color:var(--primary);box-shadow:0 0 35px #9471ef12;border-width:2px}.g-blog-filter-bar{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:16px 24px;padding-bottom:24px;border-bottom:1px solid var(--border)}.g-blog-filter-group{min-width:0}.g-blog-filter-label{margin:0 0 12px;color:var(--muted-foreground);font-size:13px;font-weight:600}.g-blog-filters{display:flex;flex-wrap:wrap;gap:8px}.g-blog-filter{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;max-width:100%;padding:10px 18px;border:1px solid var(--input);border-radius:999px;background:var(--card);color:var(--foreground);font-size:14px;font-weight:600;line-height:1.5;overflow-wrap:anywhere;transition:background-color .15s,border-color .15s,color .15s}.g-blog-filter svg{flex-shrink:0}.g-blog-filter:hover{border-color:var(--primary);background:var(--accent);color:var(--accent-foreground)}.g-blog-filter[aria-current=page]{border-color:var(--primary);background:var(--primary);color:var(--primary-foreground)}.g-blog-filter:focus-visible{outline:2px solid var(--ring);outline-offset:3px}.g-blog-result-count{display:flex;align-items:center;gap:8px;min-height:44px;margin:0;color:var(--muted-foreground);font-size:13px}.g-blog-result-count strong{color:var(--foreground);font-variant-numeric:tabular-nums}.g-blog-category{display:inline-block;max-width:100%;margin-bottom:12px;padding:4px 9px;border-radius:6px;background:var(--accent);color:var(--accent-foreground);font-size:12px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.g-page-blog .g-task{display:flex;flex-direction:column;transition:border-color .15s}.g-page-blog .g-task:hover{border-color:var(--primary)}.g-page-blog .g-task h2{line-height:1.5;font-size:18px}.g-article{max-width:800px;margin:auto;font-size:17px;line-height:1.95;overflow-wrap:anywhere;padding:24px 0}.g-article h1{font-size:clamp(1.8rem,3.5vw,3rem)}.g-page [data-slot=tabs-list]{max-width:100%;height:auto;min-height:44px;flex-wrap:wrap}.g-page [data-slot=tabs-trigger]{min-height:36px;white-space:normal}.g-page [data-slot=card-title]{overflow-wrap:anywhere}.g-page :is(.g-row,.g-toolbar) button{max-width:100%;white-space:normal;height:auto}.g-banner{margin:auto;max-width:none;padding:12px 32px}.g-price-amount{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px}.g-price-amount span{font-size:12px;color:var(--muted-foreground)}body{margin:0;background:var(--background);color:var(--foreground);line-height:1.55;font-family:Arial,Noto Sans,system-ui,sans-serif}.g-app-shell{--sidebar-width:224px;--header-height:64px}.g-app-shell[data-collapsed=true]{--sidebar-width:0px}.g-sidebar{position:fixed;width:var(--sidebar-width);display:flex;flex-direction:column;border-right:1px solid var(--border);inset:var(--header-height) auto 0 0;padding:18px 12px;gap:18px;background:var(--background)}.g-shell-content{min-width:0;margin-left:var(--sidebar-width);padding-top:var(--header-height)}.g-header{display:flex;align-items:center;margin:auto;border-bottom:1px solid var(--border);z-index:35;top:0;height:var(--header-height);max-width:none;background:var(--background);position:fixed;inset:0 0 auto;padding:0 20px;width:100%;gap:14px}.g-header>.g-brand{font-size:22px}.g-header-actions{display:flex;align-items:center;flex-shrink:0;gap:10px;margin-left:auto}.g-nav-group{display:flex;flex-direction:column;gap:4px;margin-top:16px}.g-nav-group h2{font-weight:500;letter-spacing:.04em;margin:0 12px 4px}.g-nav-group h2,.g-side-link{color:var(--muted-foreground);font-size:12px}.g-side-link{display:flex;align-items:center;border-radius:9px;transition:background .15s,color .15s;min-height:40px;padding:8px 10px;gap:10px}.g-model-shortcuts{order:1}.g-model-shortcuts .g-side-link{font-size:12px}.g-model-nav-group{min-width:0}.g-model-nav-group summary{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:8px;cursor:pointer;list-style:none;font-size:13px}.g-model-nav-group summary::-webkit-details-marker{display:none}.g-model-nav-group summary:hover{background:var(--accent)}.g-model-nav-count{margin-left:auto;color:var(--muted-foreground);font-size:12px}.g-model-nav-group[open]>summary>svg{transform:rotate(180deg)}.g-model-nav-group summary:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.g-model-brand-nav{margin-inline-start:10px}.g-model-brand-nav>summary{color:var(--muted-foreground)}.g-model-brand-nav>.g-side-link{margin-inline-start:8px}.g-sidebar-upgrade{margin-top:auto;display:flex;align-items:start;gap:10px;background:var(--muted);border:1px solid var(--border);border-radius:12px;flex-shrink:0;padding:12px}.g-home{padding-top:0}.g-home-hero{display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 -32px 16px;padding:64px 32px 40px;border:0;border-radius:0;background:var(--background)}.g-home-hero-copy{position:relative;width:100%;padding:0;color:var(--foreground);text-align:center}.g-home-hero h1{margin:0 auto 18px;max-width:900px;font-size:clamp(2.25rem,4vw,3.4rem);font-weight:600;line-height:1.1;letter-spacing:-.05em;text-wrap:balance}.g-home-hero .g-eyebrow{display:flex;align-items:center;gap:8px;justify-content:center;color:var(--primary);font-size:12px;margin-bottom:18px}.g-home-hero .g-lede{max-width:620px;font-size:15px;line-height:1.7;color:var(--muted-foreground);text-wrap:balance;margin:0 auto 32px}.g-home-composer{width:min(100%,1120px);min-width:0}.g-composer-workspace{display:block}.g-composer-workspace .g-panel{padding:20px;border-radius:28px;border:1px solid var(--border);background:var(--card);box-shadow:0 0 64px -28px color-mix(in srgb,var(--primary) 38%,transparent),0 12px 32px color-mix(in srgb,var(--foreground) 4%,transparent)}.g-workspace.g-composer-workspace .g-sticky{position:static;max-height:none;overflow:visible}.g-composer-workspace form>[data-slot=field-group]{display:grid;position:relative;grid-template-columns:56px minmax(0,1fr);gap:16px 20px;align-items:start;min-height:218px}.g-composer-workspace .g-prompt-area{grid-column:2;grid-row:1;min-height:152px}.g-composer-workspace[data-has-reference=false] .g-prompt-area{grid-column:1/-1}.g-composer-workspace .g-prompt-area textarea{min-height:120px;padding:0}.g-composer-workspace .g-prompt-area textarea:focus-visible{outline:none;box-shadow:none}.g-composer-workspace .g-panel:has(textarea:focus-visible){border-color:var(--ring)}.g-composer-workspace .g-field-hint{opacity:.8}.g-composer-workspace .g-prompt-area [data-slot=field]{gap:6px}.g-composer-toolbar{grid-column:1/-1;grid-row:2;display:flex;align-items:center;gap:8px;min-width:0;align-self:end}.g-composer-disclosure{min-width:0}.g-composer-disclosure>summary{display:flex;align-items:center;justify-content:center;gap:8px;padding:0 12px;min-height:44px;list-style:none;border-radius:22px;color:var(--muted-foreground);font-size:13px;cursor:pointer}.g-composer-disclosure>summary::-webkit-details-marker{display:none}.g-composer-disclosure>summary:hover,.g-composer-disclosure[open]>summary{background:var(--muted);color:var(--foreground)}.g-composer-disclosure>summary[aria-disabled=true]{opacity:.5;cursor:not-allowed}.g-composer-disclosure>summary>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.g-composer-disclosure>summary svg{width:17px;height:17px;flex-shrink:0}.g-composer-disclosure>summary .g-composer-chevron{width:13px;height:13px}.g-composer-kind{flex-shrink:0}.g-composer-kind>summary{background:var(--muted);color:var(--foreground)}.g-composer-parameters{flex:0 1 auto}.g-composer-assist{margin-left:auto;flex-shrink:0}.g-composer-assist>summary{width:44px;padding:0}.g-composer-assist .g-composer-chevron,.g-composer-attachment .g-composer-chevron{display:none}.g-composer-attachment{grid-column:1;grid-row:1}.g-composer-attachment>summary{position:relative;width:56px;height:72px;border:1px dashed var(--input);border-radius:13px;background:var(--muted)}.g-composer-attachment>summary>svg{width:24px;height:24px}.g-composer-reference-count{position:absolute;right:-5px;top:-5px;min-width:20px;padding:1px 5px;border-radius:10px;background:var(--primary);color:var(--primary-foreground);font-size:12px}.g-composer-popover{position:absolute;top:calc(100% + 12px);left:0;width:min(520px,100%);max-height:min(480px,65vh);overflow:auto;padding:20px;border:1px solid var(--border);border-radius:18px;background:var(--popover);color:var(--popover-foreground);box-shadow:0 16px 48px color-mix(in srgb,var(--background) 65%,transparent);z-index:20}.g-composer-parameters .g-composer-popover{left:auto;right:0}.g-composer-assist .g-composer-popover{left:auto;right:0;width:min(280px,100%)}.g-composer-workspace .g-composer-popover .g-tools-actions{display:grid}.g-composer-workspace .g-composer-popover .g-tools-actions button{justify-content:start;min-height:44px}.g-composer-types{display:flex;width:100%;gap:4px;flex-wrap:wrap;margin-bottom:16px}.g-composer-types [data-slot=toggle-group-item]{flex:1;min-height:44px;gap:8px}.g-composer-types [aria-pressed=true]{background:var(--secondary);color:var(--foreground)}.g-composer-types svg{width:16px;height:16px}.g-prompt-area{grid-column:1/-1;grid-row:2}.g-composer-workspace .g-prompt-area [data-slot=field]>div:first-child{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.g-composer-workspace .g-prompt-area textarea{min-height:108px;padding:4px 0;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:16px;line-height:1.7;resize:vertical}.g-prompt-area{display:flex;flex-direction:column;gap:12px;min-width:0}.g-workspace:not(.g-composer-workspace) .g-prompt-area{gap:8px}.g-workspace:not(.g-composer-workspace) .g-prompt-area textarea{min-height:calc(4lh + 16px);max-height:calc(8lh + 16px);font-size:16px;line-height:1.5;overflow-y:auto;resize:vertical}.g-workspace:not(.g-composer-workspace) .g-model-trigger{min-height:52px;padding:8px 10px}.g-prompt-area .g-tools-actions{margin:0}.g-prompt-area .g-tools-actions button{min-height:32px;height:auto;font-size:12px}.g-composer-workspace .g-model-field{min-width:0;flex:0 1 230px;gap:0}.g-composer-workspace .g-model-field>[data-slot=field-label]{display:none}.g-composer-workspace .g-model-trigger[data-slot=button]{border:0;min-height:44px;height:44px;padding:6px 10px;background:transparent;border-radius:12px;gap:8px}.g-composer-workspace .g-model-trigger:hover{background:var(--muted)}.g-composer-workspace .g-model-trigger small{display:none}.g-composer-workspace .g-model-trigger strong{font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.g-composer-workspace .g-model-trigger .g-model-logo{width:22px;height:22px;border-radius:6px}.g-composer-workspace .g-model-trigger .g-model-logo img{width:18px;height:18px}.g-composer-workspace .g-submit-bar{border:0;padding:0;position:static;background:transparent;flex-shrink:0;margin:0}.g-composer-workspace .g-submit-bar .g-composer-generate{width:auto;height:auto;padding:12px 16px;border-radius:12px}.g-submit-bar .g-priced-generate{min-height:48px;height:auto;max-width:100%;white-space:normal}.g-generate-label{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px;min-width:0}.g-generate-price{overflow-wrap:anywhere}.g-composer-workspace .g-submit-bar .g-composer-generate svg{width:21px;height:21px}.g-composer-workspace form>[data-slot=field-group]>:is([role=alert],[role=status],a){grid-column:1/-1}.g-composer-workspace .g-mode-controls,.g-composer-workspace .g-reference-controls,.g-composer-workspace .g-settings-controls{margin:0;padding:0;border:0}.g-composer-workspace .g-mode-controls .g-hint:not([role=status]){display:none}.g-composer-status{margin:0;color:var(--muted-foreground);font-size:12px}.g-composer-spinner{animation:g-composer-spin 1s linear infinite}@keyframes g-composer-spin{to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){.g-composer-spinner{animation:none}}@media (max-width:767px){.g-workspace.g-composer-workspace .g-panel{padding:16px;border-radius:22px}.g-composer-workspace form>[data-slot=field-group]{column-gap:12px;min-height:230px}.g-composer-toolbar{flex-wrap:wrap;gap:6px}.g-composer-workspace .g-model-field{flex:1 1 calc(100% - 130px)}.g-composer-parameters{max-width:calc(100% - 108px)}.g-composer-assist{margin-left:auto}.g-composer-workspace .g-submit-bar{margin-left:0}.g-composer-disclosure[open]{flex-basis:100%}.g-composer-disclosure[open]>summary{width:fit-content}.g-composer-attachment[open]>summary{width:56px}.g-composer-disclosure .g-composer-popover{position:static;width:100%;max-height:55vh;margin-top:10px;padding:14px;box-shadow:none}.g-composer-attachment[open]{grid-column:1/-1}.g-composer-workspace:has(.g-composer-attachment[open]) .g-prompt-area{grid-row:2;grid-column:1/-1}.g-composer-workspace:has(.g-composer-attachment[open]) .g-composer-toolbar{grid-row:3}.g-composer-parameters[open]{max-width:100%}.g-composer-disclosure>summary{font-size:12px;padding-inline:10px}}.g-prompt-examples{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;padding-top:20px;color:var(--muted-foreground);font-size:12px}.g-prompt-examples button[data-slot=button]{font-size:12px;font-weight:400;min-height:32px;height:auto;max-width:100%;white-space:normal;text-align:left;padding:6px 12px;border-radius:999px;background:var(--card);color:var(--muted-foreground);border:1px solid var(--border)}.g-prompt-examples button:hover{background:var(--accent);color:var(--accent-foreground)}.g-model-logo{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;width:36px;height:36px;border-radius:9px;background:#fff;border:1px solid #e4e4e7;padding:5px;overflow:hidden}.g-model-logo img{display:block;object-fit:contain;width:100%;height:100%}.g-model-logo>span{font-weight:700;color:#27272a;font-size:12px}.g-side-link .g-model-logo{width:24px;height:24px;border-radius:6px;padding:3px}.g-model-trigger[data-slot=button]{justify-content:start;width:100%;height:auto;min-height:66px;gap:12px;padding:12px;white-space:normal}.g-model-option>span:not(.g-model-logo),.g-model-trigger>span:not(.g-model-logo){text-align:start;flex:1;min-width:0}.g-model-option strong,.g-model-trigger strong{display:block;font-weight:500;font-size:13px;overflow-wrap:anywhere}.g-model-option small,.g-model-trigger small{display:block;font-weight:400;font-size:12px;color:var(--muted-foreground);line-height:1.6;margin-top:3px}.g-model-option>svg,.g-model-trigger>svg{flex-shrink:0;width:16px}.g-model-search{display:flex;align-items:center;gap:10px}.g-model-search svg{flex-shrink:0;color:var(--muted-foreground)}.g-model-options{max-height:min(55dvh,480px);overflow-y:auto;display:flex;flex-direction:column;gap:4px;padding:4px;margin-inline:-4px}.g-model-option[data-slot=button]{width:100%;min-height:72px;height:auto;gap:14px;padding:12px;justify-content:start;white-space:normal}.g-model-brand-group{display:flex;flex-direction:column;flex-shrink:0;gap:4px}.g-model-brand-group+.g-model-brand-group{margin-top:12px}.g-model-brand-heading{padding:8px 12px;color:var(--muted-foreground);font-size:12px;font-weight:600}.g-model-option[aria-pressed=true]{background:var(--accent);color:var(--accent-foreground)}.g-carousel-actions{display:flex;gap:8px}.g-carousel-actions button{border-radius:999px}.g-model-carousel{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(240px,30%);gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding:4px 0 16px}.g-model-card{height:auto;justify-content:start;white-space:normal;display:flex;flex-direction:column;align-items:start;gap:16px;min-height:180px;padding:24px;scroll-snap-align:start;border:1px solid var(--border);background:var(--card);border-radius:14px;position:relative;transition:border-color .2s,background .2s}.g-model-card:hover{border-color:var(--primary);background:var(--muted)}.g-model-card>.g-model-logo{width:44px;height:44px;padding:7px;flex:0 0 auto}.g-model-card>span:not(.g-model-logo){flex:1}.g-model-card>svg{position:absolute;top:28px;right:20px;color:var(--muted-foreground)}.g-model-card strong{display:block;font-weight:500;font-size:15px}.g-model-card small{display:block;font-weight:400;color:var(--muted-foreground);margin-top:6px;line-height:1.6;font-size:12px}.g-mode-options[data-slot=toggle-group]{flex-wrap:wrap;width:100%;gap:6px}.g-mode-options [data-slot=toggle-group-item]{min-height:36px;height:auto;padding:6px 10px;font-size:12px;white-space:normal}.g-mode-options [aria-pressed=true]{background:var(--accent);color:var(--primary);border-color:var(--primary)}.g-mode-controls .g-hint{margin:6px 0 0;line-height:1.45}.g-reference-controls,.g-settings-controls{min-width:0;padding:10px 0 0;border-top:1px solid var(--border)}.g-section-heading{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-bottom:8px}.g-section-heading h3{font-size:13px;font-weight:650;margin:0}.g-section-heading>span{margin-left:auto;font-size:12px;font-weight:400;color:var(--muted-foreground)}.g-reference-controls>.g-form+.g-form{margin-top:12px}.g-reference-controls>.g-form{gap:8px}.g-reference-controls .g-upload-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;font-size:12px;font-weight:600}.g-reference-controls .g-upload-heading label{min-width:0}.g-reference-controls .g-upload-count{flex:none;border:1px solid var(--border);border-radius:999px;padding:2px 8px;background:var(--muted);color:var(--muted-foreground);font-size:12px;font-weight:500;white-space:nowrap}.g-reference-controls .g-upload{padding:8px 10px}.g-reference-controls .g-upload>label{flex-direction:row;justify-content:center;gap:8px;min-height:30px}.g-reference-controls .g-upload>label:after{content:"";position:absolute;inset:0}.g-reference-controls .g-upload input[type=file]{position:absolute;width:1px;height:1px;padding:0;margin:0;opacity:0;overflow:hidden}.g-reference-controls .g-upload-requirements{display:flex;flex-wrap:wrap;gap:3px 10px;color:var(--muted-foreground);font-size:12px;line-height:1.4}.g-reference-controls .g-upload-requirements span+span:before{content:"·";margin-right:10px;color:var(--border)}.g-reference-controls .g-files{display:grid;gap:7px}.g-reference-controls .g-files .g-file{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;max-width:none;padding:6px;background:var(--background)}.g-reference-controls .g-file-preview{grid-column:1;width:52px;height:52px;overflow:hidden;border-radius:6px;background:var(--muted)}.g-reference-controls .g-file-preview img{display:block;width:100%;height:100%;object-fit:cover}.g-file-preview-trigger{padding:0;border:0;background:transparent;cursor:pointer;text-align:left}.g-file-preview-trigger:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.g-reference-controls .g-file-name.g-file-preview-trigger{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.g-file-name.g-file-preview-trigger:hover{text-decoration:underline}.g-upload-media-preview{display:flex;align-items:center;justify-content:center;min-width:0;min-height:0}.g-upload-media-preview :is(img,video){display:block;width:100%;max-height:65dvh;object-fit:contain;border-radius:8px}.g-upload-media-preview audio{width:100%}.g-reference-controls .g-file-info{display:flex;flex-direction:column;gap:2px;grid-column:2;min-width:0}.g-reference-controls .g-file-role{color:var(--foreground);font-size:12px;font-weight:600}.g-reference-controls .g-file-name{color:var(--muted-foreground);font-size:12px}.g-reference-controls .g-file-actions{grid-column:3;flex-wrap:nowrap;gap:0}.g-reference-controls .g-file-actions button{width:32px;min-height:32px}.g-reference-controls .g-files .g-file[data-kind=audio] .g-file-info,.g-reference-controls .g-files .g-file[data-kind=video] .g-file-info{grid-column:1/3;grid-row:1}.g-reference-controls .g-files .g-file[data-kind=audio] .g-file-preview,.g-reference-controls .g-files .g-file[data-kind=video] .g-file-preview{grid-column:1/-1;grid-row:2;width:100%;height:auto}.g-reference-controls .g-files .g-file video{display:block;width:100%;max-height:150px}.g-reference-controls .g-files .g-file audio{display:block;width:100%;height:42px}.g-reference-controls [role=status] .g-file{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;max-width:none;margin-top:6px}@media (max-width:639px){.g-reference-controls .g-file-actions button{width:40px;min-height:40px}}.g-ratio-options[data-slot=toggle-group]{display:flex;flex-wrap:nowrap;width:100%;overflow-x:auto;gap:8px;padding:3px 2px 8px;scrollbar-width:thin;scroll-snap-type:x proximity}.g-ratio-options [data-slot=toggle-group-item]{display:flex;flex-direction:column;flex:0 0 54px;gap:8px;min-height:64px;padding:8px 4px;font-size:12px;white-space:normal;scroll-snap-align:start}.g-ratio-shape{display:block;border:1.5px solid;border-radius:2px;max-width:22px;max-height:22px;flex-shrink:0}.g-template-cover img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.g-template-card:hover .g-template-cover img{transform:scale(1.025)}@media (min-width:1100px){.g-sticky{position:sticky;top:20px}}@media (max-width:1150px){.g-desktop-nav{gap:14px}.g-header{gap:16px;padding:0 3%}.g-header .g-beta,.g-header .g-credit-label{display:none}}@media (max-width:960px){.g-desktop-nav{display:none}.g-header-actions{margin-left:auto}.g-workspace{grid-template-columns:minmax(280px,350px) minmax(0,1fr)}.g-results{grid-template-columns:1fr}.g-grid3{grid-template-columns:repeat(2,minmax(0,1fr))}.g-section-heading{align-items:start}.g-section-heading>p{max-width:260px}}@media (max-width:600px){.g-guide-links{flex-direction:column}.g-toolbar{flex-wrap:wrap}[data-slot=tabs-list]{max-width:100%;overflow-x:auto}[data-slot=dialog-content]{overflow-x:hidden}}@media (max-width:639px){.g-credit-full,.g-credit-label,.g-header-actions .g-header-preference{display:none}.g-credit-compact,.g-menu-preferences{display:block}.g-header-actions button[data-slot=button]{min-width:44px;min-height:44px}.g-header-actions .g-credit{max-width:none;overflow:visible}.g-submit-bar{padding-bottom:max(12px,env(safe-area-inset-bottom))}.g-file>span{flex-basis:calc(100% - 70px)}.g-tools-actions{flex-wrap:wrap}form input,form select,form textarea{font-size:16px}.g-form-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:20px;inset:auto;top:50%;left:50%;transform:none;translate:-50% -50%}form button,form input:not([type=file]):not([type=checkbox]):not([type=radio]),form select{min-height:44px}.g-auth-dialog{padding:16px 20px;gap:10px}.g-auth-dialog [data-slot=dialog-title]{font-size:22px}.g-auth-dialog [data-slot=dialog-header],.g-auth-dialog[data-mode=register] [data-slot=tabs-content]{gap:4px}}@media (min-width:1200px){.g-workspace:not(.g-composer-workspace) .g-model-field>[data-slot=field-label]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.g-workspace:not(.g-composer-workspace) .g-mode-controls .g-hint:not([role=status]){display:none}.g-studio-form,.g-workspace:not(.g-composer-workspace) .g-panel{display:flex;flex-direction:column}.g-studio-form{flex:1;min-height:0;gap:12px}.g-studio-fields{flex:1;min-height:0;overflow-y:auto;padding:4px;margin:-4px;scrollbar-width:thin}.g-studio-form>.g-submit-bar{position:static;flex-shrink:0}.g-workspace .g-sticky{position:sticky;top:calc(var(--header-height) + 12px);max-height:calc(100dvh - var(--header-height) - 28px);overflow:hidden;scrollbar-width:thin}.g-workspace:not(.g-composer-workspace){align-items:stretch}.g-workspace:not(.g-composer-workspace)>.g-sticky{position:static;align-self:stretch;height:0;min-height:100%;max-height:none}}@media (max-width:900px){.g-page-history .g-results{grid-template-columns:repeat(2,minmax(0,1fr))}.g-workspace{grid-template-columns:minmax(300px,340px) minmax(0,1fr);gap:14px}.g-result-panel{padding:16px}.g-tool-cards{gap:12px}.g-creation-card{padding:20px}}@media (max-width:1199px){.g-workspace:not(.g-composer-workspace) .g-studio-fixed-head{position:sticky;top:calc(var(--header-height) + 8px);z-index:4}.g-media-result-panel{grid-template-rows:auto auto;min-height:0;overflow:visible}.g-media-detail,.g-media-history{overflow:visible}.g-desktop-nav{display:none}.g-header-actions .g-nav-trigger{display:inline-flex}.g-credit-full{display:none}.g-credit-compact{display:block}.g-sidebar{display:none}.g-header .g-drawer-trigger{display:inline-flex}.g-header,.g-home,.g-page{padding-inline:24px}.g-workspace .g-sticky{position:static}.g-sidebar-toggle{display:none}.g-home-hero{margin-inline:-24px;padding-inline:24px}.g-shell-content{margin-left:0}}@media (min-width:701px) and (max-width:1199px){.g-workspace:not(.g-composer-workspace){align-items:stretch}.g-workspace:not(.g-composer-workspace)>.g-sticky{display:flex;flex-direction:column;align-self:stretch;height:0;min-height:100%;overflow:hidden}.g-workspace:not(.g-composer-workspace) .g-studio-form{display:flex;flex-direction:column;flex:1;min-height:0}.g-workspace:not(.g-composer-workspace) .g-studio-fields{flex:1;min-height:0;overflow-y:auto;padding:4px;margin:-4px;scrollbar-width:thin}.g-workspace:not(.g-composer-workspace) .g-studio-form>.g-submit-bar{position:static;flex-shrink:0}}@media (min-width:701px){.g-media-detail,.g-media-history{overflow:hidden}.g-media-detail .g-results{min-height:0;overflow:hidden}.g-media-result-panel-has-task .g-media-detail .g-task{flex:1 1 0;min-height:0}.g-media-detail .g-task-media{aspect-ratio:auto;min-height:0;overflow:hidden}.g-media-detail .g-task-body{min-height:0;overflow:hidden}.g-media-detail .g-task-prompt-full{flex:1 1 0;min-height:2.5em;max-height:none;overflow-wrap:anywhere}.g-media-detail .g-task-detail-lyrics{flex:0 1 72px;min-height:40px}.g-media-history-list{flex:1;max-height:none}.g-media-history>.g-hint{display:flex;flex:1;align-items:center}}@media (min-width:701px) and (max-height:820px){.g-media-detail .g-task-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 8px;margin-top:6px;padding-block:4px}.g-media-detail .g-task-fact:first-child{grid-column:span 2}.g-media-detail .g-task-fact dt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.g-media-detail .g-task-detail-note p{max-height:1.4em}.g-media-detail .g-task-detail-lyrics{flex-basis:54px}}@media (min-width:701px) and (max-height:680px){.g-media-detail .g-task-body{overflow-y:auto;scrollbar-width:thin}.g-media-detail .g-task-detail-actions>[data-slot=button]{width:40px;justify-self:center;font-size:0}}@media (max-width:700px){.g-media-detail .g-task-body{height:480px;min-height:0;overflow:hidden}.g-media-detail .g-task-prompt-full{flex:1 1 0;min-height:2.5em;max-height:none}.g-media-detail .g-task-detail-lyrics{flex:0 1 72px;min-height:40px}}@media (max-width:639px){.g-media-detail .g-task{grid-template-columns:minmax(0,1fr)}.g-media-detail .g-task-media{aspect-ratio:4/3;max-height:320px}.g-media-history-list{grid-template-columns:minmax(0,1fr)}}@media (max-width:700px){.g-brand{font-size:21px;gap:7px}.g-logo{width:30px;height:30px}.g-language{width:60px}.g-header-actions button[data-slot=button]{font-size:12px;padding-inline:10px}.g-hero-actions{gap:18px}.g-lede{font-size:15px}.g-section-heading>p{max-width:100%}.g-steps,.g-tool-cards{grid-template-columns:1fr}.g-steps{gap:20px;padding-bottom:40px}.g-steps article{display:grid;grid-template-columns:45px 1fr;gap:6px}.g-steps h3{margin:0}.g-steps p{grid-column:2;max-width:none}.g-faq{margin-bottom:50px}.g-grid2,.g-grid3{grid-template-columns:1fr}.g-panel{padding:20px}.g-mobile-hidden{display:none}.g-submit-bar{position:sticky;bottom:0;background:var(--card);padding:12px 0;z-index:10}.g-submit-bar button{width:100%}.g-subnav{justify-content:flex-start;white-space:nowrap;padding-left:20px;gap:22px}.g-page{padding-top:32px}.g-results{margin-top:20px}.g-toolbar{align-items:stretch}.g-toolbar>[data-slot=field]{min-width:120px}.g-price strong{font-size:36px}.g-article{font-size:16px}.g-row{gap:8px}.g-app-shell{--header-height:60px}.g-header-actions{gap:4px}.g-header .g-credit{padding-inline:8px}.g-home,.g-page{padding:18px 16px 32px}.g-section-heading{gap:16px;flex-direction:row;align-items:center}.g-section{padding-bottom:40px;padding-block:22px}.g-page-history .g-results,.g-tool-cards{grid-template-columns:1fr}.g-creation-card{display:grid;grid-template-columns:42px minmax(0,1fr);gap:8px 16px;padding:20px}.g-creation-icon{grid-row:span 2;width:42px;height:42px;margin:0}.g-creation-card h3{margin:0}.g-workspace{display:block}.g-workspace .g-panel{padding:18px}.g-result-panel.g-mobile-hidden{display:none}.g-mobile-tabs{display:flex;margin-bottom:16px}.g-mobile-tabs [data-slot=tabs-list]{width:100%}.g-workspace .g-submit-bar{padding-bottom:env(safe-area-inset-bottom,0)}.g-page-account .g-panel{padding:20px}.g-price{min-height:300px}.g-footer{padding:24px 16px;gap:16px}.g-footer nav{margin-left:0;flex-basis:100%;flex-wrap:wrap}.g-banner{padding:10px 16px}.g-header{height:var(--header-height);padding:0 18px;padding-inline:12px;gap:8px}.g-header>.g-brand{font-size:19px;gap:7px}.g-header .g-logo{width:30px;height:30px;border-radius:8px}.g-header .g-beta{display:none}.g-home{padding-top:0}.g-home-hero{margin-inline:-16px;padding:44px 16px 30px;align-items:center}.g-home-hero h1{font-size:34px;line-height:1.13}.g-home-hero-copy{background:transparent;width:100%;padding:0}.g-home-hero .g-lede{font-size:13px;margin-bottom:24px}.g-home-hero .g-eyebrow{font-size:12px;margin-bottom:16px}.g-prompt-examples{justify-content:start}.g-model-carousel{grid-auto-columns:82%}.g-model-card{min-height:180px}}@media (prefers-reduced-motion:reduce){*,:after,:before{animation:none!important;transition:none!important;scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}.g-creation-card,.g-side-link{transition:none}.g-creation-card:hover{transform:none}.g-model-card,.g-template-cover img{transition:none}.g-template-card:hover .g-template-cover img{transform:none}}.g-page-account>.g-account,.g-page-account>.g-page-heading{max-width:1100px;margin-inline:auto}.g-account-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:24px}.g-account-column,.g-account-feedback,.g-account-stack{display:flex;flex-direction:column;gap:16px;min-width:0}.g-account-column{gap:24px}.g-account [data-slot=card]{--card-spacing:24px}.g-account [data-slot=card-title] h2{display:flex;align-items:center;gap:8px;margin:0;font:inherit;letter-spacing:inherit}.g-account [data-slot=card-title] svg{width:18px;height:18px;flex-shrink:0}.g-account [data-slot=field-group]{gap:16px}.g-account [data-slot=field]{gap:8px}.g-account [data-slot=card-content],.g-account [data-slot=card-header]{min-width:0;overflow-wrap:anywhere}.g-account [data-slot=button]{white-space:normal;height:auto;min-height:44px}.g-account-avatar-row{display:flex;align-items:center;gap:16px}.g-account-avatar{display:grid;place-items:center;flex:0 0 64px;width:64px;height:64px;overflow:hidden;border-radius:50%;background:var(--accent);color:var(--accent-foreground);font-size:24px;font-weight:600}.g-account-avatar img{width:100%;height:100%;object-fit:cover}.g-account-avatar-controls{min-width:0;display:flex;align-items:flex-start;flex-direction:column;gap:8px}.g-account-hint{margin:0;color:var(--muted-foreground);font-size:12px;line-height:1.6}.g-account-email{margin:0;display:flex;flex-direction:column;gap:8px}.g-account-email dt{font-weight:500}.g-account-email dd{margin:0;color:var(--muted-foreground);overflow-wrap:anywhere}.g-account-actions{display:flex;justify-content:flex-end}.g-account-balance{font-size:36px;font-weight:600;letter-spacing:-.04em;line-height:1.15;font-variant-numeric:tabular-nums}.g-account-signout{display:flex;justify-content:flex-end;margin-top:24px}.g-signout-dialog{inset:auto;top:50%;left:50%;translate:-50% -50%;width:min(440px,calc(100vw - 32px));max-width:440px;height:auto;max-height:calc(100dvh - 32px);border-radius:12px;padding:24px;gap:24px;overflow-wrap:anywhere}.g-signout-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px}.g-signout-dialog [data-slot=dialog-title]{font-size:18px;line-height:1.4;margin:0;letter-spacing:normal}.g-signout-actions [data-slot=button]{min-height:44px;height:auto;white-space:normal}.g-session-notice [data-slot=alert-description]{display:flex;align-items:center;justify-content:space-between;gap:12px}.g-header-checkin{position:relative}.g-checkin-feedback{position:absolute;top:calc(100% + 12px);right:0;width:min(320px,calc(100vw - 80px));padding:12px;display:flex;flex-direction:column;gap:8px;border:1px solid var(--border);border-radius:12px;background:var(--popover);box-shadow:0 12px 32px #0002;overflow-wrap:anywhere}.g-checkin-feedback-actions{display:flex;justify-content:flex-end}.g-checkin-feedback [data-slot=button]{white-space:normal;height:auto}@media (max-width:1023px){.g-account-layout{grid-template-columns:minmax(0,1fr)}.g-checkin-label{display:none}}@media (max-width:639px){.g-account [data-slot=card]{--card-spacing:16px}.g-account-column,.g-account-layout{gap:16px}}.g-header .g-credit-trigger{min-height:44px;padding:10px 16px;gap:8px;border-color:transparent;border-radius:999px;background:var(--accent);color:var(--primary);font-size:16px;font-weight:650;font-variant-numeric:tabular-nums}.g-header .g-credit-trigger:hover,.g-header .g-credit-trigger[data-popup-open]{background:color-mix(in srgb,var(--primary) 8%,var(--accent));border-color:var(--primary)}.g-header .g-credit-trigger>svg{width:20px;height:20px}.g-header-actions .g-checkin-trigger{width:auto;padding-inline:14px;gap:8px;border-radius:999px}.g-credit-positioner{z-index:60}.g-credit-popup{display:flex;flex-direction:column;gap:24px;width:min(420px,var(--available-width),calc(100vw - 32px));max-height:min(var(--available-height),calc(100dvh - 32px));padding:24px;border:1px solid var(--border);border-radius:12px;background:var(--popover);color:var(--foreground);box-shadow:0 16px 48px #0003;overflow-y:auto;overscroll-behavior:contain;overflow-wrap:anywhere}.g-credit-heading{justify-content:space-between}.g-credit-heading,.g-credit-heading h2{display:flex;align-items:center;gap:12px}.g-credit-heading h2{margin:0;font-size:24px;font-weight:650}.g-credit-heading h2>svg{width:24px;height:24px;color:var(--primary);flex-shrink:0}.g-credit-heading [data-slot=button]{width:44px;height:44px}.g-credit-balance{display:grid;justify-items:center;gap:8px;padding-block:8px 16px;text-align:center}.g-credit-balance strong{max-width:100%;font-size:clamp(36px,8vw,52px);font-weight:650;line-height:1.1;font-variant-numeric:tabular-nums;color:var(--primary)}.g-credit-balance p{margin:0;color:var(--muted-foreground);font-size:16px}.g-credit-subscription{display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid var(--border);border-radius:12px;background:var(--muted)}.g-credit-subscription-heading{display:flex;align-items:center;gap:10px}.g-credit-subscription-heading>svg{width:20px;height:20px;flex-shrink:0;color:var(--primary)}.g-credit-subscription h3{margin:0;font-size:15px;font-weight:600}.g-credit-subscription p{margin:0;color:var(--muted-foreground);font-size:14px}.g-credit-subscription [data-slot=button]{align-self:start;min-height:44px}.g-credit-loading{display:flex;align-items:center;gap:8px}.g-credit-loading>svg{width:16px;height:16px}.g-credit-plan{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 12px}.g-credit-plan strong{min-width:0;font-size:15px}.g-credit-plan span{font-size:12px;color:var(--muted-foreground)}.g-credit-period{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin:0;font-size:13px}.g-credit-period dt{min-width:0;color:var(--muted-foreground)}.g-credit-period dd{margin:0;flex-shrink:0;white-space:nowrap;font-weight:600;font-variant-numeric:tabular-nums}.g-credit-billing{display:flex;justify-content:center;align-items:center;gap:8px;min-height:44px;margin-top:-16px;border-radius:8px;font-size:14px;color:var(--muted-foreground)}.g-credit-billing:hover{color:var(--foreground);background:var(--muted)}.g-credit-billing>svg{width:16px;height:16px;flex-shrink:0}.g-credit-actions{display:flex;flex-direction:column;gap:12px}.g-credit-actions [data-slot=button]{min-height:48px;height:auto;padding:12px 16px;white-space:normal;font-size:15px;font-weight:600;gap:10px}.g-credit-actions .g-credit-checkin{background:var(--accent);color:var(--accent-foreground);border-color:var(--border)}.g-credit-actions .g-credit-checkin:hover{border-color:var(--primary)}.g-checkin-trigger[aria-disabled=true],.g-credit-checkin[aria-disabled=true]{opacity:.55;cursor:wait}.g-credit-actions .g-credit-checkin[data-checked-in]{background:var(--muted);color:var(--muted-foreground);border-color:var(--border);opacity:1;cursor:default}.g-credit-popup .g-checkin-feedback{position:static;width:auto;box-shadow:none}@media (max-width:1023px){.g-account-name{max-width:7em}.g-language-pill{min-width:80px;padding-inline:12px}.g-header-actions .g-checkin-trigger{width:44px;padding-inline:0}}@media (max-width:639px){.g-header-actions .g-account-trigger{height:44px;gap:6px;padding:4px 8px 4px 4px}.g-account-avatar-badge{width:36px;height:36px}.g-account-name{display:none}.g-header-actions .g-account-trigger{padding:4px}.g-account-chevron{display:none}.g-header .g-credit-trigger{padding-inline:12px;font-size:14px;gap:6px}.g-credit-popup{padding:20px;gap:20px}}@media (max-width:374px){.g-header>.g-brand .g-brand-name{display:none}}.g-page-billing>.g-billing,.g-page-billing>.g-page-heading{max-width:1100px;width:100%;margin-inline:auto}.g-billing{display:grid;gap:24px;min-width:0}.g-billing-overview{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:stretch}.g-billing [data-slot=card]{--card-spacing:24px;min-width:0;border-radius:12px}.g-billing [data-slot=card-title] h2{display:flex;align-items:center;gap:8px;margin:0;font:inherit}.g-billing [data-slot=card-title] svg{width:18px;height:18px;flex-shrink:0;color:var(--primary)}.g-billing [data-slot=button],.g-billing-dialog [data-slot=button]{min-height:44px;white-space:normal;height:auto}.g-billing p{margin:0}.g-billing .g-billing-plan{color:var(--foreground);margin-bottom:24px;font-size:28px;line-height:1.2;font-weight:600;letter-spacing:-.035em;overflow-wrap:anywhere}.g-billing-plan-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0}.g-billing-plan-facts>div+div{border-left:1px solid var(--border);padding-left:24px}.g-billing dt,.g-billing-muted,.g-billing-no-subscription p,.g-billing-portal p{color:var(--muted-foreground);font-size:13px;line-height:1.6}.g-billing dd{margin:6px 0 0;font-weight:500;font-size:16px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.g-billing-status{max-width:100%;height:auto;min-height:26px;white-space:normal;line-height:1.4;text-align:start;padding:4px 8px;border-radius:6px}.g-billing-status svg{width:12px;height:12px;flex-shrink:0}.g-billing-portal{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;align-items:center}.g-billing-portal>div{flex:1 1 180px;min-width:0}.g-billing-portal [data-slot=alert]{margin-top:12px}.g-billing-balance{background:linear-gradient(125deg,color-mix(in srgb,var(--primary) 8%,var(--card)),var(--card))}.g-billing-balance-value{font-size:40px;font-weight:600;line-height:1.2;letter-spacing:-.04em;color:var(--primary);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.g-billing-balance [data-slot=card-footer]{background:transparent}.g-billing-balance [data-slot=button]{width:100%;justify-content:space-between}.g-billing-no-subscription{display:grid;justify-items:start;gap:12px}.g-billing-no-subscription h3{font-size:22px;font-weight:500;margin:0}.g-billing-orders [data-slot=card-content]{padding-top:0}.g-billing-table{width:100%;table-layout:fixed;border-collapse:collapse;text-align:left}.g-billing-table th{padding:0 16px 12px;font-size:12px;font-weight:500;color:var(--muted-foreground);border-bottom:1px solid var(--border)}.g-billing-table th:first-child{width:40%}.g-billing-table th:nth-child(2),.g-billing-table th:nth-child(3){width:20%}.g-billing-table td{padding:18px 16px;vertical-align:middle;overflow-wrap:anywhere}.g-billing-table tr+tr td{border-top:1px solid var(--border)}.g-billing-table td:first-child,.g-billing-table th:first-child{padding-left:0}.g-billing-table td:last-child,.g-billing-table th:last-child{padding-right:0;text-align:right}.g-billing-table strong{display:block;font-size:14px;font-weight:500;line-height:1.5;font-variant-numeric:tabular-nums}.g-billing-table td>span:not([data-slot=badge]){display:block;margin-top:4px;color:var(--muted-foreground);font-size:12px;line-height:1.5}.g-billing-order-number{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.g-billing-table [data-slot=button]{padding-inline:10px;font-size:12px}.g-billing-table [data-slot=button] svg{width:14px;flex-shrink:0}.g-billing-table [data-slot=badge]{display:inline-flex}.g-billing-pagination{justify-content:flex-end}.g-billing-pagination>.g-pager{margin:0}.g-billing-loading{display:grid;gap:16px}.g-billing-skeleton{height:56px;border-radius:8px}.g-billing-loading .g-billing-skeleton:last-child{width:75%}.g-billing [data-slot=alert-description],.g-billing-dialog [data-slot=alert-description]{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}.g-billing [data-slot=alert-description]>span{flex:1 1 180px;overflow-wrap:anywhere}.g-billing-dialog{inset:auto;top:50%;left:50%;translate:-50% -50%;width:min(480px,calc(100vw - 32px));height:auto;max-width:none;max-height:calc(100dvh - 32px);padding:24px;border-radius:12px;gap:24px}.g-billing-dialog [data-slot=dialog-header]{padding-right:32px;gap:12px}.g-billing-dialog-close{position:absolute;top:12px;right:12px}.g-billing-detail-total{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding-bottom:24px;border-bottom:1px solid var(--border)}.g-billing-detail-total>strong{font-size:32px;letter-spacing:-.03em;font-weight:600;font-variant-numeric:tabular-nums}.g-billing-detail-facts{display:grid;gap:20px;margin:0}.g-billing-detail-facts>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:16px}.g-billing-detail-facts dt{color:var(--muted-foreground)}.g-billing-detail-facts dd{margin:0;text-align:right;overflow-wrap:anywhere}.g-billing-dialog-footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px}.g-payment-confirmation-dialog [data-slot=dialog-header]{padding-inline:32px;text-align:center}.g-payment-confirmation-state{display:grid;justify-items:center;gap:12px;text-align:center}.g-payment-confirmation-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;color:var(--muted-foreground);background:var(--muted)}.g-payment-confirmation-icon svg{width:28px;height:28px}.g-payment-confirmation-state[data-state=success] .g-payment-confirmation-icon{color:var(--primary);background:color-mix(in srgb,var(--primary) 16%,transparent)}.g-payment-confirmation-state[data-state=error] .g-payment-confirmation-icon,.g-payment-confirmation-state[data-state=result] .g-payment-confirmation-icon{color:var(--destructive);background:color-mix(in srgb,var(--destructive) 14%,transparent)}.g-payment-confirmation-state .g-billing-order-number{margin:0;overflow-wrap:anywhere}@media (min-width:1024px){.g-billing-overview>[data-slot=card]>[data-slot=card-footer]{margin-top:auto}}@media (max-width:1023px){.g-billing-overview{grid-template-columns:minmax(0,1fr)}.g-billing-balance{padding-bottom:var(--card-spacing);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.g-billing-balance [data-slot=card-content],.g-billing-balance [data-slot=card-header]{grid-column:1}.g-billing-balance [data-slot=card-footer]{grid-column:2;grid-row:1/3;border:0;padding-block:0}}@media (max-width:767px){.g-billing-table,.g-billing-table tbody{display:block}.g-billing-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.g-billing-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 16px;padding-block:20px;border-top:1px solid var(--border)}.g-billing-table td{padding:0}.g-billing-table tr+tr td{border-top:0}.g-billing-order-name{grid-column:1;grid-row:1}.g-billing-order-amount{grid-column:1;grid-row:2}.g-billing-order-status{grid-column:2;grid-row:1;max-width:125px;text-align:right}.g-billing-order-action{grid-column:2;grid-row:2;align-self:end;max-width:125px}}@media (max-width:639px){.g-billing,.g-billing-overview{gap:16px}.g-billing [data-slot=card]{--card-spacing:16px}.g-billing-plan-facts>div+div{padding-left:16px}.g-billing-portal>div{flex-basis:100%}.g-billing-balance{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:12px 0}.g-billing-balance [data-slot=card-header]{grid-column:1/-1}.g-billing-balance [data-slot=card-footer]{grid-row:2;padding:0 16px 0 0}.g-billing-balance-value{font-size:32px}.g-billing-dialog{padding:20px}}.g-billing-dialog [data-slot=dialog-title]{font-size:18px;line-height:1.4;margin:0}.g-billing-dialog [data-slot=dialog-close]{min-width:44px;min-height:44px}.g-billing-status:lang(en){text-transform:capitalize}.g-model-hero{padding-top:16px}.g-model-title{display:flex;align-items:center;gap:16px;margin:16px 0}.g-model-title h1{margin:0;overflow-wrap:anywhere}.g-model-title .g-model-logo{flex:0 0 48px;width:48px;height:48px}.g-model-modes{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.g-model-capabilities,.g-model-related{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px}.g-model-capability{padding:24px;border:1px solid var(--border);border-radius:14px;background:var(--card);min-width:0}.g-model-capability h3{font-size:16px;margin-bottom:12px}.g-model-capability dt,.g-model-capability p{color:var(--muted-foreground);font-size:12px}.g-model-capability dl{display:grid;gap:12px;margin-top:16px}.g-model-capability dd{font-size:13px;line-height:1.8;overflow-wrap:anywhere}.g-model-landing .g-faq{border-bottom:1px solid var(--border);padding:18px 0;margin:0}.g-model-landing .g-faq summary{cursor:pointer}.g-model-landing .g-faq summary:after{content:"+"}.g-model-landing .g-faq[open] summary:after{content:"−"}.g-model-landing .g-faq p{margin-top:14px}.g-model-landing .g-faq a{text-decoration:underline;text-underline-offset:4px}.g-model-related .g-model-card{min-height:140px}.g-model-card:focus-visible,.g-model-landing summary:focus-visible{outline:2px solid var(--ring);outline-offset:4px}.g-model-loading{margin-block:24px}.g-model-guide>p{max-width:850px;color:var(--muted-foreground);font-size:14px;line-height:1.8}.g-model-guide-subtitle{margin-top:24px;margin-bottom:8px;font-size:16px}.g-model-guide-examples{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:24px;margin-top:24px}.g-model-guide-examples>section{border-top:1px solid var(--border);padding-top:18px;min-width:0}.g-model-guide-examples h3{font-size:16px;margin-bottom:12px}.g-model-guide-examples p{font-size:14px;line-height:1.8;overflow-wrap:anywhere;color:var(--muted-foreground)}@media (min-width:701px){.g-model-landing .g-media-result-panel{height:660px;min-height:0;grid-template-rows:minmax(0,1fr) 254px;overflow:hidden}}@media (max-width:700px){.g-model-landing .g-steps{grid-template-columns:1fr;gap:20px}.g-model-hero{padding-top:0}}:where([data-slot=button],[data-slot=input],[data-slot=textarea],[data-slot=toggle-group-item],[data-slot=tabs-trigger]):focus-visible{outline:2px solid var(--ring);outline-offset:3px;box-shadow:none}.g-empty-action,[data-slot=button]{min-height:44px;height:auto;gap:8px;padding-block:10px;white-space:normal;overflow-wrap:anywhere;line-height:1.4}[data-slot=button][data-size^=icon]{min-width:44px;padding:8px}.g-auth-dialog button[type=submit],.g-submit-bar button[data-slot=button]{min-height:48px;font-size:14px}@media (hover:hover){[data-slot=button][data-variant=default]:not(:disabled):hover{background:color-mix(in srgb,var(--primary) 88%,var(--foreground))}}.g-model-option strong,.g-model-trigger strong,.g-workspace [data-slot=field-label]{font-size:14px}.g-prompt-area .g-tools-actions button[data-slot=button],.g-workspace .g-mode-options [data-slot=toggle-group-item],.g-workspace .g-parameter-options [data-slot=toggle-group-item]{min-height:44px}.g-workspace .g-ratio-options [data-slot=toggle-group-item]{min-height:64px}.g-workspace:not(.g-composer-workspace) form>[data-slot=field-group]{gap:16px}.g-reference-hint{margin:0;font-size:12px;line-height:1.5}.g-advanced>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;list-style:none;color:var(--foreground)}.g-advanced>summary::-webkit-details-marker{display:none}.g-advanced>summary svg{width:16px;height:16px;flex-shrink:0;transition:transform .16s ease}.g-advanced[open]>summary svg{transform:rotate(180deg)}.g-advanced>[data-slot=field-group]{margin-top:12px}.g-ratio-options [data-slot=toggle-group-item]:not(:has(.g-ratio-shape)){flex:0 0 auto;min-width:72px;width:auto;padding-inline:12px;white-space:nowrap}.g-studio-fields :is(input,textarea,select,summary,button){scroll-margin-block:90px}.g-form-dialog.g-model-dialog{height:min(680px,calc(100dvh - 32px));display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;align-content:stretch;overflow:hidden;gap:16px}.g-model-dialog .g-model-options{min-height:0;max-height:none;overscroll-behavior:contain}.g-model-dialog .g-model-option{flex-shrink:0}.g-model-dialog .g-model-search input{min-height:44px;font-size:16px}.g-auth-dialog,.g-model-dialog [data-slot=empty]{overflow-y:auto}.g-auth-dialog{overscroll-behavior:contain}.g-auth-dialog :is([data-slot=tabs-content],.g-auth-email-form){min-height:0}.g-auth-dialog [data-slot=field-group],.g-auth-dialog[data-mode=register] .g-auth-email-form>[data-slot=field-group]{gap:16px}.g-auth-dialog button[data-slot=button]:not([type=submit]),.g-auth-dialog input{min-height:44px}.g-composer-workspace form>[data-slot=field-group]{grid-template-columns:minmax(0,1fr);gap:12px}.g-composer-workspace .g-composer-attachment{grid-column:1/-1;grid-row:1;justify-self:start}.g-composer-workspace .g-composer-attachment>summary{width:auto;min-height:44px;height:auto;padding:8px 12px;gap:8px}.g-composer-workspace .g-composer-attachment .g-reference-label{white-space:normal;font-size:12px}.g-composer-workspace .g-prompt-area{grid-column:1/-1;grid-row:2;min-height:120px}.g-composer-workspace .g-composer-toolbar{grid-row:3;flex-wrap:wrap}.g-composer-workspace .g-field-hint{font-size:12px;opacity:1}.g-composer-workspace .g-submit-bar .g-composer-generate{min-height:48px}.g-composer-parameters{max-width:100%}.g-composer-workspace .g-composer-parameters>summary>span{white-space:normal;overflow-wrap:anywhere;text-align:start}.g-composer-workspace .g-composer-attachment[open]{justify-self:stretch}.g-composer-workspace .g-composer-attachment[open]>summary{width:fit-content}@media (max-width:700px){.g-workspace:not(.g-composer-workspace){--g-submit-height:80px}.g-workspace:not(.g-composer-workspace)>.g-panel:not(.g-mobile-hidden){padding-bottom:calc(var(--g-submit-height) + 16px)}.g-workspace:not(.g-composer-workspace) .g-studio-form>.g-submit-bar{position:fixed;inset:auto 0 0;z-index:30;padding:12px 16px calc(12px + env(safe-area-inset-bottom, 0px));margin:0;border-top:1px solid var(--border);background:var(--card)}.g-workspace[data-keyboard-open=true]:not(.g-composer-workspace) .g-submit-bar,body:has([role=dialog],[role=alertdialog],[role=menu]) .g-workspace:not(.g-composer-workspace) .g-submit-bar{visibility:hidden;pointer-events:none}.g-composer-workspace .g-composer-parameters{flex:1 1 100%;max-width:none}.g-composer-workspace .g-composer-parameters>summary{justify-content:flex-start}.g-composer-workspace .g-composer-assist{margin-left:0}.g-composer-workspace .g-submit-bar{margin-left:auto;max-width:calc(100% - 52px)}.g-composer-workspace .g-model-field{flex-basis:calc(100% - 130px)}.g-auth-dialog{max-height:calc(100dvh - 24px)}}@media (prefers-reduced-motion:reduce){.g-advanced>summary svg{transition:none}}:is([data-slot=input],[data-slot=textarea]):not([aria-invalid=true]):focus-visible{border-color:var(--input)}.g-shell-content[data-generator]{display:flex;flex-direction:column;height:100dvh;overflow:hidden}.g-shell-content[data-generator]>.g-banner{flex-shrink:0}.g-shell-content[data-generator]>main{flex:1;min-height:0}.g-page-studio{display:flex;flex-direction:column;height:100%;min-height:0;padding-block:12px}.g-page-studio>.g-tool-heading{position:relative;width:100%;max-width:none;min-height:32px;flex-shrink:0;margin-bottom:8px}.g-page-studio>.g-tool-heading h1{margin:0;padding-right:48px}.g-page-studio>.g-mobile-tabs{flex-shrink:0}.g-page-studio>.g-workspace{flex:1;min-height:0;grid-template-rows:minmax(0,1fr)}.g-page-studio .g-workspace>.g-sticky{position:static;height:100%;min-height:0;max-height:none;overflow:hidden}.g-page-studio .g-studio-form{display:flex;flex-direction:column;height:100%;min-height:0;gap:12px}.g-page-studio .g-workspace .g-studio-fixed-head{position:static}.g-page-studio .g-studio-fields{flex:1;min-height:0;overflow-y:auto;padding:4px;margin:-4px;scrollbar-width:thin}.g-page-studio .g-workspace .g-studio-form>.g-submit-bar{position:static;flex-shrink:0}.g-page-studio .g-media-result-panel{height:100%;min-height:0;grid-template-rows:minmax(0,1fr) minmax(100px,30%);overflow:hidden}.g-studio-guide{min-width:0}.g-studio-guide>summary{position:absolute;top:-6px;right:0;display:grid;place-items:center;width:44px;height:44px;list-style:none;border-radius:10px;color:var(--muted-foreground);cursor:pointer}.g-studio-guide>summary::-webkit-details-marker{display:none}.g-studio-guide>summary:hover,.g-studio-guide[open]>summary{background:var(--accent);color:var(--foreground)}.g-studio-guide-content:focus-visible,.g-studio-guide>summary:focus-visible{outline:2px solid var(--ring);outline-offset:-2px;border-radius:10px}.g-studio-guide-content{margin-top:12px;max-height:min(28dvh,320px);overflow-y:auto;overscroll-behavior:contain;padding:16px;border:1px solid var(--border);border-radius:12px;background:var(--card);scrollbar-width:thin}.g-studio-guide-content>.g-faq{margin-bottom:24px}@media (max-width:700px){.g-page-studio .g-workspace:not(.g-composer-workspace)>.g-panel:not(.g-mobile-hidden){padding-bottom:18px}.g-page-studio .g-media-detail{overflow-y:auto}.g-page-studio .g-media-history{overflow:hidden}.g-page-studio .g-media-history-list{flex:1;min-height:0}}.g-library{display:flex;flex-direction:column;gap:24px}.g-library-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.g-library-heading>p{color:var(--muted-foreground);font-size:14px}.g-library-browser{display:grid;grid-template-columns:180px minmax(0,1fr);gap:28px;min-width:0}.g-library-sidebar{display:flex;flex-direction:column;gap:16px;border-right:1px solid var(--border);padding-right:16px;min-width:0}.g-library-category-actions,.g-library-category-list{display:flex;flex-direction:column;gap:6px}.g-library-category-actions>[data-slot=button],.g-library-category-list [data-slot=button]{justify-content:flex-start}.g-library-eyebrow{color:var(--muted-foreground);font-size:12px;padding:8px}.g-library-mobile-category{display:none}.g-library-content{display:flex;flex-direction:column;gap:18px;min-width:0}.g-library-search{display:flex;align-items:center;gap:8px}.g-library-search>[data-slot=field]{flex:1;min-width:0}.g-library-filters{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.g-library-filters>[data-slot=toggle-group]{max-width:100%;overflow-x:auto}.g-library-count{color:var(--muted-foreground);font-size:12px;margin-left:auto}.g-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:16px;align-items:start}.g-library-card{min-width:0;overflow:hidden;padding-top:0;gap:12px}.g-library-card[data-selected=true]{outline:2px solid var(--primary);outline-offset:1px}.g-library-card-media{aspect-ratio:4/3;position:relative;padding:0;overflow:hidden;background:var(--muted)}.g-library-preview-trigger{display:flex;align-items:center;justify-content:center;width:100%;height:100%;cursor:zoom-in}.g-library-card-media img,.g-library-card-media video{width:100%;height:100%;object-fit:contain}.g-library-type{position:absolute;left:10px;bottom:10px;pointer-events:none}.g-library-checkbox{position:absolute;left:8px;top:8px;display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--card);cursor:pointer}.g-library-bulk input,.g-library-checkbox input{accent-color:var(--primary);width:17px;height:17px;cursor:pointer}.g-library-favorite{position:absolute;right:12px;top:12px;width:18px;height:18px;color:var(--primary);fill:var(--primary);pointer-events:none}.g-library-play{position:absolute;width:44px;height:44px;color:var(--foreground);padding:10px;background:var(--card);border-radius:50%}.g-library-audio{width:64px;height:64px;color:var(--muted-foreground)}.g-library-title{display:block;width:100%;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.g-library-hint,.g-library-metadata{font-size:12px;color:var(--muted-foreground);overflow-wrap:anywhere}.g-library-hint{margin-top:6px}.g-library-card-actions{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}.g-library-card-actions .g-row{gap:0}.g-library-fallback{flex-direction:column;font-size:12px;color:var(--muted-foreground);padding:24px}.g-library-bulk,.g-library-fallback{display:flex;align-items:center;gap:12px}.g-library-bulk{flex-wrap:wrap;padding:10px 14px;background:var(--muted);border-radius:10px;font-size:13px}.g-library-bulk>[data-slot=field]{width:auto;min-width:140px}.g-library-skeleton{height:300px;border-radius:12px}.g-form-dialog.g-library-preview-dialog{width:min(1080px,calc(100vw - 24px));max-width:1080px;display:flex;flex-direction:column;overflow:hidden}.g-library-preview-dialog>[data-slot=dialog-header],.g-library-preview-footer{flex-shrink:0}.g-library-preview-dialog [data-slot=dialog-title]{font-size:24px;line-height:1.3}.g-library-preview-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:2px;scrollbar-gutter:stable}.g-library-preview-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);align-items:start;gap:28px}.g-library-preview-stage{position:sticky;top:0;display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0}.g-library-preview{display:flex;justify-content:center;align-items:center;width:100%;height:min(52dvh,480px);min-height:240px;border-radius:12px;background:var(--muted);overflow:hidden}.g-library-preview img,.g-library-preview video{width:100%;height:100%;object-fit:contain}.g-library-preview[data-kind=audio]{flex-direction:column;gap:24px;padding:24px}.g-library-preview audio{width:100%}.g-library-preview-stage>button{min-height:40px;max-width:100%;white-space:normal}.g-library-preview-info{display:flex;flex-direction:column;gap:24px;min-width:0}.g-library-preview-summary{display:flex;flex-direction:column;gap:12px}.g-library-preview-summary h3{font-size:20px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}.g-library-preview-badges{display:flex;flex-wrap:wrap;gap:8px}.g-library-preview-badges [data-slot=badge]{max-width:100%;white-space:normal;overflow-wrap:anywhere}.g-library-preview-section{display:flex;flex-direction:column;gap:12px}.g-library-preview-section h4{font-size:14px;font-weight:600}.g-library-detail{display:flex;flex-direction:column;gap:12px;font-size:13px}.g-library-detail>div{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:16px}.g-library-detail dt{color:var(--muted-foreground);overflow-wrap:anywhere}.g-library-detail dd{min-width:0;overflow-wrap:anywhere}.g-library-text-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}.g-library-text p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;font-size:14px;padding:12px;border-radius:8px;background:var(--muted)}.g-library-preview-footer{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px;padding-top:16px;border-top:1px solid var(--border)}.g-library-preview-skeleton{height:min(52dvh,480px);min-height:240px;border-radius:12px}@media (max-width:760px){.g-library-preview-layout{grid-template-columns:minmax(0,1fr);gap:24px}.g-library-preview-stage{position:static}.g-library-preview{height:min(36dvh,300px);min-height:180px}.g-library-preview-footer>button{flex:1}}.g-library-picker-dialog{width:min(1120px,calc(100vw - 32px));max-width:1120px!important;max-height:92dvh}.g-library-picker-dialog>.g-library-browser{overflow-y:auto;min-height:0;padding:4px}.g-library-picker-dialog .g-library-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,180px),1fr))}.g-library-picker-footer{display:flex;flex-direction:column;gap:12px;padding-top:16px;border-top:1px solid var(--border)}.g-library-confirm-actions,.g-library-selection-summary{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;font-size:13px}.g-library-selected{display:flex;gap:8px;overflow-x:auto;padding:2px}.g-library-selected>[data-slot=button]{max-width:200px;flex-shrink:0}.g-library-preview-trigger:focus-visible,.g-library-title:focus-visible{outline:2px solid var(--ring);outline-offset:-3px}@media (max-width:760px){.g-library-browser{grid-template-columns:minmax(0,1fr);gap:16px}.g-library-sidebar{border-right:0;padding-right:0}.g-library-category-list{display:none}.g-library-mobile-category{display:block}.g-library-category-actions{flex-direction:row;flex-wrap:wrap}.g-library-search{flex-wrap:wrap}.g-library-search>[data-slot=field]{flex-basis:100%}.g-library-count{margin-left:0}.g-library-picker-dialog{width:calc(100vw - 16px);max-height:94dvh;padding:16px}.g-library-grid,.g-library-picker-dialog .g-library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.g-library-card-actions{flex-direction:column;align-items:stretch}.g-library-card-actions>.g-row{justify-content:space-between}.g-library-type{font-size:10px;left:6px;bottom:6px}}@media (max-width:380px){.g-library-grid,.g-library-picker-dialog .g-library-grid{grid-template-columns:minmax(0,1fr)}}.g-library-picker-dialog{display:flex;flex-direction:column;height:min(900px,92dvh);overflow:hidden}.g-library-picker-dialog>.g-library-browser{flex:1}.g-library-picker-dialog>[data-slot=button],.g-library-picker-dialog>[data-slot=dialog-header],.g-library-picker-footer{flex-shrink:0}.g-pricing-hint[aria-hidden=true]{visibility:hidden}.g-pricing-panel[aria-hidden=true]{display:none}.g-page-pricing .g-pricing-plans{display:grid;align-items:start}.g-page-pricing .g-pricing-panel{grid-area:1/1}.g-page-pricing .g-pricing-panel[aria-hidden=true]{display:grid;visibility:hidden}.g-form-dialog.g-credit-dialog{width:min(1024px,calc(100% - 24px));display:flex;flex-direction:column;height:min(760px,calc(100dvh - 32px));overflow:hidden}.g-credit-dialog>[data-slot=dialog-header],.g-credit-dialog>button{flex-shrink:0}.g-credit-dialog>.g-pricing{flex:1;min-height:0}.g-credit-dialog .g-pricing>:not(.g-pricing-plans){flex-shrink:0}.g-credit-dialog .g-pricing-plans{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;align-content:start;padding:2px}.g-library-file-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.g-library-gallery{display:flex;gap:10px;overflow-x:auto;padding:4px}.g-library-gallery>button{flex:0 0 116px;display:flex;flex-direction:column;gap:6px;padding:6px;border:1px solid var(--border);border-radius:10px;font-size:12px;cursor:pointer;min-width:0}.g-library-gallery>button>.truncate{max-width:100%}.g-library-gallery>button[aria-pressed=true]{border-color:var(--primary);background:var(--muted)}.g-library-gallery>button:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.g-library-gallery-thumb{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:72px;overflow:hidden;border-radius:6px;background:var(--muted)}.g-library-gallery-thumb img,.g-library-gallery-thumb video{width:100%;height:100%;object-fit:cover}.g-library-category-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;min-width:0}.g-library-category-heading h2{font-size:20px;font-weight:600;overflow-wrap:anywhere;min-width:0}.g-library-category-heading>.g-row{flex-shrink:0}.g-form-dialog.g-library-upload-dialog{width:min(820px,calc(100vw - 24px));max-width:820px;height:auto;max-height:calc(100dvh - 32px);display:flex;flex-direction:column;overflow:hidden}.g-library-upload-dialog>[data-slot=dialog-header]{flex-shrink:0}.g-library-upload-dialog [data-slot=dialog-title]{font-size:24px;line-height:1.3}.g-library-upload-form{min-height:0;overflow-y:auto;padding:2px 8px 2px 2px;scrollbar-gutter:stable}.g-library-upload-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:start;gap:24px}.g-library-upload-layout>*{min-width:0}.g-library-upload-footer{flex-shrink:0;display:flex;justify-content:flex-end;gap:12px;padding-top:16px;border-top:1px solid var(--border)}.g-library-upload-dialog .g-upload{position:relative;min-height:128px}.g-library-upload-dialog .g-upload input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.g-library-upload-dialog .g-upload:focus-within{outline:2px solid var(--ring);outline-offset:2px}.g-library-upload-media .g-files{display:block}.g-library-upload-media .g-file{width:100%;max-width:none;display:flex;flex-direction:column;flex-wrap:nowrap;gap:12px;padding:12px}.g-library-upload-media .g-file-preview{display:flex;align-items:center;justify-content:center;width:100%;min-height:160px;overflow:hidden;border-radius:8px;background:var(--muted)}.g-library-upload-media .g-file-preview img,.g-library-upload-media .g-file-preview video{width:100%;height:200px;object-fit:contain}.g-library-upload-media .g-file-preview audio{width:100%}.g-library-upload-media .g-file-info{display:flex;flex-direction:column;min-width:0;gap:4px}.g-library-upload-media .g-file-name{text-align:left;overflow-wrap:anywhere}.g-library-upload-media .g-file-size{font-size:12px;color:var(--muted-foreground)}.g-library-upload-form>[data-slot=alert]{margin-top:16px}@media (max-width:640px){.g-library-upload-layout{grid-template-columns:minmax(0,1fr);gap:20px}.g-library-upload-footer>button{flex:1}.g-library-upload-media .g-file-preview img,.g-library-upload-media .g-file-preview video{height:160px}}.g-form-dialog.g-library-original-dialog{width:min(1280px,calc(100vw - 24px));max-width:1280px;height:min(880px,calc(100dvh - 32px));display:flex;flex-direction:column;overflow:hidden}.g-library-original-dialog>[data-slot=dialog-header]{flex-shrink:0}.g-library-original-dialog [data-slot=dialog-title]{font-size:24px;line-height:1.3}.g-library-original-media{flex:1;min-height:0;min-width:0;display:flex;align-items:center;justify-content:center;overflow:hidden;background:var(--muted);border-radius:12px}.g-library-original-media img,.g-library-original-media video{width:100%;height:100%;object-fit:contain}.g-library-original-media[data-kind=audio]{flex-direction:column;gap:24px;padding:24px}.g-library-original-media audio{width:min(100%,600px)}.g-library-usage{display:flex;flex-direction:column;flex-shrink:0;gap:12px;min-width:0}.g-library-usage-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 12px}.g-library-usage-heading h3{font-size:15px;font-weight:600}.g-library-usage-heading p{font-size:12px;color:var(--muted-foreground)}.g-library-usage [data-slot=toggle-group]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:12px;align-items:stretch}.g-library-usage [data-slot=toggle-group-item]{min-width:0;min-height:88px;height:auto;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:10px;padding:14px;white-space:normal;overflow-wrap:anywhere;border:2px solid var(--border);border-radius:12px;background:var(--background);text-align:left;cursor:pointer}.g-library-usage [data-slot=toggle-group-item]:hover:not(:disabled){border-color:var(--primary)}.g-library-usage [data-slot=toggle-group-item][aria-pressed=true]{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 12%,var(--background))}.g-library-usage-option-heading{display:flex;align-items:center;gap:8px;min-width:0}.g-library-usage-option-title{flex:1;font-weight:600;font-size:14px}.g-library-usage [aria-pressed=true] .g-library-usage-option-heading{color:var(--primary)}.g-library-usage-check{display:flex;align-items:center;justify-content:center;width:18px;height:18px;flex-shrink:0;border:1px solid var(--muted-foreground);border-radius:50%}.g-library-usage [aria-pressed=true] .g-library-usage-check{border-color:var(--primary);background:var(--primary);color:var(--primary-foreground)}.g-library-usage-check svg{width:12px;height:12px}.g-library-usage-description{font-size:12px;line-height:1.5;font-weight:400;color:var(--muted-foreground)}.g-library-usage-mobile-hint{display:none}@media (max-width:640px){.g-library-usage{gap:8px}.g-library-usage-heading{gap:4px;flex-direction:column}.g-library-usage [data-slot=toggle-group]{gap:8px}.g-library-usage [data-slot=toggle-group-item]{padding:10px 6px;min-height:80px}.g-library-usage-option-heading{position:relative;flex-direction:column;gap:8px}.g-library-usage-option-title{font-size:12px;text-align:center}.g-library-usage-check{position:absolute;top:0;right:0;width:14px;height:14px}.g-library-usage-check svg{width:10px;height:10px}.g-library-usage-description{display:none}.g-library-usage-mobile-hint{display:block;font-size:12px;line-height:1.5;color:var(--muted-foreground)}}