/* Utility-first homepage: restore the practical overview while retaining the newer cockpit markup as a dormant rollback path. */
[data-overview-cockpit],
.overview-command-center,
.overview-core-features,
.sidebar-home-nav {
  display: none !important;
}

body[data-active-view="overview"] .sidebar > .nav-list {
  display: grid !important;
}

body [data-home-classic] {
  order: 1;
  display: grid;
  gap: 18px;
}

body .overview-dashboard-grid[data-overview-legacy-surface] {
  order: 2;
  display: block;
}

body .overview-dashboard-grid[data-overview-legacy-surface] > .store-realtime-panel {
  display: none !important;
}

body .overview-dashboard-grid[data-overview-legacy-surface] > .overview-task-panel {
  min-height: 0;
  padding: 15px 18px 14px;
}

body .overview-dashboard-grid[data-overview-legacy-surface] .overview-home-card-header {
  min-height: 34px;
  align-items: center;
}

body .overview-dashboard-grid[data-overview-legacy-surface] .overview-task-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 7px;
}

body .overview-dashboard-grid[data-overview-legacy-surface] .overview-task-list > button {
  min-height: 58px;
  border: 1px solid rgba(31, 35, 41, .065);
  background: rgba(248, 249, 250, .72);
}

body [data-home-classic] > .overview-welcome-panel,
body [data-home-classic] > .overview-playbook-grid,
body [data-home-classic] > .overview-resource-grid,
body [data-home-classic] > .overview-learning-grid {
  display: grid;
}

body [data-home-classic] > .overview-welcome-panel { order: 1; }
body [data-home-classic] > .overview-playbook-grid { order: 2; }
body [data-home-classic] > .overview-resource-grid { order: 3; }
body [data-home-classic] > .overview-learning-grid { order: 4; }

body .overview-dashboard-grid > .overview-home-shortcuts {
  display: none;
}

body [data-home-classic] .overview-learning-grid.overview-learning-grid-classic {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body [data-home-classic] .overview-brand-banner {
  position: relative;
  min-height: 340px;
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(440px, 1.18fr);
  gap: 20px;
  align-items: center;
  overflow: hidden;
  padding: 30px 28px 30px 44px;
}

body [data-home-classic] .overview-brand-banner::before {
  display: none;
  animation: none;
}

body [data-home-classic] .overview-banner-kicker,
body [data-home-classic] .overview-brand-banner h2,
body [data-home-classic] .overview-brand-banner p,
body [data-home-classic] .overview-brand-banner > div {
  max-width: 100%;
}

body [data-home-classic] .overview-brand-copy {
  position: relative;
  z-index: 4;
  display: block !important;
  min-width: 0;
  max-width: none !important;
  margin-top: 0 !important;
}

body [data-home-classic] .overview-brand-banner h2 {
  max-width: 520px !important;
  font-size: clamp(34px, 3vw, 48px);
}

body [data-home-classic] .overview-brand-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

body [data-home-classic] .overview-workflow-motion {
  position: relative;
  z-index: 4;
  display: block !important;
  width: 100%;
  height: 276px;
  max-width: none !important;
  margin-top: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(222, 188, 110, .22);
  border-radius: 24px;
  padding: 17px 18px 16px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 18%, rgba(78, 126, 194, .3), transparent 30%),
    radial-gradient(circle at 12% 95%, rgba(190, 142, 53, .24), transparent 34%),
    linear-gradient(145deg, #202a30 0%, #111a20 55%, #182329 100%);
  box-shadow:
    0 30px 56px rgba(27, 38, 47, .2),
    inset 0 1px 0 rgba(255, 255, 255, .12);
}

body [data-home-classic] .overview-workflow-motion::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .22;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 78%);
  mask-image: linear-gradient(90deg, #000, transparent 78%);
  pointer-events: none;
}

