/* Cover-led learning profile, scoped to personal account. Real data, existing routes. */
html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="ho-so"] {
  .profile-stage { display:grid;grid-template-columns:minmax(0,1fr);align-items:start;min-width:0;min-height:36rem; }
  .profile-stage>:is(.profile-skeleton,.profile-grid,.profile-gate) { grid-area:1/1;min-width:0; }
  .profile-stage>[hidden] { display:none!important; }
  .profile-skeleton { display:grid;grid-template-columns:minmax(300px,.75fr) minmax(0,1.5fr);gap:20px;align-items:stretch;visibility:hidden; }
  .profile-stage[data-profile-load="loading"]>.profile-skeleton { visibility:visible; }
  .profile-stage:not([data-profile-load="loading"]) .mt-skeleton-group::after { animation:none; }
  .profile-skeleton-hero { grid-column:1/-1;overflow:hidden;border:1px solid var(--mt-line);border-radius:12px;background:var(--mt-card); }
  .profile-skeleton-cover { width:100%;height:184px;border-radius:0; }
  .profile-skeleton-person { display:flex;flex-direction:column;align-items:center;gap:10px;padding:0 24px 18px; }
  .profile-skeleton-avatar { box-sizing:border-box;width:112px;height:112px;flex:none;margin-top:-56px;border:5px solid var(--mt-card); }
  .profile-skeleton-name { width:180px;max-width:80%;height:30px; }
  .profile-skeleton-handle { width:120px;max-width:60%;height:18px; }
  .profile-skeleton-role { width:80px;height:26px; }
  .profile-skeleton-stats { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:0 24px;padding:18px 16px 20px;border-top:1px solid var(--mt-line); }
  .profile-skeleton-stats>span { height:62px; }
  .profile-skeleton-nav { display:flex;justify-content:center;gap:24px;overflow:hidden;min-height:84px;padding:24px;box-sizing:border-box;border-top:1px solid var(--mt-line); }
  .profile-skeleton-nav>span { flex:0 1 160px;height:20px; }
  .profile-skeleton-pane { display:grid;align-content:start;gap:24px;padding:24px;min-width:0;min-height:360px;border:1px solid var(--mt-line);border-radius:12px;background:var(--mt-card); }
  .profile-skeleton-pane>.mt-skeleton-line { width:40%;height:24px; }
  .profile-skeleton-intro>.mt-skeleton-block { height:76px; }
  .profile-skeleton-fields { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 24px;min-width:0; }
  .profile-skeleton-fields>.mt-skeleton-line { height:36px; }
  .profile-skeleton-main .profile-skeleton-fields { grid-template-columns:minmax(0,1fr);gap:16px; }
  .profile-skeleton-main .mt-skeleton-block { height:70px; }
  &[data-profile-layout]:not([data-profile-layout="personal"]) .profile-skeleton { grid-template-columns:minmax(0,1fr); }
  &[data-profile-layout]:not([data-profile-layout="personal"]) .profile-skeleton-intro { display:none; }
  .profile-summary-note { margin:12px 0 0;font-size:13px;line-height:20px;color:var(--mt-muted);text-align:center; }
  .profile-grid { display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:start; }
  .profile-grid[data-profile-current="personal"] { grid-template-columns:minmax(300px,.75fr) minmax(0,1.5fr);align-items:stretch; }
  .profile-grid[data-profile-current="personal"]>.profile-stack { align-self:stretch; }
  .profile-nav-band { box-sizing:border-box;position:relative;isolation:isolate;width:100%;min-width:0;margin-top:0;padding:8px 16px 24px;overflow:hidden;border-top:1px solid var(--mt-line);background:var(--mt-card); }
  .profile-nav-waves { position:absolute;inset:auto 0 0;z-index:-1;width:100%;height:24px;color:var(--mt-primary);pointer-events:none; }
  .profile-nav { box-sizing:border-box;grid-column:1/-1;display:flex;flex-direction:row;flex-wrap:nowrap;width:fit-content;max-width:100%;min-width:0;gap:4px;padding:0 8px;margin:0 auto;overflow-x:auto;scrollbar-width:thin;scrollbar-color:var(--mt-muted) transparent;border:0!important;border-radius:0!important;background:transparent;box-shadow:none!important; }
  .profile-nav a { box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:10px;flex:0 0 auto;min-height:52px;padding:12px 16px;margin:0;border:0;border-bottom:2px solid transparent!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--mt-muted)!important;font-size:15px;line-height:24px;font-weight:500;text-transform:none;white-space:nowrap; }
  .profile-nav a:is(.is-active,.active,[aria-current="page"]) { border-bottom-color:var(--mt-primary)!important;background:transparent!important;color:var(--mt-primary)!important; }
  .profile-nav a:focus-visible { outline:2px solid var(--mt-primary);outline-offset:-2px; }
  .profile-nav a::before { content:none!important;display:none!important; }
  .profile-nav a.is-danger { margin-left:0;color:var(--bs-danger)!important; }
  .profile-nav svg { display:block;flex:0 0 22px;width:22px;height:22px; }
  .profile-side { box-sizing:border-box;display:block!important;position:static;width:100%;min-width:0;grid-column:1/-1;overflow:hidden;border:1px solid var(--mt-line);border-radius:12px;background:var(--mt-card); }
  .profile-stack { display:flex;flex-direction:column;gap:24px;min-width:0; }
  .activity-zone { container-type:inline-size; }
  #activityTimeline { display:grid;grid-template-columns:minmax(0,1fr);gap:16px;padding:24px; }
  #activityTimeline>.portal-empty { grid-column:1/-1; }
  .activity-row { display:grid;grid-template-columns:40px minmax(0,1fr);align-items:start;gap:14px;min-width:0;min-height:0;padding:20px;border:1px solid var(--mt-line);border-radius:10px;background:var(--mt-card);color:var(--mt-ink);text-decoration:none;box-shadow:none;transition:border-color 150ms,background-color 150ms; }
  .activity-row:hover { border-color:var(--mt-primary);background:var(--mt-soft); }
  .activity-row:focus-visible { outline:2px solid var(--mt-primary);outline-offset:3px; }
  .activity-icon { display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:var(--mt-soft);color:var(--mt-primary); }
  .activity-icon svg { display:block;width:24px;height:24px; }
  .activity-main { display:flex;flex-direction:column;min-width:0;height:100%; }
  .activity-main b { display:block;font-size:15px;line-height:24px;font-weight:600;color:var(--mt-ink);white-space:normal;overflow-wrap:anywhere; }
  .activity-main small { display:block;margin-top:6px;font-size:13px;line-height:20px;color:var(--mt-muted); }
  .activity-meta { display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:auto;padding-top:16px; }
  .activity-status { padding:3px 8px;border-radius:6px;background:var(--mt-soft);color:var(--mt-primary);font-size:12px;line-height:20px;font-weight:500; }
  .activity-row.is-done .activity-status { background:color-mix(in srgb,var(--mt-stat-positive) 12%,transparent);color:var(--mt-stat-positive); }
  .activity-score { font-size:14px;line-height:22px;font-weight:600;color:var(--mt-ink); }
  .activity-action { display:inline-flex;align-items:center;gap:4px;margin-left:auto;color:var(--mt-primary);font-size:13px;line-height:22px;font-weight:500; }
  .activity-action svg { width:16px;height:16px; }
  .profile-stack>.card { border:1px solid var(--mt-line)!important;border-radius:12px;box-shadow:none!important;overflow:hidden; }
  .profile-identity { display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:0;margin:0;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;text-align:center; }
  .profile-cover { grid-column:1;grid-row:1;height:184px!important;width:100%;margin:0;inset:auto;position:relative;isolation:isolate;background-size:cover;background-position:center; }
  .profile-cover:not(.has-image) { background-image:url('/assets/img/math-journey-banner.webp')!important; }
  .profile-cover::before { content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#10294799,transparent 75%); }
  .profile-cover-copy { position:relative;text-align:left;padding:28px 32px;max-width:70%;pointer-events:none; }
  .profile-cover-copy h2 { color:#fff!important;font-size:24px!important;line-height:32px!important;margin:0 0 8px; }
  .profile-cover-copy p { color:#fff!important;margin:0;overflow-wrap:anywhere; }
  .profile-cover-status { position:absolute;bottom:16px;left:24px;z-index:3;background:var(--mt-card);color:var(--mt-ink);padding:8px 12px;border-radius:6px;max-width:calc(100% - 48px); }
  .profile-cover-edit { top:24px!important;right:24px!important;min-height:40px!important;padding:10px 16px!important;display:inline-flex;align-items:center;gap:10px;font-size:14px;z-index:3;border-radius:6px!important; }
  .profile-person { grid-column:1;grid-row:2;display:flex;flex-direction:column;align-items:center;gap:10px;padding:0 24px 18px;position:relative;min-width:0; }
  .profile-avatar-wrap { display:grid;place-items:center;position:relative;width:112px;height:112px;flex:0 0 auto;margin:-56px auto 0;z-index:2; }
  :is(.profile-avatar-img,.profile-big-avatar) { box-sizing:border-box;width:112px;height:112px;margin:0;border-radius:50%;border:5px solid var(--mt-card);outline:2px solid var(--mt-primary);object-fit:cover;box-shadow:none; }
  .profile-big-avatar { display:grid;place-items:center;font-size:32px;font-weight:500;background:var(--mt-soft);color:var(--mt-primary); }
  :is(.profile-avatar-img,.profile-big-avatar)[hidden] { display:none!important; }
  .profile-camera { position:absolute;inset:auto -4px -2px auto;display:grid;place-items:center;box-sizing:border-box;width:34px;height:34px;min-width:34px;min-height:34px;padding:6px;border:3px solid var(--mt-card);border-radius:50%!important;background:var(--mt-primary);color:#fff;box-shadow:none; }
  .profile-camera svg { width:16px;height:16px; }
  .profile-person-details { display:grid;grid-template-columns:minmax(0,1fr) fit-content(50%) minmax(0,1fr);align-items:center;gap:24px;width:100%;max-width:100%; }
  .profile-edit-action { position:static;width:max-content;max-width:100%;white-space:normal;display:inline-flex!important;align-items:center;justify-content:center;gap:8px!important;padding:8px 16px!important;min-height:38px!important;height:38px;border:1px solid color-mix(in srgb,var(--mt-primary) 28%,var(--mt-line))!important;border-radius:8px!important;background:var(--mt-soft)!important;color:var(--mt-primary)!important;font:500 14px/20px var(--mt-font);text-decoration:none;transition:background-color 150ms,border-color 150ms,color 150ms; }
  .profile-edit-action:hover { border-color:var(--mt-primary)!important;background:color-mix(in srgb,var(--mt-primary) 16%,var(--mt-card))!important;color:var(--mt-primary)!important; }
  .profile-edit-action svg { flex:0 0 18px;width:18px;height:18px; }
  .profile-person-copy { grid-column:2;min-width:0;text-align:center; }
  .profile-person-details>.profile-edit-action { grid-column:3;justify-self:end; }
  .profile-identity h2 { font-size:22px!important;line-height:30px!important;font-weight:600;margin:0 0 4px;overflow-wrap:anywhere; }
  .profile-identity p { font-size:14px;line-height:22px;color:var(--mt-muted);margin:0 0 8px; }
  .profile-role { display:inline-flex;align-items:center;margin:0;padding:3px 12px;border:1px solid color-mix(in srgb,var(--mt-primary) 22%,transparent);background:var(--mt-soft);color:var(--mt-primary);border-radius:999px;font-size:12px;line-height:20px;font-weight:500; }
  .profile-photo-actions { justify-content:center;flex-direction:column;gap:10px;padding:16px 0 0; }
  .profile-photo-actions small { color:var(--mt-muted);font-size:12px;line-height:18px; }
  .profile-summary { grid-column:1;grid-row:3;padding:0 24px 20px;min-width:0;width:100%;box-sizing:border-box; }
  .profile-stats { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;width:100%;max-width:none;margin:0;padding:18px 0 0;border:0;border-top:1px solid var(--mt-line); }
  .profile-stats .stat { display:grid;grid-template-columns:44px minmax(0,max-content);grid-template-rows:28px auto;justify-content:center;align-content:center;align-items:center;column-gap:14px;row-gap:2px;min-width:0;min-height:62px;padding:6px 16px;border:0;border-inline-start:1px solid var(--mt-line);background:transparent;box-shadow:none;text-align:left; }
  .profile-stats .stat:first-child { border-inline-start:0; }
  .profile-stats .stat b { grid-column:2;grid-row:1;font-size:20px;line-height:26px;font-weight:700;color:var(--mt-ink);white-space:nowrap; }
  .profile-stats svg { grid-column:1;grid-row:1/3;box-sizing:border-box;flex:none;width:44px;height:44px;padding:10px;margin:0;border-radius:10px;background:color-mix(in srgb,var(--mt-primary) 13%,var(--mt-card));color:var(--mt-primary); }
  .profile-stats .is-average svg { background:color-mix(in srgb,var(--mt-stat-accent,#7c3aed) 13%,var(--mt-card));color:var(--mt-stat-accent,#7c3aed); }
  .profile-stats .is-time svg { background:color-mix(in srgb,var(--mt-stat-warning,#ea580c) 13%,var(--mt-card));color:var(--mt-stat-warning,#ea580c); }
  .profile-stats .is-streak svg { background:color-mix(in srgb,var(--mt-stat-positive,#16a34a) 13%,var(--mt-card));color:var(--mt-stat-positive,#16a34a); }
  .profile-stats .stat span { grid-column:2;grid-row:2;margin-top:0;color:var(--mt-muted);font-size:13px;line-height:18px;font-weight:500; }
  .profile-meta { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0;margin:0;border:0;background:transparent;text-align:left; }
  .profile-meta div { display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:12px 14px;border:1px solid var(--mt-line);border-radius:10px;background:var(--mt-canvas);min-width:0; }
  .profile-meta span { color:var(--mt-muted);font-size:12px;line-height:18px;font-weight:500; }
  .profile-meta b { font-size:14px;line-height:22px;font-weight:600;color:var(--mt-ink);overflow-wrap:anywhere; }
  :is(.profile-stack,.profile-intro) .card-header { min-height:74px;padding:18px 24px!important;border-bottom:1px solid var(--mt-line);box-sizing:border-box; }
  .profile-stack .card-header h2 { font-size:18px;line-height:26px;font-weight:600;margin:0; }
  .profile-stack .card-header p { margin:4px 0 0;color:var(--mt-muted);font-size:14px;line-height:20px; }
  :is(.profile-stack,.profile-intro) .card-body { padding:24px!important; }
  .profile-intro { display:flex;min-width:0; }
  :is(.profile-intro,.profile-journey)[hidden] { display:none!important; }
  .profile-intro .card { flex:1;min-width:0;border:1px solid var(--mt-line)!important;border-radius:12px!important;box-shadow:none!important; }
  .profile-overview>.card-header { display:flex;align-items:center;justify-content:space-between;gap:16px; }
  .profile-overview>.card-header h2 { margin:0;font-size:18px;line-height:26px;font-weight:600; }
  .profile-overview-edit { display:inline-flex;align-items:center;gap:6px;flex-shrink:0;min-height:34px;padding:6px 12px;border:1px solid color-mix(in srgb,var(--mt-primary) 24%,transparent);border-radius:8px;background:var(--mt-soft);color:var(--mt-primary);font-size:13px;line-height:18px;font-weight:500;text-decoration:none;transition:background-color 150ms,border-color 150ms; }
  .profile-overview-edit:hover { border-color:var(--mt-primary);background:color-mix(in srgb,var(--mt-primary) 15%,var(--mt-card)); }
  .profile-overview-edit svg { width:16px;height:16px; }
  .profile-overview>.card-body { display:grid;align-content:start;gap:16px; }
  .profile-bio { display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid color-mix(in srgb,var(--mt-primary) 18%,var(--mt-line));border-radius:10px;background:color-mix(in srgb,var(--mt-primary) 6%,var(--mt-card)); }
  .profile-bio>svg { flex:0 0 34px;width:34px;height:34px;padding:7px;margin:0;border-radius:8px;background:var(--mt-card);color:var(--mt-primary);box-sizing:border-box; }
  .profile-bio #profileOverviewBio { margin:0;font-size:14px;line-height:22px;color:var(--mt-ink); }
  .profile-nav a { flex:0 0 auto;min-height:52px; }
  .profile-overview-details { margin-bottom:0!important; }
  &[data-profile-layout="edit"] .portal-top { width:100%!important;max-width:none!important;margin-inline:0!important; }
  .profile-grid[data-profile-current="edit"] { width:100%;max-width:none;margin-inline:0;grid-template-columns:minmax(0,1fr); }
  .profile-grid[data-profile-current="edit"] .profile-stack { grid-column:1/-1;width:100%;max-width:none;justify-self:stretch; }
  .profile-edit-heading { display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 24px!important; }
  #profileForm { display:grid;gap:24px;padding:24px!important; }
  .profile-form-section { display:grid;gap:20px; }
  .profile-form-section h3 { margin:0;font-size:16px;line-height:24px;font-weight:600;color:var(--mt-ink); }
  .profile-form-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px; }
  #profileForm .profile-field { margin:0;display:grid;gap:10px; }
  #profileForm .profile-field>span { font:500 14px/20px var(--mt-font);color:var(--mt-ink); }
  #profileForm .interest-chips { display:flex;flex-wrap:wrap;gap:10px;margin:0; }
  #profileForm .interest-chips label { display:inline-flex!important;align-items:center;gap:8px;min-height:38px;margin:0!important;padding:7px 14px!important;border:1px solid var(--mt-line);border-radius:8px;background:var(--mt-card);color:var(--mt-ink);font:500 14px/20px var(--mt-font);cursor:pointer;user-select:none;transition:border-color 150ms,background-color 150ms,color 150ms; }
  #profileForm .interest-chips label .form-check-input { float:none!important;margin:0!important; }
  #profileForm .interest-chips label:hover { border-color:var(--mt-primary);background:var(--mt-soft); }
  #profileForm .interest-chips label:has(input:checked) { border-color:var(--mt-primary);background:var(--mt-soft);color:var(--mt-primary); }
  #profileForm :is(.profile-activity-setting,.profile-photo-actions) { display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 20px;border:1px solid var(--mt-line);border-radius:10px;background:var(--mt-canvas);margin:0; }
  #profileForm .profile-activity-setting p { margin:4px 0 0;color:var(--mt-muted);font-size:13px;line-height:20px; }
  #profileForm .profile-photo-actions { flex-direction:row;text-align:left; }
  #profileForm .profile-photo-actions small { display:block;margin-top:4px; }
  #profileForm .profile-photo-buttons { display:flex;align-items:center;flex-wrap:wrap;gap:10px; }
  #profileForm .profile-actions,#passwordForm .profile-actions { display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;padding-top:20px;border-top:1px solid var(--mt-line);margin:0; }
  #profileForm .profile-actions [role="status"] { margin-right:auto;color:var(--mt-muted);font-size:13px; }
  #passwordForm { display:grid;gap:20px;padding:24px!important; }
  .danger-zone>.profile-form-grid { padding:24px 24px 0!important; }
  .danger-zone>.profile-actions { display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin:20px 24px 24px!important;padding:20px 0 0!important;border-top:1px solid var(--mt-line); }
  #sessionList { display:grid;gap:12px;padding:24px!important;margin:0; }
  .session-row { display:flex;align-items:center;gap:14px;padding:16px 18px!important;border:1px solid var(--mt-line);border-radius:10px;background:var(--mt-card);transition:border-color 150ms,background-color 150ms; }
  .session-row.is-current { border-color:color-mix(in srgb,var(--mt-primary) 35%,var(--mt-line));background:color-mix(in srgb,var(--mt-primary) 4%,var(--mt-card)); }
  .session-main b { font-size:15px;line-height:22px;font-weight:600;color:var(--mt-ink); }
  .session-main small { color:var(--mt-muted);font-size:13px;line-height:20px; }
  .session-badge { padding:4px 10px;border-radius:999px;background:var(--mt-soft);color:var(--mt-primary);font:500 12px/18px var(--mt-font); }
  .profile-journey { container-type:inline-size;display:flex;flex-direction:column;flex:1; }
  .profile-journey>.card-header { border-bottom:1px solid var(--mt-line); }
  .profile-learning-actions { display:grid;grid-template-columns:minmax(0,1fr);gap:16px;flex:1;align-content:start; }
  .profile-learning-actions>a { --profile-action-color:var(--mt-primary);display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:12px 16px;min-height:0;padding:20px;border:1px solid var(--mt-line);border-top:3px solid var(--profile-action-color);border-radius:12px;background:var(--mt-card);text-decoration:none;color:var(--mt-ink);min-width:0;transition:border-color 150ms,background-color 150ms; }
  .profile-learning-actions>a:nth-child(2) { --profile-action-color:var(--mt-stat-accent); }
  .profile-learning-actions>a:nth-child(3) { --profile-action-color:var(--mt-stat-positive); }
  .profile-learning-actions>a:hover { border-color:var(--profile-action-color);background:color-mix(in srgb,var(--profile-action-color) 6%,var(--mt-card)); }
  .profile-learning-actions>a:focus-visible { outline:2px solid var(--mt-primary);outline-offset:3px; }
  .profile-learning-actions>a>span:nth-child(2) { min-width:0; }
  .profile-learning-actions b { display:block;font-size:16px;line-height:24px;font-weight:600; }
  .profile-learning-actions small { display:block;margin-top:4px;color:var(--mt-muted);font-size:13px;line-height:20px; }
  .profile-learning-icon { display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:color-mix(in srgb,var(--profile-action-color) 12%,transparent);color:var(--profile-action-color); }
  .profile-learning-icon svg { display:block;width:28px;height:28px; }
  .profile-learning-cta { grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--profile-action-color);font-size:14px;line-height:20px;font-weight:600; }
  .profile-learning-cta svg { width:18px;height:18px; }
  .profile-overview p { margin:0;white-space:pre-wrap;overflow-wrap:anywhere; }
  .profile-overview-details { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding-top:16px;border-top:1px solid var(--mt-line); }
  .profile-overview-details div { display:flex;flex-direction:column;gap:4px;padding:12px 14px;border:1px solid var(--mt-line);border-radius:10px;background:var(--mt-canvas);min-width:0; }
  .profile-overview-details dt { color:var(--mt-muted);font-size:12px;line-height:18px;font-weight:500;margin:0; }
  .profile-overview-details dd { margin:0;font-size:14px;line-height:22px;font-weight:600;color:var(--mt-ink);overflow-wrap:anywhere; }
  .session-ico { box-sizing:border-box;display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:8px;background:var(--mt-soft);color:var(--mt-primary); }
  .session-ico-macos,.session-ico-iphone,.session-ico-ipad { background:color-mix(in srgb,var(--mt-ink) 8%,var(--mt-card));color:var(--mt-ink); }
  .session-ico-linux { background:color-mix(in srgb,var(--mt-stat-warning) 14%,var(--mt-card));color:var(--mt-stat-warning); }
  .session-ico-android { background:color-mix(in srgb,var(--mt-stat-positive) 14%,var(--mt-card));color:var(--mt-stat-positive); }
  .session-ico-other { background:color-mix(in srgb,var(--mt-muted) 12%,var(--mt-card));color:var(--mt-muted); }
  .session-platform-icon { display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round; }
}
@media(hover:hover) and (pointer:fine) {
  html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="ho-so"] .profile-nav a:not(.is-active):not([aria-current="page"]):hover { background:var(--mt-soft)!important;color:var(--mt-ink)!important; }
}
@container(min-width:1000px) {
  html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="ho-so"] #activityTimeline { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@container(min-width:1800px) {
  html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="ho-so"] #activityTimeline { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@container(min-width:1000px) {
  html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="ho-so"] {
    .profile-learning-actions { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .profile-learning-actions>a { grid-template-columns:minmax(0,1fr);grid-template-rows:44px 1fr auto;align-items:start;gap:16px;min-height:196px;padding:20px; }
    .profile-learning-cta { grid-column:1;width:100%;padding-top:14px;border-top:1px solid var(--mt-line); }
  }
}
@media(forced-colors:active) {
  html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="ho-so"] .profile-nav { scrollbar-color:auto; }
}
@media(max-width:1199px) {
  html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="ho-so"] .profile-grid[data-profile-current="personal"] { grid-template-columns:minmax(0,1fr); }
  html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="ho-so"] .profile-skeleton { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:800px) {
  html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="ho-so"] {
    .profile-person-details { grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px; }
    .profile-person-copy { grid-column:1; }
    .profile-person-details>.profile-edit-action { grid-column:1;justify-self:center; }
    .profile-edit-action { position:static;max-width:100%; }
    .profile-stats .stat { grid-template-columns:minmax(0,1fr);grid-template-rows:44px 28px auto;text-align:center;justify-items:center;gap:6px;padding-inline:8px; }
    .profile-stats svg { grid-column:1;grid-row:1; }
    .profile-stats .stat b { grid-column:1;grid-row:2; }
    .profile-stats .stat span { grid-column:1;grid-row:3; }
  }
}
@media(max-width:600px) {
  html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="ho-so"] {
    .profile-skeleton-cover { height:152px; }
    .profile-skeleton-stats { grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-inline:20px;padding-inline:0; }
    .profile-skeleton-stats>span { height:72px; }
    .profile-skeleton-nav { justify-content:flex-start;gap:20px;min-height:52px;padding:16px; }
    .profile-skeleton-nav>span { flex:0 0 100px; }
    .profile-skeleton-pane { padding:20px;min-height:320px; }
    .profile-skeleton-fields { grid-template-columns:minmax(0,1fr);gap:20px; }
    .profile-nav-band { padding:0;border-bottom:1px solid var(--mt-line); }
    .profile-nav-waves { display:none; }
    .profile-nav { width:100%;max-width:none;justify-content:flex-start;gap:4px;margin:0;padding:0 12px 5px;scroll-padding-inline:12px;scrollbar-color:color-mix(in srgb,var(--mt-primary) 42%,transparent) transparent;-webkit-overflow-scrolling:touch; }
    .profile-nav::-webkit-scrollbar { height:3px; }
    .profile-nav::-webkit-scrollbar-track { background:transparent; }
    .profile-nav::-webkit-scrollbar-thumb { border-radius:3px;background:color-mix(in srgb,var(--mt-primary) 42%,transparent); }
    .profile-nav a { min-height:46px;gap:8px;padding:10px 12px 8px;font-size:14px;line-height:20px; }
    .profile-nav a:is(.is-active,.active,[aria-current="page"]) { border-bottom-width:3px!important; }
    .profile-nav svg { flex-basis:18px;width:18px;height:18px; }
    .profile-nav a.is-danger { margin-left:0; }
    .profile-stack .card-header,.profile-stack .card-body { padding:20px; }
    .profile-form-grid,.profile-overview-details { grid-template-columns:minmax(0,1fr); }
    .profile-cover { height:152px!important; }
    #activityTimeline { padding:16px;gap:12px; }
    .activity-row { grid-template-columns:32px minmax(0,1fr);padding:14px;gap:10px; }
    .activity-icon { width:32px;height:32px;border-radius:8px; }
    .activity-icon svg { width:20px;height:20px; }
    .activity-meta { gap:8px;padding-top:12px; }
    .profile-cover-copy { padding:20px;max-width:100%;padding-right:64px; }
    .profile-cover-copy h2 { font-size:18px!important;line-height:24px!important; }
    .profile-cover-copy p { display:none; }
    .profile-cover-edit span { display:none; }
    .profile-cover-edit { top:16px!important;right:16px!important;padding:10px!important; }
    .profile-identity { grid-template-columns:minmax(0,1fr); }
    .profile-person { grid-column:1;grid-row:2; }
    .profile-edit-action { position:static;max-width:100%; }
    .profile-summary { grid-column:1;grid-row:3;padding:0 20px 20px; }
    .profile-stats { grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 0; }
    .profile-stats .stat { grid-template-columns:44px minmax(0,max-content);grid-template-rows:44px auto;align-content:start;text-align:center;justify-items:center;column-gap:10px;row-gap:8px;padding:0 6px; }
    .profile-stats .stat:nth-child(3) { border-inline-start:0; }
    .profile-stats svg { grid-column:1;grid-row:1; }
    .profile-stats .stat b { grid-column:2;grid-row:1; }
    .profile-stats .stat span { grid-column:1/-1;grid-row:2; }
    .profile-meta { grid-template-columns:minmax(0,1fr); }
    .profile-learning-actions>a { grid-template-columns:32px minmax(0,1fr);gap:10px 12px;padding:16px; }
    .profile-learning-icon { width:32px;height:32px; }
    .profile-learning-icon svg { width:24px;height:24px; }
    .profile-learning-cta svg { width:16px;height:16px; }
    .profile-edit-heading { flex-wrap:wrap;padding:20px!important; }
    #profileForm,#passwordForm,#sessionList { padding:20px!important;gap:20px; }
    #profileForm .profile-form-grid { grid-template-columns:minmax(0,1fr); }
    #profileForm .profile-photo-actions { flex-wrap:wrap; }
    .danger-zone>.profile-form-grid { padding:20px 20px 0!important; }
    .danger-zone>.profile-actions { margin:16px 20px 20px!important;padding-top:16px!important; }
  }
}
@media(forced-colors:active) {
  html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="ho-so"] .profile-nav { scrollbar-color:auto; }
  html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="ho-so"] .profile-nav::-webkit-scrollbar-thumb { background:CanvasText; }
}

html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="ho-so"] .profile-image-viewer .profile-image-viewer-close {
  position:fixed;top:18px;right:20px;display:grid;place-items:center;
  width:40px;height:40px;min-width:40px;margin:0;padding:0;
  border:0;border-radius:6px;background:transparent;color:#fff;box-shadow:none;
  cursor:pointer;transition:background-color 160ms cubic-bezier(.4,0,.2,1);
}
html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="ho-so"] .profile-image-viewer .profile-image-viewer-close:hover { background:#ffffff26;color:#fff; }
html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="ho-so"] .profile-image-viewer .profile-image-viewer-close:focus-visible { outline:2px solid #fff;outline-offset:2px; }
html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="ho-so"] .profile-image-viewer .profile-image-viewer-close svg { display:block;width:20px;height:20px; }
@media(max-width:480px) { html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="ho-so"] .profile-image-viewer .profile-image-viewer-close { top:12px;right:12px; } }
@media(forced-colors:active) { html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="ho-so"] .profile-image-viewer .profile-image-viewer-close { color:CanvasText;border:1px solid CanvasText; } }

