/* Panel — tasarim tokenlari. Renk ve tipografi opencode.ai'den ornek alindi. */

/* IBM Plex Mono (SIL OFL 1.1, bkz. fonts/OFL.txt) — panelden sunulur, dis istek yok. */
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("fonts/ibm-plex-mono-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 500;
  src: url("fonts/ibm-plex-mono-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 500;
  src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 700;
  src: url("fonts/ibm-plex-mono-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 700;
  src: url("fonts/ibm-plex-mono-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --font: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  --bg: hsl(0, 20%, 99%);            /* opencode --color-background */
  --surface: hsl(0, 20%, 99%);
  --surface-2: hsl(0, 8%, 97%);      /* --color-background-weak */
  --surface-3: hsl(0, 8%, 94%);      /* --color-background-weak-hover */
  --sidebar: hsl(0, 8%, 97%);
  --text: hsl(0, 5%, 12%);           /* --color-text-strong */
  --text-2: hsl(0, 1%, 39%);         /* --color-text */
  --muted: hsl(0, 1%, 55%);          /* --color-icon / text-weak */
  --border: hsla(0, 100%, 3%, 0.12); /* --color-border-weak */
  --border-strong: hsl(30, 2%, 81%); /* --color-border */
  --strong: hsl(0, 5%, 12%);         /* --color-background-strong (dugmeler) */
  --strong-hover: hsl(0, 5%, 18%);
  --on-strong: hsl(0, 20%, 99%);
  --highlight: hsl(62, 84%, 88%);    /* --color-background-interactive */
  --highlight-weak: hsl(64, 74%, 95%);
  --on-highlight: hsl(0, 5%, 12%);
  --accent-text: hsl(0, 5%, 12%);

  --ok: #30d158;   --ok-soft: hsl(135, 55%, 94%);  --ok-text: #1b7a35;
  --warn: #ff9f0a; --warn-soft: hsl(36, 100%, 94%); --warn-text: #9a5a00;
  --down: #ff3b30; --down-soft: hsl(3, 100%, 95%);  --down-text: #c4271d;
  --unknown: hsl(30, 2%, 70%); --unknown-soft: hsl(0, 8%, 94%); --unknown-text: hsl(0, 1%, 39%);
  --sparse: #a7e8b8;
  --chart-1: hsl(0, 5%, 12%);
  --chart-2: #007aff;

  --radius: 8px;      /* opencode --border-radius-lg */
  --radius-sm: 5px;   /* --border-radius-md */
  --radius-xs: 3px;   /* --border-radius-sm */
  --shadow: none;
  --shadow-lg: 0 12px 32px hsla(0, 100%, 3%, 0.08);
  --sidebar-w: 240px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0c0e;                    /* opencode koyu --color-bg */
    --surface: #121214;
    --surface-2: #161618;             /* --color-bg-surface */
    --surface-3: #1c1c1f;             /* --color-bg-elevated */
    --sidebar: #0f0f11;
    --text: #f5f3f3;
    --text-2: #c7c7cc;                /* --color-text-secondary */
    --muted: #8e8e93;
    --border: #2c2c2e;                /* --color-border-muted */
    --border-strong: #38383a;         /* --color-border */
    --strong: #f5f3f3;
    --strong-hover: #ffffff;
    --on-strong: #121214;
    --highlight: hsla(62, 84%, 70%, 0.16);
    --highlight-weak: hsla(62, 84%, 70%, 0.08);
    --on-highlight: hsl(62, 84%, 82%);
    --accent-text: #f5f3f3;

    --ok: #30d158;   --ok-soft: rgba(48, 209, 88, .14);  --ok-text: #4cdc72;
    --warn: #ff9f0a; --warn-soft: rgba(255, 159, 10, .14); --warn-text: #ffb340;
    --down: #ff453a; --down-soft: rgba(255, 69, 58, .15);  --down-text: #ff6961;
    --unknown: #5a5a60; --unknown-soft: #1c1c1f; --unknown-text: #a1a1a6;
    --sparse: #1d6b33;
    --chart-1: #f5f3f3;
    --chart-2: #0a84ff;
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}

/* Temel */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font: 14px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--text); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3 { color: var(--text); line-height: 1.3; margin: 0; letter-spacing: 0; }
h1 { font-size: 1.5rem; font-weight: 700; }
h2 { font-size: .95rem; font-weight: 700; }
h3 { font-size: .9rem; font-weight: 500; }
strong, b { color: var(--text); font-weight: 500; }
code { font: .92em var(--font); background: var(--surface-2); border: 1px solid var(--border); padding: 0 5px; border-radius: var(--radius-xs); color: var(--text); }
.icon { flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.num { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Iskelet */
.shell { display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr); min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; gap: 4px;
  padding: 20px 14px; background: var(--sidebar); border-right: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 18px; color: var(--text); font-weight: 700; font-size: 1.05rem; }
.brand:hover { text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--radius-sm); background: var(--strong); color: var(--on-strong); }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius-sm);
  color: var(--text-2); font-weight: 500;
}
.nav a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.nav a.active { background: var(--highlight); color: var(--on-highlight); }
.nav-label { padding: 16px 10px 6px; font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.sidebar-foot { margin-top: auto; padding: 12px 10px 0; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.user { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--text-2); font-weight: 500; }
.avatar { display: grid; place-items: center; width: 26px; height: 26px; border-radius: var(--radius-sm); background: var(--surface-3); color: var(--text); font-size: .8rem; font-weight: 700; text-transform: uppercase; border: 1px solid var(--border); }
.user span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.main { min-width: 0; padding: 28px 36px 64px; }
.container { max-width: 1180px; margin: 0 auto; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head p { margin: 4px 0 0; color: var(--muted); }
.crumbs { display: flex; gap: 6px; align-items: center; font-size: .82rem; color: var(--muted); margin-bottom: 6px; }
.crumbs a { color: var(--muted); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.section { margin-top: 28px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-head p { margin: 2px 0 0; color: var(--muted); font-size: .85rem; }

@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: sticky; z-index: 10; height: auto; flex-direction: row; align-items: center; gap: 8px; padding: 10px 16px; border-right: 0; border-bottom: 1px solid var(--border); overflow-x: auto; }
  .brand { padding: 0 8px 0 0; }
  .brand span:last-child, .nav-label { display: none; }
  .nav { flex-direction: row; }
  .nav a { padding: 7px 10px; white-space: nowrap; }
  .nav a span { display: none; }
  .nav a.active span { display: inline; }
  .sidebar-foot { margin: 0 0 0 auto; padding: 0; border: 0; }
  .user { display: none; }
  .main { padding: 20px 16px 48px; }
}

/* Kartlar */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 18px 20px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.card-body { padding: 16px 20px; }
.card-foot { padding: 12px 20px; border-top: 1px solid var(--border); font-size: .85rem; color: var(--muted); }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi { padding: 12px 14px; }
  .kpi-value { font-size: 1.2rem; }
  .kpi-hint { display: none; }
  .kpi-icon { display: none; }
  .banner { padding: 14px 16px; }
}

/* Ozet kutulari */
.kpi { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kpi-label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .82rem; font-weight: 500; }
.kpi-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border); color: var(--text); }
.kpi-value { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.kpi-value small { font-size: .9rem; font-weight: 500; color: var(--muted); }
.kpi-hint { font-size: .8rem; color: var(--muted); }

/* Durum seridi */
.banner { display: flex; align-items: center; gap: 16px; padding: 18px 22px; margin-bottom: 18px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); }
.banner-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex: none; }
.banner h2 { font-size: 1.1rem; }
.banner p { margin: 2px 0 0; color: var(--muted); font-size: .88rem; }
.banner.ok .banner-icon { background: var(--ok-soft); color: var(--ok); }
.banner.warn .banner-icon { background: var(--warn-soft); color: var(--warn); }
.banner.down .banner-icon { background: var(--down-soft); color: var(--down); }
.banner.unknown .banner-icon { background: var(--unknown-soft); color: var(--unknown-text); }

