/* Destek merkezi (/support) ve müşteri paneli destek sayfaları. Yalnızca .sp kapsamında çalışır. */
.sp {
  --sp-ink:#131a28; --sp-muted:#5b6578; --sp-soft:#f5f7fb; --sp-line:#e3e8f0; --sp-line-2:#d6ddea;
  --sp-accent:#375de5; --sp-accent-dark:#2447c7; --sp-alt:#7c5cff; --sp-tint:#eef2ff;
  --sp-ok:#16a36a; --sp-warn:#b7791f; --sp-danger:#c2410c;
  --sp-radius:20px; --sp-ease:cubic-bezier(.2,.8,.2,1); --sp-spring:cubic-bezier(.34,1.56,.64,1);
  --sp-shadow:0 1px 2px rgb(20 30 60 / 4%),0 12px 32px -18px rgb(30 50 110 / 22%);
  --sp-shadow-lg:0 2px 4px rgb(20 30 60 / 4%),0 40px 80px -40px rgb(30 50 120 / 40%);
  color:var(--sp-ink);
}
.sp .icon { width:20px;height:20px; }
.sp .btn .icon { width:17px;height:17px; }
.sp .sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
.sp a:not(.btn) { color:inherit; }
.sp-eyebrow { display:inline-flex;align-items:center;gap:10px;font-size:12px;font-weight:650;letter-spacing:.14em;color:var(--sp-accent); }
.sp-eyebrow::before { content:'';width:18px;height:2px;border-radius:2px;background:linear-gradient(90deg,var(--sp-accent),var(--sp-alt)); }
.sp-head { max-width:640px; }
.sp-head h2 { margin-top:14px;font-size:clamp(28px,3.2vw,42px);font-weight:650;line-height:1.12;letter-spacing:-.04em; }
.sp-sub { margin-top:14px;font-size:16px;line-height:1.75;color:var(--sp-muted); }
.sp-sub a, .sp-muted a, .sp-form-actions a, .sp-hint-box a, .sp-banner a, .sp-empty a { color:var(--sp-accent);font-weight:600; }
.sp-section { padding-block:96px; }
.sp-muted { font-size:14px;line-height:1.65;color:var(--sp-muted); }

