/* finscope: tek stil dosyası (K188).
   BÖLÜM 1 elle yazıldı ve testlerle korunuyor (apps/web/tests/test_static.py):
   yazı tipleri, renk ve ölçü değişkenleri, hareket tanımları. Bu bölüm değiştirilmez;
   bileşen stilleri BÖLÜM 2'ye eklenir. */

/* ---------- BÖLÜM 1 ---------- */

/* Yazı tipleri. Dosyalar fonts/ klasöründe; dış kaynak yok.
   Türkçe harfler iki dosyaya bölünmüş: "latin" dosyasında ç ö ü ı,
   "latin-ext" dosyasında ğ ş İ. Tarayıcı unicode-range'e bakıp gerekeni indirir. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/bricolage-grotesque-latin.c47ac31e5437.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: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/bricolage-grotesque-latin-ext.b21945eb5067.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/instrument-sans-latin.e35fad09c70b.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: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/instrument-sans-latin-ext.e2385a017626.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-400-latin.79936b18df9f.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-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-400-latin-ext.8450d5944de2.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-500-latin.b1c8a895f5fd.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-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-500-latin-ext.fa8d8838b94a.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* Renkler ve ölçüler (K189: C, Mercek). */
:root {
  color-scheme: dark;

  --bg: #07110E;
  --side: #0A1512;
  --side-line: #1A2A24;
  --card: #0D1A16;
  --card-line: #1E2E28;
  --raised: #16251F;
  --line: #2A3D35;

  --text: #E9F0EA;
  --text-2: #C9D6CF;
  --text-3: #A9BAB2;
  --muted: #7C9188;

  --accent: #C8F560;
  --on-accent: #07110E;
  --debt: #FF7A59;
  --debt-text: #FF8E72;
  --error-bg: #1A1210;
  --error-text: #FF9A80;
  --warn: #F4C152;
  --warn-line: #5A4A1C;
  --chart-1: #5BD6B0;
  --chart-2: #6EA8FF;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --r-card: 24px;
  --r-card-sm: 20px;
  --r-input: 14px;
  --r-button: 14px;
  --r-pill: 999px;
  --h-input: 52px;
}

/* Hareket. Yalnızca CSS; hiçbir öğe görünmez başlamaz:
   animasyon çalışmazsa içerik yerinde durur. */
@keyframes spin { to { transform: rotate(360deg) } }
@keyframes unspin { to { transform: rotate(-360deg) } }
@keyframes rise { from { opacity: 0; transform: translateY(20px) } }
@keyframes ping { from { transform: scale(1); opacity: 0.6 } to { transform: scale(3.4); opacity: 0 } }
@keyframes grow { from { transform: scaleY(0) } }
@keyframes widen { from { transform: scaleX(0) } }
@keyframes seg { from { stroke-dasharray: 0 340 } }
@keyframes shake {
  20% { transform: translateX(-6px) }
  40% { transform: translateX(5px) }
  60% { transform: translateX(-3px) }
  80% { transform: translateX(2px) }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
}

/* ---------- BÖLÜM 2: bileşenler ---------- */

/* Sayfa temeli ve tipografi */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  min-height: 100vh;
}

a {
  color: var(--text);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

main a {
  color: var(--accent);
}

main a:hover,
main a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text);
  margin-top: 0;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-2);
  margin-top: 0;
  margin-bottom: 1em;
}

table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13.5px;
}

th, td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--card-line);
}

