:root{
  --kibo-maroon:#6d0928;
  --kibo-maroon-strong:#52061d;
  --kibo-ivory:#f8f2e7;
  --kibo-beige:#c9baaa;
  --kibo-grey:#cfcace;
  --kibo-coral:#e37e65;
  --kibo-graphite:#2d2d2d;
  --kibo-white:#ffffff;
  --portal-bg:#f6efe6;
  --portal-line:rgba(45,45,45,.10);
  --portal-line-strong:rgba(45,45,45,.16);
  --portal-shadow:0 18px 44px rgba(45,45,45,.08);
  --portal-shadow-lg:0 28px 70px rgba(45,45,45,.12);
  --portal-radius:18px;
  --portal-radius-sm:12px;
  --portal-radius-xs:10px;
}

*{box-sizing:border-box}
html{
  min-height:100%;
  font-size:14px;
}
body{min-height:100%}
body{
  margin:0;
  color:var(--kibo-graphite);
  background:
    radial-gradient(circle at 10% 10%, rgba(227,126,101,.12), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(109,9,40,.10), transparent 40%),
    radial-gradient(circle at 86% 88%, rgba(201,186,170,.18), transparent 42%),
    linear-gradient(180deg, #f9f4ec 0%, #f7efe4 100%);
  font-family:"Segoe UI", Arial, sans-serif;
}

a{color:inherit}
.text-maroon{color:var(--kibo-maroon)!important}

.admin-shell{
  position:relative;
  min-height:100vh;
  padding-left:0;
}

.topbar{
  position:sticky;
  top:0;
  z-index:1030;
  background:linear-gradient(135deg, rgba(82,6,29,.96) 0%, rgba(109,9,40,.95) 55%, rgba(132,25,53,.95) 100%);
  backdrop-filter:blur(16px) saturate(140%);
  border-bottom:1px solid rgba(255,255,255,.08);
  box-shadow:0 12px 32px rgba(45,45,45,.12);
}
.topbar::after{
  content:"";
  display:block;
  height:2px;
  background:linear-gradient(90deg, rgba(248,242,231,.25), rgba(227,126,101,.55), rgba(248,242,231,.18));
}
.topbar-inner{
  min-height:68px;
  padding:10px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:var(--kibo-ivory);
}
.brand-badge{
  width:42px;
  height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:rgba(248,242,231,.12);
  border:1px solid rgba(248,242,231,.16);
  box-shadow:0 14px 28px rgba(0,0,0,.14);
}
.brand-badge img{max-width:24px;max-height:24px}
.brand-title .t1{
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-size:.9rem;
}
.brand-title .t2{
  margin-top:2px;
  font-size:.73rem;
  color:rgba(248,242,231,.74);
  letter-spacing:.08em;
  text-transform:uppercase;
}
.topbar-side{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.page-chip{
  padding:10px 14px;
  border-radius:999px;
  background:rgba(248,242,231,.10);
  border:1px solid rgba(248,242,231,.16);
  color:var(--kibo-ivory);
  min-width:0;
}
.page-chip .kicker{
  font-size:.68rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:rgba(248,242,231,.62);
}
.page-chip .heading{
  margin-top:2px;
  font-weight:800;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.topbar-actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.icon-btn,.pill-btn,.profile-btn{
  border:1px solid rgba(248,242,231,.14);
  background:rgba(248,242,231,.08);
  color:var(--kibo-ivory);
  border-radius:14px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  transition:background .16s ease,border-color .16s ease,transform .16s ease;
}
.icon-btn.active{
  background:rgba(248,242,231,.18);
  border-color:rgba(248,242,231,.28);
  box-shadow:inset 0 0 0 1px rgba(248,242,231,.08);
}
.icon-btn:hover,.pill-btn:hover,.profile-btn:hover{
  background:rgba(248,242,231,.14);
  border-color:rgba(248,242,231,.22);
  transform:translateY(-1px);
}
.icon-btn{width:42px;position:relative}
.notif-badge{
  position:absolute;
  top:-5px;
  right:-5px;
  min-width:18px;
  height:18px;
  padding:0 4px;
  border-radius:999px;
  background:var(--kibo-coral);
  color:var(--kibo-white);
  font-size:.67rem;
  font-weight:800;
  display:grid;
  place-items:center;
}
.pill-btn{
  padding:0 14px;
  gap:8px;
  font-size:.8rem;
  font-weight:800;
}
.profile-btn{
  padding:0 10px 0 8px;
  gap:10px;
  min-width:184px;
  justify-content:flex-start;
}
.profile-avatar{
  width:28px;
  height:28px;
  border-radius:10px;
  overflow:hidden;
  background:rgba(248,242,231,.18);
  display:grid;
  place-items:center;
  font-weight:800;
}
.profile-avatar img{width:100%;height:100%;object-fit:cover}
.profile-meta{
  min-width:0;
  text-align:left;
}
.profile-meta .name{
  display:block;
  font-size:.8rem;
  font-weight:800;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.profile-meta .role{
  display:block;
  font-size:.68rem;
  color:rgba(248,242,231,.62);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.dropdown-panel{
  min-width:320px;
  border:none;
  border-radius:16px;
  overflow:hidden;
  box-shadow:var(--portal-shadow-lg);
  padding:0;
}
.dropdown-panel .panel-head{
  padding:16px;
  background:linear-gradient(135deg, var(--kibo-maroon) 0%, #8a183d 100%);
  color:var(--kibo-ivory);
}
.dropdown-panel .panel-body{
  max-height:320px;
  overflow:auto;
  background:var(--kibo-white);
}
.dropdown-panel .panel-foot{
  padding:12px 16px;
  border-top:1px solid var(--portal-line);
  background:var(--kibo-ivory);
}
.dropdown-order{
  display:block;
  padding:14px 16px;
  border-bottom:1px solid var(--portal-line);
  text-decoration:none;
}
.dropdown-order:hover{background:#fbf7f0}
.dropdown-order .order-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-size:.84rem;
  font-weight:800;
}
.dropdown-order .order-sub{
  margin-top:5px;
  font-size:.77rem;
  color:rgba(45,45,45,.68);
}
.status-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 10px;
  border-radius:999px;
  font-size:.72rem;
  font-weight:800;
  border:1px solid transparent;
}
.status-success{background:rgba(71,170,111,.14); color:#2d7a4f; border-color:rgba(71,170,111,.22)}
.status-warning{background:rgba(227,126,101,.16); color:#a54e37; border-color:rgba(227,126,101,.24)}
.status-muted{background:rgba(201,186,170,.22); color:#78695f; border-color:rgba(201,186,170,.26)}
.status-info{background:rgba(109,9,40,.10); color:var(--kibo-maroon); border-color:rgba(109,9,40,.16)}
.status-neutral{background:rgba(45,45,45,.08); color:var(--kibo-graphite); border-color:rgba(45,45,45,.12)}

.main-content{
  padding:18px 18px 18px 242px;
  min-height:calc(100vh - 70px);
  transition:padding-left .22s ease;
}
body.sidebar-collapsed .main-content{padding-left:104px}

.sidebar{
  position:fixed;
  top:68px;
  left:0;
  width:210px;
  height:calc(100vh - 68px);
  z-index:1020;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:linear-gradient(180deg, #4f061d 0%, #630824 46%, #7a102f 100%);
  border-right:1px solid rgba(248,242,231,.12);
  box-shadow:12px 0 32px rgba(45,45,45,.14);
  transition:width .22s ease;
}
body.sidebar-collapsed .sidebar{width:72px}
.sb-toggle{
  position:fixed;
  top:80px;
  left:198px;
  z-index:1040;
  width:22px;
  height:44px;
  border:1px solid rgba(248,242,231,.14);
  background:linear-gradient(180deg, rgba(109,9,40,.96) 0%, rgba(82,6,29,.98) 100%);
  color:var(--kibo-ivory);
  border-radius:12px;
  box-shadow:0 14px 28px rgba(45,45,45,.18);
  display:grid;
  place-items:center;
  cursor:pointer;
}
body.sidebar-collapsed .sb-toggle{left:60px}
.sb-brand{
  height:0;
  border-bottom:1px solid rgba(248,242,231,.08);
  margin-bottom:6px;
}
.sb-scroll{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  padding:8px 8px 10px;
}
.sb-scroll::-webkit-scrollbar{width:6px}
.sb-scroll::-webkit-scrollbar-thumb{background:rgba(248,242,231,.18);border-radius:999px}
.sb-list{
  display:grid;
  gap:2px;
}
.sb-group{
  position:relative;
}
.sb-group-head{
  width:100%;
  color:rgba(248,242,231,.95);
  display:flex;
  align-items:center;
  gap:8px;
  border-radius:10px;
  padding:8px 10px;
  text-align:left;
  font-weight:800;
  font-size:.84rem;
  position:relative;
  cursor:pointer;
  transition:background .15s ease,transform .15s ease,box-shadow .15s ease;
}
.sb-group:hover .sb-group-head,
.sb-group.active .sb-group-head,
.sb-group.is-open .sb-group-head{
  background:rgba(248,242,231,.10);
  box-shadow:inset 0 0 0 1px rgba(248,242,231,.08);
}
.sb-lbl{
  white-space:normal;
  overflow:hidden;
  line-height:1.18;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  min-height:calc(1.18em * 2);
  flex:1 1 auto;
}
body.sidebar-collapsed .sb-lbl{display:none}
.sb-group-mini{
  display:none;
  width:26px;
  height:26px;
  border-radius:8px;
  align-items:center;
  justify-content:center;
  background:rgba(248,242,231,.10);
  border:1px solid rgba(248,242,231,.12);
  color:var(--kibo-ivory);
  font-size:.62rem;
  font-weight:900;
  letter-spacing:.08em;
  flex:0 0 26px;
}
body.sidebar-collapsed .sb-group-mini{
  display:inline-flex;
}
.sb-group-head::after{
  content:"\f078";
  font-family:"Font Awesome 6 Free";
  font-weight:900;
  font-size:.72rem;
  color:rgba(248,242,231,.62);
  transition:transform .18s ease, opacity .18s ease;
}
.sb-group.is-open .sb-group-head::after{
  transform:rotate(180deg);
  color:rgba(248,242,231,.86);
}
body.sidebar-collapsed .sb-group-head::after{
  opacity:0;
}
.sb-tip{
  position:absolute;
  left:calc(100% + 10px);
  top:50%;
  transform:translateY(-50%);
  background:#241116;
  color:var(--kibo-white);
  border-radius:8px;
  padding:6px 10px;
  font-size:.78rem;
  font-weight:700;
  white-space:nowrap;
  box-shadow:0 10px 22px rgba(45,45,45,.22);
  border:1px solid rgba(248,242,231,.12);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
body.sidebar-collapsed .sb-group:hover .sb-tip{
  opacity:1;
  visibility:visible;
}
.sb-sublist{
  display:grid;
  gap:2px;
  padding:2px 0 6px 0;
  max-height:0;
  overflow:hidden;
  opacity:0;
  transition:max-height .2s ease, opacity .18s ease, padding-top .18s ease;
}
.sb-group.is-open .sb-sublist{
  max-height:420px;
  opacity:1;
}
.sb-subitem{
  display:flex;
  align-items:center;
  gap:8px;
  padding:7px 0;
  border-radius:10px;
  color:rgba(248,242,231,.84);
  text-decoration:none;
  position:relative;
  font-size:.78rem;
  font-weight:700;
}
.sb-subitem:hover,.sb-subitem.active{
  background:rgba(248,242,231,.08);
  color:var(--kibo-ivory);
}
.sb-subic{
  width:20px;
  height:20px;
  border-radius:7px;
  display:grid;
  place-items:center;
  background:rgba(248,242,231,.08);
  border:1px solid rgba(248,242,231,.1);
  flex:0 0 20px;
  font-size:.6rem;
}
.sb-sublbl{
  white-space:normal;
  line-height:1.28;
  flex:1 1 auto;
}
.sb-badge{
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  background:var(--kibo-coral);
  color:var(--kibo-white);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:.64rem;
  font-weight:900;
  line-height:1;
  box-shadow:0 8px 18px rgba(227,126,101,.22);
}
.sb-subtip{
  position:absolute;
  left:calc(100% + 10px);
  top:50%;
  transform:translateY(-50%);
  background:#241116;
  color:var(--kibo-white);
  border-radius:8px;
  padding:6px 10px;
  font-size:.78rem;
  font-weight:700;
  white-space:nowrap;
  box-shadow:0 10px 22px rgba(45,45,45,.22);
  border:1px solid rgba(248,242,231,.12);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
body.sidebar-collapsed .sb-sublist{
  max-height:0!important;
  opacity:0!important;
  padding-top:0;
  padding-bottom:0;
  overflow:hidden;
}
body.sidebar-collapsed .sb-group-head{
  justify-content:center;
  padding:8px 6px;
}
body.sidebar-collapsed .sb-subitem:hover .sb-subtip{
  opacity:1;
  visibility:visible;
}
.sb-footer{
  flex:0 0 auto;
  padding:10px 8px 12px;
  border-top:1px solid rgba(248,242,231,.10);
  background:linear-gradient(180deg, rgba(82,6,29,.24), rgba(79,6,29,.9));
}
.sb-profile,
.sb-logout{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  text-decoration:none;
  color:rgba(248,242,231,.94);
  border-radius:12px;
  position:relative;
}
.sb-profile{
  padding:8px 9px;
  margin-bottom:8px;
  background:rgba(248,242,231,.06);
  border:1px solid rgba(248,242,231,.08);
}
.sb-profile:hover,
.sb-logout:hover{
  background:rgba(248,242,231,.10);
  color:var(--kibo-ivory);
}
.sb-profile-avatar,
.sb-logout-ic{
  width:30px;
  height:30px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:rgba(248,242,231,.12);
  border:1px solid rgba(248,242,231,.12);
  flex:0 0 30px;
  overflow:hidden;
  font-size:.8rem;
  font-weight:800;
}
.sb-profile-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.sb-profile-meta{
  min-width:0;
  display:flex;
  flex-direction:column;
}
.sb-profile-name,
.sb-logout-lbl{
  font-size:.79rem;
  font-weight:800;
  line-height:1.2;
}
.sb-profile-role{
  margin-top:2px;
  font-size:.67rem;
  color:rgba(248,242,231,.62);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.sb-profile-tip,
.sb-logout-tip{
  position:absolute;
  left:calc(100% + 10px);
  top:50%;
  transform:translateY(-50%);
  background:#241116;
  color:var(--kibo-white);
  border-radius:8px;
  padding:6px 10px;
  font-size:.78rem;
  font-weight:700;
  white-space:nowrap;
  box-shadow:0 10px 22px rgba(45,45,45,.22);
  border:1px solid rgba(248,242,231,.12);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
.sb-logout{
  padding:8px 9px;
}
body.sidebar-collapsed .sb-profile-meta,
body.sidebar-collapsed .sb-logout-lbl{
  display:none;
}
body.sidebar-collapsed .sb-profile,
body.sidebar-collapsed .sb-logout{
  justify-content:center;
}
body.sidebar-collapsed .sb-profile:hover .sb-profile-tip,
body.sidebar-collapsed .sb-logout:hover .sb-logout-tip{
  opacity:1;
  visibility:visible;
}

.admin-page{
  display:grid;
  gap:16px;
}
.hero-card,.panel-card,.stat-card,.table-card{
  border:1px solid var(--portal-line);
  border-radius:var(--portal-radius);
  background:rgba(255,255,255,.92);
  box-shadow:var(--portal-shadow);
}
.hero-card{
  padding:18px;
  background:
    radial-gradient(circle at 10% 12%, rgba(227,126,101,.12), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(109,9,40,.08), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.96));
}
.hero-kicker{
  font-size:.73rem;
  font-weight:800;
  color:rgba(109,9,40,.72);
  letter-spacing:.16em;
  text-transform:uppercase;
}
.hero-title{
  margin:6px 0 0;
  font-size:2rem;
  line-height:1;
  font-weight:900;
  color:var(--kibo-maroon);
}
.hero-subtitle{
  margin-top:10px;
  max-width:880px;
  color:rgba(45,45,45,.72);
  font-size:.92rem;
}
.hero-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}
.btn-admin,
.btn-admin-outline{
  height:42px;
  padding:0 16px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-decoration:none;
  font-size:.82rem;
  font-weight:800;
  border:1px solid transparent;
  cursor:pointer;
}
.btn-admin{
  background:linear-gradient(135deg, var(--kibo-maroon) 0%, #8a183d 100%);
  color:var(--kibo-ivory);
  box-shadow:0 14px 28px rgba(109,9,40,.14);
}
.btn-admin-outline{
  background:var(--kibo-white);
  color:var(--kibo-maroon);
  border-color:rgba(109,9,40,.18);
}
.btn-admin:disabled{opacity:.6;cursor:not-allowed}

.menu-launcher-page{
  gap:18px;
}
.launcher-hero-card{
  border:1px solid var(--portal-line);
  border-radius:var(--portal-radius);
  background:
    radial-gradient(circle at 12% 14%, rgba(227,126,101,.18), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(109,9,40,.12), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,250,245,.96));
  box-shadow:var(--portal-shadow);
  padding:16px;
}
.launcher-headline{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}
.launcher-mini-stats{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.launcher-mini-stat{
  min-width:110px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(109,9,40,.10);
  background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,242,231,.84));
  display:flex;
  flex-direction:column;
  gap:3px;
  box-shadow:0 10px 22px rgba(45,45,45,.05);
}
.launcher-mini-stat .value{
  font-size:1.4rem;
  line-height:1;
  font-weight:900;
  color:var(--kibo-maroon);
}
.launcher-mini-stat .label{
  font-size:.72rem;
  font-weight:800;
  color:rgba(45,45,45,.64);
  letter-spacing:.12em;
  text-transform:uppercase;
}
.launcher-toolbar{
  display:grid;
  grid-template-columns:minmax(180px, .24fr) minmax(0, 1fr);
  gap:12px;
  margin-top:14px;
}
.launcher-visible-pill{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:54px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(109,9,40,.10);
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,242,231,.86));
  box-shadow:0 10px 22px rgba(45,45,45,.05);
}
.launcher-visible-pill strong{
  display:block;
  font-size:1rem;
  line-height:1;
  color:var(--kibo-maroon);
}
.launcher-visible-pill small{
  display:block;
  margin-top:3px;
  color:rgba(45,45,45,.62);
  font-size:.75rem;
}
.launcher-visible-icon{
  width:36px;
  height:36px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:rgba(109,9,40,.08);
  color:var(--kibo-maroon);
  border:1px solid rgba(109,9,40,.12);
}
.launcher-tools-row{
  display:grid;
  grid-template-columns:minmax(170px, 210px) minmax(0, 1fr);
  gap:10px;
}
.launcher-filter{
  min-height:46px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 12px;
  border-radius:12px;
  border:1px solid rgba(109,9,40,.10);
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,244,237,.9));
  box-shadow:0 8px 18px rgba(45,45,45,.045);
}
.launcher-filter-icon{
  width:26px;
  height:26px;
  flex:0 0 26px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:linear-gradient(135deg, rgba(227,126,101,.18), rgba(109,9,40,.08));
  color:var(--kibo-maroon);
  border:1px solid rgba(109,9,40,.10);
  font-size:.72rem;
}
.launcher-filter select{
  flex:1;
  min-width:0;
  border:0;
  background:transparent;
  outline:none;
  color:var(--kibo-graphite);
  font-size:.78rem;
  font-weight:700;
}
.launcher-search{
  min-height:46px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 14px;
  border-radius:12px;
  border:1px solid rgba(109,9,40,.10);
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,244,237,.9));
  box-shadow:0 8px 18px rgba(45,45,45,.045);
}
.launcher-search i{
  color:var(--kibo-maroon);
  font-size:.78rem;
}
.launcher-search input{
  flex:1;
  min-width:0;
  border:0;
  background:transparent;
  outline:none;
  color:var(--kibo-graphite);
  font-size:.78rem;
}
.launcher-search-kbd{
  height:22px;
  padding:0 9px;
  border-radius:8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(109,9,40,.06);
  border:1px solid rgba(109,9,40,.08);
  color:rgba(45,45,45,.6);
  font-size:.67rem;
  font-weight:800;
  white-space:nowrap;
}
.launcher-pill-row{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:12px;
}
.launcher-pill{
  height:32px;
  padding:0 12px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  text-decoration:none;
  color:var(--kibo-maroon);
  background:rgba(255,255,255,.84);
  border:1px solid rgba(109,9,40,.12);
  font-size:.74rem;
  font-weight:800;
}
.launcher-section{
  border:1px solid var(--portal-line);
  border-radius:var(--portal-radius);
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,251,247,.92));
  box-shadow:var(--portal-shadow);
  padding:12px;
}
.launcher-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:10px;
}
.launcher-group-title{
  display:flex;
  align-items:center;
  gap:12px;
}
.launcher-group-icon{
  width:42px;
  height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:rgba(109,9,40,.08);
  color:var(--kibo-maroon);
  border:1px solid rgba(109,9,40,.12);
}
.launcher-grid{
  display:grid;
  gap:9px;
  grid-template-columns:repeat(auto-fill, minmax(184px, 1fr));
}
.launcher-grid.featured{
  grid-template-columns:repeat(auto-fit, minmax(190px, 220px));
  justify-content:flex-start;
}
.launcher-card{
  position:relative;
  overflow:hidden;
  min-height:148px;
  padding:18px;
  border-radius:18px;
  border:1px solid rgba(109,9,40,.10);
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,242,231,.88));
  box-shadow:0 14px 30px rgba(45,45,45,.06);
  display:flex;
  align-items:flex-start;
  gap:14px;
  text-decoration:none;
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.launcher-card.compact{
  min-height:74px;
  padding:9px 9px 9px 11px;
  border-radius:15px;
}
.launcher-card:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 36px rgba(45,45,45,.1);
  border-color:rgba(109,9,40,.18);
}
.launcher-card.featured{
  min-height:74px;
}
.launcher-card-accent{
  position:absolute;
  inset:9px auto 9px 9px;
  width:4px;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(227,126,101,.9), rgba(109,9,40,.65));
  box-shadow:0 0 18px rgba(227,126,101,.22);
}
.launcher-card-icon{
  width:34px;
  height:34px;
  flex:0 0 34px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:rgba(109,9,40,.08);
  color:var(--kibo-maroon);
  border:1px solid rgba(109,9,40,.12);
  font-size:.76rem;
  margin-left:5px;
  box-shadow:0 8px 18px rgba(45,45,45,.06);
}
.launcher-card-body{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
  flex:1;
  justify-content:center;
}
.launcher-card-title{
  font-size:.82rem;
  line-height:1.16;
  font-weight:900;
  color:var(--kibo-maroon);
}
.launcher-card-group{
  font-size:.54rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:800;
  color:rgba(45,45,45,.58);
}
.launcher-card-desc{
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  color:rgba(45,45,45,.72);
  font-size:.86rem;
  line-height:1.45;
}
.launcher-card-arrow{
  width:28px;
  height:28px;
  flex:0 0 28px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.56);
  color:var(--kibo-maroon);
  border:1px solid rgba(109,9,40,.10);
  backdrop-filter:blur(8px);
}
.launcher-card-arrow i{
  font-size:.7rem;
}
.launcher-section.tone-seller .launcher-group-icon,
.launcher-card.tone-seller .launcher-card-icon{
  background:linear-gradient(135deg, rgba(227,126,101,.18), rgba(109,9,40,.08));
  color:#8b0f35;
  border-color:rgba(227,126,101,.26);
}
.launcher-section.tone-content .launcher-group-icon,
.launcher-card.tone-content .launcher-card-icon{
  background:linear-gradient(135deg, rgba(232,195,118,.26), rgba(109,9,40,.07));
  color:#915611;
  border-color:rgba(232,195,118,.34);
}
.launcher-section.tone-member .launcher-group-icon,
.launcher-card.tone-member .launcher-card-icon{
  background:linear-gradient(135deg, rgba(212,165,116,.24), rgba(109,9,40,.08));
  color:#7b4e17;
  border-color:rgba(212,165,116,.36);
}
.launcher-section.tone-system .launcher-group-icon,
.launcher-card.tone-system .launcher-card-icon{
  background:linear-gradient(135deg, rgba(166,177,198,.28), rgba(109,9,40,.08));
  color:#5a6278;
  border-color:rgba(166,177,198,.34);
}
.launcher-card.tone-seller.variant-a{
  background:radial-gradient(circle at 82% 18%, rgba(227,126,101,.22), transparent 36%), linear-gradient(145deg, #fff8f2 0%, #fff0e6 100%);
}
.launcher-card.tone-seller.variant-b{
  background:radial-gradient(circle at 18% 82%, rgba(109,9,40,.12), transparent 38%), linear-gradient(145deg, #fffaf4 0%, #fff1e7 100%);
}
.launcher-card.tone-seller.variant-c{
  background:radial-gradient(circle at 86% 20%, rgba(255,210,168,.34), transparent 34%), linear-gradient(145deg, #fff8f0 0%, #fff1e5 100%);
}
.launcher-card.tone-seller.variant-d{
  background:radial-gradient(circle at 12% 16%, rgba(227,126,101,.18), transparent 32%), linear-gradient(145deg, #fff9f3 0%, #fff2e8 100%);
}
.launcher-card.tone-content.variant-a{
  background:radial-gradient(circle at 82% 18%, rgba(232,195,118,.28), transparent 35%), linear-gradient(145deg, #fffdf7 0%, #fff8e7 100%);
}
.launcher-card.tone-content.variant-b{
  background:radial-gradient(circle at 16% 84%, rgba(212,165,116,.24), transparent 36%), linear-gradient(145deg, #fffdf7 0%, #fff8ea 100%);
}
.launcher-card.tone-content.variant-c{
  background:radial-gradient(circle at 86% 18%, rgba(255,230,178,.36), transparent 34%), linear-gradient(145deg, #fffef8 0%, #fff7e5 100%);
}
.launcher-card.tone-content.variant-d{
  background:radial-gradient(circle at 12% 16%, rgba(232,195,118,.2), transparent 30%), linear-gradient(145deg, #fffdf8 0%, #fff8e9 100%);
}
.launcher-card.tone-member.variant-a{
  background:radial-gradient(circle at 82% 18%, rgba(212,165,116,.24), transparent 36%), linear-gradient(145deg, #fffaf4 0%, #fdefdf 100%);
}
.launcher-card.tone-member.variant-b{
  background:radial-gradient(circle at 16% 84%, rgba(189,127,76,.2), transparent 36%), linear-gradient(145deg, #fff8f0 0%, #fbecdc 100%);
}
.launcher-card.tone-member.variant-c{
  background:radial-gradient(circle at 86% 16%, rgba(245,214,170,.32), transparent 32%), linear-gradient(145deg, #fffaf3 0%, #fceede 100%);
}
.launcher-card.tone-member.variant-d{
  background:radial-gradient(circle at 12% 16%, rgba(212,165,116,.2), transparent 32%), linear-gradient(145deg, #fff9f1 0%, #fcecdc 100%);
}
.launcher-card.tone-system.variant-a{
  background:radial-gradient(circle at 82% 18%, rgba(166,177,198,.24), transparent 35%), linear-gradient(145deg, #fbfbfd 0%, #f0f3f8 100%);
}
.launcher-card.tone-system.variant-b{
  background:radial-gradient(circle at 18% 82%, rgba(109,9,40,.08), transparent 36%), linear-gradient(145deg, #fbfbfd 0%, #f2f2f7 100%);
}
.launcher-card.tone-system.variant-c{
  background:radial-gradient(circle at 86% 18%, rgba(208,214,226,.32), transparent 34%), linear-gradient(145deg, #fcfcfe 0%, #eff2f8 100%);
}
.launcher-card.tone-system.variant-d{
  background:radial-gradient(circle at 12% 16%, rgba(166,177,198,.2), transparent 32%), linear-gradient(145deg, #fafbfd 0%, #eff2f8 100%);
}
.launcher-card.tone-content .launcher-card-accent{
  background:linear-gradient(180deg, #f1c15c, #c7881f);
}
.launcher-card.tone-member .launcher-card-accent{
  background:linear-gradient(180deg, #d9a15f, #8a4f20);
}
.launcher-card.tone-system .launcher-card-accent{
  background:linear-gradient(180deg, #9aa6bc, #596377);
}
.launcher-empty-state{
  padding:42px 18px;
  border-radius:var(--portal-radius);
  border:1px dashed rgba(109,9,40,.18);
  background:rgba(255,255,255,.82);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  color:rgba(45,45,45,.7);
  text-align:center;
}
.launcher-empty-state i{
  font-size:1.8rem;
  color:var(--kibo-maroon);
}
.launcher-insight-grid{
  display:grid;
  gap:16px;
  grid-template-columns:repeat(1, minmax(0, 1fr));
}
@media(min-width:1200px){.launcher-insight-grid{grid-template-columns:1fr 1fr}}
.launcher-inline-item{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:12px 0;
  border-top:1px solid rgba(45,45,45,.06);
}
.launcher-inline-item:first-of-type{
  border-top:0;
  padding-top:0;
}
.launcher-inline-item.product{
  align-items:center;
  justify-content:flex-start;
}

.stats-grid{
  display:grid;
  gap:14px;
  grid-template-columns:repeat(1,minmax(0,1fr));
}
@media(min-width:768px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1200px){.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.stat-card{
  padding:16px;
  position:relative;
  overflow:hidden;
}
.stat-card::after{
  content:"";
  position:absolute;
  inset:auto -24px -36px auto;
  width:120px;
  height:120px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(109,9,40,.12), transparent 68%);
}
.stat-top{
  position:relative;
  display:flex;
  justify-content:space-between;
  gap:12px;
}
.stat-icon{
  width:48px;
  height:48px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, rgba(109,9,40,.95), rgba(139,35,65,.88));
  color:var(--kibo-ivory);
  box-shadow:0 16px 30px rgba(109,9,40,.16);
}
.stat-label{
  font-size:.78rem;
  color:rgba(45,45,45,.62);
  text-transform:uppercase;
  letter-spacing:.14em;
  font-weight:800;
}
.stat-value{
  margin-top:6px;
  font-size:1.72rem;
  font-weight:900;
  color:var(--kibo-maroon);
}
.stat-sub{
  margin-top:8px;
  font-size:.82rem;
  color:rgba(45,45,45,.68);
}

.grid-2{
  display:grid;
  gap:16px;
  grid-template-columns:repeat(1,minmax(0,1fr));
}
@media(min-width:1200px){.grid-2{grid-template-columns:1.2fr .8fr}}
.grid-3{
  display:grid;
  gap:16px;
  grid-template-columns:repeat(1,minmax(0,1fr));
}
@media(min-width:992px){.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}}

.panel-card{padding:16px}
.panel-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
.panel-title{
  margin:0;
  color:var(--kibo-maroon);
  font-size:1.2rem;
  font-weight:900;
}
.panel-sub{
  margin-top:4px;
  color:rgba(45,45,45,.64);
  font-size:.84rem;
}
.panel-link{
  color:var(--kibo-maroon);
  text-decoration:none;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.table-card{padding:16px}
.toolbar{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:16px;
}
.toolbar-form{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.field,
.field select,
.field input,
.field textarea{
  width:100%;
}
.control,
.control-select,
.control-textarea{
  width:100%;
  padding:11px 13px;
  border-radius:12px;
  border:1px solid var(--portal-line-strong);
  background:var(--kibo-ivory);
  color:var(--kibo-graphite);
  font-size:.9rem;
}
.control:focus,.control-select:focus,.control-textarea:focus{
  outline:none;
  border-color:rgba(109,9,40,.42);
  box-shadow:0 0 0 3px rgba(109,9,40,.08);
}
.control-textarea{min-height:110px;resize:vertical}
.table-wrap{overflow:auto}
.table-modern{width:100%;min-width:820px;border-collapse:collapse}
.table-modern thead th{
  padding:12px 14px;
  background:rgba(109,9,40,.05);
  border-bottom:1px solid var(--portal-line);
  color:var(--kibo-maroon);
  font-size:.74rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.12em;
  white-space:nowrap;
}
.table-modern tbody td{
  padding:14px;
  border-top:1px solid rgba(45,45,45,.06);
  vertical-align:top;
  font-size:.88rem;
}
.table-modern tbody tr:hover{background:rgba(248,242,231,.72)}
.table-thumb{
  width:54px;
  height:54px;
  border-radius:14px;
  overflow:hidden;
  background:rgba(109,9,40,.08);
  display:grid;
  place-items:center;
}
.table-thumb img{width:100%;height:100%;object-fit:cover}
.actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.action-btn{
  width:38px;
  height:38px;
  border-radius:12px;
  border:1px solid var(--portal-line);
  background:var(--kibo-white);
  color:var(--kibo-maroon);
  display:grid;
  place-items:center;
  text-decoration:none;
  cursor:pointer;
}
.action-btn:hover{background:var(--kibo-ivory)}

.pagination-wrap{
  margin-top:16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.pagination{
  display:flex;
  gap:8px;
  margin:0;
  padding:0;
  list-style:none;
}
.pagination a,.pagination span{
  min-width:38px;
  height:38px;
  padding:0 12px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border:1px solid var(--portal-line);
  background:var(--kibo-white);
  color:var(--kibo-maroon);
  font-size:.82rem;
  font-weight:800;
}
.pagination .active span{
  background:var(--kibo-maroon);
  color:var(--kibo-ivory);
  border-color:var(--kibo-maroon);
}

.form-grid{
  display:grid;
  gap:16px;
  grid-template-columns:repeat(1,minmax(0,1fr));
}
@media(min-width:992px){.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.form-grid .full{grid-column:1 / -1}
.field-label{
  display:block;
  margin-bottom:8px;
  color:var(--kibo-maroon);
  font-size:.74rem;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.file-note{
  margin-top:8px;
  color:rgba(45,45,45,.58);
  font-size:.8rem;
}
.image-preview,
.avatar-preview{
  overflow:hidden;
  background:rgba(109,9,40,.06);
  border:1px solid var(--portal-line);
  box-shadow:var(--portal-shadow);
}
.image-preview{
  width:100%;
  max-width:240px;
  aspect-ratio:4/3;
  border-radius:16px;
}
.avatar-preview{
  width:120px;
  height:120px;
  border-radius:28px;
  display:grid;
  place-items:center;
  font-size:2.4rem;
  font-weight:900;
  color:var(--kibo-maroon);
}
.image-preview img,.avatar-preview img{width:100%;height:100%;object-fit:cover}
.gallery-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
}
.gallery-list .image-preview{
  max-width:118px;
  border-radius:14px;
}

.crud-page{
  gap:14px;
}
.crud-head,
.crud-card{
  border:1px solid rgba(109,9,40,.10);
  border-radius:18px;
  background:
    radial-gradient(circle at 12% 14%, rgba(227,126,101,.08), transparent 32%),
    radial-gradient(circle at 86% 18%, rgba(109,9,40,.06), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,250,246,.94));
  box-shadow:0 18px 44px rgba(45,45,45,.07);
}
.crud-head{
  padding:14px 16px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.crud-head-main{
  display:flex;
  align-items:flex-start;
  gap:12px;
  min-width:280px;
}
.crud-head-icon{
  width:40px;
  height:40px;
  border-radius:13px;
  display:grid;
  place-items:center;
  color:var(--kibo-ivory);
  background:linear-gradient(135deg, var(--kibo-maroon) 0%, #a53758 100%);
  box-shadow:0 14px 28px rgba(109,9,40,.16);
  flex:0 0 40px;
  font-size:.9rem;
}
.crud-head-copy h1{
  margin:4px 0 0;
  font-size:1.4rem;
  line-height:1.04;
  font-weight:900;
  color:var(--kibo-maroon);
}
.crud-head-copy p{
  margin:9px 0 0;
  max-width:780px;
  color:rgba(45,45,45,.68);
  font-size:.83rem;
  line-height:1.55;
}
.crud-badge{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid rgba(109,9,40,.10);
  background:rgba(109,9,40,.06);
  color:rgba(109,9,40,.8);
  font-size:.66rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.16em;
}
.crud-head-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:8px;
}
.crud-btn{
  height:36px;
  padding:0 12px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  text-decoration:none;
  border:1px solid rgba(109,9,40,.12);
  background:rgba(255,255,255,.86);
  color:var(--kibo-maroon);
  font-size:.76rem;
  font-weight:800;
  cursor:pointer;
  transition:transform .16s ease, background .16s ease, border-color .16s ease;
}
.crud-btn:hover{
  transform:translateY(-1px);
  color:var(--kibo-maroon);
}
.crud-btn.primary{
  background:linear-gradient(135deg, var(--kibo-maroon) 0%, #952247 100%);
  color:var(--kibo-ivory);
  border-color:rgba(109,9,40,.24);
}
.crud-btn.primary:hover{
  color:var(--kibo-ivory);
}
.crud-btn.ghost{
  background:linear-gradient(180deg, rgba(109,9,40,.08), rgba(109,9,40,.03));
}
.crud-btn.subtle{
  background:rgba(248,242,231,.86);
}
.crud-strip{
  display:grid;
  gap:10px;
  grid-template-columns:repeat(1, minmax(0, 1fr));
}
@media(min-width:768px){
  .crud-strip{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}
@media(min-width:1200px){
  .crud-strip{
    grid-template-columns:repeat(4, minmax(0, 1fr));
  }
}
.crud-metric{
  min-height:102px;
  padding:14px 15px;
  border-radius:16px;
  border:1px solid rgba(109,9,40,.10);
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(249,244,236,.9));
  box-shadow:0 12px 28px rgba(45,45,45,.05);
  display:flex;
  flex-direction:column;
  gap:4px;
}
.crud-metric .label{
  color:rgba(45,45,45,.58);
  font-size:.68rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.14em;
}
.crud-metric strong{
  color:var(--kibo-maroon);
  font-size:1.32rem;
  line-height:1;
  font-weight:900;
}
.crud-metric small{
  color:rgba(45,45,45,.62);
  font-size:.74rem;
  line-height:1.45;
}
.crud-card{
  overflow:hidden;
}
.crud-card-head{
  padding:14px 16px;
  border-bottom:1px solid rgba(109,9,40,.08);
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.crud-card-kicker{
  color:rgba(109,9,40,.74);
  font-size:.67rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.16em;
}
.crud-card-head h2,
.crud-section-head h3{
  margin:4px 0 0;
  color:var(--kibo-maroon);
  font-size:1.14rem;
  font-weight:900;
}
.crud-small-pill{
  min-height:30px;
  padding:0 10px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(109,9,40,.06);
  border:1px solid rgba(109,9,40,.10);
  color:var(--kibo-maroon);
  font-size:.72rem;
  font-weight:800;
}
.crud-toolbar{
  padding:14px 16px;
  display:grid;
  grid-template-columns:repeat(1, minmax(0, 1fr));
  gap:10px;
  border-bottom:1px solid rgba(109,9,40,.08);
}
@media(min-width:992px){
  .crud-toolbar{
    grid-template-columns:minmax(170px, 200px) minmax(0, 1fr) minmax(82px, 100px) auto;
  }
  .crud-toolbar.users-toolbar{
    grid-template-columns:minmax(160px, 190px) minmax(160px, 190px) minmax(0, 1fr) minmax(82px, 100px) auto;
  }
}
.crud-filter-chip,
.crud-select-chip,
.crud-search{
  min-height:40px;
  border-radius:12px;
  border:1px solid rgba(109,9,40,.10);
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(249,244,236,.9));
  box-shadow:0 8px 18px rgba(45,45,45,.04);
}
.crud-filter-chip,
.crud-select-chip{
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 12px;
}
.crud-filter-chip span,
.crud-select-chip span{
  color:var(--kibo-maroon);
  font-size:.74rem;
}
.crud-filter-chip select,
.crud-select-chip select,
.crud-search input{
  width:100%;
  border:0;
  background:transparent;
  outline:none;
  color:var(--kibo-graphite);
  font-size:.76rem;
  font-weight:700;
}
.crud-search{
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 12px;
}
.crud-search i{
  color:var(--kibo-maroon);
  font-size:.76rem;
}
.crud-table-wrap{
  overflow:auto;
}
.crud-table{
  width:100%;
  min-width:920px;
  border-collapse:collapse;
}
.crud-table thead th{
  padding:11px 14px;
  background:rgba(109,9,40,.04);
  border-bottom:1px solid rgba(109,9,40,.10);
  color:var(--kibo-maroon);
  font-size:.68rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.14em;
  white-space:nowrap;
}
.crud-table tbody td{
  padding:14px;
  border-top:1px solid rgba(45,45,45,.06);
  vertical-align:top;
  font-size:.78rem;
}
.crud-table tbody tr:hover{
  background:rgba(248,242,231,.62);
}
.crud-row-main{
  display:flex;
  align-items:flex-start;
  gap:12px;
  min-width:0;
}
.crud-row-visual,
.crud-inline-thumb{
  width:52px;
  height:52px;
  flex:0 0 52px;
  border-radius:14px;
  overflow:hidden;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, rgba(109,9,40,.10), rgba(227,126,101,.10));
  color:var(--kibo-maroon);
  font-weight:900;
  border:1px solid rgba(109,9,40,.10);
}
.crud-row-visual.avatar{
  border-radius:16px;
}
.crud-row-visual img,
.crud-inline-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.crud-row-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.crud-row-copy strong{
  color:var(--kibo-maroon);
  font-size:.86rem;
  line-height:1.34;
  font-weight:900;
}
.crud-row-copy small,
.crud-cell-text{
  color:rgba(45,45,45,.68);
  font-size:.76rem;
  line-height:1.48;
}
.crud-row-meta{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin-top:2px;
}
.crud-code{
  min-height:24px;
  padding:0 8px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(109,9,40,.06);
  border:1px solid rgba(109,9,40,.10);
  color:var(--kibo-maroon);
  font-size:.69rem;
  font-weight:800;
}
.crud-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.action-btn.danger{
  color:#a23c49;
}
.crud-empty{
  min-height:180px;
  padding:24px 18px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-align:center;
  color:rgba(45,45,45,.68);
}
.crud-empty i{
  font-size:1.6rem;
  color:var(--kibo-maroon);
}
.crud-empty strong{
  color:var(--kibo-maroon);
  font-size:.92rem;
}
.crud-empty span{
  font-size:.78rem;
}
.crud-pagination{
  padding:14px 16px 16px;
  border-top:1px solid rgba(109,9,40,.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.crud-pagination-note{
  color:rgba(45,45,45,.62);
  font-size:.75rem;
  font-weight:700;
}
.crud-form-shell{
  padding:14px 16px 0;
}
.crud-tabs{
  gap:8px;
}
.crud-tabs .nav-link{
  min-height:36px;
  padding:0 12px;
  border-radius:12px;
  border:1px solid rgba(109,9,40,.10);
  background:rgba(255,255,255,.86);
  color:rgba(45,45,45,.72);
  font-size:.76rem;
  font-weight:800;
}
.crud-tabs .nav-link.active{
  background:linear-gradient(135deg, rgba(109,9,40,.96), rgba(149,34,71,.94));
  border-color:rgba(109,9,40,.20);
  color:var(--kibo-ivory);
}
.crud-tab-content{
  padding:14px 0 0;
}
.crud-section{
  padding:0 0 16px;
}
.crud-section-head{
  margin-bottom:14px;
}
.crud-media-stack{
  display:grid;
  gap:10px;
}
.crud-media-preview,
.crud-hero-preview{
  overflow:hidden;
  border-radius:16px;
  border:1px solid rgba(109,9,40,.10);
  background:rgba(109,9,40,.04);
  box-shadow:0 12px 24px rgba(45,45,45,.05);
}
.crud-media-preview{
  width:100%;
  max-width:136px;
  aspect-ratio:4/3;
}
.crud-media-preview.large,
.crud-hero-preview{
  max-width:280px;
  aspect-ratio:4/3;
}
.crud-media-preview img,
.crud-hero-preview img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.crud-gallery{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.crud-form-footer{
  padding:16px;
  border-top:1px solid rgba(109,9,40,.08);
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}
.crud-detail-grid{
  display:grid;
  gap:14px;
  grid-template-columns:repeat(1, minmax(0, 1fr));
}
@media(min-width:1100px){
  .crud-detail-grid{
    grid-template-columns:minmax(0, .86fr) minmax(0, 1.14fr);
  }
}
.crud-detail-profile,
.crud-user-profile{
  padding:16px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  align-items:flex-start;
}
.crud-summary-stack{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:0;
}
.crud-summary-stack strong{
  color:var(--kibo-maroon);
  font-size:1rem;
  font-weight:900;
  line-height:1.3;
}
.crud-summary-stack small{
  color:rgba(45,45,45,.64);
  font-size:.77rem;
  line-height:1.5;
}
.crud-info-list{
  padding:10px 16px 16px;
  display:grid;
  gap:10px;
}
.crud-info-item{
  padding:11px 12px;
  border-radius:14px;
  border:1px solid rgba(109,9,40,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(249,244,236,.84));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.crud-info-item span{
  color:rgba(45,45,45,.62);
  font-size:.72rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.12em;
}
.crud-info-item strong{
  color:var(--kibo-maroon);
  font-size:.8rem;
  font-weight:800;
  text-align:right;
}
.crud-text-grid{
  padding:16px;
  display:grid;
  gap:12px;
  grid-template-columns:repeat(1, minmax(0, 1fr));
}
@media(min-width:992px){
  .crud-text-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}
.crud-text-card{
  padding:14px;
  border-radius:16px;
  border:1px solid rgba(109,9,40,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(249,244,236,.84));
}
.crud-text-card span{
  display:block;
  color:rgba(109,9,40,.74);
  font-size:.68rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.14em;
}
.crud-text-card p{
  margin:10px 0 0;
  color:rgba(45,45,45,.72);
  font-size:.8rem;
  line-height:1.64;
}
.crud-avatar-showcase{
  width:128px;
  height:128px;
  border-radius:26px;
  overflow:hidden;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, rgba(109,9,40,.12), rgba(227,126,101,.10));
  color:var(--kibo-maroon);
  font-size:2.3rem;
  font-weight:900;
  border:1px solid rgba(109,9,40,.10);
  box-shadow:0 16px 32px rgba(45,45,45,.07);
}
.crud-avatar-showcase.detail{
  width:140px;
  height:140px;
  border-radius:30px;
}
.crud-avatar-showcase img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.flash-stack{
  display:grid;
  gap:10px;
  margin-bottom:16px;
}
.flash{
  padding:14px 16px;
  border-radius:16px;
  border:1px solid var(--portal-line);
  box-shadow:var(--portal-shadow);
}
.flash-success{
  background:rgba(71,170,111,.12);
  color:#2b6e49;
  border-color:rgba(71,170,111,.18);
}
.flash-error{
  background:rgba(227,126,101,.14);
  color:#a34d37;
  border-color:rgba(227,126,101,.24);
}

.auth-page{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:36px 18px;
  position:relative;
  overflow:hidden;
  isolation:isolate;
  background:
    radial-gradient(circle at 12% 18%, rgba(227,126,101,.18), transparent 30%),
    radial-gradient(circle at 82% 10%, rgba(109,9,40,.18), transparent 28%),
    radial-gradient(circle at 84% 84%, rgba(201,186,170,.22), transparent 32%),
    linear-gradient(135deg, #fbf7f1 0%, #f6efe6 48%, #f8f2e8 100%);
}
.auth-ambient{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;
}
.auth-orb{
  position:absolute;
  border-radius:999px;
  opacity:.9;
}
.auth-orb.orb-a{
  width:420px;
  height:420px;
  left:-110px;
  top:-120px;
  background:radial-gradient(circle, rgba(109,9,40,.18) 0%, rgba(109,9,40,.04) 55%, transparent 72%);
}
.auth-orb.orb-b{
  width:360px;
  height:360px;
  right:-90px;
  top:78px;
  background:radial-gradient(circle, rgba(227,126,101,.22) 0%, rgba(227,126,101,.08) 48%, transparent 72%);
}
.auth-orb.orb-c{
  width:440px;
  height:440px;
  left:46%;
  bottom:-220px;
  background:radial-gradient(circle, rgba(201,186,170,.24) 0%, rgba(201,186,170,.08) 50%, transparent 74%);
}
.auth-gridline{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(109,9,40,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109,9,40,.03) 1px, transparent 1px);
  background-size:26px 26px;
  mask-image:linear-gradient(180deg, rgba(0,0,0,.22), transparent 78%);
}
.auth-card{
  position:relative;
  z-index:1;
  width:100%;
  max-width:1120px;
  border-radius:28px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.72);
  box-shadow:0 38px 96px rgba(45,45,45,.16);
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(24px) saturate(130%);
}
.auth-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  padding:1px;
  background:linear-gradient(145deg, rgba(255,255,255,.9), rgba(255,255,255,.18));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
          mask-composite:exclude;
  pointer-events:none;
}
.auth-grid{
  display:grid;
  grid-template-columns:1fr;
}
@media(min-width:960px){.auth-grid{grid-template-columns:1.06fr .94fr}}
.auth-side{
  position:relative;
  padding:36px 32px;
  color:var(--kibo-ivory);
  background:
    radial-gradient(circle at 16% 18%, rgba(248,242,231,.15), transparent 34%),
    radial-gradient(circle at 80% 14%, rgba(227,126,101,.24), transparent 34%),
    radial-gradient(circle at 82% 86%, rgba(248,242,231,.10), transparent 28%),
    linear-gradient(145deg, #4f061d 0%, #6d0928 46%, #8a1b3f 100%);
}
.auth-side::after{
  content:"";
  position:absolute;
  inset:22px 22px auto auto;
  width:132px;
  height:132px;
  border-radius:26px;
  background:linear-gradient(145deg, rgba(248,242,231,.12), rgba(248,242,231,.02));
  border:1px solid rgba(248,242,231,.12);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
}
.auth-side-kpis{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:22px 0 4px;
}
.auth-side-pill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(248,242,231,.16);
  background:rgba(248,242,231,.08);
  color:rgba(248,242,231,.96);
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.02em;
  box-shadow:0 12px 28px rgba(34,8,17,.16);
}
.auth-login-subtitle{
  margin-top:12px;
  max-width:540px;
  color:rgba(248,242,231,.78);
  font-size:.9rem;
  line-height:1.72;
}
.auth-side .mini{
  border:1px solid rgba(248,242,231,.12);
  border-radius:18px;
  padding:15px 16px;
  background:linear-gradient(180deg, rgba(248,242,231,.10), rgba(248,242,231,.04));
  margin-top:12px;
  box-shadow:0 14px 28px rgba(34,8,17,.14);
}
.auth-side .mini-title{
  font-weight:800;
  margin-top:10px;
}
.auth-side .mini-sub{
  margin-top:6px;
  color:rgba(248,242,231,.72);
  font-size:.86rem;
}
.auth-form{
  position:relative;
  padding:36px 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(109,9,40,.06), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.84), rgba(255,255,255,.72));
}
.auth-form .logo-line{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
}
.auth-form-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:34px;
  padding:0 12px;
  margin-bottom:14px;
  border-radius:999px;
  background:rgba(109,9,40,.06);
  color:var(--kibo-maroon);
  border:1px solid rgba(109,9,40,.10);
  font-size:.74rem;
  font-weight:800;
}
.auth-logo{
  width:50px;
  height:50px;
  border-radius:16px;
  overflow:hidden;
  display:grid;
  place-items:center;
  background:rgba(109,9,40,.10);
}
.auth-logo img{max-width:28px;max-height:28px}
.auth-form h1{
  margin:0;
  color:var(--kibo-maroon);
  font-size:2rem;
  font-weight:900;
}
.auth-form p{
  margin:8px 0 0;
  color:rgba(45,45,45,.66);
  line-height:1.66;
}
.auth-actions{margin-top:24px}
.section-divider{
  margin:18px 0;
  height:1px;
  background:linear-gradient(90deg, rgba(109,9,40,.16), rgba(109,9,40,.05), transparent);
}

@media(max-width:991.98px){
  .topbar-inner{
    padding-left:18px;
    flex-wrap:wrap;
  }
  .main-content{
    padding-left:18px;
  }
  .sidebar{
    width:210px;
    transform:translateX(-100%);
    transition:transform .22s ease;
  }
  body.sidebar-collapsed .sidebar{
    transform:translateX(0);
  }
  .sb-toggle{
    left:12px;
    top:76px;
  }
  body.sidebar-collapsed .sb-toggle{
    left:198px;
  }
  .page-chip{display:none}
  .launcher-toolbar{grid-template-columns:1fr}
  .launcher-tools-row{grid-template-columns:1fr}
  .launcher-grid{grid-template-columns:repeat(auto-fill, minmax(170px, 1fr))}
}

@media(max-width:767.98px){
  .auth-page{padding:20px 12px}
  .auth-card{border-radius:24px}
  .auth-side,
  .auth-form{padding:26px 20px}
  .auth-side::after{
    width:92px;
    height:92px;
    inset:18px 18px auto auto;
  }
  .topbar-inner{padding:10px 14px}
  .brand-title .t2{display:none}
  .profile-btn{min-width:42px;padding:0;width:42px}
  .profile-meta{display:none}
  .main-content{padding:14px}
  .launcher-search-kbd{display:none}
  .launcher-grid{grid-template-columns:1fr}
  .launcher-grid.featured{grid-template-columns:1fr}
  .hero-title{font-size:1.55rem}
  .crud-head-copy h1{font-size:1.2rem}
  .crud-card-head,
  .crud-toolbar,
  .crud-form-shell,
  .crud-form-footer,
  .crud-detail-profile,
  .crud-user-profile,
  .crud-info-list,
  .crud-text-grid{padding-left:14px;padding-right:14px}
}
