:root {
  --home-blue: #0f1222;
  --home-blue-dark: #262b3d;
  --home-ink: #0f1222;
  --home-muted: #6b7386;
  --home-soft: #f5f7fb;
  --home-soft-blue: #eef1f6;
  --home-line: #dde2eb;
  --home-card: #ffffff;
  --home-shadow: 0 1px 2px rgba(15, 18, 40, 0.04), 0 12px 32px rgba(15, 18, 40, 0.07);
  --home-hairline: rgba(15, 18, 34, 0.08);
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
}

.home-page ::selection {
  color: #ffffff;
  background: var(--home-blue);
}

.home-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: var(--home-ink);
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 58%, #f7f9fc 100%);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-brand {
  font-family: var(--font-display);
}

.home-page [hidden] {
  display: none !important;
}

.home-hero {
  order: 1;
}

.use-cases {
  order: 4;
}

.home-workspace {
  order: 6;
}

.voice-showcase {
  order: 5;
}

/* RESTORAN BANDI HERO'NUN HEMEN ALTINDA.
   Sayfa flex "order" ile siralaniyor ve bu bant .voice-showcase (5) sinifini
   telefon bandiyla PAYLASIYORDU: markup'ta ikinci olmasina ragmen ekranda
   dorduncu ciziliyor, 3400 px asagida kaliyordu. Restoran modulu yan urun
   degil; hero'dan sonraki ilk sey o. 2 numarali yuva zaten bostu. */
.restoran-band {
  order: 2;
}

.home-demo {
  order: 6;
}

.steps-band {
  order: 3;
}

.home-launch {
  order: 7;
}

.home-footer {
  order: 8;
}

.home-hero,
.home-band,
.home-demo,
.home-workspace,
.home-launch,
.home-footer {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
}

.home-hero {
  padding: 18px 0 96px;
}

.home-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(145%) blur(10px);
  backdrop-filter: saturate(145%) blur(10px);
  transition: border-color 400ms var(--ease-smooth), background 400ms var(--ease-smooth);
  animation: homeFadeDown 360ms var(--ease-spring) both;
}

.home-nav.is-scrolled {
  border-bottom-color: var(--home-hairline);
  background: rgba(255, 255, 255, 0.85);
}

.home-brand,
.home-nav-links a,
.home-footer a {
  color: var(--home-ink);
  text-decoration: none;
  font-weight: 650;
}

.home-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  color: var(--home-ink);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1;
  text-transform: lowercase;
}

.home-brand .brand-dot {
  width: 5px;
  height: 5px;
  margin-left: 3px;
  border-radius: 50%;
  background: var(--home-blue);
  transform: translateY(-1px);
}

.home-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.home-nav-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 14px;
  color: var(--home-ink);
  font-size: 15px;
  font-weight: 600;
  transition: color 240ms var(--ease-smooth), background 240ms var(--ease-smooth), transform 320ms var(--ease-spring);
}

.home-nav-links a:hover {
  color: var(--home-ink);
  background: rgba(15, 18, 34, 0.05);
}

.home-nav-links a.nav-cta {
  margin-left: 8px;
  padding: 0 18px;
  color: #ffffff;
  background: var(--home-blue);
  box-shadow: 0 4px 14px rgba(15, 18, 34, 0.25);
}

.home-nav-links a.nav-cta:hover {
  color: #ffffff;
  background: var(--home-blue-dark);
}

.home-nav-links a.nav-cta:active {
  transform: scale(0.96);
}

.hero-center {
  max-width: 980px;
  display: grid;
  justify-items: center;
  margin: 94px auto 64px;
  text-align: center;
}

.home-kicker {
  margin: 0 0 12px;
  color: var(--home-blue);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.hero-center .home-kicker {
  animation: homeFadeUp 360ms ease 30ms both;
}

.hero-center h1 {
  max-width: 900px;
  margin: 0 0 22px;
  font-size: clamp(52px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 680;
  animation: homeFadeUp 480ms var(--ease-spring) 70ms both;
}

.hero-center > p:not(.home-kicker) {
  max-width: 680px;
  margin: 0;
  color: var(--home-muted);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.5;
  letter-spacing: -0.01em;
  animation: homeFadeUp 480ms var(--ease-spring) 110ms both;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
  animation: homeFadeUp 480ms var(--ease-spring) 150ms both;
}

.home-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  text-decoration: none;
  font-weight: 650;
  transition:
    transform 320ms var(--ease-spring),
    background 240ms var(--ease-smooth),
    box-shadow 320ms var(--ease-spring);
}

.home-button:hover {
  transform: translateY(-1px) scale(1.015);
}

.home-button:active,
.home-page button:active {
  transform: scale(0.97);
  transition-duration: 120ms;
}

.home-button.primary,
.home-page button {
  color: #ffffff;
  background: var(--home-blue);
  box-shadow: 0 8px 22px rgba(15, 18, 34, 0.22);
}

.home-button.primary:hover,
.home-page button:hover {
  background: var(--home-blue-dark);
  box-shadow: 0 12px 30px rgba(15, 18, 34, 0.28);
}

.home-button.secondary {
  color: var(--home-blue);
  background: var(--home-soft);
}

.home-button.secondary:hover {
  background: #ebebee;
}

.hero-product {
  overflow: hidden;
  max-width: 1110px;
  margin: 0 auto 52px;
  border: 1px solid rgba(11, 13, 18, 0.075);
  border-radius: 34px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcfe 54%, #f2f5fa 100%);
  box-shadow: 0 36px 90px rgba(11, 13, 18, 0.1);
  animation: homeProductIn 560ms var(--ease-spring) 180ms both;
}

.hero-product-top {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 30px;
  border-bottom: 1px solid rgba(11, 13, 18, 0.07);
  color: var(--home-muted);
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.hero-product-top strong {
  color: var(--home-blue);
  font-weight: 650;
}

.hero-product-title {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 46px 30px 20px;
  text-align: center;
}

.hero-product-title h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 650;
}

.hero-product-title p {
  max-width: 560px;
  margin: 0;
  color: var(--home-muted);
  font-size: 16px;
  line-height: 1.5;
}

.hero-product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(220px, 0.78fr) minmax(210px, 0.72fr);
  gap: 12px;
  padding: 22px 28px 30px;
}

.hero-thread,
.hero-context,
.hero-lead {
  border: 1px solid rgba(217, 222, 231, 0.72);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(11, 13, 18, 0.045);
}

.hero-thread {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.thread-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
  color: var(--home-muted);
  font-size: 13px;
}

.thread-header strong {
  color: var(--home-ink);
  font-weight: 650;
}

.bubble {
  max-width: 88%;
  padding: 13px 14px;
  border-radius: 18px;
  color: var(--home-ink);
  background: var(--home-soft);
  font-size: 14px;
  line-height: 1.45;
}

.bubble.customer {
  justify-self: end;
  border-bottom-right-radius: 6px;
  color: #ffffff;
  background: var(--home-blue);
}

.bubble.assistant {
  justify-self: start;
  border-bottom-left-radius: 6px;
}

.bubble.small {
  max-width: 72%;
}

.hero-product.motion-stage .bubble {
  opacity: 0;
}

.hero-product.is-visible .bubble.customer {
  animation: bubbleIn 320ms var(--ease-spring) 100ms both;
}

.hero-product.is-visible .bubble.assistant {
  animation: bubbleIn 320ms var(--ease-spring) 260ms both;
}

.hero-product.is-visible .bubble.customer.small {
  animation-delay: 420ms;
}

.hero-context,
.hero-lead {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
}

.hero-context span,
.hero-lead span {
  color: var(--home-muted);
  font-size: 13px;
}

.hero-context ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-context li {
  padding: 12px 13px;
  border-radius: 16px;
  color: #2a2a2d;
  background: var(--home-soft-blue);
  font-size: 13px;
  line-height: 1.35;
}

.hero-lead strong {
  font-size: 28px;
  font-weight: 650;
}

.hero-lead p {
  margin: 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.45;
}

.hero-lead small {
  width: fit-content;
  margin-top: 8px;
  border-radius: 999px;
  padding: 7px 10px;
  color: #0a7a3d;
  background: rgba(10, 122, 61, 0.1);
  font-size: 12px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--home-hairline);
  border-bottom: 1px solid var(--home-hairline);
}

.hero-proof div {
  display: grid;
  gap: 8px;
  min-height: 144px;
  padding: 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

.hero-proof div.motion-reveal:nth-child(1) {
  --motion-delay: 0ms;
}

.hero-proof div.motion-reveal:nth-child(2) {
  --motion-delay: 90ms;
}

.hero-proof div.motion-reveal:nth-child(3) {
  --motion-delay: 180ms;
}

.hero-proof div + div {
  border-left: 1px solid var(--home-hairline);
}

.hero-proof strong {
  max-width: 260px;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 650;
}

.hero-proof span {
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.48;
}

.home-band,
.home-workspace,
.home-launch {
  padding: 104px 0;
}

.home-band.soft {
  width: 100%;
  max-width: none;
  padding-inline: max(22px, calc((100% - 1120px) / 2));
  background: #f6f8fb;
}

.home-section-title {
  display: grid;
  justify-items: center;
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.home-section-title h2,
.home-card-heading h2,
.launch-panel h2 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 650;
}

.home-section-title > p:not(.home-kicker),
.launch-panel > div > p:not(.home-kicker) {
  margin: 12px 0 0;
  color: var(--home-muted);
  font-size: 16px;
  line-height: 1.55;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.use-case-card {
  overflow: hidden;
  border: 1px solid rgba(217, 222, 231, 0.68);
  border-radius: 24px;
  background: #ffffff;
  color: var(--home-ink);
  box-shadow: 0 14px 36px rgba(11, 13, 18, 0.045);
  transition: transform 460ms var(--ease-spring), box-shadow 460ms var(--ease-spring);
}

.use-case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 64px rgba(11, 13, 18, 0.1);
}

.use-case-card img {
  width: 100%;
  aspect-ratio: 1 / 0.92;
  display: block;
  object-fit: cover;
  border-bottom: 1px solid var(--home-hairline);
  filter: saturate(0.94) contrast(1.02);
  transition: transform 700ms var(--ease-spring);
}

.use-case-card:hover img {
  transform: scale(1.035);
}

.use-case-card div {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.use-case-card h3,
.home-step-grid h3,
.home-upload h3 {
  margin: 0 0 8px;
  font-size: 21px;
  letter-spacing: -0.015em;
  font-weight: 650;
}

.use-case-card p,
.home-step-grid p,
.home-card-heading + p,
.home-upload p,
.save-state {
  margin: 0;
  color: var(--home-muted);
  line-height: 1.5;
}

.use-case-card span {
  display: block;
  padding-top: 4px;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}

.home-demo {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1fr);
  gap: 56px;
  align-items: center;
  padding: 112px 0;
  border-top: 1px solid var(--home-hairline);
  border-bottom: 1px solid var(--home-hairline);
}

.home-demo:target .demo-copy {
  animation: demoCopyIn 700ms cubic-bezier(0.2, 0.8, 0.2, 1) 80ms both;
}

.home-demo:target .demo-form {
  animation: demoFormIn 760ms cubic-bezier(0.2, 0.8, 0.2, 1) 180ms both;
}

.demo-copy h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(36px, 4.8vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 650;
}

.demo-copy > p:not(.home-kicker) {
  max-width: 520px;
  margin: 16px 0 0;
  color: var(--home-muted);
  font-size: 17px;
  line-height: 1.55;
}

.demo-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.demo-points span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  padding: 0 13px;
  color: var(--home-muted);
  background: var(--home-soft);
  font-size: 13px;
  font-weight: 650;
}

.demo-form {
  padding: 30px;
  border: 1px solid rgba(217, 222, 231, 0.72);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 28px 72px rgba(11, 13, 18, 0.075);
}

.demo-form-intro {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-bottom: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(217, 222, 231, 0.86);
}

.demo-form-intro span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--home-blue);
  font-size: 13px;
  font-weight: 700;
}

.demo-form-intro strong {
  display: block;
  color: var(--home-ink);
  font-size: 18px;
  line-height: 1.2;
}

.demo-form-intro p {
  margin: 4px 0 0;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.45;
}

.demo-basic-fields {
  display: grid;
  gap: 2px;
}

.home-page .demo-secondary-action {
  width: 100%;
  min-height: 46px;
  margin-top: 18px;
  border: 1px solid rgba(15, 18, 34, 0.24);
  color: var(--home-blue);
  background: rgba(15, 18, 34, 0.08);
  box-shadow: none;
  transition: color 240ms var(--ease-smooth), background 240ms var(--ease-smooth), transform 320ms var(--ease-spring);
}

.home-page .demo-secondary-action:hover {
  color: #ffffff;
  background: var(--home-blue);
  box-shadow: none;
}

#homeDemoSetup:not([hidden]) {
  animation: setupExpandIn 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.demo-form button {
  width: 100%;
  min-height: 46px;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  font-weight: 650;
  cursor: pointer;
}

.demo-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.45;
}

.demo-status.success {
  color: #0a7a3d;
}

.demo-status.error {
  color: #b42318;
}

.home-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--home-hairline);
  border-bottom: 1px solid var(--home-hairline);
}

.home-step-grid article,
.home-card {
  border: 1px solid var(--home-line);
  border-radius: 18px;
  background: var(--home-card);
  box-shadow: var(--home-shadow);
}

.home-step-grid article {
  min-height: 196px;
  padding: 34px 30px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: transform 460ms var(--ease-spring);
}

.home-step-grid article + article {
  border-left: 1px solid var(--home-hairline);
}

.home-step-grid article:hover {
  transform: translateY(-1px);
  box-shadow: none;
}

.home-step-grid span {
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 0;
  color: var(--home-blue);
  background: transparent;
  font-size: 13px;
  font-weight: 650;
}

.channel-preview {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: start;
  margin-top: 42px;
  padding-top: 38px;
  border-top: 1px solid var(--home-hairline);
}

.channel-preview h3 {
  max-width: 460px;
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.12;
  font-weight: 650;
}

.channel-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.channel-preview-grid article {
  display: grid;
  /* Satirlar ICERIGE gore, artan bosluk ALTTA toplanir.
     Varsayilan "stretch" ile satirlar karti dolduracak sekilde geriliyordu:
     12 px'lik "WhatsApp modülü" rozeti 32 px yerine 50 px yuksekliginde
     ciziliyor ve hap degil kutu gibi duruyordu. Ayni gerilme basligi ve
     aciklamayi da dikeyde ortaliyordu. */
  align-content: start;
  gap: 10px;
  min-height: 172px;
  padding: 24px;
  border: 1px solid rgba(217, 222, 231, 0.72);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  transition: transform 460ms var(--ease-spring), box-shadow 460ms var(--ease-spring);
}

.channel-preview-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(11, 13, 18, 0.07);
}

.channel-preview-grid article.motion-reveal:nth-child(2) {
  --motion-delay: 90ms;
}

.channel-preview-grid span {
  width: fit-content;
  /* Gerilmeye karsi ikinci koruma: kartin ic duzeni ileride degisirse rozet
     yine hap olarak kalsin. */
  align-self: start;
  border-radius: 999px;
  /* Yatay nefes 12 px: sayfadaki diger rozet (.setup-intro > span) da oyle.
     10 px'te hap, yaziya fazla yapisik duruyordu. */
  padding: 7px 12px;
  color: var(--home-blue);
  background: rgba(15, 18, 34, 0.08);
  font-size: 12px;
  font-weight: 700;
}

.channel-preview-grid strong {
  color: var(--home-ink);
  font-size: 20px;
  line-height: 1.22;
  font-weight: 650;
}

.channel-preview-grid small {
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.45;
}

.channel-try-link {
  width: fit-content;
  color: var(--home-blue);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: color 240ms var(--ease-smooth);
}

.channel-try-link:hover {
  color: var(--home-blue-dark);
  text-decoration: underline;
}

.home-workspace {
  padding-top: 68px;
}

.home-work-grid {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.home-card {
  padding: 28px;
}

.setup-panel {
  padding: 0;
  overflow: hidden;
}

.home-card-heading {
  margin-bottom: 20px;
}

.setup-intro {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 26px 22px;
  border-bottom: 1px solid var(--home-line);
  background: #ffffff;
}

.setup-intro h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.12;
  font-weight: 650;
}

.setup-intro p:not(.home-kicker) {
  max-width: 560px;
  margin: 12px 0 0;
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.55;
}

.setup-intro > span {
  height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(15, 18, 34, 0.22);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--home-blue);
  background: rgba(15, 18, 34, 0.08);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.panel-heading-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.ghost-action {
  min-height: 36px;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  padding: 0 13px;
  color: var(--home-blue);
  background: #ffffff;
  box-shadow: none;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
}

.home-page .ghost-action {
  color: var(--home-blue);
  background: #ffffff;
  box-shadow: none;
}

.setup-section {
  padding: 22px 26px;
  border-bottom: 1px solid var(--home-line);
}

.setup-section-title {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-bottom: 16px;
}

.setup-section-title > span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--home-ink);
  font-size: 12px;
  font-weight: 650;
}

.setup-section-title h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.setup-section-title p {
  margin: 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.45;
}

.field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: 12px;
}

.home-page label {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: #2a2a2d;
  font-size: 13px;
  font-weight: 650;
}

.home-page input,
.home-page textarea,
.home-page select {
  width: 100%;
  border: 1px solid #dfe4ec;
  border-radius: 12px;
  padding: 14px 15px;
  color: var(--home-ink);
  background: #ffffff;
  outline: none;
  transition: border-color 240ms var(--ease-smooth), box-shadow 240ms var(--ease-smooth);
}

.home-page input:hover,
.home-page textarea:hover {
  border-color: #c4ccd8;
}

.home-page input:focus,
.home-page textarea:focus {
  border-color: var(--home-blue);
  box-shadow: 0 0 0 4px rgba(58, 71, 232, 0.1);
}

.motion-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 460ms var(--ease-smooth),
    transform 460ms var(--ease-spring);
  transition-delay: var(--motion-delay, 0ms);
}

.motion-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.use-case-card.motion-reveal:nth-child(1),
.home-step-grid article.motion-reveal:nth-child(1) {
  --motion-delay: 0ms;
}

.use-case-card.motion-reveal:nth-child(2),
.home-step-grid article.motion-reveal:nth-child(2) {
  --motion-delay: 80ms;
}

.use-case-card.motion-reveal:nth-child(3),
.home-step-grid article.motion-reveal:nth-child(3) {
  --motion-delay: 160ms;
}

.use-case-card.motion-reveal:nth-child(4) {
  --motion-delay: 240ms;
}

.knowledge-note,
.setup-assurance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(15, 18, 34, 0.16);
  border-radius: 8px;
  background: rgba(15, 18, 34, 0.06);
}

.knowledge-note strong,
.setup-assurance strong {
  color: var(--home-blue);
  font-size: 13px;
}

.knowledge-note span,
.setup-assurance span {
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.45;
}

.home-upload {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin: 22px 26px 0;
  padding: 16px;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: var(--home-soft);
}

.home-upload-button {
  min-height: 42px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  margin-top: 0;
  border-radius: 999px;
  padding: 0 16px;
  color: #ffffff;
  background: var(--home-blue);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
}

.home-upload-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.setup-panel .photo-grid {
  padding: 0 26px;
}

.setup-assurance {
  margin: 18px 26px 26px;
  background: #ffffff;
}

.home-chat-log {
  min-height: 440px;
  border-radius: 8px;
  background: var(--home-soft);
}

.home-chat-form,
.home-link-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.home-chat-form {
  margin-top: 14px;
}

.home-launch {
  padding-top: 24px;
}

.home-work-grid > .home-launch {
  grid-column: 2;
  width: 100%;
  margin: 0;
  padding: 0;
}

.launch-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
  padding: 34px;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: var(--home-ink);
  color: #ffffff;
  box-shadow: var(--home-shadow);
}

.home-work-grid .launch-panel {
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
}

.home-work-grid .launch-panel h2 {
  font-size: clamp(25px, 3vw, 34px);
}

.launch-panel .home-kicker {
  color: #22d3a6;
}

.launch-panel p,
.launch-panel label {
  color: rgba(255, 255, 255, 0.72);
}

.home-link-strip {
  align-items: end;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.home-status {
  grid-column: 2;
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.home-status strong {
  color: #ffffff;
  font-size: 15px;
  font-weight: 720;
}

.home-status p {
  color: rgba(255, 255, 255, 0.68);
}

.home-status.working {
  border-color: rgba(54, 133, 208, 0.34);
  color: #174d7a;
  background: #eef1f6;
}

.home-status.working strong {
  color: #174d7a;
}

.home-status.working p {
  color: #416a8d;
}

.home-status.working .status-icon {
  color: #ffffff;
  background: #2478bd;
}

.home-status.success {
  border-color: rgba(22, 121, 77, 0.34);
  color: #104c32;
  background: #edf9f1;
}

.home-status.success strong {
  color: #104c32;
}

.home-status.success p {
  color: #35694f;
}

.home-status.success .status-icon {
  color: #ffffff;
  background: #16794d;
}

.home-status.error {
  border-color: rgba(176, 48, 35, 0.42);
  color: #631d16;
  background: #fff1ef;
}

.home-status.error strong {
  color: #631d16;
  font-weight: 760;
}

.home-status.error p {
  color: #87352b;
}

.home-status.error .status-icon {
  color: #ffffff;
  background: #b42318;
}

.connection-result,
.embed-result {
  grid-column: 2;
}

.home-work-grid .home-status,
.home-work-grid .connection-result,
.home-work-grid .embed-result {
  grid-column: auto;
}

.home-footer {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 40px 0 34px;
  border-top: 1px solid var(--home-hairline);
}

.home-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
}

.home-footer a {
  color: var(--home-muted);
  font-size: 13px;
  font-weight: 600;
  transition: color 240ms var(--ease-smooth);
}

.home-footer a:hover {
  color: var(--home-ink);
}

.footer-meta {
  margin: 0;
  color: var(--home-muted);
  font-size: 12px;
}

.home-faq {
  order: 7;
  width: min(760px, calc(100% - 44px));
  margin: 0 auto;
  padding: 104px 0;
}

.faq-list {
  border-top: 1px solid var(--home-hairline);
}

.faq-item {
  border-bottom: 1px solid var(--home-hairline);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  color: var(--home-ink);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color 240ms var(--ease-smooth);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--home-blue);
}

