/* Finans paneline özel küçük ekler; temel stil QR Rate panelinden (app.css). */
.bars { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; align-items: end; height: 170px; padding-top: 10px; }
.bars .bar { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; gap: 4px; min-width: 0; }
.bars .col { display: flex; align-items: flex-end; gap: 2px; height: 130px; }
.bars .col span { flex: 1; border-radius: 4px 4px 0 0; min-height: 1px; }
.bars .gross { background: var(--forest-2); }
.bars .exp { background: var(--clay); opacity: .75; }
.bars small { font-size: 11px; color: var(--ink-3); text-align: center; white-space: nowrap; overflow: hidden; }
.legend { display: flex; gap: 14px; font-size: 12.5px; color: var(--ink-2); margin-top: 8px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.neg { color: var(--clay); }
.pos { color: var(--forest-2); }
.period { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.period input[type=date] { width: auto; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px 14px; }
.form-grid .wide { grid-column: 1 / -1; }
.form-grid label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
input, select, textarea { width: 100%; font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink); min-height: 38px; }
.side .sync { margin-top: 4px; }
.side .sync button { color: #fff; text-decoration: underline; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.side-foot .muted-light { color: #A9C2B5; }
.mobile-nav { display: none; }
@media (max-width: 780px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; height: auto; padding: 14px 16px; gap: 10px; }
  .side nav { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .side nav a { padding: 6px 9px; }
  .side-foot { margin-top: 0; flex-direction: row; flex-wrap: wrap; gap: 12px; padding: 0; }
  .main { padding: 18px 16px 40px; }
  .bars { gap: 4px; }
  .bars small { font-size: 9.5px; }
  .tbl.stack thead { display: none; }
  .tbl.stack tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
  .tbl.stack td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 3px 0; text-align: right; }
  .tbl.stack td::before { content: attr(data-label); color: var(--ink-2); font-size: 13px; text-align: left; }
  .tbl.stack td.num { text-align: right; }
}
[hidden] { display: none !important; }
.dl dd { white-space: normal; }
details.new-entry > summary { cursor: pointer; font-weight: 650; list-style: none; }
details.new-entry > summary::-webkit-details-marker { display: none; }
details.new-entry > summary::before { content: "+ "; }
details.new-entry[open] > summary { margin-bottom: 12px; }
