/* Calm, legible workspace typography. Marketing pages keep their own type system. */
body.ws-mode, body.ops-user:has(#tab-account:not([hidden])) {
  --ink: #203449;
  --text: #485a6c;
  --muted: #68798a;
  --line: #e3e9ef;
  --accent: #2374b5;
  --accent-soft: #edf5fc;
  font-family: var(--sans); /* Be Vietnam Pro, the Pstay type (D-106) */
  line-height: 1.5;
  background: #f8fafb;
}
body.ops-user #accountView :is(h1,h2,h3,b,strong) { letter-spacing: -.01em; }
body.ops-user #accountView :is(button,input,select,textarea) { font-family: var(--sans); }
body.ops-user #accountView .m-title h1 { font-size: 28px; font-weight: 650; line-height: 1.25; margin: 0; }
body.ops-user #accountView .ws-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 24px; }
.ws-page-heading p { margin: 7px 0 0; color: var(--muted); font-size: 14px; }
body.ops-user #accountView .ws-page-heading .btn { padding: 10px 16px; min-height: 42px; border-radius: 10px; font-size: 14px; font-weight: 600; box-shadow: 0 2px 4px #193e5610; }
body.ops-user #accountView .m-resume { background: #f0f6fb; border: 1px solid #dae8f3; border-radius: 10px; margin: 0 0 24px; }
body.ops-user #accountView .m-resume #mResume { padding: 12px 16px; display: flex; align-items: center; gap: 12px; min-width: 0; }
body.ops-user #accountView .m-resume b { font-size: 14px; font-weight: 600; }
body.ops-user #accountView .m-resume small { font-size: 13px; margin: 0; }
body.ops-user #accountView .m-building { border-radius: 12px; padding: 18px; border-color: var(--line); box-shadow: 0 2px 6px #20344904; transition: border-color .18s, box-shadow .18s; }
body.ops-user #accountView .m-building:hover { border-color: #aacde8; box-shadow: 0 5px 18px #2034490a; }
body.ops-user #accountView .m-building:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
body.ops-user #accountView .m-thumb { width: 72px; height: 72px; border-radius: 10px; background-color: #eaf2f8; background-image: none; color: #4980a6; }
body.ops-user #accountView .m-thumb small { background: #dfeaf3; color: #43627c; font-size: 10px; font-weight: 500; }
body.ops-user #accountView .m-binfo { min-width: 0; }
body.ops-user #accountView .m-binfo > b { font-size: 16px; font-weight: 600; line-height: 1.4; }
body.ops-user #accountView .m-binfo > .muted { font-size: 13px; margin-top: 4px; white-space: normal; line-height: 1.45; }
body.ops-user #accountView .m-bmeta { margin-top: 8px; font-weight: 500; gap: 8px; }
body.ops-user #accountView .m-bmeta em { padding: 2px 8px; font-size: 11px; font-weight: 500; border-radius: 5px; }
body.ops-user #accountView .m-bmeta em.full { background: #f0f3f6; }
body.ops-user #accountView .m-add { border-radius: 10px; border-width: 1px; font-size: 14px; }
body.ops-user #accountView .m-sec h2 { font-size: 20px; font-weight: 600; }
body.ops-user #accountView .m-todo { border-radius: 10px; padding: 14px; }
body.ops-user #accountView .m-todo b { font-weight: 550; font-size: 14px; }
body.ops-user #accountView .m-revenue { border-radius: 14px; background: #eaf3fa; color: var(--ink); border: 1px solid #d8e7f2; box-shadow: none; }
body.ops-user #accountView .m-revenue strong { font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
body.ops-user #accountView .m-revenue :is(small,.m-sub) { color: var(--muted); }
body.ops-user #accountView .m-stats a { border-radius: 12px; box-shadow: none; }
body.ops-user #accountView .ops-btn { border-radius: 7px; }
body.ops-user #accountView .ops-item { border-color: var(--line); }
body.ops-user #accountView .ob-card h2 { font-weight: 600; }
@media (min-width: 768px) {
  body.ws-mode { --header-h: 72px; }
  body.ws-mode .topbar-inner { max-width: none; padding-inline: 28px; }
  body.ws-mode .brand-mark { width: 42px; height: 42px; }
  body.ws-mode .brand-text { font-size: 30px; }
  body.ws-mode .tabs a { font-size: 14px; font-weight: 500; }
  body.ws-mode #accountTab { display: inline-flex; align-items: center; gap: 9px; }
  body.ws-mode .tb-avatar { background: #e6f0f8; color: var(--accent-dark); font-size: 13px; }
  body.ws-mode #tab-account .account-wrap { max-width: 1440px; padding: var(--header-h) 28px 40px 0; }
  body.ws-mode .ws { grid-template-columns: 232px minmax(0,1fr); gap: 40px; }
  body.ws-mode .ws-side { top: var(--header-h); padding: 24px 16px; min-height: calc(100vh - var(--header-h)); background: #fff; border-right: 1px solid var(--line); }
  body.ws-mode .ws-main { padding-top: 32px; }
  body.ws-mode .ws-nav a { font-size: 14px; font-weight: 450; padding: 10px 12px; border-radius: 8px; gap: 10px; }
  body.ws-mode .ws-nav a.active { font-weight: 600; background: #eaf3fc; }
  body.ws-mode .ws-nav a .ic { width: 18px; height: 18px; }
  body.ws-mode .ws-group { margin: 24px 12px 8px; font-size: 10px; letter-spacing: .08em; font-weight: 600; color: #788797; }
  body.ws-mode .ws-building-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  body.ws-mode .ws-building-list .m-empty { grid-column: 1 / -1; }
  body.ws-mode .ws-main .ob-wizard { border-radius: 12px; }
  body.ws-mode .ws-main .m-home { column-gap: 24px; }
}
@media (min-width: 768px) and (max-width: 1050px) {
  body.ws-mode .ws { grid-template-columns: 208px minmax(0,1fr); gap: 24px; }
  body.ws-mode .ws-building-list { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 767px) {
  body.ops-user #accountView .m-title h1 { font-size: 22px; }
  body.ops-user #accountView .ws-page-heading { gap: 10px; margin-bottom: 18px; }
  body.ops-user #accountView .ws-page-heading .btn { padding: 10px; font-size: 12px; min-height: 44px; }
  body.ops-user #accountView .ws-page-heading .btn .ic { width: 16px; height: 16px; }
  body.ops-user #accountView .m-resume #mResume { display: block; }
  body.ops-user #accountView .m-resume small { margin-top: 3px; }
  body.ops-user #accountView .m-building { padding: 12px; border-radius: 10px; box-shadow: none; }
  body.ops-user #accountView .m-thumb { width: 60px; height: 64px; }
  body.ops-user #accountView .m-binfo > b { font-size: 15px; }
  body.ops-user #accountView .m-binfo > .muted { font-size: 12px; }
  body.ops-user #accountView .m-bmeta { margin-top: 6px; }
}
@media (max-width: 767px) {
  body.ops-user #accountView > .m-page { background: transparent; }
  body.ops-user .mobile-dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
  body.ops-user .mobile-dock a span { font-size: 10px; font-weight: 500; line-height: 1.1; }
  body.ops-user .mobile-dock a .ic { width: 21px; height: 21px; }
}
