#brands { scroll-margin-top: 90px; }
.brand-controls { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.brand-controls label,.brand-search { display: flex; flex-direction: column; gap: 7px; font-size: 1rem; font-weight: 700; min-width: 0; }
.brand-controls select,.brand-search input { width: 100%; min-width: 0; min-height: 46px; border: 1px solid #a9c5dc; border-radius: 10px; background: #fff; color: #123456; padding: 10px 12px; font: inherit; }
.brand-controls select:disabled { background: #e8edf2; color: #536779; opacity: 1; cursor: not-allowed; }
.brand-note { padding: 12px 16px; border-left: 4px solid #2878c6; background: #edf6ff; color: #28465e; font-size: 1rem; }
.brand-summary { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin: 18px 0; color: #163d63; }
.brand-summary strong { font-size: clamp(1.8rem,4vw,2.8rem); }
.brand-summary span { font-size: 1rem; }
.brand-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.brand-actions button { font-size: 1rem; min-height: 44px; cursor: pointer; }
.brand-actions button:disabled { opacity: .5; cursor: default; }
#brandStatus { font-size: 1rem; color: #244762; }
.brand-lanes { display: grid; gap: 12px; }
.brand-lane { border: 1px solid #bed2e2; padding: 12px; border-radius: 12px; background: #f4f9ff; min-width: 0; }
.brand-lane-label { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 8px; font-size: 1rem; color: #143651; }
.brand-lane-label strong { overflow-wrap: anywhere; }
.brand-lane-number { font-variant-numeric: tabular-nums; white-space: nowrap; }
.brand-road { position: relative; height: 42px; border-radius: 7px; background: #133854; overflow: hidden; }
.brand-road:before { content: ''; position: absolute; top: 20px; left: 0; right: 0; border-top: 2px dashed #9ab4c8; }
.brand-road:after { content: ''; position: absolute; right: 10px; width: 4px; top: 0; bottom: 0; background: repeating-linear-gradient(#fff 0 5px,#133854 5px 10px); }
.brand-car { position: absolute; z-index: 1; left: 0; top: 2px; width: 42px; font-size: 30px; line-height: 36px; text-align: center; }
.brand-details { margin-top: 20px; border-top: 1px solid #c5d6e5; padding-top: 14px; font-size: 1rem; color: #234561; }
.brand-details summary { cursor: pointer; font-weight: 700; padding: 8px 0; }
.brand-details p { line-height: 1.6; }
.brand-details a { color: #145fa3; text-decoration: underline; }
.brand-search { margin: 14px 0; max-width: 440px; }
.brand-table-wrap { max-height: 420px; overflow: auto; }
.brand-table-wrap table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.brand-table-wrap th,.brand-table-wrap td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #d8e4ee; overflow-wrap: anywhere; }
.brand-table-wrap th { background: #e5eff8; position: sticky; top: 0; }
.brand-table-wrap td:not(:first-child),.brand-table-wrap th:not(:first-child) { text-align: right; white-space: nowrap; }
@media(max-width:900px) { .brand-controls { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:500px) { .brand-controls { grid-template-columns: 1fr; } .brand-table-wrap table { font-size: .875rem; } .brand-lane { padding: 10px; } }
.topinner .nav { min-width: 0; }
