:root { --cf-orange: #f36b21; --cf-black: #101010; --cf-gray: #62666a; --cf-light: #f4f4f3; }
.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; }
.cyclefaster-search-strip { background: var(--cf-black); border-top: 1px solid #343434; padding: .68rem clamp(1rem,4vw,4rem); position: relative; z-index: 8; }
.cyclefaster-search-form { display: flex; max-width: 1120px; margin: 0 auto; gap: .55rem; }
.cyclefaster-search-form input { min-width: 0; flex: 1; min-height: 42px; border: 1px solid #5b5b5b; border-radius: 999px; background: #fff; color: #171717; padding: .65rem 1.1rem; font-size: 1rem; }
.cyclefaster-search-form input:focus { outline: 3px solid rgba(243,107,33,.35); border-color: var(--cf-orange); }
.cyclefaster-search-submit, .cyclefaster-chat-form button { min-height: 42px; border: 0; border-radius: 999px; padding: .65rem 1.15rem; font-weight: 800; background: var(--cf-orange); color: #111; cursor: pointer; }
.bike-card .bike-art { overflow: hidden; min-height: 190px; background: linear-gradient(145deg,#f8f8f7,#dededc); }
.bike-card .bike-art img { display: block; width: 100%; height: 220px; object-fit: contain; padding: .35rem; }
.cyclefaster-bike-detail-link { display: inline-flex; margin: .7rem 0 0; color: #c7460b; font-weight: 800; text-decoration: none; }
.cyclefaster-bike-detail-link:hover { text-decoration: underline; }
.cyclefaster-discovery-page { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(2rem,5vw,4.5rem) 0; color: #1b1b1b; }
.cyclefaster-discovery-page h1 { margin: .25rem 0 1rem; font-size: clamp(2rem,5vw,3.6rem); line-height: 1.02; }
.cyclefaster-discovery-page h2 { font-size: clamp(1.25rem,2.5vw,1.7rem); }
.cyclefaster-back-link { display: inline-block; margin-bottom: 1.3rem; color: #b83e09; font-weight: 800; text-decoration: none; }
.cyclefaster-bike-hero { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(300px,.85fr); gap: clamp(1.5rem,5vw,4.5rem); align-items: center; background: #fff; border: 1px solid #dadada; border-radius: 24px; padding: clamp(1rem,3vw,2.2rem); box-shadow: 0 20px 55px rgba(0,0,0,.09); }
.cyclefaster-bike-hero-media { min-height: 360px; display: grid; place-items: center; background: linear-gradient(145deg,#fafafa,#e7e7e5); border-radius: 18px; overflow: hidden; }
.cyclefaster-bike-hero-media img { width: 100%; max-height: 520px; object-fit: contain; }
.cyclefaster-kicker { color: #c7460b; font-weight: 900; letter-spacing: .12em; }
.cyclefaster-bike-summary { font-size: 1.1rem; line-height: 1.7; color: #454545; }
.cyclefaster-manufacturer-link { display: inline-flex; margin-top: 1rem; padding: .8rem 1rem; border-radius: 999px; background: var(--cf-black); color: #fff; text-decoration: none; font-weight: 800; }
.cyclefaster-manufacturer-link:hover { background: var(--cf-orange); color: #111; }
.cyclefaster-spec-section { margin-top: 2.4rem; }
.cyclefaster-spec-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .8rem; }
.cyclefaster-spec-card { min-height: 110px; padding: 1rem; background: #252525; color: #fff; border-top: 4px solid var(--cf-orange); border-radius: 12px; }
.cyclefaster-spec-card small, .cyclefaster-result-card small { display: block; color: #f39055; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.cyclefaster-spec-card strong { display: block; margin-top: .5rem; font-size: 1.05rem; }
.cyclefaster-spec-note { margin: 1.25rem 0 0; color: #666; font-size: .92rem; line-height: 1.6; }
.cyclefaster-results-header { padding-bottom: 1rem; border-bottom: 1px solid #d2d2d2; }
.cyclefaster-result-count, .cyclefaster-search-status { font-weight: 800; color: #5a5a5a; }
.cyclefaster-result-list { display: grid; gap: .9rem; }
.cyclefaster-result-card { display: grid; grid-template-columns: 140px 1fr; gap: 1rem; align-items: center; padding: 1rem; border: 1px solid #d9d9d9; border-left: 5px solid var(--cf-orange); border-radius: 12px; color: #171717; background: #fff; text-decoration: none; transition: transform .15s ease,box-shadow .15s ease; }
.cyclefaster-result-card:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,.1); }
.cyclefaster-result-card img { width: 140px; height: 95px; object-fit: contain; background: #eee; border-radius: 8px; }
.cyclefaster-result-card h2 { margin: .2rem 0 .35rem; }
.cyclefaster-result-card p { margin: 0; color: #595959; line-height: 1.5; }
.cyclefaster-empty { padding: 2rem; border: 1px dashed #aaa; border-radius: 12px; background: #f5f5f5; }
.cyclefaster-assistant-open { box-sizing: border-box; padding-left: 360px; transition: padding-left .2s ease; }
.cyclefaster-chat-launcher { position: fixed; left: 1rem; bottom: 1.2rem; z-index: 1001; min-width: 82px; min-height: 50px; border: 3px solid #fff; border-radius: 999px; background: var(--cf-orange); color: #111; font-weight: 900; box-shadow: 0 8px 25px rgba(0,0,0,.32); cursor: pointer; }
.cyclefaster-assistant-open .cyclefaster-chat-launcher { display: none; }
.cyclefaster-chat-panel { position: fixed; inset: 0 auto 0 0; z-index: 1000; width: 360px; height: 100dvh; display: flex; flex-direction: column; background: #ededec; border-right: 1px solid #545454; box-shadow: 12px 0 35px rgba(0,0,0,.18); overflow: hidden; }
.cyclefaster-chat-panel[hidden] { display: none; }
.cyclefaster-chat-panel > header { flex: 0 0 auto; display: flex; justify-content: space-between; align-items: center; min-height: 74px; padding: 1rem 1.1rem; background: var(--cf-black); color: #fff; border-bottom: 5px solid var(--cf-orange); }
.cyclefaster-chat-panel > header strong { font-size: 1.1rem; letter-spacing: .01em; }
.cyclefaster-chat-panel > header button { width: 40px; height: 40px; border: 1px solid #5b5b5b; border-radius: 50%; background: #292929; color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.cyclefaster-chat-panel > header button:hover { background: var(--cf-orange); color: #111; }
.cyclefaster-chat-log { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 1rem; scrollbar-color: #8e8e8e #e1e1e0; }
.cyclefaster-chat-message { width: 93%; margin: 0 0 .9rem; padding: .85rem .95rem; border: 1px solid #d4d4d4; border-radius: 14px; background: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.07); }
.cyclefaster-chat-message.assistant,.cyclefaster-chat-message.assistant .cyclefaster-chat-content,.cyclefaster-chat-message.assistant .cyclefaster-chat-content :is(p,li,h1,h2,h3,h4,strong,em,code,td),.cyclefaster-chat-sources,.cyclefaster-chat-sources strong { color: #151716; opacity: 1; }
.cyclefaster-chat-message.user { margin-left: auto; background: #242424; color: #fff; }
.cyclefaster-chat-message small { color: #c7460b; font-weight: 900; }
.cyclefaster-chat-content { margin-top: .45rem; overflow-wrap: anywhere; }
.cyclefaster-chat-content p { margin: 0 0 .7rem; line-height: 1.55; }
.cyclefaster-chat-content p:last-child { margin-bottom: 0; }
.cyclefaster-chat-content h3, .cyclefaster-chat-content h4 { margin: .9rem 0 .35rem; line-height: 1.25; }
.cyclefaster-chat-content h3:first-child, .cyclefaster-chat-content h4:first-child { margin-top: 0; }
.cyclefaster-chat-content h3 { font-size: 1.08rem; }
.cyclefaster-chat-content h4 { font-size: 1rem; }
.cyclefaster-chat-content ul, .cyclefaster-chat-content ol { margin: .35rem 0 .75rem; padding-left: 1.35rem; }
.cyclefaster-chat-content li { margin: .32rem 0; line-height: 1.48; }
.cyclefaster-chat-content a { color: #a93605; font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }
.cyclefaster-chat-message.user .cyclefaster-chat-content a { color: #ffb184; }
.cyclefaster-chat-content code { padding: .08rem .3rem; border-radius: 4px; background: #e9e9e7; font-size: .9em; }
.cyclefaster-chat-content blockquote { margin: .65rem 0; padding: .45rem .7rem; border-left: 4px solid var(--cf-orange); background: #f5f5f4; color: #464646; }
.cyclefaster-chat-table-wrap { max-width: 100%; margin: .65rem 0; overflow-x: auto; }
.cyclefaster-chat-table-wrap table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.cyclefaster-chat-table-wrap th, .cyclefaster-chat-table-wrap td { padding: .45rem; border: 1px solid #cfcfcd; text-align: left; vertical-align: top; }
.cyclefaster-chat-table-wrap th { background: #292929; color: #fff; }
.cyclefaster-chat-message.waiting { color: #666; font-style: italic; }
.cyclefaster-chat-sources { margin-top: .8rem; padding-top: .7rem; border-top: 1px solid #d4d4d4; }
.cyclefaster-chat-sources strong { font-size: .85rem; }
.cyclefaster-chat-sources ol { margin: .4rem 0 0; padding-left: 1.25rem; }
.cyclefaster-chat-sources li { margin: .28rem 0; }
.cyclefaster-chat-sources a, .cyclefaster-chat-signin { color: #a93605; font-size: .86rem; font-weight: 750; overflow-wrap: anywhere; text-decoration: underline; }
.cyclefaster-chat-signin { display: inline-block; margin-top: .65rem; }
.cyclefaster-chat-form { flex: 0 0 auto; display: grid; grid-template-columns: 1fr auto; gap: .5rem; padding: .8rem; background: #fff; border-top: 1px solid #ccc; }
.cyclefaster-chat-form textarea { min-height: 58px; flex: 1; resize: vertical; border: 1px solid #888; border-radius: 12px; padding: .65rem; color:#151716; -webkit-text-fill-color:#151716; font: inherit; line-height: 1.35; }
.cyclefaster-chat-form textarea:focus { outline: 3px solid rgba(243,107,33,.3); border-color: var(--cf-orange); }
.cyclefaster-chat-form button:disabled, .cyclefaster-chat-form textarea:disabled { opacity: .55; cursor: wait; }
.cyclefaster-chat-notice { flex: 0 0 auto; margin: 0; padding: 0 .9rem .75rem; background: #fff; color: #626262; font-size: .75rem; line-height: 1.35; }
@media (max-width: 1100px) and (min-width: 781px) { .cyclefaster-assistant-open { padding-left: 320px; } .cyclefaster-chat-panel { width: 320px; } }
@media (max-width: 780px) {
  .cyclefaster-assistant-open { padding-left: 0; }
  .cyclefaster-search-strip { padding-inline: .7rem; }
  .cyclefaster-search-submit { padding-inline: .8rem; }
  .cyclefaster-bike-hero { grid-template-columns: 1fr; }
  .cyclefaster-bike-hero-media { min-height: 230px; }
  .cyclefaster-spec-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cyclefaster-result-card { grid-template-columns: 88px 1fr; }
  .cyclefaster-result-card img { width: 88px; height: 76px; }
  .cyclefaster-chat-panel { inset: auto auto 5.3rem .5rem; width: calc(100vw - 1rem); height: min(660px,calc(100dvh - 6.3rem)); border: 1px solid #555; border-radius: 18px; box-shadow: 0 22px 70px rgba(0,0,0,.4); }
  .cyclefaster-chat-launcher { left: .75rem; bottom: .75rem; }
  .cyclefaster-chat-panel > header button { font-size: 0; }
  .cyclefaster-chat-panel > header button::after { content: "×"; font-size: 1.5rem; }
}
@media (max-width: 430px) { .cyclefaster-spec-grid { grid-template-columns: 1fr; } .cyclefaster-result-card { grid-template-columns: 1fr; } .cyclefaster-result-card img { width: 100%; height: 150px; } }
