/* Shared character workspace. Keep content ownership in the existing records. */
.character-profile-workspace.has-profile-layout { grid-template-columns: minmax(0, 1fr); }
.character-profile-workspace.has-profile-layout.profile-notes-open { grid-template-columns: minmax(0, 1fr) 280px; }
.has-profile-layout .notes-sidebar[hidden], .profile-view[hidden] { display: none !important; }
.character-profile-main-pane:has(.has-profile-layout) > .feed-header { position: static; }
.character-profile-content.has-profile-layout { max-width: 1260px; margin-inline: auto; }
.profile-navigation { position: sticky; top: 0; z-index: 12; display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; padding: 8px 0; margin: 0; border-bottom: 1px solid #45474f; background: #313338; }
.profile-navigation-name { font-size: .85rem; font-weight: 750; color: #f2f3f5; }
.profile-navigation-links { display: flex; flex: 1 1 auto; gap: 4px; min-width: 0; overflow-x: auto; scrollbar-width: thin; }
.profile-navigation-links a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 13px; border-radius: 5px; color: #b5bac1; font-size: .85rem; white-space: nowrap; }
.profile-navigation-links a:hover { background: #383a40; color: #fff; }
.profile-navigation-links a[aria-current] { color: #d4d5ff; background: #424452; box-shadow: inset 0 -2px #a7a9f4; }
.profile-navigation-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0 16px; }
.profile-navigation-tools .reader-section-nav { margin: 0; padding: 0; border: 0; }
.profile-navigation-tools .reader-section-nav select { min-height: 44px; width: 230px; max-width: 100%; font-size: .8rem; }
.profile-notes-toggle, .profile-notes-close { min-height: 44px; border: 1px solid #484a53; border-radius: 5px; padding: 0 12px; background: transparent; color: #b5bac1; font: inherit; font-size: .7rem; cursor: pointer; }
.profile-notes-toggle[aria-expanded="true"] { color: #d4d5ff; background: #424452; }
.profile-notes-close { min-height: 32px; padding: 0 7px; font-size: .6rem; }
.profile-navigation :focus-visible, .profile-disclosure > summary:focus-visible, .profile-trait > summary:focus-visible { outline: 2px solid #b5b8ff; outline-offset: -2px; }
.profile-view { display: grid; gap: 18px; min-width: 0; }
.profile-view > *, .profile-overview-grid > * { min-width: 0; }
.profile-view .reveal { opacity: 1; transform: none; }
.profile-view .profile-section { margin: 0; }
.profile-view .profile-section > header > span { display: none; }
.profile-view .profile-section > header { min-height: 68px; }
.profile-view :is(.motivation-list p, .conflict-stack p, .equipment-card p, .tradecraft-card p, .magecraft-card p, .nature-card p, .biography-stages p, .connection-card p, .character-moment-card p) { font-size: .85rem; line-height: 1.65; }
.profile-view :is(.motivation-list h3, .conflict-stack h3, .equipment-card h3, .tradecraft-card h3, .magecraft-card h3, .nature-card h3, .biography-stages h3, .connection-card h3) { font-size: .92rem; }
.profile-view .appearance-ledger :is(dt, dd) { font-size: .82rem; line-height: 1.65; }
.profile-view .appearance-ledger { column-gap: 20px; }
.profile-view .appearance-ledger dt { min-width: 0; overflow-wrap: break-word; }
.profile-view #character-clothing p { font-size: .82rem; line-height: 1.65; }
.profile-view :is(h2, h3, [id]) { scroll-margin-top: 140px; }
.profile-view .character-profile-hero { grid-template-columns: minmax(240px, 32%) minmax(0, 1fr); min-height: 320px; box-shadow: none; }
.profile-view .character-profile-portrait { min-height: 320px; }
.profile-view .character-profile-intro { padding: 28px 36px; }
.profile-view .character-profile-intro h1 { font-size: clamp(2.8rem, 5vw, 4.6rem); }
.profile-view .profile-record-line { justify-content: flex-start; gap: 16px; margin-bottom: 16px; }
.profile-view .profile-record-line span:last-child { border: 0; background: none; padding: 0; color: #b5bac1; }
.profile-view .character-profile-summary { font-size: .95rem; }
.profile-view .profile-art-overlay { bottom: 0; left: 0; right: 0; padding: 8px; background: #24262a; }
.profile-view .profile-portrait-stage { background-size: cover; background-repeat: no-repeat; }
.profile-art-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 32px; color: #b5bac1; font-size: .75rem; pointer-events: auto; padding-inline: 4px; }
.profile-art-meta a { color: #b9bcf2; padding: 7px 3px; }
.profile-view .character-profile-portrait > .published-image-meta { top: auto !important; bottom: 111px; transform: translateX(-100%); }
.profile-view .profile-art-thumbnails { gap: 5px; padding: 0 0 5px; scrollbar-width: thin; scrollbar-color: #656879 #24262a; }
.profile-view .profile-art-thumbnails button[aria-pressed="true"] { outline: 2px solid #a7a9f4; outline-offset: -2px; }
.profile-overview-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, 1fr); gap: 18px; align-items: start; }
.profile-overview-grid .profile-personality { grid-row: span 2; }
.profile-overview-grid .profile-conflicts { grid-column: 2; }
.profile-overview-grid .personality-spectrum { padding: 18px; }
.profile-overview-grid .personality-notes { margin: 0; border: 0; padding: 0; }
.profile-overview-grid .personality-notes > strong { display: none; }
.profile-overview-grid .personality-notes > div { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; }
.profile-overview-grid .personality-notes article, .profile-trait { padding: 0; border: 1px solid #474952; border-radius: 5px; background: #313338; }
.profile-overview-grid .personality-notes article h3 { margin: 0; padding: 12px; font-size: .76rem; }
.profile-trait > summary { padding: 12px; min-height: 44px; box-sizing: border-box; font-size: .76rem; color: #e1e2e7; cursor: pointer; }
.profile-trait[open] { flex-basis: 100%; }
.profile-trait p { margin: 0; padding: 0 14px 14px; font-size: .8rem; line-height: 1.65; }
.profile-disclosure { border-top: 1px solid #41434b; }
.profile-disclosure > summary { min-height: 44px; box-sizing: border-box; padding: 14px 18px; color: #b9bcf2; cursor: pointer; font-size: .78rem; font-weight: 650; }
.profile-disclosure > summary::marker, .profile-trait > summary::marker { color: #989bd9; }
.profile-personality-detail { margin-top: 18px; }
.profile-personality-detail > summary { padding-left: 0; }
.profile-personality-detail .personality-summary { padding: 0; margin: 0; font-size: .85rem; line-height: 1.75; }
.profile-record-details { border: 0; margin-top: -12px; }
.profile-record-details > summary { padding: 10px 0; color: #a5a9b4; font-size: .7rem; }
.profile-record-details-body { padding: 8px 18px 14px; border-left: 2px solid #525565; }
.profile-record-details #character-profile-material { display: block; margin-bottom: 12px; color: #d8b56b; font-size: .75rem; }
.profile-record-details .character-profile-name-meaning { margin: 0; }
.profile-view .character-personal-timeline { margin-top: 0; }
.profile-moments-disclosure > .character-moment-grid { padding: 0 18px 18px; }
.profile-view[data-profile-panel="appearance"] { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.profile-view[data-profile-panel="appearance"] .profile-section:only-child { grid-column: 1 / -1; }
.profile-capabilities #character-capabilities { padding: 18px; }
.profile-capabilities .skill-graph-layout { max-width: 960px; margin-inline: auto; }
.profile-capabilities .personality-type-meta { margin-left: auto; }
.profile-view[data-profile-panel="abilities"] :is(.tradecraft-grid, .magecraft-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.profile-view[data-profile-panel="relationships"] .profile-connections { overflow: visible; }
.profile-view .relationship-map-lines line:not(.is-active) { opacity: .25; }
.profile-view .relationship-map-meta strong { font-size: .8rem; }
.profile-view .relationship-map-meta span { font-size: .7rem; letter-spacing: 0; }
.profile-view .relationship-node-name { font-size: .7rem; padding: 4px; }
.profile-view .relationship-map-detail-counter { font-size: .7rem; letter-spacing: 0; }
.profile-view .relationship-map-detail-pager button { min-width: 44px; min-height: 44px; }
.profile-view .relationship-map-detail p { font-size: .9rem; line-height: 1.65; }
.profile-view .relationship-map-detail-link { font-size: .8rem; min-height: 44px; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.profile-view .relationship-map-detail-pager span { font-size: .65rem; }
.profile-view .character-timeline-track p { font-size: .8rem; line-height: 1.6; }
.profile-view .character-timeline-track h3 { font-size: .9rem; }
.profile-view .character-moment-card :is(strong, small), .profile-view .timeline-moment-link { font-size: .7rem; }
.profile-view .skill-value-list :is(dt, dd) { font-size: .8rem; }
.profile-view .skill-extreme small { font-size: .7rem; letter-spacing: 0; }
.profile-view .skill-extreme strong { font-size: .85rem; }
.profile-view .skill-extreme span, .profile-view .skill-radar-figure figcaption { font-size: .75rem; }
.profile-view .skill-radar-label { font-size: 13px; }
.profile-view .profile-portrait-placeholder { min-height: 320px; }
.profile-notes-toggle { font-size: .8rem; }
.profile-notes-close { min-height: 44px; font-size: .75rem; }
.profile-empty { padding: 32px; color: #b5bac1; font-size: .9rem; }
.has-profile-layout[data-profile-view="all"] > .profile-view { margin-bottom: 28px; }
@media (max-width: 1100px) {
  .profile-navigation-name { display: none; }
  .profile-navigation-links { flex-basis: 100%; }
  .profile-navigation-tools { margin-left: 0; width: 100%; justify-content: space-between; }
  .profile-navigation-tools .reader-section-nav select { width: 210px; }
  .profile-view .character-profile-intro { padding: 24px; }
}
@media (max-width: 820px) {
  .character-profile-workspace.has-profile-layout.profile-notes-open { grid-template-columns: minmax(0, 1fr); }
  .profile-navigation { top: 53px; margin-inline: -14px; padding: 5px 14px; }
  .profile-navigation-links { flex-wrap: nowrap; }
  .profile-navigation-links a { padding-inline: 11px; }
  .profile-overview-grid, .profile-view[data-profile-panel="appearance"] { grid-template-columns: minmax(0, 1fr); }
  .profile-overview-grid .profile-conflicts { grid-column: auto; }
  .profile-overview-grid .profile-personality { grid-row: auto; }
  .profile-overview-grid .profile-motivations { order: -1; }
  .character-profile-workspace.has-profile-layout .notes-sidebar:not([hidden]) { display: block; order: -1; max-height: 65vh; overflow-y: auto; scroll-margin-top: 60px; }
  .profile-view[data-profile-panel="abilities"] :is(.tradecraft-grid, .magecraft-grid) { grid-template-columns: minmax(0, 1fr); }
  .profile-view .relationship-map-stage { min-height: 390px; }
  .profile-view .relationship-map-meta { align-items: flex-start; }
  .profile-view .relationship-map-detail-inner { padding: 16px; gap: 14px; }
  .profile-view .relationship-map-detail-visual { display: flex; flex-flow: row wrap; align-items: center; justify-content: space-between; padding: 0 0 12px; gap: 8px; }
  .profile-view .relationship-map-detail-pair { display: none; }
  .profile-view .relationship-map-detail-counter, .profile-view .relationship-map-detail-pager { margin: 0; }
  .profile-view .relationship-node-name { white-space: normal; text-overflow: clip; text-align: center; }
}
@media (max-width: 620px) {
  .profile-navigation-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; overflow: visible; }
  .profile-navigation-links a { justify-content: center; padding-inline: 4px; font-size: .8rem; white-space: normal; overflow-wrap: anywhere; text-align: center; }
  .profile-view .character-profile-hero { display: flex; flex-direction: column; }
  .profile-view .character-profile-intro { order: -1; padding: 20px; }
  .profile-view .character-profile-intro h1 { font-size: 2.8rem; margin-bottom: 12px; }
  .profile-view .character-profile-summary { font-size: .85rem; margin-bottom: 14px; }
  .profile-view .character-profile-portrait { height: 330px; min-height: 330px; border: 0; }
  .profile-view .character-profile-portrait:not(.has-art-browser) { height: 130px; min-height: 130px; }
  .profile-view .profile-portrait-placeholder { height: 100%; min-height: 0; font-size: 2.5rem; }
  .profile-view .character-profile-portrait img { min-height: 0; }
  .profile-view .profile-record-line { margin-bottom: 12px; }
  .profile-view .appearance-ledger { grid-template-columns: minmax(0, 1fr); }
  .profile-view .appearance-ledger dt:not(.sr-only) { border-bottom: 0; padding-bottom: 4px; }
  .profile-view .appearance-ledger dd { padding-top: 0; }
  .profile-view .skill-value-list { grid-template-columns: minmax(0, 1fr) auto; }
  .profile-view .skill-value-list :is(dt, dd) { border-bottom: 1px solid #36383e; }
  .profile-view .skill-value-list :is(dt, dd):last-of-type { border-bottom: 0; }
  .profile-view .relationship-map-detail-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .profile-capabilities > header { flex-wrap: wrap; }
  .profile-capabilities .personality-type-meta { width: 100%; margin: 8px 0 0; padding: 10px 0 0; border-left: 0; border-top: 1px solid #41434b; text-align: left; }
}
@media print {
  html:has(.has-profile-layout), body:has(.has-profile-layout) { height: auto; overflow: visible; }
  body:has(.has-profile-layout) :is(.site-header, .feed-header, .character-breadcrumbs, .profile-art-overlay, .published-image-meta) { display: none !important; }
  .app-main:has(.has-profile-layout), .character-profile-workspace.has-profile-layout { display: block; height: auto; overflow: visible; }
  .profile-navigation, .profile-navigation-tools, .character-profile-workspace .notes-sidebar { display: none !important; }
  .profile-view, .profile-view[hidden], .profile-overview-grid { display: block !important; }
  .character-profile-main-pane { overflow: visible; height: auto; }
  .character-profile-workspace.has-profile-layout.profile-notes-open { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .has-profile-layout .profile-navigation a { transition: none; }
  .profile-view .skill-radar-shape { animation: none; }
}

/* The opening profile is a visual dashboard. Details reuse the same sections. */
.profile-overview-top { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(330px, 1fr); gap: 18px; align-items: stretch; }
.profile-overview-top > *, .profile-dashboard-slot, .profile-priorities { min-width: 0; }
.profile-dashboard-slot:empty { display: none; }
[data-profile-view="all"] .profile-overview-top { grid-template-columns: minmax(0, 1fr); }
.profile-overview-top .character-profile-hero { grid-template-columns: minmax(210px, 43%) minmax(0, 1fr); }
.profile-overview-top .character-profile-intro { padding: 26px; display: flex; flex-direction: column; align-items: flex-start; }
.profile-overview-top .character-profile-intro h1 { font-size: clamp(2.1rem, 3.4vw, 3.5rem); line-height: 1.08; overflow-wrap: break-word; margin-block: 15px; }
.profile-overview-top .character-profile-summary { line-height: 1.65; font-size: .9rem; margin-bottom: 18px; }
.profile-overview-top .profile-record-line { gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.profile-overview-top .character-profile-portrait { min-height: 100%; }
.profile-overview-top .profile-portrait-stage { bottom: 108px; background-size: contain; background-position: center !important; background-color: #25272b; }
.profile-overview-top .profile-portrait-strip img { object-fit: contain; object-position: center !important; }
.profile-overview-top .character-profile-portrait > .published-image-meta { bottom: 115px; }
.profile-overview-top .personality-type-meta { margin: 20px 0 0; padding: 10px 0 10px 12px; border-left: 2px solid #636880; min-width: 0; gap: 5px; }
.profile-overview-top .personality-type-meta span { font-size: .65rem; letter-spacing: .02em; }
.profile-overview-top .profile-motivations { border: 0; border-top: 1px solid #42444d; border-radius: 0; background: transparent; margin-top: 20px; padding-top: 18px; box-shadow: none; width: 100%; }
.profile-overview-top .profile-motivations > header { padding: 0; min-height: 0; border: 0; }
.profile-overview-top .profile-motivations > header .eyebrow { display: none; }
.profile-overview-top .profile-motivations h2 { font-size: .85rem; }
.profile-overview-top .motivation-list { padding: 0; }
.profile-overview-top .motivation-list li { padding: 10px 0 0; display: block; border: 0; }
.profile-overview-top .motivation-list li > span, .profile-overview-top .motivation-list h3 { display: none; }
.profile-overview-top .motivation-list p { margin: 0; font-size: .8rem; }
.profile-dashboard-capabilities .profile-capabilities { height: 100%; display: flex; flex-direction: column; }
.profile-dashboard-capabilities #character-capabilities { padding: 14px; flex: 1; }
.profile-dashboard-capabilities .skill-radar { max-width: 310px; }
.profile-dashboard-capabilities .skill-radar-figure { padding: 0 0 8px; border: 0; background: transparent; }
.profile-dashboard-capabilities .skill-radar-label { font-size: 11px; }
.profile-dashboard-capabilities .skill-graph-layout { gap: 8px; }
.profile-dashboard-capabilities .skill-graph-extremes, .profile-dashboard-capabilities .capability-ledger-link { display: none; }
.profile-dashboard-capabilities .skill-value-list { grid-template-columns: repeat(2, minmax(0, 1fr) auto); }
.profile-dashboard-capabilities .skill-value-list :is(dt, dd) { font-size: .75rem; padding: 8px; }
.profile-detail-link { display: none; }
[data-profile-display="dashboard"] > .profile-detail-link { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 10px 18px; border-top: 1px solid #41434b; color: #b9bcf2; font-size: .8rem; }
[data-profile-display="dashboard"] > .profile-detail-link::after { content: '\2192'; }
.profile-overview-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.profile-overview-grid .profile-personality { grid-row: auto; }
.profile-overview-grid .profile-conflicts { grid-column: auto; }
.profile-summary-preview { min-width: 0; }
.profile-summary-preview .personality-summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; padding: 0; border: 0; font-size: .85rem; line-height: 1.7; }
.profile-summary-preview.is-expanded .personality-summary, [data-profile-view="all"] .personality-summary { display: block; overflow: visible; }
.profile-summary-toggle { border: 0; background: transparent; color: #b9bcf2; min-height: 44px; padding: 8px 0; font: inherit; font-size: .78rem; cursor: pointer; }
[data-profile-view="all"] .profile-summary-toggle { display: none; }
.profile-summary-toggle:focus-visible, .profile-detail-link:focus-visible { outline: 2px solid #b5b8ff; outline-offset: 2px; }
.profile-dashboard-connections .relationship-map { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; }
.profile-dashboard-connections .relationship-map-meta { grid-column: 1 / -1; flex-wrap: wrap; margin: 0; }
.profile-dashboard-connections .relationship-map-stage { min-height: 430px; }
.profile-dashboard-connections .relationship-map-detail { margin: 0; border-radius: 6px; }
.profile-dashboard-connections .relationship-map-detail-inner { display: flex; flex-direction: column; gap: 18px; padding: 20px; }
.profile-dashboard-connections .relationship-map-detail-visual { flex-flow: row wrap; justify-content: space-between; gap: 10px; padding: 0 0 14px; border: 0; border-bottom: 1px solid #41434b; }
.profile-dashboard-connections .relationship-map-detail-pair { display: none; }
.profile-dashboard-connections .relationship-map-detail-counter, .profile-dashboard-connections .relationship-map-detail-pager { margin: 0; }
.profile-dashboard-connections .relationship-map-detail-header { flex-wrap: wrap; gap: 12px; }
.profile-dashboard-connections .profile-connections > .profile-disclosure, .profile-dashboard-connections .connection-grid { display: none; }
.profile-dashboard-story .character-personal-timeline { border: 1px solid #202125; border-radius: 7px; overflow: hidden; background: #2b2d31; }
.profile-dashboard-story .character-section-header { padding: 18px; }
.profile-dashboard-story .character-timeline-track { margin-inline: 18px; }
.profile-record-details { margin: 0; }
.character-profile-main-pane:has(.has-profile-layout) > .feed-header { display: none; }
.profile-context-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; }
.profile-context-bar .character-breadcrumbs { margin: 0; padding: 0; }
.profile-context-bar .profile-navigation-tools { padding: 0; margin: 0; width: auto; justify-content: flex-end; }
.profile-context-bar .reader-section-nav select { width: 190px; }
.profile-navigation-links a[hidden] { display: none; }
[data-profile-sparse] .reader-section-nav { display: none; }
.profile-navigation { margin-bottom: 18px; }
.profile-dashboard-story .character-timeline-track p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.profile-dashboard-story .character-timeline-moments { max-height: 72px; overflow-y: auto; }
.profile-dashboard-story .timeline-approximate-track { display: flex; gap: 16px; overflow-x: auto; }
.profile-dashboard-story .timeline-approximate-track > li { flex: 0 0 min(280px, 85vw); }
@media (max-width: 1100px) {
  .profile-overview-top { grid-template-columns: minmax(0, 1fr); }
  .profile-overview-top .character-profile-hero { min-height: 430px; grid-template-columns: minmax(240px, 36%) minmax(0, 1fr); }
  .profile-dashboard-capabilities .skill-graph-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 20px; }
  .profile-dashboard-capabilities .skill-value-list { grid-template-columns: minmax(0, 1fr) auto; }
  .profile-dashboard-capabilities .skill-value-list :is(dt, dd) { font-size: .8rem; }
}
@media (max-width: 820px) {
  .profile-overview-grid, .profile-dashboard-connections .relationship-map { grid-template-columns: minmax(0, 1fr); }
  .profile-dashboard-connections .relationship-map-stage { min-height: 390px; }
  .profile-dashboard-connections .relationship-map-meta { grid-column: auto; }
  .profile-navigation-links { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 3px; }
  .profile-navigation-links a { flex: 0 0 auto; white-space: nowrap; padding-inline: 12px; }
  .profile-overview-top .character-profile-hero { min-height: 0; }
  .profile-context-bar { flex-wrap: wrap; }
  [data-profile-view="overview"] .profile-context-bar .reader-section-nav { display: none; }
}
@media (max-width: 620px) {
  .profile-overview-top .character-profile-hero { display: grid; grid-template-columns: minmax(0, 1fr); }
  .profile-overview-top .character-profile-intro { display: contents; }
  .profile-overview-top .character-profile-portrait { order: 5; height: 380px; min-height: 380px; }
  .profile-overview-top .character-profile-portrait:not(.has-art-browser) { height: 130px; min-height: 130px; }
  .profile-overview-top .profile-record-line { order: 0; margin: 18px 18px 8px; }
  .profile-overview-top #character-profile-role { order: 1; margin: 0 18px; }
  .profile-overview-top .character-profile-intro h1 { order: 2; margin: 10px 18px; font-size: 2.4rem; }
  .profile-overview-top .character-profile-summary { order: 3; margin: 0 18px 12px; }
  .profile-overview-top .faction-badges { order: 4; margin: 0 18px 18px; }
  .profile-overview-top .personality-type-meta { order: 6; margin: 18px; width: auto; }
  .profile-overview-top .profile-motivations { order: 7; margin: 0; padding: 18px; }
  .profile-dashboard-capabilities .skill-graph-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .profile-dashboard-capabilities .skill-radar-label { font-size: 12px; }
  .profile-dashboard-capabilities .skill-value-list { grid-template-columns: minmax(0, 1fr) auto; }
  .profile-dashboard-capabilities .skill-value-list :is(dt, dd) { font-size: .8rem; padding: 8px; }
  .profile-dashboard-connections .relationship-map-detail-inner { padding: 16px; }
}
@media print {
  .profile-overview-top, .profile-overview-top .character-profile-intro { display: block; }
  .profile-summary-preview .personality-summary { display: block; overflow: visible; }
  .profile-summary-toggle, .profile-detail-link { display: none !important; }
  .profile-dashboard-connections .profile-connections > .profile-disclosure, .profile-dashboard-connections .connection-grid { display: block; }
  .profile-dashboard-story .character-timeline-track p { display: block; }
  .profile-dashboard-story .character-timeline-moments { max-height: none; overflow: visible; }
  .profile-context-bar { display: none; }
}
