.byl-component-library{background:#fff;color:var(--byl-ink)}
.byl-component-hero{padding:72px 0 44px;border-bottom:1px solid var(--byl-line);background:linear-gradient(180deg,#fff 0%,#fbf9fa 100%)}
.byl-component-hero-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);gap:56px;align-items:end}
.byl-component-hero h1{max-width:840px}.byl-component-hero p{max-width:720px}
.byl-component-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.byl-component-stat{padding:18px;border:1px solid var(--byl-line);border-radius:18px;background:rgba(255,255,255,.8)}
.byl-component-stat strong{display:block;font-size:24px;font-weight:500;letter-spacing:-.03em}.byl-component-stat span{font-size:12px;color:var(--byl-ink-3)}
.byl-component-section{padding:72px 0;border-bottom:1px solid var(--byl-line)}
.byl-component-section:nth-child(even){background:var(--byl-surface-soft)}
.byl-component-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.55fr);gap:36px;align-items:end;margin-bottom:34px}
.byl-component-head p{margin:0}.byl-component-head h2{margin-top:6px}
.byl-component-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.byl-component-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.byl-demo-panel{padding:28px;border:1px solid var(--byl-line);border-radius:24px;background:#fff;min-width:0}
.byl-demo-panel h3{margin:0 0 18px;font-size:14px;font-weight:600}.byl-demo-panel p:last-child{margin-bottom:0}
.byl-badge{display:inline-flex;align-items:center;min-height:24px;padding:4px 9px;border-radius:999px;background:#fff;color:var(--byl-ink);font-size:11px;font-weight:600;line-height:1;border:1px solid rgba(22,19,22,.08)}
.byl-badge-brand{background:var(--byl-brand);border-color:var(--byl-brand);color:#fff}.byl-badge-success{background:#edf8f2;border-color:#d3eadf;color:var(--byl-success)}
.byl-chip-neutral{background:#f2eff0;color:var(--byl-ink-2)}
.byl-icon-btn{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--byl-line);border-radius:50%;background:#fff;color:var(--byl-ink);cursor:pointer;transition:background-color var(--byl-duration-fast) var(--byl-ease),transform var(--byl-duration-fast) var(--byl-ease)}
.byl-icon-btn:hover{background:var(--byl-surface-soft)}.byl-icon-btn:active{transform:scale(.97)}
.byl-icon-btn .byl-icon{width:18px;height:18px}
.byl-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.byl-product-card{min-width:0}.byl-product-media{position:relative;display:block;overflow:hidden;aspect-ratio:1/1.08;border-radius:22px;background:#f5f2f3;text-decoration:none}
.byl-product-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform var(--byl-duration-slow) var(--byl-ease)}
.byl-product-card:hover .byl-product-media img{transform:scale(1.018)}
.byl-badge-overlay{position:absolute;z-index:2;left:12px;top:12px}.byl-product-body{padding:16px 2px 2px}
.byl-product-kicker{margin-bottom:6px;color:var(--byl-ink-3);font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.byl-product-title{margin:0;font-size:16px;font-weight:500;line-height:1.25;letter-spacing:-.015em}.byl-product-title a{color:var(--byl-ink);text-decoration:none}
.byl-product-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.byl-rating{display:flex;align-items:center;gap:5px;white-space:nowrap;color:var(--byl-ink-2);font-size:12px}
.byl-rating>span{color:var(--byl-brand)}.byl-rating strong{font-weight:500}.byl-rating small{color:var(--byl-ink-3)}
.byl-price{font-size:14px;font-weight:500;white-space:nowrap}.byl-price del{color:var(--byl-ink-3);font-weight:400;margin-right:5px}.byl-price ins{color:var(--byl-brand);text-decoration:none}
.byl-product-cta{display:flex;align-items:center;justify-content:space-between;margin-top:14px;padding-top:12px;border-top:1px solid var(--byl-line);color:var(--byl-ink);font-size:12px;font-weight:500;text-decoration:none}
.byl-product-cta .byl-icon{width:15px;height:15px;transition:transform var(--byl-duration-fast) var(--byl-ease)}.byl-product-cta:hover .byl-icon{transform:translateX(3px)}
.byl-product-card.is-unavailable .byl-product-media img{filter:saturate(.55);opacity:.72}
.byl-content-card{display:flex;flex-direction:column;min-height:230px;padding:26px;border:1px solid var(--byl-line);border-radius:24px;background:#fff;color:var(--byl-ink);text-decoration:none;transition:transform var(--byl-duration-base) var(--byl-ease),box-shadow var(--byl-duration-base) var(--byl-ease)}
.byl-content-card:hover{transform:translateY(-2px);box-shadow:var(--byl-shadow-2)}.byl-content-card .byl-icon{width:22px;height:22px;margin-bottom:34px;color:var(--byl-brand)}
.byl-content-card h3{margin:0 0 9px;font-size:21px;font-weight:500;line-height:1.2;letter-spacing:-.025em}.byl-content-card p{margin:0;color:var(--byl-ink-2);font-size:13px;line-height:1.6}
.byl-content-card footer{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:24px;color:var(--byl-ink-3);font-size:11px}.byl-content-card footer .byl-icon{width:15px;height:15px;margin:0}
.byl-field{display:flex;flex-direction:column;gap:8px}.byl-field label,.byl-field legend{font-size:12px;font-weight:600;color:var(--byl-ink)}
.byl-input,.byl-select{width:100%;min-height:48px;padding:0 14px;border:1px solid var(--byl-line);border-radius:14px;background:#fff;color:var(--byl-ink);font:400 14px/1 var(--byl-font);outline:none;transition:border-color var(--byl-duration-fast) var(--byl-ease),box-shadow var(--byl-duration-fast) var(--byl-ease)}
.byl-input:focus,.byl-select:focus{border-color:var(--byl-brand);box-shadow:0 0 0 3px var(--byl-brand-soft)}.byl-input[disabled],.byl-select[disabled]{background:#f4f2f3;color:var(--byl-ink-3);cursor:not-allowed}
.byl-field-help{font-size:11px;color:var(--byl-ink-3)}.byl-check{display:flex;align-items:flex-start;gap:10px;font-size:13px;color:var(--byl-ink-2)}.byl-check input{width:18px;height:18px;margin:2px 0 0;accent-color:var(--byl-brand)}
.byl-notice{display:flex;gap:12px;padding:16px 18px;border:1px solid var(--byl-line);border-radius:16px;background:#fff;font-size:13px;line-height:1.5}.byl-notice .byl-icon{margin-top:1px;flex:0 0 auto}
.byl-notice-info{background:#f8f7fb}.byl-notice-success{background:#f2faf6;border-color:#d9eee3;color:#185c3d}.byl-notice-danger{background:#fff4f6;border-color:#f1d6dd;color:var(--byl-danger)}
.byl-empty{text-align:center;padding:42px 26px;border:1px dashed #d8d1d4;border-radius:22px;background:#fff}.byl-empty .byl-icon{width:28px;height:28px;margin-bottom:12px;color:var(--byl-ink-3)}
.byl-skeleton{position:relative;overflow:hidden;border-radius:12px;background:#eee9eb}.byl-skeleton:after{content:'';position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);animation:byl-skeleton 1.5s infinite}
@keyframes byl-skeleton{100%{transform:translateX(100%)}}
@media(max-width:1100px){.byl-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.byl-component-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.byl-component-hero-grid,.byl-component-head{grid-template-columns:1fr}.byl-component-grid{grid-template-columns:1fr}.byl-component-hero{padding-top:52px}.byl-component-section{padding:56px 0}}
@media(max-width:560px){.byl-component-summary{grid-template-columns:1fr 1fr}.byl-product-grid{grid-template-columns:1fr 1fr;gap:14px}.byl-product-media{border-radius:18px}.byl-product-body{padding-top:12px}.byl-product-title{font-size:14px}.byl-product-meta{align-items:flex-start;flex-direction:column;gap:5px}.byl-product-cta{margin-top:10px}.byl-demo-panel{padding:22px}.byl-content-card{min-height:210px;padding:22px}.byl-component-section{padding:48px 0}}
@media(max-width:390px){.byl-product-grid{grid-template-columns:1fr}.byl-component-summary{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){.byl-product-media img,.byl-product-cta .byl-icon,.byl-content-card,.byl-icon-btn,.byl-skeleton:after{transition:none;animation:none}.byl-content-card:hover{transform:none}}

/* G5.6 visual polish */
.byl-component-summary{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px 16px;padding-bottom:8px;color:var(--byl-ink-3)}
.byl-component-summary span{font-size:12px;white-space:nowrap}.byl-component-summary span+span:before{content:'·';margin-right:16px;color:#c9c1c4}.byl-component-summary strong{font-size:12px;font-weight:600;color:var(--byl-ink)}
.byl-component-section{padding:62px 0}.byl-component-head{margin-bottom:30px}
.byl-product-media{aspect-ratio:1/1.04;border-radius:22px;background:#f6f1f3;padding:18px}
.byl-product-media img{object-fit:contain;border-radius:14px;background:#fff}
.byl-product-body{display:flex;min-height:148px;flex-direction:column;padding:14px 2px 2px}
.byl-product-kicker{margin-bottom:5px;color:#91888d;font-size:9px;letter-spacing:.1em}
.byl-product-title{display:-webkit-box;min-height:40px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.byl-product-meta{margin-top:auto}.byl-product-cta{margin-top:12px;padding-top:11px}

.byl-content-card{min-height:204px;padding:24px}.byl-content-card>.byl-icon{width:36px;height:36px;margin-bottom:20px;padding:8px;border-radius:50%;background:var(--byl-brand-soft)}
.byl-content-label{margin-bottom:8px;color:var(--byl-brand);font-size:10px;font-weight:600;letter-spacing:.1em;text-transform:uppercase}
.byl-content-card.is-editorial{background:linear-gradient(180deg,#fff 0%,#fcf9fa 100%)}
.byl-content-card.is-docs{background:#fff}.byl-content-card.is-support{background:#fcf8f9}
.byl-content-card h3{font-size:20px}.byl-content-card footer{padding-top:18px}
.byl-demo-panel-quiet{padding:4px 0;border:0;border-radius:0;background:transparent}.byl-demo-panel-quiet h3{margin-bottom:20px}
.byl-empty strong{display:block}.byl-empty .byl-body-s{display:block;margin-top:6px}
@media(max-width:820px){.byl-component-section{padding:50px 0}.byl-component-summary{justify-content:flex-start;padding-bottom:0}.byl-component-head{margin-bottom:26px}}
@media(max-width:560px){.byl-component-section{padding:44px 0}.byl-product-media{padding:14px}.byl-product-body{min-height:138px}.byl-content-card{min-height:190px}.byl-component-summary{gap:6px 12px}.byl-component-summary span+span:before{margin-right:12px}}
