:root { color-scheme: light; font-family: "Segoe UI", system-ui, sans-serif; color: #19263d; background: #f5f7fb; font-synthesis: none; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: #386d57; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #86b99f; outline-offset: 4px; }
.page { width: min(100% - 48px, 1200px); margin: 0 auto; padding: 34px 0 24px; }
.brand { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 19px; font-weight: 750; letter-spacing: -.5px; }
.brand-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #233c35; color: #b7f5d3; flex-shrink: 0; }
.brand-icon svg { width: 25px; height: 25px; }
.brand-name { flex: 1; min-width: 0; }
.brand-name a { color: inherit; text-decoration: none; }
.brand-tagline { flex-basis: 100%; margin: 0; font-size: 13px; font-weight: 400; line-height: 1.7; color: #647085; letter-spacing: 0; }
.badge { display: inline-block; font-size: 9px; font-weight: 750; letter-spacing: 1px; color: #426957; background: #e6f3eb; border-radius: 5px; padding: 7px 9px; white-space: nowrap; }
.badge.warning { color: #785619; background: #fff1cd; }
.intro { margin: 35px 0 26px; }
.eyebrow, .step { font-size: 11px; font-weight: 750; letter-spacing: 1.8px; color: #526c64; }
h1 { font-size: clamp(38px, 5.5vw, 54px); line-height: 1.1; letter-spacing: -2.3px; margin: 16px 0; font-weight: 750; }
h1 span { color: #43826b; }
.intro > p:last-child { color: #647085; font-size: 16px; line-height: 1.7; }
h2 { font-size: 23px; letter-spacing: -.7px; margin: 10px 0 18px; }
.file-panel, .results { border: 1px solid #e0e6ec; border-radius: 18px; background: white; box-shadow: 0 8px 28px #19263d05; }
.file-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.file-card { padding: 25px 28px 18px; min-width: 0; }
.file-card + .file-card { border-left: 1px solid #e7ece9; }
.drop-zone { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; padding: 23px 12px; background: #fafcfb; border: 1px dashed #a5bfb0; border-radius: 11px; color: #284d3f; }
.drop-zone strong { font-size: 14px; }
.drop-zone span { font-size: 12px; color: #6a7587; }
.drop-zone:hover:not(:disabled), .file-card.drag-over .drop-zone { background: #edf5f0; border-color: #43826b; }
.drop-zone:disabled { opacity: .6; }
.file-name { font-size: 13px; font-weight: 650; overflow-wrap: anywhere; unicode-bidi: plaintext; margin: 15px 0 6px; }
.hint { font-size: 11px; line-height: 1.8; color: #6a7587; margin: 8px 0; overflow-wrap: anywhere; }
.file-actions { display: flex; gap: 18px; align-items: center; min-height: 36px; }
.file-actions a, .text-button { font-size: 12px; font-weight: 650; }
.text-button { border: 0; background: none; color: #386d57; padding: 9px 2px; text-decoration: underline; text-underline-offset: 3px; }
.text-button:disabled { color: #818a96; text-decoration: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 20px 28px 10px; border-top: 1px solid #e7ece9; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 11px 20px; min-height: 44px; border-radius: 9px; border: 1px solid transparent; font-size: 13px; font-weight: 650; }
.primary { color: white; background: #284d3f; min-width: 200px; }
.primary:hover:not(:disabled) { background: #1c3a2e; }
.secondary { background: white; color: #284d3f; border-color: #cbd9d1; }
.secondary:hover:not(:disabled) { background: #edf5f0; }
.button:disabled { background: #f4f6f8; border-color: #e5e9ee; color: #727e8e; }
.feedback { padding: 0 28px 15px; font-size: 12px; line-height: 1.8; }
#status { color: #53665d; }
.error { color: #b42336; white-space: pre-line; overflow-wrap: anywhere; }
.scope { margin: 19px 0; color: #647085; font-size: 12px; line-height: 1.8; }
.scope summary { cursor: pointer; color: #386d57; font-weight: 650; }
.scope p { max-width: 950px; }
.results { margin-top: 22px; padding: 25px 28px; }
.result-heading { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-start; }
.result-heading h2 { margin-bottom: 9px; }
.description { color: #647085; font-size: 13px; line-height: 1.8; margin: 0; }
.coverage { color: #6d5939; background: #fff9eb; border: 1px solid #e5d4ad; border-radius: 10px; padding: 16px 18px; margin-top: 17px; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.coverage ul { margin: 8px 0 0; padding-left: 20px; }
.coverage li + li { margin-top: 7px; }
.review-note { font-size: 12px; color: #647085; line-height: 1.8; margin: 18px 0; }
.review-note strong { color: #52665b; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 11px; color: #647085; margin: 22px 0 16px; }
.removed-key { color: #a0253a; background: #fff0f2; padding: 4px 8px; border-radius: 4px; }
.added-key { color: #1d6743; background: #e8f5ed; padding: 4px 8px; border-radius: 4px; }
.changes { list-style: none; padding: 0; margin: 0; }
.change { border: 1px solid #dce4df; border-radius: 11px; margin: 0 0 20px; overflow: hidden; }
.change-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 13px 17px; background: #f6f9f7; border-bottom: 1px solid #e3eae6; }
.change-heading h3 { font-size: 13px; font-weight: 700; margin: 0; }
.change-heading .field-name { font-size: 12px; color: #596e62; overflow-wrap: anywhere; }
.change-sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.change-side { padding: 16px 18px; min-width: 0; }
.change-side + .change-side { border-left: 1px solid #e3eae6; }
.side-heading { display: flex; flex-wrap: wrap; gap: 8px 12px; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 650; color: #647085; margin-bottom: 12px; }
.change-text { font-family: Georgia, "Times New Roman", serif; font-size: 16px; line-height: 1.95; overflow-wrap: anywhere; white-space: pre-wrap; margin: 0; }
.change-text del { color: #912039; background: #ffe9ee; text-decoration-thickness: 1px; }
.change-text ins { color: #165c39; background: #dcf3e5; text-decoration-thickness: 1px; }
.ellipsis, .no-text { color: #87928c; }
.no-text { font-size: 13px; font-style: italic; }
.result-navigation { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; color: #647085; }
footer { color: #737f91; font-size: 11px; text-align: center; line-height: 1.9; margin: 24px auto 0; max-width: 850px; }
@media (max-width: 700px) {
  .page { width: calc(100% - 28px); padding-top: 24px; }
  .brand { font-size: 17px; }
  .intro { margin-top: 27px; }
  h1 { letter-spacing: -1.6px; }
  .file-grid, .change-sides { grid-template-columns: 1fr; }
  .file-card, .results { padding: 22px 18px; }
  .file-card + .file-card, .change-side + .change-side { border-left: 0; border-top: 1px solid #e3eae6; }
  .actions { padding: 18px 18px 8px; }
  .actions .primary { width: 100%; }
  .feedback { padding: 0 18px 12px; }
  .change-side { padding: 14px; }
  .change-text { font-size: 15px; }
  .result-navigation .button { padding: 9px 12px; font-size: 12px; }
}
