.bureau-print-meta,.family-print-roster,[data-bureau-print-copy]{display:none}
@page bureau {
  size:A4;
  margin:18mm 14mm 17mm;
  @top-left{content:"THE BUREAU";font:10pt sans-serif;letter-spacing:2pt;color:#283421}
  @top-right{content:"PRIVATE CATALOGUE";font:7pt sans-serif;letter-spacing:1pt;color:#68705f}
  @bottom-left{content:"THE BUREAU · the-bureau.xyz";font:7pt sans-serif;color:#68705f}
  @bottom-right{content:counter(page) " / " counter(pages);font:8pt sans-serif;color:#68705f}
}
@media print {
  html:has([data-bureau-page]),html:has([data-bureau-dossier]){page:bureau}
  body:has([data-bureau-page]),body:has([data-bureau-dossier]){page:bureau;margin:0!important;background:#fff!important;color:#202a1c!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  [data-bureau-page],[data-bureau-dossier]{page:bureau;font-size:10pt;line-height:1.5;max-width:none!important;width:100%!important;margin:0!important;padding:0!important;min-height:0!important;height:auto!important;overflow:visible!important}
  [data-bureau-page] *,[data-bureau-dossier] *{content-visibility:visible!important;contain:none!important;box-shadow:none!important;text-shadow:none!important;animation:none!important;transition:none!important}
  .office-shell,.office-body{display:block!important;min-height:0!important}
  body:has([data-bureau-page]) :is(header,nav,aside,footer):not([data-bureau-page] *):not([data-bureau-page]):not([data-bureau-dossier] *){display:none!important}
  .sidebar,.topbar,.skip,.toast,.filterbar,.tabs,.wine-countries,.browse-more,.family-map .actions,[data-print-hide],
  [data-bureau-page] button:not([data-print-card]),[data-bureau-dossier] button,[data-bureau-page] .btn,[data-bureau-dossier] .btn,[data-bureau-page] .text-btn{display:none!important}
  [data-bureau-page] .actions:has(button),[data-bureau-page] .actions:has(.btn),[data-bureau-dossier] .actions{display:none!important}
  .bureau-print-meta{display:block;margin:0 0 6mm;padding:0 0 3mm;border-bottom:1px solid #cdd2c5;font-size:8pt;color:#59634f}
  [data-bureau-page] h1{font-size:29pt!important;line-height:1.15;letter-spacing:-.7pt;margin:0 0 3mm}
  [data-bureau-page] h2,[data-bureau-dossier] h2{font-size:18pt!important;line-height:1.25}
  [data-bureau-page] h3{font-size:13pt;line-height:1.3}
  [data-bureau-page] h1,[data-bureau-page] h2,[data-bureau-page] h3{break-after:avoid}
  [data-bureau-page] p,[data-bureau-dossier] p{orphans:3;widows:3}
  [data-bureau-page] a,[data-bureau-dossier] a{color:inherit!important;text-decoration:none!important}
  .page-head{display:block!important;margin:0 0 7mm!important;break-inside:avoid}
  .page-head .eyebrow{display:none}.page-head p{font-size:10pt;margin-top:2mm!important;max-width:none!important}
  .cards,.catalogue-grid,[data-print-grid]{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7mm!important;align-items:start}
  .card,.object-card,[data-print-card]{display:block!important;break-inside:avoid-page;page-break-inside:avoid;background:#fff!important;border:0!important;border-top:1px solid #cdd2c5!important;border-radius:0!important;padding:5mm 0 0!important;margin:0!important;text-align:left;color:#202a1c!important}
  .card h2,.card h3,.object-card h2,[data-print-card] h2{font-size:13pt!important;line-height:1.25;margin:2mm 0!important}
  .card p,.card small,.object-card small,[data-print-card] p{font-size:8.5pt!important;line-height:1.5!important;margin:1.5mm 0!important}
  .card .price strong,.object-card .price span,[data-print-card] strong{font-size:13pt!important;font-weight:550!important}
  .card .price small,.object-card .price small{font-size:7pt!important}
  .card .object-image,.object-card .object-image,[data-print-image]{height:48mm!important;min-height:0!important;max-height:48mm!important;aspect-ratio:auto!important;margin:0 0 3mm!important;background:#f4f5ef!important;position:relative!important}
  .object-image img,[data-print-image] img{position:static!important;width:100%!important;height:100%!important;max-height:48mm!important;object-fit:contain!important;object-position:center!important;padding:2mm!important}
  .card>.actions:first-of-type,.object-card>.actions{display:none!important}
  .note,.notice{font-size:8.5pt!important;line-height:1.5!important;padding:3mm!important;margin-bottom:5mm!important;border-radius:0!important;break-inside:avoid}
  .wine-section{margin:0 0 9mm}.wine-section-head{break-after:avoid-page;margin-bottom:3mm!important;padding-top:4mm!important}.wine-section-head h2{font-size:20pt!important}.wine-section-head .eyebrow{font-size:8pt!important}
  .catalogue-scope{font-size:9pt;margin-bottom:4mm}
  .columns{display:block!important}.panel{border:0!important;border-top:1px solid #cdd2c5!important;border-radius:0!important;padding:5mm 0!important;margin:0 0 6mm;break-inside:auto!important}
  .record-data{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4mm!important}.record-data>div{margin:0!important;break-inside:avoid}.record-data dt{font-size:8pt!important}.record-data dd{font-size:10pt!important;line-height:1.5!important}
  .row,.occasion-entry{break-inside:avoid-page}.row{gap:4mm;padding:3mm 0}.occasion-month{margin-bottom:7mm}.occasion-entry{display:grid;grid-template-columns:31mm minmax(0,1fr);gap:5mm;padding:4mm 0}.occasion-entry p,.occasion-entry small{font-size:9pt!important}.occasion-date time{font-size:12pt!important}
  .family-columns{display:block!important}.family-viewport{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;border:0!important;background:#fff!important;break-inside:avoid}
  .family-viewport svg{width:100%!important;height:auto!important;max-width:100%!important;max-height:190mm!important}.family-detail{display:block!important;max-width:none!important;margin-top:7mm!important}
  .family-print-roster{display:block;break-before:page}.family-print-roster article{break-inside:avoid;margin:0 0 4mm;border-bottom:1px solid #dce0d5;padding:3mm 0}.family-print-roster p{font-size:9pt}
  .hero{min-height:0;padding:5mm!important;grid-template-columns:1fr}.hero img{display:none}.metrics{gap:3mm}.metric{padding:3mm}.metric strong{font-size:19pt}
  [data-bureau-page] table{width:100%;border-collapse:collapse;font-size:9pt}[data-bureau-page] thead{display:table-header-group}[data-bureau-page] tr{break-inside:avoid}[data-bureau-page] td,[data-bureau-page] th{padding:2mm}
  body:has([data-bureau-dossier]:is([open],[role=dialog]))>*:not(:has([data-bureau-dossier]:is([open],[role=dialog]))):not([data-bureau-dossier]){display:none!important}
  [data-bureau-backdrop]{position:static!important;inset:auto!important;display:block!important;height:auto!important;overflow:visible!important;padding:0!important;background:#fff!important;backdrop-filter:none!important}
  [data-bureau-dossier]{position:static!important;inset:auto!important;display:block!important;max-height:none!important;border:0!important;box-shadow:none!important;background:#fff!important;color:#202a1c!important;transform:none!important}
  dialog[data-bureau-dossier]:not([open]){display:none!important}dialog::backdrop{display:none;background:transparent!important}
  .dialog-head{position:static!important;padding:0 0 5mm!important;background:#fff!important}.dialog-head h2{font-size:25pt!important}.dialog-body{padding:0!important;overflow:visible!important}
  .catalogue-detail,[data-print-dossier]{display:grid!important;grid-template-columns:68mm minmax(0,1fr)!important;gap:7mm!important;align-items:start;overflow:visible!important}
  .catalogue-detail img,[data-print-dossier-image] img{width:100%!important;height:auto!important;max-height:110mm!important;object-fit:contain!important}
  [data-print-dossier-image]{position:static!important;min-height:0!important;max-height:none!important;height:auto!important;aspect-ratio:auto!important}
  .catalogue-detail p,[data-print-dossier] p{font-size:9pt!important;line-height:1.5!important;margin:2.5mm 0!important}
  .catalogue-detail .record-data{grid-template-columns:1fr!important}.image-caption{font-size:7.5pt!important}.record-photo{height:75mm!important;object-fit:contain}
  [data-bureau-page] details:not([open]),[data-bureau-dossier] details:not([open]),[data-bureau-print-original]{display:none!important}
  body:has([data-bureau-print-copy])>:not([data-bureau-print-copy]){display:none!important}
}

/* Shared catalogue media in Gift and Objects. Originals stay available at full size. */
[data-object-gallery]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start;min-width:0;padding:18px}
[data-object-gallery] figure{margin:0;min-width:0}[data-object-gallery] figure:first-child{grid-column:1/-1}
[data-object-gallery] a{display:block;background:#f3f2ef}[data-object-gallery] img{display:block;width:100%;height:220px;object-fit:contain;padding:8px;box-sizing:border-box}
[data-object-gallery] figure:first-child img{height:min(460px,60vh)}[data-object-gallery] figcaption{font-size:12px;line-height:1.5;margin-top:7px;color:#59634f}
[data-object-documents]{grid-column:1/-1;padding:24px;min-width:0;border-top:1px solid #d5d8cf}
[data-object-documents] h3{font-size:22px}[data-object-documents] h4{font-size:16px;margin:0 0 10px}[data-object-documents] p{font-size:13px;line-height:1.6}
[data-object-documents] figure{margin:24px 0 36px;max-width:850px}[data-object-documents] a{display:block;color:inherit}[data-object-documents] img{display:block;width:100%;height:auto;max-height:85vh;object-fit:contain;object-position:left;background:#f3f2ef}
[data-object-documents] a span{display:block;font-size:12px;margin-top:10px}
@media(max-width:480px){[data-object-gallery]{padding:12px;gap:10px}[data-object-gallery] img{height:160px}[data-object-documents]{padding:18px}}
@media print{
  [data-object-gallery]{padding:0!important;gap:4mm!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
  [data-object-gallery] figure{break-inside:avoid-page}[data-object-gallery] figure:first-child{grid-column:auto!important}
  [data-object-gallery] img,[data-object-gallery] figure:first-child img{height:48mm!important;max-height:48mm!important;width:100%!important;object-fit:contain!important;padding:1mm!important}
  [data-object-gallery] figcaption{font-size:8pt!important}
  [data-object-documents]{padding:0!important;margin-top:0;border:0;display:block!important;break-before:page}
  [data-object-documents] h3{display:none!important}
  [data-object-documents] figure:first-of-type{break-before:auto}
  [data-object-documents] figure{break-before:page;break-inside:avoid-page;display:block!important;margin:0!important;max-width:none!important}
  [data-object-documents] h4{font-size:13pt!important}[data-object-documents] p{font-size:9pt!important}
  [data-object-documents] img{height:auto!important;max-height:185mm!important;max-width:170mm!important;width:100%!important;object-fit:contain!important}
}
@media print{
  .catalogue-detail:has([data-object-gallery]),[data-print-dossier]:has([data-object-gallery]){grid-template-columns:48mm minmax(0,1fr)!important;gap:6mm!important}
  [data-object-gallery]:has(>figure:only-child){grid-template-columns:1fr!important}
  .catalogue-detail:has([data-object-gallery]) .record-data{gap:1mm!important;margin:3mm 0!important}
  .catalogue-detail:has([data-object-gallery]) .record-data>div{display:grid;grid-template-columns:30mm minmax(0,1fr);gap:2mm;padding:1mm 0;break-inside:avoid-page}
  .catalogue-detail:has([data-object-gallery]) .record-data dt,.catalogue-detail:has([data-object-gallery]) .record-data dd{font-size:8.5pt!important;line-height:1.4!important;margin:0!important}
}
