/* Webbizden Yönetim Paneli */
:root {
    --a-bg: #f1f5f9;
    --a-side: #0b1324;
    --a-side-2: #111c33;
    --a-primary: #1d4ed8;
    --a-primary-dark: #1e40af;
    --a-ink: #0f172a;
    --a-text: #334155;
    --a-muted: #64748b;
    --a-line: #e2e8f0;
    --a-success: #15803d;
    --a-warning: #b45309;
    --a-danger: #b91c1c;
    --a-radius: 12px;
    --a-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 16px -8px rgba(15, 23, 42, .12);
    --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font: 14.5px/1.55 var(--font); color: var(--a-text); background: var(--a-bg); }
a { color: var(--a-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--a-ink); margin: 0 0 .5em; line-height: 1.3; }
img { max-width: 100%; }
code, .mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .88em; }
code { background: #f1f5f9; padding: 1px 6px; border-radius: 5px; overflow-wrap: anywhere; }
.icon { flex-shrink: 0; }
.muted { color: var(--a-muted); }
.text-danger { color: var(--a-danger) !important; font-weight: 600; }
.lead { font-size: 1rem; color: var(--a-muted); margin: 0 0 18px; }
:focus-visible { outline: 3px solid rgba(29, 78, 216, .4); outline-offset: 2px; }

/* Yerleşim */
.admin { display: flex; min-height: 100vh; }
.sidebar { width: 258px; background: linear-gradient(180deg, var(--a-side), var(--a-side-2)); color: #94a3b8; position: fixed; inset: 0 auto 0 0; display: flex; flex-direction: column; z-index: 40; transition: transform .2s; }
.sidebar__brand { display: flex; align-items: center; gap: 12px; padding: 20px 18px; color: #fff; font-weight: 700; text-decoration: none !important; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.sidebar__brand small { display: block; font-weight: 400; font-size: .75rem; color: #64748b; }
.sidebar__logo { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, #2563eb, #60a5fa); color: #fff; display: inline-grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.sidebar__nav { flex: 1; overflow-y: auto; padding: 12px 10px; display: flex; flex-direction: column; gap: 2px; }
.sidebar__nav a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 9px; color: #cbd5e1; font-weight: 500; text-decoration: none; }
.sidebar__nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.sidebar__nav a.is-active { background: var(--a-primary); color: #fff; box-shadow: 0 6px 16px -6px rgba(37, 99, 235, .7); }
.sidebar__nav .count { margin-left: auto; background: #f59e0b; color: #1f1300; font-size: .72rem; padding: 1px 7px; border-radius: 999px; }
.sidebar__label { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: #475569; padding: 16px 12px 6px; font-weight: 700; }
.sidebar__foot { padding: 14px 18px; font-size: .75rem; color: #475569; border-top: 1px solid rgba(255, 255, 255, .06); }
.main { flex: 1; margin-left: 258px; min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--a-line); display: flex; align-items: center; gap: 14px; padding: 12px 28px; }
.topbar__title { font-size: 1.2rem; margin: 0; }
.topbar__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.topbar__user { display: flex; align-items: center; gap: 6px; color: var(--a-ink); font-weight: 600; padding: 6px 10px; border-radius: 8px; }
.topbar__user:hover { background: var(--a-bg); text-decoration: none; }
.sidebar-toggle { display: none; }
.content-wrap { padding: 24px 28px 48px; max-width: 1480px; width: 100%; }
.license-bar { background: #fef2f2; color: #991b1b; border-bottom: 1px solid #fecaca; padding: 9px 28px; display: flex; align-items: center; gap: 8px; font-size: .9rem; }
.license-bar--warn { background: #fffbeb; color: #92400e; border-color: #fde68a; }
.license-bar--info { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }
.license-bar--info > span { flex: 1; min-width: 0; }

/* Butonlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 16px; border-radius: 9px; border: 1px solid transparent; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none !important; line-height: 1.2; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn--primary { background: var(--a-primary); color: #fff; }
.btn--primary:hover { background: var(--a-primary-dark); }
.btn--ghost { background: #fff; color: var(--a-ink); border-color: var(--a-line); }
.btn--ghost:hover { border-color: #cbd5e1; background: #f8fafc; }
.btn--danger { background: #fff; color: var(--a-danger); border-color: #fecaca; }
.btn--danger:hover { background: #fef2f2; }
.btn--accent { background: #f59e0b; color: #1f1300; }
.btn--sm { padding: 6px 11px; font-size: .85rem; }
.btn--block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; border: 1px solid transparent; background: transparent; color: var(--a-muted); cursor: pointer; }
.icon-btn:hover { background: var(--a-bg); color: var(--a-ink); border-color: var(--a-line); }
.icon-btn--danger:hover { color: var(--a-danger); background: #fef2f2; border-color: #fecaca; }

/* Kutular */
.box { background: #fff; border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 20px; margin-bottom: 20px; box-shadow: var(--a-shadow); }
.box--flush { padding: 0; overflow: hidden; }
.box--danger { border-color: #fecaca; }
.box__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.box__head--pad { padding: 16px 18px 0; }
.box__head h2, .box__title { font-size: 1rem; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.box__head h2 { margin: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.layout-2 { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.layout-2--wide-side { grid-template-columns: minmax(0, 1fr) 400px; }
.layout-2__side { position: sticky; top: 76px; }
/* Izgara hücreleri içerikleri yüzünden genişlemez (uzun adres, tablo, kod): telefon genişliğinde yatay taşmayı önler */
.layout-2 > *, .grid-2 > *, .form-grid > *, .stats > *, .checklist > *, .guide-pager > * { min-width: 0; }
.page-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.filters-bar { display: flex; gap: 8px; flex-wrap: wrap; }
.filters-bar input, .filters-bar select { padding: 8px 11px; border: 1px solid var(--a-line); border-radius: 9px; background: #fff; font: inherit; min-width: 160px; }
.quick { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }

/* İstatistik kartları */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.stat { background: #fff; border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 18px; display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center; color: inherit; box-shadow: var(--a-shadow); text-decoration: none !important; }
.stat:hover { border-color: #c7d2fe; }
.stat__icon { grid-row: span 3; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #dbeafe; color: var(--a-primary); }
.stat__icon--amber { background: #fef3c7; color: #b45309; }
.stat__icon--green { background: #dcfce7; color: #15803d; }
.stat__icon--violet { background: #ede9fe; color: #6d28d9; }
.stat__label { font-size: .8rem; color: var(--a-muted); font-weight: 600; }
.stat strong { font-size: 1.6rem; color: var(--a-ink); line-height: 1.1; }
.stat small { color: var(--a-muted); font-size: .78rem; }
.stats--compact .stat { display: block; }
.stats--compact strong { display: block; font-size: 1.35rem; margin-top: 4px; }

/* Tablolar */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--a-muted); font-weight: 700; background: #f8fafc; padding: 10px 14px; border-bottom: 1px solid var(--a-line); white-space: nowrap; }
.table td { padding: 11px 14px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.table tbody tr:hover { background: #fafbff; }
.table tr.is-selected { background: #eff6ff; }
.table tr.row-warn { background: #fff7ed; }
.table--compact td { padding: 7px 12px; }
.table .num { text-align: right; white-space: nowrap; }
.table .strong { font-weight: 600; color: var(--a-ink); }
.box > .table { margin: 0 -20px -20px; width: calc(100% + 40px); }
.actions-col { width: 1%; white-space: nowrap; }
.row-actions { display: flex; gap: 2px; justify-content: flex-end; }
.row-actions form { margin: 0; }
.w-img { width: 60px; }
.thumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; border: 1px solid var(--a-line); display: grid; place-items: center; }
.thumb--empty { background: #f8fafc; color: #cbd5e1; }
.empty-cell { text-align: center; color: var(--a-muted); padding: 32px 14px !important; }
.table-foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; color: var(--a-muted); font-size: .85rem; border-top: 1px solid var(--a-line); }
.pager { display: flex; gap: 8px; }
.pager a { padding: 6px 12px; border: 1px solid var(--a-line); border-radius: 8px; background: #fff; }
.tree-indent { display: inline-block; }
.tree-indent--1 { padding-left: 20px; } .tree-indent--2 { padding-left: 40px; } .tree-indent--3 { padding-left: 60px; } .tree-indent--4 { padding-left: 80px; } .tree-indent--5 { padding-left: 100px; }
.tree-pad { display: inline-block; }

/* Etiketler */
.tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .74rem; font-weight: 600; background: #f1f5f9; color: #475569; white-space: nowrap; }
.tag--success { background: #dcfce7; color: #166534; }
.tag--warning { background: #fef3c7; color: #92400e; }
.tag--danger { background: #fee2e2; color: #991b1b; }
.tag--info { background: #dbeafe; color: #1e40af; }
.tag--muted { background: #f1f5f9; color: #64748b; }

/* Formlar */
.form { display: flex; flex-direction: column; gap: 16px; }
.form--inline { flex-direction: row; align-items: flex-end; flex-wrap: wrap; }
.form--inline .field { flex: 1; min-width: 180px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid--3 { grid-template-columns: repeat(3, 1fr); }
.form-grid--4 { grid-template-columns: repeat(4, 1fr); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field--switch { justify-content: flex-end; padding-bottom: 8px; }
.field label { font-weight: 600; color: var(--a-ink); font-size: .88rem; display: flex; justify-content: space-between; gap: 8px; }
.form input:not([type=checkbox]):not([type=radio]):not([type=file]), .form select, .form textarea, .confirm-box input { width: 100%; padding: 9px 12px; border: 1px solid #cbd5e1; border-radius: 9px; background: #fff; font: inherit; color: var(--a-ink); transition: border-color .15s, box-shadow .15s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--a-primary); outline: none; box-shadow: 0 0 0 3px rgba(29, 78, 216, .12); }
.form textarea { resize: vertical; }
.input-lg { font-size: 1.15rem !important; font-weight: 600; }
.input-xs { width: 70px !important; padding: 5px 8px !important; }
.input-code { font-size: 1.5rem !important; letter-spacing: .45em; text-align: center; }
.hint { color: var(--a-muted); font-size: .8rem; font-weight: 400; }
.field-error { color: var(--a-danger); font-size: .82rem; font-weight: 500; }
.counter { font-weight: 500; color: var(--a-muted); }
.counter.is-over { color: var(--a-danger); }
.counter.is-good { color: var(--a-success); }
.form-actions { display: flex; gap: 10px; }
.form-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.form-head__actions { display: flex; gap: 8px; }
.sub-title { font-size: .92rem; margin: 22px 0 10px; padding-top: 16px; border-top: 1px solid var(--a-line); }
.input-prefix { display: flex; border: 1px solid #cbd5e1; border-radius: 9px; overflow: hidden; }
.input-prefix span { background: #f8fafc; padding: 9px 10px; color: var(--a-muted); font-size: .82rem; white-space: nowrap; border-right: 1px solid #cbd5e1; max-width: 50%; overflow: hidden; text-overflow: ellipsis; }
.input-prefix input { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.switch { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 500; color: var(--a-ink); user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch span { width: 38px; height: 22px; border-radius: 999px; background: #cbd5e1; position: relative; transition: background .15s; flex-shrink: 0; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.switch input:checked + span { background: var(--a-primary); }
.switch input:checked + span::after { transform: translateX(16px); }
.switch input:focus-visible + span { outline: 3px solid rgba(29, 78, 216, .4); outline-offset: 2px; }
.switch-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.danger-check { display: flex; align-items: center; gap: 6px; color: var(--a-danger); font-size: .85rem; font-weight: 500; }
.details summary { cursor: pointer; font-weight: 600; color: var(--a-ink); padding: 6px 0; }
.details--inline { position: relative; }
.details--inline summary { list-style: none; }
.details--inline summary::-webkit-details-marker { display: none; }
.confirm-box { display: flex; gap: 6px; margin-top: 8px; }
.preview-sm { max-height: 80px; width: auto; border-radius: 8px; border: 1px solid var(--a-line); align-self: flex-start; }
.decision { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; background: #f8fafc; border-radius: 10px; font-weight: 600; }
.radio-pill input { position: absolute; opacity: 0; }
.radio-pill span { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--a-line); background: #fff; cursor: pointer; font-weight: 600; }
.radio-pill--success input:checked + span { background: #dcfce7; border-color: #86efac; color: #166534; }
.radio-pill--warning input:checked + span { background: #fef3c7; border-color: #fcd34d; color: #92400e; }
.radio-pill--danger input:checked + span { background: #fee2e2; border-color: #fca5a5; color: #991b1b; }
.radio-pill input:focus-visible + span { outline: 3px solid rgba(29, 78, 216, .4); }

/* Sekmeler */
.tabs-nav { display: flex; gap: 4px; border-bottom: 1px solid var(--a-line); margin-bottom: 16px; overflow-x: auto; flex: 1; }
.form-head .tabs-nav { margin-bottom: 0; border-bottom: 0; }
.tabs-nav a { padding: 10px 14px; color: var(--a-muted); font-weight: 600; border-bottom: 2px solid transparent; white-space: nowrap; text-decoration: none; }
.tabs-nav a.is-active { color: var(--a-primary); border-bottom-color: var(--a-primary); }
.js .tab-panel:not(.is-active) { display: none; }

/* Tekrarlayıcı satırlar */
.repeater__rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.repeater__row { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 8px; align-items: center; }
.repeater__row--2 { grid-template-columns: 1fr 1.6fr auto; }
.repeater__row input, .repeater__row select { padding: 8px 10px !important; }

/* Görseller */
.image-grid, .preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 14px; }
.image-item { border: 1px solid var(--a-line); border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 6px; background: #fff; }
.image-item img { aspect-ratio: 1; object-fit: cover; border-radius: 6px; width: 100%; }
.image-item input { padding: 6px 8px !important; font-size: .82rem !important; }
.image-item__row { display: flex; justify-content: space-between; align-items: center; }
.preview-grid img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 1px solid var(--a-line); width: 100%; }
.dropzone { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 30px; border: 2px dashed #cbd5e1; border-radius: 12px; text-align: center; cursor: pointer; color: var(--a-muted); position: relative; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--a-primary); background: #eff6ff; }
.dropzone strong { color: var(--a-ink); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* Editör */
.editor { border: 1px solid #cbd5e1; border-radius: 10px; overflow: hidden; background: #fff; }
.editor__toolbar { display: flex; flex-wrap: wrap; gap: 2px; padding: 6px; background: #f8fafc; border-bottom: 1px solid var(--a-line); position: sticky; top: 60px; z-index: 2; }
.editor__toolbar button { border: 1px solid transparent; background: transparent; padding: 5px 9px; border-radius: 6px; cursor: pointer; font: inherit; font-size: .85rem; color: var(--a-ink); }
.editor__toolbar button:hover, .editor__toolbar button.is-on { background: #fff; border-color: var(--a-line); }
.editor__sep { width: 1px; background: var(--a-line); margin: 3px 4px; }
.editor__area { min-height: 260px; padding: 14px 16px; outline: none; line-height: 1.7; }
.editor__area:empty::before { content: "İçeriği buraya yazın…"; color: #94a3b8; }
.editor__area h2 { font-size: 1.35rem; } .editor__area h3 { font-size: 1.12rem; }
.editor__area blockquote { border-left: 3px solid var(--a-primary); margin: 0; padding-left: 12px; color: var(--a-muted); }
.editor__area img { max-width: 100%; }
.editor__source { width: 100%; border: 0 !important; border-radius: 0 !important; font-family: ui-monospace, Consolas, monospace !important; font-size: .85rem !important; min-height: 260px; }
.js .editor:not(.is-source) .editor__source { display: none; }
.js .editor.is-source .editor__area { display: none; }
html:not(.js) .editor__area, html:not(.js) .editor__toolbar { display: none; }

/* SERP önizleme */
.serp { border: 1px solid var(--a-line); border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; background: #fff; font-family: Arial, sans-serif; }
.serp__url { color: #202124; font-size: .82rem; margin-bottom: 4px; word-break: break-all; }
.serp__title { color: #1a0dab; font-size: 1.15rem; line-height: 1.3; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.serp__desc { color: #4d5156; font-size: .86rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Kontrol listesi, modüller, lisans */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; }
.checklist li.is-ok { background: #f0fdf4; color: var(--a-success); }
.checklist li.is-warn { background: #fff7ed; color: var(--a-warning); }
.checklist strong { color: var(--a-ink); display: block; font-weight: 600; }
.checklist span { font-size: .82rem; color: var(--a-muted); }
.module-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-bottom: 20px; }
.module-card { background: #fff; border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 18px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--a-shadow); }
.module-card.is-enabled { border-color: #93c5fd; }
.module-card__head { display: flex; gap: 12px; align-items: center; }
.module-card__head h2 { font-size: 1rem; margin: 0; }
.module-card__icon { width: 42px; height: 42px; border-radius: 10px; background: #eef2ff; color: #4338ca; display: grid; place-items: center; }
.module-card p { margin: 0; color: var(--a-muted); flex: 1; }
.module-card__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.module-card__actions { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.license-card__status { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.license-card__status span { display: block; font-size: .8rem; color: var(--a-muted); }
.license-card__status strong { font-size: 1.3rem; }
.license-card--success .license-card__status { color: var(--a-success); }
.license-card--info .license-card__status { color: var(--a-primary); }
.license-card--warning .license-card__status { color: var(--a-warning); }
.license-card--danger .license-card__status { color: var(--a-danger); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.kv dt { color: var(--a-muted); }
.kv dd { margin: 0; color: var(--a-ink); font-weight: 500; word-break: break-word; }
.bullets { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; color: var(--a-muted); }
.steps { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.secret-box { background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.secret-box > span { font-size: .8rem; color: var(--a-muted); font-weight: 600; }
.totp-qr { margin: 4px 0 14px; } .totp-qr svg { width: 180px; height: 180px; display: block; border-radius: 8px; border: 1px solid var(--a-line); }
.secret { font-size: 1.15rem; letter-spacing: .08em; background: #fff; padding: 8px 12px; border: 1px solid var(--a-line); cursor: copy; }

/* Uyarılar */
.flash { margin-bottom: 16px; }
.alert { padding: 11px 14px; border-radius: 10px; margin-bottom: 8px; border: 1px solid; }
.alert--success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.alert--error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert--warning { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.alert--info { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }

/* Giriş sayfası */
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(900px 500px at 80% 0%, rgba(37, 99, 235, .35), transparent 60%), linear-gradient(135deg, #0b1324, #13234a); }
.login-card { width: 100%; max-width: 400px; background: #fff; border-radius: 18px; padding: 32px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.login-card__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--a-ink); margin-bottom: 20px; }
.login-card h1 { font-size: 1.4rem; }
.login-card__foot { text-align: center; margin: 18px 0 0; font-size: .9rem; }

/* Duyarlı */
@media (max-width: 1200px) {
    .stats { grid-template-columns: repeat(2, 1fr); }
    .layout-2, .layout-2--wide-side { grid-template-columns: minmax(0, 1fr); }
    .layout-2__side { position: static; }
}
@media (max-width: 900px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.is-open { transform: none; box-shadow: 20px 0 40px rgba(0, 0, 0, .3); }
    .main { margin-left: 0; }
    .sidebar-toggle { display: inline-grid; }
    .content-wrap { padding: 16px; }
    .topbar { padding: 10px 16px; }
    .topbar__right .btn, .topbar__user { display: none; }
    .grid-2, .checklist, .form-grid, .form-grid--3, .form-grid--4 { grid-template-columns: 1fr; }
    .repeater__row { grid-template-columns: 1fr 1fr; }
}

/* v1.1 — Çoklu dil, slider, tema */
.lang-tabs { border: 1px solid var(--a-line); border-radius: 10px; overflow: hidden; }
.lang-tabs__nav { display: flex; gap: 2px; background: #f8fafc; border-bottom: 1px solid var(--a-line); padding: 4px; flex-wrap: wrap; }
.lang-tabs__nav button { border: 0; background: transparent; padding: 7px 12px; border-radius: 7px; cursor: pointer; font: inherit; font-weight: 600; color: var(--a-muted); }
.lang-tabs__nav button.is-active { background: #fff; color: var(--a-primary); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.lang-tabs__panel { padding: 14px; display: flex; flex-direction: column; gap: 14px; }
.js .lang-tabs__panel:not(.is-active) { display: none; }
.slide-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.slide-item { display: grid; grid-template-columns: 220px 1fr auto; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 10px; box-shadow: var(--a-shadow); }
.slide-item.is-off { opacity: .6; }
.slide-item__img img { width: 220px; height: 90px; object-fit: cover; border-radius: 8px; display: block; }
.slide-item__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.slide-item__actions { display: flex; gap: 8px; align-items: center; }
.slide-preview { position: relative; border-radius: 10px; overflow: hidden; margin-bottom: 14px; aspect-ratio: 1920 / 720; background: #0f172a; }
.slide-preview img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.slide-preview__text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 6%; color: #fff; gap: 6px; }
.slide-preview__text strong { font-size: 1.4rem; }
.slide-preview--center .slide-preview__text { align-items: center; text-align: center; }
.slide-preview--right .slide-preview__text { align-items: flex-end; text-align: right; }
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-bottom: 20px; }
.theme-card { background: #fff; border: 2px solid var(--a-line); border-radius: var(--a-radius); overflow: hidden; box-shadow: var(--a-shadow); }
.theme-card.is-active { border-color: var(--a-primary); }
.theme-card__preview { aspect-ratio: 16 / 9; display: grid; place-items: center; background: linear-gradient(135deg, #e0e7ff, #f8fafc); color: #6366f1; }
.theme-card__preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.theme-card__body { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.theme-card__body h2 { font-size: 1rem; margin: 0; }
.theme-card__body p { margin: 0; font-size: .88rem; }
.color-field { display: flex; align-items: center; gap: 10px; }
.color-field input[type=color] { width: 52px; height: 38px; border: 1px solid #cbd5e1; border-radius: 8px; padding: 2px; background: #fff; cursor: pointer; }
.sticky-save { position: sticky; bottom: 0; background: linear-gradient(transparent, var(--a-bg) 40%); padding: 18px 0 6px; display: flex; justify-content: flex-end; z-index: 5; }
.input-full { width: 100%; padding: 7px 10px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; }
.w-half { width: 45%; }
.flag { font-size: 1.2rem; }
.box__pad { padding: 0 18px; }
.status-steps { display: flex; gap: 6px; flex-wrap: wrap; }
.order-total { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; max-width: 360px; margin-left: auto; }
.order-total dt { color: var(--a-muted); }
.order-total dd { margin: 0; text-align: right; font-weight: 600; color: var(--a-ink); }
.order-total .grand { font-size: 1.15rem; border-top: 1px solid var(--a-line); padding-top: 6px; }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.timeline li { border-left: 3px solid var(--a-line); padding: 2px 0 2px 12px; }
.timeline li strong { color: var(--a-ink); }
@media print { .sidebar, .topbar, .no-print, .license-bar { display: none !important; } .main { margin: 0; } .box { box-shadow: none; } }
@media (max-width: 900px) { .slide-item { grid-template-columns: 1fr; } .slide-item__img img { width: 100%; height: auto; aspect-ratio: 16/6; } }

.smtp-debug { white-space: pre-wrap; font-size: .78rem; background: #0f172a; color: #cbd5e1; padding: 10px; border-radius: 8px; max-height: 260px; overflow: auto; }

/* ==========================================================================
   v1.2 — Sayfa düzenleyici, alan bileşenleri, arama, bildirimler
   ========================================================================== */
[hidden] { display: none !important; }
.topbar__search { display: flex; align-items: center; gap: 8px; background: var(--a-bg); border: 1px solid var(--a-line); border-radius: 10px; padding: 0 12px; flex: 0 1 320px; color: var(--a-muted); margin-left: 12px; }
.topbar__search input { border: 0; background: transparent; padding: 9px 0; font: inherit; outline: none; width: 100%; color: var(--a-ink); }
.topbar__search:focus-within { border-color: var(--a-primary); background: #fff; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--a-primary); color: #fff; display: inline-grid; place-items: center; font-weight: 800; font-size: .85rem; }
.notif { position: relative; }
.notif summary { list-style: none; position: relative; }
.notif summary::-webkit-details-marker { display: none; }
.notif__count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; border-radius: 9px; background: #e11d48; color: #fff; font-size: .68rem; display: grid; place-items: center; padding: 0 4px; }
.notif__menu { position: absolute; right: 0; top: calc(100% + 8px); width: 290px; background: #fff; border: 1px solid var(--a-line); border-radius: 12px; box-shadow: var(--a-shadow), 0 20px 40px -20px rgba(0, 0, 0, .3); padding: 8px; z-index: 60; }
.notif__head { display: block; padding: 6px 8px 10px; color: var(--a-ink); }
.notif__menu a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--a-ink); text-decoration: none; }
.notif__menu a:hover { background: var(--a-bg); }
.notif__menu a span { flex: 1; }
.notif__menu a b { background: var(--a-bg); padding: 1px 8px; border-radius: 999px; font-size: .8rem; }
.notif__menu .hint { padding: 6px 10px; margin: 0; }
.sidebar-backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); z-index: 35; }
.thumb--contain { object-fit: contain; background: #fff; padding: 3px; }
.row-unread td { background: #fffbeb; }
.row-unread .strong::before { content: "● "; color: #f59e0b; }
.message-box { white-space: pre-wrap; background: var(--a-bg); border-radius: 10px; padding: 16px; margin: 16px 0; line-height: 1.7; color: var(--a-ink); }
.search-big { display: flex; align-items: center; gap: 12px; }
.search-big input { flex: 1; border: 0; font: inherit; font-size: 1.1rem; outline: none; padding: 6px 0; }
.search-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.search-results .box { margin: 0; }
.search-list { list-style: none; margin: 0; padding: 0; }
.search-list a { display: flex; flex-direction: column; padding: 8px 10px; border-radius: 8px; color: var(--a-ink); text-decoration: none; }
.search-list a:hover { background: var(--a-bg); }
.search-list small { color: var(--a-muted); }
.trans-item { border: 1px solid var(--a-line); border-radius: 10px; padding: 10px 14px 4px; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.trans-item legend { font-weight: 700; font-size: .85rem; padding: 0 6px; }

/* Sayfa düzenleyici */
.builder { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 20px; align-items: start; }
.builder__side { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 76px; max-height: calc(100vh - 96px); overflow: auto; padding-right: 4px; }
.builder__toolbar { display: flex; gap: 10px; align-items: flex-end; justify-content: space-between; }
.builder__theme { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.builder__theme select { padding: 8px 10px; border: 1px solid var(--a-line); border-radius: 9px; font: inherit; background: #fff; }
.builder__preview { background: #fff; border: 1px solid var(--a-line); border-radius: var(--a-radius); overflow: hidden; box-shadow: var(--a-shadow); position: sticky; top: 76px; }
.builder__devices { display: flex; gap: 4px; padding: 8px; border-bottom: 1px solid var(--a-line); background: #f8fafc; align-items: center; flex-wrap: wrap; }
.builder__devices button, .builder__devices a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 8px; border: 0; background: transparent; font: inherit; font-weight: 600; font-size: .85rem; color: var(--a-muted); cursor: pointer; text-decoration: none; }
.builder__devices button.is-active { background: #fff; color: var(--a-primary); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.builder__devices [data-preview-reload] { margin-left: auto; }
.builder__frame-wrap { background: repeating-conic-gradient(#f1f5f9 0% 25%, #fff 0% 50%) 50% / 20px 20px; display: flex; justify-content: center; height: calc(100vh - 160px); min-height: 520px; overflow: hidden; }
.builder__frame { width: 100%; height: 100%; border: 0; background: #fff; transition: width .3s; box-shadow: 0 0 0 1px var(--a-line); }
.builder__reset { margin-top: 6px; }
.sec-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sec-item { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--a-line); border-radius: 12px; padding: 8px 8px 8px 6px; box-shadow: var(--a-shadow); transition: box-shadow .2s, opacity .2s; }
.sec-item.is-off { opacity: .55; }
.sec-item.is-missing { border-color: #fecaca; }
.sec-item.is-dragging { opacity: .4; outline: 2px dashed var(--a-primary); }
.sec-item__handle { cursor: grab; color: var(--a-muted); padding: 6px 4px; display: grid; place-items: center; }
.sec-item__handle:active { cursor: grabbing; }
.sec-item__icon { width: 36px; height: 36px; border-radius: 9px; background: #eef2ff; color: #4338ca; display: grid; place-items: center; flex-shrink: 0; }
.sec-item__body { flex: 1; min-width: 0; display: flex; flex-direction: column; text-decoration: none !important; color: var(--a-ink); }
.sec-item__body strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sec-item__body small { color: var(--a-muted); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sec-item__actions { display: flex; gap: 0; }
.sec-item__actions form { margin: 0; }
.type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.type-grid form { margin: 0; display: flex; }
.type-card { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; padding: 16px; border-radius: 12px; border: 1.5px solid var(--a-line); background: #fff; cursor: pointer; font: inherit; color: var(--a-text); transition: border-color .2s, box-shadow .2s, transform .2s; }
.type-card:hover { border-color: var(--a-primary); box-shadow: var(--a-shadow); transform: translateY(-2px); }
.type-card strong { color: var(--a-ink); }
.type-card small { color: var(--a-muted); font-size: .8rem; line-height: 1.4; }
.type-card__icon { width: 40px; height: 40px; border-radius: 10px; background: #eef2ff; color: #4338ca; display: grid; place-items: center; }

/* Alan bileşenleri */
.rep { display: flex; flex-direction: column; gap: 8px; }
.rep__items { display: flex; flex-direction: column; gap: 8px; }
.rep__item { border: 1px solid var(--a-line); border-radius: 10px; background: #fff; }
.rep__item.is-dragging { opacity: .4; outline: 2px dashed var(--a-primary); }
.rep__bar { display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 8px; background: #f8fafc; border-radius: 10px; }
.rep__item.is-open .rep__bar { border-radius: 10px 10px 0 0; border-bottom: 1px solid var(--a-line); }
.rep__handle { cursor: grab; color: var(--a-muted); display: grid; place-items: center; padding: 4px; }
.rep__title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .88rem; }
.rep__body { display: none; padding: 14px; }
.rep__item.is-open .rep__body { display: grid; }
.rep__item.is-open [data-rep-toggle] .icon { transform: rotate(180deg); }
.rep [data-rep-add] { align-self: flex-start; }
.img-field { display: flex; gap: 14px; align-items: center; }
.img-field__preview { width: 120px; height: 80px; border-radius: 10px; border: 1px dashed #cbd5e1; display: grid; place-items: center; overflow: hidden; background: repeating-conic-gradient(#f1f5f9 0% 25%, #fff 0% 50%) 50% / 14px 14px; color: var(--a-muted); flex-shrink: 0; }
.img-field__preview img { width: 100%; height: 100%; object-fit: contain; }
.img-field__actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.img-field__actions label.btn { cursor: pointer; }
.icon-field { display: flex; gap: 8px; align-items: center; }
.icon-field__preview { width: 38px; height: 38px; border-radius: 9px; background: #eef2ff; color: #4338ca; display: grid; place-items: center; flex-shrink: 0; }
.pp { display: flex; flex-direction: column; gap: 6px; }
.pp__search { position: relative; }
.pp__search input { width: 100%; padding: 8px 12px; border: 1px dashed #cbd5e1; border-radius: 9px; font: inherit; }
.pp__results { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; background: #fff; border: 1px solid var(--a-line); border-radius: 10px; box-shadow: var(--a-shadow), 0 20px 40px -20px rgba(0, 0, 0, .3); max-height: 300px; overflow: auto; }
.pp__results:empty { display: none; }
.pp__item { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 10px; width: 100%; text-align: left; padding: 8px 10px; border: 0; background: #fff; cursor: pointer; font: inherit; border-bottom: 1px solid #f1f5f9; }
.pp__item:hover { background: #eff6ff; }
.pp__item img, .pp__noimg { grid-row: span 2; width: 40px; height: 40px; border-radius: 6px; object-fit: cover; background: #f1f5f9; }
.pp__item small { color: var(--a-muted); }
.field--bool { justify-content: center; }
select[multiple] { min-height: 130px; }

@media (max-width: 1280px) {
    .builder { grid-template-columns: 360px minmax(0, 1fr); }
}
@media (max-width: 1100px) {
    .builder { grid-template-columns: 1fr; }
    .builder__side { position: static; max-height: none; }
    .builder__frame-wrap { height: 70vh; }
}
@media (max-width: 900px) {
    .topbar__search { display: none; }
    .hide-sm { display: none !important; }
    .topbar__right .btn { display: none; }
    .notif__menu { right: -60px; width: min(290px, calc(100vw - 32px)); }
    .content-wrap { padding: 14px; }
    .box { padding: 16px; }
    .page-actions { align-items: stretch; }
    .filters-bar { width: 100%; }
    .filters-bar input, .filters-bar select { min-width: 0; flex: 1 1 140px; }
    .form-head { gap: 8px; }
    .form-head .tabs-nav { width: 100%; }
    .form-head__actions { width: 100%; justify-content: flex-end; flex-wrap: wrap; }
    .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
    .stat { padding: 14px; grid-template-columns: 1fr; }
    .stat__icon { display: none; }
    .stat strong { font-size: 1.3rem; }
    .table-wrap { -webkit-overflow-scrolling: touch; }
    .img-field { flex-direction: column; align-items: flex-start; }
    .sec-item__actions .icon-btn { width: 30px; height: 30px; }
    .builder__devices button { padding: 6px 8px; font-size: .78rem; }
    .layout-2__side { position: static; }
}
@media (max-width: 480px) {
    .stats { grid-template-columns: 1fr 1fr; }
    .topbar__title { font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
    .topbar { gap: 6px; }
}

/* Yorum moderasyonu (yorumlar modülü) */
.rv-admin { display: flex; flex-direction: column; gap: 12px; }
.rv-admin__item { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.rv-admin__item.is-pending { border-left: 4px solid #f59e0b; }
.rv-admin__head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
.rv-admin__head .tag { margin-left: 6px; }
.rv-admin__product { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; background: var(--a-bg); padding: 4px 10px; border-radius: 999px; color: var(--a-ink); text-decoration: none; }
.rv-admin__title { margin: 4px 0 0; font-size: 1rem; }
.rv-admin__body { margin: 0; white-space: normal; color: var(--a-ink); line-height: 1.6; }
.rv-admin__reply summary { cursor: pointer; font-weight: 600; font-size: .88rem; color: var(--a-primary); display: inline-flex; gap: 6px; align-items: center; }
.rv-admin__reply form { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; align-items: flex-start; }
.rv-admin__reply textarea { width: 100%; border: 1px solid var(--a-line); border-radius: 8px; padding: 10px; font: inherit; }
.rv-admin__actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--a-line); padding-top: 10px; }
.rv-admin__actions form { margin: 0; }
.rv-admin__actions form:last-child { margin-left: auto; }
.form-narrow { max-width: 640px; display: flex; flex-direction: column; gap: 16px; }

/* ---------- Modül formları: segment seçici, satır içi girişler, onay satırı ---------- */
.field .label { font-weight: 600; color: var(--a-ink); font-size: .88rem; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--a-bg); border: 1px solid var(--a-line); border-radius: 12px; }
.field .seg__opt { display: block; cursor: pointer; font-weight: 600; }
.seg__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg__opt span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 9px; color: var(--a-muted); transition: background .15s, color .15s, box-shadow .15s; }
.seg__opt input:checked + span { background: #fff; color: var(--a-primary); box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }
.seg__opt input:focus-visible + span { outline: 2px solid var(--a-primary); outline-offset: 2px; }
.inline-inputs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.inline-inputs input { width: 90px; }
.inline-inputs span { color: var(--a-muted); font-weight: 600; }
.check-row { display: flex; gap: 8px 20px; flex-wrap: wrap; }
.field .check { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; justify-content: flex-start; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--a-primary); }
.field .field { margin: 0; }
.kpi-meter { width: 100%; min-width: 70px; height: 8px; border: 0; border-radius: 99px; background: var(--a-bg); vertical-align: middle; }
.kpi-meter::-webkit-meter-bar { background: var(--a-bg); border: 0; border-radius: 99px; height: 8px; }
.kpi-meter::-webkit-meter-optimum-value { background: var(--a-primary); border-radius: 99px; }
.kpi-meter::-moz-meter-bar { background: var(--a-primary); border-radius: 99px; }
.box--flush > .box__title--pad { padding: 18px 20px 0; margin-bottom: 12px; }
.box--flush > .box__body { padding: 16px 20px 20px; border-top: 1px solid var(--a-line); }
.input-num { width: 110px; text-align: right; }
.quote-note { margin: 10px 0 0; padding: 10px 12px; background: var(--a-bg); border-left: 3px solid var(--a-primary); border-radius: 6px; font-size: .88rem; }
.plain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .88rem; }
.table tfoot td { background: var(--a-bg); }
.code-sample { margin: 0 0 10px; padding: 12px; background: var(--a-bg); border-radius: 8px; font-size: .8rem; line-height: 1.6; white-space: pre-wrap; overflow-x: auto; }
.field .inline-inputs input { width: 90px; flex: 0 0 90px; }
.field .inline-inputs select { width: auto; flex: 1 1 auto; }
.field .switch, .switch-list .switch { justify-content: flex-start; }
.box > .switch + .field, .box > .switch + .hint { margin-top: 12px; }
.form.inline-inputs { flex-direction: row; }
.form .inline-inputs input[type=number] { width: 90px; }
.table input.input-num:not([type=checkbox]):not([type=radio]):not([type=file]) { width: 96px; padding: 7px 10px; text-align: right; }
.form.inline-inputs select { flex: 1 1 auto; width: auto; min-width: 0; }
.box--highlight { border-color: color-mix(in srgb, var(--a-primary) 45%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a-primary) 10%, transparent), var(--a-shadow); }
.box--success { background: #f0fdf4; border-color: #bbf7d0; }
.box--success .box__title { color: var(--a-success); }

/* =====================================================================
   1.3 — Düzen ve boşluk iyileştirmeleri
   ===================================================================== */

/* Kutu içi dikey ritim: art arda gelen öğeler arasında tutarlı 16px boşluk.
   :where() önceliği sıfırdır; bileşenlerin kendi kenar boşlukları geçerli kalır. */
:where(.box:not(.form, .box--flush)) > :where(:not(input[type="hidden"], template, [hidden], .box__title, .box__head)) ~ :where(:not(input[type="hidden"], template, [hidden])) { margin-top: 16px; }
:where(.box) > p { margin-bottom: 0; }
:where(.box) > p:first-child, :where(.box) > .box__title + p { margin-top: 0; }
.box__title + .hint, .box__title + p { margin-top: -6px !important; margin-bottom: 0; }
.field .hint, .field-error { margin: 0; }
.field + .switch, .switch + .field, .switch + .switch { margin-top: 14px; }
.box .btn--block + .btn--block { margin-top: 8px; }
.stack-sm { display: grid; gap: 8px; }
.form .stack-sm .btn + .btn { margin-top: 0; }

/* Sayfa üstü eylem şeridi ve filtreler */
.page-actions { margin-bottom: 20px; row-gap: 12px; }
.page-actions > .hint { margin: 0; flex: 1 1 260px; }
.filters-bar { gap: 10px; align-items: center; }
.filters-bar .btn { padding-top: 8px; padding-bottom: 8px; }
.btn-row { gap: 10px; align-items: center; }
.btn-row form { margin: 0; }
.actions-col { padding-left: 8px !important; }
td.actions-col > * { vertical-align: middle; }
td.actions-col { display: table-cell; }
td.actions-col form { display: inline-block; margin: 0; }
td.actions-col .icon-btn + .icon-btn, td.actions-col form + .icon-btn, td.actions-col .icon-btn + form, td.actions-col form + form { margin-left: 4px; }

/* Etiketler ve tablo hücreleri */
.table td .tag + .tag { margin-left: 4px; }
.table td small.muted, .table td div > small { line-height: 1.5; }
.cell-icon { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.text-success { color: var(--a-success) !important; }

/* Zengin metin editörü: araç çubuğu sayfa kaydırılırken üst çubuğun altında sabitlenir.
   overflow:hidden kapsayıcıyı kaydırma bağlamı yaptığı için çubuk editör içinde kayıyordu. */
.editor { overflow: visible; }
.editor__toolbar { top: 66px; border-radius: 10px 10px 0 0; }
.editor__source { border-radius: 0 0 10px 10px !important; }
.editor__area { border-radius: 0 0 10px 10px; }

/* Dosya seçme kutuları */
input[type="file"] { font: inherit; font-size: .86rem; color: var(--a-muted); max-width: 100%; }
input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 1px solid var(--a-line); border-radius: 9px; background: #fff; color: var(--a-ink); font: inherit; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s; }
input[type="file"]::file-selector-button:hover { background: #f8fafc; border-color: #cbd5e1; }

/* Açılır bölümler (SEO ayarları, Çeviriler) */
.details:not(.details--inline) { border: 1px solid var(--a-line); border-radius: 10px; padding: 0 14px; background: #fff; }
.details:not(.details--inline) > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; }
.details:not(.details--inline) > summary::-webkit-details-marker { display: none; }
.details:not(.details--inline) > summary::after { content: "+"; font-size: 1.15rem; line-height: 1; color: var(--a-muted); font-weight: 700; }
.details[open]:not(.details--inline) > summary::after { content: "−"; }
.details[open]:not(.details--inline) { padding-bottom: 14px; }
.details[open]:not(.details--inline) > summary { margin-bottom: 4px; border-bottom: 1px solid var(--a-line); }
.details:not(.details--inline) > .field, .details:not(.details--inline) > .form-grid { margin-top: 12px; }
.details--inline > summary.btn { padding: 6px 11px; }

/* Modül kartları */
.module-grid { gap: 18px; }
.module-card { gap: 12px; padding: 20px; }
.module-card__head h2 { line-height: 1.3; }
.module-card p { flex: 0 0 auto; font-size: .9rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.module-card__tags { margin-top: auto; }
.module-card__actions { padding-top: 14px; border-top: 1px solid var(--a-line); align-items: center; gap: 10px; }
.module-card__actions form { margin: 0; }
.module-card.is-enabled .module-card__icon { background: #dbeafe; color: var(--a-primary); }

/* Sipariş toplamları */
.order-total { margin: 20px 0 4px auto !important; }

/* Kenar menü grupları (katlanabilir) */
.sidebar__nav { gap: 1px; padding-bottom: 20px; }
.sidebar__nav a { padding: 8px 12px; }
.sidebar__group { display: flex; flex-direction: column; gap: 1px; }
.sidebar__group > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; border-radius: 8px; user-select: none; }
.sidebar__group > summary::-webkit-details-marker { display: none; }
.sidebar__group > summary:hover { color: #94a3b8; }
.sidebar__group > summary .icon { transition: transform .2s; opacity: .7; }
.sidebar__group:not([open]) > summary .icon { transform: rotate(-90deg); }
.sidebar__group > summary:focus-visible { outline-offset: -2px; }

/* Canlı destek: mesai saatleri */
.schedule { display: grid; }
.schedule__row { display: grid; grid-template-columns: 170px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 52px; padding: 6px 0; border-bottom: 1px solid #f1f5f9; }
.schedule__row:last-child { border-bottom: 0; }
.schedule__times { display: flex; align-items: center; gap: 8px; }
.schedule__times span { color: var(--a-muted); }
.form .schedule__times input:not([type=checkbox]):not([type=radio]):not([type=file]) { width: 130px; }

/* Anahtar-değer listesi ve çubuk listesi (raporlar) */
.kv { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 0; font-size: .9rem; }
.kv dt { color: var(--a-muted); }
.kv dd { margin: 0; text-align: right; font-weight: 600; color: var(--a-ink); }
.bar-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bar-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; font-size: .88rem; }
.bar-list meter { grid-column: 1 / -1; }
.box__subtitle { font-size: .78rem; margin: 18px 0 10px; color: var(--a-muted); text-transform: uppercase; letter-spacing: .05em; }

@media (max-width: 760px) {
    .schedule__row { grid-template-columns: 1fr; gap: 6px; }
    .page-actions { flex-direction: column; align-items: stretch; }
    .page-actions > .hint { flex: 0 0 auto; }
    .page-actions > .btn-row, .filters-bar { width: 100%; }
    .filters-bar input, .filters-bar select { flex: 1 1 140px; min-width: 0; }
}
.field.btn-row { flex-direction: row; flex-wrap: wrap; }

/* =====================================================================
   Çeviri Merkezi
   ===================================================================== */
.text-warning { color: var(--a-warning) !important; }
.check-col { width: 36px; }
.check-col input { width: 17px; height: 17px; accent-color: var(--a-primary); }
/* Toplu işlem çubuğu (tabloda satır seçilince görünür) */
.bulk-bar { position: sticky; top: 8px; z-index: 5; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; padding: 10px 14px; border: 1px solid color-mix(in srgb, var(--a-primary) 35%, var(--a-line)); border-radius: 10px; background: color-mix(in srgb, var(--a-primary) 7%, #fff); box-shadow: var(--a-shadow); }
.bulk-bar[hidden] { display: none; }
.bulk-bar__count { font-weight: 700; }
.lang-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.lang-pill { display: grid; grid-template-columns: auto 70px auto; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--a-line); border-radius: 999px; background: #fff; color: var(--a-ink); font-weight: 600; text-decoration: none !important; box-shadow: var(--a-shadow); }
.lang-pill small { color: var(--a-muted); font-weight: 700; }
.lang-pill.is-active { border-color: var(--a-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a-primary) 14%, transparent); }
.callout { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--a-radius); border: 1px solid var(--a-line); background: #fff; margin-bottom: 20px; }
.callout p { margin: 4px 0 0; }
.callout__icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; background: var(--a-bg); }
.callout--warning { background: #fffbeb; border-color: #fde68a; color: #78350f; }
.callout--warning .callout__icon { background: #fef3c7; color: #b45309; }
.callout--tip { background: #eff6ff; border-color: #bfdbfe; color: #1e3a8a; }
.callout--tip .callout__icon { background: #dbeafe; color: var(--a-primary); }
.callout--danger { background: #fef2f2; border-color: #fecaca; color: #7f1d1d; }
.callout--danger .callout__icon { background: #fee2e2; color: var(--a-danger); }
.callout--success { background: #f0fdf4; border-color: #bbf7d0; color: #14532d; }
.callout--success .callout__icon { background: #dcfce7; color: var(--a-success); }
.radio-list { display: grid; gap: 8px; }
.check--danger span { color: var(--a-danger); }
.check small { color: var(--a-muted); }
.runner { display: grid; gap: 8px; padding: 12px; border-radius: 10px; background: var(--a-bg); }
.runner__bar { width: 100%; height: 10px; }
.runner__status { margin: 0; font-weight: 600; color: var(--a-ink); font-size: .9rem; }
.runner__log { margin: 0; padding-left: 18px; max-height: 160px; overflow-y: auto; font-size: .82rem; color: var(--a-muted); }
.runner__log .is-error { color: var(--a-danger); }
.seg--links { margin-bottom: 16px; display: flex; flex-wrap: wrap; }
.seg__link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 9px; color: var(--a-muted); font-weight: 600; text-decoration: none !important; }
.seg__link small { background: #fff; border-radius: 999px; padding: 0 7px; font-size: .74rem; color: var(--a-ink); }
.seg__link.is-active { background: #fff; color: var(--a-primary); box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }
.review-table td { vertical-align: top; }
.review-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.review-edit { color: var(--a-muted); display: inline-flex; }
.review-source { margin: 0; color: var(--a-ink); line-height: 1.55; white-space: pre-line; }
.form .review-input:not([type=checkbox]) { min-height: 0; font-size: .92rem; }
.review-row--missing .review-input { border-style: dashed; background: #fffdf5; }
.review-row--outdated .review-input { border-color: #fca5a5; }
.review-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.w-half { width: 48%; }
.provider-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.provider-card { position: relative; display: block; cursor: pointer; }
.provider-card input { position: absolute; opacity: 0; }
.provider-card__body { display: grid; gap: 4px; height: 100%; padding: 14px 16px; border: 1.5px solid var(--a-line); border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.provider-card__body strong { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--a-ink); }
.provider-card__body small { color: var(--a-text); line-height: 1.5; }
.provider-card input:checked + .provider-card__body { border-color: var(--a-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a-primary) 14%, transparent); }
.provider-card input:focus-visible + .provider-card__body { outline: 3px solid rgba(29, 78, 216, .4); }
.auto-tr { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; padding: 10px 12px; margin-bottom: 14px; border: 1px dashed #bfdbfe; border-radius: 10px; background: #f8fbff; }
.auto-tr__status { font-size: .82rem; color: var(--a-muted); }
.is-autofilled { background: #f0f9ff !important; border-color: #7dd3fc !important; }
.empty-state { text-align: center; padding: 40px 20px; }
.empty-state__icon { width: 64px; height: 64px; border-radius: 18px; display: inline-grid; place-items: center; background: #eff6ff; color: var(--a-primary); margin-bottom: 12px; }
@media (max-width: 760px) {
    .provider-grid { grid-template-columns: 1fr; }
    .lang-pill { grid-template-columns: auto 50px auto; }
}
.radio-list .check, .box > .check { display: flex; align-items: flex-start; gap: 8px; }
.radio-list .check input, .box > .check input { margin-top: 2px; flex-shrink: 0; }

/* ---------- Site Kılavuzu ---------- */
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .86rem; color: var(--a-muted); margin-bottom: 16px; }
.guide-hero { display: grid; grid-template-columns: 1fr minmax(320px, 460px); gap: 24px; align-items: center; padding: 26px 28px; margin-bottom: 24px; border-radius: var(--a-radius); background: linear-gradient(120deg, #1e3a8a, #1d4ed8 60%, #2563eb); color: #e0e7ff; box-shadow: var(--a-shadow); }
.guide-hero h2 { color: #fff; display: flex; align-items: center; gap: 10px; font-size: 1.3rem; }
.guide-hero p { margin: 0; max-width: 60ch; }
.guide-search { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 6px 6px 6px 14px; color: var(--a-muted); }
.guide-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; padding: 8px 0; background: transparent; }
.guide-group { margin-bottom: 26px; }
.guide-group__title { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--a-muted); margin: 0 0 12px; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.guide-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: #fff; border: 1px solid var(--a-line); border-radius: var(--a-radius); color: var(--a-text); text-decoration: none !important; box-shadow: var(--a-shadow); transition: border-color .15s, transform .15s; }
.guide-card:hover { border-color: var(--a-primary); transform: translateY(-2px); }
.guide-card.is-off { opacity: .7; }
.guide-card__icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px; display: grid; place-items: center; background: #eff6ff; color: var(--a-primary); }
.guide-card__icon--lg { width: 54px; height: 54px; border-radius: 14px; }
.guide-card__body { display: grid; gap: 4px; min-width: 0; }
.guide-card__body strong { color: var(--a-ink); line-height: 1.35; }
.guide-card__body small { color: var(--a-muted); line-height: 1.45; }
.guide-card__meta { display: flex; align-items: center; gap: 5px; font-size: .78rem; color: var(--a-muted); margin-top: 4px; }
.guide-progress { display: flex; align-items: center; gap: 12px; }
.guide-progress meter { flex: 1; height: 10px; }
.guide-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.guide-check__item { display: flex; gap: 10px; align-items: flex-start; padding: 8px 6px; border-radius: 8px; }
.guide-check__item + .guide-check__item { border-top: 1px dashed var(--a-line); }
.guide-check__mark { width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; border: 2px solid #cbd5e1; display: grid; place-items: center; margin-top: 1px; }
.guide-check__item.is-done .guide-check__mark { background: var(--a-success); border-color: var(--a-success); color: #fff; }
.guide-check__item.is-done .guide-check__body > span { color: var(--a-muted); text-decoration: line-through; }
.guide-check__body { display: grid; gap: 2px; }
.guide-check__body > a { font-weight: 600; }
.guide-links { margin: 0; padding-left: 18px; display: grid; gap: 6px; }

.guide-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.guide-toc { position: sticky; top: 84px; }
.guide-toc__inner { max-height: calc(100vh - 110px); overflow: auto; font-size: .86rem; padding-right: 6px; }
.guide-toc strong { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--a-muted); margin: 0 0 8px; }
.guide-toc ol, .guide-toc ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 2px; }
.guide-toc a { display: block; padding: 5px 10px; border-radius: 7px; color: var(--a-text); border-left: 2px solid transparent; }
.guide-toc a:hover { background: #fff; text-decoration: none; }
.guide-toc a.is-active, .guide-toc a.is-current { color: var(--a-primary); border-left-color: var(--a-primary); background: #fff; font-weight: 600; }
.guide-article { max-width: 980px; min-width: 0; }
.guide-article__head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 26px; }
.guide-article__head h2 { font-size: 1.5rem; }
.guide-article__head .lead { margin-bottom: 12px; }
.guide-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: .84rem; color: var(--a-muted); }
.guide-article__meta > span { display: inline-flex; align-items: center; gap: 5px; }
.guide-section { background: #fff; border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 24px 26px; margin-bottom: 20px; box-shadow: var(--a-shadow); scroll-margin-top: 84px; }
.guide-section > h3 { display: flex; align-items: center; gap: 10px; font-size: 1.12rem; margin-bottom: 14px; }
.guide-section__n { width: 28px; height: 28px; border-radius: 8px; background: var(--a-ink); color: #fff; display: grid; place-items: center; font-size: .85rem; flex-shrink: 0; }
.guide-section > * + * { margin-top: 18px; }
.guide-text { line-height: 1.7; max-width: 78ch; }
.guide-steps { list-style: none; counter-reset: gs; margin: 0; padding: 0; display: grid; gap: 12px; }
.guide-steps > li { counter-increment: gs; position: relative; display: flex; gap: 14px; align-items: flex-start; justify-content: space-between; padding: 14px 16px 14px 58px; border: 1px solid var(--a-line); border-radius: 10px; background: #f8fafc; }
.guide-steps > li::before { content: counter(gs); position: absolute; left: 14px; top: 13px; width: 30px; height: 30px; border-radius: 50%; background: var(--a-primary); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.guide-steps strong { color: var(--a-ink); display: block; margin-bottom: 3px; }
.guide-steps p { margin: 0; line-height: 1.6; }
.guide-steps__go { flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: .85rem; padding: 6px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--a-line); white-space: nowrap; }
.guide-shot { margin: 0; }
.guide-shot__frame { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--a-line); box-shadow: 0 10px 30px -18px rgba(15, 23, 42, .5); background: #f8fafc; }
.guide-shot__frame img { display: block; width: 100%; height: auto; }
.guide-hotspot { position: absolute; transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; background: #e11d48; color: #fff; font: 700 12px/1 var(--font); display: grid; place-items: center; cursor: pointer; padding: 0; animation: guide-pulse 2.4s ease-out infinite; }
.guide-hotspot:hover, .guide-hotspot.is-active, .guide-hotspot:focus-visible { background: var(--a-ink); animation: none; z-index: 2; outline: none; box-shadow: 0 0 0 4px rgba(15, 23, 42, .25); }
@keyframes guide-pulse { 0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, .5), 0 2px 8px rgba(0, 0, 0, .35); } 70% { box-shadow: 0 0 0 10px rgba(225, 29, 72, 0), 0 2px 8px rgba(0, 0, 0, .35); } 100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0), 0 2px 8px rgba(0, 0, 0, .35); } }
@media (prefers-reduced-motion: reduce) { .guide-hotspot { animation: none; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); } }
.guide-hotspot__tip { position: absolute; z-index: 3; max-width: 260px; padding: 8px 11px; border-radius: 8px; background: var(--a-ink); color: #fff; font-size: .8rem; line-height: 1.4; pointer-events: none; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); }
.guide-legend { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 18px; font-size: .88rem; }
.guide-legend li { display: flex; gap: 9px; align-items: flex-start; padding: 4px 6px; border-radius: 7px; cursor: default; }
.guide-legend li.is-active { background: #fff1f2; }
.guide-legend__n { width: 21px; height: 21px; flex-shrink: 0; border-radius: 50%; background: #e11d48; color: #fff; font-weight: 700; font-size: .72rem; display: grid; place-items: center; margin-top: 1px; }
.guide-section .callout { margin-bottom: 0; }
.guide-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 30px; }
.guide-pager a { display: grid; gap: 2px; padding: 14px 18px; background: #fff; border: 1px solid var(--a-line); border-radius: var(--a-radius); text-decoration: none !important; }
.guide-pager a:hover { border-color: var(--a-primary); }
.guide-pager small { color: var(--a-muted); }
.guide-pager strong { color: var(--a-ink); }
.guide-pager__next { text-align: right; grid-column: 2; }
@media (max-width: 1100px) {
    .guide-layout { grid-template-columns: 1fr; }
    .guide-toc { position: static; }
    .guide-toc__inner { max-height: none; }
    .guide-toc ul, .guide-toc ul + strong, .guide-toc ol + strong { display: none; }
    .guide-hero { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .guide-section { padding: 18px 16px; }
    .guide-steps > li { flex-direction: column; padding-left: 52px; }
    .guide-hotspot { width: 20px; height: 20px; font-size: 10px; border-width: 1.5px; }
    .guide-pager { grid-template-columns: 1fr; }
    .guide-pager__next { grid-column: 1; }
    .guide-article__head { flex-direction: column; }
    .guide-hero { padding: 20px 18px; }
}

/* Demo içerik paketleri (Görünüm) */
.demo-box { margin-bottom: 20px; }
.demo-box__head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.demo-box__head p { max-width: 80ch; margin: 4px 0 14px; }
.demo-packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.demo-pack { position: relative; display: grid; grid-template-rows: auto 1fr; border: 2px solid var(--a-line); border-radius: var(--a-radius); overflow: hidden; cursor: pointer; background: #fff; transition: border-color .15s, box-shadow .15s; }
.demo-pack:hover { border-color: #93c5fd; }
.demo-pack:has(input:checked) { border-color: var(--a-primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
.demo-pack input { position: absolute; top: 10px; left: 10px; width: 20px; height: 20px; accent-color: var(--a-primary); z-index: 1; }
.demo-pack__img { display: grid; place-items: center; aspect-ratio: 8 / 3; background: #f1f5f9; color: var(--a-muted); overflow: hidden; }
.demo-pack__img img { width: 100%; height: 100%; object-fit: cover; }
.demo-pack__body { display: grid; gap: 6px; padding: 12px 14px 14px; }
.demo-pack__meta { color: var(--a-muted); font-size: .78rem; border-top: 1px dashed var(--a-line); padding-top: 6px; }
.demo-box__opts { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 16px; }
.demo-box__opts .btn { margin-left: auto; }
@media (max-width: 720px) { .demo-box__head { flex-direction: column; } .demo-box__opts .btn { margin-left: 0; width: 100%; } }

/* Ürün varyantları */
.variant-gen { margin: 4px 0 14px; border: 1px dashed var(--a-line); border-radius: 10px; padding: 10px 14px; }
.variant-gen summary { cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.variant-gen__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 8px 0 10px; }
.variant-gen__fields label { display: grid; gap: 4px; font-weight: 600; font-size: .85rem; }
.variant-table input, .variant-table select { min-width: 84px; padding: 6px 8px; font-size: .85rem; }
.variant-table .variant-row__opt { min-width: 110px; }
.variant-table td { padding: 5px 6px; }
.variant-foot { display: flex; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.steps-list { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 6px; }
.form-actions { margin-top: 16px; justify-content: flex-end; }
.inline-form { display: flex; gap: 6px; align-items: center; } .inline-form input { min-width: 0; flex: 1; padding: 6px 8px; font-size: .85rem; }
/* WhatsApp modülü */
.wa-templates { display: grid; gap: 14px; margin-bottom: 8px; }
.wa-tpl { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--a-line); border-radius: 10px; background: #fafbfc; }
.wa-order-log { margin-top: 14px; border-top: 1px solid var(--a-line); padding-top: 10px; }
.wa-order-log__list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.kargo-api summary { cursor: pointer; list-style: none; margin: 0; } .kargo-api[open] summary { margin-bottom: 14px; } .kargo-api summary .tag { margin-left: auto; }
/* e-Fatura kutusu (sipariş detayı) */
.inv-box { margin-top: 14px; border-top: 1px solid var(--a-line); padding-top: 10px; display: grid; gap: 8px; }
.inv-box p { margin: 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inv-manual summary { cursor: pointer; font-size: .85rem; color: var(--a-muted); }
.inv-manual .form { margin-top: 8px; }
.seg--stack { display: grid; gap: 8px; }
.seg--stack .seg__opt span { display: block; }
.seg--stack small { display: block; color: var(--a-muted); font-weight: 400; }
/* Medya kütüphanesi + görsel seçici */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin-bottom: 16px; }
.media-card { background: #fff; border: 1px solid var(--a-line); border-radius: var(--a-radius); overflow: hidden; display: flex; flex-direction: column; }
.media-card__img { display: block; aspect-ratio: 4 / 3; background: repeating-conic-gradient(#f1f5f9 0 25%, #fff 0 50%) 0 0 / 16px 16px; }
.media-card__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.media-card__body { padding: 10px; display: grid; gap: 6px; }
.media-card__name { font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.media-card__form { display: flex; gap: 4px; }
.media-card__form input { min-width: 0; flex: 1; padding: 5px 8px; font-size: .8rem; }
.media-card__actions { display: flex; justify-content: space-between; align-items: center; }
.media-pick { width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 48px); border: 0; border-radius: 14px; padding: 0; box-shadow: 0 30px 80px rgba(15, 23, 42, .35); }
.media-pick::backdrop { background: rgba(15, 23, 42, .5); }
.media-pick__head { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--a-line); position: sticky; top: 0; background: #fff; z-index: 1; }
.media-pick__head input[type=search] { flex: 1; min-width: 0; }
.media-pick__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; padding: 16px; }
.media-pick__item { border: 2px solid transparent; border-radius: 10px; background: #f8fafc; padding: 0; cursor: pointer; overflow: hidden; text-align: left; }
.media-pick__item:hover, .media-pick__item:focus-visible { border-color: var(--a-primary); }
.media-pick__item img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; background: #fff; }
.media-pick__item small { display: block; padding: 4px 6px; font-size: .7rem; color: var(--a-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.media-pick__foot { display: flex; justify-content: center; gap: 10px; padding: 0 16px 16px; }
/* Destek ve Sistem Sağlığı */
.health-list { list-style: none; margin: 0; padding: 0; }
.health-item { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: start; padding: 10px 18px; border-top: 1px solid #f1f5f9; }
.health-item__ico { display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border-radius: 50%; }
.health-item__label small { display: block; color: var(--a-muted); font-size: .8rem; margin-top: 2px; }
.health-item__value { font-size: .85rem; color: var(--a-ink); text-align: right; max-width: 260px; word-break: break-word; }
.health-item--fail { background: #fff7f7; }
.health-errors { list-style: none; margin: 0; padding: 0 18px 16px; display: grid; gap: 6px; }
.health-errors code { font-size: .78rem; white-space: normal; word-break: break-word; }
.ticket-thread { display: grid; gap: 12px; }
.ticket-msg { border: 1px solid var(--a-line); border-radius: 12px; padding: 12px 14px; background: #fff; max-width: 92%; }
.ticket-msg--dev { background: #eff6ff; border-color: #bfdbfe; margin-left: auto; }
.ticket-msg header { margin-bottom: 6px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ticket-msg__body { line-height: 1.55; word-break: break-word; }
.topbar__support { position: relative; }
.topbar__support b { position: absolute; top: -4px; right: -4px; background: var(--a-danger); color: #fff; font-size: .65rem; min-width: 16px; height: 16px; border-radius: 8px; display: grid; place-items: center; padding: 0 4px; }
/* Yedek & Güncelleme */
.update-card { display: flex; gap: 30px; padding: 14px 16px; border: 1px solid var(--a-line); border-radius: 12px; background: #f8fafc; margin-bottom: 12px; flex-wrap: wrap; }
.update-card > div { display: grid; gap: 2px; }
.update-card strong { font-size: 1.15rem; }
.update-card small { color: var(--a-muted); }
.update-card--new { border-color: #86efac; background: #f0fdf4; }
.update-notes { border-left: 3px solid var(--a-primary); padding: 6px 12px; margin: 0 0 12px; font-size: .9rem; }
.form-actions--left { justify-content: flex-start; margin-top: 10px; }
.restore { position: relative; }
.restore summary { list-style: none; }
.restore__form { position: absolute; right: 0; z-index: 5; width: 280px; background: #fff; border: 1px solid var(--a-line); border-radius: 12px; padding: 12px; box-shadow: var(--a-shadow); margin-top: 6px; }
.maint-summary { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--a-line); border-radius: 12px; background: #f8fafc; margin-top: 14px; }
.maint-summary > div { display: flex; gap: 10px; align-items: flex-start; }
.maint-summary small { display: block; color: var(--a-muted); }
@media (max-width: 760px) { .maint-summary { grid-template-columns: 1fr; } }

/* Entegrasyon modülleri: kopyalanabilir adres, akış satırları, veri kontrol listesi */
.input-sm { padding: 6px 9px; font-size: .86rem; }
.input-copy { display: flex; gap: 6px; align-items: center; }
.input-copy input { flex: 1; min-width: 0; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .8rem; background: #f8fafc; }
.feed-list { display: grid; gap: 18px; }
.feed-row { display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid var(--a-line); }
.feed-row:first-child { border-top: 0; padding-top: 0; }
.feed-row__head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.feed-row .hint { margin: 0; }
.feed-audit { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.feed-audit li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: start; }
.feed-audit strong { font-size: 1.05rem; text-align: center; border-radius: 8px; padding: 4px 0; background: #ecfdf5; color: #047857; font-variant-numeric: tabular-nums; }
.feed-audit li.is-warn strong { background: #fff7ed; color: #c2410c; }
.feed-audit span { font-size: .88rem; font-weight: 600; }
.feed-audit small { display: block; font-weight: 400; color: var(--a-muted); }
.page-actions__buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.page-actions > .hint { margin: 0; max-width: 70ch; }
.pz-log { list-style: none; margin: 0; padding: 0; max-height: 420px; overflow-y: auto; }
.pz-log li { display: grid; gap: 2px; padding: 9px 16px; border-top: 1px solid var(--a-line); font-size: .84rem; border-left: 3px solid #10b981; }
.pz-log li.is-err { border-left-color: #ef4444; background: #fef2f2; }
.pz-log li small { color: var(--a-muted); }
.pz-log span { overflow-wrap: anywhere; }
.sms-events { display: grid; gap: 14px; margin-bottom: 10px; }
.sms-event { display: grid; gap: 6px; }
.sms-event textarea { font-size: .88rem; }
.box__foot { padding: 12px 18px; margin: 0; border-top: 1px solid var(--a-line); }
.dl-grid { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 8px 16px; margin: 0; font-size: .92rem; }
.dl-grid dt { color: var(--a-muted); font-weight: 600; }
.dl-grid dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .dl-grid { grid-template-columns: 1fr; gap: 2px; } .dl-grid dd { margin-bottom: 8px; } }
.return-photos { display: flex; gap: 10px; flex-wrap: wrap; }
.return-photos img { width: 140px; height: 140px; object-fit: cover; border-radius: 10px; border: 1px solid var(--a-line); }
.stack-buttons { display: grid; gap: 8px; }
.check-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 16px; margin-bottom: 8px; }
.rz-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.rz-actions + .rz-actions { margin-top: 6px; }
.rz-daypick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -6px 0 14px; font-size: .9rem; color: var(--a-muted, #64748b); }
.rz-daypick input { width: auto; }
.table tr.is-focus td { background: #fffbeb; }
.rz-blocks { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; font-size: .84rem; }
.rz-blocks li { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--a-line); padding-top: 6px; }
.rz-month { min-width: 130px; text-align: center; align-self: center; }
.rz-occ { border-collapse: collapse; font-size: .78rem; width: 100%; }
.rz-occ th, .rz-occ td { border: 1px solid var(--a-line); text-align: center; padding: 6px 2px; min-width: 26px; }
.rz-occ thead th { background: #f8fafc; color: var(--a-muted); font-weight: 700; }
.rz-occ thead th.is-weekend { color: #b45309; }
.rz-occ thead th.is-today { background: #dbeafe; color: #1e40af; }
.rz-occ tbody th { text-align: left; padding: 6px 10px; min-width: 180px; font-weight: 600; white-space: nowrap; }
.rz-occ tbody th small { display: block; color: var(--a-muted); font-weight: 400; }
.rz-occ td.is-part { background: #fef3c7; font-weight: 700; color: #92400e; }
.rz-occ td.is-full { background: #fecaca; font-weight: 700; color: #991b1b; }
/* Güvenlik Kalkanı */
.sec-ip { font-size: 1.05rem !important; word-break: break-all; }
.sec-path { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sec-list { list-style: none; margin: 0; padding: 0; }
.sec-list li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--a-line); font-size: .88rem; }
.sec-list li:first-child { border-top: 0; }
.sec-list li span { color: var(--a-muted); }
/* Ürün görseli arka plan temizleme */
.img-bg-btn { width: 100%; justify-content: center; margin: 6px 0; font-size: .78rem; }
.image-item.is-busy img { opacity: .4; }
.image-item img[data-img-thumb] { background: repeating-conic-gradient(#e2e8f0 0 25%, #fff 0 50%) 0 0 / 14px 14px; }
.refit-bar { width: 100%; height: 8px; margin-top: 8px; }

/* Yönetim Uygulaması tanıtımı (QR ile telefona yükleme) */
.app-intro { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; margin: 16px 0; }
.app-intro__qr { padding: 10px; border: 1px solid var(--a-line, #e2e8f0); border-radius: 14px; background: #fff; }
.app-intro__qr svg { display: block; width: 100%; height: auto; }
.app-intro__steps { margin: 0; padding-left: 22px; }
.app-intro__steps li { margin: 8px 0; }
.app-intro__steps code { word-break: break-all; }
.app-intro-list { margin: 0 0 14px; padding-left: 18px; }
.app-intro-list li { margin: 6px 0; }
@media (max-width: 640px) { .app-intro { grid-template-columns: 1fr; } .app-intro__qr { max-width: 220px; } }

/* Lisans paketleri (Temel Web / Uzman / E-Ticaret Full) */
.tag--pkg-temel { background: #e0f2fe; color: #075985; }
.tag--pkg-uzman { background: #ede9fe; color: #5b21b6; }
.tag--pkg-eticaret { background: #dcfce7; color: #166534; }
a.tag { text-decoration: none; }
.pkg-badge { display: inline-grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; color: #fff; background: #0284c7; }
.pkg-badge--uzman { background: #7c3aed; }
.pkg-badge--eticaret { background: #059669; }
.pkg-current__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.pkg-current__head h2 { margin: 2px 0 2px; font-size: 1.35rem; }
.pkg-current__head p { margin: 0; }
.pkg-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 24px; padding: 14px 0; border-top: 1px solid var(--a-line, #e2e8f0); }
.pkg-includes { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; margin: 0; font-weight: 600; color: #166534; }
.pkg-group strong { display: block; margin-bottom: 4px; }
.pkg-list { list-style: none; margin: 0 0 6px; padding: 0; }
.pkg-list li { position: relative; padding: 3px 0 3px 22px; font-size: .92rem; line-height: 1.4; }
.pkg-list li::before { content: ""; position: absolute; left: 3px; top: 8px; width: 10px; height: 6px; border-left: 2px solid #059669; border-bottom: 2px solid #059669; transform: rotate(-45deg); }
.pkg-subtitle { margin: 14px 0 8px; font-size: 1rem; }
.pkg-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.pkg-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: #f1f5f9; color: #475569; font-size: .84rem; border: 1px solid #e2e8f0; }
.pkg-chip.is-on { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.pkg-chip em { font-style: normal; font-size: .72rem; padding: 0 5px; border-radius: 6px; background: #7c3aed; color: #fff; }
.pkg-chip--legend { padding: 1px 8px; font-size: .78rem; }
.pkg-plans { margin-top: 8px; }
.pkg-plans__head h2 { margin: 0 0 4px; font-size: 1.3rem; }
.pkg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 14px 0 18px; }
@media (max-width: 1100px) { .pkg-grid { grid-template-columns: 1fr; } }
.pkg-card { position: relative; display: flex; flex-direction: column; padding: 22px; border-radius: 16px; background: #fff; border: 2px solid #e2e8f0; box-shadow: 0 1px 3px rgba(15, 23, 42, .05); }
.pkg-card.is-current { border-color: #2563eb; box-shadow: 0 10px 30px -12px rgba(37, 99, 235, .45); }
.pkg-card h3 { margin: 10px 0 2px; font-size: 1.25rem; }
.pkg-card__tagline { margin: 0 0 6px; font-weight: 600; }
.pkg-card__group { display: block; margin: 12px 0 4px; font-size: .9rem; }
.pkg-card__count { margin: 12px 0 0; color: #64748b; font-size: .85rem; }
.pkg-card__action { margin-top: auto; padding-top: 14px; }
.pkg-card__action .is-static { pointer-events: none; }
.pkg-card__flag { position: absolute; top: 14px; right: 14px; padding: 3px 10px; border-radius: 999px; background: #2563eb; color: #fff; font-size: .75rem; font-weight: 700; }
.pkg-card__flag--soft { background: #dcfce7; color: #166534; }
.pkg-compare summary { cursor: pointer; margin: 0; }
.pkg-compare[open] summary { margin-bottom: 12px; }
.pkg-table th.is-current, .pkg-table td.is-current { background: #eff6ff; }
.pkg-table__mark { text-align: center; color: #059669; width: 110px; }
.pkg-table th:not(:first-child) { text-align: center; }
.pkg-table__group td { background: #f8fafc; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .03em; color: #475569; }
.license-bar--demo { background: #eef2ff; color: #3730a3; border-color: #c7d2fe; }
.bullets + .box__title { margin-top: 18px; }

/* Görünüm → Kurulum sihirbazı kutusu */
.setup-start { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.setup-start p { margin: 0; max-width: 72ch; }

/* Kenar menü: Basit / Tüm menü geçişi */
.sidebar__mode { padding: 8px 14px 0; }
.sidebar__mode button { width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 10px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .14); background: transparent; color: #cbd5e1; font: inherit; font-size: .8rem; cursor: pointer; }
.sidebar__mode button:hover { background: rgba(255, 255, 255, .06); color: #fff; }

/* Panel: "Siteniz %X hazır" kartı */
.ready-card { display: flex; flex-direction: column; gap: 14px; }
.ready-card__head { display: flex; align-items: center; gap: 16px; }
.ready-card__head p { margin: 0; }
.ready-card__head .box__title { margin-bottom: 4px; }
.ready-card__ring { flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--a-primary) var(--p, 0%), #e2e8f0 0); }
.ready-card__ring b { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff; color: var(--a-ink); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.ready-card__ring small { font-size: .7rem; margin-left: 1px; }
.ready-card__bar { height: 8px; border-radius: 999px; background: #e2e8f0; overflow: hidden; }
.ready-card__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--a-primary), #60a5fa); transition: width .6s ease; }
.ready-card__next { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.ready-card__next a { height: 100%; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--a-line); border-radius: 12px; color: var(--a-ink); text-decoration: none !important; }
.ready-card__next a:hover { border-color: #93c5fd; background: #f8fbff; }
.ready-card__next span { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ready-card__next small { color: var(--a-muted); font-size: .8rem; line-height: 1.4; }
.ready-card__next .icon { color: var(--a-primary); }
.ready-card__all summary { cursor: pointer; color: var(--a-muted); font-size: .88rem; }
.ready-card__all ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 6px 16px; }
.ready-card__all li { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--a-text); }
.ready-card__all li .icon { color: var(--a-warning); }
.ready-card__all li.is-done { color: var(--a-muted); text-decoration: line-through; }
.ready-card__all li.is-done .icon { color: var(--a-success); }
.link-btn { background: none; border: 0; padding: 0; color: var(--a-primary); font: inherit; text-decoration: underline; cursor: pointer; }

/* Vitrin QR afişi */
.poster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-bottom: 12px; }
.poster-card { display: flex; flex-direction: column; gap: 8px; }
.poster-card h3 { margin: 4px 0 0; }
.poster-card p { margin: 0; }
.poster-card__qr { display: grid; place-items: center; aspect-ratio: 1; max-width: 180px; width: 100%; margin: 0 auto; padding: 10px; border-radius: 12px; background: #fff; border: 1px solid var(--a-line); }
.poster-card__qr svg { width: 100%; height: auto; }
.poster-card .form-actions { margin-top: auto; flex-wrap: wrap; }

/* Geri alma çubuğu */
.undo-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: #0f172a; color: #e2e8f0; }
.undo-bar > span { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 200px; }
.undo-bar small { color: #94a3b8; }

/* Yönetim Uygulamasından tam panele geçildiğinde "Uygulamaya dön" düğmesi (yüklü uygulamada tarayıcı geri düğmesi yok) */
.app-return {
    position: fixed; z-index: 90; left: 50%; bottom: max(14px, env(safe-area-inset-bottom));
    transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 20px; border-radius: 999px; background: #0f172a; color: #fff; font-weight: 600; font-size: 15px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .35); text-decoration: none;
}
.app-return:hover, .app-return:focus-visible { background: #1e293b; color: #fff; }
.app-return svg { flex: none; }
@media (min-width: 1024px) { .app-return { left: auto; right: 24px; transform: none; } }
@media print { .app-return { display: none; } }
body:has(.app-return) .content-wrap { padding-bottom: 84px; }

/* Ürün görseli altı bandı (ürün formu) */
.pb-field { margin-top: 18px; padding: 16px; border: 1px solid var(--a-line, #e5e7eb); border-radius: 12px; background: #fafbff; display: grid; gap: 12px; }
.pb-field__head { display: grid; gap: 2px; }
.pb-field__head strong { display: inline-flex; align-items: center; gap: 6px; }
.pb-field__body { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 18px; align-items: start; }
.pb-field__inputs { display: grid; gap: 8px; }
.pb-field__inputs input[data-pb-text] { width: 100%; }
.pb-field__label { font-weight: 600; font-size: .86rem; margin-top: 4px; }
.pb-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pb-chip { border: 1px solid #d6dae3; background: #fff; border-radius: 999px; padding: 4px 10px; font: inherit; font-size: .78rem; cursor: pointer; }
.pb-chip:hover { border-color: #2563eb; color: #2563eb; }
.pb-swatches { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pb-swatch { position: relative; cursor: pointer; }
.pb-swatch input[type=radio] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pb-swatch > span:not(.sr-only) { display: block; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #cbd2df; }
.pb-swatch input:checked + span { box-shadow: 0 0 0 3px #2563eb; }
.pb-swatch input:focus-visible + span { outline: 2px solid #2563eb; outline-offset: 3px; }
.pb-swatch--custom { display: inline-flex; align-items: center; gap: 4px; }
.pb-swatch--custom input[type=color] { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.pb-swatch--custom:has(input:checked) input[type=color] { box-shadow: 0 0 0 3px #2563eb; border-radius: 50%; }
.pb-preview { display: grid; gap: 0; text-align: center; }
.pb-preview__img { aspect-ratio: 1; background: #eef1f6; border-radius: 10px 10px 0 0; display: grid; place-items: center; color: #9aa3b5; overflow: hidden; }
.pb-preview__img img { width: 100%; height: 100%; object-fit: cover; }
.pb-preview__bar { padding: 7px 8px; font-weight: 700; font-size: .82rem; border-radius: 0 0 10px 10px; margin-bottom: 6px; }
@media (max-width: 760px) { .pb-field__body { grid-template-columns: 1fr; } .pb-preview { max-width: 220px; } }
.pb-field .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; }

/* Görünüm sayfası (2026-11): mevcut tema kartı, sekmeler, öneriler, filtre, demo eşleşmesi, büyük önizleme */
.look-hero { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 22px; align-items: center; background: #fff; border: 1px solid var(--a-line, #e5e7eb); border-radius: 16px; padding: 16px; margin-bottom: 18px; }
.look-hero__img { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #eef1f6; border: 1px solid var(--a-line, #e5e7eb); }
.look-hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.look-hero__eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #2563eb; }
.look-hero__body h2 { margin: 2px 0 2px; font-size: 1.4rem; }
.look-hero__body > p { margin: 0 0 10px; }
.look-hero__facts { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 4px; font-size: .88rem; color: #475569; }
.look-hero__facts li { display: flex; gap: 6px; align-items: center; }
.look-hero__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.look-hero__actions form { margin: 0; }
.look-tabs > .tabs-nav { margin-bottom: 16px; }
.look-tabs > .tabs-nav a { display: inline-flex; align-items: center; gap: 6px; }
.look-dot { width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, .25); display: inline-block; }
.look-reco__head { margin-bottom: 12px; }
.look-reco__head p { margin: 4px 0 0; }
.look-reco__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.look-mini { border: 1px solid var(--a-line, #e5e7eb); border-radius: 12px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.look-mini__img { display: block; padding: 0; border: 0; background: #eef1f6; aspect-ratio: 16 / 10; cursor: zoom-in; }
.look-mini__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.look-mini__body { display: grid; gap: 4px; padding: 10px 12px 12px; }
.look-mini__body small { color: #64748b; font-size: .76rem; line-height: 1.35; min-height: 2.6em; }
.look-mini__body form { margin: 4px 0 0; }
.look-filter { display: grid; gap: 10px; margin: 6px 0 16px; }
.look-filter__search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--a-line, #e5e7eb); border-radius: 10px; padding: 0 12px; max-width: 420px; color: #64748b; }
.look-filter__search input { border: 0; outline: 0; padding: 10px 0; flex: 1; background: transparent; font: inherit; }
.look-filter__chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.look-chip { flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--a-line, #e5e7eb); background: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .8rem; cursor: pointer; color: #334155; }
.look-chip.is-active { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
.theme-card[hidden] { display: none; }
button.theme-card__preview { position: relative; width: 100%; padding: 0; border: 0; cursor: zoom-in; }
.theme-card__zoom { position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; background: rgba(15, 23, 42, .75); color: #fff; font-size: .72rem; opacity: 0; transition: opacity .15s; }
.theme-card__preview:hover .theme-card__zoom, .theme-card__preview:focus-visible .theme-card__zoom { opacity: 1; }
.theme-card__tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 8px; }
.look-match { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 20px; align-items: start; border: 2px solid #bfdbfe; background: linear-gradient(180deg, #f8fbff, #fff); }
.look-match.is-fresh { border-color: #2563eb; box-shadow: 0 0 0 5px rgba(37, 99, 235, .12); animation: look-pulse 1.4s ease-out 2; }
@keyframes look-pulse { 50% { box-shadow: 0 0 0 10px rgba(37, 99, 235, .06); } }
.look-match__img { border-radius: 12px; overflow: hidden; background: #eef1f6; aspect-ratio: 8 / 3; }
.look-match__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.look-match__body h2 { margin: 2px 0 6px; font-size: 1.25rem; }
.look-match__body > p { margin: 0 0 8px; }
.look-match__meta { font-size: .8rem; color: #64748b; }
.look-match__form { display: grid; gap: 12px; margin-top: 6px; }
.look-match__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.look-dialog { border: 0; border-radius: 16px; padding: 0; width: min(1100px, 94vw); max-height: 92vh; overflow: auto; box-shadow: 0 30px 80px -20px rgba(15, 23, 42, .5); }
.look-dialog::backdrop { background: rgba(15, 23, 42, .6); }
.look-dialog__head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: #fff; border-bottom: 1px solid #e5e7eb; }
.look-dialog img { display: block; width: 100%; height: auto; }
@media (max-width: 860px) {
    .look-hero, .look-match { grid-template-columns: 1fr; }
    .look-hero__img { max-width: 360px; }
}

/* Canlı panel turu (tour.js) */
.tour[hidden] { display: none; }
.tour__shade { position: fixed; inset: 0; z-index: 9990; }
.tour__spot { position: fixed; z-index: 9991; border-radius: 10px; box-shadow: 0 0 0 4px #60a5fa, 0 0 0 9999px rgba(15, 23, 42, .62); transition: top .25s, left .25s, width .25s, height .25s; pointer-events: none; }
.tour__pop { position: fixed; z-index: 9992; background: #fff; border-radius: 14px; padding: 16px 18px 14px; box-shadow: 0 24px 60px -16px rgba(15, 23, 42, .55); transition: top .25s, left .25s; }
.tour__count { font-size: .72rem; font-weight: 700; color: #2563eb; letter-spacing: .06em; }
.tour__title { margin: 4px 0 6px; font-size: 1.05rem; color: #0f172a; }
.tour__text { margin: 0 0 14px; color: #475569; font-size: .9rem; line-height: 1.5; }
.tour__actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tour__nav { display: flex; gap: 6px; }
html.tour-on .sidebar { z-index: 9989; }
.tour-offer { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; border: 2px solid #bfdbfe; background: linear-gradient(90deg, #eff6ff, #fff); }
.tour-offer[hidden] { display: none; }
.tour-offer__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #2563eb; color: #fff; }
.tour-offer p { margin: 2px 0 0; }
.tour-offer__actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 760px) { .tour-offer { grid-template-columns: 1fr; } }

/* Katalog → Görsel Bantları (otomatik bant kuralları) */
.ab-rule { padding: 14px 0; border-top: 1px solid var(--a-line, #e5e7eb); }
.ab-rule:first-of-type { border-top: 0; padding-top: 4px; }
.ab-rule .hint { margin: 4px 0 10px; }
.ab-rule__grid { display: grid; grid-template-columns: 150px minmax(0, 1fr) 90px; gap: 12px; align-items: end; }
.ab-rule__grid input[type=color], .ab-camps input[type=color] { width: 54px; height: 38px; padding: 2px; border-radius: 8px; cursor: pointer; }
.ab-camps thead { display: none; }
.ab-camps, .ab-camps tbody { display: block; }
.ab-camps tr { display: grid; grid-template-columns: 44px minmax(160px, 1fr) 64px 150px 150px; gap: 8px 12px; padding: 12px 10px; border-bottom: 1px solid var(--a-line, #e5e7eb); align-items: end; }
.ab-camps td { display: grid; gap: 3px; border: 0; padding: 0; min-width: 0; }
.ab-camps td::before { content: attr(data-label); font-size: .72rem; color: #6b7280; font-weight: 600; }
.ab-camps td[data-label="Açık"] { align-self: center; }
.ab-camps td[data-label="Açık"] input { width: 18px; height: 18px; }
.ab-camps td[data-label="Kategori"] { grid-column: 2 / 4; }
.ab-form .ab-camps input[type=color] { width: 54px; height: 38px; }
.ab-camps input:not([type]), .ab-camps select { width: 100%; min-width: 0; }
.ab-camps__new { background: #f8faff; border-radius: 10px; }
.ab-presets { margin-top: 14px; display: grid; gap: 8px; }
.ab-samples { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 10px; }
.ab-samples li { display: grid; gap: 4px; font-size: .88rem; }
.ab-chip { justify-self: start; padding: 4px 10px; border-radius: 6px; font-weight: 700; font-size: .78rem; background: #dc2626; color: #fff; }
.ab-tips { padding-left: 18px; margin: 0; display: grid; gap: 6px; }
@media (max-width: 760px) {
    .ab-rule__grid { grid-template-columns: 1fr 1fr; }
    .ab-rule__grid .field:nth-child(2) { grid-column: 1 / -1; order: -1; }
    .ab-camps tr { grid-template-columns: 1fr 1fr; }
    .ab-camps td[data-label="Metin"], .ab-camps td[data-label="Kategori"] { grid-column: 1 / -1; }
}
.ab-camps td .tag, .ab-camps td[data-label="Sil"] input { justify-self: start; }
.ab-camps td[data-label="Sil"] input { width: 18px; height: 18px; margin-bottom: 10px; }
.theme-acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.theme-acts form { margin: 0; }
.theme-preview-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.theme-preview-note > span { flex: 1 1 260px; }

/* Panel: Sıradaki en iyi adım (SiteReadiness + Advisor + bekleyen işler) */
.next-step { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; border-left: 4px solid #2563eb; background: linear-gradient(100deg, #f5f8ff, #fff 55%); }
.next-step--warning { border-left-color: #f59e0b; background: linear-gradient(100deg, #fffaf0, #fff 55%); }
.next-step__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #2563eb; color: #fff; box-shadow: 0 10px 24px -12px rgba(37, 99, 235, .8); }
.next-step--warning .next-step__icon { background: #f59e0b; box-shadow: 0 10px 24px -12px rgba(245, 158, 11, .8); }
.next-step__eyebrow { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #2563eb; }
.next-step--warning .next-step__eyebrow { color: #b45309; }
.next-step__body h2 { margin: 2px 0 4px; font-size: 1.15rem; line-height: 1.3; }
.next-step__body p { margin: 0; }
.next-step__more { margin-top: 8px !important; font-size: .82rem; color: #6b7280; }
.next-step__more a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.next-step__actions { display: grid; gap: 6px; justify-items: end; }
.next-step__actions form { margin: 0; }
@media (max-width: 760px) {
    .next-step { grid-template-columns: auto minmax(0, 1fr); }
    .next-step__actions { grid-column: 1 / -1; display: flex; justify-content: flex-start; flex-wrap: wrap; }
}

/* Ürün formu: Fiyat yardımcısı */
.price-help { margin-top: 18px; display: grid; gap: 10px; }
.price-help__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.price-help__card { border: 1px solid var(--a-line, #e5e7eb); border-radius: 12px; padding: 12px 14px; background: #fafbff; display: grid; gap: 8px; align-content: start; }
.price-help__card p { margin: 0; }
.price-help__big { font-size: 1.15rem; font-weight: 700; }
.price-help__big small { font-size: .75rem; font-weight: 500; color: #6b7280; }
.price-help__calc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-help__calc label { display: grid; gap: 3px; font-size: .78rem; color: #6b7280; }
.price-help__warn { margin: 0; padding: 8px 12px; border-radius: 8px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; font-size: .88rem; }
.price-help__src ul { margin: 6px 0 0; padding-left: 18px; font-size: .82rem; }
.link-btn { border: 0; background: none; padding: 0; color: #2563eb; font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; text-decoration: underline; }
.sidebar__foot { display: grid; gap: 2px; }
.sidebar__brand a, .sidebar__brand { color: #94a3b8; }
.sidebar__brand a:hover { color: #fff; }

/* İçerik koruması (Ayarlar → Koruma): görsel sürükleme ve mobilde uzun basınca "görseli kaydet" menüsü kapalı */
.nx-protect img { -webkit-user-drag: none; user-drag: none; -webkit-touch-callout: none; }

/* Filigran görseli önizlemesi (saydam zemin dama deseniyle gösterilir) */
.wm-field__logo { display: inline-flex; align-items: center; justify-content: center; padding: 10px; border: 1px solid var(--line, #e5e7eb); border-radius: 8px; background: repeating-conic-gradient(#e9ecf1 0 25%, #fff 0 50%) 0 0 / 16px 16px; max-width: 240px; }
.wm-field__logo img { max-height: 64px; width: auto; }
.wm-field { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line, #e5e7eb); }

/* Form şablonu düzenleyici */
.forms-tabs { margin-bottom: 16px; }
.ftpl-fields { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.ftpl-field { border: 1px solid var(--a-line, #e2e8f0); border-radius: 10px; padding: 10px 12px; background: var(--a-surface, #fff); }
.ftpl-field__head { display: grid; grid-template-columns: auto minmax(120px, 1fr) 150px auto 100px auto; gap: 8px; align-items: center; }
.ftpl-field__head .btn-row { flex-wrap: nowrap; gap: 2px; }
.ftpl-field__grip { color: #94a3b8; letter-spacing: -2px; }
.ftpl-field__label { font-weight: 600; }
.ftpl-field__more { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin-top: 8px; font-size: .85rem; }
.ftpl-field__more label { display: flex; flex-direction: column; gap: 4px; color: var(--a-muted, #64748b); }
.ftpl-field__more [hidden] { display: none; }
.ftpl-field--heading { background: #f8fafc; }
.ftpl-field--heading .ftpl-field__more, .ftpl-field--heading .check { display: none; }
.ftpl-more { margin-top: 14px; }
.ftpl-more > summary { list-style: none; margin-bottom: 12px; }
@media (max-width: 900px) {
    .ftpl-field__head { grid-template-columns: auto 1fr 1fr; }
    .ftpl-field__more { grid-template-columns: 1fr; }
}

/* ===================== Panel Yardımcısı (App\Services\Coach) ===================== */
.coach .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.coach-fab { position: fixed; right: 20px; bottom: 20px; z-index: 900; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border: 0; border-radius: 999px; background: var(--a-primary); color: #fff; font: inherit; font-weight: 700; font-size: .95rem; box-shadow: 0 10px 28px -8px rgba(29, 78, 216, .55); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.coach-fab:hover, .coach-fab:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(29, 78, 216, .65); outline: none; }
.coach-fab__badge { position: absolute; top: -6px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #ef4444; color: #fff; font-size: .75rem; line-height: 22px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.coach-fab--nudge { animation: coach-wiggle 1.2s ease-in-out 3; }
.coach-fab[data-tip]::after { content: attr(data-tip); position: absolute; right: 0; bottom: calc(100% + 10px); white-space: nowrap; background: var(--a-ink); color: #fff; font-size: .85rem; font-weight: 600; padding: 8px 12px; border-radius: 10px; }
@keyframes coach-wiggle { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-8deg) scale(1.06); } 40% { transform: rotate(8deg) scale(1.06); } 60% { transform: rotate(-4deg); } }
.coach-is-open .coach-fab { opacity: 0; pointer-events: none; }
.coach { position: fixed; right: 20px; bottom: 20px; z-index: 950; width: min(400px, calc(100vw - 24px)); max-height: min(720px, calc(100vh - 40px)); display: flex; flex-direction: column; background: #fff; border-radius: 18px; box-shadow: 0 24px 60px -12px rgba(15, 23, 42, .35); border: 1px solid var(--a-line); overflow: hidden; }
.coach[hidden], .coach-hint[hidden], .coach-pop[hidden], .coach [hidden] { display: none !important; }
.coach__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(135deg, var(--a-primary), #4f46e5); color: #fff; }
.coach__head strong { display: block; font-size: 1.05rem; }
.coach__head small { opacity: .85; }
.coach__avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .18); flex-shrink: 0; }
.coach__close { margin-left: auto; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; cursor: pointer; flex-shrink: 0; }
.coach__close:hover { background: rgba(255, 255, 255, .28); }
.coach__body { overflow-y: auto; padding: 14px 16px 6px; display: grid; gap: 14px; }
.coach__body h3 { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: .95rem; color: var(--a-ink); }
.coach__welcome, .coach__page { padding: 12px 14px; border-radius: 14px; background: #eff6ff; border: 1px solid #dbeafe; }
.coach__welcome p { margin: 0 0 8px; }
.coach__lead { margin: 0 0 8px; color: var(--a-text); }
.coach__steps { margin: 0 0 10px; padding-left: 22px; display: grid; gap: 6px; font-size: .92rem; }
.coach__steps li::marker { font-weight: 700; color: var(--a-primary); }
.coach__row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.coach__progress { height: 10px; border-radius: 99px; background: #e2e8f0; overflow: hidden; }
.coach__progress span { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #22c55e, #16a34a); transition: width .4s; }
.coach__progress-text { margin: 6px 0 10px; font-size: .85rem; color: var(--a-muted); }
.coach__empty { display: flex; gap: 8px; align-items: center; margin: 0; padding: 10px 12px; border-radius: 12px; background: #f0fdf4; color: var(--a-success); font-weight: 600; }
.coach__tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.coach-task { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--a-line); background: #fff; transition: opacity .25s, transform .25s; }
.coach-task__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #eff6ff; color: var(--a-primary); }
.coach-task--warning .coach-task__icon { background: #fff7ed; color: var(--a-warning); }
.coach-task--done { background: #f8fafc; }
.coach-task--done .coach-task__icon { background: #dcfce7; color: var(--a-success); }
.coach-task--done strong { color: var(--a-muted); font-weight: 600; }
.coach-task--gone { opacity: 0; transform: translateX(20px); }
.coach-task__text strong { display: block; font-size: .93rem; color: var(--a-ink); }
.coach-task__text small { display: block; margin: 2px 0 8px; color: var(--a-muted); line-height: 1.4; }
.coach__info { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: #fefce8; font-size: .9rem; }
.coach__routine summary { cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--a-text); }
.coach__routine ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; font-size: .88rem; }
.coach__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 10px 16px; border-top: 1px solid var(--a-line); background: #f8fafc; font-size: .85rem; }
.coach__foot a { display: inline-flex; gap: 4px; align-items: center; color: var(--a-text); text-decoration: none; }
.coach__foot a:hover { color: var(--a-primary); }
.coach__mode { margin-left: auto; }
.coach__mode select { font: inherit; font-size: .82rem; padding: 4px 8px; border: 1px solid var(--a-line); border-radius: 8px; background: #fff; }
.coach-hint { position: fixed; right: 20px; bottom: 82px; z-index: 899; width: min(330px, calc(100vw - 24px)); padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid #dbeafe; box-shadow: 0 18px 44px -14px rgba(15, 23, 42, .35); animation: coach-in .35s ease-out; }
.coach-hint strong { display: flex; gap: 6px; align-items: center; color: var(--a-ink); }
.coach-hint p { margin: 6px 0; font-size: .9rem; color: var(--a-text); }
.coach-hint__step { padding: 6px 10px; border-radius: 10px; background: #eff6ff; }
@keyframes coach-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.coach-term { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 2px; padding: 0; border: 0; border-radius: 50%; background: #e0e7ff; color: #4338ca; font-weight: 700; font-size: 11px; line-height: 1; vertical-align: middle; cursor: help; text-transform: none; letter-spacing: 0; }
.coach-term:hover, .coach-term:focus-visible { background: #4338ca; color: #fff; outline: none; }
.coach-term--demo { cursor: default; }
.coach-pop { position: fixed; z-index: 1000; max-width: 280px; padding: 10px 12px; border-radius: 12px; background: var(--a-ink); color: #fff; font-size: .88rem; box-shadow: 0 14px 34px -10px rgba(15, 23, 42, .5); }
.coach-pop strong { display: block; margin-bottom: 2px; }
.coach-pop p { margin: 0; color: #cbd5e1; }
@media (max-width: 640px) {
    .coach-fab { right: 12px; bottom: 12px; padding: 12px; }
    .coach-fab__label { display: none; }
    .coach { right: 8px; bottom: 8px; left: 8px; width: auto; max-height: calc(100vh - 16px); }
    .coach-hint { right: 12px; bottom: 74px; }
}
@media print { .coach-fab, .coach, .coach-hint, .coach-pop { display: none !important; } }
/* Kurulum hazırlık göstergesi (setup-pill) sağ altta duruyorsa yardımcı düğmesi üstüne kayar */
body:has(.setup-pill:not([hidden])) .coach-fab { bottom: 76px; }
body:has(.setup-pill:not([hidden])) .coach-hint { bottom: 138px; }

/* ===================== Lisans sayfası ===================== */
.lic-hero { border-top: 4px solid var(--a-line); }
.lic-hero--success { border-top-color: #16a34a; }
.lic-hero--warning { border-top-color: #f59e0b; }
.lic-hero--danger { border-top-color: #dc2626; }
.lic-hero--info { border-top-color: var(--a-primary); }
.lic-hero__top { display: flex; gap: 16px; align-items: flex-start; }
.lic-hero__icon { display: grid; place-items: center; flex-shrink: 0; width: 60px; height: 60px; border-radius: 18px; background: #eff6ff; color: var(--a-primary); }
.lic-hero--success .lic-hero__icon { background: #dcfce7; color: #15803d; }
.lic-hero--warning .lic-hero__icon { background: #fef3c7; color: #b45309; }
.lic-hero--danger .lic-hero__icon { background: #fee2e2; color: #b91c1c; }
.lic-hero__text { flex: 1; min-width: 0; }
.lic-hero__text h2 { margin: 2px 0 4px; font-size: 1.35rem; color: var(--a-ink); }
.lic-hero__text p { margin: 0; color: var(--a-text); }
.lic-hero__pkg { width: auto; height: auto; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.lic-checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.lic-checks li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; padding: 10px 12px; border-radius: 12px; background: #f8fafc; border: 1px solid var(--a-line); }
.lic-checks__mark { grid-row: span 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #dcfce7; color: #15803d; }
.lic-checks .is-warn .lic-checks__mark { background: #fef3c7; color: #b45309; }
.lic-checks li > span:nth-child(2) { font-size: .8rem; color: var(--a-muted); }
.lic-checks b { font-weight: 600; color: var(--a-ink); font-size: .92rem; }
.lic-meter { margin-top: 16px; }
.lic-meter__bar { height: 10px; border-radius: 99px; background: #e2e8f0; overflow: hidden; }
.lic-meter__bar span { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #3b82f6, #16a34a); }
.lic-meter__bar.is-low span { background: linear-gradient(90deg, #f59e0b, #dc2626); }
.lic-meter small { display: block; margin-top: 4px; color: var(--a-muted); }
.lic-hero .alert { margin: 16px 0 0; }
.lic-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.lic-actions form { margin: 0; }
.lic-details, .lic-move { margin-top: 16px; border-top: 1px solid var(--a-line); padding-top: 12px; }
.lic-details summary, .lic-move summary { cursor: pointer; font-weight: 600; color: var(--a-text); }
.lic-details .kv { margin-top: 10px; }
.lic-howto { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 4px; color: var(--a-text); }
.lic-howto li::marker { font-weight: 700; color: var(--a-primary); }
.lic-keyhint.is-ok { color: #15803d; font-weight: 600; }
.lic-keyhint.is-bad { color: #b45309; font-weight: 600; }
[data-lic-key].is-drop { border-color: var(--a-primary); background: #eff6ff; }
.lic-why__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lic-why__list li { display: flex; gap: 8px; align-items: flex-start; }
.lic-why__list .icon { flex-shrink: 0; margin-top: 3px; color: #16a34a; }
.lic-faq details { border-top: 1px solid var(--a-line); padding: 10px 0; }
.lic-faq details:first-of-type { border-top: 0; }
.lic-faq summary { cursor: pointer; font-weight: 600; }
.lic-faq p { margin: 6px 0 0; color: var(--a-text); font-size: .92rem; }
.lic-devnote { border: 1px dashed #a5b4fc; background: #f8faff; }
.lic-devnote code { font-size: .8em; }
@media (max-width: 640px) { .lic-hero__top { flex-wrap: wrap; } .lic-hero__icon { width: 48px; height: 48px; } }

/* Panel Yardımcısı — canlı "Adım adım" rehberi (sayfayı kilitlemez) */
.coach__guide-btn { margin: 4px 0 10px; }
.coach-focus { position: relative; z-index: 5; outline: 3px solid #6366f1 !important; outline-offset: 4px; border-radius: var(--a-radius); box-shadow: 0 0 0 9px rgba(99, 102, 241, .12) !important; transition: outline-color .2s, box-shadow .2s; scroll-margin: 120px; }
.coach-guide { position: fixed; left: calc(258px + 20px); bottom: 20px; z-index: 960; width: min(380px, calc(100vw - 24px)); padding: 14px 16px; border-radius: 16px; background: #0f172a; color: #e2e8f0; box-shadow: 0 24px 60px -16px rgba(15, 23, 42, .6); animation: coach-in .3s ease-out; }
.coach-guide[hidden] { display: none; }
.coach-guide__top { display: flex; align-items: center; justify-content: space-between; font-size: .78rem; color: #a5b4fc; font-weight: 700; letter-spacing: .02em; }
.coach-guide__x { border: 0; background: rgba(255, 255, 255, .1); color: #fff; width: 28px; height: 28px; border-radius: 50%; font-size: 18px; line-height: 1; cursor: pointer; }
.coach-guide__x:hover { background: rgba(255, 255, 255, .22); }
.coach-guide__dots { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0 10px; }
.coach-guide__dots button { width: 18px; height: 6px; padding: 0; border: 0; border-radius: 99px; background: #334155; cursor: pointer; }
.coach-guide__dots button.is-done { background: #22c55e; }
.coach-guide__dots button.is-now { background: #818cf8; width: 30px; }
.coach-guide__title { display: block; font-size: 1.02rem; color: #fff; margin-bottom: 4px; }
.coach-guide__text { margin: 0 0 12px; font-size: .9rem; line-height: 1.5; color: #cbd5e1; }
.coach-guide__nav { display: flex; justify-content: space-between; gap: 8px; }
.coach-guide .btn--ghost { color: #e2e8f0; border-color: #334155; background: transparent; }
.coach-guiding .coach-fab { opacity: .5; }
@media (max-width: 991px) { .coach-guide { left: 12px; } }
@media (max-width: 640px) { .coach-guide { left: 8px; right: 8px; bottom: 8px; width: auto; } }
/* Yapışkan "Kaydet" çubuğu olan sayfalarda düğme yardım düğmesinin altında kalmasın */
body:has(.coach-fab) .sticky-save { padding-right: 150px; }
@media (max-width: 640px) { body:has(.coach-fab) .sticky-save { padding-right: 70px; } }
.coach-guide--right { left: auto; right: 20px; bottom: 84px; }
@media (max-width: 640px) { .coach-guide--right { left: 8px; right: 8px; bottom: 8px; } }

/* Uzman tanıtım kartı (Temel paket, panel ana sayfası) */
.upsell { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; border: 1px solid #ddd6fe; background: linear-gradient(135deg, #faf5ff, #eff6ff); }
.upsell__main { display: flex; gap: 16px; align-items: flex-start; flex: 1 1 420px; }
.upsell__icon { display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; border-radius: 16px; background: #ede9fe; color: #6d28d9; }
.upsell__title { margin: 2px 0 6px; font-size: 1.15rem; color: var(--a-ink); }
.upsell__text { margin: 0 0 8px; color: var(--a-text); }
.upsell__locks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .9rem; color: var(--a-muted); }
.upsell__locks li { display: flex; gap: 6px; align-items: center; }
.upsell__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.upsell__actions form { margin: 0; }

/* Yönetim Uygulaması: telefon ekleme kodu */
.app-pair-code { margin: 8px 0; font: 700 2.4rem/1.1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .12em; color: var(--a-primary, #2563eb); }
.check-list--narrow { grid-template-columns: 1fr; gap: 4px; max-height: 280px; overflow: auto; }

/* Panel kısayolları (ana sayfa .quick satırı) */
.quick { position: relative; align-items: center; }
.ql-chip { position: relative; display: inline-flex; }
.ql-chip__x { position: absolute; top: -7px; right: -7px; margin: 0; opacity: 0; transition: opacity .15s; }
.ql-chip:hover .ql-chip__x, .ql-chip:focus-within .ql-chip__x { opacity: 1; }
@media (hover: none) { .ql-chip__x { opacity: 1; } }
.ql-chip__x button { width: 20px; height: 20px; border-radius: 50%; border: 1px solid #cbd5e1; background: #fff; color: #64748b; display: grid; place-items: center; padding: 0; cursor: pointer; box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }
.ql-chip__x button:hover { color: #dc2626; border-color: #dc2626; }
.ql-add { position: relative; }
.ql-add > summary { list-style: none; cursor: pointer; border-style: dashed; }
.ql-add > summary::-webkit-details-marker { display: none; }
.ql-add > summary small { color: var(--a-muted, #64748b); font-weight: 500; }
.ql-add[open] > summary { border-style: solid; border-color: var(--a-primary, #2563eb); color: var(--a-primary, #2563eb); }
.ql-pop { position: absolute; z-index: 60; top: calc(100% + 8px); right: 0; width: min(560px, calc(100vw - 32px)); max-height: min(72vh, 640px); overflow: auto; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; box-shadow: 0 24px 60px -18px rgba(15, 23, 42, .35); padding: 16px; display: grid; gap: 12px; }
@media (max-width: 720px) { .ql-pop { position: fixed; top: auto; bottom: 12px; left: 16px; right: 16px; width: auto; } }
.ql-pop__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ql-pop__head form { margin: 0; }
.ql-link { background: none; border: 0; padding: 0; color: var(--a-primary, #2563eb); font: inherit; font-size: 13px; cursor: pointer; }
.ql-current { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: ql; }
.ql-current li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px; border-radius: 8px; background: #f8fafc; counter-increment: ql; }
.ql-current__label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; min-width: 0; }
.ql-current__label::before { content: counter(ql); color: var(--a-muted, #94a3b8); font-size: 12px; width: 16px; text-align: right; }
.ql-current__tools { display: flex; gap: 2px; flex: none; }
.ql-current__tools form { margin: 0; }
.ql-current__tools button { width: 28px; height: 28px; border-radius: 6px; border: 0; background: transparent; color: #475569; display: grid; place-items: center; cursor: pointer; }
.ql-current__tools button:hover:not(:disabled) { background: #e2e8f0; }
.ql-current__tools button:disabled { opacity: .3; cursor: default; }
.ql-current__tools button.is-danger:hover { background: #fee2e2; color: #dc2626; }
.ql-addform { display: grid; gap: 10px; margin: 0; }
.ql-replace { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #475569; flex-wrap: wrap; }
.ql-replace select { flex: 1; min-width: 180px; padding: 6px 8px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; font-size: 13px; }
.ql-search { width: 100%; padding: 9px 12px; border: 1px solid #cbd5e1; border-radius: 9px; font: inherit; }
.ql-groups { display: grid; gap: 10px; }
.ql-group { display: grid; gap: 6px; }
.ql-group[hidden] { display: none; }
.ql-group__title { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--a-muted, #64748b); display: inline-flex; gap: 5px; align-items: center; }
.ql-items { display: flex; flex-wrap: wrap; gap: 6px; }
.ql-item { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid #e2e8f0; border-radius: 999px; background: #fff; font: inherit; font-size: 13px; color: #1e293b; cursor: pointer; }
.ql-item:hover:not(:disabled) { border-color: var(--a-primary, #2563eb); color: var(--a-primary, #2563eb); }
.ql-item:disabled { color: #94a3b8; background: #f8fafc; cursor: default; }
.ql-item[hidden] { display: none; }
.ql-item small { color: var(--a-muted, #64748b); font-size: 11px; }
.ql-item--sugg { border-color: color-mix(in srgb, var(--a-primary, #2563eb) 35%, #e2e8f0); background: color-mix(in srgb, var(--a-primary, #2563eb) 6%, #fff); }

/* Çok Al Az Öde (yönetim önizlemesi) */
.qd-preview { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.qd-card { display: flex; flex-direction: column; gap: 4px; padding: 12px; border: 1px solid var(--line, #e5e8f0); border-radius: 12px; background: #fff; }
.qd-card span { font-size: .88rem; color: #3b4459; }
.qd-card i { display: block; height: 6px; border-radius: 99px; background: linear-gradient(90deg, #2448d8, #ff8a1f); }
.qd-card em { font-style: normal; font-weight: 700; font-size: .8rem; color: #0f7a3d; }

/* Anahtar kelime başarısı */
.kw { margin-bottom: 18px; }
.kw__panel { border: 1px solid var(--line, #e5e8f0); border-radius: 14px; padding: 16px; background: #fff; display: grid; gap: 14px; }
.kw__panel[hidden] { display: none; }
.kw__head { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.kw__gauge { min-width: 104px; padding: 12px 10px; border-radius: 14px; text-align: center; display: grid; gap: 2px; border: 2px solid #d3d8e4; }
.kw__gauge strong { font-size: 1.9rem; line-height: 1; }
.kw__gauge span { font-size: .78rem; font-weight: 700; }
.kw__gauge--good { border-color: #1f9d55; color: #14773f; background: #eefaf3; }
.kw__gauge--ok { border-color: #5aa02c; color: #3d6f1a; background: #f3faea; }
.kw__gauge--warn { border-color: #d98a00; color: #8a5a00; background: #fff6e0; }
.kw__gauge--bad { border-color: #d64545; color: #a82d2d; background: #fdecec; }
.kw__meta { flex: 1; min-width: 220px; display: grid; gap: 6px; }
.kw__meta small { color: #64748b; }
.kw__bar { height: 8px; border-radius: 99px; background: #e8ecf4; overflow: hidden; }
.kw__bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #d64545, #d98a00, #1f9d55); background-size: 300px 100%; transition: width .4s ease; }
.kw__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.kw__item { display: flex; gap: 10px; align-items: flex-start; }
.kw__icon { flex: 0 0 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800; color: #fff; background: #94a3b8; }
.kw__item--ok .kw__icon { background: #1f9d55; }
.kw__item--partial .kw__icon { background: #d98a00; }
.kw__item--fail .kw__icon { background: #d64545; }
.kw__body { flex: 1; }
.kw__line { display: flex; justify-content: space-between; gap: 10px; }
.kw__line small { color: #64748b; }
.kw__body p { margin: 2px 0 0; color: #475569; font-size: .86rem; }
.kw__demand { border-top: 1px dashed #d3d8e4; padding-top: 12px; display: grid; gap: 6px; }
.kw__demand p { margin: 0; }
.kw__dhead { display: flex; gap: 10px; align-items: center; }
.kw__chip { padding: 2px 10px; border-radius: 99px; font-size: .78rem; font-weight: 700; background: #e8ecf4; }
.kw__chip--high { background: #dff4e7; color: #14773f; }
.kw__chip--mid { background: #fdf0d2; color: #8a5a00; }
.kw__chip--low, .kw__chip--none { background: #f1f3f8; color: #475569; }
.kw__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.kw__sug { border: 1px solid #d3d8e4; background: #fff; border-radius: 99px; padding: 4px 10px; font: inherit; font-size: .82rem; cursor: pointer; }
.kw__sug:hover { border-color: #2448d8; color: #2448d8; }
.kw__gsc { margin: 0; padding-left: 18px; font-size: .84rem; color: #334155; }
.kw__note { color: #94a3b8; }
.chip-kw { display: inline-block; padding: 1px 8px; border-radius: 99px; font-size: .75rem; font-weight: 700; }
.chip-kw--good { background: #dff4e7; color: #14773f; }
.chip-kw--ok { background: #eaf6dc; color: #3d6f1a; }
.chip-kw--warn { background: #fdf0d2; color: #8a5a00; }
.chip-kw--bad { background: #fbe0e0; color: #a82d2d; }

.kw__gate { border-top: 1px dashed #d3d8e4; padding-top: 12px; display: grid; gap: 8px; }
.kw__gate small { color: #64748b; }

/* Geri bildirim / rapor merkezi (yönetim) */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { background: #fff; border: 1px solid #e5e8f0; border-radius: 14px; padding: 14px 16px; display: grid; gap: 2px; }
.stat strong { font-size: 1.6rem; color: #0f172a; }
.stat span { color: #64748b; font-size: .85rem; }
.stat--alert { border-color: #d64545; background: #fdecec; }
.fb-emoji { font-size: 1.4rem; }
.fb-quote { margin: 6px 0; padding: 8px 12px; border-left: 3px solid #cbd5e1; background: #f8fafc; border-radius: 6px; }
.fb-status { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.fb-link { width: 100%; margin-top: 6px; font-size: .75rem; }