body [data-home-classic] .overview-workflow-motion::after {
  position: absolute;
  top: -72px;
  right: -42px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  content: "";
  background: rgba(132, 170, 224, .16);
  filter: blur(28px);
  pointer-events: none;
}

body [data-home-classic] .workflow-motion-head,
body [data-home-classic] .workflow-product-card,
body [data-home-classic] .workflow-status-stack,
body [data-home-classic] .workflow-route {
  position: relative;
  z-index: 2;
}

body [data-home-classic] .workflow-motion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, .52);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.25px;
}

body [data-home-classic] .workflow-motion-head > span {
  display: flex;
  align-items: center;
  gap: 7px;
}

body [data-home-classic] .workflow-motion-head > span > i {
  width: 16px;
  height: 1px;
  background: #d0a54e;
  box-shadow: 0 0 12px rgba(208, 165, 78, .7);
}

body [data-home-classic] .workflow-motion-head > b {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid rgba(102, 193, 160, .14);
  border-radius: 999px;
  color: #9ed7c1;
  background: rgba(57, 139, 109, .09);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0;
}

body [data-home-classic] .workflow-motion-head > b > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #63c59e;
  box-shadow: 0 0 0 4px rgba(99, 197, 158, .1), 0 0 12px rgba(99, 197, 158, .4);
}

body [data-home-classic] .workflow-product-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 15px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 17px;
  padding: 11px 12px;
  background: linear-gradient(125deg, rgba(255, 255, 255, .105), rgba(255, 255, 255, .045));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 16px 30px rgba(0, 0, 0, .12);
  will-change: transform;
}

body [data-home-classic] .workflow-product-visual {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(225, 195, 126, .24);
  border-radius: 15px;
  color: #e4c87f;
  background:
    radial-gradient(circle at 70% 25%, rgba(255, 255, 255, .18), transparent 34%),
    linear-gradient(145deg, rgba(204, 158, 67, .24), rgba(204, 158, 67, .06));
}

body [data-home-classic] .workflow-product-visual svg {
  width: 35px;
  height: 35px;
  stroke: currentColor;
  stroke-width: 1.6;
}

body [data-home-classic] .workflow-product-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

body [data-home-classic] .workflow-product-copy > span {
  color: rgba(255, 255, 255, .48);
  font-size: 8px;
  font-weight: 700;
}

body [data-home-classic] .workflow-product-copy > strong {
  overflow: hidden;
  color: #f7f8f9;
  font-size: 11px;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body [data-home-classic] .workflow-product-copy > div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 3px;
}

body [data-home-classic] .workflow-product-copy > div > i {
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 999px;
  padding: 3px 6px;
  color: rgba(222, 230, 234, .72);
  background: rgba(255, 255, 255, .045);
  font-size: 7px;
  font-style: normal;
  will-change: transform, opacity;
}

body [data-home-classic] .workflow-product-result {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(90, 183, 145, .2);
  border-radius: 12px;
  padding: 7px 8px;
  color: #a7dbc5;
  background: rgba(66, 150, 117, .1);
  will-change: transform, opacity;
}

