/* R21: physical units deliberately keep photos >=60mm and QR codes >=36mm. */
.kennel-page{margin:0;background:#f1f3eb;color:#183c31;font:16px/1.5 system-ui,sans-serif}.kennel-page *,.kennel-sheet *{box-sizing:border-box}.kennel-toolbar{max-width:800px;margin:30px auto;padding:0 22px}.kennel-toolbar h1{font:38px/1.1 Georgia,serif}.kennel-toolbar a{color:inherit}.kennel-toolbar form{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin:20px 0}.kennel-toolbar label{display:flex;flex-direction:column;font-size:14px;gap:5px}.kennel-toolbar button,.kennel-toolbar select{min-height:44px;padding:10px 14px;border:1px solid #849a8c;border-radius:7px;background:white;color:#183c31;font:inherit}.kennel-toolbar button{cursor:pointer}.kennel-toolbar button:disabled{opacity:.6;cursor:wait}.kennel-toolbar #print-kennel{background:#254e40;color:white}.kennel-help{font-size:14px}.kennel-toolbar :focus-visible{outline:3px solid #9e4e2d;outline-offset:3px}
#card-workspace{max-width:790px;margin:24px auto}.kennel-sheet{width:190mm;max-width:100%;padding:0;margin:0 auto 20px;background:white}.kennel-card{width:100%;height:250mm;border:1px solid #bdc9bd;padding:8mm;color:#172f27;background:white;display:flex;flex-direction:column;font:11pt/1.4 system-ui,sans-serif;overflow-wrap:anywhere;break-inside:avoid}.kennel-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0;padding:0 0 3mm;border:0;background:transparent;font:9pt/1.3 system-ui,sans-serif;letter-spacing:0}.kennel-top>span{font-size:inherit;letter-spacing:0}.kennel-top .kennel-brand{font:700 18pt/1 Georgia,serif;letter-spacing:-1px}.kennel-name{font:40pt/1.05 Georgia,serif;margin:3mm 0 2mm;color:#183c31}.kennel-name.kennel-long-name{font-size:28pt}.kennel-vitals{margin:0 0 5mm;font-size:11pt;line-height:1.4}.kennel-body{display:flex;gap:7mm;align-items:flex-start}.kennel-story{width:92mm;flex:none;min-width:0}.kennel-facts{width:auto;flex:1;font-size:10pt}.kennel-facts p{margin:0 0 3mm;line-height:1.4}.kennel-facts small{font-size:8.5pt;color:#253e33}.kennel-photo{display:block;width:100%;height:92mm;object-fit:cover;background:#f1f3eb;border:0;margin:0}.kennel-no-photo{display:flex;align-items:center;justify-content:center;text-align:center;padding:10mm}.kennel-bio h3{font:bold 10pt/1.2 system-ui,sans-serif;margin:5mm 0 2mm}.kennel-bio p{margin:0;font-size:10pt;line-height:1.45}.kennel-bio small{display:block;margin-top:2mm;font-size:8.5pt;color:#253e33}.kennel-scan{display:flex;flex-direction:column;align-items:flex-start;color:#172f27;text-decoration:none;font-size:11pt}.kennel-qr{display:block;width:36mm;height:36mm;min-width:36mm;max-width:none;background:white}.kennel-scan-note{display:block;margin-top:2mm}.kennel-footer{margin-top:auto;padding-top:3mm;display:flex;flex-direction:column;gap:1mm;font-size:8pt;line-height:1.35;color:#253e33}.kennel-footer strong{font-weight:600}.kennel-inactive{border:2px solid #82552e}.kennel-inactive .kennel-top{font-weight:700;color:#744016}
.layout-half .kennel-sheet{display:block}.layout-half .kennel-card+.kennel-card{margin-top:5mm}.layout-half .kennel-card{height:124mm;padding:4mm 5mm;font-size:9pt;position:relative;display:block}.layout-half .kennel-top{padding:0 0 1mm;font-size:8pt}.layout-half .kennel-brand{font-size:13pt}.layout-half .kennel-name{font-size:25pt;line-height:1;margin:1mm 0}.layout-half .kennel-long-name{font-size:19pt}.layout-half .kennel-vitals{font-size:9pt;line-height:1.2;margin:0 0 2mm}.layout-half .kennel-body{gap:6mm;margin-bottom:12mm}.layout-half .kennel-story{width:60mm;flex:none}.layout-half .kennel-photo{width:60mm;height:60mm;object-fit:cover;object-position:center}.layout-half .kennel-facts{width:auto;flex:1;min-width:0;font-size:8.5pt}.layout-half .kennel-facts p{margin:0 0 2mm;line-height:1.25}.layout-half .kennel-facts small{font-size:7.5pt}.layout-half .kennel-bio h3{display:none}.layout-half .kennel-bio p{font-size:8pt;line-height:1.25;margin-top:2mm}.layout-half .kennel-bio small{display:none}.layout-half .kennel-qr{width:36mm;height:36mm;min-width:36mm}.layout-half .kennel-scan{font-size:9pt;line-height:1.2}.layout-half .kennel-scan-note{margin-top:1mm;font-size:7.5pt}.layout-half .kennel-footer{position:absolute;bottom:4mm;left:5mm;right:5mm;padding-top:1mm;font-size:7pt;gap:.5mm}.layout-half .kennel-pair{font-size:8pt}
.kennel-duration{display:block;white-space:nowrap;font-size:16pt;line-height:1.2;margin-bottom:1mm}.layout-half .kennel-duration{font-size:12pt}.kennel-note-caption{font-size:8pt;margin:2mm 0 0}.layout-half .kennel-note-caption{font-size:7pt;margin:1mm 0 0}.kennel-notes{margin-top:2mm}.kennel-contact{display:flex;flex-direction:column;margin-bottom:2mm;font-size:9pt}.kennel-contact a{color:inherit;text-decoration:none;overflow-wrap:anywhere}.kennel-notes{margin-top:2mm;flex:none;min-height:0}.kennel-notes h3{font:bold 12pt/1.3 system-ui,sans-serif;margin:0 0 2mm}.kennel-note-head,.kennel-note-line{display:grid;grid-template-columns:25mm 1fr;gap:4mm}.kennel-note-head{font-size:9pt}.kennel-note-line{height:5mm}.kennel-note-line span{border-bottom:1px solid #819186}.layout-half .kennel-contact{font-size:7.5pt;margin-bottom:1mm}.layout-half .kennel-notes{min-height:0;margin-top:1mm}.layout-half .kennel-note-caption{display:none}.layout-half .kennel-notes h3{font-size:8pt;margin:0 0 1mm}.layout-half .kennel-note-head{display:none}.layout-half .kennel-note-head,.layout-half .kennel-note-line{grid-template-columns:13mm 1fr;gap:2mm}.layout-half .kennel-note-line{height:5mm}
.layout-half .kennel-facts{display:grid;grid-template-columns:minmax(0,1fr) 36mm;column-gap:3mm;align-items:start}.layout-half .kennel-facts p{grid-column:1}.layout-half .kennel-facts .kennel-scan{grid-column:2;grid-row:1 / span 4}.layout-half .kennel-facts .kennel-scan-note{grid-column:2;grid-row:5}.layout-half .kennel-facts .kennel-duration{font-size:11pt}
@media screen and (max-width:620px){#card-workspace{padding:0 10px}.kennel-card,.layout-half .kennel-card{height:auto;min-height:0;padding:18px}.kennel-body{display:block}.kennel-story,.layout-half .kennel-story{width:100%}.kennel-facts,.layout-half .kennel-facts{display:block;width:100%;margin-top:20px}.kennel-photo{height:240px}.kennel-name{font-size:34px}.kennel-footer{margin-top:22px}.layout-half .kennel-footer{position:static}.kennel-toolbar h1{font-size:30px}}
@page kennel-letter{size:Letter;margin:12mm}@page kennel-a4{size:A4;margin:12mm}
@media print{
 .kennel-page{margin:0!important;background:white}.kennel-page main{margin:0;padding:0;max-width:none}.kennel-toolbar{display:none!important}
 body.printing-cards>*:not(#card-workspace){display:none!important}body.printing-cards{margin:0!important;background:white}body.printing-cards #card-workspace{display:block!important}
 #card-workspace{width:auto;max-width:none;margin:0;padding:0}.kennel-sheet{margin:0;width:100%;max-width:none;break-after:page;page-break-after:always}.kennel-sheet:last-child{break-after:auto;page-break-after:auto}.paper-letter .kennel-sheet{page:kennel-letter}.paper-a4 .kennel-sheet{page:kennel-a4}.kennel-card{print-color-adjust:exact;-webkit-print-color-adjust:exact}.kennel-card a:after{content:none!important}
}
