html,body{overflow-x:hidden}.ibft-fullscreen-page .site-main,.ibft-fullscreen-page .content-area,.ibft-fullscreen-page .entry-content,.ibft-fullscreen-page .page-content,.ibft-fullscreen-page .container,.ibft-fullscreen-page .elementor-container{max-width:none!important;width:100%!important;margin:0!important;padding:0!important}.ibft-fullscreen-page .entry-header,.ibft-fullscreen-page .page-header,.ibft-fullscreen-page .breadcrumbs,.ibft-fullscreen-page .breadcrumb,.ibft-fullscreen-page .entry-meta{display:none!important}.ibft-app{--blue:#1264d8;--ink:#121820;--muted:#68717d;--line:#e4e8ed;--soft:#f5f7f9;--blue-soft:#edf5ff;background:#fff;color:var(--ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);overflow:hidden}.ibft-wide{width:min(1540px,calc(100% - 48px));margin:auto}.ibft-top{background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:10}.ibft-top .ibft-wide{min-height:68px;display:flex;align-items:center;gap:34px}.ibft-brand{display:flex;align-items:center;gap:10px;min-width:225px}.ibft-mark{width:34px;height:34px;border-radius:8px;background:var(--blue);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:800}.ibft-brand b{display:block;font-size:13px;letter-spacing:.08em}.ibft-brand small{display:block;color:#89919c;font-size:9px;letter-spacing:.16em;margin-top:2px}.ibft-tabs{display:flex;gap:24px;align-items:center;height:68px;overflow:auto}.ibft-tabs a{height:68px;display:flex;align-items:center;text-decoration:none;color:#59626e;font-size:13px;font-weight:650;border-bottom:2px solid transparent;white-space:nowrap}.ibft-tabs a:hover,.ibft-tabs a.active{color:var(--blue);border-color:var(--blue)}.ibft-hero{background:#f7f9fb;border-bottom:1px solid var(--line);padding:38px 0 34px}.ibft-hero .ibft-wide{display:flex;justify-content:space-between;align-items:end;gap:40px}.ibft-eyebrow,.ibft-panel>span,.ibft-head span,.ibft-profile-title>div>span,.ibft-page-title>span,.ibft-method span,.ibft-heat span{font-size:10px;letter-spacing:.16em;color:#75808c;font-weight:800}.ibft-hero h1{font-size:46px;line-height:1.02;margin:8px 0 9px;letter-spacing:-.04em}.ibft-hero p{max-width:720px;color:#69737e;font-size:15px;margin:0;line-height:1.65}.ibft-search{display:flex;min-width:440px;background:#fff;border:1px solid #dfe4ea;border-radius:8px;overflow:hidden;box-shadow:0 4px 18px rgba(20,40,70,.05)}.ibft-search input{flex:1;border:0;padding:14px 16px;outline:0;font-size:13px}.ibft-search button,.ibft-filterbar button{border:0;background:var(--blue);color:#fff;padding:0 20px;font-weight:750;cursor:pointer}.ibft-app main{padding:28px 0 60px}.ibft-kpis{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:22px}.ibft-kpis article{padding:20px 22px;border-right:1px solid var(--line)}.ibft-kpis article:last-child{border-right:0}.ibft-kpis span,.ibft-kpis small{display:block;color:#78828d;font-size:10px;letter-spacing:.12em;font-weight:750}.ibft-kpis strong{display:block;font-size:28px;letter-spacing:-.03em;margin:7px 0 4px}.ibft-kpis small{letter-spacing:0;font-weight:500;font-size:11px}.ibft-filterbar{margin-bottom:22px;background:#fff;border:1px solid var(--line);padding:10px}.ibft-filterbar form{display:flex;gap:8px}.ibft-filterbar input,.ibft-filterbar select{height:40px;border:1px solid #dfe4ea;background:#fff;padding:0 11px;font-size:12px;color:#29323c}.ibft-filterbar input{flex:1;min-width:160px}.ibft-filterbar button{height:40px;border-radius:4px}.ibft-filterbar a{display:flex;align-items:center;padding:0 12px;color:#5e6874;text-decoration:none;font-size:12px}.ibft-grid-2{display:grid;grid-template-columns:1.15fr .85fr;gap:22px;margin-bottom:22px}.ibft-panel{border:1px solid var(--line);background:#fff;padding:22px}.ibft-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px}.ibft-head h2{font-size:21px;letter-spacing:-.025em;margin:5px 0 0}.ibft-head a{font-size:12px;color:var(--blue);text-decoration:none;font-weight:700}.ibft-barrow{display:grid;grid-template-columns:145px 1fr 80px 65px;gap:12px;align-items:center;text-decoration:none;color:inherit;padding:10px 0;border-bottom:1px solid #edf0f3}.ibft-barrow:last-child{border-bottom:0}.ibft-barrow b{font-size:12px}.ibft-barrow i{height:6px;background:#edf1f5;border-radius:99px;overflow:hidden}.ibft-barrow em{display:block;height:100%;background:#78aef4;border-radius:99px}.ibft-barrow strong{text-align:right;font-size:12px}.ibft-barrow small{text-align:right;color:#87919b;font-size:10px}.ibft-barrow.compact{grid-template-columns:75px 1fr 75px 28px}.ibft-empty{padding:28px 0;color:#8a949f;font-size:13px}.ibft-ranklist>a{display:grid;grid-template-columns:34px 1fr auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #edf0f3;text-decoration:none;color:inherit}.ibft-ranklist>a:last-child{border-bottom:0}.ibft-ranklist>a>span{color:#9ba4ae;font-size:11px;font-weight:800}.ibft-ranklist b{font-size:12px;display:block}.ibft-ranklist small{font-size:10px;color:#858f9a;display:block;margin-top:3px}.ibft-ranklist strong{font-size:12px}.ibft-table-panel{padding:0;overflow:hidden}.ibft-table-panel .ibft-head{padding:22px 22px 0}.ibft-count{font-size:11px;color:#8a949f}.ibft-scroll{overflow:auto}.ibft-scroll table{width:100%;border-collapse:collapse;min-width:900px}.ibft-scroll th{text-align:left;background:#fafbfc;color:#7b8590;font-size:9px;letter-spacing:.1em;text-transform:uppercase;padding:12px 16px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);white-space:nowrap}.ibft-scroll td{padding:14px 16px;border-bottom:1px solid #edf0f3;font-size:12px;color:#4e5864;vertical-align:middle}.ibft-scroll tr:hover td{background:#fbfdff}.ibft-scroll td a{color:#16202a;text-decoration:none}.ibft-pill{display:inline-block;border:1px solid #dbe6f6;background:#f5f9ff;color:#356aa9;border-radius:99px;padding:4px 8px;font-size:10px}.ibft-heat{display:grid;grid-template-columns:340px 1fr;gap:28px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:28px 0;margin-top:22px}.ibft-heat h2{font-size:24px;margin:6px 0}.ibft-heat p{color:#727c87;font-size:13px;line-height:1.6;margin:0}.ibft-heatgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.ibft-heatgrid a{padding:18px;background:rgba(18,100,216,var(--ibft-alpha));text-decoration:none;color:#13202e;min-height:80px}.ibft-heatgrid b,.ibft-heatgrid strong,.ibft-heatgrid small{display:block}.ibft-heatgrid b{font-size:12px}.ibft-heatgrid strong{font-size:20px;margin:8px 0}.ibft-heatgrid small{font-size:10px;color:#5f6a76}.ibft-method{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding:28px 0}.ibft-method h2{font-size:22px;margin:6px 0}.ibft-method p{color:#737d88;font-size:12px;line-height:1.7;max-width:800px}.ibft-method-tags{display:flex;flex-wrap:wrap;gap:8px;align-content:flex-start;justify-content:flex-end}.ibft-method-tags span{padding:8px 10px;border:1px solid var(--line);background:#fafbfc;color:#68737f;font-size:10px;letter-spacing:0}.ibft-page-title{padding:16px 0 28px}.ibft-page-title h1{font-size:40px;margin:7px 0}.ibft-page-title p{color:#727c87}.ibft-sector-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.ibft-sector-cards a{border:1px solid var(--line);padding:22px;text-decoration:none;color:inherit}.ibft-sector-cards a:hover{border-color:#b8d0ef}.ibft-sector-cards span{font-size:9px;color:#8b949e;letter-spacing:.13em}.ibft-sector-cards h2{font-size:18px;margin:7px 0 18px}.ibft-sector-cards strong{display:block;font-size:24px}.ibft-sector-cards small{display:block;color:#7b8590;font-size:10px;margin-top:5px}.ibft-report-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.ibft-report-grid article{border:1px solid var(--line);padding:20px}.ibft-report-grid span{font-size:9px;color:#7c8792;letter-spacing:.1em}.ibft-report-grid h2{font-size:17px;margin:9px 0 20px}.ibft-report-grid strong{font-size:24px}.ibft-report-grid p{color:#7a8590;font-size:11px}.ibft-back{display:inline-block;margin-bottom:18px;color:var(--blue);font-size:12px;text-decoration:none}.ibft-profile-title{display:flex;gap:16px;align-items:center;padding:8px 0 28px}.ibft-avatar{width:58px;height:58px;background:#edf5ff;color:var(--blue);display:grid;place-items:center;border-radius:10px;font-weight:850}.ibft-avatar.investor{background:#f3f0ff;color:#6c4bc4}.ibft-avatar.sector{background:#eef8f3;color:#178653}.ibft-profile-title h1{font-size:38px;letter-spacing:-.04em;margin:5px 0}.ibft-profile-title p{margin:0;color:#727c87;font-size:13px}.ibft-profile-grid{display:grid;grid-template-columns:1.5fr .5fr;gap:22px;margin-top:22px}.ibft-timeline>div{display:grid;grid-template-columns:18px 110px 1fr auto;gap:12px;align-items:center;border-bottom:1px solid #edf0f3;padding:15px 0;position:relative}.ibft-timeline i{width:8px;height:8px;background:var(--blue);border-radius:50%;display:block}.ibft-timeline time,.ibft-timeline small{font-size:10px;color:#7e8893}.ibft-timeline b{font-size:12px}.ibft-timeline strong{font-size:13px}.ibft-panel dl{margin:18px 0 0}.ibft-panel dt{font-size:9px;color:#8b949e;letter-spacing:.1em;text-transform:uppercase;margin-top:14px}.ibft-panel dd{margin:4px 0 0;font-size:12px}.ibft-panel dd a{color:var(--blue);text-decoration:none}.ibft-event{border:1px solid var(--line);padding:28px;background:#fff}.ibft-event h1{font-size:32px}.ibft-event>strong{font-size:30px;color:var(--blue)}@media(max-width:1100px){.ibft-hero .ibft-wide{align-items:stretch;flex-direction:column}.ibft-search{min-width:0;width:100%}.ibft-grid-2,.ibft-profile-grid{grid-template-columns:1fr}.ibft-report-grid{grid-template-columns:repeat(2,1fr)}.ibft-wide{width:min(100% - 30px,1540px)}}@media(max-width:760px){.ibft-top .ibft-wide{display:block;padding:12px 0}.ibft-tabs{height:44px;gap:18px}.ibft-tabs a{height:44px}.ibft-brand{min-width:0}.ibft-hero{padding:26px 0}.ibft-hero h1{font-size:36px}.ibft-kpis{grid-template-columns:1fr 1fr}.ibft-kpis article:nth-child(2){border-right:0}.ibft-filterbar form{display:grid;grid-template-columns:1fr 1fr}.ibft-filterbar input{grid-column:1/-1}.ibft-filterbar button{height:40px}.ibft-barrow{grid-template-columns:100px 1fr 75px}.ibft-barrow small{display:none}.ibft-heat,.ibft-method{grid-template-columns:1fr}.ibft-heatgrid{grid-template-columns:1fr 1fr}.ibft-sector-cards{grid-template-columns:1fr}.ibft-report-grid{grid-template-columns:1fr}.ibft-profile-title h1{font-size:30px}.ibft-timeline>div{grid-template-columns:12px 80px 1fr}.ibft-timeline strong{grid-column:3}.ibft-timeline small{grid-column:3}.ibft-wide{width:calc(100% - 22px)}}


/* India Bizz Funding Intelligence 3.1 — viewport layout layer */
.ibft-app,
.ibft-shell,
.ibft-funding-intelligence,
.ibft-intelligence {
  --ibft-max: 1560px;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}

.ibft-app {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  background: #f6f8fb;
  color: #172033;
}

.ibft-app * { box-sizing: border-box; }

.ibft-app .ibft-canvas,
.ibft-app .ibft-container,
.ibft-app .ibft-inner {
  width: min(var(--ibft-max), calc(100vw - 48px)) !important;
  max-width: var(--ibft-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.ibft-app .ibft-full,
.ibft-app .ibft-full-bleed {
  width: 100% !important;
  max-width: none !important;
}

.ibft-app .ibft-hero {
  width: 100% !important;
  margin: 0 !important;
  padding: 30px 0 24px !important;
  background: #fff !important;
  border-bottom: 1px solid #e4e9f0 !important;
}

.ibft-app .ibft-hero h1 {
  margin: 0 0 7px !important;
  font-size: clamp(30px, 3.1vw, 48px) !important;
  line-height: 1.02 !important;
  letter-spacing: -.035em !important;
}

.ibft-app .ibft-hero p { margin: 0 !important; }

.ibft-app .ibft-kpis {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0,1fr)) !important;
  gap: 1px !important;
  background: #dfe5ed !important;
  border: 1px solid #dfe5ed !important;
  margin: 18px auto !important;
}

.ibft-app .ibft-kpi {
  min-width: 0 !important;
  padding: 19px 22px !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.ibft-app .ibft-kpi .value {
  font-size: clamp(25px, 2.3vw, 38px) !important;
  font-weight: 750 !important;
  letter-spacing: -.035em !important;
}

.ibft-app .ibft-main-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, .8fr) !important;
  gap: 18px !important;
  align-items: start !important;
}

