/* Nexora Lisans Merkezi */
:root {
  --nx-primary: #2448a7; --nx-primary-soft: #eaf0ff; --nx-ink: #14213d; --nx-muted: #667085; --nx-line: #e6e9f0;
  --nx-bg: #f5f6fa; --nx-surface: #fff; --nx-side: #0f1b3d; --nx-side-ink: #c7d0e6;
  --nx-green: #087f5b; --nx-green-soft: #e6f6ee; --nx-amber: #a85b08; --nx-amber-soft: #fff4e0; --nx-red: #c92a2a; --nx-red-soft: #ffeded;
  --nx-gray-soft: #f0f2f7; --nx-radius: 14px;
}
[data-bs-theme="dark"] {
  --nx-primary: #8ea8f0; --nx-primary-soft: #232e4d; --nx-ink: #e6e8f2; --nx-muted: #9aa3b8; --nx-line: #2c3347;
  --nx-bg: #141824; --nx-surface: #1b2030; --nx-side: #0d1120; --nx-side-ink: #b6bfd6;
  --nx-green: #6fdcb3; --nx-green-soft: #1d3a31; --nx-amber: #f0b46a; --nx-amber-soft: #3d311f; --nx-red: #f28b8b; --nx-red-soft: #3f2226; --nx-gray-soft: #232838;
}
body { background: var(--nx-bg); color: var(--nx-ink); font-size: .92rem; }
.tbl { margin: 0; }
a { text-decoration: none; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; letter-spacing: .01em; }
.muted { color: var(--nx-muted) !important; }
.strong { font-weight: 700; color: var(--nx-ink); }
.nowrap { white-space: nowrap; }
.opt { color: var(--nx-muted); font-size: .72rem; font-weight: 500; }
.ti { line-height: 1; }
.form-label { font-size: .78rem; font-weight: 700; color: var(--nx-ink); margin-bottom: .3rem; }

