@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Security Assessment — Light premium theme */
.sa-container {
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  background: #fafafa;
  color: #1e293b;
  position: relative;
  overflow-x: hidden
}
.sa-bg-gradient {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(246, 150, 29, .06), transparent 60%);
  pointer-events: none;
  z-index: 0
}
.sa-bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(0, 0, 0, .02) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, .02) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0
}
.sa-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, .85);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  padding: 1rem 2rem
}
.sa-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between
}
.sa-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: #1e293b
}
.sa-logo-text {
  background: linear-gradient(135deg, #f6961d, #e88c18);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent
}
.sa-progress-bar {
  flex: 1;
  max-width: 300px;
  height: 4px;
  background: rgba(0, 0, 0, .06);
  border-radius: 2px;
  overflow: hidden;
  margin-left: 2rem
}
.sa-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #f6961d, #e88c18);
  border-radius: 2px;
  transition: width .6s ease
}
.sa-main {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem
}
.sa-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
  color: #dc2626
}
.sa-error-dismiss {
  background: none;
  border: none;
  color: #dc2626;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0 .25rem
}
.sa-step {
  animation: sa-fade-in .5s cubic-bezier(.16, 1, .3, 1)
}
@keyframes sa-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}
.sa-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.1rem
}
.sa-back-btn {
  background: none;
  border: 1px solid #e2e8f0;
  color: #64748b;
  padding: .5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: .875rem;
  transition: all .2s
}
.sa-back-btn:hover {
  border-color: #f6961d;
  color: #f6961d
}
.sa-step-badge {
  font-size: .75rem;
  color: #64748b;
  background: #f1f5f9;
  padding: .375rem .75rem;
  border-radius: 20px;
  font-weight: 500
}
/* Landing */
.sa-landing {
  text-align: center;
  padding-top: 1rem
}
.sa-hero {
  display: flex;
  flex-direction: column;
  align-items: center
}
.sa-hero-logo {
  height: 2.5rem;
  width: auto;
  margin-bottom: 1.5rem;
  opacity: .9
}
.sa-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(246, 150, 29, .08);
  border: 1px solid rgba(246, 150, 29, .15);
  color: #c2710e;
  padding: .5rem 1.25rem;
  border-radius: 24px;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: .02em
}
.sa-hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f6961d;
  animation: sa-pulse 2s infinite
}
@keyframes sa-pulse {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .3
  }
}
.sa-hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  color: #0f172a;
  letter-spacing: -.02em
}
.sa-hero-highlight {
  background: linear-gradient(135deg, #f6961d, #e67e00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent
}
.sa-hero-subtitle {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 480px
}
.sa-blob-container {
  margin: 1rem 0 2rem;
  position: relative
}
.sa-blob-container .harold-blob {
  margin: 0 auto
}
.sa-domain-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 480px
}
.sa-domain-input-wrap {
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 0 1.25rem;
  width: 100%;
  transition: all .2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04)
}
.sa-domain-input-wrap:focus-within {
  border-color: #f6961d;
  box-shadow: 0 0 0 4px rgba(246, 150, 29, .08), 0 4px 12px rgba(0, 0, 0, .06)
}
.sa-domain-prefix {
  color: #94a3b8;
  font-size: .875rem;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  font-weight: 500
}
.sa-domain-input {
  flex: 1;
  background: none;
  border: none;
  color: #0f172a;
  padding: 1rem .5rem;
  font-size: 1rem;
  outline: none;
  font-weight: 500
}
.sa-domain-input::-moz-placeholder {
  color: #cbd5e1
}
.sa-domain-input::placeholder {
  color: #cbd5e1
}
.sa-domain-submit {
  background: linear-gradient(135deg, #f6961d, #e88c18);
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .75rem;
  transition: all .25s;
  width: 100%;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(246, 150, 29, .25)
}
.sa-domain-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(246, 150, 29, .35)
}
.sa-domain-submit:disabled {
  opacity: .35;
  cursor: not-allowed;
  box-shadow: none
}
.sa-btn-arrow {
  transition: transform .2s;
  font-size: 1.1rem
}
.sa-domain-submit:hover .sa-btn-arrow {
  transform: translateX(4px)
}
.sa-hero-note {
  font-size: .8rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: .5rem;
  justify-content: center
}
/* Trust strip — what the assessment does */
<<<<<<< HEAD .sa-trust-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-top: 2rem;
  max-width: 620px;
  width: 100%
}
.sa-trust-item {
  display: flex;
  gap: .875rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, .025);
  border: 1px solid rgba(15, 23, 42, .06);
  transition: all .3s;
  text-align: left;
  cursor: default
}
.sa-trust-item:hover {
  background: rgba(15, 23, 42, .04);
  border-color: rgba(15, 23, 42, .1);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .04)
}
.sa-trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}
.sa-trust-icon-blue {
  background: rgba(59, 130, 246, .08);
  color: #3b82f6
}
.sa-trust-icon-green {
  background: rgba(34, 197, 94, .08);
  color: #16a34a
}
.sa-trust-icon-red {
  background: rgba(239, 68, 68, .08);
  color: #ef4444
}
.sa-trust-icon-orange {
  background: rgba(246, 150, 29, .08);
  color: #f6961d
}
.sa-trust-detail {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0
}
.sa-trust-value {
  font-weight: 700;
  font-size: .8rem;
  color: #1e293b;
  letter-spacing: -.01em;
  line-height: 1.3
}
.sa-trust-label {
  font-size: .7rem;
  color: #64748b;
  line-height: 1.45
}
@media(max-width:640px) {
  .sa-trust-strip {
    grid-template-columns: 1fr
  }
}
=======.sa-trust-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
  max-width: 600px;
  width: 100%
}
.sa-trust-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
  transition: all .3s;
  text-align: left
}
.sa-trust-item:hover {
  background: rgba(255, 255, 255, .9);
  border-color: rgba(246, 150, 29, .3);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .06)
}
.sa-trust-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px
}
.sa-trust-detail {
  display: flex;
  flex-direction: column;
  gap: 4px
}
.sa-trust-value {
  font-weight: 700;
  font-size: .85rem;
  color: #1e293b;
  letter-spacing: -.01em
}
.sa-trust-label {
  font-size: .72rem;
  color: #64748b;
  line-height: 1.4
}
@media(max-width:640px) {
  .sa-trust-strip {
    grid-template-columns: 1fr
  }
}
>>>>>>>97470002