body [data-home-classic] .workflow-product-result > i {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  color: #183e31;
  background: #82d1b1;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

body [data-home-classic] .workflow-product-result > span {
  display: grid;
  gap: 1px;
  font-size: 8px;
  font-weight: 760;
  white-space: nowrap;
}

body [data-home-classic] .workflow-product-result small {
  color: rgba(167, 219, 197, .62);
  font-size: 7px;
  font-weight: 500;
}

body [data-home-classic] .workflow-status-stack {
  height: 25px;
  margin: 7px 2px 0;
  color: rgba(233, 237, 239, .7);
  font-size: 8px;
}

body [data-home-classic] .workflow-status-stage {
  position: absolute;
  inset: 0 auto auto 0;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
}

body [data-home-classic] .workflow-status-stage:first-child {
  opacity: 1;
  visibility: visible;
}

body [data-home-classic] .workflow-route {
  margin-top: 1px;
}

body [data-home-classic] .workflow-route-line {
  position: absolute;
  top: 14px;
  right: calc(12.5% - 7px);
  left: calc(12.5% - 7px);
  height: 2px;
  overflow: visible;
  background: rgba(255, 255, 255, .09);
}

body [data-home-classic] .workflow-route-progress {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(90deg, #c99a40, #e2c57f);
  box-shadow: 0 0 12px rgba(216, 179, 94, .34);
  transform: scaleX(.02);
  transform-origin: left center;
  will-change: transform;
}

body [data-home-classic] .workflow-route-spark {
  position: absolute;
  z-index: 3;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border: 2px solid #fff4d3;
  border-radius: 50%;
  background: #d9aa4d;
  box-shadow: 0 0 0 4px rgba(217, 170, 77, .12), 0 0 16px rgba(217, 170, 77, .85);
  will-change: transform;
}

body [data-home-classic] .workflow-route ol {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

body [data-home-classic] .workflow-route li {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, .74);
  text-align: center;
}

body [data-home-classic] .workflow-route li > i {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid #dfe4ea;
  border-radius: 50%;
  color: #7f8994;
  background: #fff;
  box-shadow: 0 5px 14px rgba(0, 0, 0, .16);
  font-size: 7px;
  font-style: normal;
  font-weight: 860;
  will-change: transform, background-color;
}

body [data-home-classic] .workflow-route li > span {
  display: grid;
  min-width: 0;
  gap: 1px;
}

body [data-home-classic] .workflow-route li b {
  overflow: hidden;
  font-size: 8px;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body [data-home-classic] .workflow-route li small {
  color: rgba(255, 255, 255, .4);
  font-size: 7px;
  white-space: nowrap;
}

body [data-home-classic] .overview-workflow-motion.is-static .workflow-route-progress {
  transform: scaleX(1);
}

body [data-home-classic] .overview-workflow-motion.is-static .workflow-status-stage:first-child {
  display: none;
}

body [data-home-classic] .overview-workflow-motion.is-static .workflow-status-stage:last-child {
  opacity: 1;
  visibility: visible;
}

html:not([data-brand-logo-layout="wide"]) body .sidebar .brand {
  position: relative;
  display: block;
  min-height: 104px;
  padding: 22px 19px 20px;
  overflow: hidden;
  border-bottom: 0;
  isolation: isolate;
  background:
    radial-gradient(circle at 87% 34%, rgba(92, 145, 255, .12), transparent 25%),
    linear-gradient(180deg, rgba(255, 255, 255, .015), transparent);
}

html:not([data-brand-logo-layout="wide"]) body .sidebar .brand::after {
  position: absolute;
  right: 19px;
  bottom: 0;
  left: 19px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(210, 169, 79, .42), rgba(255, 255, 255, .08) 56%, transparent);
}

html:not([data-brand-logo-layout="wide"]) body .sidebar .brand-mark {
  position: absolute;
  z-index: -1;
  top: 13px;
  right: 10px;
  width: 74px;
  height: 74px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

html:not([data-brand-logo-layout="wide"]) body .sidebar .brand-mark::after {
  display: none;
}

html:not([data-brand-logo-layout="wide"]) body .sidebar .brand-mark img {
  width: 74px;
  height: 74px;
  border-radius: 0;
  object-fit: contain;
  opacity: .16;
  filter: saturate(.8) drop-shadow(0 10px 24px rgba(65, 121, 230, .22));
  transform: rotate(-7deg);
}

html:not([data-brand-logo-layout="wide"]) body .sidebar .brand-copy {
  display: grid;
  position: relative;
  z-index: 1;
  min-width: 0;
  gap: 11px;
  align-content: start;
}

html:not([data-brand-logo-layout="wide"]) body .sidebar .brand-copy strong {
  overflow: hidden;
  color: #fffdf8;
  font-size: 25px;
  font-weight: 790;
  letter-spacing: -.035em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html:not([data-brand-logo-layout="wide"]) body .sidebar .brand-copy strong::after {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 0 2px 5px;
  border-radius: 50%;
  content: "";
  background: #d9ad51;
  box-shadow: 0 0 0 4px rgba(217, 173, 81, .1);
}

html:not([data-brand-logo-layout="wide"]) body .sidebar .brand-copy span {
  overflow: hidden;
  margin-top: 0;
  color: rgba(232, 225, 207, .6);
  font-size: 10px;
  font-weight: 560;
  letter-spacing: .12em;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body [data-home-classic] .overview-web-shortcuts .shortcut-card {
  --shortcut-accent: #3d4b57;
  --shortcut-soft: #f1f3f4;
  --shortcut-line: #dfe4e7;
  min-height: 84px;
  gap: 9px;
  border-color: #e2e6e8;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 7px 18px rgba(35, 43, 50, .045), inset 0 1px 0 #fff;
}

body [data-home-classic] .overview-web-shortcuts .shortcut-card::before {
  opacity: 0;
}

body [data-home-classic] .overview-web-shortcuts .shortcut-card:hover {
  border-color: #d5bd82;
  color: #202a31;
  background: linear-gradient(155deg, #fff, #fbf8ef);
  box-shadow: 0 14px 27px rgba(78, 64, 35, .1), inset 0 1px 0 #fff;
}

body [data-home-classic] .overview-web-shortcuts .shortcut-card > i {
  position: relative;
  width: 43px;
  height: 43px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  color: #f6f2e8;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .15), transparent 48%),
    linear-gradient(145deg, #4c5b67, #283640);
  box-shadow:
    0 8px 17px rgba(35, 49, 59, .18),
    inset 0 1px 0 rgba(255, 255, 255, .22);
}

body [data-home-classic] .overview-web-shortcuts .shortcut-card > i::before {
  position: absolute;
  top: -13px;
  right: -10px;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 50%;
  content: "";
}

body [data-home-classic] .overview-web-shortcuts .shortcut-card svg {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  stroke-width: 1.8;
  filter: drop-shadow(0 2px 3px rgba(17, 27, 38, .24));
}

body [data-home-classic] .overview-web-shortcuts .shortcut-card b {
  color: #303a42;
  font-size: 9.5px;
}

body [data-home-classic] .overview-web-shortcuts .shortcut-card small {
  display: none;
}

body [data-home-classic] .overview-web-shortcuts .shortcut-listing {
  --shortcut-accent: #9b7527;
  --shortcut-soft: #fbf5e5;
  --shortcut-line: #dfcb98;
  border-color: #e1d4b3;
  background: linear-gradient(155deg, #fff, #fbf7eb);
}

body [data-home-classic] .overview-web-shortcuts .shortcut-listing > i {
  color: #fff7df;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .2), transparent 48%),
    linear-gradient(145deg, #b58b36, #7b5c1f);
  box-shadow: 0 9px 18px rgba(139, 101, 29, .2), inset 0 1px 0 rgba(255, 255, 255, .3);
}

body [data-home-classic] .overview-web-shortcuts a.shortcut-card::after {
  color: #9c8350;
  opacity: .42;
}

body [data-home-classic] .overview-course-panel {
  min-height: 0;
  overflow: hidden;
}

body [data-home-classic] .overview-course-panel > header > span {
  color: #8a929a;
  font-size: 11px;
  font-weight: 650;
}

body [data-home-classic] .overview-course-panel-body {
  display: grid;
  grid-template-columns: minmax(150px, .68fr) minmax(0, 1.32fr);
  gap: 18px;
  padding: 18px;
}

body [data-home-classic] .overview-course-visual {
  position: relative;
  min-height: 168px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(145deg, #202934, #0f141b);
}

body [data-home-classic] .overview-course-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 38%, rgba(8, 13, 18, .8));
  pointer-events: none;
}

body [data-home-classic] .overview-course-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 168px;
  object-fit: cover;
}

body [data-home-classic] .overview-course-cover-image {
  filter: saturate(.9) contrast(1.02);
  transform: scale(1.015);
  transition: filter 320ms ease, transform 420ms ease;
}

body [data-home-classic] .overview-course-panel:hover .overview-course-cover-image {
  filter: saturate(1) contrast(1.04);
  transform: scale(1.055);
}

body [data-home-classic] .overview-course-visual > span:last-child {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 13px;
  left: 14px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
  color: #fff;
}

body [data-home-classic] .overview-course-visual b {
  font-size: 17px;
}

body [data-home-classic] .overview-course-visual small {
  color: rgba(255, 255, 255, .7);
  font-size: 10px;
}

body [data-home-classic] .overview-course-visual-business {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 72% 28%, rgba(226, 190, 105, .32), transparent 26%),
    linear-gradient(145deg, #27343a, #172126);
}

body [data-home-classic] .overview-course-path {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

body [data-home-classic] .overview-course-path::before {
  position: absolute;
  right: 16px;
  left: 16px;
  height: 1px;
  content: "";
  background: rgba(231, 195, 110, .55);
}

body [data-home-classic] .overview-course-path > i {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(231, 195, 110, .58);
  border-radius: 50%;
  color: #f0d18a;
  background: #202b30;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

body [data-home-classic] .overview-course-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

body [data-home-classic] .overview-course-copy > strong {
  color: #21303b;
  font-size: 18px;
}

body [data-home-classic] .overview-course-copy > p {
  margin: 8px 0 12px;
  color: #73808a;
  font-size: 11px;
  line-height: 1.7;
}

body [data-home-classic] .overview-course-copy > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body [data-home-classic] .overview-course-copy > div > span {
  padding: 5px 8px;
  border: 1px solid rgba(126, 104, 55, .13);
  border-radius: 999px;
  color: #74613b;
  background: #faf7ef;
  font-size: 9px;
  font-weight: 700;
}

body [data-home-classic] .overview-course-copy > button {
  min-height: 34px;
  margin-top: auto;
  padding: 8px 13px;
  border: 1px solid #29363d;
  border-radius: 10px;
  color: #fff;
  background: #29363d;
  font-size: 11px;
  font-weight: 720;
  cursor: pointer;
}

body [data-home-classic] .overview-course-copy > button:hover {
  border-color: #aa8134;
  background: #aa8134;
}

body [data-home-classic] .overview-course-copy > button > i {
  margin-left: 5px;
  font-style: normal;
}

@media (max-width: 1180px) {
  body [data-home-classic] .overview-resource-grid,
  body [data-home-classic] .overview-learning-grid.overview-learning-grid-classic {
    grid-template-columns: 1fr;
  }

  body [data-home-classic] .overview-quick-panel {
    min-height: 0;
  }
}

@media (max-width: 820px) {
  body [data-home-classic] .overview-brand-banner {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 34px 26px 26px;
  }

  body [data-home-classic] .overview-brand-copy {
    padding: 4px 4px 8px;
  }

  body [data-home-classic] .overview-brand-banner h2 {
    max-width: 620px;
  }

  body .overview-dashboard-grid[data-overview-legacy-surface] .overview-task-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body [data-home-classic] .overview-course-panel-body {
    grid-template-columns: 1fr;
  }

  body [data-home-classic] .overview-course-visual {
    min-height: 150px;
  }

  body [data-home-classic] .overview-workflow-motion {
    height: 262px;
    padding: 15px 14px 14px;
  }

  body [data-home-classic] .workflow-product-card {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  body [data-home-classic] .workflow-product-visual {
    width: 48px;
    height: 48px;
  }

  body [data-home-classic] .workflow-product-result {
    display: none;
  }

  body [data-home-classic] .workflow-route li small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body [data-home-classic] .overview-workflow-motion *,
  body [data-home-classic] .overview-workflow-motion *::before,
  body [data-home-classic] .overview-workflow-motion *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
