/* Orman izni bedel hesaplama araçları */
.calc-hub { padding: 60px 0 70px; }
.calc-hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.calc-tool-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; transition: border-color .25s, box-shadow .25s, transform .25s; }
.calc-tool-card:hover { border-color: color-mix(in srgb, var(--accent), white 65%); box-shadow: var(--shadow); transform: translateY(-4px); }
.calc-tool-card-image { display: block; height: 220px; overflow: hidden; }
.calc-tool-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.calc-tool-card:hover .calc-tool-card-image img { transform: scale(1.04); }
.calc-tool-card-body { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; flex: 1; padding: 44px 32px 32px; }
.calc-tool-card-body > .activity-icon { position: absolute; top: -28px; left: 32px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); }
.calc-tool-card-body .eyebrow { background: var(--accent-light); color: var(--accent); }
.calc-tool-card h2 { font-size: 24px; letter-spacing: -.6px; line-height: 1.3; }
.calc-tool-card h2 a:hover { color: var(--accent); }
.calc-tool-card p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.calc-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 6px; }
.calc-tags li { padding: 4px 10px; border: 1px solid var(--line); border-radius: 30px; font-size: 11px; font-weight: 600; color: #404752; }
.calc-tool-card .button { margin-top: auto; }
.calc-hub-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 28px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.calc-hub-note .icon { width: 17px; height: 17px; color: var(--primary); margin-top: 2px; }

.calc-section { padding: 0 0 70px; background: var(--subtle); }
.calc-tool { display: grid; gap: 22px; margin-top: -34px; }
.calc-card { min-width: 0; margin: 0; padding: 28px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 10px 30px -24px #142f4e66; }
.calc-add fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.calc-card legend, .calc-results h2 { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 20px; font-size: 18px; font-weight: 700; letter-spacing: -.3px; line-height: 1.3; }
.calc-settings legend { float: left; width: 100%; }
.calc-settings legend + * { clear: both; }
.calc-step { display: inline-grid; place-items: center; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-light); color: var(--accent); font-size: 13px; font-weight: 700; }
.calc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 20px; }
.calc-grid-add { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr) auto; align-items: end; }
.calc-field { min-width: 0; }
.calc-field label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 600; line-height: 1.5; color: #2b3445; }
.calc-field input, .calc-field select, .calc-table input, .calc-table select { display: block; width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #d5dee8; border-radius: 8px; background: white; color: var(--ink); font-size: 13px; transition: border-color .2s, box-shadow .2s; }
.calc-field select, .calc-table select { padding-right: 28px; text-overflow: ellipsis; }
.calc-field input:focus, .calc-field select:focus, .calc-table input:focus, .calc-table select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent), transparent 85%); }
.calc-add-button { min-height: 44px; white-space: nowrap; }
.calc-file-buttons button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.calc-results-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.calc-results-head h2 { margin: 0; }
.calc-results-head .text-link { color: var(--muted); }
.calc-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.calc-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.calc-table thead th { padding: 12px 14px; background: var(--subtle); color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; text-align: left; white-space: nowrap; }
.calc-table td, .calc-table tbody th { padding: 12px 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: middle; font-variant-numeric: tabular-nums; }
.calc-table tbody th { font-weight: 600; }
.calc-table small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; font-weight: 500; }
.calc-table input { width: 130px; min-height: 38px; padding: 7px 10px; }
.calc-table select { width: 190px; min-height: 38px; padding-block: 7px; }
.calc-table [data-empty] td { padding: 28px 14px; color: var(--muted); text-align: center; }
.calc-row-action { width: 1%; text-align: right; }
.calc-remove { padding: 7px 12px; border-radius: 7px; background: #fef2f2; color: #b42318; font-size: 12px; font-weight: 600; }
.calc-remove:hover { background: #fee4e2; }
.calc-summary { display: grid; grid-template-columns: repeat(var(--stats, 4), minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; }
.calc-stat { padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--subtle); }
.calc-stat dt { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.calc-stat dd { margin: 6px 0 0; font-size: 19px; font-weight: 700; letter-spacing: -.3px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.calc-stat-total { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--accent); border-color: var(--accent); color: white; }
.calc-stat-total dt { color: #ffffffcc; }
.calc-stat-total dd { margin: 0; font-size: 26px; }
.calc-notes p { margin-top: 14px; padding: 12px 14px; border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; background: var(--accent-light); font-size: 13px; line-height: 1.7; }
.calc-status { min-height: 1.5em; margin-top: 14px; color: var(--muted); font-size: 12px; }
.calc-status.is-error { color: #b42318; font-weight: 600; }
.calc-file-actions { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 12px; padding-top: 20px; border-top: 1px dashed var(--line); }
.calc-file-actions h3 { font-size: 15px; }
.calc-file-actions p { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.7; max-width: 560px; }
.calc-file-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.calc-file-buttons .button { cursor: pointer; }
.calc-upload { position: relative; }
.calc-upload input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.calc-upload:focus-within { outline: 3px solid #168ae2; outline-offset: 3px; }
.calc-guide { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 26px 60px; margin-top: 60px; }
.calc-guide-intro h2 { margin: 14px 0; font-size: 30px; letter-spacing: -.9px; }
.calc-guide-intro p { color: var(--muted); font-size: 14px; line-height: 1.85; }
.calc-guide-intro .eyebrow { background: var(--accent-light); color: var(--accent); }
.calc-guide-list { display: grid; gap: 12px; margin: 0; }
.calc-guide-list > div { padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.calc-guide-list dt { font-size: 15px; font-weight: 700; }
.calc-guide-list dd { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.calc-disclaimer { grid-column: 1 / -1; padding: 18px 22px; border-radius: 12px; background: #fff8eb; border: 1px solid #f7d9a6; font-size: 13px; line-height: 1.75; color: #5b4317; }
.calc-disclaimer p { margin-top: 4px; }
.directory-cta p .text-link { font-size: 14px; }
@media (max-width: 979px) {
  .calc-hub-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-grid-add { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-guide { grid-template-columns: 1fr; }
  .calc-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
  .calc-hub { padding: 36px 0 44px; }
  .calc-tool-card-image { height: 180px; }
  .calc-tool-card-body { padding: 40px 20px 22px; }.calc-tool-card-body > .activity-icon { left: 20px; }
  .calc-tool-card h2 { font-size: 21px; }
  .calc-section { padding-bottom: 44px; }
  .calc-tool { margin-top: -20px; gap: 16px; }
  .calc-card { padding: 20px 16px; border-radius: 12px; }
  .calc-grid, .calc-grid-add { grid-template-columns: 1fr; gap: 14px; }
  .calc-add-button { width: 100%; }
  .calc-table-wrap { overflow: visible; border: 0; }
  .calc-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .calc-table, .calc-table tbody, .calc-table tr, .calc-table td, .calc-table tbody th { display: block; width: 100%; }
  .calc-table tr[data-index] { margin-bottom: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: white; }
  .calc-table tr[data-index] > * { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 0; text-align: right; }
  .calc-table tr[data-index] > *::before { content: attr(data-label); color: var(--muted); font-size: 11px; font-weight: 600; text-align: left; }
  .calc-table tr[data-index] > th { display: block; text-align: left; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
  .calc-table tr[data-index] > th::before { content: none; }
  .calc-table input, .calc-table select { width: 58%; }
  .calc-table td small { display: inline; margin-left: 6px; }
  .calc-row-action { justify-content: flex-end !important; }
  .calc-row-action::before { content: none !important; }
  .calc-table [data-empty] td { border: 1px dashed var(--line); border-radius: 10px; }
  .calc-summary { grid-template-columns: 1fr 1fr; gap: 10px; }
  .calc-stat { padding: 12px 14px; }.calc-stat dd { font-size: 16px; }
  .calc-stat-total { flex-direction: column; align-items: flex-start; gap: 4px; }.calc-stat-total dd { font-size: 22px; }
  .calc-file-actions { flex-direction: column; align-items: stretch; }
  .calc-file-buttons .button { flex: 1; }
  .calc-guide { margin-top: 40px; }.calc-guide-intro h2 { font-size: 25px; }
}
