/* =========================================================
   Part 2 — platform shell and pages (canvas 1672 x 941)
   ========================================================= */
.app { position: absolute; inset: 0; background: var(--bg)}
.app-main { position: absolute; inset-inline-start: 230px; top: 66px; inset-inline-end: 0; bottom: 0}
.abs { position: absolute}

/* ---------- sidebar ---------- */
.side { position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 230px; background: var(--side); border-inline-end: 1px solid #161617; z-index: 3}
.side-brand { position: absolute; inset-inline-start: 26px; top: 25px; display: flex; align-items: center; gap: 20px; cursor: pointer}
.side-nav { position: absolute; inset-inline-start: 10px; inset-inline-end: 9px; top: 94px; display: grid; gap: 4px}
.side-nav button { position: relative; height: 56px; display: flex; align-items: center; gap: 24px; padding-inline-start: 16px; border-radius: 8px; font-size: 17px; color: #e5e5ea; transition: background .2s, color .2s}
.side-nav button:hover { background: #111112}
.side-nav button.on { background: #161617; color: var(--accent)}
.side-nav button.on::before { content: ""; position: absolute; inset-inline-start: -10px; top: 0; bottom: 0; width: 3px; border-start-start-radius: 0; border-start-end-radius: 3px; border-end-end-radius: 3px; border-end-start-radius: 0; background: var(--accent); box-shadow: none}
.side-sep { position: absolute; inset-inline-start: 22px; inset-inline-end: 22px; top: 398px; height: 1px; background: #1d1d1f}

.pcard { position: absolute; inset-inline-start: 12px; width: 210px; top: 405px; height: 414px; border-radius: 12px; background: #0a0a0b; border: 1px solid #1d1d1f; text-align: center}
.pcard .av { width: 84px; height: 84px; border-radius: 50%; margin: 19px auto 0; overflow: hidden; outline: 2px solid #0a0a0b; outline-offset: 0; box-shadow: none; cursor: pointer}
.pcard .av img { width: 100%; height: 100%; object-fit: cover}
.pcard .nm { font-size: 22px; font-weight: 500; margin-top: 12px}
.pcard .lv { font-size: 18px; color: #e5e5ea; margin-top: 4px}
.pcard .xpbar { margin: 18px 14px 0; height: 6px}
.pcard .xp { font-size: 15px; color: #e5e5ea; margin-top: 10px}
.pcard .ts { text-align: start; padding: 0 13px; margin-top: 24px; font-size: 15px; color: #e5e5ea}
.pcard .skill { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; font-size: 15px; color: #e5e5ea; width: 100%; text-align: start; border-radius: 8px; padding: 2px 0; white-space: nowrap}
.pcard .skill:hover { color: var(--accent)}
.pcard .skill .si { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; color: var(--accent); background: #161617; flex: none}
.pcard .ts { padding: 0 12px}
.pcard .skill { font-size: 14.5px}
.pcard .skill .sl { margin-inline-start: auto; color: #d2d2d7}
.pcard .vp { position: absolute; inset-inline-start: 13px; inset-inline-end: 13px; bottom: 11px; height: 43px; border-radius: 9px; border: 1px solid #2c2c2e; background: #111112; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; font-size: 16px; color: #f5f5f7; transition: border-color .2s}
.pcard .vp:hover { border-color: var(--accent-line); color: var(--accent)}

.did { position: absolute; inset-inline-start: 14px; width: 202px; top: 414px; height: 452px; border-radius: 12px; border: 1px solid #1d1d1f; background: #0a0a0b; padding: 16px 16px}
.did-head { display: flex; justify-content: space-between; align-items: center; width: 100%; font-size: 20px; font-weight: 500; color: #f5f5f7}
.did-head:hover { color: var(--accent)}
.did .ph { position: relative; width: 150px; height: 150px; margin: 22px auto 0; border-radius: 50%; padding: 3px; background: #00FF6F; box-shadow: none; cursor: pointer}
.did .ph img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; transform: scale(1.02)}
.did .ph .dot { position: absolute; inset-inline-end: 6px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); outline: 5px solid rgba(0,255,111,0.14); outline-offset: 0; box-shadow: none}
.did .nm { font-size: 22px; font-weight: 600; margin-top: 16px}
.did .rl { font-size: 18px; color: #a78bfa; margin-top: 2px}
.did .vc { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding-bottom: 16px; border-bottom: 1px solid #232325}
.did .ring { position: relative; width: 62px; height: 62px; flex: none}
.did .ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 16px; font-weight: 600}
.did .vc span { font-size: 14px; color: #c7c7cc; line-height: 1.3; text-align: start}
.did .od { margin-top: 16px; width: 100%; height: 46px; border-radius: 9px; border: 1px solid #2c2c2e; background: #111112; display: flex; align-items: center; justify-content: space-between; padding-block: 0 0; padding-inline: 14px 12px; font-size: 15px; color: #f5f5f7; white-space: nowrap; transition: border-color .2s}
.did .od:hover { border-color: var(--accent-line); color: var(--accent)}
.side-ver { position: absolute; inset-inline-start: 25px; bottom: 14px; font-size: 12.5px; color: #86868b}
.side-sys { position: absolute; inset-inline-start: 22px; inset-inline-end: 14px; bottom: 52px; line-height: 1.35}
.side-sys b { display: block; font-size: 12.5px; font-weight: 500; color: #c7c7cc}
.side-sys span { display: inline-block; margin-top: 5px; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; letter-spacing: .04em; color: var(--accent); background: rgba(124, 124, 124, 0.08); border: 1px solid rgba(0,255,111,0.3)}

/* ---------- topbar ---------- */
.topbar { position: absolute; inset-inline-start: 230px; inset-inline-end: 0; top: 0; height: 66px; display: flex; align-items: center; padding-block: 0 0; padding-inline: 25px 22px; z-index: 2}
.search { display: flex; align-items: center; gap: 14px; width: 475px; height: 42px; padding: 0 16px; border-radius: 8px; background: #111112; border: 1px solid #1d1d1f; transition: border-color .2s}
.search:focus-within { border-color: var(--accent-line)}
.search input { flex: 1; background: none; border: 0; outline: 0; font-size: 15px; color: var(--text)}
.search input::placeholder { color: #aeaeb2}
.crumbs { display: flex; align-items: center; gap: 14px; font-size: 16px; color: #e5e5ea}
.crumbs button:hover { color: var(--accent)}
.crumbs .sep { color: #86868b}
.greet h2 { margin: 0; font-size: 26px; font-weight: 500; letter-spacing: -.005em}
.greet p { margin: 3px 0 0; font-size: 16px; color: #e5e5ea}
.tagline { font-size: 16px; letter-spacing: .38em; color: #d2d2d7}
.tb-right { margin-inline-start: auto; display: flex; align-items: center; height: 100%}
.tb-icon { position: relative; width: 60px; height: 50px; display: grid; place-items: center; color: #f5f5f7; border-radius: 10px; transition: background .2s, color .2s}
.tb-icon:hover { background: #161617}
.tb-icon.on { color: var(--accent)}
.tb-icon .ndot { position: absolute; top: 8px; inset-inline-end: 16px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); outline: 2px solid var(--bg); outline-offset: 0; box-shadow: none}
.tb-icon .eq { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); display: flex; gap: 2px; align-items: flex-end; height: 8px}
.tb-icon .eq i { width: 2px; background: var(--accent); border-radius: 1px; animation: eq 1s ease-in-out infinite}
.tb-icon .eq i:nth-child(2) { animation-delay: .2s} .tb-icon .eq i:nth-child(3) { animation-delay: .4s}
@keyframes eq { 0%, 100% { height: 2px} 50% { height: 8px} }
.tb-div { width: 1px; height: 40px; background: #232325; margin-block: 0 0; margin-inline: 8px 14px}
.tb-user { display: flex; align-items: center; gap: 14px; height: 54px; padding-block: 0 0; padding-inline: 4px 12px; border-radius: 12px; text-align: start; transition: background .2s}
.tb-user:hover { background: #161617}
.tb-user img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover}
.tb-user b { display: block; font-size: 16px; font-weight: 500}
.tb-user small { display: block; font-size: 14px; color: #c7c7cc; margin-top: 2px}
.tb-user .ico { margin-inline-start: 64px; color: #e5e5ea}
.notif { width: 380px; padding: 8px}
.notif .nh { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px 10px}
.notif .nh b { font-size: 16px}
.notif .ni { display: flex; gap: 12px; padding: 10px; border-radius: 10px; text-align: start; width: 100%}
.notif .ni:hover { background: var(--tile-hi)}
.notif .ni .nic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(135, 135, 135, 0.1); color: var(--accent); flex: none}
.notif .ni p { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.4}
.notif .ni p b { color: var(--text); font-weight: 500}
.notif .ni time { display: block; font-size: 12px; color: var(--muted); margin-top: 3px}
.notif .ni.unread p::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-inline-end: 7px; vertical-align: middle}

/* ---------- page header bits ---------- */
.ham { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #161617; color: #f5f5f7; transition: background .2s}
.ham:hover { background: #232325}
.page-title { font-size: 56px; font-weight: 500; margin: 0; letter-spacing: -.01em; line-height: 1}
.page-sub { font-size: 22px; color: #d2d2d7; margin: 0}
.kdb-tag { font-size: 24px; font-weight: 700; letter-spacing: .01em}
.kdb-tag i { font-style: normal; color: var(--accent)}
.kdb-tag.blue i { color: #a78bfa}
.section-h { font-size: 20px; font-weight: 500; margin: 0}
.section-s { font-size: 15px; color: #c7c7cc; margin: 3px 0 0}
.view-all { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; color: #e5e5ea}
.view-all:hover { color: var(--accent)}

/* ---------- HOME ---------- */
.h-hero { position: absolute; inset-inline-start: 14px; top: 8px; width: 1414px; height: 318px; border-radius: 12px; overflow: hidden; background: #000000; border: 1px solid #333336}
.h-hero .img { position: absolute; inset-inline-end: 0; top: 0; height: 100%}
.h-hero .img img { height: 100%; width: auto; max-width: none}
.h-hero .img::before { content: ""; position: absolute; inset-block: 0 0; inset-inline: 0 auto; width: 260px; background: none; z-index: 1}
.h-hero .txt { position: absolute; inset-inline-start: 30px; top: 34px; z-index: 2}
.h-hero .eyebrow { color: var(--accent); font-size: 13.5px; letter-spacing: .32em; font-weight: 600}
.h-hero h1 { margin: 16px 0 0; font-size: 64px; line-height: .95; font-weight: 700; letter-spacing: -.02em}
.h-hero h1 span { color: var(--accent)}
.h-hero p { margin: 22px 0 0; font-size: 20px; color: #f5f5f7}
.h-hero .acts { display: flex; gap: 18px; margin-top: 26px}
.h-hero .acts .btn { height: 52px; font-size: 16px}
.h-hero .acts .btn-ghost { background: rgba(11, 11, 11, 0.7); border-color: #424245}
.h-hero .acts .btn-ghost .pc { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid #d2d2d7; display: grid; place-items: center; margin-inline-start: -8px}

.kdb { position: absolute; top: 338px; height: 296px; border-radius: 12px; overflow: hidden; border: 1px solid #2c2c2e; background: #000000; transition: border-color .25s, box-shadow .25s, transform .25s}
.kdb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease}
.kdb:hover { border-color: var(--accent-line); box-shadow: none; transform: translateY(-2px)}
.kdb:hover img { transform: scale(1.035)}
/* the icon cards: no photos, the phase icon on a neutral tile (green for Know and Do, purple for Become) */
.kdb.ic { display: flex; flex-direction: column; align-items: flex-start; padding: 22px; text-align: start; background: var(--ip-card, var(--panel))}
.kdb-hd { display: flex; align-items: center; justify-content: space-between; width: 100%}
.kdb-ic { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 16px; border: 1px solid var(--line-2); background: var(--tile); color: var(--accent)}
.kdb.become .kdb-ic { color: var(--accent-2-text)}
.kdb.do .kdb-ic { color: var(--text)}
.kdb-n { font-size: 15px; font-weight: 600; color: var(--muted)}
.kdb-w { margin-top: 26px; font-size: 30px; font-weight: 800; line-height: 1.1; letter-spacing: .02em; color: var(--text)}
.kdb-d { margin-top: 8px; max-width: 200px; font-size: 15px; line-height: 1.45; color: var(--text-2)}
.kdb-a { margin-top: auto; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--text); transition: border-color .2s, color .2s}
.kdb.ic:hover .kdb-a { border-color: var(--accent); color: var(--accent)}

.fm { position: absolute; inset-inline-start: 872px; top: 338px; width: 556px; height: 296px; border-radius: 12px; background: #111112; border: 1px solid #232325; padding: 20px 22px}
.fm-h { display: flex; gap: 14px; align-items: flex-start}
.fm-h b { display: block; font-size: 18px; font-weight: 500}
.fm-h small { display: block; font-size: 14px; color: #c7c7cc; margin-top: 4px; line-height: 1.35}
.fm-body { display: grid; grid-template-columns: 250px 1fr; gap: 20px; margin-top: 18px}
.fm-img { height: 190px; border-radius: 10px; overflow: hidden; border: 1px solid #2c2c2e}
.fm-img img { width: 100%; height: 100%; object-fit: cover}
.fm-t { font-size: 21px; font-weight: 600; margin: 2px 0 0}
.fm-d { font-size: 15px; color: #d2d2d7; margin: 6px 0 0; line-height: 1.4}
.fm-meta { display: flex; gap: 22px; margin-top: 14px; font-size: 14px; color: #d2d2d7}
.fm-meta span { display: flex; align-items: center; gap: 8px}
.fm .btn { width: 100%; height: 44px; margin-top: 18px; font-size: 16px}

.fields { position: absolute; inset-inline-start: 14px; top: 646px; width: 844px; height: 218px; border-radius: 12px; background: #111112; border: 1px solid #1d1d1f; padding: 18px 22px}
.fields-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 14px}
.field-tile { height: 150px; border-radius: 10px; border: 1px solid #232325; background: #0a0a0b; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; font-size: 14.5px; line-height: 1.25; color: #f5f5f7; transition: border-color .2s, background .2s, transform .2s}
.field-tile .ico { color: var(--accent); filter: none}
.field-tile:hover { border-color: var(--accent-line); background: #0a0a0b; transform: translateY(-2px)}

.ai { position: absolute; inset-inline-start: 872px; top: 646px; width: 556px; height: 218px; border-radius: 12px; background: #111112; border: 1px solid #1d1d1f; padding: 16px 20px; overflow: hidden}
.ai-h { display: flex; align-items: center; gap: 12px}
.ai-h b { font-size: 16px; font-weight: 600; letter-spacing: .04em}
.ai-h .beta { margin-inline-start: auto; height: 26px; padding: 0 12px; border-radius: 999px; border: 1px solid #8b5cf6; color: #e5e5ea; font-size: 12.5px; display: grid; place-items: center}
.ai-b { display: grid; grid-template-columns: 110px 1fr; gap: 18px; margin-top: 12px; align-items: center}
.ai-b h4 { margin: 0; font-size: 19px; font-weight: 600}
.ai-b p { margin: 3px 0 0; font-size: 15px; color: #d2d2d7}
.ai-sugg { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap}
.ai-sugg button { height: 28px; padding: 0 11px; border-radius: 999px; border: 1px solid #2c2c2e; background: #111112; font-size: 12.5px; color: #d2d2d7}
.ai-sugg button:hover { border-color: #8b5cf6; color: #f5f5f7}
.ask { display: flex; align-items: center; gap: 10px; height: 44px; margin-top: 12px; padding-block: 0 0; padding-inline: 16px 8px; border-radius: 999px; border: 1px solid #8b5cf6; background: #111112}
.ask input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 15px; color: var(--text)}
.ask input::placeholder { color: #c7c7cc}
.ask .send { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #f5f5f7}
.ask .send:hover { color: var(--accent)}

/* ---------- MISSIONS ---------- */
.m-head { position: absolute; inset-inline-start: 13px; top: 0; width: 1067px; height: 217px}
.m-banner { position: absolute; inset-inline-start: 370px; top: 0; width: 711px; height: 218px}
.m-banner img { width: 100%; height: 100%}
.m-banner::before { content: ""; position: absolute; inset-block: 0 0; inset-inline: 0 auto; width: 180px; background: none}
.m-tabs { position: absolute; inset-inline-start: 25px; top: 163px; display: flex; gap: 9px; z-index: 2}
.m-tabs .pill-tab { height: 44px; font-size: 15px; background: #0a0a0b}
.m-tabs .pill-tab.on { background: #111112}
.dom-row { position: absolute; inset-inline-start: 25px; top: 234px; display: flex; gap: 10px}
.dom { width: 83px; height: 82px; border-radius: 9px; border: 1px solid #232325; background: #111112; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-size: 13.5px; color: #e5e5ea; transition: all .18s}
.dom .ico { color: #f5f5f7}
.dom:hover { border-color: #424245}
.dom.on { border-color: var(--accent); background: #111112; outline: 1px solid rgba(0,255,111,0.3); outline-offset: -1px; box-shadow: none}
.dom.on .ico, .dom:hover .ico { color: var(--accent)}
.feat-h { position: absolute; inset-inline-start: 25px; top: 334px; inset-inline-end: 245px; display: flex; justify-content: space-between; align-items: flex-end}
.feat-row { position: absolute; inset-inline-start: 22px; top: 388px; width: 1050px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px}
.feat-row.scrolly { overflow-x: auto; grid-auto-flow: column; grid-auto-columns: 253px; grid-template-columns: none; padding-bottom: 4px}
.mcard { position: relative; height: 284px; border-radius: 12px; border: 1px solid #232325; background: #111112; overflow: hidden; text-align: start; transition: border-color .2s, box-shadow .2s, transform .2s}
.mcard:hover { border-color: #424245; transform: translateY(-2px)}
.mcard.on { border: 1.5px solid var(--accent); box-shadow: none}
.mcard .mi { height: 142px; position: relative; overflow: hidden}
.mcard .mi img { width: 100%; height: 100%; object-fit: cover}
.mcard .badge { position: absolute; inset-inline-start: 10px; top: 10px; z-index: 2}
.mcard .fav { position: absolute; inset-inline-end: 8px; top: 8px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, 0.35); color: #f5f5f7; opacity: 0; transition: opacity .2s}
.mcard:hover .fav, .mcard .fav.on { opacity: 1}
.mcard .fav.on { color: #F466AD}
.mcard .mb { padding: 10px 12px 0 12px}
.mcard .mb b { display: block; font-size: 19px; font-weight: 500; line-height: 1.25}
.mcard .mb p { margin: 4px 0 0; font-size: 14px; color: #d2d2d7; line-height: 1.25; height: 35px; overflow: hidden}
.mcard .mf { position: absolute; inset-inline-start: 12px; inset-inline-end: 12px; bottom: 32px; display: flex; justify-content: space-between; align-items: center}
.mcard .mf .chip { height: 30px}
.mcard .go { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #1d1d1f; color: #f5f5f7}
.mcard:hover .go { background: var(--accent); color: var(--accent-ink)}
.mcard .ml { position: absolute; inset-inline-start: 12px; bottom: 10px; display: flex; gap: 12px; align-items: center; font-size: 12.5px; color: #d2d2d7}
.cont-h { position: absolute; inset-inline-start: 25px; top: 694px}
.cont-row { position: absolute; inset-inline-start: 25px; top: 729px; width: 1041px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px}
.ccard { position: relative; height: 122px; border-radius: 10px; border: 1px solid #232325; background: #111112; display: grid; grid-template-columns: 106px 1fr; overflow: hidden; text-align: start; transition: border-color .2s}
.ccard:hover { border-color: #424245}
.ccard img { width: 106px; height: 120px; object-fit: cover}
.ccard .cb { padding-block: 8px 0; padding-inline: 16px 14px; position: relative}
.ccard .badge { height: 22px; font-size: 11.5px; padding: 0 8px; border-width: 1px}
.ccard b { display: block; font-size: 16px; font-weight: 500; margin-top: 8px}
.ccard small { display: block; font-size: 13px; color: #d2d2d7; margin-top: 4px}
.ccard .cp { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px}
.ccard .cp .progress { flex: 1; height: 5px}
.ccard .go { position: absolute; inset-inline-end: 10px; bottom: 10px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #1d1d1f}
.ccard:hover .go { background: var(--accent); color: var(--accent-ink)}

.m-side { position: absolute; inset-inline-start: 1092px; top: 18px; width: 336px; bottom: 0; border-inline-start: 1px solid #161617; padding-inline-start: 14px}
.m-side .ms-card { position: relative; border-radius: 12px; border: 1px solid #232325; background: #0a0a0b; overflow: hidden}
.ms-img { height: 176px; position: relative}
.ms-img img { width: 100%; height: 100%; object-fit: cover}
.ms-img .fav { position: absolute; inset-inline-end: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, 0.45); color: #f5f5f7}
.ms-img .fav.on { color: #F466AD}
.ms-b { padding: 12px 12px}
.ms-dom { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #e5e5ea}
.ms-dom .ico { color: #a78bfa}
.ms-b h3 { margin: 8px 0 0; font-size: 26px; font-weight: 500; line-height: 1.2}
.ms-b p { margin: 6px 0 0; font-size: 16px; color: #d2d2d7; line-height: 1.35}
.ms-tags { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap}
.ms-tags span { height: 30px; padding: 0 12px; border-radius: 999px; background: #161617; border: 1px solid #232325; display: grid; place-items: center; font-size: 13px; color: #e5e5ea}
.ms-stats { display: grid; grid-template-columns: .85fr 1.3fr .85fr; margin-top: 12px; border: 1px solid #1d1d1f; border-radius: 10px; padding: 8px 0}
.ms-stats div { display: flex; align-items: center; gap: 7px; padding: 0 8px; border-inline-end: 1px solid #1d1d1f; white-space: nowrap}
.ms-stats div:last-child { border: 0}
.ms-stats small { display: block; font-size: 11.5px; color: #aeaeb2}
.ms-stats b { display: block; font-size: 14.5px; font-weight: 600}
.ms-stats .ico { color: var(--accent); flex: none}
.ms-start { width: 100%; height: 46px; margin-top: 12px; font-size: 17px}
.m-side h5 { margin: 14px 2px 6px; font-size: 16px; font-weight: 500}
.m-side .about { margin: 0 2px; font-size: 14px; color: #d2d2d7; line-height: 1.4}
.learn-list { display: grid; gap: 8px; margin: 0 2px}
.learn-list div { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: #e5e5ea}
.learn-list .check { width: 19px; height: 19px; border-radius: 4px}
.m-side .vfd { position: absolute; inset-inline-start: 14px; inset-inline-end: 0; bottom: 12px; height: 46px; border-radius: 10px; border: 1px solid #2c2c2e; display: flex; align-items: center; justify-content: center; gap: 110px; font-size: 16px; color: #f5f5f7; background: #111112}
.m-side .vfd:hover { border-color: var(--accent-line); color: var(--accent)}
.empty { display: grid; place-items: center; text-align: center; color: var(--muted); border: 1px dashed #2c2c2e; border-radius: 12px; font-size: 15px; padding: 20px}

/* ---------- PROJECTS ---------- */
.p-head { position: absolute; inset-inline-start: 36px; top: 22px; inset-inline-end: 26px; height: 64px; display: flex; align-items: center}
.p-head .ham { width: 55px; height: 55px}
.p-title { font-size: 36px; font-weight: 500; margin: 0; line-height: 1.1}
.p-sub { font-size: 17px; color: #d2d2d7; margin: 3px 0 0}
.p-tabs { position: absolute; inset-inline-start: 36px; top: 108px; display: flex; gap: 10px}
.p-tabs .pill-tab { height: 48px; font-size: 16px; padding: 0 22px}
.p-filters { position: absolute; inset-inline-end: 26px; top: 112px; display: flex; gap: 14px; align-items: center}
.p-dd { height: 44px; padding: 0 14px; border-radius: 8px; border: 1px solid #232325; background: #111112; display: flex; align-items: center; gap: 28px; font-size: 15px; color: #f5f5f7; min-width: 154px; justify-content: space-between}
.p-dd:hover { border-color: #424245}
.vt { width: 44px; height: 44px; border-radius: 8px; border: 1px solid #232325; display: grid; place-items: center; color: #e5e5ea; background: #111112}
.vt.on { border-color: var(--accent); color: var(--accent); background: #111112}
.p-stats { position: absolute; inset-inline-start: 36px; top: 174px; width: 1062px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px}
.pstat { height: 85px; border-radius: 10px; border: 1px solid #1d1d1f; background: #111112; display: flex; align-items: center; gap: 22px; padding-inline-start: 14px; text-align: start; transition: border-color .2s}
.pstat:hover { border-color: #3a3a3c}
.pstat.on { border-color: var(--accent-line)}
.pstat .pi { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center}
.pstat b { display: block; font-size: 26px; font-weight: 500; line-height: 1}
.pstat small { display: block; font-size: 16px; color: #d2d2d7; margin-top: 4px}
.p-grid { position: absolute; inset-inline-start: 36px; top: 279px; width: 1062px; height: 596px}
.p-grid .inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 16px; padding-block: 0 20px; padding-inline: 0 2px}
.pcard2 { position: relative; height: 276px; border-radius: 12px; border: 1px solid #232325; background: #111112; overflow: hidden; text-align: start; transition: border-color .2s, box-shadow .2s, transform .2s}
.pcard2:hover { border-color: #424245; transform: translateY(-2px)}
.pcard2.on { border: 1.5px solid var(--accent); box-shadow: none}
.pcard2 .pim { height: 143px; overflow: hidden; position: relative}
.pcard2 .pim img { width: 100%; height: 100%; object-fit: cover}
.pcard2 .badge { position: absolute; inset-inline-start: 13px; top: 11px; z-index: 2; height: 29px}
.pcard2 .badge.cover { inset-inline-start: 9px; top: 7px; height: 36px; min-width: 108px; padding: 0 14px; font-size: 14px; background: #111112}
.pcard2 .star { position: absolute; inset-inline-end: 9px; top: 9px; z-index: 2; width: 34px; height: 34px; display: grid; place-items: center; color: #f5f5f7; border-radius: 50%}
.pcard2 .star:hover { background: rgba(0, 0, 0, 0.35)}
.pcard2 .star.on { color: var(--warn)}
.pcard2 .pb { padding: 9px 14px 0}
.pcard2 .pb b { display: block; font-size: 17px; font-weight: 500; line-height: 1.2}
.pcard2 .pb p { margin: 4px 0 0; font-size: 13.5px; color: #d2d2d7; line-height: 1.2; height: 33px; overflow: hidden}
.pcard2 .chip { position: absolute; inset-inline-start: 14px; bottom: 29px; height: 28px; font-size: 13px}
.pcard2 .chip .ico { color: var(--accent)}
.pcard2 .pp { position: absolute; inset-inline-start: 16px; inset-inline-end: 14px; bottom: 9px; display: flex; align-items: center; gap: 14px; font-size: 13px}
.pcard2 .pp .progress { flex: 1; height: 5px}
.newp { height: 276px; border-radius: 12px; border: 1px solid #232325; background: #111112; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transition: border-color .2s, background .2s}
.newp:hover { border-color: var(--accent-line); background: #111112}
.newp .pl { width: 54px; height: 54px; border-radius: 50%; background: #232325; display: grid; place-items: center; margin-bottom: 26px}
.newp b { font-size: 18px; font-weight: 500}
.newp small { font-size: 15px; color: #d2d2d7; margin-top: 8px}
.p-list .inner { grid-template-columns: 1fr; gap: 10px}
.prow { display: grid; grid-template-columns: 150px 1.4fr 1fr 180px 110px 40px; align-items: center; gap: 18px; height: 86px; border-radius: 12px; border: 1px solid #232325; background: #111112; padding-inline-end: 14px; text-align: start; overflow: hidden; transition: border-color .2s}
.prow:hover { border-color: #424245}
.prow.on { border-color: var(--accent)}
.prow img { width: 150px; height: 86px; object-fit: cover}
.prow b { font-size: 17px; font-weight: 500}
.prow small { display: block; font-size: 13.5px; color: #d2d2d7; margin-top: 3px}

.p-side { position: absolute; inset-inline-start: 1115px; top: 177px; width: 307px; bottom: 41px; border-radius: 12px; border: 1px solid #232325; background: #111112; overflow: hidden; display: flex; flex-direction: column}
.p-side .psi { height: 137px; position: relative; flex: none}
.p-side .psb { flex: 1; min-height: 0; display: flex; flex-direction: column}
.p-side .psb .pbody { flex: 1; min-height: 0; height: auto}
.p-side .psi img { width: 100%; height: 100%; object-fit: cover}
.p-side .psi .badge { position: absolute; inset-inline-start: 11px; top: 10px}
.p-side .psi .star { position: absolute; inset-inline-end: 8px; top: 8px; width: 34px; height: 34px; display: grid; place-items: center; color: #f5f5f7}
.p-side .psi .star.on { color: var(--warn)}
.p-side .psb { padding: 10px 14px}
.p-side h3 { margin: 0; font-size: 19px; font-weight: 500}
.p-side .d { margin: 6px 0 0; font-size: 13.5px; color: #d2d2d7}
.p-side .dp { display: flex; justify-content: space-between; align-items: center; margin-top: 12px}
.p-side .ptabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 14px}
.p-side .ptabs button { height: 34px; border-radius: 7px; font-size: 14px; color: #e5e5ea; border: 1px solid transparent}
.p-side .ptabs button.on { border-color: var(--accent); color: var(--accent); background: #111112}
.p-side .ptabs button:hover { color: #f5f5f7}
.p-side .pbody { height: 318px; margin-top: 10px}
.p-side .pbody p { font-size: 14px; color: #d2d2d7; line-height: 1.42; margin: 0}
.p-side h6 { margin: 12px 0 8px; font-size: 15px; font-weight: 500}
.p-side .ks { display: flex; flex-wrap: wrap; gap: 8px}
.p-side .ks span { height: 32px; padding: 0 12px; border-radius: 999px; background: #161617; border: 1px solid #2c2c2e; display: grid; place-items: center; font-size: 13px; color: #e5e5ea}
.p-side .ns { display: grid; gap: 10px}
.p-side .ns button { display: flex; align-items: center; gap: 14px; font-size: 14px; color: #e5e5ea; text-align: start}
.p-side .ns .check { width: 22px; height: 22px}
.p-side .ns button.on span.t { color: #a1a1a6; text-decoration: line-through}
.p-side .pact { flex: none; margin: 4px 14px 14px; display: flex; gap: 10px}
.p-side .pact .btn-primary { flex: 1; height: 48px; font-size: 17px}
.p-side .pact .icon-btn { width: 48px; height: 48px; border: 1px solid #2c2c2e}
.ev-item { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 10px; border: 1px solid #232325; background: #111112; margin-bottom: 8px; width: 100%; text-align: start}
.ev-item:hover { border-color: #3a3a3c}
.ev-item .ei { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: rgba(135, 135, 135, 0.1); color: var(--accent); flex: none}
.ev-item b { display: block; font-size: 14px; font-weight: 500}
.ev-item small { display: block; font-size: 12.5px; color: var(--muted)}
.notes-ta { width: 100%; height: 220px; resize: none; border-radius: 10px; border: 1px solid #2c2c2e; background: #0a0a0b; color: var(--text); padding: 12px; font-size: 14px; line-height: 1.5; outline: none}
.notes-ta:focus { border-color: var(--accent-line)}

.tgl { position: relative; width: 48px; height: 28px; border-radius: 999px; background: #2c2c2e; transition: background .2s; flex: none}
.tgl i { position: absolute; inset-inline-start: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #d2d2d7; transition: transform .2s, background .2s}
.tgl.on { background: var(--accent-deep)}
.tgl.on i { transform: translateX(20px); background: #ffffff}
.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after { animation-duration: .01ms !important; transition-duration: .01ms !important}

/* ---------- profile / digital id modal ---------- */
.prof { display: grid; grid-template-columns: 260px 1fr; gap: 26px}
.prof .card-id { border-radius: 16px; padding: 22px; text-align: center; background: #161617; border: 1px solid #2c2c2e; position: relative; overflow: hidden}
.prof .card-id::after { content: ""; position: absolute; inset-block: auto -60px; inset-inline: auto -40px; width: 200px; height: 200px; border-radius: 50%; background: none}
.prof .card-id img { width: 130px; height: 130px; border-radius: 50%; margin: 6px auto 0; object-fit: cover; outline: 3px solid var(--accent); outline-offset: 0; box-shadow: none}
.prof .idno { font-size: 12px; letter-spacing: .2em; color: var(--muted); margin-top: 14px}
.cap-list { display: grid; gap: 12px}
.cap { display: grid; grid-template-columns: 30px 1fr 60px; gap: 12px; align-items: center}
.cap .ico { color: var(--accent)}
.cap b { font-size: 15px; font-weight: 500; color: var(--text)}
.cap .progress { margin-top: 6px}
.badges-row { display: flex; gap: 12px; margin-top: 8px}
.badges-row .bd { width: 76px; text-align: center; font-size: 12px; color: var(--muted)}
.badges-row .bd img { width: 64px; height: 64px; margin: 0 auto 6px; border-radius: 12px; object-fit: cover}
.badges-row .bd.lock img { filter: grayscale(1) brightness(.4)}

/* the ID & Capability Passport: the WAHAJ ID card on the left, badges, capabilities and missions on the right */
.pp { display: grid; grid-template-columns: 300px 1fr; gap: 26px}
.pp-id { display: flex; flex-direction: column; align-items: center; padding: 16px 20px 18px; border-radius: 16px; border: 1px solid #2c2c2e; background: #161617; text-align: center}
.pp-idh { align-self: stretch; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--accent)}
.pp-idh span { display: inline-flex; align-items: center; gap: 6px}
.pp-idh em { font-style: normal; font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 500; color: var(--muted)}
.pp-id .cid-av { width: 120px; height: 120px; margin: 14px auto 0}
.pp-name { margin-top: 12px; font-size: 21px; font-weight: 700; color: var(--text)}
.pp-rank { margin-top: 2px; font-size: 13.5px; color: #a78bfa}
.pp-id .progress { align-self: stretch; margin: 12px 4px 4px}
.pp-xp { font-size: 12.5px; color: var(--muted)}
.pp-dl { align-self: stretch; display: grid; gap: 7px; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid #2c2c2e}
.pp-dl div { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px}
.pp-dl dt { color: var(--muted)}
.pp-dl dd { margin: 0; font-weight: 600; color: var(--text); text-align: end}
.pp-stats { align-self: stretch; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px}
.pp-stats div { padding: 8px 4px; border-radius: 10px; border: 1px solid #232325; background: #111112}
.pp-stats b { display: block; font-size: 18px; color: var(--text)}
.pp-stats small { display: block; font-size: 11.5px; color: var(--muted)}
.pp-main h5 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px}
.pp-main h5 small { font-size: 12.5px; font-weight: 400; color: var(--muted)}
.pp-main > div + h5 { margin-top: 20px}
.pp-badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px}
.pp-bd { display: grid; grid-template-columns: 56px 1fr; gap: 10px; align-items: center; padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel-2)}
.pp-bd > svg { display: block; width: 56px; height: 56px}
.pp-bd.lock > svg { filter: grayscale(1) brightness(.55)}
.pp-bd b { display: block; font-size: 14.5px; color: var(--text)}
.pp-bd small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis}
.pp-bd em, .pp-mis em { display: inline-flex; align-items: center; gap: 5px; height: 24px; margin-top: 6px; padding: 0 9px; border-radius: 999px; border: 1px solid var(--line); font-style: normal; font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap}
.pp-bd em.ok, .pp-mis em.ok { border-color: var(--accent-line); color: var(--accent)}
.pp-caps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px}
.pp-caps .cap { grid-template-columns: 26px 1fr auto}
.pp-caps .cap b { font-size: 14px}
.pp-caps .cap span { font-size: 13px; color: var(--text); text-align: end; white-space: nowrap}
.pp-mis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px}
.pp-mis > div { display: grid; grid-template-columns: 20px 1fr; gap: 4px 9px; align-items: center; padding: 9px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel-2)}
.pp-mis .ico { color: var(--accent)}
.pp-mis b { display: block; font-size: 14px; color: var(--text)}
.pp-mis small { display: block; font-size: 12px; color: var(--muted)}
.pp-mis em { margin-top: 0; grid-column: 2; justify-self: start; height: 22px}
.pp-ints { display: flex; flex-wrap: wrap; gap: 8px}
/* learner settings: the time limits a guardian chose */
.set-lim { display: grid; grid-template-columns: 1fr 1fr; gap: 10px}
.set-lim > div { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel-2)}
.set-lim .ico { flex: none; color: var(--accent)}
.set-lim small { display: block; font-size: 12.5px; color: var(--muted)}
.set-lim b { display: block; font-size: 16px; color: var(--text)}

/* ---------- MENTOR PAGE ---------- */
.mt-head { position: absolute; inset-inline-start: 13px; top: -8px; width: 1062px; height: 105px; border-radius: 12px; border: 1px solid #1d1d1f; background: #111112; padding: 18px 18px}
.mt-head h1 { margin: 0; font-size: 44px; font-weight: 500; line-height: 1}
.mt-head p { margin: 10px 0 0; font-size: 20px; color: #d2d2d7}
.mt-conv { position: absolute; inset-inline-start: 13px; top: 109px; width: 755px; height: 520px; border-radius: 12px; border: 1px solid #1d1d1f; background: #111112; padding: 16px 18px}
.mt-conv-h { display: flex; justify-content: space-between; align-items: center}
.mt-conv-h h3 { margin: 0; font-size: 24px; font-weight: 500}
.mt-ctx { display: flex; align-items: center; gap: 14px; font-size: 15px; color: #e5e5ea; padding: 6px 8px; border-radius: 8px}
.mt-ctx:hover { background: #161617}
.chat { height: 316px; margin-top: 10px; padding-inline-end: 8px; display: flex; flex-direction: column; gap: 14px}
.msg { display: grid; grid-template-columns: 58px 1fr; gap: 16px}
.msg .av { width: 54px; height: 54px; border-radius: 50%; overflow: hidden; background: #111112}
.msg .av img { width: 100%; height: 100%; object-fit: cover}
.msg .meta { font-size: 14px; color: #e5e5ea}
.msg .meta time { color: #aeaeb2; margin-inline-start: 10px; font-size: 12.5px}
.msg .bub { margin-top: 8px; padding: 12px 16px; border-radius: 10px; border: 1px solid #2c2c2e; background: #161617; font-size: 15px; line-height: 1.45; color: #e5e5ea; max-width: 575px}
.msg.me .bub { border-color: rgba(0,255,111,0.55); background: #111112}
.msg .bub b { color: #f5f5f7; font-weight: 600}
.typing { display: inline-flex; gap: 5px; padding: 4px 0}
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #98989d; animation: blink 1s infinite}
.typing i:nth-child(2) { animation-delay: .2s} .typing i:nth-child(3) { animation-delay: .4s}
.qp { display: flex; gap: 6px; margin-top: 12px}
.qp button { flex: 1 1 auto; justify-content: center; height: 42px; padding: 0 8px; border-radius: 8px; border: 1px solid #2c2c2e; background: #111112; display: flex; align-items: center; gap: 10px; font-size: 13px; color: #f5f5f7; white-space: nowrap}
.qp button .ico { color: var(--accent)}
.qp button:hover { border-color: var(--accent-line)}
.mt-input { display: flex; align-items: center; height: 44px; margin-top: 12px; border-radius: 8px; border: 1px solid #2c2c2e; background: #0a0a0b; padding-block: 0 0; padding-inline: 16px 12px}
.mt-input input { flex: 1; background: none; border: 0; outline: 0; font-size: 14.5px; color: var(--text)}
.mt-input input::placeholder { color: #aeaeb2}
.mt-input button { color: var(--accent); width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px}
.mt-cur { position: absolute; inset-inline-start: 780px; top: 109px; width: 295px; height: 520px; border-radius: 12px; border: 1px solid #1d1d1f; background: #111112; padding: 16px 14px}
.mt-cur h3 { margin: 0 0 10px; font-size: 18px; font-weight: 500}
.mt-cur .ci { height: 168px; border-radius: 8px; overflow: hidden}
.mt-cur .ci img { width: 100%; height: 100%; object-fit: cover}
.mt-cur .cm { font-size: 14px; color: #e5e5ea; margin-top: 18px}
.mt-cur .cn { font-size: 22px; font-weight: 500; margin-top: 2px}
.mt-cur .cd { display: flex; gap: 16px; align-items: center; margin-top: 14px; font-size: 14px}
.mt-cur .cd small { display: block; font-size: 12px; color: #c7c7cc}
.mt-cur .stage-btn { display: flex; align-items: center; gap: 14px; width: 100%; margin-top: 16px; text-align: start; padding: 6px 4px; border-radius: 8px}
.mt-cur .stage-btn:hover { background: #161617}
.mt-cur .stage-btn .sn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--accent); display: grid; place-items: center; font-size: 18px}
.mt-cur .stage-btn small { display: block; font-size: 13px; color: #c7c7cc}
.mt-cur .stage-btn b { display: block; font-size: 16px; font-weight: 500}
.mt-cur .vmd { position: absolute; inset-inline-start: 14px; inset-inline-end: 14px; bottom: 16px; height: 46px; border-radius: 8px; border: 1px solid #2c2c2e; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; font-size: 15px}
.mt-cur .vmd:hover { border-color: var(--accent-line); color: var(--accent)}
.mt-tools { position: absolute; inset-inline-start: 13px; top: 641px; width: 1062px; height: 234px; border-radius: 12px; border: 1px solid #1d1d1f; background: #111112; padding: 14px 14px}
.mt-tools h3 { margin: 0 0 12px; font-size: 20px; font-weight: 500}
.tools-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px}
.tool { position: relative; height: 162px; border-radius: 10px; border: 1px solid #232325; background: #111112; padding: 12px 14px}
.tool .th { display: flex; gap: 12px; align-items: center; font-size: 14px; font-weight: 500}
.tool .th .ico { color: var(--accent)}
.tool .tb { margin-top: 8px; font-size: 14px; color: #f5f5f7; line-height: 1.35}
.tool .ts2 { margin-top: 6px; font-size: 12.5px; color: #c7c7cc; line-height: 1.35}
.tool .tbtn { position: absolute; inset-inline-start: 14px; inset-inline-end: 14px; bottom: 12px; height: 36px; border-radius: 7px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px}
.tool .tbtn.o { border: 1px solid var(--accent-line); color: var(--accent)}
.tool .tbtn.o:hover { background: rgba(135, 135, 135, 0.1)}
.tool .tbtn.g { border: 1px solid #2c2c2e; color: #f5f5f7}
.tool .tbtn.g:hover { border-color: #545458}
.tool .rq { display: grid; gap: 6px; margin-top: 8px}
.tool .rq button { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: #e5e5ea; text-align: start}
.tool .rq button:hover { color: var(--accent)}
.tool .rq .ico { color: var(--accent)}
.tool .va { position: absolute; inset-inline-start: 14px; bottom: 16px; display: flex; gap: 10px; align-items: center; font-size: 14px}
.tool .va:hover { color: var(--accent)}

.mt-right { position: absolute; inset-inline-start: 1086px; top: -8px; width: 342px}
.mt-prof { height: 272px; border-radius: 12px; border: 1px solid #1d1d1f; background: #111112; padding: 18px 16px; position: relative}
.mt-prof h3 { margin: 0; font-size: 21px; font-weight: 600; color: var(--accent); letter-spacing: .02em}
.online { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 16px; color: var(--accent)}
.online i { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: none}
.mt-prof .rb { position: absolute; inset-inline-end: 14px; top: 10px; width: 84px}
.mt-prof .quote { margin-top: 26px; padding: 12px 14px; border-radius: 10px; border: 1px solid #232325; background: #111112; font-size: 14.5px; color: #e5e5ea; line-height: 1.4; min-height: 78px}
.mt-prof .mtabs { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px}
.mt-prof .mtabs button { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 14px; color: #e5e5ea; border-inline-end: 1px solid #232325; padding: 4px 0}
.mt-prof .mtabs button:last-child { border: 0}
.mt-prof .mtabs button .ico { color: var(--accent)}
.mt-prof .mtabs button.on { color: var(--accent)}
.mt-box { margin-top: 10px; border-radius: 12px; border: 1px solid #1d1d1f; background: #111112; padding: 12px 16px}
.mt-box h4 { margin: 0; font-size: 17px; font-weight: 500; display: flex; justify-content: space-between; align-items: center}
.seg3 { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12px; border: 1px solid #232325; border-radius: 8px; overflow: hidden}
.seg3 button { height: 40px; font-size: 14px; color: #e5e5ea}
.seg3 button.on { outline: 1.5px solid var(--accent); outline-offset: -1.5px; box-shadow: none; color: var(--accent); background: #111112; border-radius: 8px}
.ra { display: grid; gap: 8px; margin-top: 10px}
.ra button { display: flex; gap: 14px; align-items: center; font-size: 14px; color: #e5e5ea; text-align: start}
.ra button.on span.t { color: #aeaeb2}
.res { display: grid; gap: 6px; margin-top: 8px}
.res button { display: grid; grid-template-columns: 34px 1fr 24px; gap: 10px; align-items: center; padding: 6px 10px; border-radius: 8px; border: 1px solid #232325; background: #111112; text-align: start}
.res button:hover { border-color: var(--accent-line)}
.res b { display: block; font-size: 13px; font-weight: 500}
.res small { display: block; font-size: 11.5px; color: #aeaeb2}

/* the account menus show every item, Sign out included, without scrolling */
.dd-menu.dd-tall { max-height: 560px}
