
:root{
  --bg: lab(2.16493% .468493 -8.28032);
  --bg-fallback: #0b0f16;

  
  --bg-soft: color-mix(in lab, var(--bg), white 6%);
  --panel:    color-mix(in lab, var(--bg), white 10%);
  --panel-2:  color-mix(in lab, var(--bg), white 14%);
  --border:   color-mix(in lab, var(--bg), white 22%);

  --text:#e5e7eb;
  --muted:#a6b0bf;

  
  --blue:   lab(15.9906% -1.03891 -16.2169);
  --blue-2: lab(15.9906% -1.03891 -16.2169);
  --nav-border: lab(12 -1.05 -12.3);

  --link:#8ab4ff;
}

*{ box-sizing:border-box }
html,body{ height:100% }


::-webkit-scrollbar{ width:0; height:0 }
*{ scrollbar-width:none; -ms-overflow-style:none }


body.theme-dark{
  


  margin:0;
  color:var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  position:relative;
}


body.theme-dark::before{
  content:""; position:fixed; inset:0; pointer-events:none;
  background:
    radial-gradient(900px 500px at 25% -8%, rgba(64,96,140,.22), transparent 65%),
    radial-gradient(900px 500px at 75% -8%, rgba(64,96,140,.22), transparent 65%);
  mix-blend-mode:screen;
  opacity:.9;
}


body.theme-dark::after{
  content:""; position:fixed; inset:0; pointer-events:none;
  background: radial-gradient(120% 120% at 50% 0%, rgba(0,0,0,0), rgba(0,0,0,.15) 70%, rgba(0,0,0,.22) 100%);
}


.icon{ width:18px; height:18px; stroke:currentColor; fill:none; display:inline-block }
.link{ color:var(--link); text-decoration:none }
.link:hover{ text-decoration:underline }
.page{ max-width:1200px; margin:0 auto; padding:40px 20px 80px }





.nav{
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: none;
  background: transparent;
  backdrop-filter: none;
}


