/* Athos: MCP, publiczny profil i wyszukiwarka. Wszystkie selektory lokalne. */
#page-body .athos-mcp-shortcuts { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 16px; color:var(--wk-ink-faint); font-size:12px; }
#page-body .athos-mcp-shortcuts a { color:var(--athos-sea-deep); text-decoration:none; }
#page-body .athos-mcp-shortcuts a:hover { text-decoration:underline; }
#page-body #tabs.athos-mcp-tabs { margin:0 0 16px; }
#page-body #tabs.athos-mcp-tabs > ul { display:flex; flex-wrap:wrap; gap:0 24px; padding:0; border-bottom:1px solid var(--wk-line); }
#page-body #tabs.athos-mcp-tabs .tab { flex:0 0 auto; max-width:100%; }
#page-body #tabs.athos-mcp-tabs .tab > a { display:block; min-height:40px; padding:8px 0; border:0; border-bottom:2px solid transparent; border-radius:0; background:transparent; color:var(--wk-ink-soft); font-size:14px; line-height:1.5; white-space:normal; overflow-wrap:anywhere; }
#page-body #tabs.athos-mcp-tabs .tab > a:hover { color:var(--athos-sea); border-bottom-color:var(--wk-line); }
#page-body #tabs.athos-mcp-tabs .tab.activetab > a { color:var(--athos-sea-deep); background:transparent; border-bottom-color:var(--athos-sea); font-weight:700; }
#page-body .athos-mcp-shell { margin:0 0 24px; border:1px solid var(--wk-line); border-radius:4px; background:#fff; }
#page-body .athos-mcp-shell > .inner { padding:0; }
#page-body .athos-mcp-layout { display:grid; grid-template-columns:240px minmax(0,1fr); align-items:stretch; }
#page-body .athos-mcp-shell #cp-menu { float:none; width:auto; min-width:0; margin:0; padding:16px; background:#e9f1f3; border-inline-end:1px solid var(--wk-line); }
#page-body .athos-mcp-shell #cp-menu .navigation ul { display:flex; flex-direction:column; gap:0; padding:0; margin:0; }
#page-body .athos-mcp-shell #cp-menu .navigation a { display:block; margin:0; padding:8px 16px; min-height:40px; border:0; border-inline-start:2px solid transparent; border-radius:0; color:#294651; font-size:14px; line-height:1.5; overflow-wrap:anywhere; }
#page-body .athos-mcp-shell #cp-menu .navigation a:hover { background:#e0eaed; color:var(--athos-sea-deep); }
#page-body .athos-mcp-shell #cp-menu .active-subsection a { background:#d8e8eb; border-inline-start-color:var(--athos-sea); color:#173e4b; font-weight:700; }
#page-body .athos-mcp-shell #cp-main { min-width:0; width:auto; float:none; overflow:visible; margin:0; padding:24px; background:#fff; }
#page-body .athos-mcp-shell #cp-main :is(h2,h3) { font-family:Georgia,serif; font-weight:400; text-transform:none; letter-spacing:0; color:var(--athos-sea-deep); overflow-wrap:anywhere; }
#page-body .athos-mcp-shell #cp-main h2 { font-size:26px; margin:0 0 16px; padding:0 0 16px; border-bottom:1px solid var(--wk-line); }
#page-body .athos-mcp-shell #cp-main h3 { font-size:20px; margin:0 0 8px; padding:0 0 8px; border-bottom:1px solid var(--wk-line); }
#page-body .athos-mcp-shell #cp-main .panel { background:transparent; border:0; border-radius:0; box-shadow:none; margin:0 0 24px; }
#page-body .athos-mcp-shell #cp-main .panel > .inner { padding:0; }
#page-body .athos-mcp-shell #cp-main :is(.forumbg,.forabg) { margin-bottom:16px; }
#page-body .athos-mcp-shell #cp-main .topiclist li.header { background:var(--athos-sea); border:0; }
#page-body .athos-mcp-shell #cp-main .topiclist li.header > dl > :is(dt,dd) { color:white; border:0; padding:8px; font-size:12px; }
#page-body .athos-mcp-shell #cp-main .topiclist li.row { background:#fff; border:0; border-bottom:1px solid var(--wk-line-soft); border-radius:0; margin:0; }
#page-body .athos-mcp-shell #cp-main .topiclist li.row:hover { background:#edf4f6; }
#page-body .athos-mcp-shell #cp-main .topiclist li.row > dl > dd { border:0; min-width:0; overflow-wrap:anywhere; }
#page-body .athos-mcp-shell #cp-main .topiclist dd.moderation { flex:0 1 36%; max-width:36%; text-align:start; }
#page-body .athos-mcp-shell #cp-main .topiclist dd.mark { width:64px; flex:0 0 64px; }
#page-body .athos-mcp-shell #cp-main table.table1 { width:100%; max-width:100%; border-collapse:collapse; }
#page-body .athos-mcp-shell #cp-main table.table1 th { background:var(--athos-sea); color:#fff; padding:8px; }
#page-body .athos-mcp-shell #cp-main table.table1 td { padding:8px; overflow-wrap:anywhere; }
#page-body .athos-mcp-shell #cp-main :is(input.inputbox,textarea,select) { max-width:100%; border-radius:4px; }
#page-body .athos-mcp-shell #cp-main fieldset { min-width:0; }
#page-body .athos-mcp-shell #cp-main fieldset > dl { gap:8px 16px; padding:8px 0; }
#page-body .athos-mcp-shell #cp-main :is(fieldset.submit-buttons,fieldset.display-actions) { background:transparent; border:0; border-top:1px solid var(--wk-line); padding:16px 0 0; margin:16px 0; text-align:end; }
#page-body .athos-mcp-shell #cp-main :is(.button1,.button2,.button3) { min-height:40px; border-radius:4px; box-shadow:none; margin:0 0 8px; }
#page-body .athos-mcp-shell #cp-main .button1 { background:var(--athos-sea); border-color:var(--athos-sea); color:white; }
#page-body .athos-mcp-shell #cp-main .button1:hover { background:var(--athos-sea-deep); }
/* Publiczny profil: portret, tożsamość, pozostałe dane. */
#page-body .athos-public-profile > .panel { margin:0 0 16px; background:white; border:1px solid var(--wk-line); border-radius:4px; }
#page-body .athos-public-profile > .panel > .inner { padding:24px; }
#page-body .athos-profile-identity > .inner { display:grid; grid-template-columns:minmax(0,1fr); align-items:start; gap:24px; }
#page-body .athos-profile-identity > .inner:has(> .avatar-rank-container) { grid-template-columns:192px minmax(0,1fr); }
#page-body .athos-profile-identity > .inner::after,#page-body .athos-profile-information > .inner::after { display:none; }
#page-body .athos-profile-identity .avatar-rank-container { float:none; width:auto; margin:0; text-align:center; min-width:0; }
#page-body .athos-profile-identity .profile-avatar img { display:block; width:100%; max-width:192px; height:auto; aspect-ratio:1; object-fit:cover; border-radius:4px; margin:0 auto 8px; }
#page-body .athos-profile-identity .avatar-rank-container dd { margin:8px 0 0; }
#page-body .athos-profile-identity .avatar-rank-container dd img { max-width:100%; height:auto; }
#page-body .athos-public-profile dl.details { float:none; display:grid; grid-template-columns:minmax(112px, 30%) minmax(0,1fr); width:auto; margin:0; min-width:0; gap:0 16px; }
#page-body .athos-public-profile dl.details > :is(dt,dd) { float:none; clear:none; width:auto; min-width:0; margin:0; padding:8px 0; text-align:start; font-size:14px; overflow-wrap:anywhere; border-bottom:1px solid var(--wk-line-soft); }
#page-body .athos-public-profile dl.details > dt { color:var(--wk-ink-soft); font-weight:500; }
#page-body .athos-public-profile dl.details > dt.sr-only { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); border:0; }
#page-body .athos-public-profile dl.details > :is(.athos-profile-name,.athos-profile-title-line,.athos-profile-actions) { grid-column:1/-1; border:0; }
#page-body .athos-public-profile dl.details > .athos-profile-name { padding:0 0 8px; font:400 32px/1.2 Georgia,serif; color:var(--wk-ink); }
#page-body .athos-public-profile .athos-profile-name > span { font-weight:400!important; }
#page-body .athos-public-profile dl.details > .athos-profile-title-line { padding:0; font-size:15px; color:var(--wk-ink-soft); }
#page-body .athos-public-profile dl.details > .athos-profile-office { color:var(--athos-sea-deep); font-weight:600; }
#page-body .athos-public-profile dl.details > .athos-profile-actions { display:flex; flex-wrap:wrap; gap:8px; padding:16px 0 8px; }
#page-body .athos-profile-actions a { display:inline-flex; align-items:center; min-height:40px; padding:8px 16px; border:1px solid var(--wk-line); border-radius:4px; color:var(--athos-sea-deep); background:white; font-size:13px; }
#page-body .athos-profile-actions a:hover { background:var(--athos-sea-light); text-decoration:none; }
#page-body .athos-public-profile .athos-profile-information > .inner { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.3fr); gap:32px; }
#page-body .athos-profile-information :is(.column1,.column2) { float:none; width:auto; min-width:0; }
#page-body .athos-public-profile h3 { font:400 20px/1.3 Georgia,serif; color:var(--athos-sea-deep); text-transform:none; letter-spacing:0; margin:0 0 16px; padding:0 0 8px; border-bottom:1px solid var(--wk-line); }
#page-body .athos-public-profile .athos-profile-pm { display:inline-flex; align-items:center; gap:8px; padding:8px 16px; min-height:40px; border:1px solid var(--athos-sea); background:var(--athos-sea); color:#fff; border-radius:4px; box-shadow:none; margin:0 0 16px; }
#page-body .athos-public-profile .athos-profile-pm .icon { color:inherit; }
#page-body .athos-public-profile .athos-profile-pm:hover { background:var(--athos-sea-deep); }
#page-body .athos-public-profile :is(select,input) { max-width:100%; }
#page-body .athos-profile-signature .postbody { padding:0; }
#page-body .athos-profile-signature .signature { max-height:none; margin:0; padding:0; border:0; }
#page-body .athos-profile-signature img { max-width:100%; height:auto; }
/* Wyszukiwanie: jedno pole robocze i jedna kolumna filtrów. */
#page-body .athos-search-form { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:0; background:#fff; border:1px solid var(--wk-line); border-radius:4px; margin:0 0 24px; }
#page-body .athos-search-form > .panel { border:0; margin:0; border-radius:0; background:transparent; box-shadow:none; min-width:0; }
#page-body .athos-search-form > .panel > .inner { padding:24px; }
#page-body .athos-search-form > .athos-search-options { border-inline-start:1px solid var(--wk-line); background:#f6f9fa; }
#page-body .athos-search-form h3 { font:400 21px/1.3 Georgia,serif; letter-spacing:0; text-transform:none; color:var(--athos-sea-deep); margin:0 0 16px; padding:0 0 8px; border-bottom:1px solid var(--wk-line); }
#page-body .athos-search-form fieldset { min-width:0; }
#page-body .athos-search-form fieldset > dl { display:grid; grid-template-columns:minmax(0,1fr); gap:8px; margin:0 0 16px; padding:0; }
#page-body .athos-search-form fieldset > dl > :is(dt,dd) { grid-column:1; grid-row:auto; margin:0; padding:0; width:auto; min-width:0; }
#page-body .athos-search-form fieldset > dl > dt > label { font-size:14px; }
#page-body .athos-search-form fieldset > dl > dt > span { display:block; margin:0; line-height:1.5; }
#page-body .athos-search-form fieldset > dl > dd > label { display:inline-flex; align-items:center; gap:4px; margin:0 8px 8px 0; }
#page-body .athos-search-form :is(input[type=search],select) { width:100%; max-width:100%; border-radius:4px; min-height:40px; }
#page-body .athos-search-form select[multiple] { min-height:144px; }
#page-body .athos-search-form input[type=number] { width:96px; max-width:100%; }
#page-body .athos-search-form :is(input[type=checkbox],input[type=radio]) { accent-color:var(--athos-sea); }
#page-body .athos-search-form > .athos-search-submit { grid-column:1/-1; border-top:1px solid var(--wk-line); }
#page-body .athos-search-form > .athos-search-submit > .inner { padding:16px 24px; }
#page-body .athos-search-form .submit-buttons { display:flex; justify-content:flex-start; margin:0; padding:0; }
#page-body .athos-search-form .submit-buttons .button1 { min-height:40px; margin:0; padding:8px 24px; border-radius:4px; border-color:var(--athos-sea); background:var(--athos-sea); color:white; box-shadow:none; }
#page-body .athos-search-form .submit-buttons .button1:hover { background:var(--athos-sea-deep); }
#page-body .athos-search-posts { border:1px solid var(--wk-line); border-radius:4px; background:#fff; margin:0 0 16px; }
#page-body .athos-search-posts .athos-search-result { margin:0; border:0; border-bottom:1px solid var(--wk-line); border-radius:0; background:#fff; box-shadow:none; }
#page-body .athos-search-posts .athos-search-result:last-child { border-bottom:0; }
#page-body .athos-search-result > .inner { display:block; padding:16px 24px; }
#page-body .athos-search-result .postprofile { display:flex; flex-wrap:wrap; align-items:baseline; gap:0 16px; margin:0 0 8px; padding:0; border:0; background:transparent; border-radius:0; font-size:12px; }
#page-body .athos-search-result .postprofile > :is(dt,dd) { margin:0; line-height:1.5; }
#page-body .athos-search-result .postbody { padding:0; width:auto; min-width:0; }
#page-body .athos-search-result .postbody h3 { font:400 22px/1.3 Georgia,serif; padding:0; margin:0 0 8px; }
#page-body .athos-search-result .content { overflow-wrap:anywhere; }
#page-body .athos-search-result .content img { max-width:100%; height:auto; }
#page-body .athos-search-result ul.searchresults { display:flex; justify-content:flex-end; padding:0; margin:8px 0 0; list-style:none; }
#page-body :is(.athos-mcp-shell,.athos-public-profile,.athos-search-form,.athos-search-posts) :is(a,button,input,textarea,select):focus-visible { outline:2px solid var(--athos-sea); outline-offset:2px; }
@media (max-width:1000px) {
 #page-body .athos-mcp-layout { grid-template-columns:208px minmax(0,1fr); }
 #page-body .athos-mcp-shell #cp-main { padding:16px; }
}
@media (max-width:768px) {
 #page-body .athos-mcp-layout,#page-body .athos-search-form,#page-body .athos-public-profile .athos-profile-information > .inner { grid-template-columns:minmax(0,1fr); }
 #page-body .athos-mcp-shell #cp-menu { padding:8px; border-inline-end:0; border-bottom:1px solid var(--wk-line); }
 #page-body .athos-mcp-shell #cp-menu .navigation ul { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(144px,100%),1fr)); }
 #page-body .athos-mcp-shell #cp-menu .navigation a { padding:8px; font-size:13px; }
 #page-body .athos-mcp-shell #cp-main .topiclist li.row > dl { flex-wrap:wrap; }
 #page-body .athos-mcp-shell #cp-main .topiclist dd.moderation { flex-basis:100%; max-width:100%; }
 #page-body .athos-mcp-shell #cp-main .topiclist dd.mark { width:40px; flex-basis:40px; }
 #page-body .athos-mcp-shell #cp-main .topiclist li.row > dl > dt { flex-basis:70%; }
 #page-body .athos-mcp-shell #cp-main table.table1 { overflow-wrap:anywhere; }
 #page-body .athos-search-form > .athos-search-options { border-inline-start:0; border-top:1px solid var(--wk-line); }
 #page-body .athos-search-form > .panel > .inner,#page-body .athos-public-profile > .panel > .inner,#page-body .athos-search-result > .inner { padding:16px; }
 #page-body .athos-profile-identity > .inner:has(> .avatar-rank-container) { grid-template-columns:112px minmax(0,1fr); gap:16px; }
 #page-body .athos-public-profile dl.details { grid-template-columns:minmax(0,1fr); }
 #page-body .athos-public-profile dl.details > dt:not(.sr-only) { border:0; padding:8px 0 0; }
 #page-body .athos-public-profile dl.details > dd { padding:8px 0; }
 #page-body .athos-public-profile dl.details > .athos-profile-name { font-size:24px; }
}
@media (max-width:420px) {
 #page-body .athos-profile-identity > .inner:has(> .avatar-rank-container) { grid-template-columns:minmax(0,1fr); }
 #page-body .athos-profile-identity .avatar-rank-container { width:112px; }
 #page-body #tabs.athos-mcp-tabs > ul { gap:0 16px; }
 #page-body .athos-mcp-shell #cp-main { padding:8px; }
}
/* Kryteria u góry, filtry w zwartej siatce pod nimi: bez pustej kolumny. */
#page-body .athos-search-form { grid-template-columns:minmax(0,1fr); }
#page-body .athos-search-form > .athos-search-options { border-inline-start:0; border-top:1px solid var(--wk-line); }
#page-body .athos-search-form :is(.athos-search-query,.athos-search-options) fieldset { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 24px; align-items:start; }
#page-body .athos-search-form .athos-search-options fieldset > hr { grid-column:1/-1; margin:0 0 8px; }
#page-body .athos-search-form .athos-search-options fieldset > dl:first-of-type { grid-row:span 2; }
#page-body .athos-search-form .athos-search-options fieldset > dl:nth-of-type(3) { grid-column:2; }
@media (max-width:768px) {
 #page-body .athos-search-form :is(.athos-search-query,.athos-search-options) fieldset { grid-template-columns:minmax(0,1fr); gap:8px; }
 #page-body .athos-search-form .athos-search-options fieldset > dl:first-of-type { grid-row:auto; }
 #page-body .athos-search-form .athos-search-options fieldset > dl:nth-of-type(3) { grid-column:auto; }
}
#page-body .athos-search-form > .athos-search-options > summary { cursor:pointer; padding:16px 24px; color:var(--athos-sea-deep); font:400 20px/1.3 Georgia,serif; }
#page-body .athos-search-form > .athos-search-options > summary:hover { background:#e9f1f3; }
#page-body .athos-search-form > .athos-search-options[open] > summary { border-bottom:1px solid var(--wk-line); }
#page-body .athos-search-form > .athos-search-options > .inner { padding-top:16px; }
#page-body .athos-recent-searches table.table1 { margin:0; border-radius:0; border:0; }
#page-body .athos-recent-searches table.table1 thead th { background:var(--athos-sea); color:white; padding:8px 16px; }
#page-body .athos-recent-searches table.table1 tbody td { background:white; padding:8px 16px; }
#page-body .athos-recent-searches table.table1 tbody tr:hover td { background:#edf4f6; }
#page-body .athos-mcp-shell #cp-main :is(fieldset.submit-buttons,fieldset.display-actions) > :is(input,button,select) { margin-inline-start:8px; }
@media (max-width:768px) { #page-body .athos-search-form > .athos-search-options > summary { padding:16px; } }
