*{
  box-sizing:border-box;
}

html,body{
  margin:0;
  padding:0;
  width:100%;
  height:100%;
  overflow:auto;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Inter","Segoe UI",Arial,sans-serif;
  background:#0b1020;
  color:#eef3ff;
}

body{
  background:
    radial-gradient(circle at top left,rgba(64,120,255,.25),transparent 32%),
    radial-gradient(circle at bottom right,rgba(0,210,170,.16),transparent 30%),
    #0b1020;
}

#app{
  width:100vw;
  height:100vh;
  display:grid;
  grid-template-columns:210px 1fr;
  overflow:auto;
}

.sidebar{
  height:100vh;
  padding:16px 12px;
  background:rgba(10,16,32,.74);
  border-right:1px solid rgba(255,255,255,.10);
  backdrop-filter:blur(22px);
  overflow:auto;
}

.logo{
  height:54px;
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  letter-spacing:.08em;
  color:#fff;
  margin-bottom:20px;
}

.menu{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.item{
  height:36px;
  display:flex;
  align-items:center;
  padding:0 14px;
  border-radius:14px;
  color:rgba(238,243,255,.70);
  cursor:pointer;
  user-select:none;
  transition:.18s ease;
}

.item:hover{
  background:rgba(255,255,255,.08);
  color:#fff;
}

.item.active{
  background:linear-gradient(135deg,rgba(59,130,246,.95),rgba(20,184,166,.88));
  color:#fff;
  box-shadow:0 14px 30px rgba(0,0,0,.28);
}

.main{
  min-width:0;
  height:100vh;
  display:grid;
  grid-template-rows:72px 1fr;
  overflow:auto;
}

.topbar{
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 26px;
  background:rgba(11,16,32,.46);
  border-bottom:1px solid rgba(255,255,255,.09);
  backdrop-filter:blur(18px);
}

.topbar strong{
  margin-left:8px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(34,197,94,.16);
  color:#86efac;
}

#content{
  height:calc(100vh - 72px);
  overflow:auto;
  padding:22px;
}

.hero{
  height:100%;
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:18px;
}

.hero h1{
  margin:0;
  font-size:26px;
  letter-spacing:-.04em;
}

.hero p{
  margin:0;
  color:rgba(238,243,255,.70);
  line-height:1.55;
}

.grid4{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}

.card{
  min-height:84px;
  padding:14px;
  border-radius:24px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 20px 50px rgba(0,0,0,.20);
}

.card span{
  display:block;
  color:rgba(238,243,255,.64);
  font-size:13px;
  margin-bottom:12px;
}

.card strong{
  display:block;
  font-size:26px;
  letter-spacing:-.04em;
}

.card small{
  display:block;
  margin-top:10px;
  color:rgba(238,243,255,.48);
}

.panel-grid{
  min-height:0;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:16px;
  overflow:auto;
}

.panel{
  min-height:120px;
  padding:22px;
  border-radius:24px;
  background:rgba(255,255,255,.075);
  border:1px solid rgba(255,255,255,.10);
  overflow:auto;
}

.panel h2{
  margin:0 0 12px;
  font-size:20px;
}

.panel p{
  color:rgba(238,243,255,.72);
}

.table-shell{
  min-height:0;
  overflow:auto;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.06);
}

table{
  width:100%;
  border-collapse:collapse;
}

th,td{
  text-align:left;
  padding:14px 16px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

th{
  color:rgba(238,243,255,.60);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.badge{
  display:inline-flex;
  align-items:center;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(34,197,94,.15);
  color:#86efac;
  font-size:12px;
}

@media(max-width:980px){
  #app{
    grid-template-columns:86px 1fr;
  }

  .sidebar{
    padding:18px 10px;
  }

  .logo{
    font-size:0;
    justify-content:center;
  }

  .item{
    justify-content:center;
    font-size:0;
  }

  .item::first-letter{
    font-size:16px;
  }

  .grid4{
    grid-template-columns:repeat(2,1fr);
  }

  .panel-grid{
    grid-template-columns:1fr;
  }
}


.bars{
  height:190px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  align-items:end;
  gap:14px;
  margin-top:18px;
}

.bars div{
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:10px;
}

.bars span{
  font-size:12px;
  color:rgba(238,243,255,.62);
}

.bars b{
  display:block;
  min-height:20px;
  border-radius:14px 14px 6px 6px;
  background:linear-gradient(180deg,rgba(59,130,246,.98),rgba(20,184,166,.86));
  box-shadow:0 14px 35px rgba(0,0,0,.20);
}


.org-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  margin-top:18px;
}