/* Durum rozetleri */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px;
  font-size: .76rem; font-weight: 500; white-space: nowrap; line-height: 1.6;
  background: var(--unknown-soft); color: var(--unknown-text);
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.plain::before { display: none; }
.badge.ok { background: var(--ok-soft); color: var(--ok-text); }
.badge.warn, .badge.stale { background: var(--warn-soft); color: var(--warn-text); }
.badge.down { background: var(--down-soft); color: var(--down-text); }
.badge.manual { background: var(--highlight); color: var(--on-highlight); }
.badge.unmonitored, .badge.muted { background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--unknown); flex: none; }
.dot.ok { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.dot.warn, .dot.stale { background: var(--warn); box-shadow: 0 0 0 3px var(--warn-soft); }
.dot.down { background: var(--down); box-shadow: 0 0 0 3px var(--down-soft); }
.dot.unknown { box-shadow: 0 0 0 3px var(--unknown-soft); }

/* Listeler */
.list { list-style: none; margin: 0; padding: 0; }
.list-row { display: flex; align-items: center; gap: 14px; padding: 12px 20px; border-top: 1px solid var(--border); min-width: 0; }
.list-row:first-child { border-top: 0; }
.list-main { min-width: 0; flex: 1; }
.list-title { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--text); min-width: 0; }
.list-title a { color: inherit; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-sub { color: var(--muted); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-side { display: flex; align-items: center; gap: 14px; flex: none; color: var(--text-2); font-size: .85rem; }
.empty { padding: 28px 20px; text-align: center; color: var(--muted); }
.empty .icon { display: block; margin: 0 auto 8px; color: var(--unknown); }

/* Erisim seridi (uptime) */
.uptime { display: flex; gap: 2px; align-items: stretch; height: 26px; }
.uptime.compact { height: 18px; width: 150px; gap: 1.5px; }
.uptime span { flex: 1; border-radius: 2px; background: var(--unknown-soft); min-width: 2px; }
.uptime span.ok { background: var(--ok); }
.uptime span.sparse { background: var(--sparse); }
.uptime span.partial { background: var(--warn); }
.uptime span.down { background: var(--down); }
.uptime-scale { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); margin-top: 6px; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .78rem; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; background: var(--unknown-soft); }
.legend i.ok { background: var(--ok); } .legend i.sparse { background: var(--sparse); }
.legend i.partial { background: var(--warn); } .legend i.down { background: var(--down); }
@media (max-width: 640px) { .uptime.compact { display: none; } }

/* Gostergeler */
.meters { display: grid; gap: 10px; }
.meters.inline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.meter-top { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); margin-bottom: 5px; }
.meter-top strong { color: var(--text); font-weight: 500; }
.meter-bar { height: 6px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; }
.meter-bar span { display: block; height: 100%; border-radius: 99px; background: var(--ok); }
.meter.warn .meter-bar span { background: var(--warn); }
.meter.down .meter-bar span { background: var(--down); }

