/* V186 — In2Com shared shell alignment and tab design tokens.
   Uses the exact existing official logo with its transparent outer padding removed.
   Apply to every portal page with the standard header; no authentication or nav JS changes. */
:root {
  --in2c-shell-gutter: clamp(16px, 3.125vw, 40px);
  --in2c-tab-blue: #0872ad;
  --in2c-tab-muted: #60758a;
  --in2c-tab-rule: #d7e5ef;
}
/* A consistent left edge for branding and the main account navigation. */
body > header.top,
body > header.site-top {
  box-sizing: border-box;
  padding: 15px var(--in2c-shell-gutter) !important;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
body > header.top .brand,
body > header.site-top .brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  line-height: 0;
}
body > header.top .brand img,
body > header.site-top .brand img {
  display: block;
  width: 226px !important;
  height: auto !important;
  max-width: 100%;
  object-fit: contain !important;
}
body > nav.account-nav {
  box-sizing: border-box;
  padding-left: var(--in2c-shell-gutter) !important;
  padding-right: var(--in2c-shell-gutter) !important;
}
/* Canonical secondary-tabs visual grammar for admin workspaces.
   Other screens can opt in via the .in2c-section-tabs class. */
.in2c-section-tabs {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 26px;
  border-bottom: 1px solid var(--in2c-tab-rule);
  background: #fff;
  min-width: 0;
}
.in2c-section-tabs > [role="tab"] {
  appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 0 11px;
  margin: 0;
  color: var(--in2c-tab-muted);
  background: transparent;
  border: 0;
  border-radius: 0;
  border-bottom: 3px solid transparent;
  box-shadow: none;
  font-size: .94rem;
  font-weight: 740;
  letter-spacing: 0;
  line-height: 1.35;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}
.in2c-section-tabs > [role="tab"]:hover {
  color: var(--in2c-tab-blue);
  background: transparent;
  filter: none;
}
.in2c-section-tabs > [role="tab"][aria-selected="true"] {
  color: #075d91;
  border-bottom-color: var(--in2c-tab-blue);
  background: transparent;
}
.in2c-section-tabs > [role="tab"]:focus-visible {
  outline: 3px solid #68bee9;
  outline-offset: -5px;
}
/* Reseller directory and workspace: tab LABELS start on the same left edge
   as the corresponding title and the tab panels. */
.v185-directory .v185-directory-tabs.in2c-section-tabs {
  padding: 0;
  margin: 16px 0 22px;
  gap: 26px;
}
.v185-directory .v185-directory-tabs.in2c-section-tabs > button {
  padding-left: 0 !important;
  padding-right: 0 !important;
  min-height: 52px;
  font-size: .93rem;
  border-radius: 0;
}
#detail .v185-workspace-head { padding-left: 28px; padding-right: 28px; }
#detail .v185-tabs.in2c-section-tabs {
  padding: 0 28px !important;
  gap: 30px !important;
  background: #fff;
  border-top: 1px solid #e5edf3;
  border-bottom: 1px solid var(--in2c-tab-rule);
  overflow-x: visible;
}
#detail .v185-tabs.in2c-section-tabs > .v185-tab {
  min-height: 53px;
  padding: 13px 0 12px !important;
  font-size: .94rem;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
#detail .v185-tabs.in2c-section-tabs > .v185-tab:hover {background:transparent;}
#detail .v185-pane {padding-left:28px;padding-right:28px;}
#detail #v185-pane-commission {padding-left:28px;padding-right:28px;}
@media (max-width: 700px) {
  body > header.top,body > header.site-top { min-height: 70px; padding: 12px var(--in2c-shell-gutter) !important; }
  body > header.top .brand img,body > header.site-top .brand img { width: 170px !important; }
  #detail .v185-workspace-head { padding-left: 18px; padding-right: 18px; }
  #detail .v185-pane,#detail #v185-pane-commission {padding-left:18px;padding-right:18px;}
  #detail .v185-tabs.in2c-section-tabs {padding: 0 18px !important;gap:20px !important;}
  #detail .v185-tabs.in2c-section-tabs > .v185-tab{min-height:48px;padding:12px 0 10px !important;font-size:.86rem;}
  .v185-directory .v185-directory-tabs.in2c-section-tabs{gap:22px;}
}
@media (max-width: 620px) {
  /* Four workspace tabs remain visible: two columns with a calm selected state. */
  #detail .v185-tabs.in2c-section-tabs {display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px !important;padding:9px 12px !important;}
  #detail .v185-tabs.in2c-section-tabs > .v185-tab{justify-content:center;text-align:center;padding:11px 6px !important;min-height:44px;border:1px solid transparent;border-radius:8px;white-space:normal;}
  #detail .v185-tabs.in2c-section-tabs > .v185-tab[aria-selected="true"] {background:#eaf6fd;border:1px solid #b8dff1;}
}
@media (max-width: 430px) {
  body > header.top .brand img,body > header.site-top .brand img {width:148px !important;}
  body > header.top .top-help,body > header.site-top .top-help {display:none;}
}