.faq-item summary::after {
  content: "+";
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--home-muted);
  background: var(--home-soft);
  font-size: 17px;
  font-weight: 500;
  transition: transform 380ms var(--ease-spring), background 240ms var(--ease-smooth), color 240ms var(--ease-smooth);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: #ffffff;
  background: var(--home-blue);
}

.faq-answer {
  overflow: hidden;
  padding: 0 48px 22px 4px;
}

.faq-item[open] .faq-answer {
  animation: faqOpen 420ms var(--ease-spring) both;
}

.faq-answer p {
  margin: 0;
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.6;
}

.faq-answer a {
  color: var(--home-blue);
  text-decoration: none;
  font-weight: 600;
}

.faq-answer a:hover {
  text-decoration: underline;
}

.footer-brand {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.footer-brand p {
  max-width: 420px;
  margin: 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.home-page.subpage {
  display: block;
}

.hero-center.subpage {
  margin: 72px auto 56px;
}

.hero-center.subpage h1 {
  font-size: clamp(40px, 5.6vw, 68px);
}

.trial-band {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(260px, 0.9fr);
  gap: 32px;
  align-items: center;
  padding: 38px;
  border: 1px solid rgba(217, 222, 231, 0.72);
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
  box-shadow: 0 24px 60px rgba(11, 13, 18, 0.06);
}

.trial-band h2 {
  margin: 0;
  font-size: clamp(27px, 3.4vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 650;
}

.trial-band > div > p:not(.home-kicker) {
  max-width: 460px;
  margin: 10px 0 0;
  color: var(--home-muted);
  font-size: 16px;
  line-height: 1.55;
}

.trial-actions {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.trial-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trial-metrics span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  padding: 0 13px;
  color: var(--home-muted);
  background: #ffffff;
  font-size: 13px;
  font-weight: 600;
}

.trial-metrics strong {
  color: var(--home-ink);
  font-weight: 700;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border: 1px solid rgba(217, 222, 231, 0.72);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(11, 13, 18, 0.045);
  transition: transform 460ms var(--ease-spring), box-shadow 460ms var(--ease-spring);
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 58px rgba(11, 13, 18, 0.09);
}

.plan-card.featured {
  border-color: rgba(15, 18, 34, 0.35);
  box-shadow: 0 24px 60px rgba(15, 18, 34, 0.12);
}

.plan-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--home-blue);
  background: rgba(15, 18, 34, 0.1);
  font-size: 11px;
  font-weight: 700;
}

/* "Yakinda" bir uyari degil, plan bildirimi: hardal ton sayfanin mavi/gri
   paletiyle cakisiyordu. Notr renk + kesikli cerceve "henuz yok" hissini
   uyari havasi vermeden veriyor. */
.inline-soon {
  display: inline-flex;
  margin-left: 6px;
  border-radius: 999px;
  padding: 2px 9px;
  border: 1px dashed rgba(15, 18, 34, 0.28);
  color: #5b5b60;
  background: transparent;
  font-size: 10px;
  font-weight: 600;
  vertical-align: middle;
}

.plan-name {
  color: var(--home-blue);
  font-size: 13px;
  font-weight: 650;
}

.plan-price {
  font-family: var(--font-display);
  color: var(--home-ink);
  font-size: 34px;
  font-weight: 680;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* Fiyati henuz belli olmayan paket: rakam yerine kisa bir not, o yuzden
   34px baslik boyutu yerine notr ve kucuk. */
.plan-price-soon {
  color: var(--home-muted);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
}

.plan-price span {
  margin-left: 2px;
  color: var(--home-muted);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
}

.plan-card > p {
  margin: 0 0 auto;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.5;
}

.plan-card small {
  color: var(--home-muted);
  font-size: 12px;
  line-height: 1.45;
}

.plan-card .home-button {
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  padding: 0 14px;
  font-size: 14px;
}

.plan-card .home-button + .home-button {
  margin-top: 0;
}

.use-case-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.use-case-card .home-button {
  width: fit-content;
  margin-top: 4px;
  font-size: 14px;
}

.use-case-card .home-kicker {
  margin: 0;
  color: var(--home-blue);
  font-size: 13px;
  font-weight: 650;
}

.subpage-cta {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 96px;
  padding: 56px 32px;
  border: 1px solid rgba(217, 222, 231, 0.6);
  border-radius: 32px;
  background: linear-gradient(180deg, #ffffff 0%, #eef1f6 100%);
  text-align: center;
}

.subpage-cta h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 650;
}

.subpage-cta p {
  max-width: 560px;
  margin: 0;
  color: var(--home-muted);
  font-size: 16px;
  line-height: 1.55;
}

.subpage-cta .home-button {
  margin-top: 10px;
}

.voice-showcase-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 34px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  color: #f5f7fb;
  background: #0f1433;
  box-shadow: 0 44px 110px rgba(11, 13, 18, 0.3);
}

.voice-showcase-left {
  display: grid;
  justify-items: center;
  gap: 20px;
}

.voice-demo-orb {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffffff 0%, #dff8f0 38%, #8ff0d4 72%, #22d3a6 100%);
  box-shadow:
    0 0 70px rgba(140, 175, 235, 0.3),
    0 18px 50px rgba(0, 0, 0, 0.4);
  animation: none;
}

.voice-showcase-card.is-visible .voice-demo-orb {
  animation: orbBreath 1.8s ease-out 1;
}

.voice-live-badge {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 7px 13px;
  color: rgba(245, 245, 247, 0.65);
  font-size: 12px;
  font-weight: 600;
}

.voice-call-lines {
  display: grid;
  gap: 12px;
}

.call-line {
  display: grid;
  gap: 5px;
  max-width: 86%;
  border-radius: 18px;
  padding: 13px 15px;
}

.call-line span {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
  opacity: 0.55;
}

.call-line p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.call-line.customer {
  justify-self: end;
  border-bottom-right-radius: 6px;
  color: #ffffff;
  background: var(--home-blue);
}

.call-line.agent {
  justify-self: start;
  border-bottom-left-radius: 6px;
  color: #f5f7fb;
  background: rgba(255, 255, 255, 0.08);
}

.call-result {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.call-result span {
  border-radius: 999px;
  padding: 7px 11px;
  color: #7ddba3;
  background: rgba(125, 219, 163, 0.1);
  font-size: 12px;
  font-weight: 600;
}

.voice-showcase-card.motion-reveal .call-line,
.voice-showcase-card.motion-reveal .call-result {
  opacity: 0;
}

.voice-showcase-card.is-visible .call-line,
.voice-showcase-card.is-visible .call-result {
  animation: callLineIn 360ms var(--ease-spring) both;
}

.voice-showcase-card.is-visible .call-line:nth-child(1) {
  animation-delay: 120ms;
}

.voice-showcase-card.is-visible .call-line:nth-child(2) {
  animation-delay: 360ms;
}

.voice-showcase-card.is-visible .call-line:nth-child(3) {
  animation-delay: 600ms;
}

.voice-showcase-card.is-visible .call-line:nth-child(4) {
  animation-delay: 840ms;
}

.voice-showcase-card.is-visible .call-result {
  animation-delay: 1080ms;
}

.voice-showcase-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.subpage-form-band {
  margin-bottom: 24px;
  padding: 32px 0 72px;
  border-top: 0;
  border-bottom: 0;
}

.home-page .approval-info {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(10, 122, 61, 0.25);
  border-radius: 14px;
  background: rgba(10, 122, 61, 0.06);
}

.home-page .approval-info h3 {
  margin: 0 0 4px;
  color: #0a7a3d;
  font-size: 15px;
}

.home-page .approval-info p {
  margin: 0;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Kutu varsayilan olarak yesil (basari) gorunuyor. Hata ve uyari mesajlarinda
   yesil yaniltici oldugu icin tonu duruma gore degistiriyoruz. Metin renkleri
   AA kontrast esigini gecmek uzere secildi. */
.home-page .approval-info.is-warn {
  border-color: rgba(146, 84, 4, 0.28);
  background: rgba(180, 120, 10, 0.08);
}

.home-page .approval-info.is-warn h3 {
  color: #8a4b08;
}

.home-page .approval-info.is-error {
  border-color: rgba(176, 32, 32, 0.28);
  background: rgba(176, 32, 32, 0.06);
}

.home-page .approval-info.is-error h3 {
  color: #a11212;
}

.demo-optional {
  margin-top: 16px;
  border-top: 1px solid rgba(217, 222, 231, 0.86);
  padding-top: 14px;
}

.demo-optional summary {
  list-style: none;
  width: fit-content;
  color: var(--home-blue);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.demo-optional summary::-webkit-details-marker {
  display: none;
}

.demo-optional summary::after {
  content: " +";
}

.demo-optional[open] summary::after {
  content: " −";
}

.demo-optional-hint {
  margin: 10px 0 0;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.5;
}

.auth-card-wrap {
  display: grid;
  justify-items: center;
  padding: 24px 0 88px;
}

.auth-card-lite {
  width: min(440px, 100%);
}

.auth-card-lite form + form {
  margin-top: 4px;
}

.auth-card-lite button {
  width: 100%;
  min-height: 46px;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  font-weight: 650;
  cursor: pointer;
}

.auth-divider-lite {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 22px 0 6px;
  color: var(--home-muted);
  font-size: 12px;
  font-weight: 600;
}

.auth-divider-lite::before,
.auth-divider-lite::after {
  content: "";
  height: 1px;
  background: rgba(217, 222, 231, 0.86);
}

.auth-compact {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(217, 222, 231, 0.86);
}

/* Kart basligi: kullanici hangi adimda oldugunu tek bakista gorsun. */
.auth-card-head {
  margin-bottom: 4px;
}

.auth-card-head h2 {
  margin: 0 0 6px;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--home-ink, #0f1222);
}

.auth-card-head p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--home-muted);
}

/* 6 haneli dogrulama kodu: rakamlar tek tek okunabilsin diye genis harf
   araligi ve sabit genislikli yazi tipi. */
.code-input {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 26px;
  letter-spacing: 10px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.builder-stage {
  display: grid;
  gap: 22px;
  max-width: 760px;
  margin: 0 auto 64px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  color: #f5f7fb;
  background: #0f1433;
  box-shadow: 0 44px 110px rgba(11, 13, 18, 0.35);
}

.builder-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.builder-progress span {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 7px 13px;
  color: rgba(245, 245, 247, 0.45);
  font-size: 12px;
  font-weight: 600;
  transition: color 320ms var(--ease-smooth), border-color 320ms var(--ease-smooth), background 320ms var(--ease-smooth);
}

.builder-progress span.active {
  border-color: rgba(15, 18, 34, 0.5);
  color: #22d3a6;
  background: rgba(15, 18, 34, 0.1);
}

.builder-step {
  display: grid;
  gap: 14px;
  animation: setupExpandIn 460ms var(--ease-spring) both;
}

.builder-step h2 {
  margin: 0;
  color: #f5f7fb;
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -0.015em;
  font-weight: 650;
}

.builder-hint {
  margin: -6px 0 0;
  color: rgba(245, 245, 247, 0.55);
  font-size: 14px;
  line-height: 1.5;
}

.home-page .builder-stage textarea,
.home-page .builder-stage input[type="text"],
.home-page .builder-stage input[type="password"],
.home-page .builder-stage input[type="tel"],
.home-page .builder-stage select {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f5f7fb;
  background: rgba(255, 255, 255, 0.05);
}

.home-page .builder-stage textarea::placeholder,
.home-page .builder-stage input::placeholder {
  color: rgba(245, 245, 247, 0.35);
}

.home-page .builder-stage textarea:focus,
.home-page .builder-stage input:focus,
.home-page .builder-stage select:focus {
  border-color: rgba(15, 18, 34, 0.6);
  box-shadow: 0 0 0 4px rgba(58, 71, 232, 0.15);
}

.builder-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-page .builder-chips button {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0 13px;
  color: rgba(245, 245, 247, 0.7);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.home-page .builder-chips button:hover {
  color: #ffffff;
  background: rgba(15, 18, 34, 0.25);
}

.builder-questions {
  display: grid;
  gap: 4px;
}

.builder-field {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  color: rgba(245, 245, 247, 0.8);
  font-size: 13px;
  font-weight: 650;
}

.builder-question-text {
  color: #f5f7fb;
  font-size: 14px;
  line-height: 1.4;
}

.builder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.builder-stage .home-button.secondary {
  color: #f5f7fb;
  background: rgba(255, 255, 255, 0.1);
}

.builder-stage .home-button.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.voice-pick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.home-page .voice-pick {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: border-color 240ms var(--ease-smooth), background 240ms var(--ease-smooth), transform 320ms var(--ease-spring);
}

.voice-pick:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.26);
}

.voice-pick input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.voice-pick-radio {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  transition: border-color 240ms var(--ease-smooth), background 240ms var(--ease-smooth);
}

.voice-pick strong {
  color: #f5f7fb;
  font-size: 15px;
  font-weight: 650;
}

.voice-pick:has(input:checked) {
  border-color: rgba(15, 18, 34, 0.65);
  background: rgba(15, 18, 34, 0.14);
}

.voice-pick:has(input:checked) .voice-pick-radio {
  border-color: var(--home-blue);
  background: radial-gradient(circle, var(--home-blue) 0 5px, transparent 6px);
}

.voice-pick input:focus-visible + .voice-pick-radio {
  outline: 2px solid var(--home-blue);
  outline-offset: 2px;
}

.voice-pick-note {
  margin: 12px 0 0;
  color: rgba(245, 245, 247, 0.5);
  font-size: 12px;
  line-height: 1.5;
}

.builder-success {
  display: grid;
  gap: 6px;
}

.builder-success strong {
  color: #7ddba3;
  font-size: 18px;
  font-weight: 650;
}

.builder-success p {
  margin: 0;
  color: rgba(245, 245, 247, 0.6);
  font-size: 14px;
  line-height: 1.5;
}

.builder-sip {
  display: grid;
  gap: 12px;
}

.builder-sip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.builder-sip-grid label {
  margin-top: 0;
  color: rgba(245, 245, 247, 0.8);
}

.builder-note {
  margin: 0;
  color: rgba(245, 245, 247, 0.4);
  font-size: 12px;
  line-height: 1.5;
}

.builder-connection-details {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding: 14px;
  border: 1px solid rgba(125, 219, 163, 0.28);
  border-radius: 14px;
  color: rgba(245, 245, 247, 0.72);
  background: rgba(125, 219, 163, 0.08);
  font-size: 13px;
  line-height: 1.5;
}

.builder-connection-details strong {
  color: #7ddba3;
}

.builder-connection-details code {
  display: block;
  overflow-wrap: anywhere;
  color: #f5f7fb;
  font: 600 12px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.builder-connection-details p {
  margin: 0;
}

.builder-status {
  min-height: 20px;
  margin: 0;
  color: rgba(245, 245, 247, 0.6);
  font-size: 14px;
}

.builder-status.error {
  color: #ff8f86;
}

.builder-status.success {
  color: #7ddba3;
}

@keyframes orbBreath {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.06);
  }
}

@keyframes callLineIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.voice-stage {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto 64px;
  padding: 34px 34px 38px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  color: #f5f7fb;
  background: #0f1433;
  box-shadow: 0 44px 110px rgba(11, 13, 18, 0.35);
}

.voice-stage-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  color: rgba(245, 245, 247, 0.6);
  font-size: 13px;
  font-weight: 600;
}

.setup-publish-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(35, 162, 103, 0.22);
  border-radius: 16px;
  background: #f3fbf6;
}

.setup-publish-cta > div {
  display: grid;
  gap: 4px;
}

.setup-publish-cta strong {
  color: var(--ink);
  font-size: 16px;
}

