/* Public author directory and profiles. Journal has its own unchanged stylesheet. */
.public-container { width: min(calc(100% - var(--home-gutter, 24px) * 2), 1480px); margin-inline: auto; }
.public-eyebrow { display: block; color: #67dda2; font-size: 12px; font-weight: 650; letter-spacing: .07em; margin-bottom: 14px; }
.directory { padding-block: clamp(30px, 4vw, 64px) 24px; }
.directory-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.directory-title h1 { font-size: clamp(34px, 4.6vw, 66px); font-weight: 700; letter-spacing: -.045em; line-height: 1.06; margin-bottom: 17px; }
.directory-title p { color: #a8b8bd; font-size: clamp(16px, 1.5vw, 20px); }
.directory-title > a { flex-shrink: 0; }
.directory-controls { display: grid; grid-template-columns: minmax(0, 1fr) 220px 150px; gap: 12px; }
.directory-search { position: relative; min-width: 0; }
.directory-search input { width: 100%; height: 58px; border: 1px solid #b9d4d32b; border-radius: 14px; background: #10191d; padding: 16px 48px 16px 20px; font: 16px 'Manrope', sans-serif; color: #eff7f4; }
.directory-search input::placeholder { color: #99aaaf; }
.directory-search input::-webkit-search-cancel-button { display: none; }
.directory-search button { position: absolute; right: 8px; top: 7px; width: 44px; height: 44px; font-size: 25px; color: #baccc7; }
.directory-select select, .directory-filter-toggle { width: 100%; height: 58px; padding: 12px 18px; border: 1px solid #b9d4d32b; border-radius: 14px; font: 600 14px 'Manrope',sans-serif; background: #10191d; color: #e5efeb; }
.directory-filter-toggle { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.directory-filter-toggle span { color: #71e9a9; }
.directory-filter-toggle.is-active { border-color: #6fcf9e77; background: #11251e; }
.directory-filters { display: flex; align-items: start; gap: 28px; padding: 22px 0; border-bottom: 1px solid #b9d4d31c; }
.directory-topics { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.directory-topics button, .author-platform-filter button { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #bedfd326; background: #0c1719; border-radius: 10px; padding: 10px 14px; min-height: 44px; color: #bfcec9; font-size: 13px; line-height: 1.3; }
.directory-topics button[aria-pressed="true"], .author-platform-filter button[aria-pressed="true"] { background: #26d97f; border-color: #58e99e; color: #041e10; }
.directory-audience { display: grid; gap: 8px; min-width: 170px; color: #b5c5c0; font-size: 12px; }
.directory-audience select, .directory-results select { background: #101a1d; border: 1px solid #c2d9d32b; color: #e1eeea; padding: 9px 12px; border-radius: 9px; font: inherit; min-height: 44px; }
.directory-results { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px 18px; color: #aebfba; font-size: 14px; }
.directory-results p, .directory-results label { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.directory-results button { min-height: 44px; padding-block: 10px; color: #77e4ac; text-decoration: underline; text-underline-offset: 4px; }
.directory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr)); gap: 18px; align-items: stretch; }
.directory-card { min-width: 0; display: flex; flex-direction: column; gap: 22px; padding: 26px; border: 1px solid #bbd5d326; border-radius: 22px; background: linear-gradient(150deg, #15202499, #0b1216 75%); color: #e8f0ed; transition: border-color 200ms, background-color 200ms, box-shadow 200ms; }
.directory-card:hover { border-color: #60d19e88; background-color: #11251e; box-shadow: 0 8px 28px #0003; }
.directory-card-head { display: flex; gap: 15px; align-items: center; position: relative; }
.directory-card-head > div:not(.avatar) { min-width: 0; flex: 1; padding-right: 14px; }
.directory-card .avatar { flex-shrink: 0; }
.directory-card h3 { font: 700 20px/1.2 'Manrope',sans-serif; letter-spacing: -.025em; overflow-wrap: anywhere; }
.directory-handle { display: block; margin-top: 8px; font-size: 12px; line-height: 1.4; color: #9bada8; overflow-wrap: anywhere; }
.directory-card-arrow { position: absolute; top: 0; right: 0; color: #91b6a5; font-size: 20px; }
.directory-bio { color: #b2c2be; font-size: 14px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 4.8em; }
.author-tags { display: flex; flex-wrap: wrap; gap: 7px; align-items: start; }
.author-tags > span { max-width: 100%; border: 1px solid #b2d1c32b; color: #c8d8d0; background: #13221d; border-radius: 8px; padding: 6px 9px; font-size: 12px; line-height: 1.3; overflow-wrap: anywhere; }
.directory-card-bottom { margin-top: auto; display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 20px; border-top: 1px solid #b8d5c91c; }
.directory-card-bottom strong { display: block; font-size: 25px; font-weight: 650; letter-spacing: -.025em; }
.directory-card-bottom > div:first-child > span { display: block; font-size: 11px; color: #95aaa0; margin-top: 3px; }
.directory-platforms { display: flex; flex-wrap: wrap; gap: 6px; }
.platform-symbol { display: inline-flex; justify-content: center; align-items: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 10px; background-color: var(--platform-color, #60796d); border: 1px solid #ffffff25; color: var(--platform-ink, #fff); }
.directory-empty { padding: 50px 25px; border: 1px solid #b9d4d32b; border-radius: 20px; text-align: center; background: #0d1619; }
.directory-empty h2 { font-size: 28px; margin-bottom: 10px; }
.directory-empty p { color: #acbfb5; margin-bottom: 20px; }
.directory-collections { padding-block: 38px 20px; }
.directory-collections h2 { font-size: clamp(28px, 3vw, 42px); letter-spacing: -.04em; }
.directory-collections-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr)); gap: 16px; margin-top: 24px; }
.directory-collection { display: flex; flex-direction: column; text-align: left; padding: 24px; border: 1px solid #b9d4d329; border-radius: 20px; background: #101c1a; color: #e6efeb; transition: border-color 200ms, background 200ms; }
.directory-collection:hover { border-color: #64d39d77; background: #142820; }
.directory-collection > span { font-size: 12px; color: #7dddac; }
.directory-collection h3 { font: 700 21px/1.2 'Manrope',sans-serif; margin-top: 20px; }
.directory-collection p { font-size: 13px; line-height: 1.6; color: #acbeb5; margin-block: 14px 24px; }
.directory-collection-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.directory-collection-bottom > div { display: flex; gap: 4px; }
.directory-collection-bottom > span { color: #a8d8c1; font-size: 23px; }
.author-page { padding-block: 26px 30px; }
.author-page-toolbar { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 24px; }
.public-back, .author-share { min-height: 44px; padding: 10px 0; color: #b6c9c0; font: 600 14px 'Manrope',sans-serif; }
.public-back:hover, .author-share:hover { color: #7cf0ad; }
.author-share span { margin-left: 12px; }
.author-layout { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(0, 2fr); gap: clamp(20px, 3vw, 42px); align-items: start; }
.author-identity { min-width: 0; padding: clamp(24px, 2.6vw, 38px); border: 1px solid #afd6c936; border-radius: 26px; background: radial-gradient(ellipse at 10% 0%, #17543b66, transparent 60%), #0d1718; }
.author-photo { margin-bottom: 25px; }
.author-identity h1 { font: 700 clamp(28px, 2.8vw, 42px)/1.06 'Manrope',sans-serif; letter-spacing: -.04em; overflow-wrap: anywhere; }
.author-handle { color: #9eb5a9; font-size: 14px; overflow-wrap: anywhere; margin-block: 13px 22px; }
.author-description { font-size: 15px; line-height: 1.75; color: #c2d0c9; white-space: pre-line; overflow-wrap: anywhere; margin-block: 24px; }
.author-audience { border-top: 1px solid #9cc3b32b; padding-top: 20px; display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.author-audience strong { font-size: clamp(24px, 2.7vw, 36px); font-weight: 650; white-space: nowrap; }
.author-audience span { font-size: 12px; line-height: 1.5; color: #a2b9ad; }
.author-contact { width: 100%; font-size: 13px; gap: 10px; padding-inline: 14px; }
.author-content { min-width: 0; }
.author-mobile-details { display: none; }
.author-share-fallback { margin-bottom: 24px; padding: 20px; border: 1px solid #b4d3c83b; border-radius: 14px; background: #101a1d; }
.author-share-fallback p { color: #e0c59a; line-height: 1.5; margin-bottom: 16px; }
.author-share-fallback label { display: block; color: #baccc7; font-size: 13px; margin-bottom: 8px; }
.author-share-fallback input { display: block; width: 100%; min-height: 44px; border: 1px solid #b4d3c83b; border-radius: 8px; background: #091214; color: #e5efeb; padding: 10px 12px; font: inherit; }
.author-content-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 2px 0 24px; }
.author-content h2 { font-size: clamp(25px, 2.6vw, 38px); line-height: 1.15; font-weight: 650; letter-spacing: -.035em; }
.author-content-heading > span { color: #8fa99c; font-size: 13px; white-space: nowrap; }
.author-platform-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.author-channel-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,235px),1fr)); gap: 16px; }
.author-channel { display: flex; flex-direction: column; gap: 20px; min-width: 0; padding: 23px; border: 1px solid #b4d3c82b; border-radius: 21px; background: linear-gradient(140deg,#172226,#0c1519); transition: border-color 200ms, background-color 200ms, box-shadow 200ms; }
.author-channel:hover { border-color: #66d49e99; box-shadow: 0 8px 28px #0004; background-color: #143127; }
.author-channel-head { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; color: #aabeb4; }
.author-channel-head .platform-symbol { width: 44px; height: 44px; border-radius: 13px; }
.author-channel-title { min-width: 0; font-size: 19px; line-height: 1.4; font-weight: 650; overflow-wrap: anywhere; }
.author-channel-title.is-handle { font-size: 16px; }
.author-channel-head > span:last-child { margin-left: auto; color: #9cbfae; font-size: 23px; font-weight: 400; }
.author-channel-handle { font-size: 14px; line-height: 1.5; color: #aabeb4; overflow-wrap: anywhere; }
.author-channel-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 14px; margin-top: auto; padding-top: 16px; border-top: 1px solid #b4d3c81c; }
.author-channel-bottom strong { display: block; font-size: 29px; font-weight: 650; letter-spacing: -.03em; line-height: 1.2; }
.author-channel-bottom div > span { display: block; font-size: 11px; color: #8da69a; margin-top: 3px; }
.author-channel-open { font-size: 11px; color: #8cdeb5; }
.author-articles { margin-top: 38px; }
.author-articles h2 { margin-bottom: 20px; }
.author-articles > a { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; border-top: 1px solid #afd4c42b; font-size: 17px; line-height: 1.5; }
.author-articles > a:hover { color: #72e3a5; }
.author-collection-overlay { padding: 24px; }
.author-collection-dialog { position: relative; width: min(1100px,100%); max-height: calc(100svh - 48px); overflow-y: auto; padding: clamp(24px, 4vw, 48px); border: 1px solid #b3daca33; border-radius: 26px; background: #081113; }
.author-collection-dialog > h2 { font-size: clamp(28px, 3vw, 42px); max-width: 90%; line-height: 1.1; margin-bottom: 16px; }
.author-collection-dialog > p { color: #b4c6bc; margin-bottom: 28px; }
@media (max-width: 1000px) {
  .author-layout { grid-template-columns: minmax(0,1fr); }
  .author-identity { padding: 22px; }
  .author-identity-header { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 18px; align-items: center; }
  .author-photo { width: 72px !important; height: 72px !important; border-radius: 18px !important; margin: 0; }
  .author-identity .public-eyebrow { font-size: 10px; margin-bottom: 9px; }
  .author-identity h1 { font-size: clamp(25px, 3.5vw, 34px); }
  .author-handle { font-size: 12px; margin-block: 10px 0; }
  .author-identity .author-tags { margin-top: 18px; }
  .author-desktop-details { display: none; }
  .author-mobile-details { display: block; margin-top: 24px; padding: 22px; border: 1px solid #afd6c936; border-radius: 22px; background: #0d1718; }
  .author-mobile-details details { margin-bottom: 20px; }
  .author-mobile-details summary { min-height: 44px; padding-block: 10px; cursor: pointer; font-size: 18px; font-weight: 650; }
  .author-mobile-details .author-description { margin-block: 12px 24px; }
  .author-mobile-details .author-contact { max-width: 340px; }
  .author-description { max-width: 75ch; }
}
@media (max-width: 700px) {
  .directory-title { align-items: start; flex-direction: column; }
  .directory-title > a { min-height: 44px; padding: 10px 16px; }
  .directory-controls { grid-template-columns: minmax(0,1fr) 125px; }
  .directory-search { grid-column: 1/-1; }
  .directory-filters { flex-direction: column; gap: 20px; }
  .directory-audience { width: 100%; }
  .directory-results { align-items: start; flex-direction: column; }
  .directory-results > label { width: 100%; justify-content: space-between; }
  .directory-card { padding: 22px; }
  .author-page-toolbar { gap: 12px; }
  .author-share { font-size: 12px; }
  .author-identity { padding: 20px; }
  .author-content-heading { flex-wrap: wrap; }
  .author-content-heading h2 { font-size: 28px; }
  .author-collection-overlay { padding: 12px; }
  .author-collection-dialog { max-height: calc(100svh - 24px); }
}
@media (max-width: 420px) {
  .author-identity-header { grid-template-columns: 60px minmax(0,1fr); gap: 14px; }
  .author-photo { width: 60px !important; height: 60px !important; border-radius: 15px !important; }
  .author-identity h1 { font-size: 25px; }
  .author-channel-grid { grid-template-columns: minmax(0,1fr); }
  .directory-card-head .avatar { width: 60px !important; height: 60px !important; }
  .directory-card h3 { font-size: 19px; }
  .author-audience { flex-wrap: wrap; }
  .public-back, .author-share { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .directory-card, .directory-collection, .author-channel { transition: none; }
}
.directory-card-bottom { display: grid; }
.directory-card-head { min-height: 80px; }
.public-document #public-header { position: sticky; top: 0; z-index: 90; min-height: 86px; }
.public-document #public-header .brand-header { position: relative; }
.public-document .legal-page { width: min(calc(100% - 40px), 900px); margin: 40px auto 70px; padding: clamp(24px, 4.5vw, 60px); border: 1px solid #b9d8ca26; border-radius: 26px; background: #0d1719; font: 16px/1.8 'Manrope',sans-serif; }
.public-document .legal-page h1 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.035em; line-height: 1.13; margin-bottom: 22px; overflow-wrap: anywhere; }
.public-document .legal-page h2 { font-size: clamp(21px, 2.5vw, 27px); line-height: 1.3; letter-spacing: -.025em; margin: 38px 0 16px; color: #ecf5ef; }
.public-document .legal-page :is(p,li) { color: #bdcec4; overflow-wrap: anywhere; }
.public-document .legal-page p { margin-bottom: 18px; }
.public-document .legal-page .meta { color: #89a799; font-size: 13px; }
.public-document .legal-page .legal-back { display: inline-block; color: #90b7a2; font-size: 14px; margin-bottom: 30px; text-decoration: none; }
.public-document .legal-page a { color: #69e3a5; }
.public-document .legal-page ul { padding-left: 22px; }
.public-document .legal-page strong { color: #f0f7f3; }
.public-document .legal-page .home-button { color: #031d10; text-decoration: none; }
.public-document .legal-section-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
@media (max-width: 600px) {
  .public-document .legal-page { width: calc(100% - 24px); padding: 24px; margin-block: 22px 40px; font-size: 15px; }
  .public-document .legal-section-grid { grid-template-columns: minmax(0,1fr); }
}
.author-identity h1:focus { outline: none; }

/* Shared configurable colors; the label rule never reaches platform symbols. */
.author-tags > span, .directory-topics button:not([aria-pressed="true"]) {
  color: color-mix(in srgb, var(--tag-color, #75cda0) 45%, white);
  background: color-mix(in srgb, var(--tag-color, #75cda0) 13%, #0b1418);
  border-color: color-mix(in srgb, var(--tag-color, #75cda0) 42%, transparent);
}
.author-platform-filter button[data-platform]:not([aria-pressed="true"]) > span { color: color-mix(in srgb, var(--platform-color) 65%, white); }
