/* Scalable catalog UI for manufacturer/category cost guides */
.theme-catalog{margin-top:24px;background:#fff;border:1px solid #dce7ef;border-radius:20px;padding:22px;box-shadow:0 8px 24px rgba(15,45,75,.045)}
.theme-catalog-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;flex-wrap:wrap}.theme-catalog-head h2{margin:0;font-size:25px}.theme-catalog-head p{margin:6px 0 0;color:#60788d;font-size:13px;line-height:1.7}.theme-count{padding:9px 12px;border-radius:999px;background:#eaf5ff;color:#0866ad;font-size:12px;font-weight:950;white-space:nowrap}
.theme-tools{display:grid;grid-template-columns:minmax(220px,1fr) 220px;gap:10px;margin-top:16px}.theme-tools input,.theme-tools select{width:100%;min-height:44px;border:1px solid #cfdde8;border-radius:10px;background:#fff;padding:0 12px;color:#17344e;font:inherit}.theme-tools input:focus,.theme-tools select:focus{outline:2px solid #a9d4fb;border-color:#1685e8}.theme-tools label{font-size:10px;font-weight:900;color:#60788d;display:block;margin:0 0 5px}
.theme-result-meta{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:16px 0 10px;color:#667e92;font-size:11px}.theme-result-meta b{color:#17344e}.theme-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.theme-vehicle{display:flex;flex-direction:column;min-height:205px;border:1px solid #dce7ef;border-radius:15px;padding:16px;background:#fbfdff;overflow:hidden}.theme-vehicle:hover{border-color:#9fc9ee;box-shadow:0 8px 18px rgba(15,45,75,.06)}.theme-vehicle-media{position:relative;margin:-16px -16px 12px;aspect-ratio:16/9;overflow:hidden;background:#edf4f8;border-bottom:1px solid #dce7ef}.theme-vehicle-media img{display:block;width:100%;height:100%;object-fit:cover}.theme-vehicle-media--silhouette{background:linear-gradient(180deg,#f9fbfd 0%,#edf3f7 100%)}.theme-vehicle-media--silhouette img{object-fit:contain;padding:14px 18px;box-sizing:border-box;filter:drop-shadow(0 8px 10px rgba(23,52,78,.10))}.theme-vehicle-media:has(img[src^="/assets/bikes/"])::after,.theme-vehicle-media:has(img[src^="/assets/cars/"])::after{content:"イメージ";position:absolute;top:9px;right:9px;padding:4px 7px;border-radius:999px;background:rgba(23,52,78,.82);color:#fff;font-size:9px;font-weight:900;line-height:1;letter-spacing:.02em;box-shadow:0 2px 8px rgba(0,0,0,.12);pointer-events:none}.theme-vehicle-top{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.theme-vehicle-brand{font-size:10px;color:#0875ee;font-weight:950}.theme-vehicle-rank{font-size:9px;color:#8a6b00;background:#fff3c5;border:1px solid #f0d36f;border-radius:999px;padding:4px 7px;font-weight:900}.theme-vehicle h3{font-size:17px;line-height:1.35;margin:6px 0 8px;color:#17344e}.theme-tags{display:flex;gap:5px;flex-wrap:wrap}.theme-tags span{padding:5px 7px;border-radius:7px;background:#f0f6fb;border:1px solid #dce8f1;color:#557084;font-size:9px;font-weight:850}.theme-vehicle-copy{margin:10px 0 0;color:#667e92;font-size:11px;line-height:1.6}.theme-vehicle-actions{display:grid;grid-template-columns:1fr auto;gap:7px;margin-top:auto;padding-top:13px}.theme-vehicle-actions a{display:flex;align-items:center;justify-content:center;min-height:38px;border-radius:9px;font-size:10px;font-weight:950}.theme-calc{background:#0875ee;color:#fff!important}.theme-compare{background:#eef7ff;color:#0b5f9c!important;border:1px solid #cfe1ef}.theme-load-more{display:block;margin:18px auto 0;min-width:240px;min-height:44px;border:0;border-radius:10px;background:#0a5f9f;color:#fff;font-weight:950;cursor:pointer}.theme-load-more[hidden]{display:none}.theme-empty{padding:26px;text-align:center;color:#60788d;border:1px dashed #cbdbe7;border-radius:12px;background:#f8fbfd}.theme-data-note{margin-top:14px;color:#758a9b;font-size:10px;line-height:1.7}
.coverage-panel{margin-top:18px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.coverage-item{background:#fff;border:1px solid #dce7ef;border-radius:14px;padding:14px}.coverage-item b{display:block;font-size:23px;color:#0875ee}.coverage-item span{font-size:11px;color:#61788d}
@media(max-width:820px){.theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.theme-tools{grid-template-columns:1fr}.coverage-panel{grid-template-columns:1fr}}
@media(max-width:560px){.theme-catalog{padding:16px}.theme-grid{grid-template-columns:1fr}.theme-vehicle{min-height:0}.theme-vehicle-actions{grid-template-columns:1fr 1fr}.theme-catalog-head h2{font-size:21px}}

/* Keep every catalog card visual while model-specific AI assets are expanded. */
.theme-vehicle{position:relative}
.theme-catalog[data-kind="bike"] .theme-vehicle:not(:has(.theme-vehicle-media))::before,
.theme-catalog[data-kind="car"] .theme-vehicle:not(:has(.theme-vehicle-media))::before{content:"";display:block;flex:0 0 auto;margin:-16px -16px 12px;aspect-ratio:16/9;background-color:#edf4f8;background-position:center;background-repeat:no-repeat;border-bottom:1px solid #dce7ef}
.theme-catalog[data-kind="bike"] .theme-vehicle:not(:has(.theme-vehicle-media))::before{background-image:url('/assets/bikes/silhouettes/naked.svg?v=20260910d');background-size:72%}
.theme-catalog[data-kind="car"] .theme-vehicle:not(:has(.theme-vehicle-media))::before{background-image:url('/assets/cars/silhouettes/compact.svg?v=20260910d');background-size:78%}
.theme-catalog[data-kind] .theme-vehicle:not(:has(.theme-vehicle-media))::after{content:"イメージ";position:absolute;top:9px;right:9px;padding:4px 7px;border-radius:999px;background:rgba(23,52,78,.82);color:#fff;font-size:9px;font-weight:900;line-height:1;letter-spacing:.02em;box-shadow:0 2px 8px rgba(0,0,0,.12);pointer-events:none}
