/* Smokable's additions to the shared ACGAO product CSS: the session control in the shared header,
   the sub-navigation (CoreView's cv-nav, renamed sm-nav), the product links row, and marketing extras.
   The product accent lives in /styles.css; nothing here changes the shared header or footer. */

/* product.css gives .product-design a default accent; carry the product accent from /styles.css onto it. */
main.product-design { --product-accent: #ff6363; }

/* Session control, in .gh-head-actions after "Visit ACGAO" (Web.md, Header). */
.session-control { display: flex; align-items: center; gap: 1.2rem; margin-left: 2rem; font-size: 1.4rem; }
.session-control form { margin: 0; }
.session-control .who { color: #d8d8e2; max-width: 22ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn.apple { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; border: 1px solid #f5f5f8; border-radius: 10px; background: #f5f5f8; color: #000; font: inherit; font-size: 1.4rem; font-weight: 600; line-height: 1.2; padding: 1rem 1.6rem; min-height: 44px; cursor: pointer; white-space: nowrap; transition: background .16s, border-color .16s; }
.btn.apple:hover { background: #d8d8e2; border-color: #d8d8e2; }
.btn.apple .apple-logo { width: 18px; height: 18px; flex: none; margin-top: -2px; }
.btn.apple.large { font-size: 1.6rem; padding: 1.2rem 2.4rem; min-height: 48px; }
.session-control .btn.ghost { background: transparent; border: 1px solid #80809a; border-radius: 10px; color: #f5f5f8; font: inherit; font-size: 1.4rem; font-weight: 600; padding: .8rem 1.4rem; min-height: 44px; cursor: pointer; }
.session-control .btn.ghost:hover { background: #2b2b3c; }
.session-control :focus-visible { outline: 2px solid #8ec5ff; outline-offset: 3px; }
@media (max-width: 767px) {
  .session-control { margin: 2.4rem 0 0; flex-direction: column; gap: 1.2rem; font-size: 1.6rem; }
  .session-control .who { max-width: 80vw; }
}

/* Sub-navigation. */
.sm-nav { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 1.8rem 0; border-top: 1px solid #3b3b4d; border-bottom: 1px solid #3b3b4d; }
.product-design .sm-nav { margin-top: 2.4rem; }
.sm-wordmark, .dash .sm-wordmark { display: flex; align-items: center; gap: 1.6rem; color: #f5f5f8; font-size: 2rem; font-weight: 650; letter-spacing: -.03em; text-decoration: none; }
.sm-wordmark span { color: #aaaabb; font-size: 1.2rem; font-weight: 400; letter-spacing: 0; border-left: 1px solid #3b3b4d; padding-left: 1.6rem; }
.sm-nav > div { display: flex; gap: 2.4rem; font-size: 1.3rem; }
.sm-nav > div a, .dash .sm-nav > div a { color: #aaaabb; text-decoration: none; padding: .6rem 0; border-bottom: 2px solid transparent; }
.sm-nav > div a:hover, .dash .sm-nav > div a:hover { color: #f5f5f8; opacity: 1; }
.sm-nav > div a[aria-current="page"], .dash .sm-nav > div a[aria-current="page"] { color: #f5f5f8; border-bottom-color: #ff6363; }
.sm-nav a:focus-visible { outline: 2px solid #8ec5ff; outline-offset: 4px; }
@media (max-width: 767px) {
  .sm-wordmark span { display: none; }
  .sm-nav > div { gap: 1.6rem; }
}

/* Product links row at the end of every main. */
.sm-product-links { display: flex; flex-wrap: wrap; gap: .8rem 2.4rem; margin-top: 6.4rem; padding-top: 2.4rem; border-top: 1px solid #3b3b4d; font-size: 1.4rem; }
.sm-product-links a { color: #aaaabb; text-decoration: none; }
.sm-product-links a:hover, .sm-product-links a[aria-current="page"] { color: #f5f5f8; opacity: 1; }

/* Marketing extras. */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sm-icon-stage { display: flex; align-items: center; justify-content: center; min-height: 440px; }
.sm-icon-stage img { width: min(100%, 320px); border-radius: 22%; box-shadow: 0 28px 70px rgb(0 0 0 / 28%); }
.sm-evidence { margin: 0; padding: 3.2rem; border: 1px solid #3b3b4d; border-radius: 20px; background: radial-gradient(ellipse at 80% 0%, color-mix(in srgb, var(--product-accent) 10%, transparent), transparent 60%), #171722; }
.sm-evidence ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.sm-evidence li { padding: 1.4rem 1.8rem; border: 1px solid #3b3b4d; border-radius: 12px; background: #252535; color: #f5f5f8; font-size: 1.6rem; font-weight: 550; font-variant-numeric: tabular-nums; }
.sm-center .product-section-heading { margin-inline: auto; text-align: center; }
.product-design .sm-details-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-design .product-details .product-small { margin-top: 2.4rem; }
.sm-page-head { max-width: 760px; padding-block: 5.6rem 3.2rem; }
.sm-page-head .product-actions { margin-top: 2.4rem; }
.sm-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.sm-step { padding: 3rem; border: 1px solid #3b3b4d; border-radius: 16px; background: #252535; }
.product-design .sm-step h2 { font-size: 2.6rem; }
.sm-step p:not(.product-section-label) { margin-top: 1.4rem; color: var(--product-muted); font-size: 1.6rem; }
.sm-about { max-width: 68ch; padding-block: 2.4rem; border-top: 1px solid #3b3b4d; }
.product-design .sm-about h2 { font-size: 2.4rem; }
.sm-about p { margin-top: 1.2rem; color: var(--product-muted); }
.product-design .sm-trademarks h2 { font-size: 1.6rem; letter-spacing: 0; }
.sm-trademarks p { font-size: 1.4rem; }
.sm-search { display: grid; gap: .8rem; max-width: 520px; margin-bottom: 2.4rem; }
.sm-search label { color: #f5f5f8; font-size: 1.4rem; font-weight: 600; }
.sm-search-row { display: flex; gap: 1.2rem; }
.sm-search input { flex: 1; min-width: 0; min-height: 48px; padding: 1rem 1.4rem; border: 1px solid #80809a; border-radius: 10px; background: #252535; color: #f5f5f8; font: inherit; font-size: 1.6rem; }
.sm-search input:focus { outline: 2px solid #8ec5ff; outline-offset: 2px; }
.sm-table-wrap { overflow-x: auto; border: 1px solid #3b3b4d; border-radius: 16px; background: #252535; }
.sm-grills { width: 100%; border-collapse: collapse; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.sm-grills th, .sm-grills td { padding: 1.2rem 1.6rem; text-align: left; border-bottom: 1px solid #3b3b4d; vertical-align: top; }
.sm-grills thead th { color: #aaaabb; font-size: 1.2rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; background: #2b2b3c; white-space: nowrap; }
.sm-grills tbody th { color: #f5f5f8; font-weight: 600; }
.sm-grills tbody tr:last-child > * { border-bottom: 0; }
.sm-grills tr[hidden] { display: none; }
.sm-sub { display: block; color: #aaaabb; font-size: 1.3rem; font-weight: 400; }
.sm-status { white-space: nowrap; font-weight: 600; }
.sm-status.ok { color: #57d08a; }
.sm-status.no { color: #f2b84b; }
.sm-count { margin-top: 1.2rem; color: #aaaabb; font-size: 1.4rem; }
@media (max-width: 899px) {
  .product-design .sm-details-2, .sm-steps { grid-template-columns: 1fr; }
  .sm-icon-stage { min-height: 0; }
  .sm-icon-stage img { width: min(100%, 220px); }
}
@media (max-width: 599px) {
  .sm-evidence, .sm-step { padding: 2rem; }
  .sm-page-head { padding-block: 4rem 2.4rem; }
  .sm-grills th, .sm-grills td { padding: 1rem 1.2rem; }
  .sm-search-row { flex-direction: column; }
}
