.status-page { margin: 0; display: block; min-height: 100vh; background: #fffcf5; color: #34332f; font-family: Georgia, 'Times New Roman', serif; line-height: 1.6; }
.status-page * { box-sizing: border-box; }
.status-page [hidden] { display: none !important; }
.status-shell { width: min(860px, calc(100% - 48px)); margin: auto; }
.status-page a { color: inherit; text-underline-offset: 5px; }
.status-page a:hover { text-decoration-thickness: 2px; }
.status-page :focus-visible { outline: 3px solid #4b786b; outline-offset: 5px; }
.status-page nav { display: flex; justify-content: space-between; gap: 20px; padding: 32px 0; border-bottom: 1px solid #dfdcd2; font-size: 15px; }
.status-page nav span, .eyebrow, .section-heading span, .connection-row, .status-page footer, #username { font-family: system-ui, sans-serif; color: #69685e; }
.status-hero { display: block; padding: 70px 0 42px; margin: 0; text-align: left; }
.status-page .eyebrow { text-transform: uppercase; letter-spacing: .15em; font-size: 11px; font-weight: 600; margin: 0 0 24px; }
.status-hero h1 { margin: 0 0 24px; font-size: clamp(42px, 7vw, 72px); font-weight: 500; line-height: 1.25; letter-spacing: -.045em; }
.status-hero mark { --color: var(--presence-tint, var(--color-purple)); color: inherit; margin-right: .18em; }
.status-hero #presence-description { max-width: 580px; font-size: clamp(18px, 2.5vw, 23px); margin: 0; line-height: 1.65; }
.presence-icon { display: inline-block; position: relative; width: .32em; height: .32em; border-radius: 50%; vertical-align: middle; background: #858780; margin-left: .1em; }
[data-presence="online"] { --presence-tint: var(--color-green); }
[data-presence="idle"] { --presence-tint: var(--color-yellow); }
[data-presence="dnd"] { --presence-tint: var(--color-red); }
[data-presence="offline"] { --presence-tint: var(--color-blue); }
[data-presence="online"] .presence-icon { background: #42765a; }
[data-presence="idle"] .presence-icon { background: #9b7018; }
[data-presence="idle"] .presence-icon::after { content: ''; position: absolute; width: 75%; height: 75%; right: -10%; top: -10%; border-radius: 50%; background: #fffcf5; }
[data-presence="dnd"] .presence-icon { background: #b44c41; }
[data-presence="dnd"] .presence-icon::after { content: ''; position: absolute; width: 65%; height: 18%; left: 18%; top: 41%; background: #fffcf5; border-radius: 2px; }
[data-presence="offline"] .presence-icon { background: transparent; border: .07em solid #737b80; }
.status-page .status-main { display: block; width: 100%; margin: 0; padding: 0; max-width: none; }
.status-main p { width: auto; max-width: none; font-size: 16px; }
.profile-card { display: flex; align-items: center; gap: 20px; padding: 26px; background: #f3f0e7; border: 1px solid #e1ded3; border-radius: 18px; }
.avatar-wrap { flex: 0 0 80px; height: 80px; position: relative; border-radius: 50%; overflow: hidden; background: var(--color-purple); display: grid; place-items: center; font-size: 34px; }
.avatar-wrap img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.profile-copy { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.profile-copy h2 { font-size: 24px; line-height: 1.3; font-weight: 500; margin: 0; }
.profile-copy p { margin: 3px 0 0; }
.profile-copy #username { font-size: 14px; }
.profile-link { font-size: 15px; white-space: nowrap; }
.activities-section { margin-top: 40px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.section-heading h2 { margin: 0; font-size: 23px; font-weight: 500; }
.section-heading span { font-size: 12px; }
#activities { display: grid; gap: 14px; }
.activity { display: flex; gap: 20px; border: 1px solid #dfdcd2; padding: 24px; border-radius: 16px; background: #fffef9; min-width: 0; }
.activity-art { width: 72px; height: 72px; flex-shrink: 0; border-radius: 10px; object-fit: cover; }
.activity-copy { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.activity .activity-kind { margin: 0 0 6px; font: 600 10px system-ui, sans-serif; letter-spacing: .13em; text-transform: uppercase; color: #576b59; }
.activity h3 { margin: 0; font-size: 21px; font-weight: 500; }
.activity p { margin: 3px 0; color: #69685e; }
.activity a { font-size: 13px; }
.track-progress { width: 100%; height: 5px; display: block; margin-top: 16px; accent-color: #52795f; }
.track-time { display: flex; justify-content: space-between; font: 11px system-ui, sans-serif; color: #69685e; margin-top: 6px; }
.status-main .empty-state { margin: 0; padding: 32px 24px; border: 1px dashed #d6d2c7; border-radius: 16px; color: #69685e; }
.connection-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 20px 0 48px; }
.connection-row #connection { font-size: 12px; margin: 0; }
.connection-row button { font: inherit; font-size: 12px; color: inherit; background: transparent; border: 1px solid #bbb7aa; padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.status-page footer { display: flex; justify-content: space-between; gap: 15px; padding: 22px 0 32px; border-top: 1px solid #dfdcd2; font-size: 12px; }
@media (max-width: 560px) { .status-shell { width: calc(100% - 36px); } .status-hero { padding-top: 46px; } .status-page nav span { display: none; } .profile-card { gap: 16px; padding: 20px; flex-wrap: wrap; } .profile-link { margin-left: 96px; } .section-heading { display: block; } .section-heading span { display: block; margin-top: 6px; } .activity { padding: 18px; gap: 14px; } .activity-art { width: 56px; height: 56px; } .status-page footer { flex-direction: column; gap: 5px; } }

@media (max-width: 560px) { .profile-card { display: grid; grid-template-columns: 80px minmax(0, 1fr); } .profile-link { grid-column: 2; margin-left: 0; justify-self: start; } }

/* Keep the imported notebook styles from changing the profile geometry. */
.status-page .status-shell .status-hero {
  padding-inline: clamp(24px, 4vw, 36px);
}
.status-page .status-main > .profile-card {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  align-items: center;
  justify-items: stretch;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  gap: 20px;
  padding: 26px;
}
.status-page .profile-card .avatar-wrap {
  display: grid;
  position: relative;
  width: 80px;
  min-width: 80px;
  max-width: 80px;
  height: 80px;
  min-height: 80px;
  aspect-ratio: 1;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  overflow: hidden;
  place-items: center;
}
.status-page .profile-card #avatar {
  display: block;
  position: absolute;
  inset: 0;
  width: 80px;
  min-width: 80px;
  max-width: none;
  height: 80px;
  min-height: 80px;
  max-height: none;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  margin: 0;
  padding: 0;
}
.status-page .profile-card .profile-copy { min-width: 0; width: 100%; }
.status-page .profile-card .profile-link { grid-column: 2; margin: 0; }
.status-page .profile-card .profile-link:empty { display: none; }
.status-page .profile-card .activities-section {
  display: block;
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 4px 0 0;
  padding: 22px 0 0;
  border: 0;
  border-top: 1px solid #dfdcd2;
  border-radius: 0;
  background: transparent;
}
.status-page .profile-card #activities { width: 100%; min-width: 0; }
@media (max-width: 560px) {
  .status-page .status-main > .profile-card { padding: 20px; gap: 16px; }
  .status-page .status-hero h1 { font-size: clamp(32px, 8vw, 44px); }
}

/* A slightly tighter layout, with extra breathing room on short screens. */
.status-page .status-shell .status-hero { padding-block: clamp(24px, 6vh, 52px) 28px; }
.status-page .status-hero h1 { font-size: clamp(38px, 6.3vw, 64px); margin-bottom: 18px; }
.status-page .status-hero #presence-description { font-size: clamp(17px, 2.2vw, 21px); line-height: 1.5; }
.status-page .status-main > .profile-card { grid-template-columns: 72px minmax(0, 1fr); padding: 22px; gap: 16px; }
.status-page .profile-card .avatar-wrap,
.status-page .profile-card #avatar { width: 72px; min-width: 72px; max-width: 72px; height: 72px; min-height: 72px; }
.status-page .profile-copy h2 { font-size: 22px; }
.status-page .profile-card .activities-section { padding-top: 16px; margin-top: 0; }
.status-page .section-heading { margin-bottom: 12px; }
.status-page .section-heading h2 { font-size: 21px; }
.status-page #activities { gap: 10px; }
.status-page .activity { padding: 18px; gap: 16px; }
.status-page .activity h3 { font-size: 19px; }
.status-page .activity p { font-size: 15px; }
.status-page .activity-art { width: 64px; height: 64px; }
.status-page .status-main .empty-state { padding: 24px 20px; }
.status-page .connection-row { margin: 14px 0 20px; }
@media (max-width: 560px) {
  .status-page .status-hero h1 { font-size: clamp(30px, 7.3vw, 40px); }
  .status-page .status-main > .profile-card { padding: 18px; gap: 14px; }
  .status-page .activity { padding: 14px; gap: 12px; }
  .status-page .activity-art { width: 50px; height: 50px; }
}
@media (max-height: 720px) {
  .status-page .status-shell .status-hero { padding-block: 24px 22px; }
  .status-page .connection-row { margin-bottom: 12px; }
}
