:root{
  --bg:whitesmoke;
  --card:#fff;
  --tx:#1f2a14;
  --mut:#6b7560;
  --pri:limegreen;
  --pri-d:limegreen;
  --pri-tx:#1f2a14;
  --acc:darkgreen;
  --bd:#e3e6dc;
  --err:#b3261e;
  --sb:#fff;
  --sbt:#3a4630;
  --sbm:#7d8873;
  --ring:limegreen
}

*{
  box-sizing:border-box
}

html,body{
  height:100%;
  margin:0
}

body{
  font:14px/1.55 "Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  background:var(--bg);
  color:var(--tx)
}

h1,h2,h3,p,dl,dd{
  margin:0
}

button,input{
  font:inherit;
  color:inherit
}

a{
  color:inherit
}

:focus-visible{
  outline:3px solid var(--ring);
  outline-offset:2px
}

.mut{
  color:var(--mut)
}

.center{
  min-height:100vh;
  min-height:100dvh;
  display:grid;
  place-items:center;
  padding:20px;
  background:linear-gradient(160deg,whitesmoke 0 55%,rgba(154,205,50,.35))
}

.has-bg .center{
  background:var(--bg-img) center/cover no-repeat
}

.center .card{
  background:rgba(255,255,255,.35);
  border:1px solid rgba(255,255,255,.55);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
  box-shadow:0 10px 40px rgba(31,42,20,.18)
}

.center .card input{
  background:rgba(255,255,255,.6);
  border-color:rgba(255,255,255,.7)
}

.center .card .mut{
  color:var(--tx)
}

.card{
  background:var(--card);
  border:1px solid var(--bd);
  border-radius:14px;
  padding:22px
}

.login{
  width:100%;
  max-width:380px;
  display:grid;
  gap:14px
}

.logo-txt{
  display:block;
  width:max-content;
  margin:0 auto;
  font-weight:800;
  font-size:34px;
  letter-spacing:.14em;
  color:var(--acc)
}

.logo-img{
  display:block;
  max-height:64px;
  max-width:100%;
  width:auto;
  margin:0 auto;
  object-fit:contain
}

label{
  display:grid;
  gap:6px;
  font-weight:500
}

input[type=text],
input[type=password],
input[type=date],
input:not([type]){
  width:100%;
  padding:10px 12px;
  border:1px solid var(--bd);
  border-radius:10px;
  background:var(--bg)
}

input:focus{
  border-color:var(--pri)
}

.radio{
  display:flex;
  gap:8px;
  align-items:center;
  font-weight:500
}

.btn{
  display:inline-block;
  border:0;
  border-radius:10px;
  padding:10px 16px;
  background:var(--pri);
  color:var(--pri-tx);
  font-weight:700;
  cursor:pointer;
  text-align:center;
  text-decoration:none
}

.btn:hover{
  background:var(--pri-d)
}

.btn:disabled{
  opacity:.6;
  cursor:wait
}

.btn.ghost{
  background:transparent;
  color:var(--acc);
  border:1px solid var(--bd)
}

.btn.ghost:hover{
  background:var(--bg)
}

.btn.sm{
  padding:6px 12px;
  font-size:13px;
  width:auto;
  height:auto;
  white-space:nowrap
}

.link{
  background:none;
  border:0;
  color:var(--acc);
  cursor:pointer;
  font-weight:500;
  padding:0;
  justify-self:start
}

.err{
  color:var(--err);
  min-height:0
}

.err:empty{
  display:none
}

.note{
  background:var(--bg);
  border-left:3px solid var(--pri);
  padding:8px 12px;
  border-radius:6px
}

.shell{
  display:flex;
  flex-direction:column;
  height:100vh;
  height:100dvh
}

.main{
  flex:1;
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:0
}

.brand{
  padding:2px 12px 20px
}

.brand .logo-img{
  max-height:40px
}

.brand .logo-txt{
  font-size:22px;
  color:var(--acc)
}

.menu-wrap{
  display:flex;
  align-items:center;
  gap:4px;
  padding:6px 12px;
  border-top:1px solid var(--bd)
}

.mb-arrow{
  flex:none;
  width:32px;
  height:32px;
  border:1px solid var(--pri);
  border-radius:8px;
  background:var(--card);
  color:var(--acc);
  font-weight:700;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  transition:.15s
}

.mb-arrow:hover:not(:disabled){
  background:rgba(154,205,50,.18)
}

.mb-arrow:disabled{
  opacity:.35;
  cursor:default
}

.menubar{
  flex:1;
  min-width:0;
  display:flex;
  align-items:center;
  gap:4px;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch
}

.menubar::-webkit-scrollbar{
  display:none
}

body.mb-hide .menu-wrap{
  display:none
}

.mb-home,
.mb-btn{
  display:flex;
  align-items:center;
  gap:6px;
  flex:none;
  padding:8px 12px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:var(--sbt);
  font-weight:600;
  text-decoration:none;
  white-space:nowrap;
  cursor:pointer;
  transition:.15s
}

.mb-home:hover,
.mb-btn:hover,
.mb-btn.open{
  background:rgba(154,205,50,.18)
}

.mb-home.on,
.mb-btn.act{
  background:var(--pri);
  color:var(--pri-tx);
  font-weight:700
}

.mb-group{
  flex:none
}

.mb-sub{
  display:none;
  position:fixed;
  z-index:50;
  min-width:200px;
  max-width:min(320px,calc(100vw - 16px));
  max-height:calc(100dvh - 130px);
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  padding:6px;
  background:var(--card);
  border:1px solid var(--bd);
  border-radius:10px;
  box-shadow:0 10px 28px #0002
}

.mb-sub.open{
  display:block;
  animation:mbdown .2s ease
}

@keyframes mbdown{
  from{
    opacity:0;
    transform:translateY(-10px);
    clip-path:inset(0 0 100% 0)
  }
  to{
    opacity:1;
    transform:none;
    clip-path:inset(0 0 0 0)
  }
}

.mb-sub a{
  display:block;
  padding:9px 12px;
  border-radius:8px;
  color:var(--sbt);
  font-size:13px;
  text-decoration:none
}

.mb-sub a:hover{
  background:rgba(154,205,50,.18)
}

.mb-sub a.on{
  background:var(--pri);
  color:var(--pri-tx);
  font-weight:700
}

