/* JinglePig Tools: sorting sheet builder */
.jpt-builder{margin:32px 0;color:#20343C;--jp-mint:#173D3A;--jp-gold:#E8B352;--jp-ink:#20343C}
.jpt-controls{padding:24px;border:1px solid #dce7e1;border-radius:18px;background:#ECF2ED}
.jpt-controls h2{margin:0 0 14px;color:#173D3A}
.jpt-fields{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1.3fr);gap:14px 18px}
.jpt-fields>label,.jpt-fields>fieldset{display:block;font-weight:700;color:#173D3A;font-size:.92rem;margin:0}
.jpt-fields select,.jpt-fields input[type=text]{display:block;width:100%;margin-top:6px;padding:10px 12px;border:1px solid #a9beb4;border-radius:8px;background:#fff;color:#20343C;font:inherit;font-weight:400}
.jpt-builder fieldset{border:0;padding:0;min-width:0}
.jpt-builder legend{font-weight:700;color:#173D3A;font-size:.92rem;padding:0;margin-bottom:6px}
.jpt-seg{display:flex;flex-wrap:wrap;gap:6px}
.jpt-seg legend{width:100%}
.jpt-seg label{display:inline-flex;align-items:center;gap:6px;padding:9px 12px;border:1px solid #a9beb4;border-radius:8px;background:#fff;font-weight:600;cursor:pointer}
.jpt-seg label:has(input:checked){border-color:#173D3A;box-shadow:inset 0 0 0 1px #173D3A}
.jpt-options{margin-top:16px!important}
.jpt-options label{display:flex;align-items:flex-start;gap:8px;margin:6px 0;font-size:.95rem;cursor:pointer}
.jpt-options input{margin-top:.25em}
.jpt-builder input:focus-visible,.jpt-builder select:focus-visible,.jpt-builder button:focus-visible{outline:3px solid #E8B352;outline-offset:2px}
.jpt-builder [hidden]{display:none!important}
.jpt-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:18px 0 6px}
.jpt-actions button{border:2px solid #173D3A;border-radius:10px;background:#173D3A;color:#fff;padding:11px 20px;font:700 .95rem Inter,system-ui,sans-serif;cursor:pointer}
.jpt-actions button:hover{background:#0c2826}
.jpt-summary{font-size:.9rem;color:#173D3A;font-weight:600}
.jpt-help{font-size:.83rem;color:#4b655f;margin:12px 0 0!important;line-height:1.5}
.jpt-preview{margin-top:26px;overflow:hidden}
.jpt-loading,.jpt-error{padding:20px;text-align:center;color:#4b655f}
.jpt-error{color:#9b2c2c}

/* pages (true size; scaled on screen by JS) */
.jpt-pages{display:flex;flex-direction:column;align-items:flex-start;gap:24px;transform-origin:top left;width:max-content}
.jpt-page{width:var(--jpt-page-w);height:var(--jpt-page-h);padding:.5in;box-sizing:border-box;background:#fff;border:1px solid #dce7e1;box-shadow:0 10px 26px rgba(23,61,58,.10);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:#20343C;-webkit-print-color-adjust:exact;print-color-adjust:exact}
.jpt-page-inner{height:100%;display:flex;flex-direction:column}
.jpt-head{height:.95in;box-sizing:border-box;display:flex;align-items:center;gap:.18in;border-bottom:2px solid #173D3A;padding-bottom:.08in;margin-bottom:.12in}
.jpt-logo{height:.42in;width:auto;flex:none}
.jpt-head-text{flex:1;min-width:0}
.jpt-title{margin:0!important;font-size:18pt!important;line-height:1.1!important;color:#173D3A!important;font-weight:800!important;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jpt-sub{margin:.04in 0 0!important;font-size:9.5pt!important;color:#20343C}
.jpt-head-pig{flex:none;display:flex;flex-direction:column;align-items:center;font-size:7.5pt;font-weight:700;color:#173D3A;letter-spacing:.04em;text-transform:uppercase}
.jpt-head-pig img{height:.5in;width:auto}
.jpt-body{flex:1;display:flex;flex-direction:column;gap:.08in;overflow:hidden}
.jpt-row{display:flex;gap:.08in}
.jpt-section{display:flex;align-items:flex-end;font-size:10pt;font-weight:800;color:#173D3A;border-bottom:1px solid #b8c9c2;padding-bottom:.03in;box-sizing:border-box}
.jpt-cell{position:relative;box-sizing:border-box;border:1px solid #9DB3AC;border-radius:5px;padding:.04in .06in;overflow:hidden;flex:none;background:#fff;display:flex;flex-direction:column;justify-content:flex-end}
.jpt-cell-label{display:block;font-size:10.5pt;line-height:1.1;color:#173D3A;padding-right:.16in}
.jpt-cell.is-long .jpt-cell-label{font-size:8.5pt}
.jpt-cell.is-xlong .jpt-cell-label{font-size:7.5pt}
.jpt-cell.is-design .jpt-cell-label{font-size:8.5pt;line-height:1.15}
.jpt-cell-year{position:absolute;left:.06in;top:.04in;font-size:7pt;font-weight:700;color:#4b655f}
.jpt-title.is-long{font-size:13.5pt!important;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.jpt-cell-star{position:absolute;bottom:.05in;right:.05in;font-size:10pt;color:#9a6a12;line-height:1}
.jpt-cell.is-key{background:#FBEFD6;border:1.5px solid #B07D22}
.jpt-cell.is-semi{border:1.5px dashed #B07D22}
.jpt-cell.is-variety{border-style:dotted;border-color:#6f8c84}
.jpt-cell.is-bonus{border-style:dotted;border-color:#9DB3AC;background:#F7FAF8}
.jpt-cell-tag{position:absolute;left:.06in;top:.04in;font-size:7pt;font-weight:700;color:#4a5a60;background:#E9EEF0;border-radius:3px;padding:0 .04in}
.jpt-cell-marks{position:absolute;right:.05in;top:.04in;font-size:7.5pt;font-weight:700;color:#9a6a12}
.jpt-cell.is-bin .jpt-cell-label{font-size:12pt}
.jpt-cell-note{display:block;margin-top:.04in;font-size:8pt;line-height:1.25;color:#4b655f}
.jpt-check-row{display:grid;gap:.15in}
.jpt-check{margin:0!important;font-size:7.5pt!important;line-height:1.25!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#20343C}
.jpt-check strong{color:#173D3A}
.jpt-foot{height:.62in;box-sizing:border-box;border-top:1px solid #9DB3AC;padding-top:.05in;margin-top:.12in;display:flex;flex-direction:column;gap:.03in;font-size:7.5pt;color:#20343C}
.jpt-foot p{margin:0!important;line-height:1.3!important;font-size:7.5pt!important}
.jpt-foot-spec{font-weight:600;color:#173D3A}
.jpt-foot-note{color:#4b655f}
.jpt-foot-last{margin-top:auto;display:flex;justify-content:space-between;align-items:flex-end;gap:.2in}
.jpt-cal{display:flex;flex-direction:column;gap:.02in}
.jpt-cal-bar{display:block;width:2in;height:.07in;border:1px solid #20343C;border-top:0;box-sizing:border-box}
.jpt-cal-text{font-size:6.5pt;color:#4b655f}
.jpt-foot-site{font-weight:700;color:#173D3A;white-space:nowrap}

@media(max-width:700px){.jpt-fields{grid-template-columns:1fr}.jpt-controls{padding:18px}.jpt-actions{flex-direction:column;align-items:stretch}}

/* printing: only the cloned sheet pages are shown */
#jpt-print-root{display:none}
@media print{
  html.jpt-printing,html.jpt-printing body{background:#fff!important;margin:0!important;padding:0!important}
  html.jpt-printing body>*:not(#jpt-print-root){display:none!important}
  html.jpt-printing #jpt-print-root{display:block!important}
  #jpt-print-root .jpt-pages{display:block;gap:0;transform:none!important;width:auto}
  #jpt-print-root .jpt-page{width:auto;height:calc(var(--jpt-page-h) - 1in);padding:0;border:0;box-shadow:none;break-after:page;page-break-after:always;overflow:hidden}
  #jpt-print-root .jpt-page:last-child{break-after:auto;page-break-after:auto}
}