/* ── Landing Consent Checkboxes ─────────────────────────────── */
.sa-landing-consent {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: 1rem;
  margin-bottom: .5rem;
  max-width: 480px;
  width: 100%
}
.sa-landing-consent-tick {
  display: flex;
  align-items: center;
  gap: .75rem;
  cursor: pointer;
  padding: .625rem 1rem;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  background: rgba(255, 255, 255, .5);
  transition: all .2s;
  font-size: .8rem;
  color: #475569
}
.sa-landing-consent-tick:hover {
  background: rgba(255, 255, 255, .8);
  border-color: #cbd5e1
}
.sa-landing-consent-active {
  border-color: #f6961d40;
  background: #fffbf5
}
.sa-landing-consent-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 500
}
.sa-landing-consent-required {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #f6961d;
  background: #fef3c7;
  padding: .125rem .375rem;
  border-radius: 4px
}
.sa-landing-consent-optional {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #94a3b8;
  background: #f1f5f9;
  padding: .125rem .375rem;
  border-radius: 4px
}
/* ── Confirm buttons inline in chat ─────────────────────────── */
.sa-confirm-inline {
  display: flex;
  gap: .75rem;
  padding: .25rem 0;
  width: 100%
}
.sa-chat-msg.sa-chat-msg-system {
  width: 100%
}
/* ── Voice / Text choice buttons ────────────────────────────── */
.sa-voice-choice {
  display: flex;
  gap: .75rem;
  padding: .25rem 0
}
.sa-voice-choice-btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: 12px;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  border: 2px solid #e2e8f0
}
.sa-voice-choice-voice {
  background: linear-gradient(135deg, #f6961d, #e88c18);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(246, 150, 29, .25)
}
.sa-voice-choice-voice:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(246, 150, 29, .35)
}
.sa-voice-choice-text {
  background: #fff;
  color: #475569;
  border-color: #e2e8f0
}
.sa-voice-choice-text:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-2px)
}
/* ── Inspection truncation label ────────────────────────────── */
.sa-inspect-more {
  font-size: .7rem;
  color: #94a3b8;
  font-style: italic;
  padding: .5rem 0 0;
  text-align: center
}
/* ── Risk Tree Visualisation ──────────────────────────────── */
.sa-risk-tree {
  margin-top: 4rem;
  margin-bottom: 3rem
}
.sa-tree-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .375rem;
  color: #1e293b;
  letter-spacing: -.02em
}
.sa-tree-subtitle {
  font-size: .8rem;
  color: #94a3b8;
  margin-bottom: 2rem
}
/* Trunk container */
.sa-tree-trunk {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 1rem 0;
  max-width: 600px;
  margin: 0 auto
}
/* Central vertical spine */
.sa-tree-spine {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #f6961d22, #f6961d88, #f6961d22);
  border-radius: 2px;
  transform: translateX(-50%)
}
/* Branch row */
.sa-tree-branch {
  position: relative;
  display: flex;
  align-items: center;
  padding: .625rem 0;
  animation: sa-branch-appear .5s cubic-bezier(.16, 1, .3, 1) var(--branch-delay) both
}
@keyframes sa-branch-appear {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: none
  }
}
/* Left branches: node on left, connector goes right to spine */
.sa-tree-left {
  flex-direction: row;
  padding-right: calc(50% + 1.5rem);
  justify-content: flex-end
}
.sa-tree-right {
  flex-direction: row-reverse;
  padding-left: calc(50% + 1.5rem);
  justify-content: flex-end
}
/* Horizontal connector line */
.sa-tree-connector {
  width: 2.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--branch-colour, #94a3b8)44, transparent);
  flex-shrink: 0
}
.sa-tree-right .sa-tree-connector {
  background: linear-gradient(270deg, var(--branch-colour, #94a3b8)44, transparent)
}
/* Node card */
.sa-tree-node {
  display: flex;
  align-items: center;
  gap: .625rem;
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, .7);
  padding: .625rem 1.125rem;
  border-radius: 12px;
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .03), inset 0 1px 0 rgba(255, 255, 255, .5);
  cursor: default;
  position: relative
}
.sa-tree-node:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--branch-colour) 15%, transparent), 0 2px 8px rgba(0, 0, 0, .04);
  border-color: color-mix(in srgb, var(--branch-colour) 30%, rgba(255, 255, 255, .7));
  background: rgba(255, 255, 255, .8)
}
/* Glowing dot on the spine where branch meets */
.sa-tree-node-dot {
  display: none
}
.sa-tree-branch::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--branch-colour);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px color-mix(in srgb, var(--branch-colour) 50%, transparent);
  z-index: 2
}
.sa-tree-node-icon {
  width: 18px;
  height: 18px;
  color: var(--branch-colour);
  flex-shrink: 0
}
.sa-tree-node-label {
  font-size: .825rem;
  font-weight: 600;
  color: #334155;
  white-space: nowrap
}
/* ── Risk Domains Orbit ──────────────────────────────────── */
.sa-domains-orbit {
  margin-top: 2.5rem;
  text-align: center
}
.sa-orbit-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: #94a3b8;
  margin-bottom: 1.25rem
}
.sa-orbit-ring {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 480px;
  margin: 0 auto
}
.sa-orbit-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .375rem;
  animation: sa-orbit-pop .4s cubic-bezier(.16, 1, .3, 1) both
}
@keyframes sa-orbit-pop {
  from {
    opacity: 0;
    transform: scale(.8)
  }

  to {
    opacity: 1;
    transform: none
  }
}
.sa-orbit-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .7);
  border: 2px solid color-mix(in srgb, var(--orbit-colour) 25%, rgba(255, 255, 255, .8));
  color: var(--orbit-colour);
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
  box-shadow: 0 2px 12px color-mix(in srgb, var(--orbit-colour) 8%, transparent)
}
.sa-orbit-dot:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 20px color-mix(in srgb, var(--orbit-colour) 20%, transparent);
  border-color: color-mix(in srgb, var(--orbit-colour) 50%, rgba(255, 255, 255, .8));
  background: rgba(255, 255, 255, .9)
}
.sa-orbit-name {
  font-size: .7rem;
  font-weight: 600;
  color: #475569;
  letter-spacing: .02em
}
/* ── Old classes kept for compat (unused but harmless) ──── */
.sa-layers-preview {
  margin-top: 4rem;
  margin-bottom: 3rem
}
.sa-layers-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: .375rem;
  color: #475569;
  letter-spacing: -.01em
}
.sa-layers-subtitle {
  font-size: .8rem;
  color: #94a3b8;
  margin-bottom: 1.25rem
}
/* Harold */
.sa-harold-intro {
  display: flex;
  gap: 1.5rem;
  background: rgba(255, 255, 255, .5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 20px;
  padding: 2rem;
  text-align: left;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .03), inset 0 1px 0 rgba(255, 255, 255, .6)
}
.sa-harold-inline {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background: #fffbf5;
  border: 1px solid rgba(246, 150, 29, .1);
  border-radius: 12px;
  padding: 1.25rem
}
.sa-harold-mini {
  width: 32px;
  height: 32px;
  flex-shrink: 0
}
.sa-harold-say {
  color: #64748b;
  font-size: .9rem;
  font-style: italic;
  line-height: 1.5
}
/* Form */
.sa-form {
  text-align: left
}
.sa-form-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #0f172a;
  letter-spacing: -.01em
}
.sa-field {
  margin-bottom: 1.25rem
}
.sa-field-highlight {
  background: #fffbf5;
  border: 1px solid rgba(246, 150, 29, .12);
  border-radius: 12px;
  padding: 1.25rem
}
.sa-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem
}
.sa-label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: .5rem;
  text-transform: uppercase;
  letter-spacing: .06em
}
.sa-required {
  color: #f6961d
}
.sa-input,
.sa-select {
  width: 100%;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: .75rem 1rem;
  color: #0f172a;
  font-size: .925rem;
  outline: none;
  transition: all .2s;
  font-family: inherit
}
.sa-input:focus,
.sa-select:focus {
  border-color: #f6961d;
  box-shadow: 0 0 0 4px rgba(246, 150, 29, .06)
}
.sa-input-error {
  border-color: #ef4444 !important
}
.sa-field-error {
  color: #dc2626;
  font-size: .8rem;
  margin-top: .375rem
}
.sa-field-hint {
  color: #94a3b8;
  font-size: .75rem;
  margin-top: .375rem
}
.sa-select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center
}
.sa-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem
}
.sa-chip {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  color: #64748b;
  padding: .5rem 1rem;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s
}
.sa-chip:hover {
  border-color: rgba(246, 150, 29, .4)
}
.sa-chip-active {
  background: rgba(246, 150, 29, .08) !important;
  border-color: #f6961d !important;
  color: #c2710e !important
}
.sa-chip-selected {
  background: rgba(246, 150, 29, .1);
  border-color: #f6961d;
  color: #c2710e;
  box-shadow: 0 0 0 1px rgba(246, 150, 29, .2)
}
.sa-chip-confirm {
  width: 100%;
  margin-top: .5rem;
  background: linear-gradient(135deg, #f6961d, #e88c18);
  color: #fff;
  border: none;
  padding: .65rem 1.25rem;
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  letter-spacing: .01em
}
.sa-chip-confirm:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(246, 150, 29, .3)
}
.sa-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #f6961d, #e88c18);
  color: #fff;
  border: none;
  padding: 1rem;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-top: 1.5rem;
  transition: all .25s;
  box-shadow: 0 4px 14px rgba(246, 150, 29, .25)
}
.sa-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(246, 150, 29, .35)
}
.sa-submit-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
  box-shadow: none
}
/* Consent */
.sa-consent-form {
  text-align: left
}
.sa-consent-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .03)
}
.sa-consent-heading {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #334155
}
.sa-consent-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem
}
.sa-consent-list li {
  font-size: .875rem;
  color: #64748b;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: .5rem
}
.sa-consent-tick {
  display: flex;
  gap: 1rem;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all .2s;
  margin-bottom: 1rem
}
.sa-consent-tick:hover {
  border-color: rgba(246, 150, 29, .3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04)
}
.sa-consent-tick-active {
  border-color: #f6961d;
  background: #fffbf5
}
.sa-checkbox {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: .125rem;
  accent-color: #f6961d
}
.sa-consent-tick-label {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #f6961d;
  margin-bottom: .25rem;
  display: block
}
.sa-consent-tick-optional {
  color: #94a3b8
}
.sa-consent-tick-text {
  font-size: .85rem;
  color: #64748b;
  line-height: 1.5
}
/* Quiz */
.sa-quiz-progress {
  height: 3px;
  background: #f1f5f9;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 2rem
}
.sa-quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #f6961d, #f59e0b);
  transition: width .5s ease
}
.sa-layer-indicator {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid color-mix(in srgb, var(--layer-colour) 20%, #e2e8f0);
  background: color-mix(in srgb, var(--layer-colour) 5%, #fff);
  padding: .5rem 1rem;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 1.5rem
}
.sa-layer-indicator-name {
  color: var(--layer-colour)
}
.sa-quiz-question {
  transition: all .4s cubic-bezier(.16, 1, .3, 1);
  opacity: 0;
  transform: translateY(24px)
}
.sa-quiz-question-visible {
  opacity: 1;
  transform: translateY(0)
}
.sa-harold-bubble {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem
}
.sa-harold-bubble-content {
  background: #fffbf5;
  border: 1px solid rgba(246, 150, 29, .1);
  border-radius: 0 14px 14px 14px;
  padding: 1rem 1.25rem
}
.sa-harold-bubble-text {
  color: #64748b;
  font-size: .9rem;
  line-height: 1.5;
  font-style: italic
}
.sa-quiz-question-text {
  font-size: 1.375rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  letter-spacing: -.01em
}
.sa-quiz-options {
  display: flex;
  flex-direction: column;
  gap: .625rem
}
.sa-quiz-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 2px solid #f1f5f9;
  border-radius: 14px;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: all .25s;
  text-align: left;
  color: #334155;
  font-size: .925rem;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .02)
}
.sa-quiz-option:hover:not(:disabled) {
  border-color: #f6961d;
  background: #fffbf5;
  transform: translateX(6px);
  box-shadow: 0 4px 16px rgba(246, 150, 29, .08)
}
.sa-quiz-option-arrow {
  color: #cbd5e1;
  transition: all .2s
}
.sa-quiz-option:hover .sa-quiz-option-arrow {
  color: #f6961d;
  transform: translateX(4px)
}
.sa-quiz-dots {
  display: flex;
  gap: 5px;
  justify-content: center;
  margin-top: 3rem
}
.sa-quiz-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transition: all .3s
}
.sa-quiz-dot-done {
  background: var(--dot-colour);
  opacity: .7
}
.sa-quiz-dot-current {
  background: var(--dot-colour);
  box-shadow: 0 0 10px color-mix(in srgb, var(--dot-colour) 50%, transparent);
  transform: scale(1.4)
}
.sa-quiz-dot-pending {
  background: #e2e8f0
}
/* Scanning */
.sa-scan-layout {
  display: flex;
  gap: 0;
  min-height: calc(100vh - 280px)
}
.sa-scanning-container {
  flex: 1;
  text-align: center;
  padding-top: 2rem;
  min-width: 0
}
.sa-scanning-blob {
  margin: 0 auto 1.5rem;
  display: flex;
  justify-content: center
}
.sa-scanning-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: .5rem;
  letter-spacing: -.01em
}
.sa-scanning-domain {
  color: #f6961d
}
.sa-scanning-harold-text {
  color: #64748b;
  font-style: italic;
  margin-bottom: 2rem;
  min-height: 1.5em;
  font-size: .95rem
}
.sa-scanning-progress {
  height: 6px;
  background: #f1f5f9;
  border-radius: 3px;
  overflow: hidden;
  max-width: 400px;
  margin: 0 auto 1rem
}
.sa-scanning-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #f6961d, #f59e0b);
  border-radius: 3px;
  transition: width 1s ease
}
.sa-scanning-percent {
  font-size: 2.5rem;
  font-weight: 800;
  color: #f6961d;
  margin-bottom: .5rem;
  letter-spacing: -.02em
}
.sa-scanning-phase {
  font-size: .8rem;
  color: #94a3b8;
  margin-bottom: 2rem;
  font-weight: 500
}
.sa-scanning-layers {
  display: flex;
  flex-direction: column;
  gap: .375rem;
  max-width: 380px;
  margin: 0 auto 2rem;
  text-align: left
}
.sa-scanning-layer {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem .75rem;
  border-radius: 8px;
  font-size: .8rem;
  color: #94a3b8;
  transition: all .3s
}
.sa-scanning-layer-active {
  color: #0f172a;
  background: rgba(246, 150, 29, .04);
  font-weight: 500
}
.sa-scanning-layer-done {
  color: #16a34a
}
.sa-scanning-layer-name {
  flex: 1
}
.sa-scanning-layer-status {
  font-weight: 600
}
/* Layer spinners */
.sa-layer-spinner {
  animation: sa-spin 4s linear infinite;
  color: #cbd5e1
}
.sa-layer-spinner-active {
  animation-duration: 1s;
  color: #f6961d
}
.sa-layer-spinner-idle {
  opacity: .4
}
@keyframes sa-spin {
  from {
    transform: rotate(0deg)
  }

  to {
    transform: rotate(360deg)
  }
}
.sa-scanning-log {
  max-width: 560px;
  margin: 1rem auto 0;
  display: flex;
  flex-direction: column;
  gap: .375rem;
  max-height: 260px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: .5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, .06) transparent
}
.sa-scanning-log::-webkit-scrollbar {
  width: 3px
}
.sa-scanning-log::-webkit-scrollbar-track {
  background: transparent
}
.sa-scanning-log::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, .08);
  border-radius: 3px
}
.sa-scanning-log-card {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .5rem .75rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, .04);
  border-left: 3px solid #94a3b8;
  font-size: .75rem;
  color: #475569;
  transition: all .2s;
  position: relative;
  overflow: hidden
}
.sa-scanning-log-card:hover {
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06)
}
.sa-scanning-log-info {
  border-left-color: #94a3b8
}
.sa-scanning-log-success {
  border-left-color: #22c55e;
  background: rgba(34, 197, 94, .04)
}
.sa-scanning-log-warn {
  border-left-color: #f6961d;
  background: rgba(246, 150, 29, .04)
}
.sa-scanning-log-error {
  border-left-color: #ef4444;
  background: rgba(239, 68, 68, .06)
}
.sa-scanning-log-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: rgba(0, 0, 0, .04);
  flex-shrink: 0;
  color: #64748b
}
.sa-scanning-log-success .sa-scanning-log-icon {
  background: rgba(34, 197, 94, .1);
  color: #16a34a
}
.sa-scanning-log-warn .sa-scanning-log-icon {
  background: rgba(246, 150, 29, .1);
  color: #ea8c00
}
.sa-scanning-log-error .sa-scanning-log-icon {
  background: rgba(239, 68, 68, .1);
  color: #dc2626
}
.sa-scanning-log-text {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: 'SF Mono', 'Fira Code', 'JetBrains Mono', monospace;
  font-size: .7rem;
  letter-spacing: -.01em
}
.sa-scanning-log-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f6961d;
  flex-shrink: 0
}
.sa-scanning-log-line {
  font-size: .7rem;
  color: #94a3b8;
  font-family: 'SF Mono', monospace;
  line-height: 1.6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}
