*{box-sizing:border-box}.hmp-page{font:16px/1.45 Arial,sans-serif;color:#173f3c;background:#fff;max-width:210mm;margin:18px auto;padding:14mm;border:1px solid #a9bfb4;overflow-wrap:anywhere;break-after:page}.hmp-page:last-child{break-after:auto}.hmp-page h1{font-size:26px;line-height:1.2;margin:12px 0}.hmp-page h2{font-size:20px;line-height:1.3;margin:18px 0 8px}.hmp-page h3{font-size:16px;line-height:1.3;margin:16px 0 5px}.hmp-page p{margin:9px 0;max-width:none}.hmp-brand,.hmp-foot{font-size:12px}.hmp-foot{border-top:1px solid #a9bfb4;padding-top:10px;margin-top:20px!important}.hmp-pair{display:flex;gap:22px;flex-wrap:wrap;margin:12px 0}.hmp-pair>div{display:flex;align-items:center;gap:8px;min-width:0;width:68mm;max-width:100%;flex:0 1 68mm}.hmp-pair svg{width:45px;height:50px;flex:none}.hmp-pair span{overflow-wrap:anywhere;flex:1;min-width:0}.hmp-task{border-left:5px solid #739b80;background:#eff4e9;padding:10px 15px}.hmp-space{height:105px;border:1px solid #9bb3a5;border-radius:6px;margin:12px 0}.hmp-record{height:46px;border-bottom:1px solid #9bb3a5}.hmp-page a{color:#173f3c;overflow-wrap:anywhere}@media(max-width:600px){.hmp-page{margin:12px 0;padding:16px}.hmp-page h1{font-size:24px}.hmp-space{height:80px}.hmp-pair{gap:12px}.hmp-pair svg{width:38px}}@page{size:A4;margin:16mm}@media print{.hmp-page{border:0;padding:0;margin:0;max-width:none;font-size:11.5pt}.hmp-page h1{font-size:21pt}.hmp-page h2{font-size:15pt}.hmp-page h3{font-size:12pt}.hmp-brand,.hmp-foot{font-size:9pt}.hmp-space{height:28mm}.hmp-record{height:12mm}.hmp-pair svg{width:12mm;height:14mm}}

.hmp-source{border:1px solid #9bb3a5;padding:14px;margin:16px 0;break-inside:avoid}.hmp-source h2{margin-top:0}.hmp-meta{font-size:12px}.hmp-photo{display:block;width:100%;max-height:165mm;object-fit:contain}.hmp-event{padding:9px 12px;border-left:4px solid #739b80;margin:12px 0;break-inside:avoid}

.hmp-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.hmp-controls label{display:block;min-width:0;font-weight:bold}.hmp-controls select,#hmp-settings{display:block;width:100%;max-width:100%;font:inherit;padding:10px;border:1px solid #577968;border-radius:7px;min-height:44px;background:#fff;color:#173f3c}#hmp-settings{min-height:160px}.hmp-actions{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.hmp-actions button{min-height:44px}#hmp-status,#hmp-error{overflow-wrap:anywhere}#hmp-preview{max-height:800px;overflow:auto;border:1px solid #9bb3a5;padding:12px}#hmp-preview:focus-visible{outline:4px solid #ce8a12;outline-offset:3px}@media(max-width:600px){.hmp-controls{grid-template-columns:1fr}#hmp-preview{padding:4px}.hmp-actions>*{width:100%}}@media print{body[data-history-packet-print] header,body[data-history-packet-print] footer,body[data-history-packet-print] main>*:not(#history-session-packets),body[data-history-packet-print] #history-session-packets>:not(#hmp-preview){display:none!important}body[data-history-packet-print] main,body[data-history-packet-print] #history-session-packets{margin:0!important;padding:0!important;border:0!important;max-width:none!important}body[data-history-packet-print] #hmp-preview{max-height:none;overflow:visible;border:0;padding:0}}
