/* LisansPro lisans sunucusu paneli */
:root {
    --paper: #f3f5fa; --surface: #fff; --ink: #14213d; --ink-2: #2a3654; --muted: #5b6782;
    --line: #dce2ee; --line-strong: #c5cee0; --primary: #2f5bff; --primary-ink: #1d3fd1; --primary-soft: #e8eeff;
    --brass: #ffc83d; --ok: #12a06b; --ok-ink: #0b6b47; --ok-soft: #e3f6ee; --danger: #d6324a; --danger-soft: #fdecef;
    --warn-ink: #7a5a00; --warn-soft: #fff4d6;
    --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Inter", sans-serif;
    --mono: ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--primary-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2 { margin: 0; line-height: 1.2; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.ls-top { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 10; }
.ls-top-inner { max-width: 1240px; margin: 0 auto; padding: 0 20px; min-height: 60px; display: flex; align-items: center; gap: 20px; }
.ls-brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-weight: 700; font-size: 16px; text-decoration: none !important; }
.ls-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--brass); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.ls-nav { display: flex; gap: 2px; flex: 1; overflow-x: auto; }
.ls-nav a { padding: 8px 12px; border-radius: 8px; color: #c4cde3; font-weight: 600; font-size: 14.5px; white-space: nowrap; text-decoration: none; }
.ls-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.ls-nav a.is-active { color: #fff; background: rgba(255,255,255,.14); }
.ls-link { border: 0; background: none; color: #c4cde3; font-weight: 600; cursor: pointer; padding: 6px; }
.ls-link:hover { color: #fff; }
.ls-main { max-width: 1240px; margin: 0 auto; padding: 24px 20px 60px; }
.ls-bare { min-height: 100vh; display: grid; place-items: center; background: var(--ink); }
.ls-auth { width: min(440px, 92vw); padding: 24px 0; }
.ls-bare .ls-brand { color: #fff; margin-bottom: 16px; }

.ls-h1 { font-size: 24px; margin-bottom: 18px; }
.ls-h1 small { font-size: 15px; font-weight: 500; }
.ls-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.ls-toolbar .ls-h1 { margin-bottom: 0; }
.ls-back { margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.ls-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-bottom: 18px; }
.ls-card h1 { font-size: 22px; margin-bottom: 14px; }
.ls-flush { padding: 0; overflow: hidden; }
.ls-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.ls-card-head h2 { font-size: 16.5px; }
.ls-card-head a { font-size: 14px; font-weight: 600; }
.ls-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.ls-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.ls-stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.ls-stat span { display: block; color: var(--muted); font-size: 13.5px; }
.ls-stat strong { display: block; font-size: 28px; margin-top: 4px; }

.ls-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 0 18px; border: 1px solid transparent; border-radius: 10px; background: var(--primary); color: #fff; font-weight: 700; cursor: pointer; text-decoration: none !important; }
.ls-btn:hover { background: var(--primary-ink); }
.ls-btn-sm { min-height: 34px; padding: 0 12px; font-size: 14px; }
.ls-btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.ls-btn-ghost:hover { background: #fff; border-color: var(--ink); }
.ls-btn-danger { background: #fff; color: var(--danger); border-color: #f3b3bf; }
.ls-btn-danger:hover { background: var(--danger-soft); }
.ls-btn-block { width: 100%; margin-top: 12px; }
.ls-top .ls-btn { background: var(--brass); color: var(--ink); }

.ls-form { display: grid; gap: 14px; }
.ls-form h2 { font-size: 15px; margin-top: 6px; }
.ls-form label { display: grid; gap: 5px; font-size: 13.5px; font-weight: 600; }
.ls-form small { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.ls-form input, .ls-form select, .ls-form textarea, .ls-filters input, .ls-filters select { width: 100%; min-height: 42px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; font-size: 15px; font-weight: 400; }
.ls-form textarea { resize: vertical; }
.ls-form input:focus, .ls-form select:focus, .ls-form textarea:focus, .ls-filters input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.ls-form input[type="file"] { padding: 8px; }
.ls-form > .ls-btn { justify-self: start; }
.ls-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ls-filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ls-filters input[type="search"] { width: 280px; }
.ls-filters select { width: auto; }
.ls-msg { width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--paper); font-size: 14px; line-height: 1.55; resize: vertical; }

.ls-table-wrap { overflow-x: auto; position: relative; }
.ls-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ls-table th { text-align: left; font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 10px 14px; background: #f8f9fc; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ls-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ls-table tr:last-child td { border-bottom: 0; }
.ls-card:not(.ls-flush) .ls-table th, .ls-card:not(.ls-flush) .ls-table td { padding-left: 6px; padding-right: 6px; }
.ls-right { text-align: right; }
.ls-mono { font-family: var(--mono); font-size: .9em; }
.ls-muted { color: var(--muted); }
.ls-block { display: block; }
.ls-empty { color: var(--muted); padding: 18px; text-align: center; }
.ls-badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--paper); color: var(--ink-2); white-space: nowrap; }
.ls-ok { background: var(--ok-soft); color: var(--ok-ink); }
.ls-warn { background: var(--warn-soft); color: var(--warn-ink); }
.ls-danger { background: var(--danger-soft); color: #9b1c31; }
.ls-info { background: var(--primary-soft); color: var(--primary-ink); }
.ls-alert { padding: 11px 14px; border-radius: 10px; margin-bottom: 14px; font-size: 14.5px; border: 1px solid; }
.ls-alert-success { background: var(--ok-soft); color: var(--ok-ink); border-color: #b6e6d1; }
.ls-alert-error { background: var(--danger-soft); color: #9b1c31; border-color: #f6c7d0; }
.ls-alert-warning { background: var(--warn-soft); color: var(--warn-ink); border-color: #f3dc97; }
.ls-kv { margin: 0; display: grid; }
.ls-kv div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.ls-kv div:first-child { border-top: 0; }
.ls-kv dt { color: var(--muted); }
.ls-kv dd { margin: 0; font-weight: 600; text-align: right; word-break: break-all; }
.ls-mini { list-style: none; margin: 0; padding: 0; display: grid; }
.ls-mini li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.ls-mini li:first-child { border-top: 0; }
.ls-mini a { display: grid; }
.ls-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14.5px; }
.ls-checks { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 4px; font-size: 14px; }
.ls-checks .ok { color: var(--ok-ink); }
.ls-checks .bad { color: #9b1c31; font-weight: 700; }
.ls-pre { padding: 10px 12px; background: var(--paper); border-radius: 8px; font-family: var(--mono); font-size: 13px; word-break: break-all; white-space: pre-wrap; margin: 8px 0 14px; }
.ls-pages { display: flex; gap: 6px; justify-content: center; padding: 14px; }
.ls-pages a { min-width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; font-weight: 600; }
.ls-pages a.is-current { background: var(--primary); border-color: var(--primary); color: #fff; }

@media (max-width: 900px) {
    .ls-grid, .ls-row { grid-template-columns: minmax(0, 1fr); }
    .ls-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ls-top-inner { flex-wrap: wrap; padding: 10px 16px; }
    .ls-nav { order: 3; flex-basis: 100%; }
    .ls-filters input[type="search"] { width: 100%; }
}
.ls-addons { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px 12px; margin: 0; display: grid; gap: 6px; }
.ls-addons legend { font-size: 13.5px; font-weight: 600; padding: 0 4px; }
.ls-form .ls-check { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14.5px; }
.ls-form .ls-check input { width: 18px; min-height: 18px; height: 18px; accent-color: var(--primary); }