.org-grid div{
  min-height:84px;
  padding:15px;
  border-radius:18px;
  background:rgba(255,255,255,.065);
  border:1px solid rgba(255,255,255,.08);
}

.org-grid b{
  display:block;
  margin-bottom:8px;
}

.org-grid span{
  color:rgba(238,243,255,.64);
}


.channel-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  margin-top:18px;
}

.channel-grid div{
  min-height:94px;
  padding:15px;
  border-radius:18px;
  background:rgba(255,255,255,.065);
  border:1px solid rgba(255,255,255,.08);
  position:relative;
}

.channel-grid b{
  display:block;
  margin-bottom:8px;
}

.channel-grid span{
  display:block;
  color:rgba(238,243,255,.64);
  padding-right:48px;
}

.channel-grid em{
  position:absolute;
  right:14px;
  top:14px;
  font-style:normal;
  color:#86efac;
  font-weight:800;
}


.ops-board{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  margin-top:18px;
}

.ops-board div{
  min-height:98px;
  padding:15px;
  border-radius:18px;
  background:rgba(255,255,255,.065);
  border:1px solid rgba(255,255,255,.08);
  position:relative;
}

.ops-board b{
  display:block;
  margin-bottom:8px;
}

.ops-board span{
  display:block;
  color:rgba(238,243,255,.66);
  padding-right:58px;
}

.ops-board em{
  position:absolute;
  right:14px;
  top:14px;
  font-style:normal;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(59,130,246,.18);
  color:#bfdbfe;
  font-size:12px;
  font-weight:800;
}


.ceo-grid{
  min-height:0;
  display:grid;
  grid-template-columns:1.4fr .6fr;
  gap:16px;
  overflow:auto;
}

.panel.wide{
  min-height:240px;
}

.decision-stack{
  display:grid;
  gap:10px;
  margin-top:18px;
}

.decision-stack div{
  padding:14px;
  border-radius:18px;
  background:rgba(255,255,255,.065);
  border:1px solid rgba(255,255,255,.08);
}

.decision-stack b{
  display:block;
  color:#86efac;
  margin-bottom:5px;
}

.decision-stack span{
  color:rgba(238,243,255,.74);
}

.risk-meter{
  height:18px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  overflow:auto;
  margin:18px 0;
}

.risk-meter span{
  display:block;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#22c55e,#eab308,#ef4444);
}


.mission-board{
  min-height:0;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  overflow:auto;
}

.mission-card{
  position:relative;
  margin-top:12px;
  padding:15px;
  border-radius:18px;
  background:rgba(255,255,255,.065);
  border:1px solid rgba(255,255,255,.08);
}

.mission-card b{
  display:block;
  margin-bottom:7px;
}

.mission-card span{
  display:block;
  color:rgba(238,243,255,.68);
  padding-right:64px;
}

.mission-card em{
  position:absolute;
  right:12px;
  top:12px;
  font-style:normal;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(34,197,94,.15);
  color:#86efac;
  font-size:12px;
  font-weight:800;
}

.mission-card.danger em{
  background:rgba(239,68,68,.16);
  color:#fca5a5;
}




.dock-icon{
  width:48px;
  height:48px;
  border:0;
  border-radius:18px;
  color:#fff;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.12);
  font-weight:900;
  cursor:pointer;
  transition:transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.dock-icon:hover{
  transform:translateY(-8px) scale(1.08);
  background:rgba(255,255,255,.18);
}

.dock-icon.active{
  background:linear-gradient(135deg,rgba(37,99,235,.95),rgba(20,184,166,.9));
  box-shadow:0 12px 28px rgba(0,0,0,.32);
}

#content{
  padding-bottom:20px;
}

@media(max-width:780px){
  


.os-window{
  width:100%;
  height:100%;
  display:grid;
  grid-template-rows:48px 1fr;
  overflow:auto;
  border-radius:28px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.13);
  box-shadow:0 28px 90px rgba(0,0,0,.30);
}

.window-bar{
  height:48px;
  display:grid;
  grid-template-columns:90px 1fr 120px;
  align-items:center;
  padding:0 14px;
  background:rgba(255,255,255,.075);
  border-bottom:1px solid rgba(255,255,255,.09);
}

.traffic{
  display:flex;
  gap:8px;
}

