.lx-shell{--lx-nav-h:3.25rem;font-family:var(--font-ui);font-size:var(--text-ui-base);color:hsl(var(--foreground));background:hsl(var(--background));min-height:100vh}.lx-shell--full{height:100vh;min-height:0;overflow:hidden}@media (max-width:820px){.lx-shell--full{height:auto;min-height:100vh;overflow:visible}}.lx-shell.pinned .lx-topnav-zone{height:auto}.lx-shell.pinned .lx-topnav-zone:after{display:none}.lx-shell.pinned .lx-topnav{transform:none}.lx-shell.pinned:not(.lx-shell--full){padding-top:var(--lx-nav-h)}.lx-topnav-zone{z-index:50;height:6px;position:fixed;top:0;left:0;right:0}.lx-topnav-zone:after{content:"";background:hsl(var(--border));opacity:.7;border-radius:0 0 4px 4px;width:46px;height:4px;position:absolute;top:0;left:50%;transform:translate(-50%)}.lx-topnav-zone:hover,.lx-topnav-zone:focus-within{height:auto}.lx-topnav-zone:hover:after,.lx-topnav-zone:focus-within:after{opacity:0}.lx-topnav{box-sizing:border-box;min-height:var(--lx-nav-h);border-bottom:1px solid hsl(var(--border));background:hsl(var(--card));align-items:center;gap:1.25rem;padding:.75rem 1.5rem;transition:transform .18s;display:flex;transform:translateY(-100%);box-shadow:0 4px 16px #00000024}.lx-topnav-zone:hover .lx-topnav,.lx-topnav-zone:focus-within .lx-topnav{transform:translateY(0)}.lx-topnav a{color:hsl(var(--muted-foreground));padding:.25rem 0;text-decoration:none}.lx-topnav a.active{color:hsl(var(--foreground));border-bottom:2px solid hsl(var(--primary))}.lx-topnav .lx-brand{margin-right:.5rem;font-weight:600}.lx-topnav .lx-spacer{flex:1}.lx-topnav .lx-user{color:hsl(var(--muted-foreground));font-size:var(--text-ui-sm)}.lx-user-chip{align-items:center;gap:.5rem;display:inline-flex}.lx-avatar{width:26px;height:26px;color:hsl(var(--primary-foreground));background:hsl(var(--primary));border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:11px;font-weight:600;line-height:1;display:inline-flex;overflow:hidden}.lx-avatar img{object-fit:cover;width:100%;height:100%}.lx-user-name{font-size:var(--text-ui-sm);color:hsl(var(--foreground));text-overflow:ellipsis;white-space:nowrap;max-width:10rem;font-weight:500;overflow:hidden}.lx-logout,.lx-account{font:inherit;font-size:var(--text-ui-sm);cursor:pointer;border-radius:var(--radius-sm);border:1px solid hsl(var(--border));color:hsl(var(--muted-foreground));background:0 0;padding:.2rem .6rem}.lx-logout:hover{color:hsl(var(--destructive));border-color:hsl(var(--destructive) / .5)}.lx-account:hover{color:hsl(var(--foreground));border-color:hsl(var(--foreground) / .4)}.lx-pin{border-radius:var(--radius-sm);cursor:pointer;width:28px;height:28px;color:hsl(var(--muted-foreground));background:0 0;border:1px solid #0000;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.lx-pin:hover{background:hsl(var(--hover));color:hsl(var(--foreground))}.lx-pin.on{color:hsl(var(--primary));background:hsl(var(--primary) / .1);border-color:hsl(var(--primary) / .3)}.lx-pin svg{width:15px;height:15px}.lx-loading{background:hsl(var(--background));min-height:100vh;font-family:var(--font-ui);color:hsl(var(--foreground));justify-content:center;align-items:center;padding:2rem 1.25rem;display:flex}.lx-loading-inner{flex-direction:column;align-items:center;gap:1.1rem;animation:.45s .25s both lx-loading-in;display:flex}.lx-loading-mark{letter-spacing:.26em;text-indent:.26em;font-size:21px;font-weight:700}.lx-loading-bar{background:hsl(var(--border));border-radius:999px;width:8.5rem;height:2px;position:relative;overflow:hidden}.lx-loading-bar:after{content:"";border-radius:inherit;background:hsl(var(--primary));width:40%;animation:1.5s cubic-bezier(.65,0,.35,1) infinite lx-loading-sweep;position:absolute;inset:0 auto 0 0}.lx-loading-label{font-size:var(--text-ui-sm);color:hsl(var(--muted-foreground));letter-spacing:.02em;margin:0}@keyframes lx-loading-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}@keyframes lx-loading-sweep{0%{transform:translate(-100%)}to{transform:translate(250%)}}@media (prefers-reduced-motion:reduce){.lx-loading-inner{animation:0s linear .25s both lx-loading-in}.lx-loading-bar:after{opacity:.45;width:100%;animation:none}}.lx-login{background:hsl(var(--background));min-height:100vh;font-family:var(--font-ui);color:hsl(var(--foreground));justify-content:center;align-items:center;padding:2rem 1.25rem;display:flex}.lx-login-card{border:1px solid hsl(var(--border));border-radius:var(--radius-lg);background:hsl(var(--card));flex-direction:column;gap:1.25rem;width:100%;max-width:22rem;padding:2rem 1.75rem;display:flex;box-shadow:0 12px 40px #0000001f}.lx-login-card--clerk{gap:1rem;max-width:24rem}.lx-login-brand{text-align:center;flex-direction:column;gap:.25rem;display:flex}.lx-login-mark{letter-spacing:.06em;font-size:22px;font-weight:700}.lx-login-sub{font-size:var(--text-ui-sm);color:hsl(var(--muted-foreground))}.lx-login-form{flex-direction:column;gap:.875rem;display:flex}.lx-login-field{flex-direction:column;gap:.3rem;display:flex}.lx-login-field span{font-size:var(--text-ui-sm);color:hsl(var(--muted-foreground))}.lx-login-field input{width:100%;height:38px;font:inherit;color:hsl(var(--foreground));background:hsl(var(--input) / .5);border:1px solid hsl(var(--border));border-radius:var(--radius-sm);padding:0 .75rem}.lx-login-field input:focus{border-color:hsl(var(--ring));box-shadow:0 0 0 3px hsl(var(--ring) / .15);outline:none}.lx-login-submit{height:40px;margin-top:.25rem}.lx-login-note{font-size:var(--text-ui-sm);color:hsl(var(--muted-foreground));margin:0;line-height:1.6}.lx-login-error{color:hsl(var(--destructive))}.lx-login-switch{font-size:var(--text-ui-sm);color:hsl(var(--muted-foreground));text-align:center;margin:0}.lx-login-link{font:inherit;color:hsl(var(--primary));cursor:pointer;text-underline-offset:3px;background:0 0;border:none;padding:0 .15rem}.lx-login-link:hover{text-decoration:underline}.lx-steps{border-bottom:1px solid hsl(var(--border));background:hsl(var(--card));flex-wrap:wrap;align-items:center;gap:1rem;padding:.6rem 1.5rem;display:flex}.lx-steps-title{font-size:var(--text-ui-sm);letter-spacing:.08em;color:hsl(var(--muted-foreground));font-weight:600}.lx-steps ol{align-items:center;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.lx-steps li+li:before{content:"→";color:hsl(var(--muted-foreground));opacity:.6;margin:0 .5rem 0 0}.lx-steps li a{color:hsl(var(--muted-foreground));border:1px solid #0000;border-radius:999px;align-items:center;gap:.5rem;padding:.3rem .75rem .3rem .5rem;text-decoration:none;display:inline-flex}.lx-steps li a:hover{background:hsl(var(--hover));color:hsl(var(--foreground))}.lx-steps li.on a{color:hsl(var(--foreground));border-color:hsl(var(--primary) / .45);background:hsl(var(--primary) / .06)}.lx-steps li a i{opacity:.75;border:1px solid;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:18px;height:18px;font-size:11px;font-style:normal;line-height:1;display:inline-flex}.lx-steps li.on a i{background:hsl(var(--primary));border-color:hsl(var(--primary));color:hsl(var(--primary-foreground));opacity:1}.lx-steps li a b{font-weight:600}.lx-steps li a small{font-size:var(--text-ui-sm);color:hsl(var(--muted-foreground))}@media (max-width:700px){.lx-steps li a small{display:none}}.lx-page{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem;padding:1.25rem 1.5rem;display:grid}.lx-page.single{grid-template-columns:minmax(0,1fr)}@media (max-width:900px){.lx-page{grid-template-columns:1fr}}.lx-col{flex-direction:column;gap:.75rem;min-width:0;display:flex}.lx-col h2{font-size:var(--text-ui-base);margin:0;font-weight:600}.lx-section-label{color:hsl(var(--muted-foreground));font-size:var(--text-ui-sm)}.lx-search{position:relative}.lx-search>input,.lx-search-row>input{width:100%;font:inherit;color:hsl(var(--foreground));background:hsl(var(--input) / .4);border:1px solid hsl(var(--border));border-radius:var(--radius-sm);padding:.5rem .75rem}.lx-search>input:focus,.lx-search-row>input:focus{outline:2px solid hsl(var(--ring));outline-offset:1px}.lx-search-row{align-items:stretch;gap:.5rem;display:flex}.lx-search-row input{flex:1;min-width:0}.lx-search-row .lx-btn{white-space:nowrap;flex:none}.lx-results{flex-direction:column;gap:.5rem;margin:.5rem 0 0;padding:0;list-style:none;display:flex}.lx-empty{color:hsl(var(--muted-foreground));font-size:var(--text-ui-sm);padding:.5rem 0}.lx-results .lx-sentinel{align-items:center;gap:.75rem;padding:.6rem 0;list-style:none;display:flex}.lx-more{flex-wrap:wrap;align-items:center;gap:.75rem;padding:.6rem 0 .2rem;display:flex}.lx-card{border:1px solid hsl(var(--border));border-radius:var(--radius-md);background:hsl(var(--card));flex-direction:column;gap:.375rem;padding:.75rem .875rem;display:flex}.lx-card.selected{border-color:hsl(var(--primary));box-shadow:0 0 0 1px hsl(var(--primary))}.lx-card-head{align-items:baseline;gap:.5rem;display:flex}.lx-card-name{white-space:nowrap;font-weight:600;line-height:1.7}.lx-card-id{color:hsl(var(--muted-foreground));font-size:var(--text-ui-sm);font-family:var(--font-mono)}.lx-card-meta{color:hsl(var(--muted-foreground));font-size:var(--text-ui-sm);flex-wrap:wrap;gap:.75rem;display:flex}.lx-card-def{color:hsl(var(--color-text-secondary,var(--muted-foreground)));font-size:var(--text-ui-sm)}.lx-aliases{flex-wrap:wrap;gap:.375rem;display:flex}.lx-badge{font-size:var(--text-ui-sm);border-radius:var(--radius-sm);background:hsl(var(--muted));color:hsl(var(--muted-foreground));padding:.05rem .4rem}.lx-badge.lang{font-family:var(--font-mono)}.lx-bucket{border:1px dashed hsl(var(--border));border-radius:var(--radius-md);background:hsl(var(--card) / .5);padding:.75rem}.lx-bucket.empty{color:hsl(var(--muted-foreground));text-align:center;padding:1.5rem}.lx-bucket-row{border-bottom:1px solid hsl(var(--border) / .5);align-items:center;gap:.5rem;padding:.35rem 0;display:flex}.lx-bucket-row:last-child{border-bottom:none}.lx-bucket-row .grow{flex:1;min-width:0}.lx-bucket-row .role{font-size:var(--text-ui-sm);color:hsl(var(--muted-foreground))}.lx-bucket-row .role.winner{color:hsl(var(--primary));font-weight:600}.lx-btn{font:inherit;border-radius:var(--radius-sm);border:1px solid hsl(var(--border));background:hsl(var(--secondary));color:hsl(var(--secondary-foreground));cursor:pointer;padding:.4rem .85rem}.lx-btn:hover{background:hsl(var(--hover))}.lx-btn.primary{background:hsl(var(--primary));color:hsl(var(--primary-foreground));border-color:hsl(var(--primary))}.lx-btn.danger{background:hsl(var(--destructive));color:hsl(var(--destructive-foreground));border-color:hsl(var(--destructive))}.lx-btn:disabled{opacity:.5;cursor:not-allowed}.lx-btn.ghost{color:hsl(var(--muted-foreground));background:0 0;border-color:#0000;padding:.2rem .4rem}.lx-iconbtn{cursor:pointer;color:hsl(var(--muted-foreground));font:inherit;border-radius:var(--radius-sm);background:0 0;border:none;padding:.1rem .35rem}.lx-iconbtn:hover{background:hsl(var(--hover));color:hsl(var(--foreground))}.lx-auth-group{border:1px solid hsl(var(--border));border-radius:var(--radius-sm);display:inline-flex;overflow:hidden}.lx-auth-group button{cursor:pointer;font:inherit;color:hsl(var(--muted-foreground));background:0 0;border:none;padding:.15rem .5rem}.lx-auth-group button.on{background:hsl(var(--primary));color:hsl(var(--primary-foreground))}.lx-def{border:1px solid hsl(var(--border));border-radius:var(--radius-sm);flex-direction:column;gap:.375rem;padding:.5rem .625rem;display:flex}.lx-def.deleted{opacity:.45;text-decoration:line-through}.lx-def-head{align-items:center;gap:.5rem;display:flex}.lx-def-body{font-size:var(--text-ui-sm)}.lx-def-src{font-size:var(--text-ui-sm);color:hsl(var(--muted-foreground))}.lx-def-src summary{cursor:pointer}.lx-mcard .lx-card-head{flex-wrap:wrap;align-items:center;row-gap:.25rem}.lx-badge.disamb{background:hsl(var(--primary) / .14);color:hsl(var(--primary))}.lx-badge.auth{font-family:var(--font-mono)}.lx-badge.master{background:hsl(var(--destructive) / .14);color:hsl(var(--destructive))}.lx-badge.reviewed{color:#fff;background:#207941;font-weight:600}.lx-badge.auth.a2{background:hsl(var(--primary) / .16);color:hsl(var(--primary))}.lx-badge.auth.a3{background:hsl(var(--color-accent-verse,var(--primary)) / .18);color:hsl(var(--foreground))}.lx-mcard-forms{font-size:var(--text-ui-sm);flex-wrap:wrap;gap:.5rem .875rem;line-height:1.7;display:flex}.lx-mform{white-space:nowrap}.lx-mform-lang{color:hsl(var(--muted-foreground));font-size:var(--text-ui-sm);margin-right:.3rem}.lx-mcard-body{border-top:1px solid hsl(var(--border));flex-direction:column;gap:.625rem;margin-top:.125rem;padding-top:.5rem;display:flex}.lx-msec{flex-direction:column;gap:.375rem;display:flex}.lx-mex{border-left:2px solid hsl(var(--border));flex-direction:column;gap:.2rem;padding-left:.5rem;display:flex}.lx-mex-row{font-size:var(--text-ui-sm);align-items:baseline;gap:.4rem;display:flex}.lx-rel{font-size:var(--text-ui-sm);border-radius:var(--radius-sm);border:1px solid hsl(var(--border));padding:.05rem .4rem}.lx-rel.synonym{color:hsl(var(--color-accent-verse,var(--foreground)));border-color:currentColor}.lx-rel.antonym{color:hsl(var(--color-accent-error,var(--destructive)));border-color:currentColor}.lx-diff{border-collapse:collapse;width:100%;font-size:var(--text-ui-sm)}.lx-diff th,.lx-diff td{text-align:left;border-bottom:1px solid hsl(var(--border));padding:.35rem .6rem}.lx-diff th{color:hsl(var(--muted-foreground));font-weight:500}.lx-diff td.num{text-align:right;font-variant-numeric:tabular-nums;font-family:var(--font-mono)}.lx-diff td.dedup{color:hsl(var(--destructive))}.lx-blocker{color:hsl(var(--destructive));font-size:var(--text-ui-sm);padding:.35rem 0}.lx-overlay{z-index:50;background:#0006;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.lx-dialog{background:hsl(var(--card));color:hsl(var(--card-foreground));border:1px solid hsl(var(--border));border-radius:var(--radius-lg);flex-direction:column;gap:.875rem;width:90%;max-width:32rem;padding:1.25rem;display:flex}.lx-dialog h3{font-size:var(--text-ui-base);margin:0}.lx-dialog.wide{max-width:46rem}.lx-dialog-body{max-height:60vh;overflow:auto}.lx-dialog .actions{justify-content:flex-end;gap:.5rem;display:flex}.lx-toast{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius-md);z-index:60;max-width:24rem;padding:.625rem .875rem;position:fixed;bottom:1.25rem;right:1.25rem;box-shadow:0 4px 16px #00000026}.lx-toast.error{border-color:hsl(var(--destructive))}
