/* Distribution Club — product spec site. Plain black text on white. One font. No colour. */

html {
  font-size: 17px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

header,
main,
footer {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

header {
  padding-top: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #d9d9d9;
}

header .site {
  margin: 0 0 0.5rem 0;
  font-weight: 600;
  letter-spacing: 0.01em;
}

header .site a {
  text-decoration: none;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav li {
  display: inline;
  margin-right: 0.9rem;
  white-space: nowrap;
}

nav a {
  color: #000;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  text-decoration: underline;
}

main {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
}

h1 {
  font-size: 1.9rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.3rem;
  margin-top: 3rem;
  margin-bottom: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #d9d9d9;
}

h3 {
  font-size: 1.05rem;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

p {
  margin: 0 0 1rem 0;
}

.lede {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.meta {
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.toc {
  margin: 0 0 1rem 0;
  padding-left: 1.25rem;
}

.toc li {
  margin: 0.15rem 0;
}

ul,
ol {
  margin: 0 0 1rem 0;
  padding-left: 1.5rem;
}

li {
  margin: 0.3rem 0;
}

li > ul,
li > ol {
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
}

dl {
  margin: 0 0 1rem 0;
}

dt {
  font-weight: 600;
  margin-top: 0.75rem;
}

dd {
  margin: 0.2rem 0 0 0;
}

a {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

strong {
  font-weight: 600;
}

code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
}

hr {
  border: 0;
  border-top: 1px solid #d9d9d9;
  margin: 2rem 0;
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 1.25rem 0;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
  line-height: 1.45;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.5rem 0.75rem 0.5rem 0;
  border-bottom: 1px solid #e0e0e0;
}

th {
  font-weight: 600;
  border-bottom: 1px solid #999;
}

tr:last-child td {
  border-bottom-width: 1px;
}

footer {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
  border-top: 1px solid #d9d9d9;
  font-size: 0.95rem;
}

.pager {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pager a {
  text-decoration: none;
}

.pager a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  html {
    font-size: 16px;
  }
  h1 {
    font-size: 1.6rem;
  }
  nav li {
    display: block;
    margin: 0.2rem 0;
  }
  .pager {
    flex-direction: column;
  }
}

@media print {
  header,
  footer nav {
    display: none;
  }
  body {
    font-size: 11pt;
  }
}


/* The hidden attribute must always win over display rules on the UI pieces */

[hidden] {
  display: none !important;
}

/* Comments and highlights (comments.js) */

mark.dc-hl {
  background: #eeeeee;
  color: inherit;
  border-bottom: 1px solid #888;
  cursor: pointer;
}

mark.dc-hl:hover,
mark.dc-hl:focus {
  background: #d4d4d4;
  outline: none;
}

.dc-addbtn,
.dc-btn {
  font: inherit;
  font-size: 0.9rem;
  background: #000;
  color: #fff;
  border: 1px solid #000;
  padding: 0.3rem 0.7rem;
  cursor: pointer;
}

.dc-addbtn {
  position: absolute;
  z-index: 20;
}

.dc-btn-quiet {
  background: #fff;
  color: #000;
}

.dc-pop {
  position: absolute;
  z-index: 21;
  width: min(22rem, calc(100vw - 2rem));
  background: #fff;
  border: 1px solid #000;
  padding: 0.75rem;
  box-shadow: 0 2px 0 #000;
}

.dc-pop .dc-quote {
  font-size: 0.9rem;
  border-left: 2px solid #000;
  padding-left: 0.5rem;
  margin: 0 0 0.5rem;
}

.dc-text {
  font: inherit;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #000;
  padding: 0.4rem;
  margin: 0 0 0.5rem;
  resize: vertical;
}

.dc-row {
  display: flex;
  gap: 0.5rem;
}

.dc-panel {
  margin-top: 3rem;
}

.dc-panel .dc-quote {
  border-left: 2px solid #000;
  padding-left: 0.5rem;
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
}

.dc-list li {
  margin: 0 0 1.25rem;
}

.dc-muted {
  font-size: 0.9rem;
  color: #555;
}

.dc-flash {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  z-index: 30;
}

@media print {
  .dc-addbtn,
  .dc-pop,
  .dc-flash {
    display: none;
  }
}

/* Comment threads */

mark.dc-hl-replied {
  border-bottom: 3px double #000;
}

.dc-thread {
  margin: 0 0 0.6rem;
}

.dc-msg {
  border-top: 1px solid #ccc;
  padding: 0.4rem 0;
}

.dc-msg-claude {
  border-left: 3px solid #000;
  padding-left: 0.5rem;
}

.dc-msg-head {
  font-size: 0.8rem;
  color: #555;
  margin: 0 0 0.15rem;
}

.dc-msg-text {
  margin: 0;
  font-size: 0.95rem;
}

.dc-thread-inline {
  margin: 0.4rem 0 0 1rem;
}

.dc-pop .dc-thread {
  max-height: 40vh;
  overflow-y: auto;
}

/* Side panel: Claude's replies */

.dc-side-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 25;
  font: inherit;
  font-size: 0.9rem;
  background: #fff;
  color: #000;
  border: 1px solid #000;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.dc-side-toggle:hover,
.dc-side-toggle:focus-visible {
  background: #000;
  color: #fff;
  outline: none;
}

.dc-count {
  font-size: 0.8rem;
  border: 1px solid currentColor;
  padding: 0 0.4rem;
  line-height: 1.4;
}

.dc-unread {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #000;
  color: #fff;
  padding: 0.1rem 0.4rem;
  margin-left: 0.5rem;
}

.dc-side-toggle:hover .dc-unread,
.dc-side-toggle:focus-visible .dc-unread {
  background: #fff;
  color: #000;
}

.dc-wait {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid #000;
  padding: 0.05rem 0.4rem;
  margin-left: 0.5rem;
}

.dc-side {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 22rem;
  max-width: 100vw;
  background: #fff;
  border-left: 1px solid #d9d9d9;
  z-index: 24;
  display: flex;
  flex-direction: column;
  font-size: 0.92rem;
}

body.dc-side-open {
  padding-right: 22rem;
}

.dc-side-head {
  padding: 3.5rem 1rem 0.75rem;
  border-bottom: 1px solid #d9d9d9;
}

.dc-side-title {
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.dc-filters {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.dc-filter {
  font: inherit;
  font-size: 0.8rem;
  background: #fff;
  color: #000;
  border: 1px solid #000;
  padding: 0.15rem 0.55rem;
  cursor: pointer;
}

.dc-filter-on,
.dc-filter:hover {
  background: #000;
  color: #fff;
}

.dc-side-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 1rem 1rem;
}

.dc-side-page {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #555;
  margin: 1rem 0 0.25rem;
}

.dc-item {
  border-top: 1px solid #ccc;
  padding: 0.6rem 0 0.6rem 0.6rem;
  border-left: 3px solid transparent;
}

.dc-item-new {
  border-left-color: #000;
}

.dc-item-meta {
  font-size: 0.78rem;
  color: #555;
  margin: 0 0 0.25rem;
}

.dc-item .dc-quote {
  font-size: 0.85rem;
  border-left: 2px solid #000;
  padding-left: 0.4rem;
  margin: 0 0 0.3rem;
  color: #333;
}

.dc-item-you {
  margin: 0 0 0.4rem;
}

.dc-item .dc-msg {
  border-top: 0;
  padding: 0.25rem 0 0.25rem 0.5rem;
  margin: 0 0 0.3rem;
}

.dc-item-actions {
  font-size: 0.85rem;
  margin: 0.2rem 0 0;
}

.dc-side-foot {
  border-top: 1px solid #d9d9d9;
  padding: 0.6rem 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  body.dc-side-open {
    padding-right: 0;
  }
  .dc-side {
    width: 100vw;
  }
}

@media print {
  .dc-side-toggle,
  .dc-side {
    display: none;
  }
  body.dc-side-open {
    padding-right: 0;
  }
}

/* Left contents column (contents.js) */

.dc-contents {
  display: none;
}

@media (min-width: 1100px) {
  body.dc-left {
    padding-left: 16rem;
  }

  .dc-contents {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 16rem;
    box-sizing: border-box;
    overflow-y: auto;
    border-right: 1px solid #d9d9d9;
    padding: 2rem 1.25rem 2rem 1.5rem;
    font-size: 0.9rem;
    line-height: 1.45;
    background: #fff;
    z-index: 23;
  }

  body.dc-left header nav,
  body.dc-left main ol.toc,
  body.dc-left main .dc-toc-label {
    display: none;
  }

  body.dc-left header {
    border-bottom: 0;
    padding-bottom: 0;
  }

  body.dc-left header .site {
    display: none;
  }

  body.dc-left main {
    padding-top: 1rem;
  }
}

.dc-contents-site {
  font-weight: 600;
  margin: 0 0 1.5rem;
}

.dc-contents-site a {
  text-decoration: none;
}

.dc-contents-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #555;
  margin: 0 0 0.5rem;
}

.dc-contents-list,
.dc-contents-sub {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dc-contents-list > li {
  margin: 0;
}

.dc-contents-list > li > a {
  display: block;
  padding: 0.3rem 0;
  text-decoration: none;
  border-bottom: 1px solid #e6e6e6;
}

.dc-contents-list > li > a:hover,
.dc-contents-list > li > a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.dc-contents-list > li > a[aria-current="page"] {
  font-weight: 600;
}

.dc-contents-sub {
  margin: 0.25rem 0 0.75rem 0.4rem;
  padding-left: 0.75rem;
  border-left: 1px solid #c8c8c8;
  font-size: 0.85rem;
}

.dc-contents-sub li {
  margin: 0;
}

.dc-contents-sub a {
  display: block;
  padding: 0.2rem 0;
  text-decoration: none;
  color: #333;
}

.dc-contents-sub a:hover,
.dc-contents-sub a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.dc-contents-sub a[aria-current="location"] {
  font-weight: 600;
  color: #000;
}

.dc-contents-foot {
  margin: 1.5rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid #d9d9d9;
  font-size: 0.85rem;
}

@media print {
  .dc-contents {
    display: none;
  }
  body.dc-left {
    padding-left: 0;
  }
}

/* Contents drawer on narrow screens */

.dc-contents-toggle,
.dc-contents-close {
  font: inherit;
  font-size: 0.9rem;
  background: #fff;
  color: #000;
  border: 1px solid #000;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
}

.dc-contents-toggle {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 25;
  display: none;
}

.dc-contents-close {
  display: none;
  margin: 0 0 1rem;
}

body.dc-left header nav {
  display: none;
}

body.dc-left header {
  padding-top: 4rem;
}

@media (max-width: 1099px) {
  .dc-contents-toggle {
    display: inline-block;
  }

  body.dc-contents-open .dc-contents {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(20rem, 100vw);
    box-sizing: border-box;
    overflow-y: auto;
    background: #fff;
    border-right: 1px solid #d9d9d9;
    padding: 1rem 1.25rem 2rem 1.5rem;
    z-index: 26;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  body.dc-contents-open .dc-contents-close {
    display: inline-block;
  }

  body.dc-contents-open .dc-contents-toggle {
    display: none;
  }
}

@media (min-width: 1100px) {
  body.dc-left header {
    padding-top: 2rem;
  }
}

@media print {
  .dc-contents-toggle {
    display: none;
  }
}