/* Quiz Answers in Dossier */
.sa-dossier-quiz-answers {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  max-height: 320px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, .08) transparent
}
.sa-dossier-quiz-answers::-webkit-scrollbar {
  width: 3px
}
.sa-dossier-quiz-answers::-webkit-scrollbar-track {
  background: transparent
}
.sa-dossier-quiz-answers::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, .08);
  border-radius: 3px
}
.sa-dossier-quiz-answer {
  padding: .5rem .625rem;
  background: rgba(255, 255, 255, .6);
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, .04)
}
.sa-dossier-quiz-layer {
  font-size: .5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .25rem
}
.sa-dossier-quiz-q {
  font-size: .6875rem;
  color: #475569;
  line-height: 1.35;
  margin-bottom: .375rem
}
.sa-dossier-quiz-a {
  font-size: .6875rem;
  font-weight: 600;
  padding: .25rem .5rem;
  border-radius: 6px;
  display: inline-block
}
.sa-signal-strong {
  color: #15803d;
  background: rgba(34, 197, 94, .08)
}
.sa-signal-moderate {
  color: #b45309;
  background: rgba(245, 158, 11, .08)
}
.sa-signal-weak {
  color: #c2410c;
  background: rgba(249, 115, 22, .08)
}
.sa-signal-none {
  color: #dc2626;
  background: rgba(239, 68, 68, .08)
}
/* Live Findings (in dossier during scanning) */
.sa-dossier-live {
  border-bottom: none !important
}
.sa-dossier-live-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f6961d, #e88c18);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  margin-left: .5rem;
  padding: 0 6px
}
.sa-dossier-live-findings {
  display: flex;
  flex-direction: column;
  gap: .375rem;
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, .08) transparent
}
.sa-dossier-live-findings::-webkit-scrollbar {
  width: 3px
}
.sa-dossier-live-findings::-webkit-scrollbar-track {
  background: transparent
}
.sa-dossier-live-findings::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, .08);
  border-radius: 3px
}
.sa-live-finding {
  display: flex;
  align-items: flex-start;
  gap: .375rem;
  padding: .375rem .5rem;
  border-radius: 6px;
  font-size: .75rem;
  animation: sa-finding-in .35s cubic-bezier(.16, 1, .3, 1) both;
  background: rgba(255, 255, 255, .5)
}
@keyframes sa-finding-in {
  from {
    opacity: 0;
    transform: translateX(8px) scale(.97)
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1)
  }
}
.sa-live-pass {
  border-left: 2px solid #22c55e
}
.sa-live-fail {
  border-left: 2px solid #ef4444
}
.sa-live-warn {
  border-left: 2px solid #f59e0b
}
.sa-live-info {
  border-left: 2px solid #94a3b8
}
.sa-live-icon {
  flex-shrink: 0;
  font-size: .7rem;
  line-height: 1
}
.sa-live-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0
}
.sa-live-title {
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}
.sa-live-detail {
  font-size: .65rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}
