/* NORAX yönetim paneli */
:root {
  --bg: #06080b; --bg-2: #0a0e13; --surface: #0e141a; --surface-2: #141b23;
  --line: rgb(255 255 255 / 0.08); --line-2: rgb(255 255 255 / 0.15);
  --ink: #e9eef2; --muted: #8b97a3; --dim: #5d6873;
  --accent: #2ef2b8; --accent-ink: #03140f; --amber: #ffb648; --blue: #59b4ff; --danger: #ff6b6b;
  --display: "Archivo", system-ui, sans-serif; --mono: "JetBrains Mono", ui-monospace, monospace;
  --r: 12px; --r-lg: 18px; --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 14.5px/1.55 var(--display); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 99; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 0.92em; }
.h2 { margin: 0; font-size: 17px; font-weight: 600; }

/* düğmeler */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; transition: transform 0.25s var(--ease), box-shadow 0.25s, background-color 0.2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 26px -8px rgb(46 242 184 / 0.6); }
.btn:active { transform: translateY(0) scale(0.97); }
.btn--ghost { background: rgb(255 255 255 / 0.05); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { background: rgb(255 255 255 / 0.09); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.25); }
.btn--danger { background: var(--danger); color: #1a0505; }
.btn--sm { min-height: 34px; padding: 0 12px; font-size: 13px; }
.btn--block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; transition: background-color 0.2s, color 0.2s, transform 0.2s; }
.icon-btn:hover { background: rgb(255 255 255 / 0.07); color: var(--ink); }
.icon-btn:active { transform: scale(0.92); }
.icon-btn.danger:hover { color: var(--danger); background: rgb(255 107 107 / 0.1); }
.lnk { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 500; background: none; border: 0; padding: 0; cursor: pointer; }
.lnk:hover { text-decoration: underline; text-underline-offset: 3px; }
.lnk.danger { color: var(--danger); }

/* iskelet */
.shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 8px; padding: 20px 14px; border-right: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); overflow-y: auto; }
.side__logo { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; font: 700 17px/1 var(--display); letter-spacing: 0.16em; font-variation-settings: "wdth" 125; }
.side__logo svg { width: 28px; height: 28px; }
.side__logo small { margin-left: auto; font: 500 10px var(--mono); letter-spacing: 0.1em; color: var(--accent); text-transform: uppercase; padding: 4px 7px; border-radius: 6px; background: rgb(46 242 184 / 0.1); }
.side__group { margin: 14px 10px 4px; font: 500 10.5px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.side__nav { display: grid; gap: 2px; }
.side__link { position: relative; display: flex; align-items: center; gap: 11px; width: 100%; min-height: 40px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: #b8c2cb; font-size: 14px; text-align: left; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.side__link:hover { background: rgb(255 255 255 / 0.05); color: var(--ink); }
.side__link[aria-current="page"] { background: rgb(46 242 184 / 0.1); color: var(--ink); }
.side__link[aria-current="page"]::before { content: ""; position: absolute; left: -14px; top: 9px; bottom: 9px; width: 3px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.side__link[aria-current="page"] svg { color: var(--accent); }
.badge { margin-left: auto; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font: 600 11px/20px var(--mono); text-align: center; }
.side__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 2px; }

.main { min-width: 0; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; padding: 14px clamp(16px, 3vw, 36px); background: rgb(6 8 11 / 0.8); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top__menu { display: none; }
.top__title h1 { margin: 2px 0 0; font: 600 22px/1.15 var(--display); font-variation-settings: "wdth" 112; letter-spacing: -0.01em; }
.top__eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 10.5px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.8s infinite; display: inline-block; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(46 242 184 / 0.6); } 70% { box-shadow: 0 0 0 9px rgb(46 242 184 / 0); } 100% { box-shadow: 0 0 0 0 rgb(46 242 184 / 0); } }
.top__user { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.top__who { display: grid; line-height: 1.2; }
.top__who small { color: var(--muted); font-size: 12px; }
.avatar { display: inline-grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: linear-gradient(135deg, rgb(46 242 184 / 0.25), rgb(89 180 255 / 0.25)); box-shadow: inset 0 0 0 1px rgb(46 242 184 / 0.4); font: 600 13px var(--mono); }
.avatar.sm { width: 32px; height: 32px; font-size: 11.5px; }
.content { padding: clamp(16px, 3vw, 36px); display: grid; gap: 22px; align-content: start; }

/* kartlar */
.card { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; min-width: 0; }
.card--flush { padding: 0; overflow: hidden; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card__head h2 { margin: 0; font-size: 15px; font-weight: 600; }
.card__head .muted { font-size: 12px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kpi { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; }
.kpi::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgb(46 242 184 / 0.14), transparent 70%); }
.kpi p { margin: 0; }
.kpi__l { font: 500 11px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.kpi__v { font: 600 34px/1.1 var(--display); font-variation-settings: "wdth" 112; margin-top: 10px !important; font-variant-numeric: tabular-nums; }
.kpi__d { margin-top: 8px !important; font: 500 12.5px var(--mono); color: var(--muted); }
.kpi__d.up { color: var(--accent); }
.kpi__d.down { color: var(--danger); }
.kpi__d span { color: var(--muted); font-family: var(--display); }
.grid-2-1 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }

/* grafik */
.chart { position: relative; height: 240px; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart__grid { stroke: var(--line); stroke-dasharray: 3 5; }
.chart__line { fill: none; stroke: var(--accent); stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgb(46 242 184 / 0.6)); }
.chart.is-in .chart__line { animation: draw 1.8s var(--ease) forwards; }
.chart__area { opacity: 0; }
.chart.is-in .chart__area { animation: fade 1.2s 0.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.chart__hits { position: absolute; inset: 0; display: block; }
.chart__hits span { position: absolute; top: 0; bottom: 0; width: 3.4%; transform: translateX(-50%); }
.chart__hits i { position: absolute; left: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 2px var(--accent), 0 0 12px var(--accent); opacity: 0; transition: opacity 0.15s; }
.chart__hits span::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(transparent, rgb(46 242 184 / 0.5), transparent); opacity: 0; transition: opacity 0.15s; }
.chart__hits span:hover i, .chart__hits span:hover::before { opacity: 1; }
.chart__hits span:hover::after { content: attr(data-tip); position: absolute; left: 50%; top: -6px; transform: translate(-50%, -100%); white-space: nowrap; padding: 6px 10px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line-2); font: 500 12px var(--mono); z-index: 2; }
.chart__axis { display: flex; justify-content: space-between; margin-top: 10px; color: var(--dim); font-size: 11.5px; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: 6px; font-size: 14px; }
.bars i { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: var(--line); position: relative; overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--accent), var(--blue)); transition: width 1.2s var(--ease); }
.is-in .bars i::after, .bars.is-in i::after { width: var(--w); }

