@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #f0f2f5;
    --surface: #fff;
    --surface-2: #f7f8fa;
    --border: #e2e6ec;
    --border-strong: #d0d5de;
    --text: #12151c;
    --text-soft: #3d4454;
    --muted: #7a8294;
    --primary: #0d9488;
    --primary-2: #0f766e;
    --primary-soft: #e6f7f5;
    --grad: linear-gradient(135deg, #0d9488, #0f766e);
    --green: #059669;
    --green-soft: #ecfdf5;
    --red: #dc2626;
    --red-soft: #fef2f2;
    --blue: #2563eb;
    --blue-soft: #eff6ff;
    --shadow: 0 2px 8px rgba(15, 20, 30, .06), 0 1px 2px rgba(15, 20, 30, .04);
    --shadow-md: 0 8px 20px rgba(15, 20, 30, .08);
    --ring: 0 0 0 3px rgba(13, 148, 136, .18);
    --radius: 14px;
    --radius-sm: 10px;
    --sidebar-w: 250px;
    --sidebar-bg: #151922;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    background:
        radial-gradient(900px 400px at 0% -5%, rgba(13, 148, 136, .07), transparent 55%),
        var(--bg);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, select { font-family: inherit; }

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(160deg, #0f172a 0%, #134e4a 55%, #0f766e 100%);
}
.login-card {
    width: 100%;
    max-width: 400px;
    background: #fff;
    padding: 40px 34px 34px;
    border-radius: 18px;
    box-shadow: 0 28px 60px -18px rgba(0, 0, 0, .45);
    display: flex;
    flex-direction: column;
}
.login-logo {
    width: 58px; height: 58px; margin: 0 auto 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: #fff; border-radius: 16px; background: var(--grad);
}
.login-card h1 { font-size: 22px; text-align: center; font-weight: 800; }
.login-sub { text-align: center; color: var(--muted); margin-bottom: 24px; font-size: 14px; }
.login-card label { font-size: 12.5px; font-weight: 600; margin: 14px 0 6px; color: var(--text-soft); }
.login-card input {
    padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
    font-size: 15px; background: var(--surface-2);
}
.login-card input:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: var(--ring); }
.login-card .btn { margin-top: 24px; }

