/* One scoped palette for the new PDF entry and report, in both appearances. */
html[data-sad-theme] body.sad-unified-theme #main-content :is(#sad-pdf-entry,#sad-filecheck){--fc-bg:#fffdf8;--fc-text:#242424;--fc-muted:#514b41;--fc-panel:#f3eee4;--fc-border:#b8aa91;--fc-warn:#754900;box-sizing:border-box!important;background:var(--fc-bg)!important;color:var(--fc-text)!important;-webkit-text-fill-color:var(--fc-text)!important;border:1px solid var(--fc-border)!important;padding:18px!important;margin-top:16px!important;border-radius:4px!important;font-size:15px!important;line-height:1.5!important;overflow-wrap:anywhere}
html[data-sad-theme="dark"] body.sad-unified-theme #main-content :is(#sad-pdf-entry,#sad-filecheck){--fc-bg:#1a1d20;--fc-text:#f5f5f5;--fc-muted:#d2d5d8;--fc-panel:#222629;--fc-border:#64696d;--fc-warn:#f4cb78}
html[data-sad-theme] body.sad-unified-theme #main-content :is(#sad-pdf-entry,#sad-filecheck) *{-webkit-text-fill-color:currentColor!important;box-sizing:border-box!important}
html[data-sad-theme] body.sad-unified-theme #main-content :is(#sad-pdf-entry,#sad-filecheck) :is(p,label,h3,strong,small){color:var(--fc-text)!important;opacity:1!important}
html[data-sad-theme] body.sad-unified-theme #main-content :is(#sad-pdf-entry,#sad-filecheck) p{margin:8px 0!important;font-size:14px!important;line-height:1.5!important}
html[data-sad-theme] body.sad-unified-theme #main-content :is(#sad-pdf-entry,#sad-filecheck) h3{margin:0 0 8px!important;font-size:19px!important;line-height:1.25!important}
html[data-sad-theme] body.sad-unified-theme #main-content :is(#sad-pdf-entry,#sad-filecheck) :is(.sad-fc-small,[data-intake-status]){color:var(--fc-muted)!important;font-size:13px!important}
html[data-sad-theme] body.sad-unified-theme #main-content :is(#sad-pdf-entry,#sad-filecheck) .sad-fc-warning{color:var(--fc-warn)!important;font-weight:700!important}
html[data-sad-theme] body.sad-unified-theme #main-content :is(#sad-pdf-entry,#sad-filecheck) button{background:#e0b84d!important;border:1px solid #91721e!important;color:#111!important;opacity:1!important;min-height:44px!important;padding:10px 14px!important;border-radius:3px!important;font:inherit!important;font-weight:700!important;cursor:pointer!important;white-space:normal!important;text-transform:none!important;line-height:1.35!important}
html[data-sad-theme] body.sad-unified-theme #main-content :is(#sad-pdf-entry,#sad-filecheck) button:hover{background:#efca69!important}
html[data-sad-theme] body.sad-unified-theme #main-content :is(#sad-pdf-entry,#sad-filecheck) button:disabled{opacity:.6!important;cursor:wait!important}
html[data-sad-theme] body.sad-unified-theme #main-content :is(#sad-pdf-entry,#sad-filecheck) [data-intake-remove]{background:var(--fc-panel)!important;color:var(--fc-text)!important;border-color:var(--fc-border)!important}
html[data-sad-theme] body.sad-unified-theme #main-content :is(#sad-pdf-entry,#sad-filecheck) :is(button,select):focus-visible{outline:3px solid #ad790d!important;outline-offset:3px!important}
html[data-sad-theme] body.sad-unified-theme #main-content :is(#sad-pdf-entry,#sad-filecheck) select{width:100%!important;min-height:44px!important;background:var(--fc-panel)!important;color:var(--fc-text)!important;border:1px solid var(--fc-border)!important;border-radius:3px!important;font-size:16px!important;padding:8px!important;margin-top:5px!important}
html[data-sad-theme] body.sad-unified-theme #main-content #sad-pdf-entry [data-intake-controls]{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;margin-top:12px!important}
html[data-sad-theme] body.sad-unified-theme #main-content :is(#sad-pdf-entry,#sad-filecheck) [hidden]{display:none!important}
html[data-sad-theme] body.sad-unified-theme #main-content #sad-pdf-entry.is-dragover{outline:3px dashed #e0b84d!important;outline-offset:3px!important}
html[data-sad-theme] body.sad-unified-theme #main-content #sad-filecheck .sad-fc-result{background:var(--fc-panel)!important;border:1px solid var(--fc-border)!important;border-radius:3px!important;padding:12px!important;margin:12px 0!important}
