/* Product-only styles layered over the signed design sheets.
 *
 * The signed review page relied on inline style blocks and a skip link supplied
 * by the surrounding review shell. The product ships a strict content security
 * policy, so those rules live here instead.
 */

.skip {
  position: fixed;
  inset: 0.5rem auto auto 0.5rem;
  z-index: 5;
  padding: 0.75rem 1rem;
  background: #fff;
  color: #2f45a5;
  border-radius: 6px;
}
.skip:not(:focus) {
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

noscript .panel {
  margin: 2rem auto;
  max-width: 40rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #d8dfeb;
  border-radius: 14px;
}

/* Replaces a shipped inline style attribute, which the content security
   policy blocks. */
#taxmeld-wire .stack-offset { margin-top: 8px; }

/* A printed estimate keeps the figures and drops the navigation and the
   worksheet rails. The print handlers open every collapsed result section so
   the paper copy carries the same amounts as the screen. */
@media print {
  .tw-header,
  .rail-info,
  .rail-work,
  .tool-shelf,
  .result-tool-jump,
  .tw-flow,
  .calc-switch {
    display: none !important;
  }
  .calc-shell {
    display: block;
  }
  .calc-center {
    width: auto;
  }
  .tw-page {
    padding: 0;
  }
  .tw-summary,
  .tw-card {
    break-inside: avoid;
  }
}
