:root{--ink:#172b23;--muted:#53685c;--line:#d8e4dc;--paper:#f6f8f4;--white:#fff;--green:#0b754e;--green-deep:#075c3e;--green-soft:#e8f4ec;--amber:#765719;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans SC","PingFang SC",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{color:var(--green-deep);text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,pre:focus-visible{outline:3px solid #79bc9b;outline-offset:3px}[hidden]{display:none!important}
.page-shell{max-width:1376px;margin:0 auto;padding:0 32px 28px}.site-header{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:92px}.brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);font-weight:750;font-size:18px;line-height:1.25}.brand small{display:block;font-size:11px;font-weight:600;color:var(--muted);margin-top:4px;letter-spacing:.04em}.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:var(--green);color:#fff;font-size:21px}.header-navigation{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:22px;font-size:13px}.header-navigation a{text-decoration:none;font-weight:600}.text-button{border:0;background:none;color:var(--green-deep);font-size:13px;font-weight:650;line-height:1.5;min-height:40px;padding:8px 0}.text-button:hover{text-decoration:underline;text-underline-offset:4px}
.hero{max-width:930px;margin:26px 0 30px}.eyebrow{font-size:11px;line-height:1.5;font-weight:750;letter-spacing:.12em;color:var(--green);margin:0 0 12px}.hero h1{font-size:clamp(29px,3.4vw,44px);line-height:1.2;letter-spacing:-.04em;margin:0 0 17px;font-weight:700}.hero-copy{font-size:17px;color:#405c4b;line-height:1.85;max-width:840px;margin:0 0 12px}.scope-note{font-size:13px;line-height:1.8;color:var(--muted);max-width:850px;margin:0}.steps{list-style:none;padding:0;margin:25px 0 0;display:flex;align-items:center;flex-wrap:wrap;gap:10px 26px}.steps li{display:flex;align-items:center;gap:9px;color:#697b70;font-size:13px;line-height:1.5}.steps li>span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#e7eee8;color:#64796b;font-size:12px;font-weight:700}.steps li[aria-current=step]{color:var(--green-deep)}.steps li[aria-current=step]>span{background:var(--green);color:#fff}
.workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:20px;align-items:start}.panel{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:23px;min-width:0;box-shadow:0 7px 24px #234c3405}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:17px}.panel-number{font-size:10px;color:#6b8274;font-weight:700;letter-spacing:.09em;line-height:1.6;margin:0 0 6px}.panel-heading h2{font-size:20px;line-height:1.4;letter-spacing:-.025em;margin:0}.local-badge,.selection-badge{font-size:11px;line-height:1.5;padding:5px 8px;border-radius:6px;white-space:nowrap;background:var(--green-soft);color:#2c6646;font-weight:650}.source-actions{display:flex;align-items:center;gap:9px 17px;flex-wrap:wrap;margin-bottom:13px}.button{border:1px solid #c8d8cd;border-radius:8px;background:#fff;color:#204c33;font-size:13px;font-weight:650;line-height:1.45;min-height:41px;padding:10px 13px}.button:hover:not(:disabled){border-color:#6fae89;background:#f2f8f4}.primary-button{background:var(--green);border-color:var(--green);color:#fff}.primary-button:hover:not(:disabled){background:var(--green-deep);border-color:var(--green-deep)}.full-button{width:100%}.clear-button{margin-left:auto;color:#6c5d47}
.source-editor{display:block;width:100%;min-height:330px;resize:vertical;background:#fbfcfa;color:#193524;border:1px solid #d2dfd5;border-radius:9px;padding:15px;font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;font-size:13px;line-height:1.75;tab-size:2;white-space:pre;overflow:auto}.source-editor::placeholder{color:#809286}.source-facts{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:10px 0;color:#64796b;font-size:11px;line-height:1.65;overflow-wrap:anywhere}.source-facts>span:first-child{min-width:0;max-width:100%;overflow-wrap:anywhere}.help-text{font-size:12px;line-height:1.85;color:var(--muted);margin:10px 0}.analysis-summary{font-size:12px;line-height:1.8;margin:13px 0 0;color:#326048}.field-label{display:block;color:#405f4c;font-size:12px;font-weight:650;line-height:1.7;margin-bottom:7px}.text-input,.marker-input{width:100%;border:1px solid #cbdacf;border-radius:7px;background:#fff;color:var(--ink);padding:9px 11px;font-size:13px;line-height:1.55;min-height:40px}.text-input:disabled{background:#f6f8f5}.selection-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:3px 0 8px}.empty-state{border:1px dashed #d2dfd5;border-radius:9px;padding:24px 17px;font-size:13px;line-height:1.9;text-align:center;color:#63786a;margin:11px 0}
.leaf-list{list-style:none;padding:0;margin:0;max-height:390px;overflow:auto;border:1px solid #dee7df;border-radius:8px;scrollbar-gutter:stable}.leaf-list:empty{display:none}.leaf-row{display:grid;grid-template-columns:minmax(0,1fr) 68px minmax(0,.85fr);gap:12px;align-items:start;padding:13px 12px;border-bottom:1px solid #e4ebe5;min-width:0}.leaf-row:last-child{border-bottom:0}.leaf-row:has(input:checked){background:#edf7ef}.leaf-choice{display:flex;gap:10px;align-items:flex-start;min-width:0;cursor:pointer}.leaf-choice input{width:16px;height:16px;flex:0 0 16px;margin:3px 0 0;accent-color:var(--green)}.leaf-path{font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;color:#2b4e37;unicode-bidi:plaintext;min-width:0}.leaf-type{display:inline-block;background:#f0f3ef;border-radius:4px;padding:3px 5px;font-size:10px;line-height:1.55;color:#5c7163;overflow-wrap:anywhere;text-align:center}.leaf-token{min-width:0}.leaf-token-label{display:block;font-size:9px;letter-spacing:.04em;line-height:1.5;color:#7b8c80;margin-bottom:4px}.leaf-token code{display:block;font-size:11px;line-height:1.7;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;color:#4b6254}.leaf-token .text-button{font-size:10px;padding:5px 0;min-height:29px}.pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:11px;color:#667a6c;margin:12px 0 0;line-height:1.7}.pagination>div{display:flex;gap:8px}.pagination .button{font-size:11px;min-height:34px;padding:7px 10px}
.marker-panel{border-top:1px solid #e0e9e2;padding-top:18px;margin-top:17px}.marker-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.marker-heading>span{font-size:11px;color:#6d7e72}.marker-input{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;resize:vertical;min-height:60px}.notice{background:#fff6df;border:1px solid #eadbb7;border-radius:7px;padding:10px 12px;color:var(--amber);font-size:12px;line-height:1.85;margin:11px 0}.message{padding:13px 16px;border-radius:9px;font-size:13px;line-height:1.8;margin:0 0 18px;overflow-wrap:anywhere}.error-message{background:#fff0e9;border:1px solid #efd2c4;color:#8b412a}.status-message{background:#eaf4ed;border:1px solid #cde2d3;color:#346147}
.output-panel{margin-top:20px}.output-summary{font-size:12px;line-height:1.7;color:#4e6b59;text-align:right}.result-notice{color:#69552c;background:#fff9e9;border:1px solid #eadfbe;border-radius:8px;padding:12px 14px;font-size:13px;line-height:1.85;margin:0 0 18px}.output-panel h3{font-size:13px;line-height:1.6;margin:15px 0 8px}.changes-list{padding:0 0 0 20px;margin:0;font-size:12px;color:#516b5b;line-height:1.9}.changes-list li{overflow-wrap:anywhere;white-space:pre-wrap}.output-text{white-space:pre;overflow:auto;tab-size:2;font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;font-size:13px;line-height:1.8;background:#f5f8f4;border:1px solid #d6e3d9;border-radius:9px;padding:17px;max-height:510px;min-height:100px;color:#1c3c28;margin:16px 0}.output-actions{display:flex;align-items:center;flex-wrap:wrap;gap:11px;margin-top:17px}.site-footer{display:flex;justify-content:space-between;align-items:flex-start;gap:25px;flex-wrap:wrap;color:#6b7e70;font-size:11px;line-height:1.9;padding:28px 1px 0}.site-footer p{margin:0;max-width:850px}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.skip-link{position:fixed;top:-80px;left:16px;background:#075c3e;color:#fff;padding:12px 16px;border-radius:8px;z-index:20}.skip-link:focus{top:12px}
@media(max-width:1080px){.page-shell{padding:0 23px 24px}.workspace-grid{gap:14px}.panel{padding:18px}.leaf-row{grid-template-columns:minmax(0,1fr) 60px;gap:7px 10px}.leaf-token{grid-column:1/-1;margin-left:26px}.source-editor{min-height:390px}}
@media(max-width:760px){.workspace-grid{grid-template-columns:1fr}.hero{margin-top:16px}.hero h1{font-size:32px}.source-editor{min-height:280px}.leaf-row{grid-template-columns:minmax(0,1fr) 76px}.source-panel{order:0}.selection-panel{order:1}.leaf-list{max-height:420px}.site-header{min-height:80px}.header-navigation{gap:14px}}
@media(max-width:480px){.page-shell{padding:0 14px 20px}.site-header{gap:12px;align-items:center}.brand{font-size:16px;gap:8px}.brand-mark{width:32px;height:32px;font-size:18px}.brand small{font-size:10px}.header-navigation{font-size:12px;gap:6px 13px;max-width:190px}.text-button{font-size:13px;min-height:44px}.hero h1{font-size:29px}.hero-copy{font-size:15px;line-height:1.9}.scope-note{font-size:12px}.steps{gap:9px 16px}.steps li{font-size:12px}.panel{padding:16px;border-radius:11px}.panel-heading h2{font-size:19px}.panel-number{font-size:10px}.local-badge,.selection-badge{font-size:10px}.source-actions{gap:5px 14px}.source-actions .button{flex:1 0 auto}.source-actions .clear-button{margin-left:auto}.source-editor{font-size:14px;min-height:280px;padding:12px}.text-input,.marker-input{font-size:16px;min-height:44px}.button{font-size:13px;min-height:44px}.leaf-row{padding:12px 9px;grid-template-columns:minmax(0,1fr) 66px}.leaf-path{font-size:12px}.leaf-type{font-size:10px}.leaf-token code{font-size:12px}.leaf-token .text-button{font-size:12px;min-height:40px}.pagination{font-size:12px}.pagination .button{min-height:40px;font-size:12px}.output-actions{display:grid;grid-template-columns:1fr}.output-actions .button{width:100%}.output-summary{text-align:left;width:100%}.output-panel .panel-heading{flex-wrap:wrap}.output-text{font-size:12px;padding:12px;max-height:420px}.help-text,.notice{font-size:12px}.site-footer{font-size:11px;padding-top:22px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
