/* Topic Engine beginner onboarding (PR-1). Styles only for elements added by te-onboard.*.js,
   plus the short beginner sidebar. English line larger; Indian-language line smaller beneath. */
.teob-bi{display:inline-flex;flex-direction:column;align-items:flex-start;text-align:left;line-height:1.25;min-width:0}
.teob-en{font-size:1em;font-weight:inherit}
.teob-in{font-size:max(.8em,12px);font-weight:600;opacity:1;margin-top:2px;line-height:1.5;color:#3F3A36;
  font-family:"Noto Sans Bengali","Noto Sans Devanagari","Nirmala UI","Mangal","Vrinda",system-ui,sans-serif}
/* #3F3A36 on #fdfcf8 (dialog), #fff (cards) and #EEF0FF (selected card) is above 7:1, WCAG AAA for normal text.
   The English line stays larger (1em) and keeps the parent colour / weight. */
.teob-small{font-size:.9em;opacity:.9}
html.teob-lock,html.teob-lock body{overflow:hidden}
.teob-overlay{position:fixed;inset:0;z-index:2147482000;background:rgba(20,16,48,.62);display:flex;align-items:center;justify-content:center;padding:16px;
  font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI","Noto Sans Bengali","Noto Sans Devanagari",sans-serif}
.teob-dialog{background:#fdfcf8;color:#1c1917;border-radius:14px;border-top:4px solid #D6BA73;box-shadow:0 18px 60px rgba(0,0,0,.35);
  width:min(760px,100%);max-height:calc(100vh - 32px);overflow:auto;padding:20px 24px 18px}
.teob-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.teob-steps{font:600 11px/1.4 ui-monospace,Menlo,monospace;letter-spacing:.08em;text-transform:uppercase;color:#8a6d2b}
.teob-title{margin:8px 0 4px;font:700 24px/1.25 Georgia,"Times New Roman",serif;color:#1E1B4B}
.teob-title .teob-in{font-family:"Noto Sans Bengali","Noto Sans Devanagari",system-ui,sans-serif;font-weight:600}
.teob-sub{margin:0 0 6px;font-size:15px;color:#44403C}
.teob-q{margin:14px 0 10px;font-size:18px;font-weight:700;color:#1c1917}
.teob-note{margin:6px 0 10px;font-size:13.5px;color:#57534E}
.teob-grid{display:grid;gap:10px}
.teob-grid3{grid-template-columns:repeat(3,minmax(0,1fr))}
.teob-grid4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:640px){.teob-grid3{grid-template-columns:repeat(2,minmax(0,1fr))}.teob-grid4{grid-template-columns:repeat(2,minmax(0,1fr))}.teob-dialog{padding:16px}.teob-title{font-size:20px}}
.teob-card{display:flex;align-items:center;gap:10px;text-align:left;min-height:64px;padding:12px 14px;border:1.5px solid #E7E5E4;border-radius:10px;background:#fff;
  color:#1c1917;font-size:16px;font-weight:600;cursor:pointer;transition:border-color .12s,box-shadow .12s,transform .12s}
.teob-card:hover{border-color:#D6BA73;box-shadow:0 4px 14px rgba(30,27,75,.10)}
.teob-card:focus-visible,.teob-btn:focus-visible,.teob-link:focus-visible,.teob-sidebtn:focus-visible,.teob-mini:focus-visible{outline:3px solid #0f766e;outline-offset:2px}
.teob-card.teob-on{border-color:#1E1B4B;background:#EEF0FF;box-shadow:inset 0 0 0 1px #1E1B4B}
.teob-grid4 .teob-card{min-height:58px;font-size:14px}
.teob-ico{font-size:22px;flex:0 0 auto;min-width:28px;text-align:center}
.teob-grid4 .teob-ico{font:700 11px/1 ui-monospace,monospace;color:#8a6d2b}
.teob-foot{display:flex;justify-content:space-between;align-items:center;margin-top:18px;gap:10px}
.teob-btn{min-width:120px;padding:10px 18px;border-radius:8px;border:0;background:#1E1B4B;color:#fff;font-size:15px;font-weight:700;cursor:pointer}
.teob-btn[disabled]{opacity:.45;cursor:not-allowed}
.teob-ghost{background:transparent;color:#1E1B4B;border:1.5px solid #c9c4bd}
.teob-link{background:none;border:0;color:#1E1B4B;font-size:14px;font-weight:600;cursor:pointer;text-decoration:underline;text-underline-offset:3px;padding:4px}
/* checklist */
.teob-check{position:fixed;right:18px;bottom:92px;z-index:2147480000;width:min(320px,calc(100vw - 36px));background:#fff;color:#1c1917;border:1px solid #E7E5E4;
  border-top:3px solid #0f766e;border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.18);font:14px/1.45 ui-sans-serif,system-ui,"Segoe UI","Noto Sans Bengali","Noto Sans Devanagari",sans-serif}
.teob-chead{display:flex;align-items:center;gap:6px;padding:8px 8px 8px 12px}
.teob-ctitle{flex:1;display:flex;align-items:center;justify-content:space-between;gap:8px;background:none;border:0;padding:2px 0;text-align:left;font-weight:700;font-size:15px;color:#1E1B4B;cursor:pointer}
.teob-count{font:700 12px/1 ui-monospace,monospace;color:#0f766e;background:#E3F2F0;padding:4px 7px;border-radius:99px}
.teob-x{background:none;border:0;font-size:20px;line-height:1;color:#78716C;cursor:pointer;padding:2px 6px}
.teob-list{list-style:none;margin:0;padding:0 12px 6px}
.teob-list li{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:7px 0;border-top:1px solid #F0EEEA}
.teob-tick{width:20px;height:20px;border-radius:50%;border:2px solid #c9c4bd;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;color:#fff;flex:0 0 auto}
.teob-done .teob-tick{background:#0f766e;border-color:#0f766e}
.teob-done .teob-en{text-decoration:line-through;text-decoration-color:rgba(0,0,0,.3)}
.teob-list li>.teob-bi{flex:1;min-width:140px}
.teob-mini{margin-left:28px;padding:6px 10px;border-radius:7px;border:1px solid #0f766e;background:#E3F2F0;color:#055E56;font-size:13px;font-weight:700;cursor:pointer}
.teob-check .teob-note{margin:0 12px 8px;font-size:12.5px}
.teob-congrats{margin:4px 12px 12px;padding:10px;border-radius:8px;background:#FFF8E6;border:1px solid #F1D99A;display:flex;flex-wrap:wrap;gap:4px;font-weight:600}
.teob-min .teob-chead{padding-bottom:8px}
@media (max-width:640px){.teob-check{right:10px;left:10px;width:auto;bottom:84px}}
/* fix1: docked checklist. Open card on first view, then a small pill; JS sets "bottom" so it sits
   above the Token capsule, and the page gets the same room at the bottom so nothing stays covered. */
.teob-cico{font-size:15px;line-height:1;flex:0 0 auto}
.teob-ctitle>.teob-bi{flex:1}
.teob-check.teob-pill{width:auto;max-width:calc(100vw - 36px);border-radius:999px;border-top-width:1px;border-color:#9FD3CB;box-shadow:0 6px 18px rgba(0,0,0,.16)}
.teob-check.teob-pill .teob-chead{padding:4px 4px 4px 12px}
.teob-check.teob-pill .teob-ctitle{font-size:13.5px;gap:8px}
.teob-check.teob-pill .teob-in{display:none}
.teob-check.teob-pill .teob-x{font-size:17px;padding:2px 8px}
@media (max-width:640px){.teob-check.teob-pill{left:auto;right:10px}}
html.teob-cl-pad body{padding-bottom:var(--teob-cl-room,120px)}
/* beginner sidebar: show only the rows this script marks with data-teob-keep */
nav.te-side[data-teob-compact]>:not([data-teob-keep]){display:none!important}
nav.te-side[data-teob-compact]{display:flex;flex-direction:column}
nav.te-side[data-teob-compact]>[data-teob-keep="0"]{order:0}
nav.te-side[data-teob-compact]>[data-teob-keep="1"]{order:1}
nav.te-side[data-teob-compact]>[data-teob-keep="2"]{order:2}
nav.te-side[data-teob-compact]>[data-teob-keep="3"]{order:3}
nav.te-side[data-teob-compact]>[data-teob-keep="4"]{order:4}
nav.te-side[data-teob-compact]>[data-teob-keep="5"]{order:5}
nav.te-side[data-teob-compact]>[data-teob-keep="6"]{order:6}
nav.te-side[data-teob-compact]>[data-teob-keep="-1"]{order:5}
/* fix1: in the short list "Studio · Today" is a normal row (the full list draws it as the last row of
   the Studio group box: tinted, bordered, with a 9.5px subtitle, which looked dim and cramped). */
nav.te-side[data-teob-compact]>.te-nav-row[data-studio]{background:none!important;border:0!important;border-radius:0!important;margin:0 0 0 2px!important;padding:0!important}
nav.te-side[data-teob-compact]>.te-nav-row[data-studio]>.te-nav{color:#B0A8C8}
nav.te-side[data-teob-compact]>.te-nav-row[data-studio]>.te-nav>span:not(.te-nav-ico):not(.te-nav-cost)>span[style]{display:none!important}
.teob-row .teob-nav{display:flex;align-items:center;gap:10px;width:100%;background:transparent;border:0;color:#B0A8C8;font-weight:500;cursor:pointer;text-align:left}
.teob-row .teob-nav .teob-in{color:#D8D3EC;opacity:1}
.teob-side{padding:10px 12px 14px;display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.teob-sidebtn{width:100%;display:flex;align-items:center;justify-content:space-between;padding:9px 12px;border-radius:8px;border:1px dashed #6E66A0;background:rgba(214,186,115,.08);
  color:#F3E7C4;font-size:13.5px;font-weight:700;cursor:pointer;text-align:left}
.teob-side .teob-setup{color:#B0A8C8;font-size:12.5px;font-weight:500}
/* My work: explain counters without adding nodes to the app's own tree */
.te-stat[data-teob-note]::after{content:attr(data-teob-note);display:block;white-space:pre-line;margin-top:6px;font-size:11.5px;line-height:1.45;color:#78716C;
  font-family:ui-sans-serif,system-ui,"Noto Sans Bengali","Noto Sans Devanagari",sans-serif}
.teob-btn .teob-bi,.teob-mini .teob-bi{align-items:center;text-align:center}
/* Solid navy buttons: the smaller line must be light, not the dialog's dark #3F3A36. */
.teob-btn:not(.teob-ghost) .teob-in{color:#F3EFE6;opacity:1;font-weight:600}
.teob-head .teob-link .teob-bi{align-items:flex-end;text-align:right}

/* welcome-2: suggested language (not pre-selected) and the early loading veil */
.teob-sug{display:inline-block;margin-top:5px;font:600 10.5px/1.3 ui-sans-serif,system-ui,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:#5C4A1F;background:#F6F0DC;border-radius:99px;padding:2px 7px}
.teob-veil{z-index:2147482100;background:rgba(20,16,48,.72)}
.teob-veil-msg{background:#fdfcf8;color:#1c1917;padding:18px 26px;border-radius:12px;border-top:4px solid #D6BA73;box-shadow:0 12px 40px rgba(0,0,0,.3);max-width:min(360px,calc(100vw - 32px))}
.teob-veil-msg .teob-in{color:#3F3A36;opacity:1;font-weight:600}