/* ---------- Hero ---------- */
.sp-hero { position:relative;isolation:isolate;padding-block:32px 88px;overflow:hidden; }
.sp-hero-backdrop { position:absolute;inset:-100px 0 0;z-index:-1;pointer-events:none; }
.sp-hero-backdrop span { position:absolute;border-radius:50%;filter:blur(70px);opacity:.5; }
.sp-hero-backdrop span:first-child { width:520px;height:520px;right:-60px;top:20px;background:radial-gradient(circle,rgb(124 92 255 / 45%),transparent 68%);animation:sp-drift 18s ease-in-out infinite alternate; }
.sp-hero-backdrop span:last-child { width:460px;height:460px;left:-160px;top:200px;background:radial-gradient(circle,rgb(55 93 229 / 35%),transparent 70%);animation:sp-drift 22s ease-in-out infinite alternate-reverse; }
.sp-hero-inner { display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:56px;align-items:center; }
.sp-hero-copy > * { animation:sp-rise .8s var(--sp-ease) both; }
.sp-hero-copy > :nth-child(2) { animation-delay:.06s; } .sp-hero-copy > :nth-child(3) { animation-delay:.12s; } .sp-hero-copy > :nth-child(4) { animation-delay:.18s; } .sp-hero-copy > :nth-child(5) { animation-delay:.24s; }
.sp-hero h1 { margin-top:22px;font-size:clamp(40px,5vw,64px);font-weight:650;line-height:1.05;letter-spacing:-.05em; }
.sp-hero h1 span { background:linear-gradient(100deg,var(--sp-accent) 10%,var(--sp-alt) 90%);-webkit-background-clip:text;background-clip:text;color:transparent; }
.sp-lead { margin-top:22px;max-width:540px;font-size:17px;line-height:1.75;color:var(--sp-muted); }
.sp-hero-actions { display:flex;flex-wrap:wrap;gap:12px;margin-top:28px; }
.sp-pill { display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;font-size:12px;font-weight:700;color:#fff;background:var(--sp-accent); }
.sp-alert { display:inline-flex;align-items:center;gap:10px;margin-top:22px;padding:12px 16px;border:1px solid #f4d9a8;border-radius:14px;background:#fff8ea;font-size:14px;color:#6d4c0f;text-decoration:none;transition:transform .25s var(--sp-ease); }
.sp-alert:hover { transform:translateX(3px); }
.sp-alert .icon { width:18px;height:18px;color:var(--sp-warn); }
.sp-channels { display:grid;gap:12px;animation:sp-rise .9s var(--sp-ease) .15s both; }
.sp-channel, .sp-gate-option { display:flex;align-items:center;gap:14px;padding:18px 20px;border:1px solid var(--sp-line);border-radius:18px;background:rgb(255 255 255 / 86%);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:var(--sp-shadow);text-decoration:none;transition:transform .3s var(--sp-ease),box-shadow .3s,border-color .3s; }
.sp-channel > span:nth-child(2), .sp-gate-option > span:nth-child(2) { display:flex;flex-direction:column;gap:2px;min-width:0; }
.sp-channel small, .sp-gate-option small { font-size:13px;color:var(--sp-muted); }
.sp-channel strong, .sp-gate-option strong { font-size:15.5px;font-weight:650;overflow-wrap:anywhere; }
.sp-channel > .icon:last-child, .sp-gate-option > .icon:last-child { margin-left:auto;width:17px;height:17px;color:#8793a8;transition:translate .25s var(--sp-ease),color .25s; }
@media (hover:hover) and (pointer:fine) {
  .sp-channel:hover, .sp-gate-option:hover { transform:translateY(-3px);box-shadow:var(--sp-shadow-lg);border-color:#cbd5f1; }
  .sp-channel:hover > .icon:last-child, .sp-gate-option:hover > .icon:last-child { translate:4px 0;color:var(--sp-accent); }
}
.sp-channel-icon { display:grid;place-items:center;flex-shrink:0;width:46px;height:46px;border-radius:14px;color:var(--sp-accent);background:var(--sp-tint); }
.sp-channel-icon.is-ok { color:#0f7a4f;background:#e2f7ed; }

/* ---------- Konu kartları ---------- */
.sp-topics { display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px;margin-top:44px; }
.sp-topic-card { position:relative;display:flex;flex-direction:column;gap:8px;padding:24px;border:1px solid var(--sp-line);border-radius:var(--sp-radius);background:#fff;text-decoration:none;box-shadow:var(--sp-shadow);transition:transform .35s var(--sp-ease),box-shadow .35s,border-color .35s; }
.sp-topic-card .sp-topic-icon { margin-bottom:10px; }
.sp-topic-card strong { font-size:17px;font-weight:650; }
.sp-topic-card small { font-size:14px;line-height:1.6;color:var(--sp-muted); }
.sp-topic-go { display:inline-flex;align-items:center;gap:6px;margin-top:auto;padding-top:12px;font-size:13.5px;font-weight:600;color:var(--sp-accent); }
.sp-topic-go .icon { width:15px;height:15px;transition:translate .25s var(--sp-ease); }
@media (hover:hover) and (pointer:fine) {
  .sp-topic-card:hover { transform:translateY(-4px);box-shadow:var(--sp-shadow-lg);border-color:#cbd5f1; }
  .sp-topic-card:hover .sp-topic-go .icon { translate:4px 0; }
  .sp-topic-card:hover .sp-topic-icon { transform:rotate(-8deg) scale(1.06); }
}
.sp-topic-icon { display:grid;place-items:center;flex-shrink:0;width:46px;height:46px;border-radius:14px;color:var(--sp-accent);background:var(--sp-tint);transition:transform .45s var(--sp-spring),background .3s,color .3s; }

/* ---------- Oluşturma bölümü ---------- */
.sp-compose { background:linear-gradient(180deg,#fff,var(--sp-soft) 20%,var(--sp-soft)); }
.sp-compose-layout { display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:40px;align-items:start; }
.sp-compose-main .sp-form { margin-top:36px;padding:32px;border:1px solid var(--sp-line);border-radius:24px;background:#fff;box-shadow:var(--sp-shadow); }
.sp-compose-side { position:sticky;top:100px;display:grid;grid-template-columns:minmax(0,1fr);gap:16px; }
.sp-compose-side > *, .sp-detail-side > *, .sp-compose-main, .sp-thread-col { min-width:0; }
.sp-card { padding:22px;border:1px solid var(--sp-line);border-radius:18px;background:#fff;box-shadow:var(--sp-shadow); }
.sp-card-soft { background:linear-gradient(145deg,#fff,var(--sp-tint));box-shadow:none; }
.sp-card-title { display:flex;align-items:center;gap:10px;font-size:15px;font-weight:650; }
.sp-card-title .icon { width:18px;height:18px;color:var(--sp-accent); }
.sp-card > .sp-muted { margin-top:8px; }
.sp-mini-list { display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin:12px 0 0;padding:0;list-style:none; }
.sp-mini-list li { display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0; }
.sp-mini-list li + li { border-top:1px dashed var(--sp-line); }
.sp-mini-list li > :first-child { display:flex;flex-direction:column;gap:1px;min-width:0;text-decoration:none; }
.sp-mini-list strong { font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.sp-mini-list a strong:hover { color:var(--sp-accent); }
.sp-mini-list small { font-size:12.5px;color:var(--sp-muted); }
.sp-mini-list .status-badge, .sp-mini-list .sp-status { flex-shrink:0;font-size:11.5px; }
.sp-link { display:inline-flex;align-items:center;gap:6px;margin-top:10px;font-size:13.5px;font-weight:600;color:var(--sp-accent) !important;text-decoration:none; }
.sp-link .icon { width:15px;height:15px; }
.sp-tips { display:grid;gap:8px;margin:12px 0 0;padding-left:18px;font-size:14px;line-height:1.6;color:var(--sp-muted); }

/* ---------- Form ---------- */
.sp-form { display:grid;gap:30px; }
.sp-step { margin:0;padding:0;border:0;min-width:0;transition:opacity .35s var(--sp-ease); }
.sp-step legend { display:flex;align-items:center;gap:12px;margin-bottom:16px;padding:0;font-size:17px;font-weight:650; }
.sp-step legend small { font-size:13px;font-weight:500;color:var(--sp-muted); }
.sp-step-no { display:grid;place-items:center;width:30px;height:30px;border-radius:50%;font-size:14px;font-weight:700;color:#fff;background:linear-gradient(135deg,var(--sp-accent),var(--sp-alt)); }
.sp-step[data-sp-muted] { opacity:.55; }
.sp-topic-grid { display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px; }
.sp-topic, .sp-service { position:relative;display:flex;align-items:center;gap:12px;padding:14px;border:1.5px solid var(--sp-line);border-radius:16px;background:#fff;cursor:pointer;transition:border-color .25s,background .25s,box-shadow .25s,transform .25s var(--sp-ease); }
.sp-topic input, .sp-service input, .sp-priority input { position:absolute;opacity:0;pointer-events:none; }
.sp-topic .sp-topic-icon { width:40px;height:40px;border-radius:12px; }
.sp-topic .sp-topic-icon .icon { width:18px;height:18px; }
.sp-topic-text, .sp-service-text { display:flex;flex-direction:column;gap:2px;min-width:0; }
.sp-topic-text strong, .sp-service-text strong { font-size:14.5px;font-weight:650; }
.sp-topic-text small { font-size:12.5px;line-height:1.45;color:var(--sp-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.sp-service-text small { font-size:12.5px;color:var(--sp-muted);overflow-wrap:anywhere; }
.sp-topic-check { position:absolute;top:10px;right:10px;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;color:#fff;background:var(--sp-accent);transform:scale(0);transition:transform .35s var(--sp-spring); }
.sp-topic-check .icon { width:12px;height:12px;stroke-width:3; }
.sp-topic:hover, .sp-service:hover { border-color:#c3cff0; }
.sp-topic:has(input:checked), .sp-service:has(input:checked) { border-color:var(--sp-accent);background:linear-gradient(145deg,#fff,var(--sp-tint));box-shadow:0 10px 24px -18px rgb(55 93 229 / 70%); }
.sp-topic:has(input:checked) .sp-topic-check { transform:scale(1); }
.sp-topic:has(input:checked) .sp-topic-icon { color:#fff;background:linear-gradient(135deg,var(--sp-accent),var(--sp-alt)); }
.sp-topic:has(input:focus-visible), .sp-service:has(input:focus-visible), .sp-priority label:has(input:focus-visible) { outline:3px solid #6a86e7;outline-offset:3px; }
.sp-service-list { display:grid;gap:10px; }
.sp-service-icon { display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border-radius:12px;color:#4a5874;background:var(--sp-soft); }
.sp-service:has(input:checked) .sp-service-icon { color:var(--sp-accent);background:#fff; }
.sp-service .status-badge { margin-left:auto;flex-shrink:0; }
.sp-service::after { content:'';flex-shrink:0;width:18px;height:18px;border:2px solid var(--sp-line-2);border-radius:50%;transition:border .2s,box-shadow .2s; }
.sp-service:not(:has(.status-badge))::after { margin-left:auto; }
.sp-service:has(input:checked)::after { border:5px solid var(--sp-accent); }
.sp-field { display:grid;gap:8px;margin-top:16px; }
.sp-step > .sp-field:first-of-type { margin-top:0; }
.sp-field > label, .sp-label, .sp-reply > label { font-size:14px;font-weight:600; }
.sp-field > label small { font-weight:500;color:var(--sp-muted); }
.sp-field input, .sp-field select, .sp-field textarea, .sp-reply textarea, .sp-search input { width:100%;min-height:48px;padding:12px 14px;border:1.5px solid var(--sp-line);border-radius:12px;background:#fff;font:inherit;font-size:15px;color:var(--sp-ink);transition:border-color .2s,box-shadow .2s;box-sizing:border-box; }
.sp-field textarea, .sp-reply textarea { min-height:150px;line-height:1.65;resize:vertical; }
.sp-field input:focus, .sp-field select:focus, .sp-field textarea:focus, .sp-reply textarea:focus, .sp-search input:focus { outline:0;border-color:var(--sp-accent);box-shadow:0 0 0 4px rgb(55 93 229 / 12%); }
.sp [aria-invalid="true"] { border-color:#e0795a !important; }
.sp-error { display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--sp-danger); }
.sp-priority { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px; }
.sp-priority label { position:relative;cursor:pointer; }
.sp-priority label > span { display:flex;flex-direction:column;gap:2px;height:100%;padding:12px 14px;border:1.5px solid var(--sp-line);border-radius:14px;transition:border-color .2s,background .2s; }
.sp-priority strong { font-size:14px;font-weight:650; }
.sp-priority small { font-size:12px;line-height:1.4;color:var(--sp-muted); }
.sp-priority label:has(input:checked) > span { border-color:var(--sp-accent);background:var(--sp-tint); }
.sp-priority-high:has(input:checked) > span { border-color:#e3a33a !important;background:#fff6e4 !important; }
.sp-priority-urgent:has(input:checked) > span { border-color:#e0795a !important;background:#fff1ec !important; }
.sp-field-foot { display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12.5px;color:var(--sp-muted); }
.sp-secure { display:inline-flex;align-items:center;gap:6px; }
.sp-secure .icon { width:14px;height:14px; }
.sp-counter { font-variant-numeric:tabular-nums;white-space:nowrap; }
.sp-counter.is-near { color:var(--sp-warn);font-weight:600; }
.sp-form-actions { display:flex;align-items:center;flex-wrap:wrap;gap:16px 20px;padding-top:24px;border-top:1px solid var(--sp-line); }
.sp-form-actions p { flex:1 1 260px;font-size:13.5px;line-height:1.6;color:var(--sp-muted); }
.sp-hint-box { display:flex;align-items:center;gap:12px;padding:16px 18px;border:1px dashed var(--sp-line-2);border-radius:14px;background:var(--sp-soft);font-size:14px;line-height:1.6;color:var(--sp-muted); }
.sp-hint-box .icon { flex-shrink:0;color:var(--sp-accent); }
.sp-order-field { margin-top:14px; }
.sp [data-sp-submit].is-busy { pointer-events:none;opacity:.7; }
.sp [data-sp-submit].is-busy .icon { animation:sp-spin .8s linear infinite; }

/* ---------- Giriş gerekli (misafir) ---------- */
.sp-gate-card { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:center;padding:48px;border-radius:32px;background:linear-gradient(135deg,#0d1530,#18244b 55%,#1c2d63);color:#fff;position:relative;overflow:hidden;isolation:isolate; }
.sp-gate-card::before { content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 90% 10%,rgb(124 92 255 / 45%),transparent 45%),radial-gradient(circle at 0% 100%,rgb(55 93 229 / 55%),transparent 50%); }
.sp-gate-card .sp-eyebrow { color:#a9bbff; }
.sp-gate-card h2 { margin-top:14px;font-size:clamp(28px,3.2vw,40px);font-weight:650;letter-spacing:-.04em; }
.sp-gate-copy > p { margin-top:14px;font-size:16px;line-height:1.7;color:#c3cce2; }
.sp-gate-points { display:grid;gap:10px;margin:22px 0 0;padding:0;list-style:none;font-size:15px;color:#e1e7f7; }
.sp-gate-points li { display:flex;align-items:center;gap:10px; }
.sp-gate-points .icon { width:20px;height:20px;padding:3px;border-radius:50%;color:#fff;background:rgb(255 255 255 / 14%);stroke-width:2.4; }
.sp-gate-actions { display:grid;gap:12px; }
.sp .sp-gate-option { background:rgb(255 255 255 / 96%);color:var(--sp-ink); }
.sp .sp-gate-mail { background:rgb(255 255 255 / 8%);border-color:rgb(255 255 255 / 18%);color:#fff;backdrop-filter:none; }
.sp-gate-mail small { color:#c3cce2 !important; }
.sp-gate-mail .sp-channel-icon { color:#fff;background:rgb(255 255 255 / 12%); }

/* ---------- SSS ---------- */
.sp-faq-layout { display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:64px;align-items:start; }
.sp-faq-layout > .sp-head { position:sticky;top:110px; }
.sp-faq-list { border-top:1px solid var(--sp-line); }
.sp-faq-item { border-bottom:1px solid var(--sp-line); }
.sp-faq-item summary { display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:64px;padding:20px 0;font-size:16.5px;font-weight:600;cursor:pointer;list-style:none;transition:color .2s; }
.sp-faq-item summary::-webkit-details-marker { display:none; }
.sp-faq-item summary:hover { color:var(--sp-accent); }
.sp-faq-sign { position:relative;flex-shrink:0;width:34px;height:34px;border:1px solid var(--sp-line);border-radius:50%;transition:background .3s,border-color .3s,transform .4s var(--sp-ease); }
.sp-faq-sign::before, .sp-faq-sign::after { content:'';position:absolute;left:50%;top:50%;width:12px;height:1.6px;border-radius:2px;background:currentColor;translate:-50% -50%;transition:rotate .4s var(--sp-ease); }
.sp-faq-sign::after { rotate:90deg; }
.sp-faq-item[open] .sp-faq-sign { color:#fff;border-color:var(--sp-accent);background:var(--sp-accent);transform:rotate(180deg); }
.sp-faq-item[open] .sp-faq-sign::after { rotate:0deg; }
.sp-faq-answer p { padding:0 56px 22px 0;font-size:15px;line-height:1.8;color:var(--sp-muted); }
.sp-faq-item[open] .sp-faq-answer { animation:sp-rise .4s var(--sp-ease); }

/* ---------- Müşteri paneli ---------- */
.sp-account .stat-card { text-decoration:none;transition:transform .3s var(--sp-ease),border-color .3s,box-shadow .3s; }
@media (hover:hover) and (pointer:fine) { .sp-account .stat-card:hover { transform:translateY(-3px);box-shadow:var(--sp-shadow); } }
.sp-account .stat-card.is-attention { border-color:#f1cf8c;background:#fffaf0; }
.sp-toolbar { display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px; }
.sp-tabs { display:flex;gap:4px;padding:4px;border:1px solid var(--sp-line);border-radius:14px;background:var(--sp-soft);overflow-x:auto;max-width:100%; }
.sp-tabs a { display:inline-flex;align-items:center;min-height:38px;padding:6px 14px;border-radius:10px;font-size:13.5px;font-weight:600;color:var(--sp-muted);text-decoration:none;white-space:nowrap;transition:background .2s,color .2s; }
.sp-tabs a.is-active { color:var(--sp-ink);background:#fff;box-shadow:0 1px 2px rgb(20 30 60 / 8%),0 4px 12px -4px rgb(20 30 60 / 15%); }
.sp-search { display:flex;gap:8px; }
.sp-search input { min-height:44px;width:240px;font-size:14px; }
.sp-ticket-list { display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:0;padding:0;list-style:none; }
.sp-ticket-list > li { animation:sp-rise .5s var(--sp-ease) calc(var(--i) * 40ms) both; }
.sp-ticket-row { display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:18px 20px;border:1px solid var(--sp-line);border-radius:18px;background:#fff;text-decoration:none;transition:transform .3s var(--sp-ease),box-shadow .3s,border-color .3s; }
.sp-ticket-row.is-attention { border-color:#f1cf8c;box-shadow:inset 3px 0 0 #e3a33a; }
@media (hover:hover) and (pointer:fine) { .sp-ticket-row:hover { transform:translateY(-2px);box-shadow:var(--sp-shadow);border-color:#cbd5f1; } .sp-ticket-row:hover .sp-ticket-go { translate:4px 0;color:var(--sp-accent); } }
.sp-ticket-icon { display:grid;place-items:center;width:44px;height:44px;border-radius:13px;color:var(--sp-accent);background:var(--sp-tint); }
.sp-ticket-main { display:flex;flex-direction:column;gap:3px;min-width:0; }
.sp-ticket-main strong { font-size:15.5px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.sp-ticket-main small, .sp-ticket-meta small { font-size:12.5px;color:var(--sp-muted); }
.sp-ticket-meta { display:flex;flex-direction:column;align-items:flex-end;gap:5px; }
.sp-ticket-go { width:18px;height:18px;color:#8793a8;transition:translate .25s var(--sp-ease),color .25s; }
.sp-status { display:inline-flex;align-items:center;gap:7px;padding:5px 11px;border-radius:999px;font-size:12.5px;font-weight:650;white-space:nowrap;color:#3d4a63;background:#eef1f6; }
.sp-status i { width:7px;height:7px;border-radius:50%;background:currentColor; }
.sp-status-open, .sp-status-waiting_admin { color:#2447c7;background:#e8eeff; }
.sp-status-waiting_customer { color:#8a5a00;background:#fff1d6; }
.sp-status-waiting_customer i { animation:sp-beacon 1.8s infinite; }
.sp-status-resolved { color:#0f7a4f;background:#e2f7ed; }
.sp-status-closed { color:#5b6578;background:#eef1f6; }
.sp-empty { display:flex;gap:18px;align-items:flex-start; }
.sp-empty h2 { font-size:18px; }
.sp-empty p { margin:6px 0 14px;font-size:14.5px;line-height:1.65;color:var(--sp-muted); }
.sp-pager { display:flex;align-items:center;justify-content:center;gap:14px;margin-top:20px;font-size:13.5px;color:var(--sp-muted); }
.sp-form-surface { padding:32px; }

/* Talep detayı */
.sp-ticket-head { display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-top:10px; }
.sp-ticket-head h1 { margin-top:8px;font-size:clamp(26px,3vw,36px);font-weight:650;line-height:1.15;letter-spacing:-.035em;overflow-wrap:anywhere; }
.sp-meta { display:flex;flex-wrap:wrap;gap:8px 18px;margin:14px 0 0;padding:0;list-style:none;font-size:13.5px;color:var(--sp-muted); }
.sp-meta li { display:inline-flex;align-items:center;gap:7px; }
.sp-meta .icon { width:16px;height:16px; }
.sp-prio-high { color:#8a5a00; } .sp-prio-urgent { color:var(--sp-danger);font-weight:600; }
.sp-banner { display:flex;align-items:center;gap:12px;margin-top:22px;padding:14px 18px;border:1px solid var(--sp-line);border-radius:14px;background:var(--sp-soft);font-size:14.5px;line-height:1.6; }
.sp-banner .icon { flex-shrink:0;color:var(--sp-muted); }
.sp-banner-attention { border-color:#f1cf8c;background:#fffaf0;color:#6d4c0f; }
.sp-banner-attention .icon { color:var(--sp-warn); }
.sp-banner-ok { border-color:#bfe8d3;background:#f1fbf6;color:#0f5c3c; }
.sp-banner-ok .icon { color:var(--sp-ok); }
.sp-detail-layout { display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start;margin-top:26px; }
.sp-detail-side { position:sticky;top:100px;display:grid;grid-template-columns:minmax(0,1fr);gap:14px; }
.sp-thread { display:grid;grid-template-columns:minmax(0,1fr);gap:18px;margin:0;padding:0;list-style:none; }
.sp-msg { display:flex;align-items:flex-end;gap:12px;animation:sp-rise .5s var(--sp-ease) calc(var(--i,0) * 50ms) both; }
.sp-msg-mine { flex-direction:row-reverse; }
.sp-avatar { display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border-radius:50%;font-size:14px;font-weight:700;color:#fff;background:linear-gradient(135deg,var(--sp-accent),var(--sp-alt)); }
.sp-msg-team .sp-avatar { color:var(--sp-accent);background:var(--sp-tint); }
.sp-avatar .icon { width:18px;height:18px; }
.sp-bubble { max-width:min(640px,86%);padding:16px 18px;border:1px solid var(--sp-line);border-radius:20px 20px 20px 6px;background:#fff;box-shadow:var(--sp-shadow); }
.sp-msg-mine .sp-bubble { border-color:transparent;border-radius:20px 20px 6px 20px;background:linear-gradient(145deg,#f1f5ff,#e9eeff); }
.sp-bubble-head { display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;font-size:13px; }
.sp-bubble-head strong { font-weight:650; }
.sp-bubble-head span { color:var(--sp-accent);font-weight:600; }
.sp-bubble-head time { margin-left:auto;font-size:12px;color:var(--sp-muted); }
.sp-bubble-body { margin-top:8px;font-size:15px;line-height:1.7;overflow-wrap:anywhere; }
.sp-msg-system { justify-content:center; }
.sp-msg-system span { padding:6px 14px;border-radius:999px;background:var(--sp-soft);font-size:12.5px;color:var(--sp-muted);text-align:center; }
.sp-reply { display:grid;gap:10px;margin-top:26px;padding:22px;border:1px solid var(--sp-line);border-radius:20px;background:#fff;box-shadow:var(--sp-shadow); }
.sp-reply-actions { display:flex;justify-content:flex-end; }
.sp-pairs { display:grid;gap:0;margin:12px 0 0; }
.sp-pairs > div { display:flex;justify-content:space-between;gap:12px;padding:9px 0;font-size:14px; }
.sp-pairs > div + div { border-top:1px dashed var(--sp-line); }
.sp-pairs dt { color:var(--sp-muted); }
.sp-pairs dd { margin:0;font-weight:600;text-align:right; }
.sp-related { display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:12px 14px;border:1px solid var(--sp-line);border-radius:14px;text-decoration:none;transition:border-color .2s,background .2s; }
.sp-related:hover { border-color:#cbd5f1;background:var(--sp-soft); }
.sp-related > span:first-child { display:flex;flex-direction:column;min-width:0; }
.sp-related small { font-size:12px;color:var(--sp-muted); }
.sp-related strong { font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.sp-related > .icon { width:16px;height:16px;color:#8793a8; }
.sp-close .btn { margin-top:12px;width:100%; }
.service-heading-actions { display:flex;flex-wrap:wrap;align-items:center;gap:10px; }

/* ---------- Scroll ile belirme ---------- */
.sp-motion [data-sp-reveal] > * { opacity:0;transform:translateY(20px);transition:opacity .7s var(--sp-ease) calc(var(--i,0) * 60ms),transform .7s var(--sp-ease) calc(var(--i,0) * 60ms),box-shadow .35s,border-color .35s; }
.sp-motion [data-sp-reveal].is-visible > * { opacity:1;transform:none; }
.sp-motion [data-sp-reveal]:focus-within > * { opacity:1;transform:none; }
.sp-flash-target { animation:sp-flash 1.4s var(--sp-ease); }

@keyframes sp-rise { from { opacity:0;transform:translateY(18px); } to { opacity:1;transform:none; } }
@keyframes sp-drift { from { transform:translate3d(0,0,0) scale(1); } to { transform:translate3d(-60px,40px,0) scale(1.12); } }
@keyframes sp-spin { to { rotate:360deg; } }
@keyframes sp-beacon { 0% { box-shadow:0 0 0 0 rgb(183 121 31 / 50%); } 80%,100% { box-shadow:0 0 0 7px rgb(183 121 31 / 0%); } }
@keyframes sp-flash { 0% { box-shadow:0 0 0 0 rgb(55 93 229 / 40%); } 100% { box-shadow:0 0 0 18px rgb(55 93 229 / 0%); } }

/* ---------- Responsive ---------- */
@media (max-width:1100px) {
  .sp-compose-layout { grid-template-columns:minmax(0,1fr) 300px;gap:28px; }
  .sp-detail-layout { grid-template-columns:minmax(0,1fr) 270px; }
}
@media (max-width:960px) {
  .sp-section { padding-block:76px; }
  .sp-hero-inner { grid-template-columns:minmax(0,1fr);gap:36px; }
  .sp-compose-layout, .sp-detail-layout { grid-template-columns:minmax(0,1fr); }
  .sp-compose-side, .sp-detail-side { position:static; }
  .sp-compose-side { grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); }
  .sp-gate-card { grid-template-columns:minmax(0,1fr);padding:36px; }
  .sp-faq-layout { grid-template-columns:minmax(0,1fr);gap:28px; }
  .sp-faq-layout > .sp-head { position:static; }
  .sp-priority { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:699px) {
  .sp-section { padding-block:60px; }
  .sp-hero { padding-block:16px 56px; }
  .sp-hero h1 { font-size:clamp(34px,10vw,44px); }
  .sp-lead { font-size:16px; }
  .sp-hero-actions .btn { flex:1 1 150px;white-space:nowrap;padding-inline:14px; }
  .sp-topics { grid-template-columns:minmax(0,1fr);margin-top:30px;gap:12px; }
  .sp-topic-card { padding:20px;flex-direction:row;flex-wrap:wrap;align-items:center;column-gap:14px; }
  .sp-topic-card .sp-topic-icon { margin:0; }
  .sp-topic-card small { flex-basis:100%; }
  .sp-topic-card .sp-topic-go { padding-top:4px; }
  .sp-compose-main .sp-form, .sp-form-surface { padding:20px 16px; }
  .sp-topic-grid { grid-template-columns:minmax(0,1fr); }
  .sp-priority { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .sp-service { flex-wrap:wrap; }
  .sp-service .status-badge { margin-left:52px; }
  .sp-service::after { position:absolute;top:14px;right:14px; }
  .sp-service-text { padding-right:26px; }
  .sp-field-foot { flex-direction:column;align-items:flex-start; }
  .sp-form-actions .btn { width:100%; }
  .sp-gate-card { padding:28px 20px;border-radius:24px; }
  .sp-faq-answer p { padding-right:0; }
  .sp-toolbar { flex-direction:column;align-items:stretch; }
  .sp-search input { width:100%; }
  .sp-ticket-row { grid-template-columns:auto minmax(0,1fr);gap:10px 14px;padding:16px; }
  .sp-ticket-meta { grid-column:2;flex-direction:row;align-items:center;justify-content:space-between; }
  .sp-ticket-go { display:none; }
  .sp-ticket-head { flex-direction:column; }
  .sp-bubble { max-width:calc(100% - 50px);padding:14px; }
  .sp-avatar { width:32px;height:32px;font-size:13px; }
  .sp-reply { padding:16px; }
  .sp-reply-actions .btn { width:100%; }
  .sp-form-surface.surface { padding:18px 14px; }
}

@media (prefers-reduced-motion:reduce) {
  .sp *, .sp *::before, .sp *::after { animation:none !important;transition:none !important; }
  .sp [data-sp-reveal] > * { opacity:1 !important;transform:none !important; }
}
