/* thefrontal.tech for people: the app's search, on the web. White, ink, one box. */
.people { font-size: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.p-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.p-logo img { width: 28px; height: 28px; }
.p-nav { display: flex; align-items: center; gap: 24px; font-size: 14.5px; }
.p-nav a:not(.pill) { color: var(--ink-2); }
.p-nav a:not(.pill):hover { color: var(--ink); }

.p-hero { display: flex; flex-direction: column; align-items: center; padding: 11vh 20px 28px; transition: padding .35s var(--ease); }
.p-mark { width: 72px; height: 72px; margin-bottom: 30px; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .25s; }
.p-box { position: relative; width: min(680px, 100%); display: flex; align-items: flex-start; gap: 10px; padding: 14px 14px 14px 20px; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 6px 24px rgba(0, 0, 0, .07); transition: box-shadow .2s, border-color .2s; }
.p-box:focus-within { border-color: #d9d9e0; box-shadow: 0 8px 30px rgba(0, 0, 0, .1); }
.p-glass { width: 20px; height: 20px; flex: none; margin-top: 9px; fill: none; stroke: var(--ink-2); stroke-width: 1.8; stroke-linecap: round; }
.p-box textarea { flex: 1; min-width: 0; border: 0; outline: 0; resize: none; background: transparent; font: 400 18px/1.45 var(--font); color: var(--ink); padding: 6px 0; max-height: 180px; }
.p-box textarea::placeholder { color: var(--ink-3); }
.p-go { flex: none; height: 38px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 600 14.5px var(--font); cursor: pointer; }
.p-go:hover { opacity: .88; }
.p-clear { flex: none; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink-2); font-size: 20px; line-height: 1; cursor: pointer; }
.p-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.p-chips button { height: 36px; padding: 0 15px; border: 0; border-radius: 999px; background: var(--soft); color: var(--ink-2); font: 500 14.5px var(--font); cursor: pointer; }
.p-chips button:hover { color: var(--ink); background: #efeff3; }
.p-tag { margin: 22px 0 0; color: var(--ink-3); font-size: 14.5px; text-align: center; }

/* Searching: the mark and extras step aside, the box stays. */
.people.searching .p-hero { padding-top: 8px; padding-bottom: 8px; }
.people.searching .p-mark { width: 0; height: 0; margin: 0; opacity: 0; }
.people.searching .p-chips, .people.searching .p-tag, .people.searching .p-home { display: none; }

.p-results, .p-home { width: min(720px, 100% - 40px); margin: 0 auto; }
.p-home { width: min(1040px, 100% - 40px); padding: 28px 0 80px; }
.p-cols { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; }
.p-h { font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--ink-2); margin: 18px 0 4px; line-height: 1.4; }
.p-gap { margin-top: 36px; }
.p-results { padding: 6px 0 90px; }
.p-row { display: block; width: 100%; text-align: left; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; color: inherit; cursor: pointer; }
a.p-row:hover .p-title, button.p-row:hover .p-title { text-decoration: underline; }
.p-title { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.p-sub { margin-top: 3px; color: var(--ink-2); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.p-meta { margin-top: 5px; color: var(--ink-3); font-size: 13px; }
.p-meta b { font-weight: 600; }
.p-answer { cursor: pointer; }
.p-answer .p-body { font-size: 16.5px; line-height: 1.55; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.p-answer.open .p-body { display: block; }
.p-answer .p-meta .ok { color: var(--green); }
.p-answer .p-meta a { color: var(--ink); font-weight: 600; }
.p-opts { display: none; margin-top: 10px; gap: 8px; flex-direction: column; }
.p-row.open .p-opts { display: flex; }
.p-opt { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; background: var(--soft); border-radius: 12px; font-size: 15px; }
.p-opt span:last-child { color: var(--ink-3); white-space: nowrap; }
.p-appline { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.p-appline a { color: var(--ink); font-weight: 600; text-decoration: underline; }
.p-comm { display: flex; gap: 12px; align-items: center; }
.p-badge { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 17px; }
.p-note { color: var(--ink-3); font-size: 12.5px; margin: 10px 0 0; line-height: 1.5; }
.p-empty { color: var(--ink-2); padding: 24px 0; }
.p-load { padding: 40px 0; text-align: center; color: var(--ink-3); }
.p-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13.5px; }
.p-foot nav { display: flex; gap: 22px; }
.p-foot a:hover { color: var(--ink); }
@media (max-width: 760px) {
  .p-cols { grid-template-columns: 1fr; gap: 12px; }
  .p-nav { gap: 14px; font-size: 13.5px; }
  .p-nav a[href="#communities"] { display: none; }
  .p-hero { padding-top: 7vh; }
  .p-box textarea { font-size: 17px; }
}

/* ---------- The full site: header, pages, forms ---------- */
.p-top { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); padding: 10px 24px; gap: 16px; }
.p-nav { gap: 4px; margin-right: auto; margin-left: 18px; }
.p-nav a { padding: 7px 13px; border-radius: 999px; font-weight: 500; }
.p-nav a.on { background: var(--soft); color: var(--ink) !important; font-weight: 600; }
.p-right { display: flex; align-items: center; gap: 12px; font-size: 14.5px; }
.p-quiet { color: var(--ink-3); } .p-quiet:hover { color: var(--ink); }
button.pill { border: 0; font: 600 14.5px var(--font); cursor: pointer; }
.p-ghost { height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 600 14.5px var(--font); color: var(--ink); cursor: pointer; }
.p-ghost:hover { border-color: #d5d5dc; }
.p-avatar, .av { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 14px; background: var(--ink); }
.av.sm { width: 26px; height: 26px; font-size: 11px; }
.av.lg { width: 64px; height: 64px; font-size: 24px; }
.p-alt { flex: none; height: 38px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font: 600 14.5px var(--font); cursor: pointer; }
.p-alt:hover { border-color: #cfcfd8; }
.people.routed .p-hero, .people.routed .p-home, .people.routed .p-results { display: none; }
.p-page { width: min(720px, 100% - 40px); margin: 0 auto; padding: 22px 0 100px; min-height: 60vh; }
.p-back { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 14.5px; margin-bottom: 14px; background: none; border: 0; cursor: pointer; padding: 0; font-family: inherit; }
.p-back:hover { color: var(--ink); }
.p-h1 { font-size: clamp(26px, 4vw, 34px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 700; margin: 4px 0 8px; }
.p-lead { color: var(--ink-2); font-size: 17px; line-height: 1.55; margin: 0 0 18px; white-space: pre-line; }
.p-row:hover { background: linear-gradient(#fafafb, #fafafb) no-repeat; background-size: 100% 100%; box-shadow: -12px 0 0 #fafafb, 12px 0 0 #fafafb; }
.p-option { position: relative; display: block; width: 100%; text-align: left; margin: 0 0 10px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; font: inherit; cursor: pointer; overflow: hidden; transition: border-color .15s; }
.p-option:hover { border-color: #cfcfd8; }
.p-option.mine { border-color: var(--ink); }
.p-option .fill { position: absolute; inset: 0 auto 0 0; background: var(--soft); z-index: 0; transition: width .5s var(--ease); }
.p-option .in { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.p-option b { font-weight: 600; font-size: 16.5px; }
.p-option .n { color: var(--ink-2); font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.p-form { border: 1.5px solid var(--ink); border-radius: 18px; padding: 16px; margin: 0 0 14px; display: grid; gap: 12px; }
.p-seg { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 3px; gap: 2px; }
.p-seg button { border: 0; background: none; padding: 7px 14px; border-radius: 999px; font: 500 14px var(--font); color: var(--ink-2); cursor: pointer; }
.p-seg button.on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.p-input, .p-area { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font: 400 16px/1.5 var(--font); color: var(--ink); background: #fff; outline: 0; resize: vertical; }
.p-input:focus, .p-area:focus { border-color: var(--ink); }
.p-big { border: 0; padding: 0; border-radius: 0; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; resize: none; }
.p-btn { height: 42px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 600 15px var(--font); cursor: pointer; }
.p-btn:disabled { opacity: .4; cursor: default; }
.p-btn.wide { width: 100%; height: 48px; font-size: 16px; }
.p-line { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.p-line.end { justify-content: flex-end; }
.p-react { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--soft); color: var(--ink-2); font: 500 13.5px var(--font); cursor: pointer; }
.p-react.on { background: var(--ink); color: #fff; }
.p-react.love.on { background: #ffe4ea; color: #e11d48; }
.p-who { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.p-who b { color: var(--ink); font-weight: 600; }
.p-text { font-size: 16.5px; line-height: 1.55; white-space: pre-line; margin: 6px 0 8px; overflow-wrap: anywhere; }
.p-card { background: var(--soft); border-radius: 16px; padding: 16px; margin: 12px 0; font-size: 15px; line-height: 1.5; }
.p-card a { text-decoration: underline; font-weight: 600; }
.p-banner { height: 120px; border-radius: 20px; margin-bottom: -30px; }
.p-chead { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 0 6px; margin-bottom: 10px; }
.p-chead .p-badge { width: 68px; height: 68px; border-radius: 18px; font-size: 28px; border: 4px solid #fff; }
.p-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin: 14px 0 4px; }
.p-tabs button { border: 0; background: none; padding: 10px 0; font: 500 15px var(--font); color: var(--ink-2); cursor: pointer; border-bottom: 2.5px solid transparent; margin-bottom: -1px; }
.p-tabs button.on { color: var(--ink); font-weight: 650; border-bottom-color: var(--ink); }
.p-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.p-topics button { height: 34px; padding: 0 13px; border: 0; border-radius: 999px; background: var(--soft); font: 500 14px var(--font); color: var(--ink); cursor: pointer; }
.p-topics button.on { background: var(--ink); color: #fff; }
.p-err { color: #e11d48; font-size: 14px; margin: 0; min-height: 1.2em; }
.p-modal { position: fixed; inset: 0; z-index: 50; background: rgba(10,10,15,.42); display: grid; place-items: center; padding: 16px; animation: fade .18s ease-out; }
.p-modal[hidden] { display: none; }
.p-sheet { width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 24px; padding: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.25); animation: rise .25s var(--ease); display: grid; gap: 14px; }
.p-sheet h2 { font-size: 24px; letter-spacing: -0.025em; }
.p-x { justify-self: end; border: 0; background: var(--soft); width: 34px; height: 34px; border-radius: 50%; font-size: 18px; cursor: pointer; margin-bottom: -8px; }
.p-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 60; background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 500; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
@keyframes fade { from { opacity: 0; } } @keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.p-page > * { animation: rise .28s var(--ease) both; }
@media (max-width: 760px) {
  .p-top { padding: 8px 14px; gap: 8px; } .p-nav { margin-left: 4px; } .p-nav a { padding: 6px 9px; font-size: 13.5px; }
  .p-quiet { display: none; } .p-right { gap: 8px; }
  .p-nav a[href="#communities"] { display: inline; }
}

.people [hidden] { display: none !important; }
.p-top a, .p-top button { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 520px) {
  .p-nav a[data-nav="home"] { display: none; }
  .p-nav { margin-left: 0; }
  .p-top { padding: 8px 12px; }
}

/* Left sidebar: places, your things, communities. Fixed on wide screens, a drawer on small ones. */
.p-top { height: 56px; padding-top: 0; padding-bottom: 0; justify-content: flex-start; }
.p-right { margin-left: auto; }
.p-menu { display: none; width: 38px; height: 38px; border: 0; border-radius: 50%; background: none; cursor: pointer; place-items: center; color: var(--ink); }
.p-menu:hover { background: var(--soft); }
.p-menu svg, .p-side svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.p-side { position: fixed; top: 56px; bottom: 0; left: 0; width: 264px; z-index: 25; overflow-y: auto; padding: 14px 12px 24px; background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.p-side a { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 12px; border-radius: 10px; font-size: 14.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-side a:hover { background: var(--soft); }
.p-side a.on { background: var(--soft); font-weight: 600; }
.p-side-h { margin: 14px 0 4px; padding: 14px 12px 0; border-top: 1px solid var(--line); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.p-badge.xs { width: 24px; height: 24px; border-radius: 7px; font-size: 12px; flex-shrink: 0; }
.p-side-new { height: 40px; padding: 0 12px; border: 0; border-radius: 10px; background: none; font: 500 14.5px var(--font); color: var(--ink-2); text-align: left; cursor: pointer; }
.p-side-new:hover { background: var(--soft); color: var(--ink); }
.p-side-foot { margin-top: auto; padding: 18px 12px 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--ink-3); }
.p-side-foot a { display: inline; height: auto; padding: 0; font-size: 12.5px; color: var(--ink-3); }
.p-side-foot a:hover { background: none; color: var(--ink); }
.p-shade { display: none; }
@media (min-width: 1000px) {
  .people main { margin-left: 264px; }
  .people .p-foot { display: none; }
  .p-home .p-cols { grid-template-columns: 1fr; width: min(720px, 100%); margin: 0 auto; }
  .p-home #communities, .p-home #comms { display: none; }
}
@media (max-width: 999px) {
  .p-menu { display: grid; margin-left: -6px; }
  .p-side { top: 0; z-index: 45; width: min(290px, 84vw); transform: translateX(-102%); transition: transform .28s var(--ease); box-shadow: 0 0 60px rgba(0,0,0,.18); }
  .people.menu .p-side { transform: none; }
  .people.menu .p-shade { display: block; position: fixed; inset: 0; z-index: 44; background: rgba(10,10,15,.38); animation: fade .2s ease-out; }
}

/* Sign in with another service, and the friends page */
.p-idps { display: grid; gap: 8px; }
.p-idps:empty { display: none; }
.p-idp { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font: 600 15px var(--font); color: var(--ink); cursor: pointer; transition: background .15s, border-color .15s; }
.p-idp:hover { background: var(--soft); border-color: #d5d5dc; }
.p-idp svg { width: 19px; height: 19px; flex: none; }
.p-or { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 13px; margin: 6px 0 2px; }
.p-or::before, .p-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.p-linkbtn { display: inline-flex; align-items: center; text-decoration: none; }
.p-inline { color: var(--ink); font-weight: 600; text-decoration: underline; }
.p-comm .p-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-tabs { overflow-x: auto; scrollbar-width: none; } .p-tabs button { white-space: nowrap; }
