.cat-workspace{min-width:0}.cat-workspace-heading,.cat-section-heading,.cat-book-bar{display:flex;gap:20px;align-items:center;justify-content:space-between;flex-wrap:wrap}.cat-workspace-heading{margin:24px 0}.cat-workspace-heading h2{font-size:28px;letter-spacing:-.03em;margin:5px 0 10px}.cat-workspace-heading p{color:#637587;margin:0}.cat-workspace .button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.cat-safe-note{padding:12px 16px;background:#eaf3f6;border-left:3px solid #43849a;border-radius:6px;color:#375568;font-size:13px;line-height:1.8}.cat-subnav{display:flex;flex-wrap:wrap;border-bottom:1px solid #d8e1e8;margin:22px 0;gap:5px}.cat-subnav a{padding:12px 16px;min-height:44px;display:flex;align-items:center;text-decoration:none;font-size:14px;color:#516779;border-bottom:3px solid transparent}.cat-subnav a.selected{border-color:#236879;color:#194e60;font-weight:700;background:#eaf1f4;border-radius:8px 8px 0 0}.cat-book-bar{background:white;border:1px solid #dce5eb;padding:16px 20px;border-radius:10px;margin:0 0 18px}.cat-book-bar small,.cat-workspace td small,.cat-workspace th small{display:block;margin-top:7px;color:#718190;font-size:12px;font-weight:400;line-height:1.5}.cat-start .stack-form{display:flex;align-items:end;gap:16px;max-width:none}.cat-start label{flex:1}.cat-start .button{margin:0}.cat-table-panel{padding:22px}.cat-section-heading{margin-bottom:18px}.cat-section-heading h2{margin:0}.cat-table-panel .op-filter{display:grid;grid-template-columns:1fr 1.2fr 1.3fr 1.4fr auto;gap:12px}.cat-table-panel .op-filter input,.cat-table-panel .op-filter select{width:100%;min-width:0;font-size:14px;min-height:44px}.cat-table-panel .op-filter label{min-width:0;font-size:12px}.cat-table-panel .op-filter .button{margin:0;min-height:44px}.cat-table-panel .table-scroll{max-height:72vh;border:1px solid #e0e7ed;border-radius:10px}.cat-matrix{border-collapse:separate;border-spacing:0;min-width:850px;table-layout:auto}.cat-matrix thead th{position:sticky;top:0;z-index:3;background:#f5f8fa;border-bottom:1px solid #d5e0e7;padding:16px;vertical-align:bottom}.cat-matrix thead th:first-child{min-width:210px;z-index:4}.cat-matrix th:first-child{position:sticky;left:0;background:#fafcfd;z-index:2}.cat-matrix tbody th{font-size:13px;min-width:210px;max-width:280px;font-weight:600;padding:15px;line-height:1.7}.cat-matrix tbody td{min-width:155px;text-align:center;padding:12px}.cat-matrix thead th:not(:first-child){text-align:center;min-width:155px}.cat-matrix thead strong{display:block;font-size:13px;line-height:1.55;margin:10px 0 4px}.cat-matrix thead th>a:not(.cat-photo){font-size:11px;display:inline-flex;min-height:32px;align-items:center}.cat-matrix tbody tr:hover td,.cat-matrix tbody tr:hover th{background:#edf5f8}.cat-price{display:inline-flex;align-items:center;justify-content:center;min-height:44px;font-weight:650;font-variant-numeric:tabular-nums;font-size:14px;color:#194f64}.cat-matrix a.cat-price{background:#f1f7fa;border:1px solid #dceaf0;border-radius:7px;padding:8px 12px;text-decoration:none}.cat-matrix a.cat-price:hover{background:#dceef4;border-color:#6195a9}.cat-photo{display:block;border-radius:8px;overflow:hidden;border:1px solid #dae3e9;background:#f7f9fa;position:relative}.cat-photo img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover}.cat-photo span{position:absolute;bottom:0;right:0;background:#153d4dde;color:white;font-size:10px;padding:4px 7px;border-radius:5px 0 0}.cat-thumb{width:130px;margin:auto}.cat-no-image{display:inline-flex;width:120px;height:80px;align-items:center;justify-content:center;border:1px dashed #cad8e0;border-radius:8px;color:#6a7e8d;font-size:12px}.cat-image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px;margin-top:24px}.cat-image-grid article{min-width:0;padding:14px;border:1px solid #d9e3ea;border-radius:10px}.cat-image-grid .op-form{grid-template-columns:1fr}.cat-image-grid .button{width:100%}.cat-image-grid details{margin:0}.cat-editor{border:2px solid #73a1b2}.cat-quote{background:#e9f4f1;border:1px solid #bcd9d1;padding:24px;border-radius:12px;margin-top:24px}.cat-quote h3{font-size:28px;margin:0 0 15px}.cat-quote p{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap}.cat-mobile-types{display:none}.cat-lightbox{border:0;border-radius:14px;padding:20px;width:min(960px,92vw);max-height:92svh;box-sizing:border-box;color:#253947;background:#fff}.cat-lightbox::backdrop{background:#0e1c2bd9}.cat-lightbox-bar,.cat-lightbox-controls{display:flex;justify-content:space-between;align-items:center;gap:12px}.cat-lightbox h2{font-size:18px;margin:0}.cat-lightbox button{min-height:44px;min-width:44px;border:1px solid #d1dce4;border-radius:8px;background:#eff4f7;padding:8px 14px;cursor:pointer;color:#234354}.cat-lightbox-image{display:block;width:100%;height:min(64vh,620px);object-fit:contain;margin-top:14px;background:#f1f4f6}.cat-lightbox-caption{text-align:center;font-size:14px;overflow-wrap:anywhere}.cat-lightbox button:disabled{opacity:.4}.cat-image-count{font-size:13px}.cat-mobile-types button{font:inherit;font-size:12px;border:1px solid #cedce5;background:white;border-radius:7px;min-height:44px;padding:8px 12px}.cat-mobile-types button[aria-pressed=true]{background:#1c5267;color:white}.cat-workspace :focus-visible{outline:3px solid #4889ec;outline-offset:3px}
.cat-inline-price [hidden]{display:none!important}.cat-cell-form{display:grid;gap:8px;min-width:0;max-width:220px;margin:auto}.cat-cell-form label{display:grid;gap:5px;text-align:left;font-size:12px}.cat-cell-form input{box-sizing:border-box;width:100%;min-width:0;min-height:44px;border:1px solid #528aa0;border-radius:6px;padding:8px;font-size:16px;background:#fff;color:#183d50}.cat-cell-actions{display:flex;flex-wrap:wrap;gap:5px}.cat-cell-actions button{flex:1;min-height:44px;padding:7px 8px;border:1px solid #c8dbe4;background:#f2f6f8;border-radius:6px;color:#234c60;cursor:pointer;font-size:12px}.cat-cell-actions button[type=submit]{background:#21657b;color:white;border-color:#21657b}.cat-cell-actions button:disabled{opacity:.5;cursor:wait}.cat-cell-status{display:block;font-size:12px;color:#23734d;margin-top:5px;line-height:1.6;overflow-wrap:anywhere}.cat-cell-status:empty{display:none}.cat-cell-status.is-error{color:#a12d2d}.cat-cell-status a{display:block;padding:8px;min-height:28px}.cat-cell-form>small{font-size:11px!important}
.catalog-page{padding-top:24px}.catalog-page>.page-heading{align-items:center;margin-bottom:22px}.catalog-page>.page-heading h1{font-size:23px}.catalog-page>.page-heading>.stack-form{display:flex;align-items:end;gap:12px;margin:0}.catalog-page>.page-heading .button{margin:0}.catalog-page>.catalog-tabs{margin-bottom:12px}.cat-workspace-heading{margin:18px 0}.cat-workspace-heading h2{font-size:24px}.cat-subnav{margin:14px 0}.cat-book-bar{margin-bottom:14px}
@media(max-width:1100px){.cat-table-panel .op-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.cat-table-panel .op-filter .button{grid-column:span 2}.cat-start .stack-form{display:grid;grid-template-columns:1fr}}
.cat-discount{margin-top:12px;text-align:left;white-space:normal;font-weight:400}.cat-discount summary{cursor:pointer;min-height:44px;padding:10px 4px;color:#15734b;font-weight:700}.cat-discount p{font-size:12px;line-height:1.6}.cat-discount input{width:100%;min-width:0}.cat-discount button{white-space:normal;width:100%;font-size:12px;padding:10px 4px}.cat-discount label{font-size:12px}.cat-table-panel .table-scroll:has(.cat-discount[open]){max-height:none}.cat-matrix:has(.cat-discount[open]) thead th{position:static}
@media(max-width:360px){.catalog-page>.page-heading>.stack-form{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.catalog-page>.page-heading>.stack-form .button{width:100%}}
@media(max-width:760px){.cat-workspace-heading h2{font-size:24px}.cat-workspace-heading>.button{width:100%}.cat-subnav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;border-bottom:0}.cat-subnav a{padding:10px 8px;font-size:12px;justify-content:center;text-align:center;border:1px solid #d9e3e9;border-radius:8px}.cat-subnav a.selected{border:1px solid #39778e;border-radius:8px}.cat-book-bar{padding:15px}.cat-table-panel{padding:15px 10px}.cat-table-panel .op-filter{grid-template-columns:minmax(0,1fr)}.cat-table-panel .op-filter .button{grid-column:auto}.cat-table-panel .op-filter input,.cat-table-panel .op-filter select{font-size:16px;min-height:48px}.cat-workspace .op-form{grid-template-columns:1fr}.cat-workspace .stack-form input{min-width:0;font-size:16px}.cat-section-heading>.button{width:100%}.cat-mobile-types.enhanced{display:flex;flex-wrap:wrap;gap:6px;margin:15px 0}.cat-matrix.mobile-single{min-width:0;width:100%;table-layout:fixed}.cat-matrix.mobile-single [data-car-column]:not(.is-selected){display:none}.cat-matrix.mobile-single th:first-child{width:44%;min-width:0;max-width:none;position:static;font-size:12px;padding:10px 8px}.cat-matrix.mobile-single th:not(:first-child),.cat-matrix.mobile-single td{min-width:0;padding:10px 6px;overflow-wrap:anywhere}.cat-matrix.mobile-single .cat-thumb{width:min(100%,130px)}.cat-matrix.mobile-single .cat-price{padding:8px 4px;font-size:13px}.cat-matrix.mobile-single thead th{top:0}.cat-matrix.mobile-single thead th:first-child{position:sticky}.cat-image-grid{grid-template-columns:minmax(0,1fr)}.cat-lightbox{padding:12px;width:94vw}.cat-lightbox-image{height:52svh}.cat-start .stack-form{display:grid}.cat-book-bar strong{overflow-wrap:anywhere}}

/* Keep route comparison dense; put editing tools outside the sticky header. */
.cat-table-help{margin:7px 0 0;color:#637587;font-size:12px;line-height:1.6}
.cat-discount-settings{margin:0 0 20px;border:1px solid #dce7e5;border-radius:9px;background:#f5faf8}
.cat-discount-settings>summary{cursor:pointer;min-height:44px;padding:12px 16px;color:#21624d;font-weight:650}
.cat-discount-settings>summary span{font-weight:400;font-size:12px;color:#627c70;margin-left:8px}
.cat-discount-settings>p{font-size:12px;color:#526b60;padding:0 16px;margin:0 0 14px;line-height:1.7}
.cat-discount-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:0 16px 16px}
.cat-discount-grid>div{padding:12px;border:1px solid #dce7e5;border-radius:8px;background:#fff;font-size:13px}
.cat-discount-grid .cat-discount{margin:4px 0 0}.cat-discount-grid .cat-discount summary{padding:8px 0;font-size:13px}
.cat-table-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0 10px;font-size:13px}
.cat-table-toolbar p{margin:0;color:#536879}.cat-table-toolbar>div{display:flex;gap:15px;align-items:center}
.cat-page-size{display:flex;gap:8px;align-items:end;margin:0}.cat-page-size label{display:flex;align-items:center;gap:8px;margin:0;font-size:12px;color:#627888}
.cat-page-size select,.cat-page-size button{min-height:36px;border:1px solid #d2e0e8;border-radius:6px;background:#fff;padding:5px 9px;font:inherit;color:#254c60}
.cat-page-size button{cursor:pointer}.cat-table-panel .table-scroll{max-height:68vh;scrollbar-gutter:stable}
.cat-matrix{width:100%;min-width:820px}.cat-matrix thead th{padding:12px;vertical-align:middle}
.cat-matrix thead th:first-child{width:25%;min-width:210px}.cat-matrix thead th:not(:first-child){min-width:155px}
.cat-vehicle-heading{display:flex;align-items:center;justify-content:center;gap:9px;text-align:left}
.cat-vehicle-heading .cat-thumb{width:64px;flex:0 0 64px;margin:0;border-radius:6px}
.cat-vehicle-heading .cat-photo img{aspect-ratio:1;object-fit:cover}.cat-vehicle-heading .cat-photo span{display:none}
.cat-vehicle-heading>div{max-width:145px}.cat-matrix .cat-vehicle-heading strong{font-size:12px;line-height:1.45;margin:0 0 4px}
.cat-vehicle-heading>div>a{font-size:11px;display:inline-flex;align-items:center;min-height:28px}
.cat-matrix tbody th{padding:10px 14px;font-size:13px;line-height:1.6;font-weight:500}
.cat-matrix tbody td{padding:5px 10px;vertical-align:middle}
.cat-matrix tbody tr:nth-child(even)>*{background:#f7fafc}.cat-matrix tbody tr:hover>*{background:#eaf4f8}
.cat-matrix a.cat-price{background:transparent;border:1px solid transparent;border-radius:6px;padding:7px 26px 7px 10px;min-width:105px;position:relative;justify-content:flex-end;color:#204d62;line-height:1.4;min-height:40px}
.cat-matrix a.cat-price::after{content:'✎';position:absolute;right:6px;font-size:12px;color:#91a7b3;font-weight:400}
.cat-matrix a.cat-price:hover,.cat-matrix a.cat-price:focus-visible{background:#fff;border-color:#73a4b7;color:#123e52}
.cat-matrix a.cat-price.is-empty{font-weight:400;color:#6d8290;font-size:12px;border:1px dashed #d0dde5;justify-content:center}
.cat-matrix .cat-cell-form{padding:7px 0}.cat-pagination{gap:6px;flex-wrap:wrap;margin:18px 0 0}
.cat-pagination>a,.cat-pagination>[aria-current]{display:inline-flex;min-width:36px;min-height:40px;align-items:center;justify-content:center;padding:6px 10px;border:1px solid #d9e4ec;border-radius:7px;background:white;text-decoration:none}
.cat-pagination>[aria-current]{background:#1d6077;color:#fff;border-color:#1d6077;font-weight:700}
.cat-pagination>a:hover{background:#edf5f8}.cat-table-panel .catalog-footnote{margin-top:14px}
@media(max-width:1100px){.cat-discount-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 .cat-table-panel .table-scroll{max-height:65vh}.cat-table-help{font-size:12px}
 .cat-discount-settings>summary span{display:block;margin:4px 0 0}.cat-discount-grid{grid-template-columns:minmax(0,1fr)}
 .cat-table-toolbar>div{flex-wrap:wrap}.cat-page-size select,.cat-page-size button{min-height:44px}
 .cat-matrix.mobile-single .cat-vehicle-heading{flex-direction:column;gap:5px;text-align:center}
 .cat-matrix.mobile-single .cat-vehicle-heading .cat-thumb{width:52px;flex-basis:auto}
 .cat-matrix.mobile-single .cat-vehicle-heading strong{font-size:12px}
 .cat-matrix.mobile-single tbody td{padding:5px 6px}.cat-matrix.mobile-single .cat-price{min-height:44px;min-width:0;width:100%;padding-right:20px}
 .cat-matrix.mobile-single tbody th{font-size:13px}.cat-matrix.mobile-single .cat-vehicle-heading>div>a{min-height:30px}
}

.cat-distance-panel>p{line-height:1.8;font-size:13px;color:#526b7a}
.cat-distance-select{display:grid;grid-template-columns:1fr 1fr auto;gap:15px;align-items:end;margin:22px 0}
.cat-distance-select label,.cat-distance-form>label{display:grid;gap:7px;font-size:13px;color:#38576a}
.cat-distance-select select,.cat-distance-form input[type=text]{width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #c7d8e2;border-radius:7px;font:inherit;color:#1c4053;background:white}
.cat-distance-form{display:grid;gap:16px}.cat-distance-form>p{margin:0;font-size:13px;line-height:1.7}
.cat-distance-form .table-scroll{border:1px solid #dbe6ed;border-radius:9px}
.cat-distance-table{min-width:560px;width:100%;table-layout:fixed}.cat-distance-table th,.cat-distance-table td{padding:12px;text-align:left;vertical-align:middle}
.cat-distance-table thead th{background:#eef4f7;color:#345264;font-size:13px}
.cat-distance-table th:first-child{width:32%}.cat-distance-table th:last-child{width:100px}
.cat-distance-table tbody th{font-size:13px;font-weight:500;line-height:1.7}
.cat-distance-table small{font-size:11px!important}.cat-distance-table button{min-height:44px;background:white;border:1px solid #dfcfd1;border-radius:7px;color:#974749;padding:7px 10px;font:inherit;font-size:12px;cursor:pointer}
.cat-distance-table button:disabled{opacity:.4;cursor:default}.cat-distance-form>.button{justify-self:start;margin:0;min-height:44px}
.cat-distance-form>.check{display:flex;align-items:center;gap:10px}.cat-distance-form>.check input{width:18px;height:18px}
.cat-distance-form [data-distance-status]:empty{display:none}.cat-distance-form [data-distance-status]{color:#9c4a24}
@media(max-width:760px){.cat-distance-select{grid-template-columns:1fr}.cat-distance-form>.button{width:100%}.cat-distance-table th,.cat-distance-table td{padding:10px 8px}.cat-distance-select select,.cat-distance-form input[type=text]{font-size:16px}}
.cat-distance-form>label.check{display:flex;flex:1 1 auto;width:auto;height:auto;min-height:44px;align-items:center;justify-content:flex-start;border:0;border-radius:0;padding:8px 0;background:transparent;color:#38576a;font-size:13px;font-weight:600}
.cat-distance-form .table-scroll{max-height:60vh;scrollbar-gutter:stable}
.cat-distance-table{border-collapse:separate;border-spacing:0}.cat-distance-table thead th{position:sticky;top:0;z-index:2}
.cat-distance-tools{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.cat-distance-tools .button{margin:0;min-height:44px}
.cat-distance-tools [data-distance-count]{font-size:12px;color:#657e8e}

.shared-route-editor{max-width:900px}
.route-brand-picker{border:0;margin:0;padding:0;min-width:0}
.route-brand-picker legend{font-size:14px;font-weight:600;margin-bottom:12px}
.route-brand-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.stack-form .route-brand-options label{display:flex;align-items:center;gap:12px;padding:18px;border:1px solid #daddd8;border-radius:10px;cursor:pointer}
.route-brand-options label:has(input:checked){border-color:#383f38;background:#f3f5f0}
.stack-form .route-brand-options input{width:18px;height:18px;min-height:18px;margin:0;flex-shrink:0;accent-color:#303730}
.route-brand-options span{display:grid;gap:6px}.route-brand-options small{font-weight:400;color:#727a71}
.create-brand-fields{border:1px solid #e0e3dd;border-radius:10px;padding:16px;display:grid;gap:14px;min-width:0}
.create-brand-fields legend{padding:0 6px;font-size:13px;font-weight:600}.create-brand-fields p{margin:0}
.create-brand-fields[hidden]{display:none}
