:root{--bg:#f6f7f5;--surface:#fff;--surface-alt:#fafbf9;--sidebar:#fdfefc;--text:#263a34;--muted:#83918b;--border:#e2e8e2;--green:#146454;--green-dark:#0e4d40;--green-soft:#e9f3ed;--code:#40574e;--string:#487b52;--number:#b16e37;--key:#356b83;--red:#b84343;--shadow:0 4px 24px #273e3010;--mono:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}button,input,textarea,select{font:inherit}button,a,select{ -webkit-tap-highlight-color:transparent}button,select{cursor:pointer}button{color:inherit;background:none;border:0}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #5b9c86;outline-offset:3px}a{color:inherit;text-decoration:none}[hidden]{display:none!important}svg{width:18px;height:18px;vertical-align:middle;flex-shrink:0}button{transition:background .15s,color .15s}button:hover:not(:disabled){color:var(--green);background:var(--green-soft)}.site-header{background:var(--sidebar);border-bottom:1px solid var(--border)}
.header-inner{max-width:1288px;min-height:64px;margin:auto;padding:0 24px;display:flex;align-items:center;gap:32px}
.brand{display:flex;gap:9px;align-items:center;font-size:23px;font-weight:750;letter-spacing:-1px;line-height:1.25;flex-shrink:0}
.brand-icon{display:grid;place-items:center;background:var(--green);color:#fff;width:34px;height:36px;border-radius:9px;font:700 20px var(--mono);letter-spacing:-4px;padding-right:4px}
.brand-light{font-weight:450}
#tool-nav{display:flex;align-items:center;gap:4px;min-width:0;flex:1;overflow-x:auto;padding:6px 2px;scrollbar-width:thin}
.nav-item{display:flex;gap:7px;align-items:center;padding:9px 12px;border-radius:7px;color:var(--muted);white-space:nowrap;flex-shrink:0;font-size:12px}
.nav-item:hover{background:var(--surface-alt)}
.nav-item.active{background:var(--green-soft);color:var(--green);font-weight:650}
.nav-item svg{width:16px;height:16px}
.theme-button{display:flex;align-items:center;justify-content:center;width:36px;height:36px;flex-shrink:0;border:1px solid var(--border);border-radius:7px;color:var(--text)}
.theme-button span{display:none}
.workspace{min-width:0}


main{max-width:1288px;margin:auto;padding:16px 24px 0}

.eyebrow{font-size:9px;letter-spacing:2px;font-weight:600;color:var(--muted)}.workbench{min-width:0}.workbench-bar{display:flex;align-items:center;justify-content:flex-end;padding-bottom:12px}.options{display:flex;align-items:center;gap:16px;font-size:11px;color:#7c8a81;flex-wrap:wrap}.options label{display:flex;gap:7px;align-items:center}select{padding:5px 24px 5px 9px;background:var(--surface-alt);color:var(--text);border:1px solid var(--border);border-radius:5px;font-size:11px}.check-label input{accent-color:var(--green);margin:0}.primary-button{display:flex;align-items:center;justify-content:center;gap:7px;background:var(--green);color:#fff;padding:8px 12px;border-radius:6px;font-size:11px;font-weight:550}.primary-button:hover:not(:disabled){background:var(--green-dark);color:#fff}.primary-button svg{width:13px;height:13px}.editor-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.editor-panel{min-width:0;background:var(--surface);border:1px solid var(--border);border-radius:10px;overflow:hidden;box-shadow:var(--shadow)}.panel-header{min-height:49px;display:flex;align-items:center;justify-content:space-between;gap:5px;padding:8px 14px;background:var(--surface-alt);border-bottom:1px solid var(--border)}.panel-label{display:flex;align-items:center;gap:7px;font-size:11px;white-space:nowrap}.panel-label b{font-weight:550}.panel-label>span:last-child:not(.panel-dot){font:9px var(--mono);letter-spacing:.6px;color:#a0aaa4}.panel-dot{width:5px;height:5px;border-radius:50%;background:#b6c2b8}.panel-dot.output{background:#5a9e7f}.panel-dot.target{background:#b38959}.panel-actions{display:flex;align-items:center;gap:3px;min-width:0}.panel-actions button{font-size:10px;color:#7c8a81;border-radius:4px;padding:4px 6px;white-space:nowrap}.view-switch{display:flex;padding:2px;background:var(--bg);border:1px solid var(--border);border-radius:5px;margin-right:6px}.view-switch button{padding:2px 7px}.view-switch button.selected{color:var(--green);background:var(--surface);box-shadow:0 1px 3px #0000000c}.editor-body{display:flex;height:460px;position:relative;background:var(--surface)}.editor-body.dragging{outline:2px dashed var(--green);outline-offset:-6px;background:var(--green-soft)}.line-numbers{font:14px/23px var(--mono);color:#b0bab3;text-align:right;min-width:43px;margin:0;padding:20px 11px 20px 8px;overflow:hidden;user-select:none;border-right:1px solid var(--border);background:var(--surface-alt)}textarea{display:block;min-width:0;flex:1;width:100%;resize:none;font:14px/23px var(--mono);border:none;outline:none!important;padding:20px 15px;color:var(--code);background:transparent;white-space:pre;tab-size:2;overflow:auto;letter-spacing:.05px}textarea::placeholder{color:#adb8af;font-size:11px}.panel-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 14px;border-top:1px solid var(--border);font-size:9px;color:var(--muted);min-height:34px;font-family:var(--mono)}.panel-footer .good{color:var(--green)}.panel-footer .bad{color:var(--red)}.output-body{height:460px;overflow:auto;font:14px/23px var(--mono);color:var(--code);padding:20px}.output-body pre{margin:0;font:inherit;tab-size:2;white-space:pre}.output-body .json-key{color:var(--key)}.json-string{color:var(--string)}.json-number{color:var(--number)}.json-boolean,.json-null{color:#9b6c9d}.empty-state{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;color:var(--muted);font:12px/1.6 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;min-height:200px}.empty-state>span{font:32px var(--mono);color:#c8d8cc;background:var(--surface-alt);border:1px dashed var(--border);border-radius:13px;padding:8px 15px;margin-bottom:16px}.empty-state b{font-weight:500;color:#89988d}.empty-state p{font-size:11px}.workbench-bottom{display:flex;justify-content:space-between;gap:16px;align-items:center;border-top:1px solid var(--border);padding:12px 18px;color:var(--muted);font-size:10px;background:var(--surface-alt)}kbd{font:9px var(--mono);border:1px solid var(--border);border-radius:3px;padding:2px 4px;background:var(--surface)}.feedback{border-top:1px solid var(--border);padding:14px 18px;font-size:11px;background:var(--green-soft);color:var(--green)}.feedback.error{background:#fff2f0;color:var(--red)}.feedback.warning{background:#fff8e8;color:#956822}.feedback b{display:block}.feedback ul{margin:5px 0;padding-left:18px}.feedback button{border:1px solid currentColor;padding:3px 9px;margin-top:9px;border-radius:5px}.error-display{padding:25px;max-width:450px}.error-display .error-mark{font-size:23px;color:var(--red)}.error-display h3{font-size:13px;margin:10px 0}.error-display p{font:11px/1.8 -apple-system,sans-serif;color:var(--muted)}.error-location{display:inline-block;color:var(--red);background:#b8434310;font-size:11px;padding:4px 8px;border-radius:4px}.feature-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:26px 0 30px}.feature-strip article{display:flex;gap:12px;align-items:center}.feature-icon{display:grid;place-items:center;width:36px;height:38px;background:#e9eee9;border:1px solid var(--border);border-radius:9px;color:#61816c;flex-shrink:0}.feature-icon svg{width:17px}.feature-strip .feature-title{font-size:11px;font-weight:550;margin:0 0 4px}.feature-strip p{font-size:10px;color:var(--muted);margin:0}.guide{border-top:1px solid var(--border);padding:29px 0 24px;display:grid;grid-template-columns:1fr 1.15fr;gap:50px}.guide h2{font-size:18px;font-weight:550;margin:11px 0}.guide p{font-size:11px;color:var(--muted);max-width:390px;line-height:1.9}.guide-details details{border-bottom:1px solid var(--border);font-size:11px}.guide-details summary{cursor:pointer;padding:10px 0;list-style:none;display:flex;justify-content:space-between}.guide-details summary:after{content:'+';color:var(--muted);font:14px var(--mono)}.guide-details details[open] summary:after{content:'−'}.guide-details details p{margin-top:0}footer{display:flex;justify-content:space-between;gap:15px;padding:20px 0 24px;color:var(--muted);font-size:10px;border-top:1px solid var(--border)}footer b{color:#6a7f72;font-weight:550}footer div{display:flex;align-items:center;gap:17px}footer button{font-size:10px;color:var(--muted);padding:0}.diff-result{border-top:1px solid var(--border)}.diff-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--surface-alt);padding:14px 18px;font-size:11px}.diff-heading>span{font-size:10px;color:var(--muted)}#diff-count{font-weight:400;color:var(--muted);margin-left:8px}#diff-body{max-height:380px;overflow:auto}.diff-row{display:grid;grid-template-columns:62px minmax(80px,1fr) minmax(0,1.5fr) minmax(0,1.5fr);align-items:start;gap:12px;border-top:1px solid var(--border);padding:13px 18px;font-size:11px}.diff-row code{font:11px/1.7 var(--mono);white-space:pre-wrap;overflow-wrap:anywhere}.diff-type{padding:2px 7px;border-radius:4px;font-size:10px;text-align:center}.diff-type.added{color:#277851;background:#4fba7415}.diff-type.removed{color:#b94b43;background:#d4534310}.diff-type.changed{color:#a77827;background:#d4ac5415}.diff-value-label{font-size:9px;color:var(--muted);display:block;margin-bottom:3px}.diff-empty{padding:32px;text-align:center;color:var(--green);font-size:12px}.tree-toolbar{display:flex;gap:10px;padding:9px 18px;border-top:1px solid var(--border);color:var(--muted);font-size:10px}.tree-toolbar span{margin-right:auto}.tree-toolbar button{font-size:10px;color:var(--green)}.tree-node{margin-left:16px;border-left:1px dashed var(--border);padding-left:10px}.tree-root{margin-left:0;border:0;padding-left:0}.tree-node summary{cursor:pointer;white-space:nowrap;list-style:none;position:relative;padding-left:18px}.tree-node summary::-webkit-details-marker{display:none}.tree-node summary:before{content:'';position:absolute;left:1px;top:50%;width:12px;height:12px;background:var(--muted);clip-path:polygon(12.5% 0,87.5% 50%,12.5% 100%);transform:translateY(-50%)}.tree-node[open]>summary:before{clip-path:polygon(0 12.5%,100% 12.5%,50% 87.5%)}.tree-leaf{margin-left:16px;padding-left:25px;white-space:nowrap}.tree-meta{font-size:10px;color:var(--muted);margin-left:8px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%) translateY(15px);background:var(--text);color:var(--surface);padding:10px 20px;box-shadow:var(--shadow);font-size:12px;border-radius:8px;z-index:10;opacity:0;pointer-events:none;transition:.18s}#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}dialog{max-width:540px;width:calc(100% - 32px);border:1px solid var(--border);border-radius:14px;background:var(--surface);color:var(--text);padding:30px;box-shadow:0 12px 80px #0003}dialog::backdrop{background:#132c2566;backdrop-filter:blur(3px)}dialog h2{font-size:22px;font-weight:600}dialog p{font-size:12px;line-height:1.9}dialog .muted{color:var(--muted);font-size:11px}.dialog-close{position:absolute;right:15px;top:10px;font-size:25px;color:var(--muted)}
[data-theme="dark"]{--bg:#111b18;--surface:#18241f;--surface-alt:#1b2822;--sidebar:#15201b;--text:#d4e4d9;--muted:#8a9c91;--border:#2d3e33;--green:#7bc4a2;--green-dark:#4e9b79;--green-soft:#243c30;--code:#c0d3c5;--key:#8bbbd1;--string:#9cc992;--number:#dfb07c;--red:#ef9891;--shadow:0 4px 24px #00000015;color-scheme:dark}[data-theme="dark"] .primary-button{color:#11281b}[data-theme="dark"] .brand-icon{color:#11281b}[data-theme="dark"] .feature-icon{background:#243329}[data-theme="dark"] .feedback.error{background:#382722}[data-theme="dark"] .feedback.warning{background:#373123}
@media(min-width:1600px){.editor-body,.output-body{height:500px}}
@media(max-width:1000px){.header-inner{gap:20px}.nav-item{padding:9px 10px}.nav-item svg{display:none}.panel-header{flex-wrap:wrap}.panel-actions{margin-left:auto}.feature-strip{gap:12px}.feature-strip p{font-size:9px}.guide{gap:25px}}
@media(max-width:720px){
.header-inner{padding:12px 16px 0;gap:10px;flex-wrap:wrap}.brand{font-size:22px}.theme-button{margin-left:auto}#tool-nav{order:3;flex-basis:100%;gap:4px;padding:4px 2px 10px}.nav-item{flex:1;justify-content:center;padding:8px;font-size:11px}
main{padding:12px 16px 0}
.options{gap:4px 10px;width:100%}.options .primary-button{margin-left:auto}.editor-grid{grid-template-columns:minmax(0,1fr);gap:16px}.editor-body,.output-body{height:300px}.line-numbers{padding-top:15px;min-width:36px}textarea{padding:15px 10px}.output-body{padding:15px}.panel-header{padding:8px 10px}.panel-actions button{padding:4px 5px}.view-switch{margin-right:3px}.panel-footer{font-size:8px;padding:8px 10px}.workbench-bottom{font-size:9px;padding:12px 0}.workbench-bottom>span:last-child{display:none}
.feature-strip{grid-template-columns:1fr;gap:17px;padding:22px 0}.feature-strip .feature-title{font-size:12px}.feature-strip p{font-size:10px}.guide{grid-template-columns:1fr;gap:10px;padding:24px 0}.guide-details summary{padding:12px 0}footer{flex-wrap:wrap;font-size:9px;padding:18px 0 22px}footer div{gap:12px}.diff-row{grid-template-columns:50px minmax(0,1fr);gap:7px;padding:12px}.diff-row code{font-size:10px}.diff-row>div:nth-child(3),.diff-row>div:nth-child(4){grid-column:1/-1}.diff-heading{padding:12px;flex-wrap:wrap;gap:4px}.tree-toolbar{padding:9px 12px;gap:5px;font-size:9px}.tree-toolbar button{font-size:9px}#toast{max-width:90%;width:max-content}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
/* Large documents keep only a bounded viewport in the DOM. */
.large-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:13px 18px;background:var(--green-soft);border-top:1px solid var(--border);font-size:11px;color:var(--green)}.large-info{min-width:0;display:grid;gap:4px}.large-info b{font-size:12px}.large-info small{font-size:10px;font-weight:400;margin-left:9px;opacity:.75}.large-actions{display:flex;gap:7px}.large-actions button{border:1px solid var(--border);border-radius:5px;padding:3px 8px;font-size:11px;background:var(--surface)}.large-banner progress{width:100%;height:4px;accent-color:var(--green);border:0;border-radius:5px;overflow:hidden}.large-source{padding:20px;width:100%;overflow:hidden;background:var(--surface-alt)}.large-file-name{font-size:13px;font-weight:600;overflow-wrap:anywhere}.large-file-note{font-size:10px;color:var(--muted);margin:8px 0}.large-original{font-size:10px;color:var(--green);border:1px solid var(--border);border-radius:5px;padding:4px 8px}.large-source-preview{font:14px/23px var(--mono);white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted);max-height:280px;overflow:auto;border-top:1px solid var(--border);padding-top:13px}.output-body.large-output{padding:0;overflow:hidden;display:flex;flex-direction:column}.large-view-tools{display:flex;align-items:center;gap:8px;flex-shrink:0;padding:8px 11px;border-bottom:1px solid var(--border);font:10px/1.5 -apple-system,BlinkMacSystemFont,sans-serif;flex-wrap:wrap}.large-view-tools>span:first-child{color:var(--green);margin-right:auto}.large-view-tools input{background:var(--surface);border:1px solid var(--border);border-radius:4px;color:var(--text);width:105px;padding:3px 5px;font:10px var(--mono)}.large-view-tools button{font-size:10px;border:1px solid var(--border);border-radius:4px;padding:2px 7px}.large-line-hint{color:var(--muted)}.large-scroll{position:relative;overflow:auto;flex:1;min-height:0;overflow-anchor:none;outline-offset:-2px}.large-spacer{position:relative;min-width:100%}.large-rows{position:absolute;left:0;right:0;overflow:hidden}.large-row{display:flex;height:23px;min-height:23px;font:14px/23px var(--mono);white-space:pre;overflow:hidden}.large-line-number{color:var(--muted);flex:0 0 calc(10ch + 16px);text-align:right;padding:0 12px 0 4px;user-select:none;background:var(--surface-alt);border-right:1px solid var(--border)}.large-row code{display:block;font:inherit;padding-left:12px;white-space:pre;overflow:auto;flex:1;min-width:0;scrollbar-width:none}.large-clipped{color:var(--muted)}@media(max-width:720px){.large-banner{padding:11px 12px}.large-source{padding:15px}.large-info small{display:block;margin-left:0}.large-line-number{flex-basis:calc(10ch + 12px);padding-right:8px}.large-row code{padding-left:8px}.large-view-tools input{width:86px}}

.timestamp-annotation{margin-left:10px;color:var(--muted);font:11px/1.4 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;white-space:nowrap;user-select:none}

.timestamp-arrow{font-family:"Segoe UI Symbol","DejaVu Sans",sans-serif}

/* Anchor help to the options row so it stays within narrow screens. */
.options{position:relative}
#timestamp-help{position:absolute;z-index:5;top:100%;right:0;width:360px;max-width:100%;padding:12px 14px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);box-shadow:var(--shadow);font-size:12px;line-height:1.8;visibility:hidden}
#timestamp-wrap.help-hovered:not(.help-dismissed) #timestamp-help,#timestamp-wrap:not(.help-dismissed):focus-within #timestamp-help{visibility:visible}
/* Native disclosure keeps language URLs usable even without JavaScript. */
summary:focus-visible{outline:2px solid #5b9c86;outline-offset:3px}
.header-settings{display:flex;align-items:center;gap:8px;margin-left:auto;min-width:0;max-width:100%}
#language-picker{position:relative;min-width:0}
#language-toggle{display:flex;align-items:center;gap:7px;min-height:44px;padding:6px 10px;border:1px solid var(--border);border-radius:7px;cursor:pointer;font-size:12px;list-style:none}
#language-toggle::-webkit-details-marker{display:none}
#language-toggle>span:first-child{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#language-toggle::after{content:'';width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);flex-shrink:0;margin:0 2px 3px 3px}
#language-picker[open] #language-toggle::after{transform:rotate(225deg);margin-top:6px}
#language-current{overflow-wrap:anywhere}
#language-nav{position:absolute;z-index:5;right:0;top:calc(100% + 6px);width:240px;max-width:calc(100vw - 32px);max-height:min(60dvh,480px);overflow-y:auto;overscroll-behavior:contain;padding:6px;display:flex;flex-direction:column;gap:2px;background:var(--surface);border:1px solid var(--border);border-radius:9px;box-shadow:var(--shadow);font-size:13px}
#language-nav a{display:flex;align-items:center;min-height:44px;flex-shrink:0;padding:8px 12px;border-radius:5px;overflow-wrap:anywhere}
#language-nav a:hover,#language-nav [aria-current]{background:var(--green-soft);color:var(--green)}
#language-nav [aria-current]{font-weight:700}
#language-nav [aria-current]::after{content:'✓';margin-left:auto;padding-left:12px}
#language-suggestion{max-width:1240px;margin:12px auto 0;padding:8px 12px;display:flex;align-items:center;gap:10px;background:var(--green-soft);font-size:12px}#language-suggestion a{color:var(--green);text-decoration:underline}#language-suggestion button{margin-left:auto;font-size:18px}
@media(max-width:720px){.header-inner{gap:8px;flex-wrap:wrap}#tool-nav{order:3;flex-basis:100%}.panel-footer{flex-wrap:wrap}.diff-type{padding:2px 4px}.diff-row{grid-template-columns:68px minmax(0,1fr)}}

/* Keep settings together; long language names can occupy their own row on narrow screens. */
.header-inner{flex-wrap:wrap;gap:8px 24px;padding-top:10px;padding-bottom:8px}
.panel-header{flex-wrap:wrap}.panel-label{white-space:normal;min-width:0}.panel-actions{flex-wrap:wrap;justify-content:flex-end;margin-left:auto}
.panel-footer>span{min-width:0;overflow-wrap:anywhere}.tree-toolbar{flex-wrap:wrap}.diff-type{overflow-wrap:anywhere}
#language-suggestion{flex-wrap:wrap}#language-suggestion-text{min-width:0;overflow-wrap:anywhere}
@media(max-width:720px){#tool-nav{padding-bottom:2px}.header-inner{gap:4px 10px}.panel-header{gap:6px}.panel-label{flex-wrap:wrap}.panel-actions{max-width:100%}}

/* Compact workspace: keep readable type and spend less space on chrome. */
.header-inner{min-height:56px;padding-top:6px;padding-bottom:6px;gap:6px 18px}
main{padding-top:10px}.workbench-bar{padding-bottom:8px}.options{gap:8px 12px;color:var(--muted)}
.editor-grid{gap:12px}.panel-header{min-height:40px;padding:5px 10px}.panel-footer{min-height:28px;padding:5px 10px}
.line-numbers{padding:12px 8px;min-width:36px}textarea{padding:12px 10px}.output-body{padding:12px}
.workbench-bottom{padding:8px 10px}.feedback,.diff-heading{padding:10px 12px}.diff-row{padding:9px 12px}
.feature-strip{padding:18px 0;gap:12px}.feature-strip article{gap:8px}.guide{padding:18px 0;gap:30px}footer{padding:14px 0 18px}
.large-source{padding:12px}.large-banner{padding:9px 12px}
#indent-wrap{display:flex;align-items:center;gap:6px;max-width:100%}
.indent-picker{position:relative;min-width:0}
#indent-toggle{display:flex;align-items:center;gap:10px;min-height:30px;padding:4px 9px;border:1px solid var(--border);border-radius:5px;background:var(--surface-alt);color:var(--text);text-align:left;font-size:11px}
#indent-toggle::after{content:'';width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-top:-3px;flex-shrink:0}
#indent-toggle[aria-expanded="true"]{border-color:var(--green)}
#indent-options{position:absolute;z-index:6;top:calc(100% + 4px);left:0;min-width:100%;width:max-content;max-width:min(240px,70vw);padding:4px;background:var(--surface);border:1px solid var(--border);border-radius:7px;box-shadow:var(--shadow)}
#indent-options button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:32px;padding:5px 8px;border-radius:4px;color:var(--text);text-align:left;overflow-wrap:anywhere}
#indent-options button[aria-selected="true"]{background:var(--green-soft);color:var(--green);font-weight:600}
#indent-options button[aria-selected="true"]::after{content:'✓'}
#indent-options button:focus-visible{outline:2px solid var(--green);outline-offset:-2px;background:var(--green-soft)}
@media(max-width:720px){
 .header-inner{padding:8px 12px 4px}main{padding:8px 12px 0}.editor-grid{gap:10px}.options{gap:4px 10px}
 .panel-header{padding:4px 8px;gap:3px}.panel-actions{gap:2px}.panel-actions button{min-height:36px;padding:6px}.view-switch{padding:1px;margin-right:2px}
 .line-numbers{padding-top:10px}textarea{padding-top:10px}.output-body{padding:10px}.panel-footer{padding:5px 8px}
 .feature-strip{gap:12px;padding:16px 0}.guide{gap:10px;padding:16px 0}
 .theme-button,.nav-item,#indent-toggle,#indent-options button,.options .primary-button,.options select,.check-label{min-height:44px}
 .theme-button{width:44px}.check-label{padding:4px 0}.panel-actions{max-width:100%}
}
@media(pointer:coarse){#indent-toggle,#indent-options button{min-height:44px}}

.seo-content { margin: 32px 0; line-height: 1.7; }
.seo-content h1 { font-size: 24px; }
.seo-content h2 { font-size: 18px; }
.seo-content article { margin: 20px 0; }
.seo-content a { color: inherit; text-decoration: underline; }
.seo-examples { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.seo-examples figure { margin: 0; min-width: 0; }
.seo-examples pre { overflow: auto; padding: 16px; border: 1px solid currentColor; border-radius: 8px; }
@media (max-width: 600px) { .seo-examples { grid-template-columns: minmax(0,1fr); } }

.import-progress:not([hidden]) { overflow-wrap: anywhere; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 12px; }

.feature-title { display: block; }
.tree-limit-note { margin: 0 0 10px; color: var(--muted); font-size: 12px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; font-size: 14px; }
.breadcrumbs li + li::before { content: '/'; margin-right: 8px; }
.seo-content li { overflow-wrap: anywhere; }