.sa-live-severity {
  flex-shrink: 0;
  font-size: .55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .125rem .375rem;
  border-radius: 4px;
  line-height: 1.2
}
.sa-sev-critical {
  background: rgba(239, 68, 68, .1);
  color: #dc2626
}
.sa-sev-high {
  background: rgba(249, 115, 22, .1);
  color: #ea580c
}
.sa-sev-medium {
  background: rgba(245, 158, 11, .1);
  color: #d97706
}
.sa-sev-low {
  background: rgba(34, 197, 94, .1);
  color: #16a34a
}
.sa-sev-info {
  background: rgba(148, 163, 184, .1);
  color: #64748b
}
/* Report */
.sa-report-harold {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .03)
}
.sa-report-blob {
  flex-shrink: 0
}
.sa-report-harold-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: .5rem
}
.sa-report-domain {
  color: #f6961d
}
.sa-report-harold-text {
  color: #64748b;
  line-height: 1.5
}
.sa-report-scores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem
}
.sa-score-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .03)
}
.sa-score-card-title {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #94a3b8;
  margin-bottom: 1rem;
  font-weight: 600
}
.sa-score-grade {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em
}
.sa-score-value {
  font-size: 1.25rem;
  font-weight: 600;
  color: #475569;
  margin-top: .5rem
}
.sa-score-max {
  font-size: .875rem;
  color: #94a3b8;
  font-weight: 400
}
.sa-score-descriptor {
  font-size: .8rem;
  color: #94a3b8;
  margin-top: .5rem
}
.sa-score-card-group {
  display: flex;
  flex-direction: column;
  gap: 1rem
}
.sa-score-card-sub {
  padding: 1.25rem
}
.sa-score-card-sub h4 {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #94a3b8;
  margin-bottom: .5rem;
  font-weight: 600
}
.sa-score-mini {
  font-size: 1rem;
  font-weight: 700
}
.sa-score-descriptor-mini {
  font-size: .7rem;
  color: #94a3b8;
  margin-top: .25rem
}
.sa-report-section {
  margin-bottom: 2rem
}
.sa-report-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: .5rem
}
.sa-vuln-table {
  display: flex;
  flex-direction: column;
  gap: .5rem
}
.sa-vuln-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  padding: .75rem 1rem;
  font-size: .85rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .02)
}
.sa-vuln-severity {
  font-size: .6rem;
  font-weight: 700;
  color: #fff;
  padding: .25rem .625rem;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: .04em;
  flex-shrink: 0
}
.sa-vuln-title {
  flex: 1;
  color: #334155;
  font-weight: 500
}
.sa-vuln-endpoint {
  color: #94a3b8;
  font-family: monospace;
  font-size: .75rem
}
.sa-chain-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 14px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .02)
}
.sa-chain-name {
  font-weight: 600;
  color: #0f172a;
  margin-bottom: .5rem
}
.sa-chain-description {
  font-size: .85rem;
  color: #64748b;
  margin-bottom: 1rem
}
.sa-chain-steps {
  display: flex;
  flex-direction: column;
  gap: .5rem
}
.sa-chain-step {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .8rem
}
.sa-chain-step-num {
  background: rgba(246, 150, 29, .1);
  color: #c2710e;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .7rem;
  flex-shrink: 0
}
.sa-chain-step-text {
  color: #64748b;
  line-height: 1.4
}
.sa-report-markdown {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 14px;
  padding: 1.5rem;
  max-height: 500px;
  overflow-y: auto;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .03)
}
.sa-report-pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: .75rem;
  color: #64748b;
  font-family: 'SF Mono', 'Fira Code', monospace;
  line-height: 1.6
}
.sa-report-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 3rem 0 2rem
}
.sa-cta-card {
  border-radius: 20px;
  padding: 2rem;
  text-align: left;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .03)
}
.sa-cta-primary {
  background: #fffbf5;
  border: 1px solid rgba(246, 150, 29, .15)
}
.sa-cta-secondary {
  background: #fff;
  border: 1px solid #f1f5f9
}
.sa-cta-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: .75rem
}
.sa-cta-desc {
  font-size: .85rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 1.25rem
}
.sa-cta-btn {
  width: 100%;
  border: none;
  padding: .875rem;
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  transition: all .25s
}
.sa-cta-btn-primary {
  background: linear-gradient(135deg, #f6961d, #e88c18);
  color: #fff;
  box-shadow: 0 4px 14px rgba(246, 150, 29, .25)
}
.sa-cta-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(246, 150, 29, .35)
}
.sa-cta-btn-secondary {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0
}
.sa-cta-btn-secondary:hover {
  border-color: #f6961d;
  color: #c2710e
}
.sa-report-footer {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #f1f5f9
}
.sa-report-footer-text {
  font-size: .75rem;
  color: #94a3b8;
  margin-bottom: .25rem
}
.sa-report-footer-time {
  font-size: .7rem;
  color: #cbd5e1
}
.sa-footer {
  text-align: center;
  padding: 2rem;
  color: #94a3b8;
  font-size: .8rem;
  border-top: 1px solid #f1f5f9
}
.sa-harold-name {
  font-weight: 600;
  color: #f6961d;
  margin-bottom: .25rem;
  font-size: .875rem
}
/* Chat Conversation UI */
.sa-details-convo {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 200px);
  min-height: 500px
}
.sa-chat-layout {
  display: flex;
  flex: 1;
  gap: 0;
  overflow: hidden;
  min-height: 0;
  justify-content: center
}
.sa-chat {
  flex: 1;
  max-width: 560px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
  min-width: 0
}
/* ── Thin transparent scrollbars ─────────────────────────────────────── */
.sa-chat::-webkit-scrollbar,
.sa-dossier::-webkit-scrollbar {
  width: 4px
}
.sa-chat::-webkit-scrollbar-track,
.sa-dossier::-webkit-scrollbar-track {
  background: transparent
}
.sa-chat::-webkit-scrollbar-thumb,
.sa-dossier::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, .08);
  border-radius: 4px
}
.sa-chat::-webkit-scrollbar-thumb:hover,
.sa-dossier::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, .15)
}
.sa-chat {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, .08) transparent
}
.sa-dossier {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, .08) transparent
}
.sa-chat-msg {
  display: flex;
  gap: .75rem;
  animation: sa-msg-in .3s cubic-bezier(.16, 1, .3, 1);
  flex-shrink: 0
}
@keyframes sa-msg-in {
  from {
    opacity: 0;
    transform: translateY(10px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}
.sa-chat-msg-harold {
  align-self: flex-start;
  max-width: 85%
}
.sa-chat-msg-user {
  align-self: flex-end;
  max-width: 70%;
  flex-direction: row-reverse;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-right: 1rem
}
.sa-chat-anchor {
  overflow-anchor: auto;
  flex-shrink: 0;
  height: 1px
}
.sa-chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fffbf5;
  border: 1px solid rgba(246, 150, 29, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}
.sa-chat-bubble {
  padding: .875rem 1.125rem;
  border-radius: 14px;
  font-size: .925rem;
  line-height: 1.5
}
.sa-chat-bubble-harold {
  background: #fff;
  border: 1px solid #f1f5f9;
  color: #475569;
  border-radius: 4px 14px 14px 14px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .03)
}
.sa-chat-bubble-user {
  background: linear-gradient(135deg, #f6961d, #e88c18);
  color: #fff;
  border-radius: 14px 4px 14px 14px;
  box-shadow: 0 2px 8px rgba(246, 150, 29, .2)
}
.sa-typing {
  display: flex;
  gap: 4px;
  padding: .875rem 1.25rem;
  align-items: center
}
.sa-typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
  animation: sa-typing-bounce .6s ease-in-out infinite
}
.sa-typing-dot:nth-child(2) {
  animation-delay: .15s
}
.sa-typing-dot:nth-child(3) {
  animation-delay: .3s
}
@keyframes sa-typing-bounce {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-4px)
  }
}
.sa-chat-input-area {
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
  margin-top: .5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  width: 100%
}
.sa-chat-error {
  color: #dc2626;
  font-size: .8rem;
  margin-bottom: .5rem;
  padding-left: .25rem
}
.sa-chat-input-row {
  display: flex;
  gap: .75rem
}
.sa-chat-input {
  flex: 1;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: .875rem 1.125rem;
  font-size: .95rem;
  color: #0f172a;
  outline: none;
  transition: all .2s;
  font-family: inherit
}
.sa-chat-input:focus {
  border-color: #f6961d;
  box-shadow: 0 0 0 4px rgba(246, 150, 29, .06)
}
.sa-chat-input::-moz-placeholder {
  color: #cbd5e1
}
.sa-chat-input::placeholder {
  color: #cbd5e1
}
.sa-chat-send {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f6961d, #e88c18);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(246, 150, 29, .25)
}
.sa-chat-send:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(246, 150, 29, .35)
}
/* Mic toggle in chat bar */
.sa-chat-mic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  color: #94a3b8;
  border: 1.5px solid #e2e8f0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s;
  flex-shrink: 0
}
.sa-chat-mic:hover {
  color: #f6961d;
  border-color: #f6961d;
  background: rgba(246, 150, 29, .06)
}
.sa-chat-mic-active {
  color: #fff;
  border-color: #f6961d;
  background: linear-gradient(135deg, #f6961d, #e88c18);
  box-shadow: 0 0 0 3px rgba(246, 150, 29, .15);
  animation: sa-mic-pulse 2s ease-in-out infinite
}
@keyframes sa-mic-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(246, 150, 29, .15)
  }

  50% {
    box-shadow: 0 0 0 6px rgba(246, 150, 29, .08)
  }
}
.sa-chat-chips {
  padding: .25rem 0
}
.sa-chat-hint {
  font-size: .75rem;
  color: #94a3b8;
  margin-top: .5rem;
  padding-left: .25rem
}
/* Enrichment card */
.sa-enrich-card {
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 16px;
  padding: 1.5rem;
  max-width: 100%;
  animation: sa-msg-in .4s cubic-bezier(.16, 1, .3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .04)
}
.sa-enrich-fields {
  display: flex;
  flex-direction: column;
  gap: .875rem;
  margin-bottom: 1.25rem
}
.sa-enrich-field {
  display: flex;
  flex-direction: column;
  gap: .25rem
}
.sa-enrich-label {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #94a3b8
}
.sa-enrich-value {
  font-size: .925rem;
  color: #1e293b;
  font-weight: 500;
  line-height: 1.4
}
.sa-enrich-desc {
  font-size: .85rem;
  color: #64748b;
  font-weight: 400
}
.sa-enrich-techs {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem
}
.sa-enrich-tech {
  background: rgba(246, 150, 29, .06);
  border: 1px solid rgba(246, 150, 29, .12);
  color: #c2710e;
  padding: .3rem .75rem;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 500
}
/* ── Inspection Findings ────────────────────────────────────────────────── */
.sa-inspect-divider {
  margin: .75rem 0 .5rem;
  padding-top: .75rem;
  border-top: 1px solid #e2e8f0;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #94a3b8
}
.sa-inspect-findings {
  display: flex;
  flex-direction: column;
  gap: .375rem
}
.sa-inspect-finding {
  display: grid;
  grid-template-columns: 1.2rem auto 1fr;
  gap: .375rem;
  align-items: center;
  font-size: .75rem;
  line-height: 1.3;
  padding: .375rem .5rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, .015);
  transition: background .15s
}
.sa-inspect-finding:hover {
  background: rgba(0, 0, 0, .03)
}
.sa-inspect-icon {
  font-size: .7rem
}
.sa-inspect-check {
  font-weight: 600;
  color: #475569;
  white-space: nowrap
}
.sa-inspect-title {
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}
.sa-inspect-pass .sa-inspect-title {
  color: #059669
}
.sa-inspect-fail .sa-inspect-title {
  color: #dc2626
}
.sa-inspect-warn .sa-inspect-title {
  color: #d97706
}
.sa-inspect-grade {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .625rem;
  padding: .625rem .75rem;
  border-top: 1px solid #f1f5f9;
  background: rgba(0, 0, 0, .015);
  border-radius: 12px
}
.sa-inspect-grade-badge {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 800;
  font-size: .9rem;
  color: #fff
}
.sa-grade-A {
  background: linear-gradient(135deg, #059669, #10b981)
}
.sa-grade-B {
  background: linear-gradient(135deg, #0d9488, #14b8a6)
}
.sa-grade-C {
  background: linear-gradient(135deg, #d97706, #f59e0b)
}
.sa-grade-D {
  background: linear-gradient(135deg, #ea580c, #f97316)
}
.sa-grade-F {
  background: linear-gradient(135deg, #dc2626, #ef4444)
}
.sa-inspect-grade-text {
  font-size: .75rem;
  font-weight: 600;
  color: #475569
}
/* ── Dossier — Document-style Panel (legacy sidebar) ─────────────────── */
.sa-dossier {
  flex: 1;
  min-width: 0;
  border-left: none;
  background: #fff;
  overflow-y: auto;
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  animation: sa-dossier-in .5s cubic-bezier(.16, 1, .3, 1);
  box-shadow: -1px 0 0 rgba(0, 0, 0, .04), 4px 0 24px -4px rgba(0, 0, 0, .06);
  position: relative;
  border-radius: 20px 0 0 20px;
  margin: 1rem 0 1rem 0
}
.sa-dossier::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f6961d, #e88c18, #f6961d);
  border-radius: 20px 0 0 0
}
@keyframes sa-dossier-in {
  from {
    opacity: 0;
    transform: translateX(20px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}
/* ── 7 Layers Inline — sits inside the chat scroll ─────────────────── */
.sa-layers-inline {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: .75rem 0;
  display: flex;
  flex-direction: column;
  gap: .5rem
}
.sa-layers-live-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: .05em
}
/* ── 3D Roller / Carousel ──────────────────────────────────────────── */
.sa-layers-roller {
  position: relative;
  perspective: 800px;
  overflow: hidden;
  height: 120px;
  width: 100%;
}
.sa-layers-roller-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}
/* Individual roller item */
.sa-layers-roller-item {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .625rem 1rem;
  border-radius: 12px;
  cursor: default;
  transform-origin: center center;
  will-change: transform, opacity;
  /* glassmorphic card */
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, .7);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .03), inset 0 1px 0 rgba(255, 255, 255, .5);
}
/* Active (centre) item — lifted state */
.sa-layers-roller-item-active {
  background: rgba(255, 255, 255, .85);
  border-color: color-mix(in srgb, var(--layer-colour) 30%, rgba(255, 255, 255, .8));
  box-shadow: 0 4px 16px color-mix(in srgb, var(--layer-colour) 12%, transparent), 0 2px 6px rgba(0, 0, 0, .04);
}
/* Colour indicator pip */
.sa-layers-roller-pip {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--layer-colour);
  box-shadow: 0 0 6px color-mix(in srgb, var(--layer-colour) 40%, transparent);
}
.sa-layers-roller-icon {
  width: 16px;
  height: 16px;
  color: var(--layer-colour);
  flex-shrink: 0
}
.sa-layers-roller-name {
  font-size: .78rem;
  font-weight: 600;
  color: #334155;
  white-space: nowrap
}
.sa-layers-roller-num {
  font-size: .6rem;
  font-weight: 700;
  color: var(--layer-colour);
  background: color-mix(in srgb, var(--layer-colour) 8%, #fff);
  padding: .125rem .4rem;
  border-radius: 6px;
  margin-left: auto;
  flex-shrink: 0;
  font-family: monospace;
  letter-spacing: .03em;
}
/* Fade overlays — top and bottom edges */
.sa-layers-roller::before,
.sa-layers-roller::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 28px;
  z-index: 3;
  pointer-events: none;
}
.sa-layers-roller::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(250, 250, 250, .95), transparent)
}
.sa-layers-roller::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(250, 250, 250, .95), transparent)
}
/* Navigation dots */
.sa-layers-roller-dots {
  display: flex;
  gap: 4px;
  justify-content: center;
  padding-top: .375rem;
}
.sa-layers-roller-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e2e8f0;
  transition: all .3s;
  cursor: pointer;
  border: none;
  padding: 0;
}
.sa-layers-roller-dot-active {
  background: var(--dot-colour, #f6961d);
  box-shadow: 0 0 6px color-mix(in srgb, var(--dot-colour, #f6961d) 40%, transparent);
  transform: scale(1.3);
}
/* Progress bar (kept from original) */
.sa-layers-live-summary {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding-top: .5rem;
  border-top: 1px solid #f1f5f9
}
.sa-layers-live-bar {
  flex: 1;
  height: 4px;
  background: #f1f5f9;
  border-radius: 2px;
  overflow: hidden
}
.sa-layers-live-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f6961d, #e88c18);
  border-radius: 2px;
  transition: width .5s ease
}
.sa-layers-live-pct {
  font-size: .65rem;
  font-weight: 700;
  color: #475569;
  font-family: monospace;
  min-width: 2rem;
  text-align: right
}
/* ── Dossier Pill Button (in header, pushed right) ───────────────────── */
.sa-dossier-pill {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .6rem;
  border-radius: 8px;
  background: rgba(246, 150, 29, .06);
  border: 1px solid rgba(246, 150, 29, .15);
  color: #f6961d;
  font-size: .65rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  margin-left: auto
}
.sa-dossier-pill:hover {
  background: rgba(246, 150, 29, .12);
  border-color: rgba(246, 150, 29, .3);
  transform: translateY(-1px)
}
/* ── Dossier Slide-Out Panel ─────────────────────────────────────────── */
.sa-dossier-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .3);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  z-index: 100
}
.sa-dossier-slideout {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 90vw;
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  z-index: 101;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0, 0, 0, .12)
}
.sa-dossier-slideout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #f1f5f9
}
.sa-dossier-slideout-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  font-weight: 700;
  color: #1e293b
}
.sa-dossier-slideout-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s
}
.sa-dossier-slideout-close:hover {
  background: #f1f5f9;
  color: #475569
}
.sa-dossier-slideout-domain {
  padding: .75rem 1.5rem;
  font-size: .85rem;
  font-weight: 600;
  color: #f6961d;
  font-family: monospace;
  border-bottom: 1px solid #f1f5f9
}
.sa-dossier-slideout-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem
}
/* ── Dossier Bottom — Full-width building section ────────────────────── */
.sa-dossier-bottom {
  width: 100%;
  margin-top: 1.5rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 8px 32px -8px rgba(0, 0, 0, .08);
  position: relative;
  overflow: hidden;
  animation: sa-dossier-bottom-in .6s cubic-bezier(.16, 1, .3, 1);
}
.sa-dossier-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f6961d 0%, #e88c18 40%, #f6961d 60%, transparent 100%);
  background-size: 200% 100%;
  animation: sa-dossier-shimmer 2s ease-in-out infinite;
}
@keyframes sa-dossier-shimmer {
  0% {
    background-position: 100% 0
  }

  100% {
    background-position: -100% 0
  }
}
@keyframes sa-dossier-bottom-in {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}
/* Header */
.sa-dossier-bottom-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  background: rgba(246, 150, 29, .02);
}
.sa-dossier-bottom-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #475569;
}
.sa-dossier-bottom-title svg {
  color: #f6961d
}
.sa-dossier-bottom-domain {
  font-weight: 800;
  color: #0f172a;
  text-transform: none;
  letter-spacing: -.01em;
  margin-left: .25rem;
  font-size: .9rem;
}
.sa-dossier-bottom-pulse {
  display: flex;
  align-items: center;
  gap: .375rem;
  font-size: .7rem;
  color: #94a3b8;
}
.sa-dossier-bottom-status {
  font-weight: 500;
  letter-spacing: .02em;
  animation: sa-dossier-pulse 2s ease-in-out infinite;
}
@keyframes sa-dossier-pulse {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .4
  }
}
/* Grid of cards */
.sa-dossier-bottom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: #f1f5f9;
}
.sa-dossier-bottom-card {
  padding: 1.25rem 1.5rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: .625rem;
  min-width: 0;
}
.sa-dossier-bottom-card:first-child {
  border-radius: 0 0 0 0
}
.sa-dossier-bottom-card:last-child {
  border-radius: 0 0 0 0
}
/* Make quiz answers scroll within the card */
.sa-dossier-bottom-card .sa-dossier-quiz-answers {
  max-height: 240px
}
/* Make live findings span full width when present */
.sa-dossier-bottom-card.sa-dossier-live {
  grid-column: 1 / -1;
  border-top: 1px solid #f1f5f9;
}
.sa-dossier-bottom-card.sa-dossier-live .sa-dossier-live-findings {
  max-height: 200px
}
/* Responsive: stack cards on narrow screens */
@media (max-width:680px) {
  .sa-dossier-bottom-grid {
    grid-template-columns: 1fr
  }
}
.sa-dossier-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #94a3b8;
  padding-bottom: .75rem;
  border-bottom: 2px solid #f1f5f9;
  margin-bottom: 1.25rem
}
.sa-dossier-domain {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1.25rem;
  word-break: break-all;
  letter-spacing: -.01em
}
.sa-dossier-section {
  padding: 1rem 1.125rem;
  margin-bottom: .75rem;
  border-bottom: none;
  display: flex;
  flex-direction: column;
  gap: .625rem;
  background: rgba(0, 0, 0, .015);
  border-radius: 14px
}
.sa-dossier-section:last-of-type {
  margin-bottom: 0
}
.sa-dossier-section-title {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #64748b;
  margin-bottom: .25rem;
  display: flex;
  align-items: center;
  gap: .375rem
}
.sa-dossier-section-title::before {
  content: '';
  display: block;
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: #f6961d
}
.sa-dossier-field {
  display: flex;
  flex-direction: column;
  gap: .1875rem;
  padding: .375rem .5rem;
  border-radius: 10px;
  transition: background .15s
}
.sa-dossier-field:hover {
  background: rgba(0, 0, 0, .02)
}
.sa-dossier-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #94a3b8
}
.sa-dossier-value {
  font-size: .9375rem;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.5
}
.sa-dossier-desc {
  font-size: .85rem;
  color: #475569;
  font-weight: 400;
  line-height: 1.6
}
.sa-dossier-actions {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: 1rem
}
.sa-dossier-actions .sa-enrich-btn {
  padding: .75rem;
  font-size: .85rem;
  border-radius: 14px
}
.sa-enrich-actions {
  display: flex;
  gap: .75rem;
  width: 100%
}
.sa-enrich-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem;
  border-radius: 10px;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  border: none
}
.sa-enrich-btn-yes {
  background: linear-gradient(135deg, #f6961d, #e88c18);
  color: #fff;
  box-shadow: 0 2px 10px rgba(246, 150, 29, .2)
}
.sa-enrich-btn-yes:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(246, 150, 29, .3)
}
.sa-enrich-btn-no {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0
}
.sa-enrich-btn-no:hover {
  border-color: #f6961d;
  color: #c2710e
}
.sa-typing-text {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #94a3b8;
  font-size: .85rem
}
.sa-spin {
  animation: sa-spin 1s linear infinite
}
@keyframes sa-spin {
  from {
    transform: rotate(0deg)
  }

  to {
    transform: rotate(360deg)
  }
}
/* OTP input */
.sa-chat-input-otp {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 1.5rem;
  letter-spacing: .5em;
  text-align: center;
  padding: .875rem 1.5rem
}
.sa-resend-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: none;
  border: none;
  color: #f6961d;
  cursor: pointer;
  font-size: .75rem;
  font-weight: 500;
  padding: 0;
  transition: opacity .2s
}
.sa-resend-link:hover {
  opacity: .7
}
/* Harold Duck */
.harold-duck {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center
}
/* Glow aura */
.harold-duck-aura {
  position: absolute;
  inset: 10%;
  pointer-events: none
}
.harold-duck-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(246, 150, 29, .12);
  animation: hd-ring-pulse 4s ease-in-out infinite
}
.harold-duck-ring-2 {
  inset: -8%;
  animation-delay: .8s;
  border-color: rgba(246, 150, 29, .08)
}
.harold-duck-ring-3 {
  inset: -16%;
  animation-delay: 1.6s;
  border-color: rgba(246, 150, 29, .05)
}
@keyframes hd-ring-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1
  }

  50% {
    transform: scale(1.08);
    opacity: .4
  }
}
/* Orbiting particles */
.harold-duck-particles {
  position: absolute;
  inset: 0;
  pointer-events: none
}
.harold-duck-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(246, 150, 29, .5);
  top: 50%;
  left: 50%;
  transform: rotate(var(--p-angle)) translateY(calc(-1 * var(--p-dist)));
  animation: hd-particle-orbit 6s linear infinite, hd-particle-fade 3s ease-in-out infinite;
  animation-delay: var(--p-delay)
}
@keyframes hd-particle-orbit {
  from {
    transform: rotate(var(--p-angle)) translateY(calc(-1 * var(--p-dist)))
  }

  to {
    transform: rotate(calc(var(--p-angle) + 360deg)) translateY(calc(-1 * var(--p-dist)))
  }
}
@keyframes hd-particle-fade {

  0%,
  100% {
    opacity: .2;
    transform: scale(.6)
  }

  50% {
    opacity: .8;
    transform: scale(1.2)
  }
}
/* Duck image */
.harold-duck-img {
  position: relative;
  z-index: 2;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(246, 150, 29, .18));
  animation: hd-float 5s ease-in-out infinite;
  transition: filter .6s ease, transform .6s ease
}
@keyframes hd-float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg)
  }

  30% {
    transform: translateY(-8px) rotate(.8deg)
  }

  60% {
    transform: translateY(-4px) rotate(-.5deg)
  }
}
/* State-driven effects */
.harold-duck-idle .harold-duck-img {
  filter: drop-shadow(0 4px 20px rgba(246, 150, 29, .18))
}
.harold-duck-listening .harold-duck-img {
  filter: drop-shadow(0 4px 28px rgba(246, 150, 29, .3));
  animation-duration: 3.5s
}
.harold-duck-listening .harold-duck-ring {
  animation-duration: 2.5s
}
.harold-duck-thinking .harold-duck-img {
  filter: drop-shadow(0 4px 28px rgba(139, 92, 246, .25));
  animation-duration: 2.5s
}
.harold-duck-thinking .harold-duck-ring {
  border-color: rgba(139, 92, 246, .12);
  animation-duration: 2s
}
.harold-duck-thinking .harold-duck-particle {
  background: rgba(139, 92, 246, .5)
}
.harold-duck-scanning .harold-duck-img {
  filter: drop-shadow(0 4px 28px rgba(59, 130, 246, .25));
  animation-duration: 2s
}
.harold-duck-scanning .harold-duck-ring {
  border-color: rgba(59, 130, 246, .15);
  animation-duration: 1.5s
}
.harold-duck-scanning .harold-duck-particle {
  background: rgba(59, 130, 246, .5);
  animation-duration: 3s
}
.harold-duck-success .harold-duck-img {
  filter: drop-shadow(0 4px 28px rgba(34, 197, 94, .25))
}
.harold-duck-success .harold-duck-ring {
  border-color: rgba(34, 197, 94, .12)
}
.harold-duck-success .harold-duck-particle {
  background: rgba(34, 197, 94, .5)
}
/* DED-3550: Chat message content wrapper (for layer badge above bubble) */
.sa-chat-msg-content {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content
}
/* DED-3550: Inline layer badge above Harold's quiz messages */
.sa-layer-badge-inline {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .65rem;
  font-weight: 600;
  color: var(--layer-colour);
  opacity: .8;
  padding-left: .25rem
}
.sa-layer-badge-inline svg {
  flex-shrink: 0
}
/* DED-3550: Quiz option chips in chat flow */
.sa-quiz-chips {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  max-width: 85%;
  animation: sa-msg-in .3s cubic-bezier(.16, 1, .3, 1)
}
.sa-quiz-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 2px solid #f1f5f9;
  border-left: 3px solid var(--chip-colour, #f6961d);
  border-radius: 12px;
  padding: .875rem 1.125rem;
  cursor: pointer;
  transition: all .25s cubic-bezier(.16, 1, .3, 1);
  text-align: left;
  color: #334155;
  font-size: .9rem;
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .03)
}
.sa-quiz-chip:hover {
  border-color: var(--chip-colour, #f6961d);
  background: color-mix(in srgb, var(--chip-colour, #f6961d) 4%, #fff);
  transform: translateX(6px);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--chip-colour, #f6961d) 12%, transparent)
}
.sa-quiz-chip:active {
  transform: translateX(3px) scale(.98)
}
.sa-quiz-chip-label {
  flex: 1
}
.sa-quiz-chip-arrow {
  color: #cbd5e1;
  transition: all .2s;
  flex-shrink: 0
}
.sa-quiz-chip:hover .sa-quiz-chip-arrow {
  color: var(--chip-colour, #f6961d);
  transform: translateX(4px)
}
.sa-quiz-chip-other {
  background: transparent !important;
  border: 1.5px dashed rgba(148, 163, 184, .4) !important;
  color: #94a3b8
}
.sa-quiz-chip-other:hover {
  border-color: var(--chip-colour, #f6961d) !important;
  color: var(--chip-colour, #f6961d);
  background: rgba(246, 150, 29, .04) !important
}
/* DED-3550: Inline consent card in chat */
.sa-consent-inline {
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 16px;
  padding: 1.5rem;
  max-width: 100%;
  animation: sa-msg-in .4s cubic-bezier(.16, 1, .3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .04)
}
.sa-consent-inline-title {
  font-size: .95rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: .875rem
}
.sa-consent-inline-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .5rem
}
.sa-consent-inline-list li {
  font-size: .8rem;
  color: #64748b;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: .5rem
}
.sa-consent-inline-tick {
  display: flex;
  gap: .75rem;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 1rem;
  cursor: pointer;
  transition: all .2s;
  margin-bottom: .75rem
}
.sa-consent-inline-tick:hover {
  border-color: rgba(246, 150, 29, .3)
}
.sa-consent-inline-tick-active {
  border-color: #f6961d;
  background: #fffbf5
}
.sa-consent-inline-text {
  font-size: .8rem;
  color: #64748b;
  line-height: 1.4;
  margin: 0
}
.sa-consent-inline-btn {
  width: 100%;
  background: linear-gradient(135deg, #f6961d, #e88c18);
  color: #fff;
  border: none;
  padding: .75rem;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  transition: all .25s;
  box-shadow: 0 2px 10px rgba(246, 150, 29, .2)
}
.sa-consent-inline-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(246, 150, 29, .3)
}
.sa-consent-inline-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
  box-shadow: none
}
/* DED-3550: Muted off-script text input during quiz */
.sa-chat-input-area-secondary {
  border-top: none;
  padding-top: .5rem
}
.sa-chat-input-muted {
  background: #fafafa;
  border-color: #f1f5f9;
  font-size: .85rem;
  color: #94a3b8
}
.sa-chat-input-muted:focus {
  border-color: #e2e8f0;
  box-shadow: none
}
.sa-chat-input-muted::-moz-placeholder {
  color: #cbd5e1;
  font-size: .8rem
}
.sa-chat-input-muted::placeholder {
  color: #cbd5e1;
  font-size: .8rem
}
.sa-chat-send-muted {
  background: #e2e8f0;
  color: #94a3b8;
  box-shadow: none;
  width: 40px;
  height: 40px
}
.sa-chat-send-muted:hover {
  background: #cbd5e1;
  transform: none;
  box-shadow: none
}
/* Harold speaking state */
.harold-duck-speaking .harold-duck-img {
  filter: drop-shadow(0 4px 32px rgba(246, 150, 29, .45));
  animation-duration: 2s
}
.harold-duck-speaking .harold-duck-ring {
  border-color: rgba(246, 150, 29, .25);
  animation-duration: 1.5s
}
.harold-duck-speaking .harold-duck-particle {
  background: rgba(246, 150, 29, .7);
  animation-duration: 2.5s
}
/* Voice Mode Toggle */
.sa-voice-toggle {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  background: #fff;
  border: 2px solid #e2e8f0;
  color: #64748b;
  padding: .5rem 1rem;
  border-radius: 24px;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 600;
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
  white-space: nowrap
}
.sa-voice-toggle:hover:not(:disabled) {
  border-color: #f6961d;
  color: #f6961d;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(246, 150, 29, .12)
}
.sa-voice-toggle:disabled {
  opacity: .5;
  cursor: wait
}
.sa-voice-toggle-active {
  background: linear-gradient(135deg, #f6961d, #e88c18);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(246, 150, 29, .3);
  animation: sa-voice-glow 2s ease-in-out infinite
}
.sa-voice-toggle-active:hover {
  box-shadow: 0 6px 20px rgba(246, 150, 29, .4);
  transform: translateY(-1px)
}
.sa-voice-toggle-connecting {
  font-size: .75rem;
  animation: sa-pulse 1.5s infinite
}
@keyframes sa-voice-glow {

  0%,
  100% {
    box-shadow: 0 4px 16px rgba(246, 150, 29, .3)
  }

  50% {
    box-shadow: 0 4px 24px rgba(246, 150, 29, .5)
  }
}
/* Voice Status Indicator */
.sa-voice-status {
  text-align: center;
  margin-bottom: 1rem;
  font-size: .8rem;
  font-weight: 500;
  min-height: 1.5em
}
.sa-voice-status-speaking {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  color: #f6961d;
  animation: sa-pulse 2s infinite
}
.sa-voice-status-waiting {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  color: #94a3b8
}
.sa-voice-status-active {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #22c55e
}
/* Voice Waveform Bars */
.sa-voice-waveform {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 16px;
  margin: 0 .25rem
}
.sa-voice-bar {
  width: 3px;
  height: 4px;
  background: currentColor;
  border-radius: 2px;
  animation: sa-bar-bounce .6s ease-in-out infinite
}
.sa-voice-bar:nth-child(1) {
  animation-delay: 0s;
  height: 6px
}
.sa-voice-bar:nth-child(2) {
  animation-delay: .1s;
  height: 12px
}
.sa-voice-bar:nth-child(3) {
  animation-delay: .2s;
  height: 8px
}
.sa-voice-bar:nth-child(4) {
  animation-delay: .3s;
  height: 14px
}
.sa-voice-bar:nth-child(5) {
  animation-delay: .4s;
  height: 6px
}
@keyframes sa-bar-bounce {

  0%,
  100% {
    transform: scaleY(.4)
  }

  50% {
    transform: scaleY(1)
  }
}
/* Voice Transcript */
.sa-voice-transcript {
  background: rgba(246, 150, 29, .04);
  border: 1px solid rgba(246, 150, 29, .12);
  border-radius: 12px;
  padding: .875rem 1.25rem;
  margin-bottom: 1.25rem;
  animation: sa-fade-in .3s ease
}
.sa-voice-transcript-label {
  display: block;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #94a3b8;
  margin-bottom: .375rem
}
.sa-voice-transcript-text {
  color: #475569;
  font-size: .925rem;
  font-style: italic;
  line-height: 1.5
}
/* Voice Prompt (fallback hint) */
.sa-voice-prompt {
  text-align: center;
  color: #94a3b8;
  font-size: .85rem;
  font-style: italic;
  margin-bottom: 1rem;
  padding: .75rem;
  background: #fafafa;
  border-radius: 10px;
  animation: sa-fade-in .4s ease
}
/* Voice Matched Option */
.sa-voice-matched {
  border-color: #f6961d !important;
  background: rgba(246, 150, 29, .06) !important;
  box-shadow: 0 0 0 4px rgba(246, 150, 29, .1), 0 4px 16px rgba(246, 150, 29, .12) !important;
  animation: sa-match-pulse 1s ease-in-out infinite !important;
  transform: translateX(6px) !important
}
@keyframes sa-match-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(246, 150, 29, .1), 0 4px 16px rgba(246, 150, 29, .12)
  }

  50% {
    box-shadow: 0 0 0 8px rgba(246, 150, 29, .06), 0 4px 20px rgba(246, 150, 29, .18)
  }
}
/* Quiz Option Letter (shown in voice mode) */
.sa-quiz-option-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(246, 150, 29, .08);
  color: #c2710e;
  font-size: .7rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-right: .25rem
}
@media(max-width:640px) {
  .sa-hero-title {
    font-size: 2rem
  }

  .sa-field-row {
    grid-template-columns: 1fr
  }

  .sa-report-scores {
    grid-template-columns: 1fr
  }

  .sa-report-ctas {
    grid-template-columns: 1fr
  }

  .sa-harold-intro,
  .sa-report-harold {
    flex-direction: column;
    text-align: center
  }

  .sa-details-convo {
    flex: 1;
    overflow-y: auto;
    padding-top: .25rem;
    padding-bottom: 70px;
    height: auto;
    min-height: 0
  }

  .sa-main {
    padding: .3rem 1rem 0;
    display: flex;
    flex-direction: column
  }

  /* Lock height ONLY when chat is visible, not the report */
  .sa-main:has(.sa-details-convo) {
    height: 100dvh;
    overflow: hidden
  }

  .sa-footer {
    display: none
  }

  .sa-container {
    min-height: auto;
    height: auto;
    overflow-y: auto
  }

  /* Report pages on mobile — scale down */
  #ai-risk-report {
    padding: 1rem .5rem !important
  }

  #ai-risk-report [data-report-page] {
    aspect-ratio: unset !important;
    height: auto !important;
    border-radius: .75rem;
    padding: 0
  }

  #ai-risk-report [data-report-page]>div {
    padding-left: 1rem;
    padding-right: 1rem
  }

  #ai-risk-report [data-report-page]>footer {
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 8px
  }

  .sa-layers-live-header {
    margin-bottom: .3rem
  }

  .sa-chat-msg-harold,
  .sa-chat-msg-user {
    max-width: 90%
  }

  .sa-quiz-options {
    gap: .3rem
  }

  .sa-quiz-option {
    padding: .45rem .65rem;
    font-size: .75rem;
    border-radius: 8px;
    border-width: 1.5px
  }

  .sa-quiz-option-letter {
    width: 18px;
    height: 18px;
    font-size: .6rem;
    margin-right: .15rem
  }

  .sa-chip {
    padding: .3rem .65rem;
    font-size: .7rem;
    border-radius: 14px;
    border-width: 1.5px
  }

  .sa-chip-group {
    gap: .3rem
  }

  .sa-quiz-chips {
    max-width: 95%
  }

  .sa-chat-input-area,
  .sa-chat-input-area-secondary {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background: #fff;
    padding: .75rem 1rem;
    margin: 0;
    max-width: none;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, .04)
  }

  .sa-consent-inline {
    padding: 1rem
  }

  .sa-voice-toggle {
    font-size: .7rem;
    padding: .375rem .75rem
  }

  .sa-dossier {
    display: none
  }

  .sa-layers-inline {
    order: -1;
    padding: .2rem 0;
    gap: .1rem
  }

  .sa-layers-live-header {
    font-size: .6rem;
    gap: .25rem
  }

  .sa-layers-roller {
    height: 50px
  }

  .sa-layers-roller-item {
    padding: .25rem .6rem;
    gap: .3rem;
    border-radius: 6px;
    border-width: 1px
  }

  .sa-layers-roller-name {
    font-size: .68rem
  }

  .sa-layers-roller-num {
    font-size: .55rem;
    padding: .1rem .3rem
  }

  .sa-layers-roller-icon {
    width: 12px;
    height: 12px
  }

  .sa-layers-roller-pip {
    width: 5px;
    height: 5px
  }

  .sa-layers-roller-dots {
    padding: .1rem 0;
    gap: 3px
  }

  .sa-layers-roller-dot {
    width: 5px;
    height: 5px
  }

  .sa-layers-live-summary {
    padding-top: .15rem;
    gap: .3rem
  }

  .sa-layers-live-bar {
    height: 3px
  }

  .sa-layers-live-pct {
    font-size: .6rem
  }

  .sa-quiz-progress {
    height: 2px;
    margin-bottom: .15rem
  }

  .sa-chat {
    max-width: none;
    flex: 1;
    min-height: 0
  }

  .sa-scan-layout {
    flex-direction: column
  }

  .sa-domains-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}
