.paint-product-options {
  min-width: 0;
  max-width: 100%;
  margin-block: 1rem;
  color: var(--ink, #18312d);
  font-family: var(--sans, sans-serif);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.paint-product-options *,
.paint-product-options *::before,
.paint-product-options *::after { box-sizing: border-box; min-width: 0; }
.paint-product-options [hidden] { display: none !important; }
.paint-product-options h2 { margin: 0 0 .5rem; font-size: 1.35rem; line-height: 1.25; letter-spacing: -.025em; }
.paint-product-options h3 { margin: 0; font-size: 1.05rem; line-height: 1.35; letter-spacing: -.015em; }
.paint-product-options p { margin: 0; color: var(--muted, #63736c); }
.paint-product-options .paint-product-intro,
.paint-product-options .paint-product-note { font-size: .8rem; }
.paint-product-options .paint-product-help { margin-top: .75rem; padding: .85rem; border-left: 3px solid var(--clay, #d69572); background: var(--paper-deep, #efe8db); font-size: .82rem; }
.paint-product-options .paint-product-note { margin-top: .8rem; }
.paint-product-options .paint-product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .85rem; margin-top: .9rem; }
.paint-product-options .paint-product-card { display: flex; flex-direction: column; gap: .8rem; padding: 1rem; border: 1px solid var(--line, #d7d7cc); border-radius: .5rem; background: var(--white, #fffdf8); }
.paint-product-options .paint-product-description { margin-top: .35rem; font-size: .76rem; }
.paint-product-options .paint-product-quantity { margin: 0; padding: .75rem; border-radius: .3rem; background: var(--paper, #f7f3ea); }
.paint-product-options .paint-product-quantity dt { font-size: .74rem; color: var(--muted, #63736c); }
.paint-product-options .paint-product-quantity dd { margin: .2rem 0 0; font-size: 1.15rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.4; }
.paint-product-options .paint-product-quantity dd.paint-product-waiting { font-size: .82rem; font-weight: 600; }
.paint-product-options .paint-product-tin-label { display: flex; flex-direction: column; gap: .4rem; font-size: .76rem; font-weight: 700; }
.paint-product-options .paint-product-tin-label select { width: 100%; max-width: 100%; min-height: 44px; padding: .55rem .65rem; border: 1px solid var(--line, #d7d7cc); border-radius: .3rem; background: var(--white, #fffdf8); color: var(--ink, #18312d); font: inherit; }
.paint-product-options .paint-product-tin-result { font-size: .82rem; color: var(--ink, #18312d); font-weight: 700; }
.paint-product-options .paint-product-allowance { font-size: .73rem; }
.paint-product-options .paint-product-use { width: 100%; min-height: 44px; margin-top: auto; padding: .7rem .8rem; border: 1px solid var(--spruce, #164b43); border-radius: .3rem; color: var(--paper, #f7f3ea); background: var(--spruce, #164b43); font: inherit; font-size: .8rem; font-weight: 800; white-space: normal; cursor: pointer; }
.paint-product-options .paint-product-use:hover:not(:disabled) { background: var(--spruce-dark, #103a34); }
.paint-product-options .paint-product-use:disabled { color: var(--muted, #63736c); background: var(--paper-deep, #efe8db); border-color: var(--line, #d7d7cc); cursor: default; }
.paint-product-options a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; padding-block: .5rem; color: var(--spruce, #164b43); font-size: .78rem; font-weight: 700; text-decoration: underline; text-underline-offset: .18em; }
.paint-product-options .paint-product-provenance { padding-top: .6rem; border-top: 1px solid var(--line, #d7d7cc); font-size: .73rem; }
.paint-product-options .paint-product-provenance summary { min-height: 44px; padding-block: .65rem; color: var(--ink, #18312d); font-weight: 700; cursor: pointer; }
.paint-product-options .paint-product-provenance p + p { margin-top: .5rem; }
.paint-product-options :is(button, select, a, summary):focus-visible { outline: 3px solid var(--clay, #d69572); outline-offset: 3px; }
.paint-product-options .paint-product-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (max-width: 440px) {
  .paint-product-options .paint-product-grid { grid-template-columns: minmax(0, 1fr); }
  .paint-product-options .paint-product-card { padding: .85rem; }
}

/* Comparison is not a materials list. The parent prints explicit selected facts. */
@media print {
  .paint-product-options { display: none !important; }
}

:is(.calculator-page, [data-project-workspace="room-painting"]) [data-paint-manual] > summary { min-height: 44px; padding: .7rem .2rem; font-weight: 700; cursor: pointer; }
