/* Batch 3 guide styles */
.p4-guide .eyebrow, .p4-guide .p4-label, .p4-guide .p4-num { font-size: .75rem; }
.p4-guide .article-body { min-width: 0; }
.guide-diagram { margin: 2rem 0; padding: 1.35rem; border-radius: 20px; border: 1px solid rgba(28, 22, 34, .14); background: rgba(255, 255, 255, .78); box-shadow: 0 16px 36px rgba(24, 18, 31, .06); }
.guide-diagram-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 1rem; padding-bottom: .85rem; margin-bottom: 1.15rem; border-bottom: 1px solid rgba(28, 22, 34, .12); }
.guide-diagram-title { margin: 0; color: var(--paper-ink); font-family: var(--font-display); font-size: 1.2rem; line-height: 1.25; }
.guide-diagram-kicker { color: #8f3b2b; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.format-flow-master { padding: 1rem 1.1rem; border-radius: 14px; border: 1px solid rgba(201, 91, 60, .34); background: linear-gradient(135deg, rgba(201, 91, 60, .1), rgba(215, 166, 90, .12)); margin-bottom: 1rem; }
.format-flow-master strong { display: block; color: var(--paper-ink); font-size: .96rem; margin-bottom: .25rem; }
.format-flow-master p { margin: 0 !important; color: var(--paper-muted); font-size: .88rem !important; line-height: 1.5 !important; }
.format-ratio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.format-ratio-card { display: flex; flex-direction: column; justify-content: space-between; padding: .9rem; border-radius: 14px; border: 1px solid rgba(28, 22, 34, .12); background: rgba(246, 239, 229, .72); }
.format-frame-stage { display: flex; align-items: center; justify-content: center; min-height: 128px; padding: .5rem; margin-bottom: .65rem; border-radius: 10px; background: rgba(23, 18, 29, .06); }
.format-frame-box { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: .35rem; border-radius: 6px; border: 2px solid #1c1622; background: #fffdf9; color: var(--paper-ink); font-size: .75rem; font-weight: 700; text-align: center; }
.format-frame-9x16 { width: 64px; height: 112px; }
.format-frame-4x5 { width: 80px; height: 100px; }
.format-frame-1x1 { width: 88px; height: 88px; }
.format-frame-16x9 { width: 124px; height: 70px; }
.format-safe-band { display: block; border-radius: 3px; background: rgba(201, 91, 60, .16); color: #7d3122; font-size: .75rem; line-height: 1.2; padding: .1rem .2rem; }
.format-safe-core { display: block; border: 1px dashed rgba(31, 106, 82, .65); background: rgba(31, 106, 82, .09); color: #185440; font-size: .75rem; line-height: 1.2; padding: .2rem; border-radius: 3px; }
.format-ratio-meta strong { display: block; color: var(--paper-ink); font-size: .92rem; margin-bottom: .2rem; }
.format-ratio-meta span { display: block; color: var(--paper-muted); font-size: .82rem; line-height: 1.45; }
.format-cutdown-bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; margin-top: .95rem; padding-top: .95rem; border-top: 1px solid rgba(28, 22, 34, .1); }
.format-cutdown-step { padding: .7rem .8rem; border-radius: 10px; background: rgba(28, 22, 34, .04); }
.format-cutdown-step strong { display: block; color: #8f3b2b; font-size: .82rem; margin-bottom: .15rem; }
.format-cutdown-step span { display: block; color: var(--paper-muted); font-size: .8rem; line-height: 1.4; }
.guide-table-wrap { margin: 1.5rem 0; overflow-x: auto; border-radius: 16px; border: 1px solid rgba(28, 22, 34, .12); background: rgba(255, 255, 255, .76); }
.guide-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .88rem; }
.guide-table th, .guide-table td { padding: .75rem .85rem; border-bottom: 1px solid rgba(28, 22, 34, .1); vertical-align: top; line-height: 1.48; }
.guide-table thead th { background: rgba(28, 22, 34, .05); color: var(--paper-ink); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.guide-table tbody th { color: var(--paper-ink); font-weight: 700; }
.guide-table tbody tr:last-child th, .guide-table tbody tr:last-child td { border-bottom: 0; }
.guide-table a { display: inline-block; padding-block: .22rem; }
.label-zone-sheets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.label-zone-face { padding: 1rem; border-radius: 14px; border: 2px dashed rgba(201, 91, 60, .45); background: #fffdf9; }
.label-zone-trim { padding: .85rem; border-radius: 10px; border: 1.5px solid #1c1622; background: rgba(246, 239, 229, .65); display: grid; gap: .55rem; }
.label-zone-face-tag { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; font-weight: 700; color: #8f3b2b; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .5rem; }
.label-zone-block { padding: .55rem .7rem; border-radius: 8px; border: 1px solid rgba(28, 22, 34, .14); background: rgba(255, 255, 255, .88); }
.label-zone-block strong { display: block; color: var(--paper-ink); font-size: .84rem; margin-bottom: .12rem; }
.label-zone-block span { display: block; color: var(--paper-muted); font-size: .78rem; line-height: 1.4; }
.label-zone-stamp { border-style: dashed; border-color: #1f6a52; background: rgba(31, 106, 82, .06); }
.guide-checklist-sheet { margin: 2rem 0; padding: 1.35rem; border-radius: 20px; border: 1px solid rgba(28, 22, 34, .16); background: #fffdf9; }
.guide-checklist-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; margin-top: 1rem; }
.guide-checklist-group { padding: .95rem 1rem; border-radius: 14px; border: 1px solid rgba(28, 22, 34, .12); background: rgba(246, 239, 229, .55); }
.guide-checklist-group h3 { margin: 0 0 .6rem !important; font-size: 1rem !important; color: var(--paper-ink); }
.guide-checklist-items { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; gap: .45rem !important; }
.guide-checklist-items li { display: grid; grid-template-columns: 1.15rem 1fr; gap: .5rem; align-items: start; font-size: .84rem !important; line-height: 1.45 !important; color: var(--paper-ink); }
.guide-check-box { display: inline-block; width: .95rem; height: .95rem; margin-top: .18rem; border: 1.5px solid #1c1622; border-radius: 3px; background: #fff; }
.guide-pack-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; margin: 1.5rem 0; }
.guide-pack-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.guide-pack-card { margin: 0; padding: .65rem; border-radius: 14px; border: 1px solid rgba(28, 22, 34, .12); background: rgba(255, 255, 255, .78); }
.guide-pack-card img { width: 100%; height: auto; border-radius: 8px; display: block; }
.guide-pack-card figcaption { margin-top: .45rem; color: var(--paper-muted); font-size: .78rem; line-height: 1.42; }
.guide-pack-card figcaption a { display: inline-block; padding-block: .2rem; }
@media (max-width: 640px) {
  .format-ratio-grid, .format-cutdown-bar, .label-zone-sheets, .guide-checklist-grid { grid-template-columns: 1fr; }
  .guide-pack-grid, .guide-pack-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .guide-table thead { display: none; }
  .guide-table, .guide-table tbody, .guide-table tr, .guide-table th, .guide-table td { display: block; width: 100%; }
  .guide-table tr { padding: .55rem .7rem; border-bottom: 1px solid rgba(28, 22, 34, .12); }
  .guide-table th, .guide-table td { padding: .18rem 0; border-bottom: 0; font-size: .82rem; }
}
@media print {
  .site-header, .menu-panel, .page-hero .button-row, .guide-hero-card, .article-meta, .guide-end-cta, .guide-related, .cta-band, .site-footer, .whatsapp-float { display: none !important; }
  body, .section-paper, .guide-checklist-sheet, .guide-checklist-group { background: #fff !important; color: #000 !important; box-shadow: none !important; }
  .article-layout { display: block !important; }
  .guide-checklist-sheet { border: 1.5px solid #000 !important; break-inside: avoid; }
}