th {
  color: var(--muted);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

input, select, textarea, button {
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
}

input, select, textarea {
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  padding: 0 16px;
  min-height: var(--h-input);
  color: var(--text);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
}

button {
  background-color: var(--raised);
  border: 1px solid var(--line);
  border-radius: var(--r-button);
  padding: 0 18px;
  min-height: 44px;
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
}

button[type="submit"] {
  background-color: var(--accent);
  color: var(--on-accent);
  border: none;
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

form > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

form > div > label {
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
}

form > div > input,
form > div > select,
form > div > textarea {
  order: 1;
}

form > div > .helptext {
  order: 2;
  font-size: 12.5px;
  color: var(--muted);
}

form > div > .errorlist {
  order: 3;
}

.errorlist {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  color: var(--error-text);
  font-size: 12.5px;
}

[aria-invalid="true"] {
  border-color: var(--debt);
}

/* Kabuk bileşeni */
body.shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.shell-auth {
  display: flex;
  flex-direction: column;
}

.shell-sidebar {
  box-sizing: border-box;
  background-color: var(--side);
  border-bottom: 1px solid var(--side-line);
  padding: 14px 16px 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px 16px;
}

.shell-brand {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.shell-brand-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.shell-user {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.shell-username {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shell-logout {
  margin: 0;
  display: inline-flex;
}

.shell-logout .shell-logout-btn {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background-color: transparent;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.shell-logout .shell-logout-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.shell-main {
  flex: 1 1 auto;
  min-width: 0;
  box-sizing: border-box;
  padding: 20px 16px 32px;
  background-image: radial-gradient(color-mix(in srgb, var(--text) 5%, transparent) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Yan menü ve gezinme bileşeni */
.shell-nav {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: 12px;
  padding: 4px 0 6px;
  scrollbar-width: thin;
}

.nav-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.nav-group-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 6px 0 2px;
  flex-shrink: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--text-2);
  font-size: 13.5px;
  text-decoration: none;
  white-space: nowrap;
  background-color: var(--raised);
  flex-shrink: 0;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link[aria-current="page"] {
  background-color: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}

.nav-brand-icon {
  flex-shrink: 0;
}

.nav-icon-outer {
  stroke: var(--accent);
}

.nav-icon-mid {
  stroke: var(--accent);
  opacity: 0.5;
}

.nav-icon-inner {
  fill: var(--accent);
}

/* Geniş ekran: kimliği doğrulanmış kabuk ve yan menü */
@media (min-width: 720px) {
  body.shell-auth {
    flex-direction: row;
  }

  .shell-sidebar {
    width: 248px;
    flex-shrink: 0;
    min-height: 100vh;
    border-bottom: none;
    border-right: 1px solid var(--side-line);
    padding: 28px 18px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: sticky;
    top: 0;
    align-self: flex-start;
    height: 100vh;
    overflow-y: auto;
  }

  .shell-brand {
    padding: 0 10px;
  }

  .shell-user {
    margin-top: auto;
    padding: 18px 10px 0;
    border-top: 1px solid var(--side-line);
    justify-content: space-between;
    width: 100%;
  }

  .shell-logout .shell-logout-btn {
    padding: 0 16px;
    color: var(--text);
  }

  .shell-nav {
    display: flex;
    flex-direction: column;
    gap: 22px;
    overflow-x: visible;
    padding: 0;
  }

  .nav-group {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-group-title {
    padding: 0 12px 6px;
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .nav-link {
    min-height: 38px;
    padding: 0 12px;
    background-color: transparent;
    font-size: 14px;
  }

  .nav-link:hover {
    color: var(--text);
    background-color: var(--raised);
  }

  .nav-link[aria-current="page"] {
    min-height: 40px;
    background-color: var(--accent);
    color: var(--on-accent);
    font-weight: 600;
  }

  .shell-main {
    padding: 36px 44px 48px;
    gap: 20px;
    display: flex;
    flex-direction: column;
  }
}

/* Mercek ve anonim kabuk bileşeni */
body.shell-anon {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--bg);
}

.shell-stage {
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  padding: 28px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  background-image: radial-gradient(color-mix(in srgb, var(--text) 7%, transparent) 1px, transparent 1px);
  background-size: 28px 28px;
  flex-shrink: 0;
}

.shell-stage .shell-brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1;
}

.shell-stage .shell-brand-text {
  font-size: 24px;
}

.lens-stage {
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  pointer-events: none;
  opacity: 0.6;
}

.lens-glow {
  position: absolute;
  inset: -22%;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 13%, transparent), transparent);
}

.lens-ring-1 {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
}

.lens-ring-2 {
  position: absolute;
  inset: 13%;
  border-radius: 50%;
  border: 1px dashed color-mix(in srgb, var(--accent) 24%, transparent);
  animation: spin 90s linear infinite;
}

.lens-ring-3 {
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
}

.lens-ring-4 {
  position: absolute;
  inset: 39%;
  border-radius: 50%;
  border: 1px dashed color-mix(in srgb, var(--accent) 22%, transparent);
  animation: unspin 60s linear infinite;
}

.lens-axis-h {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.lens-axis-v {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.lens-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 285deg, color-mix(in srgb, var(--accent) 24%, transparent) 360deg);
  animation: spin 9s linear infinite;
}

.lens-ping {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  animation: ping 2.8s ease-out infinite;
}

.lens-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 28px color-mix(in srgb, var(--accent) 85%, transparent);
}

.shell-hero {
  position: relative;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.shell-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s backwards;
}

.shell-hero-headline {
  margin: 0;
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 0.94;
  font-weight: 800;
  letter-spacing: -0.035em;
  display: flex;
  flex-direction: column;
}

.shell-hero-headline span:first-child {
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s backwards;
}

.shell-hero-accent {
  color: var(--accent);
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s backwards;
}

.shell-hero-desc {
  margin: 0;
  max-width: 440px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-3);
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.45s backwards;
}

.shell-hero-chips {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.6s backwards;
}

.shell-chip {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background-color: color-mix(in srgb, var(--card) 80%, transparent);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-2);
}

.shell-anon .shell-panel {
  box-sizing: border-box;
  background-color: var(--card);
  background-image: none;
  border-top: 1px solid var(--card-line);
  padding: 32px 20px 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  flex: 1 1 auto;
}

.shell-anon .shell-panel > * {
  width: 100%;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

.shell-anon .shell-panel > *:nth-child(1) { animation-delay: 0.1s; }
.shell-anon .shell-panel > *:nth-child(2) { animation-delay: 0.18s; }
.shell-anon .shell-panel > *:nth-child(3) { animation-delay: 0.26s; }
.shell-anon .shell-panel > *:nth-child(4) { animation-delay: 0.34s; }
.shell-anon .shell-panel > *:nth-child(5) { animation-delay: 0.42s; }
.shell-anon .shell-panel > *:nth-child(6) { animation-delay: 0.5s; }

.shell-anon .shell-panel h1,
.shell-anon .shell-panel h2 {
  font-size: 32px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0;
}

.shell-anon .shell-panel form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.shell-anon .shell-panel form > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shell-anon .shell-panel input:focus,
.shell-anon .shell-panel select:focus,
.shell-anon .shell-panel textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
  outline: none;
}

.shell-anon .shell-panel form button[type="submit"] {
  width: 100%;
  min-height: 54px;
  border-radius: var(--r-button);
  border: none;
  background-color: var(--accent);
  color: var(--on-accent);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 22%, transparent);
}

.auth-tabs {
  display: flex;
  padding: 4px;
  gap: 4px;
  background-color: var(--bg);
  border: 1px solid var(--card-line);
  border-radius: var(--r-pill);
}

.auth-tab {
  flex: 1 1 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  color: var(--text-3);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.auth-tab:hover {
  color: var(--text);
  text-decoration: none;
}

.auth-tab[aria-current="page"] {
  background-color: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
}

.auth-tab:focus-visible {
  text-decoration: none;
}

.auth-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

.shell-anon .shell-panel p:not(.auth-note) {
  font-size: 14px;
  color: var(--text-3);
  margin: 0;
}

.shell-anon .shell-panel p:not(.auth-note) + p:not(.auth-note) {
  margin-top: -8px;
}

@media (min-width: 720px) {
  body.shell-anon {
    flex-direction: row;
  }

  .shell-stage {
    flex: 999 1 640px;
    min-height: 100vh;
    padding: 48px 64px;
    justify-content: space-between;
    gap: 40px;
  }

  .lens-stage {
    right: -90px;
    top: 140px;
    width: 620px;
    height: 620px;
    opacity: 1;
  }

  .shell-hero-headline {
    font-size: 84px;
  }

  .shell-hero-desc {
    font-size: 18px;
  }

  .shell-anon .shell-panel {
    flex: 1 1 400px;
    min-width: 360px;
    min-height: 100vh;
    border-top: none;
    border-left: 1px solid var(--card-line);
    padding: 48px 56px;
    justify-content: center;
    gap: 24px;
  }

  .shell-anon .shell-panel h1,
  .shell-anon .shell-panel h2 {
    font-size: 40px;
  }
}

/* Erişilebilirlik yardımcı sınıfı */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hesap özeti bileşeni */
.overview-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 8px;
}

.overview-header h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.overview-date {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.overview-hero {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  background-color: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--r-card);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s backwards;
}

.overview-lens {
  position: absolute;
  right: -120px;
  top: -130px;
  width: 460px;
  height: 460px;
  pointer-events: none;
}

.overview-lens-glow {
  position: absolute;
  inset: -15%;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 14%, transparent), transparent);
}