.top{
  flex:none;
  position:relative;
  z-index:40;
  background:var(--card);
  border-bottom:1px solid var(--bd)
}

.top-row{
  height:58px;
  display:flex;
  align-items:center;
  gap:14px;
  padding:0 20px
}

.top .brand{
  padding:0;
  flex:none
}

.top-out{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:8px;
  color:var(--sbt);
  flex:none
}

.top-cloudlink{
  display:flex;
  align-items:center;
  gap:6px;
  flex:none;
  padding:8px 12px;
  border-radius:8px;
  font-weight:800;
  font-size:13px;
  color:var(--acc);
  text-decoration:none;
  line-height:1
}

.top-cloudlink:hover{
  background:rgba(154,205,50,.18)
}

.top-out:hover{
  background:rgba(154,205,50,.18)
}

.top-title{
  flex:1;
  min-width:0
}

.top-label{
  display:block;
  font-size:9px;
  letter-spacing:.15em;
  font-weight:800;
  color:var(--acc);
  line-height:1
}

.top h1{
  font-size:16px;
  margin-top:3px
}

.mb-toggle{
  flex:none;
  width:38px;
  height:38px;
  border:0;
  border-radius:8px;
  background:transparent;
  font-size:22px;
  cursor:pointer
}

.mb-toggle:hover{
  background:rgba(154,205,50,.18)
}

.who{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none
}

.who span{
  display:grid;
  line-height:1.25
}

.who small{
  color:var(--mut)
}

#content{
  flex:1;
  min-height:0;
  overflow:auto;
  position:relative
}

.frame{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  background:#fff
}

.pad{
  padding:22px;
  display:grid;
  gap:18px;
  align-content:start;
  max-width:1000px
}

.pad.two{
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  max-width:900px
}

.dashboard{
  padding:24px;
  display:grid;
  gap:18px;
  max-width:1200px
}

.welcome{
  padding:24px;
  color:#fff;
  background:linear-gradient(90deg,rgba(10,28,15,.84),rgba(10,28,15,.28)),url('../assets/bg-profil.png') center/cover no-repeat;
  border-color:rgba(255,255,255,.16)
}

.welcome-info{
  display:flex;
  align-items:center;
  gap:18px
}

.eyebrow{
  display:block;
  color:var(--acc);
  font-size:10px;
  font-weight:800;
  letter-spacing:.13em;
  margin-bottom:4px
}

.welcome h2{
  font-size:23px;
  line-height:1.25
}

.welcome p{
  color:rgba(255,255,255,.84);
  margin-top:5px
}

.stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px
}

.stat{
  display:flex;
  align-items:center;
  gap:13px;
  padding:17px
}

.stat-icon{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:rgba(154,205,50,.22);
  font-size:18px
}

.stat span{
  display:block;
  color:var(--mut);
  font-size:12px
}

.stat strong{
  display:block;
  margin-top:2px;
  font-size:14px
}

.dashboard-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:18px
}

.section-head{
  margin-bottom:16px
}

.section-head h3{
  font-size:16px
}

.info-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1px;
  overflow:hidden;
  border:1px solid var(--bd);
  border-radius:10px
}

.info-list div{
  display:flex;
  flex-direction:column;
  gap:2px;
  padding:12px;
  background:var(--bg)
}

.info-list span{
  color:var(--mut);
  font-size:11px
}

.info-list b{
  font-size:13px
}

.announcement{
  padding:20px
}

.announcement h3{
  margin-bottom:5px
}

.hero{
  display:flex;
  align-items:center;
  gap:16px
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(190px,1fr));
  gap:10px;
  margin-top:8px
}

.tile{
  padding:14px;
  border:1px solid var(--bd);
  border-radius:12px;
  background:var(--card);
  text-decoration:none;
  font-weight:500
}

.tile:hover{
  border-color:var(--pri)
}

.ph{
  display:flex;
  gap:16px;
  align-items:center;
  margin-bottom:14px
}

dl{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:6px 18px
}

dt{
  color:var(--mut)
}

.pad form{
  display:grid;
  gap:12px;
  align-content:start
}

.narrow{
  max-width:420px;
  display:grid;
  gap:12px
}

.row{
  display:flex;
  gap:10px
}

.load{
  display:grid;
  place-items:center;
  height:100%;
  color:var(--mut)
}

.av{
  border-radius:50%;
  object-fit:cover;
  background:var(--pri);
  color:var(--pri-tx);
  display:inline-grid;
  place-items:center;
  font-weight:700;
  flex:none
}

.av.sm{
  width:34px;
  height:34px;
  font-size:13px
}

.lg{
  width:58px;
  height:58px;
  font-size:20px
}

.xl{
  width:88px;
  height:88px;
  font-size:30px
}

.modal{
  position:fixed;
  inset:0;
  background:#0008;
  display:grid;
  place-items:center;
  padding:16px;
  z-index:50
}

.dlg{
  width:100%;
  max-width:400px;
  position:relative;
  display:grid;
  gap:12px
}

.x{
  position:absolute;
  top:8px;
  right:12px;
  background:none;
  border:0;
  font-size:24px;
  cursor:pointer;
  color:var(--mut)
}

.idbox{
  font-size:26px;
  font-weight:800;
  letter-spacing:.04em;
  padding:14px;
  border-radius:10px;
  background:var(--bg);
  text-align:center;
  color:var(--acc);
  word-break:break-all
}

.toast{
  position:fixed;
  left:50%;
  bottom:24px;
  transform:translateX(-50%);
  background:var(--tx);
  color:#fff;
  padding:10px 18px;
  border-radius:10px;
  z-index:60
}

@media(max-width:1000px){
  .stats{
    grid-template-columns:repeat(2,1fr)
  }

  .dashboard-grid{
    grid-template-columns:1fr
  }
}

@media(max-width:800px){
  .who span{
    display:none
  }

  .dashboard{
    padding:14px
  }

  .welcome h2{
    font-size:19px
  }
}

@media(max-width:560px){
  .stats{
    grid-template-columns:1fr
  }

  .welcome-info{
    align-items:flex-start
  }

  .welcome .xl{
    width:64px;
    height:64px;
    font-size:22px
  }

  .info-list{
    grid-template-columns:1fr
  }

  .top-row{
    padding:0 12px;
    gap:8px
  }

  .top .brand{
    display:none
  }

  .top-cloudlink span{
    display:none
  }

  .top-cloudlink{
    padding:8px
  }

  .mb-arrow{
    width:28px;
    height:28px
  }
}

