/* BEZOS Tedarikçi Paneli: bayi sitesinin tema değişkenleri (app.css) üzerine premium lacivert-altın görünüm;
   büyük, okunaklı yazılar ve dokunmaya uygun düğmeler (herkesin kolayca kullanabileceği düzen). */
body.sp { background: var(--bg, #f5f7fb); font-size: 16px; }
.sp .wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }

/* marka */
.sp-mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.sp-mark b { font-size: 24px; font-weight: 800; letter-spacing: 3.5px; color: #fff; }
.sp-mark i { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .14em; padding: 4px 9px; border-radius: 999px; color: #101828; background: linear-gradient(180deg, #f6cf7f, #e9b34d); }

/* üst bar */
.sp-head { position: sticky; top: 0; z-index: 30; color: #fff; background: radial-gradient(60% 140% at 100% 0%, rgba(233,179,77,.18), transparent 60%), linear-gradient(150deg, #1f3e63, #0c1a2c 80%); box-shadow: 0 10px 30px -18px rgba(8,18,31,.9); }
.sp-head .wrap { display: flex; align-items: center; gap: 12px 22px; min-height: 68px; flex-wrap: wrap; }
.sp-brand { text-decoration: none; }
.sp-nav { display: flex; gap: 4px; margin-left: 10px; }
.sp-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; font-weight: 700; color: #c9d4e3; text-decoration: none; font-size: 15px; transition: background .2s, color .2s; }
.sp-nav a .ic { width: 19px; height: 19px; }
.sp-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.sp-nav a.on { background: rgba(233,179,77,.16); color: #ffd889; box-shadow: inset 0 0 0 1px rgba(233,179,77,.35); }
.sp-me { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 999px; color: #fff; text-decoration: none; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); transition: background .2s; }
.sp-me:hover, .sp-me.on { background: rgba(255,255,255,.14); }
.sp-me-txt { display: grid; line-height: 1.2; } .sp-me-txt b { font-size: 14px; } .sp-me-txt small { font-size: 12px; color: #a9b8cc; }
.sp-me .ic { width: 16px; height: 16px; color: #a9b8cc; }
.sp-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #101828; background: linear-gradient(180deg, #f6cf7f, #e9b34d); flex: none; }
.sp-avatar.lg { width: 52px; height: 52px; font-size: 18px; }
.sp-admin { background: #fff3cd; color: #6b4300; text-align: center; padding: 8px 16px; font-weight: 700; font-size: 14px; }

/* yerleşim: sol hesap kartı + içerik */
.sp-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 22px; align-items: start; padding-top: 24px; padding-bottom: 60px; }
.sp-main { min-width: 0; }
.sp-acc { position: sticky; top: 90px; display: grid; gap: 2px; padding: 12px; }
.sp-acc-me { display: flex; gap: 12px; align-items: center; padding: 8px 6px 14px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.sp-acc-me > div { display: grid; gap: 2px; min-width: 0; } .sp-acc-me b { font-size: 15px; } .sp-acc-me small { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-pill { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; justify-self: start; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; color: var(--green); background: var(--green-soft); }
.sp-pill .ic { width: 13px; height: 13px; }
.sp-acc a, .sp-acc button { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; font: 700 15px/1.2 var(--font); color: var(--ink-2); text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left; }
.sp-acc a .ic, .sp-acc button .ic { width: 19px; height: 19px; color: var(--muted); }
.sp-acc a:hover, .sp-acc button:hover { background: var(--soft); }
.sp-acc a.on { background: var(--ink); color: #fff; } .sp-acc a.on .ic { color: #e9b34d; }
.sp-acc hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; width: 100%; }
.sp-back { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 8px; font-weight: 700; font-size: 14px; color: var(--muted); text-decoration: none; }
.sp-head-act { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.btn.gold { color: #101828; background: linear-gradient(180deg, #f6cf7f, #e9b34d); border: 0; box-shadow: 0 12px 26px -12px rgba(233,179,77,.8); }
.btn.gold:hover { filter: brightness(1.03); }

/* genel bakış: karşılama alanı */
.sp-hero { position: relative; overflow: hidden; border-radius: 26px; padding: 26px; color: #fff; margin-bottom: 18px; display: grid; gap: 20px;
  background: radial-gradient(70% 120% at 100% 0%, rgba(233,179,77,.3), transparent 60%), radial-gradient(50% 80% at 0% 100%, rgba(36,120,255,.18), transparent 60%), linear-gradient(150deg, #24476f, #0c1a2c 75%); box-shadow: 0 30px 60px -34px rgba(12,26,44,.9); }
.sp-hero::after { content: ""; position: absolute; inset: -50% -20%; background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.08) 50%, transparent 58%); animation: spSweep 7s ease-in-out infinite; pointer-events: none; }
@keyframes spSweep { 0%, 55% { transform: translateX(-60%); } 85%, 100% { transform: translateX(60%); } }
.sp-hero-top { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; position: relative; z-index: 1; }
.sp-hero .eyebrow { color: #e9b34d; margin: 0 0 4px; } .sp-hero h1 { margin: 0 0 6px; color: #fff; font-size: 30px; letter-spacing: -.6px; } .sp-hero p { margin: 0; color: #c3cfdf; max-width: 560px; line-height: 1.55; }
.sp-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; position: relative; z-index: 1; }
.sp-kpis a { display: grid; gap: 4px; padding: 16px; border-radius: 18px; color: #fff; text-decoration: none; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); transition: transform .2s, background .2s; }
.sp-kpis a:hover { transform: translateY(-2px); background: rgba(255,255,255,.12); }
.sp-kpis small { display: flex; gap: 6px; align-items: center; color: #a9b8cc; font-weight: 700; font-size: 13px; } .sp-kpis small .ic { width: 16px; height: 16px; }
.sp-kpis b { font-size: 28px; letter-spacing: -.5px; } .sp-kpis span { color: #a9b8cc; font-size: 12.5px; }
.sp-kpis a.gold { background: linear-gradient(160deg, rgba(246,207,127,.22), rgba(233,179,77,.1)); border-color: rgba(233,179,77,.4); } .sp-kpis a.gold b { color: #ffd889; }

/* giriş ekranı: iki bölmeli */
.sp-login { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.sp-login-hero { position: relative; overflow: hidden; display: grid; align-items: center; padding: 48px; color: #fff;
  background: radial-gradient(70% 80% at 90% 10%, rgba(233,179,77,.3), transparent 60%), radial-gradient(60% 70% at 0% 100%, rgba(36,120,255,.2), transparent 60%), linear-gradient(155deg, #23466d, #0a1524 80%); }
.sp-login-hero::before { content: ""; position: absolute; inset: 0; opacity: .4; background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(70% 70% at 40% 40%, #000, transparent 80%); }
.sp-login-hero > div { position: relative; max-width: 480px; display: grid; gap: 22px; }
.sp-login-hero h1 { margin: 0; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -1.2px; color: #fff; }
.sp-login-hero ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.sp-login-hero li { display: flex; gap: 12px; align-items: center; color: #c9d4e3; font-size: 16px; }
.sp-login-hero li .ic { width: 38px; height: 38px; padding: 9px; border-radius: 12px; color: #ffd889; background: rgba(233,179,77,.14); border: 1px solid rgba(233,179,77,.3); flex: none; }
.sp-login-form { display: grid; place-items: center; padding: 24px 16px; }
.sp-login-form .card { width: min(440px, 100%); display: grid; gap: 16px; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(12,26,44,.35); }
.sp-login-form h1 { margin: 2px 0 6px; font-size: 28px; }
.sp-login-form .btn.primary { background: linear-gradient(135deg, #1f4f9b, #152b46); border: 0; }
/* şifre belirleme ekranı (tek kart) */
.sp-login:not(:has(.sp-login-hero)) { grid-template-columns: 1fr; place-items: center; padding: 16px; }
.sp-login:not(:has(.sp-login-hero)) > .card { width: min(440px, 100%); display: grid; gap: 16px; }

/* kartlar, formlar, listeler */
.sp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 18px 0; }
.sp-stat { display: grid; gap: 6px; padding: 18px; text-decoration: none; color: inherit; border-radius: 18px; }
.sp-stat small { display: flex; gap: 6px; align-items: center; color: var(--muted); font-weight: 700; }
.sp-stat b { font-size: 28px; }
.sp-steps { border-radius: 20px; }
.sp-steps ol { display: grid; gap: 10px; padding-left: 22px; line-height: 1.55; }
.sp-form { display: grid; gap: 16px; }
.sp-form h2 { font-size: 19px; margin: 0 0 12px; }
.sp-form .card { border-radius: 18px; }
.sp-form .field input, .sp-form .field select, .sp-form .field textarea { font-size: 16px; min-height: 48px; }
.sp-form .hint { color: var(--muted); font-size: 13px; line-height: 1.45; }
.sp-form .warn-hint { color: #8a5a00; background: #fff6df; border-radius: 10px; padding: 8px 10px; display: block; }
.sp-form .warn-hint .ic { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }
.sp-photos { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
.sp-ph { position: relative; width: 120px; height: 120px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line, #e3e8f0); background: #fff; }
.sp-ph img { width: 100%; height: 100%; object-fit: cover; }
.sp-ph span { position: absolute; left: 6px; top: 6px; background: rgba(0, 0, 0, .6); color: #fff; border-radius: 99px; font-size: 12px; padding: 1px 8px; }
.sp-ph .icon-btn { position: absolute; right: 4px; top: 4px; background: #fff; border-radius: 99px; }
.sp-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.sp-actions .btn { min-width: 200px; }
/* Bilgilerim / Ayarlar */
.sp-form h2 .ic { width: 20px; height: 20px; vertical-align: -3px; margin-right: 6px; color: var(--accent, #1d2b4f); }
.sp-form .grid2 .sp-wide { grid-column: 1 / -1; }
.sp-form .field input:disabled { background: var(--bg-2, #f3f5f9); color: var(--muted); }
.sp-prefs { display: grid; gap: 12px; margin: 6px 0 18px; }
.sp-prefs .switch { font-size: 15px; font-weight: 500; color: inherit; align-items: center; }
.sp-prefs .switch input { flex: none; }
.sp-setrow { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line, #e3e8f0); }
.sp-setrow:first-of-type { border-top: 0; }
.sp-setrow div { display: grid; gap: 2px; }
.sp-setrow .btn { flex: none; }
@media (max-width: 760px) { .sp-setrow { flex-direction: column; align-items: stretch; } }
.sp-list { display: grid; gap: 10px; }
.sp-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; transition: box-shadow .2s; }
.sp-item:hover { box-shadow: var(--sh-md); }
.sp-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; background: #f3f5f9; }
.sp-item b { display: block; } .sp-item small { display: block; margin-top: 4px; }
.sp-item-act { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.sp-req { margin: 6px 0 0; color: #8a5a00; font-size: 14px; display: flex; gap: 6px; }
.sp-order { display: grid; gap: 8px; border-radius: 16px; }
.sp-order-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sp-order-line { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; font-size: 15px; }
.sp-logo { height: 40px; width: auto; }

@media (max-width: 980px) {
  .sp-layout { grid-template-columns: 1fr; }
  .sp-side { display: none; }
  body.sp-home .sp-side { display: block; order: 2; }
  .sp-acc { position: static; }
  .sp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .sp-head .wrap { min-height: 60px; gap: 8px; }
  .sp-mark b { font-size: 20px; letter-spacing: 2.5px; }
  .sp-me-txt, .sp-me > .ic { display: none; } .sp-me { padding: 4px; }
  .sp-nav { order: 3; flex-basis: 100%; margin: 0 -4px; padding: 0 0 8px; overflow-x: auto; }
  .sp-nav a { flex: 1; justify-content: center; flex-direction: column; gap: 3px; font-size: 12px; padding: 8px 6px; white-space: nowrap; }
  .sp-layout { padding-top: 16px; gap: 14px; }
  .sp-hero { padding: 20px 16px; border-radius: 22px; } .sp-hero h1 { font-size: 24px; } .sp-hero-top .btn { flex: 1 1 100%; justify-content: center; }
  .sp-kpis b { font-size: 22px; }
  .sp-head-act { width: 100%; } .sp-head-act .btn { flex: 1; justify-content: center; }
  .sp-login { grid-template-columns: 1fr; } .sp-login-hero { padding: 32px 20px; } .sp-login-hero li { font-size: 15px; }
  .sp-item { grid-template-columns: 56px 1fr; } .sp-item img { width: 56px; height: 56px; }
  .sp-item-act { grid-column: 1 / -1; justify-content: flex-start; }
  .sp-actions .btn { flex: 1; min-width: 0; }
  .sp-order-line { grid-template-columns: 1fr auto; } .sp-order-line b { grid-column: 2; }
}

/* ---- Claude 2026-10-09: ödeme kutusu, puan / alarm, görevler, link ile ürün, sipariş paneli, ürün soruları */
.sp-paybox { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; color: #fff; text-decoration: none; background: linear-gradient(120deg, rgba(246,207,127,.2), rgba(255,255,255,.06)); border: 1px solid rgba(233,179,77,.4); transition: background .2s; }
.sp-paybox:hover { background: linear-gradient(120deg, rgba(246,207,127,.28), rgba(255,255,255,.1)); }
.sp-paybox > .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; color: #101828; background: linear-gradient(180deg, #f6cf7f, #e9b34d); flex: none; }
.sp-paybox > .ic:last-child { width: 20px; height: 20px; padding: 0; background: none; color: #ffd889; margin-left: auto; }
.sp-paybox span { display: grid; gap: 3px; } .sp-paybox small { color: #e9b34d; font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.sp-paybox b { font-size: 18px; } .sp-paybox em { font-style: normal; color: #c3cfdf; font-size: 13px; }
.sp-score { border-radius: 20px; margin-bottom: 18px; border-left: 6px solid var(--green, #16a34a); display: grid; gap: 14px; }
.sp-score.lvl1 { border-left-color: #eab308; } .sp-score.lvl2 { border-left-color: #f97316; } .sp-score.lvl3 { border-left-color: #dc2626; background: #fff5f5; }
.sp-score-top { display: flex; gap: 18px; align-items: center; } .sp-score-top h2 { margin: 2px 0 4px; font-size: 20px; display: flex; gap: 6px; align-items: center; } .sp-score-top p { margin: 0; color: var(--muted); line-height: 1.5; }
.sp-score-num { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; flex: none; background: var(--green-soft, #e8f7ee); color: var(--green, #16a34a); line-height: 1; }
.sp-score-num b { font-size: 30px; } .sp-score-num small { font-size: 12px; font-weight: 700; opacity: .7; }
.lvl1 .sp-score-num { background: #fef9c3; color: #a16207; } .lvl2 .sp-score-num { background: #ffedd5; color: #c2410c; } .lvl3 .sp-score-num { background: #fee2e2; color: #b91c1c; }
.sp-alarm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sp-alarm span { text-align: center; padding: 7px 4px; border-radius: 10px; font-size: 12.5px; font-weight: 800; color: var(--muted); background: var(--soft, #f1f4f9); }
.sp-alarm span.on:nth-child(1) { background: #fde047; color: #713f12; } .sp-alarm span.on:nth-child(2) { background: #fb923c; color: #fff; } .sp-alarm span.on:nth-child(3) { background: #dc2626; color: #fff; }
.sp-score-m { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sp-score-m div { display: grid; gap: 2px; padding: 12px; border-radius: 14px; background: var(--soft, #f1f4f9); } .sp-score-m small { color: var(--muted); font-weight: 700; font-size: 12.5px; } .sp-score-m b { font-size: 20px; } .sp-score-m span { color: var(--muted); font-size: 12px; }
.sp-tasks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 18px; }
.sp-tasks a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: inherit; text-decoration: none; font-weight: 600; }
.sp-tasks a b { font-size: 22px; } .sp-tasks a .ic { width: 22px; height: 22px; color: #e9b34d; } .sp-tasks a.danger { border-color: #fca5a5; background: #fff5f5; } .sp-tasks a.danger .ic, .sp-tasks a.danger b { color: #dc2626; }
.sp-linkbar { border-radius: 18px; margin-bottom: 14px; display: grid; gap: 12px; border: 1.5px dashed rgba(233,179,77,.7); background: linear-gradient(120deg, #fffaf0, #fff); }
.sp-linkbar-t { display: flex; gap: 12px; align-items: flex-start; } .sp-linkbar-t > .ic { width: 38px; height: 38px; padding: 9px; border-radius: 12px; color: #101828; background: linear-gradient(180deg, #f6cf7f, #e9b34d); flex: none; }
.sp-linkbar-t b { font-size: 17px; } .sp-linkbar-t p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.sp-linkrow { display: flex; gap: 10px; flex-wrap: wrap; } .sp-linkrow input { flex: 1 1 240px; min-height: 46px; font-size: 16px; padding: 0 14px; border: 1.5px solid var(--line-2, #d6dde8); border-radius: 12px; }
.sp-photo-add { display: grid; gap: 10px; }
.sp-otools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; } .sp-search { flex: 1 1 220px; min-height: 42px; }
.seg .count.red { background: #dc2626; color: #fff; }
.sp-ord { padding: 0; overflow: hidden; border-radius: 16px; }
.sp-ord.is-late { border-color: #fca5a5; box-shadow: 0 0 0 1px #fca5a5; }
.sp-ord header { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 16px; background: var(--soft, #f6f8fb); border-bottom: 1px solid var(--line); }
.sp-ord header .mono { font-size: 15px; } .sp-ord-date { margin-left: auto; }
.sp-mp { font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 8px; background: #eef2ff; color: #3730a3; }
.sp-ord-items { display: grid; } .sp-ord-items > div { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.sp-ord-items img { width: 48px; height: 48px; object-fit: cover; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.sp-ord-items span { display: grid; gap: 2px; min-width: 0; } .sp-ord-items span b { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; } .sp-ord-items em { font-style: normal; font-weight: 700; white-space: nowrap; } .sp-ord-items strong { white-space: nowrap; }
.sp-ord footer { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 12px 16px; }
.sp-ord .sp-req { margin: 10px 16px 0; }
.sp-ord-act { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-left: auto; }
.sp-due { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); } .sp-due .ic { width: 16px; height: 16px; }
.sp-due.soon { color: #c2410c; } .sp-due.late { color: #dc2626; }
.sp-detail { display: grid; gap: 14px; } .sp-detail .sp-ord-items > div { padding-left: 0; padding-right: 0; }
.sp-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0; } .sp-dl dt { color: var(--muted); font-weight: 700; } .sp-dl dd { margin: 0; }
.sp-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .sp-log li { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; background: var(--soft, #f6f8fb); }
.sp-contract { display: grid; gap: 14px; } .sp-contract-text { padding: 14px 16px; border-radius: 14px; background: var(--soft, #f6f8fb); border: 1px solid var(--line); font-size: 14.5px; line-height: 1.55; }
.sp-contract-text p { margin: 6px 0; } .sp-contract-text ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.sp-q header { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .sp-q header .badge { margin-left: auto; }
.sp-q-msg { margin: 10px 0; padding: 12px 14px; border-radius: 12px; background: var(--soft, #f6f8fb); line-height: 1.5; } .sp-q-msg .ic { width: 16px; height: 16px; color: #e9b34d; vertical-align: -3px; }
.sp-q-form { display: grid; gap: 8px; } .sp-q-form textarea { width: 100%; font-size: 16px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line-2, #d6dde8); } .sp-q-form .btn { justify-self: end; }
.sp-q-ans { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--green-soft, #e8f7ee); }
.sp-label-preview { display: block; width: min(100%, 380px); margin: 0 auto 8px; border: 1px solid var(--line); border-radius: 8px; }
@media (max-width: 760px) {
  .sp-score-m { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sp-score-num { width: 68px; height: 68px; } .sp-score-num b { font-size: 24px; }
  .sp-ord-items > div { grid-template-columns: 42px minmax(0, 1fr) auto; } .sp-ord-items strong { grid-column: 2 / -1; font-size: 13px; color: var(--muted); }
  .sp-ord-act { width: 100%; } .sp-ord-act .btn { flex: 1 1 auto; } .sp-ord-date { margin-left: 0; width: 100%; }
  .sp-paybox b { font-size: 16px; }
}
/* ---- Claude 2026-10-09: Alarm 2 (turuncu uyarı) / Alarm 3 (kırmızı kritik) panel teması */
.sp-crit { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 900; letter-spacing: .08em; color: #fff; background: #dc2626; vertical-align: 2px; animation: spPulse 1.6s ease-in-out infinite; }
.sp-crit .ic { width: 11px; height: 11px; }
@keyframes spPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(220,38,38,.6); } 50% { box-shadow: 0 0 0 5px rgba(220,38,38,0); } }
.sp-pill.crit { color: #fff; background: #dc2626; }
.sp-lockbar { color: #fff; font-size: 14.5px; line-height: 1.5; }
.sp-lockbar .wrap { display: flex; gap: 10px; align-items: flex-start; padding-top: 12px; padding-bottom: 12px; }
.sp-lockbar .ic { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.sp-lockbar a { color: #fff; font-weight: 800; }
.sp-lockbar.lvl2 { background: linear-gradient(90deg, #c2410c, #ea580c); }
.sp-lockbar.lvl3 { background: linear-gradient(90deg, #991b1b, #dc2626); }
body.sp-lvl2 .sp-head { background: radial-gradient(60% 140% at 100% 0%, rgba(251,146,60,.35), transparent 60%), linear-gradient(150deg, #7c2d12, #2a1206 80%); }
body.sp-lvl2 .sp-hero { background: radial-gradient(70% 120% at 100% 0%, rgba(251,146,60,.45), transparent 60%), linear-gradient(150deg, #9a3412, #2a1206 75%); }
body.sp-lvl2 .sp-acc a.on { background: #9a3412; }
body.sp-lvl2 { --bg: #fff7ed; }
body.sp-lvl3 .sp-head { background: radial-gradient(60% 140% at 100% 0%, rgba(248,113,113,.35), transparent 60%), linear-gradient(150deg, #7f1d1d, #250707 80%); }
body.sp-lvl3 .sp-hero { background: radial-gradient(70% 120% at 100% 0%, rgba(248,113,113,.4), transparent 60%), linear-gradient(150deg, #991b1b, #250707 75%); }
body.sp-lvl3 .sp-acc a.on { background: #991b1b; }
body.sp-lvl3 { --bg: #fef2f2; }
body.sp-lvl2.sp, body.sp-lvl3.sp { background: var(--bg); }
body.sp-lvl3 .sp-main .btn.primary, body.sp-lvl3 .sp-main .btn.gold:not([href="#/ekstre"]) { filter: grayscale(1); opacity: .55; }
.sp-stat.crit { border-color: #fdba74; background: #fff7ed; } .sp-stat.crit b { color: #c2410c; }
.sp-lockmsg { display: grid; gap: 10px; text-align: center; justify-items: center; }
.sp-lockmsg > .ic { width: 56px; height: 56px; padding: 12px; border-radius: 50%; color: #fff; background: #dc2626; }
.sp-lockmsg p { margin: 0; }
/* ---- Claude 2026-10-09: tedarikçi başvurusu */
.sp-applycta { display: grid; gap: 8px; padding: 16px; border-radius: 16px; background: linear-gradient(120deg, #fffaf0, #fff); border: 1.5px dashed rgba(233,179,77,.7); text-align: center; }
.sp-applycta span { color: var(--muted); font-size: 14px; }
.sp-apply-head { color: #fff; background: linear-gradient(150deg, #1f3e63, #0c1a2c 80%); }
.sp-apply-head .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.sp-apply-head .btn.ghost { color: #fff; border-color: rgba(255,255,255,.3); background: transparent; }
.sp-apply-body { max-width: 860px !important; padding-top: 24px; padding-bottom: 60px; }
.sp-apply .typepick { margin-bottom: 4px; }
.sp-file { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: var(--green, #16a34a); } .sp-file .ic { width: 18px; height: 18px; }
.sp-apply .check { margin: 6px 0; font-size: 14.5px; }
.sp-done { text-align: center; justify-items: center; } .sp-done > .ic { width: 64px; height: 64px; color: var(--green, #16a34a); }
/* ---- Claude 2026-10-09: fatura işlemleri */
.sp-billing { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; margin-bottom: 16px; border-left: 5px solid #e9b34d; }
.sp-billing .eyebrow { color: #b7791f; }
.sp-invrow { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; cursor: pointer; border-radius: 14px; }
.sp-invrow.on { box-shadow: 0 0 0 2px #e9b34d; } .sp-invrow input { width: 20px; height: 20px; accent-color: #e9b34d; }
.sp-invdot .ic { width: 20px; height: 20px; color: var(--muted); }
.sp-invamt { display: grid; gap: 4px; justify-items: end; text-align: right; } .sp-invamt small { color: var(--muted); font-size: 12px; }
.sp-inv { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; border-radius: 14px; }
.sp-invbar { position: sticky; bottom: 12px; z-index: 5; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 14px; padding: 12px 16px; border-radius: 16px; color: #fff; background: linear-gradient(150deg, #1f3e63, #0c1a2c); box-shadow: 0 18px 40px -18px rgba(12,26,44,.8); }
.sp-sub { font-size: 18px; margin: 18px 0 4px; }
@media (max-width: 760px) { .sp-invrow { grid-template-columns: 26px minmax(0, 1fr); } .sp-invrow .sp-invamt { grid-column: 2; justify-items: start; text-align: left; } .sp-invamt { justify-items: start; text-align: left; } }
/* ---- Claude 2026-10-09: e-fatura entegrasyonu */
.sp-reqtext { margin-top: 6px; } .sp-reqtext summary { cursor: pointer; font-weight: 700; display: flex; gap: 6px; align-items: center; } .sp-reqtext summary .ic { width: 18px; height: 18px; }
.sp-reqtext textarea { width: 100%; margin: 10px 0; font: 14px/1.5 var(--font); padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line-2, #d6dde8); background: var(--soft, #f6f8fb); }
.sp-invbar .sp-ord-act { margin-left: 0; }
/* ---- Claude 2026-10-09: mobil uygulama */
.sp-apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.sp-appcard { display: flex; gap: 16px; align-items: flex-start; border-radius: 18px; }
.sp-appcard > img { border-radius: 18px; flex: none; box-shadow: 0 10px 24px -14px rgba(12,26,44,.6); }
.sp-appcard h2 { margin: 0 0 4px; font-size: 20px; } .sp-appcard ol { padding-left: 18px; margin: 12px 0 0; display: grid; gap: 4px; line-height: 1.5; }
/* ---- Claude 2026-10-09: simülasyon şeridi */
.sp-sim { color: #fff; background: repeating-linear-gradient(135deg, #6d28d9, #6d28d9 14px, #7c3aed 14px, #7c3aed 28px); font-size: 14px; }
.sp-sim.ro { background: repeating-linear-gradient(135deg, #334155, #334155 14px, #475569 14px, #475569 28px); }
.sp-sim .wrap { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.sp-sim b { letter-spacing: .12em; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.18); }
.sp-sim span { flex: 1 1 260px; } .sp-sim .btn { background: #fff; color: #111; border: 0; }
/* ---- Claude 2026-10-09: Ürünlerim kare kartlar */
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.sp-pcard { display: flex; flex-direction: column; padding: 0; overflow: hidden; border-radius: 16px; transition: transform .15s, box-shadow .15s; }
.sp-pcard:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -20px rgba(12,26,44,.45); }
.sp-pcard.broken { border-color: #fca5a5; }
.sp-pimg { position: relative; aspect-ratio: 1 / 1; background: #fff; border-bottom: 1px solid var(--line); }
.sp-pimg img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.sp-pimg .badge { position: absolute; left: 8px; top: 8px; }
.sp-noimg { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; color: #b91c1c; background: repeating-linear-gradient(135deg, #fff5f5, #fff5f5 10px, #fee2e2 10px, #fee2e2 20px); font-weight: 700; font-size: 13px; }
.sp-noimg .ic { width: 30px; height: 30px; }
.sp-pbody { display: grid; gap: 4px; padding: 10px 12px; flex: 1; }
.sp-pbody b { font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sp-pbody small { font-size: 12px; } .sp-pbody .sp-req { margin: 4px 0 0; font-size: 12.5px; }
.sp-pact { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 12px 12px; } .sp-pact .btn { flex: 1 1 auto; }
.sp-more { display: flex; justify-content: center; margin-top: 16px; }
@media (max-width: 760px) { .sp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .sp-pbody b { font-size: 13px; } }
/* ---- Claude 2026-10-09: eşit kare kartlar, sol kategori listesi, ürün detayı */
.sp-pimg { overflow: hidden; }
.sp-pimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; padding: 0; }
.sp-pimg .badge { z-index: 1; }
.sp-pbody b { min-height: 2.7em; }
.sp-pact { margin-top: auto; }
.sp-pcat { color: #b7791f; font-weight: 700; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 1.3em; }
.sp-pcard.clickable { cursor: pointer; }
.sp-plist { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; align-items: start; }
.sp-cats { position: sticky; top: 90px; display: grid; gap: 2px; padding: 12px; max-height: calc(100vh - 110px); overflow: auto; border-radius: 16px; }
.sp-cats > b { padding: 4px 8px 8px; font-size: 14px; }
.sp-cats button { display: flex; gap: 8px; align-items: center; justify-content: space-between; text-align: left; padding: 8px 10px; border: 0; border-radius: 10px; background: none; cursor: pointer; font: 600 13.5px/1.25 var(--font); color: var(--ink-2); }
.sp-cats button span { display: grid; min-width: 0; } .sp-cats button small { color: var(--muted); font-weight: 500; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-cats button em { font-style: normal; font-size: 12px; color: var(--muted); background: var(--soft); border-radius: 999px; padding: 1px 8px; }
.sp-cats button:hover { background: var(--soft); } .sp-cats button.on { background: var(--ink); color: #fff; } .sp-cats button.on small, .sp-cats button.on em { color: #e9b34d; background: transparent; }
.sp-catsel { display: none; margin-bottom: 12px; width: 100%; }
.sp-pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.sp-pd-main { position: relative; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.sp-pd-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.sp-pd-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; } .sp-pd-thumbs button { width: 58px; height: 58px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: #fff; cursor: pointer; } .sp-pd-thumbs button.on { border-color: #e9b34d; } .sp-pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.sp-pd-info { display: grid; gap: 10px; align-content: start; } .sp-pd-info h2 { margin: 0; font-size: 19px; line-height: 1.35; }
.sp-pd-cat { display: flex; gap: 6px; align-items: flex-start; padding: 8px 10px; border-radius: 10px; background: #fff8e8; color: #8a5a00; font-weight: 700; font-size: 13.5px; } .sp-pd-cat .ic { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.sp-pd-desc { grid-column: 1 / -1; } .sp-pd-desc h3 { margin: 0 0 6px; font-size: 16px; }
.sp-pd-text { white-space: pre-line; line-height: 1.6; font-size: 14.5px; padding: 12px 14px; border-radius: 12px; background: var(--soft); max-height: 320px; overflow: auto; }
.sp-catpick { display: grid; gap: 8px; } .sp-catnow { display: flex; gap: 6px; align-items: center; font-weight: 700; color: #8a5a00; } .sp-catnow .ic { width: 16px; height: 16px; }
.sp-catres { display: flex; flex-wrap: wrap; gap: 6px; } .sp-catres button { padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line-2, #d6dde8); background: #fff; cursor: pointer; font: 600 13px var(--font); text-align: left; } .sp-catres button:hover { border-color: #e9b34d; background: #fffaf0; }
@media (max-width: 860px) { .sp-plist { grid-template-columns: 1fr; } .sp-cats { display: none; } .sp-catsel { display: block; } .sp-pd { grid-template-columns: 1fr; } }
.sp-pimg img { object-fit: contain; padding: 6px; background: #fff; }   /* ürünün tamamı görünsün, kare eşit kalsın */

/* ---- Claude 2026-10-09: yeni sürüm şeridi */
.sp-update { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 100; display: flex; gap: 12px; align-items: center; padding: 10px 12px 10px 16px; border-radius: 14px; color: #fff; background: linear-gradient(150deg, #1f3e63, #0c1a2c); box-shadow: 0 18px 40px -16px rgba(12,26,44,.8); font-size: 14px; max-width: calc(100vw - 32px); }
.sp-update .btn { background: linear-gradient(180deg, #f6cf7f, #e9b34d); color: #101828; border: 0; }