.sc-workbench {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px 28px;
  align-items: start;
}

.sc-quick-bar {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.sc-quick-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.sc-quick-play {
  min-height: 44px;
  padding: 9px 18px;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-cta);
  transition: background 0.2s var(--ease-spring), transform 0.16s var(--ease-spring);
}

.sc-quick-play:hover {
  background: var(--primary-hover);
}

.sc-quick-sec,
.sc-tone-btn,
.sc-handoff-btn {
  min-height: 44px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--well);
  color: var(--text);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background 0.2s var(--ease-spring), border-color 0.2s var(--ease-spring);
}

.sc-quick-sec:hover,
.sc-tone-btn:hover,
.sc-handoff-btn:hover {
  background: var(--well-hover);
  border-color: var(--primary);
}

.sc-tone-btn[aria-pressed="true"] {
  background: rgba(200, 50, 40, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}

.sc-setup-card {
  grid-column: span 7;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 24px 26px 26px;
  box-shadow: var(--shadow-lg);
  position: relative;
  min-width: 0;
}

.sc-setup-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.sc-dispatch-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Newsreader', ui-serif, serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
}

.sc-kicker svg {
  color: var(--primary);
  flex-shrink: 0;
}

.sc-form-code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  background: var(--well);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 999px;
}

.sc-scenario-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.sc-scenario-pill {
  min-height: 52px;
  padding: 7px 8px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: var(--well);
  color: var(--text);
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  text-align: left;
  transition: background 0.2s var(--ease-spring), border-color 0.2s var(--ease-spring), transform 0.16s var(--ease-spring);
}

.sc-scenario-pill:hover,
.sc-scenario-pill.is-active {
  background: rgba(200, 50, 40, 0.08);
  border-color: var(--primary);
}

.sc-scenario-pill:active {
  transform: translateY(-1px);
}

.sc-scen-thumb {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid var(--surface);
  box-shadow: 0 2px 6px rgba(28, 25, 23, 0.14);
  flex-shrink: 0;
  background: var(--surface);
}

.sc-scen-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

.sc-scen-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.sc-scen-meta strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sc-scenario-pill.is-active .sc-scen-meta strong {
  color: var(--primary);
}

.sc-scen-meta span {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.sc-field-full {
  grid-column: 1 / -1;
}

.sc-field label,
.sc-field-lbl {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.sc-req {
  color: var(--primary);
}

.sc-field input,
.sc-field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--well);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  caret-color: var(--primary);
  transition: border-color 0.2s var(--ease-spring), background 0.2s var(--ease-spring);
}

.sc-field select {
  padding-right: 34px;
  text-overflow: ellipsis;
}

.sc-field input::placeholder {
  color: #5C554E;
  opacity: 1;
}

.sc-field input[aria-invalid="true"] {
  border-color: var(--primary);
  background: rgba(200, 50, 40, 0.05);
}

.sc-field input:focus,
.sc-field select:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  border-color: var(--primary);
  background: var(--surface);
}

.sc-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 3px;
}

.sc-idea-chip {
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--muted);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s var(--ease-spring), border-color 0.18s var(--ease-spring), color 0.18s var(--ease-spring), transform 0.15s var(--ease-spring);
}

.sc-idea-chip:hover,
.sc-idea-chip.is-picked {
  background: rgba(200, 50, 40, 0.08);
  border-color: var(--primary);
  color: var(--primary);
}

.sc-idea-chip:active {
  transform: translateY(-1px);
}

.sc-mood-seg {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.sc-mood-btn {
  min-height: 46px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--well);
  color: var(--text);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background 0.2s var(--ease-spring), border-color 0.2s var(--ease-spring), color 0.2s var(--ease-spring), transform 0.16s var(--ease-spring);
}

.sc-mood-btn svg {
  color: var(--accent);
  flex-shrink: 0;
}

.sc-mood-btn:hover {
  background: var(--well-hover);
}

.sc-mood-btn.is-active {
  background: rgba(200, 50, 40, 0.09);
  border-color: var(--primary);
  color: var(--primary);
}