.feed, .live, .log, .perm { list-style: none; margin: 0; padding: 0; }
.feed li a { display: flex; align-items: center; gap: 12px; padding: 10px 8px; margin: 0 -8px; border-radius: 10px; transition: background-color 0.2s; }
.feed li a:hover { background: rgb(255 255 255 / 0.04); }
.feed b { display: block; font-weight: 600; font-size: 14px; }
.feed small { color: var(--muted); font-size: 12.5px; }
.feed .dot { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.feed .tag { margin-left: auto; }
.live li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.live b { color: var(--accent); font-weight: 500; }
.log li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: #c3ccd4; }
.log small { display: block; color: var(--dim); font-family: var(--mono); font-size: 11px; }
.flash-num { animation: flashn 0.6s var(--ease); }
@keyframes flashn { from { color: #fff; text-shadow: 0 0 12px var(--accent); } }

/* etiketler */
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font: 500 11px var(--mono); white-space: nowrap; background: rgb(255 255 255 / 0.07); color: #c3ccd4; }
.tag--yeni { background: rgb(46 242 184 / 0.14); color: var(--accent); }
.tag--inceleniyor { background: rgb(89 180 255 / 0.14); color: var(--blue); }
.tag--gorusme { background: rgb(255 182 72 / 0.14); color: var(--amber); }
.tag--teklif, .tag--yanitlandi { background: rgb(46 242 184 / 0.08); color: #9fe9d2; }
.tag--olumsuz { background: rgb(255 107 107 / 0.12); color: var(--danger); }
.state { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.state.on { color: var(--ink); }
.state.on::before { background: var(--accent); box-shadow: 0 0 8px var(--accent); }

/* araç çubuğu, sekmeler, arama */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.toolbar__right { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.search { display: flex; align-items: center; gap: 8px; min-width: min(360px, 100%); height: 42px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: rgb(255 255 255 / 0.03); color: var(--muted); }
.search:focus-within { border-color: var(--accent); }
.search input { flex: 1; border: 0; background: none; outline: none; height: 100%; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: rgb(255 255 255 / 0.04); border: 1px solid var(--line); }
.tabs a, .tabs button { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px; border: 0; border-radius: 9px; background: none; color: var(--muted); font-size: 13.5px; font-weight: 500; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.tabs a:hover, .tabs button:hover { color: var(--ink); }
.tabs [aria-current="true"], .tabs [aria-selected="true"] { background: var(--surface-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.tabs b { font: 500 11px var(--mono); color: var(--dim); }

/* tablo */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; padding: 13px 16px; font: 500 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 0.02); }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background-color 0.15s; }
.table tbody tr:hover { background: rgb(255 255 255 / 0.025); }
.row-title { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.row-title img { width: 56px; height: 40px; object-fit: cover; border-radius: 7px; flex: none; }
a.row-title:hover { color: var(--accent); }
.acts { white-space: nowrap; text-align: right; }
.acts form { display: inline; }
.acts > * { display: inline-grid; vertical-align: middle; }
.empty { text-align: center; padding: 40px 16px !important; color: var(--muted); }

/* formlar */
.stack { display: grid; gap: 18px; align-content: start; }
.fld { display: grid; gap: 7px; }
.fld label, .lbl { font-size: 13px; font-weight: 500; color: #c3ccd4; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 42px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: rgb(255 255 255 / 0.03); transition: border-color 0.2s, box-shadow 0.2s; }
.fld textarea { resize: vertical; line-height: 1.6; }
.fld select option { background: var(--surface); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(46 242 184 / 0.14); }
.fld.has-err input, .fld.has-err textarea { border-color: var(--danger); }
.mono-area { font-family: var(--mono) !important; font-size: 13px !important; }
.hint { margin: 0; color: var(--dim); font-size: 12.5px; }
.err { margin: 0; color: var(--danger); font-size: 12.5px; }
.chars { justify-self: end; margin-top: -4px; font: 500 11px var(--mono); color: var(--dim); }
.chars.warn { color: var(--amber); }
.switch { display: flex; align-items: center; gap: 12px; min-height: 40px; cursor: pointer; font-size: 14px; }
.switch input { position: absolute; opacity: 0; }
.switch span { position: relative; width: 40px; height: 22px; border-radius: 22px; background: var(--line-2); transition: background-color 0.25s; flex: none; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform 0.3s var(--ease); }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.editor { display: grid; gap: 18px; }
.editor__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.editor__side { position: sticky; top: 92px; }
.pick-preview { aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: repeating-linear-gradient(45deg, rgb(255 255 255 / 0.03) 0 10px, transparent 10px 20px); border: 1px solid var(--line); display: grid; place-items: center; color: var(--dim); font-size: 13px; }
.pick-preview img { width: 100%; height: 100%; object-fit: cover; }
.pick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; max-height: 168px; overflow-y: auto; padding: 2px; }
.pick-grid button { aspect-ratio: 1; padding: 0; border: 0; border-radius: 7px; overflow: hidden; cursor: pointer; opacity: 0.6; transition: opacity 0.2s, box-shadow 0.2s; }
.pick-grid button:hover { opacity: 1; }
.pick-grid button[aria-selected="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--accent); }
.pick-grid img { width: 100%; height: 100%; object-fit: cover; }
.upload { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border-radius: 10px; border: 1px dashed var(--line-2); color: var(--muted); font-size: 13px; cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.upload:hover { border-color: var(--accent); color: var(--ink); }
.upload input { position: absolute; opacity: 0; width: 1px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13px; transition: background-color 0.2s, color 0.2s; }
.seg input:checked + span { background: var(--accent); color: var(--accent-ink); box-shadow: none; font-weight: 600; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* gelen kutusu */
.inbox { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 16px; align-items: start; }
.inbox__list { list-style: none; margin: 0; max-height: calc(100vh - 220px); overflow-y: auto; }
.inbox__list a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); transition: background-color 0.2s; }
.inbox__list a:hover { background: rgb(255 255 255 / 0.03); }
.inbox__list a[aria-current="true"] { background: rgb(46 242 184 / 0.07); box-shadow: inset 3px 0 0 var(--accent); }
.inbox__meta { display: grid; min-width: 0; }
.inbox__meta b { font-weight: 600; }
.inbox__meta small { color: var(--muted); font-size: 12.5px; }
.inbox__meta em { font-style: normal; color: var(--dim); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox__side { display: grid; justify-items: end; gap: 6px; }
.inbox__side small { color: var(--dim); font: 500 11px var(--mono); white-space: nowrap; }
.inbox__read { display: grid; gap: 20px; animation: rise 0.4s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.read__head { display: flex; align-items: center; gap: 14px; }
.read__head h2 { margin: 0; font-size: 19px; }
.read__head p { margin: 2px 0 0; font-size: 13px; }
.read__head > .muted { margin-left: auto; font-size: 12px; }
.read__kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 0; }
.read__kv div { padding: 12px 14px; border-radius: 10px; background: rgb(255 255 255 / 0.03); border: 1px solid var(--line); }
.read__kv dt { font: 500 10.5px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.read__kv dd { margin: 4px 0 0; word-break: break-word; }
.read__body { padding: 18px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); line-height: 1.7; font-size: 15px; }
.read__del { justify-self: start; }

/* medya */
.drop { padding: 0; border-style: dashed; border-color: var(--line-2); transition: border-color 0.2s, background-color 0.2s; }
.drop.is-over { border-color: var(--accent); background: rgb(46 242 184 / 0.06); }
.drop__in { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 34px 20px; cursor: pointer; }
.drop__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: rgb(46 242 184 / 0.1); color: var(--accent); margin-bottom: 6px; }
.media { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.media__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.media__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.media li:hover .media__img img { transform: scale(1.04); }
.media__body { display: grid; gap: 4px; padding: 12px 14px 14px; font-size: 12.5px; }
.media__body b { font-size: 12.5px; word-break: break-all; }

.perm { display: grid; gap: 10px; margin-top: 6px; }
.perm li { display: grid; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; }
.perm span { display: flex; flex-wrap: wrap; gap: 4px; }
.perm i { font-style: normal; font: 500 11px var(--mono); padding: 3px 7px; border-radius: 6px; background: rgb(255 255 255 / 0.06); color: #c3ccd4; }

/* bildirim ve onay */
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: rgb(46 242 184 / 0.1); border: 1px solid rgb(46 242 184 / 0.35); animation: rise 0.4s var(--ease); }
.toast svg { color: var(--accent); flex: none; }
.toast--bad { background: rgb(255 107 107 / 0.1); border-color: rgb(255 107 107 / 0.4); }
.toast--bad svg { color: var(--danger); }
.toast.is-out { opacity: 0; transform: translateY(-6px); transition: opacity 0.4s, transform 0.4s; }
.confirm { border: 1px solid var(--line-2); border-radius: 16px; background: var(--surface); color: var(--ink); padding: 24px; width: min(420px, 92vw); box-shadow: 0 30px 80px rgb(0 0 0 / 0.7); }
.confirm::backdrop { background: rgb(0 0 0 / 0.6); backdrop-filter: blur(4px); }
.confirm[open] { animation: rise 0.3s var(--ease); }
.confirm p { margin: 0 0 20px; font-size: 15px; }
.confirm__row { display: flex; justify-content: flex-end; gap: 10px; }

/* giriş */
.bare { min-height: 100vh; }
.login { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 24px; overflow: hidden; isolation: isolate; }
.login__fx { position: absolute; inset: 0; z-index: -1; opacity: 0.8; }
.login::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgb(6 8 11 / 0.3), var(--bg) 75%); }
.login__card { width: min(420px, 100%); padding: 32px; border-radius: 22px; background: rgb(14 20 26 / 0.78); backdrop-filter: blur(18px); border: 1px solid var(--line-2); box-shadow: 0 40px 100px rgb(0 0 0 / 0.7); display: grid; gap: 14px; animation: rise 0.6s var(--ease); }
.login__card .side__logo { padding: 0 0 8px; }
.login__card h1 { margin: 0; font: 600 26px/1.15 var(--display); font-variation-settings: "wdth" 112; }
.login__card > p { margin: 0 0 6px; }
.login__demo { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 0; padding: 12px; border-radius: 10px; background: rgb(46 242 184 / 0.07); border: 1px solid rgb(46 242 184 / 0.25); font-size: 12.5px; color: #c3ccd4; }
.login__demo svg { color: var(--accent); flex: none; margin-top: 2px; }

/* duyarlı */
@media (max-width: 1200px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { position: fixed; z-index: 40; left: 0; top: 0; width: 272px; transform: translateX(-100%); transition: transform 0.4s var(--ease); box-shadow: 30px 0 80px rgb(0 0 0 / 0.6); }
  .side.is-open { transform: none; }
  .top__menu { display: inline-grid; }
  .top__who { display: none; }
  .grid-2-1, .grid-3, .editor__grid, .inbox { grid-template-columns: minmax(0, 1fr); }
  .editor__side { position: static; }
  .inbox__list { max-height: 360px; }
  .table { display: block; overflow-x: auto; white-space: nowrap; }
}
@media (max-width: 560px) {
  .kpis { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .kpi__v { font-size: 26px; }
  .top__title h1 { font-size: 18px; }
  .toolbar > * { width: 100%; }
  .toolbar .btn { width: 100%; }
}

