html{scroll-behavior:smooth}.themed-legal-wrapper{background:hsl(var(--background));min-height:100vh;color:hsl(var(--foreground));--legal-sidebar-width:280px;--legal-content-padding:2rem;--legal-container-max-width:1200px;overflow-x:hidden}@media (min-width:1024px){.themed-legal-wrapper{height:auto;overflow:visible}}.themed-legal-header{z-index:50;border-bottom:1px solid hsl(var(--border));background:hsl(var(--background)/.95);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);position:sticky;top:0}.themed-legal-header-inner{height:4.5rem;max-width:var(--legal-container-max-width);justify-content:space-between;align-items:center;margin:0 auto;padding:0 1.5rem;display:flex}.legal-back-link{z-index:10;-webkit-tap-highlight-color:#0000001a;touch-action:manipulation;cursor:pointer;border-radius:8px;align-items:center;gap:.5rem;min-height:44px;margin-left:-12px;padding:8px 12px;display:flex;position:relative}.legal-back-link:active{background:hsl(var(--muted)/.3)}@media (max-width:640px){.themed-legal-header-inner{padding:0 1rem}}.themed-legal-header-actions{align-items:center;gap:.75rem;display:flex}.themed-legal-print-btn{color:hsl(var(--muted-foreground));border:1px solid hsl(var(--border));cursor:pointer;background:0 0;border-radius:6px;align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.875rem;transition:all .2s;display:none}.themed-legal-print-btn:hover{color:hsl(var(--foreground));border-color:hsl(var(--primary)/.5);background:hsl(var(--primary)/.1)}@media (min-width:768px){.themed-legal-print-btn{display:flex}}.themed-legal-container{max-width:var(--legal-container-max-width);grid-template-columns:1fr;gap:2rem;margin:0 auto;padding:2rem 1.5rem;display:grid}@media (min-width:1024px){.themed-legal-container{grid-template-columns:var(--legal-sidebar-width)1fr;gap:3rem;padding:3rem 1.5rem 6rem}}.themed-legal-sidebar{display:none}@media (min-width:1024px){.themed-legal-sidebar{scrollbar-width:thin;height:fit-content;max-height:calc(100vh - 8rem);display:block;position:sticky;top:6.5rem;overflow-y:auto}}.toc-mobile{margin-bottom:2rem;display:block}@media (min-width:1024px){.toc-mobile{display:none}}.toc-mobile-toggle{width:100%;color:hsl(var(--foreground));background:hsl(var(--muted)/.3);border:1px solid hsl(var(--border));cursor:pointer;border-radius:10px;justify-content:space-between;align-items:center;padding:1rem 1.25rem;font-size:.875rem;font-weight:500;transition:all .2s;display:flex}.toc-mobile-toggle:hover{background:hsl(var(--muted)/.5)}.toc-mobile-toggle[aria-expanded=true]{border-bottom-color:#0000;border-radius:10px 10px 0 0}.toc-mobile-toggle-content{align-items:center;gap:.75rem;min-width:0;display:flex}.toc-mobile-toggle-text{flex-direction:column;align-items:flex-start;gap:.125rem;min-width:0;display:flex}.toc-mobile-title{text-transform:uppercase;letter-spacing:.05em;color:hsl(var(--muted-foreground));font-size:.75rem}.toc-mobile-current{color:hsl(var(--foreground));white-space:nowrap;text-overflow:ellipsis;max-width:200px;font-size:.875rem;font-weight:500;overflow:hidden}.toc-mobile-content{background:hsl(var(--muted)/.3);border:1px solid hsl(var(--border));border-top:none;border-radius:0 0 10px 10px;max-height:50vh;padding:1rem 1.25rem;display:none;overflow-y:auto}.toc-mobile-content.open{display:block}.themed-legal-main{min-width:0}@media (min-width:1024px){.themed-legal-main .legal-content{max-width:800px}}.themed-legal-footer{border-top:1px solid hsl(var(--border));background:hsl(var(--background-secondary,var(--background)));padding:3rem 1.5rem}.themed-legal-footer-inner{max-width:var(--legal-container-max-width);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:2rem;margin:0 auto;display:flex}@media (min-width:1024px){.themed-legal-footer{padding:4rem 1.5rem}.themed-legal-footer-inner{padding-left:calc(var(--legal-sidebar-width) + 3rem)}}.themed-legal-footer-date{color:hsl(var(--muted-foreground));align-items:center;gap:.5rem;font-size:.875rem;display:inline-flex}.themed-legal-footer-brand{font-size:.875rem}.themed-legal-wrapper .legal-content h1{border-bottom:1px solid hsl(var(--border))!important;color:hsl(var(--foreground))!important;word-wrap:break-word!important;overflow-wrap:break-word!important;margin-bottom:1rem!important;padding-bottom:1.5rem!important;font-size:2.5rem!important;font-weight:600!important;line-height:1.2!important}@media (max-width:640px){.themed-legal-wrapper .legal-content h1{font-size:1.75rem!important}}.themed-legal-wrapper .legal-content h2{scroll-margin-top:6rem;position:relative;border-left:4px solid hsl(var(--primary))!important;color:hsl(var(--foreground))!important;word-wrap:break-word!important;overflow-wrap:break-word!important;border-bottom:none!important;margin-top:3rem!important;margin-bottom:1.25rem!important;padding-left:1rem!important;font-size:1.5rem!important;font-weight:600!important}@media (min-width:1024px){.themed-legal-wrapper .legal-content h2{scroll-margin-top:2rem}}@media (max-width:640px){.themed-legal-wrapper .legal-content h2{margin-top:2rem!important;font-size:1.25rem!important}}.themed-legal-wrapper .legal-content h3{scroll-margin-top:6rem;color:hsl(var(--foreground))!important;margin-top:2rem!important;margin-bottom:.75rem!important;font-size:1.125rem!important;font-weight:600!important}@media (min-width:1024px){.themed-legal-wrapper .legal-content h3{scroll-margin-top:2rem}}.themed-legal-wrapper .legal-content p,.themed-legal-wrapper .legal-content li{word-wrap:break-word!important;overflow-wrap:break-word!important}.themed-legal-wrapper .legal-content a{color:hsl(var(--primary))!important;font-weight:500!important;text-decoration:none!important;transition:all .2s!important}.themed-legal-wrapper .legal-content a:hover{text-decoration:underline!important}.themed-legal-wrapper .toc-container{background:hsl(var(--muted)/.3);border:1px solid hsl(var(--border));border-radius:12px;padding:1.5rem}.themed-legal-wrapper .toc-title{text-transform:uppercase;letter-spacing:.05em;color:hsl(var(--muted-foreground));margin-bottom:1rem;font-size:.875rem;font-weight:600}.themed-legal-wrapper .toc-list{margin:0;padding:0;list-style:none}.themed-legal-wrapper .toc-link{color:hsl(var(--muted-foreground));border-left:2px solid #0000;border-radius:0 6px 6px 0;padding:.5rem .75rem;font-size:.875rem;text-decoration:none;transition:all .2s;display:block}.themed-legal-wrapper .toc-link:hover{color:hsl(var(--foreground));background:hsl(var(--muted)/.5)}.themed-legal-wrapper .toc-link.active{color:hsl(var(--primary));background:hsl(var(--primary)/.1);border-left-color:hsl(var(--primary))}.themed-legal-wrapper .toc-link--h3{padding-left:1.5rem;font-size:.8125rem}@media print{.themed-legal-header,.themed-legal-sidebar,.toc-mobile,.themed-legal-footer{display:none!important}.themed-legal-wrapper{min-height:auto;color:#000!important;background:#fff!important}.themed-legal-container{max-width:none;padding:0;display:block}.themed-legal-main{padding:0}}
