/* Sign-off round: account screens. Loaded after styles.css. */

/* ---------- shared bits (design language) ---------- */
.so-card { background: #FFFFFF; border: 1px solid #ECE6DF; border-radius: 20px; }
.so-h2 { font-size: 20px; font-weight: 700; margin: 0; }
.so-card-h { font-size: 16px; font-weight: 700; margin: 0; }
.so-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: #6E655D; padding: 0 4px; margin: 0; }
[dir="rtl"] .so-eyebrow { letter-spacing: 0; }
.so-lede { font-size: 15.5px; line-height: 1.45; color: #4A433D; margin: 0; }
.so-head-sub { font-size: 13.5px; color: #6E655D; margin: 0; }
.ux-head .h-24 { margin: 0; line-height: 1.2; }
.so-big-btn { height: 52px; border-radius: 16px; font-size: 16px; width: 100%; }
.so-mini-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 12px; border: 1.5px solid #D9D1C8; background: #FFFFFF; color: #221D19; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.so-mini-btn:hover { color: #221D19; background: #F5F3F0; }
.so-seg { background: #EFEAE4; border-radius: 14px; padding: 4px; }
.so-seg a, .so-seg button { height: 42px; border-radius: 11px; font-size: 14.5px; font-weight: 600; color: #4A433D; }
.so-seg a.on, .so-seg button.on { font-weight: 700; color: #221D19; background: #FFFFFF; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }

/* Rows inside a white card: 56px, 8px 14px, hairline between. */
.so-slist { display: flex; flex-direction: column; }
.so-srow { min-height: 56px; padding: 8px 14px; display: flex; align-items: center; gap: 12px; text-decoration: none; color: #221D19; background: none; border: 0; border-top: 1px solid #F0ECE7; font: inherit; text-align: start; width: 100%; cursor: pointer; }
.so-slist > .so-srow:first-child { border-top: 0; }
.so-srow:hover { color: #221D19; }
.so-srow > .i:last-child { color: #8A8178; flex: none; }
.so-sl { display: block; font-weight: 600; font-size: 15.5px; }
.so-sl.strong { font-weight: 700; }
.so-ss { display: block; font-size: 13px; color: #6E655D; margin-top: 1px; }
.so-sv { font-size: 14.5px; color: #6E655D; flex: none; max-width: 60%; text-align: end; }
.so-srow.danger-text, .so-srow.danger-text:hover { color: #B42318; }
.so-srow.so-toggle { cursor: pointer; }
.so-srow.so-radio input { width: 20px; height: 20px; accent-color: var(--accent); margin: 0; flex: none; }
.so-srow.so-radio:has(input:checked) { background: #FCE9DD; }
.so-sfoot { font-size: 13px; color: #8A8178; text-align: center; margin: 0; }
.so-sfoot a { color: #8A8178; }

/* Lesson rows inside one card (You, Person past lessons). */
.so-lrows { overflow: hidden; }
.so-lrow { display: flex; align-items: center; gap: 8px; padding-inline-end: 14px; }
.so-lrow + .so-lrow { border-top: 1px solid #F0ECE7; }
.so-lrow-main { flex: 1; min-width: 0; min-height: 66px; padding: 10px 14px; padding-inline-end: 0; display: flex; align-items: center; gap: 12px; text-decoration: none; color: #221D19; }
.so-lrow-main:hover { color: #221D19; }
.so-lt { display: block; font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.so-lm { display: block; font-size: 13.5px; color: #6E655D; margin-top: 2px; }
.so-row-btn { height: 38px; padding: 0 12px; font-size: 14px; flex: none; }
.so-dt { width: 46px; height: 50px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; }
.so-dt .w { font-size: 11px; font-weight: 800; line-height: 1.2; }
.so-dt .n { font-size: 18px; font-weight: 800; line-height: 1.05; }
.so-dt.teach { background: #FCE9DD; color: #A33A0E; }
.so-dt.go { background: #DDF2EA; color: #0D5340; }
.so-dt.past { background: #F0ECE7; color: #6E655D; }
.so-dt.draft { background: #ECE6FA; color: #5232A3; }
.so-dt.big { width: 52px; height: 58px; border-radius: 14px; }
.so-dt.big .w { font-size: 11.5px; }
.so-dt.big .n { font-size: 21px; }

/* ---------- You ---------- */
.so-you .lesson-main { padding-top: 10px; gap: 16px; }
.so-you .ux-me .display.h-22 { font-size: 22px; }
.so-you .ux-plan .strong { font-size: 14.5px; }
.so-links.ux-rows { padding: 0; overflow: hidden; border-radius: 20px; }
.so-links .ux-row { min-height: 60px; padding: 8px 14px; }
.so-links .ux-row strong { font-size: 15.5px; }
.so-links .ux-row .small { font-size: 13px; }
.so-glyph { font-size: 17px; font-weight: 800; line-height: 1; font-family: Figtree, 'IBM Plex Sans Arabic', sans-serif; }
.so-glyph.yellow { background: #FBEFD0; color: #744F00; }
.so-glyph.grey { background: #ECE6DF; color: #4A433D; }
.so-glyph.orange { background: #FCE9DD; color: #A33A0E; }

/* ---------- Person ---------- */
.so-person .profile-top { padding: 12px 16px 8px; }
.so-pmain { padding: 6px 16px 32px; display: flex; flex-direction: column; gap: 16px; }
.so-phead { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.so-pname { font-size: 26px; margin: 0; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; line-height: 1.2; }
.so-pname svg { flex: none; }
.so-pbio { font-size: 15px; color: #4A433D; max-width: 300px; line-height: 1.45; margin: 0; }
.so-pmeta { font-size: 14px; color: #6E655D; margin: 0; }
.so-pmeta b { color: #221D19; font-weight: 700; }
.so-plink { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.so-pbtns { display: flex; gap: 8px; }
.so-pbtn { flex: 1; height: 50px; border-radius: 16px; font-size: 16px; padding: 0 12px; }
.so-pbtns .btn-secondary { border-color: #D9D1C8; }
.so-prow { padding: 14px; border-radius: 20px; display: flex; gap: 12px; align-items: center; text-decoration: none; color: #221D19; }
.so-prow:hover { color: #221D19; }
.so-prow .so-lt { font-size: 16px; }
.so-pfoot { font-size: 13px; color: #6E655D; text-align: center; margin: 0; line-height: 1.45; }

/* ---------- Settings ---------- */
.so-settings .lesson-main { padding-top: 10px; gap: 18px; }

/* ---------- Edit profile ---------- */
.so-edit-head { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; padding: 12px 16px 8px; }
.so-edit-cancel { height: 44px; padding: 0 8px; display: flex; align-items: center; justify-self: start; font-weight: 600; font-size: 16px; color: #4A433D; text-decoration: none; }
.so-edit-cancel:hover { color: #221D19; }
.so-edit-title { text-align: center; font-weight: 800; font-size: 17px; margin: 0; font-family: inherit; letter-spacing: 0; }
.so-edit-save { justify-self: end; height: 44px; padding: 0 16px; border-radius: 22px; border: 0; background: #CC4A14; color: #FFFFFF; font: inherit; font-weight: 700; font-size: 15.5px; cursor: pointer; }
.so-edit-save:hover { background: var(--accent-hover); }
.so-edit-main { padding: 12px 16px 32px; display: flex; flex-direction: column; gap: 16px; }
.so-photo { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.so-photo-btn { height: 40px; padding: 0 14px; border-radius: 12px; border: 0; background: #FFFFFF; font: inherit; font-weight: 700; font-size: 14.5px; color: #A33A0E; cursor: pointer; }
.so-photo-btn.plain { background: transparent; color: #6E655D; font-weight: 600; }
.so-field { display: flex; flex-direction: column; gap: 6px; }
.so-field.gap-8 { gap: 8px; }
.so-flabel { font-weight: 700; font-size: 15px; margin: 0; color: #221D19; }
.so-field .input { height: 52px; border: 1.5px solid #D9D1C8; border-radius: 14px; padding: 0 14px; font-size: 16px; background: #FFFFFF; }
.so-field .input.so-ta, .so-ta { height: auto; padding: 12px 14px; line-height: 1.45; resize: none; }
.so-fhint { font-size: 13px; color: #6E655D; margin: 0; line-height: 1.45; }
.so-fhint.end { text-align: end; }
.so-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.so-topic { height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid #D9D1C8; background: #FFFFFF; font: inherit; font-weight: 600; font-size: 14.5px; color: #4A433D; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.so-topic.on { background: #221D19; border-color: #221D19; color: #FFFFFF; font-weight: 700; }
.so-topic.on span { opacity: 0.7; }
.so-topic.add { border-style: dashed; background: transparent; }

/* ---------- Plans ---------- */
.so-plans-main { padding-top: 6px; }
.so-plans-h { font-size: 30px; line-height: 1.1; margin: 0; letter-spacing: -0.015em; }
[dir="rtl"] .so-plans-h { letter-spacing: 0; }
.so-plans-lede { font-size: 16px; color: #4A433D; margin: 8px 0 0; line-height: 1.4; }
.so-plans .period-tabs { background: #EFEAE4; border-radius: 14px; }
.so-plans .period-tabs button { height: 44px; border-radius: 11px; font-weight: 600; color: #4A433D; }
.so-plans .period-tabs button.on { font-weight: 700; color: #221D19; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.so-plans .plan-grid { display: flex; flex-direction: column; gap: 14px; }
.so-plan { background: #FFFFFF; border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 12px; border: 1px solid #ECE6DF; }
.so-plan.pro { border: 2px solid #CC4A14; }
.so-plan.inst.picked { border: 2px solid #1E3A5F; }
.so-plan-head { display: flex; align-items: center; gap: 12px; }
.so-plan-mark { width: 44px; height: 44px; flex: none; display: flex; }
.so-plan-name { font-size: 22px; margin: 0; line-height: 1.2; }
.so-plan-who { font-size: 14px; color: #6E655D; margin: 0; }
.so-plan-pill { padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; background: #F0ECE7; color: #4A433D; flex: none; white-space: nowrap; }
.so-plan-pill.pick { background: #FCE9DD; color: #A33A0E; }
.so-plan-pill.ok { background: #DDF2EA; color: #0D5340; }
.so-price { font-size: 15px; color: #4A433D; margin: 0; }
.so-price b { font-size: 24px; color: #221D19; font-weight: 800; }
.so-items { display: flex; flex-direction: column; gap: 8px; }
.so-items li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; }
.so-tick { width: 20px; height: 20px; border-radius: 10px; background: #8A8178; color: #FFFFFF; display: flex; align-items: center; justify-content: center; flex: none; margin-top: 1px; }
.so-plan.pro .so-tick { background: #CC4A14; }
.so-plan.inst .so-tick { background: #1E3A5F; }
.so-plan-cta { height: 52px; border-radius: 16px; border: 0; font: inherit; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer; width: 100%; }
.so-plan-cta.pro { background: #CC4A14; color: #FFFFFF; }
.so-plan-cta.inst { background: #1E3A5F; color: #FFFFFF; }
.so-plan-cta.current { background: #F0ECE7; color: #6E655D; cursor: default; }
.so-plan-cta:disabled { opacity: 0.55; cursor: default; }
.so-plans .plan-checkout { border-top: 1px solid #F0ECE7; padding-top: 12px; }

/* ---------- Studio and dashboards ---------- */
.so-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.so-tile { background: #FFFFFF; border: 1px solid #ECE6DF; border-radius: 18px; padding: 14px; min-width: 0; }
.so-tile p { margin: 0; }
.so-tile-l { font-size: 13.5px; font-weight: 600; color: #6E655D; line-height: 1.3; }
.so-tile-n { font-size: 28px; font-weight: 800; margin-top: 2px !important; line-height: 1.15; overflow-wrap: anywhere; }
.so-tile-d { font-size: 12.5px; font-weight: 700; color: #6E655D; }
.so-tile-d.up { color: #0D5340; }
.so-tile-s { font-size: 12.5px; color: #6E655D; margin-top: 2px !important; }
.so-funnel { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.so-bar-row { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.so-bar-l { font-weight: 600; }
.so-bar-row strong { font-weight: 800; }
.so-bar { height: 10px; border-radius: 5px; background: #F0ECE7; overflow: hidden; }
.so-bar span { display: block; height: 10px; border-radius: 5px; background: #CC4A14; }
.so-blist { overflow: hidden; }
.so-brow { min-height: 64px; padding: 10px 14px; display: flex; align-items: center; gap: 12px; }
.so-brow + .so-brow { border-top: 1px solid #F0ECE7; }
.so-brow > a { text-decoration: none; color: #221D19; }
.so-brow > a:hover { color: #221D19; }
.so-brow .so-lt { font-size: 15px; }
.so-brow .so-lm { font-size: 13px; margin-top: 0; }
.so-row-end { font-weight: 800; font-size: 15px; flex: none; white-space: nowrap; }
.so-row-end .i { color: #CC4A14; }
.so-ent { background: #E4EBF3; border-radius: 20px; padding: 14px; display: flex; gap: 12px; align-items: center; text-decoration: none; color: #1E3A5F; }
.so-ent:hover { color: #1E3A5F; }
.so-ent svg { flex: none; }
.so-ent p { margin: 0; font-size: 14px; line-height: 1.4; color: #1E3A5F; }
.so-ent-link { font-weight: 700; font-size: 14px; text-decoration: underline; white-space: nowrap; }
.so-studio .lesson-main, .so-owner .lesson-main, .so-small .lesson-main { padding-top: 8px; }

/* Owner */
.so-task { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.so-task-ic { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; font-weight: 800; background: #DDF2EA; color: #0D5340; }
.so-task-ic.warn { background: #FDE4E1; color: #B42318; }
.so-task-h { font-weight: 700; font-size: 15.5px; margin: 0; overflow-wrap: anywhere; }
.so-task-d { font-size: 13.5px; color: #6E655D; margin: 0; }
.so-task-btns { display: flex; gap: 8px; }
.so-task-b { flex: 1; height: 44px; border-radius: 12px; border: 1.5px solid #D9D1C8; background: #FFFFFF; font: inherit; font-weight: 700; font-size: 14.5px; color: #221D19; display: flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer; }
.so-task-b.dark { background: #221D19; border-color: #221D19; color: #FFFFFF; }
.so-task-b.dark:hover { color: #FFFFFF; }
.so-mtiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.so-mtile { background: #FFFFFF; border: 1px solid #ECE6DF; border-radius: 16px; padding: 12px 8px; text-align: center; display: flex; flex-direction: column; min-width: 0; }
.so-mtile strong { font-size: 22px; font-weight: 800; }
.so-mtile span { font-size: 12.5px; font-weight: 600; color: #6E655D; }
.so-owner .member-row { padding: 14px; border-radius: 20px; }
.so-owner .chip-btn, .so-small .chip-btn { height: 40px; border-radius: 12px; font-weight: 700; color: #221D19; border-color: #D9D1C8; }
.so-owner .chip-btn.danger, .so-small .chip-btn.danger { color: #B42318; border-color: #F1C9C3; }

/* Small screens with no design of their own */
.so-small .member-main { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #221D19; }
.so-small .tabs.four button { font-size: 13px; }
.so-prose { padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.so-prose section + section { border-top: 1px solid #F0ECE7; padding-top: 14px; }
.so-small fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.so-small legend { margin-bottom: 8px; }

/* ---------- Your year (dark story) ---------- */
.so-yy { background: #221D19; color: #FFFFFF; padding: 12px 16px 34px; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.so-yy-bars { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; }
.so-yy-bars span { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.25); }
.so-yy-bars span.on { background: #FFFFFF; }
.so-yy-top { display: flex; align-items: center; margin-top: 8px; }
.so-yy-top p { margin: 0; font-weight: 700; font-size: 15px; color: #E6DFD7; }
.so-yy-close { width: 44px; height: 44px; border-radius: 22px; background: rgba(255, 255, 255, 0.12); color: #FFFFFF; display: flex; align-items: center; justify-content: center; flex: none; }
.so-yy-close:hover { color: #FFFFFF; }
.so-yy-card { flex: 1; border: 0; background: transparent; color: inherit; font: inherit; text-align: start; padding: 0; display: flex; flex-direction: column; justify-content: center; gap: 14px; cursor: pointer; min-height: 0; }
.so-yy-k { font-size: 17px; font-weight: 700; }
.so-yy-big { font-family: var(--display); font-size: 96px; font-weight: 800; line-height: 0.95; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.so-yy-big.word { font-size: 64px; line-height: 1; }
[dir="rtl"] .so-yy-big { letter-spacing: 0; }
.so-yy-line { font-family: var(--display); font-size: 28px; font-weight: 700; line-height: 1.15; }
.so-yy-sub { font-size: 16px; color: #E6DFD7; line-height: 1.5; display: flex; align-items: center; gap: 8px; }
.so-yy-btns { display: flex; gap: 10px; }
.so-yy-back, .so-yy-share { height: 54px; border-radius: 16px; font: inherit; font-weight: 700; font-size: 16px; color: #FFFFFF; display: flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer; }
.so-yy-back { flex: 1; border: 1.5px solid rgba(255, 255, 255, 0.3); background: transparent; }
.so-yy-share { flex: 2; border: 0; background: #CC4A14; }
.so-yy-back:hover, .so-yy-share:hover { color: #FFFFFF; }
/* Enterprise: the company (club on the Enterprise plan) under the person's name */
.pf-company { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 4px 12px 4px 6px; border-radius: 999px; background: #E4EBF3; color: #1E3A5F; font-size: 14px; font-weight: 700; }
/* Email codes: the 6-digit code box (sign-up and changing your email) */
.so-code-input { font-size: 24px; font-weight: 700; letter-spacing: 0.35em; text-align: center; font-variant-numeric: tabular-nums; }
.so-code-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.so-code-box { padding: 14px; border-radius: 14px; background: var(--field); }
/* Gender and birth year once set: shown, not editable */
.so-locked { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px; background: var(--field); color: var(--ink-2, #4A433D); font-weight: 600; }