.traffic span{
  width:12px;
  height:12px;
  border-radius:999px;
  background:rgba(255,255,255,.25);
}

.traffic span:nth-child(1){background:#ff5f57;}
.traffic span:nth-child(2){background:#ffbd2e;}
.traffic span:nth-child(3){background:#28c840;}

.window-bar strong{
  text-align:center;
  color:rgba(238,243,255,.86);
  font-size:13px;
  letter-spacing:.02em;
}

.window-actions{
  display:flex;
  justify-content:flex-end;
}

.window-actions button{
  height:30px;
  border:0;
  border-radius:10px;
  padding:0 10px;
  background:rgba(255,255,255,.10);
  color:rgba(238,243,255,.78);
  cursor:pointer;
}

.window-body{
  min-height:0;
  overflow:auto;
  padding:14px;
}

.window-body .hero{
  height:100%;
}


.command-palette{
  position:fixed;
  inset:0;
  z-index:120;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding-top:9vh;
  background:rgba(0,0,0,.38);
  backdrop-filter:blur(12px);
}

.command-palette.hidden{
  display:none;
}

.command-box{
  width:min(680px,calc(100vw - 32px));
  max-height:72vh;
  overflow:auto;
  border-radius:28px;
  background:rgba(12,18,35,.92);
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 32px 120px rgba(0,0,0,.55);
}

.command-head{
  height:54px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 18px;
  border-bottom:1px solid rgba(255,255,255,.10);
}

.command-head button{
  width:34px;
  height:34px;
  border:0;
  border-radius:12px;
  color:#fff;
  background:rgba(255,255,255,.10);
  cursor:pointer;
  font-size:22px;
}

#commandSearch{
  width:calc(100% - 32px);
  height:52px;
  margin:16px;
  padding:0 16px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  outline:0;
  color:#fff;
  background:rgba(255,255,255,.075);
  font-size:16px;
}

.command-results{
  max-height:44vh;
  overflow:auto;
  padding:0 16px 16px;
}

.command-result{
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 14px;
  border-radius:16px;
  color:rgba(238,243,255,.82);
  cursor:pointer;
}

.command-result:hover{
  background:rgba(255,255,255,.09);
}

.command-result b{
  color:#fff;
}

.command-result span{
  color:rgba(238,243,255,.55);
  font-size:12px;
}


.notif-btn{
  width:38px;
  height:38px;
  border:0;
  border-radius:14px;
  color:#86efac;
  background:rgba(34,197,94,.14);
  border:1px solid rgba(34,197,94,.22);
  cursor:pointer;
  font-size:18px;
}

.notification-center{
  position:fixed;
  top:88px;
  right:22px;
  z-index:110;
  width:360px;
  max-width:calc(100vw - 44px);
  max-height:70vh;
  overflow:auto;
  border-radius:24px;
  background:rgba(12,18,35,.92);
  border:1px solid rgba(255,255,255,.16);
  backdrop-filter:blur(24px);
  box-shadow:0 28px 100px rgba(0,0,0,.52);
}

.notification-center.hidden{
  display:none;
}

.notif-head{
  height:54px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 16px;
  border-bottom:1px solid rgba(255,255,255,.10);
}

.notif-head button{
  width:32px;
  height:32px;
  border:0;
  border-radius:12px;
  color:#fff;
  background:rgba(255,255,255,.10);
  cursor:pointer;
  font-size:20px;
}

.notification-list{
  max-height:calc(70vh - 54px);
  overflow:auto;
  padding:12px;
}

.notification-item{
  padding:13px;
  border-radius:17px;
  background:rgba(255,255,255,.065);
  border:1px solid rgba(255,255,255,.08);
  margin-bottom:10px;
}

.notification-item b{
  display:block;
  margin-bottom:5px;
}

.notification-item span{
  color:rgba(238,243,255,.62);
  font-size:13px;
}

#toastHost{
  position:fixed;
  right:22px;
  bottom:104px;
  z-index:130;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.toast{
  min-width:260px;
  padding:14px 16px;
  border-radius:18px;
  background:rgba(12,18,35,.92);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 18px 60px rgba(0,0,0,.42);
  color:#fff;
  animation:toastIn .25s ease;
}

@keyframes toastIn{
  from{transform:translateY(12px);opacity:0}
  to{transform:translateY(0);opacity:1}
}


.julia-inspector{
  position:fixed;
  top:88px;
  right:22px;
  z-index:105;
  width:380px;
  max-width:calc(100vw - 44px);
  height:calc(100vh - 210px);
  overflow:auto;
  border-radius:26px;
  background:rgba(12,18,35,.90);
  border:1px solid rgba(255,255,255,.16);
  backdrop-filter:blur(24px);
  box-shadow:0 28px 100px rgba(0,0,0,.48);
}

.julia-inspector.hidden{
  display:none;
}

.inspector-head{
  height:56px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 16px;
  border-bottom:1px solid rgba(255,255,255,.10);
}

.inspector-head button{
  width:32px;
  height:32px;
  border:0;
  border-radius:12px;
  color:#fff;
  background:rgba(255,255,255,.10);
  cursor:pointer;
  font-size:20px;
}

.inspector-body{
  padding:18px;
  overflow:auto;
  height:calc(100% - 56px);
}

.inspector-body h3{
  margin:0 0 10px;
  font-size:22px;
}

.inspector-body p{
  color:rgba(238,243,255,.70);
  line-height:1.55;
}

.quick-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:18px;
}

.quick-actions button{
  min-height:48px;
  border:0;
  border-radius:16px;
  color:#fff;
  background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.10);
  cursor:pointer;
  font-weight:800;
}

