/* =========================================================
   WAHAJ on iPad — the platform canvas is 1448 x 1086 (4:3), the same as onboarding.
   Sidebar 222 px, top bar 82 px, so every page works in a 1226 x 1004 area.
   Cards follow the Build Studio reference: near-black panels, 12 px corners,
   hairline borders, white titles and Wahaj Glow green for state.
   ========================================================= */
:root {
  --ip-card: #111112;
  --ip-card-2: #161617;
  --ip-well: #0a0a0b;
  --ip-line: #232325;
  --ip-line-2: #2c2c2e;
  --ip-text-2: #a1a1a6;
  --ip-r: 18px}

/* ---------- shell ---------- */
/* the platform (every page after onboarding) sits on a #000000 background in the dark theme */
:root:not([data-theme="light"]) #stage.part2 { --bg: #000000}
.app-main { inset-inline-start: 222px; top: 82px}
.side { width: 222px; background: #000000; border-inline-end: 1px solid #1d1d1f}
.side-brand { inset-inline-start: 28px; top: 27px; gap: 16px}
.side-nav { inset-inline-start: 10px; inset-inline-end: 10px; top: 98px; gap: 2px}
.side-nav button { height: 54px; gap: 18px; padding-inline-start: 20px; font-size: 16.5px; border-radius: 10px; color: #e5e5ea}
.side-nav button .ico { color: #d2d2d7; flex: none}
.side-nav button:hover { background: #161617}
.side-nav button.on { background: #161617; color: var(--accent); font-weight: 600; box-shadow: none}
.side-nav button.on .ico { color: var(--accent)}
.side-nav button.on::before { display: none}
.side-nav.two { top: 586px}
.side-nav.two button { height: 48px; font-size: 15.5px}
.side-card { position: absolute; inset-inline-start: 20px; inset-inline-end: 15px; bottom: 78px; height: 190px; border-radius: 14px; border: 1px solid #232325; background: #111112; text-align: start; overflow: hidden; transition: border-color .2s}
.side-card:hover { border-color: var(--accent-line)}
.side-card .sc-t { position: absolute; inset-inline-start: 16px; top: 74px; font-size: 16.5px; line-height: 1.3; color: #f5f5f7}
.side-card .sc-img { position: absolute; inset-inline-end: -14px; top: 22px; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; box-shadow: none}
.side-card .sc-img svg { display: block}
.side-card .progress { position: absolute; inset-inline-start: 16px; inset-inline-end: 16px; bottom: 18px; height: 4px}
.side-sys { display: none}

.topbar { inset-inline-start: 222px; height: 82px; padding-block: 0 0; padding-inline: 15px 20px; border-bottom: 1px solid #1d1d1f; background: var(--bg)}
.topbar .search { width: 430px; height: 46px; border-radius: 10px; background: var(--ip-card); border: 1px solid #2c2c2e; gap: 12px; padding-block: 0 0; padding-inline: 16px 10px}
.topbar .search .ico { color: #d2d2d7; flex: none}
.topbar .search input { font-size: 15px}
.topbar .search kbd { font: 500 12px var(--font); color: #aeaeb2; border: 1px solid #2c2c2e; border-radius: 6px; padding: 3px 7px; background: #161617; white-space: nowrap}
.tb-new { display: flex; align-items: center; gap: 9px; height: 46px; padding: 0 16px; margin-inline-end: 12px; border-radius: 10px; border: 1px solid #2c2c2e; background: var(--ip-card); font-size: 15px; color: #f5f5f7; white-space: nowrap; transition: border-color .2s}
.tb-new:hover { border-color: var(--accent-line)}
.tb-ai { height: 46px; margin-inline-end: 4px}
.tb-icon { width: 46px; height: 46px}
.tb-icon .ndot { top: 8px; inset-inline-end: 9px; width: 9px; height: 9px}
.tb-div { height: 38px; margin-block: 0 0; margin-inline: 8px 12px}
.tb-user { gap: 12px; height: 56px; padding-block: 0 0; padding-inline: 4px 8px}
.tb-av { width: 44px; height: 44px}
.tb-user b { font-size: 15.5px; font-weight: 600}
.tb-user small { font-size: 13px; color: var(--ip-text-2)}

/* breadcrumb line at the top of a page */
.pg-crumbs { position: absolute; inset-inline-start: 15px; top: 20px; z-index: 2; display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: #c7c7cc}
.pg-crumbs button:hover { color: var(--accent)}
.pg-crumbs .sep { color: #7c7c80; display: inline-flex}

/* ---------- shared iPad card language ---------- */
.ip-card { position: absolute; border-radius: var(--ip-r); border: 1px solid var(--ip-line); background: var(--ip-card); padding: 16px 16px}
.ip-card > h3, .ip-h { margin: 0 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 17px; font-weight: 600; color: #f5f5f7; text-transform: none; letter-spacing: 0}
.ip-h small { font-size: 13px; font-weight: 400; color: var(--ip-text-2)}
.ip-link { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 400; color: #e5e5ea; white-space: nowrap}
.ip-link:hover { color: var(--accent)}
.ip-live { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 400; color: var(--accent)}
.ip-live i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: none; animation: blink 1.6s infinite}
.ip-live.idle { color: #98989d}
.ip-live.idle i { background: #545458; box-shadow: none; animation: none}
/* stat tile: icon, label, value and a short bar (System Status in the reference) */
.ip-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px}
.ip-tile { position: relative; display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; align-items: start; min-height: 70px; padding: 12px 12px 10px; border-radius: 10px; border: 1px solid var(--ip-line); background: var(--ip-well); text-align: start; transition: border-color .2s}
button.ip-tile:hover { border-color: var(--ip-line-2)}
.ip-tile .ti { grid-row: 1 / 3; padding-top: 2px}
.ip-tile small { font-size: 13.5px; color: #d2d2d7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis}
.ip-tile b { font-size: 21px; font-weight: 600; line-height: 1.25; white-space: nowrap}
.ip-tile .progress { grid-column: 2; height: 4px; margin-top: 6px; width: 72%}
/* item card with an illustration (Components in the reference) */
.ip-items { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px}
.ip-item { position: relative; flex: none; width: 92px; text-align: start}
.ip-item .art { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 10px; border: 1px solid var(--ip-line); background: var(--ip-well); overflow: hidden; transition: border-color .2s}
.ip-item .art svg { width: 84px; height: 84px; display: block}
.ip-item .art img { width: 100%; height: 100%; object-fit: cover}
.ip-item:hover .art { border-color: var(--accent-line)}
.ip-item b { display: block; margin-top: 8px; font-size: 13.5px; font-weight: 500; color: #f5f5f7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis}
.ip-item small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ip-text-2)}
.ip-item .cnt { position: absolute; inset-inline-end: 5px; top: 5px}
/* file list rows (Blueprints & Files in the reference) */
.ip-files { display: grid}
.ip-file { display: grid; grid-template-columns: 26px 1fr auto auto; align-items: center; gap: 12px; height: 38px; padding: 0 2px; border-bottom: 1px solid #1d1d1f; font-size: 13.5px; text-align: start; color: #e5e5ea}
.ip-file:last-child { border-bottom: 0}
.ip-file:hover { color: var(--accent)}
.ip-file .fn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis}
.ip-file .ft { font-size: 12.5px; color: var(--ip-text-2); white-space: nowrap}
.ip-file .fs { font-size: 12.5px; color: var(--ip-text-2); min-width: 46px; text-align: end; white-space: nowrap}
.ip-file .fi { display: grid; place-items: center}
/* segmented control and icon buttons (viewer toolbars) */
.ip-seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 10px; border: 1px solid var(--ip-line-2); background: rgba(16, 16, 16, 0.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px)}
.ip-seg button { height: 36px; padding: 0 14px; border-radius: 7px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #e5e5ea; white-space: nowrap}
.ip-seg button:hover { background: rgba(255, 255, 255, 0.05)}
.ip-seg button.on { background: #232325; color: #ffffff}
.ip-seg button.on .ico { color: var(--accent)}
.ip-ib { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--ip-line-2); background: rgba(16, 16, 16, 0.92); color: #e5e5ea; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px)}
.ip-ib:hover { border-color: var(--accent-line); color: var(--accent)}
.ip-ib.on { color: var(--accent); border-color: var(--accent-line)}
.ip-tgl { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--ip-line-2); background: rgba(16, 16, 16, 0.92); font-size: 14px; color: #e5e5ea}
.ip-tgl i { position: relative; width: 38px; height: 22px; border-radius: 999px; background: #2c2c2e; transition: background .2s}
.ip-tgl i::after { content: ""; position: absolute; inset-inline-start: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #e5e5ea; transition: transform .2s}
.ip-tgl.on i { background: var(--accent)}
.ip-tgl.on i::after { transform: translateX(16px); background: #0a0a0b}
.ip-pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; border: 1px solid var(--accent-line); color: var(--accent); font-size: 11.5px; font-weight: 600; letter-spacing: .04em}

/* =========================================================
   Mission workspace (Know · Do · Become), after the Build Studio reference
   ========================================================= */
.ip-card > h3 small { font-size: 13px; font-weight: 400; color: var(--ip-text-2)}
.ip-card > h3 small.ok { color: var(--accent)}
.mf .pg-crumbs { top: 18px}
.mf-title { position: absolute; inset-inline-start: 15px; top: 40px; margin: 0; font-size: 30px; font-weight: 700; letter-spacing: -.01em; color: #ffffff}
.mf-sub { position: absolute; inset-inline-start: 15px; top: 86px; margin: 0; font-size: 16.5px; color: #d2d2d7}
.mf-status { position: absolute; inset-inline-start: 520px; top: 50px; height: 40px; padding-block: 0 0; padding-inline: 14px 12px; display: flex; align-items: center; gap: 10px; border-radius: 10px; border: 1px solid #2c2c2e; background: var(--ip-card); font-size: 15px; color: #f5f5f7}
.mf-status i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: none}
.mf-status.idle i { background: #7c7c80; box-shadow: none}
.mf-status.done i { background: #8b5cf6; box-shadow: none}
.mf-status .ico { color: #aeaeb2}
.mf-status:hover { border-color: var(--accent-line)}
.mf-vdiv { position: absolute; inset-inline-start: 704px; top: 36px; width: 1px; height: 78px; background: var(--ip-line)}
.mf-prog { position: absolute; inset-inline-start: 730px; top: 40px; width: 176px; text-align: start}
.mf-prog small { display: block; font-size: 14.5px; color: #e5e5ea}
.mf-prog .progress { display: block; height: 8px; margin: 12px 0 9px}
.mf-prog b { display: block; font-size: 14.5px; font-weight: 400; text-align: end; color: #e5e5ea}
.mf-prog:hover small { color: var(--accent)}
.mf-promo { position: absolute; inset-inline-start: 930px; top: 26px; width: 276px; height: 92px; display: flex; align-items: center; border-radius: 12px; border: 1px solid var(--ip-line); background: #111112; overflow: hidden; text-align: start; transition: border-color .2s}
.mf-promo:hover { border-color: var(--accent-line)}
.mf-promo .pi { flex: none; width: 92px; height: 92px; margin-inline-start: -10px; border-radius: 50%; overflow: hidden}
.mf-promo .pi svg { display: block}
.mf-promo > span:last-child { padding-block: 0 0; padding-inline: 14px 16px; font-size: 15px; line-height: 1.38; color: #f5f5f7}

.mf-tabs { position: absolute; inset-inline-start: 15px; top: 128px; width: 860px; height: 42px; display: flex; align-items: stretch; border-bottom: 1px solid var(--ip-line)}
.mf-tabs > button[role="tab"] { position: relative; padding: 0 20px; font-size: 16.5px; color: #c7c7cc}
.mf-tabs > button[role="tab"]:hover { color: #ffffff}
.mf-tabs > button[role="tab"].on { color: #ffffff; font-weight: 600}
.mf-tabs > button[role="tab"].on::after { content: ""; position: absolute; inset-inline-start: 10px; inset-inline-end: 10px; bottom: -1px; height: 3px; border-radius: 3px; background: var(--accent)}
.mf-tabs .sp { flex: 1}
.mf-subs { display: flex; align-items: center; gap: 6px}
.mf-subs button { height: 30px; padding-block: 0 0; padding-inline: 6px 12px; display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; border: 1px solid #2c2c2e; font-size: 13.5px; color: #d2d2d7}
.mf-subs button i { width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; background: #1d1d1f; font-style: normal; font-size: 11px; color: #e5e5ea}
.mf-subs button .ico { width: 19px; height: 19px; padding: 3.5px; border-radius: 50%; background: var(--accent); color: #0a0a0b}
.mf-subs button:hover { border-color: var(--ip-line-2); color: #ffffff}
.mf-subs button.on { border-color: var(--accent-line); background: rgba(124, 124, 124, 0.08); color: #ffffff}
.mf-subs button.on i { background: var(--accent); color: #0a0a0b}
.mf-subs button.lock { opacity: .45}
.mf-next { align-self: center; height: 34px; padding-block: 0 0; padding-inline: 14px 12px; margin-inline-start: 10px; font-size: 14px; gap: 4px}

/* the large viewer */
.mf-view { position: absolute; inset-inline-start: 15px; top: 178px; width: 860px; height: 560px; border-radius: var(--ip-r); border: 1px solid var(--ip-line); background: #0a0a0b; overflow: hidden}
.mf-view.big { top: 128px; width: 1191px; height: 836px; z-index: 30; box-shadow: none}
.mf-view > .f2-host, .mf-view > .g2d-host { position: absolute; inset: 0; border-radius: 0}
.mf-view .g2d-rules { display: none}
.mf-view .g2d-sel { inset-inline-start: auto; inset-inline-end: 14px; top: 70px}
.mf-view .g2d-north { inset-inline-start: auto; inset-inline-end: 16px; top: 72px}
.mf-view .g2d-scale { inset-inline-start: 16px; bottom: 20px}
.mf-view .g2d-xy { bottom: 20px; inset-inline-end: 16px}
.mf-vt { position: absolute; inset-inline-start: 14px; top: 14px; z-index: 7}
.mf-vr { position: absolute; inset-inline-end: 14px; top: 14px; z-index: 7; display: flex; align-items: center; gap: 8px}
.mf-vbl { position: absolute; inset-inline-start: 14px; bottom: 14px; z-index: 7}
.mf-vbr { position: absolute; inset-inline-end: 14px; bottom: 14px; z-index: 7; display: flex; gap: 8px}
.mf-vbc { position: absolute; left: 50%; bottom: 14px; z-index: 7; transform: translateX(-50%)}
.mf-vnote { margin-inline-end: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(16, 16, 16, 0.85); font-size: 13px; color: #c7c7cc}
.mf-vchip { position: absolute; left: 50%; bottom: 16px; z-index: 6; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(9, 9, 9, 0.86); border: 1px solid var(--accent-line); font-size: 13px; color: #e5e5ea; white-space: nowrap; pointer-events: none}
.mf-vchip .ico { color: var(--accent)}
.mf-vchip.up { bottom: 72px}
.mf-vchip.left { inset-inline-start: 14px; transform: none}
.mf-info.info-panel { inset-inline-start: 14px; inset-inline-end: auto; top: 72px; width: 340px; z-index: 7; padding: 16px 18px; border-radius: 12px; background: rgba(9, 9, 9, 0.94); font-size: 14px}
.mf-chart { position: absolute; inset-inline-start: 20px; inset-inline-end: 20px; top: 74px; bottom: 16px}
.mf-chart h4 { margin: 0 0 10px; font-size: 15px; font-weight: 600; color: #f5f5f7}
.mf-csvg { height: 300px}
#fd-chart, #ft-chart { height: 340px}
.mf-chart .e-legend { margin-top: 10px}
.mf-note { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--ip-line); background: var(--ip-card); color: var(--warn)}
.mf-note p { flex: 1; margin: 0; font-size: 14px; line-height: 1.45; color: #d2d2d7}
.mf-view .f2-ov.mf-ov { inset-inline-start: 14px; inset-inline-end: 14px; top: 72px}
.mf-view .f2-narr { inset-inline-start: 14px; bottom: 72px; width: 430px}
.mf-view .ft-bar { inset-inline-start: 14px; inset-inline-end: 14px; bottom: 14px}
.mf-view .fb-sel { inset-inline-end: 14px; top: 72px}
.mf-view #confetti { position: absolute; inset: 0; z-index: 5; pointer-events: none}
.mf-hero { position: absolute; inset-inline-start: 18px; inset-inline-end: 18px; bottom: 18px; z-index: 6; display: flex; align-items: center; gap: 18px; padding-block: 14px 14px; padding-inline: 14px 20px; border-radius: 14px; background: rgba(9, 9, 9, 0.84); border: 1px solid rgba(255, 255, 255, 0.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px)}
.mf-hb { flex: none; display: block}
.mf-hb svg { display: block}
.mf-hero small { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--accent)}
.mf-hero h2 { margin: 4px 0 6px; font-size: 26px; font-weight: 700; color: #ffffff}
.mf-hero p { margin: 0; font-size: 14.5px; line-height: 1.45; color: #d2d2d7}
.mf-hcap { display: block; margin-top: 8px; font-size: 13px; color: #a1a1a6}

/* right column: tasks / mentor / resources, then WAHAJ AI */
.mf-side { position: absolute; inset-inline-start: 890px; top: 128px; width: 316px; height: 610px; display: flex; flex-direction: column; gap: 14px}
.mf-side .ip-card { position: relative}
.mf-tasks { flex: none; height: 322px; padding: 0 14px 12px}
.mf-stabs { display: flex; margin: 0 -14px 12px; border-bottom: 1px solid var(--ip-line)}
.mf-stabs button { position: relative; flex: 1; height: 50px; font-size: 15.5px; color: #c7c7cc}
.mf-stabs button:hover { color: #ffffff}
.mf-stabs button.on { color: #ffffff; font-weight: 600}
.mf-stabs button.on::after { content: ""; position: absolute; inset-inline-start: 16px; inset-inline-end: 16px; bottom: -1px; height: 3px; border-radius: 3px; background: var(--accent)}
.mf-sh { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 8px}
.mf-sh > span { font-size: 16px; font-weight: 600; color: #f5f5f7}
.mf-steps { display: grid; gap: 2px}
.mf-steps button { display: grid; grid-template-columns: 24px 14px 1fr auto; align-items: center; gap: 10px; height: 35px; padding: 0 8px; border-radius: 8px; font-size: 14px; color: #e5e5ea; text-align: start}
.mf-steps button:hover { background: #161617}
.mf-steps .ck { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #424245; display: grid; place-items: center}
.mf-steps .done .ck { border-color: var(--accent); background: var(--accent); color: #0a0a0b}
.mf-steps .now { background: #1d1d1f}
.mf-steps .now .ck { border-color: var(--accent); outline: 3px solid rgba(0,255,111,.18); outline-offset: 0; box-shadow: none}
.mf-steps .n { color: #aeaeb2; font-size: 13.5px}
.mf-steps .lock { color: #7c7c80}
.mf-steps .lock .ico { color: #636366}
.mf-qs { display: grid; gap: 8px}
.mf-qs button { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--ip-line); background: var(--ip-well); font-size: 13.5px; line-height: 1.35; color: #e5e5ea; text-align: start}
.mf-qs button .ico { flex: none; color: var(--accent); margin-top: 1px}
.mf-qs button:hover { border-color: var(--accent-line)}
.mf-res { max-height: 230px; overflow-y: auto}
.mf-ai { flex: 1; min-height: 0; padding: 14px 14px 12px; display: flex; flex-direction: column}
.mf-aih { display: flex; align-items: center; gap: 12px}
.mf-aih img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid #232325; flex: none}
.mf-aih b { display: block; font-size: 17px; font-weight: 700; color: #ffffff}
.mf-aih small { display: block; font-size: 13.5px; color: var(--ip-text-2); margin-top: 1px}
.mf-aih .ip-pill { margin-inline-start: auto; align-self: flex-start; margin-top: 4px}
.mf-quote { flex: 1; min-height: 0; margin: 12px 0 10px; padding: 11px 13px; overflow-y: auto; border-radius: 10px; border: 1px solid var(--ip-line); background: var(--ip-well); font-size: 14px; line-height: 1.45; color: #e5e5ea}
.mf-quote.flash { animation: flashIn .5s ease}
.mf-hint { display: flex; align-items: center; gap: 10px; width: 100%; margin-bottom: 10px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--accent-line); background: rgba(124, 124, 124, 0.06); color: var(--accent); font-size: 13.5px; text-align: start}
.mf-hint span { flex: 1; color: #e5e5ea}
.mf-hint:hover { background: rgba(124, 124, 124, 0.12)}
.mf-ask { flex: none; display: flex; align-items: center; gap: 2px; height: 46px; padding-block: 0 0; padding-inline: 14px 5px; border-radius: 10px; border: 1px solid #2c2c2e; background: var(--ip-well)}
.mf-ask:focus-within { border-color: var(--accent-line)}
.mf-ask input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 14.5px; color: var(--text)}
.mf-ask input::placeholder { color: #98989d}
.mf-ask button { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; color: #e5e5ea}
.mf-ask button:hover { color: var(--accent); background: #161617}

/* the three cards underneath */
.mf-b { top: 752px; height: 212px; padding: 14px 16px}
.mf-b1 { inset-inline-start: 15px; width: 353px}
.mf-b2 { inset-inline-start: 383px; width: 417px}
.mf-b3 { inset-inline-start: 815px; width: 391px}
.mf-b > h3 { margin-bottom: 12px; font-size: 16.5px}
.mf-b .ip-tile { min-height: 70px}
.mf-b .ip-file { height: 31px}
.ip-item .art { position: relative}
.ip-item .pl { position: absolute; inset-inline-end: 6px; bottom: 6px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(7, 7, 7, 0.72); color: #ffffff; font-style: normal}
.ip-item .art.pipe { color: #38BDF8}
.ip-item.on .art { border-color: var(--accent); outline: 2px solid rgba(0,255,111,.25); outline-offset: 0; box-shadow: none}
.ip-item.full .art { opacity: .55}
.ip-item[draggable="true"] { cursor: grab}
.mf-step { display: flex; align-items: center; gap: 8px; margin-top: 4px}
.mf-step button { width: 24px; height: 22px; border-radius: 6px; border: 1px solid var(--ip-line-2); background: #161617; font-size: 15px; line-height: 1}
.mf-step button:disabled { opacity: .4; cursor: default}
.mf-step b { margin: 0; font-size: 14px; min-width: 14px; text-align: center}
.mf-brief { display: grid; gap: 1px}
.mf-brief button { display: grid; grid-template-columns: 24px 118px 1fr; align-items: center; gap: 8px; height: 30px; padding: 0 8px; border-radius: 8px; font-size: 13.5px; text-align: start; color: #e5e5ea}
.mf-brief button:hover, .mf-brief button.on { background: #1d1d1f}
.mf-brief .bi { color: var(--accent); display: grid; place-items: center}
.mf-brief b { font-weight: 500; white-space: nowrap}
.mf-brief small { font-size: 12.5px; color: var(--ip-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis}
.mf-lib { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px}
.mf-lib button { position: relative; height: 72px; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--ip-line); background: var(--ip-well); display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; text-align: start}
.mf-lib button:hover { border-color: var(--c)}
.mf-lib .li { color: var(--c)}
.mf-lib b { font-size: 12.5px; font-weight: 500; line-height: 1.2; color: #e5e5ea}
.mf-lib i { position: absolute; inset-inline-end: 7px; top: 7px; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #0a0a0b}
.mf-b3 > h3 small { margin-inline-end: auto}
.mf-hbtn { height: 30px; padding: 0 10px; font-size: 12.5px; gap: 6px; text-transform: none}
.mf-rules { display: grid; gap: 3px}
.mf-rules button { display: flex; align-items: center; gap: 10px; height: 24px; padding: 0 6px; border-radius: 6px; font-size: 13.5px; color: #e5e5ea; text-align: start}
.mf-rules button:hover, .mf-rules button.on { background: #1d1d1f}
.mf-rules .rs { flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center}
.mf-rules .ok .rs { background: var(--accent); color: #0a0a0b}
.mf-rules .bad .rs { background: #FF4FA3; color: #ffffff}
.mf-rules .warn .rs { background: var(--warn); color: #0a0a0b}
.mf-plan { max-height: 120px; overflow-y: auto; display: grid; gap: 2px; padding-inline-end: 2px}
.mf-plan button { display: grid; grid-template-columns: 32px 1fr 70px 38px; align-items: center; gap: 10px; height: 30px; padding: 0 4px; border-radius: 8px; font-size: 13.5px; text-align: start; color: #e5e5ea}
.mf-plan button:hover { background: #1d1d1f}
.mf-plan .pa { width: 32px; height: 28px}
.mf-plan .pa svg { width: 100%; height: 100%; display: block}
.mf-plan .progress { height: 4px}
.mf-plan .c { text-align: end; color: #d2d2d7}
.mf-plan .ok .c { color: var(--accent)}
.mf-bud { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--ip-line); font-size: 13px; color: #d2d2d7}
.mf-bud .progress { height: 6px}
.mf-env { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px}
.mf-env button { position: relative; height: 48px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--ip-line); background: var(--ip-well); display: flex; align-items: center; gap: 7px; font-size: 13px; text-align: start; color: #e5e5ea}
.mf-env button:hover { border-color: var(--ip-line-2)}
.mf-env button.on { border-color: var(--accent); background: rgba(124, 124, 124, 0.08)}
.mf-env button.wide { grid-column: span 2}
.mf-env .ic { flex: none; color: var(--warn); display: grid; place-items: center}
.mf-env button.on .ic { color: var(--accent)}
.mf-env b { font-weight: 500; white-space: nowrap}
.mf-env small { font-size: 11.5px; color: var(--ip-text-2); margin-inline-start: 2px; white-space: nowrap}
.mf-env i { position: absolute; inset-inline-end: 5px; top: 4px; min-width: 22px; height: 16px; padding: 0 4px; border-radius: 999px; font-style: normal; font-size: 10.5px; font-weight: 600; display: grid; place-items: center}
.mf-env i.ok { background: rgba(124, 124, 124, 0.16); color: var(--accent)}
.mf-env i.bad { background: rgba(255, 159, 10, 0.16); color: var(--warn)}
.mf-b .ft-run { width: 100%; height: 38px; margin-top: 10px}
.mf-b .ft-score { gap: 14px}
.mf-b .ft-ring { width: 90px; height: 90px}
.mf-b .ft-ring svg { width: 90px; height: 90px}
.mf-b .ft-ring b { top: 24px; font-size: 25px}
.mf-b .ft-ring em { top: 56px; font-size: 10.5px}
.mf-b .ft-parts { gap: 5px}
.mf-b .ft-iss { margin-top: 8px}
.mf-b .ft-iss h4 { margin-bottom: 3px}
.mf-b .ft-iss button { padding: 3px 6px}
.mf-b .e-wait { height: 140px; flex-direction: column; gap: 10px; text-align: center; padding: 0 20px}
.mf-crit { display: grid; gap: 5px}
.mf-crit > div { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #e5e5ea}
.mf-crit .check { width: 20px; height: 20px}
.mf-b .ft-note { margin-top: 10px}
.mf-caps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px}
.mf-caps button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px 8px; border-radius: 10px; border: 1px solid var(--ip-line); background: var(--ip-well); text-align: center}
.mf-caps button:hover { border-color: var(--accent-line)}
.mf-caps .ci { color: var(--accent)}
.mf-caps b { font-size: 12px; font-weight: 500; line-height: 1.25; color: #e5e5ea; min-height: 30px}
.mf-caps .progress { width: 80%; height: 4px}
.mf-caps small { font-size: 11.5px; color: var(--ip-text-2)}
/* Become · Outcome: the left area scrolls instead of the viewer and cards */
.mf-body { position: absolute; inset-inline-start: 15px; top: 178px; width: 860px; bottom: 40px; overflow-y: auto; padding-inline-end: 4px}
.mf-view > .g2d-host.mf-g2d { bottom: 64px; border-bottom: 1px solid var(--ip-line)}
.mf-vhint { position: absolute; inset-inline-start: 490px; inset-inline-end: 16px; bottom: 12px; z-index: 6; height: 40px; display: flex; align-items: center; font-size: 12.5px; line-height: 1.35; color: #c7c7cc}
.ip-tile { grid-template-columns: 26px 1fr; column-gap: 8px}
.ip-tile small { font-size: 13px}
.ip-items::-webkit-scrollbar, .mf-plan::-webkit-scrollbar, .mf-res::-webkit-scrollbar { height: 6px; width: 6px}
.ip-items::-webkit-scrollbar-thumb, .mf-plan::-webkit-scrollbar-thumb, .mf-res::-webkit-scrollbar-thumb { background: #2c2c2e; border-radius: 6px}
.ip-items::-webkit-scrollbar-track { background: transparent}
.mf-b3 .ip-item b, .mf-b2 .ip-item b { white-space: nowrap}
.mf-b3 .ip-item b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.25; height: 32px; font-size: 12.5px}
.mf-b3 .ip-item small { font-size: 11.5px}
.mf-env { grid-template-columns: repeat(3, minmax(0, 1fr))}
.mf-env button { gap: 6px; padding: 0 7px; font-size: 12.5px}
.mf-env b { overflow: hidden; text-overflow: ellipsis}
.mf-env .ic .ico { width: 18px; height: 18px}
/* Become · Outcome inside the workspace */
.mf-body { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; padding-bottom: 6px}
.mf-body > .st-card { position: relative; inset-inline-start: auto; top: auto; width: auto; height: auto; border-radius: var(--ip-r); border: 1px solid var(--ip-line); background: var(--ip-card)}
.mf-body .o-head { grid-column: 1 / -1; height: 66px; gap: 14px}
.mf-body .o-ht h1 { font-size: 22px; font-weight: 700}
.mf-body .o-ver { margin-inline-start: 4px}
.mf-body .o-hb .hb { height: 40px; font-size: 13.5px}
.mf-body .o-hb .btn { height: 40px}
.mf-body .cert { height: 286px}
.mf-body .o-p4 > div { height: auto; min-height: 112px}
.mf-body .o-home, .mf-body .o-ref { background: var(--ip-card)}
.mf-body .o-ref textarea { height: 110px}
.mf-body .o-proof h3, .mf-body .o-port h3, .mf-body .o-can h3, .mf-body .o-skills h3, .mf-body .o-car h3, .mf-body .o-home h3, .mf-body .o-ref h3 { font-size: 16px; font-weight: 600; text-transform: none}
.mf-body::-webkit-scrollbar { width: 6px}
.mf-body::-webkit-scrollbar-thumb { background: #2c2c2e; border-radius: 6px}
/* sidebar card: picture on top, words underneath */
.side-card .sc-img { inset-inline-end: 16px; top: 18px; width: 74px; height: 74px}
.side-card .sc-img svg { width: 74px; height: 74px}
.side-card .sc-t { top: 104px}
.mf-body .o-head { padding: 0 14px}
.mf-body .o-hb .hb { white-space: nowrap}

/* =========================================================
   Home
   ========================================================= */
.home-head { position: absolute; inset-inline-start: 15px; top: 18px}
.home-head h1 { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -.01em; color: #ffffff}
.home-head p { margin: 4px 0 0; font-size: 16px; color: #d2d2d7}
.home-tag { position: absolute; inset-inline-end: 22px; top: 34px; font-size: 15px; letter-spacing: .32em; color: #d2d2d7}
.home-tag i { font-style: normal; color: var(--accent)}
.home .h-hero { inset-inline-start: 15px; top: 92px; width: 1191px; height: 300px; border-color: var(--ip-line)}
.home .h-hero .txt { inset-inline-start: 34px; top: 40px}
.home .kdb { top: 406px; height: 288px; border-color: var(--ip-line)}
.home .kdb img { object-position: left center}
.home .fm { inset-inline-start: 809px; top: 406px; width: 397px; height: 288px; padding: 16px 18px; display: flex; flex-direction: column; text-align: start; border-color: var(--ip-line); background: var(--ip-card); transition: border-color .2s, transform .2s}
.home .fm:hover { border-color: var(--accent-line); transform: translateY(-2px)}
.home .fm-h { display: flex; align-items: flex-start; gap: 12px; width: 100%}
.home .fm-h b { font-size: 17px; font-weight: 600}
.home .fm-h small { font-size: 13px}
.home .fm-img { display: block; height: 96px; margin-top: 12px; border-radius: 10px; border-color: var(--ip-line)}
.home .fm-t { display: block; margin-top: 10px; font-size: 19px !important; font-weight: 700; color: #ffffff}
.home .fm-d { display: block; margin-top: 2px}
.home .fm-p { display: flex; align-items: center; gap: 10px; margin-top: auto}
.home .fm-p .progress { flex: 1; height: 6px}
.home .fm-p small { font-size: 13px; color: #d2d2d7; white-space: nowrap}
.home .fm-next { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; height: 40px; padding: 0 14px; border-radius: 10px; background: var(--accent); color: #0a0a0b; font-size: 14.5px; font-weight: 600}
.home .fm-next > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis}
.home .fields { inset-inline-start: 15px; top: 708px; width: 780px; height: 256px; padding: 16px 20px; border-color: var(--ip-line); background: var(--ip-card)}
.home .fields .section-h { display: flex; justify-content: space-between; align-items: center}
.home .fields-row { gap: 12px}
.home .field-tile { height: 172px; gap: 14px; font-size: 13.5px; background: var(--ip-well); border-color: var(--ip-line)}
.home .ai.ai-home { border-radius: var(--ip-r)}
.home .ai-home .ai-stage { width: 86px; height: 86px; margin-top: 4px}
.home .ai-home .ai-stage svg { width: 64px; height: 64px}
.home .ai-home h4 { margin-top: 6px}
.home .h-hero .txt { top: 30px}
.home .h-hero h1 { font-size: 46px; margin-top: 12px}
.home .h-hero p { margin-top: 14px; font-size: 18px}
.home .h-hero .acts { margin-top: 20px}
.home .h-hero .acts .btn { height: 48px}
.home .fm-img { height: 72px}
.home .fm-d { white-space: nowrap; overflow: hidden; text-overflow: ellipsis}
.home .ai-home .ai-stage { width: 70px; height: 70px; margin-top: 0}
.home .ai-home .ai-stage svg { width: 54px; height: 54px}
.home .ai-home h4 { margin-top: 2px; font-size: 17px}
.home .ai-home .ai-insight { min-height: 36px}
.home .ai-home .ask { margin-top: 6px !important}

/* =========================================================
   Page headers and the Missions page
   ========================================================= */
.pg-head { position: absolute; inset-inline-start: 15px; top: 18px}
.pg-head h1 { margin: 0; font-size: 30px; font-weight: 700; letter-spacing: -.01em; color: #ffffff}
.pg-head p { margin: 4px 0 0; font-size: 16px; color: #d2d2d7}
.pg-menu { position: absolute; inset-inline-end: 20px; top: 24px}
.missions .m-tabs { inset-inline-start: 15px; top: 92px}
.missions .m-tabs .pill-tab { height: 40px; font-size: 14.5px}
.missions .dom-row { inset-inline-start: 15px; top: 146px; width: 1191px; gap: 12px}
.missions .dom { flex: 1; min-width: 0; width: auto; height: 76px; font-size: 13px; border-color: var(--ip-line); background: var(--ip-card)}
.missions .feat-h { inset-inline-start: 15px; top: 238px; inset-inline-end: auto; width: 1191px}
.missions .feat-h .section-h { font-size: 18px}
.missions .feat-row { inset-inline-start: 15px; top: 290px; width: 1191px; height: 466px; display: block; overflow-y: auto}
.mcard.mbig { height: 466px; display: grid; grid-template-columns: 700px 1fr; border-color: var(--ip-line); background: var(--ip-card); cursor: pointer}
.mcard.mbig + .mcard.mbig { margin-top: 12px}
.mcard.mbig:hover { border-color: var(--accent-line)}
.mcard.mbig .mi { height: 100%}
.mcard.mbig .mb { padding: 26px 26px 24px; display: flex; flex-direction: column}
.mcard.mbig .ms-dom { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #d2d2d7}
.mcard.mbig .ms-dom .ico { color: var(--accent)}
.mcard.mbig .mb b { margin-top: 10px; font-size: 30px; font-weight: 700; color: #ffffff}
.mcard.mbig .mb p { height: auto; margin-top: 8px; font-size: 16px; line-height: 1.5}
.mcard.mbig .ms-tags { margin-top: 16px}
.mcard.mbig .ms-tags span { height: 26px; font-size: 12.5px}
.mstats { display: flex; gap: 18px; margin-top: 12px; font-size: 13.5px; color: #e5e5ea}
.mstats span { display: inline-flex; align-items: center; gap: 7px}
.mstats .ico { color: var(--accent)}
.mprog { display: flex; align-items: center; gap: 10px; margin-top: 12px}
.mprog .progress { flex: 1; height: 6px}
.mprog small { font-size: 13px; color: #d2d2d7; white-space: nowrap}
.mgo { display: flex; align-items: center; justify-content: space-between; margin-top: auto; height: 42px; padding: 0 16px; border-radius: 10px; background: var(--accent); color: #0a0a0b; font-size: 15px; font-weight: 600}
.mgo > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis}
.mcard.mbig:hover .mgo { background: #00FF6F}
/* missions as calm tiles: a big picture, the domain, the title and one status line, three across */
.missions .feat-row.tiles { top: 282px; height: 682px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 335px; gap: 12px; align-content: start}
.mcard.mtile { height: 100%; display: flex; flex-direction: column; border-color: var(--ip-line); background: var(--ip-card); cursor: pointer}
.mcard.mtile:hover { border-color: var(--accent-line)}
.mcard.mtile .mi { flex: none; height: 200px}
.mi-prog { position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: rgba(0, 0, 0, 0.45)}
.mi-prog i { display: block; height: 100%; background: var(--accent-fill, var(--accent))}
.mcard.mtile .mi img { object-fit: cover}
.mcard.mtile .mb { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 14px 16px 16px}
.mcard.mtile .ms-dom { font-size: 13px; color: var(--text-2); white-space: nowrap; overflow: hidden}
.mcard.mtile .ms-dom .ico { color: var(--accent)}
.mcard.mtile .mb b { margin-top: 6px; font-size: 20px; font-weight: 700; line-height: 1.25; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis}
.mft { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px}
.mft .md { min-width: 0; font-size: 14px; line-height: 1.4; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden}
.mst { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; color: var(--text-2); white-space: nowrap}
.mst > i { font-style: normal; color: var(--muted)}
.mst .ico { color: var(--muted)}
.mst.ok, .mst.ok .ico { color: var(--accent)}
.mst .progress { width: 84px; height: 5px; flex: none}
.mgo-i { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--text); transition: background .2s, border-color .2s, color .2s}
.mcard.mtile:hover .mgo-i { border-color: var(--accent); background: var(--accent-fill, var(--accent)); color: #0a0a0b}
.missions .feat-h .section-h small { margin-inline-start: 10px; font-size: 14px; font-weight: 400; color: var(--muted)}
.m-kdb { inset-inline-start: 15px; top: 770px; width: 1191px; height: 194px}
.m-kdb3 { display: flex; align-items: stretch; gap: 8px}
.m-kdb3 > i { display: grid; place-items: center; color: #636366}
.m-kdb3 button { position: relative; flex: 1; display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto auto; column-gap: 12px; align-content: start; padding: 14px; border-radius: 10px; border: 1px solid var(--ip-line); background: var(--ip-well); text-align: start; transition: border-color .2s}
.m-kdb3 button:hover { border-color: var(--accent-line)}
.m-kdb3 .n { position: absolute; inset-inline-end: 12px; top: 10px; font-size: 12px; color: #7c7c80}
.m-kdb3 .ki { grid-row: 1 / 4; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(124, 124, 124, 0.1); color: var(--accent)}
.m-kdb3 b { font-size: 17px; font-weight: 700; color: #ffffff}
.m-kdb3 small { font-size: 13px; line-height: 1.35; color: #d2d2d7; margin-top: 2px}
.m-kdb3 em { font-style: normal; font-size: 12px; color: var(--accent); margin-top: 8px}
.m-rew { display: flex; gap: 18px; font-size: 14px; color: #e5e5ea}
.m-rew span { display: inline-flex; align-items: center; gap: 8px}
.m-rew .ico { color: var(--accent)}
.m-rew b { font-weight: 600; color: #ffffff}

/* =========================================================
   Projects
   ========================================================= */
.pg-acts { position: absolute; inset-inline-end: 20px; top: 24px; display: flex; align-items: center; gap: 18px}
.projects .p-tabs { inset-inline-start: 15px; top: 96px; gap: 8px}
.projects .p-tabs .pill-tab { height: 40px; font-size: 14.5px; padding: 0 18px}
.projects .p-filters { inset-inline-end: 20px; top: 96px; gap: 10px}
.projects .p-stats { inset-inline-start: 15px; top: 152px; width: 1191px; gap: 12px}
.projects .pstat { height: 80px; gap: 16px; border-color: var(--ip-line); background: var(--ip-card)}
.projects .pstat b { font-size: 24px}
.projects .pstat small { font-size: 14.5px}
.projects .p-grid { inset-inline-start: 15px; top: 248px; width: 830px; height: 716px}
.projects .p-grid .inner { grid-template-columns: repeat(3, 1fr); gap: 14px}
.projects .pcard2, .projects .newp { border-color: var(--ip-line); background: var(--ip-card)}
.projects .p-list .inner { grid-template-columns: 1fr}
.projects .prow { grid-template-columns: 120px 1.4fr 150px 120px 96px 40px; gap: 14px}
.projects .prow img { width: 120px}
.projects .p-side { inset-inline-start: 859px; top: 248px; width: 347px; bottom: 40px; border-color: var(--ip-line); background: var(--ip-card); border-radius: var(--ip-r)}
.projects .p-side .psi { height: 160px}

/* =========================================================
   Growth Path
   ========================================================= */
/* Growth Path: the path across the top, then two rows of two cards. Everything fits, nothing scrolls. */
.growth .gp-head { inset-inline-start: 15px; top: 14px; width: 1191px; height: 70px}
.growth .gp-head h1 { font-size: 30px; font-weight: 700}
.growth .gp-head p { font-size: 15px}
.growth .gp-season { width: 320px; padding: 8px 14px}
.growth .gp-map, .growth .gp-rd, .growth .gp-car, .growth .gp-nextc, .growth .gp-you { position: absolute; overflow: hidden; border-radius: var(--ip-r); border: 1px solid var(--ip-line); background: var(--ip-card)}
.growth .gp-map { inset-inline-start: 15px; top: 94px; width: 1191px; height: 240px; padding: 14px 18px}
.growth .gp-canvas { width: 1155px; height: 190px; margin-top: 12px; transform: none}
.growth .gp-nextc { inset-inline-start: 15px; top: 348px; width: 797px; height: 300px; padding: 18px 20px}
.growth .gp-you { inset-inline-start: 826px; top: 348px; width: 380px; height: 300px; padding: 22px 22px 20px; display: flex; flex-direction: column; justify-content: space-between}
.growth .gp-rd { inset-inline-start: 15px; top: 662px; width: 797px; height: 302px; grid-template-columns: 280px 1fr 1fr; gap: 24px; padding: 22px 22px}
.growth .gp-rd h3 { font-size: 26px}
.growth .gp-un { height: auto; min-height: 36px; padding: 3px 0; line-height: 1.3}
.growth .gp-un .ico { flex: none}
.growth .gp-car { inset-inline-start: 826px; top: 662px; width: 380px; height: 302px; padding: 18px 16px}
.growth .gp-car .gp-sec-h { padding: 0 4px}
.growth .gp-car-i { margin-top: 10px; padding: 8px 10px}
.growth .gp-car-i small { white-space: normal}

/* =========================================================
   Account settings
   ========================================================= */
.settings .set-head { inset-inline-start: 15px; top: 14px; width: 1191px; height: 70px}
.settings .set-head h1 { font-size: 30px; font-weight: 700}
.settings .set-head p { font-size: 15.5px; margin-top: 4px}
.settings .set-nav { inset-inline-start: 15px; top: 92px; width: 250px; height: 872px; border-radius: var(--ip-r); border-color: var(--ip-line); background: var(--ip-card)}
.settings .set-body { inset-inline-start: 279px; top: 92px; width: 927px; height: 872px}
.settings .set-card { border-radius: var(--ip-r); border-color: var(--ip-line); background: var(--ip-card)}
.settings .av-wrap { grid-template-columns: 320px 1fr}
.settings .set-grid { grid-template-columns: repeat(3, 1fr)}
.settings .set-seg { width: 300px}

/* =========================================================
   AI Mentor
   ========================================================= */
.mentor .mt-head { inset-inline-start: 15px; top: 14px; width: 830px; height: 86px; padding: 16px 18px; border-radius: var(--ip-r); border-color: var(--ip-line); background: var(--ip-card)}
.mentor .mt-head h1 { font-size: 30px; font-weight: 700}
.mentor .mt-head p { margin-top: 6px; font-size: 15.5px}
.mentor .mt-conv { inset-inline-start: 15px; top: 114px; width: 560px; height: 538px; border-radius: var(--ip-r); border-color: var(--ip-line); background: var(--ip-card)}
.mentor .mt-conv-h h3 { font-size: 20px; font-weight: 600}
.mentor .chat { height: 322px}
.mentor .msg .bub { max-width: 440px; font-size: 14.5px}
.mentor .qp { flex-wrap: wrap; gap: 6px}
.mentor .qp button { flex: 1 1 30%; height: 36px; font-size: 13px}
.mentor .mt-cur { inset-inline-start: 589px; top: 114px; width: 256px; height: 538px; border-radius: var(--ip-r); border-color: var(--ip-line); background: var(--ip-card)}
.mentor .mt-cur .ci { height: 150px}
.mentor .mt-tools { inset-inline-start: 15px; top: 666px; width: 830px; height: 298px; border-radius: var(--ip-r); border-color: var(--ip-line); background: var(--ip-card)}
.mentor .mt-tools h3 { font-size: 18px; font-weight: 600}
.mentor .tool { height: 228px}
.mentor .mt-right { inset-inline-start: 859px; top: 14px; width: 347px; height: 950px; overflow-y: auto}
.mentor .mt-prof, .mentor .mt-box { border-radius: var(--ip-r); border-color: var(--ip-line); background: var(--ip-card)}

/* light theme: the iPad card tokens */
[data-theme="light"] { --ip-card: #ffffff; --ip-card-2: #f5f5f7; --ip-well: #f5f5f7; --ip-line: #e5e5ea; --ip-line-2: #d2d2d7; --ip-text-2: #636366}
[data-theme="light"] .side { background: #f5f5f7; border-inline-end-color: #e5e5ea}
[data-theme="light"] .topbar { background: #ffffff; border-bottom-color: #e5e5ea}
[data-theme="light"] .mf-view { background: #e5e5ea}
[data-theme="light"] .ip-seg, [data-theme="light"] .ip-ib, [data-theme="light"] .ip-tgl { background: rgba(255, 255, 255, 0.94)}
[data-theme="light"] .ip-seg button.on { background: #e5e5ea; color: #161617}
[data-theme="light"] .mf-title, [data-theme="light"] .home-head h1, [data-theme="light"] .pg-head h1, [data-theme="light"] .mf-aih b, [data-theme="light"] .mf-hero h2 { color: #161617}

/* v24: greeting in the top bar instead of search; a bigger Home banner */
.tb-greet { min-width: 0}
.tb-greet b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: #ffffff; white-space: nowrap}
.tb-greet small { display: block; margin-top: 3px; font-size: 14px; color: #d2d2d7}
[data-theme="light"] .tb-greet b { color: #161617}
[data-theme="light"] .tb-greet small { color: #545458}
.home .h-hero { top: 14px; height: 386px}
.home .h-hero .txt { inset-inline-start: 40px; top: 58px}
.home .h-hero .eyebrow { font-size: 14px}
.home .h-hero h1 { font-size: 60px; margin-top: 16px}
.home .h-hero p { margin-top: 18px; font-size: 21px}
.home .h-hero .acts { margin-top: 28px}
.home .h-hero .acts .btn { height: 52px; font-size: 16px}
.home .kdb, .home .fm { top: 414px; height: 280px}
.home .fm-img { height: 64px}
/* v90: the banner picture fills the whole banner */
.home .h-hero .img { inset: 0; width: 100%}
.home .h-hero .img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0}
.m-kdb3 button { min-height: 124px; align-content: center}

/* V6-50: the banner greets the learner by name. The longer headline is a little smaller, and in Arabic the poster is
   mirrored so the headline sits beside the builder instead of over his face */
.home .h-hero h1 { font-size: 54px}
[dir="rtl"] .home .h-hero .img img { transform: scaleX(-1)}

/* V6-51: the side menu ends with WAHAJ's promise to families and the app version, above the Screens button */
.side-foot { position: absolute; inset-inline-start: 14px; inset-inline-end: 14px; bottom: 62px}
.side-trust { display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 10px; padding: 14px 12px; border: 1px solid #1d1d1f; border-radius: 14px; background: #0a0a0b}
.side-shield { width: 32px; height: 32px; color: var(--accent)}
.side-trust b { display: flex; flex-direction: column; font-size: 11px; font-weight: 700; line-height: 1.4; letter-spacing: .03em; text-transform: uppercase; color: var(--accent)}
.side-trust p { grid-column: 1 / -1; margin: 0; font-size: 12px; line-height: 1.45; color: #a1a1a6}
.side-app-ver { display: flex; align-items: center; margin-top: 10px; padding: 0 4px; font-size: 11.5px; color: #86868b}
.side-app-ver b { font-weight: 600; color: #d2d2d7}
[data-theme="light"] .side-trust { border-color: #e5e5ea; background: #ffffff}
[data-theme="light"] .side-trust b { color: var(--text)}
[data-theme="light"] .side-trust p { color: #6e6e73}
[data-theme="light"] .side-app-ver b { color: #1d1d1f}
[dir="rtl"] .side-trust b { letter-spacing: 0; font-size: 12px}
/* V6G-14: the header's Back button, on every page that has a page before it */
.tb-back { flex: none; display: flex; align-items: center; gap: 10px; height: 52px; padding-block: 0; padding-inline: 12px 16px; margin-inline-end: 16px; border-radius: 14px; border: 1px solid #2c2c2e; background: #111112; color: #f5f5f7; cursor: pointer; text-align: start; max-width: 260px}
.tb-back:hover { border-color: var(--accent)}
.tb-back .ico { flex: none}
.tb-back span { display: flex; flex-direction: column; min-width: 0}
.tb-back small { font-size: 11.5px; color: #a1a1a6; line-height: 1.2}
.tb-back b { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.25}
[data-theme="light"] .tb-back { background: #fff; border-color: #dbdbdc; color: #1d1d1f}
[data-theme="light"] .tb-back small { color: #6e6e73}
