/* Piya card designs: ID cards and passes (CR80, 54 x 85.6 mm) and business cards (3.5 x 2 in).
   All sizes are in millimetres and points so the screen preview and the print file are the same drawing. */

@font-face { font-family: "Montserrat"; font-weight: 400; font-display: block; src: url(fonts/montserrat-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 500; font-display: block; src: url(fonts/montserrat-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: block; src: url(fonts/montserrat-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Tenor Sans"; font-weight: 400; font-display: block; src: url(fonts/tenor-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Tiro Devanagari Hindi"; font-weight: 400; font-display: block; src: url(fonts/tiro-devanagari-hindi-devanagari-400-normal.woff2) format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Tiro Devanagari Hindi"; font-weight: 400; font-display: block; src: url(fonts/tiro-devanagari-hindi-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2212; }

/* ---------------- ID cards and passes ---------------- */
.idc { position: relative; isolation: isolate; width: 54mm; height: 85.6mm; overflow: hidden; color: var(--ink); background: transparent;
  --ink: #231f20; --mut: #6b6460; --bg: #ffffff; --bt: #ffffff; --tt: var(--ink); --ac: var(--c); --rl: rgba(35,31,32,.14); --rb: rgba(255,255,255,.34);
  font-family: "Montserrat", sans-serif; -webkit-print-color-adjust: exact; print-color-adjust: exact; text-rendering: geometricPrecision; }
.idc *, .bc * { box-sizing: border-box; margin: 0; padding: 0; }
.idc::before { content: ""; position: absolute; inset: -3mm; background: var(--bg); z-index: -1; }
.idc > * { position: absolute; }
.idc .band { top: -3mm; height: 91.6mm; width: 15mm; background: var(--c); }
.idc.front .band { left: -3mm; }
.idc.back .band { left: 42mm; }
.idc .bfl { width: 6.4mm; top: 7mm; display: block; }
.idc.front .bfl { left: 2.8mm; }
.idc.back .bfl { left: 44.8mm; }
.idc .vert { width: 46mm; height: 6mm; display: flex; align-items: center; justify-content: center; transform: rotate(-90deg); white-space: nowrap;
  font: 600 7.6pt/1 "Montserrat", sans-serif; letter-spacing: .3em; text-transform: uppercase; color: var(--bt); }
.idc .vert span { display: inline-block; padding-left: .3em; }
.idc.front .vert { left: -17mm; top: 35.8mm; }
.idc.pool.front .vert { font-size: 10pt; letter-spacing: .42em; }
.idc.back .vert { left: 19mm; top: 41.4mm; width: 58mm; font: 500 5.4pt/1 "Montserrat", sans-serif; letter-spacing: .2em; }
.idc .wm { left: 25mm; top: 7.1mm; width: 16mm; display: block; }
.idc .rule { left: 12mm; width: 45mm; height: 0; border-top: .2mm solid var(--rl); }
.idc .rule.b { left: -3mm; width: 15mm; border-top-color: var(--rb); }
.idc .blab { left: 0; width: 12mm; display: flex; align-items: center; justify-content: center; text-align: center; padding-left: .14em;
  font: 600 5.4pt/1.35 "Montserrat", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--bt); }
.idc .arch { left: 18mm; top: 17.4mm; width: 30mm; height: 34.4mm; border: .22mm solid var(--ac); border-radius: 15mm 15mm 0 0; }
.idc .arch2 { left: 19.1mm; top: 18.5mm; width: 27.8mm; height: 32.2mm; border: .18mm solid var(--ac); border-radius: 13.9mm 13.9mm 0 0; opacity: .75; }
.idc .win { left: 19.25mm; top: 18.65mm; width: 27.5mm; height: 31.9mm; border-radius: 13.75mm 13.75mm 0 0; overflow: hidden; background: #eceae4; }
.idc .win img { display: block; width: 100%; height: 100%; object-fit: cover; }
.idc .win .nophoto { position: absolute; inset: 0; display: grid; place-items: center; font: 500 6pt/1.3 "Montserrat", sans-serif; color: #8a837e; text-align: center; padding: 0 3mm; }
.idc .blood { left: 43.6mm; top: 44.8mm; width: 6.8mm; height: 6.8mm; border-radius: 50%; background: #921932; color: #fff; display: grid; place-items: center;
  font: 600 6.6pt/1 "Montserrat", sans-serif; letter-spacing: .02em; box-shadow: 0 0 0 .55mm #fff; }
.idc .blood:empty { display: none; }
.idc .nr { left: 12mm; top: 52.3mm; width: 42mm; height: 11.6mm; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1mm; padding: 0 2.5mm; text-align: center; }
.idc .name { font: 400 12pt/1.1 "Tenor Sans", sans-serif; color: var(--ink); text-wrap: balance; max-width: 100%; }
.idc .role { font: 500 5.8pt/1.3 "Montserrat", sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--c); padding-left: .18em; text-wrap: balance; max-width: 100%; }
.idc .idv { left: 12mm; width: 42mm; display: flex; align-items: center; justify-content: center;
  font: 600 11pt/1 "Montserrat", sans-serif; letter-spacing: .06em; font-variant-numeric: tabular-nums lining-nums; }
.idc .site { left: 12mm; width: 42mm; display: flex; align-items: center; justify-content: center; }
.idc .site img { display: block; height: 7mm; }
.idc .r1 { top: 64.6mm; height: 10.6mm; }
.idc .r2 { top: 75.2mm; height: 10.4mm; }
.idc .rule.r1, .idc .rule.r2 { height: 0; }

/* back */
.idc .col { left: 0; top: 7.2mm; width: 42mm; display: flex; flex-direction: column; align-items: center; text-align: center; }
.idc .col > * { position: static; }
.idc .qr { width: 18mm; height: 18mm; flex: none; }
.idc .qr svg { display: block; width: 100%; height: 100%; }
.idc .hr { width: 10mm; height: 0; margin: 2.6mm 0; border-top: .2mm solid var(--rl); flex: none; }
.idc .k { font: 600 5.4pt/1 "Montserrat", sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--c); padding-left: .2em; }
.idc .code { margin-top: 1.4mm; font: 500 6pt/1 "Montserrat", sans-serif; letter-spacing: .02em; color: var(--mut); }
.idc .code b { font-weight: 600; color: var(--ink); letter-spacing: .12em; }
.idc .sv { font: 400 8.4pt/1.1 "Tenor Sans", sans-serif; color: var(--ink); }
.idc .sa { font: 400 6pt/1.4 "Montserrat", sans-serif; color: var(--mut); text-wrap: balance; }
.idc .sa b { font-weight: 500; color: var(--ink); }
.idc .ph { font: 400 8.4pt/1 "Tenor Sans", sans-serif; letter-spacing: .02em; color: var(--ink); }
.idc .prop { font: 400 6pt/1.45 "Tenor Sans", sans-serif; color: var(--mut); padding: 0 3mm; text-wrap: balance; }
.idc .issue { left: 45.2mm; top: 76.4mm; width: 5.6mm; height: 5.6mm; border-radius: 50%; border: .2mm solid var(--bt); color: var(--bt);
  display: grid; place-items: center; padding-top: .15mm; font: 400 6.4pt/1 "Tenor Sans", sans-serif; letter-spacing: .04em; }

/* classes */
.idc.staff { --c: #293c7d; }
.idc.management { --c: #44484f; }
.idc.agency { --c: #521222; --bg: #921932; --bt: #ffffff; --tt: #ffffff; --ink: #ffffff; --mut: #ffffff; --ac: rgba(255,255,255,.62); --rl: rgba(255,255,255,.24); --rb: rgba(255,255,255,.22); }
.idc.probation { --c: #1b2754; --bg: #293c7d; --bt: #ffffff; --tt: #ffffff; --ink: #ffffff; --mut: #ffffff; --ac: rgba(255,255,255,.62); --rl: rgba(255,255,255,.24); --rb: rgba(255,255,255,.22); }
.idc.visitor { --c: #21422d; --bg: #2f5a3f; --bt: #f3eee2; --tt: #f3eee2; --ink: #f3eee2; --mut: #f3eee2; --ac: rgba(243,238,226,.62); --rl: rgba(243,238,226,.24); --rb: rgba(243,238,226,.2); }

/* passes */
.idc.pool .win { background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.idc.pool .win .k { color: var(--tt); }
.idc.pool .num { margin-top: 3.4mm; font: 400 40pt/1 "Tenor Sans", sans-serif; letter-spacing: .02em; color: var(--tt); }
.idc.pool .ttl { left: 12mm; top: 53mm; width: 42mm; height: 6mm; display: flex; align-items: center; justify-content: center; font: 400 10.4pt/1 "Tenor Sans", sans-serif; color: var(--tt); }
.idc.pool .sub { left: 12mm; top: 59.7mm; width: 42mm; text-align: center; padding-left: .18em; font: 500 5.8pt/1.3 "Montserrat", sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--tt); }
.idc.pool .note { left: 12mm; width: 42mm; display: flex; align-items: center; justify-content: center; font: 400 7.6pt/1 "Tenor Sans", sans-serif; color: var(--tt); }
.idc.pool.back .col { top: 7mm; height: 72mm; justify-content: space-between; color: var(--tt); }
.idc.pool.back .hr { margin: 0; }
.idc.pool .passno { display: flex; align-items: baseline; gap: 2.4mm; }
.idc.pool .passno .k { color: var(--tt); }
.idc.pool .passno .ph { font-size: 15pt; }
.idc.pool .ins { width: 36mm; list-style: none; display: flex; flex-direction: column; gap: 1.5mm; color: var(--tt); }
.idc.pool .ins .en { display: block; font: 500 6pt/1.28 "Montserrat", sans-serif; text-wrap: balance; }
.idc.pool .ins .hi { display: block; margin-top: .2mm; font: 400 6.9pt/1.22 "Tiro Devanagari Hindi", serif; }
.idc.pool .foot { display: flex; flex-direction: column; align-items: center; }
.idc.pool .qtop { display: flex; flex-direction: column; align-items: center; }
.idc.pool .qtop .qr { width: 15mm; height: 15mm; padding: 1.2mm; background: #fff; border-radius: .8mm; box-sizing: content-box; }
.idc.pool .qtop .k { color: var(--tt); }
.idc.pool .qtop .code { color: var(--tt); margin-top: 1.2mm; }
.idc.pool .qtop .code b { color: var(--tt); }
.idc.probation .ins { gap: 2.4mm; }
.idc.pool .foot .sa { margin-top: 1mm; color: var(--tt); }
.idc.pool .foot .sa b { color: var(--tt); }
.idc.pool .foot .prop { margin-top: 1.8mm; color: var(--tt); }

/* ---------------- business cards: 88.9 x 50.8 mm ---------------- */
.bc { position: relative; isolation: isolate; width: 88.9mm; height: 50.8mm; overflow: hidden; color: #231f20; font-family: "Montserrat", sans-serif;
  -webkit-print-color-adjust: exact; print-color-adjust: exact; text-rendering: geometricPrecision; }
.bc::before { content: ""; position: absolute; inset: -4mm; background: #eeede6; z-index: -1; }
.bc > * { position: absolute; }
.bc .bn { left: 6.8mm; top: 11.28mm; font: 600 12pt/1 "Montserrat", sans-serif; color: #931933; white-space: nowrap; text-transform: uppercase; letter-spacing: 0; }
.bc .bd { left: 6.8mm; top: 16.65mm; font: 400 6.5pt/1 "Montserrat", sans-serif; white-space: nowrap; }
.bc .brule { left: 7.02mm; top: 20.05mm; width: 44.8mm; height: 0; border-top: .18mm solid #931a34; }
.bc .bl { left: 6.8mm; font: 400 6.5pt/1 "Montserrat", sans-serif; white-space: nowrap; letter-spacing: .01em; }
.bc .bl1 { top: 31.27mm; } .bc .bl2 { top: 34.92mm; } .bc .bl3 { top: 38.58mm; } .bc .bl4 { top: 42.23mm; }
.bc .ba { left: 53.84mm; font: 400 6.5pt/1 "Montserrat", sans-serif; white-space: nowrap; letter-spacing: .01em; }
.bc .ba1 { top: 36.57mm; } .bc .ba2 { top: 39.39mm; } .bc .ba3 { top: 42.21mm; }
.bc .bfl { left: 79.34mm; top: -.41mm; width: 18.73mm; display: block; }
.bc.backside .blogo { left: 50%; top: 50%; width: 30.48mm; transform: translate(-50%, -50%); display: block; }
.bc.leadership::before { background: linear-gradient(32deg, #521524 0%, #6b1a2c 40%, #931933 100%); }

/* ---------------- print sheets ---------------- */
.sheet { position: relative; overflow: hidden; background: #fff; break-after: page; page-break-after: always; }
.sheet:last-child { break-after: auto; page-break-after: auto; }
.sheet .slot { position: absolute; overflow: hidden; }
.sheet .slot .idc, .sheet .slot .bc { overflow: visible; }
.sheet .mark { position: absolute; background: #000; }

/* ---------------- RSP cards: Team (sky blue lanyard) and Leadership (black lanyard) ----------------
   The background runs 2 mm past the card edge so the print shop file has bleed; on screen it is clipped. */
.rspc { position: relative; isolation: isolate; width: 54mm; height: 85.6mm; overflow: hidden; border-radius: 3mm; color: #fff;
  font-family: "Montserrat", sans-serif; -webkit-print-color-adjust: exact; print-color-adjust: exact; --acc: #b4cdef; }
.rspc.management { --acc: #e6cf9f; }
.rspc > * { position: absolute; }
.rspc img { max-width: none; }
.rspc .bg { left: -2mm; top: -2mm; width: 58mm; height: 89.6mm; z-index: -1; }
.rspc.staff.front .bg { background:
  radial-gradient(42% 30% at 100% 0%, rgba(205,235,255,.9) 0%, rgba(150,205,255,.4) 40%, rgba(120,190,255,0) 75%),
  radial-gradient(80% 58% at 104% -4%, rgba(120,190,255,.95) 0%, rgba(84,150,240,.55) 32%, rgba(60,120,220,0) 70%),
  radial-gradient(70% 45% at 8% 42%, rgba(70,180,255,.3) 0%, rgba(70,180,255,0) 70%),
  radial-gradient(95% 70% at -10% 108%, #0f1a45 0%, rgba(20,32,86,.85) 30%, rgba(25,40,100,0) 70%),
  linear-gradient(168deg, #3f84d6 0%, #2E639C 42%, #253C7B 78%, #1b2c62 100%); }
.rspc.staff.back .bg { background:
  radial-gradient(70% 42% at 50% 27%, rgba(130,195,255,.85) 0%, rgba(80,150,240,.5) 28%, rgba(46,99,156,0) 70%),
  radial-gradient(120% 60% at 50% 112%, #0f1a45 0%, rgba(16,26,70,0) 70%),
  linear-gradient(180deg, #336fb4 0%, #2E639C 40%, #253C7B 80%, #1b2c62 100%); }
.rspc.management .bg { background: linear-gradient(150deg, #05070d 0%, #0a1024 30%, #13245a 62%, #1f3f8f 85%, #2a55b0 100%); }
.rspc .grain { left: -2mm; top: -2mm; width: 58mm; height: 89.6mm; mix-blend-mode: overlay; opacity: .2; pointer-events: none; }
.rspc .word { left: 0; top: 0; width: 68mm; display: block; transform-origin: 0 0; transform: translate(38.6mm, 70.4mm) rotate(-90deg); }
.rspc .wd { opacity: .85; mix-blend-mode: multiply; }
.rspc .ww { opacity: .1; display: none; }
.rspc.management .wd { display: none; }
.rspc.management .ww { display: block; }
.rspc .spk { left: 5mm; top: 4.1mm; width: 5.4mm; display: block; }
.rspc .ph { left: 5mm; top: 12mm; width: 30.5mm; height: 37mm; border-radius: 1.6mm; overflow: hidden; background: rgba(255,255,255,.12); }
.rspc .ph img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.16) brightness(1.04); }
.rspc .ph .nophoto { position: absolute; inset: 0; display: grid; place-items: center; font: 500 6.4pt/1.3 "Montserrat", sans-serif; color: rgba(255,255,255,.7); }
/* name block: the margins trim each line box to its letters, so the gap is exactly name baseline to title capitals */
.rspc .who { left: 5mm; top: 49mm; height: 25.2mm; width: 30.5mm; display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 2.9mm; color: #fff; font-size: 10pt; text-align: left; }
.rspc .nm { font: 500 14.6pt/1.04 "Montserrat", sans-serif; letter-spacing: -.02em; white-space: nowrap; margin: -.1785em 0 -.1615em; }
.rspc .nm span { display: block; }
.rspc .rl { font: 600 5.6pt/1.35 "Montserrat", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--acc); text-wrap: balance; margin: -.3335em 0 -.3165em; }
.rspc .foot { left: 5mm; right: 5mm; bottom: 5mm; height: 6.4mm; border-top: .2mm solid rgba(255,255,255,.3); display: flex; justify-content: space-between; align-items: flex-end;
  font: 600 5.4pt/1 "Montserrat", sans-serif; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.rspc .halo { left: 50%; top: 23mm; width: 62mm; transform: translate(-50%, -50%); display: block; opacity: .07; }
.rspc.management .halo { opacity: .05; }
.rspc .qt { left: 14mm; top: 10.4mm; width: 26mm; height: 26mm; box-sizing: border-box; padding: 2.3mm; border-radius: 2.2mm;
  background: linear-gradient(150deg, #eef5fd 0%, #d3e5f8 55%, #c2d9f3 100%);
  box-shadow: 0 0 0 1.1mm rgba(255,255,255,.06), 0 0 0 1.28mm rgba(255,255,255,.3), inset 0 0 0 .15mm rgba(255,255,255,.6); }
.rspc.management .qt { background: linear-gradient(150deg, #f7f0e3 0%, #ecdcbd 55%, #e0c99e 100%); }
.rspc .dqr, .rspc .dqr svg { width: 100%; height: 100%; display: block; }
.rspc .q1 { stop-color: #08122f; } .rspc .q2 { stop-color: #1f3a78; }
.rspc.management .q1 { stop-color: #04060c; } .rspc.management .q2 { stop-color: #152454; }
.rspc .ctr { left: 4mm; right: 4mm; display: flex; flex-direction: column; align-items: center; text-align: center; }
.rspc .c1 { top: 39.4mm; } .rspc .c3 { top: 68.6mm; }
.rspc .kk { font: 600 5.4pt/1 "Montserrat", sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--acc); padding-left: .18em; }
.rspc .cd { font: 500 6pt/1 "Montserrat", sans-serif; color: rgba(255,255,255,.75); margin-top: 1.5mm; }
.rspc .cd b { color: #fff; font-weight: 600; letter-spacing: .14em; }
.rspc .hl { left: 12mm; right: 12mm; border-top: .2mm solid rgba(255,255,255,.28); }
.rspc .h1 { top: 46.4mm; } .rspc .h2 { top: 56.6mm; }
.rspc .row { left: 5mm; right: 5mm; top: 48.6mm; display: flex; justify-content: space-around; text-align: center; }
.rspc .row > div { display: flex; flex-direction: column; align-items: center; gap: 1.4mm; }
.rspc .val { font: 600 7pt/1 "Montserrat", sans-serif; letter-spacing: .03em; white-space: nowrap; min-height: 1em; }
.rspc .tbl { left: 5mm; right: 5mm; top: 58.6mm; display: flex; flex-direction: column; gap: 2.2mm; }
.rspc .tbl > div { display: flex; justify-content: space-between; align-items: baseline; }
.rspc .tbl .kk { letter-spacing: .16em; padding-left: 0; white-space: nowrap; }
.rspc .tbl .val { font-size: 6.8pt; }
.rspc .prop { font: 500 6pt/1.45 "Montserrat", sans-serif; color: rgba(255,255,255,.7); }
.rspc .lk { left: 50%; transform: translateX(-50%); bottom: 4.4mm; height: 3mm; display: block; }
.sheet .slot .rspc { overflow: visible; border-radius: 0; }
