.cc-section{margin:0 6%;padding:28px 0 45px;border-top:1px solid #ddd}.cc-tools{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.cc-tools button,.cc-editor button,.cc-editor select,.cc-editor input{font:inherit}.cc-tools button,.cc-editor button{padding:11px 16px;border:1px solid #ccc;background:#fff;font-size:12px}.cc-tools button:hover,.cc-editor button:hover{border-color:#b71926}.cc-tools .cc-primary,.cc-editor .cc-primary{background:#181818;color:#fff;border-color:#181818}.cc-preview{max-width:760px;margin:auto}.cc-preview canvas{display:block;width:100%;height:auto;box-shadow:0 1px 12px #0001;background:#fff}.cc-editor{padding:22px;background:#f5f4f2;margin:0 0 25px}.cc-editor h3{font-weight:400;margin:0 0 20px;font-size:22px}.cc-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.cc-editor label{display:flex;flex-direction:column;gap:8px;font-size:12px}.cc-editor input,.cc-editor select{width:100%;min-width:0;padding:10px;border:1px solid #ccc;background:white;border-radius:0;color:#181818}.cc-editor .cc-name-field{grid-column:1/-1}.cc-photos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:24px}.cc-photo-slot{min-width:0}.cc-photo-slot img{display:block;width:100%;height:145px;object-fit:contain;margin:10px 0;background:#e9e7e4}.cc-photo-slot input[type=file]{font-size:10px}.cc-editor .cc-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.cc-note,.cc-status{font-size:12px!important;line-height:1.6!important;color:#666!important}.cc-status{min-height:20px;margin:12px 0}.cc-section [hidden]{display:none!important}.cc-tools input[type=file]{display:none}.cc-tools button:focus-visible,.cc-editor input:focus-visible,.cc-editor select:focus-visible,.cc-editor button:focus-visible{outline:2px solid #b71926;outline-offset:3px}@media(max-width:760px){.cc-fields,.cc-photos{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-editor{padding:16px}.cc-tools{gap:8px}.cc-tools button{padding:10px 12px}.cc-photo-slot img{height:130px}}@media print{body>header,body>main,body>.preview,.profile-toolbar,.modal-copy,.profile-book,.profile-polaroids,.profile-bottom,.cc-tools,.cc-editor,.cc-note,.cc-status{display:none!important}body,dialog.editorial-profile{position:static!important;display:block!important;overflow:visible!important;height:auto!important;max-height:none!important;width:100%!important;margin:0!important}dialog:not([open]){display:none!important}.cc-section{display:block!important;margin:0!important;padding:0!important;border:0!important}.cc-preview{max-width:none!important}.cc-preview canvas{width:100%!important;box-shadow:none!important} @page{size:A4 portrait;margin:0}}

/* Print only the compcard, with no page margin for browser headers or footers. */
@media print{
 html,body{margin:0!important;padding:0!important;background:#fff!important;min-height:0!important}
 body> :not(#profile){display:none!important}
 #profile{border:0!important;padding:0!important;box-shadow:none!important}
 #profile::backdrop{display:none!important}
 #profile .modal{margin:0!important;padding:0!important;max-width:none!important}
 .cc-preview{width:210mm!important;max-width:210mm!important;margin:0 auto!important;padding:0!important}
 .cc-preview canvas{display:block!important;width:210mm!important;height:280mm!important;margin:0!important;break-inside:avoid!important;page-break-inside:avoid!important}
}