.brand,.model-link { text-decoration:none; }
.model-link { padding:.65rem 1rem;border:1px solid #50545f;border-radius:6px;background:linear-gradient(#353840,#202228);color:#edf0f5; }
.model-main { max-width:1500px;margin:auto;padding:2rem 3%; }
.model-intro { max-width:1050px;margin:2rem 0; }
.model-intro h1 { font-size:clamp(2.1rem,4vw,3.6rem);margin:1rem 0;letter-spacing:-.035em; }
.model-intro h1 span { color:#bdc7d8; }
.model-intro p { color:#c3c8d2;line-height:1.6; }
.model-notice { border:1px solid #656b77;border-left:3px solid #c4cbd6;background:linear-gradient(140deg,#2a2e37,#1b1e24);border-radius:8px;padding:1.1rem 1.3rem;margin:1.5rem 0; }
.model-notice strong { color:#f0f2f6; }
.model-notice p { margin:.5rem 0 0;font-size:1rem; }
.model-status { display:flex;gap:1rem;flex-wrap:wrap;color:#aeb5c3;font-size:.95rem; }
.model-pilots { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1rem 0 2rem; }
.model-pilot { border:1px solid #454b58;background:linear-gradient(145deg,#2c3039,#17191f 80%);border-radius:12px;padding:1.4rem;box-shadow:inset 0 1px #ffffff12; }
.model-pilot h3 { margin:0 0 .25rem;font-size:1.5rem; }
.model-pilot .model-old { color:#aab1be;font-size:.95rem;margin:.5rem 0; }
.model-pilot .model-earned { font-size:1.6rem;color:#e7ebf4;font-weight:700; }
.model-pilot .model-earned small { font-size:1rem;color:#aeb7c5;font-weight:400; }
.model-score-groups { display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.6rem;margin:1rem 0; }
.model-score-groups div { background:#10121777;padding:.7rem;border:1px solid #3c424e;border-radius:6px; }
.model-score-groups span { display:block;font-size:.875rem;color:#b4bdca;margin-bottom:.3rem; }
.model-score-groups b { font-size:1rem; }
.model-pilot p,.model-pilot small { line-height:1.55; }
.model-pilot small,.model-note { color:#aeb7c5;font-size:.9rem; }
.model-warning { color:#ffb4b9!important; }
.model-list { padding-bottom:1.3rem;overflow:hidden; }
.model-list .toolbar { flex-wrap:wrap;gap:1rem; }
.model-caption { padding:0 1.3rem;color:#aeb7c5;font-size:.95rem; }
.model-table-head,.model-summary { display:grid;grid-template-columns:2fr 1.2fr 1.4fr 1fr;gap:1rem;align-items:center;padding:1.1rem 1.3rem; }
.model-table-head { background:#2a2e36;color:#b5bfce;font-size:.9rem; }
.model-row { border-bottom:1px solid #343943; }
.model-row:nth-child(even) { background:#ffffff03; }
.model-summary { list-style:none;cursor:pointer; }
.model-summary::-webkit-details-marker { display:none; }
.model-summary:hover { background:#ffffff06; }
.model-summary>span>small { display:block;color:#a6aebc;font-size:.875rem;margin-top:.3rem; }
.model-row[open]>.model-summary { background:#303640;box-shadow:inset 3px 0 #c3ccdb; }
.model-details { padding:1.4rem;background:#111318; }
.model-details .brief { margin-bottom:1rem; }
.model-details h3 { margin-top:0; }
.model-history-wrap { overflow:auto; }
.model-history { width:100%;border-collapse:collapse;font-size:.95rem;min-width:660px; }
.model-history td,.model-history th { text-align:right;padding:.75rem;border-bottom:1px solid #343b47;white-space:nowrap; }
.model-history td:first-child,.model-history th:first-child { text-align:left; }
.model-history th { color:#b7c0ce;font-weight:500; }
.model-details details.fold { margin:1rem 0; }
.model-rule { padding:.8rem 0;border-bottom:1px solid #333a46; }
.model-rule>div { display:flex;justify-content:space-between;gap:1rem; }
.model-rule p { margin:.4rem 0;line-height:1.5;font-size:.95rem; }
.model-rule small { color:#a8b3c4;font-size:.875rem; }
.model-source td { white-space:normal;font-size:.875rem; }
.model-source td:last-child { overflow-wrap:anywhere; }
.model-method { margin-top:2rem;padding:1.5rem; }
.model-method p { line-height:1.65; }
.model-weights { display:flex;flex-wrap:wrap;gap:1.2rem; }
.model-weights b { display:block;color:#e3e9f4; }
#model-more { display:block;margin:1.3rem auto 0; }
#model-more[hidden] { display:none; }
.model-count-note { padding:1rem 1.3rem;color:#aeb7c5; }
@media(max-width:900px) { .model-score-groups{grid-template-columns:repeat(3,minmax(0,1fr));}.model-pilots{grid-template-columns:1fr;} }
@media(max-width:620px) {
 .model-main{padding:1rem 4%;}.model-pilot{padding:1rem;}.model-table-head{display:none;}
 .model-summary{grid-template-columns:1fr 1fr;gap:1rem;padding:1rem;}.model-details{padding:.7rem;}
 .model-summary>span::before{display:block;color:#8e9aad;font-size:.875rem;margin-bottom:.25rem;}
 .model-summary>span:nth-child(2)::before{content:'Dotychczasowy model';}.model-summary>span:nth-child(3)::before{content:'GARP · roboczo';}.model-summary>span:nth-child(4)::before{content:'Pokrycie';}
 .model-rule>div{display:block;}.model-rule b{display:block;margin-top:.3rem;}.model-status{display:block;}.model-status span{display:block;margin:.3rem 0;}
}