/* Grafik */
.chart { position: relative; }
.chart-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.chart-head strong { font-size: 1.15rem; }
.spark { display: block; width: 100%; height: 80px; overflow: visible; }
.spark-line { fill: none; stroke: var(--chart-1); stroke-width: 1.75; vector-effect: non-scaling-stroke; }
.spark-area { fill: var(--chart-1); opacity: .07; }
.spark-mem .spark-line { stroke: var(--chart-2); } .spark-mem .spark-area { fill: var(--chart-2); }
.spark-dot { fill: var(--chart-1); }
.spark-warn { stroke: var(--warn); stroke-dasharray: 4 4; stroke-width: 1; opacity: .6; vector-effect: non-scaling-stroke; }
.spark-empty { height: 80px; display: grid; place-items: center; color: var(--muted); font-size: .85rem; background: var(--surface-2); border-radius: var(--radius-sm); border: 1px dashed var(--border-strong); }

/* Tablolar */
.table-wrap { overflow-x: auto; }
.card > .table-wrap:first-child table { border-top: 0; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 11px 20px; border-top: 1px solid var(--border); vertical-align: middle; }
thead th { border-top: 0; background: var(--surface-2); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 500; white-space: nowrap; }
tbody tr:hover { background: var(--surface-2); }
td.right, th.right { text-align: right; }
tr.archived td { opacity: .55; }
.cell-title { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.cell-title a { color: var(--text); }

/* Tanim listesi */
.props { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 0; margin: 0; }
.props dt, .props dd { padding: 10px 0; border-top: 1px solid var(--border); margin: 0; }
.props dt { color: var(--muted); font-size: .88rem; }
.props dt:first-of-type, .props dd:first-of-type { border-top: 0; }
@media (max-width: 600px) { .props { grid-template-columns: 1fr; } .props dd { border-top: 0; padding-top: 0; } }

/* Dugmeler */
.btn, button {
  font: inherit; font-weight: 500; font-size: .86rem; text-decoration: none;
  display: inline-flex; align-items: center; gap: 7px; justify-content: center;
  padding: 8px 14px; border-radius: var(--radius-sm); border: 1px solid transparent; cursor: pointer;
  background: var(--strong); color: var(--on-strong); white-space: nowrap; transition: background .15s, border-color .15s;
}
.btn:hover, button:hover { text-decoration: none; background: var(--strong-hover); }
.btn.secondary, button.secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn.secondary:hover, button.secondary:hover { background: var(--surface-3); }
.btn.danger, button.danger { background: var(--surface); color: var(--down-text); border-color: var(--border-strong); }
.btn.ghost, button.ghost { background: transparent; color: var(--muted); padding: 6px 8px; }
.btn.ghost:hover, button.ghost:hover { background: var(--surface-3); color: var(--text); }
.btn.sm { padding: 5px 10px; font-size: .8rem; }
.inline-form { display: inline; margin: 0; }

/* Formlar */
.form { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.form-grid .wide { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: .82rem; font-weight: 500; color: var(--text); }
.field small { color: var(--muted); font-size: .8rem; }
.field.check { flex-direction: row; align-items: center; gap: 10px; }
.field.check label { order: 2; }
input, select, textarea {
  font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 8px 11px; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 84px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px var(--highlight); }
input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--strong); }
.errorlist { list-style: none; margin: 0; padding: 0; color: var(--down-text); font-size: .82rem; }
.form-actions { display: flex; gap: 10px; align-items: center; padding-top: 4px; }
.inline-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 12px; align-items: end; }

