:root {
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #000;
  background: #eef0f0;
  --desktop-canvas: #eef0f0;
  --desktop-window: rgba(248,249,249,.96);
  --desktop-window-border: rgba(0,0,0,.2);
  --desktop-window-radius: 16px;
  --desktop-window-shadow: 0 16px 30px rgba(0,0,0,.15);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body { padding: 12px 22px 22px; background: var(--desktop-canvas); }
button { font: inherit; color: inherit; }

.app-frame {
  width: 100%;
  height: 100%;
  min-width: 760px;
  min-height: 560px;
  display: flex;
  gap: 6px;
  padding: 6px;
  overflow: hidden;
  border: .3px solid var(--desktop-window-border);
  border-radius: var(--desktop-window-radius);
  background: var(--desktop-window);
  box-shadow: var(--desktop-window-shadow);
  transform-origin: center;
  transition: opacity 460ms ease, transform 520ms cubic-bezier(.2,.75,.2,1), filter 460ms ease;
}

.sidebar {
  width: 256px;
  height: 100%;
  flex: 0 0 256px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px;
}

.window-chrome { height: 32px; display: flex; align-items: center; gap: 18px; padding: 0 8px; }
.traffic-lights { display: flex; gap: 8px; }
.traffic-lights i { width: 12px; height: 12px; display: block; border-radius: 50%; box-shadow: inset 0 0 0 .4px rgba(0,0,0,.08); }
.traffic-lights i:nth-child(1) { background: #ff5f57; }
.traffic-lights i:nth-child(2) { background: #febc2e; }
.traffic-lights i:nth-child(3) { background: #28c840; }
.bare-icon { width: 16px; height: 16px; padding: 0; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; }
.bare-icon img { display: block; width: 16px; height: 16px; }

.primary-nav { display: flex; flex-direction: column; gap: 2px; }
.nav-row {
  width: 100%;
  height: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(0,0,0,.6);
  font-size: 13px;
  letter-spacing: -.26px;
  text-align: left;
  cursor: pointer;
}
.nav-row:hover { background: rgba(0,0,0,.03); }
.nav-row.active { color: #000; background: rgba(0,0,0,.04); }
.nav-row img { width: 16px; height: 16px; flex: none; }

.nav-section { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.nav-section h2 { margin: 0 0 4px; padding: 0 8px; font-size: 12px; font-weight: 400; letter-spacing: -.24px; color: rgba(0,0,0,.5); }
.nav-section.recents { flex: 1; min-height: 0; margin-top: 10px; gap: 6px; }
.nav-section.recents p { margin: 0; padding: 6px 8px 12px; font-size: 12px; line-height: 15px; letter-spacing: -.24px; color: rgba(0,0,0,.4); }

.account { width: 100%; min-height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 8px 4px 4px; border: 0; background: transparent; text-align: left; cursor: pointer; }
.avatar { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; }
.avatar img { width: 28px; height: 28px; object-fit: cover; border-radius: 50%; border: .3px solid #e2e2e2; box-shadow: 0 9px 42px rgba(0,0,0,.05); }
.account-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.account-copy strong { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 400; letter-spacing: -.26px; white-space: nowrap; }
.account-copy strong img { width: 10px; height: 10px; }
.account-copy small { font-size: 12px; color: rgba(0,0,0,.5); letter-spacing: -.24px; }
.account > .gear { width: 16px; height: 16px; margin-left: auto; }

.stage {
  height: 100%;
  min-width: 0;
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px 88px;
  overflow: hidden;
  border: .3px solid rgba(0,0,0,.2);
  border-radius: 16px 10px 10px 16px;
  background: rgba(255,255,255,.75);
  box-shadow: inset 0 0 24px rgba(255,255,255,.38);
}
.stage-actions { position: absolute; z-index: 5; top: 12px; right: 12px; display: flex; align-items: center; gap: 12px; }

.hero { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 20px; transform: translateY(-8px); }
.headline { height: 23px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 16px; letter-spacing: -.32px; white-space: nowrap; }
.headline img { width: 16.352px; height: 12.487px; display: block; }

.composer-card {
  width: min(650px, calc(100% - 32px));
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 4px 4px 16px;
  border: .5px solid rgba(0,0,0,.16);
  border-radius: 24px;
  background: rgba(255,255,255,.6);
  box-shadow: 0 12px 32px rgba(0,0,0,.02);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}
.composer-card:hover, .composer-card:focus-within { border-color: rgba(0,0,0,.2); box-shadow: 0 16px 38px rgba(42,50,88,.09); }
.composer-input {
  min-height: 111px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  padding: 16px 12px 12px;
  border: .5px solid #d6d6d6;
  border-radius: 20px;
  background:
    radial-gradient(ellipse 52% 190% at 68% 145%, rgba(60,99,255,.095) 0%, rgba(158,177,255,.045) 42%, rgba(255,255,255,0) 72%),
    #fff;
  box-shadow: 0 12px 16px rgba(0,0,0,.04);
}
.prompt-line { min-height: 20px; padding-left: 4px; font-size: 14px; line-height: 20px; letter-spacing: -.28px; color: rgba(0,0,0,.88); }
.prompt-line.is-placeholder { color: rgba(0,0,0,.4); }
.caret { width: 1px; height: 16px; display: inline-block; margin-left: 1px; background: #3c63ff; vertical-align: -3px; animation: blink 760ms steps(1,end) infinite; }
.composer-actions { display: flex; align-items: center; width: 100%; }
.square-button { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: .5px solid rgba(0,0,0,.1); border-radius: 10px; background: transparent; cursor: pointer; }
.square-button img { width: 16px; height: 16px; }
.mode-group { height: 34px; display: flex; align-items: stretch; margin-left: auto; border-radius: 10px; background: rgba(0,0,0,.03); }
.mode { height: 34px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
.mode img { width: 16px; height: 16px; }
.mode span { font-size: 12px; color: #3c63ff; letter-spacing: -.24px; }
.mode.active { background: #fff; border: .5px solid rgba(0,0,0,.1); box-shadow: 0 1px 2.5px rgba(0,0,0,.05); }
.mode.icon-only { aspect-ratio: 1; }
.primary-action {
  position: relative;
  margin-left: 6px;
  overflow: hidden;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 140ms ease;
}
.primary-action img { position: absolute; width: 16px; height: 16px; transition: opacity 150ms ease, transform 180ms cubic-bezier(.2,.8,.2,1); }
.primary-action .microphone-icon { opacity: 1; transform: scale(1) rotate(0deg); }
.primary-action .send-icon { opacity: 0; transform: translateY(5px) scale(.72); }
.primary-action.has-prompt {
  border-color: rgba(255,255,255,.3);
  background: linear-gradient(180deg, rgba(60,99,255,.9) 0%, #3c63ff 100%);
  box-shadow: 0 0 12px rgba(60,99,255,.15), 0 1px 2px rgba(0,0,0,.1);
}
.primary-action.has-prompt .microphone-icon { opacity: 0; transform: translateY(-5px) scale(.72); }
.primary-action.has-prompt .send-icon { opacity: 1; transform: translateY(0) scale(1); }
.primary-action.has-prompt:hover { box-shadow: 0 0 16px rgba(60,99,255,.25), 0 2px 4px rgba(0,0,0,.12); transform: translateY(-1px); }
.primary-action.has-prompt:active { transform: translateY(0) scale(.96); }
.primary-action.is-pressing { transform: scale(.86); box-shadow: 0 0 22px rgba(60,99,255,.35), 0 1px 2px rgba(0,0,0,.1); }

.composer-footer { min-height: 18px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; }
.composer-footer > div { display: flex; gap: 20px; }
.composer-footer button { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0; border: 0; background: transparent; color: rgba(0,0,0,.6); cursor: pointer; }
.composer-footer button img { width: 14px; height: 14px; }
.composer-footer button .caret-down { width: 12px; height: 12px; transform: rotate(180deg); }
.composer-footer button span { font-size: 12px; letter-spacing: -.24px; white-space: nowrap; }

.starters { display: flex; align-items: center; gap: 8px; }
.starters button { height: 34px; display: flex; align-items: center; gap: 6px; padding: 8px 12px; border: .5px solid rgba(0,0,0,.16); border-radius: 10px; background: #fff; cursor: pointer; }
.starters button:hover { background: #fafafa; box-shadow: 0 4px 12px rgba(0,0,0,.04); }
.starters button img { width: 16px; height: 16px; object-fit: contain; }
.starters button img.lovable { width: 14px; height: 14px; }
.starters button span { font-size: 13px; letter-spacing: -.26px; color: rgba(0,0,0,.8); white-space: nowrap; }
.starters .starter-square { width: 34px; padding: 8px; }

.mobile-banner, .mobile-banner-shadow { position: absolute; left: 50%; transform: translateX(-50%); width: 398px; border: .5px solid rgba(0,0,0,.1); background: #fff; border-radius: 16px; }
.mobile-banner-shadow { bottom: 33px; height: 59px; }
.mobile-banner { bottom: 45px; min-height: 59px; display: flex; align-items: center; gap: 48px; padding: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.04); }
.mobile-copy { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.mobile-copy > img { width: 34px; height: 34px; flex: none; transform: rotate(-4.06deg); filter: drop-shadow(0 2px 4px rgba(0,0,0,.18)); }
.mobile-copy span { display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.mobile-copy strong { font-size: 13px; line-height: 15px; font-weight: 400; letter-spacing: -.26px; white-space: nowrap; }
.mobile-copy small { font-size: 12px; color: rgba(0,0,0,.5); letter-spacing: -.24px; white-space: nowrap; }
.mobile-banner > button { height: 34px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: .5px solid rgba(0,0,0,.1); border-radius: 10px; background: #fff; white-space: nowrap; cursor: pointer; }
.mobile-banner > button img { width: 16px; height: 16px; }
.mobile-banner > button span { font-size: 12px; letter-spacing: -.24px; }

.workspace-screen {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 12px 22px 22px;
  background: var(--desktop-canvas);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px) scale(.985);
  transition: opacity 480ms ease 120ms, transform 560ms cubic-bezier(.2,.75,.2,1) 80ms, visibility 0s 650ms;
}
.workspace-window {
  width: 100%;
  height: 100%;
  min-width: 760px;
  min-height: 540px;
  display: flex;
  gap: 6px;
  padding: 6px;
  overflow: hidden;
  border: .3px solid var(--desktop-window-border);
  border-radius: var(--desktop-window-radius);
  background: var(--desktop-window);
  box-shadow: var(--desktop-window-shadow);
}
body.workspace-visible .app-frame { opacity: 0; transform: translateX(-24px) scale(.975); filter: blur(5px); pointer-events: none; }
body.workspace-visible .workspace-screen { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 120ms, 80ms, 0s; }

.workspace-rail { width: clamp(170px, 19vw, 200px); flex: none; display: flex; flex-direction: column; justify-content: space-between; padding: 4px; }
.workspace-chrome { height: 32px; display: flex; align-items: center; gap: 18px; padding: 0 8px; }
.workspace-chrome > img { width: 16px; height: 16px; }
.project-heading { display: flex; gap: 10px; align-items: flex-start; margin: 12px 8px 18px; }
.project-mark { width: 34px; height: 18px; display: grid; place-items: center; }
.project-mark img { width: 20px; height: 16px; }
.project-heading > span:last-child { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.project-heading strong { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; letter-spacing: -.28px; white-space: nowrap; }
.project-heading strong img { width: 10px; height: 10px; }
.project-heading small { font-size: 12px; color: rgba(0,0,0,.5); letter-spacing: -.24px; }
.workspace-nav { display: flex; flex-direction: column; gap: 4px; }
.workspace-nav button, .workspace-rail-footer > button:first-child { height: 38px; width: 100%; display: flex; align-items: center; gap: 10px; padding: 0 12px 0 0; border: 0; background: transparent; color: rgba(0,0,0,.5); font-size: 14px; letter-spacing: -.28px; cursor: pointer; }
.workspace-nav button > span, .workspace-rail-footer > button:first-child > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; }
.workspace-nav button img, .workspace-rail-footer button img { width: 16px; height: 16px; }
.workspace-nav button.active { color: #000; }
.workspace-nav button.active > span { background: rgba(0,0,0,.04); }
.workspace-nav button strong { font-weight: 500; }
.nav-notification { width: 6px; height: 6px; display: block; margin-left: auto; border-radius: 50%; background: #3c63ff; box-shadow: 0 0 0 3px rgba(60,99,255,.1); opacity: 0; transform: scale(.5); transition: opacity 220ms ease, transform 300ms cubic-bezier(.16,1,.3,1); }
#analytics-nav-button.is-ready .nav-notification, #automations-nav-button.is-ready .nav-notification { opacity: 1; transform: none; }
.workspace-nav .new-session-row { height: 34px; display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 8px; border-radius: 10px; color: #000; transition: background 220ms ease, box-shadow 220ms ease, color 220ms ease, transform 120ms ease; }
.workspace-nav .new-session-row:hover { background: rgba(0,0,0,.03); }
.workspace-nav .new-session-row.is-suggested { background: rgba(60,99,255,.055); color: #3157df; box-shadow: inset 0 0 0 .5px rgba(60,99,255,.16), 0 3px 14px rgba(60,99,255,.06); animation: newSessionHint 2.4s ease-in-out infinite; }
.workspace-nav .new-session-row.is-suggested:hover { background: rgba(60,99,255,.09); }
.workspace-nav .new-session-row.is-suggested strong { font-weight: 500; }
.workspace-nav .new-session-row.is-suggested > img { filter: invert(34%) sepia(91%) saturate(2235%) hue-rotate(220deg) brightness(91%) contrast(91%); }
.workspace-nav .new-session-row.is-pressing { background: rgba(60,99,255,.09); transform: scale(.97); transition: background 120ms ease, transform 120ms ease; }
.workspace-nav .new-session-row strong { flex: 1; min-width: 0; overflow: hidden; font-size: 13px; font-weight: 400; letter-spacing: -.26px; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.workspace-nav .new-session-row > img { width: 16px; height: 16px; flex: none; }
.workspace-rail-footer { display: flex; flex-direction: column; gap: 12px; }
.workspace-rail-footer > button:first-child { color: #000; }
.workspace-account { display: flex; align-items: center; gap: 12px; padding: 0 12px 0 2px; border: 0; background: transparent; text-align: left; cursor: pointer; }
.workspace-account > img { width: 28px; height: 28px; border: .3px solid #e2e2e2; border-radius: 50%; object-fit: cover; box-shadow: 0 9px 42px rgba(0,0,0,.05); }
.workspace-account span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.workspace-account strong, .workspace-account small { font-size: 12px; line-height: 15px; font-weight: 400; letter-spacing: -.24px; white-space: nowrap; }
.workspace-account small { color: rgba(0,0,0,.5); }

.rail-session-list { max-height: 0; overflow: hidden; opacity: 0; transform: translateY(-6px); visibility: hidden; transition: max-height 520ms cubic-bezier(.16,1,.3,1), opacity 280ms ease, transform 360ms cubic-bezier(.16,1,.3,1), visibility 0s 520ms; }
.rail-session-list.is-visible { max-height: 78px; display: flex; flex-direction: column; gap: 2px; margin-top: 8px; overflow: hidden; opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.workspace-nav .session-row { width: 100%; height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 8px; overflow: hidden; border: 0; border-radius: 8px; background: transparent; color: rgba(0,0,0,.58); font-size: 11px; letter-spacing: -.22px; text-align: left; cursor: pointer; }
.workspace-nav .session-row[hidden] { display: none; }
.workspace-nav .session-row > strong { flex: 1; overflow: hidden; font-size: 11px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.session-row > img { width: 14px; height: 14px; opacity: .65; }
.session-row:hover { background: rgba(0,0,0,.025); }
.session-row.active { color: #000; background: rgba(0,0,0,.045); }
.session-spinner { width: 12px; height: 12px; flex: none; display: block; border: 1.5px solid rgba(60,99,255,.2); border-top-color: #3c63ff; border-radius: 50%; animation: sessionSpin .8s linear infinite; }
.session-row.is-complete .session-spinner { display: grid; place-items: center; border: 0; background: rgba(60,99,255,.1); color: #3c63ff; animation: none; }
.session-row.is-complete .session-spinner::after { content: "✓"; font-size: 8px; font-style: normal; }

.workspace-window.marketing-layout .workspace-rail { width: clamp(180px, 19vw, 210px); }
.workspace-window.marketing-layout .workspace-chat { width: clamp(300px, 31vw, 373px); padding-inline: 22px; }
.workspace-window.marketing-layout .workspace-composer { left: 18px; right: 18px; }

.analytics-page { flex: 1; min-width: 0; display: none; flex-direction: column; gap: 12px; padding: 24px 28px 24px; overflow: hidden; border: .3px solid rgba(0,0,0,.2); border-radius: 16px; background: rgba(255,255,255,.88); }
.workspace-window.analytics-open .analytics-page { display: flex; animation: analyticsEnter 440ms cubic-bezier(.16,1,.3,1) both; }
.workspace-window.analytics-open .workspace-chat, .workspace-window.analytics-open .workspace-preview { display: none; }
.workspace-window.analytics-open .workspace-rail { width: clamp(190px,19vw,220px); }
.automations-page { flex: 1; min-width: 0; display: none; flex-direction: column; gap: 16px; padding: 24px 28px; overflow: hidden; border: .3px solid rgba(0,0,0,.2); border-radius: 16px; background: rgba(255,255,255,.88); }
.workspace-window.automations-open .automations-page { display: flex; animation: analyticsEnter 440ms cubic-bezier(.16,1,.3,1) both; }
.workspace-window.automations-open .workspace-chat, .workspace-window.automations-open .workspace-preview { display: none; }
.workspace-window.automations-open .workspace-rail { width: clamp(190px,19vw,220px); }
.automations-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.automations-header h1 { margin: 0 0 4px; font-size: 19px; line-height: 23px; font-weight: 550; letter-spacing: -.5px; }
.automations-header p { margin: 0; color: rgba(0,0,0,.48); font-size: 11px; }
.automations-header > button { height: 32px; display: flex; align-items: center; gap: 6px; padding: 0 10px; border: .5px solid rgba(0,0,0,.1); border-radius: 9px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.04); font-size: 9px; }
.automations-header > button span { color: #3159e8; font-size: 15px; line-height: 1; }
.automations-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: rgba(0,0,0,.5); text-align: center; }
.automations-empty > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: rgba(60,99,255,.07); }
.automations-empty img { width: 18px; height: 18px; opacity: .55; }
.automations-empty strong { color: rgba(0,0,0,.72); font-size: 12px; font-weight: 550; }
.automations-empty p { max-width: 310px; margin: 0; font-size: 9px; line-height: 14px; }
.automations-layout { flex: 1; min-height: 0; display: none; grid-template-columns: 238px minmax(0,1fr); gap: 12px; }
.automations-page.has-task .automations-empty { display: none; }
.automations-page.has-task .automations-layout { display: grid; }
.automation-task-list, .automation-detail { min-height: 0; border: .5px solid rgba(0,0,0,.09); border-radius: 13px; background: rgba(255,255,255,.75); }
.automation-task-list { padding: 10px; }
.automation-task-list > header { height: 32px; display: flex; align-items: flex-start; justify-content: space-between; padding: 1px 2px 8px; }
.automation-task-list > header > div { display: flex; flex-direction: column; gap: 2px; }
.automation-task-list header strong { font-size: 10px; font-weight: 550; }
.automation-task-list header small { color: rgba(0,0,0,.42); font-size: 7px; }
.automation-task-list header button { width: 24px; height: 24px; border: 0; border-radius: 7px; background: transparent; color: rgba(0,0,0,.42); }
.automation-task-row { width: 100%; min-height: 58px; display: grid; grid-template-columns: 30px minmax(0,1fr) 7px; align-items: center; gap: 8px; padding: 8px; border: 0; border-radius: 9px; background: transparent; text-align: left; }
.automation-task-row.active { background: rgba(60,99,255,.065); box-shadow: inset 0 0 0 .5px rgba(60,99,255,.1); }
.automation-task-row > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: #fff; }
.automation-task-row img { width: 14px; height: 14px; opacity: .7; }
.automation-task-row > div { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.automation-task-row strong { overflow: hidden; font-size: 9px; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
.automation-task-row small { color: rgba(0,0,0,.43); font-size: 7px; }
.automation-task-row > i { width: 7px; height: 7px; border-radius: 50%; background: #35b66f; box-shadow: 0 0 0 3px rgba(53,182,111,.09); }
.automation-detail { display: flex; flex-direction: column; gap: 11px; padding: 15px; overflow-y: auto; }
.automation-detail-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.automation-detail-header > div { min-width: 0; display: flex; align-items: center; gap: 9px; }
.automation-detail-header > div > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: rgba(60,99,255,.07); }
.automation-detail-header img { width: 16px; height: 16px; opacity: .7; }
.automation-detail-header h2 { margin: 0 0 3px; font-size: 13px; font-weight: 550; }
.automation-detail-header p { margin: 0; color: rgba(0,0,0,.45); font-size: 8px; }
.automation-detail-header > b { display: flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 7px; background: rgba(53,182,111,.08); color: #248450; font-size: 8px; font-weight: 500; }
.automation-detail-header > b i { width: 6px; height: 6px; border-radius: 50%; background: #35b66f; }
.automation-overview { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.automation-overview article { display: flex; flex-direction: column; gap: 3px; padding: 10px; border: .5px solid rgba(0,0,0,.08); border-radius: 10px; background: rgba(0,0,0,.012); }
.automation-overview span, .automation-overview small { color: rgba(0,0,0,.42); font-size: 7px; }
.automation-overview strong { font-size: 10px; font-weight: 550; }
.automation-prompt-card, .automation-permission-card, .automation-runs-card { padding: 11px; border: .5px solid rgba(0,0,0,.08); border-radius: 11px; background: #fff; }
.automation-prompt-card > header, .automation-runs-card > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.automation-prompt-card header > div, .automation-runs-card header > div { display: flex; flex-direction: column; gap: 2px; }
.automation-prompt-card header strong, .automation-runs-card header strong { font-size: 9px; font-weight: 550; }
.automation-prompt-card header small, .automation-runs-card header small { color: rgba(0,0,0,.4); font-size: 7px; }
.automation-prompt-card header button, .automation-runs-card header button { height: 24px; padding: 0 8px; border: .5px solid rgba(0,0,0,.09); border-radius: 7px; background: transparent; color: rgba(0,0,0,.55); font-size: 8px; }
.automation-prompt-card p { margin: 9px 0 0; padding: 9px; border-radius: 8px; background: rgba(0,0,0,.02); color: rgba(0,0,0,.67); font-size: 9px; line-height: 14px; }
.automation-permission-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.automation-permission-copy { min-width: 0; display: flex; align-items: center; gap: 9px; }
.automation-permission-copy > span { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 8px; background: rgba(60,99,255,.07); }
.automation-permission-copy img { width: 14px; height: 14px; opacity: .68; }
.automation-permission-copy > div { min-width: 0; }
.automation-permission-copy strong { font-size: 9px; font-weight: 550; }
.automation-permission-copy p { max-width: 450px; margin: 3px 0 0; color: rgba(0,0,0,.46); font-size: 8px; line-height: 12px; }
.automation-permission-control { flex: none; display: flex; align-items: center; gap: 8px; }
.automation-permission-control > b { color: rgba(0,0,0,.45); font-size: 7px; font-weight: 500; }
.permission-switch { width: 32px; height: 18px; position: relative; padding: 0; border: 0; border-radius: 999px; background: rgba(0,0,0,.12); cursor: pointer; transition: background 180ms ease; }
.permission-switch i { width: 14px; height: 14px; position: absolute; top: 2px; left: 2px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.18); transition: transform 220ms cubic-bezier(.16,1,.3,1); }
.permission-switch[aria-checked="true"] { background: #3c63ff; }
.permission-switch[aria-checked="true"] i { transform: translateX(14px); }
.automation-runs-card { display: flex; flex-direction: column; gap: 7px; }
.automation-run-row { min-height: 38px; display: grid; grid-template-columns: 22px minmax(0,1fr) auto; align-items: center; gap: 8px; padding-top: 7px; border-top: .5px solid rgba(0,0,0,.06); }
.automation-run-row > span { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 6px; background: rgba(53,182,111,.09); color: #248450; font-size: 8px; }
.automation-run-row.queued > span { background: rgba(60,99,255,.08); }
.automation-run-row.queued > span i { width: 7px; height: 7px; border: 1.5px solid rgba(60,99,255,.2); border-top-color: #3c63ff; border-radius: 50%; }
.automation-run-row > div { display: flex; flex-direction: column; gap: 2px; }
.automation-run-row strong { font-size: 8px; font-weight: 500; }
.automation-run-row small { color: rgba(0,0,0,.42); font-size: 7px; }
.automation-run-row > b { color: rgba(0,0,0,.42); font-size: 7px; font-weight: 500; }
.analytics-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.analytics-header h1 { margin: 0 0 4px; font-size: 19px; line-height: 23px; font-weight: 550; letter-spacing: -.5px; }
.analytics-header p { margin: 0; color: rgba(0,0,0,.48); font-size: 11px; }
.analytics-view-switch { height: 34px; display: flex; align-items: center; gap: 3px; padding: 3px; border: .5px solid rgba(0,0,0,.1); border-radius: 11px; background: rgba(0,0,0,.035); box-shadow: inset 0 1px 1px rgba(0,0,0,.02); }
.analytics-view-switch button { min-width: 78px; height: 27px; padding: 0 13px; border: 0; border-radius: 8px; background: transparent; color: rgba(0,0,0,.48); font: inherit; font-size: 10px; cursor: pointer; transition: color 160ms ease, background 180ms ease, box-shadow 180ms ease; }
.analytics-view-switch button.active { background: #fff; color: rgba(0,0,0,.88); box-shadow: 0 1px 4px rgba(0,0,0,.09); }
.analytics-dashboard { flex: 1; min-height: 0; display: none; flex-direction: column; gap: 12px; }
.analytics-dashboard.is-active { display: flex; animation: dashboardSwitch 300ms cubic-bezier(.16,1,.3,1) both; }
.analytics-filterbar { min-height: 44px; position: relative; z-index: 6; display: flex; align-items: center; gap: 8px; overflow: visible; }
.analytics-filterbar button { font: inherit; cursor: pointer; }
.filter-select, .date-filter, .filter-more, .clear-filters { height: 44px; display: flex; align-items: center; border: .5px solid rgba(0,0,0,.12); background: #fff; color: rgba(0,0,0,.58); box-shadow: 0 2px 7px rgba(0,0,0,.035); }
.filter-select { min-width: 154px; max-width: 205px; flex: 1 1 170px; gap: 8px; padding: 0 10px; border-radius: 11px; text-align: left; }
.filter-select b { width: 22px; flex: none; color: rgba(0,0,0,.62); font-size: 15px; font-weight: 500; }
.filter-lucide svg { width: 16px; height: 16px; display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.filter-select .filter-label { min-width: 0; flex: 1; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.filter-select kbd, .date-filter kbd { width: 21px; height: 21px; flex: none; display: grid; place-items: center; border: 0; border-radius: 6px; background: rgba(0,0,0,.045); color: rgba(0,0,0,.44); box-shadow: none; font: inherit; font-size: 9px; }
.filter-select > i, .date-filter i { color: rgba(0,0,0,.35); font-size: 7px; font-style: normal; line-height: 5px; text-align: center; }
.filter-select:hover, .date-filter:hover, .clear-filters:hover, .filter-more:hover { border-color: rgba(0,0,0,.2); background: #fbfbfb; }
.account-combobox { position: relative; }
.account-filter-avatar { display: grid; place-items: center; }
.account-filter-avatar img { width: 22px; height: 22px; display: none; border-radius: 50%; }
.account-combobox.has-selection .account-filter-avatar span { display: none; }
.account-combobox.has-selection .account-filter-avatar img { display: block; }
.account-combobox > input { min-width: 0; flex: 1; padding: 0; border: 0; outline: 0; background: transparent; color: rgba(0,0,0,.72); font: inherit; font-size: 11px; text-overflow: ellipsis; }
.account-combobox > input::placeholder { color: rgba(0,0,0,.48); opacity: 1; }
.account-combobox.has-selection > input { color: #111; font-weight: 550; }
.account-combobox.is-open { border-color: rgba(80,80,88,.7); box-shadow: 0 0 0 4px rgba(80,80,88,.24); }
.account-picker { width: 360px; position: absolute; top: 51px; left: -1px; z-index: 20; display: none; overflow: hidden; border: .5px solid rgba(0,0,0,.13); border-radius: 12px; background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.16); color: #111; }
.account-picker[aria-hidden="false"] { display: flex; flex-direction: column; animation: accountPickerIn 220ms cubic-bezier(.16,1,.3,1) both; }
.account-picker-tabs { display: flex; align-items: center; gap: 3px; padding: 8px; border-bottom: .5px solid rgba(0,0,0,.1); }
.account-picker-tabs button { height: 29px; padding: 0 10px; border: 0; border-radius: 9px; background: transparent; color: rgba(0,0,0,.5); font-size: 10px; white-space: nowrap; }
.account-picker-tabs button.active { background: rgba(0,0,0,.055); color: #111; box-shadow: 0 2px 6px rgba(0,0,0,.04); }
.account-picker-results { min-height: 96px; padding: 8px; }
.account-picker-results > p { margin: 25px 8px; color: rgba(0,0,0,.4); font-size: 9px; text-align: center; }
.account-result { width: 100%; min-height: 64px; position: relative; display: none; grid-template-columns: 36px minmax(0,1fr) 18px; align-items: center; gap: 10px; padding: 8px 10px; border: 0; border-radius: 10px; background: #f4f4f5; color: #111; text-align: left; }
.account-picker.has-query .account-picker-results > p { display: none; }
.account-picker.has-query .account-result { display: grid; }
.account-result:hover, .account-result.is-selected { background: #ececef; }
.account-result.is-selected::after { content: "✓"; position: absolute; top: 50%; right: 38px; color: #3c63ff; font-size: 11px; transform: translateY(-50%); }
.account-result-avatar { width: 36px; height: 36px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.account-result-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.account-result > span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.account-result strong { overflow: hidden; font-size: 12px; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
.account-result small { color: rgba(0,0,0,.45); font-size: 9px; }
.account-result svg { width: 17px; height: 17px; fill: rgba(0,0,0,.4); }
.account-picker-sync { height: 0; display: flex; align-items: center; justify-content: center; gap: 7px; overflow: hidden; border-top: 0 solid transparent; color: rgba(0,0,0,.5); font-size: 8px; opacity: 0; transition: height 200ms ease, opacity 180ms ease; }
.account-picker-sync.is-visible { height: 32px; border-top-width: .5px; border-top-color: rgba(0,0,0,.07); opacity: 1; }
.account-picker-sync i { width: 10px; height: 10px; border: 1.5px solid rgba(60,99,255,.2); border-top-color: #3c63ff; border-radius: 50%; animation: sessionSpin .8s linear infinite; }
.account-picker .tracking-options { height: 38px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-top: .5px solid rgba(0,0,0,.1); background: #fbfbfc; color: rgba(0,0,0,.52); font-size: 10px; }
.account-picker .tracking-options span { font-size: 16px; line-height: 1; }
.filter-segment { height: 44px; flex: none; display: flex; overflow: hidden; border: .5px solid rgba(0,0,0,.12); border-radius: 11px; background: #fff; box-shadow: 0 2px 7px rgba(0,0,0,.035); }
.filter-segment button { width: 38px; height: 100%; display: grid; place-items: center; padding: 0; border: 0; border-right: .5px solid rgba(0,0,0,.07); background: transparent; color: rgba(0,0,0,.64); font-size: 14px; }
.filter-segment button:last-child { border-right: 0; }
.filter-segment button.active { background: rgba(0,0,0,.055); color: #000; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.025); }
.filter-segment button svg { width: 18px; height: 18px; display: block; fill: currentColor; }
.filter-segment button svg.lucide-stroke-icon { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.compact-segment button { width: 40px; }
.platform-segment button { width: 37px; }
.media-segment button { width: 40px; }
.date-filter-group { height: 44px; flex: none; display: flex; margin-left: auto; }
.date-filter { gap: 8px; padding: 0 10px; border-radius: 11px 0 0 11px; }
.date-filter b { font-size: 14px; font-weight: 400; }
.date-filter strong { color: rgba(0,0,0,.76); font-size: 11px; font-weight: 500; white-space: nowrap; }
.date-filter small { padding: 3px 5px; border-radius: 5px; background: rgba(0,0,0,.04); color: rgba(0,0,0,.48); font-size: 8px; }
.clear-filters { width: 32px; justify-content: center; padding: 0; border-left: 0; border-radius: 0 11px 11px 0; box-shadow: 0 2px 7px rgba(0,0,0,.035); color: rgba(0,0,0,.45); font-size: 15px; }
.analytics-filterbar .filter-more { width: 44px; flex: none; justify-content: center; padding: 0; border-radius: 11px; color: #000; font-size: 17px; }
.analytics-filterbar .filter-more.active { background: rgba(0,0,0,.07); }
.product-filterbar { z-index: 2; }
.product-filter { max-width: 180px; flex: 0 1 180px; }
.product-filter-spacer { flex: 1; }
.product-date-filter { border-radius: 11px; }
.analytics-results { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; opacity: 0; transform: translateY(12px); visibility: hidden; }
.analytics-results.is-visible { opacity: 1; transform: none; visibility: visible; transition: opacity 400ms ease, transform 520ms cubic-bezier(.16,1,.3,1); }
.metric-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.metric-grid article { position: relative; min-width: 0; display: grid; grid-template-columns: clamp(42px,4vw,56px) minmax(0,1fr) 11px; align-items: center; gap: 12px; min-height: clamp(74px,8.2vh,94px); padding: 10px 12px; border: .5px solid rgba(0,0,0,.09); border-radius: 14px; background: linear-gradient(105deg,#fff 0%,#fff 58%,rgba(225,247,230,.5) 100%); box-shadow: 0 2px 8px rgba(0,0,0,.025); }
.metric-grid article > .metric-icon { width: clamp(42px,4vw,56px); height: clamp(42px,4vw,56px); display: grid; place-items: center; border: .5px solid rgba(0,0,0,.06); border-radius: 14px; background: #fff; color: #111; box-shadow: 0 6px 14px rgba(0,0,0,.06); font-size: clamp(17px,1.25vw,21px); }
.metric-grid article > .metric-icon svg { width: clamp(18px,1.45vw,22px); height: clamp(18px,1.45vw,22px); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.metric-grid article > div { min-width: 0; display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 7px; }
.metric-grid article > div > span { grid-column: 1 / -1; color: rgba(0,0,0,.48); font-size: clamp(9px,.72vw,11px); }
.metric-grid strong { font-size: clamp(18px,1.4vw,24px); line-height: 1.1; font-weight: 550; letter-spacing: -.6px; }
.metric-grid small { color: #4fbd64; font-size: clamp(8px,.62vw,10px); font-weight: 500; }
.metric-grid article > i { align-self: start; color: rgba(0,0,0,.18); font-size: 12px; font-style: normal; line-height: 12px; }
.analytics-content-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0,1.7fr) minmax(220px,.7fr); gap: 10px; }
.views-chart-card, .comments-card { min-height: 0; display: flex; flex-direction: column; padding: 14px; border: .5px solid rgba(0,0,0,.09); border-radius: 13px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.025); overflow: hidden; }
.views-chart-card > header, .comments-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.views-chart-card header > div, .comments-card header > div { display: flex; flex-direction: column; gap: 2px; }
.views-chart-card header strong, .comments-card header strong { font-size: 11px; font-weight: 550; }
.views-chart-card header small, .comments-card header small { color: rgba(0,0,0,.42); font-size: 8px; }
.comments-card header > span { min-width: 28px; height: 20px; display: grid; place-items: center; padding: 0 6px; border-radius: 7px; background: rgba(60,99,255,.08); color: #3c63ff; font-size: 8px; }
.chart-legend { flex-direction: row !important; align-items: center; gap: 6px !important; }
.chart-legend span { height: 24px; display: flex; align-items: center; gap: 5px; padding: 0 8px; border: .5px solid; border-radius: 8px; font-size: 8px; }
.chart-legend span::before { content: ""; width: 6px; height: 6px; border-radius: 2px; }
.chart-legend .legend-views { border-color: rgba(60,99,255,.22); background: rgba(60,99,255,.07); color: #3159e8; }
.chart-legend .legend-views::before { background: #5f87ff; }
.chart-legend .legend-likes { border-color: rgba(244,172,74,.28); background: rgba(244,172,74,.09); color: #a56c20; }
.chart-legend .legend-likes::before { background: #f4b64f; }
.chart-legend .legend-users { border-color: rgba(53,182,111,.24); background: rgba(53,182,111,.08); color: #248450; }
.chart-legend .legend-users::before { background: #35b66f; }
.chart-legend .legend-sessions { border-color: rgba(111,125,154,.2); background: rgba(111,125,154,.07); color: #5f687a; }
.chart-legend .legend-sessions::before { background: #8d98ad; }
.views-chart { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 8px; }
.views-chart svg { width: 100%; height: auto; max-height: 230px; overflow: visible; }
.chart-gridline { fill: none; stroke: rgba(0,0,0,.06); stroke-width: 1; }
.chart-hour-grid { fill: none; stroke: rgba(0,0,0,.025); stroke-width: 1; }
.chart-bars rect { fill: rgba(244,174,105,.24); stroke: rgba(237,141,64,.12); stroke-width: .5; opacity: 0; transform: scaleY(.08); transform-box: fill-box; transform-origin: center bottom; }
.chart-area { fill: url(#views-fill); opacity: 0; }
.chart-line { fill: none; stroke: #65a5ff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.chart-point { fill: #fff; stroke: #3c63ff; stroke-width: 3; opacity: 0; }
.product-chart-bars rect { fill: rgba(125,142,171,.18); stroke: rgba(103,119,148,.1); }
.product-chart-area { fill: url(#users-fill); }
.product-chart-line { stroke: #35b66f; }
.product-chart-point { stroke: #35b66f; }
.chart-posted-marker { fill: none; stroke: rgba(0,0,0,.24); stroke-width: 1; stroke-dasharray: 4 4; }
.chart-posted-dot { fill: #fff; stroke: #747474; stroke-width: 2; }
.chart-posted-label { fill: rgba(0,0,0,.48); font-size: 9px; font-family: inherit; }
.analytics-results.is-visible .chart-bars rect { animation: chartBars 520ms cubic-bezier(.2,.75,.2,1) forwards; }
.analytics-results.is-visible .chart-bars rect:nth-child(4n+2) { animation-delay: .08s; }
.analytics-results.is-visible .chart-bars rect:nth-child(4n+3) { animation-delay: .14s; }
.analytics-results.is-visible .chart-bars rect:nth-child(4n) { animation-delay: .2s; }
.analytics-results.is-visible .chart-area { animation: chartFade 520ms ease .45s forwards; }
.analytics-results.is-visible .chart-line { animation: chartDraw 1.15s cubic-bezier(.2,.75,.2,1) .2s forwards; }
.analytics-results.is-visible .chart-point { animation: chartFade 220ms ease 1.25s forwards; }
.chart-axis { display: flex; justify-content: space-between; padding: 0 3px; color: rgba(0,0,0,.38); font-size: 7px; }
.chart-axis-hours { margin-top: 2px; }
.comment-card-title > span { display: flex; align-items: center; gap: 6px; }
.comment-card-title > span > i { width: 14px; height: 14px; display: grid; place-items: center; border: 1px solid rgba(0,0,0,.25); border-radius: 50%; color: rgba(0,0,0,.48); font-size: 8px; font-style: normal; }
.comment-card-title > span > b { color: rgba(0,0,0,.2); font-size: 11px; font-weight: 400; letter-spacing: -2px; }
.comment-controls { flex-direction: row !important; align-items: center; gap: 6px !important; }
.comment-controls button { height: 28px; display: flex; align-items: center; gap: 8px; padding: 0 9px; border: .5px solid rgba(0,0,0,.12); border-radius: 9px; background: #fff; color: rgba(0,0,0,.72); box-shadow: 0 2px 6px rgba(0,0,0,.04); font: inherit; font-size: 8px; cursor: pointer; }
.comment-controls button i { color: rgba(0,0,0,.35); font-size: 6px; font-style: normal; line-height: 4px; }
.comment-list { flex: 1; min-height: 0; display: flex; flex-direction: column; margin: 10px -14px -14px; border-top: .5px solid rgba(0,0,0,.08); }
.comment-list article { flex: 1; min-height: 0; display: grid; grid-template-columns: 32px minmax(0,1fr) auto 14px; align-items: center; gap: 9px; padding: 7px 12px; border-bottom: .5px solid rgba(0,0,0,.075); background: linear-gradient(90deg,#fff 0%,#fff 54%,rgba(224,238,255,.72) 100%); opacity: 0; transform: translateY(6px); }
.comment-list article:last-child { border-bottom: 0; }
.analytics-results.is-visible .comment-list article { opacity: 1; transform: none; transition: opacity 280ms ease, transform 340ms cubic-bezier(.16,1,.3,1); }
.analytics-results.is-visible .comment-list article:nth-child(2) { transition-delay: .14s; }
.analytics-results.is-visible .comment-list article:nth-child(3) { transition-delay: .28s; }
.analytics-results.is-visible .comment-list article:nth-child(4) { transition-delay: .36s; }
.analytics-results.is-visible .comment-list article:nth-child(5) { transition-delay: .44s; }
.comment-avatar { width: 32px; height: 32px; flex: none; display: grid; place-items: center; overflow: hidden; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 .5px rgba(0,0,0,.08); }
.comment-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.product-activity-list article { grid-template-columns: 32px minmax(0,1fr) auto; background: linear-gradient(90deg,#fff 0%,#fff 54%,rgba(226,246,232,.72) 100%); }
.activity-icon { width: 32px; height: 32px; display: grid; place-items: center; border: .5px solid rgba(53,182,111,.16); border-radius: 10px; background: rgba(53,182,111,.09); color: #248450; font-size: 13px; font-weight: 550; }
.comment-list article > div { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.comment-list strong { display: flex; align-items: center; gap: 4px; color: #141414; font-size: 9px; font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.comment-list strong em { width: 12px; height: 12px; display: grid; place-items: center; border-radius: 3px; background: rgba(0,0,0,.3); color: #fff; font-size: 8px; font-style: normal; }
.comment-list p { margin: 0; overflow: hidden; color: rgba(0,0,0,.58); font-size: 8px; line-height: 11px; text-overflow: ellipsis; white-space: nowrap; }
.comment-count { color: rgba(0,0,0,.7); font-size: 10px; font-weight: 550; font-variant-numeric: tabular-nums; }
.comment-list article > button { width: 14px; height: 24px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: rgba(0,0,0,.52); font: inherit; font-size: 13px; cursor: pointer; }
.session-row.is-attention { animation: sessionAttention 1.4s ease-in-out infinite; }

.workspace-chat { width: clamp(390px, 42vw, 550px); flex: none; position: relative; display: flex; flex-direction: column; padding: 38px 36px 28px; overflow: hidden; border: .3px solid rgba(0,0,0,.2); border-radius: 16px; background: rgba(255,255,255,.75); }
.workspace-chat-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 0 12px; }
.workspace-chat-header > span { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.workspace-chat-header strong { font-size: 14px; font-weight: 400; letter-spacing: -.28px; }
.workspace-chat-header small { color: rgba(0,0,0,.5); font-size: 12px; letter-spacing: -.24px; }
.conversation { flex: 1; min-height: 0; position: relative; padding: 42px 12px 126px; overflow: hidden; }
.build-session, .marketing-session { width: 100%; display: flex; flex-direction: column; gap: 28px; }
.build-session { opacity: 1; transform: none; transition: opacity 260ms ease, transform 320ms ease; }
.build-session[hidden] { display: none; }
.build-session.is-leaving { opacity: 0; transform: translateX(-16px); }
.build-session.is-returned { height: 100%; overflow-y: auto; padding-bottom: 12px; opacity: 1; transform: none; scrollbar-width: none; }
.build-session.is-returned::-webkit-scrollbar { display: none; }
.build-session.is-returned > .sent-message, .build-session.is-returned > .assistant-message { display: none; }
.return-session { display: none; flex-direction: column; gap: 22px; }
.build-session.is-returned .return-session { display: flex; }
.app-finished-card { display: flex; align-items: center; gap: 10px; padding: 11px; border: .5px solid rgba(0,0,0,.1); border-radius: 11px; background: rgba(255,255,255,.72); }
.app-finished-card > span { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(60,99,255,.1); color: #3c63ff; font-size: 11px; }
.app-finished-card > div { display: flex; flex-direction: column; gap: 2px; }
.app-finished-card strong { font-size: 12px; font-weight: 500; }
.app-finished-card small { color: rgba(0,0,0,.48); font-size: 10px; }
.publish-sent { display: none; }
.publish-sent.stream-visible { display: flex; }
.apple-auth-message { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; opacity: 0; transform: translateY(8px); }
.apple-auth-message p { margin: 0; font-size: 12px; line-height: 17px; }
.apple-auth-message.is-visible { opacity: 1; transform: none; transition: opacity 300ms ease, transform 360ms cubic-bezier(.16,1,.3,1); }
.developer-login { width: 100%; display: flex; flex-direction: column; gap: 7px; }
.developer-login.is-hidden { display: none; }
.developer-login label { display: flex; flex-direction: column; gap: 3px; }
.developer-login label > span { color: rgba(0,0,0,.48); font-size: 8px; }
.developer-login input { width: 100%; height: 31px; padding: 0 9px; border: .5px solid rgba(0,0,0,.13); outline: none; border-radius: 8px; background: #fff; color: #000; font: inherit; font-size: 10px; }
.developer-login input:focus { border-color: rgba(60,99,255,.4); box-shadow: 0 0 0 3px rgba(60,99,255,.07); }
.apple-signin-status { display: flex; align-items: center; gap: 7px; color: rgba(0,0,0,.5); font-size: 9px; opacity: 0; }
.apple-signin-status.is-visible { opacity: 1; transition: opacity 220ms ease; }
.apple-signin-status i { width: 10px; height: 10px; border: 1.5px solid rgba(60,99,255,.2); border-top-color: #3c63ff; border-radius: 50%; animation: sessionSpin .8s linear infinite; }
.apple-two-factor { width: 100%; display: none; flex-direction: column; gap: 8px; opacity: 0; transform: translateY(6px); }
.apple-two-factor.is-visible { display: flex; opacity: 1; transform: none; animation: authStepIn 360ms cubic-bezier(.16,1,.3,1) both; }
.apple-two-factor small { color: rgba(0,0,0,.48); font-size: 8px; line-height: 11px; }
.verification-code { display: flex; gap: 5px; }
.verification-code span { width: 27px; height: 32px; display: grid; place-items: center; border: .5px solid rgba(0,0,0,.14); border-radius: 8px; background: #fff; font-size: 12px; font-weight: 500; transition: border-color 160ms ease, background 160ms ease, transform 160ms ease; }
.verification-code span.is-filled { border-color: rgba(60,99,255,.35); background: rgba(60,99,255,.05); transform: translateY(-1px); }
.review-progress { width: 100%; display: none; flex-direction: column; gap: 7px; opacity: 0; }
.review-progress.is-visible { display: flex; opacity: 1; animation: authStepIn 360ms cubic-bezier(.16,1,.3,1) both; }
.review-progress > strong { margin-bottom: 2px; font-size: 10px; font-weight: 500; }
.publish-step, .submission-success { display: grid; grid-template-columns: 14px 1fr; align-items: center; gap: 7px; color: rgba(0,0,0,.58); font-size: 9px; }
.publish-step i, .submission-success i { width: 13px; height: 13px; display: grid; place-items: center; border-radius: 50%; font-size: 7px; font-style: normal; }
.publish-step:not(.done):not(.active):not(.is-done) i { border: 1px solid rgba(0,0,0,.14); background: #fff; }
.publish-step.done i { color: #fff; background: #3c63ff; }
.publish-step.active i { border: 1.5px solid rgba(60,99,255,.2); border-top-color: #3c63ff; animation: sessionSpin .8s linear infinite; }
.publish-step.is-done i { color: #fff; border: 0; background: #3c63ff; animation: none; }
.store-screenshot-message { width: 100%; display: none; flex-direction: column; gap: 8px; padding: 9px; border: .5px solid rgba(0,0,0,.09); border-radius: 10px; background: rgba(255,255,255,.78); opacity: 0; transform: translateY(6px); }
.store-screenshot-message.is-visible { display: flex; opacity: 1; transform: none; animation: authStepIn 360ms cubic-bezier(.16,1,.3,1) both; }
.store-screenshot-message p { margin: 0; color: rgba(0,0,0,.62); font-size: 9px; }
.store-screenshot-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; }
.store-screenshot-strip img { width: 100%; aspect-ratio: 460 / 998; display: block; object-fit: cover; border: .5px solid rgba(0,0,0,.11); border-radius: 5px; box-shadow: 0 2px 7px rgba(0,0,0,.07); }
.submission-success { margin-top: 2px; padding: 8px; border-radius: 8px; background: rgba(60,99,255,.07); color: #264fd8; opacity: 0; transform: translateY(5px); }
.submission-success i { color: #fff; background: #3c63ff; }
.submission-success.is-visible { opacity: 1; transform: none; transition: opacity 280ms ease, transform 340ms cubic-bezier(.16,1,.3,1); }
.marketing-session { position: absolute; inset: 42px 12px 126px; visibility: hidden; opacity: 0; transform: translateX(18px); transition: opacity 320ms ease, transform 380ms cubic-bezier(.16,1,.3,1), visibility 0s 380ms; }
.marketing-session.is-active { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.marketing-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; color: rgba(0,0,0,.34); text-align: center; transition: opacity 220ms ease, transform 260ms ease; }
.marketing-empty span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; color: #3c63ff; background: rgba(60,99,255,.08); font-size: 11px; }
.marketing-empty p { margin: 0; font-size: 12px; }
.marketing-session.has-message .marketing-empty { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.sent-message { align-self: flex-end; max-width: 78%; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; opacity: 0; transform: translateY(14px) scale(.94); transform-origin: bottom right; }
.sent-message.stream-visible { animation: messagePop 480ms cubic-bezier(.16,1,.3,1) forwards; }
.sent-message p { margin: 0; padding: 10px 12px; border: .5px solid rgba(0,0,0,.1); border-radius: 10px 10px 4px 10px; background: #fff; font-size: 12px; line-height: 16px; letter-spacing: -.24px; }
.sent-message > div { display: flex; gap: 8px; padding-right: 2px; }
.sent-message > div img { width: 12px; height: 12px; opacity: .55; }
.marketing-sent { max-width: 92%; display: none; }
.marketing-sent.stream-visible { display: flex; }
.marketing-response { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; opacity: 0; transform: translateY(7px); color: rgba(0,0,0,.72); font-size: 12px; }
.marketing-response p { margin: 0; }
.marketing-response.stream-visible { opacity: 1; transform: none; transition: opacity 300ms ease, transform 340ms cubic-bezier(.16,1,.3,1); }
.interview-session { position: absolute; inset: 28px 12px 96px; display: flex; flex-direction: column; align-items: center; gap: 22px; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateX(18px); scrollbar-width: none; transition: opacity 320ms ease, transform 380ms cubic-bezier(.16,1,.3,1), visibility 0s 380ms; }
.interview-session::-webkit-scrollbar { display: none; }
.interview-session.is-active { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.interview-sent { width: min(82%,360px); max-width: 82%; display: none; flex: none; align-self: flex-end; }
.interview-sent.stream-visible { display: flex; }
.interview-sent > p { border-color: transparent; background: #4b63f3; color: #fff; box-shadow: 0 3px 10px rgba(61,85,218,.15); }
.interview-sent > p .message-editing-caret { width: 1px; height: 13px; display: none; margin-left: 2px; background: #3c63ff; vertical-align: -2px; animation: blink 700ms steps(1,end) infinite; }
.interview-sent.is-editing > p { border-color: rgba(60,99,255,.34); background: #fff; color: rgba(0,0,0,.82); box-shadow: 0 0 0 3px rgba(60,99,255,.08); }
.interview-sent.is-editing > p .message-editing-caret { display: inline-block; }
.interview-sent > .message-actions { position: relative; display: flex; gap: 5px; padding-right: 2px; }
.interview-sent > .message-actions button { width: 24px; height: 24px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 7px; background: transparent; cursor: pointer; transition: color 160ms ease, background 160ms ease, opacity 180ms ease, transform 180ms cubic-bezier(.16,1,.3,1); }
.interview-sent > .message-actions button:hover { background: rgba(0,0,0,.045); }
.interview-sent > .message-actions button img { width: 12px; height: 12px; opacity: .52; }
.interview-sent > .message-actions .message-edit-button.is-pressing { background: rgba(60,99,255,.1); transform: scale(.88); }
.interview-sent > .message-actions .message-cron-button { color: #3159e8; opacity: 0; transform: translateX(-6px) scale(.72); pointer-events: none; }
.interview-sent > .message-actions .message-cron-button img { opacity: .82; }
.interview-sent.cron-ready > .message-actions .message-cron-button { opacity: 1; transform: none; pointer-events: auto; }
.interview-sent > .message-actions .message-cron-button.is-pressing { background: rgba(60,99,255,.1); box-shadow: 0 0 0 4px rgba(60,99,255,.06); transform: scale(.84); }
.interview-sent > .cron-popover { width: 284px; position: relative; z-index: 3; display: none; flex-direction: column; align-items: stretch; gap: 9px; margin-top: 2px; padding: 11px; border: .5px solid rgba(0,0,0,.12); border-radius: 13px; background: rgba(255,255,255,.98); box-shadow: 0 16px 38px rgba(31,42,83,.14); color: #111; opacity: 0; transform: translateY(-6px) scale(.97); transform-origin: top right; }
.interview-sent > .cron-popover.is-open { display: flex; opacity: 1; transform: none; animation: cronPopoverIn 260ms cubic-bezier(.16,1,.3,1) both; }
.cron-popover > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.cron-popover > header > div { display: flex; flex-direction: column; gap: 2px; }
.cron-popover > header strong { font-size: 10px; font-weight: 550; }
.cron-popover > header small { color: rgba(0,0,0,.45); font-size: 8px; }
.cron-popover > header > span { padding: 3px 5px; border-radius: 5px; background: rgba(60,99,255,.08); color: #3159e8; font: 600 6px ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .4px; }
.cron-presets { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; }
.cron-presets button { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 7px; border: .5px solid rgba(0,0,0,.1); border-radius: 8px; background: #fff; color: rgba(0,0,0,.72); cursor: pointer; }
.cron-presets button.active { border-color: rgba(60,99,255,.35); background: rgba(60,99,255,.07); box-shadow: 0 0 0 2px rgba(60,99,255,.045); }
.cron-presets span { font-size: 9px; font-weight: 500; }
.cron-presets code { overflow: hidden; color: rgba(0,0,0,.38); font: 6px ui-monospace,SFMono-Regular,Menlo,monospace; text-overflow: ellipsis; white-space: nowrap; }
.cron-field { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 8px; border: .5px solid rgba(0,0,0,.09); border-radius: 8px; background: rgba(0,0,0,.018); color: rgba(0,0,0,.55); font-size: 8px; }
.cron-field:focus-within { border-color: rgba(60,99,255,.3); background: #fff; }
.cron-field input { min-width: 0; height: 22px; padding: 0 5px; border: .5px solid rgba(0,0,0,.09); outline: 0; border-radius: 5px; background: #fff; color: rgba(0,0,0,.72); font: 8px ui-monospace,SFMono-Regular,Menlo,monospace; }
.cron-field input[type="number"] { width: 34px; text-align: center; }
.cron-custom input { flex: 1; }
.cron-permission { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 8px; border: .5px solid rgba(0,0,0,.08); border-radius: 8px; background: rgba(0,0,0,.015); }
.cron-permission > div { display: flex; flex-direction: column; gap: 2px; }
.cron-permission strong { font-size: 8px; font-weight: 550; }
.cron-permission small { color: rgba(0,0,0,.4); font-size: 6px; }
.cron-permission-toggle { height: 24px; flex: none; display: flex; align-items: center; gap: 5px; padding: 0 6px; border: .5px solid rgba(0,0,0,.09); border-radius: 7px; background: #fff; color: rgba(0,0,0,.5); font-size: 7px; cursor: pointer; }
.cron-permission-toggle i { width: 7px; height: 7px; border-radius: 50%; background: #e0a52e; }
.cron-permission-toggle[aria-checked="true"] { border-color: rgba(60,99,255,.22); background: rgba(60,99,255,.06); color: #3159e8; }
.cron-permission-toggle[aria-checked="true"] i { background: #3c63ff; }
.cron-popover > footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 2px; }
.cron-popover > footer > div { display: flex; flex-direction: column; gap: 1px; }
.cron-popover > footer small { color: rgba(0,0,0,.38); font-size: 7px; }
.cron-popover > footer strong { font-size: 8px; font-weight: 500; }
.cron-popover > footer button { height: 28px; padding: 0 10px; border: 0; border-radius: 8px; background: #3c63ff; color: #fff; font: inherit; font-size: 9px; cursor: pointer; }
.interview-sent > .cron-confirmation { width: 284px; display: none; grid-template-columns: 24px minmax(0,1fr); align-items: center; gap: 8px; padding: 8px 9px; border: .5px solid rgba(53,182,111,.16); border-radius: 10px; background: rgba(53,182,111,.065); color: #111; opacity: 0; transform: translateY(-4px); }
.interview-sent > .cron-confirmation.is-visible { display: grid; opacity: 1; transform: none; animation: authStepIn 280ms cubic-bezier(.16,1,.3,1) both; }
.cron-confirmation > span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; background: rgba(53,182,111,.12); }
.cron-confirmation > span img { width: 13px; height: 13px; filter: invert(49%) sepia(18%) saturate(1572%) hue-rotate(94deg) brightness(92%); }
.cron-confirmation > div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cron-confirmation strong { font-size: 9px; font-weight: 550; }
.cron-confirmation small { overflow: hidden; color: rgba(0,0,0,.45); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.interview-response { width: min(100%,390px); display: none; flex-direction: column; gap: 14px; align-self: center; }
.interview-response.is-visible { display: flex; }
.interview-intro { min-height: 17px; margin: 0; color: rgba(0,0,0,.78); font-size: 11px; line-height: 16px; letter-spacing: -.08px; }
.interview-intro.is-streaming::after { content: ""; width: 1px; height: 12px; display: inline-block; margin-left: 2px; background: #3c63ff; vertical-align: -2px; animation: blink 700ms steps(1,end) infinite; }
.agent-tool-log { display: flex; flex-direction: column; gap: 1px; }
.agent-tool-call { display: none; overflow: hidden; padding: 4px 0; border: 0; border-radius: 6px; background: transparent; opacity: 0; transform: translateY(4px); }
.agent-tool-call.is-visible { display: block; opacity: 1; transform: none; animation: authStepIn 260ms cubic-bezier(.16,1,.3,1) both; }
.agent-tool-call header { min-height: 28px; display: grid; grid-template-columns: 18px minmax(0,1fr) auto; align-items: center; gap: 7px; }
.agent-tool-call header > span { width: 18px; height: 18px; position: relative; display: grid; place-items: center; border: 0; border-radius: 5px; color: rgba(0,0,0,.55); }
.agent-tool-call header > span img { width: 12px; height: 12px; opacity: .62; }
.agent-tool-call header > span i { width: 7px; height: 7px; border: 1.5px solid rgba(60,99,255,.2); border-top-color: #3c63ff; border-radius: 50%; opacity: 0; }
.agent-tool-call.active { opacity: .48; }
.agent-tool-call.active header > span img { display: none; }
.agent-tool-call.active header > span i { opacity: 1; animation: sessionSpin .8s linear infinite; }
.agent-tool-call.is-done header > span::after { content: ""; width: 5px; height: 8px; position: absolute; right: -1px; bottom: 0; border: solid #3159e8; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.agent-tool-call header > div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.agent-tool-call code { color: rgba(0,0,0,.42); font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: 7px; }
.agent-tool-call strong { overflow: hidden; color: rgba(0,0,0,.72); font-size: 9px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.agent-tool-call header > small { color: rgba(0,0,0,.34); font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: 7px; font-variant-numeric: tabular-nums; }
.agent-tool-call.active header > small { opacity: 0; }
.agent-tool-call > p { max-height: 0; margin: 0 0 0 25px; overflow: hidden; color: rgba(0,0,0,.46); font-size: 8px; line-height: 11px; opacity: 0; }
.agent-tool-call.is-done > p { max-height: 34px; margin-top: 3px; opacity: 1; transition: max-height 280ms ease, opacity 220ms ease; }
.completed-tool-summary { min-height: 30px; display: none; grid-template-columns: 18px auto minmax(0,1fr) 10px; align-items: center; gap: 7px; margin: 2px 0 3px; padding: 4px 0; color: rgba(0,0,0,.54); }
.completed-tool-summary > span { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 5px; background: rgba(0,0,0,.045); }
.completed-tool-summary > span img { width: 11px; height: 11px; opacity: .58; }
.completed-tool-summary > div { display: flex; align-items: baseline; gap: 5px; }
.completed-tool-summary strong { color: rgba(0,0,0,.62); font-size: 9px; font-weight: 500; }
.completed-tool-summary small { color: rgba(0,0,0,.36); font-size: 7px; }
.completed-tool-summary > b { overflow: hidden; color: rgba(0,0,0,.4); font-size: 8px; font-weight: 400; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.completed-tool-summary > i { width: 5px; height: 5px; border: solid rgba(0,0,0,.34); border-width: 0 1px 1px 0; transform: translateY(-1px) rotate(45deg); }
.interview-response.workflow-complete .agent-tool-call:nth-of-type(-n+5) { display: none; }
.interview-response.workflow-complete .completed-tool-summary { display: grid; animation: authStepIn 280ms cubic-bezier(.16,1,.3,1) both; }
.feedback-analysis { display: none; flex-direction: column; gap: 11px; padding: 12px 0 4px; border-top: .5px solid rgba(0,0,0,.07); opacity: 0; transform: translateY(7px); }
.feedback-analysis.is-visible { display: flex; opacity: 1; transform: none; animation: authStepIn 360ms cubic-bezier(.16,1,.3,1) both; }
.feedback-analysis > p { margin: 0; color: rgba(0,0,0,.72); font-size: 10px; line-height: 15px; }
.feedback-analysis > p strong { color: #111; font-weight: 550; }
.feedback-suggestions { display: flex; flex-direction: column; gap: 7px; }
.feedback-suggestions article { display: grid; grid-template-columns: 23px minmax(0,1fr); gap: 9px; padding: 9px; border: .5px solid rgba(0,0,0,.08); border-radius: 9px; background: rgba(255,255,255,.66); box-shadow: 0 1px 2px rgba(0,0,0,.015); opacity: 0; transform: translateY(5px); }
.feedback-suggestions article.is-visible { opacity: 1; transform: none; transition: opacity 280ms ease, transform 320ms cubic-bezier(.16,1,.3,1); }
.feedback-suggestions article > span { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 7px; background: rgba(53,182,111,.1); color: #248450; font-size: 9px; font-weight: 600; }
.feedback-suggestions article > div { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.feedback-suggestions strong { font-size: 9px; font-weight: 550; }
.feedback-suggestions p { margin: 0; color: rgba(0,0,0,.5); font-size: 8px; line-height: 11px; }
.response-artifacts { display: flex; align-items: flex-end; gap: 4px; }
.response-video-thumbnail { width: 58px; height: 90px; position: relative; overflow: hidden; border: .5px solid rgba(0,0,0,.16); border-radius: 7px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.response-video-thumbnail > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.response-video-thumbnail > span { width: 22px; height: 22px; position: absolute; top: 50%; left: 50%; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.94); box-shadow: 0 2px 7px rgba(0,0,0,.14); transform: translate(-50%,-50%); }
.response-video-thumbnail > span img { width: 10px; height: 10px; transform: translateX(1px); }
.response-artifacts button { height: 29px; display: flex; align-items: center; gap: 6px; margin-left: 6px; padding: 0 9px; border: .5px solid rgba(0,0,0,.1); border-radius: 9px; background: #fff; font-size: 11px; cursor: pointer; }
.response-artifacts button img { width: 14px; height: 14px; }
.assistant-message { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 12px; line-height: 17px; letter-spacing: -.24px; }
.assistant-message > p { min-height: 17px; margin: 0; }
.assistant-message > p.is-streaming::after { content: ""; width: 1px; height: 13px; display: inline-block; margin-left: 2px; background: #3c63ff; vertical-align: -2px; animation: blink 700ms steps(1,end) infinite; }
.work-summary { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; color: rgba(0,0,0,.5); font-size: 12px; cursor: pointer; }
.work-summary img { width: 12px; height: 12px; }
.work-summary.stream-pending { opacity: 0; transform: translateY(5px); }
.work-summary.stream-visible { opacity: 1; transform: none; transition: opacity 280ms ease, transform 320ms cubic-bezier(.16,1,.3,1); }
.working-dot { width: 7px; height: 7px; border-radius: 50%; background: #3c63ff; box-shadow: 0 0 0 4px rgba(60,99,255,.1); animation: workingPulse 1.2s ease-in-out infinite; }
.build-steps { width: 100%; max-height: 160px; display: flex; flex-direction: column; overflow: hidden; border: .5px solid rgba(0,0,0,.09); border-radius: 11px; background: rgba(255,255,255,.6); }
.build-steps.stream-pending { max-height: 0; opacity: 0; border-color: transparent; }
.build-steps.stream-visible { max-height: 160px; opacity: 1; border-color: rgba(0,0,0,.09); transition: max-height 520ms cubic-bezier(.16,1,.3,1), opacity 280ms ease, border-color 180ms ease; }
.build-steps > div { min-height: 46px; display: grid; grid-template-columns: 18px 1fr; gap: 9px; align-items: center; padding: 7px 10px; border-bottom: .5px solid rgba(0,0,0,.06); }
.build-steps > .task-row { opacity: 0; transform: translateY(7px); }
.build-steps > .task-row.stream-visible { opacity: 1; transform: none; transition: opacity 260ms ease, transform 340ms cubic-bezier(.16,1,.3,1); }
.build-steps > div:last-child { border: 0; }
.build-steps i { width: 14px; height: 14px; display: grid; place-items: center; border: 1px solid rgba(0,0,0,.15); border-radius: 50%; font-size: 8px; font-style: normal; }
.build-steps .done i { color: #fff; border-color: #3c63ff; background: #3c63ff; }
.build-steps .active i { border-color: #3c63ff #d9dff8 #d9dff8; animation: spin .85s linear infinite; }
.build-steps span { display: flex; flex-direction: column; gap: 2px; }
.build-steps strong { font-size: 11px; font-weight: 500; }
.build-steps small { color: rgba(0,0,0,.45); font-size: 9px; }
.workspace-composer { position: absolute; left: 28px; right: 28px; bottom: 24px; display: flex; flex-direction: column; gap: 14px; padding: 12px; border: .5px solid rgba(0,0,0,.14); border-radius: 20px; background: rgba(255,255,255,.92); box-shadow: 0 12px 28px rgba(0,0,0,.045); }
.workspace-prompt { height: 17px; min-height: 17px; max-height: 204px; overflow-y: hidden; color: rgba(0,0,0,.35); font-size: 12px; line-height: 17px; letter-spacing: -.24px; scrollbar-width: none; transition: height 220ms cubic-bezier(.16,1,.3,1); }
.workspace-composer.is-expanded .workspace-prompt { overflow-y: auto; }
.workspace-prompt::-webkit-scrollbar { display: none; }
.workspace-prompt.has-text { color: rgba(0,0,0,.82); }
.workspace-typing-caret { width: 1px; height: 13px; display: none; margin-left: 2px; background: #3c63ff; vertical-align: -2px; animation: blink 700ms steps(1,end) infinite; }
.workspace-prompt.is-typing .workspace-typing-caret { display: inline-block; }
.workspace-composer-actions { display: flex; align-items: center; }
.workspace-composer-actions > button, .workspace-modes button { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: .5px solid rgba(0,0,0,.1); border-radius: 10px; background: transparent; }
.workspace-composer-actions button img { width: 16px; height: 16px; }
.workspace-composer-actions > button:last-child { margin-left: 6px; }
.workspace-primary-action { position: relative; overflow: hidden; transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 120ms ease; }
.workspace-primary-action img { position: absolute; width: 16px; height: 16px; transition: opacity 150ms ease, transform 180ms cubic-bezier(.2,.8,.2,1); }
.workspace-primary-action .workspace-mic-icon { opacity: 1; transform: translateY(0) scale(1); }
.workspace-primary-action .workspace-send-icon { opacity: 0; transform: translateY(5px) scale(.72); }
.workspace-primary-action.has-text { border-color: rgba(255,255,255,.3); background: linear-gradient(180deg,rgba(60,99,255,.9),#3c63ff); box-shadow: 0 0 12px rgba(60,99,255,.15),0 1px 2px rgba(0,0,0,.1); }
.workspace-primary-action.has-text .workspace-mic-icon { opacity: 0; transform: translateY(-5px) scale(.72); }
.workspace-primary-action.has-text .workspace-send-icon { opacity: 1; transform: none; }
.workspace-primary-action.is-pressing { transform: scale(.84); box-shadow: 0 0 20px rgba(60,99,255,.32); }
.workspace-modes { height: 34px; display: flex; margin-left: auto; border-radius: 10px; background: rgba(0,0,0,.03); }
.workspace-modes button { width: 34px; border: 0; }
.workspace-modes button.active { width: auto; display: flex; gap: 8px; padding: 0 10px; color: #3c63ff; border: .5px solid rgba(0,0,0,.1); background: #fff; box-shadow: 0 1px 2.5px rgba(0,0,0,.05); font-size: 12px; }

@keyframes cronPopoverIn { from { opacity: 0; transform: translateY(-6px) scale(.97); } to { opacity: 1; transform: none; } }

.workspace-preview { flex: 1; min-width: 0; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; border: .3px solid rgba(0,0,0,.2); border-radius: 16px; background: rgba(255,255,255,.75); }
.preview-building-state { display: flex; align-items: center; gap: 8px; color: rgba(0,0,0,.55); }
.preview-building-state p { margin: 0; font-size: 13px; letter-spacing: -.26px; }
.preview-building-dot { width: 7px; height: 7px; border-radius: 50%; background: #3c63ff; box-shadow: 0 0 0 4px rgba(60,99,255,.1); animation: workingPulse 1.2s ease-in-out infinite; }
.preview-building-state.is-hidden { opacity: 0; transform: scale(.96); transition: opacity 320ms ease, transform 380ms ease; }
.marketing-video { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; background: rgba(255,255,255,.9); opacity: 0; transform: scale(.985); visibility: hidden; transition: opacity 520ms ease, transform 620ms cubic-bezier(.16,1,.3,1), visibility 0s 620ms; }
.marketing-video.is-visible { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.artifact-header { height: 54px; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px 0 20px; }
.artifact-title { min-width: 0; display: flex; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; font-size: 13px; cursor: pointer; }
.artifact-title span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.artifact-title img { width: 10px; height: 10px; flex: none; }
.artifact-download { height: 30px; flex: none; display: flex; align-items: center; gap: 6px; padding: 0 10px; border: .5px solid rgba(0,0,0,.12); border-radius: 9px; background: #fff; color: #000; box-shadow: 0 1px 2px rgba(0,0,0,.04); font-size: 11px; text-decoration: none; transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 150ms ease; }
.artifact-download img { width: 14px; height: 14px; }
.artifact-download:hover { border-color: rgba(60,99,255,.35); box-shadow: 0 3px 10px rgba(60,99,255,.1); }
.artifact-download.is-pressing { transform: scale(.92); background: rgba(60,99,255,.08); }
.artifact-download.is-downloaded { color: #3159e8; border-color: rgba(60,99,255,.2); background: rgba(60,99,255,.07); }
.artifact-stage { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 8px 16px 22px; overflow: hidden; }
.artifact-portrait { width: min(238px, 76%); aspect-ratio: 238 / 373; position: relative; overflow: hidden; border: .5px solid rgba(0,0,0,.12); border-radius: 10px; background: #e7ddff; box-shadow: 0 8px 24px rgba(45,47,90,.08); }
.artifact-portrait > video { width: 100%; height: 100%; display: block; object-fit: cover; cursor: pointer; }
.artifact-play { width: 42px; height: 42px; position: absolute; top: 50%; left: 50%; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); box-shadow: 0 3px 12px rgba(0,0,0,.14); transform: translate(-50%,-50%); transition: opacity 160ms ease; cursor: pointer; }
.artifact-portrait.is-playing .artifact-play { opacity: 0; pointer-events: none; }
.artifact-play img { width: 18px; height: 18px; transform: translateX(1px); }
.artifact-thumbnails { display: flex; justify-content: center; gap: 5px; }
.artifact-thumbnails button { width: 35px; height: 54px; padding: 0; overflow: hidden; border: .5px solid rgba(0,0,0,.16); border-radius: 5px; background: #fff; opacity: .72; cursor: pointer; }
.artifact-thumbnails button.active { border: 1.5px solid #3c63ff; opacity: 1; box-shadow: 0 0 0 2px rgba(60,99,255,.09); }
.artifact-thumbnails img { width: 100%; height: 100%; display: block; object-fit: cover; }
.artifact-thumbnails button:nth-child(2) img { object-position: 35% center; }
.artifact-thumbnails button:nth-child(3) img { object-position: 65% center; }
.artifact-thumbnails button:nth-child(4) img { object-position: 82% center; }
.artifact-modes { height: 54px; flex: none; display: flex; align-items: center; justify-content: center; gap: 2px; border-top: .5px solid rgba(0,0,0,.08); background: rgba(255,255,255,.78); }
.artifact-modes button { min-width: 54px; height: 38px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 2px 10px; border: 0; border-radius: 9px; background: transparent; color: rgba(0,0,0,.5); font-size: 9px; cursor: pointer; }
.artifact-modes button img { width: 15px; height: 15px; opacity: .65; }
.artifact-modes button.active { color: #3c63ff; background: rgba(60,99,255,.08); }
.artifact-modes button.active img { opacity: 1; }
.artifact-modes button.muted { opacity: .35; }
.download-toast { position: absolute; top: 62px; right: 14px; z-index: 4; display: flex; align-items: center; gap: 9px; padding: 9px 11px; border: .5px solid rgba(0,0,0,.12); border-radius: 11px; background: rgba(255,255,255,.96); box-shadow: 0 10px 28px rgba(25,31,61,.14); opacity: 0; transform: translateY(-8px) scale(.96); visibility: hidden; transition: opacity 220ms ease, transform 300ms cubic-bezier(.16,1,.3,1), visibility 0s 300ms; }
.download-toast.is-visible { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.download-toast > span { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: rgba(60,99,255,.1); color: #3c63ff; font-size: 11px; }
.download-toast div { display: flex; flex-direction: column; gap: 1px; }
.download-toast strong { font-size: 10px; line-height: 13px; font-weight: 500; white-space: nowrap; }
.download-toast small { color: rgba(0,0,0,.48); font-size: 9px; line-height: 12px; white-space: nowrap; }
.app-preview { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 18px 34px 24px; background: rgba(255,255,255,.72); opacity: 0; transform: scale(.985); visibility: hidden; transition: opacity 420ms ease, transform 520ms cubic-bezier(.16,1,.3,1), visibility 0s 520ms; }
.app-preview.is-visible { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.app-preview-stack { width: 100%; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.preview-device-selector { height: 34px; display: flex; align-items: center; gap: 6px; padding: 8px 0; border: 0; background: transparent; color: rgba(0,0,0,.6); font: inherit; font-size: 12px; cursor: pointer; }
.preview-device-selector img:first-child { width: 16px; height: 16px; }
.preview-device-selector img:last-child { width: 12px; height: 12px; }
.app-device-shell { width: min(301px,78%); position: relative; flex: none; padding: 8px; border-radius: 52px; }
.app-device-surface { width: 100%; aspect-ratio: 9 / 16; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; border: .3px solid rgba(0,0,0,.2); border-radius: 44.94px; background: rgba(255,255,255,.6); box-shadow: 0 0 57px rgba(0,0,0,.05); }
.app-preview-empty { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px; text-align: center; }
.app-preview-empty > img { width: 24px; height: 24px; }
.app-preview-empty strong { font-size: 16px; font-weight: 300; letter-spacing: -.32px; }
.app-preview-empty p { max-width: 230px; margin: 0; color: rgba(0,0,0,.6); font-size: 12px; line-height: 15px; letter-spacing: -.24px; }
.app-preview-empty button { height: 34px; display: flex; align-items: center; gap: 10px; margin-top: 1px; padding: 0 12px; border: .5px solid rgba(255,255,255,.3); border-radius: 10px; background: linear-gradient(180deg,rgba(60,99,255,.9),#3c63ff); color: #fff; font: inherit; font-size: 12px; box-shadow: 0 1px 5px rgba(0,0,0,.05); }
.app-preview-empty button img { width: 16px; height: 16px; filter: brightness(0) invert(1); }
.cargalibre-preview-image { display: none; }
.app-preview.has-app .app-preview-empty { display: none; }
.app-preview.has-app .app-device-shell { width: min(238px,72%); padding: 0; border-radius: 30px; }
.app-preview.has-app .app-device-surface { aspect-ratio: 328 / 738; border: 0; border-radius: 30px; background: #fff; box-shadow: 0 18px 52px rgba(23,58,29,.14); }
.app-preview.has-app .cargalibre-preview-image { position: absolute; top: -29.27%; left: -20.12%; width: 140.24%; height: auto; max-width: none; display: block; }
.preview-device-controls { display: flex; align-items: flex-start; gap: 12px; margin-top: 12px; }
.preview-platform-toggle { height: 34px; display: flex; align-items: center; border-radius: 10px; background: rgba(0,0,0,.03); }
.preview-platform-toggle button, .preview-media-button { height: 34px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: rgba(0,0,0,.6); font: inherit; font-size: 12px; cursor: pointer; }
.preview-platform-toggle button { width: 34px; padding: 0; }
.preview-platform-toggle button.active { width: auto; padding: 0 10px; border: .5px solid rgba(0,0,0,.1); background: #fff; color: #000; box-shadow: 0 1px 2.5px rgba(0,0,0,.05); }
.preview-platform-toggle img, .preview-media-button img { width: 16px; height: 16px; }
.preview-media-button { background: rgba(0,0,0,.03); }
.app-store-connect { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; overflow: hidden; background: #fff; opacity: 0; transform: scale(.99); visibility: hidden; transition: opacity 460ms ease, transform 520ms cubic-bezier(.16,1,.3,1), visibility 0s 520ms; }
.app-store-connect.is-visible { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.asc-header { height: 58px; flex: none; display: grid; grid-template-columns: minmax(150px,.8fr) minmax(300px,2fr) minmax(150px,.8fr); align-items: center; gap: 14px; padding: 0 24px; border-bottom: .5px solid rgba(0,0,0,.1); background: #f5f5f5; }
.asc-header > strong { display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.asc-apple { width: 17px; height: 17px; }
.asc-apple-glyph { width: 17px; font-family: -apple-system, BlinkMacSystemFont, sans-serif; font-size: 20px; font-weight: 400; line-height: 17px; text-align: center; }
.asc-header nav { height: 100%; display: flex; align-items: center; justify-content: space-around; gap: 12px; color: rgba(0,0,0,.78); font-size: 11px; }
.asc-header nav b { color: #000; font-weight: 550; }
.asc-header > div { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.asc-header > div strong { font-size: 10px; font-weight: 500; }
.asc-header > div small { color: rgba(0,0,0,.5); font-size: 9px; }
.asc-content { flex: 1; padding: 42px 38px; }
.asc-title-row { display: flex; align-items: center; gap: 9px; }
.asc-title-row h2 { margin: 0 4px 0 0; font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -.8px; }
.asc-title-row button { width: 25px; height: 25px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #0a84d8; color: #fff; font: inherit; font-size: 18px; line-height: 1; }
.asc-title-row button:last-child { background: #f3f3f3; color: #0878bd; font-size: 10px; letter-spacing: 1px; }
.asc-divider { height: .5px; margin-top: 18px; background: rgba(0,0,0,.16); }
.asc-app-card { display: grid; grid-template-columns: 96px minmax(0,1fr) 20px; align-items: center; gap: 18px; max-width: 560px; margin-top: 34px; padding: 14px 18px 14px 0; border-radius: 16px; cursor: pointer; transition: background 180ms ease; }
.asc-app-card:hover { background: rgba(0,0,0,.025); }
.cargalibre-app-icon { width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; gap: 4px; border-radius: 22px; background: linear-gradient(145deg,#2f8034,#155b27); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16),0 4px 16px rgba(21,91,39,.18); }
.cargalibre-app-icon span { width: 8px; border-radius: 5px; background: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
.cargalibre-app-icon span:nth-child(1) { height: 20px; opacity: .75; }
.cargalibre-app-icon span:nth-child(2) { height: 33px; }
.cargalibre-app-icon span:nth-child(3) { height: 25px; opacity: .85; }
.asc-app-card > div:nth-child(2) { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.asc-app-card > div > strong { font-size: 19px; font-weight: 600; }
.asc-app-card > div > span { display: flex; align-items: center; gap: 6px; color: #26833d; font-size: 11px; font-weight: 500; }
.asc-app-card > div > span i { width: 7px; height: 7px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 3px rgba(52,199,89,.12); }
.asc-app-card > div > small { color: rgba(0,0,0,.48); font-size: 11px; }
.asc-app-card > b { color: rgba(0,0,0,.28); font-size: 24px; font-weight: 300; }
.interview-campaign { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; overflow: hidden; background: #fbfcfb; opacity: 0; transform: scale(.99); visibility: hidden; transition: opacity 460ms ease, transform 520ms cubic-bezier(.16,1,.3,1), visibility 0s 520ms; }
.interview-campaign.is-visible { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.campaign-header { min-height: 66px; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 24px; border-bottom: .5px solid rgba(0,0,0,.09); background: rgba(255,255,255,.9); }
.campaign-header > div { display: flex; flex-direction: column; gap: 3px; }
.campaign-header strong { font-size: 14px; font-weight: 550; }
.campaign-header small { color: rgba(0,0,0,.45); font-size: 9px; }
.campaign-header > span { height: 28px; display: flex; align-items: center; gap: 7px; padding: 0 10px; border: .5px solid rgba(60,99,255,.14); border-radius: 9px; background: rgba(60,99,255,.06); color: #3159e8; font-size: 9px; }
.campaign-header > span i { width: 7px; height: 7px; border: 1.5px solid rgba(60,99,255,.22); border-top-color: #3c63ff; border-radius: 50%; animation: sessionSpin .8s linear infinite; }
.campaign-header > span.is-complete { border-color: rgba(53,182,111,.18); background: rgba(53,182,111,.08); color: #248450; }
.campaign-header > span.is-complete i { border: 0; background: #35b66f; animation: none; }
.campaign-content { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 14px; padding: 22px 24px; }
.campaign-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; }
.campaign-stats article { min-width: 0; display: flex; flex-direction: column; gap: 3px; padding: 13px; border: .5px solid rgba(0,0,0,.08); border-radius: 12px; background: linear-gradient(125deg,#fff 0%,rgba(230,248,235,.72) 100%); box-shadow: 0 2px 8px rgba(0,0,0,.025); }
.campaign-stats span, .campaign-stats small { color: rgba(0,0,0,.45); font-size: 8px; }
.campaign-stats strong { font-size: 22px; line-height: 24px; font-weight: 550; letter-spacing: -.5px; }
.campaign-email { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 15px; border: .5px solid rgba(0,0,0,.08); border-radius: 13px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.025); }
.campaign-email > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.campaign-email > header > div { display: flex; align-items: center; gap: 9px; }
.campaign-email-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; background: rgba(60,99,255,.08); color: #3159e8; font-size: 13px; }
.campaign-email > header > div > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.campaign-email header strong { font-size: 10px; font-weight: 550; }
.campaign-email header small { color: rgba(0,0,0,.45); font-size: 8px; }
.campaign-email header b { padding: 4px 7px; border-radius: 6px; background: rgba(0,0,0,.045); color: rgba(0,0,0,.5); font-size: 8px; font-weight: 500; }
.campaign-email header b.is-sent { background: rgba(53,182,111,.09); color: #248450; }
.campaign-email-card { width: min(480px,94%); align-self: center; display: flex; flex-direction: column; padding: 11px 14px 14px; border: .5px solid rgba(0,0,0,.1); border-radius: 11px; background: #fdfdfd; box-shadow: 0 8px 24px rgba(0,0,0,.045); }
.email-meta { min-height: 27px; display: grid; grid-template-columns: 48px minmax(0,1fr); align-items: center; border-bottom: .5px solid rgba(0,0,0,.07); }
.email-meta span { color: rgba(0,0,0,.42); font-size: 8px; }
.email-meta strong { overflow: hidden; font-size: 9px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.email-body { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: 14px 4px 2px; }
.email-body p { margin: 0; color: rgba(0,0,0,.66); font-size: 9px; line-height: 14px; }
.email-body p strong { color: #111; }
.email-body button { height: 30px; padding: 0 12px; border: 0; border-radius: 8px; background: #26733b; color: #fff; font: inherit; font-size: 9px; }
.email-body small { color: rgba(0,0,0,.4); font-size: 7px; }
.campaign-progress { display: flex; flex-direction: column; gap: 7px; }
.campaign-progress header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.campaign-progress header strong { font-size: 9px; font-weight: 550; }
.campaign-progress header span { color: rgba(0,0,0,.46); font-size: 8px; }
.campaign-progress > div { height: 7px; overflow: hidden; border-radius: 999px; background: rgba(0,0,0,.06); }
.campaign-progress > div i { width: 8%; height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg,#3c63ff,#35b66f); transition: width 620ms cubic-bezier(.16,1,.3,1); }
.preview-sidebar-icon { position: absolute; top: 12px; right: 12px; width: 16px; height: 16px; }
.marketing-video.is-visible ~ .preview-sidebar-icon, .app-store-connect.is-visible ~ .preview-sidebar-icon, .interview-campaign.is-visible ~ .preview-sidebar-icon { opacity: 0; pointer-events: none; }

@keyframes workingPulse { 50% { transform: scale(.7); opacity: .45; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sessionSpin { to { transform: rotate(360deg); } }
@keyframes analyticsEnter { from { opacity: 0; transform: translateY(8px); } }
@keyframes dashboardSwitch { from { opacity: 0; transform: translateY(5px); } }
@keyframes accountPickerIn { from { opacity: 0; transform: translateY(-5px) scale(.985); } }
@keyframes chartDraw { to { stroke-dashoffset: 0; } }
@keyframes chartFade { to { opacity: 1; } }
@keyframes chartBars { to { opacity: 1; transform: scaleY(1); } }
@keyframes sessionAttention { 50% { background: rgba(60,99,255,.08); box-shadow: inset 0 0 0 .5px rgba(60,99,255,.14); } }
@keyframes newSessionHint { 50% { background: rgba(60,99,255,.08); box-shadow: inset 0 0 0 .5px rgba(60,99,255,.22), 0 4px 18px rgba(60,99,255,.1); } }
@keyframes authStepIn { from { opacity: 0; transform: translateY(6px); } }
@keyframes messagePop { 0% { opacity: 0; transform: translateY(14px) scale(.94); } 68% { opacity: 1; transform: translateY(-2px) scale(1.015); } 100% { opacity: 1; transform: none; } }

@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 980px) {
  body { padding-inline: 10px; }
  .sidebar { width: 214px; flex-basis: 214px; }
  .composer-card { width: min(620px, calc(100% - 20px)); }
  .composer-footer > div { gap: 12px; }
  .workspace-screen { padding-inline: 10px; }
  .workspace-rail { width: 158px; }
  .workspace-chat { width: 395px; padding-inline: 22px; }
  .workspace-composer { left: 18px; right: 18px; }
  .workspace-window.marketing-layout .workspace-rail { width: 176px; }
  .workspace-window.marketing-layout .workspace-chat { width: 300px; padding-inline: 16px; }
  .workspace-window.marketing-layout .workspace-composer { left: 12px; right: 12px; }
  .analytics-page { padding-inline: 28px; }
  .automations-page { padding-inline: 22px; }
  .automations-layout { grid-template-columns: 210px minmax(0,1fr); }
  .analytics-content-grid { grid-template-columns: minmax(0,1.3fr) minmax(190px,.7fr); }
  #tag-filter { display: none; }
  .platform-segment button:nth-child(n+4) { display: none; }
}

@media (max-width: 780px) {
  .app-frame { min-width: 320px; }
  .sidebar { display: none; }
  .stage { border-radius: 14px; }
  .composer-footer > div { gap: 8px; }
  .composer-footer button:first-child { display: none; }
  .starters button:nth-child(2) { display: none; }
  .workspace-window { min-width: 320px; }
  .workspace-rail { display: none; }
  .workspace-chat { width: 52%; padding-inline: 16px; }
  .workspace-preview { padding-inline: 12px; }
  .workspace-window.marketing-layout .workspace-chat { width: 48%; }
  .artifact-portrait { width: min(210px, 82%); }
  .analytics-page { padding: 22px 18px; }
  .automations-page { padding: 22px 18px; }
  .automations-layout { grid-template-columns: 1fr; }
  .automation-task-list { display: none; }
  .compact-segment, .media-segment, .date-filter-group { display: none; }
  .account-picker { width: min(360px,calc(100vw - 48px)); }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  .analytics-content-grid { grid-template-columns: 1fr; }
  .comments-card { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .caret { animation: none; }
  .primary-action, .primary-action img { transition: none; }
  .workspace-screen, .app-frame { transition: none; }
  .working-dot, .preview-building-dot, .build-steps .active i, .session-spinner { animation: none; }
  .sent-message { opacity: 1; transform: none; }
  .sent-message.stream-visible { animation: none; }
  .artifact-download, .download-toast { transition: none; }
  .analytics-page, .automations-page, .account-picker, .account-picker-sync i, .apple-signin-status i, .publish-step.active i, .chart-bars rect, .chart-area, .chart-line, .chart-point, .comment-list article, .session-row.is-attention, .new-session-row.is-suggested { animation: none; transition: none; }
  .chart-bars rect, .chart-area, .chart-point { opacity: 1; transform: none; }
  .chart-line { stroke-dashoffset: 0; }
}
