/* Futkar — Business Plan / Catalogue / Calendar / Checklist (Print & PDF)
   Doc component styles stay on-screen for live preview.
   Global html/body remaps are print-only so they do not shrink the whole page. */
*, *::before, *::after { box-sizing: border-box; }

@media print {
  html, body {
    margin: 0;
    padding: 0;
    background: #fff;
    color: #1e293b;
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 10.5pt;
    line-height: 1.55;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

@page { size: A4; margin: 12mm 14mm; }

.biz-doc { max-width: 100%; margin: 0 auto; }

.biz-doc-accent {
  height: 4px;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, #059669 0%, #E06A12 50%, #E06A12 100%);
}
.biz-doc-accent--amber { background: linear-gradient(90deg, #d97706 0%, #f59e0b 50%, #ea580c 100%); }
.biz-doc-accent--teal { background: linear-gradient(90deg, #3D3832 0%, #3D5C36 50%, #E06A12 100%); }
.biz-doc-accent--rose { background: linear-gradient(90deg, #e11d48 0%, #f43f5e 50%, #ec4899 100%); }

.biz-doc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid #e2e8f0;
}

.biz-doc-eyebrow {
  font-size: 8pt;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #059669;
  margin: 0 0 0.35rem;
}
.biz-doc-accent--amber ~ * .biz-doc-eyebrow,
.biz-doc-eyebrow--amber { color: #d97706; }
.biz-doc-eyebrow--teal { color: #3D3832; }
.biz-doc-eyebrow--rose { color: #e11d48; }

.biz-doc-title-main {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.35rem;
  line-height: 1.25;
}

.biz-doc-subtitle {
  font-size: 10.5pt;
  color: #475569;
  margin: 0;
}

.biz-doc-meta-box { text-align: right; flex-shrink: 0; }
.biz-doc-meta-row { font-size: 9pt; color: #475569; margin: 0.15rem 0; }
.biz-doc-label { color: #64748b; }
.biz-doc-strong { font-weight: 700; color: #0f172a; }
.biz-doc-empty { color: #94a3b8; }

.biz-doc-section { margin-bottom: 1.35rem; }
.biz-doc-section-title {
  font-size: 8.5pt;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #059669;
  margin: 0 0 0.5rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #e2e8f0;
}
.biz-doc-section-title--amber { color: #d97706; }
.biz-doc-section-title--teal { color: #3D3832; }
.biz-doc-section-title--rose { color: #e11d48; }

.biz-doc-prose { font-size: 10pt; color: #334155; margin: 0 0 0.5rem; white-space: pre-line; }
.biz-doc-h3 { font-size: 10.5pt; font-weight: 700; color: #0f172a; margin: 0 0 0.25rem; }

.biz-doc-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.biz-doc-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }

.biz-doc-card {
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.75rem 0.9rem;
  background: #f8fafc;
}
.biz-doc-card p { margin: 0.15rem 0; font-size: 9.5pt; color: #334155; }

.biz-doc-table { width: 100%; border-collapse: collapse; font-size: 9.5pt; margin-bottom: 0.75rem; }
.biz-doc-table th, .biz-doc-table td { border: 1px solid #e2e8f0; padding: 0.45rem 0.6rem; text-align: left; vertical-align: top; }
.biz-doc-table thead th { background: #f1f5f9; color: #0f172a; font-weight: 700; font-size: 8.5pt; text-transform: uppercase; letter-spacing: 0.04em; }
.biz-doc-table tbody tr:nth-child(even) td { background: #fafbfc; }

.biz-doc-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  font-size: 7.5pt;
  font-weight: 700;
  border: 1px solid #cbd5e1;
  color: #475569;
}
.biz-doc-badge--good { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.biz-doc-badge--warn { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.biz-doc-badge--bad { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }

.biz-doc-footer { margin-top: 1.25rem; padding-top: 0.75rem; border-top: 1px solid #e2e8f0; font-size: 8.5pt; color: #64748b; text-align: center; }

/* Financial summary strip (business plan) */
.biz-doc-fin-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-bottom: 0.75rem; }
.biz-doc-fin-box { border-radius: 0.5rem; padding: 0.7rem 0.85rem; text-align: center; border: 1px solid #e2e8f0; }
.biz-doc-fin-box .biz-doc-fin-label { font-size: 7.5pt; text-transform: uppercase; letter-spacing: 0.06em; color: #64748b; margin: 0 0 0.2rem; }
.biz-doc-fin-box .biz-doc-fin-value { font-size: 12pt; font-weight: 800; color: #0f172a; margin: 0; }

/* Product catalogue print grid */
.biz-doc-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.biz-doc-product-card { border: 1px solid #e2e8f0; border-radius: 0.5rem; padding: 0.65rem 0.75rem; break-inside: avoid; }
.biz-doc-product-card .biz-doc-product-name { font-weight: 700; font-size: 9.5pt; color: #0f172a; margin: 0 0 0.15rem; }
.biz-doc-product-card .biz-doc-product-cat { font-size: 7.5pt; color: #64748b; text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 0.3rem; }
.biz-doc-product-card .biz-doc-product-price { font-weight: 700; color: #d97706; font-size: 10pt; }
.biz-doc-product-card .biz-doc-product-compare { font-size: 8pt; color: #94a3b8; text-decoration: line-through; margin-left: 0.3rem; }
.biz-doc-product-card .biz-doc-product-desc { font-size: 8.5pt; color: #475569; margin: 0.3rem 0 0; }
.biz-doc-product-card ul { margin: 0.3rem 0 0; padding-left: 1rem; font-size: 8.25pt; color: #475569; }

/* Marketing calendar print */
.biz-doc-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 1rem; }
.biz-doc-cal-head { font-size: 7.5pt; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; text-align: center; padding: 0.25rem 0; }
.biz-doc-cal-cell { min-height: 3.2rem; border: 1px solid #e2e8f0; padding: 0.2rem 0.3rem; font-size: 7.5pt; position: relative; }
.biz-doc-cal-daynum { font-weight: 700; color: #0f172a; font-size: 8pt; }
.biz-doc-cal-dot { display: block; margin-top: 0.15rem; padding: 0.05rem 0.25rem; border-radius: 0.2rem; background: #ecfeff; color: #0e7490; font-size: 6.75pt; line-height: 1.3; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* Daily checklist print */
.biz-doc-check-section { margin-bottom: 1rem; break-inside: avoid; }
.biz-doc-check-section h3 { font-size: 10pt; font-weight: 700; color: #0f172a; margin: 0 0 0.4rem; padding-bottom: 0.25rem; border-bottom: 1px solid #e2e8f0; }
.biz-doc-check-item { display: flex; align-items: flex-start; gap: 0.4rem; font-size: 9pt; color: #334155; padding: 0.2rem 0; }
.biz-doc-check-box { width: 10pt; height: 10pt; border: 1.5px solid #64748b; border-radius: 2px; flex-shrink: 0; margin-top: 0.15rem; position: relative; }
.biz-doc-check-item--done .biz-doc-check-box { background: #10b981; border-color: #10b981; }
.biz-doc-check-item--done .biz-doc-check-box::after { content: ''; position: absolute; left: 3px; top: 1px; width: 3px; height: 6px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.biz-doc-check-item--done span { text-decoration: line-through; color: #64748b; }

@media print {
  .biz-doc-accent { margin-bottom: 1.25rem; }
}
