.fbt-pm-panel {
    --fbt-ink: #132b45;
    --fbt-muted: #506176;
    --fbt-line: #dce6ef;
    --fbt-accent: #a8490d;
    flex: 0 0 100%;
    grid-column: 1 / -1;
    clear: both;
    width: 100%;
    min-width: 0;
    margin: 0 0 1.25rem;
    border: 1px solid var(--fbt-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16,36,62,.07);
    color: var(--fbt-ink);
    text-align: start;
}
.fbt-pm-panel .fbt-pm-hero {
    padding: clamp(1.15rem,3vw,2rem);
    border-inline-start: 5px solid #f58220;
    border-radius: 15px 15px 0 0;
    background: linear-gradient(120deg,#10243e,#183d60);
    color: #fff;
}
.fbt-pm-panel .fbt-pm-hero h2 {
    margin: 0 0 .35rem;
    color: #fff;
    font-size: clamp(1.2rem,2.2vw,1.85rem);
    font-weight: 750;
    line-height: 1.5;
}
.fbt-pm-panel .fbt-pm-hero p { margin: 0; color: #e5eef8; line-height: 1.8; }
.fbt-pm-panel > nav { padding: .7rem 1rem 0; }
.fbt-pm-panel .fbt-pm-finder { padding: .7rem 1rem; }
.fbt-pm-finder > summary {
    display: flex;
    align-items: center;
    gap: .6rem;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    padding: .55rem .2rem;
}
.fbt-pm-finder > summary::-webkit-details-marker { display: none; }
.fbt-pm-finder > summary::after { content: "+"; margin-inline-start: auto; color: var(--fbt-accent); font-size: 1.4rem; }
.fbt-pm-finder[open] > summary::after { content: "−"; }
.fbt-pm-finder > summary small { font-size: .78rem; color: var(--fbt-muted); }
.fbt-pm-panel [hidden] { display: none !important; }
.fbt-pm-panel .fbt-pm-controls {
    display: grid;
    grid-template-columns: minmax(0,2fr) minmax(0,1fr);
    gap: .6rem 1rem;
    margin: .5rem 0 .75rem;
    padding: .85rem;
    border-radius: 10px;
    background: #f2f6fa;
}
.fbt-pm-controls label { font-size: .85rem; font-weight: 650; }
.fbt-pm-controls input, .fbt-pm-controls select {
    display: block;
    width: 100%;
    height: 2.65rem;
    margin-top: .3rem;
    padding: .3rem .65rem;
    border: 1px solid var(--fbt-line);
    border-radius: 8px;
    background: #fff;
    color: var(--fbt-ink);
    box-shadow: none;
}
.fbt-pm-controls p { grid-column: 1 / -1; margin: 0; color: var(--fbt-muted); font-size: .8rem; }
.fbt-pm-panel ul.fbt-pm-products {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(min(100%,265px),1fr));
    gap: .65rem;
    max-height: 27rem;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    margin: 0;
    padding: .2rem;
    list-style: none;
}
.fbt-pm-panel .fbt-pm-products > li { display: flex; margin: 0; padding: 0; list-style: none; }
.fbt-pm-panel .fbt-pm-product {
    display: grid;
    flex: 1;
    grid-template-columns: 58px minmax(0,1fr);
    align-items: start;
    gap: .4rem .65rem;
    padding: .65rem;
    border: 1px solid var(--fbt-line);
    border-radius: 10px;
    color: var(--fbt-ink);
    background: #fff;
    text-decoration: none;
}
.fbt-pm-panel .fbt-pm-product:hover { border-color: #f58220; background: #fffaf4; }
.fbt-pm-panel :is(a,summary,input,select):focus-visible { outline: 2px solid #ad520a; outline-offset: 2px; }
.fbt-pm-image { display: grid; min-height: 60px; place-items: center; background: #f5f7fa; border-radius: 7px; }
.fbt-pm-panel .fbt-pm-image img { width: 56px; height: 56px; object-fit: contain; margin: 0; }
.fbt-pm-info { display: grid; gap: .2rem; min-width: 0; }
.fbt-pm-info strong { font-size: .86rem; line-height: 1.65; }
.fbt-pm-spec { color: var(--fbt-muted); font-size: .74rem; text-align: start; overflow-wrap: anywhere; }
.fbt-pm-price { font-size: .82rem; font-weight: 700; }
.fbt-pm-action { grid-column: 2; font-size: .77rem; font-weight: 700; color: var(--fbt-accent); }
@media (max-width: 480px) {
    .fbt-pm-panel .fbt-pm-controls { grid-template-columns: 1fr; }
    .fbt-pm-panel .fbt-pm-finder { padding-inline: .65rem; }
}

.fbt-drive-cluster-panel ul.fbt-pm-products {
    max-height: none;
    overflow: visible;
    scrollbar-gutter: auto;
}
.fbt-drive-cluster-panel .fbt-pm-product {
    grid-template-columns: 76px minmax(0,1fr);
    padding: .85rem;
}
.fbt-drive-cluster-panel .fbt-pm-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.fbt-drive-cluster-panel .fbt-pm-buying,
.fbt-drive-cluster-panel .fbt-pm-contact {
    margin: .75rem 1rem 1rem;
    padding: .9rem 1rem;
    background: #f2f6fa;
    border-radius: 10px;
}
.fbt-pm-buying h3 { margin: 0 0 .3rem; font-size: 1rem; }
.fbt-pm-buying p { margin: .35rem 0; }
.fbt-pm-contact a { color: var(--fbt-accent); font-weight: 700; }
.fbt-pm-card-specs { display: grid; gap: .15rem; padding: .35rem .45rem; background: #eef4f9; border-radius: 6px; font-size: .77rem; }
.fbt-pm-facts { display: grid; grid-template-columns: repeat(auto-fit,minmax(135px,1fr)); gap: .55rem; margin: .8rem 0; }
.fbt-pm-facts div { background: #fff; border: 1px solid var(--fbt-line); padding: .65rem; border-radius: 8px; }
.fbt-pm-facts dt { color: var(--fbt-muted); font-size: .8rem; }
.fbt-pm-facts dd { margin: 0; font-weight: 700; }
.fbt-pm-table-wrap { overflow-x: auto; border: 1px solid var(--fbt-line); border-radius: 8px; background: #fff; }
.fbt-pm-table-wrap table { margin: 0; width: 100%; min-width: 580px; border-collapse: collapse; }
.fbt-pm-table-wrap :is(th,td) { text-align: start; padding: .65rem .7rem; border-bottom: 1px solid var(--fbt-line); }
.fbt-pm-table-wrap thead th { background: #183d60; color: #fff; font-size: .83rem; }
.fbt-pm-table-wrap tbody tr:nth-child(even) { background: #f7fafc; }
.fbt-pm-table-part { display: block; color: var(--fbt-muted); font-size: .74rem; font-weight: 400; }
.fbt-pm-technical a { color: var(--fbt-accent); font-weight: 700; }
