/* WritingNepal 7.58 — "Why this price?" panel (loaded with assets/js/write-depth.js) */
.ed-why{ display:flex; justify-content:space-between; align-items:center; width:100%; margin-top:10px; padding:8px 12px; border:1.5px solid var(--line); border-radius:12px; background:var(--paper-deep); color:var(--ink); font:inherit; font-size:.84rem; font-weight:800; cursor:pointer; text-align:left; }
.ed-why[hidden], .ed-whypop[hidden]{ display:none; }
.ed-why i{ font-style:normal; display:inline-grid; place-items:center; width:20px; height:20px; border-radius:50%; background:var(--clay); color:#fff; font-size:.75rem; font-weight:800; flex:0 0 auto; margin-left:8px; }
.ed-why:hover, .ed-why:focus-visible, .ed-why[aria-expanded="true"]{ border-color:var(--clay); }
.ed-whypop{ margin-top:8px; padding:12px; border:1.5px solid var(--clay); border-radius:12px; background:var(--white); font-size:.8rem; line-height:1.45; color:var(--ink); }
.ed-sugline .ed-dep{ display:inline-block; margin-left:6px; font-size:.72rem; font-weight:800; color:var(--ink-soft); }
.ed-wf{ width:100%; border-collapse:collapse; margin:0 0 8px; }
.ed-wf td{ padding:4px 0; vertical-align:top; }
.ed-wf td:last-child{ text-align:right; white-space:nowrap; font-weight:800; padding-left:10px; }
.ed-wf tr.tot td{ border-top:1.5px solid var(--line); padding-top:7px; font-weight:800; }
.ed-fac{ margin:9px 0; }
.ed-fac .h{ display:flex; justify-content:space-between; font-weight:800; }
.ed-fac .bar{ height:6px; border-radius:4px; background:var(--line); margin:3px 0; overflow:hidden; }
.ed-fac .bar span{ display:block; height:100%; border-radius:4px; transition:width .25s; }
.ed-fac p{ margin:0; color:var(--ink-soft); font-size:.76rem; }
.ed-tip{ margin-top:10px; padding:8px 10px; border-radius:8px; background:var(--paper-deep); }
.ed-conf{ margin:8px 0 0; font-size:.72rem; color:var(--ink-soft); }
@media (prefers-reduced-motion:reduce){ .ed-fac .bar span{ transition:none; } }
