/* Screen presentation shared by the resource batch. Print remains controlled
   by each template page's existing inline print rules. */
@media screen {
  body.startup-guide.resource-batch {
    --batch-paper: #f8faf7;
    --batch-ink: #123b27;
    --batch-copy: #43584a;
    --batch-muted: #66796a;
    --batch-line: #d8e7d3;
    --batch-leaf: #34832e;
    --batch-wash: #f5faf2;
    color-scheme: light;
    overflow-x: clip;
  }

  body.startup-guide.resource-batch header {
    position: sticky;
    top: 0;
    z-index: 20;
    min-width: 0;
  }

  body.startup-guide.resource-batch .article-wrap {
    width: min(100%, 1184px);
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 32px;
  }

  body.startup-guide.resource-batch article,
  body.startup-guide.resource-batch article > *,
  body.startup-guide.resource-batch .article-intro,
  body.startup-guide.resource-batch .tool-card,
  body.startup-guide.resource-batch .name-section,
  body.startup-guide.resource-batch .builder-wrap,
  body.startup-guide.resource-batch .download-box,
  body.startup-guide.resource-batch .estimate-template,
  body.startup-guide.resource-batch .contract-template,
  body.startup-guide.resource-batch .invoice-template {
    min-width: 0;
    max-width: 100%;
  }

  body.startup-guide.resource-batch article {
    color: var(--batch-copy);
  }

  body.startup-guide.resource-batch article h1,
  body.startup-guide.resource-batch article h2,
  body.startup-guide.resource-batch article h3 {
    overflow-wrap: anywhere;
  }

  body.startup-guide.resource-batch .article-intro {
    border-bottom: 0;
    box-shadow: inset 4px 0 0 var(--brand-grass);
  }

  body.startup-guide.resource-batch .tool-card,
  body.startup-guide.resource-batch .stage-card,
  body.startup-guide.resource-batch .criteria-card,
  body.startup-guide.resource-batch .name-section,
  body.startup-guide.resource-batch .builder-wrap,
  body.startup-guide.resource-batch .style-card,
  body.startup-guide.resource-batch .element-item,
  body.startup-guide.resource-batch .send-card,
  body.startup-guide.resource-batch .field-item,
  body.startup-guide.resource-batch .mistake-card,
  body.startup-guide.resource-batch .placement-card,
  body.startup-guide.resource-batch .sync-box,
  body.startup-guide.resource-batch .download-box,
  body.startup-guide.resource-batch .palette-card,
  body.startup-guide.resource-batch .criteria-card {
    border: 1px solid var(--brand-line);
    border-radius: 15px;
    color: var(--batch-copy);
    background: #fff;
    box-shadow: 0 6px 20px rgba(18, 59, 39, .045);
  }

  body.startup-guide.resource-batch .tool-card {
    padding: clamp(18px, 3vw, 28px);
    border-top: 3px solid var(--brand-grass);
    margin: 22px 0;
  }

  body.startup-guide.resource-batch .tool-name,
  body.startup-guide.resource-batch .stage-name,
  body.startup-guide.resource-batch .criteria-title,
  body.startup-guide.resource-batch .name-section-title,
  body.startup-guide.resource-batch .builder-title,
  body.startup-guide.resource-batch .style-title,
  body.startup-guide.resource-batch .element-title,
  body.startup-guide.resource-batch .field-title,
  body.startup-guide.resource-batch .send-title,
  body.startup-guide.resource-batch .placement-title,
  body.startup-guide.resource-batch .mistake-title,
  body.startup-guide.resource-batch .sync-box-name,
  body.startup-guide.resource-batch .tool-verdict-label {
    color: var(--brand-forest);
    font-family: "Archivo Black", sans-serif;
    font-weight: 400;
  }

  body.startup-guide.resource-batch .tool-price,
  body.startup-guide.resource-batch .tool-badge,
  body.startup-guide.resource-batch .name-count,
  body.startup-guide.resource-batch .style-tag.best,
  body.startup-guide.resource-batch .style-tag.good {
    max-width: 100%;
    border: 1px solid var(--brand-line-strong);
    border-radius: 100px;
    padding: 4px 10px;
    color: var(--brand-forest);
    background: var(--brand-grass-pale);
    font-weight: 700;
    overflow-wrap: anywhere;
  }

  body.startup-guide.resource-batch .tool-tagline,
  body.startup-guide.resource-batch .section-subtitle,
  body.startup-guide.resource-batch .tier-subtitle,
  body.startup-guide.resource-batch .stage-label,
  body.startup-guide.resource-batch .criteria-num,
  body.startup-guide.resource-batch .builder-desc,
  body.startup-guide.resource-batch .name-section p,
  body.startup-guide.resource-batch .style-desc,
  body.startup-guide.resource-batch .element-desc,
  body.startup-guide.resource-batch .placement-note,
  body.startup-guide.resource-batch .field-desc,
  body.startup-guide.resource-batch .send-desc,
  body.startup-guide.resource-batch .avail-detail,
  body.startup-guide.resource-batch .mistake-detail,
  body.startup-guide.resource-batch .tool-price.paid {
    color: var(--batch-muted);
  }

  body.startup-guide.resource-batch .tool-pros,
  body.startup-guide.resource-batch .tool-cons,
  body.startup-guide.resource-batch .tool-verdict,
  body.startup-guide.resource-batch .stage-card,
  body.startup-guide.resource-batch .criteria-card,
  body.startup-guide.resource-batch .name-item,
  body.startup-guide.resource-batch .builder-word,
  body.startup-guide.resource-batch .builder-example-pill,
  body.startup-guide.resource-batch .notif-icon,
  body.startup-guide.resource-batch .send-icon,
  body.startup-guide.resource-batch .field-num,
  body.startup-guide.resource-batch .avail-step,
  body.startup-guide.resource-batch .element-num,
  body.startup-guide.resource-batch .style-icon,
  body.startup-guide.resource-batch .deduction-icon {
    border-color: var(--brand-line);
    color: var(--batch-copy);
    background: var(--brand-grass-wash);
  }

  body.startup-guide.resource-batch .stage-price,
  body.startup-guide.resource-batch .eval-num,
  body.startup-guide.resource-batch .step-content strong,
  body.startup-guide.resource-batch .notif-title,
  body.startup-guide.resource-batch .deduction-title,
  body.startup-guide.resource-batch .avail-title {
    color: var(--brand-forest);
  }

  body.startup-guide.resource-batch .tool-pros-label,
  body.startup-guide.resource-batch .tool-verdict-label,
  body.startup-guide.resource-batch .builder-label,
  body.startup-guide.resource-batch .builder-examples-label,
  body.startup-guide.resource-batch .style-tag,
  body.startup-guide.resource-batch .notif-platforms strong,
  body.startup-guide.resource-batch .deduction-detail strong,
  body.startup-guide.resource-batch .mistake-detail strong {
    color: var(--brand-grass);
  }

  body.startup-guide.resource-batch .table-wrap,
  body.startup-guide.resource-batch .batch-table-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 22px 0 30px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    border: 1px solid var(--brand-line);
    border-radius: 12px;
    background: #fff;
    scrollbar-color: var(--brand-line-strong) var(--brand-grass-wash);
  }

  body.startup-guide.resource-batch .table-wrap:focus-visible,
  body.startup-guide.resource-batch .batch-table-wrap:focus-visible {
    outline: 3px solid var(--brand-grass);
    outline-offset: 3px;
  }

  body.startup-guide.resource-batch .table-wrap > .data-table,
  body.startup-guide.resource-batch .batch-table-wrap > .data-table,
  body.startup-guide.resource-batch .batch-table-wrap > .tier-table {
    width: 100%;
    min-width: 610px;
    margin: 0;
    border: 0;
    border-radius: 0;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--batch-copy);
    background: #fff;
  }

  body.startup-guide.resource-batch .data-table th,
  body.startup-guide.resource-batch .tier-table th {
    padding: 12px 14px;
    border-bottom: 1px solid var(--brand-line);
    color: var(--brand-forest);
    background: var(--brand-grass-pale);
    font-family: "Archivo Black", sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .055em;
    text-align: left;
  }

  body.startup-guide.resource-batch .data-table td,
  body.startup-guide.resource-batch .tier-table td {
    padding: 11px 14px;
    border-bottom: 1px solid #e7efe4;
    color: var(--batch-copy);
    line-height: 1.5;
    vertical-align: top;
  }

  body.startup-guide.resource-batch .data-table tr:last-child td,
  body.startup-guide.resource-batch .tier-table tr:last-child td { border-bottom: 0; }

  body.startup-guide.resource-batch .data-table tr:hover td,
  body.startup-guide.resource-batch .tier-table tr:hover td { background: var(--brand-grass-wash); }

  body.startup-guide.resource-batch .data-table td:first-child,
  body.startup-guide.resource-batch .tier-table td:first-child {
    color: var(--brand-forest);
    font-weight: 700;
  }

  body.startup-guide.resource-batch .check,
  body.startup-guide.resource-batch .license-no,
  body.startup-guide.resource-batch .margin-high { color: var(--brand-grass); }

  body.startup-guide.resource-batch .partial { color: var(--batch-muted); }
  body.startup-guide.resource-batch .no { color: #9aa99b; }

  body.startup-guide.resource-batch .name-section,
  body.startup-guide.resource-batch .builder-wrap { padding: clamp(18px, 3vw, 28px); }

  body.startup-guide.resource-batch .name-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 175px), 1fr));
    gap: 8px;
  }

  body.startup-guide.resource-batch .name-item {
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid var(--brand-line);
    border-radius: 9px;
    color: var(--batch-ink);
    background: var(--brand-grass-wash);
    overflow-wrap: anywhere;
  }

  body.startup-guide.resource-batch .builder-cols {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    min-width: 0;
  }

  body.startup-guide.resource-batch .builder-col,
  body.startup-guide.resource-batch .builder-col-items { min-width: 0; }

  body.startup-guide.resource-batch .builder-word {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  body.startup-guide.resource-batch .name-section-title,
  body.startup-guide.resource-batch .builder-title,
  body.startup-guide.resource-batch .tool-name,
  body.startup-guide.resource-batch .tool-tagline,
  body.startup-guide.resource-batch .tool-price,
  body.startup-guide.resource-batch .tool-badge { overflow-wrap: anywhere; }

  body.startup-guide.resource-batch .style-grid,
  body.startup-guide.resource-batch .criteria-grid,
  body.startup-guide.resource-batch .palette-grid,
  body.startup-guide.resource-batch .placement-grid,
  body.startup-guide.resource-batch .send-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
    min-width: 0;
  }

  body.startup-guide.resource-batch .palette-card {
    overflow: hidden;
    background: #fff;
  }

  /* Keep the author-provided palette swatch colors as meaningful content. */
  body.startup-guide.resource-batch .palette-swatch { min-width: 0; }
  body.startup-guide.resource-batch .palette-info { min-width: 0; }

  body.startup-guide.resource-batch .download-box {
    padding: clamp(18px, 3vw, 26px);
    border: 1px solid var(--brand-line-strong);
    border-radius: 16px;
    background: var(--brand-grass-wash);
    box-shadow: 0 8px 24px rgba(18, 59, 39, .055);
  }

  body.startup-guide.resource-batch .download-box h3 { color: var(--brand-forest); }
  body.startup-guide.resource-batch .download-links { min-width: 0; }
  body.startup-guide.resource-batch .download-link {
    border: 1px solid var(--brand-grass);
    border-radius: 100px;
    color: #fff;
    background: var(--brand-grass);
    font-family: "Archivo Black", sans-serif;
    font-weight: 400;
    overflow-wrap: anywhere;
  }

  body.startup-guide.resource-batch .download-link:hover {
    color: #fff;
    background: var(--brand-grass-hover);
  }

  body.startup-guide.resource-batch .estimate-template,
  body.startup-guide.resource-batch .contract-template,
  body.startup-guide.resource-batch .invoice-template {
    color: #24392d;
    border: 1px solid #c9dbc4;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(18, 59, 39, .09);
  }

  body.startup-guide.resource-batch .est-print-btn button,
  body.startup-guide.resource-batch .ct-print-btn,
  body.startup-guide.resource-batch .inv-print-btn {
    border-color: var(--brand-grass);
    border-radius: 100px;
    color: var(--brand-forest);
    background: var(--brand-grass-pale);
    font-family: "Archivo Black", sans-serif;
  }

  body.startup-guide.resource-batch .est-print-btn button:hover,
  body.startup-guide.resource-batch .ct-print-btn:hover,
  body.startup-guide.resource-batch .inv-print-btn:hover {
    color: #fff;
    background: var(--brand-grass);
  }

  body.startup-guide.resource-batch .est-services-table,
  body.startup-guide.resource-batch .inv-services-table {
    width: 100%;
    table-layout: fixed;
  }

  body.startup-guide.resource-batch .est-services-table th,
  body.startup-guide.resource-batch .est-services-table td,
  body.startup-guide.resource-batch .inv-services-table th,
  body.startup-guide.resource-batch .inv-services-table td {
    overflow-wrap: anywhere;
  }

  body.startup-guide.resource-batch .ct-row,
  body.startup-guide.resource-batch .inv-payment-row { flex-wrap: wrap; }

  body.startup-guide.resource-batch .ct-row-label,
  body.startup-guide.resource-batch .inv-payment-key {
    min-width: min(120px, 38%);
  }

  body.startup-guide.resource-batch .est-doc-block,
  body.startup-guide.resource-batch .ct-doc-block,
  body.startup-guide.resource-batch .inv-doc-block { min-width: 0; }

  body.startup-guide.resource-batch .est-parties,
  body.startup-guide.resource-batch .ct-parties,
  body.startup-guide.resource-batch .ct-signatures { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  body.startup-guide.resource-batch .sync-flow {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }

  body.startup-guide.resource-batch .sync-box,
  body.startup-guide.resource-batch .sync-box ul,
  body.startup-guide.resource-batch .sync-box li { min-width: 0; overflow-wrap: anywhere; }

  body.startup-guide.resource-batch .article-cta {
    background: var(--brand-forest);
    border-color: var(--brand-forest);
  }

  @media (max-width: 860px) {
    body.startup-guide.resource-batch .article-wrap {
      grid-template-columns: minmax(0, 1fr);
      gap: 0;
    }

    body.startup-guide.resource-batch .builder-cols {
      grid-template-columns: minmax(0, 1fr);
      gap: 12px;
    }

    body.startup-guide.resource-batch .builder-plus { display: none; }
    body.startup-guide.resource-batch .sync-flow { grid-template-columns: minmax(0, 1fr); }
    body.startup-guide.resource-batch .sync-arrow { transform: rotate(90deg); padding: 8px 0; }
    body.startup-guide.resource-batch .est-parties,
    body.startup-guide.resource-batch .ct-parties,
    body.startup-guide.resource-batch .ct-signatures { grid-template-columns: minmax(0, 1fr); }
  }

  @media (max-width: 560px) {
    body.startup-guide.resource-batch .article-wrap { padding-inline: 14px; }
    body.startup-guide.resource-batch article { padding-inline: 18px; }
    body.startup-guide.resource-batch .tool-pros-cons { grid-template-columns: minmax(0, 1fr); }
    body.startup-guide.resource-batch .stage-grid { grid-template-columns: minmax(0, 1fr); }
    body.startup-guide.resource-batch .name-grid,
    body.startup-guide.resource-batch .criteria-grid,
    body.startup-guide.resource-batch .style-grid,
    body.startup-guide.resource-batch .palette-grid,
    body.startup-guide.resource-batch .placement-grid,
    body.startup-guide.resource-batch .send-grid { grid-template-columns: minmax(0, 1fr); }
    body.startup-guide.resource-batch .est-header,
    body.startup-guide.resource-batch .ct-header,
    body.startup-guide.resource-batch .inv-header { flex-direction: column; }
    body.startup-guide.resource-batch .est-doc-block,
    body.startup-guide.resource-batch .ct-doc-block,
    body.startup-guide.resource-batch .inv-doc-block { text-align: left; }
    body.startup-guide.resource-batch .estimate-template,
    body.startup-guide.resource-batch .contract-template,
    body.startup-guide.resource-batch .invoice-template { padding: 22px 16px; }
    body.startup-guide.resource-batch .est-services-table,
    body.startup-guide.resource-batch .inv-services-table { font-size: 12px; }
    body.startup-guide.resource-batch .est-services-table th,
    body.startup-guide.resource-batch .est-services-table td,
    body.startup-guide.resource-batch .inv-services-table th,
    body.startup-guide.resource-batch .inv-services-table td { padding: 8px 6px; }
    body.startup-guide.resource-batch .est-totals-block,
    body.startup-guide.resource-batch .inv-totals-block { width: min(100%, 240px); }
    body.startup-guide.resource-batch .ct-row { align-items: flex-start; }
    body.startup-guide.resource-batch .ct-row-value { text-align: left; }
  }

  @media (max-width: 360px) {
    body.startup-guide.resource-batch article { padding-inline: 14px; }
    body.startup-guide.resource-batch .article-wrap { padding-inline: 10px; }
    body.startup-guide.resource-batch .download-links { flex-direction: column; }
    body.startup-guide.resource-batch .download-link { width: 100%; }
    body.startup-guide.resource-batch .est-footer { flex-direction: column; }
    body.startup-guide.resource-batch .est-signature { text-align: left; }
    body.startup-guide.resource-batch .est-sig-line { margin-left: 0; max-width: 100%; }
  }
}
