/* Product refinement: RAIVYN's palette, calm surfaces, deliberate movement. */
:root {
  --radius: 20px;
  --grey-dim: #899183;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --surface-shadow: 0 20px 64px #0003, inset 0 1px 0 #ffffff04;
}
::selection {
  background: #a3e63540;
  color: var(--white);
}
html {
  scrollbar-color: #35412b transparent;
  scrollbar-width: thin;
}
body {
  background: #030404;
}
main {
  max-width: 1600px;
  margin-inline: auto;
  padding-top: 44px;
}
.main-shell {
  min-width: 0;
}
.sidebar {
  background: linear-gradient(180deg, #0b0e0b, #050705 60%);
  padding-top: 30px;
}
.brand {
  letter-spacing: -1.2px;
  font-weight: 700;
}
.workspace-label {
  background: #ffffff03;
  border-radius: 12px;
  margin-top: 30px;
}
.workspace-avatar,
.operator-avatar {
  border-radius: 9px;
  background: linear-gradient(145deg, #202a16, #0b1008);
}
.nav-item {
  position: relative;
  border-radius: 11px;
  min-height: 48px;
  transition:
    background 0.25s,
    color 0.25s,
    box-shadow 0.25s;
}
.nav-item.selected {
  background: linear-gradient(110deg, #a3e63514, #a3e63506);
  box-shadow: inset 2px 0 var(--green);
}
.nav-item:hover .icon {
  transform: translateY(-1px);
}
.nav-item .icon {
  transition: transform 0.25s var(--ease-out);
}
.sidebar-note {
  margin-bottom: 30px;
}
.sidebar-note p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}
.topbar {
  background: #060806d9;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.workspace-connect {
  border-radius: 24px;
  min-height: 40px;
  transition:
    border-color 0.25s,
    background 0.25s;
}
.workspace-connect:hover {
  background: #a3e63509;
}
.environment-tag {
  font-size: 10px;
  letter-spacing: 0.03em;
}
.page-heading {
  gap: 20px;
  align-items: center;
  margin-bottom: 30px;
}
h1 {
  font-weight: 550;
  font-size: clamp(36px, 3.4vw, 50px);
  letter-spacing: -0.055em;
  line-height: 1.15;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 0.17em;
  margin-bottom: 16px;
}
.page-description {
  font-size: 13px;
  line-height: 1.85;
}
.card,
.public-card {
  background: linear-gradient(145deg, #11150f 0%, #0a0d0a 55%, #090c09 100%);
  border-color: #ffffff0d;
  box-shadow: var(--surface-shadow);
}
.studio-grid {
  grid-template-columns: minmax(320px, 0.95fr) minmax(340px, 1.12fr);
  gap: 24px;
}
.call-card {
  padding: 26px 28px 24px;
}
.card-topline {
  position: relative;
  z-index: 1;
}
.pill {
  padding: 7px 10px;
  font-size: 9px;
  background: #ffffff03;
  border-color: #ffffff0a;
}
.section-label {
  font-size: 9px;
  letter-spacing: 0.16em;
}
.agent-stage {
  height: 292px;
  --orb-size: 264px;
  margin: 0 -10px;
}
.agent-orb,
.agent-stage[data-state] .agent-orb {
  width: var(--orb-size);
  height: var(--orb-size);
  margin-top: -12px;
  border-radius: 0;
  background: none;
  box-shadow: none;
  transform: none;
}
.agent-orb::before,
.agent-orb::after,
.orb-halo,
.stage-grid {
  display: none;
}
.orb-canvas {
  inset: -10%;
  width: 120%;
  height: 120%;
}
.orb-caption {
  bottom: 4px;
  color: #9aa88f;
  font-size: 8px;
  letter-spacing: 0.22em;
}
.orb-caption > span {
  background: var(--green);
  opacity: 0.65;
  box-shadow: 0 0 10px #a3e63545;
}
.agent-identity {
  margin-top: 18px;
}
.agent-identity h2 {
  font-size: 24px;
  letter-spacing: -0.045em;
  font-weight: 550;
}
.agent-identity p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--grey);
}
.call-status {
  margin-top: 24px;
  padding: 14px 0;
  border-color: #ffffff0b;
  font-size: 11px;
}
.timer {
  font-variant-numeric: tabular-nums;
  color: #a7b19e;
}
.consent-label {
  font-size: 11px;
  line-height: 1.7;
  padding-block: 0;
  margin-block: 18px;
}
.consent-label input {
  accent-color: var(--green);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.button,
.public-submit {
  border-radius: 11px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.01em;
  min-height: 44px;
  transition:
    background 0.25s,
    border-color 0.25s,
    box-shadow 0.25s,
    transform 0.25s var(--ease-out);
}
.button-primary,
.public-submit {
  background: linear-gradient(130deg, #b3ed57, #a3e635 65%);
  box-shadow:
    inset 0 1px 0 #eaffc94d,
    0 4px 20px #a3e6350c;
}
.button-primary:hover:not(:disabled),
.public-submit:hover:not(:disabled) {
  background: #b8f13d;
  box-shadow: 0 6px 28px #a3e63524;
  transform: translateY(-1px);
}
.button-quiet {
  background: #ffffff03;
  border-color: #ffffff12;
}
.button-quiet:hover:not(:disabled) {
  background: #a3e63509;
  border-color: #a3e63540;
}
.call-buttons {
  gap: 10px;
}
.call-buttons > .button {
  height: 48px;
  font-size: 11px;
}
.icon-button {
  border-radius: 10px;
  min-height: 40px;
  min-width: 40px;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.mute-button {
  height: 48px;
  width: 48px;
  border-color: #ffffff14;
  background: #ffffff03;
}
.call-secondary {
  margin-top: 16px;
  gap: 8px;
}
.call-secondary > span {
  color: #9ca594;
  font-size: 9px;
}
.call-secondary .text-button {
  font-size: 10px;
  min-height: 32px;
}
.transcript-card {
  min-height: 660px;
  max-height: 740px;
}
.transcript-header {
  padding: 28px;
}
.transcript-header h2 {
  font-size: 17px;
  font-weight: 550;
  letter-spacing: -0.035em;
}
.transcript-header p {
  font-size: 11px;
  margin-top: 8px;
}
.transcript-tabs {
  padding-inline: 28px;
  background: #00000014;
}
.transcript-tabs [role="tab"] {
  font-size: 11px;
  min-height: 46px;
  transition: color 0.2s;
}
.transcript-tabs [aria-selected="true"] {
  border-bottom-width: 2px;
}
.transcript-tabs button span {
  border-radius: 5px;
  background: #ffffff07;
}
.conversation-scroll {
  scrollbar-width: thin;
  scrollbar-color: #35412b transparent;
}
.empty-state h3 {
  font-size: 25px;
  font-weight: 450;
  letter-spacing: -0.045em;
}
.empty-state p {
  font-size: 11px;
  line-height: 1.95;
  max-width: 300px;
  margin-inline: auto;
}
.empty-icon {
  width: 60px;
  height: 60px;
  border-radius: 19px;
  background: linear-gradient(145deg, #a3e6350d, #a3e63503);
  border-color: #a3e63520;
  box-shadow: 0 10px 40px #a3e63505;
}
.empty-icon .icon {
  width: 25px;
  height: 25px;
}
.empty-footnote {
  font-size: 9px;
  letter-spacing: 0.025em;
}
.transcript-footer {
  padding: 17px 24px;
  background: #00000014;
  font-size: 9px;
}
.below-studio {
  gap: 24px;
  margin-top: 24px;
}
.pipeline-card {
  background: #0b0e0a;
  border-color: #ffffff0c;
  padding: 24px;
}
.pipeline-heading h2 {
  font-size: 13px;
  font-weight: 550;
}
.pipeline-icon {
  border-radius: 12px;
  background: #a3e63506;
}
.pipeline-step small {
  font-size: 8px;
}
.pipeline-step strong {
  font-size: 12px;
}
.pipeline-step strong span {
  margin-top: 5px;
}
.testing-note {
  border-radius: 16px;
  padding: 20px;
  background: #ffffff02;
  font-size: 11px;
}
.testing-note p {
  line-height: 1.8;
}
.history-card {
  border-radius: 20px;
}
.history-toolbar {
  padding: 22px;
  gap: 14px;
}
.search-field {
  border-radius: 10px;
  min-height: 44px;
}
.history-row {
  transition: background 0.2s;
}
.agent-action {
  border-radius: 14px;
  background: linear-gradient(135deg, #a3e63509, #0c100a);
}
.agent-action .button {
  font-size: 11px;
}
#connection-dialog {
  border-radius: 24px;
  background: linear-gradient(150deg, #151b11, #0a0d09 65%);
  box-shadow:
    0 40px 120px #000b,
    inset 0 1px #ffffff09;
}
#connection-dialog[open] {
  animation: dialog-arrive 0.3s var(--ease-out);
}
#connection-dialog::backdrop {
  background: #000a;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.dialog-icon {
  border-radius: 15px;
}
.token-field {
  border-radius: 10px;
}
.toast {
  border-radius: 13px;
  background: #141b11f5;
  backdrop-filter: blur(20px);
}
.page-footer {
  color: #91998a;
  margin-top: 36px;
  padding-top: 22px;
}
/* Calendar, Sales, and public scheduling use the same material and controls. */
.commerce-card {
  padding: 26px;
}
.commerce-card h2 {
  font-size: 16px;
  font-weight: 550;
}
.commerce-layout {
  gap: 24px;
}
.commerce-layout > aside {
  position: sticky;
  top: 24px;
}
.commerce-form {
  gap: 18px;
}
.commerce-form label {
  font-size: 11px;
  line-height: 1.6;
}
.commerce-form input,
.commerce-form select,
.commerce-form textarea,
.lead-card select {
  border-radius: 10px;
  min-height: 44px;
  background: #050804;
  border-color: #ffffff16;
  padding: 12px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.commerce-form input:hover,
.commerce-form select:hover {
  border-color: #a3e63540;
}
.commerce-form input:focus,
.commerce-form select:focus,
.commerce-form textarea:focus {
  outline: 2px solid #a3e63599;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #a3e63508;
}
.commerce-form input[type="checkbox"] {
  min-height: 16px;
  width: 16px;
  height: 16px;
  padding: 0;
  flex-shrink: 0;
}
.commerce-stats {
  padding: 22px 26px;
  border: 1px solid #ffffff0d;
  border-radius: 18px;
  background: linear-gradient(110deg, #141c0e, #0a0d09 70%);
  gap: 48px;
}
.commerce-stats small {
  font-size: 10px;
}
.commerce-stats strong {
  font-size: 28px;
  letter-spacing: -0.055em;
  margin-top: 10px;
}
.pipeline-board {
  gap: 16px;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: #35412b transparent;
}
.pipeline-column {
  padding: 16px 10px;
  border-top-color: #ffffff16;
}
.pipeline-column h3 {
  letter-spacing: 0.08em;
  font-size: 10px;
}
.lead-card {
  border-radius: 14px;
  background: linear-gradient(145deg, #141a10, #0b0f09);
  padding: 18px;
  box-shadow: 0 8px 24px #0002;
  transition:
    border-color 0.25s,
    transform 0.25s;
}
.lead-card:hover {
  border-color: #a3e63535;
  transform: translateY(-2px);
}
#booking-calendar {
  --fc-border-color: #ffffff0c;
  --fc-today-bg-color: #a3e63505;
}
#booking-calendar .fc-toolbar {
  gap: 12px;
}
#booking-calendar .fc-button {
  border-radius: 8px;
  padding: 9px 10px;
  font-size: 10px;
  box-shadow: none;
}
#booking-calendar .fc-button-active {
  color: var(--green);
}
#booking-calendar .fc-toolbar-title {
  font-size: 20px;
  font-weight: 500;
}
#booking-calendar .fc-daygrid-day-number {
  font-size: 11px;
  padding: 10px;
}
#booking-calendar .fc-day-today .fc-daygrid-day-number {
  color: var(--green);
}
#booking-calendar .fc-event {
  border-radius: 5px;
  padding: 3px 5px;
  font-size: 10px;
}
#booking-calendar .fc-col-header-cell-cushion {
  font-size: 9px;
  padding: 14px 4px;
}
.booking-public {
  background:
    radial-gradient(ellipse at 85% 0%, #a3e63509, transparent 40%), #030404;
}
.public-shell {
  max-width: 1160px;
}
.public-brand {
  padding-bottom: 26px;
  border-bottom: 1px solid #ffffff0c;
}
.public-intro {
  padding: 64px 0 36px;
}
.public-intro h1 {
  font-weight: 550;
  font-size: clamp(36px, 4.8vw, 60px);
  letter-spacing: -0.055em;
}
.public-intro p {
  font-size: 13px;
  max-width: 650px;
}
.public-grid {
  gap: 24px;
  align-items: start;
}
.public-card {
  padding: 30px;
  border-radius: 20px;
}
.public-card h2 {
  font-weight: 550;
  font-size: 15px;
}
.public-slots {
  gap: 10px;
}
.slot-button {
  border-radius: 10px;
  min-height: 44px;
  font-size: 11px;
  border-color: #ffffff1c;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.slot-button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: #a3e63580;
}
.slot-button[aria-pressed="true"] {
  box-shadow: 0 0 0 3px #a3e63514;
}
.public-foot {
  font-size: 11px;
}
.public-success {
  border-radius: 16px;
  background: #a3e63505;
}
.booking-public a:focus-visible,
.booking-public button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}
@keyframes surface-arrive {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes dialog-arrive {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (prefers-reduced-motion: no-preference) {
  main > section:not([hidden]) > .page-heading {
    animation: surface-arrive 0.5s var(--ease-out) both;
  }
  main > section:not([hidden]) > .studio-grid,
  main > section:not([hidden]) > .commerce-layout,
  .public-grid {
    animation: surface-arrive 0.65s 0.05s var(--ease-out) both;
  }
  .message {
    animation: surface-arrive 0.25s var(--ease-out);
  }
}
@media (max-width: 1200px) {
  .call-card {
    padding: 24px 22px;
  }
  .agent-stage {
    --orb-size: 236px;
    height: 280px;
  }
  .studio-grid {
    gap: 18px;
  }
  .commerce-card {
    padding: 22px;
  }
}
@media (max-width: 1100px) {
  .commerce-layout > aside {
    position: static;
  }
}
@media (max-width: 960px) and (min-width: 761px) {
  .studio-grid {
    grid-template-columns: minmax(290px, 0.95fr) minmax(300px, 1fr);
    gap: 16px;
  }
  .call-card {
    padding: 22px 18px;
  }
  .agent-stage {
    --orb-size: 220px;
  }
  .call-buttons > .button {
    font-size: 10px;
  }
  .saved-label {
    display: none;
  }
  .transcript-header {
    padding: 24px 20px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    background: #080c08eb;
    padding-top: 0;
  }
  .sidebar .nav-item.selected {
    box-shadow: inset 0 2px var(--green);
    background: linear-gradient(180deg, #a3e6350c, transparent);
  }
  .sidebar .nav-item {
    min-height: 68px;
  }
  .workspace-connect {
    min-height: 40px;
    border-radius: 22px;
    padding-inline: 12px;
  }
  .topbar {
    padding-inline: 20px;
  }
  main {
    padding: 30px 20px 0;
  }
  h1 {
    font-size: 36px;
  }
  .page-heading {
    margin-bottom: 26px;
  }
  .studio-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .call-card {
    padding: 24px;
  }
  .agent-stage {
    --orb-size: 224px;
    height: 224px;
  }
  .agent-identity {
    margin-top: 14px;
  }
  .call-status {
    margin-top: 20px;
  }
  .transcript-card {
    min-height: 470px;
    max-height: 660px;
  }
  .transcript-header {
    padding: 24px;
  }
  .transcript-tabs {
    padding-inline: 24px;
  }
  .below-studio {
    gap: 20px;
  }
  .commerce-stats {
    gap: 28px;
    padding: 20px;
  }
  .commerce-stats strong {
    font-size: 25px;
  }
  .public-shell {
    padding: 26px 20px;
  }
  .public-brand {
    padding-bottom: 22px;
  }
  .public-intro {
    padding-top: 42px;
  }
  .public-intro h1 {
    font-size: 38px;
  }
  .public-card {
    padding: 24px;
  }
}
@media (max-width: 380px) {
  main {
    padding-inline: 16px;
  }
  .topbar {
    padding-inline: 16px;
  }
  .topbar-actions {
    gap: 6px;
  }
  .workspace-connect {
    font-size: 8px;
    padding-inline: 10px;
  }
  .call-card {
    padding: 22px 18px;
  }
  .agent-stage {
    --orb-size: 214px;
    height: 214px;
  }
  .agent-identity p {
    font-size: 11px;
  }
  .public-card {
    padding: 20px;
  }
  .public-intro h1 {
    font-size: 34px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.orb-motion-button {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #9aa88f;
  background: transparent;
  cursor: pointer;
  transition:
    color 0.2s,
    background 0.2s;
}
.orb-motion-button:hover:not(:disabled) {
  color: var(--green);
  background: #a3e63508;
}
.orb-motion-button .icon {
  width: 16px;
  height: 16px;
}
.motion-play {
  display: none;
}
.orb-motion-button[aria-pressed="true"] .motion-play {
  display: block;
}
.orb-motion-button[aria-pressed="true"] .motion-pause {
  display: none;
}
.selected-time {
  display: grid;
  gap: 8px;
  padding: 18px;
  margin-block: 20px;
  border: 1px solid #a3e63533;
  border-radius: 13px;
  background: #a3e63506;
}
.selected-time small {
  color: var(--green);
  font-size: 8px;
  letter-spacing: 0.15em;
}
.selected-time strong {
  font-size: 13px;
  font-weight: 550;
  line-height: 1.8;
}
.selected-time span {
  color: var(--grey);
  font-size: 11px;
}
.public-slots[aria-busy="true"] {
  min-height: 90px;
  border-radius: 12px;
  background: linear-gradient(
    110deg,
    #a3e63503 20%,
    #a3e6350b 50%,
    #a3e63503 80%
  );
  background-size: 200% 100%;
}
@media (prefers-reduced-motion: no-preference) {
  .public-slots[aria-busy="true"] {
    animation: slot-loading 1.5s ease-in-out infinite;
  }
  .selected-time:not([hidden]) {
    animation: surface-arrive 0.25s var(--ease-out);
  }
}
@keyframes slot-loading {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -100% 0;
  }
}
@media (max-width: 760px) {
  .agent-identity {
    margin-top: 12px;
    margin-bottom: 16px;
  }
  .call-status {
    margin-top: 16px;
    padding-block: 12px;
  }
  .call-secondary {
    margin-top: 8px;
    padding-top: 4px;
  }
}
/* BrandScript: a visible plan and STRYKE-only product identity. */
.page-heading > div {
  min-width: 0;
}
.brand-plan-card {
  padding: 26px;
}
.brand-plan-card h2 {
  font-size: 14px;
  font-weight: 550;
}
.brand-plan {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.brand-plan li {
  min-width: 0;
}
.brand-plan li > span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #a3e63526;
  background: #a3e63508;
  border-radius: 9px;
  color: var(--green);
  font-size: 9px;
  margin-bottom: 14px;
}
.brand-plan strong {
  display: block;
  font-size: 11px;
  line-height: 1.6;
  font-weight: 600;
}
.brand-plan p {
  font-size: 10px;
  line-height: 1.9;
  color: var(--grey);
  margin: 8px 0 0;
}
.booking-plan {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  padding: 0;
  margin: 28px 0 0;
}
.booking-plan li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--grey);
  font-size: 10px;
}
.booking-plan span {
  color: var(--green);
  font-size: 9px;
}
@media (max-width: 1200px) and (min-width: 761px) {
  .brand-plan {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .brand-plan li {
    display: flex;
    gap: 12px;
  }
  .brand-plan li > span {
    flex-shrink: 0;
    margin: 0;
  }
  .brand-plan p {
    margin-top: 4px;
  }
}
@media (max-width: 760px) {
  #studio-heading {
    font-size: clamp(26px, 7.6vw, 32px);
    max-width: none;
  }
  #studio-view .page-description {
    font-size: 11px;
    line-height: 1.8;
  }
  #studio-view .page-heading {
    margin-bottom: 22px;
  }
  .agent-stage {
    height: 224px;
    --orb-size: 224px;
  }
  .agent-identity p {
    font-size: 11px;
  }
  .brand-plan {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .brand-plan li {
    display: flex;
    gap: 14px;
  }
  .brand-plan li > span {
    flex-shrink: 0;
    margin: 0;
  }
  .brand-plan strong {
    font-size: 12px;
  }
  .brand-plan p {
    font-size: 11px;
    margin-top: 5px;
  }
}

.brand-plan-heading h2 {
  margin: 0;
}
@media (max-width: 760px) {
  .booking-plan {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .booking-plan li {
    display: block;
    font-size: 10px;
    line-height: 1.7;
  }
  .booking-plan span {
    display: block;
    margin-bottom: 7px;
  }
}
