:root{--nav:#071d39;--nav2:#0d294b;--gold:#e6a900;--blue:#0968c9;--bg:#eef3f9;--card:#fff;--line:#d6e0eb;--text:#10213b;--muted:#64748b;--danger:#b42318}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--text);background:var(--bg)}button,input,select{font:inherit}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:244px;background:linear-gradient(180deg,var(--nav),#06172d);color:#dce8f6;z-index:100;display:flex;flex-direction:column;border-right:1px solid #173755}.sidebar-brand{height:78px;padding:15px 16px;display:flex;align-items:center;gap:11px;border-bottom:1px solid #25415f}.sidebar-brand>span{width:42px;height:42px;border-radius:12px;background:#fff;color:#8c6a00;display:grid;place-items:center;font-weight:900}.sidebar-brand strong{display:block;color:#fff;font-size:16px}.sidebar-brand small{display:block;color:#f5c428;font-size:9px;font-weight:800;letter-spacing:.08em;margin-top:3px}.sidebar nav{padding:12px 9px;overflow:auto;flex:1}.sidebar nav a{display:grid;grid-template-columns:24px 1fr 14px;align-items:center;gap:8px;color:#ccd9e8;text-decoration:none;padding:11px 10px;margin:3px 0;border-radius:10px;font-size:12px;font-weight:700}.sidebar nav a:hover,.sidebar nav a.active{background:#19395e;color:#fff}.sidebar nav a.active{box-shadow:inset 3px 0 var(--gold)}.sidebar nav i:first-child{color:#7dbbf2}.nav-arrow{font-size:9px;opacity:.5}.sidebar-user{padding:12px;display:grid;grid-template-columns:34px 1fr 28px;align-items:center;gap:8px;border-top:1px solid #25415f}.sidebar-user .avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--gold);color:#09203e;font-weight:900}.sidebar-user strong,.sidebar-user small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-user strong{font-size:11px;color:#fff}.sidebar-user small{font-size:9px;color:#9fb1c6}.sidebar-user a{color:#dce8f6}.main{margin-left:244px;min-height:100vh}.topbar{height:72px;padding:0 24px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:13px;position:sticky;top:0;z-index:50}.topbar strong,.topbar small{display:block}.topbar strong{font-size:16px}.topbar small{font-size:11px;color:var(--muted);margin-top:3px}.topbar .master-badge{margin-left:auto;background:#fff8db;color:#7a5a00;border:1px solid #f1d36b;border-radius:999px;padding:7px 10px;font-size:10px;font-weight:900}.icon-btn{width:38px;height:38px;border:1px solid var(--line);background:#fff;border-radius:10px;display:grid;place-items:center;cursor:pointer}.icon-btn:hover{background:#f5f8fb}.icon-btn.danger{color:var(--danger)}#menuBtn{display:none}.content{padding:26px;max-width:1600px;margin:auto}.content.loading{opacity:.55}.content-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:24px}.eyebrow{font-size:10px;letter-spacing:.12em;color:#a77800;font-weight:900}.content-head h1{font-size:30px;margin:5px 0 6px}.content-head p{margin:0;color:var(--muted)}.search{width:min(330px,100%);height:44px;background:#fff;border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;gap:9px;padding:0 13px}.search input{border:0;outline:0;width:100%;background:transparent}.module-section{margin:0 0 30px}.section-title{display:flex;align-items:center;gap:10px;margin:0 0 11px;color:#47617f}.section-title span{font-size:11px;font-weight:900;letter-spacing:.12em}.section-title small{font-size:10px;background:#e5edf5;border-radius:999px;padding:4px 7px}.module-grid{display:grid;grid-template-columns:repeat(4,minmax(220px,1fr));gap:14px}.module-card{min-height:128px;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:16px;text-align:left;display:grid;grid-template-columns:48px 1fr 18px;gap:12px;align-items:center;cursor:pointer;box-shadow:0 4px 16px rgba(15,35,60,.04);transition:.18s}.module-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(15,35,60,.10);border-color:#a9c7e5}.module-card[hidden]{display:none}.card-icon{width:48px;height:48px;border-radius:13px;background:#eaf4ff;color:#0865be;display:grid;place-items:center;font-size:19px}.card-body{min-width:0}.scope-badge{display:inline-block;font-size:9px;font-weight:900;letter-spacing:.07em;color:#496581;background:#edf2f7;border-radius:999px;padding:4px 7px;margin-bottom:6px}.scope-badge.web{color:#1663a8;background:#e8f3ff}.card-body strong,.card-body small{display:block}.card-body strong{font-size:15px;margin-bottom:5px}.card-body small{font-size:11px;line-height:1.35;color:var(--muted)}.card-arrow{color:#cf8c00}.empty,.alert{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px}.alert.error{background:#fff2f0;border-color:#f4c7c3;color:var(--danger)}.module-modal{position:fixed;inset:0;background:rgba(2,12,27,.72);z-index:1000;display:none;padding:16px}.module-modal.open{display:flex}.modal-window{width:100%;height:100%;background:#fff;border-radius:18px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 30px 80px #0008}.modal-head{height:62px;flex:0 0 62px;padding:0 14px 0 18px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.modal-head strong{display:block;font-size:16px}.modal-head .scope-badge{margin:0 0 3px}.modal-actions{display:flex;gap:7px}.module-modal iframe{width:100%;height:calc(100% - 62px);border:0;background:#eef3f8}.modal-open{overflow:hidden}.login-page{display:grid;place-items:center;min-height:100vh;background:radial-gradient(circle at top,#173b65,#07182d 60%)}.login-card{width:min(400px,calc(100% - 30px));background:#fff;padding:30px;border-radius:20px;box-shadow:0 25px 70px #0008}.brand-mark{width:55px;height:55px;border-radius:15px;background:var(--nav);color:#f0bd1b;display:grid;place-items:center;font-weight:900}.login-card h1{margin:18px 0 4px}.login-card p{margin:0 0 20px;color:var(--muted)}.login-card label{display:block;font-size:12px;font-weight:800;margin:13px 0}.login-card input,.form-control{display:block;width:100%;padding:11px 12px;border:1px solid #cbd7e3;border-radius:10px;margin-top:6px}.primary-btn,.btn{border:0;border-radius:10px;padding:11px 14px;background:var(--blue);color:#fff;font-weight:800;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;gap:7px}.primary-btn{width:100%;justify-content:center;margin-top:12px}.btn.secondary{background:#e9eff6;color:#19324f}.btn.danger{background:#fff0ee;color:var(--danger);border:1px solid #f3c2bd}.native-page{padding:22px;background:#eef3f8;min-height:100vh}.native-head{display:flex;justify-content:space-between;align-items:end;gap:14px;margin-bottom:18px}.native-head h1{margin:0 0 5px}.native-head p{margin:0;color:var(--muted)}.panel{background:#fff;border:1px solid var(--line);border-radius:15px;padding:17px;margin-bottom:15px}.panel h2{margin-top:0}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;min-width:850px}.data-table th,.data-table td{padding:10px;border-bottom:1px solid #e9eef4;text-align:left;font-size:12px;vertical-align:top}.data-table th{font-size:10px;letter-spacing:.06em;color:#60748b}.status{display:inline-block;border-radius:999px;padding:4px 7px;font-size:9px;font-weight:900}.status.on{background:#dcf7e8;color:#087a55}.status.off{background:#edf0f4;color:#667085}.inline-actions{display:flex;gap:6px;flex-wrap:wrap}.inline-actions form{display:inline}.btn.small{padding:7px 9px;font-size:10px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-grid .full{grid-column:1/-1}.notice{background:#fff8df;border:1px solid #f1d78c;border-radius:10px;padding:11px;color:#6e5200;font-size:12px}@media(max-width:1300px){.module-grid{grid-template-columns:repeat(3,minmax(220px,1fr))}}@media(max-width:980px){.sidebar{transform:translateX(-100%);transition:.2s}.sidebar-open .sidebar{transform:none}.main{margin-left:0}#menuBtn{display:grid}.module-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}.content{padding:18px}.content-head{align-items:stretch;flex-direction:column}.search{width:100%}}@media(max-width:620px){.module-grid{grid-template-columns:1fr}.topbar{padding:0 12px}.topbar small,.master-badge{display:none!important}.content{padding:14px}.content-head h1{font-size:24px}.module-modal{padding:0}.modal-window{border-radius:0}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}}
/* FP HOME ECOSYSTEM V2.1 START */
.search-count{
  min-width:27px;height:25px;padding:0 7px;border-radius:999px;
  display:grid;place-items:center;background:#e7eef6;color:#496581;
  font-size:10px;font-weight:900
}
.home-head{align-items:center}
.home-module-grid{
  grid-template-columns:repeat(auto-fill,minmax(185px,1fr));
  gap:10px
}
.home-ecosystem .module-section{margin-bottom:22px}
.home-ecosystem .section-title{
  margin-bottom:9px;padding-bottom:7px;border-bottom:1px solid #dce5ee
}
.home-ecosystem .section-title>i{
  width:24px;height:24px;border-radius:7px;background:#e8f3ff;color:#0968c9;
  display:grid;place-items:center;font-size:11px
}
.home-ecosystem .module-card-compact{
  min-height:91px;padding:11px;border-radius:13px;
  grid-template-columns:38px minmax(0,1fr) 13px;gap:9px
}
.home-ecosystem .module-card-compact .card-icon{
  width:38px;height:38px;border-radius:10px;font-size:15px
}
.home-ecosystem .module-card-compact .scope-badge{
  font-size:7px;padding:3px 5px;margin-bottom:4px
}
.home-ecosystem .module-card-compact .card-body strong{
  font-size:12px;line-height:1.2;margin-bottom:3px
}
.home-ecosystem .module-card-compact .card-body small{
  font-size:9px;line-height:1.25;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  overflow:hidden
}
.home-ecosystem .module-card-compact .card-arrow{font-size:11px}
.home-search-empty{margin:0 0 18px}
@media(max-width:620px){
  .home-module-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .home-ecosystem .module-card-compact{
    min-height:98px;grid-template-columns:34px minmax(0,1fr);padding:10px
  }
  .home-ecosystem .module-card-compact .card-icon{width:34px;height:34px}
  .home-ecosystem .module-card-compact .card-arrow{display:none}
}
@media(max-width:390px){
  .home-module-grid{grid-template-columns:1fr}
}
/* FP HOME ECOSYSTEM V2.1 END */

/* FP MODULE INLINE LOADER V2.3 START */
.module-frame-wrap{
  position:relative;
  min-height:560px;
  background:#f3f6fa;
}
.module-frame-wrap iframe{
  position:relative;
  z-index:1;
  width:100%;
  min-height:560px;
  border:0;
  background:#fff;
  transition:opacity .18s ease;
}
.module-inline-loader{
  position:absolute;
  inset:0;
  z-index:5;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    radial-gradient(circle at top right, rgba(29,116,204,.08), transparent 28%),
    linear-gradient(180deg, rgba(244,247,251,.98), rgba(235,240,247,.98));
}
.module-inline-loader[hidden]{display:none!important}
.module-inline-loader-card{
  width:min(560px, calc(100% - 34px));
  background:#fff;
  border:1px solid #d7e3ef;
  border-radius:20px;
  box-shadow:0 24px 60px rgba(15,39,73,.16);
  padding:22px 22px 18px;
}
.module-inline-loader-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:12px;
}
.module-inline-loader-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:#0e4a8d;
  text-transform:uppercase;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
}
.module-inline-loader-badge i{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:12px;
  color:#fff;
  background:linear-gradient(135deg,#0b5cab,#1f7fdb);
  box-shadow:0 12px 26px rgba(11,92,171,.25);
}
.module-inline-loader-pct{
  min-width:72px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#10253d;
  color:#fff;
  font-weight:900;
  font-size:15px;
}
.module-inline-loader-title{
  margin:0 0 5px;
  font-size:22px;
  line-height:1.12;
  color:#13253b;
  font-weight:900;
}
.module-inline-loader-sub{
  margin:0 0 12px;
  color:#5d7188;
  font-size:13px;
  line-height:1.45;
}
.module-inline-loader-stage{
  margin-bottom:8px;
  color:#0b5cab;
  font-size:13px;
  font-weight:800;
}
.module-inline-loader-track{
  height:12px;
  border-radius:999px;
  background:#e7edf5;
  overflow:hidden;
}
.module-inline-loader-bar{
  height:100%;
  width:0%;
  border-radius:999px;
  background:linear-gradient(90deg,#0b5cab 0%,#1d73cd 35%,#2ab9ef 70%,#74e5ff 100%);
  box-shadow:0 8px 18px rgba(20,106,188,.3);
  transition:width .2s ease;
  position:relative;
}
.module-inline-loader-bar::after{
  content:"";
  position:absolute;
  top:0;
  right:-50px;
  bottom:0;
  width:160px;
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.55),rgba(255,255,255,0));
  transform:skewX(-18deg);
  animation:fpInlineLoaderShine 1.3s linear infinite;
}
.module-inline-loader-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:10px;
  font-size:12px;
  color:#5b6f87;
}
.module-inline-loader-meta strong{color:#13253b}
.module-inline-loader-steps{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:15px;
}
.module-inline-loader-step{
  border:1px solid #dfe8f2;
  border-radius:14px;
  padding:10px 12px;
  background:#f9fbfd;
}
.module-inline-loader-step small{
  display:block;
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
  color:#7a8da4;
  text-transform:uppercase;
  margin-bottom:4px;
}
.module-inline-loader-step strong{
  display:block;
  font-size:12px;
  color:#1b2d43;
  line-height:1.3;
}
.module-inline-loader-step.active{
  border-color:#9dcef5;
  background:#eef8ff;
}
.module-inline-loader-step.done{
  border-color:#b8dfc2;
  background:#f1fbf3;
}
.module-inline-loader-step.done strong::before{
  content:"✓ ";
  color:#1b8e3e;
  font-weight:900;
}
@keyframes fpInlineLoaderShine{
  0%{transform:translateX(-120%) skewX(-18deg)}
  100%{transform:translateX(260%) skewX(-18deg)}
}
@media(max-width:640px){
  .module-inline-loader-card{padding:18px 16px 14px}
  .module-inline-loader-title{font-size:19px}
  .module-inline-loader-steps{grid-template-columns:1fr}
}
@media(max-width:900px){
  .module-frame-wrap,
  .module-frame-wrap iframe{min-height:500px}
}
/* FP MODULE INLINE LOADER V2.3 END */

/* FP KEEP LOADER UNTIL CONTENT V2.4 START */
.module-frame-wrap{
  position:relative!important;
  flex:1 1 auto!important;
  width:100%!important;
  min-height:0!important;
  overflow:hidden!important;
  background:#f4f7fb!important;
}
.module-frame-wrap iframe{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  border:0!important;
  background:#fff!important;
}
.module-inline-loader{
  position:absolute!important;
  inset:0!important;
  z-index:999!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:
    radial-gradient(circle at 75% 10%,rgba(34,130,220,.09),transparent 28%),
    linear-gradient(180deg,#f4f7fb 0%,#eaf0f7 100%)!important;
}
.module-inline-loader[hidden]{display:none!important}
.module-inline-loader.waiting .module-inline-loader-pct{
  background:#7a4e00!important;
}
.module-inline-loader.waiting .module-inline-loader-stage{
  color:#8a5a00!important;
}
.module-inline-loader-actions{
  display:none;
  gap:9px;
  justify-content:center;
  margin-top:15px;
}
.module-inline-loader.waiting .module-inline-loader-actions{
  display:flex;
}
.module-inline-loader-actions button{
  border:0;
  border-radius:10px;
  padding:9px 13px;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}
.module-inline-loader-actions .retry{
  background:#0b5cab;
  color:#fff;
}
.module-inline-loader-actions .external{
  background:#e8eef6;
  color:#17324f;
}
.module-modal iframe.fp-module-hidden{
  visibility:hidden!important;
  opacity:0!important;
}
.module-modal iframe.fp-module-visible{
  visibility:visible!important;
  opacity:1!important;
  transition:opacity .18s ease!important;
}
/* FP KEEP LOADER UNTIL CONTENT V2.4 END */

/* FP PANEL SYSTEM + WEB V2.12 START */
.ecosystem-panel-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:13px
}
.ecosystem-panel-tabs a{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:35px;
  padding:0 11px;
  border-radius:10px;
  text-decoration:none;
  font-size:10px;
  font-weight:900
}
.ecosystem-panel-tabs a b{
  min-width:22px;
  padding:3px 6px;
  border-radius:999px;
  text-align:center
}
.ecosystem-panel-tabs .system{
  color:#0a2342;
  background:#e9eff6;
  border:1px solid #cbd8e6
}
.ecosystem-panel-tabs .system b{
  color:#fff;
  background:#0a2342
}
.ecosystem-panel-tabs .web{
  color:#fff;
  background:#0a2342;
  border:1px solid #06172c
}
.ecosystem-panel-tabs .web b{
  color:#0a2342;
  background:#fff
}
.ecosystem-panel{
  margin-top:18px;
  padding:14px;
  border:1px solid #d9e2ec;
  border-radius:17px;
  background:#fff;
  box-shadow:0 9px 25px rgba(15,23,42,.06)
}
.ecosystem-panel-web{border-top:5px solid #0a2342}
.ecosystem-panel-system{border-top:5px solid #6d28d9}
.ecosystem-panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:3px 4px 14px;
  border-bottom:1px solid #e2e8f0
}
.ecosystem-panel-head h2{
  margin:4px 0;
  color:#122033;
  font-size:20px
}
.ecosystem-panel-head p{
  margin:0;
  color:#64748b;
  font-size:11px
}
.ecosystem-panel-label{
  display:inline-block;
  padding:4px 8px;
  border-radius:999px;
  font-size:9px;
  font-weight:900
}
.ecosystem-panel-head.system .ecosystem-panel-label{
  color:#5b21b6;
  background:#f3e8ff
}
.ecosystem-panel-head.web .ecosystem-panel-label{
  color:#fff;
  background:#0a2342
}
.ecosystem-panel-count{
  padding:7px 10px;
  border-radius:999px;
  color:#334155;
  background:#f1f5f9;
  font-size:10px
}
.web-section-title{
  color:#0a2342!important;
  background:#e9eff6;
  border-radius:10px;
  padding:8px 10px!important
}
.module-card-web{
  border-color:#b9c8d8!important;
  background:linear-gradient(180deg,#fff,#f7f9fc)!important
}
.module-card-web .card-icon{
  color:#fff!important;
  background:#0a2342!important
}
.module-card-web .scope-badge.web{
  color:#fff!important;
  background:#0a2342!important
}
.module-card-web .card-arrow{color:#0a2342!important}
@media(max-width:760px){
  .ecosystem-panel{padding:10px}
  .ecosystem-panel-head{flex-direction:column}
}
/* FP PANEL SYSTEM + WEB V2.12 END */
