/* Account-level information lives alongside the mounted role workspace. */
body[data-view="about"] :is(#portal-frame, #frame-loading, #frame-error, #welcome-panel) { display: none !important; }
body:is([data-view="assets"], [data-view="about"]) #workspace { display: block; min-height: 0; overflow: auto; }
.about-view { width: min(1120px, 100%); margin: 0 auto; padding: 34px 28px 24px; color: var(--ui-ink, #302a3a); }
.about-hero { position: relative; overflow: hidden; padding: 44px; border-radius: 24px; color: #fff; background: radial-gradient(ellipse at 100% 0, #795584, transparent 70%), linear-gradient(115deg, #452540, #282137); }
.about-kicker { display: block; margin: 0 0 9px; font-size: 15px; font-weight: 650; letter-spacing: .06em; color: var(--ui-muted, #74697e); }
.about-hero .about-kicker { color: #edcee5; letter-spacing: .12em; }
.about-hero h1 { position: relative; z-index: 1; margin: 0 0 20px; font-size: clamp(30px, 4vw, 46px); line-height: 1.3; letter-spacing: -.03em; color: #fff; }
.about-hero > p:last-of-type { position: relative; z-index: 1; max-width: 680px; margin: 0; font-size: 17px; line-height: 1.9; color: #f3e9f4; }
.about-hero-mark { position: absolute; right: 42px; bottom: -42px; font-size: 240px; font-weight: 750; line-height: 1; color: #ffffff0a; transform: rotate(-12deg); }
.about-nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--ui-line, #e7dfed); }
.about-nav a { padding: 8px 15px; border-radius: 10px; color: var(--ui-muted, #74697e); font-size: 15px; font-weight: 650; text-decoration: none; }
.about-nav a:hover { background: #fff; color: var(--ui-accent-deep, #452540); }
.about-section { padding-top: 38px; scroll-margin-top: 22px; }
.about-section-heading { margin-bottom: 20px; }
.about-section-heading h2 { margin: 0; font-size: clamp(23px, 2.6vw, 28px); line-height: 1.45; }
.about-section-heading > p { margin: 9px 0 0; color: var(--ui-muted, #74697e); font-size: 17px; }
.about-story { padding: 26px 30px; border: 1px solid var(--ui-line, #e7dfed); border-radius: 20px; background: #fff; }
.about-story p { margin: 0 0 16px; font-size: 17px; line-height: 1.9; }
.about-principles { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
.about-principles span { padding: 7px 14px; border-radius: 9px; background: #f5f0f7; color: #69435f; font-size: 15px; font-weight: 650; }
.about-grid { display: grid; gap: 16px; }
.about-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.about-join-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.about-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 27px; border: 1px solid var(--ui-line, #e7dfed); border-radius: 20px; background: #fff; box-shadow: 0 4px 18px #35274a05; }
.about-card-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 12px; background: #f4ecf5; color: #704663; font-size: 21px; font-weight: 700; }
.about-card-icon.is-customer { background: #edf3ff; color: #3165a4; }
.about-card-icon.is-worker { background: #e9f5ef; color: #267452; }
.about-card-icon.is-assessor { background: #f3edfc; color: #7c519c; }
.about-card h3, .about-team h3, .about-legal h3 { margin: 0; font-size: 19px; line-height: 1.5; }
.about-card p { margin: 12px 0 22px; color: var(--ui-muted, #74697e); font-size: 17px; line-height: 1.85; }
.about-action { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; margin-top: auto; padding: 9px 15px; border: 1px solid var(--ui-line, #e7dfed); border-radius: 10px; background: #faf7fc; color: var(--ui-accent-deep, #452540); font: inherit; font-size: 15px; font-weight: 650; text-decoration: none; }
.about-action:hover { border-color: #bba3c0; background: #f3ecf7; }
.about-status { margin: 12px 0 0; color: var(--ui-muted, #74697e); font-size: 15px; }
.about-status:empty { display: none; }
.about-team { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 16px; padding: 24px 27px; border: 1px solid #e2d4e6; border-radius: 18px; background: #f4eef8; }
.about-team p, .about-legal p { margin: 7px 0 0; color: var(--ui-muted, #74697e); font-size: 15px; line-height: 1.8; }
.about-team .about-action { flex-shrink: 0; margin: 0; background: #fff; }
.about-faq { overflow: hidden; border: 1px solid var(--ui-line, #e7dfed); border-radius: 18px; background: #fff; }
.about-faq details + details { border-top: 1px solid var(--ui-line, #e7dfed); }
.about-faq summary { padding: 20px 26px; cursor: pointer; font-size: 17px; font-weight: 650; }
.about-faq summary::marker { color: #967ba0; }
.about-faq details > p { margin: 0; padding: 0 26px 22px; color: var(--ui-muted, #74697e); font-size: 17px; line-height: 1.85; }
.about-legal { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 4px; }
.about-legal-links { display: flex; flex-wrap: wrap; gap: 22px; }
.about-legal-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ui-accent-deep, #452540); font-size: 15px; font-weight: 650; text-underline-offset: 4px; }
.about-footer { margin-top: 12px; padding: 22px 0 6px; border-top: 1px solid var(--ui-line, #e7dfed); color: var(--ui-muted, #74697e); font-size: 15px; text-align: center; }
@media (max-width: 700px) {
  body[data-role] .workspace-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body[data-role] .workspace-tab { min-width: 0; padding-inline: 7px; }
  .about-view { padding: 20px 14px 24px; }
  .about-hero { padding: 29px 24px; border-radius: 18px; }
  .about-hero h1 { margin-bottom: 16px; }
  .about-hero-mark { right: 10px; font-size: 190px; }
  .about-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .about-nav a { text-align: center; padding-inline: 6px; }
  .about-section { padding-top: 30px; }
  .about-contact-grid, .about-join-grid { grid-template-columns: 1fr; }
  .about-card, .about-story { padding: 23px; border-radius: 16px; }
  .about-team, .about-legal { flex-direction: column; align-items: flex-start; gap: 16px; }
  .about-team { padding: 23px; }
  .about-faq summary { padding: 18px 22px; }
  .about-faq details > p { padding: 0 22px 20px; }
}
