.key-data-actions { display: flex; justify-content: flex-end; margin-top: 24px; }
.key-report-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 0; background-color: #fff; background-image: linear-gradient(90deg, #111, #111); background-position: left center; background-repeat: no-repeat; background-size: 0% 100%; color: #111; box-shadow: 0 14px 34px #19202c0d; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background-size .34s cubic-bezier(.2, .8, .2, 1), color .22s ease, box-shadow .22s ease; }
.key-report-trigger:not(:disabled):is(:hover, :focus-visible) { background-size: 100% 100%; color: #fff; }
.key-report-trigger:disabled { background-size: 0% 100%; opacity: .45; cursor: default; }
.key-report-dialog { width: min(640px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 0; border-radius: 0; color: #111; background: #fff; font: inherit; box-shadow: 0 30px 90px #0f23303d, 0 2px 12px #0f233014; }
.key-report-dialog[open] { display: flex; flex-direction: column; }
.key-report-dialog::backdrop { background: #e8efeed1; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.key-report-dialog *, .key-report-dialog *::before, .key-report-dialog *::after { box-sizing: border-box; }
.key-report-dialog button, .key-report-dialog input { font: inherit; border-radius: 0; }
.key-report-dialog button { cursor: pointer; }
.key-report-dialog button:disabled { opacity: .4; cursor: default; }
.key-report-dialog :focus-visible, .key-report-trigger:focus-visible { outline: 2px solid #0f766e; outline-offset: 3px; }
.key-report-header { display: flex; flex-shrink: 0; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 28px; border-bottom: 1px solid #11182714; }
.key-report-header h2 { margin: 0; font-size: 24px; line-height: 1.3; font-weight: 600; }
.key-report-header p { margin: 8px 0 0; color: #78827f; font-size: 13px; line-height: 1.6; }
.key-report-close { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border: 0; background: transparent; color: #15151594; font-size: 30px !important; line-height: 1; }
.key-report-close:hover { background: #f0f2f1; }
.key-report-body { padding: 24px 28px; overflow-y: auto; min-height: 0; }
.key-report-scope-field { margin: 0; padding: 0; border: 0; }
.key-report-scope-field legend { padding: 0; margin-bottom: 12px; color: #323b38; font-size: 13px; font-weight: 600; }
.key-report-scopes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.key-report-scope { display: flex; align-items: flex-start; gap: 10px; padding: 18px 16px; background: #f0f2f1; cursor: pointer; }
.key-report-scope.is-selected { background: #111; color: #fff; }
.key-report-scope input, .key-report-key input { flex: 0 0 16px; width: 16px; height: 16px; margin: 2px 0 0; accent-color: #111; }
.key-report-scope.is-selected input { accent-color: #fff; }
.key-report-scope strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.4; }
.key-report-scope small { display: block; margin-top: 6px; color: #747c79; font-size: 12px; line-height: 1.5; }
.key-report-scope.is-selected small { color: #ffffffb8; }
.key-report-picker { margin-top: 24px; }
.key-report-search { width: 100%; height: 48px; border: 0; padding: 0 16px; background: #f0f2f1; color: #111; box-shadow: none; font-size: 13px !important; }
.key-report-selection { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 12px 0 8px; color: #78827f; font-size: 12px; }
.key-report-selection button { border: 0; background: transparent; padding: 6px 0 6px 14px; color: #111; font-size: 12px; }
.key-report-selection button:hover { text-decoration: underline; }
.key-report-key-list { max-height: 224px; overflow-y: auto; border: 1px solid #eef0ef; }
.key-report-key { display: flex; align-items: center; gap: 12px; padding: 16px; cursor: pointer; }
.key-report-key + .key-report-key { border-top: 1px solid #eef0ef; }
.key-report-key:hover, .key-report-key:has(input:checked) { background: #f7f8f6; }
.key-report-key > span { min-width: 0; }
.key-report-key strong { display: block; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.key-report-key small { display: block; margin-top: 5px; color: #78827f; font-size: 12px; overflow-wrap: anywhere; }
.key-report-empty { text-align: center; color: #78827f; font-size: 13px; padding: 8px; }
.key-report-details { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; padding-top: 24px; border-top: 1px solid #eef0ef; }
.key-report-details span, .key-report-details small { display: block; color: #78827f; font-size: 12px; line-height: 1.5; }
.key-report-details strong { display: block; margin: 8px 0 6px; font-size: 14px; font-weight: 600; }
.key-report-note { margin: 20px 0 0; color: #78827f; font-size: 12px; line-height: 1.7; }
.key-report-error { margin: 16px 0 0; color: #9b2727; font-size: 13px; line-height: 1.6; }
.key-report-footer { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 28px; border-top: 1px solid #11182714; background: #fff; }
.key-report-footer > span { color: #78827f; font-size: 12px; }
.key-report-footer > div { display: flex; gap: 10px; }
.key-report-footer button { min-width: 96px; min-height: 44px; padding: 0 20px; border: 0; font-size: 13px; font-weight: 600; }
.key-report-cancel { background: #f0f2f1; color: #111; }
.key-report-cancel:hover { background: #e5e8e6; }
.key-report-submit { background: #111; color: #fff; box-shadow: 0 14px 30px #11111114; }
.key-report-submit:hover { background: #303030; }
@media (max-width: 600px) {
  .key-data-actions { margin-top: 20px; }
  .key-report-trigger { width: 100%; }
  .key-report-header { padding: 22px 20px; }
  .key-report-header h2 { font-size: 22px; }
  .key-report-body { padding: 20px; }
  .key-report-scopes { gap: 8px; }
  .key-report-scope { padding: 14px 10px; gap: 8px; }
  .key-report-footer { flex-wrap: wrap; padding: 16px 20px; }
  .key-report-footer > div { margin-left: auto; }
}
