:root[data-theme=light]{--bg-primary: #ffffff;--bg-secondary: #f5f7fa;--bg-header: #ffffff;--bg-panel: #ffffff;--text-primary: #24292f;--text-secondary: #57606a;--text-muted: #6e7781;--border-color: #d0d7de;--border-focus: #0969da;--btn-primary-bg: #2da44e;--btn-primary-hover: #2c974b;--btn-primary-text: #ffffff;--btn-secondary-bg: #f6f8fa;--btn-secondary-hover: #f3f4f6;--btn-secondary-text: #24292f;--btn-secondary-border: #d0d7de;--shadow-sm: 0 1px 3px rgba(0, 0, 0, .12);--shadow-md: 0 4px 6px rgba(0, 0, 0, .1);--error-color: #cf222e;--warning-color: #9a6700;--success-color: #1a7f37;--link-color: #0969da}:root[data-theme=dark]{--bg-primary: #0d1117;--bg-secondary: #161b22;--bg-header: #161b22;--bg-panel: #0d1117;--text-primary: #e6edf3;--text-secondary: #7d8590;--text-muted: #8b949e;--border-color: #30363d;--border-focus: #58a6ff;--btn-primary-bg: #238636;--btn-primary-hover: #2ea043;--btn-primary-text: #ffffff;--btn-secondary-bg: #21262d;--btn-secondary-hover: #30363d;--btn-secondary-text: #c9d1d9;--btn-secondary-border: #30363d;--shadow-sm: 0 0 transparent;--shadow-md: 0 0 transparent;--error-color: #ff6b6b;--warning-color: #ffd43b;--success-color: #3fb950;--link-color: #58a6ff}*{box-sizing:border-box;margin:0;padding:0}html,body{height:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";background-color:var(--bg-primary);color:var(--text-primary);line-height:1.5;transition:background-color .3s ease,color .3s ease}body{display:flex;flex-direction:column}.site-header{background-color:var(--bg-header);border-bottom:1px solid var(--border-color);padding:1rem 2rem;box-shadow:var(--shadow-sm)}.header-content{max-width:98%;margin:0 auto;display:flex;justify-content:space-between;align-items:center}.header-actions{display:flex;align-items:center;gap:1rem}.contact-link{color:var(--text-primary);text-decoration:none;font-size:.875rem;font-weight:500;padding:.5rem 1rem;border-radius:6px;transition:background-color .2s ease}.contact-link:hover{background-color:var(--bg-secondary)}.logo-title{display:flex;align-items:center;gap:1rem;text-decoration:none;color:inherit}.logo-title:hover{opacity:.8}.logo{width:40px;height:40px}.site-header h1{font-size:1.5rem;font-weight:600;color:var(--text-primary)}.theme-toggle{background:var(--btn-secondary-bg);border:1px solid var(--btn-secondary-border);border-radius:6px;padding:.5rem;cursor:pointer;transition:background-color .2s ease;display:flex;align-items:center;justify-content:center}.theme-toggle .theme-icon{font-size:1.5rem;color:inherit}:root[data-theme=dark] .theme-toggle .theme-icon{color:#fff}.theme-toggle:hover{background:var(--btn-secondary-hover)}main{flex:1;display:flex;flex-direction:column;overflow:visible}.tool-section{display:flex;flex-direction:column;padding:1rem;gap:1rem;max-width:98%;width:100%;margin:0 auto;height:calc(100vh - 120px)}.controls{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}.controls-left,.controls-right{display:flex;gap:.75rem;align-items:center}.btn{padding:.5rem 1rem;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;border:none;transition:all .2s ease;white-space:nowrap}.btn-primary{background-color:var(--btn-primary-bg);color:var(--btn-primary-text);border:1px solid transparent}.btn-primary:hover:not(:disabled){background-color:var(--btn-primary-hover)}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.btn-secondary{background-color:var(--btn-secondary-bg);color:var(--btn-secondary-text);border:1px solid var(--btn-secondary-border);display:flex;align-items:center;gap:.5rem}.btn-secondary:hover{background-color:var(--btn-secondary-hover)}.material-symbols-outlined{font-size:1.25rem;vertical-align:middle}.examples-select{padding:.5rem;border-radius:6px;border:1px solid var(--border-color);background-color:var(--bg-panel);color:var(--text-primary);font-size:.875rem;cursor:pointer;min-width:200px}.examples-select:focus{outline:2px solid var(--border-focus);outline-offset:2px}.editor-container{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;flex:1;min-height:0}.editor-panel{display:flex;flex-direction:column;border:1px solid var(--border-color);border-radius:8px;overflow:hidden;background-color:var(--bg-panel);box-shadow:var(--shadow-sm);height:100%}.panel-header{padding:.75rem 1rem;background-color:var(--bg-secondary);border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center}.panel-header h2{font-size:.875rem;font-weight:600;color:var(--text-primary);text-transform:uppercase;letter-spacing:.5px}.error-indicator{color:#dc3545;font-size:.75rem;font-weight:500}:root[data-theme=dark] .error-indicator{color:#ff6b6b}.editor{flex:1;overflow:auto;background-color:var(--bg-panel)}.content-section{background-color:var(--bg-secondary);padding:3rem 2rem;border-top:1px solid var(--border-color);margin-top:auto}.content-section article{max-width:800px;margin:0 auto 3rem}.content-section h2{font-size:1.75rem;margin-bottom:1rem;color:var(--text-primary)}.content-section h3{font-size:1.25rem;margin-top:1.5rem;margin-bottom:.5rem;color:var(--text-primary)}.content-section p{margin-bottom:1rem;color:var(--text-secondary);line-height:1.7}.content-section ul{margin-left:1.5rem;margin-bottom:1rem}.content-section li{margin-bottom:.5rem;color:var(--text-secondary)}.content-section a{color:var(--link-color);text-decoration:none}.content-section a:hover{text-decoration:underline}.content-section code{background-color:var(--bg-panel);padding:.125rem .375rem;border-radius:3px;font-size:.875em;font-family:Monaco,Menlo,Consolas,monospace;border:1px solid var(--border-color)}.features ul{list-style:none;margin-left:0}.features li{padding-left:0;margin-bottom:.75rem;font-size:1.05rem}.faq>div{margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:1px solid var(--border-color)}.faq>div:last-child{border-bottom:none}.site-footer{background-color:var(--bg-header);border-top:1px solid var(--border-color);padding:2rem;margin-top:auto}.footer-content{max-width:98%;margin:0 auto;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;font-size:.875rem;color:var(--text-secondary)}.footer-nav{display:flex;gap:1rem;align-items:center}.footer-nav a{color:var(--link-color);text-decoration:none}.footer-nav a:hover{text-decoration:underline}@media (max-width: 1200px){.editor-container{grid-template-columns:1fr;grid-template-rows:auto auto auto}.editor-panel{min-height:300px}.tool-section{overflow:auto}}@media (max-width: 768px){.site-header{padding:1rem}.header-content h1{font-size:1.25rem}.logo{width:32px;height:32px}.controls{flex-direction:column;align-items:stretch}.controls-left,.controls-right{justify-content:stretch}.btn,.examples-select{flex:1}.content-section{padding:2rem 1rem}.footer-content{flex-direction:column;text-align:center}}@media (max-width: 480px){.controls-left,.controls-right{flex-direction:column}.btn,.examples-select{width:100%}}@media (prefers-reduced-motion: reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}:root[data-theme=dark] .cm-editor .ͼc,:root[data-theme=dark] .cm-content .ͼc,:root[data-theme=dark] .cm-line .ͼc{color:#4ec9b0!important}:root[data-theme=dark] .cm-editor .ͼe,:root[data-theme=dark] .cm-content .ͼe,:root[data-theme=dark] .cm-line .ͼe{color:#ce9178!important}button:focus-visible,select:focus-visible{outline:2px solid var(--border-focus);outline-offset:2px}
