/* Loaded after page-specific styles so the same breakpoints work in both portals. */
.shell{grid-template-columns:238px minmax(0,1fr)}
.main,.portal-shell,.public-card,.card,.table-wrap,.top,.top-actions,.portal-top,.portal-tabs{min-width:0;max-width:100%}
.main{padding:clamp(12px,1.6vw,28px)}
.top{gap:16px;flex-wrap:wrap}.top .title{min-width:0;flex:1 1 260px}
.top-actions,.actions,.portal-tabs,.transport-card-actions{display:flex;flex-wrap:wrap;gap:8px}
.top-actions{justify-content:flex-end;min-width:0;flex:1 1 260px}
.btn,.top-actions button,.portal-tabs button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.card h1,.card h2,.title h1,.section-title,.status{overflow-wrap:anywhere}
.table-wrap{width:100%;overflow-x:auto;container-type:inline-size;container-name:tms-table}
.table-wrap table{max-width:100%}.table-wrap th,.table-wrap td{overflow-wrap:normal;word-break:normal}
.folder-registry{width:100%;min-width:0;table-layout:fixed}
.folder-registry th{white-space:normal;line-height:1.4;font-size:11px}
.folder-registry th:nth-child(1){width:4%}.folder-registry th:nth-child(2){width:23%}.folder-registry th:nth-child(3){width:28%}.folder-registry th:nth-child(4){width:18%}.folder-registry th:nth-child(5){width:10%}.folder-registry th:nth-child(6){width:17%}
.folder-registry td{white-space:normal;padding:12px 8px;min-width:0}
.folder-registry .folder-number{font-size:clamp(13px,1vw,16px)}
.folder-counters{min-width:0;max-width:100%;flex-wrap:wrap}.folder-counter{white-space:normal;max-width:100%}
.folder-money,.folder-margin{white-space:normal}.folder-registry .status{white-space:normal;max-width:100%}
.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.form-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.form-grid>*,.grid>*,.inline-fields>*,.phone-field>*{min-width:0}
.form-grid input,.form-grid select,.form-grid textarea{width:100%;min-width:0}
.inline-fields{grid-template-columns:minmax(0,1fr) minmax(74px,110px)}
.folder-summary-grid,.invoice-kpis,.fin-kpis{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr))}
.folder-filter-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
.folder-filter-dates{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.date-range,.date-range>div{min-width:0}.date-range input{min-width:0;width:100%;max-width:100%}
.portal-shell{width:100%;padding:clamp(12px,2vw,24px)}
.portal-quote,.carrier-transport-card{grid-template-columns:minmax(0,1.6fr) repeat(3,minmax(0,.7fr))}
.portal-quote{grid-template-columns:minmax(0,1.6fr) repeat(3,minmax(0,.7fr)) minmax(0,auto)}
.portal-quote>*,.carrier-transport-card>*,.carrier-quote-card>*{min-width:0;max-width:100%;overflow-wrap:anywhere}
.transport-stop{min-width:0;width:100%;max-width:100%}
.chat-modal-window{width:min(900px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto}
.notification-toolbar .notification-wrap{position:relative;top:auto;right:auto}
@media(max-width:1280px){
  .shell{grid-template-columns:200px minmax(0,1fr)}.sidebar{padding:22px 12px}
  .top{align-items:flex-start}.top-actions{justify-content:flex-start}
  .form-grid.three,.form-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* Narrow content area (sidebar, laptop zoom, or a split window): folder cards. */
@container tms-table (max-width:1000px){
  .folder-registry.responsive-table{display:block;table-layout:auto}
  .folder-registry.responsive-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .folder-registry.responsive-table tbody{display:block;width:100%}
  .folder-registry.responsive-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}
  .folder-registry.responsive-table td{display:block;border:0;padding:0;text-align:left;width:auto;min-width:0}
  .folder-registry.responsive-table td::before{content:attr(data-label);display:block;font-size:10px;line-height:1.5;font-weight:800;color:var(--muted);margin-bottom:5px}
  .folder-registry.responsive-table td:first-child{grid-column:1/-1;font-size:11px;color:var(--muted)}
  .folder-registry.responsive-table td:first-child::before{display:inline;margin-right:6px}
  .folder-registry.responsive-table td:nth-child(3){grid-column:1/-1}
}
@media(max-width:1000px){
  .portal-quote,.carrier-transport-card{grid-template-columns:repeat(2,minmax(0,1fr))}
  .carrier-quote-card{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .portal-top{flex-wrap:wrap;align-items:flex-start}.portal-top>div{min-width:0}
  .folder-filter-dates{grid-template-columns:1fr}
  .invoice-preview-layout{grid-template-columns:1fr}
}
@media(max-width:760px){
  .shell{grid-template-columns:minmax(0,1fr)}.sidebar{padding:12px}
  .main{padding:12px}.card,.public-card{padding:16px;border-radius:14px}
  .top{display:flex;flex-direction:column;align-items:stretch}.top .title,.top-actions{flex:auto;width:100%}
  .top-actions>.btn,.actions>.btn{flex:1 1 145px}
  .title h1{font-size:24px;line-height:1.2}.title p{overflow-wrap:anywhere}
  .grid.two,.grid.three,.grid.four,.form-grid,.form-grid.two,.form-grid.three,.form-grid.four,.form-grid.five,.load-summary{grid-template-columns:minmax(0,1fr)}
  .folder-filter-grid,.invoice-filter-main,.invoice-filter-dates{grid-template-columns:minmax(0,1fr)}
  .folder-filter-grid .two-span{grid-column:auto}
  .portal-quote,.carrier-transport-card{grid-template-columns:minmax(0,1fr)}
  .carrier-quote-card{grid-template-columns:minmax(0,1fr)!important}
  .portal-tabs{display:flex;flex-wrap:wrap}.portal-tabs button{flex:1 1 130px}
  .cq-route,.cq-actions{grid-column:auto}.ct-rate b,.ct-status b,.ct-vehicle b{font-size:15px}
  .nav button{font-size:12px;padding:9px 10px}.nav{max-width:100%;overflow-x:auto}
  .responsive-table{display:block;width:100%;min-width:0!important;table-layout:auto}
  .responsive-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .responsive-table tbody{display:block;width:100%}
  .responsive-table tr,.folder-registry.responsive-table tr{display:block;padding:14px 0;border-bottom:1px solid var(--line)}
  .responsive-table td,.folder-registry.responsive-table td{display:block;width:auto;border:0;padding:6px 0;text-align:left;min-width:0;max-width:100%;white-space:normal}
  .responsive-table td::before{content:attr(data-label);display:block;color:var(--muted);font-size:10px;font-weight:800;line-height:1.5;margin-bottom:3px}
  .responsive-table td[data-label=""]::before{display:none}
  .invoice-notes-cell textarea{width:100%;font-size:16px}.form-grid input,.form-grid select,.form-grid textarea{font-size:16px}
  .invoice-pdf-preview{height:70dvh;min-height:380px}
}
@container tms-table (max-width:500px){
  .folder-registry.responsive-table tr{display:block}
  .folder-registry.responsive-table td{padding:6px 0}
}

/* v4.1.27: eight-column order registry must not squeeze words into vertical strips. */
@media(min-width:761px){
  #ordersRegistryTable{width:100%;min-width:1600px;max-width:none;table-layout:fixed;font-size:14px}
  #ordersRegistryTable th,#ordersRegistryTable td{word-break:normal;overflow-wrap:normal;white-space:normal;line-height:1.45;padding:12px 10px;vertical-align:top}
  #ordersRegistryTable th{font-size:11px}
  #ordersRegistryTable th:nth-child(1){width:180px}
  #ordersRegistryTable th:nth-child(2){width:260px}
  #ordersRegistryTable th:nth-child(3),#ordersRegistryTable th:nth-child(4){width:240px}
  #ordersRegistryTable th:nth-child(5){width:200px}
  #ordersRegistryTable th:nth-child(6){width:190px}
  #ordersRegistryTable th:nth-child(7){width:130px}
  #ordersRegistryTable th:nth-child(8){width:160px}
  #ordersRegistryTable td:first-child>b{white-space:nowrap;font-size:14px}
  #ordersRegistryTable td:nth-child(7){white-space:nowrap}
  #ordersRegistryTable small{font-size:12px;overflow-wrap:normal;word-break:normal}
  #ordersRegistryTable .status{white-space:normal;overflow-wrap:normal;word-break:normal;font-size:12px;line-height:1.35;border-radius:10px}
}
@media(max-width:760px){
  #ordersRegistryTable.responsive-table{min-width:0!important;width:100%;table-layout:auto}
  #ordersRegistryTable td,#ordersRegistryTable small,#ordersRegistryTable .status{overflow-wrap:break-word;word-break:normal}
  #ordersRegistryTable td:first-child>b{font-size:16px}
}

/* v4.1.28: sales invoice columns retain readable widths, including status and notes. */
@media(min-width:761px){
  #salesInvoiceTable{width:100%;min-width:1600px;max-width:none;table-layout:fixed;font-size:14px}
  #salesInvoiceTable th,#salesInvoiceTable td{word-break:normal;overflow-wrap:normal;white-space:normal;line-height:1.45;padding:12px 10px;vertical-align:top}
  #salesInvoiceTable th{font-size:11px;white-space:nowrap}
  #salesInvoiceTable th:nth-child(1){width:45px}
  #salesInvoiceTable th:nth-child(2){width:205px}
  #salesInvoiceTable th:nth-child(3){width:130px}
  #salesInvoiceTable th:nth-child(4){width:260px}
  #salesInvoiceTable th:nth-child(5){width:160px}
  #salesInvoiceTable th:nth-child(6),#salesInvoiceTable th:nth-child(7),#salesInvoiceTable th:nth-child(8){width:120px}
  #salesInvoiceTable th:nth-child(9){width:190px}
  #salesInvoiceTable th:nth-child(10){width:250px}
  #salesInvoiceTable td:nth-child(2)>b,#salesInvoiceTable td:nth-child(2)>small,#salesInvoiceTable td:nth-child(5),#salesInvoiceTable td:nth-child(6),#salesInvoiceTable td:nth-child(7),#salesInvoiceTable td:nth-child(8){white-space:nowrap}
  #salesInvoiceTable small{font-size:12px;overflow-wrap:normal;word-break:normal}
  #salesInvoiceTable .status{white-space:nowrap;overflow-wrap:normal;word-break:normal;font-size:11px;line-height:1.4;border-radius:10px;max-width:none}
  #salesInvoiceTable .invoice-notes-cell{min-width:0;max-width:none}
  #salesInvoiceTable .invoice-notes-cell textarea{width:100%;min-width:0;max-width:100%;font-size:13px;white-space:pre-wrap;overflow-wrap:break-word;word-break:normal}
  #salesInvoiceTable .invoice-notes-cell button{white-space:nowrap;font-size:12px}
  #salesInvoiceTable .invoice-notes-cell [data-note-save]{white-space:normal;overflow-wrap:break-word}
}
@media(max-width:760px){
  #salesInvoiceTable.responsive-table{min-width:0!important;width:100%;table-layout:auto}
  #salesInvoiceTable td,#salesInvoiceTable small{overflow-wrap:break-word;word-break:normal;white-space:normal}
  #salesInvoiceTable .status{white-space:normal;overflow-wrap:normal;word-break:normal;max-width:100%}
  #salesInvoiceTable .invoice-notes-cell{min-width:0;max-width:none}
}

/* v4.1.29: invoice rows adapt to actual content width; notes get a second row. */
#ordersRegistryTable td:nth-child(5),#ordersRegistryTable td:nth-child(5) *{white-space:normal;overflow-wrap:break-word;word-break:normal;max-width:100%;height:auto;overflow:visible;text-overflow:clip}
@media(min-width:761px){
  @container tms-table (max-width:1599px){
    #salesInvoiceTable.responsive-table{display:block;width:100%;min-width:0;max-width:100%;table-layout:auto}
    #salesInvoiceTable.responsive-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
    #salesInvoiceTable.responsive-table tbody{display:block;width:100%}
    #salesInvoiceTable.responsive-table tr{display:grid;grid-template-columns:34px minmax(0,1.2fr) minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);gap:12px 16px;padding:16px 0;border-bottom:1px solid var(--line);height:auto;min-height:0;align-items:start}
    #salesInvoiceTable.responsive-table td{display:block;min-width:0;max-width:100%;width:auto;border:0;padding:0;white-space:normal;height:auto}
    #salesInvoiceTable.responsive-table td::before{content:attr(data-label);display:block;font-size:10px;line-height:1.4;font-weight:800;color:var(--muted);margin-bottom:4px;white-space:normal}
    #salesInvoiceTable.responsive-table td:nth-child(1){grid-column:1;grid-row:1/3}
    #salesInvoiceTable.responsive-table td:nth-child(1)::before{display:none}
    #salesInvoiceTable.responsive-table td:nth-child(2){grid-column:2;grid-row:1}
    #salesInvoiceTable.responsive-table td:nth-child(3){grid-column:2;grid-row:2}
    #salesInvoiceTable.responsive-table td:nth-child(4){grid-column:3;grid-row:1/3}
    #salesInvoiceTable.responsive-table td:nth-child(5){grid-column:4;grid-row:1}
    #salesInvoiceTable.responsive-table td:nth-child(6){grid-column:4;grid-row:2}
    #salesInvoiceTable.responsive-table td:nth-child(7){grid-column:5;grid-row:2}
    #salesInvoiceTable.responsive-table td:nth-child(8){grid-column:6;grid-row:2}
    #salesInvoiceTable.responsive-table td:nth-child(9){grid-column:5/7;grid-row:1}
    #salesInvoiceTable.responsive-table td:nth-child(10){grid-column:2/-1;grid-row:3;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;align-items:start}
    #salesInvoiceTable.responsive-table td:nth-child(10)::before{grid-column:1/-1;margin-bottom:0}
    #salesInvoiceTable.responsive-table td:nth-child(10) textarea{min-height:54px;height:54px;margin:0;width:100%}
    #salesInvoiceTable.responsive-table td:nth-child(10) [data-note-save]{grid-column:1/-1}
    #salesInvoiceTable.responsive-table td:nth-child(2)>b,#salesInvoiceTable.responsive-table td:nth-child(2)>small{white-space:normal;overflow-wrap:break-word}
    #salesInvoiceTable.responsive-table .status{max-width:100%;white-space:normal;word-break:normal;overflow-wrap:normal}
  }
  @container tms-table (max-width:900px){
    #salesInvoiceTable.responsive-table tr{grid-template-columns:30px minmax(0,1fr) minmax(0,1fr);gap:12px}
    #salesInvoiceTable.responsive-table td{grid-column:auto!important;grid-row:auto!important}
    #salesInvoiceTable.responsive-table td:nth-child(1){grid-column:1!important;grid-row:1!important}
    #salesInvoiceTable.responsive-table td:nth-child(2){grid-column:2!important;grid-row:1!important}
    #salesInvoiceTable.responsive-table td:nth-child(9){grid-column:3!important;grid-row:1!important}
    #salesInvoiceTable.responsive-table td:nth-child(4){grid-column:2/-1!important;grid-row:2!important}
    #salesInvoiceTable.responsive-table td:nth-child(3){grid-column:2!important;grid-row:3!important}
    #salesInvoiceTable.responsive-table td:nth-child(5){grid-column:3!important;grid-row:3!important}
    #salesInvoiceTable.responsive-table td:nth-child(6){grid-column:2!important;grid-row:4!important}
    #salesInvoiceTable.responsive-table td:nth-child(7){grid-column:3!important;grid-row:4!important}
    #salesInvoiceTable.responsive-table td:nth-child(8){grid-column:2/-1!important;grid-row:5!important}
    #salesInvoiceTable.responsive-table td:nth-child(10){grid-column:2/-1!important;grid-row:6!important}
  }
}

/* v4.1.30: native responsive invoice document, without a browser PDF reader. */
.sales-paper{width:100%;max-width:900px;margin:16px auto;background:#fff;border:1px solid #d9e2ec;padding:clamp(16px,3vw,44px);color:#0a1728;font-size:13px;line-height:1.5;overflow-wrap:break-word;word-break:normal}
.sales-paper-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:24px;margin-bottom:24px}.sales-paper-header img{display:block;width:150px;max-width:100%;height:auto;margin-bottom:14px}.sales-paper-header b{display:block}.sales-paper-header>div{min-width:0}.sales-paper-title{text-align:right}.sales-paper-title h2{font-size:clamp(17px,2vw,24px);line-height:1.25;margin:0 0 12px}.sales-paper-title strong{display:block;color:#0b5fff;font-size:16px}.sales-paper-title small{display:block;margin-top:8px;color:#667085}
.sales-paper-parties,.sales-paper-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0}.sales-paper-box{border:1px solid #d9e2ec;border-radius:12px;padding:16px;min-width:0;height:auto}.sales-paper h3{font-size:10px;color:#0b5fff;margin:0 0 12px;letter-spacing:.03em}.sales-paper-box>strong{display:block;margin-bottom:6px;font-size:14px}.sales-paper-dates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px;background:#f5f8fc;border-radius:10px;margin:24px 0}.sales-paper-dates span,.sales-paper-dates b{display:block}.sales-paper-dates span{font-size:9px;color:#667085;margin-bottom:6px}
.sales-paper-item{margin:20px 0}.sales-paper-item-head,.sales-paper-item-values{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(0,1fr) minmax(0,.6fr) minmax(0,1.1fr);gap:10px;padding:14px}.sales-paper-item-head{background:#0a1728;color:#fff;border-radius:9px;font-size:9px;font-weight:800}.sales-paper-item-values{font-size:12px;align-items:start}.sales-paper-item-values>*{min-width:0}.sales-paper-item-values small{display:block}.sales-paper-item-head>span:not(:first-child),.sales-paper-item-values>b{text-align:right}
.sales-paper-route{display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between;font-size:11px;margin:16px 0}.sales-paper-route b{color:#0b5fff}.sales-paper-refs{color:#667085;font-size:11px}.sales-paper-fx{background:#eef4ff}.sales-paper-totals{text-align:right}.sales-paper-totals>strong{margin:10px 0;font-size:18px}.sales-paper-payment-title{margin-top:24px!important;color:#0a1728!important}.sales-paper-bank>div{display:grid;grid-template-columns:55px minmax(0,1fr);gap:12px;margin:8px 0}.sales-paper-bank b{color:#0b5fff}.sales-paper-ksef{text-align:center;margin-top:26px;font-size:11px;overflow-wrap:anywhere}.sales-paper-ksef img{display:block;width:130px;max-width:100%;height:auto;margin:0 auto 10px}.sales-paper-ksef strong{display:block}.sales-paper-correction{padding:16px;border-top:1px solid #d9e2ec;margin-bottom:18px}.sales-paper-correction>b{color:#067647}
@media(max-width:700px){.sales-paper-header,.sales-paper-parties,.sales-paper-summary{grid-template-columns:1fr;gap:14px}.sales-paper-title{text-align:left}.sales-paper-dates{grid-template-columns:1fr}.sales-paper-item-head{display:none}.sales-paper-item-values{grid-template-columns:1fr;padding:12px 0}.sales-paper-item-values>b{text-align:left}.sales-paper-item-values>b:nth-child(2)::before{content:'Netto: '}.sales-paper-item-values>b:nth-child(3)::before{content:'VAT: '}.sales-paper-item-values>b:nth-child(4)::before{content:'Brutto: '}.sales-paper-totals{text-align:left}}

/* v4.1.31: balanced company registries, complete contacts and readable actions. */
#counterpartyRegistryTable,#carrierRegistryTable{width:100%;min-width:0;max-width:100%;table-layout:fixed;font-size:14px}
#counterpartyRegistryTable th,#counterpartyRegistryTable td,#carrierRegistryTable th,#carrierRegistryTable td{min-width:0;white-space:normal;word-break:normal;overflow-wrap:break-word;height:auto;vertical-align:top;padding:12px 10px}
#counterpartyRegistryTable th,#carrierRegistryTable th{font-size:11px}
#counterpartyRegistryTable th:nth-child(1){width:25%}#counterpartyRegistryTable th:nth-child(2){width:9%}#counterpartyRegistryTable th:nth-child(3){width:16%}#counterpartyRegistryTable th:nth-child(4){width:19%}#counterpartyRegistryTable th:nth-child(5){width:8%}#counterpartyRegistryTable th:nth-child(6){width:13%}#counterpartyRegistryTable th:nth-child(7){width:10%}
#carrierRegistryTable th:nth-child(1){width:19%}#carrierRegistryTable th:nth-child(2){width:17%}#carrierRegistryTable th:nth-child(3){width:18%}#carrierRegistryTable th:nth-child(4){width:18%}#carrierRegistryTable th:nth-child(5){width:9%}#carrierRegistryTable th:nth-child(6){width:11%}#carrierRegistryTable th:nth-child(7){width:8%}
#counterpartyRegistryTable td *,#carrierRegistryTable td *{max-width:100%;word-break:normal;white-space:normal;overflow-wrap:break-word}
#counterpartyRegistryTable td:last-child .btn,#carrierRegistryTable td:last-child .btn{white-space:nowrap;overflow-wrap:normal;word-break:normal;width:auto;min-width:84px;max-width:none;margin:0 0 6px}
#counterpartyRegistryTable .cp-symbol{font-size:11px;overflow-wrap:anywhere}
#carrierRegistryTable td:nth-child(6),#counterpartyRegistryTable td:nth-child(4),#counterpartyRegistryTable td:nth-child(6){overflow-wrap:anywhere}
#carrierRegistryTable .compact-pills{display:flex;flex-wrap:wrap;gap:5px;max-width:100%;height:auto}
@container tms-table (max-width:1399px){
  #counterpartyRegistryTable.responsive-table,#carrierRegistryTable.responsive-table{display:block;width:100%;min-width:0;max-width:100%;table-layout:auto}
  #counterpartyRegistryTable.responsive-table thead,#carrierRegistryTable.responsive-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  #counterpartyRegistryTable.responsive-table tbody,#carrierRegistryTable.responsive-table tbody{display:block;width:100%}
  #counterpartyRegistryTable.responsive-table tr,#carrierRegistryTable.responsive-table tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 20px;border-bottom:1px solid var(--line);padding:18px 0;min-height:0;height:auto;align-items:start}
  #counterpartyRegistryTable.responsive-table td,#carrierRegistryTable.responsive-table td{display:block;width:auto;min-width:0;max-width:100%;border:0;padding:0;height:auto;overflow:visible}
  #counterpartyRegistryTable.responsive-table td::before,#carrierRegistryTable.responsive-table td::before{content:attr(data-label);display:block;font-size:10px;font-weight:800;color:var(--muted);margin-bottom:6px}
  #counterpartyRegistryTable.responsive-table td:first-child,#carrierRegistryTable.responsive-table td:first-child{grid-column:1/-1}
  #counterpartyRegistryTable.responsive-table td:first-child>b,#carrierRegistryTable.responsive-table td:first-child>b{font-size:16px}
  #counterpartyRegistryTable.responsive-table td:last-child,#carrierRegistryTable.responsive-table td:last-child{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap;align-items:center}
  #counterpartyRegistryTable.responsive-table td:last-child::before,#carrierRegistryTable.responsive-table td:last-child::before{content:'AKCJE';margin:0 8px 0 0}
}
@container tms-table (max-width:800px){
  #counterpartyRegistryTable.responsive-table tr,#carrierRegistryTable.responsive-table tr{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container tms-table (max-width:520px){
  #counterpartyRegistryTable.responsive-table tr,#carrierRegistryTable.responsive-table tr{grid-template-columns:minmax(0,1fr)}
}
