@import url("/data/style.css?build=20261202.1");
@import url("/data/css/dashboard/20261202.1/workspace-theme.css");

:root.dashboard-root { min-width: 0; overflow-x: clip; }
body.dashboard-page {
  --launcher-width: 1160px;
  --launcher-gap: clamp(.65rem, 1.05vw, .875rem);
  --launcher-gutter: clamp(1rem, 3.1vw, 2rem);
  --sidebar-panel: 15rem;
  --sidebar-rail: 3.75rem;
  --sidebar-space: var(--sidebar-panel);
  --assistant-column: clamp(19rem, 29vw, 29rem);
  isolation: isolate;
  min-width: 0;
  width: 100%;
  min-height: 100vh;
}
body.dashboard-page[data-ai-panel="floating"] { --assistant-column: 0px; }
.workspace-main { min-width: 0; container-type: inline-size; }
.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, var(--assistant-column));
  margin-inline-start: var(--sidebar-space);
  transition: grid-template-columns .26s ease;
}
.dashboard-page[data-sidebar-collapsed] { --sidebar-space: var(--sidebar-rail); }
.dashboard-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  width: var(--sidebar-space);
  padding: .65rem .45rem max(.65rem, env(safe-area-inset-bottom, 0px));
  border-right: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}
.dashboard-sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .25rem;
  margin-bottom: .8rem;
}
.dashboard-sidebar-brand {
  flex: 1;
  margin-inline-start: .5rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .085em;
}
.dashboard-sidebar :is(button, summary) { font: inherit; cursor: pointer; }
.dashboard-sidebar-icon {
  flex: 0 0 44px;
  width: 44px;
  min-height: 44px;
}
.dashboard-sidebar :is(.dashboard-sidebar-icon, .dashboard-sidebar-action, .dashboard-chat-options) {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: transparent;
}
.dashboard-sidebar .dashboard-sidebar-action {
  justify-content: flex-start;
  gap: .65rem;
  min-height: 40px;
  width: 100%;
  padding: .45rem .55rem;
  text-align: left;
  font-size: .9rem;
}
.dashboard-sidebar :is(.dashboard-sidebar-icon, .dashboard-sidebar-action, .dashboard-chat-options):hover,
.dashboard-sidebar :is([aria-current="true"], [data-sidebar-policies][aria-expanded="true"]) { background: var(--panel); }
.dashboard-sidebar svg {
  flex: 0 0 auto;
  width: 1.16rem;
  height: 1.16rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dashboard-sidebar-content { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.dashboard-sidebar-links { display: grid; gap: .2rem; }
.dashboard-sidebar .dashboard-sidebar-new { color: var(--orange-deep); font-weight: 700; background: var(--panel); }
.dashboard-sidebar .dashboard-sidebar-history { display: none; }
.dashboard-saved-chats { margin-top: 1rem; }
.dashboard-sidebar :is(.dashboard-saved-chats, .dashboard-policies-menu) h2 {
  margin: 0 .55rem .35rem;
  color: var(--ink-soft);
  font-size: .875rem;
  line-height: 1.3;
  letter-spacing: normal;
}
.dashboard-sidebar-status { margin: .25rem .55rem; color: var(--ink-soft); font-size: .875rem; }
.dashboard-sidebar-status:empty { display: none; }
.dashboard-chat-list-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .15rem; margin: 0 .45rem .25rem .55rem; }
.dashboard-saved-chats .dashboard-chat-list-header h2 { margin: 0; }
.dashboard-chat-list-header button { padding: .25rem .4rem; min-height: 32px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink-soft); font-size: .8125rem; }
.dashboard-chat-list-header button:hover { color: var(--ink); }
.dashboard-saved-chats ul { margin: 0; padding: 0; list-style: none; }
.dashboard-chat-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
.dashboard-chat-row .dashboard-chat-title { min-width: 0; justify-content: space-between; }
.dashboard-chat-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dashboard-chat-title svg { color: var(--orange-deep); width: .875rem; height: .875rem; }
.dashboard-chat-options { width: 36px; min-height: 40px; }
.dashboard-sidebar .dashboard-chat-menu { position: fixed; z-index: 2; width: min(11rem, calc(100vw - 1rem)); max-height: calc(100dvh - 1rem); }
.dashboard-sidebar .dashboard-chat-menu .dashboard-sidebar-action { justify-content: flex-start; }
.dashboard-chat-menu button[data-danger] { color: var(--danger); }
.dashboard-sidebar-bottom { position: relative; display: flex; flex-direction: column; flex: 0 1 auto; min-height: 0; border-top: 1px solid var(--line); }
.dashboard-sidebar-departments { display: grid; gap: .2rem; padding-top: .55rem; overflow-y: auto; }
.dashboard-sidebar-departments strong { font-weight: 500; }
.dashboard-sidebar-departments a:focus-visible { outline-offset: -3px; }
.dashboard-sidebar .dashboard-sidebar-profile { flex: none; margin-top: .55rem; padding: .35rem; min-height: 44px; }
.dashboard-sidebar-avatar {
  display: grid;
  place-items: center;
  position: relative;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--panel);
  color: var(--orange-deep);
  border: 1px solid var(--border);
  font-size: .8rem;
  font-weight: 700;
}
.dashboard-sidebar-avatar :is(img, span) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dashboard-sidebar-avatar span { display: grid; place-items: center; background: var(--panel); }
.dashboard-sidebar-profile [data-sidebar-profile-label] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-sidebar-popup {
  position: absolute;
  z-index: 1;
  width: min(15.5rem, calc(100vw - var(--sidebar-rail) - .75rem));
  max-height: min(28rem, calc(100dvh - 5rem));
  overflow: auto;
  padding: .45rem;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface);
  box-shadow: 0 12px 36px #0004;
}
.dashboard-profile-menu { inset: auto auto 3.25rem .2rem; max-height: min(34rem, calc(100dvh - 5rem)); }
.dashboard-page #accountCoins {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.dashboard-page #accountCoins h3 { margin: 0; }
.dashboard-sidebar-legal { position: relative; flex: none; margin-top: .3rem; }
.dashboard-policies-menu { inset: auto auto calc(100% + .25rem) .2rem; max-height: min(28rem, calc(100dvh - 7rem)); }
.dashboard-policies-menu h2 { padding-top: .45rem; }
.dashboard-profile-identity { display: grid; gap: .25rem; padding: .6rem .55rem; border-bottom: 1px solid var(--line); margin-bottom: .25rem; overflow-wrap: anywhere; }
.dashboard-profile-identity span { font-size: .85rem; color: var(--ink-soft); }
.dashboard-page[data-sidebar-collapsed] :is(.dashboard-sidebar-label, .dashboard-saved-chats) { display: none; }
.dashboard-page[data-sidebar-collapsed] .dashboard-policies-menu { inset: auto auto 0 calc(100% + .6rem); }
.dashboard-page[data-sidebar-collapsed] .dashboard-sidebar-action { justify-content: center; }
.dashboard-page[data-sidebar-collapsed] .dashboard-sidebar-history { display: flex; }
.dashboard-page[data-sidebar-collapsed] .dashboard-profile-menu { inset: auto auto 0 calc(100% + .5rem); }
.dashboard-page[data-sidebar-collapsed] .dashboard-sidebar-popup .dashboard-sidebar-action { justify-content: flex-start; }
.dashboard-sidebar-shade { display: none; }
.dashboard-chat-dialog {
  width: min(26rem, calc(100% - 1.5rem));
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
}
.dashboard-chat-dialog::backdrop { background: var(--overlay); }
.dashboard-chat-dialog h2 { margin: 0 0 .85rem; font-size: 1.25rem; }
.dashboard-chat-dialog label { display: grid; gap: .35rem; }
.dashboard-chat-dialog input { width: 100%; padding: .65rem; border: 1px solid var(--border); border-radius: 8px; background: var(--paper); color: var(--ink); font: inherit; }
.dashboard-chat-dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; margin-top: 1rem; }
.dashboard-chat-dialog-actions button { min-height: 42px; padding: .45rem .8rem; }
.dashboard-chat-dialog-actions [data-danger] { background: var(--danger); color: var(--paper); }
.dashboard-overview {
  width: min(calc(100% - var(--launcher-gutter) * 2), var(--launcher-width));
  margin-inline: auto;
  padding-block: var(--launcher-gutter) 1.25rem;
}
.launcher-grid {
  margin-inline: clamp(.45rem, 1.4vw, 1.25rem);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(clamp(8.25rem, calc((100vh - 12rem) / 3), 15rem), auto));
  grid-template-rows: repeat(2, minmax(clamp(8.25rem, calc((100dvh - 12rem) / 3), 15rem), auto));
  grid-auto-rows: minmax(9rem, auto);
  gap: var(--launcher-gap);
}
.launcher-tile {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-column: span 2;
  align-content: space-between;
  justify-items: start;
  gap: 1rem;
  min-height: 0;
  padding: clamp(1rem, 2.35vw, 1.75rem);
  overflow: hidden;
  border-radius: 10px;
  color: var(--tile-text);
  background: var(--workspace-color, var(--support-color));
  transition: filter .18s, transform .18s;
}
.launcher-tile > svg {
  width: 2.25rem; height: 2.25rem; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round;
}
.launcher-copy { display: grid; gap: .5rem; }
.launcher-copy strong { font-size: clamp(1.125rem, 2.05vw, 1.65rem); letter-spacing: -.03em; line-height: 1.08; }
.launcher-copy span { font-size: clamp(.9rem, 1.1vw, 1rem); line-height: 1.35; }
.launcher-tile:is(.launcher-studio, .launcher-phones, .launcher-ai-tools, .launcher-video, .launcher-photo) { grid-column: span 3; }
.launcher-studio { grid-row: span 2; padding: clamp(1.25rem, 3.1vw, 2.6rem); }
.launcher-studio > svg { width: 3.625rem; height: 3.625rem; stroke-width: 1.3; }
.launcher-studio .launcher-copy strong { max-width: 8ch; font-size: clamp(2.35rem, 4.9vw, 4.3rem); letter-spacing: -.056em; }
.launcher-studio .launcher-copy span { font-size: 1rem; }
.launcher-studio::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: repeating-radial-gradient(circle at 83% 26%, transparent 0 26px, #64290033 27px 28px, transparent 29px 45px),
    linear-gradient(120deg, #ffad72, #ff914d 88%);
  -webkit-mask-image: linear-gradient(110deg, transparent 12%, #000 80%);
  mask-image: linear-gradient(110deg, transparent 12%, #000 80%);
}
.launcher-ai-tools { --workspace-color: #aadeca; }
.launcher-ai-tools::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: repeating-radial-gradient(ellipse at 102% 0%, transparent 0 15px, #1562572e 16px 17px, transparent 18px 27px);
  mask-image: linear-gradient(125deg, transparent 28%, #000);
}
.launcher-tile[data-workspace-color="cloud"] { --workspace-color: var(--courses-color); }
.launcher-phones, .android-phones { --phone-color: var(--blog-color); }
.launcher-phones { --workspace-color: var(--phone-color); }
.launcher-tile[data-workspace-color="image-compressor"] { --workspace-color: var(--shop-color); }
@media (hover: hover) {
  .launcher-tile:hover { filter: brightness(1.05); transform: translateY(-2px); }
}
.dashboard-page :is(a, button):focus-visible { outline: 3px solid var(--workspace-color, var(--orange-deep)); outline-offset: 4px; }
.dashboard-page .launcher-tile:focus-visible { outline-color: var(--ink); }

body.dashboard-page[data-open-workspace] {
  display: flex; flex-direction: column;
  height: 100vh; height: 100dvh; min-height: 0; overflow: hidden;
}
.dashboard-page[data-open-workspace] .dashboard-layout { flex: 1; min-height: 0; }
.dashboard-page[data-open-workspace] :is(.workspace-main, .dashboard-section) {
  display: flex; flex-direction: column; flex: 1; min-height: 0;
}
.dashboard-section { position: relative; }
.dashboard-section-title {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.dashboard-workspace-message {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center;
  gap: .9rem; padding: 1rem; text-align: center;
}
.dashboard-workspace-state { margin: 0; color: var(--ink-soft); }
.dashboard-frame { display: block; flex: 1; width: 100%; min-height: 0; border: 0; }
.dashboard-frame[data-loading] { visibility: hidden; }
.dashboard-assistant {
  position: sticky;
  top: var(--launcher-gutter);
  align-self: start;
  z-index: 3;
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--launcher-gutter) * 2);
  height: calc(100dvh - var(--launcher-gutter) * 2);
  min-width: 0;
  margin: var(--launcher-gutter) var(--launcher-gutter) var(--launcher-gutter) 0;
  padding: .75rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 12px 32px #0003;
  transition: opacity .2s ease, visibility .2s;
}
.dashboard-page[data-ai-panel="floating"] .dashboard-assistant { opacity: 0; visibility: hidden; pointer-events: none; }
.dashboard-ai-launcher, .dashboard-ai-control {
  display: inline-grid;
  place-items: center;
  flex: none;
  padding: 0;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.dashboard-ai-launcher {
  position: fixed;
  z-index: 3;
  inset-inline-end: max(1.35rem, env(safe-area-inset-right, 0px));
  inset-block-end: calc(var(--assistant-keyboard, 0px) + max(1.1rem, env(safe-area-inset-bottom, 0px)));
  width: 3.5rem;
  height: 3.5rem;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
}
.dashboard-ai-launcher-face {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: inherit;
  background: var(--surface);
  box-shadow: 0 4px 14px #0004;
  pointer-events: none;
  animation: dashboard-ai-float 3.2s ease-in-out infinite;
}
.dashboard-ai-launcher:is(:hover, :focus-visible) .dashboard-ai-launcher-face { border-color: var(--ink-soft); }
.dashboard-page .dashboard-ai-launcher:focus-visible { outline-color: var(--ink); }
.dashboard-ai-launcher-face img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 1px);
}
@keyframes dashboard-ai-float {
  50% { transform: translateY(-6px); }
}
.dashboard-ai-control svg {
  width: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dashboard-ai-control { width: 34px; height: 34px; border-radius: 8px; }
.dashboard-ai-control:hover { background: var(--paper); }
.dashboard-assistant-header {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: wrap;
  min-height: 2.15rem;
  margin-bottom: .35rem;
}
.dashboard-chat-avatar {
  flex: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  object-fit: cover;
}
.dashboard-assistant h2 {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.25;
  letter-spacing: normal;
}
.dashboard-assistant [data-active-chat-title] {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink-soft);
  font-size: .875rem;
}
.dashboard-assistant :is(button, textarea) { font-family: inherit; }
.dashboard-assistant :is(.dashboard-assistant-history, .dashboard-assistant-older) {
  min-height: 36px;
  padding: .35rem .65rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  font-size: .875rem;
  cursor: pointer;
}
.dashboard-assistant-history { order: 2; }
.dashboard-assistant [data-active-chat-title]:empty { visibility: hidden; }
.dashboard-assistant-form { display: flex; align-items: stretch; gap: .45rem; margin-top: auto; }
.dashboard-assistant textarea {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: .6rem .75rem;
  overflow: auto;
  resize: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
}
.dashboard-assistant textarea::placeholder { color: var(--ink-soft); opacity: 1; }
.dashboard-assistant textarea:focus-visible { outline: 2px solid var(--orange-deep); outline-offset: -2px; }
.dashboard-assistant-send {
  min-width: 4.6rem;
  padding: .45rem .8rem;
  border: 0;
  border-radius: 10px;
  background: #ff9a5d;
  color: #25160e;
  font-size: .9375rem;
  font-weight: 700;
  cursor: pointer;
}
.dashboard-assistant button:disabled { opacity: .55; cursor: default; }
.dashboard-assistant-conversation {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: .55rem .25rem;
  border-top: 1px solid var(--line);
}
.dashboard-assistant-messages { display: grid; gap: .75rem; }
.dashboard-assistant-message {
  width: fit-content;
  max-width: min(95%, 42rem);
  padding: .55rem .75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
}
.dashboard-assistant-message[data-role="user"] {
  justify-self: end;
  min-width: min(9rem, 95%);
  background: var(--paper);
}
.dashboard-assistant-byline { display: flex; align-items: center; gap: .45rem; }
.dashboard-assistant-message strong { display: block; color: var(--ink-soft); font-size: .8125rem; }
.dashboard-assistant-message p { margin: .2rem 0 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.dashboard-assistant :is(.dashboard-assistant-empty, .dashboard-assistant-status) { margin: .25rem 0 .5rem; color: var(--ink-soft); font-size: .875rem; }
.dashboard-assistant-older { margin-bottom: .75rem; }
.dashboard-splash {
  position: fixed;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: var(--paper);
  padding: 1rem;
}
.dashboard-splash[data-leaving] { pointer-events: none; }
.dashboard-auth-dialog {
  position: fixed;
  width: min(28rem, calc(100% - 1.5rem));
  max-height: calc(100% - 1.5rem);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 80px #0005;
}
.dashboard-auth-dialog[open] { animation: ui-enter var(--motion-duration) var(--motion-ease); }
.dashboard-auth-dialog::backdrop { background: var(--overlay); }
.dashboard-auth-dialog .auth-screen { min-height: 0; padding: 0; }
.dashboard-auth-dialog .auth-content { padding: 3.25rem clamp(1rem, 5vw, 2rem) 1.5rem; border: 0; box-shadow: none; }
.dashboard-auth-close {
  position: absolute;
  inset: .55rem .65rem auto auto;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.dashboard-auth-close:hover { background: var(--panel); }
.dashboard-auth-close svg { width: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.7; }
.dashboard-auth-dialog [data-auth-progress] { margin: 0 1rem 1rem; }
.creative-workspace {
  display: grid;
  align-content: start;
  gap: 1.1rem;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: clamp(1rem, 4vw, 3rem) max(1rem, calc((100% - 68rem) / 2));
}
.creative-workspace[hidden], .creative-workspace [hidden] { display: none; }
.ai-hub { gap: clamp(.9rem, 2cqi, 1.4rem); }
.ai-hub-heading {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: end;
  gap: .55rem;
  min-height: clamp(8.5rem, 19cqi, 13rem);
  overflow: hidden;
  padding: clamp(1.15rem, 3.4cqi, 2.5rem);
  border-radius: 10px;
  background: #aadeca;
  color: var(--tile-text);
}
.ai-hub-heading::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: repeating-radial-gradient(ellipse at 92% 10%, transparent 0 24px, #1562572b 25px 26px, transparent 27px 45px);
  mask-image: linear-gradient(112deg, transparent 28%, #000);
}
.ai-hub-heading p { margin: 0; max-width: 40ch; line-height: 1.45; }
.ai-hub-heading h1 { margin: 0; font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.12; letter-spacing: -.035em; }
.ai-hub-heading h1:focus { outline: none; }
.android-phones-heading { background: var(--phone-color); }
.android-phones-heading::before {
  background: repeating-radial-gradient(ellipse at 94% 15%, transparent 0 24px, #66420730 25px 26px, transparent 27px 45px);
}
.android-phones-list {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2.5cqi, 1.65rem);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}
.android-phones-list h2 { margin: 0; font-size: 1.25rem; }
.android-phones-list :is(p, dl) { margin: 0; color: var(--ink-soft); }
.android-phones-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; }
.android-phones-toolbar button { display: inline-flex; align-items: center; gap: .5rem; --tool-color: var(--phone-color); }
.android-phones :is(.android-phones-toolbar, .android-phones-state, .android-phone-options) svg {
  width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round;
}
.android-phones-state {
  display: grid; justify-items: center; gap: .65rem; padding: 1.75rem 1rem;
  border: 1px dashed var(--line); border-radius: 10px; background: var(--paper); text-align: center;
}
.android-phones-state > svg { box-sizing: content-box; padding: .65rem; border-radius: 10px; background: var(--phone-color); color: var(--tile-text); }
.android-phones-list button:not(.creative-generate) { justify-self: start; padding: .45rem .7rem; border: 1px solid var(--line); border-radius: 8px; }
.android-phones-state button:not(.creative-generate) { justify-self: center; }
.android-phone-list-grid, .android-phone-options {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: .75rem;
}
.android-phone-list-grid { margin: 0; padding: 0; list-style: none; }
.android-phone-list-grid li { padding: 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.android-phone-list-grid li > div { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; justify-content: space-between; }
.android-phone-list-grid h3, .android-phone-option h3 { margin: 0; font-size: 1rem; }
.android-phone-list-grid li p { margin-top: .25rem; font-size: .82rem; }
.android-phone-list-grid dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem .5rem; margin-top: .85rem; font-size: .82rem; }
.android-phone-list-grid dd { margin: 0; text-align: right; }
.android-phone-list-grid [data-phone-status] { padding: .25rem .5rem; border-radius: 6px; background: var(--surface); color: var(--ink); font-size: .8rem; }
.android-phone-list-grid [data-phone-status="running"] { background: var(--community-color); color: var(--tile-text); }
.android-phone-list-grid [data-phone-status="overdue"] { background: var(--phone-color); color: var(--tile-text); }
.android-phone-options {
  overflow: auto; padding: 1rem clamp(1rem, 3vw, 1.65rem) 1.4rem;
}
.android-phone-option {
  display: grid; grid-template-rows: auto auto 1fr auto; gap: .55rem;
  padding: 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper);
}
.android-phone-option p { margin: 0; color: var(--ink-soft); font-size: .875rem; }
.android-phone-option > svg { box-sizing: content-box; padding: .6rem; border-radius: 8px; background: var(--community-color); color: var(--tile-text); }
.android-phone-physical > svg { background: var(--line); color: var(--ink); }
.android-phone-option [data-phone-availability] { color: var(--ink); }
.android-phone-option [data-phone-price] { color: var(--ink); font-weight: 600; }
.android-phone-option button, .android-phone-list-grid button {
  justify-self: start; margin-top: .4rem; padding: .5rem .75rem; border: 1px solid var(--line);
  border-radius: 6px; color: var(--ink); background: var(--surface);
}
.android-phone-player { width: min(64rem, 94vw); }
.android-phone-player iframe { display: block; width: 100%; height: min(70dvh, 48rem); border: 0; }
.android-phone-dialog-actions:has(button:not([hidden])) { padding: 0 clamp(1rem, 3vw, 1.65rem) 1.4rem; }
.android-phone-dialog-actions button { padding: .4rem .65rem; border: 1px solid var(--line); border-radius: 6px; }
.ai-hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--launcher-gap); }
.ai-hub-grid .launcher-tile { grid-column: auto; min-height: clamp(8.5rem, 17cqi, 12rem); }
.ai-hub-card { --workspace-color: var(--tool-color); }
:is([data-ai-tool="lifespeach"], .ai-tool-dialog[data-tool="lifespeach"], [data-kind="speech"]) { --tool-color: var(--community-color); }
:is([data-ai-tool="ai-image"], .ai-tool-dialog[data-tool="ai-image"], [data-kind="image"]) { --tool-color: var(--photo-color); }
:is([data-ai-tool="ai-music"], .ai-tool-dialog[data-tool="ai-music"], [data-kind="music"]) { --tool-color: var(--blog-color); }
:is([data-ai-tool="ai-video"], .ai-tool-dialog[data-tool="ai-video"], [data-kind="video"]) { --tool-color: var(--video-color); }
:is([data-ai-tool="image-compressor"], .ai-tool-dialog[data-tool="image-compressor"]) { --tool-color: var(--shop-color); }
@container (max-width: 44rem) {
  .ai-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-hub-grid .launcher-tile { padding: .8rem; }
  .ai-hub-grid .launcher-copy { overflow-wrap: break-word; }
}
:is(.ai-tool-dialog, .android-phone-dialog) {
  width: min(56rem, calc(100% - 1.25rem));
  max-height: min(54rem, calc(100dvh - 1.25rem));
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 90px #080b137e;
  overscroll-behavior: contain;
}
:is(.ai-tool-dialog, .android-phone-dialog)[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); animation: tool-enter .2s ease-out both; }
.android-phone-dialog { width: min(38rem, calc(100% - 1.25rem)); --tool-color: var(--phone-color); }
@keyframes tool-enter { from { opacity: 0; transform: translateY(6px); } }
:is(.ai-tool-dialog, .android-phone-dialog)::backdrop { background: var(--overlay); }
:is(.ai-tool-dialog-header, .android-phone-dialog-header) { background: var(--tool-color, var(--studio-color)); color: var(--tile-text); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: .75rem clamp(1rem, 3vw, 1.65rem); border-bottom: 1px solid var(--line); }
:is(.ai-tool-dialog-header, .android-phone-dialog-header) h2 { margin: 0; font-size: clamp(1.35rem, 3.8vw, 1.8rem); letter-spacing: -.03em; }
:is(.ai-tool-dialog-header, .android-phone-dialog-header) button { width: 44px; height: 44px; padding: 0; border: 1px solid #171a2030; background: #171a2010; font-size: 1.4rem; cursor: pointer; }
.ai-tool-dialog .creative-workspace { padding: 1rem clamp(1rem, 3vw, 1.65rem) 1.4rem; }
.ai-tool-dialog :is(.creative-tool-form, .compressor-form) { width: 100%; background: var(--paper); }
.ai-tool-dialog .creative-form-body { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
[data-kind="music"] .creative-choice-grid[data-layout="modes"] { grid-template-columns: repeat(auto-fit, minmax(min(5.4rem, 100%), 1fr)); }
[data-kind="music"] .creative-choice-grid[data-layout="modes"] .creative-choice { column-gap: .3rem; min-height: 2.7rem; padding: .35rem; }
[data-kind="music"] .creative-choice-grid[data-layout="modes"] strong { overflow-wrap: normal; }
[data-kind="music"] .creative-tool-form textarea { min-height: 5rem; height: auto; }
[data-kind="music"] .creative-tool-form textarea[name="lyrics"] { min-height: 5.5rem; }
.creative-vocal-style { display: grid; gap: .4rem; padding-block-start: .2rem; }
.creative-vocal-style select { background: var(--surface); font: inherit; }
.creative-vocal-style > label:first-child { font-size: .88rem; }
.creative-workspace .creative-generate { background: var(--tool-color, var(--orange)); color: var(--tile-text); }
.ai-tool-dialog[data-result-open] { grid-template-rows: minmax(0, 1fr); }
.ai-tool-dialog[data-result-open] > :is(.ai-tool-dialog-header, .creative-workspace) { display: none; }
.ai-tool-access { margin: 1.25rem; color: var(--ink-soft); }
@media (max-width: 740px) {
  .ai-tool-dialog .creative-form-body { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  :is(.ai-tool-dialog, .android-phone-dialog)[open], .ai-hub-grid .launcher-tile { animation: none; transition: none; }
  .ai-hub-grid .launcher-tile:hover { transform: none; }
}
[data-creative-workspace] { padding-block-start: 1rem; }
.dashboard-section:has(.creative-workspace:not([hidden])) .dashboard-section-title {
  position: static;
  width: auto;
  height: auto;
  clip-path: none;
  white-space: normal;
  margin: clamp(1rem, 4vw, 2.75rem) max(1rem, calc((100% - 68rem) / 2)) 0;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.creative-navigation {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  gap: .2rem;
  border-bottom: 1px solid var(--border);
  background: var(--paper);
}
.creative-navigation a {
  flex: 0 0 auto;
  padding: .7rem clamp(.65rem, 1.5vw, .95rem);
  border-bottom: 2px solid transparent;
  color: var(--ink-soft);
  font-size: .875rem;
  font-weight: 650;
  white-space: nowrap;
}
.creative-navigation a[aria-current] { border-bottom-color: var(--orange-deep); color: var(--ink); }
.creative-navigation a:hover { color: var(--ink); background: var(--surface); }
.dashboard-page .creative-navigation a:focus-visible { outline-offset: -3px; }
.creative-secondary, .creative-summary a {
  padding: .55rem .8rem;
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.creative-summary a:hover {
  background: var(--surface);
  color: var(--orange-deep);
  border-color: var(--orange-deep);
}
.creative-summary { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem; }
.creative-summary p, .creative-status, .creative-actions p, .creative-file p { margin: 0; color: var(--ink-soft); }
.creative-balance { display: inline-flex; align-items: center; gap: .45rem; font-size: .875rem; font-weight: 650; }
.creative-balance::before { content: ""; width: .7rem; height: .7rem; border: 2px solid var(--orange-deep); border-radius: 50%; }
.creative-status:empty, .cloud-library:empty { display: none; }
.creative-card {
  display: grid;
  align-content: start;
  gap: .8rem;
  min-width: 0;
  padding: clamp(.9rem, 2.7vw, 1.6rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.creative-form { width: min(100%, 47rem); }
.creative-form label { font-weight: 650; }
.creative-form :is(textarea, select) {
  width: 100%;
  min-width: 0;
  padding: .7rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
}
.creative-form textarea { resize: vertical; }
.creative-tool-form { width: 100%; gap: 1.15rem; }
.creative-form-body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(17rem, 1fr); gap: 1.25rem; }
.creative-prompt { display: grid; grid-template-rows: auto 1fr; gap: .55rem; min-width: 0; }
.creative-field-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.creative-field-heading span { color: var(--ink-soft); font-size: .8rem; font-variant-numeric: tabular-nums; }
.creative-tool-form textarea { min-height: 12rem; padding: .9rem; border-radius: 12px; font: inherit; line-height: 1.55; }
.creative-tool-form textarea:focus-visible { outline: 2px solid var(--orange-deep); outline-offset: 2px; }
.creative-settings {
  display: grid;
  align-content: start;
  gap: .85rem;
  min-width: 0;
  padding: .85rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--paper);
}
.creative-options { min-width: 0; margin: 0; padding: 0; border: 0; }
.creative-options legend { margin-bottom: .55rem; padding: 0; font-weight: 650; }
.creative-choice-grid { display: grid; gap: .5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.creative-choice-grid[data-layout="modes"] { grid-template-columns: minmax(0, 1fr); }
.creative-choice-grid[data-layout="ratios"]:has([data-ratio="1:1"]) { grid-template-columns: repeat(auto-fit, minmax(min(5.6rem, 100%), 1fr)); }
.creative-choice[data-ratio] strong { overflow-wrap: normal; }
.creative-choice {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: center;
  align-items: center;
  column-gap: .5rem;
  min-height: 3.3rem;
  padding: .55rem;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.creative-choice input { position: absolute; inline-size: 1px; block-size: 1px; margin: 0; opacity: 0; }
.creative-choice strong { font-size: .85rem; overflow-wrap: anywhere; }
.creative-choice-caption { grid-column: 2; color: var(--ink-soft); font-size: .75rem; font-weight: 400; overflow-wrap: anywhere; }
.creative-choice-mark { width: .85rem; height: .85rem; grid-row: span 2; border: 1px solid var(--ink-soft); border-radius: 50%; }
.creative-choice:has(:checked) {
  border-color: var(--orange-deep);
  background: color-mix(in srgb, var(--orange) 9%, var(--surface));
}
.creative-choice:has(:checked) .creative-choice-mark { border-color: var(--orange-deep); background: var(--orange-deep); box-shadow: inset 0 0 0 2px var(--surface); }
.creative-choice:has(:focus-visible) { outline: 2px solid var(--orange-deep); outline-offset: 2px; }
.creative-choice:not(:has(:checked)):hover { border-color: var(--ink-soft); }
.creative-choice[data-ratio] { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: .18rem; min-height: 5.6rem; text-align: center; }
.creative-choice[data-ratio] .creative-choice-caption { grid-column: 1; }
.creative-choice[data-ratio] .creative-choice-mark {
  grid-row: auto;
  width: 1.35rem;
  height: 1.35rem;
  margin-block: .13rem .3rem;
  border-radius: 3px;
  background: transparent;
  box-shadow: none;
}
.creative-choice[data-ratio="16:9"] .creative-choice-mark { width: 1.72rem; height: .98rem; margin-block: .32rem .48rem; }
.creative-choice[data-ratio="9:16"] .creative-choice-mark { width: .98rem; height: 1.72rem; margin-block: 0 .06rem; }
.creative-output { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .35rem .75rem; margin: 0; padding-top: .65rem; border-top: 1px solid var(--border); font-size: .8rem; }
.creative-output dt { color: var(--ink-soft); }
.creative-output dd { margin: 0; font-weight: 650; }
.creative-settings:has(.creative-options[hidden]) .creative-output { padding-top: 0; border: 0; }
.creative-music-settings { min-width: 0; padding: .8rem .9rem; border: 1px solid var(--border); border-radius: 12px; background: var(--paper); }
.creative-music-settings summary { cursor: pointer; font-weight: 650; }
.creative-music-settings summary::marker { color: var(--orange-deep); }
.creative-music-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.creative-music-settings > .creative-music-fields { margin-top: .9rem; }
.creative-music-wide { grid-column: 1 / -1; }
.creative-music-field { display: grid; align-content: start; min-width: 0; gap: .35rem; font-size: .9rem; }
.creative-music-field input:not([type="file"]) {
  min-width: 0;
  padding: .65rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
.creative-music-field select { background: var(--surface); font: inherit; }
.creative-music-field :is(input, select):focus-visible { outline: 2px solid var(--orange-deep); outline-offset: 2px; }
.creative-tool-form .creative-music-field textarea { min-height: 6rem; height: auto; font-weight: 400; }
.creative-music-field input[type="file"] { width: 100%; min-width: 0; color: var(--ink-soft); }
.creative-reference-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.creative-reference-actions:has(span:empty) { display: none; }
.creative-reference-status { color: var(--ink-soft); font-size: .8rem; }
.creative-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.creative-tool-form .creative-actions { padding-top: 1rem; border-top: 1px solid var(--border); }
.creative-actions .creative-quote { font-size: .9rem; font-weight: 650; }
.creative-tool-form .creative-generate { margin-inline-start: auto; min-height: 44px; }
.creative-generate {
  padding: .65rem 1rem;
  border: 0;
  border-radius: 10px;
  background: #ff914d;
  color: #201710;
  font-weight: 700;
}
.creative-workspace button:enabled { cursor: pointer; }
.creative-workspace button:disabled { opacity: .5; }
.creative-file { max-width: 47rem; }
.creative-file h2 { margin: 0; font-size: 1.1rem; }
.creative-file :is(img, audio, video) { display: block; width: 100%; border-radius: 8px; }
.creative-file :is(img, video) { background: var(--paper); max-height: 25rem; object-fit: contain; }
.creative-file a { justify-self: start; font-weight: 650; text-decoration: underline; }
.creative-secondary { justify-self: start; }
[data-open-workspace="cloud"] .creative-summary {
  padding-block-end: .85rem;
  border-bottom: 1px solid var(--line);
}
[data-open-workspace="cloud"] .dashboard-section-title:focus { outline: none; }
[data-open-workspace="cloud"] .creative-summary p { flex: 1 1 10rem; line-height: 1.5; }
.cloud-library {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(17rem, 100%), 1fr));
  gap: clamp(.75rem, 1.6vw, 1.15rem);
}
.cloud-card {
  --cloud-tint: var(--courses-color);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.cloud-card[data-kind="image"] { --cloud-tint: var(--photo-color); }
.cloud-card[data-kind="video"] { --cloud-tint: var(--video-color); }
.cloud-card[data-kind="music"] { --cloud-tint: var(--community-color); }
.cloud-cover {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  background: var(--panel);
  background: color-mix(in srgb, var(--cloud-tint) 10%, var(--surface));
  border-bottom: 1px solid var(--line);
}
.cloud-image, .cloud-cover :is(img, video) { position: absolute; inset: 0; width: 100%; height: 100%; }
.cloud-image img { object-fit: cover; }
.dashboard-page .cloud-image:focus-visible { outline-offset: -4px; z-index: 1; }
.cloud-cover video { object-fit: contain; background: var(--paper); }
.cloud-cover audio { position: absolute; inset-inline: .65rem; bottom: .65rem; width: calc(100% - 1.3rem); height: 2.35rem; }
.cloud-card[data-state="complete"]:is([data-kind="speech"], [data-kind="music"]) .cloud-cover::before {
  content: "";
  width: 61%;
  height: 42%;
  margin-bottom: 1.8rem;
  background: repeating-linear-gradient(90deg, currentColor 0 3%, transparent 3% 7%);
  color: var(--orange-deep);
  color: color-mix(in srgb, var(--cloud-tint) 58%, var(--ink));
  clip-path: polygon(0 44%, 14% 31%, 21% 39%, 29% 16%, 37% 40%, 43% 25%, 51% 5%, 59% 27%, 65% 36%, 73% 23%, 81% 40%, 89% 32%, 100% 46%, 100% 54%, 89% 68%, 81% 60%, 73% 77%, 65% 64%, 59% 73%, 51% 95%, 43% 75%, 37% 60%, 29% 84%, 21% 61%, 14% 69%, 0 56%);
}
.cloud-card[data-cloud-pending] .cloud-cover::before {
  content: "";
  width: 1.75rem;
  height: 1.75rem;
  border: 2px solid var(--border);
  border-top-color: var(--orange-deep);
  border-radius: 50%;
  animation: creative-spin 1s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .cloud-card[data-cloud-pending] .cloud-cover::before { animation: none; } }
.cloud-card[data-state="failed"] .cloud-cover { display: none; }
.cloud-card-details { display: flex; flex: 1; flex-direction: column; gap: .38rem; padding: .75rem .85rem; }
.cloud-card :is(header, footer) { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .35rem .65rem; }
.cloud-card h2 { margin: 0; font-size: 1rem; }
.cloud-card :is(time, p) { margin: 0; color: var(--ink-soft); font-size: .82rem; line-height: 1.4; }
.cloud-card footer { margin-top: auto; padding-top: .6rem; }
.cloud-format { padding: .15rem .42rem; border-radius: 5px; background: var(--cloud-tint); color: var(--tile-text); font-size: .68rem; font-weight: 750; }
.cloud-download {
  border-radius: 7px;
  background: var(--panel);
  padding: .45rem .6rem;
  font-size: .82rem;
  font-weight: 650;
}
.cloud-download:hover { color: var(--orange-deep); }
.cloud-more { justify-self: center; }
.creative-status[data-cloud-state="empty"] {
  padding: clamp(1.6rem, 5vw, 3.4rem) 1.25rem;
  border: 1px dashed var(--border);
  border-radius: 10px;
  background: var(--surface);
  text-align: center;
  line-height: 1.5;
}
.creative-dialog {
  width: min(44rem, calc(100% - 1.5rem));
  max-height: calc(100dvh - 1.5rem);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 80px #0005;
}
.creative-dialog[open] { display: grid; }
.creative-result {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  align-content: start;
  gap: .85rem;
  min-height: min(24rem, calc(100dvh - 1.5rem));
  padding: clamp(1rem, 4vw, 1.6rem);
  overflow: auto;
  background: var(--surface);
  background: radial-gradient(ellipse at 52% 46%, color-mix(in srgb, var(--tool-color) 27%, var(--surface)), var(--surface) 82%);
}
.ai-tool-dialog > .creative-result { min-height: min(32rem, calc(100dvh - 1.5rem)); }
.creative-result > :not(.result-dust) { position: relative; }
.creative-result > :is(header, .creative-result-download, .creative-save-note) { z-index: 3; }
.creative-dialog::backdrop { background: var(--overlay); }
.creative-result header { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 1rem; }
.creative-result h2 { margin: .35rem 0; font-size: clamp(1.2rem, 4vw, 1.45rem); }
.creative-result-stage {
  position: relative;
  container-type: inline-size;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  border-radius: 10px;
  background: var(--paper);
}
.creative-result-stage:is([data-phase="waiting"], [data-phase="preparing"]) { background: transparent; }
.creative-result .creative-result-stage { min-height: clamp(9rem, 34dvh, 13rem); }
.creative-result:is([data-kind="image"], [data-kind="video"])[data-phase="ready"] .creative-result-stage { height: clamp(10rem, 46dvh, 24rem); }
.creative-result > .result-dust::before {
  background: radial-gradient(ellipse at 48% 60%, var(--tool-color), transparent 45%),
              radial-gradient(ellipse at 75% 34%, #a192f95e, transparent 52%);
}
.creative-result > .result-dust { opacity: .58; }
.creative-result[data-waiting=true] > .creative-result-stage { min-height: 0; }
.creative-result .creative-progress { min-height: 0; }
.result-dust { position: absolute; z-index: 2; inset: 0; pointer-events: none; }
.result-dust::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 32% 65%, #f985ab7d, transparent 44%),
              radial-gradient(ellipse at 58% 30%, #78c7ff8f, transparent 47%),
              radial-gradient(ellipse at 73% 67%, #ffc57573, transparent 45%);
}
.result-dust i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--dust-size);
  height: var(--dust-size);
  border-radius: 50%;
  background: var(--dust-color);
  box-shadow: 0 0 8px var(--dust-color);
}
.result-dust i:nth-child(7n) { clip-path: polygon(50% 0, 65% 35%, 100% 50%, 65% 65%, 50% 100%, 35% 65%, 0 50%, 35% 35%); }
:is(.creative-result-stage, .creative-result)[data-phase="unavailable"] .result-dust { display: none; }
:is(.creative-result-stage, .creative-result):is([data-phase="waiting"], [data-phase="preparing"]) .result-dust::before {
  animation: result-halo 3.8s ease-in-out infinite alternate;
}
:is(.creative-result-stage, .creative-result):is([data-phase="waiting"], [data-phase="preparing"]) .result-dust i {
  animation: result-gather 3.1s calc(var(--dust-delay) * -17) ease-in-out infinite;
}
:is(.creative-result-stage, .creative-result)[data-phase="ready"] .result-dust::before { animation: result-sweep .95s ease-out both; }
:is(.creative-result-stage, .creative-result)[data-phase="ready"] .result-dust::after {
  content: "";
  position: absolute;
  inset-block: -40%;
  left: -30%;
  width: 52%;
  background: linear-gradient(90deg, transparent 22%, #d58cff60 43%, #bbf5ffa6 50%, #ffd4a05e 57%, transparent 76%);
  animation: result-sheen .85s ease-out both;
}
:is(.creative-result-stage, .creative-result)[data-phase="ready"] .result-dust i { animation: result-release .92s var(--dust-delay) cubic-bezier(.18,.7,.32,1) both; }
.creative-result-stage[data-phase="preparing"] .creative-dialog-media { opacity: 0; }
.creative-result-stage[data-phase="ready"] > :is(.creative-dialog-media, img) { animation: result-arrive .65s ease-out both; }
.creative-progress { display: grid; place-items: center; min-height: 9rem; }
.creative-progress span {
  width: 2.65rem;
  height: 2.65rem;
  border: 2px solid #b4c6ee40;
  border-top-color: var(--tool-color, #ffbe95);
  border-inline-end-color: var(--ink);
  border-radius: 50%;
  box-shadow: 0 0 28px #9db9ff55;
  animation: creative-spin 1.3s linear infinite;
}
@keyframes creative-spin { to { transform: rotate(1turn); } }
@keyframes result-halo { from { opacity: .35; transform: scale(.82); } to { opacity: .78; transform: scale(1.17); } }
@keyframes result-gather {
  0% { opacity: 0; transform: translate(var(--dust-x), var(--dust-y)) scale(.65); }
  52% { opacity: .9; }
  100% { opacity: 0; transform: translate(calc(var(--dust-x) * .18), calc(var(--dust-y) * .25)) scale(.15); }
}
@keyframes result-sweep {
  from { opacity: .8; transform: translateX(-12%) scale(1.05); }
  to { opacity: 0; transform: translateX(19%) scale(1.17); }
}
@keyframes result-sheen {
  from { opacity: 0; transform: translateX(-5%) rotate(22deg); }
  32% { opacity: .88; }
  to { opacity: 0; transform: translateX(220%) rotate(22deg); }
}
@keyframes result-release {
  from { opacity: 0; transform: translate(calc(var(--dust-x) * .2), calc(var(--dust-y) * .2)) scale(.5); }
  16% { opacity: 1; }
  to { opacity: 0; transform: translate(var(--dust-x), var(--dust-y)) scale(.3); }
}
@keyframes result-arrive { from { opacity: .45; transform: scale(.985); } to { opacity: 1; transform: scale(1); } }
.creative-dialog-media { display: grid; min-width: 0; }
.creative-result:is([data-kind="image"], [data-kind="video"]) .creative-dialog-media { min-height: 0; height: 100%; }
.creative-dialog-media :is(img, audio, video) { display: block; width: 100%; }
.creative-dialog-media audio { padding: .45rem 1rem; min-height: 3.5rem; }
.creative-dialog-media :is(img, video) { height: 100%; min-height: 0; object-fit: contain; }
.creative-preview-error { margin: 0; padding: .85rem; color: var(--ink-soft); }
.creative-result-download { display: grid; justify-items: start; }
.creative-result-download a { padding: .6rem .9rem; border-radius: 9px; background: var(--tool-color, var(--orange)); color: var(--tile-text); font-weight: 700; }
@media (prefers-reduced-motion: reduce) {
  .result-dust { display: none; }
  .creative-result-stage[data-phase="ready"] > :is(.creative-dialog-media, img), .creative-progress span { animation: none; }
}
.creative-save-note { margin: 0; color: var(--ink-soft); font-size: .875rem; }
.compressor-description { margin: 0; color: var(--ink-soft); }
.compressor-form input[type="file"] { width: 100%; min-width: 0; color: var(--ink-soft); }
:is(.compressor-form, .creative-music-field) input::file-selector-button {
  margin-inline-end: .6rem;
  padding: .55rem .75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.compressor-settings { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr)); gap: .75rem; }
.compressor-settings label { display: grid; gap: .35rem; }
.compressor-form input[type="range"] { display: block; width: 100%; accent-color: var(--orange); }
.compressor-form output { margin-inline-start: .25rem; color: var(--ink-soft); font-weight: 400; }
.dashboard-page .app-billing-loader { position: fixed; inset: 0; z-index: 500; background: var(--paper); place-content: center; justify-items: center; gap: .6rem; }
.dashboard-page .app-billing-loader.app-open { display: grid; }
@container (max-width: 48rem) {
  .creative-form-body { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .creative-tool-form textarea { min-height: 8.5rem; height: 9rem; }
}
@container (max-width: 41rem) {
  .launcher-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .launcher-grid > .launcher-tile { grid-column: auto; }
  .launcher-tile.launcher-studio { grid-column: span 2; grid-row: auto; min-height: 13rem; }
  .launcher-studio .launcher-copy strong { max-width: none; font-size: clamp(1.8rem, 8cqi, 3rem); }
}
@container (max-width: 30rem) {
  .creative-tool-form .creative-generate { width: 100%; }
  .creative-music-fields { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 950px) {
  .dashboard-layout { grid-template-columns: minmax(0, 1fr); }
  .dashboard-page[data-ai-panel="floating"] [data-creative-workspace] { padding-block-end: 5rem; }
  .dashboard-assistant {
    position: fixed;
    inset: max(.65rem, env(safe-area-inset-top, 0px)) max(.65rem, env(safe-area-inset-right, 0px)) auto auto;
    width: min(23rem, calc(100% - var(--sidebar-space) - 1.3rem));
    height: calc(var(--assistant-viewport, 100dvh) - 1.3rem);
    margin: 0;
    transition: opacity .2s ease, transform .24s ease, visibility .24s;
  }
  .dashboard-page[data-ai-panel="floating"] .dashboard-assistant { transform: translateX(1rem); }
}
@media (max-width: 860px) {
  body.dashboard-page { --sidebar-space: var(--sidebar-rail); }
  .dashboard-page:not([data-sidebar-open]) :is(.dashboard-sidebar-label, .dashboard-saved-chats) { display: none; }
  .dashboard-page:not([data-sidebar-open]) .dashboard-policies-menu { inset: auto auto 0 calc(100% + .6rem); }
  .dashboard-page:not([data-sidebar-open]) .dashboard-sidebar-action { justify-content: center; }
  .dashboard-page:not([data-sidebar-open]) .dashboard-sidebar-history { display: flex; }
  .dashboard-page:not([data-sidebar-open]) .dashboard-profile-menu { inset: auto auto 0 calc(100% + .5rem); }
  .dashboard-page:not([data-sidebar-open]) .dashboard-sidebar-popup .dashboard-sidebar-action { justify-content: flex-start; }
  .dashboard-page[data-sidebar-open] .dashboard-sidebar { width: min(var(--sidebar-panel), calc(100vw - 2.5rem)); }
  .dashboard-sidebar-shade { display: block; position: fixed; inset: 0; z-index: 4; background: var(--overlay); }
}
@media (max-width: 520px) {
  .launcher-copy { overflow-wrap: anywhere; }
  .dashboard-assistant { padding-inline: .5rem; }
  .dashboard-assistant-header { flex-wrap: wrap; gap: .3rem; }
  .dashboard-assistant h2 { font-size: .875rem; }
  .dashboard-assistant-send { min-width: 3.65rem; padding-inline: .45rem; }
  .dashboard-assistant [data-active-chat-title] { flex-basis: 100%; order: 3; }
}
@media (prefers-reduced-motion: reduce) {
  .dashboard-auth-dialog[open], .dashboard-ai-launcher-face { animation: none; }
  :is(.launcher-tile, .dashboard-layout, .dashboard-assistant) { transition: none; }
  .launcher-tile:hover { transform: none; }
}

.launcher-tile[aria-disabled="true"] {
  filter: grayscale(1);
  cursor: not-allowed;
}
.launcher-tile[aria-disabled="true"][data-feature-note]::after {
  content: attr(data-feature-note);
  font-size: .875rem;
  font-weight: 650;
}
