/* Energy potential card (v193) */
.en-card { margin: 14px 0; padding: 12px 14px; border: 1px solid var(--line, #ccc); border-radius: 10px; background: var(--card, transparent); color: var(--ink, inherit); overflow-wrap: anywhere; }
.en-card .en-h { margin: 0 0 8px; }
.en-sub, .en-msg, .en-reason, .en-note, .en-ok { margin: 6px 0; line-height: 1.45; }
.en-note { font-size: .875em; color: var(--muted, inherit); }
.en-list { list-style: none; margin: 8px 0; padding: 0; }
.en-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 6px 0; border-top: 1px solid var(--line, #ddd); }
.en-row:first-child { border-top: 0; }
.en-v { font-weight: 600; }
.en-good { color: #1f6b3a; } .en-possible { color: #8a5a00; } .en-unlikely { color: var(--muted, #666); }
html[data-theme="dark"] .en-good { color: #7fd39b; } html[data-theme="dark"] .en-possible { color: #f0c46b; }
.en-card .btn { min-height: 44px; max-width: 100%; white-space: normal; text-align: left; }
.en-form { display: grid; gap: 10px; margin-top: 8px; }
.en-f { display: grid; gap: 4px; font-weight: 600; }
.en-f input { min-height: 44px; font: inherit; padding: 8px 10px; border: 1px solid var(--line-strong, #999); border-radius: 8px; background: var(--card2, #fff); color: var(--ink, inherit); width: 100%; box-sizing: border-box; }
.en-c { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.en-c input { width: 22px; height: 22px; flex: 0 0 auto; margin-top: 2px; }
.en-err { color: var(--warn, #b00020); font-weight: 600; margin: 0; }
.en-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.en-card, .en-card * { box-sizing: border-box; min-width: 0; max-width: 100%; }
.en-card .en-h { overflow-wrap: anywhere; letter-spacing: normal; }
.en-c { flex-wrap: wrap; } .en-c > span { flex: 1 1 8em; overflow-wrap: anywhere; }
/* v196 */
.en-hd { display:flex; flex-wrap:wrap; align-items:flex-start; gap:4px 8px; justify-content:space-between; }
.en-info { flex:1 1 100%; } .en-hd .en-h { flex:1 1 auto; }
.en-hd { position:relative; } .en-info summary { cursor:pointer; list-style:none; display:inline-flex; align-items:center; gap:6px; min-height:44px; color:var(--accent, inherit); font-weight:600; }
.en-info summary::-webkit-details-marker { display:none; }
.en-info p { margin:4px 0 8px; line-height:1.45; }
.en-why { flex:1 1 100%; font-size:.92em; color:var(--muted, inherit); line-height:1.4; }
.en-err { color:#a11226; }
html[data-theme="dark"] .en-err { color:#ff9a9a; }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) .en-err { color:#ff9a9a; } }
.bf-enq { margin:6px 0; }
.en-card [hidden] { display:none !important; }
/* v216: item page accordion = one flat list (no per-row boxes), hairline dividers, even padding, value wraps to 2 lines */
#bf-detail .next-action { margin: 16px 0 0 !important; padding: 14px 2px !important; border: 0 !important; border-top: 1px solid var(--line) !important; border-radius: 0 !important; background: none !important; line-height: 1.45; }
#bf-detail .next-action + .sects, #bf-detail .next-action + * .sects { margin-top: 0 !important; }
#bf-detail .sects { border-top: 1px solid var(--line) !important; }
#bf-detail .sects .owner-block, #bf-detail .sects .pipe-panels { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; }
#bf-detail .sects details.sect, #bf-detail .sects .pipe-panels > details, #bf-detail .sects .owner-block details { margin: 0 !important; padding: 0 2px !important; border: 0 !important; border-bottom: 1px solid var(--line) !important; border-radius: 0 !important; background: none !important; }
#bf-detail .sects details.sect > summary { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 0 !important; margin: 0 !important; flex-wrap: nowrap; }
#bf-detail .sects .sect-t { flex: 0 0 auto; max-width: 48%; line-height: 1.3; }
#bf-detail .sects .sect-meta { flex: 1 1 auto; min-width: 0; margin-left: auto; justify-content: flex-end; white-space: normal !important; overflow: hidden; text-overflow: clip; text-align: right; line-height: 1.35; overflow-wrap: normal; word-break: normal; }
#bf-detail .sects .sect-meta .sum-note { white-space: normal !important; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
#bf-detail .sects details.sect[open] { padding-bottom: 16px !important; }
#bf-detail .sects details.sect > .card, #bf-detail .sects details.sect > .mini, #bf-detail .sects details.sect > .owner-block, #bf-detail .sects details.sect > .pipe-panels > details, #bf-detail .sects details.sect > div > .card { border: 0 !important; border-radius: 0 !important; background: none !important; padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
