.tool-shell :where(.tool-head h1){margin:0 0 .4rem;font-size:1.65rem;line-height:1.25;letter-spacing:-.01em}.tool-shell :where(.privacy-line){display:flex;align-items:center;gap:.45rem;margin:0;color:var(--ink-soft);font-size:.9rem}.tool-shell :where(.privacy-line):before{content:"";flex:none;width:.45em;height:.45em;border-radius:50%;background:var(--accent)}.tool-shell :where(.tool){background:var(--surface);border:1px solid var(--rule);border-radius:10px;padding:1.25rem;margin:1.5rem 0 2.5rem}.tool-shell :where(.terms-notice){margin:0 0 1rem;color:var(--ink-soft);font-size:.85rem;overflow-wrap:anywhere}.tool-shell :where(.hint){color:var(--ink-soft);font-size:.85rem}.tool-shell :where(.tool button){font:inherit;cursor:pointer;color:var(--ink);background:var(--bg);border:1px solid var(--rule);border-radius:6px;padding:.4rem .9rem;transition:border-color .12s ease,box-shadow .12s ease}.tool-shell :where(.tool button:hover){border-color:var(--accent)}.tool-shell :where(.tool button.primary){background:var(--accent);color:var(--accent-ink);border-color:var(--accent);font-weight:600}.tool-shell :where(.tool button.primary:hover){box-shadow:0 0 0 1px var(--accent)}.tool-shell :where(.tool textarea){width:100%;padding:.6rem;font-family:var(--mono);font-size:.85rem;color:var(--ink);background:var(--bg);border:1px solid var(--rule);border-radius:6px}.tool-shell :where(.tool select){font:inherit;color:var(--ink);background:var(--bg);border:1px solid var(--rule);border-radius:5px;padding:.25rem .4rem;min-width:0;max-width:100%}.tool-shell :where(.tool input[type=checkbox]){accent-color:var(--accent)}.tool-shell :where(.tool summary){cursor:pointer}.tool-shell :where(.dropzone){border:2px dashed var(--rule);border-radius:8px;padding:1.5rem 1rem;text-align:center;cursor:pointer;transition:border-color .12s ease}.tool-shell :where(.dropzone:hover,.dropzone.dragover){border-color:var(--accent)}.tool-shell :where(.dropzone p){margin:.25rem 0}.tool-shell :where(.dz-source){margin:0 0 .6rem;overflow-wrap:anywhere}.tool-shell :where(.paste){margin-top:.75rem}.tool-shell :where(.paste textarea){margin:.5rem 0}.tool-shell :where(.patterns){min-width:0;margin-top:1rem;border:1px solid var(--rule);border-radius:8px}.tool-shell :where(.patterns legend){padding:0 .4rem;font-size:.85rem;font-weight:600;color:var(--ink-soft)}.tool-shell :where(.patterns label){display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:.5rem;align-items:baseline;padding:.15rem 0}.tool-shell :where(.pat-label){overflow-wrap:anywhere}.tool-shell :where(.pat-desc){min-width:0;overflow-wrap:anywhere;color:var(--ink-soft);font-size:.85rem}.tool-shell :where(.status){min-height:1.5rem;margin:.75rem 0 0}.tool-shell :where(.summary){font-weight:600}.tool-shell :where(.actions){display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.75rem}.tool-shell :where(.suspicious){margin:0 0 .75rem;border:1px solid var(--rule);border-left:4px solid var(--review);border-radius:8px;padding:.25rem .75rem .5rem}.tool-shell :where(.suspicious h2){font-size:.95rem;margin:.5rem 0 .25rem}.tool-shell :where(.suspicious p){margin:.25rem 0 .5rem;font-size:.9rem}.tool-shell :where(.suspicious li){margin:.15rem 0}.tool-shell :where(.suspicious code){font-size:.8rem;word-break:break-all;color:var(--review);background:var(--review-bg);border-radius:4px;padding:0 .25em}.tool-shell :where(.diff){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto;column-gap:.75rem;row-gap:0;align-items:start;max-height:30rem;overflow:auto}.tool-shell :where(.pane){display:contents}.tool-shell :where(.pane h2){grid-row:1;position:sticky;top:0;z-index:1;background:var(--surface);margin:0 0 .25rem;padding-bottom:.15rem;font-size:.75rem;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--ink-soft)}.tool-shell :where(.pane:first-child h2){grid-column:1}.tool-shell :where(.pane:last-child h2){grid-column:2}.tool-shell :where(.pane pre){grid-row:2 / -1;display:grid;grid-template-rows:subgrid;align-content:start;min-width:0;margin:0;background:var(--bg);border:1px solid var(--rule);border-radius:6px;padding:.5rem 0;font-family:var(--mono);font-size:.78rem;line-height:1.5}.tool-shell :where(.pane:first-child pre){grid-column:1}.tool-shell :where(.pane:last-child pre){grid-column:2}.tool-shell :where(.pane .line){display:block;white-space:pre-wrap;overflow-wrap:anywhere;padding:0 .5rem}.tool-shell :where(.pane .line.changed){background:var(--found-bg);box-shadow:inset 3px 0 0 var(--found)}.tool-shell :where(.pane .line.suspicious){background:var(--review-bg);box-shadow:inset 3px 0 0 var(--review)}.tool-shell :where(.pane .tok){color:var(--found);background:var(--found-bg);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--found) 40%,transparent);border-radius:4px;padding:0 .2em;font-weight:600}.tool-shell :where(.findings-wrap){overflow-x:auto;margin:0 0 .75rem}.tool-shell :where(.findings){width:100%;border-collapse:collapse;font-size:.85rem}.tool-shell :where(.findings th,.findings td){text-align:left;padding:.3rem .5rem;border-bottom:1px solid var(--rule);vertical-align:top}.tool-shell :where(.findings th){font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-soft)}.tool-shell :where(.findings .f-line){white-space:nowrap;font-family:var(--mono);color:var(--ink-soft)}.tool-shell :where(.findings .f-cat):before{content:"";display:inline-block;width:.55em;height:.55em;margin-right:.4em;border-radius:2px}.tool-shell :where(.findings tr.found .f-cat):before{background:var(--found)}.tool-shell :where(.findings tr.review .f-cat):before{background:var(--review)}.tool-shell :where(.findings .f-preview code){font-family:var(--mono);font-size:.8rem;word-break:break-all}.tool-shell :where(.findings tr.f-more td){color:var(--ink-soft);font-size:.82rem}.tool-shell :where(.marked){margin:0;max-height:30rem;overflow:auto;background:var(--bg);border:1px solid var(--rule);border-radius:6px;padding:.5rem 0;font-family:var(--mono);font-size:.78rem;line-height:1.5}.tool-shell :where(.marked .mline){display:grid;grid-template-columns:3rem minmax(0,1fr);column-gap:.5rem}.tool-shell :where(.marked .mlineno){text-align:right;color:var(--ink-soft);user-select:none;-webkit-user-select:none}.tool-shell :where(.marked .mbody){min-width:0;padding-right:.5rem;white-space:pre-wrap;overflow-wrap:anywhere}.tool-shell :where(.marked .mline.found){background:var(--found-bg);box-shadow:inset 3px 0 0 var(--found)}.tool-shell :where(.marked .mline.review){background:var(--review-bg);box-shadow:inset 3px 0 0 var(--review)}.tool-shell :where(.marked .mask){border-radius:4px;padding:0 .2em;font-weight:600}.tool-shell :where(.marked .mask.found){color:var(--found);background:var(--found-bg);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--found) 40%,transparent)}.tool-shell :where(.marked .mask.review){color:var(--review);background:var(--review-bg);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--review) 40%,transparent)}.tool-shell :where(code){overflow-wrap:anywhere}.tool-shell :where(.explainer){margin-bottom:2.5rem}.tool-shell :where(.explainer>h2,.faq>h2){font-size:1.2rem;margin:2.2rem 0 .6rem;padding-bottom:.3rem;border-bottom:1px solid var(--rule)}.tool-shell :where(.tool-section){margin:1.4rem 0 0}.tool-shell :where(.tool-section-summary){list-style:none;display:flex;align-items:baseline;justify-content:space-between;gap:1rem;cursor:pointer;padding:.5rem 0;border-bottom:1px solid var(--rule);transition:border-color .12s ease}.tool-shell :where(.tool-section-summary)::-webkit-details-marker{display:none}.tool-shell :where(.tool-section-summary)::marker{content:""}.tool-shell :where(.tool-section-summary:hover){border-color:var(--accent)}.tool-shell :where(.tool-section-summary:hover .tool-section-toggle){color:var(--accent)}.tool-shell :where(.tool-section-summary:focus-visible){outline:2px solid var(--accent);outline-offset:3px;border-radius:3px}.tool-shell :where(.tool-section-head){flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:.15rem}.tool-shell :where(.tool-section-title){margin:0;border:0;padding:0;font-size:1.2rem;line-height:1.3;letter-spacing:-.01em;overflow-wrap:anywhere}.tool-shell :where(.tool-section-note){font-weight:400;font-size:.85rem;line-height:1.4;color:var(--ink-soft);overflow-wrap:anywhere}.tool-shell :where(.tool-section-toggle){flex:none;display:inline-flex;align-items:center;gap:.3rem;color:var(--ink-soft);font-size:.8rem;letter-spacing:.02em;user-select:none}.tool-shell :where(.tool-section-verb):after{content:"Expand"}.tool-shell :where(.tool-section[open]>.tool-section-summary .tool-section-verb):after{content:"Collapse"}.tool-shell :where(.tool-section-chevron){flex:none;transition:transform .16s ease}.tool-shell :where(.tool-section[open]>.tool-section-summary .tool-section-chevron){transform:rotate(180deg)}.tool-shell :where(.tool-section-body){padding-top:.4rem}.tool-shell :where(.tool-section.is-faq){margin-top:.9rem}.tool-shell :where(.is-faq .tool-section-summary){padding:.35rem 0;border-bottom:0}.tool-shell :where(.is-faq .tool-section-title){font-size:1rem;font-weight:600;letter-spacing:0}@media(prefers-reduced-motion:reduce){.tool-shell :where(.tool-section-chevron){transition:none}}@media(max-width:44rem){.tool-shell :where(.patterns label){grid-template-columns:auto minmax(0,1fr)}.tool-shell :where(.pat-label),.tool-shell :where(.pat-desc){grid-column:2}.tool-shell :where(.diff){display:flex;flex-direction:column;gap:1rem;max-height:none;overflow:visible}.tool-shell :where(.pane){display:block}.tool-shell :where(.pane:last-child){order:-1}.tool-shell :where(.pane pre){display:block;grid-template-rows:none;max-height:22rem;overflow:auto}}
