.ljtf-app{--ljtf-green:#25563b;--ljtf-ink:#172921;--ljtf-gray:#64736d;--ljtf-border:#e1e9e3;--ljtf-muted:#f6f9f6;font:inherit;color:var(--ljtf-ink);background:#fff;border:1px solid var(--ljtf-border);border-radius:14px;overflow:hidden;max-width:1250px;margin:10px auto 40px;box-shadow:0 14px 35px rgba(18,50,30,.045)}.ljtf-app *{box-sizing:border-box}.ljtf-app h1,.ljtf-app h2,.ljtf-app h3,.ljtf-app p{margin-top:0}.ljtf-header{padding:35px 38px;background:linear-gradient(116deg,#eef5ef,#fcfdfb);display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--ljtf-border)}.ljtf-eyebrow{font-size:11px;letter-spacing:1.5px;font-weight:750;color:#557763}.ljtf-header h1{font-size:36px;font-weight:850;letter-spacing:-1px;line-height:1.2;margin:7px 0}.ljtf-header h1 span{color:#408157}.ljtf-header p{color:var(--ljtf-gray);font-size:14px;margin:8px 0 0}.ljtf-header-mark{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:104px;height:78px;border:2px solid #3e7654;border-radius:12px;color:#26583d;font-size:22px;font-weight:850;letter-spacing:2px}.ljtf-header-mark span{font-size:9px;letter-spacing:2px}.ljtf-tabs{padding:0 35px;display:flex;gap:28px;overflow-x:auto;border-bottom:1px solid var(--ljtf-border)}.ljtf-tabs a{white-space:nowrap;color:#64766a;text-decoration:none;padding:17px 3px 14px;border-bottom:3px solid transparent;font-size:14px;font-weight:650}.ljtf-tabs a.is-active,.ljtf-tabs a:hover{color:#276141;border-bottom-color:#318455}.ljtf-body{padding:30px 35px 38px}.ljtf-section-head h2{font-size:23px;line-height:1.25;margin:0 0 7px;font-weight:750}.ljtf-section-head p,.ljtf-muted{font-size:14px;color:var(--ljtf-gray);margin:0 0 25px}.ljtf-filter{background:var(--ljtf-muted);border:1px solid var(--ljtf-border);border-radius:10px;padding:20px 20px 14px;margin:0 0 27px}.ljtf-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.ljtf-app label{display:flex;flex-direction:column;gap:7px;min-width:0}.ljtf-app label span{font-size:12px;color:#4b6154;font-weight:700}.ljtf-app select,.ljtf-app input[type=search]{border:1px solid #d5e0d7;background:#fff;color:#193827;border-radius:7px;min-height:42px;padding:0 12px;font:inherit;font-size:14px;max-width:100%;width:100%}.ljtf-app select:focus,.ljtf-app input:focus{outline:2px solid #a5cfb2;outline-offset:1px}.ljtf-filter-actions{display:flex;align-items:center;gap:18px;margin-top:18px}.ljtf-app button{background:#27623f;color:#fff;padding:11px 19px;border:none;border-radius:7px;font:inherit;font-size:14px;font-weight:700;cursor:pointer}.ljtf-app button:hover{background:#1b482e}.ljtf-app a.ljtf-reset{font-size:13px;color:#597565;text-decoration:underline}.ljtf-table-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:25px 0 13px}.ljtf-table-head h3{font-size:17px;margin:0;font-weight:750}.ljtf-table-head span{font-size:12px;color:var(--ljtf-gray)}.ljtf-table-scroll{overflow-x:auto;border:1px solid var(--ljtf-border);border-radius:10px}.ljtf-app table{border-collapse:collapse;width:100%;font-size:13px;margin:0;line-height:1.5}.ljtf-app thead{background:#f3f7f4}.ljtf-app th{color:#50685b;font-weight:750;text-align:left;font-size:12px;white-space:nowrap}.ljtf-app td,.ljtf-app th{padding:13px 14px;border-bottom:1px solid #e9efeb}.ljtf-app tbody tr:last-child td{border-bottom:0}.ljtf-app tbody tr:hover{background:#f8faf8}.ljtf-app .ljtf-name{font-weight:700;color:#2b7049;text-decoration:none}.ljtf-app .ljtf-name:hover{text-decoration:underline}.ljtf-rank{display:inline-flex;justify-content:center;align-items:center;min-width:25px;height:25px;border-radius:6px;background:#ebf3ed;font-weight:750}.ljtf-empty{padding:52px 12px;text-align:center;color:#69796f;border:1px dashed #cadbce;border-radius:10px}.ljtf-empty-icon{font-size:32px;margin-bottom:10px;color:#7c9a85}.ljtf-empty strong{display:block;font-size:16px;color:#354c3d}.ljtf-empty p{font-size:13px;margin:7px auto 0}.ljtf-search-row{display:flex;gap:10px;max-width:700px}.ljtf-inline-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:18px;background:var(--ljtf-muted);border:1px solid var(--ljtf-border);border-radius:10px;margin:16px 0 25px}.ljtf-inline-filter label{min-width:160px;flex:1}.ljtf-back{margin:0 0 18px;font-size:14px}.ljtf-back a{color:#2d6946}.ljtf-facts{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.ljtf-facts>div{background:#f6f8f6;padding:14px 20px;border:1px solid var(--ljtf-border);border-radius:8px;min-width:150px}.ljtf-facts small{display:block;color:#667a6c;font-size:12px}.ljtf-facts strong{display:block;font-size:17px}.ljtf-footer{background:#f8faf8;border-top:1px solid var(--ljtf-border);padding:17px 35px;color:#8a988f;font-size:11px}.ljtf-warning{padding:12px;background:#fff7e7;border-radius:6px;margin-top:15px}.ljtf-note{font-size:12px;color:#6d7b73;margin:12px 0 0}@media(max-width:760px){.ljtf-header{padding:24px 20px}.ljtf-header h1{font-size:28px}.ljtf-header-mark{display:none}.ljtf-tabs{padding:0 18px;gap:22px}.ljtf-body{padding:23px 16px}.ljtf-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ljtf-filter{padding:14px}.ljtf-app td,.ljtf-app th{padding:10px}.ljtf-search-row{flex-direction:column}.ljtf-footer{padding:16px}}@media(max-width:480px){.ljtf-filter-grid{grid-template-columns:1fr}}

/* Wide ranking table: allow horizontal scrolling on smaller screens. */
.ljtf-app .ljtf-table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.ljtf-app .ljtf-table-scroll table{min-width:1080px}
.ljtf-app .ljtf-table-scroll td{white-space:nowrap}

/* Competition attempts */
.ljtf-app .ljtf-attempt-bad{color:#b42330;font-weight:650}.ljtf-app .ljtf-attempt-good{color:#244d35}.ljtf-app .ljtf-table-scroll:has(.ljtf-attempt-good) table{min-width:1650px}

/* v1.3: full-width competition results, retain scroll on small displays */
.ljtf-app.ljtf-app-competition {
  width: min(1840px, calc(100vw - 32px));
  max-width: none;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-left: 0;
  margin-right: 0;
}
.ljtf-app-competition .ljtf-body {padding-left: 24px; padding-right: 24px;}
.ljtf-app-competition .ljtf-table-scroll table {min-width: 1430px;}
.ljtf-app-competition .ljtf-table-scroll td,
.ljtf-app-competition .ljtf-table-scroll th {padding: 10px 7px; font-size: 12px; white-space: nowrap;}
.ljtf-app-competition .ljtf-table-scroll td:first-child,
.ljtf-app-competition .ljtf-table-scroll th:first-child {min-width: 150px; position: sticky; left: 0; z-index: 1; background: #fff;}
.ljtf-app-competition .ljtf-table-scroll th:first-child {background: #f3f7f4; z-index: 2;}
.ljtf-app-competition .ljtf-table-scroll tr:hover td:first-child {background: #f8faf8;}
@media(max-width:760px) {
 .ljtf-app.ljtf-app-competition {width: calc(100vw - 16px);}
 .ljtf-app-competition .ljtf-body {padding: 20px 12px;}
}

/* v1.4 – full viewport, no horizontal scrolling on meet details */
body:has(.ljtf-app-competition) {overflow-x:hidden;}
.ljtf-app.ljtf-app-competition {width:calc(100vw - 24px)!important;max-width:none!important;margin-left:0!important;margin-right:0!important;position:relative!important;left:50%!important;transform:translateX(-50%)!important;}
.ljtf-app-competition .ljtf-body {padding:18px 12px!important;}
.ljtf-app-competition .ljtf-compact-results {width:100%;overflow:visible!important;border:1px solid #dce7df;border-radius:6px;}
.ljtf-app-competition .ljtf-comp-table {width:100%!important;min-width:0!important;table-layout:fixed;border-collapse:collapse;font-size:clamp(8px,.75vw,12px);}
.ljtf-app-competition .ljtf-comp-table th,.ljtf-app-competition .ljtf-comp-table td {padding:6px 2px!important;min-width:0!important;max-width:none!important;white-space:normal!important;overflow-wrap:anywhere!important;text-align:center;line-height:1.2;font-size:inherit!important;position:static!important;}
.ljtf-app-competition .ljtf-comp-table th:first-child,.ljtf-app-competition .ljtf-comp-table td:first-child {position:static!important;min-width:0!important;}
.ljtf-app-competition .ljtf-comp-table .ljtf-person {text-align:left;overflow-wrap:break-word;}
.ljtf-app-competition .ljtf-comp-table .ljtf-name {font-weight:650;}
.ljtf-app-competition .ljtf-comp-table .ljtf-club {font-size:.95em!important;}
.ljtf-app-competition .ljtf-comp-table .ljtf-total {font-weight:800;}
.ljtf-app-competition .ljtf-comp-table .ljtf-group-head th {background:#e8f1e9;border-bottom:1px solid #b7d2bd;}
.ljtf-app-competition .ljtf-comp-table .ljtf-number-head th {background:#f3f7f4;}
.ljtf-app-competition .ljtf-comp-table .ljtf-fourth {display:block;font-size:.85em;line-height:1.2;margin-top:3px;border-top:1px dotted #cbd7cf;padding-top:2px;}
.ljtf-app-competition .ljtf-comp-table .ljtf-col-name{width:15%;}
.ljtf-app-competition .ljtf-comp-table .ljtf-col-club{width:10%;}
.ljtf-app-competition .ljtf-comp-table .ljtf-col-bw{width:5%;}
.ljtf-app-competition .ljtf-comp-table .ljtf-col-cat{width:4.5%;}
.ljtf-app-competition .ljtf-comp-table .ljtf-col-attempt{width:5.4%;}
.ljtf-app-competition .ljtf-comp-table .ljtf-col-total{width:5.5%;}
.ljtf-app-competition .ljtf-comp-table .ljtf-col-gl{width:5.5%;}
.ljtf-app-competition .ljtf-comp-table .ljtf-col-place{width:5.9%;}
@media(max-width:700px){.ljtf-app-competition .ljtf-comp-table {font-size:7px;}.ljtf-app-competition .ljtf-comp-table th,.ljtf-app-competition .ljtf-comp-table td{padding:4px 1px!important;}.ljtf-app-competition .ljtf-header{padding:18px 12px;}}

/* LJTF v1.6 athlete statistics and age-group result sections */
.ljtf-athlete-overview{display:flex;gap:20px;align-items:stretch;flex-wrap:wrap;margin:22px 0 24px}
.ljtf-athlete-overview .ljtf-facts{margin:0}
.ljtf-personal-bests{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:12px;flex:1}
.ljtf-pb-card{background:#f4f8f4;border:1px solid #dce7df;border-radius:10px;padding:16px}
.ljtf-pb-card h3{font-size:15px;margin:0 0 10px;color:#285c3d}
.ljtf-pb-total{font-size:24px;font-weight:800;color:#14283c}
.ljtf-pb-lifts,.ljtf-pb-points{font-size:12px;margin-top:8px;color:#526b5c}
.ljtf-app-competition .ljtf-comp-table tr.ljtf-division-row th{background:#dceadd!important;text-align:left!important;padding:12px!important;color:#234d35!important;font-size:13px!important;letter-spacing:.02em}
@media(max-width:740px){.ljtf-personal-bests{grid-template-columns:1fr}}

/* v2.0: spalva iš LJTF pateikto pavyzdžio: #6B946B */
.ljtf-app { --ljtf-green: #6B946B; --ljtf-border: #d8e5d8; --ljtf-muted: #f3f7f3; }
.ljtf-app .ljtf-tabs a.is-active, .ljtf-app .ljtf-tabs a:hover { color:#416841; border-bottom-color:#6B946B; }
.ljtf-app .ljtf-name, .ljtf-app .ljtf-back a, .ljtf-app a.ljtf-reset { color:#416841; }
.ljtf-app .ljtf-filter, .ljtf-app .ljtf-inline-filter, .ljtf-app .ljtf-pb-card { background:#f3f7f3; border-color:#d8e5d8; }
.ljtf-app thead, .ljtf-app .ljtf-comp-table .ljtf-number-head th { background:#ecf3ec; }
.ljtf-app .ljtf-comp-table tr.ljtf-division-row th { background:#d9e8d9!important; color:#294e29!important; }
.ljtf-app .ljtf-comp-table .ljtf-group-head th { background:#e4efe4; }
.ljtf-app .ljtf-rank { background:#e3eee3; color:#345d34; }
.ljtf-app button { background:#416e41; }
.ljtf-app button:hover { background:#315731; }
.ljtf-app select:focus, .ljtf-app input:focus { outline-color:#6B946B; }
.ljtf-app .ljtf-pb-card h3, .ljtf-app .ljtf-pb-points { color:#416841; }
.ljtf-app .ljtf-attempt-good { color:#315c31; }
.ljtf-app .ljtf-tabs { padding-top: 2px; }

.ljtf-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:7px;margin:24px 0 0}.ljtf-pagination a,.ljtf-pagination span{padding:7px 11px;border-radius:6px;font-size:13px;text-decoration:none}.ljtf-pagination a{border:1px solid var(--ljtf-border);color:#356c4a}.ljtf-pagination a:hover,.ljtf-pagination a.is-current{background:#6B946B;color:#fff;border-color:#6B946B}