/* Mesajlar */
.flash { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; border: 1px solid var(--border); background: var(--surface); font-size: .9rem; }
.flash.success { background: var(--ok-soft); color: var(--ok-text); border-color: transparent; }
.flash.error { background: var(--down-soft); color: var(--down-text); border-color: transparent; }
.flash.warning, .flash.info { background: var(--warn-soft); color: var(--warn-text); border-color: transparent; }
.note { font-size: .84rem; color: var(--muted); margin: 10px 0 0; }

/* Rapor onizleme */
.report { white-space: pre-wrap; margin: 0; font: 13px/1.65 var(--font); color: var(--text-2); }
.chat { max-width: 560px; padding: 14px 16px; border-radius: 14px 14px 14px 4px; background: var(--surface-2); border: 1px solid var(--border); }

/* Giris */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px;
  background: radial-gradient(900px 420px at 50% -10%, var(--highlight-weak), transparent 70%), var(--bg); }
.auth-card { width: 100%; max-width: 380px; padding: 30px 28px; box-shadow: var(--shadow-lg); }
.auth-card .brand { justify-content: center; padding: 0 0 6px; font-size: 1.2rem; }
.auth-card p { text-align: center; color: var(--muted); margin: 0 0 22px; font-size: .9rem; }
.auth-card button { width: 100%; padding: 10px; margin-top: 4px; }

/* Proje kartlari */
.project-card { display: flex; flex-direction: column; }
.project-card .card-body { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.project-card h3 { font-size: 1rem; }
.project-card h3 a { color: var(--text); }
.desc { color: var(--text-2); font-size: .88rem; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--border); font-size: .8rem; color: var(--text-2); }
.chip:hover { text-decoration: none; border-color: var(--border-strong); }

/* Sunucu kartlari */
.server-card .card-body { display: grid; gap: 14px; }
.server-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .82rem; color: var(--muted); }
.server-meta span { display: inline-flex; align-items: center; gap: 5px; }

/* opencode tarzi: metin icindeki linkler alti cizili; gezinme ve basliklar sade */
.nav a, .brand, .btn, .chip, .list-title a, .cell-title a, .project-card h3 a, .crumbs a, .card-head a, .kpi-hint a { text-decoration: none; }
.list-title a:hover, .cell-title a:hover, .project-card h3 a:hover, .crumbs a:hover, .card-head a:hover, .kpi-hint a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card-head a.small { color: var(--muted); }
.kpi-value { font-weight: 700; letter-spacing: -.02em; font-size: 1.35rem; }
.kpi-value small { font-size: .78rem; }
.banner, .card { box-shadow: none; }
.banner h2 { font-size: 1rem; }
.page-head h1 { font-size: 1.45rem; }