@media(prefers-reduced-motion:reduce){
  .mb-btn,
  .mb-arrow{
    transition:none
  }

  .mb-sub.open{
    animation:none
  }
}
.pres-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px
}

.pres-count{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:var(--bg);
  border-radius:999px;
  padding:5px 14px;
  font-weight:700;
  font-size:13px;
  white-space:nowrap
}

.dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--pri);
  animation:pulse 1.8s infinite
}

@keyframes pulse{
  0%{box-shadow:0 0 0 0 rgba(50,205,50,.55)}
  70%{box-shadow:0 0 0 8px rgba(50,205,50,0)}
  100%{box-shadow:0 0 0 0 rgba(50,205,50,0)}
}

.pres-list{
  display:flex;
  align-items:stretch;
  gap:10px;
  width:100%;
  max-width:100%;
  min-width:0;
  overflow-x:auto;
  overflow-y:hidden;
  padding:2px 2px 12px;
  scroll-snap-type:x mandatory;
  overscroll-behavior-x:contain;
  scrollbar-width:thin;
  scrollbar-color:var(--bd) transparent;
  -webkit-overflow-scrolling:touch
}

.pres-list::-webkit-scrollbar{
  height:6px
}

.pres-list::-webkit-scrollbar-track{
  background:transparent
}

.pres-list::-webkit-scrollbar-thumb{
  background:var(--bd);
  border-radius:999px
}

.pres-row{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 clamp(180px,58%,230px);
  max-width:230px;
  min-width:0;
  padding:10px 12px;
  border:1px solid var(--bd);
  border-radius:12px;
  scroll-snap-align:start
}

.pres-row>div{
  flex:1;
  min-width:0
}

.pres-row b,
.pres-row small{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}

.pres-row small{
  color:var(--mut)
}

.pres-row em{
  color:var(--acc);
  font-style:normal;
  font-weight:500
}

.pres-pg{
  flex:none;
  max-width:42%;
  font-size:12px;
  font-weight:600;
  color:var(--acc);
  background:rgba(154,205,50,.22);
  border-radius:999px;
  padding:3px 10px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}

.ag-fab{
  position:fixed;
  right:16px;
  bottom:calc(16px + env(safe-area-inset-bottom,0px));
  width:52px;
  height:52px;
  border:0;
  border-radius:50%;
  background:var(--pri);
  color:var(--pri-tx);
  display:grid;
  place-items:center;
  cursor:pointer;
  box-shadow:0 6px 20px rgba(31,42,20,.3);
  z-index:40;
  transition:transform .15s
}

.ag-fab:hover{
  transform:scale(1.07)
}

.ag-fab.on{
  background:var(--acc);
  color:#fff
}

.ag-panel{
  position:fixed;
  right:16px;
  bottom:76px;
  width:min(380px,calc(100vw - 32px));
  height:min(540px,72dvh);
  display:flex;
  flex-direction:column;
  background:var(--card);
  border:1px solid var(--bd);
  border-radius:16px;
  box-shadow:0 14px 44px rgba(31,42,20,.3);
  overflow:hidden;
  z-index:45
}

.ag-panel[hidden]{
  display:none
}

.ag-head{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  background:linear-gradient(135deg,var(--card),rgba(154,205,50,.28));
  border-bottom:1px solid var(--bd)
}

.ag-head>div{
  flex:1;
  min-width:0
}

.ag-head b{
  display:block
}

.ag-head small{
  display:block;
  color:var(--mut);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}

.ag-ava{
  width:36px;
  height:36px;
  flex:none;
  border-radius:50%;
  background:var(--pri);
  color:var(--pri-tx);
  display:grid;
  place-items:center
}

.ag-close{
  background:none;
  border:0;
  font-size:26px;
  line-height:1;
  color:var(--mut);
  cursor:pointer;
  padding:0 4px
}

.ag-body{
  flex:1;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:8px;
  background:var(--bg)
}

.ag-msg{
  max-width:88%;
  padding:9px 12px;
  border-radius:14px;
  white-space:pre-wrap;
  word-break:break-word
}

.ag-msg.bot{
  align-self:flex-start;
  background:var(--card);
  border:1px solid var(--bd);
  border-bottom-left-radius:4px
}

.ag-msg.me{
  align-self:flex-end;
  background:var(--pri);
  color:var(--pri-tx);
  border-bottom-right-radius:4px
}

.ag-note{
  align-self:center;
  font-size:12px;
  color:var(--mut)
}

.ag-chips{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  align-self:flex-start;
  max-width:100%
}

.ag-chip{
  border:1px solid var(--bd);
  background:var(--card);
  color:var(--acc);
  border-radius:999px;
  padding:6px 12px;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  text-align:left
}

.ag-chip:hover{
  background:rgba(154,205,50,.22)
}

.ag-typing{
  display:flex;
  gap:4px;
  padding:12px 14px
}

.ag-typing i{
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--mut);
  animation:blink 1.2s infinite
}

.ag-typing i:nth-child(2){animation-delay:.15s}
.ag-typing i:nth-child(3){animation-delay:.3s}

@keyframes blink{
  0%,80%,100%{opacity:.25}
  40%{opacity:1}
}

.ag-form{
  display:flex;
  gap:8px;
  padding:10px;
  background:var(--card);
  border-top:1px solid var(--bd)
}

.ag-form input{
  flex:1;
  min-width:0;
  border:1px solid var(--bd);
  border-radius:10px;
  padding:9px 12px;
  background:var(--bg);
  font-size:16px
}

.ag-send{
  width:40px;
  height:40px;
  flex:none;
  border:0;
  border-radius:10px;
  background:var(--pri);
  color:var(--pri-tx);
  display:grid;
  place-items:center;
  cursor:pointer
}

@media(max-width:560px){
  .ag-panel{
    left:8px;
    right:8px;
    width:auto
  }

  .pres-row{
    flex-basis:min(78vw,230px)
  }
}

@media(prefers-reduced-motion:reduce){
  .dot,
  .ag-typing i{
    animation:none
  }

  .ag-fab{
    transition:none
  }
}