.setup-publish-cta span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.setup-publish-cta button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.voice-stage-business {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.voice-stage-business strong {
  overflow: hidden;
  color: #f5f7fb;
  font-size: 14px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.voice-stage-eyebrow {
  color: rgba(245, 245, 247, 0.42);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.voice-stage-badge {
  margin-left: auto;
  border: 1px solid rgba(34, 211, 166, 0.22);
  border-radius: 999px;
  padding: 6px 10px;
  color: #22d3a6;
  background: rgba(15, 18, 34, 0.1);
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

.voice-stage-heading {
  display: grid;
  gap: 5px;
  justify-items: center;
  margin-top: 4px;
  text-align: center;
}

.voice-stage-heading h2 {
  margin: 0;
  color: #f5f7fb;
  font-size: 28px;
  letter-spacing: 0;
  line-height: 1.1;
}

.voice-stage-heading p {
  max-width: 420px;
  margin: 0;
  color: rgba(245, 245, 247, 0.52);
  font-size: 13px;
  line-height: 1.5;
}

#voiceTimer {
  font-variant-numeric: tabular-nums;
  color: rgba(245, 245, 247, 0.75);
}

.voice-orb-wrap {
  display: grid;
  place-items: center;
  padding: 26px 0 10px;
}

.voice-orb {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffffff 0%, #dff8f0 38%, #8ff0d4 72%, #22d3a6 100%);
  box-shadow:
    0 0 60px rgba(34, 211, 166, 0.25),
    0 18px 60px rgba(0, 0, 0, 0.4);
  transition: transform 90ms ease-out, box-shadow 400ms var(--ease-smooth);
  will-change: transform;
}

.voice-orb.live {
  box-shadow:
    0 0 90px rgba(15, 18, 34, 0.4),
    0 18px 60px rgba(0, 0, 0, 0.4);
}

.voice-status {
  min-height: 22px;
  margin: 0;
  color: rgba(245, 245, 247, 0.7);
  font-size: 15px;
  text-align: center;
}

.voice-status.live {
  color: #22d3a6;
}

.voice-status.error {
  color: #ff8f86;
}

.voice-status.success {
  color: #7ddba3;
}

.voice-transcript {
  min-height: 20px;
  max-width: 560px;
  margin: 0;
  color: rgba(245, 245, 247, 0.45);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.voice-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.voice-select {
  display: grid;
  gap: 6px;
  margin: 0;
  color: rgba(245, 245, 247, 0.6);
  font-size: 12px;
  font-weight: 600;
}

.voice-choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.voice-choice {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0 14px;
  color: rgba(245, 245, 247, 0.72);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.voice-choice:hover {
  border-color: rgba(125, 219, 163, 0.55);
  color: #f5f7fb;
  transform: translateY(-1px);
}

.voice-choice.is-selected {
  border-color: rgba(125, 219, 163, 0.85);
  color: #07140d;
  background: #7ddba3;
  box-shadow: 0 8px 22px rgba(125, 219, 163, 0.18);
}

.voice-choice:focus-visible {
  outline: 2px solid #22d3a6;
  outline-offset: 3px;
}

.voice-select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.home-button.danger {
  color: #ffffff;
  background: #d92c20;
}

.home-button.danger:hover {
  background: #b42318;
}

.voice-stage .home-button.secondary {
  color: #f5f7fb;
  background: rgba(255, 255, 255, 0.1);
}

.voice-stage .home-button.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.voice-proof {
  margin-top: 8px;
}

@media (max-width: 600px) {
  .voice-stage {
    padding: 22px 18px 26px;
    border-radius: 24px;
  }

  .voice-stage-badge {
    padding: 5px 8px;
    font-size: 10px;
  }

  .voice-stage-heading h2 {
    font-size: 24px;
  }

  .voice-orb {
    width: 116px;
    height: 116px;
  }

  .voice-controls {
    width: 100%;
  }

  .voice-controls .home-button {
    flex: 1 1 100%;
  }

  .voice-select {
    width: 100%;
  }

  .voice-choice-list {
    width: 100%;
  }

  .voice-choice {
    flex: 1 1 calc(20% - 7px);
    padding: 0 10px;
  }
}

.voice-agent-panel-card {
  display: grid;
  gap: 12px;
}

.voice-agent-panel-card .voice-route-small {
  display: block;
  overflow-wrap: anywhere;
  color: var(--home-muted);
  font: 12px/1.45 ui-monospace, SFMono-Regular, Consolas, monospace;
}

@keyframes faqOpen {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes homeFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes homeFadeDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes homeProductIn {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes bubbleIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes demoCopyIn {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes demoFormIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes setupExpandIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page *,
  .home-page *::before,
  .home-page *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .motion-reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 920px) {
  .home-nav {
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .home-hero,
  .home-band,
  .home-demo,
  .home-workspace,
  .home-launch,
  .home-footer {
    width: min(100% - 24px, 1120px);
  }

  .home-band.soft {
    width: 100%;
    padding-inline: 12px;
  }

  .hero-proof,
  .hero-product-grid,
  .use-case-grid,
  .use-case-grid.three,
  .home-demo,
  .home-work-grid,
  .launch-panel,
  .home-chat-form,
  .home-link-strip,
  .home-upload,
  .field-row,
  .trial-band {
    grid-template-columns: 1fr;
  }

  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-faq {
    width: min(100% - 24px, 760px);
    padding: 68px 0;
  }

  .voice-showcase-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .builder-sip-grid {
    grid-template-columns: 1fr;
  }

  .home-step-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof div + div {
    border-left: 1px solid rgba(17, 17, 20, 0.08);
  }

  .hero-proof div + div,
  .home-step-grid article + article {
    border-left: 0;
    border-top: 1px solid var(--home-hairline);
  }

  .hero-product {
    max-width: 720px;
  }

  .home-demo {
    align-items: start;
  }

  .channel-preview,
  .channel-preview-grid {
    grid-template-columns: 1fr;
  }

  .home-upload-button {
    width: 100%;
    justify-self: stretch;
  }

  .setup-publish-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .setup-publish-cta button {
    width: 100%;
  }

  .home-status,
  .connection-result,
  .embed-result {
    grid-column: auto;
  }

  .home-work-grid > .home-launch {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .home-nav {
    align-items: center;
    position: static;
  }

  .home-nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
  }

  .home-nav-links a[href="/admin"] {
    display: none;
  }

  .home-nav-links a {
    min-height: 32px;
    padding: 0 9px;
    font-size: 13px;
  }

  .home-nav-links a.nav-cta {
    margin-left: 4px;
    padding: 0 14px;
  }

  .hero-center {
    margin-top: 46px;
    margin-bottom: 32px;
  }

  .hero-center h1 {
    font-size: 42px;
    line-height: 1.02;
  }

  .hero-center > p:not(.home-kicker) {
    font-size: 17px;
    line-height: 1.48;
  }

  .home-hero {
    padding-bottom: 58px;
  }

  .hero-product {
    margin-bottom: 32px;
    border-radius: 20px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.1);
  }

  .hero-product-top {
    min-height: auto;
    padding: 14px;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .hero-product-title {
    padding: 24px 16px 10px;
  }

  .hero-product-title h2 {
    font-size: 27px;
  }

  .hero-product-title p {
    font-size: 14px;
  }

  .hero-product-grid {
    gap: 10px;
    padding: 12px;
  }

  .hero-thread,
  .hero-context,
  .hero-lead {
    gap: 10px;
    padding: 14px;
    border-radius: 14px;
  }

  .thread-header,
  .hero-context span,
  .hero-lead span,
  .hero-context li {
    font-size: 12px;
  }

  .bubble {
    padding: 11px 12px;
    border-radius: 14px;
    font-size: 13px;
  }

  .bubble,
  .bubble.small {
    max-width: 100%;
  }

  .hero-context li:nth-child(3) {
    display: none;
  }

  .hero-lead strong {
    font-size: 24px;
  }

  .home-band,
  .home-demo,
  .home-workspace {
    padding-block: 68px;
  }

  .home-section-title {
    margin-bottom: 30px;
  }

  .home-section-title h2,
  .demo-copy h2 {
    font-size: 34px;
  }

  .hero-proof div,
  .home-step-grid article {
    min-height: auto;
    padding: 24px 4px;
  }

  .channel-preview {
    margin-top: 30px;
    padding-top: 30px;
  }

  .channel-preview-grid article {
    min-height: auto;
    padding: 20px;
  }

  .use-case-card {
    border-radius: 20px;
  }

  .home-actions,
  .home-actions a {
    width: 100%;
  }

  .home-card,
  .launch-panel,
  .demo-form {
    padding: 18px;
  }

  .home-chat-log {
    min-height: 300px;
  }

  .home-work-grid .launch-panel {
    gap: 12px;
    padding: 18px;
  }

  .home-work-grid .launch-panel h2 {
    font-size: 24px;
  }

  .plan-grid {
    grid-template-columns: 1fr;
  }

  .trial-band {
    padding: 24px;
    border-radius: 22px;
  }

  .trial-actions,
  .trial-actions .home-button {
    width: 100%;
  }

  .subpage-cta {
    margin-top: 60px;
    padding: 36px 20px;
    border-radius: 24px;
  }

  .hero-center.subpage {
    margin: 40px auto 36px;
  }

  .hero-center.subpage h1 {
    font-size: 36px;
  }

  .home-link-strip {
    padding: 12px;
  }

  .setup-panel {
    padding: 0;
  }

  .setup-intro {
    display: grid;
    padding: 22px 20px 18px;
  }

  .setup-intro > span {
    width: fit-content;
  }

  .setup-section {
    padding: 20px;
  }

  .home-upload {
    margin-inline: 20px;
  }

  .setup-panel .photo-grid {
    padding-inline: 20px;
  }

  .setup-assurance,
  .knowledge-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .setup-assurance {
    margin-inline: 20px;
  }

  .home-chat-log {
    min-height: 330px;
  }
}

.assistant-light {
  color: var(--home-ink);
  background: #ffffff;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

.assistant-light .assistant-page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 64px;
}

.assistant-light .assistant-hero {
  display: grid;
  gap: 18px;
  margin-bottom: 26px;
  padding: 0;
  background: transparent;
  border: 0;
}

.assistant-light .assistant-brand {
  color: var(--home-muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.assistant-light .eyebrow {
  margin: 0 0 8px;
  color: var(--home-blue);
  font-size: 13px;
  font-weight: 650;
  text-transform: none;
  letter-spacing: 0;
}

.assistant-light .assistant-hero h1 {
  margin: 0;
  color: var(--home-ink);
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 680;
}

.assistant-light .assistant-hero .lead {
  margin: 8px 0 0;
  color: var(--home-muted);
  font-size: 16px;
  line-height: 1.5;
}

.assistant-light .panel {
  border: 1px solid rgba(217, 222, 231, 0.72);
  border-radius: 24px;
  color: var(--home-ink);
  background: #ffffff;
  box-shadow: 0 20px 52px rgba(11, 13, 18, 0.06);
}

.assistant-light .public-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 18px;
  align-items: start;
}

.assistant-light .public-chat-panel {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.assistant-light .chat-log {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 480px;
  max-height: 62vh;
  overflow-y: auto;
  border: 0;
  border-radius: 16px;
  padding: 18px;
  background: var(--home-soft);
}

.assistant-light .message {
  max-width: 82%;
  border-radius: 18px;
  padding: 12px 14px;
  color: var(--home-ink);
  background: #ffffff;
  border: 1px solid rgba(217, 222, 231, 0.7);
  font-size: 14px;
  line-height: 1.5;
  animation: bubbleIn 420ms var(--ease-spring) both;
}

.assistant-light .message.user {
  justify-self: end;
  border: 0;
  border-bottom-right-radius: 6px;
  color: #ffffff;
  background: var(--home-blue);
}

.assistant-light .message.bot {
  justify-self: start;
  border-bottom-left-radius: 6px;
}

.assistant-light .message small {
  display: block;
  margin-top: 6px;
  opacity: 0.6;
  font-size: 11px;
}

.assistant-light .chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.assistant-light input,
.assistant-light textarea,
.assistant-light select {
  width: 100%;
  border: 1px solid #dfe4ec;
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--home-ink);
  background: #ffffff;
  outline: none;
  font-size: 14px;
  transition: border-color 240ms var(--ease-smooth), box-shadow 240ms var(--ease-smooth);
}

.assistant-light input:focus,
.assistant-light textarea:focus {
  border-color: var(--home-blue);
  box-shadow: 0 0 0 4px rgba(58, 71, 232, 0.1);
}

.assistant-light button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  color: #ffffff;
  background: var(--home-blue);
  font-weight: 650;
  font-size: 14px;
  cursor: pointer;
  transition: background 240ms var(--ease-smooth), transform 320ms var(--ease-spring);
}

.assistant-light button:hover {
  background: var(--home-blue-dark);
}

.assistant-light button:active {
  transform: scale(0.97);
}

.assistant-light .public-side {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.assistant-light .public-side h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: 19px;
  letter-spacing: -0.01em;
  font-weight: 650;
}

.assistant-light .public-side > p {
  margin: 0;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.5;
}

.assistant-light .photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.assistant-light .photo-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}

.assistant-light .public-action-links {
  display: grid;
  gap: 8px;
}

.assistant-light .public-action-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(15, 18, 34, 0.24);
  border-radius: 999px;
  color: var(--home-blue);
  background: rgba(15, 18, 34, 0.07);
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
}

.assistant-light .public-voice-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(217, 222, 231, 0.8);
  border-radius: 16px;
  padding: 16px;
  background: var(--home-soft);
}

.assistant-light .public-voice-card strong {
  display: block;
  color: var(--home-ink);
  font-size: 15px;
  font-weight: 650;
}

.assistant-light .public-voice-card span {
  color: var(--home-muted);
  font-size: 12px;
  line-height: 1.45;
}

.assistant-light .public-lead-form {
  display: grid;
  gap: 4px;
  border-top: 1px solid rgba(217, 222, 231, 0.86);
  padding-top: 14px;
}

.assistant-light .public-lead-form label {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  color: #2a2a2d;
  font-size: 13px;
  font-weight: 650;
}

.assistant-light .public-lead-form button {
  margin-top: 14px;
}

.assistant-light .public-lead-status,
.assistant-light .public-voice-status {
  min-height: 18px;
  margin: 4px 0 0;
  color: var(--home-muted);
  font-size: 12px;
}

@media (max-width: 920px) {
  .assistant-light .public-layout {
    grid-template-columns: 1fr;
  }

  .assistant-light .chat-log {
    min-height: 380px;
  }
}

.home-page .nav-menu-toggle {
  display: none;
  width: 40px;
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.home-page .nav-menu-toggle:hover {
  background: rgba(15, 18, 34, 0.05);
}

.home-page .nav-menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--home-ink);
  transition: transform 320ms var(--ease-spring), opacity 240ms var(--ease-smooth);
}

.home-nav.nav-open .nav-menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.home-nav.nav-open .nav-menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

@media (max-width: 600px) {
  .home-page .nav-menu-toggle {
    display: flex;
    order: 2;
  }

  .home-nav {
    position: sticky;
    flex-wrap: wrap;
  }

  .home-nav .home-nav-links {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px 0 14px;
  }

  .home-nav.nav-open .home-nav-links {
    display: flex;
    animation: setupExpandIn 360ms var(--ease-spring) both;
  }

  .home-nav .home-nav-links a {
    min-height: 44px;
    justify-content: center;
    font-size: 15px;
  }

  .home-nav .home-nav-links a.nav-cta {
    margin-left: 0;
    margin-top: 6px;
  }
}

.app-light {
  min-height: 100vh;
  color: var(--home-ink);
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

.app-light .pricing-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  margin: 0;
  padding: 0 clamp(16px, 4vw, 40px);
  border-bottom: 1px solid var(--home-hairline);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

.app-light .pricing-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-light .ghost-dark {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  color: var(--home-ink);
  background: transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 240ms var(--ease-smooth);
}

.app-light .ghost-dark:hover {
  background: rgba(15, 18, 34, 0.05);
}

.app-light .primary-link,
.app-light button.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  color: #ffffff;
  background: var(--home-blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 18, 34, 0.22);
  transition: background 240ms var(--ease-smooth), transform 320ms var(--ease-spring);
}

.app-light .primary-link:hover {
  background: var(--home-blue-dark);
}

.app-light .primary-link:active {
  transform: scale(0.96);
}

.app-light .eyebrow {
  margin: 0 0 8px;
  color: var(--home-blue);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.app-light .admin-hero {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  padding: 44px 0 26px;
  background: transparent;
  border: 0;
}

.app-light .admin-hero h1 {
  margin: 0;
  color: var(--home-ink);
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 680;
}

.app-light .admin-hero p:not(.eyebrow) {
  max-width: 640px;
  margin: 10px 0 0;
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.55;
}

.app-light .panel,
.app-light .admin-section,
.app-light .owner-section,
.app-light .admin-detail,
.app-light .admin-tools,
.app-light .admin-login {
  border: 1px solid rgba(217, 222, 231, 0.72);
  border-radius: 20px;
  color: var(--home-ink);
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(11, 13, 18, 0.05);
}

.app-light .admin-panel,
.app-light .owner-shell {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto 56px;
  padding: 24px;
}

.app-light .owner-section,
.app-light .admin-section {
  padding: 20px;
  margin-top: 16px;
}

.app-light .owner-section-title,
.app-light .admin-section-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.app-light .owner-section-title h2,
.app-light .admin-section-heading h2,
.app-light .admin-section h2,
.app-light .owner-section h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: 19px;
  letter-spacing: -0.01em;
  font-weight: 650;
}

.app-light .owner-section-title span {
  color: var(--home-muted);
  font-size: 12px;
}

.app-light .admin-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 8px;
}

.app-light .admin-summary article {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(217, 222, 231, 0.72);
  border-radius: 16px;
  padding: 16px;
  background: var(--home-soft);
  box-shadow: none;
}

.app-light .admin-summary article span {
  color: var(--home-ink);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 680;
  letter-spacing: -0.02em;
}

.app-light .admin-summary article p {
  margin: 0;
  color: var(--home-muted);
  font-size: 12px;
  font-weight: 600;
}

.app-light .owner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.app-light .lead-list {
  display: grid;
  gap: 10px;
}

/* Paket ve limit tam genislikte (panel.html): kartlar genis ekranda yan
   yana, dar ekranda alt alta. auto-fill: tek kart da satiri doldurup
   uzamasin. */
.app-light .owner-kullanim-listesi {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.app-light .lead-list > * {
  border: 1px solid rgba(217, 222, 231, 0.8);
  border-radius: 14px;
  padding: 14px;
  color: var(--home-ink);
  background: #ffffff;
  box-shadow: none;
  font-size: 13px;
  line-height: 1.5;
}

.app-light .lead-list strong {
  color: var(--home-ink);
}

.app-light .lead-list small,
.app-light .lead-list span {
  color: var(--home-muted);
}

.app-light input,
.app-light textarea,
.app-light select {
  width: 100%;
  border: 1px solid #dfe4ec;
  border-radius: 12px;
  padding: 12px 13px;
  color: var(--home-ink);
  background: #ffffff;
  outline: none;
  font-size: 14px;
  transition: border-color 240ms var(--ease-smooth), box-shadow 240ms var(--ease-smooth);
}

.app-light input:focus,
.app-light textarea:focus {
  border-color: var(--home-blue);
  box-shadow: 0 0 0 4px rgba(58, 71, 232, 0.1);
}

.app-light label {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  color: #2a2a2d;
  font-size: 13px;
  font-weight: 650;
}

.app-light button:not(.ghost-dark):not(.primary-link):not(.nav-menu-toggle) {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  color: #ffffff;
  background: var(--home-blue);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: background 240ms var(--ease-smooth), transform 320ms var(--ease-spring);
}

.app-light button:not(.ghost-dark):not(.primary-link):not(.nav-menu-toggle):hover {
  background: var(--home-blue-dark);
}

.app-light button:not(.ghost-dark):not(.primary-link):not(.nav-menu-toggle):active {
  transform: scale(0.96);
}

.app-light .connect-note,
.app-light .admin-message {
  border: 1px solid rgba(15, 18, 34, 0.18);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--home-muted);
  background: rgba(15, 18, 34, 0.05);
  font-size: 13px;
}

.app-light .connect-note:empty,
.app-light .admin-message:empty {
  display: none;
}

.app-light .voice-setup-card {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(217, 222, 231, 0.8);
  border-radius: 14px;
  padding: 16px;
  background: var(--home-soft);
}

.app-light .voice-setup-card strong {
  color: var(--home-ink);
  font-size: 14px;
}

.app-light .voice-setup-card p,
.app-light .voice-setup-card span {
  margin: 0;
  color: var(--home-muted);
  font-size: 12px;
  line-height: 1.5;
}

.app-light .calendar-status {
  color: var(--home-muted);
  font-size: 12px;
}

.app-light .calendar-status.connected {
  color: #0a7a3d;
}

.app-light a {
  color: var(--home-blue);
}

.app-light .home-brand,
.app-light .ghost-dark {
  color: var(--home-ink);
}

@media (max-width: 920px) {
  .app-light .owner-grid {
    grid-template-columns: 1fr;
  }
}

.home-page a:focus-visible,
.home-page button:focus-visible,
.home-page input:focus-visible,
.home-page textarea:focus-visible,
.home-page select:focus-visible,
.home-page summary:focus-visible,
.app-light a:focus-visible,
.app-light button:focus-visible,
.assistant-light a:focus-visible,
.assistant-light button:focus-visible {
  outline: 2px solid var(--home-blue);
  outline-offset: 2px;
}

.voice-note {
  margin: 4px 0 0;
  color: rgba(245, 245, 247, 0.4);
  font-size: 12px;
  text-align: center;
}

.legal-body {
  width: min(680px, 100%);
  margin: 0 auto;
  padding: 8px 0 88px;
}

.legal-body h2 {
  margin: 30px 0 8px;
  color: var(--home-ink);
  font-size: 20px;
  letter-spacing: -0.015em;
  font-weight: 650;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p {
  margin: 0;
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.65;
}

/* Birden fazla paragrafli bolum (kullanim sartlari: odeme ve iptal) icin
   paragraflar arasi nefes payi. Sinifla: KVKK'daki alt alta etiket satirlari
   (Ad / Adres / e-posta) bilerek bitisik kaliyor. */
.legal-body .legal-paragraf + .legal-paragraf {
  margin-top: 10px;
}

.auth-card-lite .google-login-button {
  width: 100%;
  min-height: 46px;
}

.google-login-hint {
  margin: 10px 0 0;
  color: var(--home-muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.auth-card-lite .google-login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  color: var(--home-ink);
  background: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 650;
  transition: background 240ms var(--ease-smooth), border-color 240ms var(--ease-smooth), transform 320ms var(--ease-spring);
}

.auth-card-lite .google-login-button:hover {
  border-color: #c4ccd8;
  background: var(--home-soft);
}

.auth-card-lite .google-login-button:active {
  transform: scale(0.98);
}

.auth-card-lite .google-login-button svg {
  flex: none;
}

.auth-switch {
  margin: 14px 0 0;
  color: var(--home-muted);
  font-size: 13px;
  text-align: center;
}

.home-page .link-action {
  display: inline;
  width: auto;
  min-height: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--home-blue);
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.home-page .link-action:hover {
  color: var(--home-blue-dark);
  background: transparent;
  text-decoration: underline;
}

.app-light .owner-integrations {
  margin-top: 16px;
}

.integrations-list {
  display: grid;
  gap: 16px;
}

.integration-group {
  border: 1px solid rgba(217, 222, 231, 0.72);
  border-radius: 16px;
  padding: 18px;
  background: var(--home-soft);
}

.integration-group-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}

.integration-group-head h3 {
  margin: 0;
  color: var(--home-ink);
  font-size: 16px;
  font-weight: 650;
}

.integration-group-head span {
  color: var(--home-muted);
  font-size: 13px;
}

.integration-tiles {
  display: grid;
  gap: 10px;
}

.integration-tile {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(217, 222, 231, 0.8);
  border-radius: 14px;
  padding: 14px 16px;
  background: #ffffff;
}

.integration-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
}

.integration-icon.cal {
  background: #0f1222;
}

.integration-icon.wa {
  background: #25d366;
}

.integration-icon.voice {
  background: #6b5cff;
}

.integration-main {
  min-width: 0;
}

.integration-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}

.integration-head strong {
  color: var(--home-ink);
  font-size: 15px;
  font-weight: 650;
}

.integration-badge {
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 650;
}

.integration-badge.ok {
  color: #0a7a3d;
  background: rgba(10, 122, 61, 0.1);
}

.integration-badge.off {
  color: var(--home-muted);
  background: rgba(15, 18, 34, 0.06);
}

.integration-badge.soon {
  border: 1px dashed rgba(15, 18, 34, 0.28);
  color: #5b5b60;
  background: transparent;
}

.integration-badge.premium {
  color: #5a4bd8;
  background: rgba(107, 92, 255, 0.12);
}

.integration-main p {
  margin: 0;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.5;
}

.integration-action {
  display: flex;
  justify-content: flex-end;
}

.app-light .integration-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 999px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 240ms var(--ease-smooth), transform 320ms var(--ease-spring);
}

.app-light .integration-btn.primary {
  border: 0;
  color: #ffffff;
  background: var(--home-blue);
}

.app-light .integration-btn.primary:hover {
  background: var(--home-blue-dark);
}

.app-light .integration-btn.ghost {
  border: 1px solid var(--home-line);
  color: var(--home-ink);
  background: #ffffff;
}

.app-light .integration-btn.ghost:hover {
  background: var(--home-soft);
}

.app-light .integration-btn:active {
  transform: scale(0.97);
}

.integration-note {
  color: var(--home-muted);
  font-size: 12px;
  text-align: right;
  max-width: 160px;
}

@media (max-width: 600px) {
  .integration-tile {
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-areas: "icon main" "action action";
  }

  .integration-icon {
    grid-area: icon;
  }

  .integration-main {
    grid-area: main;
  }

  .integration-action {
    grid-area: action;
    justify-content: flex-start;
    margin-top: 4px;
  }

  .integration-note {
    text-align: left;
    max-width: none;
  }
}

.app-light .owner-hero-cta {
  margin-top: 18px;
}

.integration-icon.web {
  background: #0f1222;
}

.app-light .empty-cta {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.app-light .empty-cta strong {
  color: var(--home-ink);
  font-size: 15px;
  font-weight: 650;
}

.app-light .empty-cta p {
  margin: 0;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.5;
}

.app-light .empty-cta .primary-link {
  margin-top: 6px;
}

/* Gomme modu: sayfa musterinin kendi sitesinde iframe icinde acilir.
   Marka ve pazarlama katmani voice.js tarafindan DOM'dan kaldiriliyor;
   burada kalan sahne cerceveye tam otursun diye sayfa dolgusu sifirlaniyor. */
.voice-embed .home-page,
.voice-embed .home-hero {
  padding: 0;
  margin: 0;
  min-height: 0;
  background: transparent;
}

.voice-embed .voice-stage {
  max-width: none;
  margin: 0;
  padding: 20px 18px 24px;
  border: 0;
  border-radius: 0;
  min-height: 100vh;
  box-shadow: none;
  align-content: start;
}

.voice-embed .voice-stage-top {
  justify-content: center;
}

.voice-embed .voice-stage-heading h2 {
  font-size: 22px;
}

/* Sesli gorusmede e-posta alani. Sahne koyu zeminli oldugu icin alan da
   koyu tema; gonderildikten sonra JS tarafindan gizleniyor. */
.voice-email-open {
  margin-top: 4px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: transparent;
  color: #f5f7fb;
  font-size: 13px;
  cursor: pointer;
}

.voice-email-open:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.voice-email-block {
  width: min(420px, 100%);
  margin-top: 6px;
  display: grid;
  gap: 8px;
  text-align: left;
}

.voice-email-block label {
  color: rgba(245, 245, 247, 0.72);
  font-size: 13px;
}

.voice-email-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.voice-email-row input {
  flex: 1 1 200px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #f5f7fb;
  font-size: 15px;
}

.voice-email-row input::placeholder {
  color: rgba(245, 245, 247, 0.45);
}

.voice-email-status {
  margin: 0;
  color: rgba(245, 245, 247, 0.72);
  font-size: 13px;
  min-height: 18px;
}

/* Kurulumun son adimi: bilgiler girildikten sonra kanal secimi. */
.channel-pick {
  margin: 0 0 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  gap: 10px;
}

.channel-pick legend {
  padding: 0 6px;
  color: var(--ink);
  font-weight: 650;
  font-size: 15px;
}

.channel-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.channel-option span {
  display: grid;
  gap: 2px;
}

.channel-option small {
  color: var(--muted);
  font-size: 13px;
}

.channel-note {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* Gomme modunda cerceve icindeki sayfa zemini koyu olmali. Beyaz kalinca
   iframe'in kenarinda ve kaydirma seridinde beyaz bir band goruluyordu. */
.voice-embed,
.voice-embed body {
  background: #0f1433;
}

.voice-embed {
  overflow-x: hidden;
  /* Kaydirma seridi koyu zeminde beyaz bir cizgi gibi duruyordu. */
  scrollbar-width: none;
}

.voice-embed::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* Sahne cerceveyi tam doldursun, altta bosluk kalmasin. */
.voice-embed .voice-stage {
  min-height: 100dvh;
  gap: 14px;
}

/* Hizli kurulum karti: kalabalik formun ustunde, sade. */
.ai-setup {
  margin: 0 0 20px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  gap: 12px;
}

.ai-setup-badge {
  justify-self: start;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.ai-setup-head {
  display: grid;
  gap: 6px;
}

.ai-setup-head strong {
  color: var(--ink);
  font-size: 18px;
}

.ai-setup-head p,
.ai-setup-status {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.ai-setup-status.is-error {
  color: #b43c3c;
}

.ai-setup textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  resize: vertical;
}

#aiStep1,
#aiStep2 {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.ai-questions {
  width: 100%;
  display: grid;
  gap: 14px;
}

.ai-question {
  display: grid;
  gap: 6px;
}

.ai-question span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

/* Detay formu katlanmis: hizli kurulum yeterli olsun, ekran kalabalik
   gorunmesin. Acan kisi tam formu goruyor. */
.setup-details > summary {
  cursor: pointer;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  list-style: none;
}

.setup-details > summary::-webkit-details-marker {
  display: none;
}

.setup-details > summary::after {
  content: " ▾";
  color: var(--muted);
}

.setup-details[open] > summary {
  margin-bottom: 14px;
}

.setup-details[open] > summary::after {
  content: " ▴";
}

/* Kanal secimi: duz radyo dugmeleri kotu duruyordu ve baslik rengi zeminle
   kayboluyordu. Secim artik kart; radyo erisilebilirlik icin DOM'da kaliyor
   ama gorunmuyor, secili kart :checked ile isaretleniyor. */
.channel-pick {
  margin: 0 0 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  gap: 12px;
}

.channel-pick legend {
  float: left;
  width: 100%;
  padding: 0 0 10px;
  /* Onceki halde renk zeminle ayni tona dusuyordu; acikca yaziyoruz. */
  color: #0f1222;
  font-size: 16px;
  font-weight: 680;
  letter-spacing: -0.01em;
}

.channel-pick > .channel-option,
.channel-pick > .channel-note {
  clear: both;
}

.channel-option {
  position: relative;
  display: block;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  background: transparent;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.channel-option:hover {
  border-color: rgba(15, 18, 34, 0.45);
  transform: translateY(-1px);
}

/* Radyo gorunmuyor ama klavye ve ekran okuyucu icin duruyor. */
.channel-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.channel-option span {
  display: grid;
  gap: 3px;
  padding-right: 30px;
}

.channel-option strong {
  color: #0f1222;
  font-size: 15px;
}

.channel-option small {
  color: #6b7386;
  font-size: 13px;
  line-height: 1.45;
}

/* Secili kart: mavi cerceve + saga yerlesen onay isareti. */
.channel-option::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.channel-option:has(input:checked) {
  border-color: #0f1222;
  background: rgba(15, 18, 34, 0.06);
}

.channel-option:has(input:checked)::after {
  border-color: #0f1222;
  background: #0f1222;
  box-shadow: inset 0 0 0 3.5px #ffffff;
}

/* :has() desteklemeyen tarayicida secim yine belli olsun. */
.channel-option input:focus-visible + span strong {
  text-decoration: underline;
}

.channel-note {
  margin: 2px 0 0;
  color: #6b7386;
  font-size: 13px;
}

/* Kanal secimi KOYU zeminli .launch-panel icinde duruyor (rgb(29,29,31)).
   Onceki halde metinler koyu renkti: siyah uzerine siyah, hicbir sey
   gorunmuyordu. Renkleri koyu yuzeye gore yaziyoruz. */
.launch-panel .channel-pick {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.launch-panel .channel-pick legend {
  color: #f5f7fb;
}

.launch-panel .channel-option {
  border-color: rgba(255, 255, 255, 0.16);
}

.launch-panel .channel-option strong {
  color: #f5f7fb;
}

.launch-panel .channel-option small,
.launch-panel .channel-note {
  color: rgba(245, 245, 247, 0.66);
}

.launch-panel .channel-option::after {
  border-color: rgba(255, 255, 255, 0.3);
}

.launch-panel .channel-option:hover {
  border-color: rgba(15, 18, 34, 0.7);
}

.launch-panel .channel-option:has(input:checked) {
  border-color: #0f1222;
  background: rgba(15, 18, 34, 0.16);
}

.launch-panel .channel-option:has(input:checked)::after {
  border-color: #0f1222;
  background: #0f1222;
  box-shadow: inset 0 0 0 3.5px #0b0d12;
}

/* --- Restoran paneli ------------------------------------------------------
   Kendi sayfasi (/restoran-panel). Menu satirlari ve ceviri duzeltme alani
   burada; genel panelde ".lead-item" hic stillenmemisti, oradaki gorunumu
   degistirmemek icin stiller BU SAYFAYA kapsanmis durumda. */
.restoran-panel-page .lead-item {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.restoran-panel-page .lead-item input[type="text"],
.restoran-panel-page .lead-item input[type="number"] { flex: 1 1 130px; min-width: 0; }
/* Fiyat okunamamissa (0) sahibin gozune batmali: yanlis fiyat musteriye
   yanlis fiyat demek. */
.restoran-panel-page .lead-item input.uyari { border-color: #ffb020; }
.restoran-panel-page .lead-item .danger-action { flex: 0 0 auto; }

/* MENU LISTESI: her urun TEK SATIR, "Duzenle" ile acilir (10 Ekim).
   Once her urun tam duzenleyiciyle ciziliyordu; telefonda urun basina
   ~500 px, 9 urunluk menude mutfak ekrani 8.345 px'e dusuyordu. Liste tek
   kart, satirlar ince cizgiyle ayrili: urun basina bir kart (eski lead-list)
   satir basina ~80 px ve cerceve gurultusu demekti. */
.restoran-panel-page .rp-urun-liste {
  display: grid;
  border: 1px solid rgba(15, 18, 25, .1);
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
}
.restoran-panel-page .rp-urun-liste[hidden] { display: none; }
.restoran-panel-page .rp-urun-liste > .rp-urun { border-bottom: 1px solid rgba(15, 18, 25, .08); }
.restoran-panel-page .rp-urun-liste > .rp-urun:last-child { border-bottom: 0; }

/* KIMLIK SECICI BILEREK: ".app-light button:not(...):not(...):not(...)"
   kurali sayfadaki her dugmeyi koyu hap yapiyor ve uc :not yuzunden
   ozgullugu 4 sinif + 1 eleman. Sinif secicisiyle yazinca satirlar siyah
   hap olarak ciziliyordu, yazilar gorunmuyordu (onizlemede yakalandi). */
#rpUrunler .rp-urun-ozet {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 0;
  padding: 10px 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #0f1219;
  font: inherit;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}
#rpUrunler .rp-urun-ozet:hover,
#rpUrunler .rp-urun-ozet[aria-expanded="true"] { background: rgba(15, 18, 25, .04); }
#rpUrunler .rp-urun-ozet:focus-visible { outline: 2px solid #0f1219; outline-offset: -2px; }
.restoran-panel-page .rp-urun-ozet .rp-gorsel-onizleme { width: 40px; height: 40px; }
.restoran-panel-page .rp-urun-ozet-metin { display: grid; gap: 2px; min-width: 0; }
.restoran-panel-page .rp-urun-ozet-ad,
.restoran-panel-page .rp-urun-ozet-alt {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.restoran-panel-page .rp-urun-ozet-ad { font-size: 14px; font-weight: 650; color: #0f1219; }
.restoran-panel-page .rp-urun-ozet-alt { font-size: 12px; color: rgba(15, 18, 25, .58); }
.restoran-panel-page .rp-urun-ozet-alt .uyari { color: #a35f00; font-weight: 650; }
.restoran-panel-page .rp-urun-ozet-ac {
  font-size: 13px; font-weight: 600; color: rgba(15, 18, 25, .7); white-space: nowrap;
}
.restoran-panel-page .rp-urun-duzen {
  padding: 4px 14px 6px;
  background: rgba(15, 18, 25, .03);
}
.restoran-panel-page .rp-urun-duzen[hidden] { display: none; }
.restoran-panel-page .rp-urun-ekle { justify-self: start; }

/* URUN DUZENLEYICISI. Artik yalnizca acilan urunde ciziliyor; bu yuzden
   etiketler HER genislikte gorunur ve sutun basligi satiri yok (eskiden
   genis ekranda etiketler gizli, basliklar ustteydi). */
.restoran-panel-page .rp-urun-satir {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 10px;
  align-items: end;
  padding: 8px 0 10px;
}
.restoran-panel-page .rp-alan { display: grid; gap: 3px; min-width: 0; }
.restoran-panel-page .rp-alan input { width: 100%; min-width: 0; }
.restoran-panel-page .rp-alan > span {
  font-size: 11px; letter-spacing: .03em; text-transform: uppercase; opacity: .6;
}
/* Her hucre ACIKCA yerlestiriliyor. Otomatik yerlesime birakildiginda
   satiri kaplayan alanlarla karisip "Kaldır" dugmesi 0 px'e cokuyordu. */
.restoran-panel-page .rp-urun-satir > .rp-alan:nth-child(1) { grid-column: 1; }
.restoran-panel-page .rp-urun-satir > .rp-alan:nth-child(2) { grid-column: 2; }
.restoran-panel-page .rp-urun-satir > .rp-alan:nth-child(3),
.restoran-panel-page .rp-urun-satir > .rp-alan:nth-child(4) { grid-column: 1 / -1; }
.restoran-panel-page .rp-urun-sil { grid-column: 1 / -1; justify-self: end; }
/* Fiyat okunamamissa (0) sahibin gozune batmali: yanlis fiyat musteriye
   yanlis fiyat demek. */
.restoran-panel-page .rp-alan input.uyari { border-color: #ffb020; }

/* KAYDEDILMEMIS DEGISIKLIK CUBUGU (restoran-panel.html). Kaydet dugmesi
   listenin en altinda; degisiklik varken bu cubuk ekranin altinda durur. */
.restoran-panel-page .rp-kaydet-cubugu {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 50;
  width: min(560px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  background: #0f1219;
  color: #ffffff;
  font-size: 14px;
  box-shadow: 0 14px 34px rgba(15, 18, 25, .28);
}
.restoran-panel-page .rp-kaydet-cubugu[hidden] { display: none; }
.restoran-panel-page .rp-kaydet-cubugu > span { min-width: 0; }
/* Kimlik secici: yukaridaki .rp-urun-ozet notuna bak (koyu zeminde koyu
   hap olurdu). */
#rpKaydetCubugu button {
  flex: 0 0 auto;
  min-height: 0;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: none;
  color: #0f1219;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
#rpKaydetCubugu button:disabled { opacity: .6; cursor: progress; }
#rpKaydetCubugu button:focus-visible { outline: 2px solid #ffb020; outline-offset: 2px; }
/* Cubuk sayfanin son satirini ortmesin. */
body.rp-kaydet-acik .restoran-panel-page { padding-bottom: 96px; }

/* Ceviri satiri: solda TURKCE kaynak, sagda cevrilebilir alan. Kaynagi
   gostermeden duzeltme yaptirmak, sahibi neyi duzelttigini bilmeden
   yazdirmak olurdu. */
.restoran-panel-page .rp-ceviri-satir { align-items: flex-start; }
.restoran-panel-page .rp-ceviri-satir > div { flex: 1 1 200px; }
.restoran-panel-page .rp-ceviri-satir small { opacity: .7; }
.restoran-panel-page .rp-ceviri-satir input { flex: 2 1 260px; }

.restoran-panel-page .rp-qr {
  /* QR beyaz zemin ISTER: koyu panelde siyah modulleri okunmaz olurdu. */
  background: #fff;
  padding: 12px;
  border-radius: 12px;
  display: inline-block;
  margin: 10px 0;
}

/* Onizlemeyi KUCULTME. Masa numarali QR 37 modul + 8 sessiz alan = 45 birim;
   220px'e sikistirildiginda modul basina 4,9 piksel kaliyordu ve telefon
   ekrandan tarayamiyordu. 320px'te modul 7,1 piksel. */
.restoran-panel-page .rp-qr img {
  display: block;
  width: 320px;
  max-width: 100%;
  height: auto;
}

/* Kalan sesli dakika karti (panelin en ustu). Cubuk KALANI gosteriyor.
   Uc seviye: normal (mavi), az (%20 ve alti, turuncu), bitti (kirmizi) --
   bittiginde DIKKAT CEKMELI: o an misafirler sesli garsona ulasamiyor ve
   sahibin bunu gorecegi baska bir yer yok. */
.restoran-panel-page .rp-dakika { gap: 10px; }
.restoran-panel-page .rp-dakika-ust {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.restoran-panel-page .rp-dakika-ust h2 { margin: 0; }
.restoran-panel-page .rp-dakika-paket {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef1f6;
  color: #0f1222;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}
.restoran-panel-page .rp-dakika-sayi {
  margin: 2px 0 0;
  color: #6b7386;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.restoran-panel-page .rp-dakika-sayi strong {
  color: #0f1222;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.restoran-panel-page .rp-dakika-yol {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 18, 34, 0.08);
}
.restoran-panel-page .rp-dakika-dolgu {
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: #0f1222;
  transition: width 500ms ease;
}
.restoran-panel-page .rp-dakika-alt {
  margin: 0;
  color: #6b7386;
  font-size: 14px;
  line-height: 1.5;
}
.restoran-panel-page .rp-dakika-eylem { justify-self: start; }
.restoran-panel-page .rp-dakika[data-seviye="az"] .rp-dakika-dolgu { background: #ff9f0a; }
.restoran-panel-page .rp-dakika[data-seviye="az"] .rp-dakika-alt { color: #b25e00; font-weight: 600; }
.restoran-panel-page .rp-dakika[data-seviye="bitti"] {
  border-color: rgba(215, 0, 21, 0.35);
  background: rgba(255, 59, 48, 0.06);
}
.restoran-panel-page .rp-dakika[data-seviye="bitti"] .rp-dakika-alt { color: #d70015; font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  .restoran-panel-page .rp-dakika-dolgu { transition: none; }
}

.restoran-panel-page .rp-qr-arac {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.restoran-panel-page .rp-qr-ipucu {
  font-size: 13px;
  opacity: 0.75;
}

/* EKRANDA KUCUK, KAGITTA BUYUK. Kodlar panel acilisinda kendiliginden
   ciziliyor; ekranda tam boy kalsalardi telefonda tek sutun, kod basina
   ~360 px olurdu ve 12 masa mutfak bolumunu ~4.300 px asagi iterdi
   (olculdu). Ekranda kucuk resim, dokununca buyuyor (ekrandan okutup
   denemek icin: kucuk haliyle monitorde modul basina ~2 px kaliyor).
   Kagittaki boyut asagidaki @media print'te ESKISIYLE AYNI. */
.restoran-panel-page .rp-qr-izgara {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
}

.restoran-panel-page .rp-qr-kart {
  background: #fff;
  border-radius: 10px;
  padding: 6px;
  margin: 0;
  text-align: center;
  /* Kagitta kesilecegi icin kenar cizgisi ise yariyor. */
  border: 1px solid #d9d9d6;
  cursor: zoom-in;
}

.restoran-panel-page .rp-qr-kart:focus-visible {
  outline: 2px solid var(--home-blue);
  outline-offset: 2px;
}

.restoran-panel-page .rp-qr-kart.rp-qr-kart-buyuk {
  grid-column: 1 / -1;
  cursor: zoom-out;
}

.restoran-panel-page .rp-qr-kart img {
  display: block;
  width: 100%;
  height: auto;
}

.restoran-panel-page .rp-qr-kart.rp-qr-kart-buyuk img {
  max-width: 320px;
  margin: 0 auto;
}

.restoran-panel-page .rp-qr-etiket {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.01em;
}

.restoran-panel-page .rp-qr-tekli {
  margin-top: 18px;
}

.restoran-panel-page .rp-qr-tekli summary {
  cursor: pointer;
  font-size: 14px;
  opacity: 0.8;
}

/* Bolumun kendi grid'i buraya ULASMIYOR (details araya girdi). Ayni araligi
   burada tekrar kuruyoruz, yoksa "QR uret" dugmesi masa numarasi kutusuna
   yapisik duruyor. */
.restoran-panel-page .rp-qr-tekli-govde {
  display: grid;
  gap: 16px;
  margin-top: 14px;
}

/* Onizleme blogu da kendi icinde nefes alsin.
   :not([hidden]) SART: display vermek [hidden]'i ezer ve blok kapaliyken de
   gorunur olur. Bu tuzaga bu projede bir kez dusuldu (.rest-sheet). */
.restoran-panel-page .rp-qr-tekli-govde #rpQrOnizleme:not([hidden]) {
  display: grid;
  gap: 12px;
}

/* YAZDIRMA: sayfada yalnizca QR tablosu kalsin. Panelin geri kalani basilirsa
   hem kagit israfi olur hem kesmesi zorlasir.
   DIKKAT: bu dosya ana sayfa, sartlar, KVKK gibi sayfalarda da yuklu. Kapsamsiz
   bir "body *" kurali O SAYFALARIN CIKTISINI BOS bastirirdi -- o yuzden kural
   yalnizca restoran paneli varken devreye giriyor. */
@media print {
  body:has(.restoran-panel-page) > * {
    visibility: hidden;
  }
  body:has(.restoran-panel-page) #rpQrSayfa,
  body:has(.restoran-panel-page) #rpQrSayfa *,
  body:has(.restoran-panel-page) #rpKartSayfa,
  body:has(.restoran-panel-page) #rpKartSayfa * {
    visibility: visible;
  }
  body:has(.restoran-panel-page) #rpQrSayfa,
  body:has(.restoran-panel-page) #rpKartSayfa {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
  }
  /* MASA KARTI: her masa AYRI SAYFA. Iki kart ayni kagida dusseydi
     katlama cizgisi ortada kalmaz ve kart ayakta durmazdi. */
  .restoran-panel-page .rp-kart {
    width: 210mm; height: 297mm;
    break-after: page; page-break-after: always;
    break-inside: avoid; page-break-inside: avoid;
    margin: 0;
  }
  .restoran-panel-page .rp-kart:last-child { break-after: auto; page-break-after: auto; }
  /* Yazdirirken "Yazdir" dugmesinin kendisi kagida gitmesin. */
  .restoran-panel-page .rp-qr-arac {
    display: none;
  }
  .restoran-panel-page .rp-qr-izgara {
    grid-template-columns: repeat(3, 1fr);
    gap: 8mm;
  }
  .restoran-panel-page .rp-qr-kart {
    /* Bir QR iki sayfaya bolunmesin. */
    break-inside: avoid;
    page-break-inside: avoid;
    border: 1px dashed #999;
    /* Ekrandaki kucuk resim ayarlari kagida gecmesin: kagittaki boyut
       kodlarin kendiliginden cizilmesinden ONCEKIYLE ayni. */
    padding: 12px;
    border-radius: 12px;
    outline: none;
  }
  .restoran-panel-page .rp-qr-kart.rp-qr-kart-buyuk { grid-column: auto; }
  .restoran-panel-page .rp-qr-kart.rp-qr-kart-buyuk img { max-width: none; }
  .restoran-panel-page .rp-qr-etiket {
    margin-top: 8px;
    font-size: 20px;
  }
}

/* --- MASA KARTI ------------------------------------------------------------
   A4 dikey, ortadan katlanip masaya dikiliyor. Alt yari on yuz (QR + masa no),
   ust yari arka yuz (menu) ve 180 derece DONUK -- katlaninca duz duruyor.
   Kagit uzerinde ters gorunmesi dogru olan.
   Ekranda da gosteriyoruz ki sahibi yazdirmadan once ne basacagini gorsun. */
.restoran-panel-page .rp-kart {
  width: 210mm; height: 297mm;
  margin: 0 auto 10mm;
  background: #fff; color: #14161c;
  display: grid; grid-template-rows: 1fr auto 1fr;
  border: 1px solid rgba(15, 18, 25, .15);
}
.restoran-panel-page .rp-kart-yuz {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6mm; padding: 10mm 14mm; text-align: center; overflow: hidden;
}
.restoran-panel-page .rp-kart-arka { transform: rotate(180deg); }
.restoran-panel-page .rp-kart-on h3 { margin: 0; font-size: 30px; letter-spacing: -.01em; }
.restoran-panel-page .rp-kart-masa { margin: 0; font-size: 46px; font-weight: 700; line-height: 1; }
/* QR'i kucultmuyoruz: telefon kamerasi ince modulleri parlama ve moire
   arasindan cozemiyor -- bir kez "taranmiyor" diye geri gelmisti. */
.restoran-panel-page .rp-kart-on img { width: 62mm; height: 62mm; display: block; }
.restoran-panel-page .rp-kart-kucuk { margin: 0; font-size: 13px; color: rgba(15, 18, 25, .6); }
/* On yuzde bosluk 6 yerine 5 mm: bes dilli yonerge eklenince icerik yarim
   A4'un ic alanini ~4 mm asiyordu (olculdu). QR kuculmuyor. */
.restoran-panel-page .rp-kart-on { gap: 5mm; }
.restoran-panel-page .rp-kart-yonerge { margin: 0; font-size: 16px; font-weight: 600; }
/* Bes dilli yonerge: Turkce ustte, diger dortu 2x2. Kart yuzu yuksekligi
   sinirli; dort satir alt alta QR ile birlikte sigmiyordu. */
.restoran-panel-page .rp-kart-diller {
  display: grid; grid-template-columns: repeat(2, auto); justify-content: center;
  column-gap: 8mm; row-gap: 1mm; margin-top: -4mm;
}
.restoran-panel-page .rp-kart-diller p { margin: 0; font-size: 12px; color: rgba(15, 18, 25, .6); }
.restoran-panel-page .rp-kart-alt { margin: -3mm 0 0; font-size: 10px; letter-spacing: .02em; color: rgba(15, 18, 25, .4); }
.restoran-panel-page .rp-kart-katlama {
  border-top: 1px dashed rgba(15, 18, 25, .35);
  font-size: 10px; color: rgba(15, 18, 25, .4);
  text-align: center; padding-top: 2px;
}
/* Menu IKI SUTUN: yarim A4'e tek sutunla 8-10 urun sigiyor, iki sutunla iki
   kati. Uzun menude tasan kisim gizleniyor -- kirpilmis bir liste, ustuste
   binmis okunmaz bir sayfadan iyi. */
.restoran-panel-page .rp-kart-menu {
  columns: 2; column-gap: 10mm; width: 100%; text-align: left; font-size: 12px;
}
.restoran-panel-page .rp-kart-menu section { break-inside: avoid; margin: 0 0 4mm; }
.restoran-panel-page .rp-kart-menu h4 {
  margin: 0 0 1.5mm; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(15, 18, 25, .5);
}
.restoran-panel-page .rp-kart-menu p {
  margin: 0 0 1mm; display: flex; justify-content: space-between; gap: 4mm;
}
.restoran-panel-page .rp-kart-menu b { font-weight: 600; white-space: nowrap; }

/* Restoran istatistikleri. Grafik kutuphanesi YOK (sifir bagimlilik kurali);
   basit oran cubuklari yeterli ve daha hizli okunuyor. */
.restoran-panel-page .rp-ozet {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin: 12px 0 18px;
}
.restoran-panel-page .rp-ozet article {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  padding: 12px 14px;
}
.restoran-panel-page .rp-ozet span { font-size: 26px; font-weight: 700; line-height: 1.1; }
.restoran-panel-page .rp-ozet p { margin: 2px 0 0; font-size: 13px; opacity: .7; }

/* Dort liste var; auto-fit 3 sutun uretip dorduncuyu tek basina alt satira
   atiyordu. 2x2 hem dengeli hem de "sorun / bilgi" ayrimini ust satirda
   yan yana tutuyor. */
.restoran-panel-page .rp-stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 760px) {
  .restoran-panel-page .rp-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.restoran-panel-page .rp-stat-baslik { margin: 0; font-size: 15px; }
.restoran-panel-page .rp-stat-alt { margin: 2px 0 10px; font-size: 12px; opacity: .65; }
.restoran-panel-page .rp-stat-bos { margin: 0; font-size: 13px; opacity: .5; }

.restoran-panel-page .rp-bar-liste { display: grid; gap: 8px; }
.restoran-panel-page .rp-bar-ust {
  display: flex; justify-content: space-between; gap: 10px;
  font-size: 13px; margin-bottom: 3px;
}
.restoran-panel-page .rp-bar-yol {
  height: 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); overflow: hidden;
}
.restoran-panel-page .rp-bar-dolgu { height: 100%; background: #0f1222; border-radius: 999px; }
/* "Menude bulunamayanlar" listesi uyari renginde: bu liste bir SORUN
   gosteriyor, digerleri sadece bilgi. */
.restoran-panel-page .rp-bar-dolgu.uyari { background: #ffb020; }

/* Dar ekranda ic ice gecmis dolgular 375 px'in 160 px'ini yiyordu (icerige
   215 px kaliyor). Restoran sahibi bu sayfayi telefondan da aciyor: masada
   QR uretmek, istatistige bakmak. Kapsam BU SAYFA -- genel panelin
   gorunumune dokunmuyoruz. */
@media (max-width: 760px) {
  .restoran-panel-page.admin-page { margin-left: 0; margin-right: 0; }
  .restoran-panel-page .owner-shell {
    width: calc(100% - 16px);
    margin-left: 8px;
    margin-right: 8px;
    padding: 14px;
  }
  .restoran-panel-page .owner-section { padding: 14px; }
}

/* --- Restoran paneli: urun ayrintilari (secenek + alerjen onayi) ---------- */
/* Ayrinti blogu SATIRIN DISINDA: satir izgarasi hucre hucre elle
   yerlestirildi, oraya alan eklemek dengeyi bozuyor. Urunler arasi cizgi
   listede (.rp-urun-liste). */

/* Ust bardaki eylemler. Dar ekranda alt alta gecsin diye wrap: "Çıkış"
   dugmesi ekran disinda kalmamali -- gorunmeyen bir cikis, olmayan cikistir. */
.restoran-panel-page .rp-ust-eylemler {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}

/* URUN GORSELI SERIDI. Satir izgarasinin ICINE girmiyor -- oraya yeni hucre
   eklemek "Kaldir" dugmesini bir kez 0 piksele cokertmisti. Bu yuzden kendi
   satiri, basit bir flex. */
.restoran-panel-page .rp-gorsel-serit {
  display: flex; align-items: center; gap: 10px;
  padding: 0 0 10px; flex-wrap: wrap;
}
/* RENKLER ACIK ZEMINE GORE. Restoran paneli BEYAZ; ilk yazdigimda beyaz-seffaf
   deger kullanmistim ve kare beyaz uzerinde beyaz kalip tamamen gorunmez
   oluyordu (ekran goruntusunde yakalandi). */
.restoran-panel-page .rp-gorsel-onizleme {
  width: 44px; height: 44px; flex: 0 0 auto;
  border-radius: 10px; overflow: hidden;
  background: rgba(15, 18, 25, .05);
  border: 1px solid rgba(15, 18, 25, .12);
  display: flex; align-items: center; justify-content: center;
}
.restoran-panel-page .rp-gorsel-onizleme img { width: 100%; height: 100%; object-fit: cover; display: block; }
.restoran-panel-page .rp-gorsel-onizleme.bos { color: rgba(15, 18, 25, .3); font-size: 18px; }
/* Durum metni esnek: hata mesaji uzun olabiliyor ("Önce menüyü kaydedin...")
   ve dugmeleri ekran disina itmemeli. */
.restoran-panel-page .rp-gorsel-durum {
  color: rgba(15, 18, 25, .55); flex: 1 1 140px; min-width: 0;
}
.restoran-panel-page .rp-ayrinti { padding: 0 4px 10px; }
.restoran-panel-page .rp-ayrinti > summary {
  cursor: pointer; font-size: 12px; opacity: .6; padding: 2px 0 6px; list-style: none;
}
.restoran-panel-page .rp-ayrinti > summary::before { content: "▸ "; }
.restoran-panel-page .rp-ayrinti[open] > summary::before { content: "▾ "; }
.restoran-panel-page .rp-ayrinti > summary::-webkit-details-marker { display: none; }
.restoran-panel-page .rp-ayrinti > small { display: block; margin: 2px 0 10px 24px; font-size: 11px; opacity: .5; }

.restoran-panel-page .rp-onay { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.restoran-panel-page .rp-onay input { width: 16px; height: 16px; accent-color: #ffb020; }

.restoran-panel-page .rp-gruplar { display: grid; gap: 10px; }
.restoran-panel-page .rp-grup {
  display: grid; gap: 8px; padding: 10px;
  border: 1px solid rgba(255, 255, 255, .09); border-radius: 10px;
}
.restoran-panel-page .rp-grup-ust {
  display: grid; grid-template-columns: minmax(0, 1.6fr) auto auto auto;
  gap: 10px; align-items: center;
}
.restoran-panel-page .rp-secenek-satir {
  display: grid; grid-template-columns: minmax(0, 1fr) 110px auto; gap: 8px; align-items: center;
}
/* Ayrinti blogundaki alan etiketleri GORUNUR kalmali: satirdakiler sutun
   basligindan okunuyor, buradakilerin basligi yok. */
.restoran-panel-page .rp-ayrinti .rp-alan > span {
  position: static; width: auto; height: auto; clip: auto;
  font-size: 11px; letter-spacing: .03em; text-transform: uppercase; opacity: .55;
}
@media (max-width: 760px) {
  .restoran-panel-page .rp-grup-ust,
  .restoran-panel-page .rp-secenek-satir { grid-template-columns: 1fr; }
  .restoran-panel-page .rp-secenek-satir > button { justify-self: end; }
}

/* --- Ana sayfa: restoran demosu ------------------------------------------
   Statik konusma dokumunun YERINE gecti. Yeni bolum EKLENMEDI -- sayfa
   uzamasin diye ayni kutunun icinde duruyor.

   Renkler urunun gercek paletinden (restoran.css / mutfak.css): ana sayfa
   acik temali ama bu kutu bir CIHAZ gosteriyor ve cihazin ekrani koyu. */
.rd-kart {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
  padding: 34px 38px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  background: #0f1433;
  color: #f5f7fb;
  box-shadow: 0 44px 110px rgba(11, 13, 18, 0.3);
}

/* --- Telefon --- */
.rd-telefon {
  position: relative;
  width: 100%;
  aspect-ratio: 280 / 500;
  background: #0b0b0d;
  border: 7px solid #23262e;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-size: 12px;
}
.rd-ekran {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 12px 11px 0;
  transition: opacity 0.5s ease;
}
.rd-telefon.kapali .rd-ekran { opacity: 0; }

.rd-qr {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 9px;
  background: #0b0b0d;
  transition: opacity 0.45s ease, visibility 0.45s;
}
.rd-qr.gitti { opacity: 0; visibility: hidden; }
.rd-qr-kutu { width: 96px; height: 96px; padding: 8px; background: #f5f7fb; border-radius: 11px; }
.rd-qr-kutu svg { display: block; width: 100%; height: 100%; }
.rd-qr-yazi { margin: 0; font-size: 10px; color: #a1a1aa; text-align: center; }
.rd-qr-yazi b { display: block; color: #f5f7fb; font-size: 12px; margin-bottom: 2px; }

.rd-tel-ust { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.rd-kicker { margin: 0 0 1px; color: #ffb020; font-size: 8px; font-weight: 700; letter-spacing: 0.04em; }
.rd-tel-ad { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.rd-masa {
  padding: 3px 8px; border-radius: 999px;
  background: #1f1f25; border: 1px solid #2a2a32;
  font-size: 9px; color: #a1a1aa; white-space: nowrap;
}

.rd-orb-alan { display: grid; justify-items: center; gap: 5px; padding: 11px 0 8px; }
.rd-orb {
  width: 58px; height: 58px; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #ffd479, #ffb020 62%, #d98c08);
  box-shadow: 0 0 22px rgba(255, 176, 32, 0.3);
}
.rd-telefon.dinliyor .rd-orb { animation: rdNabiz 1.5s ease-in-out infinite; }
@keyframes rdNabiz { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
.rd-durum { margin: 0; font-size: 11px; font-weight: 600; text-align: center; }

.rd-konusma { display: grid; gap: 4px; min-height: 52px; padding-bottom: 5px; }
.rd-balon {
  max-width: 90%; padding: 5px 9px; border-radius: 11px;
  font-size: 10.5px; line-height: 1.35;
  animation: rdBalon 0.3s cubic-bezier(0.22, 0.8, 0.3, 1) both;
}
.rd-balon.misafir { justify-self: end; background: #1f1f25; border: 1px solid #2a2a32; border-bottom-right-radius: 4px; }
.rd-balon.asistan { justify-self: start; background: rgba(255, 176, 32, 0.13); border: 1px solid rgba(255, 176, 32, 0.34); border-bottom-left-radius: 4px; }
@keyframes rdBalon { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

.rd-oneri-etiket { display: block; font-size: 8px; font-weight: 700; letter-spacing: 0.05em; color: #ffb020; margin-bottom: 3px; }
.rd-urun {
  background: #17171b; border: 1px solid rgba(255, 176, 32, 0.5);
  border-radius: 12px; padding: 9px 10px;
  animation: rdKart 0.32s cubic-bezier(0.22, 0.8, 0.3, 1) both, rdParla 1.1s ease 0.32s 1;
}
@keyframes rdKart { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes rdParla {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255, 176, 32, 0.12); }
  40% { box-shadow: 0 0 0 3px rgba(255, 176, 32, 0.55); }
}
.rd-urun-ust { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.rd-urun-ust h4 { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: -0.01em; }
.rd-urun-fiyat { font-size: 12px; font-weight: 700; white-space: nowrap; }
.rd-urun p { margin: 3px 0 0; font-size: 9.5px; color: #cfcfd6; line-height: 1.4; }

.rd-menu { margin-top: 7px; transition: opacity 0.4s ease; }
.rd-menu.soluk { opacity: 0.3; }
.rd-satir {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 5px 0; border-bottom: 1px solid #2a2a32;
  transition: opacity 0.4s ease;
}
.rd-satir:last-child { border-bottom: 0; }
.rd-satir.yok { opacity: 0.28; }
.rd-satir strong { font-size: 10.5px; font-weight: 600; }
.rd-satir span { font-size: 10px; color: #a1a1aa; white-space: nowrap; }

.rd-onay {
  margin-top: 7px; padding: 9px;
  background: rgba(255, 176, 32, 0.13); border: 1px solid rgba(255, 176, 32, 0.5);
  border-radius: 11px;
  animation: rdKart 0.28s cubic-bezier(0.22, 0.8, 0.3, 1) both;
}
.rd-onay > p { margin: 0 0 5px; font-size: 10px; font-weight: 700; }
.rd-onay-satir { display: flex; justify-content: space-between; font-size: 9.5px; color: #a1a1aa; }
.rd-onay-toplam {
  display: flex; justify-content: space-between; margin-top: 5px; padding-top: 5px;
  border-top: 1px solid rgba(255, 176, 32, 0.28); font-size: 10px;
}
.rd-onay-toplam strong { font-size: 12px; }
.rd-onay-btn {
  margin-top: 7px; width: 100%; padding: 7px;
  background: #ffb020; color: #1a1204; border: 0; border-radius: 9px;
  font: inherit; font-size: 11px; font-weight: 700;
  transition: transform 0.12s ease;
}
.rd-onay-btn.basildi { transform: scale(0.96); }

.rd-sepet-cubugu {
  position: absolute; left: 9px; right: 9px; bottom: 9px;
  display: flex; align-items: center; gap: 7px;
  padding: 8px 11px;
  background: #ffb020; color: #1a1204;
  border-radius: 12px; font-size: 11px; font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  animation: rdCubuk 0.24s cubic-bezier(0.22, 0.8, 0.3, 1) both;
}
.rd-sepet-cubugu.zipla { animation: rdZipla 0.34s ease; }
@keyframes rdCubuk { from { opacity: 0; transform: translateY(11px); } to { opacity: 1; transform: none; } }
@keyframes rdZipla { 0%, 100% { transform: none; } 40% { transform: translateY(-4px) scale(1.02); } }
.rd-sepet-sayi {
  display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px;
  background: rgba(26, 18, 4, 0.22); border-radius: 999px; font-size: 10px;
  font-variant-numeric: tabular-nums;
}
.rd-sepet-etiket { flex: 1; }
.rd-sepet-tutar { font-variant-numeric: tabular-nums; }

/* --- Sag sutun: mutfak + anlatim --- */
.rd-sag { display: grid; gap: 16px; align-content: start; }

.rd-mutfak {
  background: #0d0d0f; border: 1px solid #2e2e36;
  border-radius: 16px; padding: 14px 15px; min-height: 150px;
}
.rd-mutfak-ust { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.rd-mutfak-ad { font-size: 12px; font-weight: 700; color: #fff; }
.rd-mutfak-sayac {
  padding: 3px 9px; border-radius: 999px;
  background: #1a1a1f; border: 1px solid #2e2e36;
  font-size: 10px; color: #9a9aa4; font-variant-numeric: tabular-nums;
}
.rd-mutfak-bos { margin: 0; padding: 22px 0; text-align: center; color: #6b6b76; font-size: 12px; }
.rd-mutfak-kart {
  display: grid; gap: 6px; padding: 11px;
  background: #1a1a1f; border: 2px solid #ffb020; border-radius: 12px;
  animation: rdKart 0.3s cubic-bezier(0.22, 0.8, 0.3, 1) both;
}
.rd-mutfak-kart.hazirlaniyor { border-color: #b98cff; }
.rd-mk-ust { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.rd-mk-masa { font-size: 15px; font-weight: 700; color: #fff; }
.rd-mk-etiket {
  padding: 3px 8px; border-radius: 999px;
  background: #ffb020; color: #1a1204;
  font-size: 8.5px; font-weight: 700; letter-spacing: 0.07em;
}
.rd-mutfak-kart.hazirlaniyor .rd-mk-etiket { background: #b98cff; color: #180c2b; }
.rd-mk-satirlar { margin: 0; font-size: 11.5px; line-height: 1.5; white-space: pre-line; color: #f5f7fb; }

.rd-anlatim {
  padding: 12px 14px;
  border-left: 3px solid #ffb020;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 3px;
  min-height: 74px;
  display: grid; align-content: center; gap: 3px;
}
.rd-anlatim-baslik { margin: 0; font-size: 14px; font-weight: 700; color: #f5f7fb; }
.rd-anlatim-metin { margin: 0; font-size: 12.5px; line-height: 1.5; color: #a8a8b3; }
.rd-anlatim.degisti .rd-anlatim-baslik,
.rd-anlatim.degisti .rd-anlatim-metin { animation: rdAnlatim 0.35s ease both; }
@keyframes rdAnlatim { from { opacity: 0; transform: translateX(-5px); } to { opacity: 1; transform: none; } }

.rd-kumanda { display: flex; align-items: center; gap: 12px; }
.rd-oynat {
  flex: 0 0 auto;
  padding: 7px 15px; border-radius: 999px;
  background: transparent; color: #f5f7fb;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font: inherit; font-size: 12px; font-weight: 600; cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.rd-oynat:hover, .rd-oynat:focus-visible { border-color: #ffb020; color: #ffb020; }
.rd-ilerleme { flex: 1; height: 3px; background: rgba(255, 255, 255, 0.12); border-radius: 999px; overflow: hidden; }
.rd-ilerleme i { display: block; height: 100%; width: 0; background: #ffb020; }

@media (max-width: 860px) {
  .rd-kart {
    grid-template-columns: minmax(0, 260px);
    justify-content: center;
    gap: 22px;
    padding: 24px 20px;
  }
}

/* Hareket istemeyen kullanici: senaryo oynamiyor, SON durum duruyor.
   Bos bir cihaz gostermek animasyonu kapatmaktan kotudur. */
@media (prefers-reduced-motion: reduce) {
  .rd-telefon.dinliyor .rd-orb,
  .rd-urun, .rd-balon, .rd-mutfak-kart, .rd-sepet-cubugu, .rd-onay { animation: none; }
  .rd-anlatim.degisti .rd-anlatim-baslik,
  .rd-anlatim.degisti .rd-anlatim-metin { animation: none; }
}

/* --- Sesli kurulum -------------------------------------------------------
   Isletme sahibi bilgilerini yazmak yerine anlatiyor. Dugme yazili akisin
   USTUNDE ve daha agir duruyor: birincil yol o, yazmak alternatif. */
.sk-alan {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: 4px 0 0;
}

.sk-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px 0 14px;
  border: 1px solid rgba(15, 18, 34, 0.28);
  border-radius: 999px;
  background: rgba(15, 18, 34, 0.06);
  color: var(--home-blue, #0f1222);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.sk-btn:hover:not(:disabled),
.sk-btn:focus-visible { background: rgba(15, 18, 34, 0.12); border-color: rgba(15, 18, 34, 0.5); }
.sk-btn:disabled { opacity: 0.6; cursor: default; }

/* Gorusme acikken dugme kirmiziya donuyor: acik mikrofonun ekranda
   TARTISMASIZ gorunmesi gerekiyor. */
.sk-btn.canli {
  border-color: rgba(190, 60, 50, 0.4);
  background: rgba(190, 60, 50, 0.08);
  color: #a94336;
}

.sk-orb {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #8ff0d4, #22d3a6 62%, #0b8f6e);
  flex: 0 0 auto;
}
.sk-btn.canli .sk-orb {
  background: radial-gradient(circle at 38% 32%, #ff9b8f, #d0463a 62%, #8f2c22);
  animation: skNabiz 1.5s ease-in-out infinite;
}
@keyframes skNabiz { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }

.sk-yan { display: grid; gap: 3px; min-width: 0; }
.sk-durum { margin: 0; font-size: 14px; font-weight: 600; color: var(--home-ink, #151923); }
.sk-satir { margin: 0; font-size: 13px; color: var(--home-muted, #687182); line-height: 1.45; }
.sk-not { margin: 0; font-size: 12px; color: var(--home-muted, #687182); opacity: 0.85; }

.sk-sure {
  flex: 0 0 auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--home-muted, #687182);
}

.sk-ayrac {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 12px;
  color: var(--home-muted, #687182);
  font-size: 12px;
}
.sk-ayrac::before,
.sk-ayrac::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
}

/* Konusma bir alani doldurunca kisa bir vurgu. Sahibi mikrofona bakiyor
   olabilir; donup baktiginda nerenin degistigini gormeli. */
@keyframes skDoldu {
  0% { box-shadow: 0 0 0 0 rgba(15, 18, 34, 0.4); }
  30% { box-shadow: 0 0 0 3px rgba(58, 71, 232, 0.28); }
  100% { box-shadow: 0 0 0 0 rgba(15, 18, 34, 0); }
}
.sk-doldu { animation: skDoldu 1.1s ease 1; }

@media (max-width: 620px) {
  .sk-alan { grid-template-columns: 1fr; gap: 12px; }
  .sk-btn { justify-content: center; }
  .sk-sure { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  .sk-btn.canli .sk-orb { animation: none; }
  .sk-doldu { animation: none; outline: 2px solid rgba(15, 18, 34, 0.45); }
}

/* --- Fiyat sayfasi: restoran paketleri ----------------------------------- */
/* Ayri bir URUN oldugu icin ayri bolum. Ustteki mesaj paketlerinden bir
   cizgiyle ayriliyor ki "hangisini alacagim" sorusu dogmasin. */
.restoran-paketler[hidden] { display: none; }
.restoran-paketler {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--home-hairline);
}
.restoran-paketler .home-section-title { margin-bottom: 26px; }
/* Paket alti seridi: solda faturalama kurali, sagda iletisim. Once ortali
   duz metindi ve "bize yazin" baglantisi satir sonunda ikiye bolunuyordu. */
.restoran-paket-alt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 20px;
  padding: 12px 12px 12px 22px;
  border: 1px solid var(--home-hairline);
  border-radius: 20px;
  background: var(--home-soft);
}
.restoran-paket-kural {
  margin: 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.5;
}
.restoran-paket-kural strong {
  color: var(--home-ink);
  font-weight: 650;
}
.restoran-paket-iletisim {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.restoran-paket-iletisim span {
  color: var(--home-ink);
  font-size: 14px;
  font-weight: 550;
}
/* Serit zemini --home-soft; ikincil butonun kendi zemini de ayni renk oldugu
   icin buton zeminde kayboluyordu -- beyaz yapiliyor. */
.restoran-paket-iletisim .home-button.secondary {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
  white-space: nowrap;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(11, 13, 18, 0.06);
}
.restoran-paket-iletisim .home-button.secondary:hover {
  background: var(--home-soft-blue);
}
@media (max-width: 600px) {
  .restoran-paket-alt {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    text-align: center;
  }
  .restoran-paket-iletisim {
    flex-direction: column;
  }
  .restoran-paket-iletisim .home-button.secondary {
    width: 100%;
  }
}

/* --- KURULUM SADELESTIRME ------------------------------------------------- */
/* Onceki halde konusma / yazma / elle doldurma AYNI ANDA gorunuyordu. Uc yol
   yan yana durunca hicbiri one cikmiyor ve isletme sahibi neyi secmesi
   gerektigini anlamadan once karar vermek zorunda kaliyordu.
   Hicbiri kaldirilmadi: ayni anda degil, SIRAYLA gorunuyorlar. */
.ai-setup[data-adim] > .ks-sahne[hidden] { display: none; }
.ai-setup[data-adim="secim"] #kurulumSecim { display: grid; }
.ai-setup:not([data-adim="secim"]) #kurulumSecim { display: none; }

.ks-secim {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.ai-setup .ks-kart {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 22px 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: center;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.ai-setup .ks-kart:hover,
.ai-setup .ks-kart:focus-visible { border-color: rgba(15, 18, 34, .45); background: rgba(15, 18, 34, .04); }
.ai-setup .ks-kart:active { transform: scale(.99); }
.ai-setup .ks-kart strong { font-size: 16px; color: var(--home-ink, #151923); }
.ai-setup .ks-kart small { font-size: 13px; color: var(--home-muted, #687182); }
/* Sesli secenek birincil: duyulan itiraz her seferinde "vaktim yok". */
.ai-setup .ks-kart--birincil { border-color: rgba(15, 18, 34, .5); }
.ks-kart-simge { display: grid; place-items: center; height: 74px; color: var(--home-muted, #687182); }

/* Orb restorandaki desenle ayni: cekirdek + halka, beklerken nefes aliyor.
   Hareketsiz bir daire dekor gibi duruyor; "buraya dokunulur" bilgisini
   veren sey canlilik. */
.ks-orb { position: relative; display: grid; place-items: center; width: 74px; height: 74px; }
.ks-orb-cekirdek {
  width: 54px; height: 54px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #8ff0d4, #22d3a6 58%, #0b8f6e);
  box-shadow: 0 10px 26px -10px rgba(15, 18, 34, .65);
}
.ks-orb-halka { position: absolute; inset: 4px; border-radius: 50%; border: 2px solid rgba(15, 18, 34, .32); }
@media (prefers-reduced-motion: no-preference) {
  .ks-orb-cekirdek { animation: ksNefes 3.6s ease-in-out infinite; }
  .ks-orb-halka { animation: ksHalka 3.6s ease-out infinite; }
}
@keyframes ksNefes { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes ksHalka { 0% { transform: scale(1); opacity: .5; } 70%, 100% { transform: scale(1.26); opacity: 0; } }

.ks-sahne { display: grid; gap: 14px; }
.ai-setup .ks-geri {
  justify-self: center;
  border: 0; background: none; padding: 4px;
  min-height: 0; box-shadow: none; border-radius: 4px;
  color: var(--home-muted, #687182);
  font: inherit; font-size: 13px;
  text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer;
}
.ai-setup .ks-geri:hover { color: var(--home-ink, #151923); }

/* SESLI SAHNEDE orb buyuyor ve metin ALTINA geciyor: restorandaki gibi
   dokunulasi bir hedef. Yapi degismedi, yalnizca duzen -- app.js'in
   tuttugu id'ler ve .canli sinifi aynen calisiyor. */
/* Uc sutunlu duzen dar ekranda orb'u eziyordu: mavi bir blok gibi duruyor,
   yanindaki metin sikisiyordu. Tek sutun + ortalama, restorandaki gibi:
   ekranin ortasinda dokunulasi bir orb, altinda tek satir. */
#kurulumSesli .sk-alan {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: 14px;
  padding: 8px 0 4px;
}
/* Dugmenin KENDISI gorunmez: gorunen sey orb. Dolu mavi bir dikdortgen
   "bir dugme" diyor, orb "buraya konusulur" diyor. */
.ai-setup #kurulumSesli .sk-btn {
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  padding: 6px;
  border: 0;
  border-radius: 20px;
  background: transparent;
  box-shadow: none;
  color: var(--home-ink, #151923);
  font-size: 15px;
}
.ai-setup #kurulumSesli .sk-btn:hover:not(:disabled),
.ai-setup #kurulumSesli .sk-btn:focus-visible { background: rgba(15, 18, 34, .06); }
.ai-setup #kurulumSesli .sk-btn.canli { background: rgba(190, 60, 50, .07); color: #a94336; }

#kurulumSesli .sk-orb {
  width: 84px;
  height: 84px;
  box-shadow: 0 12px 30px -10px rgba(15, 18, 34, .6);
}
/* Restorandaki gibi beklerken nefes aliyor: hareketsiz daire dekor gibi
   duruyor, canli olan "dokunulur" diyor. */
@media (prefers-reduced-motion: no-preference) {
  #kurulumSesli .sk-btn:not(.canli) .sk-orb { animation: ksNefes 3.6s ease-in-out infinite; }
}
#kurulumSesli .sk-yan { justify-items: center; }
#kurulumSesli .sk-durum { font-size: 15px; }
#kurulumSesli .sk-satir,
#kurulumSesli .sk-not { max-width: 34ch; }

/* SORULAR TEKER TEKER. Hepsi birden cizilince kac tane oldugu gorunmuyor ve
   bitmeyecekmis gibi duruyordu. */
.ks-ilerleme { display: flex; gap: 5px; }
.ks-ilerleme span { flex: 1; height: 4px; border-radius: 999px; background: rgba(0, 0, 0, .1); }
.ks-ilerleme span.dolu { background: var(--home-blue, #0f1222); }
.ks-sayac { margin: 0; font-size: 12px; color: var(--home-muted, #687182); font-variant-numeric: tabular-nums; }
.ks-adim-alt { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ai-setup .ks-atla {
  border: 0; background: none; padding: 4px;
  min-height: 0; box-shadow: none; border-radius: 4px;
  color: var(--home-muted, #687182); font: inherit; font-size: 13px; cursor: pointer;
}
.ai-setup .ks-atla:hover { color: var(--home-ink, #151923); }

@media (prefers-reduced-motion: reduce) {
  .ks-orb-cekirdek, .ks-orb-halka { animation: none; }
}

/* --- SON ADIM SADELESTIRME ------------------------------------------------ */
/* Onceki halde dort kutu ust uste ve UC seviye ic ice cerceve vardi: koyu
   panel > cerceveli kanal secimi > cerceveli link seridi > cerceveli durum
   kutusu. Ikisi ayni seyi soyluyordu ve durum kutusu kullaniciya AZ ONCE
   yaptigi isi yapmasini soyluyordu. Panel 919 piksel, yani bir bucuk ekran. */

/* Kanal secimi artik kendi cercevesi olmayan KARTLAR: kullanici bu bicimi
   kurulum ekraninda bes dakika once ogrendi. */
.launch-panel .channel-pick {
  margin: 0;
  padding: 0;
  border: 0;
  gap: 8px;
}
.launch-panel .channel-option {
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  transition: border-color .18s ease, background .18s ease;
}
.launch-panel .channel-option:hover { border-color: rgba(255, 255, 255, .32); }
.launch-panel .channel-option:has(input:checked) {
  border-color: #22d3a6;
  background: rgba(34, 211, 166, .1);
}
.launch-panel .channel-option small { color: rgba(255, 255, 255, .62); }

/* LINK ONIZLEMESI bos oldugunda GIZLENIYOR. Yayinlanmadan once "linkiniz
   burada olacak" diyen bos bir alan ekrani doldurmaktan baska is yapmiyordu.
   :placeholder-shown tam olarak "deger yok" demek -- JS'e dokunmadan. */
.launch-panel .link-onizleme { display: grid; gap: 4px; min-width: 0; }
.launch-panel .link-onizleme:has(input:placeholder-shown) { display: none; }
.launch-panel .link-onizleme > span {
  font-size: 12px;
  color: rgba(255, 255, 255, .6);
}
.launch-panel .link-onizleme input {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
}

/* Dugme ONCE geliyor: karar odur. Link onizlemesi altinda, sessiz. */
.launch-panel .home-link-strip { display: grid; gap: 10px; }

/* Durum satiri: kutu degil, tek satirlik sessiz bilgi. JS hala ayni
   yapiyi yaziyor (setLaunchStatus), yalnizca gorunumu degisti. */
.launch-panel .connect-status {
  padding: 0;
  border: 0;
  background: none;
  gap: 8px;
  align-items: baseline;
}
.launch-panel .connect-status strong { font-size: 14px; font-weight: 600; }
.launch-panel .connect-status p {
  margin: 2px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, .62);
}
.launch-panel .connect-status .status-icon {
  width: auto; height: auto;
  background: none; border: 0;
  color: rgba(255, 255, 255, .5);
  font-size: 14px;
}
.launch-panel .channel-note { color: rgba(255, 255, 255, .55); margin: 0; }

/* TEST VE YAYIN YAN YANA.
   Once son adimi sohbetin USTUNE almistim; gorundu ama bu sefer test paneli
   dibe dustu ("asistani deneyin bu sefer asagida kaldi"). Tek sutuna dort
   blok yigildiginda hangisini kaldirsan digeri dusuyor -- sorun SIRALAMA
   degil DUZEN.
   Mantikli sira belgede geri geldi (kur -> test et -> yayinla) ve genis
   ekranda ikisi YAN YANA duruyor: ikisi de ayni anda gorunuyor, kaydirma
   yok. Dar ekranda alt alta kaliyor ve orada mantikli sira gecerli. */
.home-work-grid .home-launch { order: 0; }

@media (min-width: 900px) {
  .home-work-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }
  /* Elle duzenleme formu tam genislik: acildiginda uzun bir form ve
     yarim sutunda okunmuyor. */
  .home-work-grid > .setup-details { grid-column: 1 / -1; }
}

/* RESTORAN PANELI BASLIK EYLEMLERI.
   ".ghost-action" bir <a> uzerinde sessiz duruyor ama <button> uzerinde
   ".app-light button:not(.ghost-dark):not(.primary-link):not(.nav-menu-toggle)"
   onu yeniyor ve dolu mavi ciziyor. O secicinin ozgullugu (0,4,1): :not()
   ICINDEKI siniflar da sayiliyor. Sinif zinciriyle yarismak kirilgan --
   birisi bir :not() daha eklerse yine kaybederiz. Kimlikle hedefliyoruz.
   NEDEN SESSIZ: ekrandaki en gurultulu oge OTURUM KAPATMAK olmamali --
   yanlislikla basilmasi istenmeyen, geri donusu zahmetli tek eylem o. */
#rpCikis.ghost-action {
  background: #ffffff;
  color: var(--home-blue, #0f1222);
  border: 1px solid var(--home-line, #d9dee7);
  box-shadow: none;
}
#rpCikis.ghost-action:hover,
#rpCikis.ghost-action:focus-visible {
  background: rgba(15, 18, 34, 0.06);
  border-color: rgba(15, 18, 34, 0.35);
}

/* --- TOPLU FOTOGRAF ESLESTIRME ------------------------------------------- */
/* 25 urun = 25 ayri dosya secimi, ilk kurulumda yildiran isti. Artik hepsi
   birden seciliyor, model urunle eslestiriyor, sahibi yalnizca yanlislari
   duzeltiyor. */
.rp-toplu {
  display: grid;
  gap: 6px;
  justify-items: start;
  margin: 10px 0 4px;
}
.rp-toplu small { color: var(--home-muted, #687182); font-size: 13px; }

.rp-eslesme { display: grid; gap: 10px; margin: 12px 0; }
.rp-eslesme-baslik { margin: 0; font-size: 14px; color: var(--home-ink, #151923); }

/* Satir: fotograf + hangi urun oldugu + uyari. Fotograf KUCUK ama tanimaya
   yetecek kadar: sahibi "bu hangi yemek" diye bakiyor, incelemiyor. */
.rp-eslesme-satir {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--home-line, #d9dee7);
  border-radius: 12px;
}
.rp-eslesme-satir img {
  width: 64px; height: 64px;
  object-fit: cover; border-radius: 8px;
  background: rgba(0, 0, 0, .05);
}
.rp-eslesme-satir select { width: 100%; min-width: 0; }
.rp-eslesme-satir small { font-size: 12px; color: var(--home-muted, #687182); }
/* Dusuk guven GORUNUR olmali: model mercimek/ezogelin ayrimini yapamiyor ve
   sahibi neye bakmasi gerektigini bilmeli. */
.rp-eslesme-satir small.rp-eslesme-uyari { color: #a9622f; }

@media (max-width: 560px) {
  .rp-eslesme-satir { grid-template-columns: 52px minmax(0, 1fr); }
  .rp-eslesme-satir img { width: 52px; height: 52px; }
  .rp-eslesme-satir small { grid-column: 2; }
}

/* Fiyat kartinda gizlenen ogeler (gecici lansman fiyati) GERCEKTEN gizli
   kalsin. Bir gun .plan-price'a display verilirse [hidden] ezilir ve normal
   fiyatla lansman fiyati YAN YANA gorunur; styles.css'te ayni tuzak yasandi. */
.plan-card [hidden] {
  display: none !important;
}

/* --- MENUNU DENE (/menunu-dene) ---------------------------------------------
   Sonuc, misafirin telefonunda gorecegi menunun onizlemesi. Telefon cercevesi
   restoran.css'in koyu degiskenlerini ve menu satiri siniflarini kullaniyor:
   sahip gercek sayfanin kendisini gorsun, ona benzeyen bir cizimi degil. */
.md-sonuc {
  display: grid;
  grid-template-columns: minmax(0, 390px) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding: 72px 0 96px;
  border-bottom: 1px solid var(--home-hairline);
}

.md-telefon {
  max-height: 760px;
  overflow-y: auto;
  padding: 26px 16px 28px;
  border: 10px solid #1c1c21;
  border-radius: 38px;
  color: var(--rest-text);
  background: var(--rest-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 30px 70px rgba(11, 13, 18, 0.22);
}

.md-telefon-ad {
  margin: 0;
  color: var(--rest-text);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.md-diller {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 20px;
}

.home-page .md-diller button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--rest-line);
  border-radius: 999px;
  color: var(--rest-muted);
  background: var(--rest-surface);
  /* Sitenin genel dugme golgesi (mavi) koyu telefon icinde yabanci duruyordu. */
  box-shadow: none;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.home-page .md-diller button[aria-selected="true"] {
  border-color: var(--rest-accent);
  color: #1a1204;
  background: var(--rest-accent);
  font-weight: 650;
}

.home-page .md-diller button:focus-visible {
  outline: 2px solid var(--rest-accent);
  outline-offset: 2px;
}

/* Onizlemede satir tiklanmiyor (sepet yok). Hiza vb. BILEREK degistirilmiyor:
   Arapca dahil her dilde misafir sayfasinin kendi kurallari gecerli olsun. */
.md-telefon .rest-menu-row {
  cursor: default;
}

.md-telefon .rest-menu-group h2 {
  font-family: inherit;
}

.md-sonuc-metin h2 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.md-sonuc-metin > p:not(.home-kicker):not(.md-kucuk) {
  max-width: 520px;
  margin: 14px 0 0;
  color: var(--home-muted);
  font-size: 17px;
  line-height: 1.55;
}

.md-dugmeler {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.home-page .md-kucuk {
  margin: 12px 0 0;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 860px) {
  .md-sonuc {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0 64px;
  }

  .md-telefon {
    max-height: none;
  }
}

/* --- YONETIM PANELI (admin.html, 28 Eylul duzeni) -------------------------
   Tarama icin yazildi, okuma icin degil: ustte yalnizca eylem gerektiren
   sayaclar, altinda dort sekme, her kayit tek satir (kim / ne / eylem).
   Durum renkleri anlamsal: bekliyor turuncu, aktif yesil, risk kirmizi;
   talep turu kendi rengiyle (demo mavi, paket yesil, destek turuncu, sesli
   mor). "yn-" oneki: styles.css'teki eski .admin-* katmanlarina carpmasin. */
body.yn-govde {
  --yn-zemin: #f5f7fb;
  --yn-yuzey: #ffffff;
  --yn-cizgi: #dde2eb;
  --yn-murekkep: #0f1222;
  --yn-soluk: #6b7386;
  --yn-mavi: #3a47e8;
  --yn-mavi-zemin: #ebedfd;
  --yn-yesil: #087a5e;
  --yn-yesil-zemin: #dcf7ef;
  --yn-turuncu: #9a5200;
  --yn-turuncu-zemin: #fff3e2;
  --yn-mor: #6a3fd0;
  --yn-mor-zemin: #f1ecfd;
  --yn-kirmizi: #bf3328;
  --yn-kirmizi-zemin: #fdeceb;
  margin: 0;
  color: var(--yn-murekkep);
  background: var(--yn-zemin);
}

.yn-sayfa {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 16px 24px 72px;
}

.yn-sayfa [hidden] {
  display: none !important;
}

.yn-ust {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 0 16px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--yn-cizgi);
}

.yn-ust-etiket {
  padding-left: 14px;
  border-left: 1px solid var(--yn-cizgi);
  color: var(--yn-soluk);
  font-size: 14px;
  font-weight: 600;
}

.yn-mesaj {
  flex: 1;
  margin: 0;
  color: var(--yn-soluk);
  font-size: 13px;
  text-align: right;
}

/* --- Dugmeler --- */
.yn-sayfa .yn-dugme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--yn-murekkep);
  border-radius: 10px;
  color: #ffffff;
  background: var(--yn-murekkep);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.yn-sayfa .yn-dugme:hover {
  background: #000000;
}

.yn-sayfa .yn-dugme:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.yn-sayfa .yn-dugme-ikincil {
  border-color: var(--yn-cizgi);
  color: var(--yn-murekkep);
  background: var(--yn-yuzey);
}

.yn-sayfa .yn-dugme-ikincil:hover {
  border-color: #c9ced8;
  background: var(--yn-zemin);
}

.yn-sayfa .yn-dugme-tehlike {
  border-color: #f0c2bd;
  color: var(--yn-kirmizi);
  background: var(--yn-yuzey);
}

.yn-sayfa .yn-dugme-tehlike:hover {
  background: var(--yn-kirmizi-zemin);
}

.yn-sayfa .yn-dugme-kucuk {
  min-height: 32px;
  padding: 0 12px;
  font-size: 13px;
}

.yn-sayfa button:focus-visible,
.yn-sayfa a:focus-visible,
.yn-sayfa summary:focus-visible {
  outline: 2px solid var(--yn-mavi);
  outline-offset: 2px;
}

/* --- Formlar --- */
.yn-form {
  display: grid;
  gap: 14px;
}

.yn-form label {
  display: grid;
  gap: 6px;
  margin: 0;
  color: var(--yn-murekkep);
  font-size: 13px;
  font-weight: 600;
}

.yn-form input,
.yn-form select {
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--yn-cizgi);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 400;
}

.yn-form input:focus,
.yn-form select:focus {
  border-color: var(--yn-mavi);
  box-shadow: 0 0 0 3px rgba(10, 108, 220, 0.14);
  outline: none;
}

.yn-form .yn-dugme {
  justify-self: start;
  min-height: 42px;
  padding: 0 22px;
}

.yn-yan-yana {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.yn-ipucu {
  margin: 0;
  color: var(--yn-soluk);
  font-size: 13px;
  line-height: 1.5;
}

.yn-ipucu code {
  padding: 1px 5px;
  border-radius: 6px;
  background: var(--yn-zemin);
  font-size: 12px;
}

.yn-uyari {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #f3d3a8;
  border-radius: 10px;
  color: var(--yn-turuncu);
  background: var(--yn-turuncu-zemin);
  font-size: 13px;
  line-height: 1.5;
}

.yn-sonuc {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--yn-cizgi);
  border-radius: 12px;
  background: var(--yn-zemin);
  font-size: 14px;
}

.yn-sonuc:empty {
  display: none;
}

.yn-sonuc p {
  margin: 0;
}

.yn-sonuc small {
  color: var(--yn-soluk);
}

/* --- Giris --- */
.yn-giris {
  width: min(420px, 100%);
  margin: 56px auto;
  padding: 28px;
  border: 1px solid var(--yn-cizgi);
  border-radius: 16px;
  background: var(--yn-yuzey);
}

.yn-giris h1 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.yn-giris > p {
  margin: 6px 0 20px;
  color: var(--yn-soluk);
  font-size: 14px;
}

.yn-giris .yn-dugme {
  justify-self: stretch;
}

/* --- Ozet sayaclari --- */
.yn-ozet {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.yn-sayfa .yn-kutu {
  display: grid;
  gap: 2px;
  justify-items: start;
  min-height: 0;
  padding: 14px 16px;
  border: 1px solid var(--yn-cizgi);
  border-radius: 14px;
  color: var(--yn-murekkep);
  background: var(--yn-yuzey);
  font: inherit;
  text-align: left;
  box-shadow: none;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.yn-sayfa .yn-kutu:hover {
  border-color: #c3cad6;
}

.yn-kutu-sayi {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.yn-kutu strong {
  font-size: 14px;
  font-weight: 600;
}

.yn-kutu small {
  color: var(--yn-soluk);
  font-size: 12px;
}

/* --- Sekmeler --- */
/* Dar ekranda sekmeler yana kayar. overflow-y ACIKCA gizli: yalniz
   overflow-x verilince tarayici y'yi de "auto" yapiyor ve sekmelerin
   yaninda gereksiz bir dikey kaydirma cubugu cikiyordu. */
.yn-sekmeler {
  display: flex;
  gap: 2px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--yn-cizgi);
  overflow-x: auto;
  overflow-y: hidden;
}

.yn-sayfa .yn-sekmeler button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: var(--yn-soluk);
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  box-shadow: none;
  white-space: nowrap;
  cursor: pointer;
}

.yn-sayfa .yn-sekmeler button:hover {
  color: var(--yn-murekkep);
}

.yn-sayfa .yn-sekmeler button[aria-selected="true"] {
  border-bottom-color: var(--yn-murekkep);
  color: var(--yn-murekkep);
}

.yn-rozet {
  min-width: 22px;
  padding: 1px 7px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--yn-mavi);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* --- Paneller ve basliklar --- */
.yn-panel,
.yn-grup {
  display: grid;
  gap: 14px;
}

.yn-panel > .yn-grup + .yn-grup {
  margin-top: 18px;
}

.yn-baslik h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.yn-baslik p {
  max-width: 72ch;
  margin: 4px 0 0;
  color: var(--yn-soluk);
  font-size: 14px;
  line-height: 1.5;
}

.yn-liste {
  display: grid;
  gap: 10px;
}

/* --- Kayit satiri: kim / ne / eylem --- */
/* Eylem sutunu SABIT genislikte: "auto" iken her satirin dugme sayisi
   ortadaki notun baslangicini degistiriyordu ve notlar satirdan satira
   kayiyordu (olculdu: 273 / 328 / 292 px). */
.yn-satir {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(0, 1.35fr) 280px;
  gap: 12px 22px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--yn-cizgi);
  border-radius: 14px;
  background: var(--yn-yuzey);
}

.yn-satir-sade {
  grid-template-columns: minmax(0, 1fr);
  padding: 12px 16px;
}

.yn-risk {
  border-color: #efbdb7;
  background: #fffafa;
}

.yn-satir-bas h3 {
  margin: 6px 0 2px;
  font-size: 16px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.yn-satir-sade .yn-satir-bas h3 {
  margin-top: 4px;
  font-size: 15px;
}

.yn-satir-sade .yn-satir-bas > h3:first-child {
  margin-top: 0;
}

.yn-alt {
  margin: 0;
  color: var(--yn-soluk);
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.yn-satir-govde {
  min-width: 0;
}

.yn-not {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--yn-zemin);
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.yn-alanlar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 10px 0 0;
  font-size: 13px;
}

.yn-alanlar div {
  display: flex;
  gap: 6px;
}

.yn-alanlar dt {
  color: var(--yn-soluk);
}

.yn-alanlar dd {
  margin: 0;
  font-weight: 600;
}

.yn-satir-eylem {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 8px;
}

.yn-olculer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.yn-olculer div {
  display: grid;
  gap: 1px;
}

.yn-olculer span {
  color: var(--yn-soluk);
  font-size: 12px;
}

.yn-olculer strong {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.yn-kalan {
  font-size: 12px;
  font-style: normal;
  color: var(--yn-soluk);
}

.yn-kalan-danger {
  color: var(--yn-kirmizi);
  font-weight: 600;
}

/* Sesli dakika cubugu. <progress>: CSP satir ici stile izin vermiyor. */
.yn-dakika {
  display: grid;
  gap: 6px;
  max-width: 320px;
}

.yn-dakika progress {
  width: 100%;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: #e9ecf1;
  appearance: none;
  -webkit-appearance: none;
  overflow: hidden;
}

.yn-dakika progress::-webkit-progress-bar {
  background: #e9ecf1;
}

.yn-dakika progress::-webkit-progress-value {
  border-radius: 999px;
  background: var(--yn-yesil);
}

.yn-dakika progress::-moz-progress-bar {
  border-radius: 999px;
  background: var(--yn-yesil);
}

.yn-dakika small {
  color: var(--yn-soluk);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.yn-dakika-bitti small {
  color: var(--yn-kirmizi);
  font-weight: 600;
}

/* --- Etiketler (tur) ve durumlar --- */
.yn-etiket,
.yn-durum,
.yn-cip {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.yn-etiket-demo { color: var(--yn-mavi); background: var(--yn-mavi-zemin); }
.yn-etiket-paket { color: var(--yn-yesil); background: var(--yn-yesil-zemin); }
.yn-etiket-destek { color: var(--yn-turuncu); background: var(--yn-turuncu-zemin); }
.yn-etiket-sesli { color: var(--yn-mor); background: var(--yn-mor-zemin); }

.yn-durum-aktif { color: var(--yn-yesil); background: var(--yn-yesil-zemin); }
.yn-durum-pasif { color: var(--yn-soluk); background: #eef0f3; }
.yn-durum-demo { color: var(--yn-mavi); background: var(--yn-mavi-zemin); }
.yn-durum-hata { color: var(--yn-kirmizi); background: var(--yn-kirmizi-zemin); }

.yn-cip {
  color: var(--yn-soluk);
  background: #eef0f3;
  font-weight: 500;
}

.yn-durum-metni {
  font-weight: 600;
}

.yn-soluk {
  margin: 0;
  color: var(--yn-soluk);
  font-size: 13px;
  font-weight: 500;
}

/* --- Bos durum --- */
.yn-bos {
  padding: 18px;
  border: 1px dashed #cfd4dd;
  border-radius: 14px;
}

.yn-bos strong {
  font-size: 15px;
}

.yn-bos p {
  margin: 4px 0 0;
  color: var(--yn-soluk);
  font-size: 14px;
}

/* --- Katlanir bolumler --- */
.yn-katlanir {
  border: 1px solid var(--yn-cizgi);
  border-radius: 14px;
  background: var(--yn-yuzey);
}

.yn-katlanir > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.yn-katlanir > summary::-webkit-details-marker {
  display: none;
}

.yn-katlanir > summary::after {
  content: "+";
  color: var(--yn-soluk);
  font-size: 18px;
  font-weight: 400;
}

.yn-katlanir[open] > summary::after {
  content: "−";
}

.yn-katlanir > :not(summary) {
  margin: 0 18px 18px;
}

.yn-katlanir .yn-satir {
  background: var(--yn-yuzey);
}

.yn-yigin {
  margin-top: 8px;
}

.yn-yigin summary {
  color: var(--yn-soluk);
  font-size: 13px;
  cursor: pointer;
}

.yn-yigin pre {
  max-height: 240px;
  margin: 8px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--yn-zemin);
  font-size: 12px;
  white-space: pre-wrap;
  overflow: auto;
}

/* --- Paket ver ve Sistem --- */
.yn-ikili {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.yn-kart {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--yn-cizgi);
  border-radius: 14px;
  background: var(--yn-yuzey);
}

.yn-sistem {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.yn-sistem h2 {
  margin: 0;
  font-size: 18px;
}

.yn-sistem p {
  max-width: 60ch;
  margin: 4px 0 0;
  color: var(--yn-soluk);
  font-size: 14px;
}

.yn-dugmeler {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 900px) {
  .yn-ozet {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yn-satir {
    grid-template-columns: minmax(0, 1fr);
  }

  .yn-satir-eylem {
    justify-content: flex-start;
  }

  .yn-ikili {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .yn-sayfa {
    padding: 12px 16px 56px;
  }

  .yn-ust {
    flex-wrap: wrap;
  }

  .yn-mesaj {
    order: 3;
    flex-basis: 100%;
    text-align: left;
  }

  .yn-yan-yana {
    grid-template-columns: minmax(0, 1fr);
  }

  .yn-kutu-sayi {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yn-sayfa .yn-dugme,
  .yn-sayfa .yn-kutu {
    transition: none;
  }
}

/* === TALEP KUTUSU (isletme paneli) =========================================
   Tanitim videosundaki "Talepler" kartinin gercek hali: bir satirda kim / ne /
   ne zaman / durum; satira dokununca ayrinti ve iletisim baglantilari.
   Renkler videonun paletinden (nane, lacivert, murekkep); yazi rengi olarak
   nane, kucuk metinde 4.5:1 kontrasti tutturmak icin koyulastirildi. */
.app-light .owner-section.talep-kutusu {
  --talep-murekkep: #0f1222;
  --talep-gri: #6b7386;
  --talep-gri-koyu: #5b6275;
  --talep-acik: #eef1f6;
  --talep-cizgi: #dde2eb;
  --talep-nane-zemin: rgba(34, 211, 166, 0.16);
  --talep-nane-yazi: #087a5e;
  display: block;
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
}

.app-light .talep-kutusu-baslik {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px 14px;
  border-bottom: 1px solid var(--talep-cizgi);
}

.app-light .talep-kutusu .talep-kutusu-baslik h2 {
  margin: 0;
  color: var(--talep-murekkep);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.app-light .talep-cip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--talep-nane-yazi);
  background: var(--talep-nane-zemin);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.app-light .talep-cip.talep-cip-sakin {
  color: var(--talep-gri-koyu);
  background: var(--talep-acik);
}

.app-light .talep-cip[hidden],
.app-light .talep-ozet[hidden],
.app-light .owner-bekleyen-paket[hidden] {
  display: none;
}

.app-light .talep-listesi {
  display: grid;
}

.app-light .talep-listesi > .lead-card {
  margin: 16px 20px;
}

.app-light .talep-satir {
  position: relative;
}

/* Ayirici cizgi videodaki gibi iceriden: avatarin altindan baslamiyor,
   kenarlara 20 px kala bitiyor. */
.app-light .talep-satir + .talep-satir::before {
  content: "";
  position: absolute;
  top: 0;
  right: 20px;
  left: 20px;
  height: 1px;
  background: var(--talep-acik);
}

.app-light .talep-satir > summary {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto 10px;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  list-style: none;
  cursor: pointer;
  transition: background 180ms var(--ease-smooth);
}

.app-light .talep-satir > summary::-webkit-details-marker {
  display: none;
}

/* Kapali/acik isareti: satirin dokunulabilir oldugunu soyluyor. */
.app-light .talep-satir > summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid #b4bac8;
  border-bottom: 2px solid #b4bac8;
  transform: rotate(-45deg);
  transition: transform 180ms var(--ease-smooth);
}

.app-light .talep-satir[open] > summary::after {
  transform: rotate(45deg);
}

.app-light .talep-satir > summary:hover,
.app-light .talep-satir[open] > summary {
  background: #f7f9fc;
}

.app-light .talep-satir > summary:focus-visible {
  outline: 2px solid var(--home-blue);
  outline-offset: -2px;
}

.app-light .talep-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #ffffff;
  background: #3a47e8;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.app-light .talep-avatar-1 {
  background: #ff9f43;
}

.app-light .talep-avatar-2 {
  background: #16b98f;
}

.app-light .talep-avatar-3 {
  background: #e85d75;
}

.app-light .talep-avatar.talep-avatar-isimsiz {
  color: var(--talep-gri-koyu);
  background: var(--talep-acik);
}

.app-light .talep-metin {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.app-light .talep-ad {
  overflow: hidden;
  color: var(--talep-murekkep);
  font-size: 15px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-light .talep-alt {
  display: flex;
  gap: 6px;
  min-width: 0;
  color: var(--talep-gri);
  font-size: 13px;
}

.app-light .talep-konu {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Saat hic kisalmiyor: uzun bir konu ellipsisle kesilse de "ne zaman"
   gorunur kalsin. */
.app-light .talep-saat {
  flex: none;
}

.app-light .talep-saat:not(:empty)::before {
  content: "·";
  margin-right: 6px;
}

.app-light .talep-durum {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.app-light .talep-durum-yeni {
  color: var(--talep-nane-yazi);
  background: var(--talep-nane-zemin);
}

.app-light .talep-durum-bitti {
  color: var(--talep-gri-koyu);
  background: var(--talep-acik);
}

.app-light .talep-bitti .talep-ad {
  color: #4a5163;
  font-weight: 650;
}

.app-light .talep-ayrinti {
  display: grid;
  gap: 12px;
  padding: 2px 20px 16px 78px;
  background: #f7f9fc;
}

.app-light .talep-not {
  margin: 0;
  color: var(--talep-murekkep);
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.app-light .talep-bilgi {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px 16px;
  margin: 0;
}

.app-light .talep-bilgi div {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.app-light .talep-bilgi dt {
  color: var(--talep-gri);
  font-size: 12px;
  font-weight: 600;
}

.app-light .talep-bilgi dd {
  margin: 0;
  color: var(--talep-murekkep);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.app-light .talep-eylemler {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.app-light .talep-baglanti {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--talep-nane-yazi);
  background: var(--talep-nane-zemin);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms var(--ease-smooth);
}

.app-light .talep-baglanti:hover {
  background: rgba(34, 211, 166, 0.28);
}

.app-light .talep-kutusu .talep-isaretle {
  min-height: 36px;
  border: 1px solid var(--talep-cizgi);
  padding: 0 14px;
  color: var(--talep-murekkep);
  background: #ffffff;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.app-light .talep-kutusu .talep-isaretle:hover {
  border-color: #c3cad7;
}

.app-light .talep-kutusu .talep-isaretle:disabled {
  opacity: 0.6;
  cursor: progress;
}

.app-light .talep-ozet {
  margin: 0;
  padding: 12px 20px 16px;
  border-top: 1px solid var(--talep-cizgi);
  color: var(--talep-nane-yazi);
  font-size: 14px;
  font-weight: 700;
}

.app-light .owner-bekleyen-paket {
  margin: 0;
  border-radius: 12px;
  padding: 10px 14px;
  color: #1d4f91;
  background: var(--home-soft-blue);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 560px) {
  .app-light .talep-kutusu-baslik {
    padding: 14px 16px 12px;
  }

  .app-light .talep-satir > summary {
    grid-template-columns: 38px minmax(0, 1fr) auto 8px;
    gap: 10px;
    padding: 11px 14px;
  }

  .app-light .talep-satir + .talep-satir::before {
    right: 14px;
    left: 14px;
  }

  .app-light .talep-avatar {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .app-light .talep-ayrinti {
    padding: 2px 14px 14px;
  }

  .app-light .talep-ozet {
    padding: 11px 14px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-light .talep-satir > summary,
  .app-light .talep-satir > summary::after,
  .app-light .talep-baglanti {
    transition: none;
  }
}

/* === SOHBET PENCERESI (web asistan sayfasi ve widget) =======================
   Tanitim videosundaki sohbetin gercek hali: basta isletmenin bas harfi, adi
   ve "yapay zeka asistani" durumu; lacivert musteri balonu, acik gri asistan
   balonu; "yazıyor" balonu; talep acilinca nane rozet; yuvarlak yazma cubugu.
   Gonder dugmesi videodaki naneden koyu: beyaz ok acik nanede 1.9:1 kaliyordu,
   koyu nanede 4:1. */
.assistant-light {
  --sohbet-murekkep: #0f1222;
  --sohbet-gri: #6b7386;
  --sohbet-acik: #eef1f6;
  --sohbet-cizgi: #dde2eb;
  --sohbet-lacivert: #3a47e8;
  --sohbet-nane: #22d3a6;
  --sohbet-nane-koyu: #0b8f6e;
  --sohbet-nane-yazi: #087a5e;
}

.assistant-light .public-layout {
  margin-top: 0;
}

.assistant-light .public-chat-panel.sohbet-pencere {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
}

.assistant-light .sohbet-baslik {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--sohbet-cizgi);
}

.assistant-light .sohbet-logo {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  color: #ffffff;
  background: var(--sohbet-murekkep);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.assistant-light .sohbet-kimlik {
  min-width: 0;
}

.assistant-light .sohbet-baslik h1 {
  margin: 0;
  overflow: hidden;
  color: var(--sohbet-murekkep);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.assistant-light .sohbet-durum {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0 0;
  color: var(--sohbet-gri);
  font-size: 13px;
}

.assistant-light .sohbet-nokta {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sohbet-nane);
}

.assistant-light .sohbet-durum-kapali .sohbet-nokta {
  background: #b4bac8;
}

/* Kaydirma cubugu yalnizca fare sohbetin ustundeyken gorunuyor: beyaz sohbet
   alaninda cubugun izi, kaydirilacak bir sey yokken bile sag kenarda ince gri
   bir cizgi olarak kaliyordu (eski gri zeminde gorunmuyordu). */
.assistant-light .sohbet-pencere .chat-log {
  gap: 10px;
  min-height: 420px;
  max-height: 62vh;
  border-radius: 0;
  padding: 18px;
  background: #ffffff;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

.assistant-light .sohbet-pencere .chat-log:hover {
  scrollbar-color: #c9cfdb transparent;
}

/* Fotograf ve baglanti alanlari bosken satir kaplamasin: yan kutuda metnin
   altinda ~100 px bosluk birakiyordu. */
.assistant-light .public-side > .photo-grid:empty,
.assistant-light .public-side > .public-action-links:empty {
  display: none;
}

.assistant-light .sohbet-pencere .message {
  max-width: 82%;
  border: 0;
  border-radius: 18px;
  padding: 11px 14px;
  font-size: 15px;
  line-height: 1.5;
  box-shadow: none;
  overflow-wrap: anywhere;
}

.assistant-light .sohbet-pencere .message.user {
  border-bottom-right-radius: 6px;
  color: #ffffff;
  background: var(--sohbet-lacivert);
}

.assistant-light .sohbet-pencere .message.bot {
  border-bottom-left-radius: 6px;
  color: var(--sohbet-murekkep);
  background: var(--sohbet-acik);
}

.assistant-light .sohbet-pencere .message small {
  color: var(--sohbet-gri);
  opacity: 1;
}

.assistant-light .sohbet-pencere .sohbet-yaziyor {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 15px 16px;
}

.assistant-light .sohbet-yaziyor span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9aa2b4;
  animation: sohbetYaziyor 1.1s ease-in-out infinite;
}

.assistant-light .sohbet-yaziyor span:nth-child(2) {
  animation-delay: 0.15s;
}

.assistant-light .sohbet-yaziyor span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes sohbetYaziyor {
  0%,
  60%,
  100% {
    opacity: 0.45;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

.assistant-light .sohbet-talep-cipi {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 12px;
  color: var(--sohbet-nane-yazi);
  background: rgba(34, 211, 166, 0.16);
  font-size: 13px;
  font-weight: 700;
  animation: bubbleIn 420ms var(--ease-spring) both;
}

.assistant-light .sohbet-pencere .chat-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 12px 14px 8px;
}

/* 16 px: iOS daha kucuk yazili alana odaklaninca sayfayi yakinlastiriyor. */
.assistant-light .sohbet-pencere .chat-form input {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: var(--sohbet-murekkep);
  background: var(--sohbet-acik);
  font-size: 16px;
}

.assistant-light .sohbet-pencere .chat-form input::placeholder {
  color: #7d869a;
}

.assistant-light .sohbet-pencere .chat-form input:focus {
  box-shadow: 0 0 0 3px rgba(58, 71, 232, 0.2);
}

.assistant-light .sohbet-pencere .sohbet-gonder {
  display: grid;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  min-height: 46px;
  border-radius: 50%;
  padding: 0;
  color: #ffffff;
  background: var(--sohbet-nane-koyu);
}

.assistant-light .sohbet-pencere .sohbet-gonder:hover {
  background: var(--sohbet-nane-yazi);
}

.assistant-light .sohbet-pencere .sohbet-gonder:disabled {
  opacity: 0.5;
  cursor: default;
}

.assistant-light .sohbet-pencere .assistant-data-notice {
  margin: 0;
  padding: 4px 18px 14px;
  color: var(--sohbet-gri);
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 920px) {
  .assistant-light .sohbet-pencere .chat-log {
    min-height: 320px;
    max-height: 58vh;
  }
}

@media (max-width: 560px) {
  .assistant-light .assistant-page {
    width: calc(100% - 20px);
    padding-top: 10px;
  }

  .assistant-light .public-chat-panel.sohbet-pencere {
    border-radius: 20px;
  }

  .assistant-light .sohbet-pencere .chat-log {
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .assistant-light .sohbet-yaziyor span,
  .assistant-light .sohbet-talep-cipi {
    animation: none;
  }
}
/* === XYRON UI DILI (29 Eylul) ===============================================
   Tanitim videosu 3'un dili tum web arayuzunde: murekkep (#0f1222) birincil
   eylem, nane vurgu, lacivert odak ve bilgi, beyaz golgeli kartlar, hap
   etiketler, dolgulu form alanlari. Eski mavi paletin RENKLERI dosya
   basindaki degiskenlerde ve kurallarin icinde yeniden eslendi; bu katman
   BICIMLERI getiriyor. Talep kutusu (talep-*) ve sohbet penceresi (sohbet-*)
   bu dilin ilk ornekleri; burasi ayni kararlari geri kalan her yere tasiyor. */
:root {
  --x-murekkep: #0f1222;
  --x-murekkep-2: #262b3d;
  --x-gri: #6b7386;
  --x-gri-koyu: #5b6275;
  --x-acik: #eef1f6;
  --x-cizgi: #dde2eb;
  --x-zemin: #f5f7fb;
  --x-nane: #22d3a6;
  --x-nane-koyu: #0b8f6e;
  --x-nane-yazi: #087a5e;
  --x-nane-zemin: rgba(34, 211, 166, 0.16);
  --x-lacivert: #3a47e8;
  --x-lacivert-zemin: rgba(58, 71, 232, 0.1);
  --x-kehribar-yazi: #7a4f00;
  --x-kehribar-zemin: #fff1d6;
  --x-kirmizi-yazi: #b42318;
  --x-kirmizi-zemin: #fdecea;
  --x-golge: 0 1px 2px rgba(15, 18, 40, 0.04), 0 12px 32px rgba(15, 18, 40, 0.07);
  --x-golge-buyuk: 0 2px 6px rgba(15, 18, 40, 0.05), 0 24px 56px rgba(15, 18, 40, 0.1);
}

/* Marka noktasi nane: videonun kapanisindaki vurgu. */
.home-brand .brand-dot {
  width: 6px;
  height: 6px;
  background: var(--x-nane);
}

/* Odak her yerde lacivert: murekkep birincil dugmenin uzerinde de seciliyor. */
.home-page a:focus-visible,
.home-page button:focus-visible,
.home-page input:focus-visible,
.home-page textarea:focus-visible,
.home-page select:focus-visible,
.home-page summary:focus-visible,
.app-light a:focus-visible,
.app-light button:focus-visible,
.app-light summary:focus-visible,
.assistant-light a:focus-visible,
.assistant-light button:focus-visible {
  outline: 2px solid var(--x-lacivert);
  outline-offset: 2px;
}

.home-page ::selection,
.app-light ::selection {
  color: #ffffff;
  background: var(--x-lacivert);
}

/* Kucuk ust etiketler ("Talep merkezi", "Kullanım"...) nane yazi. */
.home-page .eyebrow,
.app-light .eyebrow,
.assistant-light .eyebrow {
  color: var(--x-nane-yazi);
  font-weight: 700;
}

/* --- Uygulama sayfalari: acik gri zemin, kartlar zeminin ustunde ---------- */
body:has(> .app-light) {
  background: var(--x-zemin);
}

.app-light {
  background: var(--x-zemin);
}

/* Kartin icinde kart olmasin: dis kabuk artik gorunmez bir kap. Bolumler
   (owner-section) zeminin ustunde duran beyaz kartlar, videodaki gibi. */
.app-light .admin-panel,
.app-light .owner-shell {
  border: 0;
  border-radius: 0;
  padding: 0 0 8px;
  background: transparent;
  box-shadow: none;
}

.app-light .panel:not(.owner-shell):not(.admin-panel),
.app-light .owner-section,
.app-light .admin-section,
.app-light .admin-detail,
.app-light .admin-tools,
.app-light .admin-login {
  border: 1px solid rgba(221, 226, 235, 0.7);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--x-golge);
}

.app-light .owner-section h2,
.app-light .owner-section-title h2,
.app-light .admin-section h2 {
  color: var(--x-murekkep);
  font-weight: 700;
}

/* Ozet kutulari: beyaz kart, buyuk murekkep sayi. */
.app-light .admin-summary article {
  border: 1px solid rgba(221, 226, 235, 0.7);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--x-golge);
}

.app-light .admin-summary article span {
  color: var(--x-murekkep);
  font-weight: 700;
}

.app-light .admin-summary article p {
  color: var(--x-gri);
}

/* --- Dugmeler ---------------------------------------------------------- */
/* Birincil: murekkep hap (videodaki "Ücretsiz demo iste"). */
.app-light .primary-link,
.app-light button.primary-link,
.app-light .primary-action,
.app-light button:not(.ghost-dark):not(.primary-link):not(.nav-menu-toggle) {
  color: #ffffff;
  background: var(--x-murekkep);
  box-shadow: none;
}

.app-light .primary-link:hover,
.app-light .primary-action:hover,
.app-light button:not(.ghost-dark):not(.primary-link):not(.nav-menu-toggle):hover {
  background: var(--x-murekkep-2);
}

/* Ikincil: beyaz hap, ince cizgi. */
.app-light .ghost-dark {
  border: 1px solid var(--x-cizgi);
  color: var(--x-murekkep);
  background: #ffffff;
}

.app-light .ghost-dark:hover {
  border-color: #c3cad7;
  background: #ffffff;
}

/* Gezinti cubugundaki Hesap/Çıkış: cizgisiz sade baglanti + murekkep hap. */
.app-light .pricing-nav .ghost-dark {
  border-color: transparent;
  background: transparent;
}

.app-light .pricing-nav .ghost-dark:hover {
  background: var(--x-acik);
}

/* Cagri dugmesi (CTA): murekkep hap + nane dairede ok. Yalnizca sayfanin
   ana eylemlerinde; her dugmeye konsaydi anlamini yitirirdi. */
.x-cta,
.app-light .owner-hero-cta,
.app-light .owner-start-guide > .primary-link,
.app-light .owner-restoran a.primary-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border-radius: 999px;
  padding: 0 6px 0 18px;
  color: #ffffff;
  background: var(--x-murekkep);
  box-shadow: none;
  font-weight: 650;
  text-decoration: none;
}

.x-cta::after,
.app-light .owner-hero-cta::after,
.app-light .owner-start-guide > .primary-link::after,
.app-light .owner-restoran a.primary-link::after {
  content: "";
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1222' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13'/%3E%3Cpath d='m12 6 6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat,
    var(--x-nane);
  transition: transform 220ms var(--ease-spring);
}

.x-cta:hover,
.app-light .owner-hero-cta:hover,
.app-light .owner-start-guide > .primary-link:hover,
.app-light .owner-restoran a.primary-link:hover,
.app-light .owner-restoran a.primary-link:focus-visible {
  color: #ffffff;
  background: var(--x-murekkep-2);
}

.x-cta:hover::after,
.app-light .owner-hero-cta:hover::after,
.app-light .owner-start-guide > .primary-link:hover::after,
.app-light .owner-restoran a.primary-link:hover::after {
  transform: translateX(2px);
}

/* --- Etiketler (durum haplari) ----------------------------------------- */
.app-light .lead-status,
.app-light .lead-list .lead-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  border: 0;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--x-gri-koyu);
  background: var(--x-acik);
  font-size: 12px;
  font-weight: 700;
}

.app-light .lead-status.status-live,
.app-light .lead-status.status-active,
.app-light .lead-list .lead-status.status-active,
.app-light .lead-status.status-assistant {
  color: var(--x-nane-yazi);
  background: var(--x-nane-zemin);
}

.app-light .lead-status.status-customer,
.app-light .lead-status.status-lead {
  color: var(--x-lacivert);
  background: var(--x-lacivert-zemin);
}

.app-light .lead-status.status-locked,
.app-light .lead-list .lead-status.status-locked {
  color: var(--x-kehribar-yazi);
  background: var(--x-kehribar-zemin);
}

.app-light .lead-status.status-error,
.app-light .lead-list .lead-status.status-error {
  color: var(--x-kirmizi-yazi);
  background: var(--x-kirmizi-zemin);
}

/* --- Form alanlari: dolgulu, cizgisiz; odakta beyaz + lacivert halka ---- */
.app-light input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
.app-light textarea,
.app-light select {
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--x-murekkep);
  background-color: var(--x-acik);
}

.app-light input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):hover,
.app-light textarea:hover,
.app-light select:hover {
  border-color: var(--x-cizgi);
}

.app-light input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):focus,
.app-light textarea:focus,
.app-light select:focus {
  border-color: var(--x-lacivert);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(58, 71, 232, 0.18);
}

.app-light input[type="checkbox"],
.app-light input[type="radio"],
.app-light input[type="range"] {
  accent-color: var(--x-nane-koyu);
}

/* Bilgi notlari: notr dolgu. */
.app-light .connect-note,
.app-light .admin-message {
  border: 0;
  border-radius: 14px;
  color: var(--x-gri-koyu);
  background: #ffffff;
  box-shadow: var(--x-golge);
}

/* --- Isletme paneli: restoran kutusu videodaki koyu kart --------------- */
.app-light .owner-restoran {
  border: 0;
  border-radius: 22px;
  padding: 24px;
  color: #ffffff;
  background:
    radial-gradient(circle at 92% 0%, rgba(34, 211, 166, 0.28), transparent 42%),
    #0f1433;
  box-shadow: var(--x-golge-buyuk);
}

.app-light .owner-restoran p.eyebrow {
  color: var(--x-nane);
}

.app-light .owner-restoran h2 {
  color: #ffffff;
}

.app-light .owner-restoran p:not(.eyebrow),
.app-light .owner-restoran-eylem span {
  color: rgba(255, 255, 255, 0.72);
}

/* Koyu kartta CTA beyaz hap, ok yine nane dairede. */
.app-light .owner-restoran a.primary-link {
  color: var(--x-murekkep);
  background: #ffffff;
}

.app-light .owner-restoran a.primary-link:hover,
.app-light .owner-restoran a.primary-link:focus-visible {
  color: var(--x-murekkep);
  background: #eef1f6;
}

/* Ilerleme cubuklari nane (dakika, kurulum adimlari). "Az kaldi" turuncusu
   ve uyari cubugu daha ozgul kurallarla korunuyor. */
.restoran-panel-page .rp-dakika-dolgu,
.restoran-panel-page .rp-bar-dolgu,
.ks-ilerleme span.dolu {
  background: var(--x-nane-koyu);
}
/* Ozet kutulari: eski katmanin ust/alt cizgisi kalkti (kartlar zaten ayri). */
.app-light .admin-summary {
  border: 0;
  padding: 0;
}

/* Bekleyen paket notu: bilgi = lacivert dili. */
.app-light .owner-bekleyen-paket {
  color: var(--x-lacivert);
  background: var(--x-lacivert-zemin);
}

/* Randevu satirinda avatar yerine tarih karesi. */
.app-light .talep-avatar.talep-tarih {
  display: grid;
  place-content: center;
  gap: 0;
  border-radius: 12px;
  color: var(--x-nane-yazi);
  background: var(--x-nane-zemin);
  line-height: 1;
}

.app-light .talep-tarih b {
  font-size: 16px;
  font-weight: 800;
}

.app-light .talep-tarih small {
  margin-top: 2px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.app-light .talep-avatar.talep-tarih-gecti {
  color: var(--x-gri-koyu);
  background: var(--x-acik);
}

/* Konusma satirinda "Cevapsız" uyarisi; digerlerinde bos yer tutucu. */
.app-light .talep-durum-uyari {
  color: var(--x-kehribar-yazi);
  background: var(--x-kehribar-zemin);
}

.app-light .talep-durum-bos {
  display: block;
  width: 0;
}

/* Acilan konusma: musterinin gordugu sohbet balonlari. */
.app-light .konusma-balonlar {
  display: grid;
  gap: 8px;
  padding: 6px 20px 18px 78px;
}

.app-light .konusma-balon {
  display: grid;
  gap: 4px;
  max-width: 82%;
  border-radius: 16px;
  padding: 9px 12px;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.app-light .konusma-balon small {
  font-size: 11px;
  opacity: 0.75;
}

.app-light .konusma-musteri {
  justify-self: end;
  border-bottom-right-radius: 5px;
  color: #ffffff;
  background: var(--x-lacivert);
}

.app-light .konusma-asistan {
  justify-self: start;
  border-bottom-left-radius: 5px;
  color: var(--x-murekkep);
  background: #ffffff;
  box-shadow: inset 0 0 0 1px var(--x-cizgi);
}

/* Gecmisi sil: kirmizi yazili sade dugme, listenin altinda. */
.app-light .konusma-sil {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid var(--x-cizgi);
}

.app-light .talep-kutusu .conversation-delete {
  min-height: 34px;
  border: 0;
  padding: 0 12px;
  color: var(--x-kirmizi-yazi);
  background: transparent;
  font-size: 13px;
  font-weight: 650;
}

.app-light .talep-kutusu .conversation-delete:hover {
  background: var(--x-kirmizi-zemin);
}

.app-light .talep-dipnot {
  margin: 0;
  padding: 10px 20px 16px;
  color: var(--x-gri);
  font-size: 12px;
}

@media (max-width: 560px) {
  .app-light .konusma-balonlar {
    padding: 4px 14px 14px;
  }

  .app-light .konusma-sil,
  .app-light .talep-dipnot {
    padding-inline: 14px;
  }
}
/* Eski tasarimin sabit konumlu beyaz zemin katmani (admin-page::before)
   uygulama sayfalarinda gereksiz: zemini artik govde ve ana kap veriyor. */
.app-light::before {
  content: none;
}
/* --- Tanitim ve hesap sayfalari (home-page) ------------------------------- */
.home-page .home-kicker {
  color: var(--x-nane-yazi);
  font-weight: 700;
}

/* Koyu kaplarin icinde nane parlak kalsin (koyu nane koyu zeminde okunmuyor). */
.launch-panel .home-kicker,
.voice-showcase-card .home-kicker,
.rd-kart .home-kicker {
  color: var(--x-nane);
}

/* Ana cagri dugmeleri: murekkep hap + nane dairede ok (videodaki CTA). */
.home-page a.home-button.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-right: 6px;
  color: #ffffff;
  background: var(--x-murekkep);
  box-shadow: none;
}

.home-page a.home-button.primary::after {
  content: "";
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1222' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13'/%3E%3Cpath d='m12 6 6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat,
    var(--x-nane);
  transition: transform 220ms var(--ease-spring);
}

.home-page a.home-button.primary:hover {
  background: var(--x-murekkep-2);
}

.home-page a.home-button.primary:hover::after {
  transform: translateX(2px);
}

/* Tanitim sohbet onizlemesi: urun sohbetindeki balonlar. */
.home-page .bubble.customer {
  color: #ffffff;
  background: var(--x-lacivert);
}

.home-page .bubble.assistant {
  color: var(--x-murekkep);
  background: var(--x-acik);
  border-color: transparent;
}

/* Form alanlari: uygulama sayfalariyla ayni dolgulu bicim. */
.home-page input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
.home-page textarea,
.home-page select {
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--x-murekkep);
  background-color: var(--x-acik);
}

.home-page input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):hover,
.home-page textarea:hover,
.home-page select:hover {
  border-color: var(--x-cizgi);
}

.home-page input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):focus,
.home-page textarea:focus,
.home-page select:focus {
  border-color: var(--x-lacivert);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(58, 71, 232, 0.18);
}

.home-page input[type="checkbox"],
.home-page input[type="radio"] {
  accent-color: var(--x-nane-koyu);
}

/* --- Koyu kaplar: eski mavi vurgular murekkebe donunce koyu zeminde
   kayboluyordu. Birincil dugme beyaz hap, secim ve odak nane. ---------- */
.launch-panel :is(button:not(.ghost-dark):not(.ghost-action), .home-button.primary, .primary-link),
.rd-kart .rd-oynat {
  border: 0;
  color: var(--x-murekkep);
  background: #ffffff;
  box-shadow: none;
}

.launch-panel :is(button:not(.ghost-dark):not(.ghost-action), .home-button.primary, .primary-link):hover,
.rd-kart .rd-oynat:hover {
  background: var(--x-acik);
}

.launch-panel :is(button, a, input, summary):focus-visible,
.rd-kart :is(button, a):focus-visible {
  outline-color: var(--x-nane);
}

/* Yayinla dugmesi sayfanin son karari: nane okla. */
.launch-panel #createLink {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-right: 6px;
}

.launch-panel #createLink::after {
  content: "";
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1222' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13'/%3E%3Cpath d='m12 6 6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat,
    var(--x-nane);
}

.launch-panel .channel-option:has(input:checked)::after {
  border-color: var(--x-nane);
  background: var(--x-nane);
}

/* --- Kurulum sayfasindaki test sohbeti: urun sohbet penceresiyle ayni ---- */
.workspace-page .chat-panel .home-chat-log {
  gap: 10px;
  border: 0;
  border-radius: 16px;
  padding: 16px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px var(--x-cizgi);
}

.workspace-page .chat-panel .home-chat-log .message {
  max-width: 82%;
  border: 0;
  border-radius: 18px;
  padding: 11px 14px;
  box-shadow: none;
  font-size: 15px;
  line-height: 1.5;
}

.workspace-page .chat-panel .home-chat-log .message.user {
  justify-self: end;
  border-bottom-right-radius: 6px;
  color: #ffffff;
  background: var(--x-lacivert);
}

.workspace-page .chat-panel .home-chat-log .message.bot {
  justify-self: start;
  border-bottom-left-radius: 6px;
  color: var(--x-murekkep);
  background: var(--x-acik);
}

.workspace-page .chat-panel .home-chat-log .message small {
  color: var(--x-gri);
  opacity: 1;
}

.workspace-page .chat-panel .home-chat-log .message.user small {
  color: rgba(255, 255, 255, 0.78);
}

.workspace-page .chat-panel .home-chat-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.workspace-page .chat-panel .home-chat-form input {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 16px;
}

.workspace-page .chat-panel .home-chat-form .sohbet-gonder {
  display: grid;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  min-height: 46px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  color: #ffffff;
  background: var(--x-nane-koyu);
  box-shadow: none;
}

.workspace-page .chat-panel .home-chat-form .sohbet-gonder:hover {
  background: var(--x-nane-yazi);
}

.workspace-page .chat-panel .home-chat-form .sohbet-gonder:disabled {
  opacity: 0.5;
}
/* Sesli sahneler de koyu kap (gece laciverti): birincil dugme beyaz hap. */
:is(.voice-stage, .builder-stage, .voice-showcase-card) :is(.home-button.primary, .voice-email-open, .primary-link) {
  border: 0;
  color: var(--x-murekkep);
  background: #ffffff;
  box-shadow: none;
}

:is(.voice-stage, .builder-stage, .voice-showcase-card) :is(.home-button.primary, .voice-email-open, .primary-link):hover {
  background: var(--x-acik);
}

:is(.voice-stage, .builder-stage, .voice-showcase-card) :is(button, a, input, summary):focus-visible {
  outline-color: var(--x-nane);
}
/* Sohbet sayfasindaki metin baglantilari (KVKK) tarayici mavisi kaliyordu. */
.assistant-light .assistant-data-notice a,
.assistant-light .legal-copy a {
  color: var(--x-lacivert);
}
/* Baslik blogu kartlarla ayni kenardan baslasin: dis kabuk gorunmez olunca
   720 px'e sinirli ortalanmis baslik, 996 px'lik kart sirasindan iceride
   kaliyordu. */
.app-light .owner-hero {
  max-width: none;
}

/* Eski bir kural hero icindeki p'leri 760 px'lik blok olarak ortaliyor;
   ust etiket de p oldugu icin saga kayiyordu. */
.app-light .owner-hero .eyebrow {
  margin-right: 0;
  margin-left: 0;
}
/* === NASIL CALISIR: gorselli adim kartlari (29 Eylul) =======================
   Adimlar arkasi bos uc metin sutunuydu (kurucu: "yazilarin arkasi cok bos
   duruyor"). Her kartin ustunde o adimi GOSTEREN kucuk bir urun sahnesi:
   doldurulmus bilgi alanlari, test sohbeti, paylasilan link ve widget
   dugmesi -- tanitim videosu 3 ve urunle ayni parcalar. Sahneler susleme
   (aria-hidden); anlatimi alttaki metin tasiyor. */
.home-step-grid.adim-izgara {
  gap: 18px;
  border: 0;
}

/* Kartlar DORT SATIRLIK ortak izgaraya bagli (subgrid): sahnesi uzun olan
   kart numarayi ve basligi asagi itmiyor, uc kartta sahne, numara, baslik
   ve metin ayni cizgide. Subgrid'i tanimayan tarayicida yalnizca hiza
   kaybolur, duzen bozulmaz. */
.home-step-grid.adim-izgara article,
.home-step-grid.adim-izgara article + article {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  row-gap: 0;
  min-height: 0;
  padding: 12px 12px 26px;
  border: 1px solid rgba(221, 226, 235, 0.7);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--x-golge);
  /* Saydamlik da burada: bu kural .motion-reveal'in gecisini eziyor ve
     yazilmasaydi kartlar ekrana girerken solmadan birden belirirdi. */
  transition:
    opacity 460ms var(--ease-smooth),
    transform 460ms var(--ease-spring),
    box-shadow 460ms var(--ease-spring);
}

.home-step-grid.adim-izgara article:hover {
  transform: translateY(-3px);
  box-shadow: var(--x-golge-buyuk);
}

/* Numara: videodaki ilke ikonlari gibi nane daire, murekkep yazi. */
.home-step-grid.adim-izgara article > span {
  display: grid;
  place-items: center;
  align-self: start;
  justify-self: start;
  width: 34px;
  height: 34px;
  margin: 20px 14px 14px;
  border-radius: 50%;
  color: var(--x-murekkep);
  background: var(--x-nane);
  font-size: 13px;
  font-weight: 800;
}

.home-step-grid.adim-izgara h3,
.home-step-grid.adim-izgara p {
  padding-inline: 14px;
}

/* Sutun kartin genisligiyle sinirli (minmax(0, ...)): "auto" sutun en uzun
   icerige (tam link metni) gore acilip 1000 px civarinda link satirini ve
   widget dugmesini kartin disina tasiyordu. En fazla 420 px ve ortada: tek
   sutunlu tablet duzeninde kart genislediginde sahne seyreklesmesin. */
.adim-izgara .adim-sahne {
  display: grid;
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
  align-content: center;
  gap: 8px;
  min-height: 178px;
  border-radius: 16px;
  padding: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #f5f7fb 0%, #eef1f6 100%);
  font-size: 13px;
  line-height: 1.35;
}

/* 01 -- doldurulmus bilgi alanlari ve kayit onayi */
.adim-izgara .adim-alan {
  display: grid;
  gap: 1px;
  border-radius: 12px;
  padding: 9px 12px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 18, 40, 0.05);
}

.adim-izgara .adim-alan small {
  color: var(--x-gri);
  font-size: 11px;
  font-weight: 600;
}

.adim-izgara .adim-alan b {
  overflow: hidden;
  color: var(--x-murekkep);
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adim-izgara .adim-cip {
  justify-self: start;
  border-radius: 999px;
  padding: 5px 11px;
  color: var(--x-nane-yazi);
  background: var(--x-nane-zemin);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

/* 02 -- test sohbeti: urun sohbetindeki balonlar */
.adim-izgara .adim-balon {
  max-width: 86%;
  border-radius: 14px;
  padding: 8px 12px;
}

.adim-izgara .adim-musteri {
  justify-self: end;
  border-bottom-right-radius: 5px;
  color: #ffffff;
  background: var(--x-lacivert);
}

.adim-izgara .adim-asistan {
  justify-self: start;
  border-bottom-left-radius: 5px;
  color: var(--x-murekkep);
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 18, 40, 0.05);
}

/* 03 -- paylasilan link, kanallar, sitelere gomulen widget dugmesi */
.adim-izgara .adim-link {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 6px 6px 6px 12px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 18, 40, 0.05);
}

.adim-izgara .adim-link i {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--x-murekkep);
  font-style: normal;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adim-izgara .adim-link b {
  flex: none;
  border-radius: 999px;
  padding: 5px 10px;
  color: #ffffff;
  background: var(--x-murekkep);
  font-size: 11px;
  font-weight: 700;
}

.adim-izgara .adim-kanallar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.adim-izgara .adim-kanallar i {
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--x-gri-koyu);
  background: #ffffff;
  box-shadow: inset 0 0 0 1px var(--x-cizgi);
  font-size: 11px;
  font-style: normal;
  font-weight: 650;
}

.adim-izgara .adim-widget {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 7px;
  border-radius: 999px;
  padding: 8px 14px;
  color: #ffffff;
  background: var(--x-murekkep);
  box-shadow: 0 8px 20px rgba(15, 18, 34, 0.25);
  font-size: 12px;
  font-weight: 650;
}

.adim-izgara .adim-widget::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--x-nane);
}

@media (prefers-reduced-motion: reduce) {
  .home-step-grid.adim-izgara article {
    transition: none;
  }

  .home-step-grid.adim-izgara article:hover {
    transform: none;
  }
}