/* Explicit parent-page exception; never targets picker, Core dashboards or games. */
body.ll-theme-parent-space, .ll-theme-parent-space .site-content { background: #fff7ed; }
.ll-theme-parent-space .content-container { max-width: 1120px; padding: 28px 16px 56px; }
.ll-theme-parent-space .entry { box-shadow: none; }
.ll-theme-parent-space .entry-content-wrap { padding: 0; }
.ll-theme-parent-space .ll-parent-shell, .ll-theme-parent-space .ll-parent-shell * { box-sizing: border-box; }
.ll-theme-parent-space .ll-parent-shell { display: grid; gap: 24px; min-width: 0; }
.ll-theme-parent-space .ll-parent-panel { min-width: 0; padding: clamp(18px, 3vw, 28px); border: 1px solid #eee0d0; border-radius: 16px; background: #fff; color: #2d3748; font: 16px/1.6 system-ui, sans-serif; }
.ll-theme-parent-space .llcpe-form { max-width: 100%; margin: 0 0 20px; }
.ll-theme-parent-space .llcpe-form:not(.llcpe-card) { display: flex; flex-direction: column; gap: 14px; }
.ll-theme-parent-space .llcpe-form label { font-size: 14px; font-weight: 700; }
.ll-theme-parent-space .llcpe-form input:not([type=hidden]) { width: 100%; min-width: 0; max-width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #91a4bd; border-radius: 8px; background: #fff7ed; color: #1a202c; font: inherit; }
.ll-theme-parent-space .llcpe-grid { grid-template-columns: minmax(0, 1fr); }
.ll-theme-parent-space .llcpe-card { min-width: 0; border-color: #eee0d0; align-items: stretch; }
.ll-theme-parent-space .llcpe-avatar { align-self: center; }
.ll-theme-parent-space .ll-parent-panel :is(button[type=submit], .ll-parent-action, .llcpe-form > a) { display: inline-flex; align-items: center; justify-content: center; min-height: var(--ll-button-height, 44px); max-width: 100%; padding: var(--ll-button-padding, 6px 16px); border: 1px solid #c63e00; border-radius: 8px; background: #c63e00; color: #fff; font: 700 var(--ll-button-font-size, 14px)/1.25 system-ui, sans-serif; text-decoration: none; text-align: center; white-space: normal; cursor: pointer; }
.ll-theme-parent-space .ll-parent-panel :is(button[type=submit], .ll-parent-action):is(:hover, :focus-visible) { background: #a93000; border-color: #a93000; color: #fff; }
.ll-theme-parent-space .ll-parent-panel .llcpe-form > a { background: #fff; color: #c63e00; }
.ll-theme-parent-space .ll-parent-panel .llcpe-form > a:is(:hover, :focus-visible) { background: #fff7ed; border-color: #a93000; color: #a93000; }
.ll-theme-parent-space .ll-parent-panel :is(input, button, a):focus-visible { outline: 3px solid #215387; outline-offset: 3px; }
.ll-theme-parent-space .ll-parent-visual { display: flex; align-items: center; justify-content: center; }
.ll-theme-parent-space .ll-parent-illustration { display: block; width: min(100%, 380px); height: auto; }
@media (min-width: 768px) {
 .ll-theme-parent-space .ll-parent-shell--entry:has(.ll-parent-visual) { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); align-items: center; }
 .ll-theme-parent-space .llcpe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Only the circular PIN keys override the standard submit button skin. */
.ll-theme-parent-space .ll-parent-panel .llcpe-code-keypad button { width: 56px; height: 56px; padding: 0; border: 1px solid #dce5ee; border-radius: 50%; background: #f7fafc; color: #1a202c; font: 700 20px/1.2 'Comic Neue', cursive; }
.ll-theme-parent-space .ll-parent-panel .llcpe-code-keypad button:is(:hover, :focus-visible) { background: #fff7ed; border-color: #c63e00; }
.ll-theme-parent-space .ll-parent-panel .llcpe-code-recovery button { background: #fff; border-color: #c63e00; color: #c63e00; }
.ll-theme-parent-space .ll-parent-panel .llcpe-code-recovery button:is(:hover, :focus-visible) { background: #fff7ed; border-color: #a93000; color: #a93000; }
.ll-theme-parent-space .ll-parent-panel .llcpe-code-input--enhanced input { width: 1px; min-height: 0; height: 1px; padding: 0; border: 0; }
/* Shared feedback skin, including legacy links rendered by the plugin. */
.ll-theme-parent-space .ll-parent-panel .llcpe-notice { min-width: 0; max-width: 100%; padding: 14px 16px; border: 1px solid #cce7d8; border-left: 4px solid #16803c; border-radius: 8px; background: #eefaf2; color: #2d3748; white-space: normal; overflow-wrap: anywhere; line-height: 1.6; }
.ll-theme-parent-space .ll-parent-panel .llcpe-notice--error { border-color: #f0cece; border-left-color: #b42318; background: #fff4f4; color: #9e1717; }
.ll-theme-parent-space .llcpe-code-return { min-width: 0; }
.ll-theme-parent-space .llcpe-return-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.ll-theme-parent-space .ll-parent-panel a.llcpe-link-button { display: inline-flex; align-items: center; justify-content: center; min-height: var(--ll-button-height, 44px); max-width: 100%; padding: var(--ll-button-padding, 6px 16px); border: 1px solid #c63e00; border-radius: 8px; background: #c63e00; color: #fff; font: 700 var(--ll-button-font-size, 14px)/1.25 system-ui, sans-serif; text-align: center; text-decoration: none; white-space: normal; overflow-wrap: anywhere; }
.ll-theme-parent-space .ll-parent-panel a.llcpe-link-button:is(:hover, :focus-visible) { background: #a93000; border-color: #a93000; color: #fff; }
.ll-theme-parent-space .ll-parent-panel a.llcpe-link-button--secondary { background: #fff; color: #c63e00; }
.ll-theme-parent-space .ll-parent-panel a.llcpe-link-button--secondary:is(:hover, :focus-visible) { background: #fff7ed; border-color: #a93000; color: #a93000; }
/* Red theme skin for the profile editor only; the plugin owns its behaviour. */
.ll-theme-parent-space .llcpe-profile-editor { max-width: 520px; margin-inline: auto; padding: clamp(16px, 3vw, 28px); gap: 12px; }
.ll-theme-parent-space .llcpe-profile-editor h2 { font-family: 'Comic Neue', cursive; color: #1a202c; }
.ll-theme-parent-space .llcpe-profile-editor .llcpe-choice input[type=radio] { width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; }
.ll-theme-parent-space .llcpe-profile-editor .llcpe-choice > span { border-color: #91a4bd; color: #1a202c; }
.ll-theme-parent-space .llcpe-profile-editor .llcpe-choice input:checked + span { background: #c63e00; border-color: #c63e00; color: #fff; }
.ll-theme-parent-space .llcpe-profile-editor .llcpe-avatar-choice input:checked + span { background: #fff7ed; border-color: #c63e00; }
.ll-theme-parent-space .ll-parent-panel .llcpe-profile-navigation .llcpe-profile-arrow { padding: 0; font-size: 1.7rem; }
.ll-theme-parent-space .ll-parent-panel a.llcpe-link-button--tertiary { background: #fff; border-color: transparent; color: #5A3A22; }
.ll-theme-parent-space .ll-parent-panel a.llcpe-link-button--tertiary:is(:hover, :focus-visible) { background: #fff; border-color: transparent; color: #5A3A22; }
