/* Admin HQ › Finanse › Budżet klubowy (features/clubbudget.js) */
[data-ascreen="budzet"] .cb-top{display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:10px; margin-bottom:14px;}
[data-ascreen="budzet"] .cb-years,[data-ascreen="budzet"] .cb-chips{display:flex; gap:6px; flex-wrap:wrap;}
[data-ascreen="budzet"] .cb-actions{display:flex; gap:8px;}
[data-ascreen="budzet"] .cb-actions .btn{width:auto; padding:11px 16px; font-size:12.5px;}
[data-ascreen="budzet"] .chip,#fsheetBody .cb-catchips .chip{flex:none; padding:8px 13px; border-radius:999px; border:1px solid var(--stroke); background:none; color:var(--ink-300); font:inherit; font-size:13px; cursor:pointer;}
[data-ascreen="budzet"] .chip.on,#fsheetBody .cb-catchips .chip.on{background:var(--grad-soft); color:#fff; border-color:rgba(166,139,255,.45);}
[data-ascreen="budzet"] .cb-kpis{display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; margin-bottom:12px;}
[data-ascreen="budzet"] .cb-kpi{padding:16px; border-radius:18px; border:1px solid var(--stroke); background:var(--surface); display:flex; flex-direction:column; gap:4px; min-width:0;}
[data-ascreen="budzet"] .cb-kpi small{font-size:10.5px; letter-spacing:.12em; font-weight:700; color:var(--ink-400);}
[data-ascreen="budzet"] .cb-kpi b{font:800 24px Poppins,sans-serif; color:#fff; white-space:nowrap;}
[data-ascreen="budzet"] .cb-kpi span{font-size:12.5px; color:var(--ink-300);}
[data-ascreen="budzet"] .cb-kpi em{font-style:normal; color:var(--warn);}
[data-ascreen="budzet"] .cb-kpi strong{color:#fff;}
[data-ascreen="budzet"] .cb-kpi.main{background:linear-gradient(160deg,rgba(124,92,255,.28),rgba(255,255,255,.04)); border-color:rgba(166,139,255,.5);}
[data-ascreen="budzet"] .cb-kpi.main small{color:#ddd6fe;}
[data-ascreen="budzet"] .cb-kpi.main b{font-size:30px;}
[data-ascreen="budzet"] .neg{color:#ff8fa6;} [data-ascreen="budzet"] .pos{color:#5fe3ab;} [data-ascreen="budzet"] .plan{color:var(--warn);}
[data-ascreen="budzet"] .cb-card{padding:16px; border-radius:18px; border:1px solid var(--stroke); background:var(--surface); margin-bottom:12px; min-width:0;}
[data-ascreen="budzet"] .cb-usehead{display:flex; flex-wrap:wrap; justify-content:space-between; gap:6px; margin-bottom:10px; font-size:14px;}
[data-ascreen="budzet"] .cb-usehead span{font-size:12.5px; color:var(--ink-300);}
[data-ascreen="budzet"] .cb-bar{height:8px; border-radius:6px; background:rgba(255,255,255,.08); overflow:hidden; display:flex;}
[data-ascreen="budzet"] .cb-bar.big{height:12px;}
[data-ascreen="budzet"] .cb-bar i{display:block; height:100%; background:var(--grad);}
[data-ascreen="budzet"] .cb-bar i.plan{background:repeating-linear-gradient(45deg,#ffb547 0 6px,#d9962f 6px 12px);}
[data-ascreen="budzet"] .cb-two{display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); gap:12px;}
[data-ascreen="budzet"] .cb-two .cb-card{margin-bottom:0;}
[data-ascreen="budzet"] .cb-two{margin-bottom:12px;}
[data-ascreen="budzet"] .cb-eyebrow{font-size:10.5px; letter-spacing:.12em; font-weight:700; color:var(--ink-400); margin-bottom:8px;}
[data-ascreen="budzet"] .cb-prow{display:flex; align-items:center; gap:12px; padding:10px 0; border-top:1px solid var(--stroke);}
[data-ascreen="budzet"] .cb-eyebrow + .cb-prow{border-top:0;}
[data-ascreen="budzet"] .cb-av{width:36px; height:36px; border-radius:11px; background:var(--surface-2); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:13px; color:#ddd6fe; flex:none;}
[data-ascreen="budzet"] .cb-pt{flex:1; min-width:0; display:flex; flex-direction:column;}
[data-ascreen="budzet"] .cb-pt b{font-size:14px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
[data-ascreen="budzet"] .cb-pt small{font-size:12px; color:var(--ink-400);}
[data-ascreen="budzet"] .cb-amt{font-weight:700; white-space:nowrap;}
[data-ascreen="budzet"] .cb-cat{margin:10px 0 0;}
[data-ascreen="budzet"] .cb-cathead{display:flex; justify-content:space-between; gap:8px; font-size:13.5px; margin-bottom:5px;}
[data-ascreen="budzet"] .cb-cathead em{font-style:normal; font-weight:600; font-size:12px;}
[data-ascreen="budzet"] .cb-histhead{display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:8px; margin-bottom:10px;}
[data-ascreen="budzet"] .cb-histhead .cb-eyebrow{margin:0;}
[data-ascreen="budzet"] .cb-tablewrap{overflow-x:auto;}
[data-ascreen="budzet"] .cb-table{width:100%; border-collapse:collapse; font-size:13.5px;}
[data-ascreen="budzet"] .cb-table th{text-align:left; font-size:10.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-400); padding:9px 10px; border-bottom:1px solid var(--stroke); font-weight:700;}
[data-ascreen="budzet"] .cb-table td{padding:11px 10px; border-bottom:1px solid var(--stroke); vertical-align:middle;}
[data-ascreen="budzet"] .cb-table tr:last-child td{border-bottom:0;}
[data-ascreen="budzet"] .cb-table tbody tr{cursor:pointer;}
[data-ascreen="budzet"] .cb-table tbody tr:hover{background:rgba(255,255,255,.04);}
[data-ascreen="budzet"] .cb-table td small{display:block; font-size:11.5px; color:var(--ink-400); margin-top:2px;}
[data-ascreen="budzet"] .cb-r,[data-ascreen="budzet"] .cb-table th.cb-r{text-align:right; white-space:nowrap; font-weight:700;}
[data-ascreen="budzet"] .cb-date{white-space:nowrap; color:var(--ink-300);}
[data-ascreen="budzet"] .cb-tag{font-size:11px; font-weight:700; padding:2px 8px; border-radius:9px; background:rgba(255,181,71,.15);}
[data-ascreen="budzet"] .cb-doc{border:0; background:none; color:var(--violet-300); font:inherit; font-size:12.5px; cursor:pointer; padding:0; white-space:nowrap;}
[data-ascreen="budzet"] .cb-mute{font-size:12.5px; color:var(--ink-400);}
[data-ascreen="budzet"] .cb-miss{font-size:12.5px; color:var(--warn); white-space:nowrap;}

/* Telefon: wiersz historii jako karta */
@media (max-width:760px){
  [data-ascreen="budzet"] .cb-kpi b{font-size:20px;} [data-ascreen="budzet"] .cb-kpi.main{grid-column:1 / -1;}
  [data-ascreen="budzet"] .cb-actions{width:100%;} [data-ascreen="budzet"] .cb-actions .btn{flex:1;}
  [data-ascreen="budzet"] .cb-table thead{display:none;}
  [data-ascreen="budzet"] .cb-table tr{display:grid; grid-template-columns:1fr auto; gap:2px 10px; padding:11px 2px; border-bottom:1px solid var(--stroke);}
  [data-ascreen="budzet"] .cb-table tr:last-child{border-bottom:0;}
  [data-ascreen="budzet"] .cb-table td{padding:0; border:0;}
  [data-ascreen="budzet"] .cb-desc{grid-column:1; grid-row:1;} [data-ascreen="budzet"] .cb-r{grid-column:2; grid-row:1;}
  [data-ascreen="budzet"] .cb-date{grid-column:1; font-size:12px;} [data-ascreen="budzet"] .cb-docc{grid-column:2; text-align:right;}
  [data-ascreen="budzet"] .cb-catc{grid-column:1; font-size:12px; color:var(--ink-400);}
}

/* Arkusz wpłaty / wydatku */
#fsheetBody .cb-catchips{display:flex; flex-wrap:wrap; gap:6px;}
#fsheetBody .cb-grid3{display:grid; grid-template-columns:repeat(auto-fit,minmax(130px,1fr)); gap:0 10px;}
#fsheetBody .cb-drop{display:flex; flex-direction:column; gap:3px; padding:16px; border:1.5px dashed rgba(166,139,255,.55); border-radius:14px; background:rgba(124,92,255,.07); cursor:pointer; text-align:center;}
#fsheetBody .cb-drop b{font-size:14px; color:#fff;} #fsheetBody .cb-drop small{font-size:12px; color:var(--ink-400);}
#fsheetBody .cb-filerow{display:flex; gap:8px; margin-bottom:8px;} #fsheetBody .cb-filerow .btn{width:auto; padding:9px 12px; font-size:12px;}
#fsheetBody .cb-after{font-size:13.5px; color:var(--ink-300); margin:4px 0 12px; min-height:1em;}
#fsheetBody .cb-after b{color:#fff;}
#fsheetBody .cb-img{width:100%; border-radius:12px;}