.overview-lens-ring-1 {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
}

.overview-lens-ring-2 {
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  border: 1px dashed color-mix(in srgb, var(--accent) 24%, transparent);
  animation: spin 80s linear infinite;
}

.overview-lens-ring-3 {
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
}

.overview-lens-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 285deg, color-mix(in srgb, var(--accent) 22%, transparent) 360deg);
  animation: spin 10s linear infinite;
}

.overview-lens-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 85%, transparent);
}

.overview-hero-main {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.overview-hero-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.overview-hero-amount {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}

.overview-hero-figures {
  display: inline-flex;
  align-items: baseline;
}

.overview-hero-whole {
  font-family: var(--font-display);
  font-size: clamp(40px, 11vw, 104px);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--text);
}

.overview-hero-fraction {
  font-family: var(--font-display);
  font-size: clamp(22px, 5.5vw, 48px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--muted);
}

.overview-hero-currency {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--accent);
}

.overview-hero-none {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--muted);
}

.overview-hero-breakdown {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.overview-bar {
  display: flex;
  gap: 4px;
  height: 14px;
  width: 100%;
}

.overview-bar-asset {
  width: calc(var(--share) * 1%);
  flex: var(--share) 1 0%;
  border-radius: var(--r-pill);
  background-color: var(--accent);
  transform-origin: left center;
  animation: widen 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.35s backwards;
}

.overview-bar-debt {
  width: calc((100 - var(--share)) * 1%);
  flex: calc(100 - var(--share)) 1 0%;
  border-radius: var(--r-pill);
  background-color: var(--debt);
  transform-origin: left center;
  animation: widen 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.6s backwards;
}

.overview-hero-subfigures {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-family: var(--font-mono);
  font-size: 13.5px;
}

.overview-subfigure {
  display: flex;
  align-items: center;
  gap: 10px;
}

.overview-subdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.overview-subdot--asset {
  background-color: var(--accent);
}

.overview-subdot--debt {
  background-color: var(--debt);
}

.overview-sublabel {
  color: var(--text-3);
}

.overview-subval {
  color: var(--text);
}

.overview-accounts {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 8px;
}

.overview-section-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.overview-account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 16px;
}

