/*! Akıllı Tahta Atölyesi · Guided Tour v0.8.35 */
:root{
  --tca-tour-accent:#0ea5e9;
  --tca-tour-accent-2:#0284c7;
  --tca-tour-ink:#102033;
  --tca-tour-muted:#445d70;
  --tca-tour-surface:rgba(255,255,255,.985);
  --tca-tour-border:rgba(14,165,233,.22);
  --tca-tour-shadow:0 24px 72px rgba(2,12,27,.26),0 1px 0 rgba(255,255,255,.92) inset;
}
.tca-tour-help{
  position:absolute;
  z-index:32;
  top:10px;
  right:12px;
  width:40px;
  height:40px;
  padding:0;
  border:1px solid color-mix(in srgb,var(--tca-tour-accent) 28%,transparent);
  border-radius:14px;
  display:grid;
  place-items:center;
  background:color-mix(in srgb,#fff 92%,#e0f2fe);
  color:#0369a1;
  box-shadow:0 8px 20px rgba(15,23,42,.09),inset 0 1px 0 rgba(255,255,255,.86);
  cursor:pointer;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease;
}
.tca-tour-help:hover{transform:translateY(-1px);border-color:#38bdf8;background:#effaff;box-shadow:0 12px 26px rgba(14,165,233,.16)}
.tca-tour-help:focus-visible{outline:3px solid rgba(14,165,233,.28);outline-offset:3px}
.tca-tour-help svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tca-home-card{position:relative}

.tca-tour-layer[hidden]{display:none!important}
.tca-tour-layer{position:fixed;z-index:2147483200;inset:0;pointer-events:none;font-family:inherit}
.tca-tour-shield{position:absolute;z-index:1;inset:0;pointer-events:auto;background:transparent;overscroll-behavior:contain;touch-action:none}
.tca-tour-spotlight{
  position:fixed;
  z-index:2;
  display:block;
  border-radius:18px;
  pointer-events:none;
  box-shadow:0 0 0 9999px rgba(2,10,20,.66),0 0 0 2px rgba(255,255,255,.96),0 0 0 5px rgba(14,165,233,.28),0 16px 42px rgba(2,132,199,.20);
  transition:left .22s cubic-bezier(.2,.75,.25,1),top .22s cubic-bezier(.2,.75,.25,1),width .22s cubic-bezier(.2,.75,.25,1),height .22s cubic-bezier(.2,.75,.25,1),border-radius .18s ease;
}
.tca-tour-spotlight.is-ambient{left:50%!important;top:50%!important;width:0!important;height:0!important;border-radius:999px!important;box-shadow:0 0 0 9999px rgba(2,10,20,.66)}
.tca-tour-card{
  position:fixed;
  z-index:3;
  width:min(420px,calc(100vw - 48px));
  max-height:min(600px,calc(100dvh - 48px));
  overflow:auto;
  pointer-events:auto;
  border:1px solid var(--tca-tour-border);
  border-radius:24px;
  padding:22px 22px 18px;
  background:var(--tca-tour-surface);
  color:var(--tca-tour-ink);
  box-shadow:var(--tca-tour-shadow);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  outline:none;
}
.tca-tour-card::before{content:"";position:absolute;inset:0 0 auto;height:3px;border-radius:24px 24px 0 0;background:linear-gradient(90deg,#0284c7,#38bdf8 52%,#22c55e);pointer-events:none}
.tca-tour-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
.tca-tour-kicker{display:inline-flex;align-items:center;min-height:28px;padding:0 11px;border-radius:999px;background:rgba(14,165,233,.10);color:#0369a1;font-size:12px;font-weight:950;letter-spacing:.08em}
.tca-tour-count{font-size:13px;font-weight:900;color:var(--tca-tour-muted);white-space:nowrap}
.tca-tour-heading{display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:13px;margin-bottom:10px}
.tca-tour-icon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(145deg,#075985,#0284c7 58%,#22c55e 145%);color:#fff;box-shadow:0 9px 21px rgba(2,132,199,.23),inset 0 1px 0 rgba(255,255,255,.22)}
.tca-tour-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.tca-tour-title{margin:0;font-size:25px;line-height:1.08;letter-spacing:-.02em;font-weight:950;color:inherit}
.tca-tour-copy{margin:0;color:var(--tca-tour-ink);font-size:17px;line-height:1.48;font-weight:760}
.tca-tour-copy strong{color:var(--tca-tour-ink);font-weight:950}
.tca-tour-note{display:flex;gap:9px;align-items:flex-start;margin-top:14px;padding:12px 13px;border-radius:15px;background:linear-gradient(135deg,rgba(14,165,233,.08),rgba(34,197,94,.06));border:1px solid rgba(14,165,233,.14);color:#244255;font-size:14px;line-height:1.42;font-weight:780}
.tca-tour-note svg{flex:0 0 18px;width:18px;height:18px;margin-top:1px;fill:none;stroke:#0284c7;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tca-tour-capabilities{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}
.tca-tour-capability{display:flex;align-items:center;gap:8px;min-height:42px;padding:10px 11px;border-radius:13px;background:rgba(148,163,184,.09);border:1px solid rgba(148,163,184,.16);font-size:13px;line-height:1.2;font-weight:860;color:#243b4d}
.tca-tour-capability svg{flex:0 0 17px;width:17px;height:17px;fill:none;stroke:#0284c7;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.tca-tour-progress{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding-top:14px;border-top:1px solid rgba(148,163,184,.18)}
.tca-tour-dots{display:flex;align-items:center;gap:5px}
.tca-tour-dot{width:7px;height:7px;border-radius:999px;background:#cbd5e1;transition:width .16s ease,background .16s ease}
.tca-tour-dot.is-active{width:21px;background:linear-gradient(90deg,#0284c7,#38bdf8)}
.tca-tour-actions{display:flex;align-items:center;gap:7px;margin-left:auto}
.tca-tour-btn{min-height:42px;border-radius:13px;padding:10px 14px;border:1px solid transparent;font:900 13px/1.15 system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer;transition:transform .14s ease,filter .14s ease,background .14s ease,border-color .14s ease}
.tca-tour-btn:hover{transform:translateY(-1px)}
.tca-tour-skip{margin-right:auto;background:transparent;color:#425a6d;padding-left:2px;padding-right:6px}
.tca-tour-back{background:#edf4f8;border-color:#d8e3ea;color:#203448}
.tca-tour-next{background:linear-gradient(135deg,#0284c7,#0ea5e9);color:#fff;box-shadow:0 7px 17px rgba(2,132,199,.22)}
.tca-tour-btn:focus-visible{outline:3px solid rgba(14,165,233,.28);outline-offset:2px}
.tca-tour-btn[hidden]{display:none!important}
body.tca-tour-open{overflow:hidden!important}

html[data-bs-theme="dark"] .tca-tour-help,body.dark-mode .tca-tour-help,body.theme-dark .tca-tour-help{background:#12283a;border-color:#2a5872;color:#cfefff;box-shadow:0 8px 20px rgba(0,0,0,.23),inset 0 1px 0 rgba(255,255,255,.05)}
html[data-bs-theme="dark"] .tca-tour-card,body.dark-mode .tca-tour-card,body.theme-dark .tca-tour-card{
  --tca-tour-ink:#edf7ff;
  --tca-tour-muted:#c2d4e2;
  --tca-tour-surface:rgba(11,24,37,.988);
  --tca-tour-border:#29445b;
  --tca-tour-shadow:0 30px 95px rgba(0,0,0,.58),0 1px 0 rgba(255,255,255,.04) inset;
}
html[data-bs-theme="dark"] .tca-tour-kicker,body.dark-mode .tca-tour-kicker,body.theme-dark .tca-tour-kicker{background:#143047;color:#7dd3fc}
html[data-bs-theme="dark"] .tca-tour-note,body.dark-mode .tca-tour-note,body.theme-dark .tca-tour-note{background:linear-gradient(135deg,#102b3d,#102d2a);border-color:#275068;color:#d8e9f5}
html[data-bs-theme="dark"] .tca-tour-capability,body.dark-mode .tca-tour-capability,body.theme-dark .tca-tour-capability{background:#102131;border-color:#29445b;color:#d2e3ef}
html[data-bs-theme="dark"] .tca-tour-back,body.dark-mode .tca-tour-back,body.theme-dark .tca-tour-back{background:#172a3b;border-color:#31506a;color:#d9e9f5}
html[data-bs-theme="dark"] .tca-tour-progress,body.dark-mode .tca-tour-progress,body.theme-dark .tca-tour-progress{border-top-color:#29445b}
html[data-bs-theme="dark"] .tca-tour-dot,body.dark-mode .tca-tour-dot,body.theme-dark .tca-tour-dot{background:#365069}

@media (max-width:1024px){
  .tca-tour-card{
    width:min(400px,calc(100vw - 40px));
    max-height:min(560px,calc(100dvh - 40px));
    padding:20px 20px 17px;
  }
  .tca-tour-title{font-size:23px}
  .tca-tour-copy{font-size:16px}
  .tca-tour-note{font-size:13.5px}
}
@media (max-width:900px){
  .tca-tour-card{
    left:max(16px,env(safe-area-inset-left))!important;
    right:max(16px,env(safe-area-inset-right))!important;
    bottom:max(16px,env(safe-area-inset-bottom))!important;
    top:auto!important;
    width:auto!important;
    max-height:min(52dvh,460px);
    border-radius:22px;
    padding:18px 18px 16px;
  }
  .tca-tour-card::before{border-radius:22px 22px 0 0}
  .tca-tour-topline{margin-bottom:10px}
  .tca-tour-heading{grid-template-columns:46px minmax(0,1fr);gap:11px;margin-bottom:8px}
  .tca-tour-icon{width:46px;height:46px;border-radius:14px}
  .tca-tour-icon svg{width:24px;height:24px}
  .tca-tour-title{font-size:22px}
  .tca-tour-copy{font-size:15px;line-height:1.45}
  .tca-tour-note{margin-top:11px;padding:10px 11px;font-size:12.6px}
  .tca-tour-capabilities{gap:7px;margin-top:11px}
  .tca-tour-capability{min-height:38px;padding:8px 9px;font-size:11.8px}
  .tca-tour-progress{margin-top:12px;padding-top:11px}
  .tca-tour-btn{min-height:39px;padding:8px 12px;font-size:12.2px}
}
@media (max-width:640px){
  .tca-tour-card{left:max(14px,env(safe-area-inset-left))!important;right:max(14px,env(safe-area-inset-right))!important;bottom:max(14px,env(safe-area-inset-bottom))!important;max-height:min(56dvh,455px);padding:16px 16px 14px;border-radius:20px}
  .tca-tour-card::before{border-radius:20px 20px 0 0}
  .tca-tour-kicker{min-height:24px;font-size:10.5px;padding:0 9px}
  .tca-tour-count{font-size:11.5px}
  .tca-tour-heading{grid-template-columns:42px minmax(0,1fr);gap:10px}
  .tca-tour-icon{width:42px;height:42px;border-radius:13px}
  .tca-tour-title{font-size:20px;line-height:1.1}
  .tca-tour-copy{font-size:14.2px;line-height:1.42}
  .tca-tour-note{font-size:12px;line-height:1.38}
  .tca-tour-progress{gap:8px}
  .tca-tour-actions{gap:5px}
  .tca-tour-btn{min-height:37px;padding:7px 10px;font-size:11.5px;border-radius:11px}
  .tca-tour-skip{padding-left:0;padding-right:4px}
}
@media (max-width:480px){
  .tca-tour-help{top:8px;right:9px;width:35px;height:35px;border-radius:12px}
  .tca-tour-help svg{width:18px;height:18px}
  .tca-tour-card{left:max(12px,env(safe-area-inset-left))!important;right:max(12px,env(safe-area-inset-right))!important;bottom:max(12px,env(safe-area-inset-bottom))!important;padding:14px 14px 13px;max-height:min(60dvh,450px);border-radius:18px}
  .tca-tour-card::before{border-radius:18px 18px 0 0}
  .tca-tour-heading{grid-template-columns:38px minmax(0,1fr);gap:9px;margin-bottom:7px}
  .tca-tour-icon{width:38px;height:38px;border-radius:12px}
  .tca-tour-icon svg{width:21px;height:21px}
  .tca-tour-title{font-size:18.5px}
  .tca-tour-copy{font-size:13.5px}
  .tca-tour-note{margin-top:9px;padding:9px 10px;font-size:11.4px}
  .tca-tour-capabilities{grid-template-columns:1fr 1fr;gap:6px}
  .tca-tour-capability{font-size:10.8px;min-height:32px;padding:7px 8px}
  .tca-tour-capability svg{width:15px;height:15px}
  .tca-tour-progress{align-items:flex-end;flex-wrap:wrap}
  .tca-tour-dots{order:3;width:100%;justify-content:center;padding-top:4px}
  .tca-tour-actions{margin-left:0}
}

/* v0.8.37 · Premium, daha derli toplu ve güvenli kenar yerleşimi */
.tca-tour-card{
  isolation:isolate;
  overflow:hidden auto;
  border-color:rgba(56,189,248,.28);
  background:
    radial-gradient(130% 90% at 100% 0%,rgba(14,165,233,.10),transparent 46%),
    radial-gradient(90% 75% at 0% 100%,rgba(34,197,94,.055),transparent 48%),
    rgba(255,255,255,.988);
  box-shadow:0 26px 78px rgba(2,12,27,.26),0 0 0 1px rgba(255,255,255,.72) inset;
}
.tca-tour-card::before{
  height:4px;
  background:linear-gradient(90deg,#0369a1 0%,#0ea5e9 48%,#22c55e 100%);
  box-shadow:0 2px 12px rgba(14,165,233,.22)
}
.tca-tour-card::after{
  content:"";
  position:absolute;
  z-index:-1;
  width:150px;
  height:150px;
  right:-62px;
  top:-72px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(56,189,248,.16),rgba(56,189,248,0) 70%);
  pointer-events:none
}
.tca-tour-topline{margin-bottom:12px}
.tca-tour-kicker{
  min-height:28px;
  padding:0 11px;
  border:1px solid rgba(14,165,233,.12);
  background:rgba(14,165,233,.09);
  color:#075985;
  font-size:11.5px;
  letter-spacing:.075em
}
.tca-tour-heading{margin-bottom:12px}
.tca-tour-icon{
  width:54px;
  height:54px;
  border-radius:17px;
  box-shadow:0 10px 24px rgba(2,132,199,.22),0 0 0 1px rgba(255,255,255,.20) inset
}
.tca-tour-icon svg{width:29px;height:29px}
.tca-tour-title{font-size:24px;line-height:1.08;letter-spacing:-.022em}
.tca-tour-copy{font-size:16px;line-height:1.48;font-weight:760;color:#13283b}
.tca-tour-note{
  margin-top:13px;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(240,249,255,.78);
  border-color:rgba(14,165,233,.14);
  color:#28475c;
  font-size:12.8px;
  line-height:1.4;
  font-weight:760
}
.tca-tour-note svg{stroke:#0284c7}
.tca-tour-capabilities{gap:8px;margin-top:12px}
.tca-tour-capability{
  min-height:39px;
  border-radius:12px;
  background:rgba(248,250,252,.88);
  border-color:rgba(148,163,184,.20);
  color:#243b4d;
  font-size:11.8px
}
.tca-tour-progress{margin-top:15px;padding-top:13px}
.tca-tour-next{box-shadow:0 9px 21px rgba(2,132,199,.24),0 1px 0 rgba(255,255,255,.18) inset}
.tca-tour-btn{font-weight:900}

.tca-tour-card[data-step="autosave"] .tca-tour-icon{background:linear-gradient(145deg,#047857,#10b981 62%,#38bdf8 145%)}
.tca-tour-card[data-step="file"] .tca-tour-icon{background:linear-gradient(145deg,#075985,#0ea5e9 66%,#38bdf8)}
.tca-tour-card[data-step="books"] .tca-tour-icon{background:linear-gradient(145deg,#b45309,#f59e0b 62%,#fb7185 145%)}
.tca-tour-card[data-step="download"] .tca-tour-icon{background:linear-gradient(145deg,#0369a1,#06b6d4 62%,#22c55e 145%)}
.tca-tour-card[data-step="library"] .tca-tour-icon{background:linear-gradient(145deg,#5b21b6,#7c3aed 60%,#0ea5e9 145%)}

html[data-bs-theme="dark"] .tca-tour-card,body.dark-mode .tca-tour-card,body.theme-dark .tca-tour-card{
  background:
    radial-gradient(130% 90% at 100% 0%,rgba(14,165,233,.13),transparent 46%),
    radial-gradient(90% 75% at 0% 100%,rgba(34,197,94,.06),transparent 48%),
    rgba(11,24,37,.992);
  border-color:#31506a;
  box-shadow:0 28px 88px rgba(0,0,0,.60),0 0 0 1px rgba(255,255,255,.035) inset
}
html[data-bs-theme="dark"] .tca-tour-copy,body.dark-mode .tca-tour-copy,body.theme-dark .tca-tour-copy{color:#edf7ff}
html[data-bs-theme="dark"] .tca-tour-note,body.dark-mode .tca-tour-note,body.theme-dark .tca-tour-note{background:rgba(16,43,61,.82);border-color:#275068;color:#d8e9f5}

/* Tablet: kart ekrana yapışmaz, alt panel güvenli boşlukla çalışır. */
@media (min-width:641px) and (max-width:900px){
  .tca-tour-card{
    left:max(22px,env(safe-area-inset-left))!important;
    right:max(22px,env(safe-area-inset-right))!important;
    bottom:max(22px,env(safe-area-inset-bottom))!important;
    max-width:720px!important;
    width:auto!important;
    margin-inline:auto!important;
    max-height:min(50dvh,450px)
  }
  .tca-tour-title{font-size:21px}
  .tca-tour-copy{font-size:14.8px}
}

/* Telefon: kısa, okunaklı bottom-sheet; ekran kenarlarına sıfır yapışma yok. */
@media (max-width:640px){
  .tca-tour-card{
    left:max(14px,env(safe-area-inset-left))!important;
    right:max(14px,env(safe-area-inset-right))!important;
    bottom:max(14px,env(safe-area-inset-bottom))!important;
    max-height:min(57dvh,455px);
    padding:15px 15px 13px!important;
    border-radius:20px!important
  }
  .tca-tour-card::before{border-radius:20px 20px 0 0}
  .tca-tour-topline{margin-bottom:9px}
  .tca-tour-heading{grid-template-columns:41px minmax(0,1fr);gap:9px;margin-bottom:8px}
  .tca-tour-icon{width:41px;height:41px;border-radius:13px}
  .tca-tour-icon svg{width:22px;height:22px}
  .tca-tour-title{font-size:18.5px;line-height:1.08}
  .tca-tour-copy{font-size:13.4px;line-height:1.4}
  .tca-tour-note{margin-top:9px;padding:9px 10px;font-size:11.2px;line-height:1.35}
  .tca-tour-capabilities{grid-template-columns:1fr 1fr;gap:6px;margin-top:9px}
  .tca-tour-capability{min-height:32px;padding:7px 8px;font-size:10.4px}
  .tca-tour-progress{margin-top:10px;padding-top:10px}
  .tca-tour-kicker{min-height:23px;font-size:9.7px;padding:0 8px}
  .tca-tour-count{font-size:10.5px}
}

@media (max-width:390px){
  .tca-tour-card{left:max(10px,env(safe-area-inset-left))!important;right:max(10px,env(safe-area-inset-right))!important;bottom:max(10px,env(safe-area-inset-bottom))!important;padding:13px 13px 12px!important}
  .tca-tour-title{font-size:17.5px}
  .tca-tour-copy{font-size:12.8px}
  .tca-tour-note{font-size:10.8px}
}