/* ------------------------------------------------------------- iskelet */
.shell { display: flex; min-height: 100vh; }
.side { background: var(--nx-side); color: var(--nx-side-ink); display: flex; flex: 0 0 248px; flex-direction: column; height: 100vh; padding: 1.1rem .8rem; position: sticky; top: 0; }
.brand { align-items: center; color: #fff; display: flex; gap: .65rem; padding: .2rem .45rem 1.2rem; }
.brand b { display: block; font-size: 1.02rem; letter-spacing: -.01em; line-height: 1.1; }
.brand small { color: var(--nx-side-ink); display: block; font-size: .74rem; }
.brand-mark { align-items: center; background: linear-gradient(135deg, #3a63d8, #2448a7); border-radius: 11px; color: #fff; display: inline-flex; font-size: 1.25rem; height: 2.3rem; justify-content: center; width: 2.3rem; }
.side-nav { display: grid; gap: 2px; }
.side-nav a { align-items: center; border-radius: 10px; color: var(--nx-side-ink); display: flex; font-weight: 600; gap: .7rem; padding: .58rem .7rem; }
.side-nav a .ti { font-size: 1.15rem; opacity: .85; }
.side-nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.side-nav a.active { background: rgba(122, 156, 255, .16); color: #fff; }
.side-nav a.active .ti { color: #9db6ff; opacity: 1; }
.badge-dot { background: #e5484d; border-radius: 99px; color: #fff; font-size: .68rem; font-style: normal; font-weight: 700; margin-left: auto; padding: .05rem .45rem; }
.side-foot { align-items: center; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; font-size: .78rem; gap: .5rem; justify-content: space-between; margin-top: auto; padding: .8rem .45rem 0; }
.side-foot a { align-items: center; color: var(--nx-side-ink); display: inline-flex; gap: .35rem; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.main { flex: 1; min-width: 0; }
.top { align-items: center; background: color-mix(in srgb, var(--nx-bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--nx-line); display: flex; gap: .8rem; padding: .7rem 1.6rem; position: sticky; top: 0; z-index: 20; }
.crumbs { align-items: center; color: var(--nx-muted); display: flex; flex-wrap: wrap; font-size: .82rem; gap: .35rem; min-width: 0; }
.crumbs a { color: var(--nx-muted); }
.crumbs span { color: var(--nx-ink); font-weight: 600; }
.top-actions { align-items: center; display: flex; gap: .4rem; margin-left: auto; }
.top-search { position: relative; }
.top-search .ti { color: var(--nx-muted); left: .7rem; position: absolute; top: 50%; transform: translateY(-50%); }
.top-search input { background: var(--nx-surface); border: 1px solid var(--nx-line); border-radius: 10px; color: var(--nx-ink); font-size: .84rem; padding: .45rem .8rem .45rem 2rem; width: 300px; }
.icon-btn { align-items: center; background: var(--nx-surface); border: 1px solid var(--nx-line); border-radius: 10px; color: var(--nx-ink); display: inline-flex; font-size: 1.1rem; height: 2.25rem; justify-content: center; width: 2.25rem; }
.icon-btn:hover { border-color: var(--nx-primary); color: var(--nx-primary); }
.content { margin: 0 auto; max-width: 1360px; padding: 1.5rem 1.6rem 3rem; }
.side-scrim { display: none; }

.page-head { align-items: flex-end; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; margin-bottom: 1.3rem; }
.page-head h1 { font-size: 1.55rem; font-weight: 800; letter-spacing: -.025em; margin: 0; }
.page-head p { color: var(--nx-muted); margin: .3rem 0 0; max-width: 75ch; }
.page-head p .pill { vertical-align: 1px; }
.page-actions { display: flex; flex-wrap: wrap; gap: .45rem; }

.flash { align-items: flex-start; border-radius: 12px; display: flex; font-size: .87rem; gap: .55rem; margin-bottom: 1rem; padding: .7rem .9rem; }
.flash .ti { font-size: 1.1rem; margin-top: .05rem; }
.flash span { flex: 1; }
.flash.success { background: var(--nx-green-soft); color: var(--nx-green); }
.flash.error { background: var(--nx-red-soft); color: var(--nx-red); }
.flash-x { background: none; border: 0; color: inherit; font-size: 1.2rem; line-height: 1; opacity: .6; }

/* ------------------------------------------------------------- kartlar */
.card-x { background: var(--nx-surface); border: 1px solid var(--nx-line); border-radius: var(--nx-radius); margin-bottom: 1.1rem; min-width: 0; }
.card-x-head { align-items: center; border-bottom: 1px solid var(--nx-line); display: flex; gap: .6rem; justify-content: space-between; min-height: 3.1rem; padding: .65rem 1.1rem; }
.card-x-head h2 { align-items: center; display: flex; font-size: .98rem; font-weight: 800; gap: .5rem; margin: 0; }
.card-x-head h2 .ti { color: var(--nx-primary); font-size: 1.1rem; }
.card-x-body { padding: 1rem 1.1rem; }
.card-x-foot { border-top: 1px solid var(--nx-line); padding: .5rem 1rem; }
.grid-2 { display: grid; gap: 1.1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-side { display: grid; gap: 1.1rem; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); align-items: start; }

.kpis { display: grid; gap: .8rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 1.1rem; }
.kpi { align-items: center; background: var(--nx-surface); border: 1px solid var(--nx-line); border-radius: var(--nx-radius); color: inherit; display: flex; gap: .85rem; padding: .9rem 1rem; transition: border-color .15s, box-shadow .15s; }
.kpi:hover { border-color: color-mix(in srgb, var(--nx-primary) 40%, var(--nx-line)); box-shadow: 0 6px 18px rgba(20, 33, 61, .06); color: inherit; }
.kpi > span:last-child { min-width: 0; }
.kpi small { color: var(--nx-muted); display: block; font-size: .74rem; font-weight: 700; }
.kpi strong { display: block; font-size: 1.4rem; font-variant-numeric: tabular-nums; font-weight: 800; line-height: 1.25; }
.kpi strong.money { font-size: 1.15rem; }
.kpi strong em { color: var(--nx-muted); font-size: .9rem; font-style: normal; margin-left: .2rem; }
.kpi span span { color: var(--nx-muted); display: block; font-size: .76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kpi-icon { align-items: center; border-radius: 12px; display: flex; flex: 0 0 2.6rem; font-size: 1.3rem; height: 2.6rem; justify-content: center; }
.kpi-icon.blue { background: var(--nx-primary-soft); color: var(--nx-primary); }
.kpi-icon.green { background: var(--nx-green-soft); color: var(--nx-green); }
.kpi-icon.amber { background: var(--nx-amber-soft); color: var(--nx-amber); }
.kpi-icon.red { background: var(--nx-red-soft); color: var(--nx-red); }

.stat-row { display: grid; gap: .8rem; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 1.1rem; }
.stat-row > div { background: var(--nx-surface); border: 1px solid var(--nx-line); border-radius: var(--nx-radius); padding: .75rem 1rem; }
.stat-row small { color: var(--nx-muted); display: block; font-size: .72rem; font-weight: 700; }
.stat-row b { display: block; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.stat-row span { color: var(--nx-muted); font-size: .75rem; }
.stat-row .green b { color: var(--nx-green); }
.stat-row .red b { color: var(--nx-red); }

/* ------------------------------------------------------------- listeler */
.alerts, .timeline, .log, .docs, .result, .checks { list-style: none; margin: 0; padding: 0; }
.alert-row { align-items: center; display: flex; gap: .75rem; padding: .6rem 1.1rem; }
.alert-row + .alert-row { border-top: 1px solid var(--nx-line); }
.alert-icon { align-items: center; border-radius: 10px; display: flex; flex: 0 0 2.1rem; font-size: 1.05rem; height: 2.1rem; justify-content: center; }
.alert-row.danger .alert-icon { background: var(--nx-red-soft); color: var(--nx-red); }
.alert-row.warning .alert-icon { background: var(--nx-amber-soft); color: var(--nx-amber); }
.alert-row.info .alert-icon { background: var(--nx-primary-soft); color: var(--nx-primary); }
.grow { flex: 1; min-width: 0; }
.alert-row b, .timeline b { display: block; font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.alert-row small, .timeline small { color: var(--nx-muted); display: block; font-size: .76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.timeline li { align-items: center; display: flex; gap: .8rem; padding: .55rem 1.1rem; }
.timeline li + li { border-top: 1px solid var(--nx-line); }
.date { align-items: center; background: var(--nx-gray-soft); border-radius: 10px; display: flex; flex: 0 0 2.8rem; flex-direction: column; justify-content: center; line-height: 1.05; min-height: 2.8rem; }
.date b { font-size: 1.05rem; font-weight: 800; }
.date small { color: var(--nx-muted); font-size: .66rem; font-weight: 700; text-transform: uppercase; }
.log li { border-left: 2px solid var(--nx-line); margin: 0 1.1rem; padding: .45rem 0 .45rem .9rem; position: relative; }
.log li::before { background: var(--nx-surface); border: 2px solid var(--nx-muted); border-radius: 50%; content: ""; height: .65rem; left: -.4rem; position: absolute; top: .7rem; width: .65rem; }
.log li:first-child { margin-top: .6rem; }
.log li:last-child { margin-bottom: .6rem; }
.log b { display: block; font-size: .83rem; font-weight: 600; }
.log small { color: var(--nx-muted); font-size: .74rem; }
.empty-line { align-items: center; color: var(--nx-muted); display: flex; gap: .55rem; margin: 0; padding: 1rem 1.1rem; }
.empty-line .ti { color: var(--nx-green); font-size: 1.2rem; }
.empty-line.muted-icon .ti { color: var(--nx-muted); }
.empty { background: var(--nx-surface); border: 1px dashed var(--nx-line); border-radius: var(--nx-radius); padding: 2.6rem 1rem; text-align: center; }
.empty-icon { align-items: center; background: var(--nx-primary-soft); border-radius: 50%; color: var(--nx-primary); display: inline-flex; font-size: 1.7rem; height: 3.8rem; justify-content: center; margin-bottom: .7rem; width: 3.8rem; }
.empty h3 { font-size: 1.02rem; font-weight: 800; margin: 0 0 .3rem; }
.empty p { color: var(--nx-muted); margin: 0 auto .9rem; max-width: 52ch; }
.result li { align-items: center; display: flex; flex-wrap: wrap; gap: .3rem .8rem; padding: .55rem 1.1rem; }
.result li + li { border-top: 1px solid var(--nx-line); }
.result small { color: var(--nx-muted); }
.pager { align-items: center; display: flex; gap: .8rem; justify-content: center; }

/* ------------------------------------------------------------- tablo */
.tbl th { border-bottom: 1px solid var(--nx-line); color: var(--nx-muted); font-size: .72rem; font-weight: 700; letter-spacing: .03em; padding: .65rem 1.1rem; text-transform: uppercase; white-space: nowrap; }
.tbl td { border-color: var(--nx-line); padding: .7rem 1.1rem; vertical-align: middle; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl.hover tbody tr[data-href] { cursor: pointer; }
.tbl.hover tbody tr:hover td { background: var(--nx-gray-soft); }
.tbl small { font-size: .75rem; }
.row-late td:first-child { box-shadow: inset 3px 0 0 var(--nx-red); }

/* ------------------------------------------------------------- etiketler ve ölçerler */
.pill { align-items: center; border-radius: 99px; display: inline-flex; font-size: .72rem; font-weight: 700; gap: .3rem; padding: .2rem .55rem; white-space: nowrap; }
.pill.gray { background: var(--nx-gray-soft); color: var(--nx-muted); }
.pill.blue { background: var(--nx-primary-soft); color: var(--nx-primary); }
.pill.green { background: var(--nx-green-soft); color: var(--nx-green); }
.pill.amber { background: var(--nx-amber-soft); color: var(--nx-amber); }
.pill.red { background: var(--nx-red-soft); color: var(--nx-red); }
.meter { display: grid; gap: .3rem; min-width: 0; }
.meter-top { align-items: baseline; display: flex; gap: .3rem; }
.meter-top small { color: var(--nx-muted); font-size: .72rem; font-weight: 700; margin-right: auto; }
.meter-top b { font-size: .84rem; font-variant-numeric: tabular-nums; }
.meter-top em { color: var(--nx-muted); font-size: .74rem; font-style: normal; white-space: nowrap; }
.meter-top em.red { color: var(--nx-red); font-weight: 700; }
.bar { background: var(--nx-gray-soft); border-radius: 99px; display: block; height: 6px; overflow: hidden; }
.bar > span { background: var(--nx-primary); border-radius: 99px; display: block; height: 100%; }
.bar.amber > span { background: var(--nx-amber); }
.bar.red > span { background: var(--nx-red); }
.bar.unl { background: repeating-linear-gradient(90deg, var(--nx-line) 0 6px, transparent 6px 10px); }
.meters { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }

.dl { display: grid; margin: 0; padding: .3rem 1.1rem .6rem; }
.dl > div { border-top: 1px solid var(--nx-line); display: grid; gap: .8rem; grid-template-columns: 9.5rem minmax(0, 1fr); padding: .5rem 0; }
.dl > div:first-child { border-top: 0; }
.dl dt { color: var(--nx-muted); font-size: .8rem; font-weight: 600; }
.dl dd { font-size: .86rem; margin: 0; overflow-wrap: anywhere; }
.dl.compact { padding-top: 0; }

/* ------------------------------------------------------------- araç çubuğu */
.toolbar { align-items: center; display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.chip { align-items: center; background: var(--nx-surface); border: 1px solid var(--nx-line); border-radius: 99px; color: var(--nx-muted); display: inline-flex; font-size: .8rem; font-weight: 700; gap: .4rem; padding: .34rem .75rem; }
.chip span { font-size: .7rem; opacity: .8; }
.chip:hover { border-color: var(--nx-muted); color: var(--nx-ink); }
.chip.on { background: var(--nx-primary); border-color: var(--nx-primary); color: #fff; }
[data-bs-theme="dark"] .chip.on { color: #0d1120; }
.chip.warn:not(.on) { border-color: var(--nx-red); color: var(--nx-red); }
.search { flex: 1 1 240px; margin-left: auto; max-width: 380px; position: relative; }
.search .ti { color: var(--nx-muted); left: .75rem; position: absolute; top: 50%; transform: translateY(-50%); }
.search input { padding-left: 2.2rem; }
.totals { color: var(--nx-muted); font-size: .84rem; margin: -.3rem 0 .6rem; text-align: right; }
.totals b { color: var(--nx-ink); }

/* ------------------------------------------------------------- formlar */
.form-card { padding: 1.2rem 1.3rem; }
.form-card.narrow { max-width: 520px; }
.form-section { align-items: baseline; border-top: 1px solid var(--nx-line); display: flex; font-size: .8rem; font-weight: 800; gap: .5rem; letter-spacing: .03em; margin: 1.2rem 0 .8rem; padding-top: 1rem; text-transform: uppercase; }
.form-section:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.form-section small { color: var(--nx-muted); font-size: .72rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.form-grid { display: grid; gap: .85rem 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.span-2 { grid-column: span 2; }
.span-4 { grid-column: 1 / -1; }
.field { margin: 0 0 .2rem; min-width: 0; }
.help { color: var(--nx-muted); display: block; font-size: .74rem; margin-top: .25rem; }
.form-foot { align-items: center; border-top: 1px solid var(--nx-line); display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; margin-top: 1.2rem; padding-top: 1rem; }
.switch { align-items: flex-start; background: var(--nx-gray-soft); border-radius: 12px; cursor: pointer; display: flex; gap: .65rem; margin: 0; padding: .7rem .85rem; }
.switch .form-check-input { flex: 0 0 auto; margin-top: .15rem; }
.switch b { display: block; font-size: .86rem; }
.switch small { color: var(--nx-muted); display: block; font-size: .76rem; line-height: 1.4; }
.switch.flat { align-self: end; background: none; padding: .4rem 0; }
.quick { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .7rem; }
.quick button { background: var(--nx-surface); border: 1px solid var(--nx-line); border-radius: 99px; color: var(--nx-ink); font-size: .76rem; font-weight: 700; padding: .25rem .7rem; }
.quick button:hover { border-color: var(--nx-primary); color: var(--nx-primary); }
.dd-actions { align-items: baseline; display: flex; flex-wrap: wrap; gap: .2rem .9rem; font-size: .78rem; margin-top: .15rem; }
.dd-actions .btn-link { line-height: inherit; font-size: .78rem; font-weight: 600; text-decoration: none; }
.quick-row { display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; }
.quick > span { align-self: center; color: var(--nx-muted); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-right: .1rem; }
.quick button.on { background: var(--nx-primary); border-color: var(--nx-primary); color: #fff; }
.gross { color: var(--nx-muted); font-size: .82rem; margin: .6rem 0 0; }
.gross b { color: var(--nx-ink); }
.note { align-items: flex-start; color: var(--nx-amber); display: flex; font-size: .8rem; gap: .4rem; margin: .7rem 1.1rem; }
.preview { background: var(--nx-gray-soft); border-radius: 12px; font-size: .82rem; margin-top: .8rem; padding: .7rem .9rem; }
.preview ol { margin: .3rem 0 0; padding-left: 1.1rem; }
.preview li span { display: inline-block; min-width: 8rem; }
.inline-form { align-items: flex-end; display: flex; flex-wrap: wrap; gap: .8rem; }
.stack > * + * { margin-top: .7rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.btn-row form { margin: 0; }
.code-box { align-items: center; background: var(--nx-primary-soft); border: 1px dashed color-mix(in srgb, var(--nx-primary) 45%, transparent); border-radius: 12px; display: flex; gap: .8rem; justify-content: space-between; margin: .4rem 0 .8rem; padding: .7rem .9rem; }
.code-box .mono { color: var(--nx-primary); font-size: 1.15rem; font-weight: 800; letter-spacing: .06em; }
.key-out { font-size: .74rem; word-break: break-all; }
.upload { display: grid; gap: .6rem; margin-bottom: .8rem; }
.upload .form-select { max-width: 240px; }
.drop { align-items: center; background: var(--nx-gray-soft); border: 2px dashed var(--nx-line); border-radius: 14px; color: var(--nx-muted); cursor: pointer; display: flex; gap: .8rem; margin: 0; min-height: 96px; padding: .9rem 1.1rem; }
.drop .ti { color: var(--nx-primary); font-size: 1.8rem; }
.drop b { color: var(--nx-primary); }
.drop small { display: block; font-size: .74rem; }
.drop.over, .drop:hover { background: var(--nx-primary-soft); border-color: var(--nx-primary); }
.docs li { align-items: center; border: 1px solid var(--nx-line); border-radius: 12px; display: flex; gap: .6rem; margin-top: .45rem; padding: .45rem .6rem; }
.docs li > .ti { color: var(--nx-primary); font-size: 1.3rem; }
.docs small { color: var(--nx-muted); display: block; font-size: .74rem; }
.docs form { margin: 0; }
.danger-zone { align-items: center; border: 1px dashed var(--nx-red); border-radius: 12px; color: var(--nx-muted); display: flex; font-size: .84rem; gap: .8rem; justify-content: space-between; padding: .7rem 1rem; }

/* ------------------------------------------------------------- paketler */
.plans { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.plan { background: var(--nx-surface); border: 1px solid var(--nx-line); border-radius: var(--nx-radius); color: inherit; display: grid; gap: .45rem; padding: 1.1rem; transition: border-color .15s, transform .15s; }
.plan:hover { border-color: var(--nx-primary); color: inherit; transform: translateY(-1px); }
.plan.off { opacity: .65; }
.plan-head { align-items: center; display: flex; gap: .5rem; justify-content: space-between; }
.plan-head b { font-size: 1.05rem; }
.plan > small { color: var(--nx-muted); min-height: 1.2em; }
.plan-price { font-size: 1.3rem; font-variant-numeric: tabular-nums; font-weight: 800; }
.plan-price em { color: var(--nx-muted); font-size: .8rem; font-style: normal; font-weight: 600; margin-left: .25rem; }
.plan ul { display: grid; gap: .3rem; list-style: none; margin: .2rem 0 0; padding: 0; }
.plan li { align-items: center; display: flex; font-size: .83rem; gap: .45rem; }
.plan li .ti { color: var(--nx-primary); }
.plan-foot { border-top: 1px dashed var(--nx-line); color: var(--nx-muted); font-size: .76rem; padding-top: .5rem; }

/* ------------------------------------------------------------- giriş / kurulum */
body.auth { align-items: center; background: radial-gradient(1200px 600px at 10% -10%, #dfe7ff 0%, transparent 60%), var(--nx-bg); display: flex; justify-content: center; min-height: 100vh; padding: 2rem 1rem; }
[data-bs-theme="dark"] body.auth { background: radial-gradient(1200px 600px at 10% -10%, #1c2850 0%, transparent 60%), var(--nx-bg); }
.auth-card { background: var(--nx-surface); border: 1px solid var(--nx-line); border-radius: 20px; box-shadow: 0 24px 60px rgba(20, 33, 61, .08); max-width: 420px; padding: 2rem; width: 100%; }
.auth-card.wide { max-width: 680px; }
.auth-card h1 { font-size: 1.45rem; font-weight: 800; margin: 1.1rem 0 .3rem; }
.brand.big { color: var(--nx-ink); padding: 0; }
.brand.big small { color: var(--nx-muted); }
.checks li { align-items: center; display: flex; font-size: .85rem; gap: .5rem; padding: .25rem 0; }
.checks li span { color: var(--nx-muted); margin-left: auto; }
.checks li.ok .ti { color: var(--nx-green); }
.checks li.bad .ti { color: var(--nx-red); }
.checks { margin: 1rem 0; }

/* ------------------------------------------------------------- duyarlı */
@media (max-width: 1199.98px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2, .grid-side { grid-template-columns: minmax(0, 1fr); }
  .form-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top-search input { width: 220px; }
}
@media (max-width: 991.98px) {
  .side { bottom: 0; left: 0; position: fixed; top: 0; transform: translateX(-100%); transition: transform .2s; z-index: 50; }
  body.side-open .side { transform: none; }
  body.side-open .side-scrim { background: rgba(10, 15, 30, .45); display: block; inset: 0; position: fixed; z-index: 40; }
  .top { padding: .6rem 1rem; }
  .content { padding: 1.1rem 1rem 2.5rem; }
  .top-search { display: none; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .kpis, .form-grid, .form-grid.four, .meters { grid-template-columns: minmax(0, 1fr); }
  .span-2, .span-4 { grid-column: auto; }
  .dl > div { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
  .search { margin-left: 0; max-width: none; }
  .page-actions { width: 100%; }
}
.tbl td .pill { white-space: normal; }
@media (max-width: 575.98px) { .inline-form .field.grow { flex: 1 1 100%; } .code-box .mono { font-size: 1rem; } }
.plan-maint { align-items: center; background: var(--nx-gray-soft); border-radius: 8px; color: var(--nx-ink); display: inline-flex; font-size: .78rem; font-weight: 600; gap: .35rem; justify-self: start; padding: .25rem .55rem; }
.plan-maint .ti { color: var(--nx-primary); }
