.team-record-preview,.order-preview{overflow:auto;background:#e9eeee;padding:12px}.team-order-tools{padding:15px;background:#edf6f2;margin:14px 0;border:1px solid #c7dcd5;border-radius:6px}.team-order-tools h3{margin-top:0}.team-order-tools p{font-size:12px;color:#526d68;line-height:1.8}
.order-print-page{width:210mm;min-width:210mm;min-height:297mm;box-sizing:border-box;padding:12mm;background:white;margin:0 auto 15px;box-shadow:0 2px 8px #173c4025}.order-print-page>h1{font-size:18px;margin:0 0 4mm}.order-print-page>p{font-size:12px;margin:0 0 8mm}.order-ticket-row-layout{display:flex;gap:10mm;align-items:flex-start;justify-content:flex-start;padding:1mm}.order-ticket{width:48mm;min-width:48mm;height:220mm;box-sizing:border-box;outline:.3mm dashed #647b80;background:white;padding:0}.order-ticket-heading{height:10mm;box-sizing:border-box;background:white;color:#172c35;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1mm;border-bottom:.3mm solid #647b80;overflow-wrap:anywhere}.order-ticket-heading strong{font-size:13px;line-height:1.2}.order-ticket-heading small{font-size:8px;line-height:1.2}.order-ticket-row{height:40mm;box-sizing:border-box;border-bottom:.2mm solid #a8bdbb;position:relative;display:flex;align-items:center;justify-content:center;padding:8mm 3mm 3mm}.order-ticket-row:last-child{border-bottom:0}.order-ticket-row>small{position:absolute;top:2mm;left:2mm;font-size:10px}.order-ticket-row>div{width:100%}.order-player-line{font-size:16px;text-align:center;line-height:1.8;min-height:7mm;margin:2mm 0;border-bottom:1px solid #c7d7d3;overflow-wrap:anywhere}.order-print-page>footer{font-size:11px;line-height:1.6;margin-top:7mm}
@page teamRecordA4{size:A4 portrait;margin:12mm}@page orderTicketsA4{size:A4 portrait;margin:12mm}@media print{body.match-print.order-ticket-print #printArea{page:orderTicketsA4}body.match-print .referee-sheet.order-print-page{page:orderTicketsA4;width:186mm;min-width:186mm;height:270mm;min-height:270mm;max-width:none;padding:0;box-shadow:none;margin:0;break-inside:avoid;break-after:page}body.match-print .referee-sheet.order-print-page:last-child{break-after:auto}body.match-print .order-print-page>h1{font-size:13pt}body.match-print .order-print-page>p{font-size:8pt}body.match-print .order-ticket-heading{display:flex!important}body.match-print .order-ticket-heading strong{font-size:10pt}body.match-print .order-ticket-heading small{font-size:6pt}body.match-print .order-ticket-row>small{font-size:8pt}body.match-print .order-player-line{font-size:12pt}body.match-print .order-print-page>footer{font-size:8pt}}
.team-record-sheet{width:210mm;min-width:210mm;min-height:297mm;box-sizing:border-box;padding:12mm;background:white;margin:auto;box-shadow:0 2px 8px #173c4025;color:#111;font-size:10pt}.team-record-heading{display:block;background:none;color:#111;padding:0;margin:0 0 3mm}.team-record-title{text-align:center;font-size:10pt;margin:0 0 2mm}.team-record-line{display:flex;align-items:center;gap:7mm;padding:0 3mm}.team-division{flex:1;font-size:15pt;font-weight:bold;letter-spacing:.5em}.team-stage{font-size:12pt}.team-table{font-size:11pt}.team-record-number{border:.4mm solid #111;padding:.6mm 4mm;font-size:13pt;min-width:18mm;text-align:center}.team-record-sheet .team-record-table{width:186mm;min-width:186mm;table-layout:fixed;border-collapse:collapse;white-space:normal;margin:0;border:.4mm solid #111}.team-record-sheet .team-record-table th,.team-record-sheet .team-record-table td{border:.25mm solid #111;padding:0;text-align:center;vertical-align:middle;box-sizing:border-box;background:white;font-weight:normal}.team-record-sheet .team-head-row th{height:10mm;border-bottom:.8mm double #111}.team-name-cell strong{display:block;font-size:11pt;line-height:1.15;font-weight:bold;overflow-wrap:anywhere}.team-name-cell small{display:block;font-size:8pt;line-height:1.1}.team-record-sheet .team-total{font-size:16pt}.team-no b{display:block;font-size:12pt;font-weight:normal}.team-no small{display:block;font-size:6.5pt;color:#555}.team-player span{display:block;font-size:13pt;letter-spacing:.12em;line-height:1.6;padding:0 2mm;overflow-wrap:anywhere}.team-record-sheet .team-record-table td.blank-score,.team-record-sheet .team-record-table td.team-record-dash{height:8mm;border-left:0;border-right:0;border-top:.2mm dotted #8a9a9c;border-bottom:.2mm dotted #8a9a9c}.team-record-sheet .team-record-table td.team-record-dash{font-size:10pt;color:#333}.team-record-sheet .team-record-table tr.team-match-start td{border-top:.25mm solid #111}.team-record-sheet .team-record-table tr.team-match-end td{border-bottom:.25mm solid #111}.team-record-note{font-size:8pt;color:#555;margin:2mm 0 0}
@media print{body.match-print.team-record-print #printArea{page:teamRecordA4}body.match-print .referee-sheet.team-record-sheet{page:teamRecordA4;width:186mm;min-width:186mm;height:270mm;min-height:270mm;max-width:none;padding:0;box-shadow:none;margin:0;break-inside:avoid;font-size:10pt}body.match-print .team-record-heading{display:block!important}}

.order-ticket-coach{height:10mm;box-sizing:border-box;border-top:.2mm solid #a8bdbb;display:flex;align-items:center;gap:2mm;padding:0 2mm}.order-ticket-coach small{font-size:8pt;white-space:nowrap}.order-ticket-coach p{flex:1;margin:0;font-size:12pt;text-align:center;overflow-wrap:anywhere;line-height:1.2}.team-record-sheet .team-record-table tr.team-coach-row td{height:10mm;border-top:.4mm solid #111}.team-record-sheet .team-record-table td.team-coach{font-size:12pt;letter-spacing:.12em}
@media print{html:has(body.match-print){background:white}}