.nav-inner{
  max-width: 1000px;
  margin: 28px auto;
  padding: 11px 16px;
  background: color-mix(in lab, var(--bg), transparent 80%);
  border: 1px solid var(--nav-border);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;

  isolation: isolate;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-col{ display:flex; align-items:center; gap:18px }
.nav-left{ justify-content:flex-start; margin-left:6px }
.nav-right{ justify-content:flex-end; gap:12px }

.nav-item{
  color:var(--muted); font-weight:500; font-size:14px; text-decoration:none;
  padding:6px 8px; border-radius:6px; transition:color .2s ease;
}
.nav-item:hover{ color:#fff }

.nav-icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:36px; height:32px; color:#dbeafe; background:transparent; border:none; border-radius:8px;
}


.btn{
  text-decoration:none; border-radius:8px; font-size:13px; font-weight:500;
  display:inline-flex; align-items:center; justify-content:center;
  padding:8px 16px; min-width:110px; transform:scale(.9); transform-origin:center;
  color:#fff !important; background:transparent;
  border:1px solid var(--nav-border);
}

.btn:hover{ color:#fff !important; background:none !important; border-color:var(--nav-border) !important }
.btn-outline{} 
.btn-solid{}   


.hero{ text-align:center; padding:70px 0 14px }
.hero-compact{ padding-top:30px }
.hero-title{ font-weight:800; font-size:60px; line-height:1.1; margin:0 0 26px }
.hero-terms{ margin-top:14px; color:var(--muted); font-size:13px }



.hero-search{
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  max-width: 820px;
  margin: 0 auto;
  background: color-mix(in lab, var(--bg), white 12%);
  border: 1px solid color-mix(in lab, var(--bg), white 18%);
  border-radius: 10px;
  height: 52px;
  overflow: visible; 
}


.hs-left{
  position: relative;
  display: flex;
  align-items: center;
  padding: 0;
  background: color-mix(in lab, var(--bg), rgb(63, 59, 59) 25%);

  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  background-clip: padding-box; 
}


.hs-left::after{
  content:"";
  position:absolute;
  right:0;
  top:8px;
  bottom:8px;
  width:1px;
  background: color-mix(in lab, var(--bg), white 14%);
  pointer-events:none;
}

.hs-trigger{
  display:flex; align-items:center; justify-content:flex-start; gap:8px;
  height:52px; padding:0 14px; border:none; background:transparent; color:#e7e5e4;
  cursor:pointer; min-width:170px;  font-size:14px; line-height:1;
}
.hs-trigger .icon{ width:16px; height:16px; stroke-width:1.6 }
.hs-trigger .caret{     border: none !important;
    background: transparent;
    margin-right: -4px; }

.hs-input{
  flex:1; background:transparent; border:none; color:#e5e7eb;
  padding:0 14px; font-size:15px;
}
.hs-input:focus{ outline:none }
.hs-submit{
  width:56px; border:none; background:transparent; color:#e5e7eb; cursor:pointer;
border-left: 1px solid
 color-mix(in lab, var(--bg), white 14%);
  display:flex; align-items:center; justify-content:center;
}


.hs-dropdown{
position: absolute;
    left: 0px;
    top: 56px;
    width: 172px;
    background: 
 color-mix(in lab, var(--bg), black 10%);
    border-radius: 11px;
    border: 1px solid
 color-mix(in lab, var(--bg), white 18%);
    padding: 4px;
    display: none;
    z-index: 60;

}
.hs-left.open .hs-dropdown{ display:block }

.hs-item{
  display:flex; align-items:center; justify-content:flex-start; gap:8px;
  width:100%; height:42px; padding:0 14px;
  background:transparent; border:none; color:#e5e7eb; text-align:left;
  cursor:pointer; font-size:13px; font-weight:500; transition:background .15s ease;
}
.hs-item .icon{ width:13px; height:13px; stroke-width:1.6 }
.hs-item span{ flex:1 1 auto; text-align:left }
.hs-item .check{ margin-left:auto; opacity:0; width:14px; height:14px }
.hs-item:hover{ background:#1c2230 }
.hs-item.selected{ background:#1c2230  }
.hs-item.selected .check{ opacity:1; margin-right: 2px; }

.hs-dropdown .hs-item:first-child{ border-top-left-radius:10px; border-top-right-radius:10px }
.hs-dropdown .hs-item:last-child { border-bottom-left-radius:10px; border-bottom-right-radius:10px }


.results-stats{
  margin:16px auto 0; max-width:820px; text-align:left; color:var(--muted); font-size:13px;
}


.results{ max-width:1000px; margin:16px auto 0; padding:0 6px }
.result-empty{ color:var(--muted); padding:16px }

.ix-card{
  border:1px solid var(--border);
  background:var(--panel);
  border-radius:10px;
  padding:10px 12px 12px;
  margin:14px 0;
}
.ix-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:8px }
.ix-head-left{ min-width:0; flex:1 1 auto }
.ix-filename{
  display:block; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  color:#8ab4ff; text-decoration:none; font-size:16px; font-weight:700;
}
.ix-filename:hover{ text-decoration:underline }
.ix-meta-right{ display:flex; align-items:center; gap:10px; color:#cbd5e1; font-size:13px; white-space:nowrap }
.ix-badge{ background:var(--blue); color:#fff; font-size:12px; font-weight:800; padding:2px 6px; border-radius:5px }

.ix-preview{
  background:var(--panel-2);
  border:1px solid var(--border);
  border-radius:6px;
  padding:8px 8px 6px;
  overflow:auto; max-height:260px;
  line-height:0; white-space:normal;
}
.ix-preview::-webkit-scrollbar{ display:none }
.ix-preview .px   { display:inline-block; width:7px; height:10px; background:#0f172a; margin:1px 1px 0 0; border-radius:1px }
.ix-preview .px-sp{ display:inline-block; width:7px; height:10px; background:transparent; margin:1px 1px 0 0; border-radius:1px }

.ix-foot{ display:flex; align-items:center; justify-content:space-between; margin-top:8px }
.ix-foot-left{ display:flex; align-items:center; gap:8px; color:#cbd5e1; font-size:13px }
.ix-full{ color:#8ab4ff; text-decoration:none; font-weight:700 }
.ix-full:hover{ text-decoration:underline }


.hs-dropdown, .hs-item, .hs-trigger{
  font-family:"Inter","Segoe UI",sans-serif; letter-spacing:.1px
}

.results-stats span{
  position: relative;
  top: -4px;   
}

.results-stats{
     margin-top: 20px;
    max-width: 1000px;
    padding-left: 8px;
    text-align: left;
    margin-bottom: -10px;
}

.nav{
  position: sticky;
  top: 12px;   
  z-index: 50;
}

@keyframes loupe-search {
  0%   { transform: translate(0, 0)      rotate(0deg); }
  10%  { transform: translate(4px,-4px)  rotate(-10deg); }
  25%  { transform: translate(10px,-2px) rotate(-5deg); }
  40%  { transform: translate(6px, 4px)  rotate(8deg); }
  55%  { transform: translate(-2px, 8px) rotate(4deg); }
  70%  { transform: translate(-8px, 2px) rotate(-8deg); }
  85%  { transform: translate(-4px,-3px) rotate(6deg); }
  100% { transform: translate(0, 0)      rotate(0deg); }
}


body.is-searching .hs-submit .icon {
  animation: loupe-search 3s ease-in-out;
  transform-origin: 50% 50%;
}

body.is-searching .hs-submit .icon {
  animation: none !important;
}

.hs-submit .icon {
  transition: transform 0.12s ease-out;
}

.hs-submit .icon {
  transition: transform 0.2s ease-out;
}

.nav-logo-wrap{
  display:flex;
  align-items:center;
  text-decoration:none;
  margin-right:10px;
}

.nav-logo{
  height:22px;              
  width:auto;
  display:block;
  object-fit:contain;
}


.nav-left{
  justify-content:flex-start;
  margin-left:6px;
  gap:14px;                 
}




.hs-trigger{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  height: 52px;
  padding: 0 16px;
  border: none;
  background: transparent;
  color: #e7e5e4;
  cursor: pointer;
  min-width: 170px;
  font-weight: 500;
  font-size: 14px;
  
  line-height: 1;
}

.hs-trigger .icon{
  width: 16px;
  height: 16px;
  stroke-width: 1.6;
  opacity: .85;
}
.hs-trigger .caret{
  width: 12px;
  height: 12px;
  opacity: .75;
  margin-left: auto;
   border: 1px solid var(--nav-border);
}





.hs-item{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  height: 40px;
  padding: 0 10px 0 12px;
  margin: 2px 0;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: #e5e7eb;
  cursor: pointer;
  font-size: 13px;
 
  text-align: left;
  transition: background .15s ease, color .15s ease, transform .12s ease;
}

.hs-item .icon{
  width: 12px;
  height: 12px;
  stroke-width: 1.6;
  opacity: .9;
}
.hs-item span{
  flex: 1 1 auto;
}
.hs-item .check{
  margin-left: auto;
  opacity: 0;
  width: 10px;
  height: 10px;
}




.hs-item.selected{
  background: color-mix(in lab, var(--bg), white 16%);
}
.hs-item.selected .check{
  opacity: 1;
}



.hs-trigger .caret{
  transition: transform .18s ease, opacity .15s ease;
}
.hs-item{
  transition: background .15s ease, color .15s ease;
  transform: none;                 

}


.hs-item:hover{
  
  transform: none;                 
}


.hs-item.selected{
  background: color-mix(in lab, var(--bg), white 16%);
}


.hs-item.selected:hover{

}


.hs-item.selected .check{
  opacity: 1;                
}


.hs-item.selected{
  background: color-mix(in lab, var(--bg), white 16%);
}
.hs-item.selected .check{
  opacity: 1;
}



.hs-dropdown:hover .hs-item.selected:not(:hover){
  background: transparent;
}

.hs-dropdown{
 position: absolute;
    left: 0px;
    top: 56px;
    width: 172px;
    background: 
 color-mix(in lab, var(--bg), black 10%);
    border-radius: 12px;
    border: 1px solid
 color-mix(in lab, var(--bg), white 18%);
    padding: 4px;
    display: none;
    z-index: 60;
}

.hs-trigger .caret{
  border: none !important;
  background: transparent;
}

.hs-dropdown{
  padding: 0;                 
}


.hs-item{
  margin: 0;
  border-radius: 0;           
  width: 100%;
}


.hs-item + .hs-item{
  margin-top: 4px;
}


.hs-dropdown .hs-item:first-child{
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
.hs-dropdown .hs-item:last-child{
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}



.hs-trigger{
  padding: 0 18px !important;
}

.hs-item{
  padding: 0 18px !important;   
  gap: 10px !important;         
  height: 42px;                 
}


.hs-trigger .icon,
.hs-item .icon{
  width: 16px !important;
  height: 16px !important;
  stroke-width: 1.6;
}


.hs-trigger span,
.hs-item span{
  line-height: 1;
}


.hs-item .check{
  margin-left: auto;
  width: 14px !important;
  height: 14px !important;
}

.hs-trigger span,
.hs-item span{
  position: relative;
  top: 0.5px;          
}



.hero-search{
  position: relative;
  display: flex;
  align-items: stretch;
  max-width: 820px;
  margin: 0 auto;
  height: 52px;

  background: color-mix(in lab, var(--bg), white 10%);
  border: 1px solid color-mix(in lab, var(--bg), white 18%);
  border-radius: 10px;
  overflow: hidden; 
}


.hs-input{
  flex: 1;
  border: none;
  background: transparent;
  color: #e5e7eb;
  padding: 0 16px;
  font-size: 15px;
}
.hs-input::placeholder{
  color: color-mix(in lab, var(--bg), white 45%);
}
.hs-input:focus{
  outline: none;
}


.hs-submit{
  width: 60px;
  border: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  
  background: linear-gradient(
    135deg,
    color-mix(in lab, var(--bg), black 35%) 0%,
    color-mix(in lab, var(--bg), black 15%) 100%
  );
  border-left: 1px solid color-mix(in lab, var(--bg), white 8%);
}
.hs-submit .icon{
  width: 18px;
  height: 18px;
  stroke: #e5e7eb;
  fill: none;
}


.hs-submit:hover{
  background: linear-gradient(
    135deg,
    color-mix(in lab, var(--bg), black 30%) 0%,
    color-mix(in lab, var(--bg), black 10%) 100%
  );
}


.modal-root{
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;                 
  font-family: inherit;
}

.modal-root.is-open{
  display: block;
}


.modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(3,10,20,.75);
  backdrop-filter: blur(4px);
}


.modal-panel{
  position: absolute;
  inset: 40px 32px;
  margin: auto;
  background: color-mix(in lab, var(--bg), white 6%);
  border-radius: 10px;
  border: 1px solid color-mix(in lab, var(--bg), white 18%);
  box-shadow: 0 18px 45px rgba(0,0,0,.7);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}


.modal-topbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: color-mix(in lab, var(--bg), white 4%);
  border-bottom: 1px solid color-mix(in lab, var(--bg), white 10%);
}

.modal-back-btn{
  border: 1px solid color-mix(in lab, var(--bg), white 18%);
  background: transparent;
  color: var(--text);
  font-size: 13px;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.modal-top-actions{
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-icon-btn{
  border: 1px solid color-mix(in lab, var(--bg), white 14%);
  background: transparent;
  color: var(--text);
  width: 26px;
  height: 26px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
}


.modal-title-row{
  padding: 10px 18px 6px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.modal-title{
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #e5e7eb;
}
.modal-date{
  font-size: 12px;
  color: var(--muted);
}


.modal-tabs{
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 18px;
  border-bottom: 1px solid color-mix(in lab, var(--bg), white 10%);
}
.modal-tab{
  padding: 8px 14px;
  font-size: 13px;
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: default;
}
.modal-tab.active{
  color: #f9fafb;
  border-bottom: 2px solid #f9fafb;
}
.modal-tab.disabled{
  opacity: .45;
}


.modal-toolbar{
  padding: 8px 18px;
  background: color-mix(in lab, var(--bg), white 6%);
  border-bottom: 1px solid color-mix(in lab, var(--bg), white 10%);
}
.modal-search-label{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
}
.modal-search-input{
  
  background: color-mix(in lab, var(--bg), white 4%);
  color: var(--text);
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 4px;
  min-width: 220px;
}
.modal-search-input:focus{
  outline: none;
 
}


.modal-body{
  flex: 1;
  margin: 0;
  padding: 12px 18px 18px;
  overflow: auto;
  background: color-mix(in lab, var(--bg), white 3%);
  color: #e5e7eb;
  font-family: Menlo, Consolas, ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
  line-height: 1.4;
  white-space: pre;
}


.modal-body .px{
  display:inline-block;
  width:7px;
  height:10px;
  background:#0f172a;
  margin:1px 1px 0 0;
  border-radius:1px;
}
.modal-body .px-sp{
  display:inline-block;
  width:7px;
  height:10px;
  background:transparent;
  margin:1px 1px 0 0;
  border-radius:1px;
}

.modal-back-btn{
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 6px 12px;
  border-radius: 4px; 
  border: 1px solid color-mix(in lab, var(--bg), white 22%);
  background: transparent;
  color: #e5e7eb;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.modal-back-btn svg{
  width: 14px;
  height: 14px;
}



.modal-icon-btn{
  border: none !important;
  background: transparent;
  border-radius: 999px; 
  
}

.modal-icon-btn:hover{
  background: rgba(255,255,255,.06);
}

.modal-search{
  margin: 10px 0 12px;
}

.modal-search-inner {
    display: flex;
    align-items: center;
    gap: 0;
    height: 38px;
    width: 1050px;
    margin-left: 15px;
    border-radius: 8px;
    background: 
 color-mix(in lab, var(--bg), white 10%);
    border: 1px solid
 color-mix(in lab, var(--bg), white 20%);
    padding: 0 10px;
}

.modal-search-icon{
  width: 16px;
  height: 16px;
  opacity: .85;
  margin-right: 6px;
}

.modal-search-input{
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #e5e7eb;
  font-size: 13px;
}

.modal-search-inner:focus-within{
  border-color: color-mix(in lab, var(--bg), white 30%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.04);
}


.modal-hit{
  background: #fbbf24;
  color: #111827;
  border-radius: 2px;
  padding: 0 2px;
}

.modal-toolbar{
  padding: 0;                 
}

.modal-search{
  margin: 0;
}

.modal-search-inner{
  height: 38px;
  
  margin: 12px 11px;
  width: calc(100% - 20px);   

  display: flex;
  align-items: center;
  gap: 0;

  border-radius: 8px;
  background: color-mix(in lab, var(--bg), white 10%);
  border: 1px solid color-mix(in lab, var(--bg), white 20%);
  padding: 0 10px;
}
.modal-body{
  flex: 1 1 auto;
  min-height: 0;                    
  padding: 12px 18px 18px;
  overflow: auto;
  background: color-mix(in lab, var(--bg), white 3%);
  color: #e5e7eb;
  font-family: Menlo, Consolas, ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
  line-height: 1.4;

  
  white-space: pre-wrap;            
  word-break: break-word;           
}

.ix-full{
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0;
  display: inline;
  color: #8ab4ff;
  font-weight: 700;
  text-decoration: none;
}

.ix-full:hover{
  text-decoration: underline;
  background: none !important;
}

.ix-full:focus-visible{
  outline: 1px solid rgba(138,180,255,.6);
  outline-offset: 2px;
}



.auth-page{
  min-height: 100vh;          
  display: flex;
  align-items: center;        
  justify-content: center;    
  padding: 0 16px;            
}


.auth-card{
  width:100%;
  max-width:435px;
  background: color-mix(in lab, var(--bg), transparent 80%);
  border: 1px solid var(--nav-border);
  border-radius:16px;
  padding:28px 32px 24px;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
   margin: 0;
}

.auth-title{
  margin:0 0 6px;
  font-size:22px;
  font-weight:600;
  color:#f9fafb;
}

.auth-subtitle{
  margin:0 0 22px;
  font-size:14px;
  color:var(--muted);
}

.auth-alert{
  margin-bottom:16px;
  font-size:13px;
  color:#fecaca;
  background:rgba(127,29,29,.25);
  border:1px solid rgba(248,113,113,.4);
  padding:8px 10px;
  border-radius:6px;
}

.auth-form{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.auth-field{
  display:flex;
  flex-direction:column;
  gap:6px;
  text-align:left;
}

.auth-label-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.auth-label{
  font-size:13px;
  font-weight:500;
  color:#e5e7eb;
}

.auth-link-small{
  font-size:12px;
  color:#8ab4ff;
  text-decoration:none;
}
.auth-link-small:hover{
  text-decoration:underline;
}


.auth-input-wrap{
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;

  background: color-mix(in lab, var(--bg), transparent 82%);
  border: 1px solid color-mix(in lab, var(--bg), white 16%);
  border-radius: 9px;
  padding: 0 12px;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.auth-input-wrap:focus-within{
  border-color: color-mix(in lab, var(--bg), white 26%);
}

.auth-input-icon{
  width: 16px;
  height: 16px;
  opacity: .85;
  flex-shrink: 0;
}


.auth-input{
  flex: 1;
  border: none;
  background: transparent !important;
  color: #e5e7eb;
  font-size: 14px;
}
.auth-input::placeholder{
  color: color-mix(in lab, var(--bg), white 45%);
}
.auth-input:focus{
  outline: none;
}


.auth-input:-webkit-autofill,
.auth-input:-webkit-autofill:hover,
.auth-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  -webkit-text-fill-color: #e5e7eb !important;
  caret-color: #e5e7eb;
}


.auth-btn{
  margin-top:4px;
  height:42px;
  border-radius:8px;
  border:1px solid transparent;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:14px;
  font-weight:500;
  cursor:pointer;
}

.auth-btn-primary{
  background:#f9fafb;
  color:#020617;
}
.auth-btn-primary:hover{
  background:#e5e7eb;
}


.auth-divider{
  display:flex;
  align-items:center;
  gap:10px;
  margin:14px 0 6px;
}
.auth-divider-line{
  flex:1;
  height:1px;
  background:color-mix(in lab, var(--bg), white 10%);
}
.auth-divider-text{
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:color-mix(in lab, var(--bg), white 45%);
}


.auth-btn-ghost{
  background: color-mix(in lab, var(--bg), transparent 80%);;
  border-color: color-mix(in lab, var(--bg), white 12%);
  color:#e5e7eb;
}
.auth-btn-ghost:hover{
 
background-color: color-mix(in lab, var(--bg), transparent 6%);
}

.auth-btn-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.auth-icon{
  width:16px;
  height:16px;
  stroke:none;
  fill:currentColor;
}


.auth-footer{
 margin-top: 18px;
    font-size: 13px;
    color: var(--muted);
    text-align: center;
    
    
    padding-bottom: -40px;
    margin-top: 20px;
}
.auth-footer .auth-link-small{
  font-size:13px;
}






.auth-page{
  height: 100%;          
  min-height: 0;
  display: flex;
  align-items: center;   
  justify-content: center;
  padding: 0 16px;
}


.auth-card{
  margin: 0;
}
body.theme-dark{
  
  --grid: 64px;
  --grid-light: rgba(255,255,255,.06);  
  --grid-dark:  rgba(0,0,0,.32);        

  
  background:
    repeating-linear-gradient(0deg,  var(--grid-light) 0 1px, transparent 1px var(--grid)),
    repeating-linear-gradient(90deg, var(--grid-light) 0 1px, transparent 1px var(--grid)),
    repeating-linear-gradient(0deg,  var(--grid-dark) 0 1px, transparent 1px var(--grid)),
    repeating-linear-gradient(90deg, var(--grid-dark) 0 1px, transparent 1px var(--grid)),
    linear-gradient(
      145deg,
      lab(1.4% .468493 -8.28032) 0%,  
      lab(6.5% 0 -14) 100%            
    );

  background-attachment: fixed;
  background-size: cover;
  margin:0;
  color:var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  position:relative;
}


body.theme-dark::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(900px 500px at 25% -8%, rgba(64,96,140,.18), transparent 65%),
    radial-gradient(900px 500px at 75% -8%, rgba(64,96,140,.18), transparent 65%);
  mix-blend-mode:screen;
  opacity:.8;
}

body.theme-dark::after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background: radial-gradient(
    120% 120% at 50% 0%,
    rgba(0,0,0,0),
    rgba(0,0,0,.20) 70%,
    rgba(0,0,0,.28) 100%
  );
}


body.theme-dark::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(900px 500px at 25% -8%, rgba(64,96,140,.18), transparent 65%),
    radial-gradient(900px 500px at 75% -8%, rgba(64,96,140,.18), transparent 65%);
  mix-blend-mode:screen;
  opacity:.8;
}

body.theme-dark::after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background: radial-gradient(
    120% 120% at 50% 0%,
    rgba(0,0,0,0),
    rgba(0,0,0,.20) 70%,
    rgba(0,0,0,.28) 100%
  );
}

body.login-page .nav {
  display: none;
}



.page:has(.auth-page){
  max-width: none;
  padding: 0;              
}


.auth-page{
  min-height: 100vh;       
  display: flex;
  align-items: center;     
  justify-content: center; 
  padding: 0 16px;         
}
.login-page .nav,
.register-page .nav{
  display:none;
}
.nav-avatar{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid color-mix(in lab, var(--bg), white 14%);
  background: color-mix(in lab, var(--bg), white 6%);
  color: #e5e7eb;
  text-align: center;
  margin-right: 8px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.nav-avatar:hover{
  background: color-mix(in lab, var(--bg), white 10%);
}


.nav-profile{
  position: relative;
}

.nav-avatar-btn{
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}



.nav-profile-menu{
     position: absolute;
    right: -11px;
    top: 30px;
    min-width: 140px;
    background: #020617;
    border-radius: 10px;
    border: 1px solid rgb(100 100 100 / 34%);
    padding: 0;
    display: none;
    z-index: 150;
    overflow: visible;
}


.nav-profile.is-open .nav-profile-menu{
  display: block;
}


.nav-profile-header{
padding: 10px 16px 9px;
    background: #020617;
    border-bottom: 1.4px solid #111827;
}

.nav-profile-name{
  font-size: 14px;
  font-weight: 600;
  color: #f9fafb;
}

.nav-profile-email{
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}


.nav-profile-item{
width: 100%;
    border: none;
    background: #020617;
    padding: 9px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #e1e1e1;
    text-align: left;
    cursor: pointer;
}

.nav-profile-item + .nav-profile-item{
  border-top: 1px solid color-mix(in lab, var(--bg), white 8%);
}

.nav-profile-item:hover{
  background: color-mix(in lab, var(--bg), white 6%);
}

.nav-profile-icon{
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}


.nav-profile-plan-label{
  font-weight: 700;
  letter-spacing: .08em;
}

.nav-profile-signout{
  color: #e5e7eb;
  text-decoration: none;
  font-size: 13px;
}


.nav-profile{
  position: relative;
}

.nav-avatar-btn{
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}




.nav-profile.is-open .nav-profile-menu{
  display: block;
}


.nav-profile-header{
padding: 10px 16px 9px;
    background: #020617;
    border-bottom: 1.4px solid #111827;
}

.nav-profile-name{
  font-size: 15px;
  
  color: #f9fafb;
}

.nav-profile-email{
  margin-top: 2px;
  font-size: 13px;
  color: #9ca3af;
}




.nav-profile-item + .nav-profile-item{
  border-top: 1px solid #111827;
}

.nav-profile-item:hover{
  background: #020819;
}

.nav-profile-icon{
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #9ca3af;
}

.nav-profile-signout{
  text-decoration: none;
}


.nav-profile-email{
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.ix-preview-text{
  margin: 0;
  font-family: Menlo, Consolas, ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
  line-height: 1.4;
  white-space: pre-wrap;
}
.nav-profile-item{
  width: 100%;
  border: none;
  background: #020617;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e1e1e1;
  text-align: left;
  cursor: pointer;
}


.nav-profile-item:last-child{
  padding-bottom: 11px;  
}


.pricing-page{
  max-width: 1100px;
  margin: 80px auto 100px;
  padding: 0 20px;
  text-align: center;
}

.pricing-title{
  margin: 0 0 40px;
  font-size: 32px;
  font-weight: 700;
  color: #e5e7eb;
}

.pricing-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.pricing-card{
  background: color-mix(in lab, var(--bg), white 5%);
  border: 1px solid color-mix(in lab, var(--bg), white 14%);
  border-radius: 18px;
  padding: 26px 26px 22px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card-highlight{
  border-color: color-mix(in lab, var(--bg), white 24%);
  box-shadow: 0 18px 35px rgba(0,0,0,.7);
}

.pricing-card-header{
  margin-bottom: 18px;
}

.pricing-card-name{
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 700;
  color: #f9fafb;
}

.pricing-card-price{
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pricing-price-amount{
  font-size: 28px;
  font-weight: 700;
  color: #38bdf8; 
}

.pricing-price-period{
  font-size: 14px;
  color: var(--muted);
}



.pricing-features{
  list-style: none;
  margin: 18px 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: #e5e7eb;
}

.pricing-features li{
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-check{
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #38bdf8;
}

.pricing-feature-disabled{
  opacity: .6;
}

.pricing-feature-disabled .pricing-cross{
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #f97373;
}



.pricing-btn{
 width: 100%;
    height: 54px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: 
 color-mix(in lab, var(--bg), transparent 70%);
    color: #e5e7eb;
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: none;
}

.pricing-btn-icon{
  width: 16px;
  height: 16px;
}

.pricing-btn:hover{
  background: color-mix(in lab, var(--bg), white 4%);
}

.pricing-btn-primary{
  background: #f9fafb;
  color: #020617;
  border-color: #f9fafb;
}

.pricing-btn-primary:hover{
  background: #e5e7eb;
}



@media (max-width: 960px){
  .pricing-grid{
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}


.pricing-page{
  max-width: 1150px;
  margin: 80px auto 120px;
  padding: 0 24px;
  text-align: center;
}

.pricing-title{
  margin: 0 0 46px;
  font-size: 34px;
  font-weight: 700;
  color: #e5e7eb;
}

.pricing-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}


.pricing-card{
     border-radius: 16px;
    padding: 32px 34px 49px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: 
 color-mix(in lab, var(--bg), transparent 78%);
    border: 1px solid var(--nav-border);
    box-shadow: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

}


.pricing-card-highlight{
  border-color: rgba(148,163,184,0.32);
}


.pricing-card-header{
  margin-bottom: 26px;
}

.pricing-card-name{
  margin: 0 0 16px;
  font-size: 36px;
  font-weight: 700;
  color: #f9fafb;
}

.pricing-card-price{
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pricing-price-amount{
 font-size: 34px;
    font-weight: 700;
    color: #e5e5e5;
}

.pricing-price-period{
  font-size: 16px;
  color: #9ca3af;
}


.pricing-features{
  list-style: none;
  margin: 20px 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  color: #e5e7eb;
}

.pricing-features li{
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-check{
 width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #c6c6c6;
}

.pricing-feature-disabled{
  opacity: .7;
}

.pricing-feature-disabled .pricing-cross{
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: #f87171;
}


.pricing-btn{
  margin-top: auto;
  width: 100%;
  height: 56px;
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,0.28);
  background: rgba(15,23,42,0.95);
  color: #e5e7eb;
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

.pricing-btn-icon{
  width: 16px;
  height: 16px;
}

.pricing-btn:hover{
  background: rgba(15,23,42,0.99);
}


.pricing-card-highlight .pricing-btn{
  background: #f9fafb;
  color: #020617;
  border-color: #f9fafb;
}

.pricing-card-highlight .pricing-btn:hover{
  background: #e5e7eb;
}


@media (max-width: 960px){
  .pricing-grid{
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}


.pricing-page{
  max-width: 1100px;
  margin: 110px auto 130px;
  padding: 0 24px;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;   
}

.pricing-title{
     margin-bottom: 35px;
}

.pricing-grid{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}


.pricing-card{
   border-radius: 16px;
    padding: 32px 34px 49px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-color: #cef0ff;
    background: 
 color-mix(in lab, var(--bg), transparent 78%);
    border: 1px solid lab(77 -1.3 -1.1 / 0.43);
    box-shadow: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}




.pricing-card-highlight{
 border-color: #9baab0;
    background: 
 color-mix(in lab, var(--bg), #0b1120 15%);
}


.pricing-btn{
 width: 100%;
    height: 54px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: 
 color-mix(in lab, var(--bg), transparent 70%);
    color: #e5e7eb;
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: none;
}

.pricing-card-highlight .pricing-btn{
  background: #f9fafb;
  color: #020617;
  border-color: #f9fafb;
}


@media (max-width: 960px){
  .pricing-grid{
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}
.pricing-page{
  max-width: 1100px;
  margin: -40px auto 0;   
  padding: 0 24px 60px;
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.pricing-grid{
  margin-top: 0;   
}


.nav-profile{
  position: relative;
}

.nav-avatar-btn{
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}


.nav-profile-menu{
  position: absolute;
  right: 0;
  top: 52px;                 
  min-width: 260px;
  background: #020617;
  border-radius: 14px;       
  border: 1px solid #111827;
  padding: 0;
  display: none;
  z-index: 80;
  overflow: visible;         
}

.nav-profile.is-open .nav-profile-menu{
  display: block;
}


.nav-profile-menu::before{
  content: "";
  position: absolute;
  top: -7px;                 
  right: 30px;               
  width: 14px;
  height: 14px;
  background: #020617;
  border-left: 1px solid #111827;
  border-top: 1px solid #111827;
  transform: rotate(45deg);
  border-radius: 2px;
}



.nav-profile{
  position: relative;
}

.nav-avatar-btn{
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}


.nav-profile-menu{
      position: absolute;
    right: 0px;
    top: 50px;
    min-width: 140px;
    background: #020617;
    border-radius: 10px;
    border: 1px solid rgb(100 100 100 / 34%);
    padding: 0;
    display: none;
    z-index: 150;
    overflow: visible;
}

.nav-profile-menu{
  
  border: 1px solid rgb(100 100 100 / 34%);  
}


.nav-profile-menu::before{
  border-left-color: rgba(148, 163, 184, 0.45);
  border-top-color: rgba(148, 163, 184, 0.45);
}

.nav-profile.is-open .nav-profile-menu{
  display: block;
}


.nav-profile-menu::before{
    content: "";
    position: absolute;
    top: -7.9px;
    right: 18px;
    width: 13px;
    height: 13px;
    background: #020617;
    border-left: 1px solid #111827;
    border-top: 1px solid #111827;
    transform: rotate(45deg);
    border-radius: 2px;
}


.nav-profile-header{
  padding: 10px 16px 9px;
  background: #020617;
  border-bottom: 1px solid #111827;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

.nav-profile-name{
  font-size: 15px;
  font-weight: 600;
  color: #f9fafb;
}

.nav-profile-email{
  margin-top: 2px;
  font-size: 13px;
  color: #9ca3af;
}


.nav-profile-item{
  width: 100%;
  border: none;
  background: #020617;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #e1e1e1;
  text-align: left;
  cursor: pointer;
}

.nav-profile-item + .nav-profile-item{
  border-top: 1px solid #111827;
}

.nav-profile-item:last-child{
  padding-bottom: 12px;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
}

.nav-profile-item:hover{
  background: #020819;
}

.nav-profile-icon{
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #9ca3af;
}

.nav-profile-signout{
  text-decoration: none;
  color: #e5e7eb;
  font-size: 13px;
}
.nav-profile-menu::before{

  
  border-left: 1px solid rgb(100 100 100 / 34%);
  border-top: 1px solid rgb(100 100 100 / 34%);
}


.admin-page .page{
  max-width: 1200px;
  padding-top: 40px;
}

.admin-wrapper{
  max-width: 1100px;
  margin: 0 auto 80px;
}

.admin-card{
border-radius: 14px;
    background: 
 color-mix(in lab, var(--bg), transparent 80%);
    border: 1px solid
 color-mix(in lab, var(--bg), white 12%);
    padding: 18px 18px 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.admin-header{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}

.admin-title{
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #e5e7eb;
}

.admin-subtitle{
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}



.admin-table-wrap{
  border-radius:14px;
  overflow:visible;         
  border:1px solid color-mix(in lab, var(--bg), white 10%);
}


.admin-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  color: #e5e7eb;
}

.admin-table thead{
  background: color-mix(in lab, var(--bg), white 4%);
}

.admin-card{
  background: color-mix(in lab, var(--bg), transparent 80%); 
  border-radius: 14px;
  border: 1px solid color-mix(in lab, var(--bg), white 12%);
  padding: 18px 18px 14px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}


.admin-table thead{
  background: transparent;          
}




.admin-table tbody tr:last-child td{
  border-bottom: none;
}

.admin-col-avatar{
  width: 80px;
}

.admin-col-actions{
  width: 40px;
}



.admin-avatar{
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: color-mix(in lab, var(--bg), white 8%);
  border: 1px solid color-mix(in lab, var(--bg), white 16%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: #e5e7eb;
}

.admin-email{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI;
}



.admin-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge{
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  border: 1px solid transparent;
  background: rgba(15,23,42,.6);
}

.badge-admin{
  background: #f9fafb;
  color: #020617;
}

.badge-plan{
  background: #f9fafb;
 color: #020617;
  
}

.badge-muted{
  background: rgba(15,23,42,.4);
  color: #9ca3af;
}



.admin-row-menu{
  border: none;
  background: transparent;
  color: #e5e7eb;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0 4px;
}
.admin-row-menu:hover{
  color: #f9fafb;
}


.admin-card-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  margin-bottom:18px;
}

.admin-title{
  margin:0;
  font-size:20px;
  font-weight:600;
  color:#f9fafb;
}
.admin-subtitle{
  margin:4px 0 0;
  font-size:13px;
  color:var(--muted);
}

.admin-table{
  width:100%;
  border-collapse:collapse;
  font-size:13px;
}

.admin-table thead{
  background: color-mix(in lab, var(--bg), white 4%);
}
.admin-table th,
.admin-table td{
  padding:10px 14px;
  border-bottom:1px solid color-mix(in lab, var(--bg), white 6%);
}
.admin-table th{
  text-align:left;
  font-weight:500;
  color:#9ca3af;
}

.admin-avatar{
  width:32px;
  height:32px;
  border-radius:999px;
  background: #020617;
  border:1px solid color-mix(in lab, var(--bg), white 18%);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
}

.admin-tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.admin-tag{
  padding:2px 8px;
  border-radius:999px;
  border:1px solid color-mix(in lab, var(--bg), white 22%);
  font-size:11px;
  color:#e5e7eb;
  background: color-mix(in lab, var(--bg), white 4%);
}
.admin-tag-primary{
  border-color:#38bdf8;
  color:#e0f2fe;
  background:rgba(56,189,248,.12);
}
.admin-tag-muted{
  opacity:.7;
}
.admin-tag-danger{
  border-color:#f97373;
  color:#fecaca;
  background:rgba(248,113,113,.14);
}

.admin-col-actions{
  width:60px;
  text-align:right;
}


.users-actions{
  position:relative;
}

.users-actions-toggle{
  width:28px;
  height:28px;
  border-radius:999px;
  border:1px solid color-mix(in lab, var(--bg), white 14%);
  background: color-mix(in lab, var(--bg), white 4%);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:2px;
  cursor:pointer;
}
.users-actions-toggle .dot{
  width:3px;
  height:3px;
  border-radius:999px;
  background:#e5e7eb;
}


.users-actions-menu{
  position:absolute;
  right:0;
  top:32px;
  min-width:160px;
 background: #020617;
  border-radius:10px;
  border:1px solid color-mix(in lab, var(--bg), white 18%);

  padding:4px 0;
  display:none;
  z-index:40;
}
.users-actions.open .users-actions-menu{
  display:block;
}

.users-actions-title{
  padding:6px 12px 8px;
  font-size:12px;
  font-weight:600;
  text-align: left;
  color:#e5e7eb;
  border-bottom:1px solid color-mix(in lab, var(--bg), white 8%);
}

.users-actions-item{
  width:100%;
  border:none;
  background:transparent;
  text-align:left;
  padding:8px 12px;
  font-size:13px;
  color:#e5e7eb;
  cursor:pointer;
}
.users-actions-item:hover{
   background: color-mix(in lab, var(--bg), white 6%);
}
.users-actions-ban{
  color:#f97373;
}



.admin-modal-root{
  position:fixed;
  inset:0;
  z-index:90;
  display:none;
}
.admin-modal-root.is-open{
  display:flex;
  align-items:center;
  justify-content:center;
}

.admin-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(3,10,20,.8);
  backdrop-filter:blur(4px);
}

.admin-modal-panel{
     position: relative;
    width: 510px;
    height: 500px;
    max-width: 95vw;
    border-radius: 18px;
    border: 1px solid
    color-mix(in lab, var(--bg), white 12%);
    backdrop-filter: blur(10px);
    padding: 20px 22px 22px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
        background: 
 color-mix(in lab, var(--bg), #00000052 78%);
    display: flex;
    flex-direction: column;
}

.admin-modal-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:16px;
}
.admin-modal-title{
  margin:0;
  font-size:20px;
  font-weight:600;
  color:#f9fafb;
}
.admin-modal-close{
  border:none;
  background:transparent;
  color:#9ca3af;
  cursor:pointer;
  font-size:16px;
}
.admin-modal-close:hover{
  color:#e5e7eb;
}

.admin-modal-body{
  margin-top:6px;
}
.admin-modal-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 0;
  border-bottom:1px solid color-mix(in lab, var(--bg), white 8%);
}
.admin-modal-row:last-child{
  border-bottom:none;
}
.admin-modal-label .row-title{
  font-size:15px;
  color:#e5e7eb;
}
.admin-modal-label .row-sub{
  font-size:13px;
  color:#9ca3af;
  margin-top:2px;
}
.admin-modal-row-admin .row-title{
  display:flex;
  align-items:center;
  gap:6px;
}
.admin-warning{
  font-size:13px;
  color:#fbbf24;
}

.admin-modal-footer{
  margin-top:16px;
  display:flex;
  justify-content:flex-start;
}
.admin-modal-save{
     min-width: 90px;
    height: 34px;
    border-radius: 8px;
    border: none;
    background: #f9fafb;
    color: #020617;
    font-size: 14px;
    font-weight: 500;
    margin-top: 130px;
    cursor: pointer;
}
.admin-modal-save:hover{
  background:#e5e7eb;
}


.toggle{
  position:relative;
  width:40px;
  height:22px;
  flex-shrink:0;
}
.toggle input{
  opacity:0;
  width:0;
  height:0;
}
.toggle-slider{
      position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #111827;
    border: 1px solid #ffffff;
    transition: background .15s 
ease, border-color .15s 
ease;
}
.toggle-slider::before{
 content: "";
    position: absolute;
    left: 2px;
    top: 2px;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: #717c92;
    transition: transform .15s 
ease;
}
.toggle input:checked + .toggle-slider{
  background: #ffffff;
    border-color: #000000;
}
.toggle input:checked + .toggle-slider::before{
  transform:translateX(16px);
}
.toggle input:disabled + .toggle-slider{
  opacity:.45;
}

.admin-card{
  background: color-mix(in lab, var(--bg), transparent 80%); 
  border-radius: 14px;
  border: 1px solid color-mix(in lab, var(--bg), white 12%);
  padding: 18px 18px 14px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}


.admin-table thead{
  background: transparent;          
}

.users-actions{
  position: relative;
}


.users-actions-menu{
    position: absolute;
    right: -11px;
    top: 30px;
    min-width: 140px;
    background: #020617;
    border-radius: 10px;
    border: 1px solid rgb(100 100 100 / 34%);
    padding: 0;
    display: none;
    z-index: 150;
    overflow: visible;
}

.users-actions.open .users-actions-menu{
  display: block;
}


.users-actions-menu::before{
  content: "";
  position: absolute;
  top: -7.5px;                      
  right: 18px;                      
  width: 13px;
  height: 13px;
  background: #020617;
  border-left: 1px solid rgb(100 100 100 / 34%);
  border-top: 1px solid rgb(100 100 100 / 34%);
  transform: rotate(45deg);
  border-radius: 2px;
}


.users-actions-title{
  padding: 10px 14px 8px;
  font-size: 13px;
  font-weight: 600;
  color: #e5e7eb;
  border-bottom: 1px solid #111827;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  background: #020617;
}

.users-actions-item{
  width: 100%;
  border: none;
  background: #020617;
  padding: 9px 14px;
  font-size: 14px;
  color: #e5e7eb;
  text-align: left;
  cursor: pointer;
}

.users-actions-item + .users-actions-item{
  border-top: 1px solid #111827;
}

.users-actions-item:last-child{
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
}

.users-actions-item:hover{
  background: #020819;
}


.users-actions-ban{
  color: #f97373;
}

.users-actions-toggle{
  border: none !important;
  background: transparent !important;
 
}


.users-actions-toggle .dot{

  border-radius: 999px;
  background: #e5e7eb;
}
.admin-modal-save{
  min-width: 90px;
  height: 34px;
  border-radius: 8px;
  border: none;
  background: #f9fafb;
  color: #020617;
  font-size: 14px;
  font-weight: 500;
  margin-top: 130px;
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;              
}

.admin-modal-save-icon{
  width: 14px;
  height: 14px;
  fill: #020617;         
}
.pricing-card-low{
   border-radius: 16px;
    padding: 32px 34px 49px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-color: #cef0ff4c;
    background: 
 color-mix(in lab, var(--bg), transparent 78%);
    border: 1px solid lab(40.77% 0.47 -2.42 / 0.43);
    box-shadow: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.ua-icon{
  width:16px;
  height:16px;
  margin-right:8px;
  flex-shrink:0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  opacity:.95;
}


.users-actions-ban{
  color:#f97373;
}
.users-actions-ban .ua-icon{
  color:#f97373;               
  stroke-width: 2;             
}


.users-actions-item:hover{
  background:#020819;
}

.users-actions-item{
  line-height: 1;                 
  padding: 8px 14px 10px;         
}


.users-actions-item .ua-icon{
  position: relative;
  top: 2px;
}


.users-actions-item .ua-label{     
  position: relative;
  top: 2px;                       
}

.users-actions-item .ua-label{
  position: relative;
  top: -2px;              
}


.users-actions-item{
  line-height: 1;
  padding: 9px 17px 14px; 
}

.users-actions-item .ua-label{
  position: relative;
  top: -4px;          
  display: inline-block;
}


.users-actions-item .ua-ico{
  position: relative;
  top: -5px;
}


.users-actions-item{
  line-height: 1;
  padding: 4px 14px 12px;  
}

.hero-search.is-loading {
  position: relative;
}

.hero-search.is-loading .hs-input,
.hero-search.is-loading #bucket-trigger {
  opacity: .6;
  cursor: progress;
}


.hero-search.is-loading .hs-dropdown { display: none !important; }


.hero-search .hs-submit .icon {
  transform-origin: 11px 11px; 
}

.hero-search.is-loading .hs-submit .icon {
  animation: loupe-search 1.2s ease-in-out infinite;
}
@keyframes loupe-search {
  0%   { transform: translate(0, 0)      rotate(0deg); }
  10%  { transform: translate(4px,-4px)  rotate(-10deg); }
  25%  { transform: translate(10px,-2px) rotate(-5deg); }
  40%  { transform: translate(6px, 4px)  rotate(8deg); }
  55%  { transform: translate(-2px, 8px) rotate(4deg); }
  70%  { transform: translate(-8px, 2px) rotate(-8deg); }
  85%  { transform: translate(-4px,-3px) rotate(6deg); }
  100% { transform: translate(0, 0)      rotate(0deg); }
}

.hero-search.is-invalid .hs-input {
  animation: hs-shake .28s linear 1;
  border-color: #ef4444;
}
@keyframes hs-shake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.users-actions-menu .users-actions-item{
display: flex;
    top: 10px;
    gap: 0px;
    line-height: 1.05;
    padding: 12px 14px 11px;
}


.users-actions-menu .users-actions-item .ua-label,
.users-actions-menu .users-actions-item span{
  position: relative;
  top: -1px !important;      
  display: inline-block;
}


.users-actions-menu .users-actions-item .ua-ico,
.users-actions-menu .users-actions-item svg{
         position: relative;
    top: -1.2px;
}

.admin-table th { white-space: nowrap; }


.sort-btn{
  all: unset;                 
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}


.th-label{
  display: inline-block;
         
  line-height: 1;
}


.th-sort{
  width: 16px;
  height: 16px;
  opacity: .75;
}


.sort-btn:hover .th-sort{ opacity: 1; }

.page-legal .page{
  max-width: 1000px;
  padding-top: 40px;
}

.legal-wrap{
  max-width: 920px;
  margin: 60px auto 100px;
  padding: 0 16px;
}

.legal-card{
  background: color-mix(in lab, var(--bg), transparent 80%);
  border: 1px solid var(--nav-border);
  border-radius: 16px;
  padding: 28px 28px 22px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.legal-header{
  border-bottom: 1px solid color-mix(in lab, var(--bg), white 10%);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.legal-title{
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 700;
  color: #f9fafb;
}

.legal-subtitle{
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.legal-section{
  margin: 18px 0 20px;
}

.legal-section h2{
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: #e5e7eb;
}

.legal-section p{
  margin: 0 0 10px;
  color: #d1d5db;
  line-height: 1.6;
  font-size: 14px;
}

.legal-list{
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #d1d5db;
  font-size: 14px;
}

.legal-list li{
  position: relative;
  padding-left: 18px;
}
.legal-list li::before{
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #9ca3af;
}

.legal-footer{
  border-top: 1px solid color-mix(in lab, var(--bg), white 10%);
  margin-top: 10px;
  padding-top: 14px;
  display: flex;
  justify-content: flex-start;
}

.legal-back{
  font-weight: 600;
}
.nav-profile-icon-logout {
      width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: #9ca3af;
    margin-left: 3px;
}

.pricing-note{
  margin: -22px 0 34px;          
  font-size: 13px;
  line-height: 1.55;
  color: color-mix(in lab, var(--bg), white 55%); 
  max-width: 780px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
a.pricing-btn,
a.pricing-btn:visited {
  text-decoration: none;     
  display: inline-flex;      
  align-items: center;
  justify-content: center;
}

a.pricing-btn:hover,
a.pricing-btn:focus,
a.pricing-btn:active {
  text-decoration: none;     
}

.modal-tabs{ position:relative; }
.tab-underline{
  position:absolute;
  bottom:-1px;            
  height:2px;
  width:0;
  background:#f9fafb;
  border-radius:2px;
  transition: transform .28s ease, width .28s ease, left .28s ease;
  will-change: transform, width, left;
}


.modal-tab.disabled,
.modal-tab[disabled]{
  opacity:.45;
  cursor:not-allowed;
}
.ix-full {
  color:#8ab4ff;
  font-weight:700;
  background:transparent;
  border:none;
  cursor:pointer;
}
.ix-full:hover { text-decoration:underline; }


.ix-full.ix-full-disabled,
.ix-full[disabled]{
  opacity:.5;
  text-decoration:none !important;
  cursor:not-allowed;
  pointer-events:none; 
}

.ix-full{
  pointer-events: auto;        
}

.ix-full.ix-full-disabled,
.ix-full[disabled]{
  pointer-events: none;        
  opacity: .5;
  cursor: not-allowed;
  text-decoration: none !important;
}


.hero-search.hero-search--with-bucket{
  display:flex;
  align-items:center;
  gap:0;
  height:52px;
  border-radius:12px;
  background: color-mix(in lab, var(--bg), white 7%);
  border:1px solid color-mix(in lab, var(--bg), white 16%);
  overflow:visible;           
}



.hs-trigger{
  display:inline-flex;
  align-items:center;
  gap:10px;
  height:52px;
  padding:0 14px;
  background:transparent;
  border:0;
  color:#e5e7eb;
  font-size:14px;
  cursor:pointer;
  white-space:nowrap;
}
.hs-trigger .icon{ width:18px; height:18px; opacity:.9; }
.hs-trigger .caret{ width:16px; height:16px; opacity:.65; margin-left:2px; }


.hero-search .hs-input{
  flex:1 1 auto;
  min-width:0;
  height:52px;
  background:transparent;
  border:0;
  color:#e5e7eb;
  padding:0 14px;
  font-size:15px;
  outline:none;
}


.hero-search .hs-submit{
  display:inline-flex; align-items:center; justify-content:center;
  width:56px; height:52px;
  background:transparent;
  border-left:1px solid color-mix(in lab, var(--bg), white 14%);
  color:#cbd5e1; border:0; cursor:pointer;
}
.hero-search .hs-submit .icon{ width:18px; height:18px; }


.hs-dropdown{
  position:absolute;
  top:100%;
  left:0;
  margin-top:10px;
  min-width:280px;
  background: color-mix(in lab, var(--bg), white 6%);
  border:1px solid color-mix(in lab, var(--bg), white 18%);
  border-radius:12px;

  padding:8px;
  z-index:40;
              
}


.hs-dropdown::before{
  content:"";
  position:absolute;
  top:-8px; left:20px;
  width:14px; height:14px;
  background: inherit;
  border-left:1px solid color-mix(in lab, var(--bg), white 18%);
  border-top:1px solid color-mix(in lab, var(--bg), white 18%);
  transform: rotate(45deg);
}



.hs-dropdown-header{
  font-size:12px; color:#94a3b8;
  padding:6px 8px 10px;
}

.hs-item{
  width:100%;
  display:flex; align-items:center; gap:10px;
  padding:10px 8px;
  border:0; background:transparent;
  color:#e5e7eb; font-size:14px; border-radius:8px; cursor:pointer;
}
.hs-item:hover{ background: rgba(255,255,255,.05); }
.hs-item .icon{ width:16px; height:16px; opacity:.75; }
.hs-item .check{ margin-left:auto; opacity:0; }
.hs-item.selected .check{ opacity:1; }
.hs-trigger{
  display:none;
  align-items:center;
  gap:8px;
  height:52px;
  padding:0 12px;
  border-right:1px solid color-mix(in lab, var(--bg), white 14%);
  color:var(--muted);
  background:transparent;
  border:none;
  cursor:pointer;
}
.hero-search.has-bucket .hs-trigger{ display:flex; }
.hs-dropdown-header{
  font-size:12px;
  color:#94a3b8;
  padding:6px 8px 10px;
}

.hs-label{
  font-size:14px;
  font-weight:500;
}



.hero-search {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  max-width: 820px;
  margin: 0 auto;
  height: 52px;
  background: color-mix(in lab, var(--bg), white 10%);
  border: 1px solid color-mix(in lab, var(--bg), white 18%);
  border-radius: 10px;
  overflow: visible;
}


.hs-left {
  position: relative;
  display: flex;
  align-items: center;
  background: color-mix(in lab, var(--bg), black 10%);
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}


.hs-left::after {
  content: "";
  position: absolute;
  right: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: color-mix(in lab, var(--bg), white 14%);
  pointer-events: none;
}


.hs-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 16px;
  border: none;
  background: transparent;
  color: #e7e5e4;
  cursor: pointer;
  min-width: 170px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.hs-trigger .icon {
  width: 16px;
  height: 16px;
  stroke-width: 1.6;
  opacity: .85;
}

.hs-trigger .caret {
  width: 12px;
  height: 12px;
  opacity: .75;
  margin-left: auto;
  border: none;
  background: transparent;
  transition: transform .18s ease;
}


.hs-input {
  flex: 1;
  border: none;
  background: transparent;
  color: #e5e7eb;
  padding: 0 16px;
  font-size: 15px;
}

.hs-input::placeholder {
  color: color-mix(in lab, var(--bg), white 45%);
}

.hs-input:focus {
  outline: none;
}


.hs-submit {
  width: 60px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    color-mix(in lab, var(--bg), black 35%) 0%,
    color-mix(in lab, var(--bg), black 15%) 100%
  );
  border-left: 1px solid color-mix(in lab, var(--bg), white 8%);
}

.hs-submit .icon {
  width: 18px;
  height: 18px;
  stroke: #e5e7eb;
  fill: none;
}



.hs-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  min-width: 220px;
  background: color-mix(in lab, var(--bg), white 6%);
  border: 1px solid color-mix(in lab, var(--bg), white 18%);
  border-radius: 12px;
 
  padding: 4px;
  display: none;           
  z-index: 100;
}


.hs-left.open .hs-dropdown {
  display: block !important;
}


.hs-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 40px;
  padding: 0 12px;
  margin: 2px 0;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #e5e7eb;
  cursor: pointer;
  font-size: 13px;
  text-align: left;
  transition: background .15s ease, color .15s ease;
}

.hs-item .icon {
  width: 14px;
  height: 14px;
  stroke-width: 1.6;
  opacity: .9;
}

.hs-item span {
  flex: 1 1 auto;
}

.hs-item .check {
  margin-left: auto;
  opacity: 0;
  width: 14px;
  height: 14px;
}


.hs-item:hover {
  background: rgba(15, 23, 42, 0.85);
}

.hs-item.selected {
  background: rgba(15, 23, 42, 0.95);
}

.hs-item.selected .check {
  opacity: 1;
}


.hs-dropdown .hs-item:first-child {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.hs-dropdown .hs-item:last-child {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}


.hero-search {
  position: relative;
  display: flex;
  align-items: stretch;
  max-width: 820px;
  margin: 0 auto;
  height: 52px;
  background: color-mix(in lab, var(--bg), white 10%);
  border: 1px solid color-mix(in lab, var(--bg), white 18%);
  border-radius: 10px;
  overflow: visible;
}

.hs-left {
  position: relative;
  display: flex;
  align-items: center;
  background: color-mix(in lab, var(--bg), black 10%);
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.hs-left::after {
  content: "";
  position: absolute;
  right: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: color-mix(in lab, var(--bg), white 14%);
  pointer-events: none;
}

.hs-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 16px;
  border: none;
  background: transparent;
  color: #e5e7eb;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.hs-trigger .icon {
  width: 16px;
  height: 16px;
}

.hs-trigger .caret {
  margin-left: auto;
  opacity: .75;
  transition: transform .18s ease;
   margin-right: 0.4px;
}


.hs-left.open .hs-trigger .caret {
  transform: rotate(180deg);
       margin-right: 0.4px;
}


.hs-dropdown {
  position: absolute;
  left: 0;
  top: 54px;
  min-width: 230px;
  background: #020617;
  border-radius: 10px;
  border: 1px solid rgb(100 100 100 / 34%);
  padding: 4px 0;
  display: none;
  z-index: 150;
  overflow: visible;
  
}

.hs-dropdown::before {
  content: "";
  position: absolute;
  top: -7.5px;
  left: 28px;
  width: 13px;
  height: 13px;
  background: #020617;
  border-left: 1px solid rgb(100 100 100 / 34%);
  border-top: 1px solid rgb(100 100 100 / 34%);
  transform: rotate(45deg);
  border-radius: 2px;
}

.hs-left.open .hs-dropdown {
  display: block;
}


.hs-item {
  width: 100%;
  border: none;
  background: #020617;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #e1e1e1;
  text-align: left;
  cursor: pointer;
}

.hs-item + .hs-item {
  border-top: 1px solid #111827;
}

.hs-item:hover {
  background: #020819;
}


.hs-item-icon {
  flex-shrink: 0;
  opacity: .9;
}


.hs-item .check {
  margin-left: auto;
  width: 16px;
  height: 16px;
  opacity: 0;
}

.hs-item.selected .check {
  opacity: 1;
}


.hs-dropdown .hs-item:first-child {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.hs-dropdown .hs-item:last-child {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}



.hs-dropdown {
  position: absolute;
  left: 0;
  top: 54px;
  min-width: 230px;
  background: #020613 !important;
  border-radius: 10px;
  border: 1px solid #111827;
  padding: 0;                 
  display: none;
  z-index: 150;
  overflow: hidden;           

}


.hs-dropdown::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 28px;
  width: 13px;
  height: 13px;
  background: #020617;
  border-left: 1px solid #111827;
  border-top: 1px solid #111827;
  transform: rotate(45deg);
  border-radius: 2px;
}


.hs-left.open .hs-dropdown {
  display: block;
}


.hs-item {
  width: 100%;
  border: none;
  background: #020617;
  padding: 10px 16px;         
  margin: 0;                  
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #e1e1e1;
  text-align: left;
  cursor: pointer;
  line-height: 1.1;
}


.hs-item + .hs-item {
  border-top: 1px solid #111827;   
}


.hs-item:hover {
  background: #020819;        
}


.hs-item-icon {
  flex-shrink: 0;
  opacity: .9;
}


.hs-item .check {
  margin-left: auto;
  width: 16px;
  height: 16px;
  opacity: 0;
}

.hs-item.selected .check {
  opacity: 1;
}

.hs-item + .hs-item { border-top: 1px solid #111827; }
.hs-item:hover { background: #020819; }



.hero-search{
  position: relative;
  overflow: visible;   
}


.hs-left{
  position: relative;
  overflow: visible;
}


.hs-dropdown{
  position: absolute;
  top: 52px;                
  left: 0;
  margin-top: 6px;

  min-width: 260px;
  background: #020613;
  border-radius: 14px;
  border: 1px solid rgb(100 100 100 / 34%);
  padding: 0;
  display: none;
  z-index: 150;
}


.hs-dropdown::before{
  content: "";
  position: absolute;
  top: -7.5px;
  left: 26px;              
  width: 13px;
  height: 13px;
  background: #020613;
  border-left: 1px solid rgb(100 100 100 / 34%);
  border-top: 1px solid rgb(100 100 100 / 34%);
  transform: rotate(45deg);
  border-radius: 2px;
}


.hs-left.open .hs-dropdown{
  display: block;
}


.hs-dropdown-list{
  padding: 4px 0;
}

.hs-dropdown-list .hs-item{
  width: 100%;
  border: none;
background: #020613;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #e5e7eb;
  text-align: left;
  cursor: pointer;
  border-radius: 0;
}


.hs-dropdown-list .hs-item + .hs-item{
  border-top: 1px solid #111827;
}


.hs-dropdown-list .hs-item:hover{
  background: #020819;
}


.hs-dropdown-list .hs-item .check{
  margin-left: auto;
  opacity: 0;
}
.hs-dropdown-list .hs-item.selected .check{
  opacity: 1;
}



.hs-dropdown{
  position: absolute;
  left: 0;
  top: 56px;
  min-width: 260px;
   background: #020613;
  border-radius: 14px;
  border: 1px solid rgb(100 100 100 / 34%);
  padding: 0;                 
  z-index: 150;
  display: none;
}


.hs-dropdown::before{
  content: "";
  position: absolute;
  top: -7.5px;
  left: 24px;
  width: 13px;
  height: 13px;
    background: #020613;
  border-left: 1px solid rgb(100 100 100 / 34%);
  border-top: 1px solid rgb(100 100 100 / 34%);
  transform: rotate(45deg);
  border-radius: 2px;
}


.hs-dropdown-list{
  padding: 0;                 
  margin: 0;
}


.hs-item{
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;                  
  padding: 10px 16px;         
  border: none;
  background: transparent;
  color: #e5e7eb;
  font-size: 14px;
  cursor: pointer;
  line-height: 1.2;
}


.hs-item + .hs-item{
  border-top: 1px solid #111827;
}


.hs-item:hover{
  background: #020819;
}

.hs-item.selected{
  background: #020819;
}


.hs-dropdown .hs-item:first-child{
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

.hs-dropdown .hs-item:last-child{
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
}


.hs-item .hs-item-icon{
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hs-item .check{
  margin-left: auto;
  width: 16px;
  height: 16px;
  opacity: 0;
}

.hs-item.selected .check{
  opacity: 1;
}



.hs-dropdown{
  padding: 0 !important;      
}


.hs-dropdown-list{
  padding: 0 !important;
  margin: 0 !important;
}


.hs-item{
  margin: 0 !important;
  padding: 10px 16px;
}


.hs-item + .hs-item{
  border-top: 1px solid #111827;
}


.hs-dropdown .hs-item:last-child{
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
}



.hero-search .hs-left{
  position: relative;      
  flex: 0 0 auto;
}


.hero-search .hs-dropdown{
  position: absolute;
  top: 100%;               
  left: 0;
  right: 0;                
  margin-top: 8px;

  width: auto !important;
  min-width: 100% !important;
  box-sizing: border-box;

  
}


.hs-dropdown-list{
  width: 100%;
}

.hs-dropdown {
    background-color: #020613 !important;
}

.hero-search .hs-trigger{
  min-width: 220px;      
  padding: 0 20px;       
}
.hs-item {
  font-weight: 300 !important;
}
.hero-search .hs-left::after{
  content: none !important;   
  width: 0 !important;
  background: transparent !important;
}

.hero-search .hs-dropdown::before{
  content: "";
  position: absolute;
  top: -8px;                     
  left: 12%;                     
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;

  background: #020617;           
  border-left: 1px solid rgb(100 100 100 / 0.34);
  border-top: 1px solid rgb(100 100 100 / 0.34);
  border-radius: 2px;
  z-index: -1;                   
}
.hero-search .hs-dropdown{
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 100%;          
  
}



.hero-search {
  position: relative;
  overflow: visible;
}


.hs-left {
  position: relative;
  overflow: visible;
}


.hs-dropdown {
  position: absolute;
  top: calc(100% + 8px);  
  left: 0;
  right: 0;               
  width: auto;
  min-width: 100%;
  box-sizing: border-box;

  background: #020617;
  border-radius: 10px;
  border: 1px solid rgb(100 100 100 / 0.34);
  padding: 0;
  display: none;
  z-index: 150;
  overflow: visible;
}


.hs-dropdown::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;                           
  transform: translateX(-50%) rotate(45deg);
  width: 13px;
  height: 13px;
  background: #020617;
  border-left: 1px solid rgb(100 100 100 / 0.34);
  border-top: 1px solid rgb(100 100 100 / 0.34);
  border-radius: 2px;
}


.hs-left.open .hs-dropdown {
  display: block !important;
}


.hs-item {
  width: 100%;
  border: none;
  background: #020617;
  padding: 10px 16px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #e1e1e1;
  text-align: left;
  cursor: pointer;
  line-height: 1.1;
}

.hs-item + .hs-item {
  border-top: 1px solid #111827;
}

.hs-item:hover {
  background: #020819;
}

.hs-item-icon {
  flex-shrink: 0;
  opacity: .9;
}

.hs-item .check {
  margin-left: auto;
  width: 16px;
  height: 16px;
  opacity: 0;
}

.hs-item.selected .check {
  opacity: 1;
}

.hs-dropdown .hs-item:first-child {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.hs-dropdown .hs-item:last-child {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
.hs-dropdown {
  position: absolute;
  top: calc(100% + 2px); 
  left: 0;
  right: 0;
  width: auto;
  min-width: 100%;
  box-sizing: border-box;

  background: #020617;
  border-radius: 10px;
  border: 1px solid rgb(100 100 100 / 0.34);
  padding: 0;
  display: none;
  z-index: 150;
  overflow: visible;
}
.hs-dropdown::before {
  top: -6px; 
}

.hs-item .check{
  margin-left: auto;
  width: 14px;
  height: 14px;
  opacity: 0;
  transform: translateX(0);                 
  transition: opacity .15s ease, 
              transform .18s ease;          
}


.hs-item.selected .check{
  opacity: 1;
  transform: translateX(2px);               
}

.modal-hit{ background:#fbbf24; color:#111827; border-radius:2px; }
.modal-hit.is-current{ outline:2px solid rgba(251,191,36,.35); }
.modal-hit{
  background:#fbbf24;
  color:#111827;
  border-radius:2px;
  padding:0 2px;
}

.modal-icon-btn{
  background: transparent !important;
  border: none !important;
  border-radius: 999px;           
  padding: 0;                     
}


.modal-icon-btn:hover,
.modal-icon-btn:active,
.modal-icon-btn:focus {
  background: transparent !important;
  box-shadow: none !important;
}


.modal-icon-btn svg,
.modal-icon-btn i,
.modal-icon-btn .icon {
  opacity: .7;
  transition: opacity .18s ease, transform .18s ease, color .18s ease;
     margin-top: 5px;
     width: 16px;
    height: 16px;
margin-left: -6px;
}


.modal-icon-btn:hover svg,
.modal-icon-btn:hover i,
.modal-icon-btn:hover .icon {
  opacity: 1;
  
}


.modal-icon-btn:hover svg path,
.modal-icon-btn:hover svg circle,
.modal-icon-btn:hover svg line {
  stroke: #fff;          
  
}


.modal-icon-btn:focus-visible {
  outline: 2px solid rgba(255,255,255,.35);
  outline-offset: 2px;
}

.modal-icon-btn:hover{
  background: color(#fff); 
}
.admin-modal-close:hover {
  
}

.ix-tip {
  position: relative;
  display: inline-block;
}

.ix-full-disabled {
  cursor: not-allowed;
  opacity: .65;
  pointer-events: none; 
}

.ix-tip-panel{
  position: absolute;
  top: calc(100% + 10px);
  right: 10px;                    
  z-index: 60;

  background: color-mix(in lab, var(--bg), white 6%);
  border: 1px solid color-mix(in lab, var(--bg), white 18%);
  border-radius: 8px;
  padding: 10px 12px;

  color: #e5e7eb;
  font-size: 12px;
  line-height: 1.25;
  white-space: nowrap;

  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity .14s ease, transform .14s ease;
}


.ix-tip-panel::before{
  content: "";
  position: absolute;
  top: -6px;
  right: 14px;                    
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
  background: color-mix(in lab, var(--bg), white 6%);
  border-left: 1px solid color-mix(in lab, var(--bg), white 18%);
  border-top: 1px solid color-mix(in lab, var(--bg), white 18%);

}

.ix-tip:hover .ix-tip-panel,
.ix-tip:focus-within .ix-tip-panel{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 520px){
  .ix-tip-panel{
    right: 50%;
    transform: translate(50%, -4px);
  }
  .ix-tip-panel::before{
    right: calc(50% - 5px);
  }
}

.hero-search .hs-submit .icon {
  transform-origin: 11px 11px;
}


.hero-search.is-loading .hs-submit .icon {
  
  animation: loupe-search 2.4s ease-in-out infinite;
}


@keyframes loupe-search {
  0%   { transform: translate(0, 0)        rotate(0deg); }
  10%  { transform: translate(2px,-2px)    rotate(-6deg); }
  25%  { transform: translate(5px,-1px)    rotate(-3deg); }
  40%  { transform: translate(3px, 2px)    rotate(5deg); }
  55%  { transform: translate(-1px, 4px)   rotate(3deg); }
  70%  { transform: translate(-4px, 1px)   rotate(-5deg); }
  85%  { transform: translate(-2px,-2px)   rotate(4deg); }
  100% { transform: translate(0, 0)        rotate(0deg); }
}


@media (prefers-reduced-motion: reduce) {
  .hero-search.is-loading .hs-submit .icon {
    animation: none;
  }
}
.hero-search .hs-submit .icon {
  transform-origin: 11px 11px;
}

.hero-search.is-loading .hs-submit .icon {
  animation: loupe-search 2.6s ease-in-out infinite;
  animation-direction: alternate; 
}

@keyframes loupe-search {
  0%   { transform: translate(0, 0)        rotate(0deg); }
  10%  { transform: translate(2px,-2px)    rotate(-6deg); }
  25%  { transform: translate(5px,-1px)    rotate(-3deg); }
  40%  { transform: translate(3px, 2px)    rotate(5deg); }
  55%  { transform: translate(-1px, 4px)   rotate(3deg); }
  70%  { transform: translate(-4px, 1px)   rotate(-5deg); }
  85%  { transform: translate(-2px,-2px)   rotate(4deg); }
  100% { transform: translate(0, 0)        rotate(0deg); }
}

.hero-search.is-loading .hs-submit .icon {
  animation: loupe-search 2.6s ease-in-out infinite; 
}


.hero-search.is-loading .hs-submit .icon.flip {
  animation-direction: reverse;
}

.hero-search .hs-submit .icon {
  transform-origin: 11px 11px;
  will-change: transform;
}


.hero-search.is-loading .hs-submit .icon {
  transition: transform 120ms ease;
}


@media (prefers-reduced-motion: reduce) {
  .hero-search.is-loading .hs-submit .icon { transition: none; }
}

.ix-filename {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--link, #4f46e5);
  cursor: pointer;
  text-decoration: none;
}

.ix-filename.is-locked {
  color: var(--muted-foreground, #9ca3af);
  cursor: not-allowed;
  text-decoration: none;
  position: relative;
  opacity: 0.8;
}

.ix-filename.is-locked::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 0;
  top: 120%;
  white-space: nowrap;
  background: var(--surface, #0b0f1a);
  border: 1px solid var(--border, #1f2937);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1;
  color: var(--foreground, #e5e7eb);
  box-shadow: 0 6px 20px rgba(0,0,0,.28);
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}


.ix-filename.is-locked::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 110%;
  border: 6px solid transparent;
  border-bottom-color: var(--surface, #0b0f1a);
  filter: drop-shadow(0 -1px 0 var(--border, #1f2937));
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease;
}

