:root{--md-primary:#174d36;--md-on-primary:#fff;--md-primary-container:#d5edda;--md-secondary-container:#e5efdd;--md-surface:#f7faef;--md-surface-container:#eef3e8;--md-outline:#b7c5b8;--md-outline-variant:#dce4d7;--md-on-surface:#193c2c;--md-shadow:0 2px 7px #163c2b0b,0 1px 2px #163c2b12;--md-shadow-raised:0 8px 28px #163c2b14;--md-radius:20px}
body{background:var(--md-surface);color:var(--md-on-surface)}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{transition:background-color .16s,box-shadow .16s,transform .16s}button:focus-visible,a:focus-visible{outline:3px solid #4b803d;outline-offset:3px}input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--md-primary);outline-offset:1px}.button{border-radius:999px;min-height:40px;padding:10px 20px;border-color:var(--md-outline);font-weight:600;letter-spacing:.05px;display:inline-flex;justify-content:center;align-items:center;gap:8px}.button.primary{background:var(--md-primary);color:var(--md-on-primary);border-color:transparent;box-shadow:var(--md-shadow)}.button.primary:hover{background:#236345;box-shadow:var(--md-shadow-raised)}.button.outline{background:transparent;color:var(--md-primary)}.button.small{min-height:36px;padding:8px 15px;font-size:12px}.button:disabled{opacity:.55;cursor:wait}.icon-button{border-radius:50%;min-width:44px;min-height:44px}.header{box-shadow:0 1px 0 var(--md-outline-variant);background:#f7faeff5;backdrop-filter:blur(16px);min-height:68px}.header nav button{border-radius:999px;padding:10px 16px}.header nav button.active{background:var(--md-primary-container);color:var(--md-primary)}.sidebar{background:var(--md-surface);border-right:0;padding-right:16px}.sidebar>button{border-radius:0 28px 28px 0;margin:3px 0;min-height:48px}.sidebar>button.active{background:var(--md-primary-container);color:var(--md-primary);font-weight:700}.side-label{letter-spacing:1.4px}.panel,.profile-card,.board-truck,.review-card,.profile-list-row,.article-card{border:1px solid var(--md-outline-variant);border-radius:var(--md-radius);background:#fff;box-shadow:var(--md-shadow)}.profile-card:hover,.article-card:hover{box-shadow:var(--md-shadow-raised)}.panel{padding:24px}.pill,.card-tags span{border-radius:999px}.field input,.field textarea,.field select,.board-search input,.board-search select{border-radius:10px;background:#f2f5ee;border:1px solid var(--md-outline);padding:13px 14px;min-height:48px}.field label{font-size:12px;letter-spacing:.1px}.modal{border-radius:28px;box-shadow:0 24px 80px #163c2b30}.modal-header{background:#f4f7ed;border-bottom-color:var(--md-outline-variant)}.modal-footer{border-top-color:var(--md-outline-variant)}.board-nav{gap:7px;border-bottom:0;flex-wrap:wrap}.board-nav button{border:1px solid var(--md-outline-variant);background:transparent;border-radius:999px;min-height:42px;padding:10px 16px}.board-nav button.active{background:var(--md-primary-container);color:var(--md-primary);border-color:transparent}.board-search{background:transparent;border:0;padding:16px 0;box-shadow:none}.board-table-wrap{border-radius:20px;border:1px solid var(--md-outline-variant);background:white;box-shadow:var(--md-shadow)}.board-table th{background:#edf3e7;color:#48614c}.board-table tr:hover td{background:#f5f9f0}.natural-search{margin:24px 0 14px;padding:24px;background:#edf3e7;box-shadow:none;border:0}.natural-search label{display:block;font-size:12px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase;margin-bottom:10px}.natural-search-row{display:flex;gap:12px}.natural-search-row input{flex:1;min-width:0;background:white;border:1px solid var(--md-outline);border-radius:999px;padding:16px 22px;font-size:16px;min-height:56px}.natural-search-row .button{padding-inline:26px;white-space:nowrap}.filter-chip{display:inline-flex;align-items:center;padding:7px 12px;margin:5px 5px 0 0;border:1px solid #aec6a9;border-radius:9px;background:#fff;font-size:12px;font-weight:600}.freight-filter-panel{background:#fff;border:1px solid var(--md-outline-variant);border-radius:16px;padding:16px 20px}.freight-filter-panel>summary{font-weight:700;cursor:pointer}.freight-view-toggle{display:flex;gap:8px;margin:18px 0}.freight-map-panel{background:#fff;border:1px solid var(--md-outline-variant);border-radius:24px;overflow:hidden;margin-bottom:22px;box-shadow:var(--md-shadow)}.freight-map{height:470px;width:100%;isolation:isolate;z-index:0}.freight-map-panel>p{padding:0 18px;font-size:12px;color:#526851}.freight-cluster{background:#174d36;color:#fff;border-radius:50%;border:3px solid #b7ed38;display:grid;place-items:center;box-shadow:var(--md-shadow-raised);font-size:14px;font-weight:800}.map-popup{font-family:'DM Sans',sans-serif;border-bottom:1px solid #dce4d7;padding:12px 0}.map-popup h3{margin:7px 0;font-size:16px}.map-popup p{margin:8px 0}.leaflet-popup-content{max-height:360px;overflow:auto}.leaflet-popup-content-wrapper{border-radius:18px}.leaflet-control-attribution{font-size:10px}.hub-hero{padding:34px;border-radius:28px;background:#174d36;color:#fff;margin-bottom:26px;position:relative;overflow:hidden}.hub-hero h1{color:#fff;font-size:clamp(30px,4vw,48px);margin:8px 0 12px;letter-spacing:-1.5px}.hub-hero p{max-width:650px;color:#dcebd7;line-height:1.7}.hub-hero .eyebrow{color:#b7ed38}.hub-hero .button{background:#b7ed38;color:#163b29;border:0}.hub-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:22px 0}.hub-tabs{display:flex;gap:7px;flex-wrap:wrap}.hub-tabs button{border:1px solid var(--md-outline);border-radius:999px;background:transparent;color:var(--md-primary);padding:9px 15px;cursor:pointer}.hub-tabs button.active{background:var(--md-primary);color:white}.article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.article-card{padding:24px;display:flex;flex-direction:column;gap:12px}.article-card h2{font-size:20px;line-height:1.3;margin:0}.article-card p{font-size:14px;line-height:1.7;color:#526851;margin:0}.article-card .inline-actions{margin-top:auto}.article-meta{font-size:11px;color:#61755f;line-height:1.6}.article-category{font-size:10px;text-transform:uppercase;letter-spacing:1.4px;font-weight:800;color:#356942}.article-reading{max-width:780px;margin:0 auto}.article-reading h1{font-size:clamp(28px,4vw,44px);letter-spacing:-1px}.article-body{font-size:16px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}.article-author{border-top:1px solid var(--md-outline-variant);padding-top:20px;margin-top:28px}.article-comment{padding:18px 0;border-bottom:1px solid var(--md-outline-variant)}.hub-status{padding:16px;border-radius:14px;background:#e8f0de;font-size:13px;line-height:1.6}.hub-table{width:100%;border-collapse:collapse}.hub-table th,.hub-table td{text-align:left;padding:14px 12px;border-bottom:1px solid #e1e8dd;font-size:13px;vertical-align:top}.hub-table th{color:#526851;font-size:11px;text-transform:uppercase;letter-spacing:1px}.assist-output{padding:18px;background:#eef4e7;border:1px solid #d2dfca;border-radius:16px;line-height:1.7;white-space:pre-wrap}.assist-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.setup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.policy-copy{max-width:780px;line-height:1.8}.notice-card{padding:20px;border-left:4px solid var(--md-primary);background:#eef4e7;border-radius:0 14px 14px 0;margin:16px 0}.hub-form{max-width:780px}.hub-form .field{margin-bottom:16px}.hub-form textarea{min-height:180px}.hub-form .article-editor{min-height:340px}.article-label{background:#e4efda;color:#174d36;border-radius:7px;padding:5px 8px;font-size:10px;font-weight:800;display:inline-block}.article-label.pending{background:#fff0c9;color:#71500b}.hub-empty{padding:40px 20px;border:1px dashed #b7c5b8;border-radius:20px;text-align:center;color:#526851}.material-recommendations{display:grid;gap:12px}.connection-suggestion{padding:18px;border:1px solid #dce4d7;border-radius:16px;background:#fff}.connection-suggestion h3{margin:0 0 6px}.connection-suggestion p{font-size:13px;color:#526851}.site-footer a{color:inherit}.operational-note{font-size:12px;color:#526851;line-height:1.7}.member-wrap .button{border-radius:999px}
@media(min-width:1300px){.freight-map{height:540px}}@media(max-width:1100px){.article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.header nav button{padding:9px 11px;font-size:12px}}@media(max-width:700px){.panel,.natural-search{padding:18px}.natural-search-row{flex-direction:column}.natural-search-row input{font-size:15px}.article-grid,.setup-grid{grid-template-columns:1fr}.hub-hero{padding:24px}.freight-map{height:390px}.freight-map-panel{border-radius:18px}.hub-table{display:block;overflow:auto}.hub-toolbar{align-items:stretch}.modal{border-radius:24px 24px 0 0}.board-title{gap:16px}.natural-search-row .button{min-height:48px}.article-card{padding:22px}.button{min-height:44px}.hub-tabs button{min-height:40px}.hub-form .article-editor{min-height:280px}}

/* Ordered pickup/delivery markers and forward-moving lane pulses. */
.freight-stop-icon{background:transparent;border:0;display:grid;place-items:center}
.freight-stop{box-sizing:border-box;display:grid;place-items:center;width:16px;height:16px;border:1.5px solid #fff;border-radius:50%;color:#fff;font:700 9px/1 system-ui;box-shadow:0 2px 5px #0005}
.freight-stop.pickup{background:#187342}
.freight-stop.delivery{background:#bd302c}
.freight-route-pulse{animation:freight-travel 2s linear infinite}
@keyframes freight-travel{from{stroke-dashoffset:24}to{stroke-dashoffset:0}}
@media(prefers-reduced-motion:reduce){.freight-route-pulse{animation:none}}

.board-search .board-search-main{grid-template-columns:repeat(3,minmax(0,1fr))}
.board-search .board-search-main>.field:first-child,.board-search .board-search-main>.field:nth-child(2){grid-column:auto}
.freight-filter-panel .board-search{margin:0}
@media(max-width:900px){.board-search .board-search-main{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.board-search .board-search-main{grid-template-columns:1fr}}

.freight-stop-icon,.freight-truck-icon,.freight-cluster{transition:opacity .16s ease}
.freight-route-base,.freight-route-pulse{transition:stroke-opacity .16s ease}
.freight-route-hit{cursor:pointer;pointer-events:stroke}
.freight-truck-icon{background:transparent;border:0}
.freight-truck-dot{display:block;width:24px;height:24px;background:#174d36;border:3px solid white;border-radius:50%;box-shadow:0 2px 5px #0005}
.freight-stop-icon:focus-visible,.freight-truck-icon:focus-visible,.freight-cluster:focus-visible{outline:3px solid #b6ee35;outline-offset:4px;border-radius:50%}
@media(prefers-reduced-motion:reduce){.freight-stop-icon,.freight-truck-icon,.freight-cluster,.freight-route-base,.freight-route-pulse{transition:none}}

.home-base-location{display:inline-flex;align-items:center;gap:4px;max-width:100%;vertical-align:middle}
.home-base-pin{width:14px;height:17px;fill:#c83232;flex:0 0 14px}
.home-base-location>span{overflow-wrap:anywhere}
.contract-submission{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,auto);gap:12px;padding:18px 0;border-bottom:1px solid var(--md-outline-variant)}
.contract-submission h3,.contract-submission p{margin:0 0 6px}.contract-submission small{color:var(--md-on-surface-variant)}
.contract-submission>.profile-text,.contract-submission>div:last-child{grid-column:1/-1}
@media(max-width:650px){.contract-submission{grid-template-columns:1fr}.contract-submission>.profile-text,.contract-submission>div:last-child{grid-column:auto}}

/* One composer for member chats, load inboxes, and shipment threads. */
.message-composer{display:grid;gap:12px;min-width:0;margin-top:22px;padding-top:20px;border-top:1px solid var(--md-outline-variant)}
.message-composer>label{font-size:14px;font-weight:600;color:var(--text)}
.message-composer textarea{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:132px;max-height:360px;padding:16px;border:1px solid var(--md-outline);border-radius:16px;background:var(--md-surface);color:var(--text);font:inherit;font-size:16px;line-height:1.6;resize:vertical;transition:border-color .16s,box-shadow .16s}
.message-composer textarea::placeholder{color:var(--muted);opacity:1}
.message-composer textarea:focus-visible{border-color:var(--md-primary);outline:2px solid var(--md-primary);outline-offset:2px}
.message-composer-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.message-composer-hint{margin:0;color:var(--muted);font-size:12px;line-height:1.5}
.message-composer-footer .button{min-height:44px;flex-shrink:0;margin-left:auto}
.message-composer .error{margin:0}
.message-composer .error:empty{display:none}
@media(max-width:560px){.message-composer textarea{min-height:120px;padding:14px}.message-composer-footer{align-items:stretch}.message-composer-hint{flex-basis:100%}.message-composer-footer .button{width:100%;margin:0}}

.board-return-bar{margin-bottom:16px}
.leaflet-tooltip.freight-hover-tooltip{white-space:normal;min-width:245px;max-width:320px;padding:15px 17px;border:1px solid #d4dfce;border-radius:14px;background:#fff;color:#173a29;box-shadow:0 5px 22px #102d2930}
.freight-hover-summary>b{font-size:10px;letter-spacing:1px;color:#527448}
.freight-hover-summary dl{margin:10px 0;display:grid;gap:6px}
.freight-hover-summary dl>div{display:grid;grid-template-columns:88px minmax(0,1fr);gap:8px}
.freight-hover-summary dt{font-size:11px;color:#64735d}.freight-hover-summary dd{margin:0;font-size:12px;font-weight:600;overflow-wrap:anywhere}
.freight-hover-summary small{font-size:10px;color:#64735d}
@media(max-width:650px){.leaflet-tooltip.freight-hover-tooltip{min-width:210px;max-width:260px;padding:12px}.freight-hover-summary dl>div{grid-template-columns:75px minmax(0,1fr)}}

/* Compact load details: essentials and broker contact stay together. */
.compact-load{max-width:1200px;margin:0 auto}
.load-detail-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:14px}
.load-detail-status{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:11px;color:#61735f}
.load-detail-heading h1{font:800 clamp(20px,2.1vw,28px)/1.3 Manrope;margin:8px 0 0;letter-spacing:-.025em}
.load-detail-heading h1>span{color:#77916d}
.load-detail-price{display:flex;flex-direction:column;gap:4px;text-align:right;flex-shrink:0}
.load-detail-price strong{font:800 29px/1.1 Manrope;color:#174d36}.load-detail-price>span{font-size:12px;color:#60715d}
.load-primary-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:16px}
.load-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start}
.load-detail-main{min-width:0}.compact-load .panel{padding:18px;margin-bottom:12px}
.load-schedule{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;padding-bottom:16px;border-bottom:1px solid #dbe5d4}
.load-schedule.multi-stop{grid-template-columns:1fr;gap:12px}
.load-stop{display:flex;gap:9px;align-items:start;min-width:0}.load-stop>div{min-width:0}
.load-stop-number{display:grid;place-items:center;flex:0 0 22px;height:22px;border-radius:50%;background:#e6f3e8;color:#187342;font-size:11px;font-weight:700;margin-top:2px}
.load-stop.delivery .load-stop-number{background:#ffeded;color:#bd302c}
.load-stop h2{font-size:15px;margin:3px 0 5px}.load-stop p{font-size:12px;margin:4px 0;line-height:1.45}
.load-stop small{font-size:10px;color:#687660}.load-stop>div>small:first-child{font-weight:700;text-transform:uppercase;letter-spacing:.7px}
.load-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 16px;margin:17px 0 0}
.load-facts dt{font-size:10px;color:#687660;margin-bottom:5px}.load-facts dd{margin:0;font-size:13px;font-weight:600;overflow-wrap:anywhere;line-height:1.4}
.load-notes{border-top:1px solid #dbe5d4;padding-top:12px;margin-top:15px}.load-notes h2{font-size:12px;margin:0 0 6px}.load-notes p{font-size:12px;line-height:1.6;margin:0}
.load-alerts{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.load-broker-card{position:sticky;top:86px}.load-broker-identity{display:flex;gap:10px;align-items:center}.load-broker-identity>div{min-width:0}
.load-broker-identity h2{font-size:15px;margin:0 0 4px}.load-broker-identity p{font-size:12px;margin:0 0 4px;overflow-wrap:anywhere}.load-broker-identity small{font-size:10px;color:#687660}
.load-broker-rating{font-size:12px;margin:12px 0}.load-broker-card .board-contact{gap:6px;flex-wrap:wrap;margin:0}.load-broker-card .board-contact>.button{font-size:11px}
.load-fold summary{cursor:pointer;font-size:12px;font-weight:600}.load-fold p,.load-fold .form-hint{font-size:11px;line-height:1.6}.load-broker-card>.load-fold{border-top:1px solid #dbe5d4;padding-top:12px;margin-top:14px}
.load-actions-menu{position:relative;margin-left:auto}.load-actions-menu>summary{list-style:none;cursor:pointer}.load-actions-menu>summary::-webkit-details-marker{display:none}
.load-actions-menu[open]>div{position:absolute;right:0;top:calc(100% + 6px);min-width:225px;display:grid;gap:6px;padding:12px;border:1px solid #d4dfce;background:white;border-radius:14px;box-shadow:0 6px 24px #18352b26;z-index:12}
.compact-load-mobile-contact{display:none}
@media(max-width:1000px){.load-detail-grid{grid-template-columns:minmax(0,1fr) 270px}.load-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:750px){.load-detail-grid{grid-template-columns:1fr}.load-broker-card{position:static}.load-detail-heading{align-items:start}.load-detail-price strong{font-size:25px}.load-detail-price>span{font-size:10px;max-width:135px}.compact-load .panel{padding:15px}}
@media(max-width:650px){.compact-load:has(.compact-load-mobile-contact){padding-bottom:76px}.compact-load-mobile-contact{display:flex;position:fixed;bottom:0;left:0;right:0;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:#f7faeff5;border-top:1px solid #d4dfce;z-index:25;box-shadow:0 -3px 14px #173a2910}.compact-load-mobile-contact>.button{width:100%}.load-detail-heading{gap:12px}.load-detail-heading h1{font-size:20px}.load-schedule{gap:10px}.load-stop h2{font-size:13px}.load-stop p{font-size:11px}.load-stop-number{flex-basis:19px;height:19px}.load-primary-actions>.button{font-size:11px;padding:8px 12px}.load-facts{gap:12px}.load-detail-price strong{font-size:23px}}
.load-notes:has(.load-fold[open])>.profile-text{display:none}

.fuel-ticker{font-size:10px;line-height:1.5;font-variant-numeric:tabular-nums;white-space:nowrap;color:#64735d}
.fuel-ticker a{color:inherit;text-decoration:none}.fuel-ticker a:hover{text-decoration:underline}
.fuel-ticker .fuel-up{color:#be3530}.fuel-ticker .fuel-down{color:#207c45}.fuel-ticker .fuel-flat{color:#64735d}
[data-page=saved][hidden]{display:none!important}

/* Keep sidebar geometry identical across themes and directory labels on one line. */
.sidebar>button[data-page=companies]>span{white-space:nowrap}
@media(min-width:851px) and (max-width:1250px){.sidebar>button{padding-inline:10px;gap:10px}}
.aff-member-list{display:grid;gap:14px}.aff-member{padding:18px;border:1px solid var(--line);border-radius:14px}.aff-member h3{margin:0 0 8px}.aff-member p{overflow-wrap:anywhere}.aff-member .inline-actions{margin-top:14px}

/* Zoom-based load groups stay distinct from individual numbered stops. */
.freight-load-cluster{box-sizing:border-box;display:grid;place-items:center;border:2px solid #fff;border-radius:50%;color:#fff;font:800 11px/1 system-ui;box-shadow:0 1px 5px #0004;transition:opacity .16s ease}
.freight-load-cluster.pickup{background:#187342}.freight-load-cluster.delivery{background:#bd302c}
.freight-load-cluster:focus-visible{outline:3px solid #b6ee35;outline-offset:3px}
.freight-cluster-stops{font-size:11px;margin:12px 0 0;color:#526851}
@media(prefers-reduced-motion:reduce){.freight-load-cluster{transition:none}}

/* Compact people suggestions retain identity, role, company, and matching reasons. */
.people-suggestions{padding:16px 20px}.people-suggestions h2{font-size:18px;margin:0 0 5px}.people-suggestions>.form-hint{margin:0 0 10px;font-size:11px}
.compact-recommendations{list-style:none;padding:0;margin:0;gap:0}
.compact-recommendations .connection-suggestion-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(160px,1.5fr) auto;align-items:center;gap:16px;padding:10px 0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none}
.suggestion-identity{min-width:0}.suggestion-identity>div{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.suggestion-identity b{font-size:13px;overflow-wrap:anywhere}.suggestion-role{font-size:10px;color:var(--muted)}.suggestion-company{display:block;font-size:12px;color:var(--muted);margin-top:3px;overflow-wrap:anywhere}
.connection-suggestion-row .suggestion-reasons{font-size:11px;line-height:1.5;margin:0;overflow-wrap:anywhere}.connection-suggestion-row .button{white-space:nowrap;padding:7px 12px;min-height:34px;font-size:11px}
/* Preserve both scrolling leaderboard tracks while reducing their vertical footprint. */
.rankings{margin-bottom:16px}.rank-row{padding:10px 12px;gap:12px}.rank-item{flex-basis:260px;min-height:66px;padding:8px 10px;gap:8px}.rank-item .avatar{width:32px;height:32px}.rank-title small{margin-top:3px}.rank-item small{margin-top:2px}.rank-item .score{font-size:16px}
.rank-window:hover .rank-track,.rank-window:focus-within .rank-track{animation-play-state:paused}
@media(max-width:700px){.people-suggestions{padding:14px}.compact-recommendations .connection-suggestion-row{grid-template-columns:minmax(0,1fr) auto;gap:5px 12px}.connection-suggestion-row .suggestion-reasons{grid-column:1 / -1;grid-row:2}.connection-suggestion-row .button{grid-column:2;grid-row:1}.rank-row{padding:10px}.rank-title{margin-bottom:7px}.rank-title small{font-size:9px}.rank-item{flex-basis:100cqw;min-height:66px;padding:8px 10px}.rank-item b{font-size:12px}.rank-item .score{font-size:17px}}

/* Network recommendations: aligned identity, readable match labels and a stable action. */
.compact-recommendations .connection-suggestion-row{grid-template-columns:40px minmax(150px,1fr) minmax(180px,1.6fr) auto;gap:14px;padding:15px 0;align-items:center}
.suggestion-monogram{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:var(--soft,#edf3e1);color:var(--ink);font-size:13px;font-weight:800}
.suggestion-identity>div{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.suggestion-identity b{font-size:14px}.suggestion-role{font-size:10px;text-transform:uppercase;letter-spacing:.05em}.suggestion-company{font-size:12px;margin-top:4px}
.connection-suggestion-row .suggestion-reasons{display:flex;gap:5px;flex-wrap:wrap;margin:0}.suggestion-match{display:inline-block;border:1px solid var(--line,#dce3d5);border-radius:6px;padding:4px 7px;font-size:11px;line-height:1.4;color:var(--muted)}
@media(max-width:850px){.compact-recommendations .connection-suggestion-row{grid-template-columns:36px minmax(0,1fr) auto;gap:8px 12px}.suggestion-monogram{width:36px;height:36px}.connection-suggestion-row .suggestion-reasons{grid-column:2 / -1;grid-row:2}.connection-suggestion-row .button{grid-column:3;grid-row:1}.suggestion-identity>div{gap:3px 8px}}

.review-start{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:18px 0;background:var(--md-primary-container);border:1px solid var(--md-outline-variant);border-radius:18px;padding:22px 24px}.review-start h1{font-size:28px;line-height:1.2;margin:0 0 7px}.review-start p{font-size:13px;line-height:1.6;margin:0;color:var(--muted)}.review-start .review-start-button{font-size:16px;min-height:52px;white-space:nowrap;padding:14px 24px;background:#b7ed38;color:#123d29;box-shadow:0 3px 10px #163c2b26;border:1px solid #79a421}
.driver-trailer{display:flex;align-items:center;gap:7px 12px;flex-wrap:wrap;background:var(--md-primary-container);border:1px solid var(--md-outline-variant);border-left:4px solid #82b62f;padding:12px 14px;border-radius:10px;margin:10px 0}.driver-trailer>span{font-size:9px;font-weight:800;letter-spacing:.08em;width:100%;color:var(--muted)}.driver-trailer strong{font-size:19px;line-height:1.3;color:var(--text)}.driver-trailer small{font-size:12px;color:var(--muted)}.profile-list-row .driver-trailer{margin:0;padding:8px 12px}.profile-list-row .driver-trailer strong{font-size:15px}.respond-notice{border-left:4px solid #82b62f}.respond-notice p{line-height:1.6}
@media(max-width:650px){.review-start{align-items:stretch;flex-direction:column;gap:14px;padding:18px}.review-start h1{font-size:24px}.review-start .review-start-button{justify-content:center;width:100%}}

/* Owner workspace */
.admin-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 24px}.admin-tabs button{border:1px solid var(--line);background:var(--panel);color:var(--text);border-radius:8px;padding:10px 13px;font-size:12px}.admin-tabs button.active{background:var(--orange);color:#123d29;border-color:var(--orange);font-weight:700}.admin-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px}.admin-metrics button{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:22px;text-align:left;color:var(--text)}.admin-metrics strong{display:block;font:800 30px Manrope}.admin-metrics span{display:block;margin-top:8px;color:var(--muted);font-size:12px}.admin-record{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px}.admin-record h3{margin:0 0 7px;font-size:15px}.admin-record p{margin:7px 0;line-height:1.6}.admin-record-copy{min-width:0;flex:1}.admin-record small{overflow-wrap:anywhere;color:var(--muted)}.admin-record-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.admin-excerpt{max-height:64px;overflow:hidden;white-space:pre-wrap}.admin-search{display:flex;gap:9px;align-items:center}.admin-search input{flex:1;min-width:0;background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:8px;padding:13px}.admin-json{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.7;max-height:65vh;overflow:auto;color:var(--text)}@media(max-width:700px){.admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-record{align-items:flex-start;flex-direction:column}.admin-record-actions{justify-content:flex-start}.admin-tabs{gap:5px}.admin-tabs button{padding:9px;font-size:11px}.admin-search{flex-wrap:wrap}.admin-search input{flex-basis:100%}}

/* Compact broker search actions stay together on mobile. */
.member-search-actions{display:flex;gap:8px;align-items:center}.review-start{padding:0;border:0;background:transparent}.review-start:empty{display:none}
@media(max-width:700px){.member-search-actions .button{padding-inline:18px}.member-search-actions{width:100%}}

/* Dense, searchable relationship list. */
.connections-panel{border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:0 16px;margin:14px 0 22px}
.connections-toolbar{display:flex;align-items:center;gap:12px;padding:14px 0 8px;flex-wrap:wrap}.connections-toolbar h2{font-size:16px;margin:0 auto 0 0}.connection-search{flex:0 1 280px;min-width:160px}.connection-search input,.connections-toolbar select{width:100%;background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:7px;font:inherit;font-size:12px;padding:9px 10px}.connections-toolbar select{width:auto}.connection-result-count{font-size:11px;color:var(--muted);padding:3px 0 8px}.connections-list{list-style:none;margin:0;padding:0}.connection-row{display:grid;grid-template-columns:minmax(0,1fr) 100px auto;align-items:center;gap:12px;padding:8px 0;border-top:1px solid var(--line);min-height:58px;box-sizing:border-box}.connection-person{min-width:0}.connection-name{background:none;border:0;padding:0;color:var(--text);font:700 13px Manrope;text-align:left;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.connection-name:hover{text-decoration:underline}.connection-person-meta{display:block;color:var(--muted);font-size:11px;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.connection-status{font-size:11px;color:var(--muted)}.connection-status.is-connected{color:var(--text)}.connection-actions{display:flex;gap:6px}.connection-actions .button{font-size:11px;padding:7px 11px;min-height:32px;white-space:nowrap}.connection-pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:12px 0;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.connection-pagination button:disabled{opacity:.4;cursor:default}
@media(max-width:650px){.connections-panel{padding:0 12px}.connections-toolbar{gap:8px}.connections-toolbar h2{width:100%;margin-bottom:3px}.connection-search{flex:1}.connections-toolbar select{max-width:130px}.connection-row{grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;padding:8px 0}.connection-status{grid-column:1;grid-row:2;font-size:10px}.connection-actions{grid-column:2;grid-row:1 / 3}.connection-actions .button{min-height:44px;padding:9px}.connection-person-meta{max-width:100%}}

.connection-search .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Compact, searchable company roster. */
.company-people .company-people-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.company-people-heading h2{margin:0;font-size:18px}.company-people-heading>span,.company-people-count{font-size:12px;color:var(--muted)}.company-people-search{display:block;font-size:12px;font-weight:600}.company-people-search input{display:block;width:100%;min-height:40px;margin-top:5px;padding:9px 12px;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:inherit;font:inherit;font-size:14px}.company-people-count{padding:9px 0}.company-people-scroll{max-height:440px;max-height:min(52vh,440px);overflow-y:auto;border:1px solid var(--line);border-radius:12px;scrollbar-gutter:stable}.company-people-scroll:focus-visible{outline:2px solid var(--md-primary);outline-offset:3px}.company-people-list{list-style:none;padding:0;margin:0}.company-people-list>li+li{border-top:1px solid var(--line)}.company-person{display:flex;align-items:center;gap:10px;width:100%;min-height:58px;padding:9px 12px;border:0;border-radius:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.company-person:hover{background:var(--md-primary-container)}.company-person:focus-visible{outline-offset:-3px}.company-person .avatar{width:32px;height:32px;min-width:32px;margin:0;border-radius:50%;font-size:11px;object-fit:cover}.company-person-identity{flex:1;min-width:0}.company-person-identity strong{display:block;font-size:13px;line-height:1.35;overflow-wrap:anywhere}.company-person-identity small{display:block;font-size:11px;line-height:1.35;color:var(--muted);margin-top:2px}.company-person-meta{flex-shrink:0;text-align:right;font-size:11px;line-height:1.4}.company-person-meta small{display:block;font-size:10px;color:var(--muted)}.company-person-meta .company-person-verified{color:var(--md-primary)}.company-person-arrow{font-size:22px;color:var(--muted)}.company-people-empty{padding:18px 12px;color:var(--muted);font-size:13px}.company-people>.form-hint{font-size:11px;line-height:1.5;margin:10px 0 0}
@media(max-width:560px){.company-people-heading h2{font-size:16px}.company-person{gap:8px;padding:9px 8px}.company-person-meta{max-width:104px}.company-person-meta small{font-size:9px}.company-person-arrow{display:none}}

/* Keep every dialog above fixed mobile contact controls. */
.modal-backdrop{z-index:40}