.profile-modal{
  position:fixed;
  inset:0;
  z-index:1000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  overflow-y:auto;
  background:rgba(8,14,10,.68);
  backdrop-filter:blur(6px)
}

.profile-dialog{
  position:relative;
  width:min(100%,480px);
  max-height:calc(100vh - 36px);
  overflow-y:auto;
  padding:8px;
  border-radius:22px;
  background:var(--bg);
  box-shadow:0 24px 70px rgba(0,0,0,.32)
}

.profile-close{
  position:absolute;
  top:16px;
  right:16px;
  z-index:2;
  width:34px;
  height:34px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.18);
  color:#fff;
  font-size:25px;
  line-height:1;
  cursor:pointer
}

.id-card{
  overflow:hidden;
  padding:22px;
  border-radius:17px;
  color:#fff;
  background:linear-gradient(135deg,#123d26,#17633b 58%,#102b20);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)
}

.id-card-top,.id-brand,.id-card-main,.id-card-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px
}

.id-brand .logo-img{
  width:30px;
  height:30px;
  object-fit:contain
}

.id-brand span,.id-label,.id-details span{
  font-size:9px;
  letter-spacing:.12em;
  color:rgba(255,255,255,.72)
}

.id-status{
  padding:5px 10px;
  border-radius:20px;
  background:#d9f4c5;
  color:#17552c;
  font-size:10px;
  font-weight:800
}

.id-card-main{
  justify-content:flex-start;
  margin:28px 0 24px
}

.id-avatar{
  width:86px!important;
  height:86px!important;
  flex:none;
  border:3px solid rgba(255,255,255,.8);
  border-radius:14px!important;
  object-fit:cover;
  display:grid;
  place-items:center;
  font-size:24px;
  font-weight:800
}

.id-person h2{
  margin:4px 0;
  color:#fff;
  font-size:19px;
  line-height:1.25
}

.id-person p{
  color:rgba(255,255,255,.8);
  font-size:12px
}

.id-details{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px 10px;
  padding:16px 0;
  border-top:1px solid rgba(255,255,255,.2);
  border-bottom:1px solid rgba(255,255,255,.2)
}

.id-details div{
  display:grid;
  gap:4px;
  min-width:0
}

.id-details b{
  color:#fff;
  font-size:13px;
  overflow-wrap:anywhere
}

.id-card-bottom{
  margin-top:16px;
  font-size:8px;
  letter-spacing:.06em;
  color:rgba(255,255,255,.72)
}

.id-photo-btn{
  padding:8px 11px;
  border-radius:8px;
  background:rgba(255,255,255,.14);
  color:#fff;
  font-size:11px;
  font-weight:700;
  cursor:pointer;
  white-space:nowrap
}

.profile-edit{
  display:grid;
  gap:10px;
  margin-top:8px;
  padding:18px
}

@media(max-width:560px){
  .profile-modal{padding:10px}
  .profile-dialog{max-height:calc(100vh - 20px)}
  .id-card{padding:18px}
  .id-brand span{font-size:8px}
}

.shell{
  overflow:hidden;
  background:var(--bg)
}

.main{
  min-height:0;
  padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))
}

#content{
  padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))
}

.bottom-nav{
  position:fixed;
  z-index:120;
  left:50%;
  bottom:calc(10px + env(safe-area-inset-bottom,0px));
  transform:translateX(-50%);
  width:min(620px,calc(100% - 24px));
  min-height:68px;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  align-items:center;
  gap:3px;
  padding:7px 9px;
  border:1px solid rgba(227,230,220,.9);
  border-radius:24px;
  background:rgba(255,255,255,.94);
  -webkit-backdrop-filter:blur(18px);
  backdrop-filter:blur(18px);
  box-shadow:0 10px 35px rgba(31,42,20,.16)
}

.nav-item{
  position:relative;
  min-width:0;
  min-height:52px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  padding:5px 2px;
  border:0;
  border-radius:17px;
  background:transparent;
  color:#73806d;
  cursor:pointer;
  transition:background .25s ease,color .25s ease,transform .25s ease
}

.nav-item svg{
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition:transform .25s ease
}

.nav-item span{
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:10px;
  line-height:1.2;
  font-weight:600
}

.nav-item.active{
  color:#087a22;
  background:#e8f7e9
}

.nav-item.active svg{
  transform:translateY(-1px)
}

.nav-item:active{
  transform:scale(.92)
}

.nav-home{
  color:#fff;
  background:#22c735;
  box-shadow:0 5px 14px rgba(34,197,53,.25)
}

.nav-home.active{
  color:#fff;
  background:#16ad2c
}

.nav-home svg{
  width:25px;
  height:25px
}

.nav-home span{
  color:#fff
}


.ag-panel{
  z-index:115;
  bottom:calc(88px + env(safe-area-inset-bottom,0px));
  max-height:calc(100dvh - 120px)
}

.menu-catalog{
  position:fixed;
  inset:0;
  z-index:1000;
  display:flex;
  flex-direction:column;
  padding:calc(22px + env(safe-area-inset-top,0px)) max(18px,calc((100vw - 900px)/2)) calc(16px + env(safe-area-inset-bottom,0px));
  background:var(--bg);
  opacity:0;
  transform:translateY(14px);
  transition:opacity .22s ease,transform .22s ease
}

.menu-catalog.ready{
  opacity:1;
  transform:translateY(0)
}

.menu-catalog.closing{
  opacity:0;
  transform:translateY(12px)
}

.catalog-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex:none;
  padding-bottom:18px
}

.catalog-eyebrow{
  color:var(--acc);
  font-size:10px;
  font-weight:800;
  letter-spacing:.16em
}

.catalog-heading h2{
  margin:3px 0 0;
  font-size:25px;
  line-height:1.2
}

.catalog-heading p{
  margin-top:4px;
  color:var(--mut);
  font-size:12px
}

.catalog-close{
  flex:none;
  width:42px;
  height:42px;
  border:1px solid var(--bd);
  border-radius:50%;
  background:var(--card);
  color:var(--tx);
  font-size:27px;
  line-height:1;
  cursor:pointer
}

.catalog-search{
  flex:none;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 14px;
  min-height:48px;
  border:1px solid var(--bd);
  border-radius:14px;
  background:var(--card)
}

