/* Suite shell (kit 0.4.0): the same demonstration strip and the same header in Digital ID, Contracts and Strategic Plans.
   Load AFTER suite.css. Unlike suite.css this file sets a little layout, only for the strip and the brand. */

/* The demonstration strip: one quiet line, not a second header. */
body .demo-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 .9rem; padding: .3rem 1rem; background: #fbefd9; color: #3d2a05; border-bottom: 1px solid #e3cf9f; font-size: .875rem; line-height: 1.4; text-align: left; }
body .demo-banner strong { color: inherit; text-transform: none; letter-spacing: 0; margin-right: 0; }
body .demo-banner__text { flex: 0 1 auto; min-width: 0; }
body .demo-banner a, body .demo-banner a:hover, body .demo-banner .demo-linkbtn { color: inherit; margin-left: 0; text-decoration: underline; text-underline-offset: .18em; }
body .demo-banner .demo-linkbtn { min-height: 32px; padding: .2rem 0; font-size: inherit; font-weight: 600; }
body .demo-banner a:focus-visible, body .demo-banner .demo-linkbtn:focus-visible { outline: 3px solid #3d2a05; outline-offset: 2px; box-shadow: none; }

/* The header: ink, one height, a lettered mark and the product's name. */
body header.shell-header, body > header { background: var(--ink, #0d2b2e); background-image: none; box-shadow: none; }
body .shell-brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; font-weight: 700; font-size: 1.15rem; line-height: 1.2; text-decoration: none; }
body .shell-mark { display: inline-grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border: 1px solid rgba(255,255,255,.55); border-radius: 6px; font-size: .85rem; font-weight: 700; letter-spacing: .02em; color: #fff; }

/* Strategic Plans: a menu for narrow screens (its wide menu is hidden there). */
body .shell-menu { display: none; }
body .shell-menu summary { cursor: pointer; list-style: none; color: #fff; font-weight: 600; border: 1px solid rgba(255,255,255,.55); border-radius: 6px; padding: .5rem .9rem; min-height: 44px; display: inline-flex; align-items: center; }
body .shell-menu summary::-webkit-details-marker { display: none; }
body .shell-menu summary:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
body .shell-menu ul { position: absolute; left: 0; right: 0; z-index: 60; margin: 0; padding: 0; list-style: none; background: var(--ink, #0d2b2e); border-bottom: 1px solid rgba(255,255,255,.2); }
body .shell-menu li a { display: block; padding: .8rem 1.25rem; color: #fff; text-decoration: none; border-top: 1px solid rgba(255,255,255,.14); }
body .shell-menu li a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 767px) { body .shell-menu { display: block; } }

/* Narrow screens: the strip reads as one short paragraph, and Contracts' menu button and menu are visible on ink. */
@media (max-width: 640px) {
  body .demo-banner { display: block; font-size: .8rem; padding: .4rem 1rem; }
  body .demo-banner .demo-switch { display: inline; }
  body .demo-banner .demo-switch span { margin-right: .35rem; }
  body .demo-banner .demo-linkbtn { min-height: 28px; padding: 0; display: inline-block; }
}
@media (max-width: 768px) {
  body header .nav-toggle { width: 44px; height: 44px; padding: 10px 7px; }
  body header .nav-toggle-icon { background-color: #fff; }
  body header .nav-menu.nav-menu-active { background: var(--ink, #0d2b2e); }
  body header .nav-menu.nav-menu-active > li { border-color: rgba(255,255,255,.14); }
  body header .nav-menu.nav-menu-active a { color: #fff; background: transparent; }
  body header .nav-menu.nav-menu-active .nav-dropdown-menu { background: transparent; border: 0; box-shadow: none; }
}

/* Contracts on narrow screens: the menu opens under the header, not over the demonstration strip, and the signed-in name is readable. */
@media (max-width: 768px) {
  body header .navbar { position: relative; }
  body header .navbar > .container { position: static; }
  body header .navbar .nav-menu { position: absolute; top: 100%; left: 0; right: 0; width: auto; margin: 0; }
  body header .nav-menu.nav-menu-active .user-name, body header .nav-menu.nav-menu-active .user-info, body header .nav-menu.nav-menu-active .user-info * { color: #fff; }
}

/* Digital ID on narrow screens: its drop-down menu is the same ink as the header. */
@media (max-width: 968px) {
  body header nav .nav-links, body header nav .nav-links .nav-dropdown-menu { background: var(--ink, #0d2b2e); }
  body header nav .nav-links .nav-dropdown-menu a { color: #fff; background: transparent; }
  body header nav .nav-links .nav-dropdown-menu a i { color: #fff; }
}
