/* Dupligrow application shell — v0.7.3
   Stable primary areas, contextual navigation, and mobile thumb navigation. */

body.noviq-split-shell {
  --noviq-shell-header: 78px;
  --noviq-shell-sidebar: 224px;
  min-height: 100vh;
  padding-left: var(--noviq-shell-sidebar);
  background: #f4f6f9;
}

.noviq-app-header {
  position: sticky;
  z-index: 9200;
  top: 0;
  display: grid;
  grid-template-columns: minmax(165px, 1fr) auto minmax(165px, 1fr);
  align-items: center;
  min-height: var(--noviq-shell-header);
  width: calc(100% + var(--noviq-shell-sidebar));
  margin-left: calc(var(--noviq-shell-sidebar) * -1);
  padding: 0 max(24px, calc((100vw - 1420px) / 2));
  border-bottom: 1px solid rgba(255,255,255,.13);
  background: var(--noviq-structure, #102140);
  box-shadow: 0 5px 22px rgba(9,25,49,.13);
}

body.admin-bar.noviq-split-shell .noviq-app-header { top: 32px; }
body.admin-bar.noviq-split-shell .noviq-context-sidebar { top: calc(var(--noviq-shell-header) + 32px); }

.noviq-app-brand {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-self: start;
  color: #fff;
  line-height: 1.05;
  text-decoration: none;
}

.noviq-app-brand img {
  display: block;
  width: auto;
  max-width: 145px;
  height: 30px;
  object-fit: contain;
  object-position: left center;
}

.noviq-app-brand .dupligrow-brand-lockup {
  display: flex;
  align-items: center;
  gap: 8px;
}

.noviq-app-brand .dupligrow-brand-lockup img {
  width: 28px;
  height: 28px;
}

.noviq-app-brand strong {
  overflow: hidden;
  max-width: 180px;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.noviq-app-brand strong i {
  color: var(--nhn-gold);
  font-style: normal;
}

.noviq-app-brand small {
  overflow: hidden;
  max-width: 180px;
  margin-top: 5px;
  color: rgba(255,255,255,.68);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.noviq-primary-nav {
  display: flex;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.noviq-primary-nav a {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
  padding: 0 14px;
  color: rgba(255,255,255,.7);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: color .18s ease, background .18s ease;
}

.noviq-primary-nav a:hover,
.noviq-primary-nav a:focus-visible {
  color: #fff;
  background: rgba(255,255,255,.055);
}

.noviq-primary-nav a.is-active {
  color: #fff;
}

.noviq-primary-nav a.is-active::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 0;
  left: 13px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--nhn-gold);
}

.noviq-header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
}

.noviq-header-updates {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 11px;
  color: rgba(255,255,255,.78);
  font-size: 18px;
  text-decoration: none;
}

.noviq-header-updates:hover,
.noviq-header-updates.is-active {
  background: rgba(255,255,255,.1);
  color: #fff;
}

.noviq-header-updates b {
  position: absolute;
  top: 2px;
  right: 1px;
  display: grid;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  place-items: center;
  border: 2px solid var(--noviq-structure, #102140);
  border-radius: 99px;
  background: var(--nhn-gold);
  color: var(--noviq-structure, #102140);
  font-size: 8px;
  font-weight: 900;
}

.noviq-workspace-admin-shortcut {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 10px;
  background: rgba(255,255,255,.09);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.noviq-workspace-admin-shortcut:hover,
.noviq-workspace-admin-shortcut:focus-visible {
  border-color: rgba(255,255,255,.42);
  background: rgba(255,255,255,.16);
  color: #fff;
}

.noviq-workspace-admin-shortcut.is-active {
  border-color: var(--nhn-gold);
  background: var(--nhn-gold);
  color: var(--noviq-structure, #102140);
}

.noviq-profile-menu {
  position: relative;
}

.noviq-profile-menu summary {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 4px 10px 4px 4px;
  border-radius: 99px;
  color: #fff;
  cursor: pointer;
  list-style: none;
}

.noviq-profile-menu summary::-webkit-details-marker { display: none; }
.noviq-profile-menu summary:hover { background: rgba(255,255,255,.085); }

.noviq-profile-menu summary span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .03em;
}

.noviq-profile-menu summary b {
  overflow: hidden;
  max-width: 130px;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.noviq-profile-menu > nav {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  display: grid;
  width: 220px;
  padding: 8px;
  border: 1px solid #dce3ec;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(8,24,46,.2);
}

.noviq-profile-menu:not([open]) > nav { display: none; }

.noviq-profile-menu > nav a,
.noviq-profile-menu > nav button {
  display: flex;
  align-items: center;
  min-height: 42px;
  width: 100%;
  padding: 0 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #243651;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.noviq-profile-menu > nav a:hover,
.noviq-profile-menu > nav button:hover,
.noviq-profile-menu > nav .is-active {
  background: #edf1f6;
  color: var(--nhn-green);
}

.noviq-profile-menu > nav .is-logout {
  margin-top: 5px;
  border-top: 1px solid #e5eaf0;
  border-radius: 0 0 9px 9px;
  color: #98483f;
}

.noviq-context-sidebar {
  position: fixed;
  z-index: 8000;
  top: var(--noviq-shell-header);
  bottom: 0;
  left: 0;
  width: var(--noviq-shell-sidebar);
  padding: 0 17px 35px;
  overflow-y: auto;
  border-right: 1px solid rgba(255,255,255,.1);
  background: var(--noviq-structure, #102140);
  color: #fff;
}

.noviq-context-sidebar > strong {
  display: block;
  margin-top: 28px;
  padding: 0 12px 12px;
  color: var(--nhn-gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.noviq-context-sidebar > nav { display: grid; gap: 3px; }

.noviq-context-sidebar > nav > a,
.noviq-context-sidebar .nhn-learn-group > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 9px;
  color: rgba(255,255,255,.7);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
}

.noviq-context-sidebar > nav > a:hover,
.noviq-context-sidebar .nhn-learn-group > a:hover {
  background: rgba(255,255,255,.07);
  color: #fff;
}

.noviq-context-sidebar > nav > a.is-active,
.noviq-context-sidebar .nhn-learn-group > a.is-active {
  background: rgba(255,255,255,.13);
  color: #fff;
  box-shadow: inset 3px 0 0 var(--nhn-gold);
}

.noviq-context-sidebar .nhn-learn-group {
  display: grid;
  gap: 2px;
  padding: 9px 0 12px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.noviq-context-sidebar .nhn-learn-group:first-child {
  padding-top: 0;
  border-top: 0;
}

.noviq-context-sidebar .nhn-learn-group > strong {
  display: block;
  padding: 0 12px 6px;
  color: rgba(255,255,255,.45);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.noviq-mobile-primary { display: none; }

/* The application sidebar replaces page-specific duplicate navigation. */
.noviq-split-shell .nhn-people-levels,
.noviq-split-shell .noviq-admin-tabs,
.noviq-split-shell .nhn-content-shell > .nhn-sidebar,
.noviq-split-shell .nhn-content-shell > .nhn-mobile-learn {
  display: none !important;
}

.noviq-split-shell .nhn-content-shell {
  display: block;
  width: min(1040px, 92%);
}

/* Carry the navy-and-gold identity through the most visible action surfaces. */
.noviq-split-shell .nhn-next-step,
.noviq-split-shell .nhn-tools-hero {
  background: linear-gradient(135deg, var(--nhn-green), #173a67);
}

.noviq-split-shell .nhn-next-step p,
.noviq-split-shell .nhn-tools-hero > p {
  color: rgba(255,255,255,.78);
}

@media (max-width: 980px) {
  body.noviq-split-shell {
    --noviq-shell-header: 68px;
    --noviq-mobile-nav-height: 70px;
    padding-left: 0;
    padding-bottom: calc(var(--noviq-mobile-nav-height) + env(safe-area-inset-bottom));
  }

  .noviq-app-header {
    grid-template-columns: minmax(0,1fr) auto;
    min-height: var(--noviq-shell-header);
    width: 100%;
    margin-left: 0;
    padding: 0 15px 0 18px;
  }

  .noviq-app-brand strong { font-size: 15px; }
  .noviq-app-brand small { max-width: 180px; font-size: 8px; }
  .noviq-primary-nav { display: none; }
  .noviq-profile-menu summary { padding-right: 4px; }
  .noviq-profile-menu summary b { display: none; }
  .noviq-profile-menu > nav { position: fixed; top: 62px; right: 10px; }

  body.admin-bar.noviq-split-shell .noviq-profile-menu > nav { top: 108px; }

  .noviq-context-sidebar {
    position: sticky;
    z-index: 8100;
    top: var(--noviq-shell-header);
    bottom: auto;
    display: block;
    width: 100%;
    padding: 8px 12px 9px;
    overflow-x: auto;
    overflow-y: hidden;
    border-right: 0;
    border-bottom: 1px solid #dde4ec;
    background: #f7f9fb;
    color: #21334e;
    scrollbar-width: none;
  }

  body.admin-bar.noviq-split-shell .noviq-context-sidebar {
    top: calc(var(--noviq-shell-header) + 32px);
  }

  .noviq-context-sidebar::-webkit-scrollbar { display: none; }
  .noviq-context-sidebar > strong { display: none; }

  .noviq-context-sidebar > nav,
  .noviq-context-sidebar > nav.is-learn {
    display: flex;
    width: max-content;
    min-width: 100%;
    gap: 5px;
  }

  .noviq-context-sidebar > nav > a,
  .noviq-context-sidebar .nhn-learn-group > a {
    min-height: 40px;
    padding: 9px 13px;
    border-radius: 9px;
    color: #68788d;
    font-size: 12px;
    white-space: nowrap;
  }

  .noviq-context-sidebar > nav > a:hover,
  .noviq-context-sidebar .nhn-learn-group > a:hover {
    background: #edf1f6;
    color: var(--nhn-green);
  }

  .noviq-context-sidebar > nav > a.is-active,
  .noviq-context-sidebar .nhn-learn-group > a.is-active {
    background: #e6ebf2;
    color: var(--nhn-green);
    box-shadow: none;
  }

  .noviq-context-sidebar .nhn-learn-group {
    display: contents;
    padding: 0;
    border: 0;
  }

  .noviq-context-sidebar .nhn-learn-group > strong { display: none; }

  .noviq-mobile-primary {
    position: fixed;
    z-index: 9100;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0,1fr));
    min-height: calc(var(--noviq-mobile-nav-height) + env(safe-area-inset-bottom));
    padding: 6px 6px env(safe-area-inset-bottom);
    border-top: 1px solid #dce3eb;
    background: rgba(255,255,255,.97);
    box-shadow: 0 -8px 28px rgba(9,25,49,.1);
    backdrop-filter: blur(14px);
  }

  .noviq-mobile-primary a {
    position: relative;
    display: grid;
    grid-template-rows: 27px 18px;
    min-width: 0;
    min-height: 52px;
    place-items: center;
    border-radius: 11px;
    color: #7c899a;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }

  .noviq-mobile-primary a > span { font-size: 20px; line-height: 1; }
  .noviq-mobile-primary a > b { overflow: hidden; max-width: 100%; font-size: 9px; line-height: 1; text-overflow: ellipsis; white-space: nowrap; }

  .noviq-mobile-primary a.is-active {
    background: #edf1f6;
    color: var(--nhn-green);
  }

  .noviq-mobile-primary a.is-active::before {
    content: "";
    position: absolute;
    top: -6px;
    width: 30px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: var(--nhn-gold);
  }

  .noviq-split-shell .nhn-content-shell { width: 100%; }
}

@media (max-width: 782px) {
  body.admin-bar.noviq-split-shell .noviq-app-header { top: 46px; }
  body.admin-bar.noviq-split-shell .noviq-context-sidebar { top: calc(var(--noviq-shell-header) + 46px); }
}

@media (max-width: 640px) {
  .noviq-workspace-admin-shortcut { display: none; }
}

@media (max-width: 370px) {
  .noviq-header-updates { width: 38px; }
  .noviq-profile-menu summary span { width: 36px; height: 36px; }
  .noviq-mobile-primary { padding-right: 2px; padding-left: 2px; }
  .noviq-mobile-primary a > b { font-size: 8px; }
}

.nhn-learn-hub .nhn-content { max-width: 1120px; }
.nhn-learn-section { margin-top: 34px; }
.nhn-learn-section > h2 { margin: 0 0 14px; color: var(--noviq-structure); font-size: 21px; }
.nhn-learn-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.nhn-learn-grid > a {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--noviq-line);
  border-radius: 18px;
  background: #fff;
  color: var(--noviq-structure);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(16,33,64,.06);
}
.nhn-learn-grid > a:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(16,33,64,.1); }
.nhn-learn-grid span { color: var(--noviq-action); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.nhn-learn-grid h3 { margin: 12px 0 8px; font-size: 23px; }
.nhn-learn-grid p { margin: 0 0 20px; color: #637086; line-height: 1.6; }
.nhn-learn-grid b { margin-top: auto; color: var(--noviq-action); }
.nhn-learn-empty {
  margin-top: 30px;
  padding: 50px 30px;
  border: 1px dashed var(--noviq-line);
  border-radius: 18px;
  background: #fff;
  text-align: center;
}
.nhn-learn-empty > span { color: var(--noviq-gold); font-size: 42px; }
.nhn-learn-empty h2 { margin: 12px 0 8px; color: var(--noviq-structure); }
.nhn-learn-empty p { margin: 0; color: #637086; }

@media (max-width: 900px) {
  .nhn-learn-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 560px) {
  .nhn-learn-grid { grid-template-columns: 1fr; }
  .nhn-learn-grid > a { min-height: 180px; }
}
