@font-face{font-family:'DM Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url('../public/fonts/dm-sans-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url('../public/fonts/dm-sans-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url('../public/fonts/manrope-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url('../public/fonts/manrope-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root {
  color-scheme: dark;
  --font: 'DM Sans', 'Segoe UI', sans-serif;
  --accent: #b81cfc;
  --accent-rgb: 184, 28, 252;
  --accent-hover: #a215e3;
  --accent-text: #d982ff;
  --accent-ink: #fff;
  --accent-soft: color-mix(in srgb, var(--accent) 12%, transparent);
  --accent-border: color-mix(in srgb, var(--accent) 38%, transparent);
  --accent-surface: color-mix(in srgb, var(--accent) 12%, #15121c);
}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{background:var(--bg);color:var(--text);font:12px var(--font);-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit;border:0;background:none}button:disabled{opacity:.32;cursor:default}input,select{color:inherit}input{min-width:0}button,input,select,a{outline:none}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button:hover:not(:disabled){filter:brightness(1.08)}button,select{transition:background .15s,color .15s,border-color .15s}h1,h2,p{margin:0}h1,h2{font-family:'Manrope','Segoe UI',sans-serif}svg.icon{width:18px;height:18px;stroke:currentColor;stroke-width:1.65;fill:none;stroke-linecap:round;stroke-linejoin:round;display:block;flex-shrink:0}[data-icon]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}[hidden]{display:none!important}kbd{font-family:var(--font);font-size:10px;line-height:18px;white-space:nowrap;border:1px solid #393a40;border-radius:4px;padding:0 5px;color:#96979f;background:#24252a;font-weight:400}input[type=range]{appearance:none;background:transparent;height:20px;cursor:pointer;accent-color:var(--accent)}input[type=range]::-webkit-slider-runnable-track{background:#3a3b42;height:3px;border-radius:3px}input[type=range]::-webkit-slider-thumb{appearance:none;width:9px;height:9px;border-radius:50%;background:#c8c8ce;margin-top:-3px}input[type=range]::-moz-range-track{background:#3a3b42;height:3px;border-radius:3px}input[type=range]::-moz-range-thumb{width:9px;height:9px;border:0;background:#c8c8ce;border-radius:50%}
dialog{background:#1d1e23;color:var(--text);border:1px solid #3b3c45;border-radius:14px;width:450px;max-width:calc(100vw - 40px);padding:26px;box-shadow:0 25px 100px #0008}dialog::backdrop{background:#07080bbf;backdrop-filter:blur(5px)}
::-webkit-scrollbar{width:5px;height:6px}::-webkit-scrollbar-track{background:#18191d}::-webkit-scrollbar-thumb{background:#3b3d47;border-radius:6px}::-webkit-scrollbar-thumb:hover{background:#555866}
/* Keep white labels readable on accent controls. */
.home-signup:hover:not(:disabled), .account-submit:hover:not(:disabled), .image-generate:hover:not(:disabled), .image-promo > button:not(.image-promo-close):hover:not(:disabled), .reference-link-actions button[type="submit"]:hover:not(:disabled) { background: var(--accent-hover); filter: none; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* The dotted menu uses local fonts and the MuoGen palette. */
.home-page { position: relative; isolation: isolate; height: calc(100dvh - var(--site-navigation-height)); overflow: auto; background: #090b10; color: #f0f1f2; }
.home-dots { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: radial-gradient(ellipse at 50% 27%, color-mix(in srgb, var(--accent-text) 2.7%, transparent), transparent 65%); }
.home-dots::before, .home-dots::after { content: ''; position: absolute; inset: -24px; background: radial-gradient(circle, #ffffff24 .85px, transparent 1px) 0 0 / 24px 24px; mask-image: linear-gradient(#000 30%, #0009 65%, transparent 100%); }
.home-dots::after { background-image: radial-gradient(circle, #ffffff75 1px, transparent 1.2px); mask-image: radial-gradient(ellipse at 25% 15%, #0009, transparent 60%); animation: home-dot-drift 18s ease-in-out infinite alternate; }
.home-dots-interactive::before { display: none; }
.home-dots canvas { position: absolute; inset: 0; width: 100%; height: 100%; mask-image: linear-gradient(#000 30%, #0009 65%, transparent 100%); }
@keyframes home-dot-drift { from { transform: translate(0, 0); opacity: .45; } to { transform: translate(24px, 24px); opacity: .85; } }
.home-main { width: calc(100% - 88px); margin: 22px 44px 0; padding-bottom: 44px; }
.home-featured-tools { width: 100%; max-width: 528px; margin: 0 auto 36px; }
.home-tool-stage { display: grid; grid-template-columns: minmax(0, 1fr); }
.home-tool-banner { position: relative; isolation: isolate; display: block; min-width: 0; aspect-ratio: 1.6; overflow: hidden; border: 1px solid #ffffff20; border-radius: 16px; background: #f3f2f1; color: #f0f1f2; text-decoration: none; box-shadow: 0 12px 36px #0003; transition: border-color .25s, box-shadow .35s; }
.home-tool-image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.home-tool-banner::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 65%, #fafafa40 80%, #fafafae6); pointer-events: none; }
.home-tool-caption { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2; }
.home-tool-caption h2 { margin: 0; color: var(--accent); font-size: clamp(17px, 1.9vw, 26px); line-height: 1.2; font-weight: 750; letter-spacing: -.6px; }
.home-tool-banner:hover { border-color: color-mix(in srgb, var(--accent) 50.2%, transparent); box-shadow: 0 12px 36px #0004; }
.home-tool-banner:hover .home-tool-image { transform: scale(1.04); }
.home-tool-banner:focus-visible { outline-color: var(--accent); outline-offset: 4px; }
@media (max-width: 1000px) {
  .home-tool-banner { border-radius: 13px; }
  .home-tool-caption { left: 14px; right: 14px; bottom: 15px; }
  .home-tool-caption h2 { font-size: 18px; }
}
@media (max-width: 680px) {
  .home-featured-tools { margin-bottom: 32px; }
  .home-tool-caption { left: 16px; right: 16px; bottom: 16px; }
  .home-tool-caption h2 { font-size: 21px; }
}
.home-tools { margin-top: 31px; text-align: left; }
.home-image-tools { margin-top: 36px; }
.home-image-banner, .home-model-banner { position: relative; isolation: isolate; display: block; flex: 0 0 calc((100% - 64px) / 5); min-width: 0; min-height: 164px; aspect-ratio: 2.3 / 1; scroll-snap-align: start; overflow: hidden; border: 1px solid var(--accent-border); border-radius: 12px; background: radial-gradient(ellipse at 50% 12%, var(--accent-soft), transparent 75%), #121017; color: inherit; text-decoration: none; transition: border-color .2s; container: home-model / inline-size; }
.home-image-banner:hover, .home-model-banner:hover { border-color: color-mix(in srgb, var(--accent) 50.2%, transparent); }
.home-image-banner:focus-visible, .home-model-banner:focus-visible { outline-offset: -3px; }
.home-image-background, .home-video-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.home-model-banner { --art-duration: 24s; --art-delay: -6s; --art-light-duration: 10s; transition: border-color .25s, box-shadow .35s; }
.home-model-banner:nth-child(2n) { --art-duration: 28s; --art-delay: -14s; --art-light-duration: 12s; }
.home-model-banner:nth-child(3n) { --art-duration: 32s; --art-delay: -20s; --art-light-duration: 14s; }
.home-model-banner:nth-child(4n) { --art-delay: -10s; }
.home-video-background { animation: home-art-drift var(--art-duration) ease-in-out var(--art-delay) infinite alternate; animation-play-state: paused; }
.home-model-banner.is-art-visible .home-video-background { animation-play-state: running; will-change: transform; }
.home-model-banner:hover, .home-model-banner:focus-visible { border-color: color-mix(in srgb, var(--accent) 70%, transparent); box-shadow: inset 0 0 18px var(--accent-soft); }
@keyframes home-art-drift { from { transform: translate3d(-.7%, -.5%, 0) scale(1.045); } to { transform: translate3d(.7%, .5%, 0) scale(1.085); } }
.home-image-banner::before, .home-model-banner::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, #100b1815, #100b1833 45%, #100b18e6), radial-gradient(ellipse at 50% 45%, #0c081733, transparent 70%); pointer-events: none; }
.home-model-banner::before { animation: home-art-light var(--art-light-duration) ease-in-out var(--art-delay) infinite alternate; animation-play-state: paused; }
.home-model-banner.is-art-visible::before { animation-play-state: running; }
@keyframes home-art-light { from { opacity: .93; } to { opacity: .77; } }
.home-image-banner::after, .home-model-banner::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 35px; z-index: 2; height: 1px; background: #ffffff14; pointer-events: none; }
.home-image-identity, .home-video-identity { position: absolute; inset: 28px 12px 46px; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.home-image-brand, .home-video-brand { display: flex; align-items: center; justify-content: center; gap: 10px; color: #f2eaf7; font: 650 20px/1.2 'Manrope', var(--font); letter-spacing: -.6px; }
.home-image-brand .image-model-logo, .home-video-brand .image-model-logo { width: 34px; height: 34px; background: var(--accent-text); }
.home-video-brand .icon { width: 34px; height: 34px; color: var(--accent-text); }
.home-image-identity .home-model-caption, .home-video-identity .home-model-caption { position: static; width: 100%; text-shadow: none; }
.home-image-identity .home-model-caption h3, .home-video-identity .home-model-caption h3 { font-size: 16px; font-weight: 500; line-height: 1.3; letter-spacing: -.25px; text-wrap: balance; }
.home-image-unavailable { color: #a5aca5; font-size: 12px; }
@media (max-width: 900px) { .home-image-banner { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 680px) { .home-image-banner { flex-basis: 100%; } }
.home-tools-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.home-tools-heading h2 { font-size: 15px; font-weight: 600; letter-spacing: -.3px; }
.home-model-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.home-carousel-button { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #ffffff20; border-radius: 50%; background: #171a1d; color: #e0e4e7; }
.home-carousel-button:hover:not(:disabled) { border-color: color-mix(in srgb, var(--accent) 50.2%, transparent); color: var(--accent-text); background: #22272a; }
.home-carousel-button:disabled { opacity: .3; }
.home-carousel-button .icon { width: 16px; height: 16px; }
.home-tools-grid { display: flex; gap: 16px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.home-tools-grid::-webkit-scrollbar { display: none; }
.home-model-caption { position: absolute; left: 13px; right: 13px; bottom: 13px; z-index: 2; pointer-events: none; text-shadow: 0 1px 4px #0008; }
.home-model-caption h3 { margin: 0; font: 700 18px/1.2 var(--font); letter-spacing: -.4px; color: var(--accent-text); }
.home-model-banner.has-price .home-model-caption, .home-image-banner.has-price .home-model-caption { bottom: 35px; }
.home-model-banner .ai-card-pricing, .home-image-banner .ai-card-pricing { position: absolute; right: 12px; bottom: 11px; z-index: 2; display: block; padding: 0; border: 0; background: transparent; font-variant-numeric: tabular-nums; white-space: nowrap; text-shadow: 0 1px 5px #000b; }
.home-model-banner .ai-price-discount:not([hidden]), .home-image-banner .ai-price-discount:not([hidden]) { position: absolute; top: 8px; right: 0; z-index: 2; display: block; min-width: 64px; padding: 5px 11px 5px 15px; clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%); background: var(--accent); color: var(--accent-ink); text-align: center; font-size: 11px; font-weight: 800; line-height: 1.15; letter-spacing: .2px; }
.home-model-banner .ai-price-unavailable { position: absolute; right: 10px; top: 8px; z-index: 2; display: block; color: #c6cbd0; font-size: 10px; background: #121719d9; padding: 4px 6px; border-radius: 6px; }
@container home-model (max-width: 200px) {
  .home-video-brand { gap: 8px; font-size: 18px; }
  .home-video-brand .icon, .home-video-brand .image-model-logo { width: 30px; height: 30px; }
}
@container home-model (max-width: 175px) {
  .home-model-banner .ai-price-sale, .home-image-banner .ai-price-sale { font-size: 12px; }
  .home-model-banner .ai-price-unit, .home-image-banner .ai-price-unit { font-size: 9px; margin-left: 2px; }
}
.home-animations-paused *, .home-animations-paused::before, .home-animations-paused::after, .home-animations-paused *::before, .home-animations-paused *::after { animation-play-state: paused !important; }
@media (min-width: 1600px) { .home-main { margin-top: 40px; } }
@media (max-width: 900px) { .home-main { width: calc(100% - 48px); margin: 25px 24px 0; } .home-model-banner { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 680px) { .home-main { width: calc(100% - 40px); margin: 20px 20px 0; } .home-model-banner { flex-basis: 100%; } }
@media (prefers-reduced-motion: reduce) { .home-page * { transition: none !important; } .home-tools-grid { scroll-behavior: auto; } }
@media (prefers-reduced-motion: reduce) { .home-video-background, .home-model-banner::before { animation: none; }.home-video-background { transform: none; }.home-model-banner::before { opacity: 1; } }

.account-dialog { width: min(1120px, calc(100vw - 32px)); height: min(772px, calc(100dvh - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 10px; overflow: hidden; border: 1px solid #ffffff12; border-radius: 22px; background: #101213; color: #f0f1f2; box-shadow: 0 32px 120px #0009; }
.account-dialog::backdrop { background: #030506b3; backdrop-filter: blur(8px); }
.account-layout { display: grid; grid-template-columns: 1fr 1.04fr; height: 100%; min-height: 0; }
.account-close { position: absolute; top: 18px; right: 18px; z-index: 3; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #ffffff0b; border-radius: 50%; background: #202324; color: #f4f4f4; }
.account-close .icon { width: 14px; height: 14px; stroke-width: 2; }
.account-preview { position: relative; isolation: isolate; min-width: 0; overflow: hidden; border-radius: 14px; background: #161c14; }
.account-preview-display { position: absolute; inset: 0; }
.account-preview::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, #00000008 25%, #00000030 50%, #000000b3 80%, #000000eb); pointer-events: none; }
.account-preview-video, .account-preview-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.account-preview-caption { position: absolute; left: 20px; right: 20px; bottom: 82px; z-index: 2; }
.account-preview-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 8px; background: #ffffff1c; color: #fff; font-size: 10px; font-weight: 600; backdrop-filter: blur(6px); }
.account-preview-badge .icon { width: 14px; height: 14px; }
.account-preview-caption h2 { margin: 14px 0 8px; font: 800 clamp(26px, 3.3vw, 40px)/1.12 var(--font); text-transform: uppercase; letter-spacing: -1.4px; color: #fff; }
.account-preview-caption p { max-width: 420px; color: #c4c8c1; font-size: 14px; line-height: 1.5; }
.account-preview-tabs { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2; display: flex; gap: 5px; }
.account-preview-tab { flex: 1; min-width: 0; padding: 0; color: #ffffff6b; text-align: left; font-size: 11px; line-height: 1.3; font-weight: 600; }
.account-preview-tab[aria-selected="true"] { color: #fff; }
.account-preview-track { display: block; height: 4px; margin-bottom: 11px; overflow: hidden; border-radius: 4px; background: #ffffff38; }
.account-preview-track > span { display: block; width: 100%; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.account-preview-tab[aria-selected="true"] .account-preview-track > span { animation: account-preview-progress 7s linear forwards; }
.account-preview-paused .account-preview-tab[aria-selected="true"] .account-preview-track > span { animation: none; transform: scaleX(.25); }
@keyframes account-preview-progress { to { transform: scaleX(1); } }
.account-panel { min-width: 0; min-height: 0; display: flex; justify-content: center; padding: 18px 24px 28px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.account-content { width: 384px; max-width: 100%; }
.account-heading { text-align: center; }
.account-logo { display: grid; place-items: center; width: 200px; max-width: 100%; margin: 0 auto 18px; }
.account-logo img { display: block; width: 100%; height: auto; }
.account-heading h2 { margin: 0; color: #f3f3f4; font: 700 30px/1.2 var(--font); letter-spacing: -.65px; text-wrap: balance; }
.account-heading > p { margin-top: 12px; color: #929597; font-size: 14px; line-height: 1.5; }
.account-options, .account-email-form { margin-top: 40px; }
.account-business, .account-provider { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; border-radius: 12px; font-size: 14px; font-weight: 600; line-height: 1.4; }
.account-business { min-height: 44px; padding: 10px 14px; background: var(--accent-surface); color: var(--accent-text); font-size: 13px; }
.account-business .icon { flex-shrink: 0; }
.account-providers { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.account-provider { min-height: 62px; padding: 14px; border: 1px solid #ffffff20; background: #101213; color: #f2f3f3; }
.account-provider:hover { border-color: #ffffff45; background: #181b1b; }
.account-provider-icon { flex-shrink: 0; width: 20px; height: 20px; }
.account-divider { padding: 13px 0; color: #767b7b; text-align: center; font-size: 12px; line-height: 16px; }
.account-consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; }
.account-consent > input { flex: 0 0 18px; appearance: none; width: 18px; height: 18px; margin: 4px 0 0; border: 1px solid #ffffff24; border-radius: 5px; background: #101213; cursor: pointer; }
.account-consent > input:checked { border-color: var(--accent); background: var(--accent); }
.account-consent > input:checked::after { content: ''; display: block; width: 8px; height: 5px; margin: 4px 3px; border-bottom: 2px solid var(--accent-ink); border-left: 2px solid var(--accent-ink); transform: rotate(-45deg); }
.account-consent label { color: #e1e2e2; font-size: 12px; font-weight: 500; line-height: 1.45; }
.account-legal { display: inline; padding: 0; text-align: left; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.account-notice { margin-top: 16px; padding: 11px 13px; border: 1px solid color-mix(in srgb, var(--accent) 16.5%, transparent); border-radius: 9px; background: color-mix(in srgb, var(--accent) 3.5%, transparent); color: #ded1ec; font-size: 12px; line-height: 1.5; }
.account-footer { margin-top: 42px; padding-top: 18px; border-top: 1px solid #ffffff14; color: #8b9090; text-align: center; }
.account-dialog[data-mode="login"] .account-footer { margin-top: 24px; }
.account-footer > p:first-child { display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 13px; line-height: 1.5; }
.account-footer .icon { width: 17px; height: 17px; }
.account-switch { margin-top: 12px; font-size: 12px; line-height: 1.5; }
.account-switch button { padding: 0; color: var(--accent-text); font-weight: 600; }
.account-email-form { display: flex; flex-direction: column; gap: 10px; }
.account-back, .account-forgot { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-bottom: 12px; padding: 0; color: #a6abab; font-size: 12px; }
.account-back .icon { width: 14px; height: 14px; }
.account-email-form > label { margin-top: 8px; color: #d5d8d8; font-size: 13px; }
.account-email-form > input { width: 100%; height: 50px; padding: 12px 14px; border: 1px solid #ffffff24; border-radius: 10px; background: #171a1b; color: #f3f3f3; font-size: 14px; }
.account-email-form > input::placeholder { color: #757c7c; }
.account-password-hint { color: #8b9292; font-size: 11px; }
.account-captcha { min-width: 0; margin-top: 8px; }
.account-submit { min-height: 48px; margin-top: 16px; padding: 12px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 700; }
.account-dialog button:focus-visible, .account-dialog input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 800px) {
  .account-dialog { width: min(480px, calc(100vw - 24px)); height: auto; max-height: calc(100dvh - 24px); padding: 0; border-radius: 18px; }
  .account-layout { display: block; height: auto; max-height: calc(100dvh - 26px); overflow-y: auto; }
  .account-preview { display: none; }
  .account-panel { padding: 30px 24px; overflow: visible; }
  .account-heading h2 { font-size: 27px; }
  .account-options, .account-email-form { margin-top: 30px; }
  .account-close { top: 12px; right: 12px; }
}
@media (max-width: 380px) {
  .account-panel { padding-inline: 20px; }
  .account-heading h2 { font-size: 25px; }
  .account-heading > p { font-size: 13px; }
  .account-business, .account-provider { font-size: 12px; }
  .account-consent label { font-size: 11px; }
  .account-footer > p:first-child { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .account-dialog * { animation: none !important; transition: none !important; } }

/* Compact, full-width navigation shared by the creation pages. */
:root { --site-navigation-height: 100px; }
body { padding-top: var(--site-navigation-height); }
.site-navigation { position: fixed; inset: 0 0 auto; z-index: 60; background: #141414; border-bottom: 1px solid #ffffff0a; color: #f0f1f2; }
body[data-workspace="accueil"] { background: #090b10; }
body[data-workspace="video"] { background: #0e1011; }
body[data-workspace="images"], body[data-workspace="influencer"], body[data-workspace="bibliotheque"] { background: #101112; }
.home-header { position: relative; margin: 0; min-height: 56px; padding: 10px 20px; display: flex; align-items: center; gap: 32px; }
.home-brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: 7px; color: #f5f5f5; text-decoration: none; }
.home-brand img { display: block; width: 160px; height: auto; object-fit: contain; }
.home-nav { display: flex; gap: 24px; align-items: center; margin-left: auto; max-width: 100%; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 4px; }
.home-nav::-webkit-scrollbar { display: none; }
.home-nav a { flex-shrink: 0; padding: 5px 0; font-size: 14px; line-height: 20px; font-weight: 500; color: #999; text-decoration: none; white-space: nowrap; transition: color .2s; }
.home-nav a:hover, .home-nav .home-nav-current { color: #fff; }
.home-nav [aria-expanded="true"] { color: #fff; background: #ffffff0a; box-shadow: 0 0 0 6px #ffffff0a; border-radius: 3px; }
.site-nav-panel { position: absolute; top: 100%; right: 20px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; width: min(900px, calc(100vw - 40px)); max-height: calc(100dvh - var(--site-navigation-height) - 16px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #48484c transparent; padding: 20px; border: 1px solid #ffffff0c; border-radius: 22px; background: #1c1e20; box-shadow: 0 18px 48px #0006; }
.site-nav-column { min-width: 0; }
.site-nav-column h2 { margin: 0 0 8px 8px; color: #96969b; font-size: 13px; font-weight: 500; line-height: 20px; }
.site-nav-list { display: grid; gap: 2px; }
.site-nav-entry { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px; border-radius: 12px; color: #eeeef0; text-decoration: none; transition: background .15s; }
.site-nav-entry:hover, .site-nav-entry[aria-current="page"] { background: #ffffff06; }
.site-nav-entry:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; background: #ffffff06; }
.site-nav-symbol { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 13px; background: #27292c; color: #f0f0f3; }
.site-nav-symbol .icon { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.site-nav-symbol .image-model-logo { width: 23px; height: 23px; background: currentColor; }
.site-nav-copy { display: grid; gap: 4px; min-width: 0; }
.site-nav-copy strong { font-size: 14px; font-weight: 600; line-height: 20px; }
.site-nav-copy > span { color: #95959b; font-size: 13px; line-height: 19px; }
.site-nav-empty { margin: 8px; color: #95959b; font-size: 13px; line-height: 20px; }
.home-auth { display: flex; flex-shrink: 0; align-items: center; gap: 8px; padding-left: 20px; border-left: 1px solid #ffffff14; }
.home-auth-button { padding: 6px 12px; border-radius: 6px; font-size: 13px; line-height: 20px; white-space: nowrap; }
.home-login { color: #b5b5b5; font-weight: 500; }
.home-login:hover { color: #fff; }
.home-signup { background: var(--accent); color: var(--accent-ink); font-weight: 500; }
.home-auth-button:focus-visible { outline-color: var(--accent); }
.home-balance { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 4px 10px; border-radius: 20px; background: #282828; color: #f1f1f1; font-size: 13px; font-weight: 700; line-height: 20px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.home-balance:hover { background: #333; }
.home-balance .icon { width: 15px; height: 15px; color: #a4a4a4; }
.home-balance-test { padding: 0 4px; border: 1px solid #6d497a; border-radius: 4px; color: #dda5ee; font-size: 9px; font-weight: 500; line-height: 15px; }
.home-avatar { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; padding: 0; border-radius: 50%; background: #ef7700; color: #fff; font-size: 16px; font-weight: 500; line-height: 1; }
.home-avatar:hover, .home-avatar[aria-expanded="true"] { background: #ff870e; }
.home-auth:has(.home-avatar:not([hidden])) { gap: 12px; }
.profile-menu { position: absolute; top: calc(100% + 7px); right: 16px; width: 258px; max-width: calc(100vw - 24px); max-height: calc(100dvh - var(--site-navigation-height) - 16px); overflow-y: auto; padding: 0; background: #171717; color: #e8e8e8; border: 1px solid #303030; border-radius: 15px; box-shadow: 0 14px 45px #0007; }
.profile-menu-heading { display: flex; align-items: center; gap: 12px; padding: 14px 12px; }
.profile-avatar { width: 36px; height: 36px; font-size: 20px; }
.profile-menu-heading > div { display: grid; gap: 2px; min-width: 0; }
.profile-menu-heading strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 700; line-height: 20px; }
.profile-menu-heading div > span { color: #959595; font-size: 12px; line-height: 18px; }
.profile-menu-group { padding: 6px; border-top: 1px solid #282828; }
.profile-menu-item { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 38px; padding: 9px 7px; border-radius: 7px; text-align: left; font-size: 14px; font-weight: 500; line-height: 20px; }
.profile-menu-item:hover, .profile-menu-item:focus-visible { background: #272727; }
.profile-menu-item .icon { width: 16px; height: 16px; stroke-width: 1.6; }
.profile-menu-notice { margin: 0 12px 12px; color: #f5a8a8; font-size: 12px; line-height: 18px; }
.home-promo { position: relative; min-height: 44px; padding: 8px 56px; background: var(--accent); color: var(--accent-ink); }
.home-promo-content { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 14px; min-height: 28px; }
.home-promo-message { display: flex; align-items: center; gap: 9px; min-width: 0; font-size: 14px; font-weight: 500; line-height: 1.5; }
.home-promo-message .icon { width: 16px; height: 16px; fill: currentColor; fill-rule: evenodd; stroke: none; }
.home-promo-message strong { font-weight: 700; white-space: nowrap; }
.home-promo-action { flex-shrink: 0; padding: 5px 12px; border-radius: 7px; background: #fff; color: #202220; box-shadow: 0 2px 5px #090b1020; font-size: 12px; font-weight: 600; line-height: 18px; white-space: nowrap; }
.home-promo-action:hover { background: #f4e9fc; }
.home-promo-close { position: absolute; top: 0; right: 10px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 7px; }
.home-promo-close:hover { background: #090b100d; }
.home-promo-close .icon { width: 16px; height: 16px; }
.home-promo button:focus-visible { outline-color: #090b10; outline-offset: 2px; }
@media (max-width: 1000px) { .home-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding-bottom: 0; } .home-auth { grid-column: 2; grid-row: 1; border-left: 0; padding-left: 0; } .home-nav { grid-column: 1 / -1; grid-row: 2; width: 100%; margin-left: 0; border-top: 1px solid #ffffff0a; padding-block: 6px; } }
@media (max-width: 680px) { .home-header { padding-inline: 16px; } .home-nav { gap: 20px; } .home-nav a { font-size: 13px; } .home-auth { gap: 4px; } .home-auth-button { padding-inline: 10px; } .home-promo { padding: 10px 48px; } .home-promo-message { font-size: 12px; } .home-promo-close { right: 2px; } }
@media (max-width: 680px) { .site-nav-panel { right: 12px; width: calc(100vw - 24px); grid-template-columns: 1fr; gap: 20px; padding: 14px; border-radius: 16px; } .site-nav-list { gap: 0; } .site-nav-entry { min-height: 60px; } .site-nav-symbol { width: 42px; height: 42px; border-radius: 11px; } }
@media (max-width: 380px) { .home-header { padding-inline: 12px; gap: 6px 8px; } .home-brand img { width: 120px; } .home-auth-button { padding-inline: 6px; font-size: 12px; } .home-balance { padding-inline: 7px; font-size: 12px; gap: 4px; } }
@media (prefers-reduced-motion: reduce) { .home-nav a, .site-nav-entry { transition: none; } }

.account-center { position: fixed; inset: 0; width: 900px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 40px); margin: auto; padding: 0; overflow: auto; background: #171717; color: #eee; border: 1px solid #343434; border-radius: 18px; box-shadow: 0 30px 100px #0009; }
.account-center[open] { display: grid; grid-template-columns: 190px minmax(0, 1fr); }
.account-center::backdrop { background: #08080bbb; backdrop-filter: blur(6px); }
.account-center-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border-radius: 8px; color: #9d9d9d; z-index: 1; }
.account-center-close:hover { background: #ffffff0a; color: #fff; }
.account-center-close .icon { width: 18px; height: 18px; }
.account-center-sidebar { display: flex; flex-direction: column; padding: 26px 14px 20px; background: #131313; border-right: 1px solid #292929; }
.account-center-brand { display: flex; align-items: center; gap: 8px; padding-inline: 10px; margin-bottom: 38px; font-family: Manrope, sans-serif; color: #f7f7f7; font-size: 17px; font-weight: 800; text-decoration: none; }
.account-center-eyebrow { color: #727272; font-size: 10px; letter-spacing: 1.4px; font-weight: 600; line-height: 18px; }
.account-center-sidebar > .account-center-eyebrow { padding: 0 12px; margin-bottom: 12px; }
.account-center-sidebar nav { display: grid; gap: 4px; }
.account-center-sidebar nav button { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 8px; color: #a7a7a7; font-size: 13px; line-height: 18px; text-align: left; }
.account-center-sidebar nav button .icon { width: 16px; height: 16px; }
.account-center-sidebar nav button:hover { background: #ffffff05; color: #eee; }
.account-center-sidebar nav button[aria-current] { background: #29212e; color: #e1a4fd; }
.account-center-personal { margin-top: auto; padding: 28px 12px 0; color: #717171; font-size: 11px; }
.account-center-main { min-width: 0; padding: 30px 36px 28px; }
.developer-toolbar { display:flex; flex-wrap:wrap; gap:10px; align-items:end; margin-bottom:20px; }
.developer-toolbar label, .developer-key-form label, .developer-doc-model { display:grid; gap:7px; color:#aaa; font-size:11px; min-width:0; }
.developer-toolbar select, .developer-key-form input, .developer-key-form select, .developer-doc-model select { min-width:0; max-width:100%; height:39px; border:1px solid #393939; border-radius:7px; padding:7px 10px; background:#202020; color:#eee; font:inherit; font-size:12px; }
.developer-toolbar select { max-width:180px; }
.developer-metrics strong { overflow-wrap:anywhere; font-size:23px; }
.developer-chart-card { padding:18px; border:1px solid #333; border-radius:12px; background:#1c1c1c; }
.developer-chart { display:flex; gap:3px; align-items:end; height:138px; padding-top:18px; margin-top:12px; border-bottom:1px solid #454545; }
.developer-chart-day { display:flex; align-items:end; height:100%; min-width:0; flex:1; }
.developer-chart-day button { position:relative; width:100%; height:var(--bar-height); min-height:3px; padding:0; border-radius:3px 3px 0 0; background:#bb67e3; }
.developer-chart-day button:hover, .developer-chart-day button:focus-visible { background:#e0a8fb; }
.developer-chart-tooltip { display:none; position:absolute; bottom:calc(100% + 7px); left:50%; transform:translateX(-50%); width:max-content; max-width:180px; padding:7px; border:1px solid #505050; border-radius:5px; background:#292329; color:#fff; font-size:10px; line-height:16px; z-index:2; pointer-events:none; }
.developer-chart-day:first-child .developer-chart-tooltip { left:0; transform:none; }
.developer-chart-day:last-child .developer-chart-tooltip { left:auto; right:0; transform:none; }
.developer-chart-day button:hover .developer-chart-tooltip, .developer-chart-day button:focus-visible .developer-chart-tooltip { display:block; }
.developer-chart-axis { display:flex; justify-content:space-between; margin-top:8px; color:#777; font-size:10px; }
.developer-breakdown { margin:12px 0; }
.developer-breakdown > div { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:13px 0; border-bottom:1px solid #303030; font-size:12px; }
.developer-breakdown span { display:grid; gap:4px; }
.developer-breakdown small { color:#888; font-size:10px; }
.developer-subheading { margin-top:26px; }
.developer-table-scroll { overflow:auto; margin-top:14px; }
.developer-table { width:100%; border-collapse:collapse; text-align:left; font-size:11px; }
.developer-table th { color:#8c8c8c; font-weight:500; font-size:10px; padding:10px 8px; white-space:nowrap; border-bottom:1px solid #373737; }
.developer-table td { padding:13px 8px; border-bottom:1px solid #303030; vertical-align:top; }
.developer-table td:first-child > span, .developer-table td code, .developer-table td small { display:block; margin-top:5px; color:#848484; font-size:10px; }
.developer-table button { padding:0; color:#dfaff5; text-align:left; }
.developer-state { display:inline-block; padding:4px 6px; border-radius:5px; background:#303030; color:#ccc; font-size:10px; }
.developer-state-success { color:#aee0b8; background:#233b2a; }
.developer-state-fail { color:#f2b1ae; background:#472b2b; }
.developer-state-unknown { color:#eac788; background:#423822; }
.developer-state-generating, .developer-state-submitting { color:#d9b2ef; background:#392942; }
.developer-pagination { display:flex; align-items:center; justify-content:flex-end; gap:10px; margin-top:18px; font-size:11px; color:#888; }
.developer-tabs { display:flex; gap:8px; margin-bottom:24px; border-bottom:1px solid #333; }
.developer-tabs button { padding:10px 14px; font-size:12px; color:#999; border-bottom:2px solid transparent; }
.developer-tabs button[aria-pressed="true"] { color:#e2b0fa; border-bottom-color:#c466ec; }
.developer-key-heading h3 { font-size:15px; }
.developer-key-heading p { margin:7px 0 18px; color:#909090; font-size:11px; }
.developer-key-form { display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:12px; padding:18px; border:1px solid #343434; border-radius:10px; background:#1d1d1d; }
.developer-key-form button { grid-column:1/-1; justify-self:start; }
.developer-key-list { display:grid; gap:12px; margin-top:24px; }
.developer-key-card { position:relative; padding:16px; border:1px solid #333; border-radius:10px; }
.developer-key-card > div { display:flex; align-items:center; gap:9px; flex-wrap:wrap; padding-right:70px; font-size:12px; }
.developer-key-card code { color:#8f8f8f; font-size:10px; }
.developer-key-card p { margin-top:10px; padding-right:80px; font-size:10px; line-height:17px; color:#939393; }
.developer-revoke { position:absolute; right:12px; top:12px; color:#e2aaaa; }
.developer-secret { margin-bottom:22px; padding:18px; border:1px solid #80509a; border-radius:10px; background:#302039; }
.developer-secret .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.developer-secret strong { color:#e9c4fc; font-size:14px; }
.developer-secret p { margin:8px 0 12px; color:#baa4c4; font-size:12px; }
.developer-secret input { width:100%; padding:10px; border:1px solid #5f466c; border-radius:6px; background:#19151c; color:#efd6fa; font-family:monospace; font-size:12px; }
.developer-secret > div { display:flex; gap:8px; margin-top:12px; flex-wrap:wrap; }
.developer-doc-model { margin-top:16px; }
.developer-code { margin-top:14px; border:1px solid #383038; border-radius:10px; background:#111; padding:14px; }
.developer-code > button { display:block; margin-left:auto; }
.developer-code pre { max-width:100%; overflow:auto; padding-top:14px; font:11px/1.8 monospace; color:#d9b5ed; }
.developer-steps { margin:20px 0; padding-left:20px; color:#bbb; font-size:12px; line-height:1.9; }
.developer-steps li { margin:10px 0; }
.developer-docs code { overflow-wrap:anywhere; color:#d9b5ed; }
.developer-endpoints > div { display:flex; align-items:start; gap:14px; padding:12px 0; border-bottom:1px solid #303030; font-size:11px; }
.developer-endpoints > div > code { min-width:38px; color:#a6caac; }
.developer-endpoints span { min-width:0; }
.developer-endpoints small { display:block; margin-top:6px; color:#888; font-size:10px; }
.developer-docs details { padding:14px 0; border-bottom:1px solid #303030; color:#bbb; font-size:12px; }
.developer-docs summary { cursor:pointer; }
.developer-docs details p { margin-top:10px; color:#999; font-size:11px; line-height:1.8; }
.developer-detail { margin-top:20px; border:1px solid #594066; padding:16px; border-radius:10px; background:#231b28; }
.developer-detail > button { float:right; }
.developer-detail h3 { font-size:14px; margin-bottom:10px; }
.developer-detail > code { display:block; clear:both; overflow-wrap:anywhere; font-size:10px; color:#aaa; }
.developer-detail p { margin-top:10px; color:#bbb; font-size:11px; line-height:1.7; }
.developer-detail > div { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.developer-detail a { text-decoration:none; }
@media (max-width:680px) {
  .developer-key-form { grid-template-columns:1fr; }
  .developer-toolbar label { flex:1; min-width:110px; }
  .developer-toolbar select { max-width:100%; }
  .developer-key-card > div, .developer-key-card p { padding-right:0; }
  .developer-revoke { position:static; margin-top:12px; }
  .developer-chart { gap:2px; }
  .developer-chart-tooltip { display:none !important; }
  .developer-metrics { grid-template-columns:1fr; }
  .developer-pagination { justify-content:center; }
}
.account-center-main h2 { margin-top: 6px; font-size: 28px; line-height: 38px; font-weight: 700; letter-spacing: -.7px; }
#account-center-description { margin-top: 5px; color: #999; font-size: 13px; line-height: 20px; }
#account-center-content { margin-top: 24px; }
.billing-balance-card { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border: 1px solid #473251; border-radius: 12px; background: radial-gradient(ellipse at 100% 0, #49255888, transparent 75%), #231b27; }
.billing-balance-card div > span { color: #c7b7cc; font-size: 12px; line-height: 18px; }
.billing-balance-card strong { display: block; margin: 5px 0 6px; color: #fff; font-family: Manrope, sans-serif; font-size: 36px; font-weight: 700; letter-spacing: -1px; line-height: 44px; font-variant-numeric: tabular-nums; }
.billing-balance-card p { color: #a28dab; font-size: 11px; line-height: 18px; }
.billing-balance-art { display: grid; place-items: center; width: 64px; height: 64px; flex-shrink: 0; border: 1px solid #ffffff10; border-radius: 18px; background: #ffffff05; transform: rotate(-8deg); color: #b980d4; }
.billing-balance-art .icon { width: 30px; height: 30px; stroke-width: 1.2; }
.billing-balance-tools { display: flex; align-items: center; gap: 14px; }
.billing-refresh { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; color: #bc9bc9; font-size: 22px; line-height: 1; border-radius: 7px; }
.billing-refresh:hover { background: #ffffff08; }
#billing-topup { margin-top: 26px; }
.billing-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.billing-section-heading h3, .account-settings-security h3 { margin: 0; font-size: 14px; line-height: 22px; font-weight: 600; }
.billing-section-heading > span { font-size: 11px; color: #808080; }
.billing-amounts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.billing-amounts button { position: relative; padding: 14px 6px; border: 1px solid #393939; border-radius: 8px; background: #202020; font-size: 17px; font-weight: 600; line-height: 24px; font-variant-numeric: tabular-nums; }
.billing-amounts button[aria-pressed="true"] { background: #302039; border-color: #bd55ee; color: #efcfff; }
.billing-amounts button .icon { position: absolute; top: 5px; right: 5px; width: 11px; height: 11px; color: #da9cff; }
.billing-custom-label { display: block; margin-top: 18px; font-size: 12px; line-height: 20px; color: #a5a5a5; }
.billing-custom-amount { display: flex; align-items: center; gap: 8px; margin-top: 7px; padding: 0 13px; border: 1px solid #383838; border-radius: 8px; background: #202020; }
.billing-custom-amount:focus-within { border-color: #bd55ee; }
.billing-custom-amount > span { color: #808080; font-size: 12px; }
.billing-custom-amount > span:first-child { font-size: 16px; }
.billing-custom-amount input { appearance: textfield; -moz-appearance: textfield; width: 100%; height: 43px; padding: 0; border: 0; background: transparent; font-size: 14px; outline-offset: 1px; }
.billing-custom-amount input::-webkit-inner-spin-button { appearance: none; }
.billing-caption { margin-top: 9px; color: #858585; font-size: 11px; line-height: 18px; }
.billing-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 11px 18px; border-radius: 8px; background: var(--accent); color: white; font-size: 13px; line-height: 20px; font-weight: 600; }
.billing-primary:hover:not(:disabled) { background: var(--accent-hover); }
.billing-pay { justify-content: space-between; width: 100%; margin-top: 20px; }
.billing-pay > span { display: flex; align-items: center; gap: 8px; }
.billing-primary .icon { width: 16px; height: 16px; }
.billing-secondary { min-height: 38px; padding: 8px 14px; border: 1px solid #393939; border-radius: 8px; color: #ddd; background: #242424; font-size: 12px; line-height: 20px; }
.billing-secure { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 12px; color: #868686; font-size: 10px; line-height: 16px; }
.billing-secure .icon { width: 12px; height: 12px; }
.billing-secure > span { margin-inline: 3px; }
.billing-unavailable { margin-top: 12px; color: #c7b5cf; font-size: 12px; line-height: 18px; }
.billing-notice { margin-top: 18px; padding: 11px 13px; border: 1px solid #39613f; border-radius: 8px; background: #17371a55; color: #b2dbb5; font-size: 12px; line-height: 19px; }
.billing-notice.is-error { border-color: #603e3e; background: #49282855; color: #f2b7b7; }
.billing-test-notice { margin-bottom: 16px; padding: 10px 12px; border: 1px solid #635128; border-radius: 8px; color: #dfc385; background: #3c321755; font-size: 11px; line-height: 18px; }
.billing-history-title { margin-top: 28px; padding-top: 22px; border-top: 1px solid #2c2c2c; }
.billing-section-heading > button { display: inline-flex; align-items: center; gap: 5px; padding: 3px 0; color: #aeaeae; font-size: 11px; }
.billing-section-heading > button .icon { width: 13px; height: 13px; }
.billing-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 120px; padding: 24px 12px 10px; text-align: center; }
.billing-empty > .icon { width: 24px; height: 24px; margin-bottom: 4px; color: #707070; }
.billing-empty strong { color: #bababa; font-size: 12px; font-weight: 500; }
.billing-empty p { color: #808080; font-size: 11px; line-height: 18px; }
.billing-empty button { margin-top: 10px; }
.billing-history { margin-top: 14px; }
.billing-history-header { display: flex; justify-content: space-between; padding: 9px 0; color: #777; font-size: 10px; border-bottom: 1px solid #292929; }
.billing-history-header span:last-child { padding-right: 83px; }
.billing-history-row { display: flex; align-items: center; gap: 10px; padding: 14px 0; border-bottom: 1px solid #292929; }
.billing-history-icon { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border-radius: 8px; background: #252525; color: #aaa; }
.billing-history-icon .icon { width: 14px; height: 14px; }
.billing-history-row > div { display: grid; gap: 4px; min-width: 0; }
.billing-history-row strong { font-size: 12px; font-weight: 500; }
.billing-history-row time { color: #808080; font-size: 10px; }
.billing-history-amount { margin-left: auto; white-space: nowrap; font-size: 12px; font-variant-numeric: tabular-nums; }
.billing-status { padding: 3px 6px; border-radius: 4px; background: #253328; color: #a3cea8; font-size: 9px; }
.billing-metrics { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-bottom: 22px; }
.billing-metrics > div { padding: 16px 12px; border: 1px solid #353535; border-radius: 10px; background: #202020; }
.billing-metrics span { display: block; color: #939393; font-size: 11px; line-height: 17px; }
.billing-metrics strong { display: block; margin-top: 12px; font-size: 23px; font-weight: 600; letter-spacing: -.6px; }
.billing-cost-total { margin-bottom: 22px; padding: 20px; border: 1px solid #353535; border-radius: 12px; background: #202020; }
.billing-cost-total > span { color: #a0a0a0; font-size: 12px; }
.billing-cost-total strong { display: block; margin-top: 8px; font-size: 32px; font-weight: 600; }
.billing-cost-total p { margin-top: 8px; color: #808080; font-size: 11px; line-height: 18px; }
.account-settings-form { display: grid; gap: 8px; }
.account-settings-form label { margin-top: 12px; color: #bcbcbc; font-size: 12px; line-height: 20px; }
.account-settings-form input { width: 100%; height: 43px; padding: 10px 13px; border: 1px solid #383838; border-radius: 8px; background: #202020; font-size: 13px; }
.account-settings-form input[readonly] { color: #888; }
.account-settings-form .billing-primary { justify-self: start; margin-top: 16px; }
.account-settings-security { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 30px; padding-top: 24px; border-top: 1px solid #303030; }
.account-settings-security p { margin-top: 6px; color: #888; font-size: 11px; line-height: 18px; }
@media (max-width: 680px) {
  .account-center { max-width: calc(100vw - 20px); max-height: calc(100dvh - 24px); border-radius: 14px; }
  .account-center[open] { grid-template-columns: minmax(0,1fr); }
  .account-center-sidebar { padding: 14px 12px 0; border-right: 0; border-bottom: 1px solid #292929; }
  .account-center-brand { margin-bottom: 14px; padding-left: 5px; font-size: 15px; }
  .account-center-sidebar > .account-center-eyebrow, .account-center-personal { display: none; }
  .account-center-sidebar nav { display: flex; gap: 2px; padding-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
  .account-center-sidebar nav button { flex-shrink: 0; justify-content: center; gap: 5px; padding: 9px 10px; font-size: 12px; }
  .account-center-sidebar nav button .icon { width: 13px; height: 13px; }
  .account-center-close { top: 11px; right: 11px; }
  .account-center-main { padding: 20px 18px; }
  .account-center-main > .account-center-eyebrow { display: none; }
  .account-center-main h2 { margin-top: 0; font-size: 24px; line-height: 32px; }
  #account-center-content { margin-top: 20px; }
  .billing-balance-card { padding: 18px; }
  .billing-balance-art { width: 50px; height: 50px; border-radius: 14px; }
  .billing-balance-tools { flex-direction: column-reverse; gap: 5px; }
  .billing-balance-card strong { font-size: 32px; }
  .billing-amounts { gap: 7px; }
  .billing-amounts button { padding-block: 12px; font-size: 15px; }
  .billing-metrics { grid-template-columns: 1fr; }
  .billing-metrics > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .billing-metrics strong { margin-top: 0; }
  .billing-status { display: none; }
  .billing-history-header span:last-child { padding-right: 0; }
}
@media (max-width: 380px) { .home-balance { min-height: 26px; } .account-center-sidebar nav button { padding-inline: 9px; } .account-center-sidebar nav button .icon { display: none; } .account-center-main { padding-inline: 14px; } .billing-balance-card { padding: 14px; } }
@media (prefers-reduced-motion: reduce) { .account-center button, .profile-menu button, .home-balance, .home-avatar { transition: none; } }

/* Account pages share the site header and occupy their own workspace. */
body[data-workspace="account"] { background:#070707; color:#ededed; }
body[data-workspace="account"] .site-navigation { background:#070707; border-bottom:0; }
.account-page { inset:var(--site-navigation-height) 0 0; display:grid; grid-template-columns:220px minmax(0,1fr); width:auto; height:auto; max-width:none; max-height:none; margin:0; padding:0; overflow:hidden; background:#070707; border:0; border-radius:0; box-shadow:none; }
.account-page .account-center-sidebar { min-width:0; padding:16px 12px 20px; background:#070707; border:0; overflow:auto; }
.account-page .account-center-sidebar nav { display:block; }
.account-sidebar-group { display:grid; gap:4px; margin-bottom:29px; }
.account-sidebar-group > span { padding:0 8px 6px; font-size:12px; font-weight:600; color:#8b8b8b; }
.account-sidebar-group > a { display:flex; align-items:center; gap:9px; min-height:36px; padding:8px; color:#999; text-decoration:none; border-radius:10px; font-size:14px; line-height:20px; }
.account-sidebar-group > a .icon { width:16px; height:16px; }
.account-sidebar-group > a:hover { color:#eee; background:#121212; }
.account-sidebar-group > a[aria-current] { color:#fff; background:#181818; font-weight:700; }
.account-sidebar-footer { margin-top:auto; padding:20px 8px 0; border-top:1px solid #1b1b1b; display:flex; gap:24px; align-items:center; color:#888; }
.account-sidebar-footer a { color:#a7a7a7; text-decoration:none; }
.account-sidebar-footer > span { font-size:10px; }
.account-page .account-center-main { position:relative; min-width:0; height:100%; padding:27px 32px 42px; overflow:auto; overscroll-behavior:contain; border-radius:20px 0 0; background:#171717; scrollbar-color:#676767 #171717; scrollbar-width:thin; }
.account-page-heading { display:flex; align-items:center; gap:10px; min-height:30px; margin-bottom:24px; }
.account-page-heading h1 { font-family:var(--font); font-size:25px; font-weight:750; line-height:32px; letter-spacing:-.5px; }
.account-page-refresh { color:#eee; padding:2px; display:grid; place-items:center; }
.account-page-refresh .icon { width:16px; height:16px; }
.account-page #account-center-content { margin:0; }
.account-page .billing-notice { margin:0 0 20px; }
.account-page-actions { position:absolute; top:28px; right:32px; display:flex; align-items:center; justify-content:flex-end; gap:10px; max-width:calc(100% - 300px); }
.account-page .billing-primary, .account-action-dialog .billing-primary { min-height:32px; padding:6px 16px; background:#e6e6e6; color:#111; font-size:14px; line-height:20px; border-radius:12px; font-weight:650; }
.account-page .billing-primary:hover:not(:disabled), .account-action-dialog .billing-primary:hover:not(:disabled) { background:#fff; }
.account-page .billing-secondary, .account-action-dialog .billing-secondary { min-height:32px; padding:5px 14px; border:1px solid #323232; border-radius:12px; background:transparent; color:#e3e3e3; font-size:13px; line-height:20px; }
.account-page .developer-toolbar { align-items:center; gap:8px; margin-bottom:16px; }
.account-page .developer-toolbar label { display:flex; align-items:center; gap:7px; min-height:32px; padding:0 12px; border-radius:12px; background:#282828; color:#989898; font-size:14px; }
.account-page .developer-toolbar select { width:140px; max-width:190px; height:32px; padding:0 20px 0 0; border:0; border-radius:0; background:transparent; font:inherit; color:#eee; }
.account-page .developer-toolbar #api-period, .account-page .developer-toolbar #billing-period { width:160px; }
.account-page .developer-toolbar .developer-search { padding:0; }
.developer-search input { height:32px; width:230px; padding:0 12px; border:0; border-radius:12px; background:#282828; color:#eee; font-size:14px; }
.sr-only { position:absolute!important; left:0!important; top:0!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.account-page-heading h1:focus { outline:none; }
.account-page .developer-metrics { grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-bottom:15px; }
.account-page .developer-cost-metrics { grid-template-columns:repeat(6,minmax(0,1fr)); margin-top:22px; margin-bottom:22px; }
.account-page .developer-metrics > div { display:block; min-height:140px; padding:20px; border:1px solid #303030; border-radius:20px; background:transparent; }
.account-page .developer-cost-metrics > div { min-height:155px; }
.account-page .developer-metrics span { color:#a3a3a3; font-size:14px; line-height:20px; }
.account-page .developer-metrics strong { margin-top:28px; font-size:25px; font-weight:750; letter-spacing:-.7px; line-height:30px; }
.account-page .developer-metrics small { display:block; margin-top:4px; color:#969696; font-size:12px; line-height:16px; }
.account-page .developer-chart-card { padding:20px 20px 18px; margin-bottom:14px; border:1px solid #303030; border-radius:20px; background:transparent; }
.account-page .billing-section-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:0; }
.account-page .billing-section-heading h3 { margin:0; color:#f4f4f4; font-size:16px; font-weight:700; }
.account-page .billing-section-heading > span { font-size:12px; color:#999; }
.developer-chart-switch { display:flex; gap:5px; align-items:center; }
.developer-chart-switch button { padding:4px 12px; font-size:13px; font-weight:650; color:#eee; border-radius:16px; }
.developer-chart-switch button[aria-pressed="true"] { background:#292929; }
.developer-chart-frame { display:grid; grid-template-columns:60px minmax(0,1fr); margin-top:27px; height:255px; }
.developer-chart-scale { display:flex; flex-direction:column; justify-content:space-between; padding-right:10px; color:#6d7783; font-size:11px; text-align:right; transform:translateY(-6px); }
.account-page .developer-chart { margin:0; padding:0; height:255px; gap:0; border-bottom:1px solid #232323; background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),#262626 calc(25% - 1px),#262626 25%); }
.account-page .developer-chart-day { justify-content:center; min-width:0; }
.account-page .developer-chart-day button { display:flex; flex-direction:column-reverse; width:clamp(5px,68%,48px); height:var(--bar-height); min-height:0; border-radius:0; background:transparent; }
.account-page .developer-chart-day button:hover { filter:brightness(1.18); }
.developer-chart-segment { display:block; width:100%; flex-shrink:0; }
.account-page .developer-chart-axis { margin:12px 2px 0 64px; font-size:11px; color:#6d7783; }
.developer-chart-axis.is-sparse > span { flex:1; text-align:center; }
.developer-chart-legend { display:flex; flex-wrap:wrap; justify-content:center; gap:8px 18px; margin-top:22px; min-height:17px; font-size:11px; color:#eee; }
.developer-chart-legend > span { display:inline-flex; align-items:center; gap:6px; }
.developer-chart-legend i { width:8px; height:8px; border-radius:2px; }
.account-page .developer-table-scroll { margin-top:0; overflow:auto; border:1px solid #323232; border-radius:7px; }
.account-page .developer-table { font-size:13px; line-height:18px; white-space:nowrap; }
.account-page .developer-table th { height:40px; padding:10px 12px; border-right:1px solid #353535; border-bottom:1px solid #353535; background:#202020; color:#eee; font-size:14px; font-weight:750; }
.account-page .developer-table td { padding:13px 12px; border-right:1px solid #303030; border-bottom:1px solid #303030; vertical-align:middle; }
.account-page .developer-table th:last-child, .account-page .developer-table td:last-child { border-right:0; }
.account-page .developer-table tbody tr:last-child td { border-bottom:0; }
.account-page .developer-table td:first-child > span, .account-page .developer-table td code, .account-page .developer-table td small { margin-top:3px; font-size:11px; color:#949494; }
.account-page .developer-table td small { display:block; }
.account-page .developer-table button { color:#f0f0f0; font-size:inherit; font-weight:600; }
.align-right { text-align:right!important; }
.account-page .developer-table .table-empty { height:128px; text-align:center; color:#999; font-size:14px; font-weight:400; }
.account-page .developer-state { padding:3px 10px; border-radius:20px; font-size:11px; line-height:16px; white-space:nowrap; }
.account-page .developer-state-success { background:#e9e9e9; color:#111; }
.account-page .developer-state-fail { background:#352222; color:#e5a3a3; }
.account-page .developer-log-table th:first-child, .account-page .developer-log-table td:first-child, .account-page .developer-log-table th:last-child, .account-page .developer-log-table td:last-child { background:#0d0d0d; }
.account-page .developer-log-table td { height:51px; }
.developer-log-footer { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-top:14px; align-items:end; }
.account-page .developer-pagination { margin-top:0; gap:8px; flex-wrap:wrap; font-size:13px; }
.developer-pagination label { display:flex; align-items:center; gap:6px; height:32px; padding:0 12px; border-radius:16px; background:#282828; }
.developer-pagination select { background:transparent; border:0; color:#eee; }
.developer-page-number { display:grid; place-items:center; min-width:34px; height:34px; border:1px solid #333; border-radius:14px; color:#eee; }
.developer-base-url { display:flex; align-items:center; gap:9px; min-height:34px; padding:4px 10px; border:1px solid #343434; border-radius:10px; background:#1e1e1e; font-size:12px; min-width:0; }
.developer-base-url > span { color:#999; font-size:10px; letter-spacing:.8px; white-space:nowrap; }
.developer-base-url code { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#bbb; }
.developer-base-url button { padding:2px; color:#ccc; font-size:18px; }
.account-page .developer-key-table th:first-child, .account-page .developer-key-table td:first-child, .account-page .developer-key-table th:last-child, .account-page .developer-key-table td:last-child { background:#0d0d0d; }
.account-page .developer-key-card { position:static; border:0; border-radius:0; }
.account-page .developer-key-card td { height:87px; padding-block:12px; }
.account-page .developer-key-card code { color:#ddd; font-size:12px; }
.key-ledger-line { display:flex; justify-content:space-between; align-items:center; gap:24px; color:#999; font-size:12px; }
.key-ledger-line strong { font-weight:600; color:#eee; }
.key-status-switch { display:inline-block; width:32px; height:20px; padding:2px; border-radius:20px; background:#555; }
.key-status-switch::after { content:''; display:block; width:16px; height:16px; border-radius:50%; background:#191919; }
.key-status-switch.is-active { background:#ddd; }
.key-status-switch.is-active::after { margin-left:12px; }
.account-page .developer-revoke { position:static; color:#ee8c8c; font-size:12px; }
.account-page .developer-tabs { margin-top:22px; margin-bottom:0; width:max-content; max-width:100%; border-bottom:0; gap:6px; }
.account-page .developer-tabs button { padding:6px 12px; border:1px solid transparent; border-radius:9px; color:#999; font-size:12px; }
.account-page .developer-tabs button[aria-pressed="true"] { background:#252525; border-color:#333; color:#eee; }
.account-page .developer-key-form { margin-bottom:18px; padding:18px; background:#202020; border-radius:12px; }
.account-page .developer-key-form > div { grid-column:1/-1; display:flex; gap:10px; }
.account-page .developer-secret { margin-bottom:18px; background:#222d25; border-color:#435748; }
.account-page .developer-secret strong { color:#d5e7d8; }
.account-page .developer-secret p { color:#b2beb5; }
.developer-cost-breakdowns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:14px; }
.developer-cost-breakdowns > div { padding:20px; border:1px solid #303030; border-radius:20px; }
.billing-overview { display:grid; grid-template-columns:2.05fr repeat(3,minmax(0,1fr)); gap:14px; margin-bottom:26px; }
.billing-summary-card { display:flex; flex-direction:column; min-width:0; min-height:232px; padding:20px; border:1px solid #303030; border-radius:15px; background:transparent; }
.billing-summary-card h3 { margin:0 0 14px; font-size:14px; font-weight:750; }
.billing-card-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.billing-card-heading h3 { margin:0; }
.account-page .billing-balance-card { display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start; gap:0; padding:20px; background:transparent; border-color:#303030; }
.account-page .billing-balance-card > strong { display:block; margin-top:24px; font-size:34px; font-weight:750; letter-spacing:-.7px; }
.billing-alert-link { align-self:start; margin-top:1px; padding:0; color:#999; font-size:12px; }
.billing-ledger-line { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:8px; font-size:12px; color:#999; }
.billing-ledger-line > span:last-child { text-align:right; }
.account-page .billing-ledger-line > span { color:inherit; }
.billing-card-subtotal { margin-top:auto; padding-top:12px; border-top:1px solid #303030; }
.billing-balance-card .billing-card-subtotal { margin-top:24px; }
.is-credit { color:#00d5a1!important; }
.is-debit { color:#ff5959!important; }
.billing-transactions-heading h3 { margin:0 0 13px; font-size:16px; font-weight:750; }
.billing-transactions-toolbar { display:flex; justify-content:space-between; align-items:center; gap:14px; margin-bottom:16px; }
.account-page .billing-transactions-toolbar .developer-toolbar { margin-bottom:0; }
.billing-transactions-toolbar > button { display:flex; align-items:center; gap:6px; white-space:nowrap; }
.account-page .developer-toolbar .billing-invoice-toggle { background:transparent; color:#ddd; padding:0; font-weight:600; gap:8px; }
.billing-invoice-toggle input { appearance:none; width:32px; height:20px; padding:2px; border-radius:20px; background:#444; margin:0; cursor:pointer; }
.billing-invoice-toggle input::after { content:''; display:block; width:16px; height:16px; border-radius:50%; background:#ddd; }
.billing-invoice-toggle input:checked { background:#ddd; }
.billing-invoice-toggle input:checked::after { margin-left:12px; background:#111; }
.account-page .billing-transactions-table .billing-history-row { display:table-row; }
.account-page .billing-transactions-table td { padding:10px 12px; }
.account-page .billing-transactions-table .billing-history-row strong { font-size:13px; font-weight:600; }
.account-page .billing-transactions-table .billing-history-row time { font-size:13px; color:#eee; }
.account-page .billing-transactions-table td small { display:inline; margin-left:4px; }
.billing-document { display:inline-flex; align-items:center; gap:5px; padding:3px 8px!important; border:1px solid #333; border-radius:15px; font-size:11px!important; }
.billing-document .icon { width:12px; height:12px; }
.account-action-dialog { width:510px; max-height:calc(100dvh - 32px); overflow:auto; background:#1a1a1a; color:#eee; border-color:#3c3c3c; border-radius:16px; }
.account-action-dialog h2 { margin:0 20px 20px 0; font-size:23px; }
.account-action-close { position:absolute; right:14px; top:10px; padding:5px; color:#bbb; font-size:24px; }
.account-action-dialog form > label { display:grid; gap:8px; margin-bottom:16px; color:#aaa; font-size:13px; }
.account-action-dialog input:not([type="checkbox"]), .account-action-dialog textarea, .account-action-dialog select { width:100%; min-width:0; padding:10px 12px; border:1px solid #3a3a3a; border-radius:9px; background:#252525; color:#eee; font:inherit; }
.account-action-dialog textarea { resize:vertical; }
.account-action-dialog .billing-amounts { margin-top:20px; }
.account-action-dialog .billing-amounts button { font-size:18px; }
.account-action-dialog .billing-custom-amount input { border:0; padding:0; background:transparent; }
.account-action-dialog .cookie-choice { display:flex; justify-content:space-between; align-items:center; gap:20px; }
.cookie-choice input { accent-color:#ddd; width:20px; height:20px; }
.billing-information { display:grid; grid-template-columns:100px minmax(0,1fr); gap:16px; margin-top:20px; font-size:14px; }
.billing-information dt { color:#aaa; }
.billing-information dd { margin:0; overflow-wrap:anywhere; }
.settings-layout { display:grid; grid-template-columns:224px minmax(0,1fr); gap:48px; align-items:start; margin-top:31px; }
.settings-navigation { position:sticky; top:0; display:grid; gap:4px; }
.settings-navigation a { display:block; padding:10px 12px; color:#999; text-decoration:none; border-radius:8px; font-size:14px; line-height:20px; }
.settings-navigation a[aria-current] { background:#292929; color:#eee; font-weight:700; }
.settings-sections { min-width:0; }
.settings-sections > section { margin-bottom:48px; scroll-margin-top:16px; }
.settings-section-heading { display:flex; justify-content:space-between; align-items:center; gap:18px; margin-bottom:12px; }
.settings-section-heading h3 { margin:0; font-size:16px; font-weight:700; }
.settings-section-heading p { margin-top:3px; font-size:12px; line-height:18px; color:#aaa; }
.settings-panel { overflow:hidden; background:#1f1f1f; border:1px solid #363636; border-radius:14px; }
.account-page .account-settings-form { display:block; }
.settings-row { display:flex; justify-content:space-between; align-items:center; gap:22px; padding:14px 16px; min-height:70px; border-bottom:1px solid #2c2c2c; }
.settings-row:last-child { border-bottom:0; }
.settings-row > div:first-child { min-width:0; }
.settings-row strong, .account-page .settings-row label { color:#eee; font-size:14px; font-weight:650; margin:0; }
.settings-row p { margin-top:6px; font-size:12px; color:#a3a3a3; line-height:19px; }
.settings-row-value { display:flex; justify-content:flex-end; flex-shrink:0; max-width:45%; font-size:14px; color:#a5a5a5; }
.account-page .settings-row-value input, .settings-row-value select { width:288px; max-width:100%; min-width:0; height:32px; padding:6px 12px; border:0; border-radius:16px; background:#303030; color:#eee; font-size:14px; }
.account-page #profile-name { width:224px; }
.settings-user-id { padding:0; color:#999; font:11px monospace; overflow-wrap:anywhere; text-align:right; }
.settings-avatar { display:grid; place-items:center; width:48px; height:48px; padding:0; overflow:hidden; border-radius:50%; background:#f47a00; font-size:24px; color:#fff; }
.settings-avatar img { display:block; width:100%; height:100%; object-fit:cover; }
.settings-save-row { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px 16px; border-top:1px solid #2c2c2c; }
.account-page .account-settings-form .billing-primary { margin-top:0; }
.organizations-panel > p { padding:30px 20px; text-align:center; font-size:14px; line-height:22px; color:#999; }
.organizations-panel .settings-row > span { font-size:12px; color:#999; }
.ticket-detail { display:grid; gap:18px; font-size:14px; }
.ticket-detail p { white-space:pre-wrap; line-height:22px; color:#ccc; }
.ticket-detail small, .ticket-detail code { color:#999; font-size:12px; overflow-wrap:anywhere; }
.home-avatar img, .profile-avatar img { width:100%; height:100%; display:block; border-radius:50%; object-fit:cover; }
#home-avatar-letter { display:grid; place-items:center; width:100%; height:100%; overflow:hidden; border-radius:inherit; }

@media (max-width:1400px) {
  .account-page .developer-cost-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .billing-overview { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .billing-overview .billing-balance-card { grid-column:1/-1; min-height:200px; }
  .settings-layout { grid-template-columns:180px minmax(0,1fr); gap:28px; }
  .account-page-actions { max-width:calc(100% - 220px); }
}
@media (max-width:1000px) {
  .account-page { grid-template-columns:180px minmax(0,1fr); }
  .account-page .account-center-main { padding:24px; }
  .account-page-actions { right:24px; top:25px; }
  .account-page .developer-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .account-page .developer-cost-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .settings-layout { grid-template-columns:140px minmax(0,1fr); gap:20px; }
  .settings-row { align-items:start; flex-direction:column; gap:12px; }
  .settings-row-value { max-width:100%; width:100%; justify-content:flex-start; }
  .settings-row-value input, .settings-row-value select { width:100%; }
  .settings-section-heading { align-items:start; }
  .settings-section-heading button { flex-shrink:0; }
  .billing-overview { grid-template-columns:1fr; }
  .billing-summary-card { min-height:180px; }
  .billing-transactions-toolbar { flex-wrap:wrap; }
  .developer-base-url { max-width:300px; }
}
@media (max-width:760px) {
  .account-page-actions { position:static; max-width:none; justify-content:flex-start; flex-wrap:wrap; margin-bottom:18px; }
  .settings-layout { grid-template-columns:minmax(0,1fr); gap:24px; }
  .settings-navigation { position:static; display:flex; overflow:auto; }
  .settings-navigation a { flex-shrink:0; white-space:nowrap; }
  .developer-cost-breakdowns { grid-template-columns:1fr; }
}
@media (max-width:680px) {
  .account-page { grid-template-columns:minmax(0,1fr); grid-template-rows:auto minmax(0,1fr); max-width:none; max-height:none; border-radius:0; }
  .account-page .account-center-sidebar { padding:8px 12px; overflow:auto; }
  .account-page .account-center-sidebar nav { display:flex; width:max-content; gap:6px; padding:0; overflow:visible; }
  .account-sidebar-group { display:flex; margin:0; gap:4px; }
  .account-sidebar-group > span, .account-sidebar-footer { display:none; }
  .account-sidebar-group > a { min-height:34px; padding:7px 10px; font-size:12px; gap:6px; white-space:nowrap; }
  .account-sidebar-group > a .icon { width:14px; height:14px; }
  .account-page .account-center-main { padding:22px 16px 30px; border-radius:16px 16px 0 0; }
  .account-page-heading { margin-bottom:20px; }
  .account-page-heading h1 { font-size:23px; }
  .account-page .developer-toolbar label { font-size:12px; padding-inline:10px; }
  .account-page .developer-toolbar label { flex:0 1 auto; min-width:0; white-space:nowrap; }
  .account-page .developer-toolbar select { width:110px; max-width:150px; font-size:12px; }
  .account-page .developer-toolbar #api-period, .account-page .developer-toolbar #billing-period { width:140px; }
  .account-page .developer-metrics, .account-page .developer-cost-metrics { gap:10px; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .account-page .developer-metrics > div { min-height:125px; padding:15px; }
  .account-page .developer-metrics span { font-size:12px; }
  .account-page .developer-metrics strong { margin-top:20px; font-size:22px; }
  .account-page .developer-chart-card { padding:16px 12px; border-radius:14px; }
  .account-page .billing-section-heading h3 { font-size:14px; }
  .developer-chart-switch button { padding:4px 7px; font-size:11px; }
  .developer-chart-frame { grid-template-columns:42px minmax(0,1fr); height:210px; }
  .account-page .developer-chart { height:210px; }
  .developer-chart-scale { padding-right:6px; font-size:9px; }
  .account-page .developer-chart-axis { margin-left:46px; font-size:10px; }
  .developer-chart-legend { margin-top:18px; font-size:10px; }
  .account-page .developer-key-form { grid-template-columns:1fr; }
  .account-page .developer-key-form label { font-size:12px; }
  .developer-log-footer { display:block; }
  .account-page .developer-pagination { margin-top:16px; justify-content:flex-start; }
  .developer-base-url { max-width:100%; }
  .billing-card-heading { flex-wrap:wrap; }
  .settings-layout { margin-top:0; }
  .settings-sections > section { margin-bottom:36px; }
  .settings-section-heading { gap:12px; flex-wrap:wrap; }
  .settings-row { padding:15px; }
  .settings-save-row { padding:12px; }
  .account-page .settings-save-row button { font-size:12px; padding-inline:10px; }
  .account-action-dialog { padding:22px 18px; }
  .account-page .billing-transactions-toolbar .developer-toolbar { align-items:flex-start; }
}
@media (prefers-reduced-motion:reduce) { .account-page *, .account-action-dialog * { scroll-behavior:auto!important; transition:none!important; } }

.image-artwork { position: relative; display: block; overflow: hidden; container-type: size; }
.image-model-logo { display: block; width: 16px; height: 16px; flex-shrink: 0; background: var(--accent); mask: var(--model-logo) center / contain no-repeat; }
.image-model-logo[data-image-logo="openai"] { mask-size: 145%; }
.image-model-logo[data-image-logo="grok"] { mask-size: 125%; }
.ai-price-sale { display: flex; align-items: baseline; gap: 6px; color: #fff; font-size: 13px; font-weight: 700; line-height: 1.2; }
.ai-price-unit { font-size: 10px; font-weight: 500; }
.image-artwork::before { content: ''; position: absolute; width: calc(4 * max(100cqw, 100cqh)); height: calc(3 * max(100cqw, 100cqh)); left: calc(50% - (var(--art-x, 0) + .5) * max(100cqw, 100cqh)); top: calc(50% - (var(--art-y, 0) + .5) * max(100cqw, 100cqh)); background: url('/public/images/creative-atlas.webp') 0 0 / 100% 100% no-repeat; }

@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/public/fonts/dm-sans-latin.woff2') format('woff2'); }
.public-document, .public-home-shell { color-scheme: dark; background: #090b10; color: #f0f1f2; font-family: 'DM Sans', 'Segoe UI', sans-serif; }
body.public-document { margin: 0; }
.public-document *, .public-home-shell * { box-sizing: border-box; }
.public-document a, .public-home-shell a, .public-intro a, .public-home-details a, .public-footer a { color: #dda0ff; text-underline-offset: 4px; }
.public-document a:hover, .public-home-shell a:hover, .public-home-details a:hover { color: #efcfff; }
.public-document a:focus-visible, .public-home-shell a:focus-visible, .public-intro a:focus-visible, .public-footer a:focus-visible { outline: 2px solid #dda0ff; outline-offset: 5px; }
.public-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px max(24px, calc((100vw - 1100px) / 2)); border-bottom: 1px solid #ffffff18; }
.public-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff !important; font-size: 22px; font-weight: 700; text-decoration: none; }
.public-brand img, .public-footer-brand img { display: block; width: 180px; max-width: 100%; height: auto; }
.public-footer-brand { display: inline-flex; }
.public-header nav, .public-footer nav { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; font-size: 14px; }
.public-header nav a { text-decoration: none; }
.public-button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border-radius: 10px; background: #a215e3; color: #fff !important; text-decoration: none; font-size: 14px; font-weight: 650; }
.public-button:hover { background: #8511bb; }
.public-intro { max-width: 980px; margin: 32px auto 34px; text-align: center; }
.public-eyebrow { color: #dda0ff; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 650; }
.public-intro h1 { margin: 10px 0 14px; font-size: clamp(30px, 4vw, 52px); line-height: 1.12; letter-spacing: -.035em; font-weight: 700; }
.public-intro > p:not(.public-eyebrow) { max-width: 740px; margin: 0 auto; font-size: 16px; line-height: 1.7; color: #c5c7d0; }
.public-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 24px; margin-top: 20px; font-size: 14px; }
.public-home-shell { height: 100dvh; overflow: auto; }
.public-home-shell main { max-width: 1100px; margin: auto; padding: 0 24px; }
.public-static-preview { max-width: 680px; margin: auto; }
.public-static-preview img { display: block; max-width: 100%; height: auto; border-radius: 16px; }
.public-home-details { margin: 64px auto 0; max-width: 1100px; font-size: 15px; line-height: 1.8; }
.public-section-heading { margin-bottom: 26px; }
.public-home-details h2 { font-size: 25px; letter-spacing: -.02em; line-height: 1.3; margin: 8px 0 16px; }
.public-home-details h3 { margin: 0 0 12px; font-size: 18px; line-height: 1.3; }
.public-home-details p { color: #c5c7d0; margin: 0 0 16px; }
.public-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.public-grid article { padding: 24px; border: 1px solid #ffffff1e; border-radius: 14px; background: #ffffff03; }
.public-quick-answer { border-top: 1px solid #ffffff1e; padding: 28px 0 0; margin-top: 32px; }
.public-footer { max-width: 1100px; margin: 48px auto 0; padding: 28px 24px 32px; border-top: 1px solid #ffffff1e; }
.public-footer nav { margin-top: 22px; }
.public-footer p { color: #a9aebb; font-size: 12px; line-height: 1.6; margin-top: 20px; }
.public-article { max-width: 800px; margin: 0 auto; padding: 36px 24px 64px; font-size: 17px; line-height: 1.8; }
.public-article h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.15; letter-spacing: -.03em; margin: 12px 0 24px; }
.public-article h2 { font-size: 25px; line-height: 1.3; margin: 36px 0 14px; letter-spacing: -.02em; }
.public-article p, .public-article li { color: #c5c7d0; }
.public-article p { margin: 0 0 20px; }
.public-article .public-lead { font-size: 21px; color: #e1e1ea; }
.public-breadcrumb { font-size: 13px; color: #a9aebb; margin-bottom: 32px; }
.public-article section { scroll-margin-top: 24px; }
.public-landing { max-width: 1100px; }
.public-language-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.public-language-nav [aria-current="page"] { color: #fff; font-weight: 650; }
.public-modified { margin-top: 36px !important; font-size: 13px; color: #a9aebb !important; }
.public-table-wrap { max-width: 100%; overflow-x: auto; margin: 24px 0; border: 1px solid #ffffff1e; border-radius: 12px; }
.public-article table { width: 100%; border-collapse: collapse; font-size: 15px; }
.public-article th, .public-article td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #ffffff15; vertical-align: top; }
.public-article th { color: #f0f1f2; font-weight: 650; }
.public-article td { color: #c5c7d0; }
.public-article code { overflow-wrap: anywhere; }
.public-article pre { max-width: 100%; overflow-x: auto; padding: 18px; border-radius: 12px; background: #ffffff08; font-size: 14px; }
.public-skip-link { position: fixed; top: 12px; left: 16px; z-index: 1000; transform: translateY(-200%); padding: 10px 16px; border-radius: 8px; background: #fff; color: #111 !important; }
.public-skip-link:focus { transform: translateY(0); outline: 3px solid #b600f3; }
@media (max-width: 720px) { .public-header { padding: 18px 20px; flex-wrap: wrap; }.public-header nav { gap: 16px; }.public-grid { grid-template-columns: 1fr; }.public-intro { margin: 24px auto 30px; }.public-actions { gap: 16px; }.public-home-details { margin-top: 44px; }.public-footer nav { gap: 14px; }.public-article { font-size: 16px; } }

.prompt-context-menu { position:fixed; z-index:1200; width:286px; max-width:calc(100vw - 16px); max-height:calc(100dvh - 16px); overflow-y:auto; padding:7px; border:1px solid #34343a; border-radius:13px; background:#19191e; color:#fafafa; box-shadow:0 12px 40px #0007; }
.prompt-context-menu[hidden], .prompt-help-feedback[hidden] { display:none; }
.prompt-context-menu button { display:flex; align-items:center; justify-content:space-between; gap:20px; width:100%; padding:8px 12px; border:0; border-radius:8px; background:transparent; color:inherit; text-align:left; font-family:inherit; font-weight:500; font-size:13px; line-height:1.4; cursor:pointer; }
.prompt-context-menu button[data-prompt-action="improve"] { font-weight:600; color:#d7d0ff; padding-top:10px; padding-bottom:10px; }
.prompt-context-menu kbd { font-family:inherit; font-size:11px; line-height:1.4; color:#91919e; white-space:nowrap; }
.prompt-menu-separator { height:1px; background:#34343a; margin:5px 7px; }
.prompt-context-menu button:hover:not(:disabled), .prompt-context-menu button:focus-visible { background:#303039; outline:2px solid #afa3ff; outline-offset:-2px; }
.prompt-context-menu button:disabled { opacity:.5; cursor:default; }
.prompt-context-menu small { display:block; padding:3px 12px 8px; font-size:11px; color:#a8a8b2; }
.prompt-help-feedback { display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding:7px 3px; font-size:12px; line-height:1.5; color:#b7b1cf; }
.prompt-help-feedback.is-error { color:#ffb8ad; }
.prompt-help-announcement { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