.catalog-search svg{
  width:20px;
  height:20px;
  flex:none;
  fill:none;
  stroke:var(--mut);
  stroke-width:2;
  stroke-linecap:round
}

.catalog-search input{
  width:100%;
  min-width:0;
  border:0;
  outline:0;
  background:transparent;
  color:var(--tx);
  font:inherit;
  font-size:14px
}

.catalog-categories{
  flex:none;
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding:14px 0;
  scrollbar-width:none
}

.catalog-categories::-webkit-scrollbar{display:none}

.catalog-chip{
  flex:none;
  padding:8px 13px;
  border:1px solid var(--bd);
  border-radius:999px;
  background:var(--card);
  color:var(--mut);
  font-size:11px;
  font-weight:700;
  cursor:pointer;
  transition:background .2s ease,color .2s ease,border-color .2s ease
}

.catalog-chip.active{
  border-color:var(--acc);
  background:#e5f5e6;
  color:var(--acc)
}

.catalog-content{
  flex:1;
  min-height:0;
  overflow:auto;
  overscroll-behavior:contain;
  padding:2px 2px 18px
}

.catalog-group{
  margin-bottom:22px
}

.catalog-group h3{
  margin:0 0 10px;
  font-size:14px;
  font-weight:800
}

.catalog-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(155px,1fr));
  gap:9px
}

.catalog-item{
  min-height:64px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:11px;
  border:1px solid var(--bd);
  border-radius:13px;
  background:var(--card);
  color:var(--tx);
  text-decoration:none;
  font-size:12px;
  font-weight:700;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease
}

.catalog-item:hover{
  transform:translateY(-2px);
  border-color:#8bc98e;
  box-shadow:0 5px 16px rgba(31,42,20,.07)
}

.catalog-item[hidden],.catalog-group[hidden]{display:none}

.catalog-icon{
  flex:none;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:#eaf7eb;
  color:#16852b
}

.catalog-icon svg,.catalog-arrow,.catalog-logout-icon svg{
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round
}

.catalog-item>span:nth-child(2){
  flex:1;
  min-width:0
}

.catalog-arrow{
  flex:none;
  width:15px;
  height:15px;
  color:#9aa394
}

.catalog-empty{
  padding:38px 12px;
  color:var(--mut);
  text-align:center;
  font-size:13px
}

.catalog-footer{
  flex:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:8px;
  padding:13px 2px calc(4px + env(safe-area-inset-bottom,0px));
  border-top:1px solid var(--bd)
}

.catalog-footer>div{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0
}

.catalog-logout-icon{
  width:38px;
  height:38px;
  flex:none;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:#fff0ef;
  color:#c83d35
}

.catalog-footer b,.catalog-footer small{display:block}
.catalog-footer b{font-size:12px}
.catalog-footer small{color:var(--mut);font-size:10px}

.catalog-logout{
  flex:none;
  padding:9px 15px;
  border:0;
  border-radius:10px;
  background:#fff0ef;
  color:#c83d35;
  font-size:12px;
  font-weight:800;
  cursor:pointer
}

@media(max-width:560px){
  .bottom-nav{
    width:calc(100% - 24px);
    min-height:66px;
    border-radius:22px;
    padding:6px 5px
  }
  .nav-item{min-height:52px;gap:2px}
  .nav-item svg{width:21px;height:21px}
  .nav-item span{font-size:9px}
  .nav-home svg{width:24px;height:24px}
  .menu-catalog{padding-left:14px;padding-right:14px}
  .catalog-heading h2{font-size:22px}
  .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .catalog-item{min-height:60px;padding:9px;gap:8px;font-size:11px}
  .catalog-icon{width:31px;height:31px}
  .ag-panel{left:8px;right:8px;width:auto;bottom:calc(86px + env(safe-area-inset-bottom,0px))}
}

@media(prefers-reduced-motion:reduce){
  .nav-item,.nav-item svg,.menu-catalog,.catalog-chip,.catalog-item{transition:none}
}


html,
body,
#app,
.shell,
.main,
#content{
  width:100%;
  min-width:0;
}

.shell{
  max-width:100%;
}

.main{
  flex:1 1 auto;
}

#content{
  flex:1 1 auto;
  max-width:100%;
}

.frame{
  display:block;
  max-width:100%;
}

.dashboard,
.pad{
  width:100%;
  max-width:none;
  min-width:0;
  padding:clamp(12px,1.5vw,22px);
}

.pad.two{
  max-width:none;
}

.dashboard{
  gap:clamp(12px,1.4vw,18px);
}

.stats,
.dashboard-grid,
.info-list,
.grid{
  min-width:0;
}

.stats > *,
.dashboard-grid > *,
.info-list > *,
.grid > *{
  min-width:0;
}

@media(min-width:1600px){
  .stats{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }

  .dashboard-grid{
    grid-template-columns:minmax(0,1fr);
  }
}

@media(max-width:800px){
  .dashboard,
  .pad{
    padding:14px;
  }
}

@media(max-width:560px){
  .dashboard,
  .pad{
    padding:12px;
  }
}

.home-overview{
  display:block
}

.home-overview .pres-card{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  margin:0;
  padding:6px 10px
}

.home-overview .pres-head{
  flex:none;
  margin:0
}

.home-overview .pres-head>div{
  display:none
}

.home-overview .pres-count{
  padding:3px 9px;
  font-size:11px
}

.home-overview .pres-card>.mut{
  margin:0;
  font-size:13px
}

.home-overview .pres-list{
  flex:1;
  min-width:0;
  padding:0 0 6px;
  gap:6px;
  scroll-snap-type:none;
  scrollbar-width:thin;
  scrollbar-color:var(--bd) transparent
}

.home-overview .pres-list::-webkit-scrollbar{
  height:4px
}

.home-overview .pres-row{
  flex:0 0 auto;
  max-width:none;
  padding:3px 10px 3px 4px;
  gap:6px;
  border-radius:999px
}

.home-overview .pres-row .av.sm{
  width:24px;
  height:24px;
  font-size:10px
}

.home-overview .pres-row>div{
  flex:none;
  min-width:auto
}

.home-overview .pres-row b{
  overflow:visible;
  text-overflow:clip;
  white-space:nowrap;
  font-size:12px;
  line-height:1.2
}

.home-overview .pres-row small{
  display:none
}

.home-overview .pres-pg{
  flex:none;
  max-width:none;
  font-size:10px;
  padding:1px 7px
}