.quick-actions button:hover{
  background:rgba(255,255,255,.15);
}


.ai-provider-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  min-height:0;
  overflow:auto;
  padding-right:4px;
}

.ai-provider-card{
  padding:18px;
  border-radius:22px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.10);
  min-height:170px;
  position:relative;
}

.ai-mark{
  width:46px;
  height:46px;
  border-radius:16px;
  display:grid;
  place-items:center;
  font-weight:950;
  margin-bottom:12px;
  background:linear-gradient(135deg,rgba(37,99,235,.9),rgba(20,184,166,.82));
}

.ai-provider-card h3{
  margin:0 0 8px;
}

.ai-provider-card p{
  color:rgba(238,243,255,.66);
  line-height:1.5;
  margin:0 0 14px;
}

.key-row{
  display:grid;
  grid-template-columns:1fr 130px;
  gap:10px;
  margin-top:10px;
}

.key-row input,.ai-prompt{
  height:42px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  padding:0 12px;
  color:#fff;
  background:rgba(255,255,255,.075);
  outline:0;
}

.ai-prompt{
  width:100%;
  height:92px;
  padding:12px;
  resize:none;
}

.small-btn{
  border:0;
  border-radius:14px;
  color:#fff;
  font-weight:900;
  background:rgba(255,255,255,.12);
  cursor:pointer;
}

.ai-status{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:rgba(238,243,255,.70);
  font-size:12px;
}

.ai-status.connected{
  background:rgba(34,197,94,.15);
  color:#86efac;
}

@media(max-width:1100px){
  .ai-provider-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .ai-provider-grid{grid-template-columns:1fr}
}