.account-card {
  box-sizing: border-box;
  background-color: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--r-card-sm);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.45s backwards;
}

.account-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.account-chip {
  display: inline-flex;
  align-items: center;
}

.account-chip--currency {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-2);
}

.account-chip--type {
  font-size: 13px;
  color: var(--accent);
}

.account-card--liability .account-chip--type {
  color: var(--debt-text);
}

.account-card-name {
  font-weight: 500;
  color: var(--text);
  word-break: break-word;
}

.account-card-balance-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.account-card-balance {
  font-family: var(--font-mono);
  font-size: 21px;
  font-weight: 500;
  color: var(--text);
}

.account-card--overdrawn .account-card-balance {
  color: var(--debt);
}

.account-card-try {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
}

.overview-footnotes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 8px;
}

.overview-footnote {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
}

.overview-empty {
  box-sizing: border-box;
  background-color: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--r-card);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s backwards;
}

.overview-empty-text {
  font-size: 16px;
  color: var(--text-2);
  margin: 0;
}

.overview-empty-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  background-color: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
}

main .overview-empty-action:hover,
main .overview-empty-action:focus-visible {
  background-color: color-mix(in srgb, var(--accent) 85%, #ffffff);
  color: var(--on-accent);
  text-decoration: none;
}

@media (min-width: 720px) {
  .overview-header h1 {
    font-size: 44px;
  }

  .overview-hero {
    padding: 36px 40px;
    gap: 30px;
  }
}

/* Form ve kategori sayfası bileşenleri */
.form-page {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 580px;
}

.form-page-wide {
  max-width: 1040px;
}

.form-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-header .form-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-header h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
}

