@font-face{font-family:LabelJP;src:url('/label-japanese.ttf') format('truetype');font-weight:400;font-style:normal;font-display:block}
.label-controls input,.label-controls select{width:100%;box-sizing:border-box}.label-controls label{display:block;margin:12px 0}.label-toolbar,.label-adjust{display:flex;gap:12px;flex-wrap:wrap}.label-adjust label{flex:1;min-width:210px}.label-positions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:520px;gap:10px}.label-positions button{white-space:pre-line;min-height:64px;background:#152333;color:#d9e7f0;border:1px solid #65798a}.label-positions .occupied{background:#bfeafa;color:#102333;border:2px solid #5ecdeb}.label-preview{overflow:auto;background:#343434;padding:16px;margin-top:16px}.label-sheet{position:relative;width:210mm;height:297mm;background:white;color:#102a3b;flex:none;box-sizing:border-box;font-family:Arial,LabelJP,Meiryo,sans-serif;line-height:1.2}.result-label{position:absolute;width:89mm;height:53mm;box-sizing:border-box;padding:2.7mm 3.8mm;border:0;border-radius:2mm;overflow:hidden;color:#102a3b;background:white;font-size:6.5pt}.label-head{display:flex;height:5.8mm;align-items:center;gap:2mm;border-bottom:.2mm solid #bccbd1}.label-head img{width:20mm;height:5.7mm;object-fit:contain}.label-head b{font-size:8pt;white-space:nowrap}.label-head small{font-size:4.2pt;margin-left:auto;white-space:nowrap}.label-total{display:flex;align-items:center;justify-content:space-between;background:#e8f5fa;padding:.8mm 1mm;margin:1mm 0;height:6.5mm;box-sizing:border-box}.label-score{display:flex;align-items:baseline;gap:1mm}.label-score strong{display:block;width:17mm;white-space:nowrap;font-size:14pt;line-height:1;font-variant-numeric:tabular-nums}.label-score small{font-size:6pt;white-space:nowrap}.label-identity{text-align:right;font-size:6pt}.label-identity b{font-size:7.2pt;letter-spacing:.1mm}.label-specs{margin:1mm 0}.label-spec{display:flex;gap:1mm;height:3mm;align-items:center}.label-spec b{width:13mm;flex:none;font-size:6pt}.label-spec span{flex:1;min-width:0;white-space:nowrap;font-size:6.5pt}.label-scores{display:grid;grid-template-columns:1fr 1fr;column-gap:3mm;border-top:.2mm solid #b5c5cd}.label-category{display:flex;align-items:center;justify-content:space-between;height:3.3mm;border-bottom:.1mm solid #dfe6eb;gap:1mm;font-size:6pt}.label-category b{width:12mm;text-align:right;white-space:nowrap;font-size:6.5pt;font-variant-numeric:tabular-nums}.label-foot{display:flex;flex-direction:column;gap:.4mm;padding-top:.9mm;font-size:4.6pt}.label-foot b{font-size:5.3pt}.label-foot span:last-child{text-align:right;margin-top:-2mm}#labelPrintRoot{position:absolute;left:-10000px;top:0;width:210mm;visibility:hidden}
@media print{@page{size:A4 portrait;margin:0}html,body{margin:0!important;padding:0!important;background:white!important;width:210mm!important}body>:not(#labelPrintRoot){display:none!important}#labelPrintRoot{position:static!important;visibility:visible!important;display:block!important;width:210mm!important}#labelPrintRoot *{visibility:visible!important}#labelPrintRoot .label-sheet{margin:0!important;break-after:avoid;print-color-adjust:exact;-webkit-print-color-adjust:exact}.result-label{box-shadow:none!important}}
/* Reset the site-wide header/footer spacing inside the physical label. */
.result-label .label-head{margin:0}.result-label .label-foot{margin:0;color:#102a3b;line-height:1.2}.label-controls select{color:#fff;background:#101b2b;border:1px solid #637b9b;border-radius:8px;padding:10px;font:inherit;min-width:0}.label-controls{min-width:0}.label-controls input{min-width:0}
.result-label{padding:2.4mm 3.8mm}.label-head{height:5mm}.label-head img{height:4.9mm}.label-total{height:6mm;margin:.7mm 0}.label-specs{margin:.5mm 0}.label-spec{height:2.7mm}.label-category{height:3mm}.label-foot{padding-top:.6mm;gap:.25mm}
