/* Scoped presentation: normal compact tables and 26 px controls stay intact. */
.plan-review-intro{max-width:1100px;margin:0 0 14px}
.plan-review-card{border:1px solid var(--line);border-radius:6px;background:var(--paper);padding:12px;margin-bottom:16px}
.plan-review-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.plan-review-heading h2{font-size:16px;margin:0 0 4px}.plan-review-meta{color:var(--muted);font-size:12px}
.plan-review-stats{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
.plan-review-stats span{border:1px solid var(--line);border-radius:4px;padding:5px 8px;background:var(--bg);font-size:12px}
.plan-review-stats b{font-size:14px;margin-right:4px;color:var(--ink)}
.plan-review-note{font-size:12px;line-height:1.45;margin:8px 0;color:var(--muted)}
.plan-review-table-wrap{max-height:410px;overflow:auto;border:1px solid var(--line);border-radius:4px}
.plan-review-table{table-layout:fixed;min-width:1320px;width:100%}
.plan-review-table th{position:sticky;top:0;z-index:2;background:var(--bg)}
.plan-review-table th:nth-child(1){width:230px}.plan-review-table th:nth-child(2){width:150px}.plan-review-table th:nth-child(3){width:160px}.plan-review-table th:nth-child(4),.plan-review-table th:nth-child(5){width:285px}.plan-review-table th:nth-child(6){width:310px}
.plan-review-table td{height:31px;padding:2px 6px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.plan-review-table td:last-child{white-space:normal;overflow:visible}.plan-review-table td:last-child:empty{padding:0}
.plan-review-table td:last-child details>summary{min-height:26px;display:block;line-height:26px;cursor:pointer;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.plan-review-table td:last-child details>summary:before{content:'▸ ';color:var(--muted)}.plan-review-table td:last-child details[open]>summary:before{content:'▾ '}
.plan-review-table td:last-child details[open]{padding:4px 0}.plan-review-table td:last-child p{margin:4px 0;line-height:1.4}
.plan-review-publish{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding-top:10px;border-top:1px solid var(--line)}
.plan-review-publish p{margin:0;font-size:12px;max-width:950px}.plan-review-publish form{flex:none}
.plan-review-extra{margin-top:10px;font-size:12px}.plan-review-extra>summary{cursor:pointer;min-height:26px;line-height:26px}
.plan-review-history td,.plan-review-history th{font-size:12px;height:31px;padding:2px 6px}.plan-review-history td{white-space:nowrap}
.plan-review-history td:last-child{width:150px}.plan-review-selected td{background:var(--bg)}
.plan-review-state{font-size:12px;font-weight:600}.plan-review-state.draft{color:var(--amber)}
@media(max-width:760px){.plan-review-card{padding:8px}.plan-review-stats{gap:4px}.plan-review-publish{align-items:flex-start;flex-direction:column}.plan-review-publish form,.plan-review-publish button{width:100%}.plan-review-table-wrap{max-height:440px}.plan-review-history{min-width:900px}}