.sc-mood-btn.is-active svg {
  color: var(--primary);
}

.sc-more-drawer {
  grid-column: 1 / -1;
  border-top: 1px dashed var(--border-strong);
  padding-top: 12px;
}

.sc-more-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 6px 12px;
  border-radius: 12px;
  background: var(--well);
  border: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}

.sc-more-summary::-webkit-details-marker {
  display: none;
}

.sc-opt-badge {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2px 9px;
  border-radius: 999px;
}

.sc-more-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.sc-cta-wrap {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sc-submit-btn {
  width: 100%;
  min-height: 54px;
  padding: 10px 18px;
  border-radius: 14px;
  border: none;
  background: var(--primary);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 16.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-cta);
  transition: background 0.2s var(--ease-spring), transform 0.16s var(--ease-spring);
}

.sc-submit-btn:hover {
  background: var(--primary-hover);
}

.sc-submit-btn:disabled {
  opacity: 0.74;
  cursor: wait;
}

.sc-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--muted);
}

.sc-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sc-trust-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.sc-reopen-row {
  display: flex;
}

.sc-status-banner {
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--well);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.sc-status-banner[data-tone="error"] {
  border-color: var(--primary);
  background: rgba(200, 50, 40, 0.08);
}

.sc-phone-col {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: 86px;
  min-width: 0;
}

.sc-handoff-bar {
  width: 100%;
  max-width: 396px;
  display: flex;
  justify-content: flex-end;
}

.sc-phone-col.is-kid-handoff {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: #0B0D11;
  padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px));
  justify-content: center;
  overflow-y: auto;
}

.sc-phone-col.is-kid-handoff .sc-handoff-bar,
.sc-phone-col.is-kid-handoff .sc-payoff-strip {
  display: none;
}

.sc-iphone-bezel {
  position: relative;
  width: 100%;
  max-width: 396px;
  border-radius: 46px;
  padding: 10px;
  background: linear-gradient(145deg, #3A3D45 0%, #1B1D23 48%, #2C2F37 100%);
  box-shadow: 0 32px 70px -16px rgba(28, 25, 23, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.sc-kid-exit {
  position: absolute;
  top: -44px;
  right: 6px;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(250, 246, 239, 0.24);
  background: rgba(20, 22, 27, 0.85);
  color: rgba(250, 246, 239, 0.85);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  z-index: 4;
}

.sc-iphone {
  width: 100%;
  min-height: 540px;
  background: linear-gradient(180deg, #241915 0%, #15171C 52%, #0E1014 100%);
  border-radius: 38px;
  padding: 14px 20px calc(22px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  color: #FAF6EF;
}

.sc-workshop-ambient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 236px;
  pointer-events: none;
  opacity: 0.22;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 12%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 12%, rgba(0, 0, 0, 0) 100%);
}

.sc-workshop-ambient img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px) saturate(1.1);
  transform: scale(1.08);
  display: block;
}

.sc-statusbar,
.sc-screen-panel {
  position: relative;
  z-index: 1;
}

.sc-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: #FAF6EF;
  margin-bottom: 10px;
}

.sc-clock-time {
  font-variant-numeric: tabular-nums;
  padding-left: 4px;
}

.sc-island {
  background: #07080B;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  padding: 5px 14px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  color: #E8C17A;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.sc-island-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #30D158;
}

.sc-status-icons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-right: 2px;
}

.sc-screen-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sc-caller-head {
  text-align: center;
  margin-top: 6px;
}

.sc-line-tag {
  font-size: 13px;
  color: rgba(250, 246, 239, 0.74);
  margin: 0 0 4px;
}

.sc-caller-name {
  font-family: 'Newsreader', ui-serif, serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: #FAF6EF;
  margin: 0;
}

.sc-recipient-pill {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 13px;
  border-radius: 999px;
  background: rgba(14, 16, 20, 0.62);
  border: 1px solid rgba(232, 193, 122, 0.38);
  font-size: 13px;
  font-weight: 600;
  color: #F3CF8A;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sc-emblem-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 16px 0;
}

