:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#17212d;background:#f4f7f9;font-synthesis:none;--ink:#17212d;--muted:#5c6976;--line:#d5dfe5;--blue:#126b8d;--blue-dark:#085271;--surface:#fff;--added:#e6f5ed;--removed:#fcebe9;--changed:#fff4df;--type:#ececff}
*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit}.wrap{max-width:1340px;margin:auto;padding-inline:clamp(18px,3vw,42px)}.site-header{background:#102c3c;color:#fff;border-bottom:3px solid #21a7b4}.header-row{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{text-decoration:none;font-family:Consolas,"SFMono-Regular",monospace;font-size:16px;font-weight:800;letter-spacing:.05em;white-space:nowrap}.brand span{color:#47c5cc}.prototype-tag{font:700 11px Consolas,monospace;letter-spacing:.08em;color:#c0d8df;border:1px solid #4d7180;padding:7px 9px;border-radius:5px}.site-header nav{display:flex;gap:6px}.site-header nav a{color:#d1e1e5;text-decoration:none;padding:10px 13px;border-radius:6px;font-size:13px;font-weight:650}.site-header nav a:hover,.site-header nav a[aria-current]{background:#274858;color:#fff}.eyebrow{font:700 11px Consolas,monospace;letter-spacing:.12em;color:#19738b;margin:0 0 9px}h1{font-size:clamp(30px,3vw,43px);line-height:1.14;letter-spacing:-.04em;margin:0}h2{font-size:21px;letter-spacing:-.025em;margin:0}.home{padding-top:clamp(55px,8vw,120px);padding-bottom:90px}.intro{max-width:600px;font-size:17px;line-height:1.6;color:var(--muted);margin:18px 0 35px}.tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:950px}.tool-card{display:flex;align-items:center;gap:20px;min-height:170px;padding:26px;background:var(--surface);border:1px solid var(--line);border-radius:10px;text-decoration:none;box-shadow:0 4px 18px #1234450a;transition:border-color .15s,transform .15s}.tool-card:hover{border-color:#62a5b4;transform:translateY(-2px)}.card-icon{display:grid;place-items:center;width:62px;height:62px;flex:none;background:#e6f2f5;border:1px solid #c6e2e9;border-radius:8px;color:#126b8d;font:700 26px Consolas,monospace}.card-copy{display:grid;gap:8px}.card-copy strong{font-size:20px}.card-copy small{font-size:14px;color:var(--muted);line-height:1.45}.card-arrow{margin-left:auto;align-self:flex-start;color:#19738b;font-size:22px}.qualities{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}.qualities span{border:1px solid var(--line);background:#eaf0f3;border-radius:4px;padding:8px 10px;color:#425563;font-size:12px;font-weight:600}.footer{font-size:12px;color:#6d7b86;padding-top:25px;padding-bottom:28px}.workspace{padding-top:32px}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px}.page-heading p:not(.eyebrow){margin:9px 0 0;color:var(--muted);font-size:14px}.privacy-note{max-width:360px;padding:9px 13px;border-left:3px solid #21a7b4;background:#eaf5f6;color:#315665;font-size:12px;line-height:1.45}.editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.editor-card{background:var(--surface);border:1px solid var(--line);border-radius:8px;overflow:hidden;box-shadow:0 2px 12px #12344508}.editor-top{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:11px 13px;background:#f9fbfc;border-bottom:1px solid var(--line)}.editor-top>label{font-weight:750;font-size:13px;white-space:nowrap}.editor-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}.editor-actions button,.small-button,.result-nav button,.secondary{border:1px solid #cad8df;background:#fff;color:#245268;border-radius:5px;padding:7px 10px;font-size:12px;font-weight:650;text-align:center}.editor-actions button:hover,.small-button:hover,.result-nav button:hover,.secondary:hover{background:#edf5f7;border-color:#78abb8}.file-button{cursor:pointer}.file-button input{position:absolute;width:1px;height:1px;opacity:0}.file-button:focus-within{outline:3px solid #78c9df;outline-offset:2px}.editor-card textarea{display:block;width:100%;height:300px;resize:vertical;border:0;outline:0;padding:15px;color:var(--ink);background:#fff;font:13px/1.6 Consolas,"SFMono-Regular",monospace;tab-size:2}.editor-card textarea:focus{box-shadow:inset 0 0 0 2px #7bc4d3}.editor-card textarea::placeholder{color:#9aa9b2}.input-meta{border-top:1px solid #e7edf0;padding:7px 13px;color:#74828c;font:11px Consolas,monospace}.control-bar{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;margin:16px 0}.mode-control{display:flex;align-items:center;gap:13px;flex-wrap:wrap;font-size:13px}.mode-control>span{font-weight:750;color:#314959}.mode-control label{display:inline-flex;align-items:center;gap:5px;color:#405563}.mode-control input[type=checkbox],.mode-control input[type=radio]{accent-color:var(--blue);width:15px;height:15px}.field-label input{width:100px;padding:7px 9px;border:1px solid var(--line);border-radius:5px;background:#fff}.field-label input:disabled{background:#e9eef1}.main-actions{display:flex;align-items:center;gap:8px}.main-actions button{min-height:37px}.primary{border:1px solid var(--blue-dark);background:var(--blue);color:#fff;border-radius:5px;padding:8px 22px;font-weight:750;font-size:13px}.primary:hover{background:var(--blue-dark)}.status{min-height:41px;padding:11px 13px;border:1px solid #d3e3e8;border-radius:6px;background:#edf5f7;color:#315868;font-size:13px}.status.warning{border-color:#edd6a7;background:#fff8e9;color:#755418}.status.error{border-color:#ebbbb8;background:#fff0ee;color:#842e29}.status.success{border-color:#bcdec9;background:#edf8f1;color:#286045}.result-section{background:#fff;border:1px solid var(--line);border-radius:8px;margin-top:19px;padding:20px;min-height:200px}.result-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap}.result-nav{display:flex;gap:7px;flex-wrap:wrap}.summary{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0 15px}.summary:empty{display:none}.summary span{padding:7px 10px;border-radius:5px;border:1px solid var(--line);font-size:12px;font-weight:700}.summary .added{background:var(--added)}.summary .removed{background:var(--removed)}.summary .changed{background:var(--changed)}.summary .type-changed{background:var(--type)}.errors:empty{display:none}.errors{margin-top:16px;padding:12px;border:1px solid #e9b7b3;background:#fff0ee;color:#842e29;border-radius:5px;font-size:13px;white-space:pre-line}.table-scroll{overflow-x:auto}.table-scroll table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}.table-scroll table[hidden]{display:none}th{text-align:left;padding:10px;border-bottom:1px solid var(--line);color:#526472;background:#f8fafb;font-size:11px;text-transform:uppercase;letter-spacing:.06em}td{padding:10px;border-bottom:1px solid #e7edf0;vertical-align:top;overflow-wrap:anywhere}th:first-child,td:first-child{width:122px}th:nth-child(2),td:nth-child(2){width:27%}.text-table th:nth-child(2),.text-table td:nth-child(2){width:auto}.text-table th:nth-child(3),.text-table td:nth-child(3){width:auto}tbody tr:last-child td{border-bottom:0}tbody tr.active{outline:2px solid #187f9a;outline-offset:-2px}tbody tr.added{background:#f4fbf7}tbody tr.removed{background:#fff7f6}tbody tr.changed{background:#fffaf0}tbody tr.type-changed{background:#f8f7ff}.badge{display:inline-block;border-radius:4px;padding:4px 6px;font-size:11px;font-weight:750;white-space:nowrap}.badge.added{background:var(--added);color:#216e43}.badge.removed{background:var(--removed);color:#9b3d36}.badge.changed{background:var(--changed);color:#82581d}.badge.type-changed{background:var(--type);color:#5950a0}.path,.value,.line-text{font-family:Consolas,"SFMono-Regular",monospace;white-space:pre-wrap;overflow-wrap:anywhere}.path{font-weight:650;color:#204e68}.value{max-height:110px;overflow:auto}.line-number{color:#7c8b94;font:11px Consolas,monospace;margin-right:10px}.empty-result{color:#798792;font-size:13px;margin:18px 0 5px}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #71c9dc;outline-offset:2px}@media(max-width:850px){.page-heading{align-items:flex-start;flex-direction:column}.privacy-note{max-width:none}.editor-grid{grid-template-columns:1fr}.editor-card textarea{height:220px}.tool-grid{grid-template-columns:1fr}.result-section{padding:13px}.table-scroll table{min-width:650px}}@media(max-width:550px){.header-row{align-items:flex-start;flex-direction:column;padding-block:15px;gap:12px}.site-header nav{width:100%}.site-header nav a{flex:1;text-align:center}.editor-top{align-items:flex-start;flex-direction:column}.editor-actions{justify-content:flex-start}.main-actions{width:100%}.main-actions button{flex:1}.result-nav button{flex:1}.tool-card{min-height:130px;padding:18px}.card-icon{width:48px;height:48px;font-size:20px}}@media(prefers-reduced-motion:reduce){.tool-card{transition:none}.tool-card:hover{transform:none}}
/* Workbench polish: keep the comparison itself as the visual focus. */
[hidden]{display:none!important}
:root{--ink:#182a35;--muted:#536673;--line:#ccd8de;--blue:#126484;--blue-dark:#0b4c66;--added:#e3f3e9;--removed:#fae9e6;--changed:#fff1d8;--type:#eceef8;background:#f5f7f8}
.site-header{border-bottom:1px solid #315061}
.header-row{min-height:58px}
.site-header nav a{font-size:13px}
.workspace{padding-top:25px}
.page-heading{margin-bottom:19px}
.page-heading h1{font-size:clamp(29px,2.7vw,37px)}
.page-heading p:not(.eyebrow){line-height:1.45}
.privacy-note{border-color:#6d9eaa;background:transparent;color:#49616f}
.home{padding-top:64px;padding-bottom:70px}
.home .intro{margin-bottom:28px}
.tool-card{min-height:136px;box-shadow:none;border-radius:7px}
.tool-card:hover{transform:none;background:#fafdfe}
.editor-card{border-radius:6px;box-shadow:none}
.original-card{border-top:3px solid #68808c}
.modified-card{border-top:3px solid #267d92}
.editor-top{min-height:53px;background:#f9fafb}
.editor-top>label{font-size:14px}
.editor-actions button,.editor-actions .small-button,.small-button,.result-nav button,.secondary{min-height:35px;color:#244b60}
.editor-card textarea{height:280px;font-size:13px;line-height:1.65}
.editor-card textarea::placeholder{color:#667782;opacity:1}
.editor-card textarea[aria-invalid=true]{box-shadow:inset 0 0 0 2px #bc564e}
.input-meta{color:#5f707b;font-family:"Segoe UI",Arial,sans-serif}
.input-error{margin:0;padding:8px 13px;background:#fff0ed;color:#842e29;border-top:1px solid #e4b0aa;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.control-bar{margin:15px 0 13px;align-items:center}
.mode-control{max-width:710px;row-gap:7px}
.mode-control label{min-height:32px}
.mode-control>span{color:#2b414f}
.mode-hint{flex-basis:100%;margin-left:55px;color:#61717b;font-size:12px;line-height:1.35}
.field-label:has(input:disabled){display:none}
.field-label input{width:95px}
.field-label input::placeholder{color:#687885;opacity:1}
.field-label input[aria-invalid=true]{border-color:#bc564e;box-shadow:0 0 0 2px #f7d5d0}
.main-actions button{min-height:38px}
.main-actions .primary{min-width:112px;font-size:14px}
.status{background:#edf2f4;border-color:#d3dee3;color:#335260}
.result-section{margin-top:16px;border-radius:6px;box-shadow:none}
.result-heading{align-items:center}
.result-nav button{min-height:35px}
.summary{margin:17px 0 13px}
.summary span{border-color:#ccd7dc}
.table-scroll{scrollbar-color:#8197a1 #edf2f4;scrollbar-width:auto}
.table-scroll:focus-visible{outline:3px solid #1786a5;outline-offset:2px}
.table-scroll th{color:#435a67}
.table-scroll td{border-bottom-color:#dfe7ea}
.table-scroll tbody tr.added{box-shadow:inset 3px 0 #419267}
.table-scroll tbody tr.removed{box-shadow:inset 3px 0 #bd665b}
.table-scroll tbody tr.changed{box-shadow:inset 3px 0 #bb882e}
.table-scroll tbody tr.type-changed{box-shadow:inset 3px 0 #777db1}
.badge{border:1px solid currentColor}
.badge.added{color:#205f3e}.badge.removed{color:#873830}.badge.changed{color:#765017}.badge.type-changed{color:#444d86}
.table-hint{display:none;margin:15px 0 8px;color:#465e6a;font-size:12px;font-weight:650}
.empty-result{color:#596c78}
button:disabled{opacity:1;color:#61717b;background:#f1f4f5;border-color:#d8e0e4}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,.file-button:focus-within{outline:3px solid #1887a5;outline-offset:2px}
@media(max-width:850px){.mode-hint{margin-left:0}.editor-card textarea{height:220px}}
@media(max-width:700px){.table-hint:not([hidden]){display:block}}
@media(max-width:550px){.header-row{padding-block:12px;gap:7px}.workspace{padding-top:20px}.page-heading{gap:12px;margin-bottom:20px}.privacy-note{padding:5px 10px}.editor-grid{gap:13px}.editor-top{padding:10px 12px}.editor-actions{gap:6px}.editor-actions button,.editor-actions .small-button{min-height:36px}.editor-card textarea{height:200px}.mode-control{gap:4px 12px}.mode-control>span{flex-basis:100%}.mode-control label{min-height:34px}.mode-hint{flex-basis:100%;margin:1px 0 0}.field-label{flex-basis:100%}.main-actions{gap:9px}.main-actions .primary{flex:1.5}.main-actions button{min-height:42px}.result-nav button{min-height:40px}.table-scroll{margin-inline:-1px}.home{padding-top:42px}.tool-card{min-height:118px}}

/* Focused second pass: typography, action priority, compact mobile results. */
:root{--font-ui:"Segoe UI",Arial,sans-serif;--font-code:Consolas,"SFMono-Regular",monospace;--added:#eff7f1;--removed:#fcf0ee;--changed:#fff7e9;--type:#f2f3f9}
body,button,input,.brand,.eyebrow{font-family:var(--font-ui)}
.brand{letter-spacing:.025em}
.eyebrow{letter-spacing:.09em}
.editor-card textarea,.path,.value,.line-text{font-family:var(--font-code)}
.file-button{background:#eef5f7;border-color:#9cb9c4;color:#174f67;font-weight:700}
.editor-actions button,.main-actions .secondary,.result-nav button{background:transparent;border-color:#dce5e9;color:#486270;font-weight:600}
.editor-actions button:hover,.main-actions .secondary:hover,.result-nav button:hover{background:#edf3f5;border-color:#a9bec8}
.file-button:hover{background:#e3f0f4;border-color:#6e9daa}
.summary span{background:#fff}
.summary .added{background:var(--added)}
.summary .removed{background:var(--removed)}
.summary .changed{background:var(--changed)}
.summary .type-changed{background:var(--type)}
tbody tr.added{background:#fbfdfb}
tbody tr.removed{background:#fefbfa}
tbody tr.changed{background:#fffdfa}
tbody tr.type-changed{background:#fbfbfe}
@media(max-width:767px){
  .table-hint{display:none!important}
  .table-scroll{overflow:visible}
  .table-scroll table{display:block;width:100%;min-width:0;table-layout:auto}
  .table-scroll thead{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  .table-scroll tbody{display:grid;gap:10px}
  .table-scroll tbody tr{display:block;width:100%;background:#fff!important;border:1px solid var(--line);border-left-width:3px;border-radius:5px;box-shadow:none!important}
  .table-scroll tbody tr.added{border-left-color:#419267}
  .table-scroll tbody tr.removed{border-left-color:#bd665b}
  .table-scroll tbody tr.changed{border-left-color:#bb882e}
  .table-scroll tbody tr.type-changed{border-left-color:#777db1}
  .table-scroll tbody tr.active{outline:3px solid #187f9a;outline-offset:2px}
  .table-scroll td{display:grid;grid-template-columns:82px minmax(0,1fr);gap:10px;align-items:start;width:100%!important;max-width:none;padding:9px 11px;border-bottom:1px solid #e5ebee;white-space:pre-wrap;overflow-wrap:anywhere}
  .table-scroll td:last-child{border-bottom:0}
  .table-scroll td .badge{justify-self:start}
  .table-scroll td::before{font:700 10px/1.5 var(--font-ui);letter-spacing:.05em;text-transform:uppercase;color:#526773}
  .table-scroll td:nth-child(1)::before{content:"Status"}
  .table-scroll td:nth-child(2)::before{content:"JSON Path"}
  .table-scroll td:nth-child(3)::before{content:"Old Value"}
  .table-scroll td:nth-child(4)::before{content:"New Value"}
  .table-scroll .text-table td:nth-child(2)::before{content:"Original"}
  .table-scroll .text-table td:nth-child(3)::before{content:"Modified"}
  .table-scroll .value{max-height:none;overflow:visible}
}
@media(max-width:550px){
  .header-row{padding-block:7px;gap:3px;min-height:0}
  .site-header nav a{padding:6px 8px;font-size:12px}
  .result-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  .result-nav button{min-width:0}
}

.tool-guide{max-width:820px;margin-top:38px;padding-top:26px;border-top:1px solid var(--line);color:#394e5b;font-size:14px;line-height:1.65}
.tool-guide section+section{margin-top:26px}
.tool-guide h2{font-size:20px;margin:0 0 10px}
.tool-guide h3{font-size:15px;margin:17px 0 5px}
.tool-guide p{margin:0 0 11px}
.tool-guide ol{margin:0;padding-left:21px}
.tool-guide li+li{margin-top:5px}
.tool-guide a{color:var(--blue);text-underline-offset:2px}
.tool-guide code{font-family:var(--font-code);font-size:.95em}
.not-found{padding-top:64px;max-width:760px}
.not-found p{color:var(--muted);font-size:15px;line-height:1.6}
.not-found a{color:var(--blue);text-underline-offset:2px}