.tenant-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;min-height:0;overflow:auto}
.tenant-card{padding:18px;border-radius:22px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.10);min-height:150px}
.tenant-card h3{margin:0 0 8px}.tenant-card p{margin:0 0 14px;color:rgba(238,243,255,.66)}
.tenant-meta{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.tenant-pill{padding:5px 9px;border-radius:999px;background:rgba(255,255,255,.08);color:rgba(238,243,255,.72);font-size:12px}
.mode-strip{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
@media(max-width:1100px){.tenant-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.tenant-grid{grid-template-columns:1fr}}


.integration-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-height:0;overflow:auto}
.integration-card{padding:18px;border-radius:22px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.10)}
.integration-card h3{margin:0 0 8px}
.integration-card p{margin:0 0 12px;color:rgba(238,243,255,.66);line-height:1.5}
.integration-form{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.integration-form input,.integration-form select{height:40px;border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:0 12px;color:#fff;background:rgba(255,255,255,.075);outline:0}
.integration-actions{display:flex;gap:10px;margin-top:12px}
.integration-actions button{height:38px;border:0;border-radius:14px;padding:0 12px;color:#fff;background:rgba(255,255,255,.12);font-weight:900;cursor:pointer}
.integration-status{display:inline-flex;padding:5px 9px;border-radius:999px;background:rgba(255,255,255,.08);color:rgba(238,243,255,.72);font-size:12px}
.integration-status.connected{background:rgba(34,197,94,.15);color:#86efac}
@media(max-width:900px){.integration-grid{grid-template-columns:1fr}.integration-form{grid-template-columns:1fr}}


.workforce-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;min-height:0;overflow:auto}
.chat-box{border-radius:22px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10);padding:14px;min-height:250px}
.mobile-preview{border-radius:32px;background:rgba(0,0,0,.30);border:1px solid rgba(255,255,255,.14);padding:18px;max-width:360px}
.mobile-preview h3{margin:0 0 10px}.mobile-preview p{color:rgba(238,243,255,.66);line-height:1.45}
.mobile-dot{width:10px;height:10px;border-radius:50%;background:#86efac;display:inline-block;margin-right:6px}
@media(max-width:1100px){.workforce-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.workforce-grid{grid-template-columns:1fr}}


.case-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;min-height:0;overflow:auto}
.case-card{padding:18px;border-radius:22px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.10);min-height:260px}
.case-card h3{margin:12px 0 8px}.case-card p{margin:0 0 12px;color:rgba(238,243,255,.66);line-height:1.45}
.case-top{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:1100px){.case-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.case-grid{grid-template-columns:1fr}}


.badge-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;min-height:0;overflow:auto}
.badge-card{padding:18px;border-radius:22px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.10);min-height:235px}
.badge-card.awarded{border-color:rgba(134,239,172,.45);background:linear-gradient(180deg,rgba(34,197,94,.13),rgba(255,255,255,.055))}
.badge-medal{width:54px;height:54px;border-radius:18px;display:grid;place-items:center;font-weight:950;margin-bottom:12px;background:linear-gradient(135deg,rgba(245,158,11,.92),rgba(34,197,94,.80))}
.badge-card h3{margin:0 0 8px}.badge-card p{margin:0 0 12px;color:rgba(238,243,255,.66);line-height:1.45}
.badge-strip{display:flex;gap:8px;flex-wrap:wrap}
.public-badge{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border-radius:999px;background:rgba(34,197,94,.14);border:1px solid rgba(134,239,172,.28);color:#bbf7d0;font-size:12px;font-weight:900}
@media(max-width:1300px){.badge-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.badge-grid{grid-template-columns:1fr}}


.workflow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;min-height:0;overflow:auto}
.workflow-card{padding:18px;border-radius:22px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.10);min-height:280px}
.workflow-card h3{margin:12px 0 12px}.workflow-card .mini-list{margin-top:10px}
@media(max-width:1100px){.workflow-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.workflow-grid{grid-template-columns:1fr}}


.table-shell{
flex:1;
min-height:0;
overflow:auto;
}

.hero{
display:flex;
flex-direction:column;
height:100%;
}

.panel-grid{
flex:0;
}

.window-body{
overflow:auto;
}


/* ===== Sprint 2 Layout Override ===== */

#app{
    grid-template-columns:210px 1fr !important;
}

.sidebar{
    width:210px !important;
}

#dock{display:none!important;}

#content{
    padding:18px !important;
    padding-bottom:20px !important;
}

.window-body{
    padding:18px !important;
    overflow:auto !important;
}

.grid4{
    grid-template-columns:repeat(4,1fr) !important;
    gap:12px !important;
}

.card{
    min-height:96px !important;
    padding:14px !important;
    border-radius:16px !important;
}

.card strong{
    font-size:28px !important;
}

.panel-grid{
    gap:12px !important;
}

.table-shell{
    margin-top:12px !important;
}

.hero{
    gap:12px !important;
}

.module-head{
    margin-bottom:10px !important;
}

.primary-btn{
    height:36px !important;
    padding:0 14px !important;
}




.grid5{
display:grid;
grid-template-columns:repeat(5,minmax(0,1fr));
gap:16px;
margin-bottom:18px;
}

.toolbar{
display:flex;
gap:12px;
align-items:center;
}

.search-box{
width:340px;
height:42px;
padding:0 14px;
border-radius:12px;
border:1px solid rgba(255,255,255,.12);
background:rgba(255,255,255,.06);
color:#fff;
}

.secondary-btn{
height:42px;
padding:0 18px;
border:0;
border-radius:12px;
background:#243246;
color:#fff;
cursor:pointer;
}

.primary-btn{
height:42px;
padding:0 20px;
border:0;
border-radius:12px;
cursor:pointer;
}

.kanban{
display:grid;
grid-template-columns:repeat(5,1fr);
gap:16px;
margin:20px 0;
}

.lane{
padding:18px;
border-radius:16px;
background:rgba(255,255,255,.05);
border:1px solid rgba(255,255,255,.08);
}