.information-card{
  width:100%;
  min-width:0;
  max-width:none;
  padding:22px;
  justify-self:stretch;
  align-self:stretch;
}

.information-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:16px;
}

.information-head h3{
  margin:4px 0 0;
}

.information-frame-wrap{
  display:block;
  width:100%;
  max-width:none;
  min-width:0;
  overflow-x:auto;
  overflow-y:hidden;
  border:1px solid var(--bd);
  border-radius:12px;
  background:var(--bg);
}

#informationFrame{
  display:block;
  width:100%;
  max-width:none;
  height:max(680px,calc(100dvh - 300px));
  min-height:680px;
  border:0;
  background:transparent;
}

@media(max-width:760px){
  .information-card{padding:16px}
  #informationFrame{height:max(680px,calc(100dvh - 240px));min-height:680px}
}

@media(max-width:480px){
  #informationFrame{height:max(650px,calc(100dvh - 220px));min-height:650px}
}


.menu-catalog{
  padding-left:max(18px,calc((100vw - 1240px)/2));
  padding-right:max(18px,calc((100vw - 1240px)/2))
}

.catalog-heading h2{font-size:28px}
.catalog-heading p{font-size:13px}

.catalog-toolbar{
  flex:none;
  display:flex;
  align-items:center;
  gap:10px
}

.catalog-toolbar .catalog-search{
  flex:1;
  min-width:0;
  min-height:52px
}

.catalog-search input{font-size:15px}

.catalog-view{
  flex:none;
  display:flex;
  padding:4px;
  gap:4px;
  border:1px solid var(--bd);
  border-radius:14px;
  background:var(--card)
}

.catalog-view-btn{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:10px;
  background:transparent;
  color:var(--mut);
  cursor:pointer;
  transition:background .2s ease,color .2s ease
}

.catalog-view-btn svg{
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round
}

.catalog-view-btn.active{
  background:#e5f5e6;
  color:var(--acc)
}

.catalog-chip{
  padding:10px 16px;
  font-size:13px
}

.catalog-group{margin-bottom:28px}

.catalog-group h3{
  margin-bottom:12px;
  font-size:16px
}

.catalog-grid{
  grid-template-columns:repeat(auto-fill,minmax(230px,1fr));
  gap:12px
}

.catalog-item{
  min-height:84px;
  padding:14px 16px;
  gap:14px;
  border-radius:16px;
  font-size:14px;
  line-height:1.35;
  overflow-wrap:anywhere
}

.catalog-icon{
  width:46px;
  height:46px;
  border-radius:14px
}

.catalog-icon svg{
  width:24px;
  height:24px
}

.catalog-arrow{
  width:18px;
  height:18px
}

.menu-catalog.view-list .catalog-grid{
  grid-template-columns:minmax(0,1fr);
  gap:8px
}

.menu-catalog.view-list .catalog-item{
  min-height:68px;
  padding:12px 16px
}

.menu-catalog.view-list .catalog-icon{
  width:42px;
  height:42px
}

.catalog-footer b{font-size:14px}
.catalog-footer small{font-size:12px}
.catalog-logout{padding:11px 18px;font-size:13px}

@media(max-width:560px){
  .menu-catalog{
    padding-left:14px;
    padding-right:14px
  }
  .catalog-heading h2{font-size:24px}
  .catalog-toolbar .catalog-search{min-height:50px}
  .catalog-view-btn{width:40px;height:40px}
  .catalog-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px
  }
  .catalog-item{
    min-height:92px;
    flex-direction:column;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
    padding:12px;
    font-size:13px
  }
  .catalog-item>span:nth-child(2){flex:none;width:100%}
  .catalog-icon{width:40px;height:40px}
  .catalog-arrow{display:none}
  .menu-catalog.view-list .catalog-item{
    min-height:62px;
    flex-direction:row;
    align-items:center;
    justify-content:flex-start;
    gap:12px;
    padding:10px 12px
  }
  .menu-catalog.view-list .catalog-item>span:nth-child(2){flex:1;width:auto}
  .menu-catalog.view-list .catalog-arrow{display:block}
}


.bottom-nav{
  grid-template-columns:repeat(6,minmax(0,1fr));
  width:min(680px,calc(100% - 20px));
  border:2px solid #22c735;
  box-shadow:0 10px 35px rgba(31,42,20,.16),0 0 0 3px rgba(34,199,53,.12);
  overflow:hidden;
  isolation:isolate
}

.nav-fx{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:-1;
  pointer-events:none;
  opacity:.9
}

.nav-item{
  z-index:1;
  border:1.5px solid rgba(34,199,53,.55)
}

