html,body{margin:0;padding:0}.app{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.app-header{text-align:center;padding:2rem 1rem;color:#fff}.app-header h1{margin:0 0 .5rem;font-size:2.5rem;font-weight:700}.app-header p{margin:0;font-size:1.1rem;opacity:.9}.tabs{display:flex;justify-content:center;gap:.5rem;padding:1rem;background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.2);overflow-x:auto}.tab{padding:.75rem 1.5rem;border:none;border-radius:8px;background:#fff3;color:#fff;font-weight:500;cursor:pointer;transition:all .3s ease;white-space:nowrap}.tab:hover{background:#ffffff4d;transform:translateY(-2px)}.tab.active{background:#fff;color:#667eea;box-shadow:0 4px 12px #00000026}.content{padding:2rem 1rem}.example{display:none;background:#fff;border-radius:12px;padding:2rem;margin-bottom:2rem;box-shadow:0 8px 32px #0000001a}.example.active{display:block}.example h2{margin:0 0 1rem;color:#333;font-size:1.5rem}.example p{margin:0 0 1.5rem;color:#666;line-height:1.6}.chart-container{margin:2rem 0;padding:1rem;background:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.demo-mermaid{background:#fff;padding:1rem;border-radius:8px;box-shadow:0 2px 8px #0000001a}.code-details{margin-top:1rem}.code-details summary{cursor:pointer;padding:.5rem;background:#f8f9fa;border-radius:4px;font-weight:500;color:#495057}.code-details summary:hover{background:#e9ecef}.code-block{margin:.5rem 0 0;padding:0;border-radius:16px;font-family:Fira Code,Monaco,Consolas,Courier New,monospace;font-size:.9rem;overflow:hidden;border:1px solid #e1e5e9;position:relative;box-shadow:0 8px 32px #0000001f;line-height:1.6;background:#fff}.code-block code{padding:1.5rem;border-radius:0;font-size:inherit;font-family:inherit;line-height:inherit;color:#2d3748;background:none;position:relative;z-index:2;display:block;white-space:pre;overflow-x:auto}.code-block .token.comment,.code-block .token.prolog,.code-block .token.doctype,.code-block .token.cdata{color:#6b7280;font-style:italic}.code-block .token.punctuation{color:#374151}.code-block .token.property,.code-block .token.tag,.code-block .token.boolean,.code-block .token.number,.code-block .token.constant,.code-block .token.symbol,.code-block .token.deleted{color:#059669}.code-block .token.selector,.code-block .token.attr-name,.code-block .token.string,.code-block .token.char,.code-block .token.builtin,.code-block .token.inserted{color:#dc2626}.code-block .token.operator,.code-block .token.entity,.code-block .token.url,.code-block .language-css .token.string,.code-block .style .token.string{color:#374151}.code-block .token.atrule,.code-block .token.attr-value,.code-block .token.keyword{color:#7c3aed;font-weight:600}.code-block .token.function,.code-block .token.class-name{color:#2563eb;font-weight:600}.code-block .token.regex,.code-block .token.important,.code-block .token.variable{color:#ea580c}.code-block .token.import,.code-block .token.export,.code-block .token.const,.code-block .token.return{color:#7c3aed;font-weight:600}.app-footer{text-align:center;padding:2rem 1rem;color:#fff;opacity:.8}.app-footer a{color:#fff;text-decoration:none;font-weight:500}.app-footer a:hover{text-decoration:underline}.markdown-example{background:#fff;border-radius:8px;padding:2rem;margin:2rem 0;box-shadow:0 4px 16px #0000001a}.markdown-container{max-width:100%;line-height:1.6;color:#333}.markdown-example-layout{background:linear-gradient(135deg,#f5f7fa,#c3cfe2);border-radius:20px;margin:2rem 0;box-shadow:0 20px 60px #0000001a;overflow:hidden;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.example-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:3rem 2rem;text-align:center;position:relative;overflow:hidden}.example-header:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');opacity:.3}.example-header h2{margin:0 0 1rem;font-size:2.5rem;font-weight:800;text-shadow:0 2px 4px rgba(0,0,0,.1);position:relative;z-index:1}.example-header p{margin:0;font-size:1.2rem;opacity:.95;position:relative;z-index:1}.example-content{display:grid;min-height:700px;grid:repeat(2,1fr) / 1fr 1fr;background:#fff;align-items:stretch}.code-panel{background:linear-gradient(135deg,#f8fafc,#f1f5f9);display:flex;flex-direction:column;position:relative;min-height:100%;box-shadow:inset -1px 0 #ffffff1a;overflow:hidden}.preview-panel{background:linear-gradient(135deg,#fff,#f8fafc);display:flex;flex-direction:column;position:relative;min-height:100%;box-shadow:inset 1px 0 #ffffff1a}.panel-header{background:linear-gradient(135deg,#1e293b,#334155);color:#fff;padding:0rem 2rem;display:flex;justify-content:space-between;align-items:center;position:relative;height:70px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.panel-header h3{margin:0;font-size:1.4rem;font-weight:800;text-shadow:0 2px 4px rgba(0,0,0,.2);position:relative;z-index:2;letter-spacing:.5px}.example-tabs{display:flex;gap:.5rem;flex-wrap:nowrap;position:relative;z-index:2;overflow-x:auto}.example-tabs .tab{padding:.5rem 1rem;border:2px solid rgba(255,255,255,.15);border-radius:20px;background:#ffffff14;color:#ffffffe6;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);position:relative;overflow:hidden;white-space:nowrap;letter-spacing:.3px;flex:1 0 auto}.example-tabs .tab:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.15),transparent);transition:left .6s ease}.example-tabs .tab:hover:before{left:100%}.example-tabs .tab:hover{background:#ffffff26;border-color:#ffffff4d;transform:translateY(-1px);box-shadow:0 4px 15px #0003;color:#fff}.example-tabs .tab.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-color:#667eea;transform:translateY(-1px);box-shadow:0 6px 25px #667eea80;font-weight:700}.code-content{flex:1;padding:2rem;overflow-y:auto;background:linear-gradient(135deg,#fff,#f8f9fa);display:flex;flex-direction:column;min-height:0}.code-section{flex:1;display:flex;flex-direction:column}.code-section h4{margin:0 0 1.5rem;color:#2c3e50;font-size:1.2rem;font-weight:700;position:relative;padding-left:1rem;flex-shrink:0}.code-section h4:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:4px;height:20px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:2px}.react-code-section{position:relative;flex:1;display:flex;flex-direction:column}.react-code-section h4{margin:0 0 1.5rem;color:#2c3e50;font-size:1.2rem;font-weight:700;position:relative;padding-left:1rem;flex-shrink:0}.react-code-section h4:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:4px;height:20px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:2px}.preview-content{flex:1;padding:2rem;overflow-y:auto;display:flex;justify-content:center;background:linear-gradient(135deg,#fff,#f8f9fa);min-height:0}.mermaid-example{width:100%;text-align:center}.mermaid-example h3{margin:0 0 2rem;color:#2c3e50;font-size:1.4rem;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.1)}.mermaid-container{background:#fff;border-radius:16px;padding:2rem;box-shadow:0 10px 30px #0000001a;border:1px solid #e9ecef;position:relative;overflow:hidden}.additional-examples{background:linear-gradient(135deg,#f8f9fa,#e9ecef);padding:3rem 2rem;border-top:2px solid #dee2e6;position:relative}.additional-examples:before{content:"";position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,#667eea,#764ba2,#667eea);background-size:200% 100%;animation:shimmer 3s ease-in-out infinite}.additional-examples>div{background:#fff;border-radius:16px;padding:2rem;margin-bottom:2rem;box-shadow:0 10px 30px #00000014;border:1px solid #e9ecef;position:relative;overflow:hidden;transition:all .3s cubic-bezier(.4,0,.2,1)}.additional-examples>div:hover{transform:translateY(-4px);box-shadow:0 15px 40px #0000001f}.additional-examples>div:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#667eea,#764ba2,#667eea);background-size:200% 100%;animation:shimmer 3s ease-in-out infinite}.additional-examples h3{margin:0 0 1.5rem;color:#2c3e50;font-size:1.3rem;font-weight:700;position:relative;padding-left:1.5rem;text-shadow:0 1px 2px rgba(0,0,0,.1)}.additional-examples h3:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:4px;height:24px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:2px}.additional-examples p{margin:0 0 1.5rem;color:#6c757d;line-height:1.7;font-size:1rem}.additional-examples ul{margin:0;padding-left:1.5rem}.additional-examples li{margin-bottom:.75rem;color:#495057;position:relative;padding-left:.5rem}.additional-examples li:before{content:"▶";position:absolute;left:-1rem;color:#667eea;font-size:.8rem}.additional-examples table{width:100%;border-collapse:collapse;margin:0;border-radius:8px;overflow:hidden;box-shadow:0 4px 12px #0000000d}.additional-examples th,.additional-examples td{border:1px solid #e9ecef;padding:1rem;text-align:left}.additional-examples th{background:linear-gradient(135deg,#667eea,#764ba2);font-weight:700;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.1)}.additional-examples tr:nth-child(2n){background:#f8f9fa}.additional-examples tr:hover{background:#e3f2fd;transition:background-color .2s ease}.loading{text-align:center;padding:4rem 2rem;color:#6c757d;font-size:1.2rem;font-weight:600;position:relative}.loading:before{content:"";display:inline-block;width:40px;height:40px;border:4px solid #e9ecef;border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.markdown-container h1{color:#2c3e50;border-bottom:2px solid #3498db;padding-bottom:.5rem;margin-bottom:1.5rem}.markdown-container h2{color:#34495e;margin-top:2rem;margin-bottom:1rem;border-left:4px solid #3498db;padding-left:1rem}.markdown-container h3{color:#2c3e50;margin-top:1.5rem;margin-bottom:.5rem}.markdown-container p{margin-bottom:1rem;line-height:1.7}.markdown-container ul,.markdown-container ol{margin-bottom:1rem;padding-left:2rem}.markdown-container li{margin-bottom:.5rem}.markdown-container blockquote{border-left:4px solid #3498db;padding-left:1rem;margin:1rem 0;color:#7f8c8d;font-style:italic}.markdown-container code{background:#f8f9fa;padding:.2rem .4rem;border-radius:3px;font-family:Courier New,monospace;font-size:.875rem}.markdown-container pre{background:#f8f9fa;padding:1rem;border-radius:6px;overflow-x:auto;margin:1rem 0;border:1px solid #e9ecef}.markdown-container pre code{background:none;padding:0;border-radius:0}.markdown-container table{width:100%;border-collapse:collapse;margin:1rem 0}.markdown-container th,.markdown-container td{border:1px solid #ddd;padding:.75rem;text-align:left}.markdown-container th{background:#f8f9fa;font-weight:600}.markdown-container tr:nth-child(2n){background:#f8f9fa}@media (max-width: 768px){.app-header h1{font-size:2rem}.tabs{padding:.5rem}.tab{padding:.5rem 1rem;font-size:.875rem}.content{padding:1rem .5rem}.example,.markdown-example{padding:1rem}.markdown-container h1{font-size:1.5rem}.markdown-container h2{font-size:1.25rem}.example-content{flex-direction:column;min-height:auto}.code-panel{border-right:none;border-bottom:1px solid #e9ecef}.panel-header{flex-direction:column;align-items:flex-start;gap:1rem}.example-tabs{width:100%;justify-content:flex-start;overflow-x:auto;padding-bottom:.5rem;flex-wrap:nowrap}.example-tabs .tab{white-space:nowrap;flex-shrink:0}.example-header h2{font-size:1.5rem}.example-header p{font-size:1rem}.code-content,.preview-content,.mermaid-container,.additional-examples{padding:1rem}.additional-examples>div{padding:1rem}}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
  Theme: GitHub
  Description: Light theme as seen on github.com
  Author: github.com
  Maintainer: @Hirse
  Updated: 2021-05-15

  Outdated base version: https://github.com/primer/github-syntax-light
  Current colors taken from GitHub's CSS
*/.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-variable{color:#005cc5}.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-code,.hljs-comment,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-pseudo,.hljs-selector-tag{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}