@media (min-width: 720px) {
  .form-header h1 {
    font-size: 44px;
    line-height: 1;
  }
}

.form-tabs {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.form-tabs::-webkit-scrollbar {
  display: none;
}

main .form-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  background-color: transparent;
}

main .form-tab:hover {
  border-color: var(--accent);
  color: var(--text);
  text-decoration: none;
}

main .form-tab[aria-current="page"] {
  background-color: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

main .form-tab[aria-current="page"]:hover {
  color: var(--on-accent);
  text-decoration: none;
}

main .form-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  text-decoration: none;
}

@media (min-width: 640px) {
  .form-tabs {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

.form-card {
  box-sizing: border-box;
  background-color: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--r-card);
  padding: 24px 20px;
  width: 100%;
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s backwards;
}

@media (min-width: 720px) {
  .form-card {
    padding: 32px;
  }
}

.form-card form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-card form > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-card form > div:has(> input[type="hidden"]:only-child) {
  display: none;
}

.form-card form > div > label {
  order: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
}

.form-card form > div > input,
.form-card form > div > select,
.form-card form > div > textarea {
  order: 2;
  box-sizing: border-box;
  width: 100%;
  min-height: var(--h-input);
  padding: 0 16px;
  border-radius: var(--r-input);
  border: 1px solid var(--line);
  background-color: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  color-scheme: dark;
}

.form-card form > div > input[type="date"] {
  font-family: var(--font-mono);
}

.form-card form > div > textarea {
  min-height: 100px;
  padding: 12px 16px;
  resize: vertical;
}

.form-card form > div > input:focus,
.form-card form > div > select:focus,
.form-card form > div > textarea:focus,
.form-card form > div > input:focus-visible,
.form-card form > div > select:focus-visible,
.form-card form > div > textarea:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
  outline: none;
}

.form-card form > div > input[aria-invalid="true"],
.form-card form > div > select[aria-invalid="true"],
.form-card form > div > textarea[aria-invalid="true"] {
  border-color: var(--debt);
  background-color: var(--error-bg);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--debt) 14%, transparent);
}

.form-card form > div > input[aria-invalid="true"]:focus,
.form-card form > div > select[aria-invalid="true"]:focus,
.form-card form > div > textarea[aria-invalid="true"]:focus,
.form-card form > div > input[aria-invalid="true"]:focus-visible,
.form-card form > div > select[aria-invalid="true"]:focus-visible,
.form-card form > div > textarea[aria-invalid="true"]:focus-visible {
  border-color: var(--debt);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--debt) 24%, transparent);
  outline: none;
}

.form-card form > div > .helptext {
  order: 3;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

.form-card form > div > .errorlist {
  order: 4;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--error-text);
  font-size: 13.5px;
  line-height: 1.4;
}

.form-card form > div > .errorlist li + li {
  margin-top: 4px;
}

.form-card .errorlist.nonfield {
  box-sizing: border-box;
  list-style: none;
  padding: 14px 18px;
  margin: 0 0 4px;
  border-radius: var(--r-card-sm);
  background-color: var(--error-bg);
  border: 1px solid var(--debt);
  color: var(--error-text);
  font-size: 14px;
  line-height: 1.45;
}

.form-card .errorlist.nonfield li + li {
  margin-top: 6px;
}

.form-card .form-submit-btn,
.form-card button[type="submit"] {
  min-height: 54px;
  padding: 0 36px;
  border-radius: var(--r-button);
  border: none;
  background-color: var(--accent);
  color: var(--on-accent);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 22%, transparent);
  align-self: flex-start;
  margin-top: 4px;
}

.form-card .form-submit-btn:hover,
.form-card button[type="submit"]:hover {
  background-color: color-mix(in srgb, var(--accent) 85%, #ffffff);
}

.form-card .form-submit-btn:focus-visible,
.form-card button[type="submit"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .form-card .form-submit-btn,
  .form-card button[type="submit"] {
    width: 100%;
  }
}

.category-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.category-card {
  box-sizing: border-box;
  background-color: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--r-card);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s backwards;
}

@media (min-width: 720px) {
  .category-card {
    padding: 32px;
  }
}

