/* Shared personal-space treatment; calculator and payment styles remain intact. */
.history-shell, #profileAuthBlock {
    --space-ink: #eeeff2;
    --space-muted: #aaa5b7;
    --space-line: #393242;
    --space-surface: #19171f;
    --space-accent: #7560ce;
    --space-link: #c4b5fd;
}
.history-shell.light, body.acronum-light-theme #profileAuthBlock {
    --space-ink: #26232e;
    --space-muted: #625c70;
    --space-line: #d9d4e2;
    --space-surface: #f4f2f7;
    --space-accent: #6952bd;
    --space-link: #6952bd;
}
.history-shell {
    --ink: var(--space-ink);
    --muted: var(--space-muted);
    --surface: var(--space-surface);
    --line: var(--space-line);
    --accent: var(--space-link);
    background-color: #09070f;
}
.history-shell.light { background-color: #faf9fc; }
.history-shell .top, .history-shell .workspace { max-width: 1040px; }
.history-shell .top { height: 88px; }
.history-shell .top nav a { padding: 10px 0; }
.history-shell a[aria-current="page"] { color: var(--space-link); border-bottom: 2px solid var(--space-accent); }
.history-shell .primary, #profileAuthBlock .personal-action {
    background: var(--space-accent);
    color: #fff;
    border: 1px solid transparent;
    border-radius: 8px;
    min-height: 48px;
    padding: 12px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: 0;
}
.history-shell .primary:hover, #profileAuthBlock .personal-action:hover { filter: brightness(1.12); }
.history-shell .trail { gap: 16px; flex-wrap: wrap; }
.history-shell .trail a, .personal-links a { min-height: 44px; display: inline-flex; align-items: center; }
.history-shell .next { grid-template-columns: minmax(0, 1fr) auto; }
.history-shell .next > div:only-child { grid-column: 1 / -1; }
.history-shell .next p { max-width: 68ch; }
.history-shell .next h2 { max-width: 32ch; }
.history-shell h1, #profileAuthBlock .personal-entry h3 { font-family: Blogger, system-ui, sans-serif; }
#profileAuthBlock .personal-entry { padding: 28px 0; border-bottom: 1px solid var(--space-line); margin-bottom: 8px; }
#profileAuthBlock .personal-entry h3 { font-size: 28px !important; line-height: 1.2; margin: 0 0 12px; }
#profileAuthBlock .personal-entry p { color: var(--space-muted); line-height: 1.6; margin: 0 0 20px; }
#profileAuthBlock .personal-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 12px; }
#profileAuthBlock .personal-links a { color: var(--space-link); text-decoration: none; font-size: 14px; }
#profileAuthBlock .personal-links a:hover { text-decoration: underline; }
#profileAuthBlock .personal-entry a:focus-visible { outline: 2px solid var(--space-link); outline-offset: 4px; }
@media (max-width:760px) {
    .history-shell .top { height: 72px; }
    .history-shell .next { grid-template-columns: minmax(0, 1fr); }
    .history-shell .bottom { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 0; }
    .history-shell .bottom a { min-width: 0; font-size: 10px; }
    .history-shell .sectionhead { flex-wrap: wrap; }
    #profileAuthBlock .personal-action { width: 100%; box-sizing: border-box; }
    #profileAuthBlock .personal-entry { padding: 24px 0; }
}
