.pfr-actions button[aria-pressed=true]{background:#dafa65;color:#1d2619;font-weight:700}
.pfr-top-controls{display:flex;gap:16px;flex-wrap:wrap;flex-basis:100%}.pfr-top-controls label{display:grid;gap:6px;flex:1;min-width:180px;font-size:12px}.pfr-top-controls select{width:100%;min-width:0}.pfr-top-note{color:var(--pfr-muted);font-size:13px}.pfr-category{margin-top:24px}
body[data-view=photofunnel] #sectionSubnav,body[data-view=photofunnel] #modeNav{display:none!important}
html:has(body[data-view=photofunnel]),body[data-view=photofunnel]{min-width:0!important}
body[data-view=photofunnel] .notice.good{display:none}
#photofunnelView{--pfr-bg:#f5f6f1;--pfr-panel:#fff;--pfr-edge:#dce2d5;--pfr-fg:#20281c;--pfr-muted:#606c55;--pfr-photo:#edf1e4}
body[data-theme=dark] #photofunnelView,body[data-ab-theme=dark] #photofunnelView,.pfr-page[data-theme=dark]{--pfr-bg:#181e16;--pfr-panel:#242a21;--pfr-edge:#424b39;--pfr-fg:#f0f3e9;--pfr-muted:#bdc8ac;--pfr-photo:#39432c}
.pfr-page[data-theme=light]{--pfr-bg:#f5f6f1;--pfr-panel:#fff;--pfr-edge:#dce2d5;--pfr-fg:#20281c;--pfr-muted:#606c55;--pfr-photo:#edf1e4}
#photofunnelView .pfr-page{color:var(--pfr-fg);background:var(--pfr-bg);padding:16px;border-radius:16px;min-width:0}
.pfr-page *{box-sizing:border-box}.pfr-page .pfr-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;background:var(--pfr-panel);padding:20px;border:1px solid var(--pfr-edge);border-radius:14px}.pfr-heading{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.pfr-heading h2{margin:0;font-size:25px}.pfr-page small,.pfr-heading small{color:var(--pfr-muted)}.pfr-actions{display:flex;gap:8px;flex-wrap:wrap}.pfr-page button,.pfr-page select{background:var(--pfr-panel);color:var(--pfr-fg);border:1px solid var(--pfr-edge);border-radius:9px;padding:10px;font:inherit}.pfr-actions a{background:#dafa65;color:#1d2619;border-radius:9px;padding:10px 14px;text-decoration:none;font-weight:700}.pfr-select{flex-basis:100%;display:grid;gap:6px;font-size:12px;color:var(--pfr-muted)}.pfr-select select{width:100%;min-width:0;font-size:15px}.pfr-product{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:24px 0 16px}.pfr-product b{font-size:18px}.pfr-product span{color:var(--pfr-muted)}
.pfr-variant{background:var(--pfr-panel);border:1px solid var(--pfr-edge);border-radius:12px;margin-bottom:12px}.pfr-variant>summary{list-style:none;display:grid;grid-template-columns:minmax(125px,1fr) minmax(180px,1.6fr) minmax(90px,.7fr) repeat(2,minmax(110px,.9fr)) minmax(90px,.7fr);gap:16px;align-items:center;padding:16px;cursor:pointer}.pfr-variant>summary::-webkit-details-marker{display:none}.pfr-title{min-width:0;overflow-wrap:anywhere}.pfr-title b{font-size:16px}.pfr-title span,.pfr-title small{display:block;margin-top:5px;font-size:12px;color:var(--pfr-muted)}.pfr-title em{display:block;font-style:normal;font-size:12px;margin-top:8px;color:var(--pfr-muted)}.pfr-title em:after{content:'Все фото ↓'}.pfr-variant[open] .pfr-title em:after{content:'Свернуть ↑'}.pfr-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.pfr-page figure{margin:0;position:relative;min-width:0;background:var(--pfr-photo);aspect-ratio:3/4;border-radius:7px;overflow:hidden}.pfr-page figure img{display:block;width:100%;height:100%;object-fit:contain}.pfr-page figure>a,.pfr-page figure>span:not(:first-child){display:block;width:100%;height:100%}.pfr-page figure>span:first-child{position:absolute;top:3px;left:3px;background:var(--pfr-panel);padding:1px 4px;border-radius:4px;font-size:11px;z-index:1}.pfr-page figure>small{position:absolute;bottom:3px;right:3px;background:var(--pfr-panel);padding:2px 4px;font-size:11px;border-radius:4px}.pfr-missing{display:grid;place-items:center;height:100%;padding:6px;font-size:12px;color:var(--pfr-muted);text-align:center}.pfr-metric span,.pfr-metric small{display:block;font-size:12px;color:var(--pfr-muted)}.pfr-metric b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.pfr-secondary{font-size:12px;color:var(--pfr-muted);display:grid;gap:10px}.pfr-secondary b{display:block;font-weight:500}.pfr-expanded{padding:20px;border-top:1px solid var(--pfr-edge);min-width:0}.pfr-expanded h3{margin:0 0 16px;font-size:18px}.pfr-sequence{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.pfr-facts{display:flex;gap:12px 24px;flex-wrap:wrap;margin:16px 0}.pfr-expanded p{font-size:13px;color:var(--pfr-muted)}.pfr-periods>summary,.pfr-history>summary{cursor:pointer;padding:12px 0;font-weight:650}.pfr-history{margin-top:20px}.pfr-history .pf-test{margin-top:20px;color:var(--pfr-fg);background:var(--pfr-panel)}.pfr-history .pf-table-wrap{overflow:auto;max-width:100%}.pfr-history .pf-history{overflow:auto}
@media(max-width:1100px){.pfr-variant>summary{grid-template-columns:130px minmax(160px,1fr) 1fr}.pfr-sequence{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:600px){.pfr-variant>summary{grid-template-columns:1fr 1fr;padding:12px;gap:12px}.pfr-metric b{font-size:20px}.pfr-sequence{grid-template-columns:repeat(2,minmax(0,1fr))}.pfr-expanded{padding:12px}#photofunnelView .pfr-page{padding:8px}.pfr-page .pfr-header{padding:12px}}