.sc-avatar-stage {
  position: relative;
  width: 132px;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(232, 193, 122, 0.44);
  pointer-events: none;
  will-change: transform, opacity;
  animation: scIdleBreathe 3.2s var(--ease-spring) infinite;
}

.sc-pulse-ring-2 {
  animation-delay: 1.6s;
}

.sc-iphone[data-call-state="ringing"] .sc-pulse-ring {
  border-color: rgba(48, 209, 88, 0.65);
  animation: scRingRipple 1.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.sc-iphone[data-call-state="ringing"] .sc-pulse-ring-2 {
  animation-delay: 0.8s;
}

@keyframes scIdleBreathe {
  0% { transform: scale(0.96); opacity: 0.58; }
  70% { transform: scale(1.22); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}

@keyframes scRingRipple {
  0% { transform: scale(0.95); opacity: 0.85; }
  100% { transform: scale(1.38); opacity: 0; }
}

.sc-portrait-frame {
  position: relative;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid #E8C17A;
  background: #231C18;
  z-index: 1;
}

.sc-iphone[data-call-state="ringing"] .sc-portrait-frame {
  animation: scAvatarFloat 1.2s var(--ease-spring) infinite alternate;
}

@keyframes scAvatarFloat {
  0% { transform: scale(1); }
  100% { transform: scale(1.04); }
}

.sc-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.sc-toast-note {
  margin-top: 12px;
  min-height: 22px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  color: #F3CF8A;
  text-align: center;
  padding: 0 8px;
}

.sc-call-actions {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 6px 12px 4px;
}

.sc-round-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.sc-circle-btn {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #FFFFFF;
  transition: transform 0.2s var(--ease-spring);
}

.sc-circle-btn:hover {
  transform: scale(1.05);
}

.sc-btn-decline {
  background: #C83228;
}

.sc-btn-accept {
  background: #248A3D;
}

.sc-btn-accept::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid rgba(48, 209, 88, 0.65);
  pointer-events: none;
  will-change: transform, opacity;
  animation: scAcceptPulse 1.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes scAcceptPulse {
  0% { transform: scale(1); opacity: 0.85; }
  100% { transform: scale(1.28); opacity: 0; }
}

.sc-action-lbl {
  font-size: 13px;
  font-weight: 600;
  color: rgba(250, 246, 239, 0.92);
}

.sc-payoff-strip {
  width: 100%;
  max-width: 396px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sc-payoff-item {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.sc-payoff-action {
  font-family: inherit;
  color: inherit;
  cursor: pointer;
}

.sc-payoff-action:hover {
  border-color: var(--primary);
  background: var(--well);
}

.sc-payoff-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--well);
}

.sc-payoff-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sc-payoff-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sc-payoff-copy strong {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.sc-payoff-copy span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.25;
}

.sc-payoff-copy .sc-payoff-cta {
  color: var(--primary);
  font-weight: 600;
}

.sc-active-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 12px;
  background: rgba(14, 16, 20, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: rgba(250, 246, 239, 0.76);
}

.sc-timer {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: #30D158;
}

.sc-active-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.sc-mini-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid #E8C17A;
  flex-shrink: 0;
}

.sc-mini-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.sc-active-caller-title {
  font-family: 'Newsreader', ui-serif, serif;
  font-size: 22px;
  font-weight: 700;
  color: #FAF6EF;
  margin: 0;
  line-height: 1.15;
}

.sc-captions-box {
  margin: 12px 0;
  padding: 14px;
  border-radius: 16px;
  background: rgba(14, 16, 20, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.12);
  height: 204px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sc-cap-line {
  margin: 0;
  font-size: 15px;
  line-height: 1.52;
  color: rgba(250, 246, 239, 0.44);
}

.sc-cap-line.is-active {
  color: #F3CF8A;
  font-weight: 600;
}

.sc-cap-line.is-spoken {
  color: rgba(250, 246, 239, 0.88);
}

.sc-waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 32px;
  margin: 4px 0 12px;
}

.sc-wave-bar {
  width: 4px;
  height: 26px;
  border-radius: 999px;
  background: #E8C17A;
  opacity: 0.36;
  transform: scaleY(0.28);
  transform-origin: center;
  transition: transform 0.12s linear, opacity 0.12s linear;
}

.sc-iphone[data-speaking="1"] .sc-wave-bar {
  opacity: 0.94;
}

.sc-active-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sc-ctrl-btn {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #FAF6EF;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 10px;
}

.sc-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.sc-ctrl-btn[aria-pressed="true"] {
  border-color: #E8C17A;
  color: #E8C17A;
}

.sc-ctrl-cert {
  background: rgba(232, 193, 122, 0.16);
  border-color: rgba(232, 193, 122, 0.42);
  color: #F3CF8A;
}

.sc-ctrl-end {
  background: #C83228;
  border-color: #C83228;
  color: #FFFFFF;
}

.sc-cert-drawer {
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.sc-cert-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.sc-cert-title {
  font-family: 'Newsreader', ui-serif, serif;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.sc-cert-sub {
  font-size: 14px;
  color: var(--muted);
  margin: 4px 0 0;
}

.sc-cert-pill {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--well);
  border: 1px solid var(--border-strong);
  color: var(--accent);
}

.sc-cert-canvas-wrap {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #FAF6EF;
}

.sc-cert-canvas {
  display: block;
  width: 100%;
  height: auto;
}

.sc-cert-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sc-dl-btn {
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-cta);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sc-dl-btn:hover {
  background: var(--primary-hover);
}

.sc-sec-btn {
  min-height: 48px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.sc-sec-btn:hover {
  background: var(--well);
  color: var(--text);
}

.sc-unlock-btn {
  min-height: 48px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--primary);
  background: rgba(200, 50, 40, 0.08);
  color: var(--primary);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
}

.sc-unlock-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
}

.sc-companion-card {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--well);
  border: 1px solid var(--border-strong);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sc-companion-card strong {
  display: block;
  font-size: 15px;
  color: var(--text);
}

.sc-companion-card p {
  margin: 3px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

.sc-upsell-card {
  margin-top: 20px;
  background: var(--well);
  border: 1.5px solid rgba(200, 50, 40, 0.34);
  border-radius: 22px;
  padding: 22px 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.sc-upsell-copy {
  flex: 1 1 460px;
  min-width: 0;
}

.sc-upsell-kicker {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(200, 50, 40, 0.1);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}

.sc-upsell-title {
  font-family: 'Newsreader', ui-serif, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
}

.sc-upsell-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

.sc-upsell-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.sc-upsell-sub {
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 1060px) {
  .sc-scenario-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .sc-workbench {
    grid-template-columns: minmax(0, 1fr);
  }

  .sc-setup-card,
  .sc-phone-col {
    grid-column: 1 / -1;
  }

  .sc-phone-col {
    position: static;
  }
}

@media (max-width: 720px) {
  .sc-upsell-cta {
    align-items: stretch;
    width: 100%;
  }

  .sc-upsell-cta button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .sc-quick-bar {
    padding: 12px;
  }

  .sc-quick-left,
  .sc-quick-play,
  .sc-quick-sec,
  .sc-tone-btn {
    width: 100%;
    justify-content: center;
  }

  .sc-setup-card,
  .sc-cert-drawer {
    padding: 18px 15px;
  }

  .sc-form-grid,
  .sc-more-grid,
  .sc-mood-seg,
  .sc-payoff-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .sc-iphone-bezel,
  .sc-payoff-strip,
  .sc-handoff-bar {
    max-width: 100%;
  }

  .sc-iphone-bezel {
    border-radius: 38px;
    padding: 8px;
  }

  .sc-iphone {
    min-height: 516px;
    border-radius: 31px;
    padding: 14px 16px 20px;
  }

  .sc-caller-name {
    font-size: 30px;
  }

  .sc-cert-actions > * {
    width: 100%;
    justify-content: center;
  }
}