/* OS Author v2.43: the learning hub. The portal frame with a side menu, the dashboard, community, events and the
   leaderboard. Tokens come from portal.css (.pt and .pt-modal). */

/* ================= the frame: a side menu on wide screens, a drawer on phones ================= */
.pt.pt-shell{flex-direction:row;align-items:stretch}
.pt-side{position:sticky;top:0;align-self:flex-start;height:100vh;width:272px;flex:none;display:flex;flex-direction:column;gap:4px;padding:18px 14px 14px;background:var(--surface);border-right:1px solid var(--hairline);overflow-y:auto;z-index:30}
:root .pt-sbrand{display:flex;align-items:center;gap:12px;padding:6px 8px 18px;text-decoration:none;color:var(--ink)}
.pt-sbrand .pt-logo{height:34px;width:auto;max-width:96px;object-fit:contain}
.pt-sbrand span{display:flex;flex-direction:column;min-width:0;line-height:1.25}.pt-sbrand b{font:600 18px/1.2 var(--font-display)}.pt-sbrand small{font-size:13px;color:var(--ink-muted)}
.pt-sn{display:flex;flex-direction:column;gap:2px;flex:1}
:root .pt-si{display:flex;align-items:center;gap:12px;min-height:42px;padding:0 12px;border-radius:10px;color:var(--ink-muted);font:500 15px/1.2 var(--font-ui);text-decoration:none}
:root .pt-si:hover{background:var(--paper);color:var(--ink)}
:root .pt-si.on{background:var(--brand-soft);color:var(--brand);font-weight:600}
.pt-si svg{width:19px;height:19px;flex:none}
.pt-si span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pt-si em{font-style:normal;font-size:12px;font-weight:700;color:var(--on-brand);background:var(--brand);border-radius:999px;min-width:20px;height:20px;padding:0 6px;display:inline-flex;align-items:center;justify-content:center}
.pt-sh{margin:16px 12px 4px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-muted)}
.pt-sload{padding:6px 12px;font-size:14px;color:var(--ink-muted)}
.pt-sme-w{display:block;margin-top:12px;border-top:1px solid var(--hairline);padding-top:12px}
.pt-sme{display:flex;align-items:center;gap:10px;width:100%;padding:8px;border:0;border-radius:12px;background:none;cursor:pointer;text-align:left;font-family:var(--font-ui);color:var(--ink)}
.pt-sme:hover{background:var(--paper)}
.pt-sme-m{display:flex;flex-direction:column;min-width:0;line-height:1.3}.pt-sme-m b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pt-sme-m small{font-size:12.5px;color:var(--ink-muted)}
.pt-col{flex:1;min-width:0;display:flex;flex-direction:column;min-height:100vh}
.pt-shell .pt-main{max-width:1200px;padding:36px 48px 96px}
.pt-mtop{display:none}
.pt-veil{display:none}
@media (max-width:960px){
  .pt-side{position:fixed;left:0;top:0;bottom:0;height:auto;transform:translateX(-100%);transition:transform .2s;box-shadow:var(--shadow-float)}
  .pt-side.open{transform:none}
  .pt-veil.open{display:block;position:fixed;inset:0;background:rgba(18,26,34,.35);z-index:25}
  .pt-mtop{display:flex;position:sticky;top:0;z-index:20;align-items:center;gap:10px;min-height:60px;padding:0 12px;background:var(--surface);border-bottom:1px solid var(--hairline)}
  .pt-burger{width:44px;height:44px;border:0;border-radius:12px;background:none;color:var(--ink);display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
  .pt-burger svg{width:22px;height:22px}
  .pt-shell .pt-main{padding:20px 16px 80px}
}

/* ================= shared pieces ================= */
.hb-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:28px}
.hb-head h1,.hb-hello h1{font:500 38px/1.1 var(--font-display);letter-spacing:-.01em;margin:2px 0 6px}
.hb-kick{display:flex;align-items:center;gap:6px;margin:0;font-size:14px;font-weight:600;color:var(--brand)}.hb-kick svg{width:16px;height:16px}
.hb-acts{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.hb-aud{display:flex;align-items:center;gap:6px;font-size:14px;color:var(--ink-muted);margin:6px 0 0}.hb-aud svg{width:15px;height:15px}
.hb-ch{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:0 0 12px}
.hb-ch h2,.hb-h2{font:650 17px/1.3 var(--font-ui);margin:0}
:root .hb-ch a{font-size:14px;font-weight:600;color:var(--brand);text-decoration:none}
.hb-card{background:var(--surface);border:1px solid var(--hairline);border-radius:var(--radius-lg);padding:22px 24px}
.hb-none{font-size:14px;margin:0}
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pt-seg-s{display:inline-flex;border:1px solid var(--control-line);border-radius:12px;overflow:hidden}
.pt-seg-s button{display:inline-flex;align-items:center;gap:6px;min-height:42px;padding:0 14px;border:0;background:var(--surface);font:600 14px var(--font-ui);color:var(--ink);cursor:pointer}
.pt-seg-s button[aria-pressed=true]{background:var(--ink);color:var(--surface)}.pt-seg-s svg{width:16px;height:16px}

/* ================= dashboard ================= */
.hb-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;margin-bottom:20px}
:root .hb-tile{display:flex;flex-direction:column;gap:2px;padding:18px 20px;background:var(--surface);border:1px solid var(--hairline);border-radius:var(--radius-lg);text-decoration:none;color:var(--ink);transition:box-shadow .15s}
:root .hb-tile:hover{box-shadow:0 12px 30px -18px rgba(18,26,34,.35)}
.hb-tile svg{width:20px;height:20px;color:var(--brand);margin-bottom:8px}
.hb-tile b{font:500 34px/1.05 var(--font-display)}.hb-tile span{font-weight:600;font-size:15px}.hb-tile small{font-size:13px;color:var(--ink-muted)}
.hb-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:16px}
.hb-grid .wide{grid-column:1/-1}
.hb-bars{width:100%;height:120px;display:block}.hb-bars rect{fill:var(--brand)}.hb-bars rect.z{fill:var(--hairline)}
.hb-axis{display:flex;justify-content:space-between;font-size:12px;color:var(--ink-muted);margin-top:6px}
.hb-bl{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.hb-bl li{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) 36px;gap:10px;align-items:center;font-size:14px}
.hb-bl-l{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hb-bl-b{height:8px;background:var(--surface-sunk);border-radius:99px;overflow:hidden}.hb-bl-b i{display:block;height:100%;background:var(--brand);border-radius:99px}
.hb-bl b{text-align:right}
.hb-pl{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.hb-pl li{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--hairline)}.hb-pl li:first-child{border-top:0}
.hb-pl li>span:not(.pt-av){flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.3}.hb-pl small{font-size:13px;color:var(--ink-muted)}
.hb-pts{font:500 20px var(--font-display);color:var(--brand)}
.hb-t{width:100%;border-collapse:collapse;font-size:14px}.hb-t th{text-align:left;font-size:12.5px;color:var(--ink-muted);font-weight:600;padding:6px 6px;border-bottom:1px solid var(--hairline)}.hb-t td{padding:9px 6px;border-bottom:1px solid var(--hairline)}

/* ================= home ================= */
.hb-hello{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:22px}
:root .hb-me{display:flex;align-items:center;gap:14px;padding:14px 18px;min-width:260px;background:var(--surface);border:1px solid var(--hairline);border-radius:var(--radius-lg);text-decoration:none;color:var(--ink)}
.hb-me>span:last-child{display:flex;flex-direction:column;flex:1;gap:2px}.hb-me small{font-size:13px;color:var(--ink-muted)}
.hb-lv{width:44px;height:44px;border-radius:50%;background:var(--seal-soft);color:var(--seal);display:inline-flex;align-items:center;justify-content:center;flex:none}.hb-lv svg{width:22px;height:22px}
.hb-lv.big{width:64px;height:64px}.hb-lv.big svg{width:30px;height:30px}
.hb-prog{display:block;height:6px;background:var(--surface-sunk);border-radius:99px;overflow:hidden;margin-top:4px}.hb-prog i{display:block;height:100%;background:var(--brand);border-radius:99px}
.hb-composer{display:flex;align-items:center;gap:12px;width:100%;padding:14px 18px;margin-bottom:28px;background:var(--surface);border:1px solid var(--hairline);border-radius:var(--radius-lg);cursor:text;font:400 16px var(--font-ui);color:var(--ink-muted);text-align:left}
.hb-composer:hover{border-color:var(--control-line)}.hb-composer>span:not(.pt-av){flex:1}.hb-composer>svg{width:20px;height:20px;color:var(--brand)}
.hb-cols{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px;align-items:start}
.hb-cols aside{display:flex;flex-direction:column;gap:10px}
.hb-cols aside .hb-ch{margin-top:14px}.hb-cols aside .hb-ch:first-child{margin-top:0}
:root .hb-evm,:root .hb-res{display:flex;align-items:center;gap:12px;padding:12px 14px;background:var(--surface);border:1px solid var(--hairline);border-radius:14px;text-decoration:none;color:var(--ink)}
:root .hb-evm:hover,:root .hb-res:hover{border-color:var(--control-line)}
.hb-evm>span:last-child,.hb-res>span{display:flex;flex-direction:column;min-width:0;line-height:1.35}.hb-evm small,.hb-res small{font-size:13px;color:var(--ink-muted)}
.hb-res>svg{width:20px;height:20px;color:var(--brand);flex:none}
.hb-date{width:46px;flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:12px;background:var(--brand-soft);color:var(--brand);padding:6px 0;line-height:1.1}
.hb-date b{font:600 20px var(--font-ui)}.hb-date small{font-size:12px;font-weight:600;text-transform:uppercase}
.hb-date.big{width:64px;padding:10px 0}.hb-date.big b{font-size:26px}
:root .hb-pfl{min-width:0;margin-top:14px}
@media (max-width:1100px){.hb-cols{grid-template-columns:1fr}}

/* ================= community ================= */
.hb-feed{display:flex;flex-direction:column;gap:14px}
.hb-post{background:var(--surface);border:1px solid var(--hairline);border-radius:var(--radius-lg);padding:20px 22px}
.hb-post header{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.hb-post header>span:not(.pt-av):not(.hb-pin){flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.35}.hb-post header small{font-size:13px;color:var(--ink-muted)}
:root .hb-post header small a{color:var(--brand);text-decoration:none;font-weight:600}
.hb-pin{display:inline-flex;align-items:center;gap:4px;font-size:12.5px;font-weight:600;color:var(--warning);background:var(--warning-soft);border-radius:99px;padding:2px 10px}.hb-pin svg{width:13px;height:13px}
:root .hb-pbody{display:block;color:var(--ink);text-decoration:none}
.hb-pbody h3{font:650 18px/1.35 var(--font-ui);margin:0 0 4px}.hb-pbody p{margin:0;color:#2b3640}
.hb-more{color:var(--brand);font-weight:600}
.hb-post footer{display:flex;gap:6px;margin-top:12px;padding-top:10px;border-top:1px solid var(--hairline)}
:root .hb-act{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 12px;border:0;border-radius:10px;background:none;color:var(--ink-muted);font:600 14px var(--font-ui);cursor:pointer;text-decoration:none}
:root .hb-act:hover{background:var(--paper);color:var(--ink)}
.hb-act svg{width:18px;height:18px}
.hb-act.on{color:#c2334d}.hb-act.on svg{fill:currentColor}
.hb-post.full{padding:26px 28px}.hb-pt{font:500 30px/1.2 var(--font-display);margin:6px 0 10px}.hb-pfull{font-size:17px;line-height:1.7;margin:0}
.hb-thread{margin-top:16px;display:flex;flex-direction:column;gap:12px}
.hb-cm{display:flex;gap:12px;background:var(--surface);border:1px solid var(--hairline);border-radius:16px;padding:14px 16px}
.hb-cm>div{flex:1;min-width:0}.hb-cm p{margin:0}.hb-cm small{color:var(--ink-muted)}
.hb-x{border:0;background:none;color:var(--ink-muted);font:600 13px var(--font-ui);padding:4px 0;cursor:pointer}.hb-x:hover{color:var(--danger)}
.hb-reply{display:flex;align-items:flex-start;gap:12px;background:var(--surface);border:1px solid var(--hairline);border-radius:16px;padding:14px 16px}
.hb-reply textarea{flex:1;min-height:48px;border:1px solid var(--control-line);border-radius:12px;padding:10px 12px;font:400 16px var(--font-ui);resize:vertical}

/* ================= events ================= */
.hb-evs{display:flex;flex-direction:column;gap:14px}
.hb-ev{display:flex;gap:18px;background:var(--surface);border:1px solid var(--hairline);border-radius:var(--radius-lg);padding:20px 22px;transition:box-shadow .3s}
.hb-ev.flash{box-shadow:0 0 0 3px var(--brand)}
.hb-evb{flex:1;min-width:0}.hb-evb h3{font:650 19px/1.35 var(--font-ui);margin:0 0 6px}
.hb-evm2{display:flex;align-items:center;gap:6px;margin:0;font-size:14.5px;color:var(--ink-muted)}.hb-evm2 svg{width:16px;height:16px;flex:none}
.hb-eva{margin:10px 0 0;color:#2b3640}
.hb-evact{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:14px}
.hb-live{display:inline-block;font-size:12px;font-weight:700;color:#fff;background:#c2334d;border-radius:99px;padding:2px 10px;vertical-align:middle}
.hb-past{margin-top:22px}.hb-past summary{cursor:pointer;font-weight:600;min-height:44px;display:flex;align-items:center}
.hb-calh{display:flex;align-items:center;gap:8px;margin-bottom:12px}.hb-calh h2{font:500 26px var(--font-display);margin:0;min-width:220px;text-align:center}
.hb-cal{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.hb-cw{font-size:12.5px;font-weight:700;color:var(--ink-muted);text-align:center;padding:4px 0}
.hb-cd{min-height:104px;background:var(--surface);border:1px solid var(--hairline);border-radius:12px;padding:6px;display:flex;flex-direction:column;gap:4px;min-width:0}
.hb-cd.o{background:none;border-color:transparent}.hb-cd>span{font-size:13px;font-weight:600;color:var(--ink-muted)}
.hb-cd.t{border-color:var(--brand)}.hb-cd.t>span{color:var(--brand)}
.hb-ce{border:0;text-align:left;background:var(--brand-soft);color:var(--brand);font:600 12px/1.3 var(--font-ui);border-radius:6px;padding:3px 6px;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:640px){.hb-cd{min-height:58px}.hb-ce{font-size:0;height:8px;padding:0}.hb-ev{flex-direction:column;gap:12px;padding:16px}.hb-head h1,.hb-hello h1{font-size:30px}}

/* ================= leaderboard ================= */
.hb-lb{list-style:none;margin:0;padding:0}
.hb-lb li{display:flex;align-items:center;gap:12px;padding:12px 6px;border-top:1px solid var(--hairline)}.hb-lb li:first-child{border-top:0}
.hb-lb li.me{background:var(--brand-soft);border-radius:12px}
.hb-rk{width:30px;text-align:center;font-weight:700;color:var(--ink-muted)}.hb-rk.t1{color:#b8860b}.hb-rk.t2{color:#7a8592}.hb-rk.t3{color:#9a5b2c}
.hb-lbn{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.3}.hb-lbn small{font-size:13px;color:var(--ink-muted)}
.hb-mine{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px}.hb-mine .hb-prog{width:100%}.hb-big{font:500 32px var(--font-display)}
.hb-ways{list-style:none;margin:12px 0 0;padding:0}
.hb-ways li{display:grid;grid-template-columns:22px 1fr auto;gap:4px 10px;align-items:center;padding:8px 0;border-top:1px solid var(--hairline);font-size:14.5px}
.hb-ways li:first-child{border-top:0}.hb-ways svg{width:18px;height:18px;color:var(--brand)}.hb-ways b{color:var(--brand)}.hb-ways small{grid-column:2/4;font-size:12.5px;color:var(--ink-muted);margin-top:-4px}

/* fixes after the first look */
:root .pt a.pt-btn{color:var(--on-brand);text-decoration:none}
:root .pt a.pt-btn.secondary{color:var(--ink)}
:root .pt a.pt-btn.quiet{color:var(--brand)}
@media (min-width:961px){.pt.pt-shell{background:linear-gradient(to right,var(--surface) 272px,var(--paper) 272px)}}
.hb-ev .hb-date.big{align-self:flex-start}
.pt-shell .pt-pow{padding:0 48px 24px}

/* communities: browse, join, manage */
.hb-gh{font:650 17px/1.3 var(--font-ui);margin:24px 0 12px}
.hb-comms{display:grid;grid-template-columns:repeat(auto-fill,minmax(420px,1fr));gap:14px}
.hb-comm{display:flex;gap:14px;align-items:flex-start;background:var(--surface);border:1px solid var(--hairline);border-radius:var(--radius-lg);padding:18px 20px}
.hb-comm>div:not(.hb-cact){flex:1;min-width:0}.hb-comm h3{font:650 17px/1.3 var(--font-ui);margin:0 0 4px}.hb-comm p{margin:0;font-size:15px;color:#2b3640}
.hb-ci{width:44px;height:44px;border-radius:12px;background:var(--brand-soft);color:var(--brand);display:inline-flex;align-items:center;justify-content:center;flex:none}.hb-ci svg{width:22px;height:22px}
.hb-ci.big{width:64px;height:64px;border-radius:18px}.hb-ci.big svg{width:30px;height:30px}
.hb-cact{display:flex;gap:8px;align-items:center;flex:none}
.hb-tag{font-size:13px;font-weight:600;border-radius:99px;padding:4px 12px;background:var(--surface-sunk)}.hb-tag.wait{background:var(--warning-soft);color:var(--warning)}
.hb-joinp{max-width:620px;margin:12px auto;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px;padding:36px}
.hb-joinp h1{font:500 32px var(--font-display);margin:6px 0 0}.hb-joinp .hb-aud{justify-content:center}
.hb-kinds{display:grid;gap:8px}
.hb-kind{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border:1px solid var(--hairline);border-radius:12px;cursor:pointer}
.hb-kind:has(input:checked){border-color:var(--brand);background:var(--brand-soft)}
.hb-kind input{margin-top:3px;accent-color:var(--brand)}.hb-kind span{display:flex;flex-direction:column}.hb-kind small{font-size:13px;color:var(--ink-muted)}
.hb-mh{font:650 15px var(--font-ui);margin:16px 0 8px}.hb-mh:first-child{margin-top:0}
.hb-mr{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid var(--hairline)}.hb-mr>span:not(.pt-av){flex:1;min-width:0;display:flex;flex-direction:column}.hb-mr small{font-size:13px;color:var(--ink-muted)}
.hb-tw{overflow-x:auto}.hb-warn{color:var(--warning)}
:root .hb-t a{color:var(--brand);font-weight:600;text-decoration:none}
@media (max-width:640px){.hb-comms{grid-template-columns:1fr}.hb-comm{flex-wrap:wrap}}
.hb-aud{flex-wrap:wrap}
@media (max-width:640px){.hb-comm>div:not(.hb-cact){flex-basis:calc(100% - 58px)}.hb-cact{margin-left:58px}}

/* ================= v2.43: a quieter menu (Notion-like). Text rows, not buttons. =================
   Rows: Figtree 14.5px regular in ink-muted, icons 17px muted. Hover: a faint grey. Current page: ink, medium
   weight, the same faint grey. Section titles: sentence case caption that folds. Counts: plain muted numbers. */
.pt-side{gap:0;padding:16px 10px 12px;background:var(--surface)}
:root .pt-sbrand{padding:4px 10px 20px}
.pt-sn{gap:0}
.pt-sgb{display:flex;flex-direction:column;gap:1px}
.pt-sgb.pt-sgtop{padding-bottom:10px}
:root .pt-si{min-height:34px;padding:0 10px;gap:10px;border-radius:8px;color:var(--ink-muted);font:400 14.5px/1.2 var(--font-ui)}
:root .pt-si:hover{background:var(--paper);color:var(--ink)}
:root .pt-si.on{background:var(--surface-sunk);color:var(--ink);font-weight:550}
.pt-si svg{width:17px;height:17px;opacity:.8}
:root .pt-si.on svg{opacity:1;color:var(--brand)}
.pt-si em{background:none;color:var(--ink-muted);font:500 12.5px var(--font-ui);min-width:0;height:auto;padding:0}
.pt-sg{border-top:1px solid var(--hairline);padding:6px 0}
.pt-sg>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;min-height:34px;padding:0 10px;border-radius:8px;cursor:pointer;font:600 12.5px/1 var(--font-ui);color:var(--ink-muted);letter-spacing:0;text-transform:none}
.pt-sg>summary::-webkit-details-marker{display:none}
.pt-sg>summary:hover{color:var(--ink)}
.pt-sg>summary svg{width:15px;height:15px;transition:transform .15s}
.pt-sg:not([open])>summary svg{transform:rotate(-90deg)}
.pt-sg>summary:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}
.pt-sh{display:none}
:root .pt-sstudio{display:flex;align-items:center;gap:10px;min-height:34px;padding:0 10px;margin-top:8px;border-radius:8px;color:var(--ink-muted);font:400 14.5px var(--font-ui);text-decoration:none}
:root .pt-sstudio:hover{background:var(--paper);color:var(--ink)}
.pt-sstudio svg{width:17px;height:17px;opacity:.8}.pt-sstudio span{flex:1}.pt-sstudio svg:last-child{width:14px;height:14px}
.pt-sme-w{margin-top:8px;padding-top:8px}
.pt-sme{padding:6px 8px;gap:10px}
.pt-sme .pt-av{width:32px;height:32px;font-size:13px}
.pt-sme>svg{width:15px;height:15px;color:var(--ink-muted);flex:none}
.pt-sme-m{flex:1}

/* text links for second actions, so a page has few buttons */
:root .hb-tlink{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 4px;border:0;background:none;color:var(--brand);font:600 14.5px var(--font-ui);text-decoration:none;cursor:pointer;white-space:nowrap}
:root .hb-tlink:hover{text-decoration:underline}
:root .hb-tlink.warn{color:var(--warning)}
.hb-tlink svg{width:16px;height:16px}
.hb-acts{gap:14px}
[data-rsvp][aria-pressed=true]{background:var(--success-soft);border-color:var(--success);color:var(--success)}

/* v2.43.1: filters and view switches are quiet tabs, so the page's one button stands out */
.pt .pt-chips{gap:2px;border-bottom:1px solid var(--hairline);padding-bottom:0}
.pt .pt-chips button{height:40px;padding:0 12px;border:0;border-radius:0;background:none;font:500 14.5px var(--font-ui);color:var(--ink-muted);position:relative}
.pt .pt-chips button:hover{color:var(--ink);border:0}
.pt .pt-chips button[aria-pressed=true]{background:none;color:var(--ink);font-weight:600}
.pt .pt-chips button[aria-pressed=true]::after{content:"";position:absolute;left:8px;right:8px;bottom:-1px;height:2px;border-radius:2px;background:var(--ink)}
.pt-seg-s{border:0;gap:2px}
.pt-seg-s button{background:none;border-radius:8px;color:var(--ink-muted);font-weight:500;min-height:38px}
.pt-seg-s button:hover{color:var(--ink);background:var(--paper)}
.pt-seg-s button[aria-pressed=true]{background:var(--surface-sunk);color:var(--ink);font-weight:600}

/* ================= v2.44.1: the tenant's brand guide =================
   COECSA's manual: the logo at least 120px wide on screens, clear space around it equal to the height of its eye
   (about 72% of the logo's height), on a white ground, nothing attached to it. */
:root .pt-side{background:#fff}
:root .pt-sbrand{flex-direction:column;align-items:flex-start;gap:0;padding:22px 16px 18px;margin-bottom:6px;border-bottom:1px solid var(--hairline)}
.pt-slogo{display:block;padding:0 0 34px}
.pt-slogo .pt-logo{display:block;width:132px;height:auto;max-width:none;max-height:none}
.pt-sname{display:flex;flex-direction:column;line-height:1.3}
.pt-sname b{font-weight:700;font-size:15px;letter-spacing:-.01em;color:var(--ink)}
.pt-sname small{font-size:12.5px;color:var(--ink-muted)}
.pt-mtop .pt-nm{font:700 17px var(--font-ui);letter-spacing:-.01em;color:var(--ink)}
.pt-foot2{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px;color:var(--ink-muted)}
/* the sign-in page: the logo on a white tile with its clear space */
.pt-ltile{display:inline-block;padding:0;margin-bottom:46px}
.pt-ltile .pt-logo{display:block;width:200px;height:auto;max-height:none}
.pt-tag{font-size:17px;font-style:italic;color:var(--ink);margin:2px 0 14px}
.pt-contact{font-size:14px;color:var(--ink-muted);margin-top:10px}
@media (max-width:960px){:root .pt-sbrand{padding:20px 16px 16px}}
