/* At the Range (TX4 Golf) - same look as the Dot Game: clean, golf-themed, big tap targets. Safe inside an iframe (no fixed full-viewport tricks, transparent-friendly). */
:root {
  --green: #1f5f3a; --green-d: #154329; --green-l: #e8f3ec; --sand: #f6f3ea; --ink: #1d2a22; --mute: #5c6b62; --line: #d6ddd7; --bad: #b3261e; --warn: #8a5a00;
  --st4: #f4b0b0; --st3: #fcd5a0; --st2: #c6e0b4; --st1: #ddebf7; --st5: #e4d6f2; --st0: transparent;
  --r: 12px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* installed (standalone) app on a phone with a notch / rounded corners: keep content inside the safe area; the status-bar strip is green */
body { padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
body::before { content: ''; position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: env(safe-area-inset-top); background: var(--green); }
@media print { body::before { display: none; } }
body { margin: 0; font: 16px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: var(--sand); }
h1, h2 { margin: 0 0 .4rem; line-height: 1.2; } h2 { font-size: 1.15rem; }
p { margin: .3rem 0; }
.boot { padding: 2rem; text-align: center; color: var(--mute); }
.small { font-size: .85rem; color: var(--mute); }
a { color: var(--green); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.center { text-align: center; }

/* ---------- header / tabs ---------- */
.demo-bar { background: #fff3cd; color: #664d03; text-align: center; font-size: .85rem; padding: .35rem .6rem; }
.top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; background: var(--green); color: #fff; padding: .55rem .9rem; }
.brand { display: flex; align-items: center; gap: .5rem; font-size: 1.3rem; font-weight: 700; letter-spacing: .02em; }
.flag { font-size: 1.5rem; }
.who { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: .85rem; }
.who a { color: #cfe8d8; }
.who-email { max-width: 16rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { background: #ffffff33; border-radius: 99px; padding: .05rem .55rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.badge.admin { background: #ffd34d; color: #3a2d00; }
.tabs { display: flex; gap: .25rem; padding: .5rem .6rem 0; background: var(--green-d); overflow-x: auto; }
.tab { flex: 1 0 auto; min-height: 46px; padding: .5rem 1rem; border: 0; border-radius: 10px 10px 0 0; background: #ffffff1f; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.tab.on { background: var(--sand); color: var(--green-d); }
.main { padding: .7rem; max-width: 1100px; margin: 0 auto; }

/* ---------- cards, buttons, fields ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: .8rem .9rem; margin-bottom: .7rem; box-shadow: 0 1px 2px #0000000d; }
.btn { min-height: 46px; padding: .55rem 1rem; border: 1.5px solid var(--green); border-radius: 10px; background: #fff; color: var(--green-d); font: inherit; font-weight: 700; letter-spacing: .02em; cursor: pointer; }
.btn:hover { background: var(--green-l); } .btn:focus-visible, .inp:focus-visible, .tab:focus-visible { outline: 3px solid #f2b705; outline-offset: 1px; }
.btn-primary { background: var(--green); color: #fff; } .btn-primary:hover { background: var(--green-d); }
.btn-danger { border-color: var(--bad); color: var(--bad); } .btn-danger:hover { background: #fdecea; }
.btn.on { background: var(--green-l); }
.btn.big { width: 100%; margin-top: .6rem; font-size: 1.05rem; }
.btn.link, button.link { border: 0; background: none; color: var(--green); text-decoration: underline; min-height: 40px; padding: .3rem; font-weight: 500; cursor: pointer; font: inherit; }
button.link { text-align: left; min-height: 0; padding: 0; color: inherit; }
.small-btn { min-height: 36px; padding: .25rem .7rem; font-size: .85rem; }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: .1rem 0 .7rem; }
.actions .btn { flex: 1 1 8rem; }
.actions .post { flex: 2 1 10rem; font-size: 1.2rem; }
.inp { width: 100%; min-height: 44px; padding: .45rem .6rem; border: 1.5px solid #b9c4bc; border-radius: 9px; background: #fff; font: inherit; color: inherit; }
.inp.big { min-height: 52px; font-size: 1.15rem; } .inp.code { letter-spacing: .3em; text-align: center; font-size: 1.5rem; }
.fld { display: flex; flex-direction: column; gap: .2rem; margin-bottom: .6rem; font-size: .85rem; color: var(--mute); }
.chk { display: flex; align-items: center; gap: .5rem; min-height: 40px; }
.chk input { width: 22px; height: 22px; }
.lbl { display: block; margin-top: .6rem; font-size: .85rem; color: var(--mute); }
.msg { min-height: 1.4em; font-size: .9rem; color: var(--mute); } .msg.bad { color: var(--bad); font-weight: 600; }
.datewarn { grid-column: 1 / -1; margin: 0; background: #fdecea; border: 1px solid var(--bad); color: var(--bad); padding: .5rem .7rem; border-radius: 8px; font-size: .92rem; font-weight: 600; }
.datewarn[hidden] { display: none; }
.btn-primary.blocked { background: #8b8f8c; border-color: #8b8f8c; }
.warnbox { background: #fff3cd; border: 1px solid #f0d27a; color: #664d03; padding: .5rem .7rem; border-radius: 8px; font-size: .9rem; }
.demo-note { background: #fff3cd; border: 1px solid #f0d27a; color: #664d03; padding: .5rem .7rem; border-radius: 8px; font-size: .9rem; margin-bottom: .6rem; }

/* ---------- login ---------- */
.login-wrap { display: flex; justify-content: center; padding: 1.2rem .8rem; }
.login { width: 100%; max-width: 26rem; } .login .brand { color: var(--green-d); margin-bottom: .6rem; } .lead { font-size: 1rem; }


/* ---------- tables ---------- */
.tablewrap { overflow: auto; padding: 0; -webkit-overflow-scrolling: touch; }
table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: .9rem; }
th, td { padding: .35rem .5rem; border-bottom: 1px solid #edf0ed; white-space: nowrap; }
thead th { background: #eef3ef; text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; color: var(--mute); }
.utable td.em, .stable td.em { font-weight: 600; }
.chip { display: inline-block; min-width: 3.4rem; text-align: center; padding: .12rem .4rem; border-radius: 6px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- dialogs ---------- */
dialog { border: 0; border-radius: 14px; padding: 0; width: min(94vw, 30rem); max-height: 90vh; box-shadow: 0 10px 40px #0005; }
dialog::backdrop { background: #0006; }
dialog.dlg-print { width: min(96vw, 52rem); }
.dlg-form { display: flex; flex-direction: column; max-height: 90vh; }
.dlg-title { margin: 0; padding: .8rem 1rem; background: var(--green); color: #fff; font-size: 1.05rem; border-radius: 14px 14px 0 0; }
.dlg-warn .dlg-title { background: #8a5a00; } .dlg-error .dlg-title { background: var(--bad); }
.dlg-body { padding: .8rem 1rem; overflow: auto; } .dlg-line { margin: .1rem 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.dlg-input { width: 100%; min-height: 48px; margin-top: .6rem; padding: .4rem .6rem; font: inherit; font-size: 1.1rem; border: 1.5px solid #b9c4bc; border-radius: 9px; }
.dlg-buttons { display: flex; gap: .5rem; justify-content: flex-end; flex-wrap: wrap; padding: .6rem 1rem .9rem; } .dlg-buttons .btn { min-width: 6rem; }

/* ---------- "Install this app" tip (sign-in screen) ---------- */
.install-tip { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1rem; padding: .6rem .7rem; border: 1px dashed var(--line); border-radius: 10px; background: var(--green-l); font-size: .88rem; color: var(--ink); }
.install-tip .ic { font-size: 1.3rem; line-height: 1.2; }
.install-tip .tx { flex: 1; } .install-tip b { color: var(--green-d); }
.install-tip button { border: 0; background: transparent; color: var(--mute); font-size: 1.2rem; line-height: 1; padding: .1rem .4rem; cursor: pointer; border-radius: 6px; min-width: 2rem; min-height: 2rem; }
.install-tip button:hover { background: #d3e6d9; }
@media print { .install-tip { display: none; } }

/* =================================================================== At the Range */
:root { --c-club: #1f5f3a; --c-ball: #24557a; --c-flight: #8a5a00; --c-timing: #5b3b8c; --hl: #fff3cd; --hl-d: #ffd34d; }
.brand-tx { display: flex; flex-direction: column; line-height: 1.05; }
.brand-site { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.login .brand-site { color: var(--mute); }
.main { max-width: 1000px; }
.tab .dot { color: #ffd34d; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
label.btn { display: inline-flex; align-items: center; justify-content: center; }
.sh-top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; margin-bottom: .4rem; }
.sh-top h2 { margin: 0; }
.save-state { font-size: .82rem; color: var(--mute); background: var(--green-l); padding: .15rem .6rem; border-radius: 99px; }
.save-state.dirty { background: #fff3cd; color: #664d03; font-weight: 600; }
.btn.attn { box-shadow: 0 0 0 3px #ffd34d; }
.btn:disabled { opacity: .6; cursor: progress; }
.ctrl { display: grid; gap: .6rem; grid-template-columns: 1fr; } .ctrl .fld { margin: 0; }
@media (min-width: 640px) { .ctrl { grid-template-columns: 15rem 1fr; } .ctrl .span2 { grid-column: 1 / -1; } }
textarea.inp { resize: vertical; min-height: 3.2rem; }
.actions { margin-top: .7rem; }
.actions .btn { flex: 1 1 9rem; }
.notice { margin-bottom: .7rem; }
.infobox { background: var(--green-l); border: 1px solid #c4dccc; border-radius: 8px; padding: .4rem .7rem; font-size: .85rem; margin-bottom: .7rem; color: var(--green-d); }
.toast { position: fixed; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(150%); background: var(--green-d); color: #fff; padding: .55rem 1rem; border-radius: 99px; font-size: .9rem; box-shadow: 0 4px 14px #0004; transition: transform .25s, opacity .25s; z-index: 70; opacity: 0; visibility: hidden; max-width: 92vw; text-align: center; pointer-events: none; }
.toast.on { transform: translateX(-50%) translateY(0); opacity: 1; visibility: visible; }
.narrow { width: auto; min-width: 10rem; }
.wrap { white-space: normal; min-width: 8rem; }

/* import */
.dropzone { border: 2px dashed #9fb9a8; border-radius: 12px; padding: 1.1rem .9rem; text-align: center; background: #fbfdfb; }
.dropzone .btn { margin: .4rem 0; min-width: 14rem; }
.dz-ic { font-size: 1.8rem; color: var(--green); line-height: 1; }
body.dragging::after { content: 'Drop the R10 CSV file to import it'; position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; background: #1f5f3ad9; color: #fff; font-size: 1.4rem; font-weight: 700; border: 6px dashed #ffd34d; }
dialog.dlg-pick { width: min(96vw, 40rem); }
.pickbar { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin: .5rem 0; } .pickbar > span { margin-right: auto; }
.picklist { max-height: 46vh; overflow: auto; border: 1px solid var(--line); border-radius: 8px; }
.pickrow { display: grid; grid-template-columns: 1.6rem 2.6rem 5.4rem 1fr 4.6rem 3rem; gap: .3rem; align-items: center; padding: .3rem .5rem; border-bottom: 1px solid #edf0ed; font-size: .88rem; cursor: pointer; }
.pickrow:last-child { border-bottom: 0; } .pickrow input { width: 20px; height: 20px; } .pk-n { font-weight: 700; } .pk-t, .pk-g { color: var(--mute); font-size: .8rem; } .pk-d { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .pickrow { grid-template-columns: 1.6rem 2.4rem 1fr 4.2rem; } .pk-t, .pk-g { display: none; } }

/* shots editor */
.shots-card > summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; margin-bottom: .4rem; }
.shots-card > summary::-webkit-details-marker { display: none; }
.shots-card > summary h2 { margin: 0; } .shots-card > summary h2::before { content: '▾ '; color: var(--mute); } .shots-card:not([open]) > summary h2::before { content: '▸ '; }
.bulk { display: flex; flex-wrap: wrap; gap: .45rem .6rem; align-items: center; background: #f3f7f4; border: 1px solid var(--line); border-radius: 10px; padding: .5rem; margin-bottom: .5rem; }
.bulk-sel { font-size: .9rem; min-width: 6.5rem; }
.bulk-row { display: flex; flex-wrap: wrap; gap: .4rem; flex: 1 1 18rem; }
.bulk-row .inp { flex: 1 1 8rem; min-height: 38px; width: auto; }
.bulk-row .btn { flex: 0 0 auto; }
.edtable td, .edtable th { padding: .25rem .35rem; }
.edtable .cell-inp, .stable .cell-inp { min-height: 36px; padding: .25rem .45rem; min-width: 7.5rem; }
.edtable .ed-brand { min-width: 9rem; }
.edtable input[type=checkbox] { width: 22px; height: 22px; }
.edtable .c-note { max-width: 12rem; white-space: normal; }
.edtable tr.excl td { background: #f1f1f1; color: #8a8f8b; } .edtable tr.excl .cell-inp { color: #8a8f8b; }
.tag { display: inline-block; padding: .02rem .45rem; border-radius: 6px; font-size: .75rem; font-weight: 700; letter-spacing: .03em; background: #eceff0; color: #39443d; }
.tag-good { background: #d8eddf; color: #1f5f3a; } .tag-bad { background: #f8d9d6; color: #8b1d16; }

/* filters */
.fgroup { display: flex; gap: .5rem; align-items: flex-start; margin: .35rem 0; flex-wrap: wrap; }
.fg-lbl { min-width: 6.6rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--mute); padding-top: .45rem; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; flex: 1; }
.fchip { min-height: 36px; padding: .25rem .7rem; border-radius: 99px; border: 1.5px solid #b9c4bc; background: #fff; color: var(--ink); font: inherit; font-size: .88rem; cursor: pointer; display: inline-flex; gap: .4rem; align-items: center; }
.fchip .cnt { font-size: .72rem; background: #eef3ef; color: var(--mute); border-radius: 99px; padding: 0 .4rem; }
.fchip.blank { font-style: italic; color: var(--mute); }
.fchip.on { background: var(--green); border-color: var(--green); color: #fff; font-style: normal; } .fchip.on .cnt { background: #ffffff33; color: #fff; }
.fchip:focus-visible { outline: 3px solid #f2b705; outline-offset: 1px; }
.cmp-row { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; align-items: flex-end; margin-top: .4rem; }
.cmp-row .fld { margin: 0; flex: 0 1 22rem; }

/* the four sections */
.sec { padding: 0; overflow: hidden; }
.sec-band { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .45rem .8rem; color: #fff; background: var(--c-club); }
.sec-band h2 { margin: 0; font-size: 1rem; letter-spacing: .06em; }
.sec-ball .sec-band { background: var(--c-ball); } .sec-flight .sec-band { background: var(--c-flight); } .sec-timing .sec-band { background: var(--c-timing); }
.tempo-badge { background: var(--hl-d); color: #3a2d00; border-radius: 99px; padding: .15rem .7rem; font-size: .85rem; } .tempo-badge b { font-size: 1.05rem; }
.sec .tablewrap { max-height: none; border-radius: 0; }
.dtable { font-size: .86rem; }
.dtable th, .dtable td { padding: .3rem .45rem; }
.dtable thead th { padding: 0; vertical-align: bottom; text-transform: none; letter-spacing: 0; }
.sortbtn { display: flex; flex-direction: column; align-items: flex-start; width: 100%; min-height: 44px; padding: .3rem .45rem; border: 0; background: transparent; font: inherit; font-size: .74rem; font-weight: 700; color: #3c4840; cursor: pointer; text-align: left; line-height: 1.15; position: relative; padding-right: 1rem; }
.num .sortbtn { align-items: flex-end; text-align: right; }
.sortbtn .unit { font-weight: 500; color: var(--mute); font-size: .7rem; }
.sortbtn .arrow { position: absolute; right: .2rem; bottom: .35rem; font-size: .6rem; color: var(--green); }
.sortbtn:hover { background: #e2ebe5; } .sortbtn:focus-visible { outline: 3px solid #f2b705; outline-offset: -3px; }
th.sorted { background: #dfeae3 !important; }
.dtable .sticky { position: sticky; left: 0; z-index: 2; background: #fff; box-shadow: 1px 0 0 #e1e7e2; }
.dtable thead .sticky { z-index: 4; background: #eef3ef; }
.dtable .c-no { min-width: 3.4rem; text-align: center; }
.dtable .c-club { min-width: 7.5rem; white-space: normal; }
.dtable .c-club .cm { display: none; }
.dtable .c-club .cb { display: block; font-weight: 600; } .dtable .c-club .cn { display: block; font-size: .76rem; color: var(--mute); }
.dtable tbody tr:nth-child(even) td { background: #fafcfa; } .dtable tbody tr:nth-child(even) td.sticky { background: #fafcfa; }
.dtable tr.excl td { color: #9aa09c; background: #f1f1f1 !important; font-style: italic; }
.dtable tr.excl td.num { text-decoration: line-through; text-decoration-color: #c5c9c6; }
.xmark { color: var(--bad); font-style: normal; font-size: .75rem; }
.dtable td.hl, .dtable th.hl { background: var(--hl) !important; } .dtable td.hl { font-weight: 700; font-size: .95rem; }
.dtable thead th.hl { background: #ffe28c !important; }
.dtable tr.excl td.hl { background: #f1f1f1 !important; font-weight: 400; }
.dtable tfoot td, .dtable tfoot th { border-top: 1px solid #c9d6cd; background: var(--green-l); color: var(--green-d); font-weight: 700; position: static; }
.dtable tfoot tr.avg td, .dtable tfoot tr.avg th { border-top: 2px solid var(--green); }
.dtable tfoot .flabel { text-align: left; white-space: nowrap; font-size: .82rem; position: sticky; left: 0; z-index: 2; background: var(--green-l); }
.dtable tfoot tr.grp td, .dtable tfoot tr.grp th { background: #fff7d6; color: #5a4300; }
.dtable tfoot tr.sd td, .dtable tfoot tr.sd th { background: #f7f9f7; color: var(--mute); font-weight: 500; font-size: .8rem; }
.dtable tfoot td.hl { background: var(--hl-d) !important; color: #3a2d00; }
.dtable tfoot tr.sd td.hl { background: #fff8e1 !important; }

/* lists */
.stable td.acts { text-align: right; white-space: nowrap; } .stable td.acts .btn { margin-left: .3rem; }
.stable tr.rc { cursor: pointer; } .stable tr.rc:hover td { background: #fff7d6; }
.addrow { display: grid; grid-template-columns: 1fr; gap: .5rem; margin-top: .6rem; } @media (min-width: 640px) { .addrow { grid-template-columns: 1fr 1fr auto; } }

@media (max-width: 600px) {
  .main { padding: .45rem; }
  .card { padding: .65rem .6rem; }
  .sec { padding: 0; }
  .dtable { font-size: .8rem; }
  .dtable th, .dtable td { padding: .26rem .32rem; }
  .sortbtn { font-size: .68rem; padding: .25rem .3rem; padding-right: .8rem; }
  .dtable .c-no { min-width: 2.8rem; }
  .fg-lbl { min-width: 100%; padding-top: 0; }
  .top { padding: .45rem .6rem; } .brand { font-size: 1.1rem; }
  .who-email { max-width: 8rem; }
  .tab { padding: .45rem .6rem; font-size: .92rem; }
  /* portrait phone: Club Type + Tag move under the club name so the numbers fit without sideways scrolling */
  .dtable .c-type, .dtable .c-tag { display: none; }
  .dtable .c-club { min-width: 5.2rem; max-width: 6.6rem; }
  .dtable .c-club .cb, .dtable .c-club .cn { display: inline; } .dtable .c-club .cn::before { content: ' · '; }
  .dtable thead th { white-space: normal; }
  .dtable td.num { padding-left: .2rem; }
  .dtable .c-club .cm { display: block; font-size: .7rem; color: var(--mute); white-space: nowrap; }
  .dtable .c-club .cm .tag { font-size: .62rem; padding: 0 .3rem; }
  .dtable tfoot .flabel { white-space: normal; font-size: .76rem; }
}
@media print { .top, .tabs, .demo-bar, .actions, .bulk, .filters, .toast, .shots-card { display: none !important; } body { background: #fff; } .sec { break-inside: avoid; } }
/* ---------- charts (inline SVG; sizes come from JS measuring the box, so 1 SVG unit = 1 css px) ---------- */
.charts .chart-block { margin-top: .8rem; padding-top: .6rem; border-top: 1px solid var(--line); }
.charts .chart-block:first-of-type { border-top: 0; }
.chart-head { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: .5rem; }
.chart-head h3 { margin: 0; font-size: 1.05rem; color: var(--green-d); margin-right: auto; }
.seg { display: inline-flex; border: 1px solid var(--green); border-radius: 999px; overflow: hidden; }
.segbtn { border: 0; background: #fff; color: var(--green); font: inherit; font-size: .9rem; padding: .35rem .9rem; cursor: pointer; min-height: 2.1rem; }
.segbtn + .segbtn { border-left: 1px solid var(--green); }
.segbtn.on { background: var(--green); color: #fff; font-weight: 600; }
.chart-box { width: 100%; overflow: hidden; }
.chart-box.disp { max-width: 640px; margin: 0 auto; }
.chart-svg { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 8px; }
.legend { list-style: none; margin: .5rem 0 .2rem; padding: 0; display: grid; gap: .3rem; font-size: .9rem; }
.legend li { display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; }
.legend .swatch { flex: none; align-self: center; }
.legend span { color: var(--mute); }
.chart-note { margin: .3rem 0 0; }
@media (max-width: 600px) {
  .chart-head select { flex: 1 1 100%; }
  .legend { font-size: .82rem; }
}
@media print { .charts .seg, .charts select { display: none; } }
.chart-pair { display: grid; grid-template-columns: 1fr; gap: .8rem; align-items: start; }
@media (min-width: 760px) { .chart-pair { grid-template-columns: 1fr 1fr; } }

/* ---------- Player interview (Phase 4): phone-first form, pill check boxes, sticky actions ---------- */
.ivpick { display: flex; gap: .4rem; align-items: center; } .ivpick .inp { flex: 1; min-width: 0; }
.ivsec { margin: .1rem 0 .6rem; font-size: 1rem; color: var(--green-d); text-transform: uppercase; letter-spacing: .04em; }
.ivgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem .8rem; }
.ivgrid .span2, .ivform .span2 { grid-column: 1 / -1; }
.ivform textarea.inp { min-height: 5.2em; resize: vertical; }
.flabel { font-size: .85rem; color: var(--mute); }
.pills { display: flex; flex-wrap: wrap; gap: .45rem; }
.pill { display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: .45rem .9rem .45rem .6rem; border: 1.5px solid #b9c4bc; border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: .98rem; cursor: pointer; touch-action: manipulation; }
.pill .tick { width: 22px; height: 22px; flex: 0 0 22px; border: 2px solid #7d8a81; border-radius: 5px; background: #fff; position: relative; }
.pill[aria-checked="true"] { border-color: var(--green); background: var(--green-l); color: var(--green-d); font-weight: 700; }
.pill[aria-checked="true"] .tick { background: var(--green); border-color: var(--green); }
.pill[aria-checked="true"] .tick::after { content: ''; position: absolute; left: 6px; top: 1px; width: 6px; height: 12px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.pill:focus-visible { outline: 3px solid #f2b705; outline-offset: 1px; }
.eq-row { display: grid; grid-template-columns: 7rem 1.6fr 1.6fr .8fr .8fr; gap: .5rem; align-items: center; padding: .35rem 0; border-bottom: 1px solid var(--line); }
.eq-head { font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; color: var(--mute); font-weight: 700; }
.eq-club { font-weight: 700; color: var(--green-d); }
.eq-cell { display: block; } .eq-lab { display: none; }
.ivlinks { list-style: none; margin: 0; padding: 0; } .ivlinks li { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .35rem 0; border-bottom: 1px solid var(--line); }
.ivbar { position: sticky; bottom: 0; z-index: 20; display: flex; flex-wrap: wrap; gap: .5rem; padding: .6rem .7rem calc(.6rem + env(safe-area-inset-bottom)); margin: 0 -.2rem; background: #fffffff2; border-top: 1px solid var(--line); box-shadow: 0 -2px 8px #0000001a; border-radius: 12px 12px 0 0; }
.ivbar .btn { flex: 1 1 auto; }
@media (max-width: 600px) {
  .ivgrid { grid-template-columns: 1fr 1fr; }
  .ivgrid .fld:has(#iv-name), .ivgrid .fld:has(#iv-email), .ivgrid .fld:has(#iv-phone), .ivgrid .fld:has(#iv-interview_date) { grid-column: 1 / -1; }
  .pill { font-size: 1rem; }
  .eq-head { display: none; }
  .eq-row { grid-template-columns: 1fr 1fr; gap: .35rem .5rem; padding: .6rem 0; }
  .eq-club { grid-column: 1 / -1; }
  .eq-cell:nth-of-type(1), .eq-cell:nth-of-type(2) { grid-column: 1 / -1; }
  .eq-lab { display: block; font-size: .78rem; color: var(--mute); margin-bottom: .1rem; }
}
@media print { .ivbar, .tabs, .top, .demo-bar { display: none !important; } .ivform .card { break-inside: avoid; box-shadow: none; } }