.layout { display: flex; min-height: 100vh; }
.sidebar {
    width: var(--sidebar-w);
    background: var(--sidebar-bg);
    color: #a8b0c0;
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 100;
}
.sidebar-brand {
    display: flex; align-items: center; gap: 12px;
    padding: 20px; font-size: 15px; font-weight: 700; color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.brand-icon {
    width: 34px; height: 34px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: var(--grad); color: #fff; font-size: 15px;
}
.sidebar-nav { display: flex; flex-direction: column; padding: 14px 12px; gap: 3px; flex: 1; }
.sidebar-nav a {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 500;
    color: #a8b0c0;
}
.sidebar-nav a.active { background: rgba(13, 148, 136, .22); color: #5eead4; }
.sidebar-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-ico { width: 20px; text-align: center; }
.sidebar-footer { padding: 14px; border-top: 1px solid rgba(255,255,255,.06); }
.sidebar-logout {
    display: block; font-size: 13px; color: #a8b0c0; padding: 8px 12px; border-radius: 8px;
}
.sidebar-logout:hover { color: #fca5a5; background: rgba(220, 38, 38, .12); }

.main {
    flex: 1;
    margin-left: var(--sidebar-w);
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.topbar {
    background: rgba(255,255,255,.92);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 14px;
    position: sticky;
    top: 0;
    z-index: 50;
}
.topbar-title { font-size: 18px; font-weight: 800; flex: 1; }
.menu-toggle {
    display: none; background: none; border: none; font-size: 22px; cursor: pointer;
    width: 40px; height: 40px; border-radius: 10px;
}
.topbar-user { display: flex; align-items: center; gap: 10px; }
.user-avatar {
    width: 36px; height: 36px; border-radius: 50%; color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 700;
    background: var(--grad);
}
.user-name { font-size: 13.5px; font-weight: 600; }
.role-badge {
    font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 20px;
}
.role-admin { background: var(--primary-soft); color: var(--primary-2); }

.content { padding: 24px 28px 40px; flex: 1; }
.page-center { width: 100%; max-width: 1400px; margin: 0 auto; }
.hit-board {
    display: flex;
    min-height: 560px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.hit-board[hidden] { display: none !important; }
.hit-board__side {
    width: 228px;
    flex-shrink: 0;
    overflow: auto;
    background: #151922;
    padding: 14px 10px;
}
.hit-board__gname {
    font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    color: #5eead4; padding: 4px 8px 10px;
}
.hit-board__item {
    -webkit-appearance: none; appearance: none;
    width: 100%;
    display: flex; align-items: center; gap: 8px;
    padding: 8px;
    margin-bottom: 4px;
    border: 0; border-radius: 10px;
    background: transparent; color: #c5cdd8;
    font-family: inherit; text-align: left; cursor: pointer;
}
.hit-board__item:hover { background: rgba(255,255,255,.06); color: #fff; }
.hit-board__item.is-on {
    background: rgba(13, 148, 136, .22);
    color: #fff;
    box-shadow: inset 3px 0 0 #2dd4bf;
}
.hit-board__ico {
    width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: #1c2430; color: #5eead4; font-size: 12px; font-weight: 800;
}
.hit-board__item.is-on .hit-board__ico { background: #0d9488; color: #fff; }
.hit-board__iname {
    flex: 1; min-width: 0; font-size: 12.5px; font-weight: 700;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hit-board__n {
    font-size: 11px; font-weight: 800;
    background: rgba(255,255,255,.08); color: #a8b0c0;
    padding: 2px 7px; border-radius: 999px;
}
.hit-board__item.is-on .hit-board__n { background: rgba(45, 212, 191, .25); color: #ccfbf1; }
.hit-board__main {
    flex: 1; min-width: 0;
    overflow: auto;
    padding: 16px;
    background: #f7f8fa;
}

.alert {
    padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 18px;
    border: 1px solid transparent;
}
.alert-success { background: var(--green-soft); color: #047857; border-color: #a7f3d0; }
.alert-error { background: var(--red-soft); color: #b91c1c; border-color: #fecaca; }

.form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}
.form-card__intro { margin-bottom: 20px; text-align: center; }
.form-card__intro h2 { font-size: 1.2rem; margin: 0 0 4px; }
.form-card__intro p { margin: 0; color: var(--muted); font-size: 13.5px; }
.form-row { display: flex; gap: 16px; flex-wrap: wrap; }
.form-row .form-group { flex: 1; min-width: 180px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: var(--text-soft); }
.form-group label small { font-weight: 400; color: var(--muted); }
.form-group input,
.form-group select {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 14px;
    background: var(--surface-2);
    color: var(--text);
}
.form-group input:focus,
.form-group select:focus {
    outline: none; border-color: var(--primary); background: #fff; box-shadow: var(--ring);
}
.field-hint { display: block; color: var(--muted); font-size: 12.5px; margin-top: 6px; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.product-card {
    display: flex; flex-direction: column; gap: 4px;
    border: 1px solid var(--border); background: var(--surface-2);
    border-radius: 14px; padding: 14px; cursor: pointer;
    transition: border-color .15s, background .15s, box-shadow .15s;
}
.product-card:hover { border-color: var(--primary); }
.product-card.is-on,
.product-card:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-soft);
    box-shadow: var(--ring);
}
.product-card input { position: absolute; opacity: 0; pointer-events: none; }
.product-card__name { font-weight: 800; font-size: 14px; }
.product-card__hint { font-size: 12px; color: var(--muted); }
.product-card--all { grid-column: 1 / -1; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 10px 18px; border-radius: 11px; font-size: 13.5px; font-weight: 600;
    cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 18px -8px rgba(13, 148, 136, .7); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-block { width: 100%; }
.btn-copy-link {
    display: inline-flex; align-items: center; height: 34px; padding: 0 12px;
    border: 1px solid var(--border); background: #fff; color: var(--text-soft);
    border-radius: 10px; font-size: 12.5px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.btn-copy-link:hover { background: var(--primary-soft); color: var(--primary); border-color: #b8e8e2; }
.btn-copy-link.is-ok { color: #047857; border-color: #a7f3d0; background: var(--green-soft); }
.btn-icon {
    width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border);
    background: #fff; cursor: pointer; font-size: 14px;
    display: inline-flex; align-items: center; justify-content: center; color: var(--text-soft);
}
.btn-icon:hover { background: var(--primary-soft); color: var(--primary); }
.btn-icon.btn-danger:hover { background: var(--red-soft); color: var(--red); }
.btn-mini {
    height: 30px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--border);
    background: #fff; cursor: pointer; font-size: 12px; font-weight: 700; color: var(--text-soft);
}
.btn-mini:hover { background: var(--primary-soft); color: var(--primary); border-color: #b8e8e2; }
.btn-danger-text { color: var(--red); border-color: #fecaca; }
.btn-danger-text:hover { background: var(--red-soft); color: var(--red); }

.inline-form { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; }

.status-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid var(--border-strong); background: var(--surface-2);
    border-radius: 10px; padding: 6px 10px; cursor: pointer;
    font-weight: 600; font-size: 12px; color: var(--muted);
}
.status-toggle__sw {
    width: 34px; height: 19px; background: #d3d8e6; border-radius: 20px; position: relative; flex-shrink: 0;
}
.status-toggle__sw::after {
    content: ''; position: absolute; top: 2px; left: 2px; width: 15px; height: 15px;
    background: #fff; border-radius: 50%; transition: transform .2s;
}
.status-toggle.is-on { color: #047857; border-color: #a7f3d0; background: var(--green-soft); }
.status-toggle.is-on .status-toggle__sw { background: var(--green); }
.status-toggle.is-on .status-toggle__sw::after { transform: translateX(15px); }

.table-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow-x: auto;
    margin-top: 22px;
}
.data-table { width: 100%; border-collapse: collapse; min-width: 1100px; }
.data-table th {
    text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em;
    color: var(--muted); padding: 14px 16px; border-bottom: 1px solid var(--border); font-weight: 700;
    background: var(--surface-2); white-space: nowrap;
}
.data-table td {
    padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: top;
}
.data-table tbody tr:hover { background: var(--surface-2); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr.row-passive { opacity: .55; }
.u-name { font-weight: 700; }
.u-sub { color: var(--muted); font-size: 12.5px; }
.row-actions { display: flex; gap: 7px; justify-content: flex-end; align-items: center; flex-wrap: wrap; }

.chip {
    display: inline-flex; align-items: center;
    font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
    background: var(--blue-soft); color: var(--blue); white-space: nowrap;
}
.chip-boss { background: var(--blue-soft); color: var(--blue); }
.chip-admin { background: #f3e8ff; color: #7c3aed; }
.chip-v3 { background: #fff7ed; color: #c2410c; }
.chip-wp { background: var(--primary-soft); color: var(--primary-2); }
.chip-ex { background: #f1f5f9; color: #334155; }
.chip-all { background: #ecfeff; color: #0e7490; }

.stats {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0 auto 22px;
}
.stat-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 18px 20px; box-shadow: var(--shadow); position: relative; overflow: hidden;
    width: 200px; text-align: center;
}
.stat-card::after {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--grad);
}
.stat-value { font-size: 28px; font-weight: 800; line-height: 1; }
.stat-label { color: var(--muted); font-size: 12px; margin-top: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.stat-green::after { background: linear-gradient(180deg, #059669, #34d399); }
.stat-green .stat-value { color: var(--green); }

.refresh-packs {
    display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
    margin: 0 auto 22px; max-width: 860px;
}

.device-count {
    display: inline-flex; align-items: baseline; gap: 4px;
    font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 999px;
    border: 1px solid var(--border);
}
.device-count strong { font-size: 18px; line-height: 1; }
.device-count em { font-style: normal; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; opacity: .8; }
.device-count.is-empty { background: var(--surface-2); color: var(--muted); }
.device-count.is-on { background: var(--green-soft); color: #047857; border-color: #a7f3d0; }
.device-count.is-full { background: #fff7ed; color: #c2410c; border-color: #fed7aa; }
.device-cell { min-width: 220px; }
.device-cell__top {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}
.device-drop { min-width: 0; }
.device-drop__btn {
    display: inline-flex; align-items: center; gap: 8px;
    cursor: pointer; list-style: none; user-select: none;
}
.device-drop__btn::-webkit-details-marker { display: none; }
.device-drop__chev {
    width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
    transform: rotate(45deg); margin-top: -4px; transition: transform .15s;
}
.device-drop[open] .device-drop__chev { transform: rotate(225deg); margin-top: 2px; }
.device-drop .device-list { margin-top: 10px; }
.device-list { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.device-list li {
    background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px;
}
.device-list__name { font-weight: 700; font-size: 13px; color: var(--text); }
.device-list__mac { font-size: 12px; color: var(--text-soft); word-break: break-all; }
.device-list__seen { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.extend-form { margin-top: 8px; }
.limit-form { margin-top: 0; flex-shrink: 0; }
.extend-form input[type=number],
.limit-form input[type=number] {
    width: 64px; height: 30px; padding: 0 8px; border: 1px solid var(--border-strong);
    border-radius: 8px; background: var(--surface-2); font-size: 13px; font-weight: 600;
}

.hit-cat__sub { font-size: 13.5px; font-weight: 700; margin: 0 0 10px; color: var(--text); }
.hit-card--taken { opacity: .92; }
.hit-cat__title {
    font-size: 15px; font-weight: 800; margin: 0 0 12px; padding-bottom: 8px;
    border-bottom: 1px solid var(--border); color: var(--text-soft);
}
.hits-note { text-align: center; color: var(--muted); font-size: 13.5px; margin: 0 0 18px; }
.hit-search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto 18px;
    max-width: 720px;
}
.hit-search input[type=search] {
    width: 100%;
    height: 44px;
    padding: 0 16px;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    background: #fff;
    font-size: 14px;
    color: var(--text);
}
.hit-search input[type=search]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--ring);
}
.hit-search__n {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-2);
    background: var(--primary-soft);
    padding: 6px 10px;
    border-radius: 999px;
    white-space: nowrap;
}
.hit-pop {
    position: fixed;
    z-index: 4000;
    top: 168px;
    right: 24px;
    width: min(1080px, calc(100vw - 40px));
    height: min(700px, calc(100vh - 96px));
    display: flex;
    flex-direction: column;
    background: #0f141c;
    border: 1px solid rgba(94, 234, 212, .22);
    border-radius: 18px;
    box-shadow: 0 28px 70px -16px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255,255,255,.04);
    overflow: hidden;
    color: #e8edf4;
}
.hit-pop[hidden] { display: none !important; }
.hit-pop.is-front { z-index: 5000; box-shadow: 0 32px 80px -14px rgba(13, 148, 136, .35), 0 28px 70px -16px rgba(0, 0, 0, .55); }
.hit-pop__bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    background: linear-gradient(90deg, #0d9488 0%, #134e4a 42%, #151922 100%);
    color: #fff;
    cursor: move;
    user-select: none;
}
.hit-pop__mark {
    width: 28px; height: 28px; border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.16); font-size: 15px; font-weight: 800;
}
.hit-pop__title { font-weight: 800; font-size: 14px; letter-spacing: .01em; }
.hit-pop__meta { font-size: 12px; font-weight: 700; color: #ccfbf1; margin-right: auto; }
.hit-pop__btn {
    -webkit-appearance: none; appearance: none;
    height: 28px; min-width: 28px; padding: 0 10px;
    border: 0; border-radius: 8px;
    background: rgba(255,255,255,.12); color: #fff;
    font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.hit-pop__btn:hover { background: rgba(255,255,255,.22); }
.hit-pop__btn--x { font-size: 18px; line-height: 1; padding: 0 8px; }
.hit-pop__shell { display: flex; flex: 1; min-height: 0; }
.hit-pop__side {
    width: 228px;
    flex-shrink: 0;
    overflow: auto;
    background: #121722;
    border-right: 1px solid rgba(255,255,255,.06);
    padding: 12px 10px 16px;
}
.hit-pop__g { margin-bottom: 14px; }
.hit-pop__gname {
    font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    color: #7a8294; padding: 4px 8px 8px;
}
.hit-pop__g--pending .hit-pop__gname { color: #5eead4; }
.hit-pop__g--patlak .hit-pop__gname { color: #fdba74; }
.hit-pop__g--alindi .hit-pop__gname { color: #93c5fd; }
.hit-pop__g--yapildi .hit-pop__gname { color: #6ee7b7; }
.hit-pop__item {
    -webkit-appearance: none; appearance: none;
    width: 100%;
    display: flex; align-items: center; gap: 8px;
    padding: 8px 8px;
    margin-bottom: 4px;
    border: 0; border-radius: 10px;
    background: transparent; color: #c5cdd8;
    font-family: inherit; text-align: left; cursor: pointer;
}
.hit-pop__item:hover { background: rgba(255,255,255,.06); color: #fff; }
.hit-pop__item.is-on {
    background: rgba(13, 148, 136, .22);
    color: #fff;
    box-shadow: inset 3px 0 0 #2dd4bf;
}
.hit-pop__ico {
    width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: #1c2430; color: #5eead4; font-size: 12px; font-weight: 800;
}
.hit-pop__item.is-on .hit-pop__ico { background: #0d9488; color: #fff; }
.hit-pop__iname {
    flex: 1; min-width: 0; font-size: 12.5px; font-weight: 700;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hit-pop__n {
    font-size: 11px; font-weight: 800;
    background: rgba(255,255,255,.08); color: #a8b0c0;
    padding: 2px 7px; border-radius: 999px;
}
.hit-pop__item.is-on .hit-pop__n { background: rgba(45, 212, 191, .25); color: #ccfbf1; }
.hit-pop__main {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column;
    background:
        radial-gradient(700px 280px at 100% 0%, rgba(13, 148, 136, .12), transparent 55%),
        #f3f5f8;
    color: var(--text);
}
.hit-pop__head {
    padding: 12px 16px 0;
}
.hit-pop__now {
    display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
}
.hit-pop__now strong { font-size: 16px; font-weight: 800; }
.hit-pop__now em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--primary-2); }
.hit-pop__now span { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--muted); }
.hit-pop__body {
    flex: 1;
    overflow: auto;
    padding: 12px 16px 16px;
}
.hit-pop__empty { text-align: center; color: #7a8294; padding: 64px 16px; }
.hit-pop .hit-card { margin-bottom: 0; }
.hit-pop .hit-card__top { display: none; }
.hit-pop .hit-file { background: #fff; }
.hit-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
    box-shadow: var(--shadow); padding: 18px; margin-bottom: 14px;
}
.hit-card__top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.hit-card__name { font-weight: 800; font-size: 16px; }
.hit-card__count { font-size: 12px; font-weight: 700; color: var(--primary-2); background: var(--primary-soft); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.hit-dev { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.hit-dev:first-of-type { margin-top: 4px; }
.hit-dev__name { font-size: 13px; font-weight: 700; color: var(--text-soft); margin: 0 0 8px; }
.hit-file {
    border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2);
    margin-bottom: 8px;
}
.hit-file > summary {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px;
    cursor: pointer; list-style: none; user-select: none;
}
.hit-file > summary::-webkit-details-marker { display: none; }
.hit-file > summary::before {
    content: "▸"; color: var(--muted); font-size: 12px; width: 12px; flex-shrink: 0;
}
.hit-file[open] > summary::before { content: "▾"; }
.hit-file__name { font-family: ui-monospace, Consolas, monospace; font-weight: 700; flex: 1; font-size: 13.5px; }
.hit-file__n { font-size: 12px; font-weight: 700; color: var(--primary-2); white-space: nowrap; }
.hit-file__dl { flex-shrink: 0; }
.hit-file__body { padding: 0 12px 12px; }
.hit-lines { list-style: none; max-height: 520px; overflow: auto; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.hit-lines li {
    display: flex; gap: 10px; align-items: center;
    background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 7px 10px;
}
.hit-row {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.hit-row code {
    flex: 1;
    min-width: 0;
    display: block;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: text;
    border-radius: 6px;
}
.hit-row code:hover {
    background: #f8fafc;
}
.hit-row.is-editing code {
    overflow: auto;
    text-overflow: clip;
    outline: none;
    background: #fff;
    border: 1px solid var(--primary);
    padding: 3px 8px;
    box-shadow: var(--ring);
    white-space: nowrap;
}
.hit-row__btns {
    display: flex;
    gap: 5px;
    align-items: center;
    flex-wrap: nowrap;
    flex-shrink: 0;
}
.hit-act {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex; align-items: center; justify-content: center;
    height: 28px; padding: 0 10px; border: 0; border-radius: 8px;
    font-size: 12px; font-weight: 700;
    cursor: pointer; white-space: nowrap; text-decoration: none;
    font-family: inherit; line-height: 1;
    background-image: none;
    transition: filter .12s, background .12s, color .12s;
}
.hit-act:hover { filter: brightness(.96); }
.hit-act--patlak { background: #fff4e5; color: #9a3412; }
.hit-act--copy { background: #e8edf4; color: #0f172a; }
.hit-act--copy.is-ok { background: #d1fae5; color: #047857; }
.hit-act--alindi { background: #dbe7ff; color: #1e3a8a; }
.hit-act--yapildi { background: #0d9488; color: #fff !important; }
.hit-act--yapildi:hover { color: #fff !important; }
.hit-act--go { background: #dcfce7; color: #166534; }
.hit-act--sil { background: #fee2e2; color: #b91c1c; }
.hit-dom { margin-bottom: 12px; }
.hit-dom__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 6px; }
.hit-dom__name {
    font-size: 12.5px; font-weight: 800; color: var(--primary-2);
    margin: 0; font-family: ui-monospace, Consolas, monospace;
}
.hit-sm { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.hit-sm__i {
    display: inline-flex; align-items: baseline; gap: 4px;
    font-size: 11px; font-weight: 800; color: #0f766e;
    background: #ecfdf5; border: 1px solid #99f6e4; border-radius: 999px;
    padding: 2px 8px; white-space: nowrap;
}
.hit-sm__i em { font-style: normal; font-weight: 700; color: #64748b; font-size: 10px; }
.hit-sm--wait .hit-sm__i { color: #94a3b8; background: #f8fafc; border-color: #e2e8f0; }
.hit-day { margin-bottom: 28px; }
.hit-day__title {
    font-size: 18px; font-weight: 800; margin: 0 0 14px;
    display: flex; align-items: baseline; gap: 10px;
}
.hit-day__title span { font-size: 13px; font-weight: 700; color: var(--muted); }
.hit-src { flex-shrink: 0; font-size: 11px; font-weight: 700; color: var(--primary-2); background: #fff; border: 1px solid #b8e8e2; border-radius: 999px; padding: 2px 8px; }
.hit-lines code { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; }
.hit-card__actions { display: flex; gap: 10px; align-items: center; }
.hit-take { display: inline-flex; margin: 0; }
.btn-mini.btn-primary { background: var(--grad); color: #fff; border-color: transparent; }
.btn-mini.btn-primary:hover { color: #fff; filter: brightness(1.06); }

.empty-state {
    text-align: center; padding: 64px 20px; background: var(--surface);
    border: 1px dashed var(--border-strong); border-radius: 18px; color: var(--muted);
    margin-top: 22px;
}
.empty-icon {
    width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 18px;
    display: flex; align-items: center; justify-content: center; font-size: 32px;
    background: var(--primary-soft); color: var(--primary);
}

/* —— Canlı Paneller / Ayarlar —— */
.btn-soft {
    background: #fff;
    color: var(--text-soft);
    border: 1px solid var(--border-strong);
}
.btn-soft:hover { background: var(--primary-soft); color: var(--primary); border-color: #b8e8e2; }
.btn-sm { padding: 7px 12px; font-size: 12.5px; border-radius: 9px; }
.btn-block { width: 100%; }

.lp-hero, .as-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding: 22px 24px;
    border-radius: 18px;
    background:
        radial-gradient(500px 180px at 100% 0%, rgba(13,148,136,.14), transparent 60%),
        linear-gradient(180deg, #fff, #f7faf9);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.lp-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 6px;
}
.lp-hero h2, .as-hero h2 {
    margin: 0 0 6px;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -.02em;
}
.lp-hero p, .as-hero p {
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
    max-width: 520px;
}
.lp-endpoint {
    display: inline-block;
    margin-top: 12px;
    padding: 7px 10px;
    border-radius: 9px;
    background: #0f172a;
    color: #5eead4;
    font-size: 12px;
    font-family: ui-monospace, Consolas, monospace;
}

.lp-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}
.lp-tool {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.lp-tool__mark {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 800; letter-spacing: .04em;
    background: #ecfeff; color: #0e7490; border: 1px solid #a5f3fc;
}
.lp-tool__mark--enc { background: #f5f3ff; color: #6d28d9; border-color: #ddd6fe; }
.lp-tool__info { flex: 1; min-width: 0; }
.lp-tool__info strong { display: block; font-size: 14px; font-weight: 800; }
.lp-tool__info span { font-size: 12px; color: var(--muted); }
.lp-tool__btns { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }

.lp-toast {
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
}
.lp-toast.is-ok { background: var(--green-soft); color: #047857; }
.lp-toast.is-err { background: var(--red-soft); color: var(--red); }

.lp-editor {
    margin-bottom: 18px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.lp-editor__bar {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 10px;
}
.lp-editor__bar h3 { margin: 0; font-size: 15px; }
.lp-tool__btns { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.lp-item__av {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 13px;
    background: #0f172a; color: #5eead4;
}
.lp-item__foot {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border);
}
.btn-mini-go {
    background: #0f172a !important;
    color: #5eead4 !important;
    border-color: #0f172a !important;
}
.as-metrics {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
    margin: 14px 0;
}
.as-metrics div {
    text-align: center;
    padding: 12px 8px;
    border-radius: 12px;
    background: linear-gradient(180deg, #f0fdfa, #fff);
    border: 1px solid #ccfbf1;
}
.as-metrics b { display: block; font-size: 22px; font-weight: 800; color: #0f766e; line-height: 1; }
.as-metrics span { font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.as-form-inline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.as-files { display: flex; flex-direction: column; gap: 8px; }
.form-actions { display: flex; gap: 10px; align-items: center; }
.lp-tool--enc .lp-tool__mark { background: #f5f3ff; color: #6d28d9; border-color: #ddd6fe; }

.lp-editor__code {
    width: 100%;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    background: #0b1220;
    color: #e2e8f0;
    font-family: ui-monospace, Consolas, monospace;
    font-size: 12px;
    line-height: 1.45;
    padding: 14px;
    resize: vertical;
}

.stats--panels { margin-top: 6px; }

.lp-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0 14px;
}
.lp-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.lp-tabs a {
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--muted);
    background: #fff;
    border: 1px solid var(--border);
}
.lp-tabs a.is-on {
    color: #0f766e;
    background: var(--primary-soft);
    border-color: #99f6e4;
}

.lp-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.lp-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: var(--shadow);
}
.lp-item.is-live { border-color: #99f6e4; box-shadow: 0 0 0 1px rgba(13,148,136,.08), var(--shadow); }
.lp-item__head {
    display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.lp-item__av {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 13px;
    background: #0f172a; color: #5eead4;
}
.lp-item__meta { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lp-item__meta strong { font-size: 14px; }
.lp-item__url {
    display: block;
    font-size: 12.5px;
    color: var(--primary-2);
    word-break: break-all;
    margin-bottom: 6px;
}
.lp-item__url:hover { text-decoration: underline; }
.lp-item__foot {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border);
}
.lp-item__acts { display: flex; gap: 6px; }

/* Ayarlar */
.as-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 14px;
}
.as-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px 18px 16px;
    box-shadow: var(--shadow);
}
.as-card--wide { grid-column: 1 / -1; }
.as-card__top {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 12px;
}
.as-card__top h3 { margin: 0; font-size: 15px; font-weight: 800; }
.as-rows { display: flex; flex-direction: column; gap: 8px; }
.as-row {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
    padding: 10px 12px;
    background: var(--surface-2);
    border-radius: 10px;
}
.as-row span { color: var(--muted); font-size: 12.5px; font-weight: 600; flex-shrink: 0; }
.as-row strong, .as-row code {
    font-size: 12.5px; text-align: right; word-break: break-all;
    font-family: ui-monospace, Consolas, monospace;
}
.as-metrics {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
    margin: 14px 0;
}
.as-metrics div {
    text-align: center;
    padding: 12px 8px;
    border-radius: 12px;
    background: linear-gradient(180deg, #f0fdfa, #fff);
    border: 1px solid #ccfbf1;
}
.as-metrics b { display: block; font-size: 22px; font-weight: 800; color: #0f766e; line-height: 1; }
.as-metrics span { font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.as-form-inline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.as-files { display: flex; flex-direction: column; gap: 8px; }
.as-file {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 12px;
    border-radius: 12px;
    background: var(--surface-2);
}
.as-file strong { display: block; font-size: 13.5px; }
.as-file span { font-size: 12px; color: var(--muted); }
.as-help { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.as-form .form-group { margin: 12px 0; }
.as-check {
    display: flex; align-items: center; gap: 8px;
    font-size: 13.5px; font-weight: 600; margin: 8px 0 12px; cursor: pointer;
}

.btn-accent {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    border: none;
    box-shadow: 0 8px 18px -8px rgba(217, 119, 6, .65);
}
.btn-accent:hover { filter: brightness(1.06); color: #fff; }
.btn-accent:disabled { opacity: .45; filter: none; cursor: not-allowed; }

/* —— Canlı Paneller (cp) özel —— */
.cp { --cp-ink: #07111f; --cp-line: rgba(94, 234, 212, .22); --cp-glow: rgba(45, 212, 191, .35); }
.cp-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
    border-radius: 22px;
    border: 1px solid #163042;
    background:
        radial-gradient(420px 220px at 12% 0%, rgba(45, 212, 191, .28), transparent 55%),
        radial-gradient(380px 200px at 92% 10%, rgba(251, 191, 36, .18), transparent 50%),
        linear-gradient(155deg, #061018 0%, #0b1c2c 48%, #0a1624 100%);
    color: #e2e8f0;
    box-shadow: 0 24px 50px -28px rgba(2, 12, 24, .75);
}
.cp-hero__glow {
    position: absolute; inset: auto -20% -40% 40%; height: 70%;
    background: radial-gradient(circle, var(--cp-glow), transparent 68%);
    pointer-events: none;
}
.cp-hero__inner {
    position: relative;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
    padding: 26px 26px 24px;
}
.cp-hero__badge {
    display: inline-flex; align-items: center; gap: 8px;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    color: #99f6e4;
    background: rgba(15, 118, 110, .28);
    border: 1px solid rgba(94, 234, 212, .35);
}
.cp-hero__badge::before {
    content: ''; width: 7px; height: 7px; border-radius: 50%;
    background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .2);
    animation: cpPulse 1.6s ease-in-out infinite;
}
@keyframes cpPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .55; transform: scale(.85); }
}
.cp-hero h2 {
    margin: 0 0 8px;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 800; letter-spacing: -.03em; color: #f8fafc;
}
.cp-hero p { margin: 0; max-width: 460px; color: #94a3b8; font-size: 13.5px; line-height: 1.5; }
.cp-hero code {
    padding: 1px 6px; border-radius: 6px;
    background: rgba(15, 23, 42, .55); color: #5eead4; font-size: 12px;
}
.cp-hero__stats {
    display: grid; grid-template-columns: repeat(3, minmax(72px, 1fr)); gap: 8px;
    min-width: 240px;
}
.cp-hero__stats div {
    text-align: center;
    padding: 12px 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--cp-line);
    backdrop-filter: blur(8px);
}
.cp-hero__stats b { display: block; font-size: 1.45rem; font-weight: 800; color: #5eead4; line-height: 1.1; }
.cp-hero__stats span {
    font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
    text-transform: uppercase; color: #64748b;
}

.cp-domain {
    margin-bottom: 16px;
    padding: 18px 18px 16px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, #fff, #f4fbfa),
        #fff;
    border: 1px solid #cce8e3;
    box-shadow: var(--shadow);
}
.cp-domain__head {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
    margin-bottom: 14px;
}
.cp-domain__head h3 { margin: 0 0 4px; font-size: 15px; font-weight: 800; }
.cp-domain__head p { margin: 0; color: var(--muted); font-size: 12.5px; max-width: 420px; }
.cp-ping {
    display: inline-block;
    padding: 8px 10px;
    border-radius: 10px;
    background: #0f172a;
    color: #5eead4;
    font-size: 11.5px;
    font-family: ui-monospace, Consolas, monospace;
    word-break: break-all;
}
.cp-domain__form {
    display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}
.cp-domain__form input[type="url"] {
    flex: 1; min-width: 220px;
    padding: 11px 14px;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    background: #fff;
    font-size: 13.5px;
}

.cp-kits {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 12px;
    margin-bottom: 12px;
}
.cp-gate-bar {
    margin-bottom: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid rgba(167, 139, 250, .28);
    box-shadow: var(--shadow);
}
.cp-gate-bar__head {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px;
    margin-bottom: 10px;
}
.cp-gate-bar__head strong { font-size: 13px; font-weight: 800; color: #5b21b6; }
.cp-gate-bar__head span { font-size: 12px; color: var(--muted); }
.cp-gate-bar__head code { font-size: 11px; }
.cp-gate-bar__row {
    display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end;
}
.cp-gate-bar__row label {
    display: flex; flex-direction: column; gap: 4px;
    font-size: 11px; font-weight: 700; color: var(--muted);
}
.cp-gate-bar__grow { flex: 1 1 220px; min-width: 180px; }
.cp-gate-bar__select,
.cp-gate-bar__input {
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 13px;
    color: var(--text);
}
.cp-gate-bar__hint {
    margin: 8px 0 0;
    font-size: 11.5px;
    color: var(--muted);
}
.cp-gate-bar__hint code { font-size: 11px; word-break: break-all; }
.cp-kit {
    position: relative;
    padding: 18px 18px 16px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.cp-kit::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: linear-gradient(180deg, #14b8a6, #0f766e);
}
.cp-kit--enc::before { background: linear-gradient(180deg, #a78bfa, #6d28d9); }
.cp-kit__top {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin-bottom: 8px;
}
.cp-kit__tag {
    display: inline-flex;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
    color: #0f766e; background: #ccfbf1; border: 1px solid #99f6e4;
}
.cp-kit__tag--enc { color: #6d28d9; background: #ede9fe; border-color: #ddd6fe; }
.cp-kit__meta { font-size: 12px; color: var(--muted); font-weight: 600; }
.cp-kit h3 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 800; }
.cp-kit p { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.cp-kit__actions { display: flex; flex-wrap: wrap; gap: 8px; }

.cp-toast {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10050;
    margin: 0;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    max-width: min(560px, calc(100vw - 32px));
    box-shadow: 0 10px 28px rgba(15, 23, 42, .18);
    pointer-events: none;
}
.cp-toast[hidden] { display: none !important; }
.cp-toast.is-ok { background: var(--green-soft); color: #047857; border: 1px solid #a7f3d0; }
.cp-toast.is-err { background: var(--red-soft); color: var(--red); border: 1px solid #fecaca; }

.cp-gate-readonly {
    margin: 0 0 14px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 12px;
    color: var(--muted);
    background: #f8fafc;
    border: 1px solid var(--border);
}
.cp-gate-readonly code {
    font-size: 11px;
    word-break: break-all;
}
.cp-gate-readonly a {
    font-weight: 700;
    color: #047857;
    text-decoration: none;
}
.cp-gate-readonly a:hover { text-decoration: underline; }

/* Fleet komut çubuğu — üst alan */
.cp-command {
    position: relative;
    margin-bottom: 12px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(94, 234, 212, .22);
    background:
        radial-gradient(480px 120px at 0% 0%, rgba(45, 212, 191, .14), transparent 55%),
        radial-gradient(360px 100px at 100% 0%, rgba(99, 102, 241, .12), transparent 50%),
        linear-gradient(135deg, #0a0f1a 0%, #111827 42%, #0f172a 100%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 12px 32px -18px rgba(2, 12, 24, .85);
}
.cp-command__mesh {
    position: absolute; inset: 0; opacity: .35; pointer-events: none;
    background-image: linear-gradient(rgba(148,163,184,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,.06) 1px, transparent 1px);
    background-size: 18px 18px;
    mask-image: linear-gradient(180deg, #000 30%, transparent);
}
.cp-command__inner {
    position: relative; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 14px;
}
.cp-command__brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cp-command__orb {
    width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
    background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.18), 0 0 16px rgba(52,211,153,.45);
    animation: cpPulse 2s ease-in-out infinite;
}
.cp-command__brand strong { display: block; font-size: 13px; font-weight: 800; color: #f8fafc; line-height: 1.2; }
.cp-command__brand span { display: block; font-size: 10.5px; font-weight: 600; color: #64748b; }
.cp-command__scan {
    flex: 1; min-width: 220px; display: flex; align-items: center; gap: 8px;
    padding: 4px 4px 4px 12px; border-radius: 999px;
    background: rgba(15,23,42,.72); border: 1px solid rgba(148,163,184,.16); backdrop-filter: blur(8px);
}
.cp-command__scan-ico { flex-shrink: 0; font-size: 14px; color: #5eead4; opacity: .85; }
.cp-command__scan input[type=url] {
    flex: 1; min-width: 0; border: none; background: transparent; color: #f1f5f9; font-size: 12.5px; padding: 6px 0; outline: none;
}
.cp-command__scan input[type=url]::placeholder { color: #64748b; }
.cp-command__go {
    flex-shrink: 0; padding: 7px 14px; border: none; border-radius: 999px;
    font-size: 11.5px; font-weight: 800; color: #042f2e;
    background: linear-gradient(135deg, #5eead4, #34d399); cursor: pointer;
}
.cp-command__go:hover { filter: brightness(1.06); }
.cp-command__stats { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.cp-command__pill {
    display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px;
    font-size: 10px; font-weight: 700; color: #94a3b8; background: rgba(255,255,255,.04);
    border: 1px solid rgba(148,163,184,.14); white-space: nowrap;
}
.cp-command__pill b { font-size: 12px; font-weight: 800; color: #e2e8f0; }
.cp-command__pill.is-live b { color: #34d399; }
.cp-command__pill.is-ok b { color: #60a5fa; }
.cp-command__pill.is-fail b { color: #f87171; }
@media (max-width: 860px) {
    .cp-command__inner { flex-direction: column; align-items: stretch; }
    .cp-command__stats { margin-left: 0; }
}

.cp-heal {
    margin: 0 0 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 50%, #fff 100%);
    border: 1px solid #a7f3d0;
    box-shadow: var(--shadow);
}
.cp-heal__head {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px;
    margin-bottom: 12px;
}
.cp-heal__head strong { font-size: 14px; color: #065f46; }
.cp-heal__head span { font-size: 12px; color: #64748b; }
.cp-heal__row {
    display: flex; flex-wrap: wrap; gap: 10px; align-items: end;
}
.cp-heal__row label {
    display: flex; flex-direction: column; gap: 4px; min-width: 140px;
}
.cp-heal__row label span {
    font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #64748b;
}
.cp-heal__row select,
.cp-heal__row input {
    border: 1px solid #99f6e4;
    border-radius: 10px;
    background: #fff;
    padding: 8px 10px;
    font-size: 13px;
    color: #0f172a;
}
.cp-heal__url { flex: 1; min-width: 220px; }
.cp-heal__hint { margin: 10px 0 0; font-size: 12px; color: #047857; }
.cp-heal__hint code { font-size: 11px; word-break: break-all; }
.cp-studio__acts { display: flex; flex-wrap: wrap; gap: 8px; }

.cp-editor {
    margin-bottom: 16px;
    padding: 16px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.cp-editor__bar {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 10px;
}
.cp-editor__bar h3 { margin: 0; font-size: 15px; }
.cp-editor__code {
    width: 100%;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    background: #0b1220;
    color: #e2e8f0;
    font-family: ui-monospace, Consolas, monospace;
    font-size: 12px;
    line-height: 1.45;
    padding: 14px;
    resize: vertical;
}

.cp-toolbar {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
    margin: 6px 0 14px;
    flex-wrap: wrap;
}
.cp-toolbar__acts {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.cp-search {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    flex: 1 1 280px; min-width: 0;
}
.cp-search input[type=search] {
    flex: 1 1 220px; min-width: 180px;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 13px;
}
.cp-search input[type=search]:focus {
    outline: none;
    border-color: #5eead4;
    box-shadow: 0 0 0 3px rgba(45, 212, 191, .15);
}
.cp-search__n {
    font-size: 12px; color: var(--muted); font-weight: 600;
}
.cp-tabs { display: flex; gap: 6px; flex-wrap: wrap; flex: 1 1 100%; }
.cp-tabs a {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 12.5px; font-weight: 700;
    color: var(--muted);
    background: #fff;
    border: 1px solid var(--border);
}
.cp-tabs a em {
    font-style: normal;
    padding: 1px 7px;
    border-radius: 999px;
    background: #f1f5f9;
    font-size: 11px;
}
.cp-tabs a.is-on {
    color: #0f766e;
    background: linear-gradient(180deg, #ecfdf5, #f0fdfa);
    border-color: #99f6e4;
}
.cp-tabs a.is-on em { background: #ccfbf1; color: #0f766e; }

.cp-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.cp-card {
    position: relative;
    overflow: hidden;
    padding: 16px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.96), #fff),
        #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cp-card:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -24px rgba(15, 23, 42, .35); }
.cp-card.is-live {
    border-color: #5eead4;
    box-shadow: 0 0 0 1px rgba(45, 212, 191, .18), 0 18px 36px -24px rgba(13, 148, 136, .35);
}
.cp-card__pulse {
    position: absolute; top: 14px; right: 48px;
    width: 8px; height: 8px; border-radius: 50%;
    background: #94a3b8;
}
.cp-card.is-live .cp-card__pulse {
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, .55);
    animation: cpLive 1.8s ease-out infinite;
}
@keyframes cpLive {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .5); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.cp-card__head {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 10px;
}
.cp-card__av {
    width: 40px; height: 40px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 14px;
    background: linear-gradient(145deg, #0f172a, #1e293b);
    color: #5eead4;
}
.cp-card__who { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cp-card__who strong { font-size: 14px; }
.cp-pill {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px; font-weight: 800;
    color: #64748b; background: #f1f5f9; border: 1px solid #e2e8f0;
}
.cp-pill.is-on { color: #047857; background: #d1fae5; border-color: #a7f3d0; }
.cp-pill--sig { font-size: 11px; }
.cp-pill--sig.is-ok { color: #1d4ed8; background: #dbeafe; border-color: #93c5fd; }
.cp-pill--sig.is-fail { color: #b91c1c; background: #fee2e2; border-color: #fca5a5; }
.cp-pill--sig.is-unk { color: #64748b; background: #f8fafc; border-color: #e2e8f0; }
.btn-mini-signal { border-color: #93c5fd; color: #1d4ed8; }
.btn-mini-verify { border-color: #99f6e4; color: #0f766e; }
.cp-card__signal-note {
    font-size: 11.5px; color: var(--muted); margin: -2px 0 8px;
    padding: 6px 8px; border-radius: 8px; background: #f8fafc;
    border: 1px solid #e2e8f0;
}
.cp-card__url {
    display: block;
    font-size: 12.5px;
    color: var(--primary-2);
    word-break: break-all;
    margin-bottom: 6px;
}
.cp-card__url:hover { text-decoration: underline; }
.cp-card__disk {
    font-size: 11.5px;
    color: var(--muted);
    font-family: ui-monospace, Consolas, monospace;
    margin-bottom: 8px;
}
.cp-card__ops {
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
    margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border);
}
.cp-il {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 700; color: var(--muted);
}
.cp-il select {
    min-width: 110px;
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
}
.btn-mini-lic {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border-color: #a7f3d0 !important;
}
.btn-mini-lic:hover { filter: brightness(0.97); }
.btn-mini-idx {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border-color: #bfdbfe !important;
}
.btn-mini-idx:hover { filter: brightness(0.97); }
.btn-mini-unl {
    background: #fff7ed !important;
    color: #c2410c !important;
    border-color: #fed7aa !important;
}
.btn-mini-unl:hover { filter: brightness(0.97); }
.cp-card__foot {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border);
    font-size: 12px; color: var(--muted);
}
.cp-card__acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.cp-dom-count {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    color: #0f766e;
    background: #ccfbf1;
    border: 1px solid #99f6e4;
}
.cp-card.is-live .cp-dom-count {
    color: #065f46;
    background: #a7f3d0;
    border-color: #6ee7b7;
}


.cp-empty {
    text-align: center;
    padding: 56px 20px;
    border-radius: 20px;
    border: 1px dashed #99f6e4;
    background:
        radial-gradient(320px 140px at 50% 0%, rgba(45, 212, 191, .12), transparent 70%),
        #fff;
}
.cp-empty__orb {
    width: 64px; height: 64px; margin: 0 auto 14px;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    background: #0f172a; color: #5eead4;
}
.cp-empty h3 { margin: 0 0 6px; font-size: 1.1rem; }
.cp-empty p { margin: 0; color: var(--muted); font-size: 13.5px; }

.cp-modal[hidden] { display: none !important; }
.cp-modal {
    position: fixed; inset: 0; z-index: 1200;
    display: flex; align-items: center; justify-content: center;
    padding: 18px;
}
.cp-modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(2, 8, 18, .72);
    backdrop-filter: blur(4px);
}
.cp-modal__panel {
    position: relative;
    width: min(1100px, 100%);
    height: min(86vh, 860px);
    display: flex; flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    background: #0b1220;
    border: 1px solid rgba(94, 234, 212, .25);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65);
}
.cp-modal__bar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 14px;
    background: linear-gradient(180deg, #122033, #0f1a2a);
    border-bottom: 1px solid rgba(148, 163, 184, .18);
    color: #e2e8f0;
}
.cp-modal__bar strong { display: block; font-size: 13.5px; }
.cp-modal__bar span { font-size: 11.5px; color: #94a3b8; }
.cp-modal__bar-acts { display: flex; gap: 8px; }
.cp-modal__frame {
    flex: 1; width: 100%; border: 0; background: #fff;
}

/* —— Gate kontrol modal (bot / insan iframe) —— */
.cp-modal--check { z-index: 1250; }
.cp-modal__panel--check {
    width: min(1280px, 100%);
    height: min(90vh, 920px);
}
.cp-check-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #0a1018;
    border-bottom: 1px solid rgba(148, 163, 184, .15);
}
.cp-check-pill {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    color: #94a3b8;
    background: rgba(148, 163, 184, .12);
    border: 1px solid rgba(148, 163, 184, .25);
}
.cp-check-pill.is-ok {
    color: #6ee7b7;
    background: rgba(16, 185, 129, .15);
    border-color: rgba(52, 211, 153, .35);
}
.cp-check-pill.is-fail {
    color: #fca5a5;
    background: rgba(239, 68, 68, .12);
    border-color: rgba(248, 113, 113, .35);
}
.cp-check-text {
    font-size: 12px;
    font-weight: 600;
    color: #cbd5e1;
    line-height: 1.4;
    word-break: break-word;
}
.cp-check-split {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #060a12;
}
.cp-check-pane {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-right: 1px solid rgba(148, 163, 184, .12);
}
.cp-check-pane:last-child { border-right: none; }
.cp-check-pane__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(148, 163, 184, .12);
}
.cp-check-pane__head em {
    font-style: normal;
    font-size: 10px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: #64748b;
}
.cp-check-pane__head--bot {
    color: #93c5fd;
    background: linear-gradient(90deg, rgba(59, 130, 246, .12), transparent);
}
.cp-check-pane__head--human {
    color: #5eead4;
    background: linear-gradient(90deg, rgba(16, 185, 129, .12), transparent);
}
.cp-check-frame {
    flex: 1;
    width: 100%;
    min-height: 0;
    border: 0;
    background: #fff;
}

@media (max-width: 900px) {
    .cp-check-split { grid-template-columns: 1fr; }
    .cp-check-pane { border-right: none; border-bottom: 1px solid rgba(148, 163, 184, .12); min-height: 240px; }
    .cp-check-pane:last-child { border-bottom: none; }
}

/* —— Ayarlar (as) özel kontrol odası —— */
.as-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
    border-radius: 22px;
    border: 1px solid #2a2040;
    background:
        radial-gradient(420px 220px at 10% 0%, rgba(251, 191, 36, .22), transparent 55%),
        radial-gradient(380px 200px at 95% 15%, rgba(167, 139, 250, .2), transparent 50%),
        linear-gradient(155deg, #100a1a 0%, #1a1230 48%, #0e1424 100%);
    color: #e2e8f0;
    box-shadow: 0 24px 50px -28px rgba(20, 8, 40, .75);
}
.as-hero__glow {
    position: absolute; inset: auto -15% -45% 35%; height: 75%;
    background: radial-gradient(circle, rgba(251, 191, 36, .28), transparent 68%);
    pointer-events: none;
}
.as-hero__inner {
    position: relative;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
    padding: 26px 26px 24px;
}
.as-hero__badge {
    display: inline-flex; align-items: center; gap: 8px;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    color: #fde68a;
    background: rgba(120, 53, 15, .35);
    border: 1px solid rgba(251, 191, 36, .35);
}
.as-hero__badge::before {
    content: ''; width: 7px; height: 7px; border-radius: 50%;
    background: #fbbf24; box-shadow: 0 0 0 4px rgba(251, 191, 36, .2);
    animation: cpPulse 1.6s ease-in-out infinite;
}
.as-hero h2 {
    margin: 0 0 8px;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 800; letter-spacing: -.03em; color: #f8fafc;
}
.as-hero p { margin: 0; max-width: 440px; color: #a8b0c0; font-size: 13.5px; line-height: 1.5; }
.as-hero__rail { display: flex; flex-direction: column; gap: 10px; min-width: 260px; }
.as-hero__ping {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(15, 23, 42, .55);
    border: 1px solid rgba(167, 139, 250, .25);
}
.as-hero__ping span {
    display: block;
    font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
    color: #94a3b8; margin-bottom: 4px;
}
.as-hero__ping code {
    display: block;
    color: #fde68a;
    font-size: 11.5px;
    word-break: break-all;
    font-family: ui-monospace, Consolas, monospace;
}
.as-hero__stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.as-hero__stats div {
    text-align: center;
    padding: 11px 8px;
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(167, 139, 250, .2);
}
.as-hero__stats b { display: block; font-size: 1.35rem; font-weight: 800; color: #c4b5fd; line-height: 1.1; }
.as-hero__stats span {
    font-size: 10px; font-weight: 700; letter-spacing: .04em;
    text-transform: uppercase; color: #64748b;
}

.as-grid {
    display: grid;
    grid-template-columns: 1.35fr .9fr;
    gap: 14px;
}
.as-panel {
    position: relative;
    padding: 18px 18px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff, #faf8ff);
    border: 1px solid #e4dff0;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.as-panel::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: linear-gradient(180deg, #f59e0b, #a78bfa);
}
.as-panel--kit::before { background: linear-gradient(180deg, #14b8a6, #0f766e); }
.as-panel--gate::before { background: linear-gradient(180deg, #6366f1, #4338ca); }
.as-panel--sem::before { background: linear-gradient(180deg, #8b5cf6, #6d28d9); }
.as-panel--wide { grid-column: 1 / -1; }
.as-panel__head {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
    margin-bottom: 14px;
}
.as-panel__tag {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    color: #7c3aed;
}
.as-panel__head h3 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 800; }
.as-panel__head p { margin: 0; color: var(--muted); font-size: 12.5px; max-width: 360px; }
.as-dot {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px; font-weight: 800;
    color: #64748b; background: #f1f5f9; border: 1px solid #e2e8f0;
}
.as-dot.is-on { color: #047857; background: #d1fae5; border-color: #a7f3d0; }

.as-kv {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    margin-bottom: 14px;
}
.as-kv div {
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--surface-2);
    border: 1px solid var(--border);
}
.as-kv span { display: block; font-size: 11px; font-weight: 700; color: var(--muted); margin-bottom: 3px; }
.as-kv strong, .as-kv code {
    font-size: 12.5px; word-break: break-all;
    font-family: ui-monospace, Consolas, monospace;
}

.as-label {
    display: block;
    margin: 0 0 6px;
    font-size: 12.5px; font-weight: 700; color: var(--text-soft);
}
.as-field {
    display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.as-field input[type="url"],
.as-field input[type="password"],
.as-field input[type="text"] {
    flex: 1; min-width: 180px;
    padding: 11px 14px;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    background: #fff;
    font-size: 13.5px;
}
.as-hint {
    margin: 8px 0 0;
    font-size: 12px; color: var(--muted);
}
.as-hint code {
    padding: 1px 6px; border-radius: 6px;
    background: #0f172a; color: #fde68a; font-size: 11px;
}
.as-stamp { margin-top: 12px; }

.as-kit { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.as-kit__row {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: linear-gradient(180deg, #f0fdfa, #fff);
    border: 1px solid #ccfbf1;
}
.as-kit__row--enc {
    background: linear-gradient(180deg, #f5f3ff, #fff);
    border-color: #ddd6fe;
}
.as-kit__row strong { display: block; font-size: 13.5px; }
.as-kit__row span { font-size: 12px; color: var(--muted); }
.as-pill {
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px; font-weight: 800;
    background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0;
}
.as-pill.is-ok { background: #d1fae5; color: #047857; border-color: #a7f3d0; }
.as-pill.is-bad { background: #fee2e2; color: #b91c1c; border-color: #fecaca; }

.as-switch {
    display: flex; align-items: center; gap: 10px;
    margin: 0 0 14px;
    font-size: 13.5px; font-weight: 600;
    cursor: pointer;
}
.as-switch--danger { color: #b91c1c; }
.as-form--sem .as-field { margin-bottom: 10px; }

/* HTML alias (rail/dot/kv naming) */
.as-hero__rail { display: flex; flex-direction: column; gap: 10px; min-width: 260px; }
.as-dot { flex-shrink: 0; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; color: #64748b; background: #f1f5f9; border: 1px solid #e2e8f0; }
.as-dot.is-on { color: #047857; background: #d1fae5; border-color: #a7f3d0; }
.as-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.as-kv div { padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.as-kv span { display: block; font-size: 11px; font-weight: 700; color: var(--muted); margin-bottom: 3px; }
.as-kv strong, .as-kv code { font-size: 12.5px; word-break: break-all; font-family: ui-monospace, Consolas, monospace; }

/* —— Lisanslar (lx) özel kasa —— */
.lx { --lx-line: rgba(125, 211, 252, .28); --lx-glow: rgba(56, 189, 248, .38); }
.lx-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 18px;
    border-radius: 22px;
    border: 1px solid #1e3a5f;
    background:
        radial-gradient(440px 220px at 8% 0%, rgba(56, 189, 248, .3), transparent 55%),
        radial-gradient(360px 200px at 92% 20%, rgba(99, 102, 241, .24), transparent 50%),
        linear-gradient(155deg, #06101c 0%, #0c1a33 48%, #0a1528 100%);
    color: #e2e8f0;
    box-shadow: 0 24px 50px -28px rgba(6, 20, 40, .8);
    animation: lxRise .45s ease-out both;
}
.lx-hero__glow {
    position: absolute; inset: auto -20% -40% 40%; height: 70%;
    background: radial-gradient(circle, var(--lx-glow), transparent 68%);
    pointer-events: none;
}
.lx-hero__mesh {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(125, 211, 252, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(125, 211, 252, .05) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 20%, transparent 75%);
    pointer-events: none; opacity: .7;
}
.lx-hero__inner {
    position: relative;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 22px;
    padding: 28px 26px 24px;
}
.lx-hero__badge {
    display: inline-flex; align-items: center; gap: 8px;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    color: #7dd3fc;
    background: rgba(14, 116, 144, .28);
    border: 1px solid rgba(56, 189, 248, .35);
}
.lx-hero__badge::before {
    content: ''; width: 7px; height: 7px; border-radius: 50%;
    background: #38bdf8; box-shadow: 0 0 0 4px rgba(56, 189, 248, .2);
    animation: cpPulse 1.6s ease-in-out infinite;
}
.lx-hero h2 {
    margin: 0 0 8px;
    font-size: clamp(1.4rem, 2.5vw, 1.95rem);
    font-weight: 800; letter-spacing: -.03em; color: #f8fafc;
}
.lx-hero p { margin: 0; max-width: 440px; color: #94a3b8; font-size: 13.5px; line-height: 1.55; }
.lx-hero__rail { display: flex; flex-direction: column; gap: 10px; min-width: 280px; }
.lx-hero__stats {
    display: grid; grid-template-columns: repeat(3, minmax(72px, 1fr)); gap: 8px;
}
.lx-hero__stats div {
    text-align: center;
    padding: 12px 10px;
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--lx-line);
    backdrop-filter: blur(8px);
}
.lx-hero__stats b { display: block; font-size: 1.45rem; font-weight: 800; color: #7dd3fc; line-height: 1.1; }
.lx-hero__stats span {
    font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
    text-transform: uppercase; color: #64748b;
}
.lx-hero__refresh {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    padding: 11px 12px;
    border-radius: 14px;
    background: rgba(15, 23, 42, .5);
    border: 1px solid rgba(148, 163, 184, .2);
}
.lx-hero__refresh span { font-size: 12px; color: #94a3b8; line-height: 1.35; }
.lx-btn-glow {
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    color: #fff; border: none;
    box-shadow: 0 8px 20px -8px rgba(37, 99, 235, .7);
}
.lx-btn-glow:hover { filter: brightness(1.06); color: #fff; }

.lx-create {
    margin-bottom: 18px;
    padding: 22px 22px 18px;
    border-radius: 20px;
    background:
        linear-gradient(180deg, #fff, #f4f8ff),
        #fff;
    border: 1px solid #d7e6f5;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    animation: lxRise .5s .06s ease-out both;
}
.lx-create::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: linear-gradient(180deg, #38bdf8, #6366f1 55%, #818cf8);
}
.lx-create__head {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
    margin-bottom: 18px;
}
.lx-create__tag {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    color: #0284c7;
}
.lx-create__head h3 { margin: 0 0 4px; font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.lx-create__head p { margin: 0; color: var(--muted); font-size: 13px; max-width: 420px; }
.lx-create__head em { font-style: normal; color: #0369a1; font-weight: 700; }
.lx-create__hint {
    flex-shrink: 0;
    text-align: center;
    padding: 10px 14px;
    border-radius: 14px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}
.lx-create__hint strong { display: block; font-size: 1.25rem; font-weight: 800; color: #1d4ed8; line-height: 1.1; }
.lx-create__hint span { font-size: 11px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .04em; }

.lx-block {
    margin-bottom: 16px;
    padding: 14px 14px 12px;
    border-radius: 16px;
    background: rgba(248, 250, 252, .85);
    border: 1px solid #e8eef6;
}
.lx-block:first-of-type {
    background:
        radial-gradient(280px 120px at 0% 0%, rgba(56, 189, 248, .08), transparent 70%),
        rgba(248, 250, 252, .9);
    border-color: #dceaf6;
}
.lx-block__title {
    margin-bottom: 10px;
    font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
    color: #64748b;
}
.lx-products { grid-template-columns: repeat(4, 1fr); gap: 11px; }
.lx-products .product-card,
.lx-pcard {
    position: relative;
    flex-direction: row; align-items: center; gap: 11px;
    padding: 13px 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}
.lx-pcard__mark {
    position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: #94a3b8; opacity: .85;
}
.lx-products .product-card:hover {
    border-color: #7dd3fc;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -14px rgba(14, 116, 144, .4);
}
.lx-products .product-card.is-on,
.lx-products .product-card:has(input:checked) {
    border-color: #38bdf8;
    background: linear-gradient(135deg, #f0f9ff 0%, #f8fbff 100%);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, .16), 0 10px 22px -16px rgba(14, 116, 144, .35);
}
.product-card__ico {
    flex-shrink: 0;
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 11px;
    font-size: 13px; font-weight: 800;
    color: #0369a1;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    letter-spacing: -.02em;
}
.product-card__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lx-products .product-card__name {
    font-size: 13.5px; font-weight: 800; letter-spacing: -.01em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lx-products .product-card__hint { font-size: 11.5px; line-height: 1.35; }

/* Product card tones */
.lx-pcard--all .lx-pcard__mark,
.lx-pcard--all.product-card--all .lx-pcard__mark { background: linear-gradient(180deg, #22d3ee, #0ea5e9); }
.lx-pcard--boss .lx-pcard__mark { background: linear-gradient(180deg, #60a5fa, #2563eb); }
.lx-pcard--admin .lx-pcard__mark { background: linear-gradient(180deg, #2dd4bf, #0f766e); }
.lx-pcard--v3 .lx-pcard__mark { background: linear-gradient(180deg, #fb923c, #ea580c); }
.lx-pcard--wp .lx-pcard__mark { background: linear-gradient(180deg, #34d399, #059669); }
.lx-pcard--ex .lx-pcard__mark { background: linear-gradient(180deg, #94a3b8, #475569); }
.lx-pcard--0 .lx-pcard__mark { background: linear-gradient(180deg, #4ade80, #16a34a); }
.lx-pcard--1 .lx-pcard__mark { background: linear-gradient(180deg, #fbbf24, #d97706); }
.lx-pcard--2 .lx-pcard__mark { background: linear-gradient(180deg, #a78bfa, #7c3aed); }
.lx-pcard--3 .lx-pcard__mark { background: linear-gradient(180deg, #64748b, #334155); }

.lx-pcard--boss .product-card__ico { color: #1d4ed8; background: #dbeafe; border-color: #bfdbfe; }
.lx-pcard--admin .product-card__ico { color: #0f766e; background: #ccfbf1; border-color: #99f6e4; }
.lx-pcard--v3 .product-card__ico { color: #c2410c; background: #ffedd5; border-color: #fed7aa; }
.lx-pcard--wp .product-card__ico { color: #047857; background: #d1fae5; border-color: #a7f3d0; }
.lx-pcard--ex .product-card__ico { color: #334155; background: #f1f5f9; border-color: #e2e8f0; }
.lx-pcard--0 .product-card__ico { color: #15803d; background: #dcfce7; border-color: #bbf7d0; }

.lx-products .product-card--all {
    grid-column: 1 / -1;
    background: linear-gradient(120deg, #ecfeff 0%, #f0f9ff 45%, #f8fafc 100%);
    border-color: #a5f3fc;
    padding: 14px 16px;
}
.lx-products .product-card--all .product-card__name { color: #0e7490; }
.lx-products .product-card--all .product-card__ico {
    width: 40px; height: 40px; border-radius: 12px;
    color: #0e7490; background: linear-gradient(145deg, #cffafe, #e0f2fe); border-color: #67e8f9;
}
.lx-products .product-card--all.is-on,
.lx-products .product-card--all:has(input:checked) {
    border-color: #06b6d4;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, .18), 0 12px 28px -16px rgba(8, 145, 178, .4);
}
.lx-create__meta { align-items: flex-start; }
.lx-create__foot {
    display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
    margin-top: 4px; padding-top: 14px;
    border-top: 1px dashed #d7e6f5;
}
.lx-create__foot span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.lx-btn-produce {
    min-width: 160px;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    box-shadow: 0 10px 22px -10px rgba(37, 99, 235, .75);
}

.lx-vault {
    margin-bottom: 8px;
    animation: lxRise .55s .1s ease-out both;
}
.lx-table-bar {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
    margin: 4px 0 12px;
}
.lx-table-bar__tag {
    display: block;
    margin-bottom: 4px;
    font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    color: #0284c7;
}
.lx-table-bar h3 { margin: 0; font-size: 1.05rem; font-weight: 800; }
.lx-table-bar__right {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end;
}
.lx-table-bar__meta {
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px; font-weight: 700; color: #0369a1;
    background: #e0f2fe; border: 1px solid #bae6fd;
}
.lx-acc-tools { display: inline-flex; gap: 6px; }
.lx-acc-tools .btn-mini {
    background: #fff;
    border-color: #bae6fd;
    color: #0369a1;
}
.lx-acc-tools .btn-mini:hover {
    background: #e0f2fe;
    color: #0c4a6e;
}

/* —— Açılır kapanır lisans kasası —— */
.lx-acc {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lx-acc__item {
    position: relative;
    border-radius: 16px;
    border: 1px solid #d7e6f5;
    background:
        linear-gradient(180deg, #fff, #f8fbff),
        #fff;
    box-shadow: 0 10px 28px -22px rgba(14, 70, 120, .45);
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.lx-acc__item:hover {
    border-color: #bae6fd;
    box-shadow: 0 14px 32px -20px rgba(14, 116, 144, .35);
}
.lx-acc__item[open] {
    border-color: #7dd3fc;
    box-shadow:
        0 0 0 3px rgba(56, 189, 248, .14),
        0 20px 44px -22px rgba(14, 70, 120, .55);
    transform: translateY(-1px);
}
.lx-acc__item[open] .lx-acc__sum {
    background: linear-gradient(180deg, rgba(224, 242, 254, .55), transparent);
}
.lx-acc__body {
    padding: 0 14px 14px;
    border-top: 1px dashed #d7e6f5;
}
.lx-acc__body-inner {
    animation: lxAccIn .3s ease-out both;
}
.lx-acc__item.is-dim { opacity: .78; }
.lx-acc__item.is-dim[open] { opacity: 1; }
.lx-acc__item.is-revoked {
    border-color: #fecaca;
    background: linear-gradient(180deg, #fff, #fff7f7);
}
.lx-acc__item.is-live::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: linear-gradient(180deg, #38bdf8, #2563eb);
    opacity: .85;
}
.lx-acc__sum {
    list-style: none;
    display: grid;
    grid-template-columns: 18px 52px minmax(120px, 1.4fr) auto auto auto auto auto;
    align-items: center;
    gap: 10px 12px;
    padding: 14px 16px 14px 14px;
    cursor: pointer;
    user-select: none;
    transition: background .2s;
}
.lx-acc__sum::-webkit-details-marker { display: none; }
.lx-acc__chev {
    width: 18px; height: 18px;
    border-radius: 6px;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    position: relative;
    transition: transform .22s ease, background .2s;
}
.lx-acc__chev::before {
    content: '';
    position: absolute;
    left: 5px; top: 6px;
    width: 6px; height: 6px;
    border-right: 2px solid #0284c7;
    border-bottom: 2px solid #0284c7;
    transform: rotate(-45deg);
    transition: transform .22s ease;
}
.lx-acc__item[open] .lx-acc__chev {
    background: #0284c7;
    border-color: #0284c7;
}
.lx-acc__item[open] .lx-acc__chev::before {
    border-color: #fff;
    top: 4px;
    transform: rotate(45deg);
}
.lx-acc__who {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.lx-acc__who strong {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lx-acc__who span {
    font-size: 11.5px;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lx-acc__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
}
.lx-acc__pill--time { color: #0369a1; background: #e0f2fe; border-color: #bae6fd; }
.lx-acc__pill--time.is-warn { color: #b91c1c; background: #fef2f2; border-color: #fecaca; }
.lx-acc__pill--dev { font-variant-numeric: tabular-nums; gap: 1px; }
.lx-acc__pill--dev.is-on { color: #047857; background: #ecfdf5; border-color: #a7f3d0; }
.lx-acc__pill--dev.is-full { color: #c2410c; background: #fff7ed; border-color: #fed7aa; }
.lx-acc__state {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
.lx-acc__state::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #94a3b8;
}
.lx-acc__state.is-on {
    color: #047857;
    background: #ecfdf5;
    border-color: #a7f3d0;
}
.lx-acc__state.is-on::before {
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, .18);
    animation: cpPulse 1.6s ease-in-out infinite;
}
.lx-acc__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding-top: 12px;
}
.lx-acc__panel {
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #fff;
    overflow: hidden;
}
.lx-acc__panel-h {
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #0369a1;
    background: linear-gradient(180deg, #f0f9ff, #f8fafc);
    border-bottom: 1px solid #e8eef6;
}
.lx-acc__panel-b { padding: 12px; }
.lx-acc__val {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
}
.lx-acc__form {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.lx-acc__form input[type="number"] {
    width: 72px;
    height: 30px;
    padding: 0 8px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    font-size: 12.5px;
    background: #fff;
}
.lx-acc__devs {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 180px;
    overflow: auto;
}
.lx-acc__devs li {
    padding: 8px 10px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
.lx-acc__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
.lx-acc__danger {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px dashed #fee2e2;
    width: 100%;
}
.lx-acc__hits {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}
.lx-acc__hits-l {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #0369a1;
}
@keyframes lxAccIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}
@media (max-width: 1100px) {
    .lx-acc__sum {
        grid-template-columns: 18px 48px minmax(100px, 1fr) auto auto;
    }
    .lx-acc__sum .lx-acc__pill:nth-of-type(1),
    .lx-acc__sum .lx-prog__badge { grid-row: 2; }
}
@media (max-width: 900px) {
    .lx-acc__sum {
        grid-template-columns: 18px 1fr auto;
        gap: 8px;
    }
    .lx-acc__sum .lx-id { display: none; }
    .lx-acc__grid { grid-template-columns: 1fr; }
    .lx-table-bar__right { justify-content: flex-start; }
}

.lx-table {
    margin-top: 0;
    border-radius: 18px;
    border: 1px solid #d7e6f5;
    box-shadow: 0 14px 36px -26px rgba(14, 70, 120, .4);
}
.lx-table .data-table th {
    background: linear-gradient(180deg, #f0f9ff, #f8fafc);
    color: #475569;
}
.lx-table .data-table tbody tr:hover { background: #f0f9ff; }
.lx-id {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 12px; font-weight: 800;
    color: #0369a1; background: #e0f2fe;
    font-variant-numeric: tabular-nums;
}
.lx-revoked {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px; font-weight: 700;
    color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca;
}
/* Program column badges */
.lx-prog {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    min-width: 0;
    max-width: 168px;
}
.lx-prog__badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 100%;
    padding: 5px 10px 5px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.2;
    border: 1px solid transparent;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    white-space: nowrap;
}
.lx-prog__dot {
    flex-shrink: 0;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: currentColor;
    opacity: .85;
    box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent);
}
.lx-prog__name {
    overflow: hidden;
    text-overflow: ellipsis;
}
.lx-prog__badge.is-bundle {
    padding: 6px 11px 6px 9px;
    border-radius: 11px;
    background: linear-gradient(135deg, #cffafe 0%, #e0f2fe 55%, #ecfeff 100%);
    color: #0e7490;
    border-color: #67e8f9;
    box-shadow: 0 4px 12px -8px rgba(8, 145, 178, .55);
}
.lx-prog__badge.is-bundle .lx-prog__dot {
    background: #06b6d4;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, .22);
}

.lx-prog__badge--boss {
    background: linear-gradient(180deg, #eff6ff, #dbeafe);
    color: #1d4ed8; border-color: #bfdbfe;
}
.lx-prog__badge--admin {
    background: linear-gradient(180deg, #f0fdfa, #ccfbf1);
    color: #0f766e; border-color: #99f6e4;
}
.lx-prog__badge--v3 {
    background: linear-gradient(180deg, #fff7ed, #ffedd5);
    color: #c2410c; border-color: #fed7aa;
}
.lx-prog__badge--wp {
    background: linear-gradient(180deg, #ecfdf5, #d1fae5);
    color: #047857; border-color: #a7f3d0;
}
.lx-prog__badge--ex {
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    color: #334155; border-color: #e2e8f0;
}
.lx-prog__badge--all {
    background: linear-gradient(135deg, #cffafe, #e0f2fe);
    color: #0e7490; border-color: #67e8f9;
}
.lx-prog__badge--0 {
    background: linear-gradient(180deg, #f0fdf4, #dcfce7);
    color: #15803d; border-color: #bbf7d0;
}
.lx-prog__badge--1 {
    background: linear-gradient(180deg, #fffbeb, #fef3c7);
    color: #b45309; border-color: #fde68a;
}
.lx-prog__badge--2 {
    background: linear-gradient(180deg, #faf5ff, #f3e8ff);
    color: #6d28d9; border-color: #e9d5ff;
}
.lx-prog__badge--3 {
    background: linear-gradient(180deg, #f8fafc, #e2e8f0);
    color: #334155; border-color: #cbd5e1;
}

.lx-prog__hits {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    max-width: 100%;
}
.lx-prog__dl {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    height: 22px;
    padding: 0 7px;
    border-radius: 6px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: #0369a1;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: background .15s, border-color .15s, color .15s;
}
.lx-prog__dl:hover {
    color: #0c4a6e;
    background: #e0f2fe;
    border-color: #7dd3fc;
}

/* legacy compact chips (other pages) */
.chip-compact {
    max-width: 88px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.chip-all.chip-compact {
    background: linear-gradient(135deg, #cffafe, #e0e7ff);
    color: #0e7490;
    border: 1px solid #a5f3fc;
}
.chip-0 { background: #ecfdf5; color: #047857; }
.chip-1 { background: #fff7ed; color: #c2410c; }
.chip-2 { background: #fdf4ff; color: #a21caf; }
.chip-3 { background: #f1f5f9; color: #334155; }

.lx-empty {
    margin-top: 4px;
    padding: 48px 24px;
    text-align: center;
    border-radius: 20px;
    border: 1px dashed #7dd3fc;
    background:
        radial-gradient(320px 140px at 50% 0%, rgba(56, 189, 248, .14), transparent 70%),
        #fff;
    animation: lxRise .5s .08s ease-out both;
}
.lx-empty__orb {
    width: 64px; height: 64px; margin: 0 auto 14px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 20px;
    font-size: 28px;
    background: linear-gradient(145deg, #e0f2fe, #ede9fe);
    border: 1px solid #bae6fd;
    box-shadow: 0 12px 28px -16px rgba(14, 116, 144, .5);
}
.lx-empty h3 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 800; }
.lx-empty p { margin: 0; color: var(--muted); font-size: 13.5px; }

@keyframes lxRise {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
    .lx-products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .lp-tools, .lp-list, .as-grid, .cp-kits, .cp-grid { grid-template-columns: 1fr; }
    .as-card--wide, .as-panel--wide { grid-column: auto; }
    .lp-tool { flex-wrap: wrap; }
    .lp-tool__btns { width: 100%; justify-content: flex-start; }
    .lp-hero, .as-hero, .as-hero__inner, .cp-hero__inner, .cp-domain__head, .cp-toolbar,
    .lx-hero__inner, .lx-hero__refresh, .lx-table-bar, .lx-create__head, .lx-create__foot { flex-direction: column; align-items: stretch; }
    .cp-hero__stats, .as-hero__rail, .as-kv, .lx-hero__stats, .lx-hero__rail { min-width: 0; }
    .as-kv { grid-template-columns: 1fr; }
    .lx-products { grid-template-columns: 1fr 1fr; }
    .lx-create__hint { align-self: flex-start; }
}

@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); transition: transform .2s; }
    .sidebar.open { transform: translateX(0); }
    .main { margin-left: 0; }
    .menu-toggle { display: flex; align-items: center; justify-content: center; }
    .content { padding: 16px; }
    .topbar { padding: 0 14px; }
    .user-name { display: none; }
    .form-card { padding: 20px 16px; }
    .product-grid { grid-template-columns: 1fr 1fr; }
    .stats { justify-content: center; }
    .stat-card { width: 160px; }
}

/* —— Modern medusa studio editor —— */
.cp-studio {
    margin-bottom: 18px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #1e293b;
    background: #0b1220;
    box-shadow: 0 24px 50px -28px rgba(2, 12, 24, .75);
}
.cp-studio__chrome {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px;
    background: linear-gradient(180deg, #111827, #0f172a);
    border-bottom: 1px solid rgba(148, 163, 184, .15);
}
.cp-studio__dots { display: flex; gap: 6px; }
.cp-studio__dots i {
    width: 10px; height: 10px; border-radius: 50%; display: block;
    background: #64748b;
}
.cp-studio__dots i:nth-child(1) { background: #f87171; }
.cp-studio__dots i:nth-child(2) { background: #fbbf24; }
.cp-studio__dots i:nth-child(3) { background: #34d399; }
.cp-studio__path {
    flex: 1; min-width: 0;
    font-size: 12.5px; font-weight: 700; color: #94a3b8;
    font-family: ui-monospace, Consolas, monospace;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cp-studio__form { margin: 0; }
.cp-studio__stage {
    display: grid;
    grid-template-columns: 52px 1fr;
    min-height: 420px;
    max-height: 70vh;
    background:
        linear-gradient(90deg, rgba(56, 189, 248, .04) 1px, transparent 1px),
        linear-gradient(rgba(56, 189, 248, .03) 1px, transparent 1px),
        #0b1220;
    background-size: 24px 24px;
}
.cp-studio__gutter {
    overflow: hidden;
    padding: 14px 8px;
    text-align: right;
    font-family: ui-monospace, Consolas, monospace;
    font-size: 12px; line-height: 1.55;
    color: #475569;
    background: rgba(7, 13, 24, .92);
    border-right: 1px solid rgba(148, 163, 184, .12);
    user-select: none;
}
.cp-studio__gutter span { display: block; }
.cp-studio__code {
    width: 100%; height: 100%;
    min-height: 420px; max-height: 70vh;
    border: 0; outline: none; resize: vertical;
    padding: 14px 16px;
    background: transparent;
    color: #e2e8f0;
    caret-color: #38bdf8;
    font-family: ui-monospace, Consolas, monospace;
    font-size: 12.5px; line-height: 1.55;
    tab-size: 4;
}
.cp-studio__foot {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 14px;
    background: #0f172a;
    border-top: 1px solid rgba(148, 163, 184, .12);
}
.cp-studio__foot span { font-size: 12px; color: #64748b; font-weight: 600; }

/* —— Her txt için satır ekle —— */
.hit-add {
    margin-top: 12px;
    padding: 12px;
    border-radius: 12px;
    background: linear-gradient(180deg, #f0f9ff, #fff);
    border: 1px dashed #7dd3fc;
}
.hit-add__lab {
    display: block;
    margin-bottom: 8px;
    font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
    color: #0369a1;
}
.hit-add__row { display: flex; gap: 8px; align-items: center; }
.hit-add__input {
    flex: 1; min-width: 0;
    height: 38px; padding: 0 12px;
    border: 1px solid #bae6fd;
    border-radius: 10px;
    background: #fff;
    font-size: 13px;
}
.hit-add__input:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, .18);
}
.hit-act--add {
    background: linear-gradient(135deg, #0ea5e9, #2563eb) !important;
    color: #fff !important;
    border: none !important;
    padding: 0 14px;
    height: 38px;
    border-radius: 10px;
    font-weight: 800;
}

/* —— Depo sayfası —— */
.dp-hero {
    position: relative; overflow: hidden;
    margin-bottom: 16px; border-radius: 22px;
    border: 1px solid #1e3a5f;
    background:
        radial-gradient(420px 200px at 10% 0%, rgba(56, 189, 248, .28), transparent 55%),
        radial-gradient(360px 180px at 90% 10%, rgba(251, 191, 36, .16), transparent 50%),
        linear-gradient(155deg, #06101c 0%, #0c1a33 50%, #0a1528 100%);
    color: #e2e8f0;
    box-shadow: 0 24px 50px -28px rgba(6, 20, 40, .8);
}
.dp-hero__glow {
    position: absolute; inset: auto -20% -40% 40%; height: 70%;
    background: radial-gradient(circle, rgba(56, 189, 248, .28), transparent 68%);
    pointer-events: none;
}
.dp-hero__inner {
    position: relative;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
    padding: 26px;
}
.dp-hero__badge {
    display: inline-flex; margin-bottom: 10px; padding: 5px 10px;
    border-radius: 999px; font-size: 11px; font-weight: 800;
    letter-spacing: .06em; text-transform: uppercase;
    color: #7dd3fc; background: rgba(14, 116, 144, .28);
    border: 1px solid rgba(56, 189, 248, .35);
}
.dp-hero h2 { margin: 0 0 8px; font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 800; color: #f8fafc; }
.dp-hero p { margin: 0; max-width: 440px; color: #94a3b8; font-size: 13.5px; line-height: 1.5; }
.dp-hero__stats {
    display: grid; grid-template-columns: repeat(3, minmax(72px, 1fr)); gap: 8px; min-width: 240px;
}
.dp-hero__stats div {
    text-align: center; padding: 12px 10px; border-radius: 14px;
    background: rgba(255,255,255,.04); border: 1px solid rgba(125, 211, 252, .22);
}
.dp-hero__stats b { display: block; font-size: 1.35rem; font-weight: 800; color: #7dd3fc; line-height: 1.1; }
.dp-hero__stats span { font-size: 10.5px; font-weight: 700; text-transform: uppercase; color: #64748b; letter-spacing: .04em; }

.dp-upload {
    margin-bottom: 16px; padding: 18px;
    border-radius: 18px; background: #fff;
    border: 1px solid #d7e6f5; box-shadow: var(--shadow);
}
.dp-upload__tag {
    display: inline-block; margin-bottom: 6px;
    font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #0284c7;
}
.dp-upload h3 { margin: 0 0 4px; font-size: 1.1rem; font-weight: 800; }
.dp-upload p { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.dp-drop {
    position: relative;
    display: flex; flex-direction: column; gap: 12px; align-items: stretch;
}
.dp-drop__input {
    position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 2;
}
.dp-drop__ui {
    text-align: center; padding: 28px 16px;
    border-radius: 16px;
    border: 1px dashed #7dd3fc;
    background:
        radial-gradient(280px 120px at 50% 0%, rgba(56, 189, 248, .12), transparent 70%),
        #f8fbff;
    transition: border-color .15s, background .15s;
}
.dp-drop.is-drag .dp-drop__ui {
    border-color: #0ea5e9;
    background: #e0f2fe;
}
.dp-drop__orb {
    width: 52px; height: 52px; margin: 0 auto 10px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 16px; font-size: 22px;
    background: linear-gradient(145deg, #e0f2fe, #ede9fe);
    border: 1px solid #bae6fd;
}
.dp-drop__ui strong { display: block; font-size: 14px; font-weight: 800; }
.dp-drop__ui span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.dp-drop__ui em {
    display: block; margin-top: 10px;
    font-style: normal; font-size: 12px; font-weight: 700; color: #0369a1;
}
.dp-upload__btn { align-self: flex-end; position: relative; z-index: 3; }

.dp-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.dp-panel {
    border-radius: 18px; background: #fff;
    border: 1px solid #d7e6f5; box-shadow: var(--shadow);
    overflow: hidden;
}
.dp-panel--hits { border-color: #c7f0e8; }
.dp-panel__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px;
    background: linear-gradient(180deg, #f0f9ff, #f8fafc);
    border-bottom: 1px solid #e8eef6;
}
.dp-panel__head h3 { margin: 0; font-size: 15px; font-weight: 800; }
.dp-panel__head span { font-size: 12px; font-weight: 700; color: var(--muted); }
.dp-empty { padding: 28px 16px; text-align: center; color: var(--muted); font-size: 13.5px; }
.dp-list { list-style: none; margin: 0; padding: 0; max-height: 480px; overflow: auto; }
.dp-list li {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 16px; border-bottom: 1px solid #eef2f7;
}
.dp-list li:last-child { border-bottom: none; }
.dp-list__meta { min-width: 0; }
.dp-list__meta strong {
    display: block; font-size: 13px; font-weight: 800;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dp-list__meta span { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.dp-list__acts { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.btn-danger-text { color: #b91c1c !important; }
.dp-prog-tree { max-height: 520px; overflow: auto; }
.dp-prog { border-bottom: 1px solid #eef2f7; }
.dp-prog:last-child { border-bottom: none; }
.dp-prog__sum {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    padding: 12px 16px; cursor: pointer; list-style: none;
    background: linear-gradient(90deg, rgba(14,165,233,.07), transparent);
}
.dp-prog__sum::-webkit-details-marker { display: none; }
.dp-prog__name { font-size: 13.5px; font-weight: 800; color: #0f172a; }
.dp-prog__path {
    font-size: 11px; font-weight: 700; color: #64748b;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    padding: 2px 7px; border-radius: 6px; background: #f1f5f9;
}
.dp-prog__cnt {
    margin-left: auto; font-size: 11px; font-weight: 800;
    color: #0e7490; background: #ecfeff; padding: 3px 8px; border-radius: 999px;
}
.dp-list--nested { max-height: none; background: #fafbfc; }
.dp-list--nested li { padding-left: 22px; }
.dp-hint {
    margin: 0; padding: 10px 16px 14px; font-size: 11.5px; color: var(--muted); line-height: 1.45;
    border-top: 1px dashed #e2e8f0;
}
.dp-hint code {
    font-size: 10.5px; background: #f1f5f9; padding: 1px 5px; border-radius: 4px;
}

body.dp-view-open { overflow: hidden; }
.dp-view[hidden] { display: none !important; }
.dp-view {
    position: fixed; inset: 0; z-index: 1300;
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
}
.dp-view__backdrop {
    position: absolute; inset: 0;
    background: rgba(2, 8, 18, .72);
    backdrop-filter: blur(4px);
}
.dp-view__panel {
    position: relative;
    width: min(960px, 100%);
    height: min(84vh, 820px);
    display: flex; flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    background: #0b1220;
    border: 1px solid rgba(125, 211, 252, .28);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65);
}
.dp-view__bar {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
    padding: 12px 14px;
    background: linear-gradient(180deg, #122033, #0f1a2a);
    border-bottom: 1px solid rgba(148, 163, 184, .18);
    color: #e2e8f0;
    flex-shrink: 0;
}
.dp-view__bar strong { display: block; font-size: 14px; font-weight: 800; word-break: break-all; }
.dp-view__bar span { display: block; margin-top: 3px; font-size: 11.5px; color: #94a3b8; line-height: 1.4; }
.dp-view__acts { display: flex; gap: 6px; flex-shrink: 0; flex-wrap: wrap; align-items: center; }
.dp-view__tabs { display: inline-flex; gap: 4px; margin-right: 4px; }
.dp-view__tabs .btn-mini.is-active {
    background: rgba(125, 211, 252, .2);
    color: #7dd3fc;
    border-color: rgba(125, 211, 252, .35);
}
.dp-view__acts .btn-mini {
    background: rgba(148, 163, 184, .12);
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, .22);
}
.dp-view__hero {
    flex-shrink: 0;
    margin: 0;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(16, 185, 129, .14), rgba(59, 130, 246, .1));
    border-bottom: 1px solid rgba(52, 211, 153, .28);
}
.dp-view__hero-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #6ee7b7;
    margin-bottom: 4px;
}
.dp-view__hero-url {
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    font-weight: 700;
    color: #e2e8f0;
    word-break: break-all;
    text-decoration: none;
}
.dp-view__hero-url:hover { color: #7dd3fc; text-decoration: underline; }
.dp-view__body {
    flex: 1; margin: 0; padding: 16px 18px;
    overflow: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12.5px; line-height: 1.55;
    color: #e2e8f0;
    white-space: pre-wrap; word-break: break-word;
    background: #070d18;
}
.dp-view__body[hidden], .dp-signal[hidden] { display: none !important; }
.dp-view__foot {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 11.5px; font-weight: 700;
    color: #fbbf24;
    background: #1a1520;
    border-top: 1px solid rgba(251, 191, 36, .25);
}

.dp-signal {
    flex: 1; display: flex; flex-direction: column; min-height: 0;
    background: #070d18;
}
.dp-signal__toolbar {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(148, 163, 184, .14);
    background: #0b1424;
}
.dp-signal__toolbar input[type=search] {
    flex: 1; min-width: 160px;
    padding: 8px 12px; border-radius: 999px;
    border: 1px solid rgba(125, 211, 252, .22);
    background: rgba(15, 23, 42, .85);
    color: #e2e8f0; font-size: 12.5px;
}
.dp-signal__stat {
    font-size: 11.5px; font-weight: 800; color: #94a3b8;
    padding: 4px 10px; border-radius: 999px;
    background: rgba(148, 163, 184, .1);
}
.dp-signal__head {
    display: grid; grid-template-columns: 52px 1fr 72px; gap: 10px;
    padding: 8px 14px;
    font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    color: #64748b;
    border-bottom: 1px solid rgba(148, 163, 184, .12);
    background: #0a101c;
}
.dp-signal__rows {
    flex: 1; overflow: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.dp-signal__row {
    display: grid; grid-template-columns: 52px 1fr 72px; gap: 10px;
    align-items: start;
    padding: 7px 14px;
    border-bottom: 1px solid rgba(148, 163, 184, .08);
    font-size: 12.5px; line-height: 1.45;
}
.dp-signal__row:hover { background: rgba(125, 211, 252, .06); }
.dp-signal__n { color: #64748b; font-weight: 800; font-size: 11px; text-align: right; }
.dp-signal__txt { color: #e2e8f0; word-break: break-all; }
.dp-signal__tag {
    font-size: 10px; font-weight: 800; text-transform: uppercase;
    padding: 2px 7px; border-radius: 999px; text-align: center;
    background: rgba(148, 163, 184, .12); color: #94a3b8;
}
.dp-signal__row.kind-url .dp-signal__tag { background: rgba(59, 130, 246, .18); color: #93c5fd; }
.dp-signal__row.kind-domain .dp-signal__tag { background: rgba(16, 185, 129, .16); color: #6ee7b7; }
.dp-signal__row.kind-sinyal .dp-signal__tag { background: rgba(168, 85, 247, .16); color: #d8b4fe; }
.dp-signal__empty { padding: 28px 16px; text-align: center; color: #64748b; font-size: 13px; }

.dp-hit-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 11px 16px !important;
    background: linear-gradient(90deg, rgba(14,165,233,.04), transparent);
}
.dp-hit-row__main { display: flex; align-items: center; gap: 12px; min-width: 0; }
.dp-hit-row__idx {
    flex-shrink: 0; min-width: 42px; text-align: center;
    font-size: 12px; font-weight: 800; color: #0e7490;
    background: #ecfeff; border: 1px solid #a5f3fc;
    border-radius: 10px; padding: 6px 8px;
}
.dp-hit-row__meta strong { display: block; font-size: 13px; font-weight: 800; }

.cp-fleet .cp-hero--fleet {
    background: linear-gradient(135deg, #0f172a 0%, #134e4a 48%, #0f172a 100%);
    border-color: rgba(45, 212, 191, .35);
    margin-bottom: 10px;
    border-radius: 14px;
    box-shadow: 0 8px 22px -14px rgba(2, 12, 24, .65);
}
.cp-fleet .cp-hero--compact .cp-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
}
.cp-fleet .cp-hero--compact .cp-hero__badge {
    margin-bottom: 4px;
    padding: 2px 8px;
    font-size: 9px;
}
.cp-fleet .cp-hero--compact h2 {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -.02em;
}
.cp-fleet .cp-hero--compact .cp-scan {
    margin-top: 0;
    gap: 6px;
}
.cp-fleet .cp-hero--compact .cp-scan input[type=url] {
    min-width: 0;
    padding: 7px 10px;
    font-size: 12px;
    border-radius: 8px;
}
.cp-fleet .cp-hero--compact .cp-scan .btn {
    padding: 7px 12px;
    font-size: 12px;
    border-radius: 8px;
}
.cp-fleet .cp-hero--fleet h2 { color: #f8fafc; }
.cp-fleet .cp-hero--fleet p { color: #cbd5e1; }
.cp-fleet .cp-hero__stats--fleet {
    grid-template-columns: repeat(5, minmax(48px, 1fr));
    gap: 4px;
    min-width: 0;
}
.cp-fleet .cp-hero__stats--fleet div {
    background: rgba(15, 23, 42, .55);
    border: 1px solid rgba(148, 163, 184, .18);
    padding: 6px 4px;
    border-radius: 8px;
}
.cp-fleet .cp-hero__stats--fleet b {
    font-size: .95rem;
}
.cp-fleet .cp-hero__stats--fleet span {
    font-size: 8px;
    letter-spacing: .03em;
    color: #cbd5e1;
}
.cp-fleet .cp-hero__stats--fleet .is-live-stat b { color: #34d399; }
.cp-card--fleet { padding-left: 18px; }
.cp-card__rail {
    position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: #cbd5e1; border-radius: 18px 0 0 18px;
}
.cp-card.sig-ok .cp-card__rail { background: linear-gradient(180deg, #3b82f6, #60a5fa); }
.cp-card.sig-fail .cp-card__rail { background: linear-gradient(180deg, #ef4444, #f87171); }
.cp-card.sig-unchecked .cp-card__rail { background: linear-gradient(180deg, #94a3b8, #cbd5e1); }
.cp-card.is-live .cp-card__rail { background: linear-gradient(180deg, #10b981, #34d399); }
.cp-fleet .cp-grid,
.cp-grid--equal {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
    align-items: stretch;
}
.cp-fleet .cp-grid > *,
.cp-grid--equal > * {
    min-width: 0;
}

/* —— Neo fleet kartları —— */
.cp-card--neo {
    padding: 0;
    border-radius: 16px;
    margin: 0;
    font-size: 12px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, .04),
        0 8px 24px rgba(15, 23, 42, .06);
    transition: transform .2s cubic-bezier(.22, 1, .36, 1), box-shadow .2s ease, border-color .2s ease;
    isolation: isolate;
    height: 100%;
    min-height: 440px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.cp-card--neo:hover {
    transform: translateY(-3px);
    box-shadow:
        0 2px 4px rgba(15, 23, 42, .04),
        0 16px 40px rgba(15, 23, 42, .1);
}
.cp-card--neo.is-live {
    border-color: rgba(16, 185, 129, .35);
}
.cp-card--neo.is-passive {
    opacity: 1;
    background: linear-gradient(180deg, #fafbfc, #fff);
    border-color: rgba(148, 163, 184, .3);
}
.cp-card__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(90deg, #94a3b8, #cbd5e1);
    z-index: 2;
}
.cp-card--neo.sig-ok .cp-card__accent {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}
.cp-card--neo.sig-fail .cp-card__accent {
    background: linear-gradient(90deg, #ef4444, #f87171);
}
.cp-card--neo.sig-unchecked .cp-card__accent {
    background: linear-gradient(90deg, #94a3b8, #e2e8f0);
}
.cp-card--neo.is-live .cp-card__accent {
    background: linear-gradient(90deg, #059669, #34d399);
}
.cp-card--neo .cp-card__glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6);
}
.cp-card--neo.is-live .cp-card__glow {
    opacity: 1;
    box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .2), 0 0 32px rgba(52, 211, 153, .08);
}
.cp-card--neo .cp-card__sig-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px 8px;
    margin: 0;
    border: none;
    border-bottom: 1px solid rgba(148, 163, 184, .14);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.cp-card--neo .cp-card__sig-banner.cp-card__sig-banner--ok {
    background: linear-gradient(90deg, rgba(59, 130, 246, .16), rgba(59, 130, 246, .05));
    border-bottom-color: rgba(59, 130, 246, .22);
}
.cp-card--neo .cp-card__sig-banner.cp-card__sig-banner--fail {
    background: linear-gradient(90deg, rgba(239, 68, 68, .14), rgba(239, 68, 68, .05));
    border-bottom-color: rgba(239, 68, 68, .2);
}
.cp-card--neo .cp-card__sig-banner.cp-card__sig-banner--unchecked {
    background: linear-gradient(90deg, rgba(148, 163, 184, .16), rgba(148, 163, 184, .05));
}
.cp-card__sig-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #94a3b8;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, .2);
}
.cp-card__sig-dot--ok { background: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, .22); }
.cp-card__sig-dot--fail { background: #ef4444; box-shadow: 0 0 0 3px rgba(239, 68, 68, .2); }
.cp-card--neo.sig-ok .cp-card__sig-dot { background: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, .22); }
.cp-card--neo.sig-fail .cp-card__sig-dot { background: #ef4444; box-shadow: 0 0 0 3px rgba(239, 68, 68, .2); }
.cp-card--neo.sig-unchecked .cp-card__sig-dot { background: #94a3b8; }
.cp-card--neo.sig-ok .cp-card__sig-label { color: #1d4ed8; }
.cp-card--neo.sig-fail .cp-card__sig-label { color: #b91c1c; }
.cp-card--neo.sig-unchecked .cp-card__sig-label { color: #64748b; }
.cp-card__sig-state {
    margin-left: auto;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .05em;
    padding: 3px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}
.cp-card--neo.is-live .cp-card__sig-state {
    color: #047857;
    background: #ecfdf5;
    border-color: #a7f3d0;
}
.cp-card__sig-time {
    font-style: normal;
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0;
    text-transform: none;
}
.cp-card--neo .cp-card__body {
    padding: 0 12px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
}
.cp-card__grow {
    flex: 0 0 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}
.cp-card--neo .cp-card__domains {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: block;
    margin: 0;
    padding: 0;
    border-radius: 12px;
    background: linear-gradient(165deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid #334155;
    overflow: hidden;
}
.cp-card--neo .cp-card__domains[open] {
    display: flex;
    flex-direction: column;
}
.cp-card--neo .cp-card__domains-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 0;
    padding: 9px 10px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #e2e8f0;
    border-bottom: 1px solid rgba(148, 163, 184, .16);
    background: rgba(15, 23, 42, .55);
    cursor: pointer;
    list-style: none;
    min-width: 0;
}
.cp-card--neo .cp-card__domains-head span {
    color: #e2e8f0;
    min-width: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cp-card--neo .cp-card__domains > summary {
    list-style: none;
}
.cp-card--neo .cp-card__domains > summary::-webkit-details-marker {
    display: none;
}
.cp-card--neo .cp-card__domains-head .btn-mini-alias {
    flex-shrink: 0;
    font-size: 9px;
    padding: 2px 7px;
    background: rgba(99, 102, 241, .25);
    color: #c7d2fe;
    border-color: rgba(129, 140, 248, .4);
}
.cp-card--neo .cp-dom-list {
    flex: 0 0 auto;
    min-width: 0;
    max-height: 200px;
    overflow-x: hidden;
    overflow-y: auto;
    gap: 6px;
    padding: 8px;
    list-style: none;
    margin: 0;
    scrollbar-width: thin;
    scrollbar-color: #475569 transparent;
}
.cp-card--neo .cp-dom-list::-webkit-scrollbar { width: 5px; }
.cp-card--neo .cp-dom-list::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 999px;
}

/* —— Kopya yolu satırı (route) —— */
.cp-route {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    max-width: 100%;
    padding: 8px 9px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(148, 163, 184, .14);
    overflow: hidden;
    transition: border-color .15s, background .15s;
}
.cp-route:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(125, 211, 252, .28);
}
.cp-route__head {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
.cp-route__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #64748b;
    box-shadow: none;
}
.cp-route__dot--ok {
    background: #34d399;
    box-shadow: 0 0 8px rgba(52, 211, 153, .45);
}
.cp-route__dot--off {
    background: #475569;
    box-shadow: none;
}
.cp-route.is-live {
    border-color: rgba(52, 211, 153, .28);
}
.cp-route__host {
    flex: 1;
    min-width: 0;
    font-size: 12px;
    font-weight: 800;
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -.01em;
}
.cp-route__acts {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}
.cp-route-btn {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    padding: 0;
    background: transparent;
    transition: filter .12s, transform .12s;
}
.cp-route-btn:hover { filter: brightness(1.1); transform: scale(1.06); }
.cp-route-btn--go {
    color: #93c5fd;
    background: rgba(59, 130, 246, .18);
    border-color: rgba(96, 165, 250, .35);
}
.cp-route-btn--go.is-off {
    opacity: .35;
    cursor: not-allowed;
    pointer-events: none;
}
.cp-route-btn--del {
    color: #fca5a5;
    background: rgba(239, 68, 68, .14);
    border-color: rgba(248, 113, 113, .3);
}
.cp-route__rel {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 700;
    color: #99f6e4;
    padding: 4px 7px;
    border-radius: 6px;
    background: rgba(45, 212, 191, .1);
    border: 1px solid rgba(45, 212, 191, .22);
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cp-route__disk {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10.5px;
    color: #94a3b8;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 2px;
}
.cp-route__disk::before {
    content: 'disk ';
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #64748b;
}
.cp-route--empty {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    font-style: italic;
    padding: 18px 10px;
    background: transparent;
    border: 1px dashed rgba(148, 163, 184, .25);
}
.cp-route--empty .cp-route__head,
.cp-route--empty .cp-route__rel,
.cp-route--empty .cp-route__disk { display: none; }
.cp-card__disk--ghost {
    visibility: hidden;
    pointer-events: none;
    margin-bottom: 8px;
}
.cp-card--neo .cp-card__ops--neo {
    margin-top: auto;
    flex-shrink: 0;
}
.cp-card--neo .cp-card__foot--neo {
    flex-shrink: 0;
    margin-top: 10px;
}
.cp-card--neo .cp-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
}
.cp-card__av-wrap {
    position: relative;
    flex-shrink: 0;
}
.cp-card--neo .cp-card__av {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 800;
    background: linear-gradient(145deg, #0f172a, #1e293b);
    color: #5eead4;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .2);
}
.cp-card__live-ring {
    position: absolute;
    inset: -3px;
    border-radius: 14px;
    border: 2px solid rgba(52, 211, 153, .5);
    animation: cpNeoRing 2s ease-out infinite;
}
@keyframes cpNeoRing {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.12); }
}
.cp-card--neo .cp-card__who {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cp-card__host {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cp-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.cp-chip {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 999px;
    letter-spacing: .02em;
}
.cp-chip--dom {
    color: #0f766e;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}
.cp-chip--hit {
    color: #4338ca;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
}
.cp-icon-btn {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    border: 1px solid #fecaca;
    background: #fff;
    color: #dc2626;
    font-size: 12px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background .12s, transform .12s;
}
.cp-icon-btn:hover {
    background: #fef2f2;
    transform: scale(1.05);
}
.cp-card__linkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    margin-bottom: 8px;
    border-radius: 10px;
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    border: 1px solid #e2e8f0;
    transition: border-color .15s, background .15s;
}
.cp-card__linkbox:hover {
    border-color: #93c5fd;
    background: linear-gradient(180deg, #eff6ff, #f8fafc);
}
.cp-card__linkbox-ico {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 800;
    color: #2563eb;
    background: #fff;
    border: 1px solid #bfdbfe;
}
.cp-card--neo .cp-card__url {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: #1e40af;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}
.cp-card--neo .cp-card__url:hover { text-decoration: underline; }
.cp-card--neo .cp-card__disk {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 0 0 8px;
    padding: 5px 8px;
    border-radius: 8px;
    background: #fafafa;
    border: 1px dashed #e2e8f0;
    font-size: 11px;
}
.cp-card__disk-label {
    flex-shrink: 0;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #94a3b8;
}
.cp-card__disk-path {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: #475569;
}
.cp-card--neo .cp-card__domains > summary::before {
    content: '▸';
    display: inline-block;
    color: #94a3b8;
    font-size: 10px;
    margin-right: 6px;
    transition: transform .15s ease;
}
.cp-card--neo .cp-card__domains[open] > summary::before {
    transform: rotate(90deg);
}
.cp-card__ops--neo {
    margin: 0;
    padding: 10px;
    border-radius: 12px;
    background: linear-gradient(180deg, #0f172a, #1e293b);
    border: none;
    gap: 8px;
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
}
.cp-card__ops-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(148, 163, 184, .18);
}
.cp-il--neo {
    flex: 1;
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    gap: 6px;
}
.cp-il--neo select {
    flex: 1;
    min-width: 0;
    padding: 5px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, .25);
    background: rgba(15, 23, 42, .6);
    color: #f1f5f9;
}
.cp-card__ops-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
}
.cp-op {
    padding: 7px 5px;
    border-radius: 8px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .02em;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: filter .12s, transform .12s;
    background: rgba(255, 255, 255, .08);
    color: #e2e8f0;
    border-color: rgba(148, 163, 184, .2);
}
.cp-op:hover { filter: brightness(1.15); transform: translateY(-1px); }
.cp-op--lic { color: #6ee7b7; border-color: rgba(52, 211, 153, .35); background: rgba(16, 185, 129, .12); }
.cp-op--idx { color: #93c5fd; border-color: rgba(59, 130, 246, .35); background: rgba(59, 130, 246, .12); }
.cp-op--unl { color: #fcd34d; border-color: rgba(245, 158, 11, .35); background: rgba(245, 158, 11, .1); }
.cp-op--chk { color: #cbd5e1; }
.cp-op--sig { color: #c4b5fd; border-color: rgba(167, 139, 250, .35); background: rgba(139, 92, 246, .12); }
.cp-op--roll {
    display: block;
    width: 100%;
    margin-bottom: 8px;
    padding: 9px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-align: center;
    color: #ecfdf5;
    background: linear-gradient(90deg, rgba(16, 185, 129, .35), rgba(59, 130, 246, .35));
    border: 1px solid rgba(52, 211, 153, .45);
    cursor: pointer;
    transition: filter .15s, transform .15s;
}
.cp-op--roll:hover { filter: brightness(1.08); transform: translateY(-1px); }
.cp-op--roll:disabled { opacity: .55; cursor: wait; transform: none; }

/* Kurulum paneli — kompakt il + gate şeridi */
.cp-setup {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cp-setup__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.cp-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.cp-field__lbl {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #64748b;
}
.cp-field__input {
    width: 100%;
    min-width: 0;
    padding: 6px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, .22);
    background: rgba(15, 23, 42, .55);
    color: #e2e8f0;
}
.cp-gate-strip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 8px;
    border-radius: 9px;
    background: rgba(15, 23, 42, .45);
    border: 1px solid rgba(148, 163, 184, .16);
    min-width: 0;
}
.cp-gate-strip__cell {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.cp-gate-strip__cell--grow { flex: 1; }
.cp-gate-strip__tag {
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #475569;
}
.cp-gate-strip__cell code {
    font-size: 10px;
    font-weight: 700;
    color: #5eead4;
    font-family: ui-monospace, Consolas, monospace;
}
.cp-gate-strip__arrow {
    flex-shrink: 0;
    font-size: 11px;
    color: #334155;
    padding-top: 10px;
}
.cp-gate-strip__url {
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.cp-gate-strip__url a {
    color: #6ee7b7;
    text-decoration: none;
}
.cp-gate-strip__url a:hover { text-decoration: underline; }
.cp-gate-strip__url.is-loading { color: #64748b; font-style: italic; }
.cp-gate-strip__url.is-error { color: #f87171; }
.cp-gate-strip__btn {
    flex-shrink: 0;
    align-self: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border-radius: 7px;
    font-size: 13px;
    line-height: 1;
    color: #94a3b8;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(148, 163, 184, .2);
    cursor: pointer;
    transition: background .12s, color .12s;
}
.cp-gate-strip__btn:hover {
    color: #e2e8f0;
    background: rgba(255, 255, 255, .1);
}
.cp-setup__link {
    align-self: flex-start;
    padding: 0;
    border: none;
    background: none;
    font-size: 9.5px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cp-setup__link:hover { color: #94a3b8; }
.cp-setup__link:disabled { opacity: .5; cursor: wait; }
@media (max-width: 420px) {
    .cp-setup__fields { grid-template-columns: 1fr; }
}
.cp-card__foot--neo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
    padding-top: 0;
    border: none;
}
.cp-card__meta {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    font-variant-numeric: tabular-nums;
}
.cp-card--neo .cp-card__acts {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.cp-foot-btn {
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 800;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    cursor: pointer;
    text-decoration: none;
    transition: background .12s, border-color .12s;
}
.cp-foot-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}
.cp-foot-btn--go {
    color: #047857;
    border-color: #a7f3d0;
    background: #ecfdf5;
}
.cp-foot-btn--go:hover {
    background: #d1fae5;
}

/* —— Eski stack/lux (geriye uyum) —— */
.cp-card--stack {
    padding: 0;
    border-radius: 12px;
    margin-bottom: 6px;
    font-size: 12px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, .85) inset,
        0 6px 16px rgba(15, 23, 42, .1);
}
.cp-card__stack {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
.cp-card__stack span {
    position: absolute;
    left: 5px;
    right: 5px;
    bottom: 0;
    height: 100%;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, .22);
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
}
.cp-card__stack span:first-child {
    transform: translateY(4px) scale(.985);
    opacity: .55;
}
.cp-card__stack span:last-child {
    transform: translateY(8px) scale(.97);
    opacity: .28;
}
.cp-card--fleet .cp-card__body {
    padding: 8px 10px 8px 12px;
}
.cp-card--fleet { padding-left: 0; }
.cp-card--fleet .cp-card__rail {
    border-radius: 12px 0 0 12px;
    width: 3px;
}
.cp-card__sig-banner {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px 4px 12px;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(148, 163, 184, .16);
}
.cp-card__sig-banner em {
    margin-left: auto;
    font-style: normal;
    font-size: 9px;
    font-weight: 600;
    opacity: .75;
    text-transform: none;
    letter-spacing: 0;
}
.cp-card__sig-banner--ok {
    color: #1d4ed8;
    background: linear-gradient(90deg, rgba(59, 130, 246, .12), rgba(59, 130, 246, .04));
}
.cp-card__sig-banner--fail {
    color: #b91c1c;
    background: linear-gradient(90deg, rgba(239, 68, 68, .12), rgba(239, 68, 68, .04));
}
.cp-card__sig-banner--unchecked {
    color: #64748b;
    background: linear-gradient(90deg, rgba(148, 163, 184, .14), rgba(148, 163, 184, .04));
}
.cp-card__sig-icon { font-size: 8px; line-height: 1; }

.cp-action-deck {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 12px;
}
.cp-deck {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .2);
    background: linear-gradient(145deg, rgba(255,255,255,.98), #f8fafc);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
    transition: transform .18s ease, box-shadow .18s ease;
}
.cp-deck:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(15, 23, 42, .1); }
.cp-deck::before { content: ''; position: absolute; inset: 0; opacity: .55; pointer-events: none; }
.cp-deck--scan::before { background: radial-gradient(120% 80% at 0% 0%, rgba(59, 130, 246, .14), transparent 60%); }
.cp-deck--export::before { background: radial-gradient(120% 80% at 100% 0%, rgba(16, 185, 129, .14), transparent 55%); }
.cp-deck--clean::before { background: radial-gradient(120% 80% at 50% 100%, rgba(245, 158, 11, .12), transparent 55%); }
.cp-deck__icon {
    position: relative; z-index: 1; width: 36px; height: 36px; flex-shrink: 0;
    display: grid; place-items: center; border-radius: 12px; font-size: 15px; font-weight: 800;
    color: #0f172a; background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(148, 163, 184, .25); box-shadow: 0 4px 12px rgba(15, 23, 42, .06);
}
.cp-deck--scan .cp-deck__icon { color: #1d4ed8; border-color: rgba(59, 130, 246, .3); }
.cp-deck--export .cp-deck__icon { color: #047857; border-color: rgba(16, 185, 129, .35); }
.cp-deck--clean .cp-deck__icon { color: #b45309; border-color: rgba(245, 158, 11, .35); }
.cp-deck__body { position: relative; z-index: 1; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.cp-deck__body strong { font-size: 13px; font-weight: 800; color: #0f172a; }
.cp-deck__body span { font-size: 11.5px; color: #475569; font-weight: 600; }
.cp-deck__acts { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end; }
.cp-deck__acts form { margin: 0; }
.cp-deck-btn {
    display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px;
    font-size: 10.5px; font-weight: 800; text-decoration: none;
    border: 1px solid rgba(148, 163, 184, .28); background: rgba(255, 255, 255, .92);
    color: #334155; cursor: pointer; white-space: nowrap;
}
.cp-deck-btn:hover { filter: brightness(.97); transform: translateY(-1px); }
.cp-deck-btn em { font-style: normal; font-size: 9.5px; padding: 1px 5px; border-radius: 999px; background: rgba(15, 23, 42, .06); font-weight: 800; }
.cp-deck-btn--scan { color: #1d4ed8; border-color: rgba(59, 130, 246, .35); background: linear-gradient(180deg, #eff6ff, #dbeafe); }
.cp-deck-btn--live { color: #047857; border-color: rgba(16, 185, 129, .35); background: linear-gradient(180deg, #ecfdf5, #d1fae5); }
.cp-deck-btn--mute { color: #64748b; border-color: rgba(148, 163, 184, .35); background: linear-gradient(180deg, #f8fafc, #f1f5f9); }
.cp-deck-btn--all { color: #4338ca; border-color: rgba(99, 102, 241, .35); background: linear-gradient(180deg, #eef2ff, #e0e7ff); }
.cp-deck-btn--warn { color: #b45309; border-color: rgba(245, 158, 11, .4); background: linear-gradient(180deg, #fffbeb, #fef3c7); }
.cp-deck-btn--ghost { color: #64748b; background: rgba(248, 250, 252, .9); }
.cp-toolbar--fleet {
    padding: 10px 12px; border-radius: 14px;
    background: linear-gradient(180deg, #fff, #f8fafc);
    border: 1px solid var(--border); box-shadow: 0 4px 16px rgba(15, 23, 42, .04);
    overflow: visible;
}
.cp-toolbar--fleet .cp-tabs {
    overflow: visible;
}
.cp-card--lux {
    background: linear-gradient(165deg, rgba(255,255,255,.98) 0%, #fff 45%, #f8fafc 100%);
    border: 1px solid rgba(148, 163, 184, .22);
}
.cp-card--lux::after {
    content: ''; position: absolute; top: 0; right: 0; width: 48%; height: 42%;
    background: radial-gradient(ellipse at 100% 0%, rgba(99, 102, 241, .06), transparent 70%);
    pointer-events: none;
}
.cp-card__glow {
    position: absolute; inset: -1px; border-radius: inherit; opacity: 0;
    pointer-events: none; transition: opacity .25s ease;
}
.cp-card--lux.is-live .cp-card__glow { opacity: 1; box-shadow: 0 0 0 1px rgba(52, 211, 153, .35), 0 0 28px rgba(52, 211, 153, .12); }
.cp-card--lux.sig-ok .cp-card__glow { opacity: .85; box-shadow: 0 0 0 1px rgba(59, 130, 246, .28), 0 0 24px rgba(59, 130, 246, .1); }
.cp-card--lux.sig-fail .cp-card__glow { opacity: .75; box-shadow: 0 0 0 1px rgba(239, 68, 68, .25), 0 0 20px rgba(239, 68, 68, .08); }
.cp-card--lux.is-passive { opacity: .92; background: linear-gradient(165deg, #fafafa 0%, #f8fafc 100%); }
.cp-card__sig-state {
    margin-left: auto; font-size: 9px; font-weight: 800; letter-spacing: .04em;
    text-transform: uppercase; padding: 2px 6px; border-radius: 999px;
    background: rgba(15, 23, 42, .06); color: #64748b;
}
.cp-card.is-live .cp-card__sig-state { color: #047857; background: rgba(52, 211, 153, .16); }
.cp-card.is-passive .cp-card__sig-state { color: #94a3b8; }
.cp-card__sig-banner em { flex-shrink: 0; font-size: 8.5px; opacity: .7; }
.cp-fleet .cp-kit { transition: transform .2s ease, box-shadow .2s ease; }
.cp-fleet .cp-kit:hover { transform: translateY(-3px); box-shadow: 0 22px 48px rgba(15, 23, 42, .22); }
.cp-fleet .cp-hero__stats--fleet .cp-stat-sig-ok b { color: #60a5fa; }
.cp-fleet .cp-hero__stats--fleet .cp-stat-sig-fail b { color: #f87171; }

/* Radar hero + URL tarama */
.cp-hero--radar .cp-hero__inner {
    grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}
.cp-scan {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.cp-scan input[type=url] {
    flex: 1;
    min-width: 200px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(45, 212, 191, .35);
    background: rgba(15, 23, 42, .55);
    color: #f8fafc;
    font-size: 12.5px;
}
.cp-scan input[type=url]::placeholder { color: #64748b; }
.cp-scan__hint {
    margin: 8px 0 0;
    font-size: 11.5px;
    color: #94a3b8;
    max-width: 520px;
}
.cp-radar {
    position: relative;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}
.cp-radar__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(45, 212, 191, .35);
    animation: cpRadarPulse 2.4s ease-out infinite;
}
.cp-radar__ring--2 {
    animation-delay: .8s;
    opacity: .6;
}
.cp-radar__dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 12px rgba(52, 211, 153, .8);
}
.cp-radar__label {
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #5eead4;
}
@keyframes cpRadarPulse {
    0% { transform: scale(.55); opacity: .9; }
    100% { transform: scale(1.15); opacity: 0; }
}

.cp-fleet .cp-toolbar {
    padding: 12px 14px;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fafc, #fff);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

/* Canlı paneller — modern kart / domain yolları */
.cp-fleet .cp-kits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.cp-fleet .cp-kit {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(45, 212, 191, .12), transparent 55%),
        linear-gradient(165deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
    border: 1px solid rgba(148, 163, 184, .22);
    color: #e2e8f0;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .18);
}
.cp-fleet .cp-kit h3 { color: #f8fafc; }
.cp-fleet .cp-kit p { color: #94a3b8; }
.cp-fleet .cp-kit--enc {
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(167, 139, 250, .18), transparent 55%),
        linear-gradient(165deg, #1e1b4b 0%, #312e81 50%, #0f172a 100%);
}
.cp-fleet .cp-kit__tag {
    color: #99f6e4; background: rgba(45, 212, 191, .12); border-color: rgba(45, 212, 191, .28);
}
.cp-fleet .cp-kit__tag--enc {
    color: #ddd6fe; background: rgba(167, 139, 250, .16); border-color: rgba(167, 139, 250, .35);
}
.cp-fleet .cp-kit__meta { color: #94a3b8; }
.cp-fleet .cp-tabs a {
    font-size: 12px;
    font-weight: 700;
}
.cp-fleet .cp-search input[type="search"],
.cp-fleet .cp-search input[type="text"] {
    font-size: 13px;
}
.cp-studio--pro {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, .35);
    box-shadow: 0 20px 50px rgba(79, 70, 229, .15);
}
.cp-studio--pro .cp-studio__chrome {
    background: linear-gradient(90deg, #1e1b4b, #0f172a 60%);
    color: #e2e8f0;
}
.cp-studio--pro .cp-studio__path { color: #a5b4fc; font-weight: 600; }
.cp-studio--pro .cp-studio__foot {
    background: linear-gradient(180deg, #0f172a, #111827);
    border-top: 1px solid rgba(99, 102, 241, .25);
    color: #94a3b8;
}

/* —— Tam ekran Medusa Studio —— */
body.cp-edit-open {
    overflow: hidden;
    height: 100vh;
    width: 100%;
    position: fixed;
    inset: 0;
}
body.cp-edit-open .layout {
    filter: blur(6px) saturate(.75);
    pointer-events: none;
    user-select: none;
}
.cp-studio-shell {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
    animation: cpStudioIn .28s ease both;
}
.cp-studio-shell__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 15% 10%, rgba(99, 102, 241, .35), transparent 55%),
        radial-gradient(ellipse 60% 45% at 90% 90%, rgba(45, 212, 191, .22), transparent 50%),
        linear-gradient(160deg, rgba(2, 6, 23, .92), rgba(15, 23, 42, .96));
    backdrop-filter: blur(10px);
}
.cp-studio-shell__frame {
    position: relative;
    z-index: 1;
    width: min(1240px, 100%);
    height: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
    min-height: 0;
}
.cp-studio-shell__top {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: nowrap;
    padding: 10px 14px;
    min-height: 56px;
    max-height: 56px;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(120deg, rgba(30, 27, 75, .95), rgba(15, 23, 42, .92));
    border: 1px solid rgba(165, 180, 252, .28);
    box-shadow: 0 12px 32px rgba(2, 6, 23, .35);
}
.cp-studio-shell__top--compact .cp-studio-shell__brand em {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}
.cp-studio-shell__titles {
    min-width: 0;
}
.cp-studio-shell__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex-shrink: 0;
}
.cp-studio-shell__mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-family: ui-monospace, Consolas, monospace;
    font-size: 12px;
    font-weight: 800;
    color: #c7d2fe;
    background: linear-gradient(145deg, #4338ca, #0f172a);
    border: 1px solid rgba(199, 210, 254, .35);
    flex-shrink: 0;
}
.cp-studio-shell__brand strong {
    display: block;
    color: #f8fafc;
    font-size: .98rem;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.2;
}
.cp-studio-shell__brand em {
    display: block;
    margin-top: 1px;
    font-style: normal;
    font-size: 10.5px;
    color: #94a3b8;
    font-weight: 600;
}
.cp-studio-shell__chips {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    flex: 1;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
}
.cp-studio-chip {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 999px;
    white-space: nowrap;
    color: #cbd5e1;
    background: rgba(148, 163, 184, .12);
    border: 1px solid rgba(148, 163, 184, .22);
}
.cp-studio-chip--gate {
    color: #99f6e4;
    background: rgba(45, 212, 191, .12);
    border-color: rgba(45, 212, 191, .35);
}
.cp-studio-chip--enc {
    color: #ddd6fe;
    background: rgba(167, 139, 250, .14);
    border-color: rgba(167, 139, 250, .35);
}
.cp-studio-shell__top-acts {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.cp-studio-close {
    white-space: nowrap;
}
.cp-studio--overlay {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 0;
    border-radius: 16px;
    border: 1px solid rgba(129, 140, 248, .4);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, .04) inset,
        0 24px 60px rgba(2, 6, 23, .55);
    animation: cpStudioPanel .32s ease .04s both;
}
.cp-studio--overlay .cp-studio__chrome {
    flex-shrink: 0;
    padding: 8px 12px;
}
.cp-studio--overlay .cp-studio__form {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.cp-studio--overlay .cp-studio__stage {
    flex: 1;
    min-height: 0;
    max-height: none;
    height: auto;
    overflow: hidden;
}
.cp-studio--overlay .cp-studio__code {
    min-height: 0;
    max-height: none;
    height: 100%;
    resize: none;
    overflow: auto;
}
.cp-studio--overlay .cp-studio__gutter {
    max-height: none;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}
.cp-studio--overlay .cp-studio__foot {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
}
.cp-studio__hint {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    white-space: nowrap;
}
.cp-studio__live {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #34d399;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(52, 211, 153, .12);
    border: 1px solid rgba(52, 211, 153, .28);
    white-space: nowrap;
}
.cp-studio-shell__hint {
    display: none;
}
@keyframes cpStudioIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes cpStudioPanel {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.cp-card__domains {
    margin: 10px 0 4px;
    padding: 10px 12px;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    border: 1px solid #e2e8f0;
}
.cp-card--neo .cp-card__domains {
    margin: 0;
    padding: 0;
}
.cp-card__domains-head {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    margin-bottom: 8px;
    font-size: 11px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .04em;
}
.btn-mini-alias {
    background: #312e81; color: #e0e7ff; border-color: #4338ca;
    text-transform: none; letter-spacing: 0; font-weight: 700;
}
.btn-mini-alias:hover { background: #4338ca; color: #fff; }
.cp-dom-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cp-dom-row {
    padding: 8px 10px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 4px 10px;
    align-items: center;
}
.cp-dom-row__acts {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-self: center;
}
.cp-dom-row__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cp-dom-row__host { font-size: 13px; font-weight: 800; color: #0f172a; }
.cp-dom-row__panel {
    font-size: 11.5px; color: #4f46e5; word-break: break-all; text-decoration: none; font-weight: 600;
}
.cp-dom-row__panel:hover { text-decoration: underline; }
.cp-dom-row__panel.is-empty { color: #94a3b8; font-weight: 500; font-style: italic; }
.cp-dom-row__meta {
    display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 4px;
    font-size: 11px; color: #64748b;
}
.cp-dom-row__meta code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    background: #ecfeff; color: #0e7490; border: 1px solid #a5f3fc;
    border-radius: 6px; padding: 1px 6px;
}
.cp-dom-row__disk { word-break: break-all; opacity: .85; }
.cp-card__disk {
    font-size: 11px; color: #64748b; word-break: break-all;
    margin: 4px 0 2px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (max-width: 900px) {
    .cp-action-deck { grid-template-columns: 1fr; }
    .cp-deck { flex-wrap: wrap; }
    .cp-deck__acts { width: 100%; justify-content: flex-start; }
}
@media (max-width: 720px) {
    .cp-fleet .cp-hero--compact .cp-hero__inner {
        grid-template-columns: 1fr;
    }
    .cp-fleet .cp-hero__stats--fleet {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    .cp-hero--radar .cp-hero__inner { grid-template-columns: 1fr; }
    .cp-radar { margin: 0 auto; }
    .dp-hero__inner, .dp-grid { flex-direction: column; grid-template-columns: 1fr; }
    .dp-hero__stats { min-width: 0; width: 100%; }
    .cp-studio__stage { grid-template-columns: 40px 1fr; }
    .cp-fleet .cp-kits { grid-template-columns: 1fr; }
    .cp-studio-shell { padding: 6px; }
    .cp-studio-shell__frame { height: 100%; max-height: 100%; }
    .cp-studio-shell__top { min-height: 52px; max-height: 52px; padding: 8px 10px; }
    .cp-studio-shell__chips { display: none; }
    .cp-studio--overlay .cp-studio__foot {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .cp-studio__hint { display: none; }
    .cp-fleet .cp-grid,
    .cp-grid--equal { grid-template-columns: 1fr; }
    .cp-card--neo { min-height: 400px; }
}

