/* Frachtbörse, carrier portal. Appearance only; markup, data and buttons stay as they are.
   Scoped to the logged-in carrier shell, so the public exchange is not affected. Rollback: remove this one stylesheet tag. */

/* ---------- Dialogs, all window sizes: light like the page, every text readable ---------- */
body.lf-an-boerse-shell.lfp-exchange .lf-modal{background:#fff!important;background-image:none!important;color:#14281F!important;border:1px solid #DCE5DF!important;box-shadow:0 18px 50px #0b2a1e40!important}
body.lf-an-boerse-shell.lfp-exchange .lf-modal *{border-color:#DCE5DF}
body.lf-an-boerse-shell.lfp-exchange .lf-modal :is(h1,h2,h3,h4,h5,p,span,div,b,strong,em,label,dd,li,td,th,summary,a):not([style*="color"]):not(.lf-btn):not(.lf-btn *):not(.lf-warn):not(.lf-warn *):not(.lf-ch):not(.lf-ch *){color:#14281F!important}
body.lf-an-boerse-shell.lfp-exchange .lf-modal :is(small,dt,.lf-mu,.lf-sub,.lf-sub2,.lf-lab,label):not([style*="color"]):not(.lf-btn):not(.lf-btn *):not(.lf-warn):not(.lf-warn *):not(.lf-ch):not(.lf-ch *){color:#4A5F54!important}
body.lf-an-boerse-shell.lfp-exchange .lf-modal .lf-warn{background:#FFF6DA!important;border:1px solid #E9B90C!important;color:#4A3A00!important}
body.lf-an-boerse-shell.lfp-exchange .lf-modal .lf-warn *{color:#4A3A00!important}
body.lf-an-boerse-shell.lfp-exchange .lf-modal :is(input:not([type=checkbox]):not([type=radio]),select,textarea,.lf-in){background:#fff!important;color:#14281F!important;border:1px solid #BCCCC3!important}
body.lf-an-boerse-shell.lfp-exchange .lf-modal :is(input,textarea)::placeholder{color:#5A6E64!important;opacity:1}
body.lf-an-boerse-shell.lfp-exchange .lf-modal div[class]:not(.lf-warn):not(.lf-btn):not(.lf-modal){background-color:transparent}
body.lf-an-boerse-shell.lfp-exchange .lf-modal .lf-btn.o{background:#F3F7F4!important;color:#14281F!important;border:1px solid #BCCCC3!important}
body.lf-an-boerse-shell.lfp-exchange .lf-modal .lf-btn.o *{color:#14281F!important}
/* Same green dialog header as the other portal pages */
html body.lf-an-boerse-shell.lfp-exchange .lf-modal>.lf-ch{background:linear-gradient(90deg,#07462F,#0A5A3C)!important;border-bottom:0!important}
html body.lf-an-boerse-shell.lfp-exchange .lf-modal>.lf-ch :is(h1,h2,h3,h4,p,span,div,b,strong,small):not(.lf-btn):not(.lf-btn *){color:#fff!important}

/* Fixed lanes and own tours, carrier portal: this small label was pale green on white */
html body.lf-an2-shell .lf-modal .lf-earn small{color:#4A5F54!important}

@media (min-width:1280px){
/* ---------- Side menu ---------- */
html:root body.lf-an-boerse-shell.lfp-exchange #lf-an-boerse-nav{scrollbar-width:thin;scrollbar-color:#3B8566 transparent}

/* ---------- Heading block: one compact block instead of a large banner ---------- */
html:root body.lf-an-boerse-shell.lfp-exchange #root .lf-hero2{display:flex!important;flex-wrap:wrap!important;align-items:baseline!important;align-content:flex-start!important;gap:4px 12px!important;height:auto!important;max-height:none!important;min-height:0!important;margin:0!important;padding:0 2px 12px!important;background:none!important;border:0!important;box-shadow:none!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root .lf-hero2::before{display:none!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root .lf-hero2 h1{font-size:26px!important;line-height:1.15!important;margin:0!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root .lf-hero2 h3{font-size:14px!important;font-weight:500!important;margin:0!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root .lf-hero2 ul{flex:1 1 100%;gap:4px 18px!important;margin:2px 0 0!important}

/* ---------- Search form: aligned edges, no inner scrollbar, nothing cut off ---------- */
html:root body.lf-an-boerse-shell.lfp-exchange #root form.lf-sx{padding:12px 14px!important;margin:0!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root form.lf-sx .lf320-search{margin:0 0 10px!important;border-radius:8px!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root form.lf-sx .lf320-search summary{padding:8px 12px!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root .lf-sx-tabs{display:flex!important;flex-wrap:wrap!important;gap:6px!important;overflow:visible!important;height:auto!important;margin:0 0 8px!important;padding:0!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root .lf-sx-tabs>:is(a,button){display:inline-flex!important;align-items:center!important;gap:6px!important;min-height:34px!important;height:34px!important;padding:0 8px!important;font-size:12.5px!important;white-space:nowrap!important;border-radius:8px!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root .lf-sx-tabs>:is(a,button) :is(a,button){min-height:0!important;height:auto!important;padding:0!important;font-size:inherit!important;background:none!important;border:0!important;box-shadow:none!important;display:inline-flex!important;align-items:center!important;gap:6px!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root .lf-sx-r1{grid-template-columns:minmax(0,1.5fr) 34px minmax(0,1.5fr) minmax(92px,.7fr) minmax(128px,.8fr) minmax(104px,.7fr) max-content!important;gap:6px!important;margin-top:0!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root .lf-sx-more{white-space:nowrap!important;padding:0 10px!important;gap:6px!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root form.lf-sx :is(.lf-sx-r1,.lf-sx-r2) input{text-overflow:ellipsis!important;font-size:13.5px!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root form.lf-sx :is(.lf-sx-r1,.lf-sx-r2) input::placeholder{text-overflow:ellipsis;font-size:13px}

/* ---------- List header: title and filter on one line, live controls on the next ---------- */
html:root body.lf-an-boerse-shell.lfp-exchange #root .lf-lh{align-items:center!important;gap:8px 12px!important;padding:14px 0 10px!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root .lf-lh .lf322-count{flex:1 1 auto!important;font-size:12.5px!important;color:#4A5F54!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root .lf-lh .lf322-sample-filter select{min-height:36px!important;height:36px!important;padding-top:0!important;padding-bottom:0!important;line-height:normal!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root .lf-lh>.lf-bd{background:#DDF3E7!important;color:#07553A!important;border:1px solid #A9DCC1!important}

/* ---------- Table ---------- */
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2{border-collapse:separate!important;border-spacing:0!important;width:100%!important;font-variant-numeric:tabular-nums}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 thead th{padding:11px 14px!important;font-size:12px!important;font-weight:700!important;letter-spacing:.02em;white-space:nowrap;color:#3E5449!important;background:#F3F7F4!important;border-bottom:1px solid #DCE5DF!important;box-shadow:none!important;filter:none!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 tbody td{padding:12px 14px!important;vertical-align:middle!important;border-bottom:1px solid #E6ECE8!important;font-size:14px;line-height:1.35}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 tbody tr:hover>td{background:#F5F9F6!important}

/* Marker column: dot and star on one centre line */
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.lf-hide2{width:38px!important;padding-right:0!important;text-align:center!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.lf-hide2 .lf-ldot{display:block!important;margin:0 auto 7px!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.lf-hide2 .lf-fav{display:block!important;margin:0 auto!important}

/* Route: from and to on their own lines; labels in a fixed place beside them, the info line below stays free */
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.c-route{width:100%;max-width:0;min-width:0!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.c-route .lf-rt{position:relative!important;display:grid!important;grid-template-columns:18px minmax(0,1fr)!important;align-items:center!important;gap:2px 8px!important;padding-right:66px!important;font-size:14.5px;line-height:1.3}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.c-route:has(>.lf322-sample) .lf-rt{padding-right:0!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.c-route .lf-rt>.lf-mu{display:none!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.c-route .lf-rt>b{font-weight:700!important;color:#14281F;overflow-wrap:anywhere}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.c-route .lf-sub2{margin-top:5px!important;font-size:12.5px!important;white-space:normal!important;color:#5A6E64!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.c-route .lf-rt>.lf-bd,
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.c-route>.lf322-sample{width:58px;box-sizing:border-box;text-align:center;display:block!important;padding:2px 0!important;border-radius:5px!important;font-size:10.5px!important;line-height:14px!important;font-weight:700!important;letter-spacing:.03em}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.c-route .lf-rt>.lf-bd{position:absolute!important;top:1px!important;right:0!important;margin:0!important;background:#DDF3E7!important;color:#07553A!important;border:1px solid #A9DCC1!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.c-route:has(>.lf322-sample) .lf-rt>.lf-bd{right:-66px!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.c-route>.lf322-sample{float:right!important;position:static!important;margin:23px 0 -6px 8px!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.c-route:has(>.lf328-expired)>.lf322-sample{margin-top:42px!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.c-route>.lf328-expired{display:block!important;margin:0 0 3px!important}

/* Shipper, distance, loading metres */
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.lf319-company-cell{width:150px;min-width:118px}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.lf319-company-cell .lf319-shipper-name{font-size:13.5px!important;font-weight:600!important;line-height:1.3!important;color:#24382E!important;word-break:normal!important;overflow-wrap:break-word!important;hyphens:none!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.c-km,
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.c-ldm318{white-space:nowrap!important;width:1%}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.c-km b{font-weight:600!important;color:#14281F}

/* Price: total, per km and payment term in one right-aligned block */
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.c-price{white-space:nowrap!important;width:1%;padding-right:18px!important;text-align:right!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.c-price .lf-pr2{display:block!important;margin:0!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.c-price .lf-pr2>b{display:block!important;font-size:17px!important;line-height:1.25!important;font-weight:800!important;color:#14281F!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.c-price .lf-pr2>span{display:block!important;margin-top:2px!important;font-size:13px!important;font-weight:600!important;line-height:1.3!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.c-price .lf-sub2{margin-top:2px!important;font-size:12px!important;color:#5A6E64!important}

/* Actions: same button width in every row, so the chat buttons form one column */
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.c-act{width:1%;white-space:nowrap!important;padding-left:12px!important;box-shadow:none!important;border-left:1px solid #E6ECE8}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.c-act .lf-actw{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.c-act .lf-actw>.lf-btn:not(.lf-chatbtn){width:112px!important;min-width:112px!important;height:40px!important;min-height:40px!important;padding:0 10px!important;font-size:14px!important;justify-content:center!important;text-align:center!important;border-radius:8px!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.c-act .lf-actw>.lf-chatbtn{flex:0 0 40px!important;width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:8px!important}
}
@media (min-width:1280px) and (max-width:1750px){
/* Narrow filter fields: drop only the small decorative icon so the chosen value stays readable */
html:root body.lf-an-boerse-shell.lfp-exchange #root .lf-sx-r2 svg{display:none!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root .lf-sx-r2{grid-template-columns:repeat(7,minmax(0,1fr)) minmax(0,1.3fr)!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root form.lf-sx .lf-sx-r2 select{width:100%!important;padding:0 16px 0 5px!important;font-size:12.5px!important}
}
@media (min-width:1280px) and (max-width:1500px){
/* Small laptop screens: tighter cells so the route keeps a usable width */
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 thead th{padding:10px 8px!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 tbody td{padding:10px 8px!important;font-size:13px}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.lf-hide2{width:30px!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.lf319-company-cell{width:104px;min-width:100px}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.lf319-company-cell .lf319-shipper-name{font-size:12.5px!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.c-price .lf-pr2>b{font-size:15px!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.c-act .lf-actw{gap:6px!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.c-act .lf-actw>.lf-btn:not(.lf-chatbtn){width:88px!important;min-width:88px!important;font-size:13px!important;padding:0 4px!important}
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 td.c-act .lf-actw>.lf-chatbtn{flex-basis:36px!important;width:36px!important;min-width:36px!important}
}
@media (min-width:1280px) and (max-width:1340px){
/* Smallest laptop width: loading metres stay available in the opened row details, the route keeps its room */
html:root body.lf-an-boerse-shell.lfp-exchange #root table.lf-btab2 :is(th.c-ldm328,td.c-ldm318){display:none!important}
}