.nav-item.active{border-color:#16ad2c}
.nav-home{border-color:#16ad2c}

.nav-logout{color:#c83d35;border-color:rgba(200,61,53,.45)}
.nav-logout.active{color:#c83d35;background:#fff0ef;border-color:#c83d35}

.catalog-heading h2{font-size:32px}
.catalog-heading p{font-size:14px}
.catalog-toolbar .catalog-search{min-height:58px;border-radius:16px}
.catalog-search input{font-size:16px}
.catalog-view-btn{width:48px;height:48px}
.catalog-chip{padding:12px 20px;font-size:14px}
.catalog-group h3{font-size:18px;margin-bottom:14px}

.catalog-grid{
  grid-template-columns:repeat(auto-fill,minmax(290px,1fr));
  gap:14px
}

.catalog-item{
  min-height:108px;
  padding:18px 20px;
  gap:16px;
  border-radius:20px;
  font-size:16px
}

.catalog-icon{
  width:56px;
  height:56px;
  border-radius:16px
}

.catalog-icon svg{width:28px;height:28px}
.catalog-arrow{width:20px;height:20px}

.menu-catalog.view-list .catalog-item{
  min-height:84px;
  padding:16px 20px
}

.menu-catalog.view-list .catalog-icon{width:50px;height:50px}

.menu-catalog{padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))}

@media(max-width:560px){
  .bottom-nav{
    width:calc(100% - 16px);
    padding:6px 4px;
    gap:2px
  }
  .nav-item{border-radius:14px;padding:4px 1px}
  .nav-item span{font-size:8.5px}
  .nav-item svg{width:20px;height:20px}
  .nav-home svg{width:22px;height:22px}
  .catalog-heading h2{font-size:26px}
  .catalog-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px
  }
  .catalog-item{
    min-height:116px;
    padding:14px;
    font-size:15px;
    flex-direction:column;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px
  }
  .catalog-icon{width:48px;height:48px}
  .menu-catalog.view-list .catalog-item{
    min-height:76px;
    padding:12px 14px;
    flex-direction:row;
    align-items:center;
    justify-content:flex-start;
    gap:14px
  }
  .menu-catalog.view-list .catalog-icon{width:46px;height:46px}
}


.bottom-nav{
  border-width:3px;
  box-shadow:0 10px 35px rgba(31,42,20,.18),0 0 0 4px rgba(34,199,53,.16)
}

.nav-item{
  border-width:2.5px;
  transition:background .25s ease,color .25s ease,transform .25s cubic-bezier(.34,1.56,.64,1),box-shadow .25s ease,border-color .25s ease
}

.nav-item svg{
  transition:transform .3s cubic-bezier(.34,1.56,.64,1)
}

@media(hover:hover){
  .nav-item:hover{
    transform:translateY(-5px) scale(1.07);
    background:#e8f7e9;
    color:#087a22;
    border-color:#16ad2c;
    box-shadow:0 8px 18px rgba(34,199,53,.35),0 0 0 3px rgba(34,199,53,.18)
  }
  .nav-item:hover svg{
    transform:translateY(-1px) scale(1.2) rotate(-6deg);
    animation:navWiggle .6s ease
  }
  .nav-home:hover{
    background:#16ad2c;
    color:#fff
  }
  .nav-logout:hover{
    background:#fff0ef;
    color:#c83d35;
    border-color:#c83d35;
    box-shadow:0 8px 18px rgba(200,61,53,.3),0 0 0 3px rgba(200,61,53,.14)
  }
}

.nav-item.active{
  box-shadow:0 0 0 3px rgba(34,199,53,.2);
  animation:navPulse 2.4s ease-in-out infinite
}

.nav-logout.active{animation:none}

@keyframes navWiggle{
  0%{transform:scale(1)}
  30%{transform:translateY(-3px) scale(1.25) rotate(-12deg)}
  60%{transform:translateY(-1px) scale(1.2) rotate(8deg)}
  100%{transform:translateY(-1px) scale(1.2) rotate(-6deg)}
}

@keyframes navPulse{
  0%,100%{box-shadow:0 0 0 3px rgba(34,199,53,.2)}
  50%{box-shadow:0 0 0 6px rgba(34,199,53,.05)}
}

@media(prefers-reduced-motion:reduce){
  .nav-item,.nav-item svg{transition:none;animation:none!important}
}

.menu-catalog{
  padding-left:16px!important;
  padding-right:16px!important;
  padding-bottom:0!important
}

.catalog-header,
.catalog-toolbar,
.catalog-categories,
.catalog-content{
  width:100%
}

.catalog-content{
  padding:2px 0 calc(40px + env(safe-area-inset-bottom,0px));
  scrollbar-width:none;
  -webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 36px),transparent);
  mask-image:linear-gradient(to bottom,#000 calc(100% - 36px),transparent)
}

.catalog-content::-webkit-scrollbar{display:none}

.catalog-grid{
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:14px
}

.menu-catalog.view-list .catalog-grid{
  grid-template-columns:minmax(0,1fr)
}

@media(max-width:560px){
  .menu-catalog{
    padding-left:12px!important;
    padding-right:12px!important
  }
  .catalog-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .menu-catalog.view-list .catalog-grid{
    grid-template-columns:minmax(0,1fr)
  }
}


.bottom-nav{
  grid-template-columns:repeat(5,minmax(0,1fr));
  overflow:hidden
}

.nav-fx{border-radius:21px}

@keyframes navWiggleLoop{
  0%,100%{transform:translateY(-1px) scale(1.2) rotate(0)}
  25%{transform:translateY(-3px) scale(1.28) rotate(-14deg)}
  75%{transform:translateY(-3px) scale(1.28) rotate(14deg)}
}

@keyframes navBob{
  0%,100%{transform:translateY(-5px) scale(1.07)}
  50%{transform:translateY(-8px) scale(1.1)}
}

@media(hover:hover){
  .nav-item:hover{animation:navBob 1s ease-in-out infinite}
  .nav-item:hover svg{animation:navWiggleLoop .9s ease-in-out infinite}
}

@media(prefers-reduced-motion:reduce){
  .nav-item:hover,.nav-item:hover svg{animation:none!important}
}

.ag-fab{
  display:block!important;
  right:10px;
  bottom:calc(92px + env(safe-area-inset-bottom,0px));
  width:84px;
  height:84px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent!important;
  box-shadow:none;
  z-index:1100;
  filter:drop-shadow(0 8px 10px rgba(31,42,20,.28));
  -webkit-tap-highlight-color:transparent
}

.ag-fab canvas{
  display:block;
  width:100%;
  height:100%;
  pointer-events:none
}

.ag-fab:hover{transform:translateY(-3px) scale(1.06)}
.ag-fab.on{background:transparent!important}

.ag-fab.flat{
  width:56px;
  height:56px;
  border-radius:50%;
  background:var(--pri)!important;
  color:var(--pri-tx);
  display:grid!important;
  place-items:center
}

.ag-panel{z-index:1100}

.ag-bubble{
  position:fixed;
  right:92px;
  bottom:calc(92px + 34px + env(safe-area-inset-bottom,0px));
  max-width:min(230px,calc(100vw - 120px));
  padding:10px 14px;
  background:#fff;
  color:var(--tx);
  border:2px solid #22c735;
  border-radius:16px 16px 4px 16px;
  font-size:13px;
  font-weight:600;
  line-height:1.4;
  box-shadow:0 10px 26px rgba(31,42,20,.2);
  z-index:1100;
  opacity:0;
  transform:translateY(8px) scale(.9);
  transform-origin:bottom right;
  pointer-events:none;
  cursor:pointer;
  transition:opacity .25s ease,transform .3s cubic-bezier(.34,1.56,.64,1)
}

.ag-bubble::after{
  content:"";
  position:absolute;
  right:-8px;
  bottom:8px;
  width:12px;
  height:12px;
  background:#fff;
  border-top:2px solid #22c735;
  border-right:2px solid #22c735;
  transform:rotate(45deg)
}