@media (min-width: 860px) {
  .category-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
  }

  .category-layout .form-card {
    flex: 1 1 440px;
  }

  .category-layout .category-card {
    flex: 1 1 400px;
  }
}

.category-card-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-list > li {
  padding: 14px 16px;
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-card-sm);
  font-size: 14.5px;
  color: var(--text);
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-list > li > ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.category-list > li > ul > li {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background-color: var(--raised);
  border: 1px solid var(--card-line);
  font-size: 12.5px;
  color: var(--text-2);
  font-weight: 400;
}

.category-card p {
  color: var(--text-3);
  font-size: 14.5px;
  margin: 0;
}

/* Rapor sayfası bileşenleri */
.report-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

.report-header .report-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.report-header h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
}

@media (min-width: 720px) {
  .report-header h1 {
    font-size: 44px;
  }
}

.report-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s backwards;
}

.report-controls p {
  margin: 0;
}

.report-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background-color: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--r-pill);
  margin: 0 0 20px;
  width: fit-content;
  max-width: 100%;
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s backwards;
}

.report-controls .report-switcher {
  margin: 0;
}

.report-switcher a,
main .report-switcher a,
.report-switcher .report-switcher-link,
main .report-switcher .report-switcher-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  background-color: transparent;
  white-space: nowrap;
}

.report-switcher a:hover,
main .report-switcher a:hover,
.report-switcher .report-switcher-link:hover,
main .report-switcher .report-switcher-link:hover {
  color: var(--accent);
  background-color: var(--raised);
  text-decoration: none;
}

.report-switcher a:focus-visible,
main .report-switcher a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  text-decoration: none;
}

.report-switcher strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  background-color: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.report-toggle {
  margin: 0 0 20px;
}

.report-controls .report-toggle {
  margin: 0;
}

.report-toggle-link,
main .report-toggle-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background-color: var(--card);
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.report-toggle-link:hover,
main .report-toggle-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

.report-toggle-link:focus-visible,
main .report-toggle-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  text-decoration: none;
}

.report-card {
  box-sizing: border-box;
  background-color: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--r-card);
  overflow: hidden;
  width: 100%;
  max-width: 960px;
  margin-bottom: 20px;
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s backwards;
}

.report-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text);
  white-space: nowrap;
}

.report-table th,
.report-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--card-line);
}

.report-table th {
  color: var(--muted);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background-color: color-mix(in srgb, var(--card) 85%, var(--bg));
}

.report-table tbody tr:hover td {
  background-color: color-mix(in srgb, var(--card) 60%, var(--raised));
}

.report-table tbody tr:last-child td {
  border-bottom: none;
}

.report-table td a,
main .report-table td a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.report-table td a:hover,
main .report-table td a:hover {
  text-decoration: underline;
}

.report-table td a:focus-visible,
main .report-table td a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.report-table-monthly th:nth-child(2),
.report-table-monthly th:nth-child(3),
.report-table-monthly th:nth-child(4),
.report-table-monthly td:nth-child(2),
.report-table-monthly td:nth-child(3),
.report-table-monthly td:nth-child(4) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.report-table-category th:nth-child(2),
.report-table-category td:nth-child(2) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.report-cell-notes {
  white-space: normal;
  max-width: 320px;
}

.report-note {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  white-space: nowrap;
}

.report-note + .report-note {
  margin-top: 4px;
}

.report-row-child td {
  color: var(--text-3);
  font-size: 13px;
  background-color: color-mix(in srgb, var(--card) 94%, var(--bg));
}

.report-row-child .report-child-name {
  padding-left: 32px;
}

.report-total {
  box-sizing: border-box;
  padding: 16px 20px;
  margin: 0;
  border-top: 1px solid var(--card-line);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  background-color: color-mix(in srgb, var(--card) 60%, var(--raised));
  letter-spacing: -0.01em;
}

.report-footnotes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
  margin-bottom: 20px;
  max-width: 960px;
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s backwards;
}

