:root{--rose:#b03060;--rose-dark:#7a1f3d;--bg:#fdf6f7;--ink:#2b2023;--muted:#7a6a6e;--line:#ecd9de;--card:#fff}
*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;background:var(--bg);color:var(--ink);line-height:1.5}
a{color:var(--rose)}
.top{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;background:#fff;border-bottom:1px solid var(--line)}
.brand{font-weight:700;color:var(--rose-dark);text-decoration:none;font-size:1.1rem}
.nav{display:flex;gap:16px;align-items:center}
.nav a{text-decoration:none}
main{max-width:720px;margin:24px auto;padding:0 16px}
main.wide{max-width:1000px}
h1{font-size:1.5rem;margin:.2em 0 .6em}h2{font-size:1.15rem;margin:.2em 0 .6em}h3{font-size:1rem;margin:1em 0 .3em}
.card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:18px;margin:0 0 16px}
.card.narrow,.narrow{max-width:420px;margin-left:auto;margin-right:auto}
.center{text-align:center}
label{display:block;margin:0 0 12px;font-weight:600;font-size:.92rem}
label.check{font-weight:500}
input[type=text],input[type=email],input[type=password],input[type=number],input[type=tel],input[type=search],select,textarea{display:block;width:100%;margin-top:4px;padding:9px 11px;border:1px solid var(--line);border-radius:9px;font:inherit;background:#fff}
input[type=color]{display:block;margin-top:4px;width:60px;height:38px;border:1px solid var(--line);border-radius:8px;padding:2px;background:#fff}
input[type=checkbox]{margin-right:6px}
textarea{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:.85rem}
.btn{display:inline-block;background:var(--rose);color:#fff;border:0;border-radius:10px;padding:10px 18px;font:inherit;font-weight:600;cursor:pointer;text-decoration:none}
.btn:hover{background:var(--rose-dark)}
.btn.ghost{background:#fff;color:var(--rose);border:1px solid var(--rose)}
.btn.ghost:hover{background:#fbe9ee}
.btn.danger{background:#b3261e}
.btn.small{padding:6px 10px;font-size:.85rem}
.linkbtn{background:none;border:0;color:var(--rose);cursor:pointer;font:inherit;padding:0;text-decoration:underline}
.inline{display:inline}
.muted{color:var(--muted)}.small{font-size:.85rem}
.notice{padding:12px 14px;border-radius:10px;margin:0 0 14px}
.notice.ok{background:#e8f5ec;border:1px solid #b6dcc1}
.notice.err{background:#fdecea;border:1px solid #f1b7b2}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media(max-width:760px){.grid2{grid-template-columns:1fr}}
.credits{background:linear-gradient(135deg,var(--rose),var(--rose-dark));color:#fff;border-radius:14px;padding:18px;margin-bottom:16px;display:flex;flex-direction:column;justify-content:center}
.credits strong{font-size:3rem;line-height:1}
.credits.low{background:linear-gradient(135deg,#d98a1f,#a85f00)}
.credits.zero{background:#7a6a6e}
.logo-thumb{max-height:60px;max-width:120px;vertical-align:middle;border:1px solid var(--line);border-radius:8px;padding:4px}
.logo-row{margin:0 0 10px}
.tablewrap{overflow-x:auto}
table{width:100%;border-collapse:collapse}
th,td{text-align:left;padding:8px 10px;border-bottom:1px solid var(--line);font-size:.92rem;vertical-align:middle}
tr.off{opacity:.55}
.actions form{margin:2px 4px 2px 0}
.num{display:inline-block;width:80px;margin:0 4px 0 0}
.row{display:flex;gap:12px;flex-wrap:wrap;align-items:flex-end}
.row label{margin:0;flex:1 1 180px}
.designer{display:grid;grid-template-columns:minmax(180px,260px) 1fr;gap:16px;align-items:start;margin-bottom:12px}
@media(max-width:560px){.designer{grid-template-columns:1fr}}
.designer canvas{width:100%;height:auto;border:1px solid var(--line);border-radius:12px;background:#fff}
.designer-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
.designer-fields label:nth-child(5),.designer-fields .check,.designer-fields p{grid-column:1/-1}
.bigcount{font-size:4rem;font-weight:800;color:var(--rose-dark);line-height:1.1}
.copyrow{display:flex;gap:8px}
.copyrow input{margin:0;flex:1}
.count{font-weight:500;color:var(--muted)}.count.bad{color:#b3261e}
.chart{width:100%;max-width:392px;margin-top:10px}
.chart .bar{fill:var(--rose)}.chart .axis{font-size:8px;fill:var(--muted)}
.card.danger{border-color:#f1b7b2;background:#fff8f7}
code{background:#f3e7ea;padding:2px 6px;border-radius:6px;font-size:1rem}
.welcome{padding:12px 0 20px}.welcome p{margin:0;color:var(--rose);font-weight:700}.welcome h1{font-family:var(--serif);font-size:2rem;margin:4px 0}.welcome span,.eyebrow-small{font-size:.8rem;color:var(--muted)}.customer-hero{padding:18px 0;text-align:center}.customer-hero h1{font-family:var(--serif);font-size:2.3rem}.customer-hero p{color:var(--muted)}.customer-stats{display:grid;grid-template-columns:1fr 1fr;gap:16px}.customer-stats section{display:flex;flex-direction:column;gap:8px}.customer-stats span,.achievement span{font-size:.75rem;font-weight:700;letter-spacing:.05em;color:var(--rose)}.customer-stats strong{font-size:2rem;color:var(--rose-dark)}.customer-stats small{color:var(--muted)}.achievement-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.achievement{border:1px solid var(--line);background:#fff8fa;border-radius:12px;padding:14px}.achievement p{font-size:.85rem;margin:8px 0}.achievement.locked{opacity:.55;background:#fafafa}.whatsapp{background:#168a4a}.whatsapp:hover{background:#116c39}@media(max-width:560px){.customer-stats{grid-template-columns:1fr 1fr;gap:8px}.customer-stats strong{font-size:1.4rem}}
.phone-fields{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}.phone-fields label{flex:1 1 180px}.phone-fields [hidden]{display:none}.share-code{font-size:1.6rem;letter-spacing:.16em;color:var(--rose-dark)}
/* Customer progress and mobile layouts */
.progress-section{padding:26px;background:linear-gradient(145deg,#fff,#fff8fa);border-color:#efd9df}.progress-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.progress-kicker{font-size:.67rem;letter-spacing:.11em;font-weight:800;color:#a54a65}.progress-heading h2{font-family:var(--serif);font-size:1.8rem;margin:.3em 0}.progress-heading p{font-size:.9rem;color:#78676c;margin:0}.progress-heading p strong{color:#9c3455}.progress-total{text-align:center;min-width:84px;padding:12px;border-radius:16px;background:#f9e8ee;color:#922e50}.progress-total strong,.progress-total small{display:block}.progress-total strong{font-size:1.4rem;line-height:1.2}.progress-total strong span{font-size:.8rem;color:#b88796}.progress-total small{font-size:.65rem;margin-top:4px}.progress-label{display:flex;justify-content:space-between;gap:10px;margin:25px 0 8px;font-size:.75rem;color:#8b747c}.progress-label strong{color:#923655}.progress-track{height:10px;background:#f0e2e6;border-radius:99px;overflow:hidden}.progress-track span{display:block;height:100%;min-width:0;background:linear-gradient(90deg,#bc5876,#e7a1a6);border-radius:inherit}.milestone-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:24px}.milestone{border:1px solid #eee2e5;background:#fbf8f9;border-radius:16px;padding:15px;min-width:0}.milestone.is-earned{background:linear-gradient(150deg,#fff7f9,#f9e7ed);border-color:#e7c3d0}.milestone.is-next{background:#fff;border:1px solid #c9738e;box-shadow:0 4px 18px #a33b5b12}.milestone-top{display:flex;justify-content:space-between;align-items:center;gap:4px}.milestone-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:#f4e5e9;color:#a13d5b;font-size:1rem}.is-earned .milestone-icon{background:#b5486a;color:#fff}.is-next .milestone-icon{background:#f8e6ed}.milestone-status{font-size:.59rem;font-weight:800;letter-spacing:.06em;color:#a38e95}.is-earned .milestone-status,.is-next .milestone-status{color:#a23f60}.milestone>strong{display:block;color:#593c46;font-size:1.25rem;margin-top:15px;line-height:1}.milestone>strong small{font-size:.7rem;font-weight:600;color:#907d84}.milestone p{color:#806d73;font-size:.78rem;line-height:1.45;margin:9px 0 0}.is-earned p{color:#6f4755}.milestone.is-locked{opacity:.72}@media(max-width:600px){.top{gap:10px;padding:12px 14px;flex-wrap:wrap}.nav{gap:10px;flex-wrap:wrap;font-size:.85rem}.copyrow{align-items:stretch;flex-wrap:wrap}.copyrow input{min-width:0;flex:1 1 190px}.progress-section{padding:18px}.progress-heading h2{font-size:1.5rem}.progress-kicker{font-size:.58rem}.progress-total{min-width:70px;padding:10px}.milestone-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.milestone{padding:12px}.milestone-status{font-size:.52rem}.customer-hero h1{font-size:1.85rem}main.wide{padding:0 12px}}
/* Shared panel styling */
:root{--serif:'Fraunces',Georgia,'Times New Roman',serif;--rose:#8a2d4f;--rose-dark:#6b2340;--bg:#faf6f2;--ink:#352c30;--muted:#817478;--line:#e9dddc;--card:#fffdfb}body{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}.top{min-height:72px;padding:14px max(20px,calc((100% - 1100px)/2));background:#fffdfb;border-bottom:1px solid #eee3e0}.brand{font-family:var(--serif);font-size:1.2rem;color:#6b2340}.nav a{color:#76636b;font-size:.86rem;font-weight:600}.nav a:hover{color:#8a2d4f}main{margin-top:32px;margin-bottom:48px}.card{border-radius:16px;padding:22px;box-shadow:0 6px 24px #8d62700b}h1,h2,h3{letter-spacing:-.02em}h1{font-size:1.65rem}.btn{border-radius:10px;background:#8a2d4f;transition:background .2s,transform .2s}.btn:hover{background:#6b2340}.btn.ghost{color:#8a2d4f;border-color:#d6a8b5}.btn.ghost:hover{background:#fbf0f3}.btn.whatsapp{background:#168a4a}.btn.whatsapp:hover{background:#116c39}input[type=text],input[type=email],input[type=password],input[type=number],input[type=tel],input[type=search],select,textarea{border-color:#e7d9da;border-radius:10px;padding:10px 12px}input:focus,textarea:focus,select:focus{outline:2px solid #dc9fb1;outline-offset:1px}.credits{border-radius:16px;background:linear-gradient(135deg,#ae5872,#6b2340)}.notice{border-radius:10px}.top .linkbtn{font-size:.86rem}.card.narrow{padding:26px}@media(max-width:600px){.top{padding:12px 14px;gap:10px}.nav{gap:10px;font-size:.8rem}.card{padding:17px}main{margin-top:22px}.card.narrow{padding:20px}}
@media(prefers-reduced-motion:reduce) and (min-width:801px) and (min-height:501px){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

@font-face {
  font-family: "QR Rounded";
  src: url("/fonts/BalsamiqSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

[data-sender-links] { min-width: 0; margin: 1rem 0; padding: 1rem; border: 1px solid #e4d3da; border-radius: 1rem; }
[data-sender-links] legend { font-weight: 700; }
[data-sender-links] [hidden] { display: none; }

.sender-view { max-width: 640px; margin: clamp(1rem, 4vw, 3rem) auto; }
.sender-heading, .sender-progress li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.sender-heading { margin-bottom: 1rem; }
.sender-heading h1 { font: 500 clamp(2.2rem, 7vw, 3.4rem)/1.1 var(--serif); margin: 0; color: #55243a; }
.sender-heading a { padding: .7rem .95rem; border-radius: 2rem; background: white; border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.sender-counts { display: grid; grid-template-columns: 1fr 1fr; align-items: center; background: linear-gradient(115deg,#58233b,#793752); color: white; border-radius: 20px; padding: clamp(18px, 4vw, 32px); margin-bottom: 14px; }
.sender-counts div + div { border-left: 1px solid #ad7b90; padding-left: clamp(12px, 4vw, 28px); }
.sender-counts span { display: block; color: #ffe3ec; font-size: .88rem; }
.sender-counts strong, .sender-counts b { display: block; line-height: 1.25; font-variant-numeric: tabular-nums; }
.sender-counts strong { font: 500 clamp(3rem, 10vw, 4.5rem)/1.1 var(--serif); }
.sender-counts b { font-size: clamp(1.14rem, 4.7vw, 1.85rem); margin-top: .35rem; }
.sender-panel { padding: clamp(16px, 4vw, 26px); margin-bottom: 14px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.sender-view summary { cursor: pointer; color: #673247; font-weight: 650; padding: .6rem 0; }
.sender-view summary small { float: right; font-variant-numeric: tabular-nums; }
.sender-view form { margin-top: 1rem; }
.sender-view form input, .sender-view select { font-size: 16px; }
.sender-progress h2 { margin: 0; }
.sender-progress progress { display: block; width: 100%; height: 9px; border: none; border-radius: 8px; overflow: hidden; background: #f1e3e8; accent-color: #aa456b; margin: 1rem 0; }
.sender-progress progress::-webkit-progress-bar { background: #f1e3e8; }
.sender-progress progress::-webkit-progress-value { background: #aa456b; }
.sender-progress details { border-top: 1px solid var(--line); padding-top: .3rem; }
.sender-progress ul { list-style: none; margin: 0; padding: 0; }
.sender-progress li { border-top: 1px solid var(--line); padding: .65rem 0; font-size: .85rem; }
.sender-progress li strong { flex: 0 0 6rem; }
.sender-earned { background: #faf4f6; padding: .75rem 1rem; border-radius: 10px; }
.sender-earned strong { display:block; color: #79405a; font-size: .8rem; }

[data-link-row] { padding: 1rem 0; border-top: 1px solid var(--line); }
[data-link-row] textarea { font: inherit; font-size: 16px; resize: vertical; }

.note-page { background: radial-gradient(ellipse at 18% 8%,#f5dfe2,transparent 53%),radial-gradient(ellipse at 90% 86%,#efdce1,transparent 50%),#faf4ed; color:#4b3039; }
.note-page main { width:min(100%,510px); min-height:100vh; min-height:100svh; margin:0 auto; padding:clamp(38px,8vh,86px) 20px 24px; display:flex; flex-direction:column; justify-content:center; gap:32px; }
.recipient-note { position:relative; padding:40px clamp(22px,6vw,46px); text-align:center; border:1px solid #ddc7bf; border-radius:5px; background:linear-gradient(145deg,#fffcf5,#fffaf4); box-shadow:0 15px 40px #6e3a4915; animation:note-arrive .75s ease-out both; }
.recipient-note::before { content:""; position:absolute; inset:7px; border:1px solid #e8d9ca; pointer-events:none; }
.recipient-note h1 { margin:1.4rem 0 .85rem; font:italic 1.14rem/1.4 var(--serif); color:#875265; }
.recipient-note p { margin:0 auto 1.8rem; white-space:pre-wrap; overflow-wrap:anywhere; font:clamp(1.45rem,5.9vw,2rem)/1.4 var(--serif); }
.recipient-note .btn { border-radius:2rem; background:#82374e; padding:.75rem 1.25rem; }
.note-flower { width:58px; height:58px; margin:auto; position:relative; }
.note-flower i { --turn:0deg; position:absolute; top:3px; left:18px; width:22px; height:27px; border-radius:55% 60% 45% 50%; background:linear-gradient(160deg,#e2acb4,#a64e68); transform-origin:50% 100%; animation:note-bloom 1.5s cubic-bezier(.2,.7,.3,1) both; }
.note-flower i:nth-child(2) { --turn:72deg; }
.note-flower i:nth-child(3) { --turn:144deg; }
.note-flower i:nth-child(4) { --turn:216deg; }
.note-flower i:nth-child(5) { --turn:288deg; }
.note-flower b { position:absolute; left:24px; top:25px; width:10px; height:10px; border-radius:50%; background:#9d733e; }
.note-signature { text-align:center; color:#725d64; }
.note-signature div { display:flex; align-items:center; justify-content:center; gap:7px; color:#702e47; font:1.45rem var(--serif); }
.note-signature small { display:block; margin-top:.4rem; font-size:.78rem; }
@keyframes note-arrive { from { transform:translateY(10px) rotate(-1deg); } to { transform:none; } }
@keyframes note-bloom { from { transform:rotate(calc(var(--turn) - 26deg)) scale(.35); } to { transform:rotate(var(--turn)) scale(1); } }
@media (prefers-reduced-motion:reduce) { .recipient-note { animation:none; } .note-flower i { animation-duration:.3s; } }


.ticket-filters { display:flex; gap:.6rem; margin-bottom:1rem; }
.ticket-status { display:inline-block; border-radius:1rem; padding:.1rem .65rem; }
.ticket-status.open { background:#e0f2e6; color:#24543a; }
.ticket-status.closed { background:#eee9ec; color:#544a50; }
.ticket-message { white-space:pre-wrap; overflow-wrap:anywhere; }

/* ---- Bildirim zili ---- */
.push-card { margin-bottom: 14px; padding: 14px 16px; background: white; border: 1px solid var(--line); border-radius: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.push-card .small { margin: 0; flex: 1 1 200px; }
.push-bell { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border: 1px solid #d6a8b5; border-radius: 2rem; background: white; color: var(--rose); font: inherit; font-weight: 600; cursor: pointer; }
.push-bell[aria-pressed="true"] { background: var(--rose); border-color: var(--rose); color: white; }
.push-bell:disabled { opacity: .6; cursor: progress; }
.push-dialog { width: min(92vw, 520px); max-height: 90vh; padding: 20px; border: 0; border-radius: 20px; box-shadow: 0 20px 60px #4b303a55; }
.push-dialog::backdrop { background: #2b202388; }
.push-dialog h2 { margin: 0 0 .3rem; font: 500 1.4rem var(--serif); color: #55243a; }
.push-dialog form { margin-top: 1rem; text-align: right; }
.push-steps { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .8rem; }
.push-steps li { display: grid; grid-template-columns: minmax(96px, 128px) 1fr; align-items: center; gap: 1rem; padding: .6rem; background: #fdf8f9; border: 1px solid var(--line); border-radius: 14px; }
.push-steps figure { margin: 0; }
.push-steps svg { display: block; width: 100%; height: auto; }
.push-steps strong { display: block; color: #55243a; }
.push-steps p { margin: .2rem 0 0; font-size: .9rem; color: var(--muted); }
[data-push-guide][hidden] { display: none; }

/* ---- BudsQr wordmark ---- */
.logo-mark { object-fit: contain; vertical-align: middle; border-radius: 9px; }
.wm { font-family: 'Plus Jakarta Sans', var(--serif); letter-spacing: -.03em; white-space: nowrap; }
.wm b { font-weight: 800; }
.wm i { font-style: normal; font-weight: 500; opacity: .55; }
.brand { font-family: var(--serif); font-size: 1.3rem; display: inline-flex; align-items: center; gap: 8px; }
.note-signature .wm { font-size: 1.45rem; }
.bigcount { font-family: var(--serif); font-weight: 600; }

/* ---- Yardım ("?") düğmeleri ve rehber sayfaları ---- */
.help-btn { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-left: 6px; padding: 0; vertical-align: middle; border: 1.5px solid var(--rose); border-radius: 50%; background: #fff; color: var(--rose); font: 700 13px/1 var(--sans, 'Inter', sans-serif); cursor: pointer; }
.help-btn:hover, .help-btn[aria-expanded="true"] { background: var(--rose); color: #fff; }
.help-btn:focus-visible { outline: 3px solid #d892a8; outline-offset: 2px; }
.help-pop { display: block; margin: 8px 0 10px; padding: 12px 14px; border-radius: 12px; background: #f6e6ea; color: #3a2a30; font: 400 14px/1.5 var(--sans, 'Inter', sans-serif); text-align: left; letter-spacing: 0; text-transform: none; }
.help-pop[hidden] { display: none; }
.credits .help-btn { border-color: #fff; background: transparent; color: #fff; }
.credits .help-btn:hover, .credits .help-btn[aria-expanded="true"] { background: #fff; color: var(--rose); }
.credits .help-pop { color: #3a2a30; }

.guide-link { margin: -4px 0 14px; font-size: .95rem; }
.guide-hero { padding: 6px 0 22px; }
.guide-hero h1 { margin: 0 0 8px; font: 600 clamp(1.8rem, 6vw, 2.6rem)/1.15 var(--serif); }
.guide-hero p { margin: 0; max-width: 56ch; color: var(--muted); font-size: 1.05rem; }
.guide-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.guide-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.guide-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--rose); color: #fff; font: 700 1.1rem var(--serif); }
.guide-steps h2 { margin: 2px 0 6px; font: 600 1.2rem var(--serif); }
.guide-steps p { margin: 0 0 8px; }
.guide-aside { margin-top: 4px; }
.guide-more { margin-top: 10px; padding: 10px 14px; border-radius: 12px; background: #fbf0f3; }
.guide-more summary, .guide-faq summary { cursor: pointer; font-weight: 600; }
.guide-more ul { margin: 10px 0 2px; padding-left: 1.2rem; }
.guide-more li { margin: 6px 0; }
.guide-faq h2, .guide-help h2, .guide-say h2 { margin-top: 0; font: 600 1.2rem var(--serif); }
.guide-faq details { padding: 12px 0; border-top: 1px solid var(--line); }
.guide-faq details:first-of-type { border-top: 0; }
.guide-faq p { margin: 8px 0 0; color: var(--muted); }
@media (max-width: 480px) { .guide-steps li { grid-template-columns: 36px 1fr; gap: 12px; padding: 14px; } .guide-num { width: 36px; height: 36px; font-size: 1rem; } }
/* Açıklamalar dar sayaç hücrelerinin içinde değil, sayacın altında yüzen bir kart olarak açılır. */
.sender-counts { position: relative; }
.sender-counts .help-pop { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; margin: 0; padding: 14px 16px; color: #3a2a30; font-size: 15px; box-shadow: 0 16px 40px rgba(80,28,52,.22); }
.sender-counts .help-btn { margin-left: 4px; border-color: #fff; background: transparent; color: #fff; }
.sender-counts .help-btn[aria-expanded="true"] { background: #fff; color: var(--rose); }

/* ---- Müşteri sayfası: adım çubuğu, bağlantı kontrolü, önizleme ---- */
.stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; list-style: none; margin: 0 0 16px; padding: 0; }
.stepper li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: .86rem; line-height: 1.3; }
.stepper li span { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #eadfdc; color: #6f6065; font-weight: 700; }
.stepper li.done span { background: #2f8a5c; color: #fff; }
.stepper li.current { border-color: var(--rose); color: var(--ink); font-weight: 600; box-shadow: 0 0 0 3px #f6e6ea; }
.stepper li.current span { background: var(--rose); color: #fff; }
@media (max-width: 560px) { .stepper { grid-template-columns: 1fr; } }
[data-link-status] { display: block; margin: 4px 2px 0; font-size: .85rem; }
[data-link-status][hidden] { display: none; }
.link-ok { color: #23704d; font-weight: 600; }
.link-bad { color: #a13e46; }
.preview-actions { margin: 4px 0 14px; }
.preview-dialog { width: min(92vw, 460px); max-height: 88vh; padding: 20px; border: 0; border-radius: 20px; box-shadow: 0 20px 60px #4b303a55; }
.preview-dialog::backdrop { background: #2b202388; }
.preview-dialog h2 { margin: 0 0 8px; font: 600 1.3rem var(--serif); }
.preview-close { margin-top: 14px; text-align: right; }
.preview-step { margin: 12px 0; }
.preview-step h3 { margin: 0 0 6px; font-size: .9rem; color: var(--rose); }
.preview-note { padding: 18px; text-align: center; border: 1px solid #ddc7bf; border-radius: 6px; background: #fffaf4; }
.preview-note em { display: block; color: #875265; font: italic 1rem var(--serif); }
.preview-note p { margin: 8px 0 12px; font: 1.2rem/1.4 var(--serif); white-space: pre-wrap; overflow-wrap: anywhere; }
.preview-open { display: inline-block; padding: 8px 16px; border-radius: 30px; background: #82374e; color: #fff; font-weight: 600; font-size: .9rem; }
.preview-direct { padding: 12px 14px; border-radius: 12px; background: #f6e6ea; font-weight: 600; }

/* ---- Çiçekçi paneli: Başlarken listesi ---- */
.onboarding { margin-bottom: 16px; }
.onboarding header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.onboarding h2 { margin: 0; font: 600 1.25rem var(--serif); }
.onboarding .progress { height: 8px; margin: 12px 0 16px; border-radius: 6px; background: #f1e3e8; overflow: hidden; }
.onboarding .progress i { display: block; height: 100%; border-radius: 6px; background: var(--rose); }
.onboarding ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.onboarding li { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.onboarding li > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #eadfdc; color: #6f6065; font-weight: 700; }
.onboarding li.done { background: #f6fbf8; }
.onboarding li.done > span { background: #2f8a5c; color: #fff; }
.onboarding li.current { border-color: var(--rose); box-shadow: 0 0 0 3px #f6e6ea; }
.onboarding li.current > span { background: var(--rose); color: #fff; }
.onboarding strong { display: block; }
.onboarding small { color: var(--muted); }
@media (max-width: 560px) { .onboarding li { grid-template-columns: 34px 1fr; } .onboarding li .btn { grid-column: 2; justify-self: start; } }

/* ---- Pilot hesap ---- */
.credits .pilot-tag { align-self: flex-start; margin-bottom: 6px; padding: 2px 10px; border-radius: 99px; background: #fff; color: var(--rose); font: 700 11px/1.6 var(--sans, 'Inter', sans-serif); letter-spacing: .08em; }
.credits.pilot a { color: #fff; font-weight: 600; margin-top: 6px; }

/* ---- Tanıtım video sayfası ---- */
.promo-video { display: grid; justify-items: center; gap: 14px; text-align: center; }
.promo-video video { width: min(100%, 360px); max-height: 72vh; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 22px; background: #231519; box-shadow: 0 24px 60px #4b303a40; }
.promo-hint { margin: 0; color: #725d64; font-size: .95rem; }
.promo-cta { display: flex; align-items: center; gap: 10px; color: #702e47; font: 600 1.1rem var(--serif); }
.promo-cta .wm { font-size: 1.5rem; }
.promo-stage { position: relative; width: min(100%, 360px); }
.promo-stage video { width: 100%; }
.promo-play { position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border: 0; border-radius: 50%; background: rgba(138,45,79,.92); display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 34px rgba(60,20,40,.45); }
.promo-play[hidden] { display: none; }
.promo-play svg { margin-left: 5px; }

/* Illustrated "where do I find the link?" guide */
.lg-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 14px}
.lg-tabs button{border:1px solid #d6a8b5;background:#fff;color:#8a2d4f;border-radius:999px;padding:7px 14px;font:inherit;font-size:.86rem;font-weight:600;cursor:pointer}
.lg-tabs button[aria-selected=true]{background:#8a2d4f;color:#fff;border-color:#8a2d4f}
.lg-tabs[hidden]{display:none}
.lg-js .lg-nojs{display:none}
.lg-panel[hidden]{display:none}
.lg-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.lg-steps li{background:#fffdfb;border:1px solid var(--line);border-radius:14px;padding:12px;text-align:center}
.lg-steps figure{margin:0 0 8px}
.lg-phone{width:100%;max-width:150px;height:auto;font-family:system-ui,-apple-system,sans-serif}
.lg-num{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#8a2d4f;color:#fff;font-size:.8rem;font-weight:700}
.lg-steps h3{margin:.4em 0 .2em;font-size:.95rem}
.lg-steps p{margin:0;font-size:.84rem;color:var(--muted)}
.lg-tips{margin:12px 0 0;padding:10px 14px 10px 30px;border-radius:12px;background:#fbf0f3;font-size:.86rem}
.lg-ring{transform-box:fill-box;transform-origin:center;animation:lg-pulse 1.6s ease-in-out infinite}
@keyframes lg-pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.55}}
@media(prefers-reduced-motion:reduce){.lg-ring{animation:none}}
.lg-dialog{width:min(760px,calc(100% - 24px));max-height:90vh;border:0;border-radius:16px;padding:20px;overflow:auto}
.lg-dialog::backdrop{background:#2b202388}
.lg-open{margin:4px 0 10px}
@media(max-width:640px){
  .lg-steps{grid-template-columns:1fr}
  .lg-steps li{display:grid;grid-template-columns:110px 1fr;gap:12px;align-items:center;text-align:left}
  .lg-steps figure{margin:0}
  .lg-phone{max-width:110px}
}
/* the guide sits inside .guide-steps li: undo those inherited grid rules */
.guide-steps .lg-steps{gap:14px}
.guide-steps .lg-steps li{display:block;grid-template-columns:none;gap:0;padding:12px;background:#fffdfb;border-radius:14px}
.guide-steps .lg-tips li{display:list-item;padding:2px 0;background:none;border:0;border-radius:0}
.guide-steps .lg-steps p{margin:0}
@media(max-width:640px){.guide-steps .lg-steps li{display:grid;grid-template-columns:110px 1fr;gap:12px}}

/* Sender first visit: one task, one box */
.sender-first h1{font:600 clamp(1.7rem,7vw,2.2rem)/1.15 var(--serif);margin:.3em 0 .25em}
.sender-first .lead{color:var(--muted);margin:0 0 16px}
.first-links{border:1px solid var(--line);border-radius:18px;background:#fffdfb;padding:18px;margin:0 0 14px;box-shadow:0 6px 24px #8d62700b}
.first-links>.first-row,.first-links{min-width:0}
.step-kicker{display:block;font-size:.72rem;letter-spacing:.1em;font-weight:800;color:#a54a65}
.first-label{display:block;font-weight:700;font-size:1.05rem;margin:6px 0 12px}
.big-input{display:block;width:100%;margin-top:10px;padding:16px!important;font-size:1rem;border:2px solid #d6a8b5!important;border-radius:14px!important;font-weight:400}
.paste-btn{display:block;width:100%;margin:0 0 4px;padding:14px;font-size:1rem}
.first-row .hint{font-size:.82rem;color:var(--muted);margin:14px 0 6px}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.chip{border:1px solid #d6a8b5;background:#fff;color:#8a2d4f;border-radius:999px;padding:8px 13px;font:inherit;font-size:.84rem;font-weight:600;cursor:pointer}
.first-row [data-link-status]{display:block;margin-top:8px;font-size:.95rem}
.more-item{display:block;width:100%;text-align:left;border:1px solid var(--line);border-radius:14px;padding:13px 15px;background:#fff;color:#6b2340;font:inherit;font-weight:600;font-size:.95rem;margin:0 0 10px}
.more-item summary{cursor:pointer;list-style-position:inside}
.more-item summary span{float:right;font-weight:400;font-size:.8rem;color:#8a7a7e}
.more-item[open]{color:var(--ink)}
.more-item label{display:block;margin:12px 0 0;font-weight:600}
.more-item select,.more-item textarea{width:100%;margin-top:6px}
.more-btn{cursor:pointer}
.big-save{display:block;width:100%;padding:15px;font-size:1.02rem;margin-top:6px}
.big-save:disabled{background:#e6d6da;cursor:not-allowed}
.first-form .slim{font-size:.84rem;color:var(--muted);text-align:center;margin:12px 0 0}
.done-card{display:flex;gap:14px;align-items:center;margin:0 0 14px;padding:14px 16px;border-radius:16px;background:#eef8f1;border:1px solid #bfe2cc}
.done-card .tick{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;background:#168a4a;color:#fff;font-size:1.2rem}
.done-card strong,.done-card small{display:block}
.done-card small{color:#4d6b58}
.first-row{padding:0;border-top:0}
.first-links .more-item summary{margin:0;padding:0;display:block}
.first-links .more-item{padding:13px 15px}
.more-item summary{list-style:none}
.more-item summary::-webkit-details-marker{display:none}