.ibft-app .ibft-panel {
  min-width: 0 !important;
  background: #fff !important;
  border: 1px solid #e1e6ed !important;
  border-radius: 10px !important;
  box-shadow: 0 1px 2px rgba(17,24,39,.03) !important;
  overflow: hidden !important;
}

.ibft-app .ibft-panel-header {
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  padding: 14px 18px !important;
  border-bottom:1px solid #e7ebf0 !important;
}

.ibft-app .ibft-panel-body { padding: 0 !important; }

.ibft-app .ibft-table-wrap {
  width:100% !important;
  overflow-x:auto !important;
  -webkit-overflow-scrolling:touch !important;
}

.ibft-app table {
  width:100% !important;
  min-width: 760px !important;
  border-collapse:collapse !important;
}

.ibft-app th {
  background:#f8fafc !important;
  color:#667085 !important;
  font-size:11px !important;
  text-transform:uppercase !important;
  letter-spacing:.06em !important;
  font-weight:700 !important;
  white-space:nowrap !important;
}

.ibft-app th, .ibft-app td {
  padding:12px 14px !important;
  border-bottom:1px solid #edf0f4 !important;
  text-align:left !important;
  vertical-align:middle !important;
}

.ibft-app tbody tr:hover td { background:#fafcff !important; }

.ibft-app .ibft-filters,
.ibft-app .ibft-searchbar {
  display:flex !important;
  flex-wrap:wrap !important;
  gap:8px !important;
  align-items:center !important;
}

.ibft-app input,
.ibft-app select {
  min-height:42px !important;
  border:1px solid #d8dee8 !important;
  border-radius:7px !important;
  background:#fff !important;
  color:#172033 !important;
  padding:0 12px !important;
  box-shadow:none !important;
}

.ibft-app input:focus,
.ibft-app select:focus {
  border-color:#3478f6 !important;
  outline:2px solid rgba(52,120,246,.12) !important;
}

.ibft-app .ibft-section { margin: 18px auto !important; }

.ibft-app .ibft-section-title {
  margin:0 0 10px !important;
  font-size:18px !important;
  line-height:1.2 !important;
  letter-spacing:-.015em !important;
}

.ibft-app .ibft-analytics-grid {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:18px !important;
}

.ibft-app .ibft-bars { padding:16px 18px !important; }
.ibft-app .ibft-bar-row { margin-bottom:13px !important; }
.ibft-app .ibft-bar-track {
  height:7px !important;
  background:#edf2f7 !important;
  border-radius:99px !important;
  overflow:hidden !important;
}
.ibft-app .ibft-bar-fill {
  height:100% !important;
  background:#3478f6 !important;
  border-radius:99px !important;
}

.ibft-app .ibft-nav {
  width:100% !important;
  border-bottom:1px solid #e1e6ed !important;
  background:#fff !important;
}
.ibft-app .ibft-nav-inner {
  display:flex !important;
  gap:4px !important;
  overflow-x:auto !important;
  scrollbar-width:none !important;
  width:min(var(--ibft-max),calc(100vw - 48px)) !important;
  margin:auto !important;
}
.ibft-app .ibft-nav a {
  flex:0 0 auto !important;
  padding:11px 13px !important;
  color:#667085 !important;
  text-decoration:none !important;
  font-size:13px !important;
  font-weight:650 !important;
  border-bottom:2px solid transparent !important;
}
.ibft-app .ibft-nav a:hover,
.ibft-app .ibft-nav a.active {
  color:#1d5fd1 !important;
  border-bottom-color:#3478f6 !important;
}

@media (max-width: 1100px) {
  .ibft-app .ibft-main-grid { grid-template-columns:1fr !important; }
  .ibft-app .ibft-analytics-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width: 760px) {
  .ibft-app .ibft-canvas,
  .ibft-app .ibft-container,
  .ibft-app .ibft-inner,
  .ibft-app .ibft-nav-inner {
    width:calc(100vw - 24px) !important;
  }
  .ibft-app .ibft-kpis { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .ibft-app .ibft-analytics-grid { grid-template-columns:1fr !important; }
  .ibft-app .ibft-hero { padding:22px 0 18px !important; }
}

/* Break out of common WordPress theme wrappers only when the app exists. */
body:has(.ibft-app) .site-content,
body:has(.ibft-app) .content-area,
body:has(.ibft-app) .entry-content,
body:has(.ibft-app) .wp-block-post-content,
body:has(.ibft-app) .elementor-widget-container,
body:has(.ibft-app) .elementor-container,
body:has(.ibft-app) .container,
body:has(.ibft-app) .ast-container,
body:has(.ibft-app) .generate-columns-container {
  max-width: none;
}
body:has(.ibft-app) .entry-content {
  margin-left:0;
  margin-right:0;
}



/* =========================================================
   INDIA BIZZ FUNDING INTELLIGENCE 3.2.0
   Full-page application mode
   ========================================================= */

/* Stop the theme from positioning the application inside a narrow article column. */
html body.ibft-intelligence-page {
  overflow-x: hidden !important;
}

/* The live site still exposes the normal article/page chrome. Hide it ONLY here. */
body.ibft-intelligence-page .entry-header,
body.ibft-intelligence-page .page-header,
body.ibft-intelligence-page .entry-meta,
body.ibft-intelligence-page .post-meta,
body.ibft-intelligence-page .breadcrumbs,
body.ibft-intelligence-page .breadcrumb,
body.ibft-intelligence-page .yoast-breadcrumb,
body.ibft-intelligence-page .rank-math-breadcrumb,
body.ibft-intelligence-page .post-navigation,
body.ibft-intelligence-page .comments-area,
body.ibft-intelligence-page .site-footer,
body.ibft-intelligence-page footer.site-footer {
  display:none !important;
}

/* Remove the theme's content/sidebar split. */
body.ibft-intelligence-page #secondary,
body.ibft-intelligence-page .sidebar,
body.ibft-intelligence-page .widget-area {
  display:none !important;
}
body.ibft-intelligence-page #primary,
body.ibft-intelligence-page .content-area,
body.ibft-intelligence-page .site-main,
body.ibft-intelligence-page .site-content,
body.ibft-intelligence-page .entry-content,
body.ibft-intelligence-page .page-content {
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  float:none !important;
  flex:none !important;
  margin:0 !important;
  padding:0 !important;
}

/* The actual app owns the full viewport. */
body.ibft-intelligence-page .ibft-app {
  display:block !important;
  position:relative !important;
  width:100vw !important;
  max-width:100vw !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  left:auto !important;
  right:auto !important;
  transform:none !important;
  overflow:hidden !important;
  background:#f7f8fa !important;
}

/* Full-width bands, with a centered data canvas. */
.ibft-app .ibft-top,
.ibft-app .ibft-hero,
.ibft-app main {
  width:100% !important;
  max-width:none !important;
}
.ibft-app .ibft-wide,
.ibft-app main > .ibft-wide {
  width:calc(100% - 64px) !important;
  max-width:1600px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Stronger first-screen composition. */
.ibft-app .ibft-top {
  background:#fff !important;
}
.ibft-app .ibft-top .ibft-wide {
  min-height:62px !important;
}
.ibft-app .ibft-hero {
  background:#fff !important;
  padding:30px 0 26px !important;
}
.ibft-app .ibft-hero .ibft-wide {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 460px !important;
  gap:34px !important;
  align-items:end !important;
}
.ibft-app .ibft-hero h1 {
  font-size:clamp(36px,4vw,58px) !important;
  font-weight:780 !important;
  letter-spacing:-.045em !important;
  margin:7px 0 7px !important;
}
.ibft-app .ibft-hero p {
  max-width:820px !important;
  font-size:15px !important;
}

/* Compact, full-width KPI rail. */
.ibft-app main {
  padding:18px 0 40px !important;
}
.ibft-app .ibft-kpis {
  width:100% !important;
  margin:0 0 14px !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  background:#dfe4ea !important;
}
.ibft-app .ibft-kpis article {
  background:#fff !important;
  padding:18px 20px !important;
  min-height:106px !important;
}

/* Filters should span the complete canvas. */
.ibft-app .ibft-filterbar {
  width:100% !important;
  margin:0 0 14px !important;
}
.ibft-app .ibft-filterbar form {
  width:100% !important;
  display:grid !important;
  grid-template-columns:minmax(260px,1fr) 180px 180px 130px 125px 55px !important;
  gap:7px !important;
}
.ibft-app .ibft-filterbar input,
.ibft-app .ibft-filterbar select {
  width:100% !important;
  min-width:0 !important;
}

/* Main intelligence blocks use equal, balanced columns. */
.ibft-app .ibft-grid-2 {
  width:100% !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  gap:14px !important;
  margin-bottom:14px !important;
}

/* Make the funding database visually dominant. */
.ibft-app .ibft-table-panel {
  width:100% !important;
  margin:0 0 14px !important;
}
.ibft-app .ibft-table-panel .ibft-head {
  min-height:60px !important;
}
.ibft-app .ibft-scroll {
  width:100% !important;
  overflow-x:auto !important;
}
.ibft-app .ibft-scroll table {
  width:100% !important;
  min-width:0 !important;
  table-layout:auto !important;
}
.ibft-app .ibft-scroll th,
.ibft-app .ibft-scroll td {
  padding:13px 15px !important;
}
.ibft-app .ibft-scroll th:first-child { width:110px !important; }
.ibft-app .ibft-scroll th:nth-child(2) { width:22% !important; }
.ibft-app .ibft-scroll th:nth-child(3) { width:15% !important; }
.ibft-app .ibft-scroll th:nth-child(4) { width:13% !important; }
.ibft-app .ibft-scroll th:nth-child(5) { width:13% !important; }

/* Heatmap and methodology should also use the full canvas. */
.ibft-app .ibft-heat,
.ibft-app .ibft-method {
  width:100% !important;
  margin:0 0 14px !important;
}

/* Reduce empty card feel. */
.ibft-app .ibft-panel {
  border-radius:7px !important;
  box-shadow:none !important;
}
.ibft-app .ibft-head {
  padding:13px 16px !important;
}
.ibft-app .ibft-barrow,
.ibft-app .ibft-ranklist a {
  padding:10px 16px !important;
}

/* Prevent inherited theme typography/width rules from breaking the app. */
.ibft-app h1,.ibft-app h2,.ibft-app h3,
.ibft-app p,.ibft-app ul,.ibft-app ol {
  max-width:none !important;
}

/* Laptop */
@media (max-width:1200px) {
  .ibft-app .ibft-wide,
  .ibft-app main > .ibft-wide {
    width:calc(100% - 40px) !important;
  }
  .ibft-app .ibft-hero .ibft-wide {
    grid-template-columns:1fr 390px !important;
    gap:22px !important;
  }
  .ibft-app .ibft-filterbar form {
    grid-template-columns:minmax(200px,1fr) 150px 150px 110px 110px 55px !important;
  }
}

/* Tablet */
@media (max-width:900px) {
  .ibft-app .ibft-hero .ibft-wide {
    grid-template-columns:1fr !important;
  }
  .ibft-app .ibft-search {
    width:100% !important;
    min-width:0 !important;
  }
  .ibft-app .ibft-grid-2 {
    grid-template-columns:1fr !important;
  }
  .ibft-app .ibft-filterbar form {
    grid-template-columns:1fr 1fr 1fr !important;
  }
}

/* Mobile */
@media (max-width:640px) {
  .ibft-app .ibft-wide,
  .ibft-app main > .ibft-wide {
    width:calc(100% - 20px) !important;
  }
  .ibft-app .ibft-kpis {
    grid-template-columns:1fr 1fr !important;
  }
  .ibft-app .ibft-filterbar form {
    grid-template-columns:1fr 1fr !important;
  }
  .ibft-app .ibft-filterbar input,
  .ibft-app .ibft-filterbar button,
  .ibft-app .ibft-filterbar a {
    grid-column:1 / -1 !important;
  }
  .ibft-app .ibft-hero {
    padding:22px 0 !important;
  }
  .ibft-app .ibft-hero h1 {
    font-size:36px !important;
  }
  .ibft-app .ibft-scroll table {
    min-width:850px !important;
  }
}


/* =========================================================
   3.3.0 — DOM REHOMING / TRUE VIEWPORT MODE
   ========================================================= */

/* Once rehomed, the application is a direct child of <body>,
   so no theme content wrapper can clip it at 1630px or similar. */
body.ibft-layout-mounted {
  overflow-x:hidden !important;
}
body.ibft-layout-mounted .ibft-app {
  position:relative !important;
  display:block !important;
  width:100vw !important;
  max-width:100vw !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  left:auto !important;
  right:auto !important;
  transform:none !important;
  float:none !important;
  clear:both !important;
  overflow:hidden !important;
}

/* The old WordPress host shell can remain in the DOM but must not
   create visible whitespace after the shortcode is moved. */
body.ibft-layout-mounted .ibft-host-shell {
  display:none !important;
}

/* Full viewport bands */
body.ibft-layout-mounted .ibft-app .ibft-wide,
body.ibft-layout-mounted .ibft-app main > .ibft-wide {
  width:calc(100% - 56px) !important;
  max-width:1600px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* On very wide screens use more of the browser without becoming stretched. */
@media (min-width:1700px){
  body.ibft-layout-mounted .ibft-app .ibft-wide,
  body.ibft-layout-mounted .ibft-app main > .ibft-wide {
    width:calc(100% - 80px) !important;
    max-width:1680px !important;
  }
}

/* Make the top navigation truly centered instead of inheriting theme alignment. */
body.ibft-layout-mounted .ibft-app .ibft-top .ibft-wide {
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
}
body.ibft-layout-mounted .ibft-app .ibft-tabs {
  margin-left:18px !important;
}

/* Hero: balanced title + search, never clipped. */
body.ibft-layout-mounted .ibft-app .ibft-hero .ibft-wide {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(360px,500px) !important;
  gap:36px !important;
  align-items:center !important;
}
body.ibft-layout-mounted .ibft-app .ibft-hero h1,
body.ibft-layout-mounted .ibft-app .ibft-hero p,
body.ibft-layout-mounted .ibft-app .ibft-eyebrow {
  margin-left:0 !important;
  padding-left:0 !important;
}

@media(max-width:900px){
  body.ibft-layout-mounted .ibft-app .ibft-hero .ibft-wide {
    grid-template-columns:1fr !important;
  }
}
@media(max-width:640px){
  body.ibft-layout-mounted .ibft-app .ibft-wide,
  body.ibft-layout-mounted .ibft-app main > .ibft-wide {
    width:calc(100% - 20px) !important;
  }
}

/* v3.3.1: the original WP page shell is intentionally removed after mount. */
body.ibft-intelligence-page .ibft-host-shell,
body.ibft-layout-mounted .ibft-host-shell {
  display:none !important;
  visibility:hidden !important;
  height:0 !important;
  min-height:0 !important;
  max-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
}

/* Never allow an orphaned share/social block to occupy the tracker page. */
body.ibft-intelligence-page .ibft-host-shell * {
  display:none !important;
}