.report-footnote {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.report-empty {
  box-sizing: border-box;
  padding: 36px 24px;
  margin: 0;
  color: var(--text-3);
  font-size: 15px;
  text-align: center;
}

.report-error-card {
  box-sizing: border-box;
  background-color: var(--error-bg);
  border: 1px solid var(--debt);
  border-radius: var(--r-card);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 540px;
  margin-bottom: 20px;
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s backwards;
}

.report-error-msg {
  color: var(--error-text);
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}

.report-error-card p:has(> .report-pill) {
  margin: 0;
}

.report-pill,
main .report-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background-color: var(--raised);
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  width: fit-content;
}

.report-pill:hover,
main .report-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

.report-pill:focus-visible,
main .report-pill:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  text-decoration: none;
}

/* Anonim ve kimlik doğrulama ek bileşenleri */
.auth-btn,
main .auth-btn {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 0 24px;
  border-radius: var(--r-button);
  border: none;
  background-color: var(--accent);
  color: var(--on-accent);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 22%, transparent);
}

.auth-btn:hover,
main .auth-btn:hover {
  background-color: color-mix(in srgb, var(--accent) 85%, #ffffff);
  color: var(--on-accent);
  text-decoration: none;
}

.auth-btn:focus-visible,
main .auth-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  text-decoration: none;
}

.shell-anon .shell-panel p:has(> .auth-btn) {
  margin-top: 12px;
}

.shell-anon .shell-panel .auth-error {
  box-sizing: border-box;
  padding: 14px 18px;
  margin: 0;
  border-radius: var(--r-card-sm);
  background-color: var(--error-bg);
  border: 1px solid var(--debt);
  color: var(--error-text);
  font-size: 14px;
  line-height: 1.45;
}

.shell-anon .shell-panel form > div > .helptext {
  order: 2;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}

.shell-anon .shell-panel form > div > .helptext ul {
  list-style: disc;
  padding-left: 18px;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.shell-anon .shell-panel form > div > .helptext li {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.shell-anon .shell-panel .errorlist.nonfield {
  box-sizing: border-box;
  list-style: none;
  padding: 14px 18px;
  margin: 0;
  border-radius: var(--r-card-sm);
  background-color: var(--error-bg);
  border: 1px solid var(--debt);
  color: var(--error-text);
  font-size: 14px;
  line-height: 1.45;
}

.shell-anon .shell-panel form > div > .errorlist {
  order: 3;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--error-text);
  font-size: 13px;
  line-height: 1.4;
}

/* Mercek yörünge çipleri */
.lens-orbit {
  display: none;
}

@media (min-width: 720px) {
  .lens-orbit {
    display: block;
    position: absolute;
  }

  .lens-orbit-1 {
    inset: 0;
    animation: spin 52s linear -6s infinite;
  }

  .lens-orbit-1 .lens-orbit-turn {
    animation: unspin 52s linear -6s infinite;
  }

  .lens-orbit-2 {
    inset: 13%;
    animation: unspin 40s linear -14s infinite;
  }

  .lens-orbit-2 .lens-orbit-turn {
    animation: spin 40s linear -14s infinite;
  }

  .lens-orbit-3 {
    inset: 26%;
    animation: spin 32s linear -21s infinite;
  }

  .lens-orbit-3 .lens-orbit-turn {
    animation: unspin 32s linear -21s infinite;
  }

  .lens-orbit-4 {
    inset: 39%;
    animation: unspin 24s linear -3s infinite;
  }

  .lens-orbit-4 .lens-orbit-turn {
    animation: spin 24s linear -3s infinite;
  }

  .lens-orbit-anchor {
    position: absolute;
    left: 50%;
    top: 0;
    width: 0;
    height: 0;
  }

  .lens-orbit-turn {
    transform-origin: 0 0;
  }

  .lens-chip {
    transform: translate(-50%, -50%);
    width: max-content;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: var(--r-pill);
    background-color: var(--card);
    border: 1px solid var(--line);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  }

  .lens-chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
    flex-shrink: 0;
  }

  .lens-chip-dot--gold {
    background-color: var(--warn);
  }

  .lens-chip-dot--debt {
    background-color: var(--debt);
  }

  .lens-chip-label {
    font-size: 13px;
    color: var(--text-3);
  }

  .lens-chip-value {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text);
  }
}

.shell-stage .shell-hero,
.shell-stage .shell-hero-chips {
  position: relative;
  z-index: 1;
}