.lane h3{
margin:0 0 10px;
font-size:16px;
}

.lane p{
margin:0;
font-size:26px;
font-weight:700;
}

@media(max-width:1200px){

.grid5{
grid-template-columns:repeat(2,1fr);
}

.kanban{
grid-template-columns:repeat(2,1fr);
}

.toolbar{
flex-wrap:wrap;
}

.search-box{
width:100%;
}

}


/* ===== ZOHO CRM ===== */

.toolbar{
display:flex;
align-items:center;
gap:12px;
margin-bottom:18px;
flex-wrap:wrap;
}

.search-box{
flex:1;
min-width:260px;
height:42px;
padding:0 14px;
border-radius:10px;
border:1px solid rgba(255,255,255,.12);
background:#111827;
color:#fff;
outline:none;
}

.search-box:focus{
border-color:#2563eb;
}

.primary-btn,
.secondary-btn{
height:42px;
padding:0 18px;
border-radius:10px;
border:0;
cursor:pointer;
font-weight:600;
}

.primary-btn{
background:#2563eb;
color:#fff;
}

.secondary-btn{
background:#1f2937;
color:#fff;
}

.grid5{
display:grid;
grid-template-columns:repeat(5,1fr);
gap:14px;
margin-bottom:18px;
}

@media(max-width:1200px){
.grid5{
grid-template-columns:repeat(3,1fr);
}
}

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

.toolbar{
flex-direction:column;
align-items:stretch;
}

.search-box{
min-width:100%;
}
}

.table-shell{
overflow:auto;
background:#fff;
border-radius:12px;
}

.table-shell table{
width:100%;
background:#fff;
color:#111827;
}

.table-shell th{
background:#f3f4f6;
position:sticky;
top:0;
z-index:2;
}

.table-shell td,
.table-shell th{
padding:12px;
border-bottom:1px solid #e5e7eb;
}



.table-shell tbody tr{
transition:.15s;
cursor:pointer;
}

.table-shell tbody tr:hover{
background:#eff6ff;
}

.table-shell tbody tr:hover td{
color:#111827;
}

.table-shell tbody tr.selected{
background:#dbeafe;
}

.badge{
background:#2563eb;
color:#fff;
padding:4px 10px;
border-radius:999px;
font-size:12px;
font-weight:600;
}

.card{
transition:.15s;
}

.card:hover{
transform:translateY(-2px);
box-shadow:0 10px 24px rgba(0,0,0,.12);
}



/* ===== ZOHO LAYOUT FIX ===== */

html,
body{
height:100%;
overflow:hidden;
}

#app{
height:100vh;
overflow:hidden;
}

.sidebar{
overflow-y:auto;
overflow-x:hidden;
}

.main{
height:100vh;
overflow:hidden;
}

#content{
height:calc(100vh - 72px);
overflow:auto;
padding:18px;
padding-bottom:18px;
}

.os-window{
height:100%;
overflow:hidden;
}

.window-body{
height:100%;
overflow:auto;
padding:18px;
}

.hero{
min-height:100%;
overflow:visible;
}

.panel{
overflow:visible;
}

.table-shell{
overflow:auto;
max-height:none;
}

table{
min-width:1200px;
}

::-webkit-scrollbar{
width:10px;
height:10px;
}

::-webkit-scrollbar-thumb{
background:#cbd5e1;
border-radius:20px;
}

::-webkit-scrollbar-track{
background:#eef2f7;
}



/******** ZOHO SINGLE SCROLL ********/

html,body{
height:100%;
overflow:hidden;
}

#app{
height:100vh;
overflow:hidden;
display:grid;
grid-template-columns:220px 1fr;
}

.sidebar{
height:100vh;
overflow-y:auto;
overflow-x:hidden;
}

.main{
height:100vh;
display:grid;
grid-template-rows:72px 1fr;
overflow:hidden;
}

.topbar{
position:sticky;
top:0;
z-index:100;
}

#content{
height:100%;
overflow:auto;
padding:20px;
}

.os-window{
height:100%;
display:flex;
flex-direction:column;
overflow:hidden;
}

.window-body{
flex:1;
overflow:auto;
padding:20px;
}

.hero{
display:flex;
flex-direction:column;
gap:18px;
min-height:100%;
overflow:visible;
}

.panel,
.card,
.table-shell{
overflow:visible;
}

.table-shell{
background:#fff;
border-radius:12px;
}