@media(min-width:641px) and (max-width:1024px) {
  .sa-chat {
    max-width: none
  }

  .sa-dossier {
    padding: 1.5rem 1.25rem
  }

  .sa-dossier-domain {
    font-size: 1rem
  }
}
/* ─── Incoming Call UI ────────────────────────────────────────────────────── */
.sa-incoming-call {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
  animation: sa-fade-in .5s ease
}
.sa-incoming-call-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .85));
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border: 1px solid rgba(246, 150, 29, .15);
  border-radius: 24px;
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 8px 40px rgba(246, 150, 29, .1), 0 2px 8px rgba(0, 0, 0, .04);
  max-width: 320px;
  width: 100%;
  animation: sa-incoming-call-slide .6s cubic-bezier(.16, 1, .3, 1)
}
@keyframes sa-incoming-call-slide {
  from {
    opacity: 0;
    transform: translateY(30px) scale(.95)
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1)
  }
}
.sa-incoming-call-rings {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center
}
.sa-incoming-call-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(246, 150, 29, .15);
  animation: sa-ring-pulse 2.5s ease-out infinite
}
.sa-incoming-call-ring-1 {
  width: 100px;
  height: 100px;
  animation-delay: 0s
}
.sa-incoming-call-ring-2 {
  width: 80px;
  height: 80px;
  animation-delay: .4s
}
.sa-incoming-call-ring-3 {
  width: 60px;
  height: 60px;
  animation-delay: .8s
}
@keyframes sa-ring-pulse {
  0% {
    transform: scale(.8);
    opacity: 1;
    border-color: rgba(246, 150, 29, .3)
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
    border-color: rgba(246, 150, 29, 0)
  }
}
.sa-incoming-call-avatar {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, .9);
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 4px 16px rgba(246, 150, 29, .15)
}
.sa-incoming-call-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  text-align: center
}
.sa-incoming-call-label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #f6961d;
  animation: sa-call-blink 1.5s ease-in-out infinite
}
@keyframes sa-call-blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .4
  }
}
.sa-incoming-call-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a
}
.sa-incoming-call-sub {
  font-size: .8rem;
  color: #64748b
}
.sa-incoming-call-actions {
  display: flex;
  gap: .75rem;
  width: 100%;
  margin-top: .5rem
}
.sa-incoming-call-accept {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: .875rem 1.25rem;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  box-shadow: 0 4px 14px rgba(34, 197, 94, .3)
}
.sa-incoming-call-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(34, 197, 94, .4)
}
.sa-incoming-call-decline {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: rgba(0, 0, 0, .04);
  color: #64748b;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 14px;
  padding: .875rem 1.25rem;
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .25s
}
.sa-incoming-call-decline:hover {
  background: rgba(239, 68, 68, .06);
  color: #ef4444;
  border-color: rgba(239, 68, 68, .2)
}