.ag-bubble.show{
  opacity:1;
  transform:none;
  pointer-events:auto;
  animation:bubbleFloat 2.4s ease-in-out infinite .4s
}

@keyframes bubbleFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-4px)}
}

body:has(#profileModal) .ag-fab,
body:has(#profileModal) .ag-bubble{display:none!important}

@media(max-width:759px){
  .ag-fab.on{opacity:0;pointer-events:none}
}

@media(min-width:760px){
  .ag-fab{right:20px;bottom:20px;width:92px;height:92px}
  .ag-bubble{right:112px;bottom:56px}
  .ag-panel{bottom:124px!important}
}

@media(prefers-reduced-motion:reduce){
  .ag-bubble.show{animation:none}
}

.login{position:relative}

.login-loader{
  position:absolute;
  inset:0;
  z-index:5;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  border-radius:inherit;
  background:rgba(255,255,255,.82);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  opacity:0;
  transition:opacity .25s ease
}

.login-loader.show{opacity:1}

.login-loader canvas{
  width:150px;
  height:150px;
  display:block
}

.login-loader p{
  margin:0;
  font-weight:700;
  font-size:13px;
  letter-spacing:.06em;
  color:var(--acc)
}

.boot{
  position:relative;
  width:240px;
  height:240px
}

.login-loader.plain{
  background:transparent;
  -webkit-backdrop-filter:none;
  backdrop-filter:none
}


.mini-atom{
  position:relative;
  display:inline-block;
  width:38px;
  height:38px;
  flex:none
}

.mini-atom .p,
.mini-atom .n{
  position:absolute;
  top:50%;
  left:50%;
  width:8px;
  height:8px;
  border-radius:50%
}

.mini-atom .p{
  margin:-5px 0 0 -6px;
  background:#e53935;
  animation:nucPulse .6s ease-in-out infinite
}

.mini-atom .n{
  margin:-3px 0 0 -2px;
  background:#2ecc40;
  animation:nucPulse .6s ease-in-out infinite .3s
}

.mini-atom .o{
  position:absolute;
  inset:0;
  border:1.5px solid #ff8c1a;
  border-radius:50%;
  transform:rotate(var(--r)) scaleY(.42)
}

.mini-atom .s{
  position:absolute;
  inset:0;
  animation:atomSpin .8s linear infinite
}

.mini-atom .e{
  position:absolute;
  top:-4px;
  left:calc(50% - 4px);
  width:8px;
  height:8px;
  border-radius:50%;
  background:#1e88ff;
  box-shadow:0 0 6px #1e88ff
}

@keyframes atomSpin{to{transform:rotate(360deg)}}
@keyframes nucPulse{50%{transform:scale(1.4)}}

.pres-load{
  display:grid;
  place-items:center;
  padding:14px
}

.ag-typing{
  align-items:center;
  gap:8px;
  padding:6px 14px
}

.ag-typing small{
  color:var(--mut);
  font-size:12px
}

.ag-typing .mini-atom{width:34px;height:34px}

.load-host{
  position:relative;
  width:220px;
  height:220px
}

.frame-load{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  background:var(--bg)
}

.frame{transition:opacity .35s ease}

.card.narrow{position:relative}

.out-robot{
  display:block;
  width:130px;
  height:130px;
  margin:0 auto -6px;
  pointer-events:none
}

@keyframes logoutSlide{
  0%,100%{transform:translateX(-2px) scale(1.2)}
  50%{transform:translateX(6px) scale(1.28)}
}

@media(hover:hover){
  .nav-logout:hover svg{animation:logoutSlide .7s ease-in-out infinite}
}

@media(prefers-reduced-motion:reduce){
  .nav-logout:hover svg{animation:none!important}
}

body:has(#menuCatalog) .bottom-nav{z-index:1050}

.catalog-content{
  padding-bottom:calc(120px + env(safe-area-inset-bottom,0px))!important
}

.ag-ava{
  width:46px;
  height:46px;
  background:transparent;
  overflow:visible
}

.ag-ava canvas{
  width:100%;
  height:100%;
  display:block
}

.ag-clear{
  flex:none;
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border:0;
  border-radius:50%;
  background:transparent;
  color:var(--mut);
  cursor:pointer;
  transition:background .2s ease,color .2s ease,transform .2s ease
}

.ag-clear:hover{
  background:rgba(200,61,53,.12);
  color:#c83d35;
  transform:rotate(-10deg)
}

.ag-body>*:last-child{
  animation:agIn .3s cubic-bezier(.34,1.56,.64,1)
}

@keyframes agIn{
  from{opacity:0;transform:translateY(10px) scale(.96)}
}

.ag-quick{
  display:flex;
  gap:6px;
  padding:8px 12px 0;
  overflow-x:auto;
  scrollbar-width:none
}

.ag-quick::-webkit-scrollbar{display:none}

.ag-quick button{
  flex:none;
  padding:6px 12px;
  border:1.5px solid rgba(34,199,53,.6);
  border-radius:999px;
  background:var(--card);
  color:var(--tx);
  font:inherit;
  font-size:12px;
  font-weight:600;
  cursor:pointer;
  transition:background .2s ease,transform .2s ease
}

.ag-quick button:hover{
  background:#e8f7e9;
  transform:translateY(-2px)
}

.ag-react{
  align-self:flex-start;
  display:flex;
  gap:6px;
  margin-top:-4px
}

.ag-react button{
  border:1px solid var(--bd);
  border-radius:999px;
  background:var(--card);
  padding:3px 10px;
  font-size:14px;
  cursor:pointer;
  transition:transform .2s cubic-bezier(.34,1.56,.64,1)
}

.ag-react button:hover{transform:scale(1.2) rotate(-6deg)}

@media(prefers-reduced-motion:reduce){
  .ag-body>*:last-child,.mini-atom .s,.mini-atom .p,.mini-atom .n{animation:none}
}

.ag-ava{
  background:linear-gradient(135deg,#2fd44a,#16ad2c);
  border-radius:50%;
  overflow:hidden;
  box-shadow:0 0 0 2px rgba(34,199,53,.35)
}

.ag-ava canvas{transform:scale(1.18) translateY(2px)}

.login-loader{background:rgba(255,255,255,.94)}
.login-loader.plain{background:transparent}
