/* Dedicated, user-approved parent screen; no selectors affecting other Core or SBO screens. */
body.ll-theme-parent-dashboard, .ll-theme-parent-dashboard .site-content { background: #f7fafc; }
.ll-theme-parent-dashboard .entry-content-wrap { padding: 0; }
.ll-parent-dashboard { --llpd-red: #c63e00; --llpd-acquis: #24694c; --llpd-fragile: #d97b00; --llpd-rework: #a32932; color: #2d3748; font: 15px/1.5 system-ui, sans-serif; max-width: 1200px; margin-inline: auto; padding: 16px; box-sizing: border-box; }
.ll-parent-dashboard * { box-sizing: border-box; }
.ll-parent-dashboard :is(h1, h2) { font-family: 'Comic Neue', cursive; color: #1a202c; line-height: 1.25; }
.ll-parent-dashboard h1 { font-size: clamp(1.6rem, 5vw, 2rem); margin: 0 0 8px; }
.ll-parent-dashboard h2 { font-size: 1.2rem; margin: 0 0 8px; }
.llpd-subtitle { margin: 0 0 20px; font-size: .9rem; }
.llpd-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.llpd-panel { min-width: 0; padding: 18px; border: 1px solid #e3eaf1; border-radius: 14px; background: #fff; box-shadow: 0 6px 14px rgb(30 50 70 / 6%); }
.llpd-panel p { margin: 6px 0; }
.ll-parent-dashboard .llpd-metrics h2 { display: flex; align-items: center; gap: 6px; font: 700 6px/1.4 system-ui, sans-serif; }
.llpd-metric-title::before { content: ''; display: block; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--llpd-metric-color); }
.llpd-metric-title--modules { --llpd-metric-color: var(--llpd-red); }
.llpd-metric-title--acquis { --llpd-metric-color: var(--llpd-acquis); }
.llpd-metric-title--fragile { --llpd-metric-color: var(--llpd-fragile); }
.llpd-metric-title--rework { --llpd-metric-color: var(--llpd-rework); }
.llpd-metric-title--time { --llpd-metric-color: #4074b8; }
.ll-parent-dashboard .llpd-metrics :is(.llpd-metric-title--acquis, .llpd-metric-title--fragile, .llpd-metric-title--rework) { color: var(--llpd-metric-color); }
.llpd-metrics strong { display: block; font-size: 1.6rem; color: #1a202c; }
.llpd-metrics p { font-size: .8rem; }
.llpd-columns, .llpd-right-column { display: grid; gap: 18px; }
.llpd-columns { margin-bottom: 20px; }
.llpd-family { margin-top: 20px; }
.llpd-family > div:first-child { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.llpd-family small { display: block; margin-top: 4px; }
.llpd-bar { display: flex; height: 10px; border-radius: 6px; overflow: hidden; margin-top: 6px; }
.llpd-state-acquis { background: var(--llpd-acquis); }
.llpd-state-fragile { background: var(--llpd-fragile); }
.llpd-state-rework { background: var(--llpd-rework); }
.llpd-comment { background: #fff3e3; padding: 14px; border-radius: 10px; margin-top: 12px; overflow-wrap: anywhere; white-space: normal; }
.llpd-comment small { display: block; }
.llpd-comments-scroll { max-height: 350px; overflow-y: auto; scrollbar-color: #24694c #e6f4ea; padding-right: 6px; }
.llpd-comments-scroll:focus-visible { outline: 2px solid #24694c; outline-offset: 3px; }
.llpd-advice h2 { display: flex; align-items: center; gap: 12px; }
.llpd-advice-image { width: 42px; height: 42px; object-fit: contain; flex: 0 0 42px; }
.llpd-detail-link { margin-bottom: 0; }
.ll-parent-dashboard #llpd-words { scroll-margin-top: 110px; }
.llpd-detail-link a { display: inline-flex; align-items: center; min-height: 44px; color: #c63e00; text-underline-offset: 3px; }
.llpd-detail-link a:is(:hover, :focus-visible) { color: #a93000; }
.llpd-comment a { display: inline-flex; align-items: center; min-height: 44px; color: #c63e00; text-underline-offset: 3px; overflow-wrap: anywhere; }
.llpd-comment a:is(:hover, :focus-visible) { color: #a93000; }
/* Editorial-link appearance: POST selects the consulted child through the existing protected action. */
.ll-parent-dashboard .llpd-comment-open { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #c63e00; font: inherit; text-align: left; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; cursor: pointer; }
.ll-parent-dashboard .llpd-comment-open:is(:hover, :focus-visible) { background: transparent; color: #a93000; }
.llpd-advice { border-color: #f1c5ac; background: #fff7ed; }
.llpd-advice ul { padding-left: 20px; margin: 8px 0; }
.llpd-advice li { margin: 10px 0; }
.llpd-word-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.llpd-word-heading nav { display: flex; flex-wrap: wrap; gap: 8px; }
/* Explicit theme-aligned exception to the Core's orange button preset. */
.ll-parent-dashboard .llpd-button, a.llpd-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 16px; border: 1px solid #c63e00; border-radius: 8px; background: #c63e00; color: #fff; font: 800 .95rem/1.2 system-ui, sans-serif; text-align: center; text-decoration: none; transition: background-color .16s, border-color .16s, color .16s, transform .16s; }
.ll-parent-dashboard .llpd-button--secondary { background: #fff; color: #c63e00; }
.ll-parent-dashboard .llpd-button:is(:hover, :focus-visible) { background: #a93000; border-color: #a93000; color: #fff; transform: translateY(-1px); }
.ll-parent-dashboard .llpd-button--secondary:is(:hover, :focus-visible) { background: #fff7ed; color: #a93000; }
.ll-parent-dashboard :is(a, .llpd-table-scroll):focus-visible { outline: 3px solid #215387; outline-offset: 3px; }
.llpd-table-scroll { overflow-x: auto; max-width: 100%; margin-top: 18px; }
.llpd-table-scroll table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .85rem; }
.llpd-table-scroll :is(th, td) { padding: 12px 8px; border-bottom: 1px solid #e3eaf1; text-align: left; }
.llpd-status { display: inline-block; padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
.llpd-status-acquis { color: #18563b; background: #e5f3ea; }
.llpd-status-fragile { color: #814900; background: #fff1c2; }
.llpd-status-rework { color: #94202b; background: #ffe6e8; }
.llpd-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
@media (min-width: 768px) { .llpd-metrics { grid-template-columns: repeat(5, minmax(0, 1fr)); } .llpd-columns { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
