.ph { scroll-margin-top:24px }
.ph-board { border:1px solid var(--line); border-radius:18px; overflow:hidden; background:var(--cream) }
.ph-board>p { margin:18px }
.ph-controls { display:flex; flex-wrap:wrap; gap:12px; padding:17px 21px; background:#eaf0e3; border-bottom:1px solid #cfd7c7 }
.ph-controls label { flex:1 1 132px; display:grid; align-content:start; gap:4px; min-width:0; color:#314b3b; font-size:.81rem; font-weight:650 }
.ph-controls select { width:100%; min-width:0; min-height:39px; border:1px solid #98a595; border-radius:8px; padding:6px 9px; background:#fff; color:var(--ink); font:inherit }
.ph-view { padding:clamp(15px,3vw,28px); min-width:0 }
.ph-view-head { display:flex; justify-content:space-between; gap:15px; align-items:flex-start }
.ph-series { display:block; overflow-wrap:anywhere; color:var(--muted); font-size:.82rem; font-weight:650 }
.ph-view h3 { margin:10px 0 1px; color:var(--ink); font:640 .98rem/1.35 var(--head) }
.ph-price { display:block; color:var(--green); font:770 clamp(2rem,4vw,2.8rem)/1.05 var(--head); letter-spacing:-.045em; font-variant-numeric:tabular-nums }
.ph-change { display:block; margin-top:7px; font-size:.87rem; color:var(--muted) }
.ph-last { margin:0; text-align:right; color:var(--ink); font-size:.84rem; line-height:1.45 }
.ph-last time,.ph-last span { display:block }.ph-last span { color:var(--muted) }
.ph-chart { margin:18px 0 12px; padding:14px 16px 11px; border:1px solid #d8dfcf; border-radius:12px; background:#f5f7ee }
.ph-chart figcaption,.ph-period,.ph-no-price { margin:9px 0 0; color:var(--muted); font-size:.83rem }
.ph-single { display:flex; justify-content:center; align-items:center; gap:15px; min-height:76px }
.ph-single div span,.ph-single div strong { display:block }.ph-single strong { color:var(--green); font:730 1.15rem/1.3 var(--head) }.ph-single div span { color:var(--muted); font-size:.84rem }
.ph-mark { display:block; width:13px; height:13px; border:2px solid #fff; border-radius:50%; background:#246643; outline:7px solid #d6e4cc }
.ph-plot { display:grid; grid-template-columns:auto minmax(0,1fr); gap:6px 12px; padding:6px 4px 0 }
.ph-y { display:flex; flex-direction:column; justify-content:space-between; align-items:flex-end; margin:-8px 0; font-size:.75rem; color:var(--muted) }
.ph-plane { position:relative; height:160px; margin:0 4px; display:flex; flex-direction:column; justify-content:space-between }
.ph-plane i { height:1px; width:100%; background:#cfd9c8 }.ph-plane svg { position:absolute; inset:0; width:100%; height:100%; overflow:visible }
.ph-plane polyline { fill:none; stroke:#296948; stroke-width:2.5px; stroke-linecap:round; stroke-linejoin:round; vector-effect:non-scaling-stroke }
.ph-dot { position:absolute; transform:translate(-50%,-50%); width:7px; height:7px; border:1px solid var(--cream); background:#235f40; border-radius:50% }
.ph-x { grid-column:2; display:flex; justify-content:space-between; gap:8px; margin-top:3px; font-size:.75rem; color:var(--muted) }
.ph-details { margin-top:14px; border-top:1px solid var(--line) }.ph-details summary { padding:10px 0 6px; cursor:pointer; color:var(--green); font-weight:680; font-size:.9rem }
.ph-details table { width:100%; font-size:.87rem; overflow-wrap:anywhere }.ph-details caption { text-align:left; margin:4px 0 8px; color:var(--muted); font-size:.82rem }.ph-details th,.ph-details td { padding:8px 9px }
.ph-source { display:inline-block; margin-top:7px; color:var(--green); font-size:.84rem; font-weight:650 }
.ph-promo-title { margin:22px 0 10px; font:720 1.35rem/1.2 var(--head) }
.ph-promos { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr)); gap:12px }
.ph-promo { padding:15px 18px; background:#fffaf0; border:1px solid #dfd1af; border-radius:14px }.ph-promo h4 { margin:5px 0 2px; font:680 1.07rem/1.3 var(--head) }
.ph-promo>strong { font:750 1.55rem/1.3 var(--head); color:#624821 }.ph-promo p,.ph-promo a { margin:5px 0; font-size:.87rem }.ph-promo .ph-promo-date,.ph-promo .ph-reference { color:var(--muted); font-size:.81rem }.ph-promo a { font-weight:650 }
.ph-sr { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap }
@media(max-width:650px) {
  .ph-controls { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; padding:12px }
  .ph-controls:has(label:last-child:nth-child(3)) label:last-child { grid-column:1/-1 }.ph-controls select { font-size:1rem }
  .ph-chart { padding:12px 9px 9px }.ph-plane { height:124px }.ph-plot { gap:5px 6px }.ph-last { max-width:41% }
  .ph-details th,.ph-details td { padding:7px 5px; font-size:.78rem }
}
@media(max-width:360px) { .ph-view { padding:12px }.ph-chart figcaption { font-size:.76rem } }
@media print { .ph-controls,.ph-source { display:none }.ph-board { overflow:visible } }
