/* V21.6: a single desktop action area. The existing mobile controls stay intact. */
.u216-desktop-actions{display:none}
@media screen and (min-width:1024px){
  .u21-shell .u216-desktop-actions{display:block;margin:0 0 24px;padding:18px 20px;background:#fff;border:1px solid #cad8df;border-radius:12px;box-shadow:0 4px 14px rgba(20,45,60,.05)}
  .u21-shell.u216-actions-dashboard .u216-desktop-actions,
  .u21-shell.u216-actions-other .u216-desktop-actions{max-width:1480px;margin-left:auto;margin-right:auto}
  .u21-shell.u216-actions-investments .u216-desktop-actions{max-width:1200px;margin-left:auto;margin-right:auto}
  .u216-actions-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 16px;margin-bottom:13px}
  .u216-actions-heading strong{font-size:15px;font-weight:750;line-height:1.4;color:#163746}
  .u216-actions-heading>span{font-size:12px;line-height:1.5;color:#627480}
  .u216-actions-row,.u216-action-group{display:flex;align-items:stretch;flex-wrap:wrap;gap:10px}
  .u216-actions-row{gap:12px 20px}
  .u216-action-group-close{border-left:1px solid #dce5e9;padding-left:20px}
  .u21-shell .u216-action{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;width:auto;max-width:100%;padding:12px 17px;border:1px solid #bdced8;border-radius:9px;background:#f8fafb;color:#193b4b;text-decoration:none;font:inherit;font-size:14px;font-weight:700;line-height:1.3;text-align:center;cursor:pointer;box-shadow:none;white-space:normal;overflow-wrap:anywhere}
  .u21-shell .u216-action svg{width:21px;height:21px;flex:0 0 21px}
  .u21-shell .u216-action:hover{background:#eaf1f4;border-color:#7f9dac}
  .u21-shell .u216-action-primary{background:#167462;border-color:#167462;color:#fff;box-shadow:0 2px 4px rgba(22,116,98,.1)}
  .u21-shell .u216-action-primary:hover{background:#105f50;border-color:#105f50}
  .u21-shell .u216-action:focus-visible{outline:3px solid #367e9c;outline-offset:3px}
  /* Hide only the controls replaced above; forms and archived PDF links are preserved. */
  .u216-actions-investment .desktop-priority-actions,
  .u216-actions-investment .content [data-open="addPurchase"]:not(.u216-action),
  .u216-actions-investment .content .subtabs a[href^="?print_investment="]:not(.u216-action),
  .u216-actions-investments .dk-batch-heading [data-open="addInvestment"],
  .u216-actions-dashboard .u21-dashboard .u21-quick-actions,
  .u216-actions-other .u213-expenses-actions{display:none!important}
  .u216-actions-other .u213-expenses>.panel:has(>.actions>a[href="?print_other_current=1"]){display:none}
  /* Keep the existing batch preview controls together and easier to spot. */
  .u216-actions-investments .dk-batch-sticky{bottom:14px;padding:14px;border:1px solid #c7d8e0;border-radius:11px;box-shadow:0 5px 20px rgba(20,45,60,.12);gap:10px}
  .u216-actions-investments .dk-batch-sticky>button{min-height:45px;padding:11px 18px;font-size:14px;font-weight:700}
  .u216-actions-investments .dk-batch-sticky>button:disabled{opacity:1;background:#edf1f3;color:#7d8a92;border-color:#d8e1e5}
}
@media screen and (min-width:1024px) and (max-width:1199px){
  .u216-actions-dashboard .u216-action-group-close{border-left:0;padding-left:0}
}
@media print{.u216-desktop-actions{display:none!important}}
/* V21.8.1: common actions on desktop and phones. */
.u21-shell .u216-desktop-actions{display:block;margin:0 0 20px;padding:18px;background:#fff;border:1px solid #cad8df;border-radius:12px}
.u216-actions-heading{display:flex;flex-wrap:wrap;gap:6px 16px;margin-bottom:12px;color:#193b4b}
.u216-actions-heading>span,.actions218-hint{font-size:12px;color:#64727f}
.u216-actions-row,.u216-action-group,.batch-actions218{display:flex;flex-wrap:wrap;gap:9px;align-items:stretch}
.u21-shell .u216-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 15px;border:1px solid #bdced8;border-radius:9px;background:#f8fafb;color:#193b4b;text-decoration:none;font:inherit;font-weight:700;cursor:pointer;white-space:normal}
.u21-shell .u216-action svg{width:20px;height:20px;flex:0 0 20px}
.u21-shell .u216-action-primary{background:#167462;border-color:#167462;color:#fff}
.u21-shell .u216-action:disabled{opacity:.5;cursor:default}
.u21-shell .u216-action:focus-visible,.open-investment218:focus-visible{outline:3px solid #367e9c;outline-offset:3px}
.actions218-hint{align-self:center;max-width:260px}
.u21-shell .open-investment218{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:112px;padding:11px 20px;border:1px solid #167462;border-radius:9px;background:#167462;color:white!important;font-size:14px;font-weight:750;text-decoration:none;box-shadow:0 3px 8px #16746222}
.u21-shell .open-investment218:hover{background:#105f50}
.u21-shell.u216-actions-investments .dk-batch-heading [data-open="addInvestment"],.u21-shell.u216-actions-other .u213-expenses-actions,.u21-shell.u216-actions-other .mobile-bottom-actions{display:none!important}
.u21-shell .u213-expenses-tabs{display:flex!important;gap:4px!important;position:static!important;background:#e8eef1!important;padding:5px!important;border-radius:11px}
.u21-shell .u213-expenses-tabs .btn{flex:1;min-height:44px;border:0!important;background:transparent;box-shadow:none}
.u21-shell .u213-expenses-tabs .btn.primary{background:#fff!important;color:#167462!important;box-shadow:0 2px 5px #193b4b12}
.summary218-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.summary218-grid>section{padding:18px;background:#fff;border:1px solid #d4e1e6;border-radius:12px}
.summary218 h3{font-size:17px;margin:0 0 9px}.summary218-direction{font-size:17px;font-weight:750}.summary218-sources{margin-top:14px}.summary218-sources>div{display:grid;grid-template-columns:1fr;gap:2px;border-top:1px solid #e1e9ed;padding:9px 0;font-size:13px}.summary218-sources>div>span:nth-child(2){font-size:12px;color:#64727f}.summary218-outcome{margin-top:20px}.summary218 .dk-brief215-amount{font-size:29px}.summary218 .dk-brief215-amount small{font-size:14px}.summary218 .dk-brief215-conclusion-values{margin:14px 0}
@media(max-width:760px){.summary218-grid{grid-template-columns:1fr}.u216-action-group{width:100%;border:0!important;padding:0!important}.u216-action-group>.u216-action{flex:1 1 130px}.batch-actions218{width:100%}.batch-actions218>.u216-action{flex:1 1 110px}.batch-actions218>.u216-action:first-child{flex-basis:100%}.u216-actions-heading>span{display:none}.u21-shell .u213-expenses-tabs .btn{font-size:12px;padding:9px 6px!important}.summary218 .dk-batch-cost-table{font-size:12px}}
@media print{.u21-shell .u216-desktop-actions{display:none!important}}
.u21-shell .summary218{background:#fff;color:#193b4b;border:1px solid #d4e1e6}
.u21-shell .summary218 h2,.u21-shell .summary218 h3,.u21-shell .summary218 strong,.u21-shell .summary218 b,.u21-shell .summary218 .dk-batch-eyebrow{color:#193b4b}
.u21-shell .summary218 .dk-batch-help{color:#526b78}
.u21-shell .summary218 .summary218-grid>section{background:#f5f9fa}
.u21-shell .summary218 .dk-brief215-conclusion-values>div{background:#e1f0eb;color:#193b4b}
.u21-shell .summary218 .dk-batch-cost-table th,.u21-shell .summary218 .dk-batch-cost-table td{color:#193b4b}
.u21-shell .summary218 .dk-batch-cost-table{width:100%!important;min-width:0!important;table-layout:fixed}
.u21-shell .summary218 .dk-batch-cost-table th,.u21-shell .summary218 .dk-batch-cost-table td{white-space:normal!important;overflow-wrap:anywhere;padding:9px 5px}
.u21-shell .batch-actions218{margin:0;padding:0}
.u21-shell .u213-expenses .u213-expenses-tabs .btn{font-size:13px!important;min-height:44px!important;flex:1 1 95px!important}
/* Invoice instructions are primary; colour reinforces the explicit wording. */
.u21-shell .summary219-documents{margin:18px 0}
.u21-shell .summary219-invoice,.u21-shell .summary219-cash{background:#f5f9fa;border:1px solid #d4e1e6;border-radius:10px;padding:16px;min-width:0}
.u21-shell .summary219-action,.u21-shell .summary219-cash-amount,.u21-shell .summary219-values strong{color:#a51d16!important;font-size:19px;font-weight:750;line-height:1.4;overflow-wrap:anywhere}
.u21-shell .summary219-values{display:grid;gap:5px;margin-top:12px}
.u21-shell .summary219-values>span{font-size:15px;font-weight:650}
.u21-shell .summary219-cash-amount{font-size:28px}
.u21-shell .summary219-cash .summary218-sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.u21-shell .batch-preview-actions219{width:100%;min-width:0}
.u21-shell .batch-preview-actions219 .dk-batch-confirm{margin:12px 0 0;padding:0;border:0;background:transparent}
.u21-shell .batch-preview-actions219 .dk-batch-actions{margin:0;display:flex;flex-wrap:wrap;gap:9px}
.u21-shell .batch-preview-actions219 .dk-batch-primary{background:#167462;color:#fff;border:1px solid #167462;min-height:46px;padding:11px 16px;border-radius:9px;font-weight:700}
@media(max-width:760px){.u21-shell .summary219-cash .summary218-sources{grid-template-columns:1fr}.u21-shell .batch-preview-actions219 .dk-batch-actions>a{flex:1 1 130px}}
@media(max-width:760px){
 .u21-shell .u216-desktop-actions{padding:10px;margin-bottom:14px}
 .u21-shell .u216-actions-heading{font-size:12px;margin-bottom:7px}
 .u21-shell .u216-actions-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .u21-shell .u216-action-group,.u21-shell .batch-actions218{display:contents}
 .u21-shell .u216-action{min-height:38px;min-width:0;width:100%;padding:7px 6px;font-size:12px;line-height:1.2;gap:5px;border-radius:7px}
 .u21-shell .u216-action svg{width:16px;height:16px;flex-basis:16px}
 .u21-shell .actions218-hint,.u21-shell .batch-preview-actions219{grid-column:1/-1}
 .u21-shell .batch-preview-actions219 .dk-batch-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .u21-shell .batch-preview-actions219 .dk-batch-confirm{margin-top:8px}
 .u21-shell .batch-preview-actions219 .dk-batch-help{font-size:11px;line-height:1.35;margin:7px 0}
 .u21-shell .batch-preview-actions219 .dk-batch-primary{min-height:38px;padding:7px 12px;font-size:12px}
}
.u21-shell .u216-desktop-actions .u213-expenses-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));margin:10px 0 0!important;padding:4px!important;border:0}
.u21-shell .u216-desktop-actions .u213-expenses-tabs .btn{display:flex;align-items:center;justify-content:center;white-space:normal!important;line-height:1.25;min-width:0;font-size:13px!important}
@media(max-width:760px){.u21-shell .actions218-hint{display:none}.u21-shell .u216-desktop-actions .u213-expenses-tabs{margin-top:7px!important;padding:3px!important;gap:3px!important}.u21-shell .u216-desktop-actions .u213-expenses-tabs .btn{min-height:36px!important;padding:6px 3px!important;font-size:11px!important}}
/* Keep the original palette; only payment instructions and amounts are red. */
.u21-shell .summary218 .summary220-due,.u21-shell .summary218 .summary219-values>span{color:#a51d16!important}
/* Scope is visible before amounts; red remains reserved for payments. */
.summary222-scope{margin:12px 0 18px;padding:14px 16px;background:#edf4f7;border:1px solid #cadce5;border-radius:9px;color:#193b4b}
.summary222-scope>strong{display:block;font-size:17px;line-height:1.4}
.summary222-scope>p{margin:7px 0 0;font-size:14px;line-height:1.5}
.summary222-outcome-note{font-weight:600;font-size:14px;line-height:1.5;color:#193b4b}
.summary222-calculation{font-size:13px;line-height:1.5;color:#3d5563}
.summary222-warning{color:#a51d16!important;font-weight:700!important}
.batch-type221{margin:14px 0 18px;padding:14px;border:1px solid #d4e1e6;border-radius:9px;background:#fff}
.batch-type221 h3{margin:0 0 8px}.batch-type221 button{min-height:42px;white-space:normal;line-height:1.3}
.batch-type221 button[aria-pressed=true]{opacity:1!important;background:#193b4b!important;color:#fff!important;border-color:#193b4b!important;cursor:default}
@media(max-width:760px){.batch-type221 .dk-batch-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.batch-type221 button{font-size:12px;padding:8px!important}.summary222-scope{padding:12px}.summary222-scope>strong{font-size:15px}.summary222-scope>p{font-size:13px}}
.summary223-final-shortcut{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:12px 0 16px}.summary223-final-shortcut small{color:#526774;font-size:12px;line-height:1.4}.summary223-final-shortcut .u216-action{max-width:100%;line-height:1.4}.batch-preview-actions219>.dk-batch-actions{align-items:stretch}@media(max-width:760px){.summary223-final-shortcut{display:block}.summary223-final-shortcut small{display:block;margin-top:7px}}

.u2211-mobile-essential{display:contents}
#dodaj-dokument{scroll-margin-top:100px}
