/* KB2A FREIGHT : navigation et tableau de bord issus des références validées. */
.kb-freight-app{--freight-navy:#09213d;--freight-blue:#0864c6;--freight-gold:#dfb454;margin:0;background:#f1f5fa;color:#102647;font-family:Inter,Arial,sans-serif;overflow-wrap:anywhere}.kb-freight-app *{box-sizing:border-box}.kb-freight-header{display:flex;align-items:center;gap:22px;background:var(--freight-navy);color:white;padding:14px 22px;min-height:78px;position:relative;z-index:30}.kb-freight-brand{color:white;text-decoration:none;font-size:22px;font-weight:900;letter-spacing:-.7px;flex-shrink:0}.kb-freight-brand strong{color:#f2c764}.kb-freight-brand small{display:block;font-size:8px;letter-spacing:2px;margin-top:4px;font-weight:500}.kb-freight-topnav{display:flex;gap:8px;flex:1;min-width:0}.kb-freight-topnav a{display:flex;align-items:center;min-height:44px;color:#e0e8f3;text-decoration:none;font-size:13px;padding:10px 12px;border-bottom:2px solid transparent}.kb-freight-topnav a[aria-current]{color:#fff;border-bottom-color:var(--freight-gold)}.kb-freight-account{font-size:12px;max-width:180px;overflow-wrap:anywhere}.kb-freight-menu{position:relative;flex-shrink:0}.kb-freight-menu summary{cursor:pointer;min-height:44px;padding:12px;border:1px solid #8b9cb2;border-radius:8px;font-size:12px}.kb-freight-menu nav{position:absolute;right:0;top:100%;background:var(--freight-navy);border:1px solid #7387a0;border-radius:9px;width:min(280px,85vw);padding:10px;box-shadow:0 8px 30px #00132944}.kb-freight-menu a{display:block;color:#fff;text-decoration:none;padding:12px;border-radius:6px;font-size:14px}.kb-freight-menu a[aria-current]{background:#18549a}.kb-freight-shell{display:grid;grid-template-columns:210px minmax(0,1fr);min-height:calc(100vh - 78px)}.kb-freight-app .layout{display:grid;grid-template-columns:210px minmax(0,1fr) 330px;min-height:calc(100vh - 78px)}.kb-freight-sidebar{background:var(--freight-navy);color:#fff;position:relative;min-width:0;display:flex;flex-direction:column;padding:14px 12px}.kb-freight-sidebar nav{display:flex;flex-direction:column;gap:4px}.kb-freight-sidebar a{display:flex;align-items:center;min-height:44px;padding:11px 12px;border-radius:7px;text-decoration:none;color:#dce6f4;font-size:13px}.kb-freight-sidebar a[aria-current]{background:#125bb4;color:#fff;box-shadow:inset 3px 0 var(--freight-gold)}.kb-freight-signature{margin-top:auto;padding:35px 12px 16px;color:#f2c764;font-size:16px;font-weight:800}.kb-freight-signature small{color:#c7d3e1;font-size:11px}.kb-freight-app .wrap{width:100%;max-width:1100px;margin:0 auto;padding:22px;min-width:0}.kb-freight-app h1{font-size:26px;line-height:1.25;margin-top:0}.kb-freight-app .main{padding:20px;min-width:0}.kb-freight-app .fg{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.kb-freight-app .fg input,.kb-freight-app .fg select{display:block;width:100%;margin-top:6px;padding:10px;border:1px solid #cbd6e4;border-radius:7px;min-height:42px;background:white;font:inherit;font-size:13px}.kb-freight-app .filters label{font-size:12px}.kb-freight-app .actions{flex-wrap:wrap}.kb-freight-app .btn{min-height:42px;line-height:1.3;display:inline-flex;align-items:center;justify-content:center;text-align:center;white-space:normal;max-width:100%;font-size:12px;overflow-wrap:anywhere}.kb-market-tabs{display:flex;gap:9px;margin:16px 0;flex-wrap:wrap}.kb-market-tabs a{background:#fff;border:1px solid #d6e0ec;border-radius:8px;text-decoration:none;padding:11px;color:#304c70;font-size:12px;display:flex;gap:8px;align-items:center}.kb-market-tabs a[aria-current]{background:#e4efff;color:#064b9d;border-color:#8ab7ee}.kb-market-tabs b{background:#0a60bf;border-radius:14px;color:#fff;padding:2px 6px}.kb-freight-app .tablebox{overflow:visible}.kb-freight-app .offers{display:block;min-width:0;width:100%;font-size:12px;border:0}.kb-freight-app .offers thead{display:none}.kb-freight-app .offers tbody{display:block}.kb-freight-app .offers tr{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;background:#fff;border:1px solid #d8e2ee;border-radius:11px;padding:14px;margin-bottom:12px}.kb-freight-app .offers tr.sel{border:1px solid #2476ce;box-shadow:0 0 0 1px #2476ce22}.kb-freight-app .offers td,.kb-freight-app .offers td:first-child,.kb-freight-app .offers td:last-child{border:0;border-radius:0;background:transparent!important;padding:0;min-width:0;overflow-wrap:anywhere;font-size:12px;line-height:1.5}.kb-freight-app .offers .ref{grid-column:1/-1;color:#0755ac;font-size:14px}.kb-freight-app .offers .route{grid-column:span 2;font-size:14px}.kb-freight-app .offers td:last-child{grid-column:span 2}.kb-freight-app .offers td[colspan]{grid-column:1/-1}.kb-cell-label{display:block;font-size:10px;font-weight:600;color:#5c6f85;line-height:1.4;margin-bottom:4px}.kb-freight-app .offers .ref .kb-cell-label{display:none}.kb-freight-app .offers .price{font-size:15px;color:#17633e}.kb-freight-app .rowbuttons{display:flex;gap:7px;flex-wrap:wrap}.kb-freight-app .detail{display:block;position:relative;top:auto;height:auto;min-width:0;overflow:visible;background:white;border-left:1px solid #d7e1ed;scroll-margin-top:15px}.kb-freight-app .dhead{background:#fff;color:#102647;border-bottom:1px solid #dce5f0;font-size:15px;gap:10px}.kb-freight-app .dhead span:last-child{color:#287044;font-size:11px}.kb-route-summary{display:flex;flex-direction:column;gap:18px;border:1px solid #dce5f0;background:#f2f6fb;padding:15px;border-radius:9px;font-size:13px;position:relative}.kb-route-origin,.kb-route-destination{display:block;position:static;background:none;box-shadow:none}.kb-freight-app .pricebox{gap:12px;flex-wrap:wrap}.kb-freight-app .pricebox strong{font-size:20px}.kb-inline-chat{border-top:1px solid #dbe4ef;margin-top:18px;padding-top:14px}.kb-inline-chat h3{font-size:15px}.kb-chat-bubble{padding:10px;border:1px solid #dce4ef;background:#f2f5f9;border-radius:9px;margin:8px 0;font-size:12px}.kb-chat-bubble p{margin:5px 0;white-space:normal;overflow-wrap:anywhere}.kb-chat-bubble small{font-size:10px;color:#5f7189}.kb-chat-me{background:#e8f4ec;border-color:#c9dfd2}.kb-inline-chat label{font-size:12px}.kb-inline-chat textarea{display:block;width:100%;min-height:80px;resize:vertical;padding:10px;border:1px solid #b7c7db;border-radius:8px;font:inherit;font-size:14px;margin:7px 0}.kb-freight-app .bubble{max-width:90%;overflow-wrap:anywhere}.kb-freight-app .composer textarea{min-width:0;box-sizing:border-box}.kb-freight-app a:focus-visible,.kb-freight-app button:focus-visible,.kb-freight-app summary:focus-visible{outline:3px solid #b57c14;outline-offset:3px}.kb-freight-app .mobile-nav{display:none}.kb-freight-app .comment{box-sizing:border-box}
@media(max-width:1200px){.kb-freight-app .layout{grid-template-columns:180px minmax(0,1fr)}.kb-freight-app .detail{grid-column:2;border:1px solid #dce5f0;margin:0 20px 20px;border-radius:10px}.kb-freight-sidebar{grid-row:1/span 2}.kb-freight-shell{grid-template-columns:180px minmax(0,1fr)}.kb-freight-topnav{gap:0}.kb-freight-account{max-width:120px}.kb-freight-header{gap:12px;padding:12px 18px}}
@media(max-width:800px){.kb-freight-topnav,.kb-freight-account,.kb-freight-sidebar{display:none}.kb-freight-header{justify-content:space-between;padding:12px 14px;min-height:74px}.kb-freight-brand{font-size:21px}.kb-freight-shell,.kb-freight-app .layout{display:block}.kb-freight-app .main,.kb-freight-app .wrap{padding:16px 12px 24px;max-width:100%;margin:0}.kb-freight-app .main h1{font-size:23px;clear:both;padding-top:15px}.kb-freight-app .fg{grid-template-columns:repeat(2,minmax(0,1fr))}.kb-freight-app .detail{margin:0 12px 90px;display:block}.kb-freight-app .offers tr{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:13px}.kb-freight-app .offers .route{grid-column:1/-1}.kb-freight-app .offers td:last-child{grid-column:1/-1}.kb-freight-app .offers td[colspan]{grid-column:1/-1}.kb-freight-app .mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:40;background:#fff;border-top:1px solid #d8e2ed;padding:10px 6px calc(10px + env(safe-area-inset-bottom));gap:4px}.kb-freight-app .mobile-nav a{flex:1;min-width:0;text-align:center;font-size:10px;overflow-wrap:anywhere;color:#344e6d;font-weight:600}.kb-freight-app .mobile-nav a.active{color:#0759b4}.kb-freight-app .fg input,.kb-freight-app .fg select{min-width:0;font-size:16px}.kb-freight-app .offers .ref{font-size:14px}.kb-freight-app .info{font-size:12px}.kb-freight-app .tabs a{max-width:100%;font-size:12px}.kb-freight-app .dhead{flex-wrap:wrap}.kb-freight-app .card h2{font-size:21px}.kb-freight-menu summary{font-size:12px}.kb-freight-app .card{padding:14px}}
/* Partner login: real inputs on a light card, matching the approved navy/gold reference. */
.kb-freight-login{background:linear-gradient(180deg,#031d3de0,#031d3d77),url('kb2a-transport-background-v22.png') center/cover fixed no-repeat}.kb-freight-login .page{max-width:940px}.kb-freight-login .top{margin-bottom:24px}.kb-freight-login .brand h1 span{color:#efc36b}.kb-freight-login .layout{display:flex;flex-direction:column;gap:26px;align-items:stretch}.kb-freight-login .card{background:rgba(255,255,255,.97);color:#0b2444;border:1px solid #e2e7ed;border-radius:22px;padding:32px;max-width:620px;width:100%;align-self:center;backdrop-filter:none}.kb-freight-login .card h2{font-size:32px}.kb-freight-login .intro{color:#5c6d82;font-size:16px}.kb-freight-login .field input{background:#fff;border:1px solid #cbd6e3;color:#0a2543;border-radius:12px;height:56px}.kb-freight-login .field input::placeholder{color:#637286}.kb-freight-login .ico,.kb-freight-login .eye{color:#102b4d}.kb-freight-login .btn{height:54px;background:#075bb9;border-radius:11px;box-shadow:none;font-size:17px}.kb-freight-login .options{color:#273c57;line-height:1.4}.kb-freight-login .options a{color:#075bb9;text-decoration:underline}.kb-freight-login .sep{color:#596e85}.kb-freight-login .sep:before,.kb-freight-login .sep:after{background:#cbd6e3}.kb-freight-login .join{color:#0b4f97;border:1px solid #a9c4e2;background:#eef5fd;border-radius:10px}.kb-freight-login .err{background:#fdebed;border:1px solid #e3bbc1;color:#8b2031}.kb-freight-login .side{padding:0}.kb-freight-login .side .slogan{display:none}.kb-freight-login .features{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.kb-freight-login .feature{background:#06203bbf;border:1px solid #cfb47b66;padding:16px 12px;display:flex;gap:10px}.kb-freight-login .feature b{color:#f0c66d}.kb-freight-login .feature span{font-size:11px;line-height:1.4}.kb-freight-login .footer{color:#e0e8f2}
@media(max-width:760px){.kb-freight-login{padding:22px 14px}.kb-freight-login .card{padding:25px 20px}.kb-freight-login .card h2{font-size:clamp(25px,7vw,31px)}.kb-freight-login .features{grid-template-columns:repeat(2,minmax(0,1fr))}.kb-freight-login .brand h1{font-size:38px}.kb-freight-login .options{font-size:12px;gap:10px}.kb-freight-login .top{gap:10px}.kb-freight-login .feature{padding:13px 10px}}

@media(max-width:360px){.kb-freight-login .brand h1{font-size:29px}.kb-freight-login .brand p{font-size:9px;letter-spacing:1px}.kb-freight-login .lang{font-size:12px;padding:8px;min-width:0}.kb-freight-login .options label{flex-basis:100%}.kb-freight-login .options a{max-width:100%;overflow-wrap:anywhere}.kb-freight-login .feature span{font-size:10px}.kb-freight-login .field input{font-size:15px;padding-left:40px;padding-right:40px}.kb-freight-login .eye{right:10px}}
.kb-freight-login .feature span{min-width:0;overflow-wrap:anywhere;hyphens:auto}

.kb-freight-login .ico svg{width:22px;height:22px;display:block}.kb-freight-login .feature b svg{width:27px;height:27px;display:block}.kb-freight-login .feature b{flex-shrink:0}.kb-freight-login .eye{min-width:36px;min-height:36px;top:10px}.kb-freight-login .field .ico{top:17px}@media(max-width:760px){.kb-freight-login .feature span{font-size:10px}}
