*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --or: #F27A1A; --or-l: #FF9543; --or-bg: #FFF4EC; --or-bd: rgba(242,122,26,0.2);
  --bg: #F3F4F6; --sur: #FFFFFF; --bd: #E5E7EB;
  --tx: #111827; --tx2: #6B7280; --tx3: #9CA3AF;
  --gr: #16A34A; --gr-bg: #F0FDF4; --re: #DC2626; --r: 12px;
}
html, body { font-family: 'Inter', -apple-system, system-ui, sans-serif; background: var(--bg); color: var(--tx); font-size: 14px; line-height: 1.6; }

.site-header { background: #fff; border-bottom: 1px solid var(--bd); padding: 0 20px; height: 60px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 100; }
.site-header-logo img { height: 36px; width: auto; display: block; }
.site-header-nav { display: flex; align-items: center; gap: 6px; }
.site-header-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 8px; background: var(--or); color: #fff; font-size: 13.5px; font-weight: 600; text-decoration: none; transition: background .15s; white-space: nowrap; }
.site-header-nav a:hover { background: var(--or-l); }
.site-header-nav a svg { width: 15px; height: 15px; flex-shrink: 0; }

.hero { background: linear-gradient(135deg, #fff7f0 0%, #fff 100%); border-bottom: 1px solid var(--or-bd); padding: 48px 20px 40px; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--or-bg); border: 1px solid var(--or-bd); color: var(--or); border-radius: 20px; font-size: 12px; font-weight: 600; padding: 5px 12px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(20px, 4vw, 34px); font-weight: 800; color: var(--tx); line-height: 1.25; margin-bottom: 14px; }
.hero h1 span { color: var(--or); }
.hero p { font-size: 15px; color: var(--tx2); max-width: 600px; margin: 0 auto 24px; line-height: 1.7; }
.hero-stats { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-val { font-size: 22px; font-weight: 800; color: var(--or); }
.hero-stat-lbl { font-size: 12px; color: var(--tx3); margin-top: 2px; }

.content { max-width: 1000px; margin: 0 auto; padding: 28px 20px 60px; }

.info-box { background: var(--or-bg); border: 1px solid var(--or-bd); border-radius: var(--r); padding: 14px 18px; margin-bottom: 20px; font-size: 13.5px; color: #92400E; line-height: 1.7; }
.info-box strong { color: var(--or); }

.export-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--sur); border: 1px solid var(--bd); border-radius: var(--r);
  padding: 14px 18px; margin-bottom: 20px;
}
.export-bar-label { font-size: 12.5px; font-weight: 700; color: var(--tx2); text-transform: uppercase; letter-spacing: 0.05em; flex-shrink: 0; }
.export-bar-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-export {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 8px; border: none; cursor: pointer;
  font-size: 13px; font-weight: 600; font-family: inherit;
  transition: all .15s; text-decoration: none; white-space: nowrap;
}
.btn-pdf  { background: #FEE2E2; color: #B91C1C; }
.btn-pdf:hover  { background: #FECACA; }
.btn-excel { background: #DCFCE7; color: #15803D; }
.btn-excel:hover { background: #BBF7D0; }
.btn-print { background: #EFF6FF; color: #1D4ED8; }
.btn-print:hover { background: #DBEAFE; }
.btn-export svg { width: 15px; height: 15px; flex-shrink: 0; }

.search-wrap { position: relative; margin-bottom: 8px; }
.search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--tx3); font-size: 15px; pointer-events: none; }
#searchInput {
  width: 100%; padding: 13px 16px 13px 42px;
  background: var(--sur); border: 1.5px solid var(--bd);
  border-radius: var(--r); font-size: 14px; font-family: inherit; color: var(--tx); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
#searchInput:focus { border-color: var(--or); box-shadow: 0 0 0 3px var(--or-bg); }
#searchInput::placeholder { color: var(--tx3); }
.search-count { font-size: 12.5px; color: var(--tx3); margin-bottom: 20px; min-height: 20px; }

.cat-section { margin-bottom: 32px; }
.cat-section-title { font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--tx2); padding: 10px 0; border-bottom: 2px solid var(--or); display: flex; align-items: center; justify-content: space-between; }
.cat-section-count { font-size: 11px; font-weight: 600; color: var(--tx3); background: var(--bd); border-radius: 20px; padding: 2px 8px; text-transform: none; letter-spacing: 0; }

.table-wrap { background: var(--sur); border: 1px solid var(--bd); border-radius: 0 0 var(--r) var(--r); overflow: hidden; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; }
thead th { background: #F9FAFB; padding: 11px 16px; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--tx3); text-align: left; border-bottom: 1px solid var(--bd); white-space: nowrap; }
thead th:last-child { text-align: right; }
tbody tr { border-bottom: 1px solid var(--bd); transition: background .1s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: #FAFAFA; }
tbody td { padding: 11px 16px; font-size: 13.5px; color: var(--tx); vertical-align: middle; }
.td-no { color: var(--tx3); font-size: 12px; width: 36px; }
.rate-cell { text-align: right; font-weight: 700; font-size: 14px; white-space: nowrap; }
.rate-badge { display: inline-block; padding: 3px 9px; border-radius: 20px; font-size: 12.5px; font-weight: 700; }
.rate-low  { background: #DCFCE7; color: #15803D; }
.rate-mid  { background: #FEF9C3; color: #854D0E; }
.rate-high { background: #FEE2E2; color: #B91C1C; }

.faq-section { margin-top: 52px; }
.faq-title { font-size: 22px; font-weight: 800; color: var(--tx); margin-bottom: 6px; }
.faq-subtitle { font-size: 14px; color: var(--tx2); margin-bottom: 24px; }
.faq-item { background: var(--sur); border: 1px solid var(--bd); border-radius: var(--r); margin-bottom: 8px; overflow: hidden; }
.faq-item:hover { border-color: #D1D5DB; }
.faq-q {
  padding: 16px 20px; font-size: 14px; font-weight: 600; color: var(--tx);
  cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  user-select: none; line-height: 1.5;
}
.faq-q:hover { background: #FAFAFA; }
.faq-q-num { color: var(--or); font-size: 13px; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.faq-q-text { flex: 1; }
.faq-q-icon { flex-shrink: 0; font-size: 18px; color: var(--tx3); font-weight: 300; line-height: 1; margin-top: 2px; transition: transform .2s; }
.faq-item.open .faq-q-icon { transform: rotate(45deg); color: var(--or); }
.faq-a { display: none; padding: 0 20px 18px 20px; font-size: 13.5px; color: var(--tx2); line-height: 1.8; }
.faq-a p { margin-bottom: 10px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a ul { padding-left: 18px; margin: 8px 0; }
.faq-a ul li { margin-bottom: 4px; }
.faq-a a { color: var(--or); text-decoration: none; font-weight: 600; }
.faq-a a:hover { text-decoration: underline; }
.faq-a .example-box {
  background: var(--bd2, #F9FAFB); border: 1px solid var(--bd);
  border-radius: 8px; padding: 12px 16px; margin: 10px 0;
  font-size: 13px; font-family: monospace;
}
.faq-item.open .faq-a { display: block; }

.cta-box { background: var(--or); border-radius: var(--r); padding: 28px 24px; text-align: center; margin-top: 40px; color: #fff; }
.cta-box h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.cta-box p { font-size: 13.5px; opacity: 0.88; margin-bottom: 18px; }
.cta-btn { display: inline-block; background: #fff; color: var(--or); font-size: 14px; font-weight: 700; padding: 12px 28px; border-radius: 8px; text-decoration: none; transition: all .15s; box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
.cta-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.2); }

.site-footer { background: #1F2937; border-top: 1px solid #374151; padding: 32px 20px; text-align: center; }
.footer-logo { margin: 0 auto 16px; }
.footer-logo img { max-height: 48px; max-width: 200px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-text { font-size: 12.5px; color: #6B7280; line-height: 1.7; }
.footer-text a { color: #9CA3AF; text-decoration: none; }
.footer-text a:hover { color: #fff; }

@media print {
  .export-bar, .search-wrap, .search-count, .faq-section, .cta-box, .site-footer, .hero-badge { display: none !important; }
  .hero { padding: 20px; border: none; background: #fff; }
  .content { padding: 0; }
  .cat-section { break-inside: avoid; page-break-inside: avoid; margin-bottom: 16px; }
  tbody tr:hover { background: transparent; }
  .table-wrap { overflow: visible; border: 1px solid #ccc; }
}

@media (max-width: 640px) {
  .hero { padding: 28px 14px 24px; }
  .hero-stats { gap: 16px; }
  .hero-stat-val { font-size: 18px; }
  .content { padding: 16px 12px 40px; }
  thead th, tbody td { padding: 8px 10px; font-size: 12.5px; }
  .export-bar { padding: 12px 14px; gap: 8px; }
  .export-bar-label { width: 100%; }
  .btn-export { padding: 9px 13px; font-size: 12.5px; }
  .td-no { display: none; }
  .table-wrap { overflow-x: hidden; }
  .rate-cell { font-size: 12.5px; }
  .rate-badge { font-size: 11.5px; padding: 2px 7px; }
  .search-table th:nth-child(2),
  .search-table td:nth-child(2) { display: none; }
}

/* ── Hesaplama Aracı (index.php) ── */
.calc-wrap {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px;
  align-items: start;
}
.calc-panel {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--bd);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.calc-panel::-webkit-scrollbar { width: 4px; }
.calc-panel::-webkit-scrollbar-thumb { background: #e5e7eb; border-radius: 2px; }
.calc-left { padding: 24px; display: flex; flex-direction: column; gap: 20px; align-self: start; }
.calc-right { display: flex; flex-direction: column; overflow: hidden; align-self: stretch; }

.calc-sec-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--tx3); margin-bottom: 8px;
}

.c-cat-wrap { position: relative; }
.c-cat-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px; background: #fff; border: 1px solid var(--bd);
  border-radius: 8px; cursor: pointer; font-size: 14px; font-family: inherit;
  color: var(--tx); transition: border-color .15s;
}
.c-cat-btn:hover { border-color: #9CA3AF; }
.c-cat-btn.open { border-color: var(--or); box-shadow: 0 0 0 3px #FFF4EC; }
.c-cat-btn i { color: var(--tx3); font-size: 12px; }
.c-cat-placeholder { color: var(--tx3); }
.c-cat-search-wrap {
  display: none; padding: 10px; border-bottom: 1px solid var(--bd); position: relative;
}
.c-cat-search-wrap i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--tx3); font-size: 12px; }
.c-cat-search {
  width: 100%; padding: 7px 10px 7px 30px; background: #F3F4F6;
  border: 1px solid var(--bd); border-radius: 6px; font-size: 13px;
  font-family: inherit; color: var(--tx); outline: none;
}
.c-cat-search:focus { border-color: var(--or); }
.c-cat-drop {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--bd); border-radius: 14px;
  overflow: hidden; z-index: 300; display: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.c-cat-drop.open { display: block; }
.c-cat-list { max-height: 220px; overflow-y: auto; }
.c-cat-list::-webkit-scrollbar { width: 3px; }
.c-cat-list::-webkit-scrollbar-thumb { background: #e5e7eb; border-radius: 2px; }
.c-cat-item { padding: 9px 14px; cursor: pointer; border-bottom: 1px solid #F3F4F6; transition: background .1s; }
.c-cat-item:last-child { border-bottom: none; }
.c-cat-item:hover { background: #FFF4EC; }
.c-cat-item-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.c-cat-item-name { font-size: 13px; font-weight: 500; color: var(--tx); flex: 1; }
.c-cat-item-rate { font-size: 12.5px; font-weight: 700; color: var(--or); flex-shrink: 0; }
.c-cat-item-star {
  flex-shrink: 0; background: none; border: none; cursor: pointer;
  color: var(--tx3); font-size: 13px; padding: 2px 3px; line-height: 1;
  transition: color .15s; border-radius: 4px;
}
.c-cat-item-star:hover { color: #F59E0B; }
.c-cat-item-star.on { color: #F59E0B; }
.c-cat-item-grp { font-size: 11px; color: var(--tx3); margin-top: 1px; }
.c-cat-empty { padding: 16px; text-align: center; font-size: 13px; color: var(--tx3); }
.c-cat-grp-hdr {
  padding: 7px 14px 5px; font-size: 10px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--tx3);
  background: #F3F4F6; border-bottom: 1px solid var(--bd);
  display: flex; align-items: center; gap: 5px;
}
.c-cat-grp-hdr i { color: #F59E0B; font-size: 10px; }

.c-rate-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: #FFF4EC;
  border: 1px solid rgba(242,122,26,0.22); border-radius: 8px; gap: 12px;
}
.c-rate-lbl { font-size: 13px; font-weight: 500; color: var(--tx2); }
.c-rate-right { display: flex; align-items: center; gap: 6px; }
.c-rate-val { font-size: 15px; font-weight: 700; color: var(--or); }
.c-rate-edit-btn {
  background: none; border: none; cursor: pointer; color: var(--tx3);
  font-size: 12px; padding: 2px 4px; transition: color .15s;
}
.c-rate-edit-btn:hover { color: var(--or); }
.c-rate-inp-row { display: flex; align-items: center; gap: 6px; }
input.c-rate-inp {
  width: 70px; padding: 6px 8px; background: #fff;
  border: 1px solid rgba(242,122,26,0.22); border-radius: 6px; color: var(--or);
  font-size: 15px; font-weight: 700; font-family: inherit; text-align: right;
  outline: none; -moz-appearance: textfield; appearance: textfield;
}
input.c-rate-inp::-webkit-outer-spin-button,
input.c-rate-inp::-webkit-inner-spin-button { -webkit-appearance: none; appearance: none; }
.c-rate-pct { font-size: 14px; font-weight: 700; color: var(--or); }

.c-field { display: flex; flex-direction: column; gap: 6px; }
.c-f-lbl { font-size: 13px; font-weight: 500; color: var(--tx); }
.c-f-wrap { position: relative; display: flex; align-items: center; }
.c-f-pfx {
  position: absolute; left: 13px; font-size: 14px; font-weight: 600;
  color: var(--tx3); pointer-events: none;
}
input.c-inp {
  width: 100%; padding: 11px 14px 11px 28px; background: #fff;
  border: 1px solid var(--bd); border-radius: 8px; font-size: 15px;
  font-weight: 500; font-family: inherit; color: var(--tx);
  outline: none; -moz-appearance: textfield; appearance: textfield;
  transition: border-color .15s, box-shadow .15s;
}
input.c-inp::-webkit-outer-spin-button,
input.c-inp::-webkit-inner-spin-button { -webkit-appearance: none; appearance: none; }
input.c-inp:focus { border-color: var(--or); box-shadow: 0 0 0 3px #FFF4EC; }
input.c-inp::placeholder { color: var(--tx3); }

.c-kdv-btns { display: flex; gap: 8px; }
.c-kdv-btn {
  flex: 1; padding: 9px 8px; border: 1.5px solid var(--bd); border-radius: 20px;
  background: #fff; color: var(--tx2); font-size: 13px; font-weight: 600;
  font-family: inherit; cursor: pointer; text-align: center; transition: all .15s;
}
.c-kdv-btn:hover { border-color: var(--or); color: var(--or); }
.c-kdv-btn.on { background: var(--or); border-color: var(--or); color: #fff; }

.c-kargo-btns { display: flex; gap: 8px; }
.c-kargo-btn {
  flex: 1; display: flex; align-items: center; gap: 7px; padding: 10px 14px;
  border: 1.5px solid var(--bd); border-radius: 8px; background: #fff;
  color: var(--tx2); font-size: 13px; font-weight: 500; font-family: inherit;
  cursor: pointer; transition: all .15s;
}
.c-kargo-btn:hover { border-color: var(--or); }
.c-kargo-btn.on { border-color: var(--or); color: var(--tx); }
.c-kargo-radio {
  width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--bd);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: border-color .15s;
}
.c-kargo-btn.on .c-kargo-radio { border-color: var(--or); }
.c-kargo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--or); display: none; }
.c-kargo-btn.on .c-kargo-dot { display: block; }

.c-actions { display: flex; gap: 10px; padding-top: 4px; }
.c-btn-clear {
  display: flex; align-items: center; gap: 6px; padding: 11px 18px;
  border: 1.5px solid var(--bd); border-radius: 8px; background: #fff;
  color: var(--tx2); font-size: 13.5px; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: all .15s;
}
.c-btn-clear:hover { border-color: #9ca3af; color: var(--tx); }
.c-btn-calc {
  flex: 1; padding: 11px; background: var(--or); border: none; border-radius: 8px;
  color: #fff; font-size: 14px; font-weight: 700; font-family: inherit;
  cursor: pointer; transition: all .15s; box-shadow: 0 2px 8px rgba(242,122,26,0.3);
}
.c-btn-calc:hover { background: #FF9543; box-shadow: 0 4px 14px rgba(242,122,26,0.4); }
.c-btn-calc:active { transform: translateY(1px); }

.c-validation {
  display: none; align-items: center; gap: 8px; padding: 9px 12px;
  background: #FEF2F2; border: 1px solid #FECACA; border-radius: 8px;
  font-size: 12.5px; font-weight: 500; color: #B91C1C; animation: cFadeIn .2s ease;
}
.c-validation.show { display: flex; }
.c-validation i { font-size: 13px; flex-shrink: 0; }
@keyframes cFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.c-cat-row { display: flex; align-items: flex-start; gap: 8px; }
.c-cat-row .c-cat-wrap { flex: 1; min-width: 0; }
.c-fav-star-btn {
  width: 42px; height: 42px; flex-shrink: 0; display: flex; align-items: center;
  justify-content: center; border: 1.5px solid var(--bd); border-radius: 8px;
  background: #fff; color: var(--tx3); cursor: pointer; font-size: 16px; transition: all .15s;
}
.c-fav-star-btn:hover { border-color: var(--or); color: var(--or); }
.c-fav-star-btn.active { border-color: #FBBF24; color: #F59E0B; background: #FFFBEB; }

.c-res-placeholder {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px; color: var(--tx3); text-align: center; padding: 32px;
}
.c-res-placeholder i { font-size: 40px; opacity: 0.2; }
.c-res-placeholder strong { font-size: 15px; font-weight: 600; color: var(--tx2); }
.c-res-placeholder p { font-size: 13px; line-height: 1.6; max-width: 220px; }

.c-res-card { display: none; flex-direction: column; overflow: visible; }
.c-res-card.show { display: flex; }
.c-res-header {
  background: #FFF4EC; border-bottom: 1px solid rgba(242,122,26,0.22);
  padding: 16px 20px; display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.c-res-logo {
  width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0; background: var(--or);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px;
  box-shadow: 0 2px 6px rgba(242,122,26,0.3);
}
.c-res-title { font-size: 15px; font-weight: 700; color: var(--tx); }
.c-res-sub { font-size: 11px; color: var(--tx2); margin-top: 1px; }
.c-res-body { padding: 20px; display: flex; flex-direction: column; gap: 0; flex: 1; }
.c-divider { height: 1px; background: var(--bd); margin: 12px 0; }

.c-rrow {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 9px 0; border-bottom: 1px solid #F3F4F6; gap: 12px;
}
.c-rrow:last-child { border-bottom: none; }
.c-rrow-lbl { font-size: 13.5px; color: var(--tx); flex: 1; }
.c-rrow-lbl span { color: var(--tx3); font-size: 12.5px; margin-left: 3px; }
.c-rrow-val { font-size: 14px; font-weight: 600; color: var(--tx); text-align: right; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.c-rrow-val.neg { color: var(--re); }
.c-rrow-val.gr  { color: var(--gr); }
.c-rrow-val.mut { color: var(--tx2); font-weight: 500; }
.c-rrow.total .c-rrow-lbl { font-size: 14px; font-weight: 700; }
.c-rrow.total .c-rrow-val { font-size: 15px; font-weight: 800; }
.c-rrow.total .c-rrow-val.neg { color: var(--re); }
.c-rrow.total .c-rrow-val.gr  { color: var(--gr); }
.c-rrow.stat .c-rrow-lbl { color: var(--tx2); font-size: 13px; }
.c-rrow.stat .c-rrow-val { font-size: 14px; font-weight: 700; }

.c-be-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; margin-top: 8px;
  background: #EFF6FF; border: 1px solid #BFDBFE; border-radius: 8px; gap: 10px;
}
.c-be-lbl { font-size: 13px; font-weight: 600; color: #1D4ED8; }
.c-be-sub { font-size: 11px; color: #3B82F6; margin-top: 2px; }
.c-be-val { font-size: 16px; font-weight: 800; color: #1D4ED8; }

.c-fav-section { max-width: 960px; margin: 0 auto 24px; padding: 0 20px; }
.c-fav-hdr { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; }
.c-fav-hdr i { font-size: 12px; color: #F59E0B; }
.c-fav-hdr-title { font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--tx3); }
.c-fav-list { display: flex; flex-wrap: wrap; gap: 8px; }
.c-fav-card {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  background: #fff; border: 1.5px solid var(--bd); border-radius: 10px;
  cursor: pointer; transition: all .15s; max-width: 260px;
}
.c-fav-card:hover { border-color: var(--or); background: #FFF4EC; }
.c-fav-card.sel  { border-color: var(--or); background: #FFF4EC; }
.c-fav-icon {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 7px;
  background: #FEF3C7; display: flex; align-items: center; justify-content: center;
  color: #F59E0B; font-size: 13px;
}
.c-fav-card.sel .c-fav-icon { background: var(--or); color: #fff; }
.c-fav-body { flex: 1; min-width: 0; }
.c-fav-name { font-size: 12px; font-weight: 600; color: var(--tx); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-fav-info { font-size: 11px; color: var(--tx2); margin-top: 1px; white-space: nowrap; }
.c-fav-del {
  flex-shrink: 0; background: none; border: none; cursor: pointer;
  color: var(--tx3); font-size: 11px; padding: 3px 4px;
  border-radius: 4px; transition: all .12s; line-height: 1;
}
.c-fav-del:hover { color: var(--re); background: #FEF2F2; }

@media (max-width: 700px) {
  .calc-wrap { grid-template-columns: 1fr; padding: 12px; gap: 12px; }
  .calc-right { min-height: 400px; }
  .c-res-card.show { min-height: 400px; }
  .c-fav-section { padding: 0 12px; }
  .c-fav-card { max-width: 100%; }
}

/* ── Makale Bölümü ── */
.c-article-wrap {
  max-width: 960px; margin: 0 auto 40px; padding: 0 20px;
}
.c-article-panel {
  background: #fff; border: 1px solid var(--bd); border-radius: 14px; overflow: hidden;
}
.c-article-header {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 24px; background: #FFF4EC;
  border-bottom: 1px solid rgba(242,122,26,0.22);
}
.c-article-header-icon {
  width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0;
  background: var(--or); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 15px; box-shadow: 0 2px 6px rgba(242,122,26,0.3);
}
.c-article-header-title { font-size: 14px; font-weight: 700; color: var(--tx); }
.c-article-header-sub   { font-size: 11px; color: var(--tx2); margin-top: 1px; }

.c-article-scroll {
  max-height: 380px; overflow-y: auto; padding: 28px 28px 24px;
  scrollbar-width: thin; scrollbar-color: #e5e7eb transparent;
}
.c-article-scroll::-webkit-scrollbar { width: 5px; }
.c-article-scroll::-webkit-scrollbar-track { background: transparent; }
.c-article-scroll::-webkit-scrollbar-thumb { background: #e5e7eb; border-radius: 3px; }
.c-article-scroll::-webkit-scrollbar-thumb:hover { background: #d1d5db; }

.c-article-scroll h1 {
  font-size: 1.35rem; font-weight: 800; color: var(--tx);
  margin-bottom: 16px; line-height: 1.3;
}
.c-article-scroll h1 span { color: var(--or); }
.c-article-scroll h2 {
  font-size: 1rem; font-weight: 700; color: var(--tx);
  margin-top: 28px; margin-bottom: 10px;
  padding-left: 12px; border-left: 3px solid var(--or);
}
.c-article-scroll p {
  font-size: 13.5px; color: var(--tx2); line-height: 1.85;
  margin-bottom: 12px;
}
.c-article-scroll p strong { color: var(--tx); font-weight: 600; }
.c-article-scroll a { color: var(--or); text-decoration: none; font-weight: 600; }
.c-article-scroll a:hover { text-decoration: underline; }

.c-formula-box {
  background: #F9FAFB; border: 1px solid var(--bd);
  border-left: 4px solid var(--or); border-radius: 8px;
  padding: 14px 18px; font-family: 'Courier New', monospace;
  font-size: 12.5px; color: var(--tx); line-height: 1.9;
  margin: 16px 0; white-space: pre-wrap;
}

.c-article-fade {
  position: sticky; bottom: 0; left: 0; right: 0; height: 40px;
  background: linear-gradient(to top, #fff 0%, transparent 100%);
  pointer-events: none; margin-top: -40px;
}

@media (max-width: 700px) {
  .c-article-wrap { padding: 0 12px; }
  .c-article-scroll { max-height: 300px; padding: 20px 18px 16px; }
  .c-article-scroll h1 { font-size: 1.15rem; }
}

/* ── SSS Bölümü ── */
.c-faq-wrap {
  max-width: 960px; margin: 0 auto 48px; padding: 0 20px;
}
.c-faq-panel {
  background: #fff; border: 1px solid var(--bd); border-radius: 14px; overflow: hidden;
}
.c-faq-panel-header {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 24px; background: #FFF4EC;
  border-bottom: 1px solid rgba(242,122,26,0.22);
}
.c-faq-panel-icon {
  width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0;
  background: var(--or); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 15px; box-shadow: 0 2px 6px rgba(242,122,26,0.3);
}
.c-faq-panel-title { font-size: 14px; font-weight: 700; color: var(--tx); }
.c-faq-panel-sub   { font-size: 11px; color: var(--tx2); margin-top: 1px; }

.c-faq-list { padding: 8px 0; }

.c-faq-item {
  border-bottom: 1px solid var(--bd2);
  transition: background .15s;
}
.c-faq-item:last-child { border-bottom: none; }

.c-faq-q {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 15px 24px;
  cursor: pointer; user-select: none;
  transition: background .15s;
}
.c-faq-q:hover { background: #FAFAFA; }
.c-faq-item.open .c-faq-q { background: #FFF4EC; }

.c-faq-q-text {
  font-size: 13.5px; font-weight: 600; color: var(--tx); line-height: 1.45; flex: 1;
}
.c-faq-item.open .c-faq-q-text { color: var(--or); }

.c-faq-q-icon {
  width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%;
  background: var(--bd2); border: 1px solid var(--bd);
  display: flex; align-items: center; justify-content: center;
  color: var(--tx3); font-size: 11px;
  transition: all .2s;
}
.c-faq-item.open .c-faq-q-icon {
  background: var(--or); border-color: var(--or); color: #fff;
  transform: rotate(45deg);
}

.c-faq-a {
  display: none; padding: 0 24px 16px 24px;
  font-size: 13px; color: var(--tx2); line-height: 1.85;
}
.c-faq-a p { margin-bottom: 8px; }
.c-faq-a p:last-child { margin-bottom: 0; }
.c-faq-a strong { color: var(--tx); font-weight: 600; }
.c-faq-item.open .c-faq-a { display: block; }

.c-faq-count {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(242,122,26,0.12); color: var(--or);
  font-size: 11px; font-weight: 700; border-radius: 20px;
  padding: 2px 9px; margin-left: 8px; vertical-align: middle;
}

@media (max-width: 700px) {
  .c-faq-wrap { padding: 0 12px; }
  .c-faq-q { padding: 13px 16px; }
  .c-faq-a { padding: 0 16px 14px; }
  .c-faq-q-text { font-size: 13px; }
}