html body#gradientWorkspace#gradientWorkspace[data-dashboard-page="ho-so"] .avatar-crop-dialog[open] {
  box-sizing:border-box;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:12px;
  width:min(440px,calc(100vw - 32px));
  max-width:calc(100vw - 32px);
  max-height:calc(100dvh - 32px);
  margin:auto;
  padding:24px;
  overflow-y:auto;
  border:1px solid var(--mt-line);
  border-radius:8px;
  background:var(--mt-card);
  color:var(--mt-ink);
  font:400 14px/22px var(--mt-font);
  box-shadow:0 8px 28px #2e263d24;
}
html body#gradientWorkspace#gradientWorkspace[data-dashboard-page="ho-so"] .avatar-crop-dialog::backdrop { background:#10182899; }
html body#gradientWorkspace#gradientWorkspace[data-dashboard-page="ho-so"] .avatar-crop-dialog h2 { margin:0;font-size:20px;line-height:28px;font-weight:600; }
html body#gradientWorkspace#gradientWorkspace[data-dashboard-page="ho-so"] .avatar-crop-dialog>p { margin:0;color:var(--mt-muted); }
html body#gradientWorkspace#gradientWorkspace[data-dashboard-page="ho-so"] .avatar-crop-dialog canvas {
  box-sizing:border-box;display:block;width:min(320px,100%);height:auto;aspect-ratio:1;
  margin:4px auto 0;border:1px solid var(--mt-line);border-radius:6px;
  touch-action:none;cursor:grab;
}
html body#gradientWorkspace#gradientWorkspace[data-dashboard-page="ho-so"] .avatar-crop-dialog canvas:active { cursor:grabbing; }
html body#gradientWorkspace#gradientWorkspace[data-dashboard-page="ho-so"] .avatar-crop-dialog label {
  box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr);gap:6px;
  width:min(320px,100%);margin:0 auto;font-weight:500;
}
html body#gradientWorkspace#gradientWorkspace[data-dashboard-page="ho-so"] .avatar-crop-dialog input[type="range"] {
  display:block;width:100%;min-width:0;margin:0;accent-color:var(--mt-primary);
}
html body#gradientWorkspace#gradientWorkspace[data-dashboard-page="ho-so"] .avatar-crop-dialog .workspace-form-actions {
  display:flex;justify-content:flex-end;gap:8px;margin:4px 0 0;padding-top:16px;border-top:1px solid var(--mt-line);
}
html body#gradientWorkspace#gradientWorkspace[data-dashboard-page="ho-so"] .avatar-crop-dialog .workspace-form-actions button {
  min-height:36px;padding:7px 14px;border:1px solid var(--mt-line);border-radius:6px;
  background:var(--mt-card);color:var(--mt-ink);font:500 14px/20px var(--mt-font);cursor:pointer;
}
html body#gradientWorkspace#gradientWorkspace[data-dashboard-page="ho-so"] .avatar-crop-dialog .workspace-form-actions button.primary {
  border-color:var(--mt-primary);background:var(--mt-primary);color:#fff;
}
html body#gradientWorkspace#gradientWorkspace[data-dashboard-page="ho-so"] .avatar-crop-dialog .workspace-form-actions button:disabled { opacity:.55;cursor:default; }
@media(max-width:480px) {
  html body#gradientWorkspace#gradientWorkspace[data-dashboard-page="ho-so"] .avatar-crop-dialog[open] { padding:16px; }
}
body[data-dashboard-page="ho-so"] .profile-sign-in { padding:24px!important; border-top:1px solid var(--mt-line,#e1e9f3); }
body[data-dashboard-page="ho-so"] .profile-sign-in h3 { margin:0 0 6px; font-size:18px; line-height:26px; font-weight:600; color:var(--mt-ink); }
body[data-dashboard-page="ho-so"] .profile-sign-in>p { margin:0; color:var(--mt-muted,#64748b); font-size:14px; line-height:22px; }
body[data-dashboard-page="ho-so"] .profile-sign-in-form { display:grid; gap:20px; margin-top:20px; }
body[data-dashboard-page="ho-so"] #passkeyList { display:grid; gap:10px; }
body[data-dashboard-page="ho-so"] #passkeyList>p { margin:0; padding:12px 14px; border:1px dashed var(--mt-line,#e1e9f3); border-radius:10px; background:var(--mt-canvas,#f8fafc); color:var(--mt-muted,#64748b); font-size:14px; line-height:20px; }
body[data-dashboard-page="ho-so"] .profile-method-row { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:16px 18px; border:1px solid var(--mt-line,#e1e9f3); border-radius:10px; background:var(--mt-canvas,#f8fafc); }
body[data-dashboard-page="ho-so"] .profile-method-row>div { min-width:0; }
body[data-dashboard-page="ho-so"] .profile-method-row :is(h4,strong,p) { display:block; margin:0 0 4px; overflow-wrap:anywhere; }
body[data-dashboard-page="ho-so"] .profile-method-row :is(h4,strong) { font-size:15px; line-height:22px; font-weight:600; color:var(--mt-ink); }
body[data-dashboard-page="ho-so"] .profile-method-row p { margin-bottom:0; color:var(--mt-muted,#64748b); font-size:13px; line-height:20px; }
body[data-dashboard-page="ho-so"] .profile-method-row button { flex-shrink:0; }
@media(max-width:480px) { body[data-dashboard-page="ho-so"] .profile-method-row { align-items:flex-start; flex-direction:column; gap:10px; } }
