/* People-first connection flow. Scoped here to avoid changing legacy modal geometry. */
.connections-page,.asks-page{max-width:900px;margin:0 auto;padding:12px 0 40px}
.connections-page h1,.asks-page h1{font-size:clamp(1.6rem,3vw,2.2rem)}
.connections-page .section-top,.asks-page .section-top{gap:16px;flex-wrap:wrap}
.connections-page>p,.asks-page>p,.ask-flow p,.field-label,.ask-tracking-card small,.home-next .pill{font-family:system-ui,sans-serif;line-height:1.7}
#people-search,#ask-search,#ask-person-search,#join-link{width:100%;min-width:0;min-height:48px;border:1px solid #8993a0;background:#fff;border-radius:9px;padding:12px;font:inherit}
.connection-person{display:flex;gap:16px;justify-content:space-between;align-items:center;border-bottom:1px solid #c8c4ba;padding:20px 0;flex-wrap:wrap}
.connection-person>span,.connection-person>a{min-width:0;overflow-wrap:anywhere}
.connection-person small{display:block;color:#596370;font-size:.82rem}
.connection-person .person-link{flex:1;font-weight:600}
.connections-page .quiet-empty{padding:24px 12px;margin:16px 0;text-align:left;background:#e9edf1;border-radius:12px}
.connections-page .quiet-empty small{display:block;margin-top:16px;line-height:1.8}
.join-link,.connection-management,.optional-groups{margin-top:32px;border-top:1px solid #e9edf1;padding-top:24px}
.join-link form,.ask-custom form{display:grid;gap:12px;margin-top:16px}
.connection-ask-box{display:block;padding:20px;background:#e9edf1;border-radius:12px;margin:24px 0;color:#253449;font-weight:600}
.optional-groups h2,.asks-page>h2{font-size:1.3rem;margin:24px 0 8px}
.optional-groups p{margin:8px 0}
.connection-management summary,.join-link summary,.ask-custom summary{cursor:pointer;min-height:44px;line-height:1.6}
.ask-tracking-card{padding:24px;border:1px solid #c8c4ba;background:#fffefa;border-radius:16px;margin:16px 0 24px;overflow-wrap:anywhere}
.ask-tracking-card h3{font-size:1.25rem;line-height:1.7;margin:16px 0}
.ask-tracking-card .pill,.home-next .pill{color:#253449;background:#e9edf1;font:600 .85rem/1.5 system-ui,sans-serif}
.ask-tracking-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}
.ask-flow .ask-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ask-flow .ask-card{display:flex;align-items:center;gap:12px;min-width:0;text-align:left;padding:18px;min-height:130px;height:auto}
.ask-flow .ask-card img{width:70px;height:70px;object-fit:contain;flex:none}
.ask-flow .ask-card span{min-width:0;line-height:1.65}
.ask-flow .ask-card small{display:block;font:400 .75rem/1.5 system-ui,sans-serif;color:#596370;margin-bottom:6px}
.ask-flow .ask-pagination{display:flex;justify-content:space-between;align-items:center;margin:16px 0 24px}
.ask-flow .ask-custom{border-top:1px solid #c8c4ba;padding-top:20px}
.ask-flow .person-choice{width:100%;display:flex;justify-content:space-between;margin:8px 0;padding:16px;border:1px solid #c8c4ba;border-radius:10px;background:#fff}
.question-with-send{min-width:0;display:flex;flex-direction:column;align-items:stretch}
.question-with-send>.question-card{flex:1;width:100%}
.question-with-send>[data-send-question]{align-self:flex-end;font-size:.85rem;padding:8px 12px;min-height:44px}
.home-next{padding:24px;border-left:4px solid #253449;background:#e9edf1;border-radius:12px;margin:20px 0}
.home-next h2{font:600 1.15rem/1.6 system-ui,sans-serif;margin:12px 0 8px}
.home-asks-status{display:block;margin:16px 0;font:500 .95rem/1.7 system-ui,sans-serif}
.story-translation:not([open]){background:transparent;border:0;padding:0;margin:16px 0;font-size:.88rem}
.story-translation summary{min-height:44px;padding:10px 0}
.entry-other-relationships{margin:0 auto;padding:48px 24px;max-width:980px;border-top:1px solid #e9edf1}
.entry-other-relationships h2{font-size:clamp(1.4rem,3vw,2rem);line-height:1.7;text-wrap:balance}
.entry-other-relationships p{font:400 1rem/1.9 system-ui,sans-serif}
.priority-entry .episode-heading h3,.priority-entry #family-example-title{text-wrap:balance;word-break:normal;overflow-wrap:break-word}
#connection-url{width:100%;overflow-wrap:anywhere;min-height:90px;font: .85rem/1.6 system-ui,sans-serif}
.connections-page :focus-visible,.asks-page :focus-visible,.ask-flow :focus-visible{outline:3px solid #253449;outline-offset:3px}
@media(max-width:760px){
.connections-page,.asks-page{padding:0 0 32px}.connection-person{gap:12px;padding:16px 0}.connection-person .button{padding:10px 14px;font-size:.9rem}
.connections-page>.section-top,.optional-groups>.section-top{align-items:flex-start}.connections-page>.section-top .button{font-size:.9rem}
.ask-flow .ask-cards{grid-template-columns:1fr}.ask-flow .ask-card{min-height:102px;padding:14px}.ask-flow .ask-card img{width:56px;height:56px}
.ask-tracking-card{padding:18px}.ask-tracking-card h3{font-size:1.15rem}.ask-tracking-card>.button{display:block;width:100%;margin:12px 0}
.closed-home .today-prompt{padding:24px 20px;min-height:0}.closed-home .today-prompt h2{font-size:1.3rem;line-height:1.7}.closed-home .home-question-art{width:100px;height:66px}
.home-next{padding:20px}.priority-entry .family-example{padding-top:36px;padding-bottom:36px}.priority-entry .episode-heading h3{font-size:1.22rem}.entry-other-relationships{padding:32px 20px}
.optional-groups>.section-top .button{width:100%}.ask-tracking-actions .button{width:100%}
}
.ask-flow .first-story-head{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between}
.ask-flow .first-story-head>.text-button{flex:0 0 auto;width:auto;max-width:100%;white-space:normal;padding:8px 0;border:0;margin:0;font:400 .9rem/1.6 system-ui,sans-serif}
.ask-flow #ask-back{white-space:nowrap}
.ask-flow .ask-card[data-theme=everyday]{background:#f1ebdf}.ask-flow .ask-card[data-theme=memories]{background:#e8eef1}.ask-flow .ask-card[data-theme=people]{background:#f4e7e3}.ask-flow .ask-card[data-theme=life]{background:#e9edf1}.ask-flow .ask-card[data-theme=values]{background:#eeebf3}.ask-flow .ask-card[data-theme=future]{background:#f1ebdf}
#question-results .question-view-gallery .question-with-send{flex:0 0 360px;width:360px;scroll-snap-align:start}
#question-results .question-view-gallery .question-with-send>.illustrated-question{flex:1 0 auto}
#question-results .question-with-send>.illustrated-question{height:100%}
@media(max-width:600px){#question-results .question-view-gallery .question-with-send{width:calc(100vw - 86px);flex-basis:calc(100vw - 86px)}.optional-groups h2{margin:0 0 8px}.optional-groups{padding-top:20px;margin-top:24px}}
.connections-page>p{text-wrap:pretty}
/* Second review: separate editorial titles from everyday controls. */
.interaction-filters,.ask-tracking-card time,.ask-tracking-card .pill,.connections-page>p,.group-create p,.question-refine,.entry-product-preview p,.entry-product-preview small,.media-capture p,.capture-steps{font-family:var(--font-sans,system-ui,sans-serif)}
.question-refine{margin:12px 0 20px;border:1px solid var(--line);border-radius:12px;padding:12px 16px;background:#fff}
.question-refine>summary{cursor:pointer;min-height:24px;color:#253449;font-weight:600}
.question-refine[open]>summary{margin-bottom:16px}
.question-refine .question-search-field{display:block!important}
.question-refine .question-filter-row{margin:12px 0}
.question-result-count{margin-top:8px!important}
.interaction-filters{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0 8px}
.interaction-filters label{display:grid;gap:6px;font-size:.875rem}
.interaction-filters select,.interaction-filters input{width:100%;min-width:0;min-height:48px}
.ask-inbox-grid{display:grid;gap:16px}.ask-inbox-grid article{margin:0}.ask-inbox-grid article[hidden]{display:none}
.ask-tracking-card time{display:block;font-size:.8rem;color:var(--muted);margin:8px 0}
.ask-more{margin-top:8px}.ask-more summary{font-size:.875rem;cursor:pointer}
.group-people-picker{border:0;padding:12px 0}.group-people-picker label{display:flex;align-items:center;gap:12px;min-height:48px;padding:8px;border-bottom:1px solid var(--line)}
.group-people-picker input{width:20px;height:20px;margin:0}.group-people-picker legend{font-size:1rem;font-weight:600}
.group-inbox{background:#e9edf1;border:1px solid #c8c4ba;border-radius:16px;padding:20px;margin:16px 0 24px}.group-inbox h2{font-size:1.25rem;margin:0 0 12px}.group-inbox article+article{margin-top:20px;border-top:1px solid var(--line);padding-top:16px}
.entry-product-preview{max-width:1100px;margin:24px auto 64px;padding:32px 24px}.entry-product-preview>h2{font-size:clamp(1.35rem,2.4vw,1.8rem);line-height:1.7}.entry-product-preview>p{color:var(--muted);font-size:.8rem}
.entry-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.entry-preview-grid article>small{display:block;font-size:.9rem;font-weight:600;margin:12px 0}.entry-preview-grid article>p{font-size:.875rem;line-height:1.8}
.preview-question .illustrated-question{width:100%;min-height:240px;pointer-events:none}.preview-question .question-card-title{font-size:1.15rem}.preview-question .question-card-arrow{display:none}.preview-question .question-experience-note{display:none}
.preview-record,.preview-reply{background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px;min-height:240px;box-shadow:0 4px 12px #25344910}.preview-record strong,.preview-reply strong{display:block;font-size:.85rem;margin:12px 0}.preview-record h3{font-size:1.1rem}.preview-record p,.preview-reply p{font-size:1rem;line-height:1.9}.preview-reply{background:#e9edf1}
.capture-steps{display:flex;list-style:none;gap:12px;padding:0;counter-reset:capture}.capture-steps li{font-size:.875rem;counter-increment:capture}.capture-steps li:before{content:counter(capture) ' ';font-weight:700;color:#253449}
.home-other-question{margin:16px 0}.entry-description{text-wrap:pretty}
@media(max-width:760px){.entry-preview-grid{grid-template-columns:1fr}.entry-product-preview{margin:8px 0 24px;padding:20px}.entry-preview-grid{gap:12px}.preview-question .illustrated-question{min-height:190px}.preview-record,.preview-reply{min-height:0}.entry-product-preview>h2{text-wrap:balance}.interaction-filters{grid-template-columns:1fr}.group-create .modal-actions>.button{white-space:normal}.question-refine{margin-top:0}.review-questions .question-card-title{font-size:1.125rem}.review-questions .illustrated-question{min-height:210px;padding:20px}.review-questions .question-card-foot img{height:68px;width:104px}.review-questions .question-with-send{margin-bottom:12px}.asks-page>.section-top h1{font-size:1.45rem}}
@media(prefers-reduced-motion:reduce){.entry-product-preview *{animation:none!important;transition:none!important}}

.group-pending{padding:16px;background:var(--paper,#f1ebdf);border:1px solid var(--line,#c8c4ba);border-radius:12px;margin-block:16px}.group-pending>div{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.entry-product-preview .preview-question .illustrated-question{background:#e8eef1;border:1px solid #c2d0d6;border-radius:15px;box-shadow:0 3px 0 -1px #b8ccd4,0 5px 0 -2px #fff,0 7px 0 -3px #b8ccd4;padding:24px;display:flex;flex-direction:column;gap:20px;text-align:left}
.entry-product-preview .question-card-meta{font:14px/1.6 system-ui,sans-serif}.entry-product-preview .question-card-foot{margin-top:auto}
/* Clear edges and editorial hierarchy, keeping the quiet palette. */
body{--line:#c8c4ba;--muted:#596370}
.connections-page,.asks-page,.closed-home{color:#253449}
.connections-page .optional-groups,.connections-page .connection-management{border-top-color:#8993a0}
.illustrated-question,.integrated-group-card,.review-story-card,.settings-card{border-color:#c8c4ba!important}
.integrated-group-card,.review-story-card{box-shadow:0 3px 0 #25344912}
.entry-nav{border-bottom:1px solid #c8c4ba}
.entry-usecases,.entry-notebook{max-width:1100px;margin:48px auto 64px;padding:32px 24px}
.entry-usecases>h2,.notebook-copy>h2{font-size:clamp(1.6rem,3vw,2.3rem);line-height:1.65;margin:16px 0 32px}
.entry-usecase-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.entry-usecase-grid article{background:#f1ebdf;border:1px solid #c4b7a4;border-top:4px solid #9b7961;border-radius:14px;padding:28px;box-shadow:0 4px 0 #25344910}
.entry-usecase-grid article:nth-child(2){background:#e9edf1;border-color:#8993a0;border-top-color:#596370}
.entry-usecase-grid article:nth-child(3){background:#e9eff2;border-color:#acbdc6;border-top-color:#4c7287}
.entry-usecase-grid article:nth-child(4){background:#f1edf3;border-color:#bfb1c7;border-top-color:#80738a}
.entry-usecase-grid h3{font-size:1.45rem;line-height:1.7;margin:18px 0}
.usecase-label{font:600 .85rem/1.7 system-ui,sans-serif;color:#253449}
.entry-usecase-grid p,.entry-usecase-grid small,.notebook-copy p,.notebook-copy li,.notebook-copy small{font-family:system-ui,sans-serif;line-height:1.9}
.entry-usecase-grid .usecase-question{border-top:1px solid #8993a0;padding-top:16px;font-weight:600;font-size:.95rem}
.entry-usecase-grid small,.notebook-copy>small{display:block;color:#596370;font-size:.8rem;margin-top:16px}
.entry-notebook{display:grid;grid-template-columns:1fr 1.15fr;gap:56px;align-items:center;border-top:1px solid #8993a0;border-bottom:1px solid #8993a0;padding-block:48px}
.notebook-example{position:relative;min-height:380px;display:flex;align-items:center;justify-content:center;padding:32px 16px;background:#e9edf1;border:1px solid #c8c4ba;border-radius:16px;isolation:isolate}
.notebook-cover{position:relative;width:190px;flex:none;transform:rotate(-6deg);border-radius:2px 7px 7px 2px;overflow:hidden;box-shadow:5px 10px 18px #243c3533,-5px 0 0 #f8f4eb,-6px 0 0 #a3aaa0;margin-left:-48px}
.notebook-cover img{display:block;width:100%;height:auto}.notebook-cover>span{position:absolute;top:25px;left:18px;right:18px;color:#fff;font-size:1.3rem;text-align:center;text-shadow:0 1px 3px #16384a}.notebook-cover small{display:block;font:10px/2 system-ui;letter-spacing:.2em}
.notebook-page{transform:rotate(7deg);background:#fffef7;width:190px;min-height:270px;border:1px solid #c1beaf;box-shadow:4px 5px 0 #ddd9cd;padding:28px 18px;font-size:.85rem;line-height:2.1;margin-left:10px;order:2;z-index:-1}.notebook-page>small{border-bottom:1px solid #c1beaf;display:block;padding-bottom:12px}
.notebook-copy ol{padding-left:24px}.notebook-copy .button{white-space:normal}
.people-directory{border:1px solid #8993a0;border-top:4px solid #253449;background:#fffefa;border-radius:14px;padding:28px;margin:28px 0 32px;box-shadow:0 4px 0 #25344910}
.directory-heading h2{font-size:1.5rem;margin:12px 0}.directory-heading p,.directory-visibility p,.connection-request-inbox p{font:400 .9rem/1.8 system-ui,sans-serif;color:#253449}
.directory-search-row{display:flex;gap:12px}.directory-search-row input{flex:1;min-width:0;width:100%;min-height:48px;border:1px solid #8993a0;background:white;border-radius:8px;padding:12px;font:inherit}.directory-search-row button{flex:none}
#directory-search-status{font:400 .85rem/1.8 system-ui,sans-serif;min-height:24px;margin:14px 0}
.directory-person{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:20px 0;border-top:1px solid #c8c4ba}.directory-person-name{flex:1;min-width:120px}.directory-person strong{overflow-wrap:anywhere}.directory-person small{display:block;font:400 .8rem/1.8 system-ui,sans-serif;color:#596370;overflow-wrap:anywhere}.directory-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.directory-error{flex-basis:100%;color:#9c302b;margin:0!important}.directory-error:empty{display:none}
.directory-visibility{border-top:1px solid #c8c4ba;padding-top:16px;margin-top:20px}.directory-visibility>summary{cursor:pointer;min-height:44px;line-height:1.8}.directory-visibility label{display:flex;align-items:center;gap:12px;min-height:48px}.directory-visibility input{width:20px;height:20px;margin:0}.directory-own-id{overflow-wrap:anywhere}
.directory-sent{margin:24px 0}.directory-sent summary{min-height:44px;cursor:pointer}.connection-request-inbox{padding:24px;background:#e9edf1;border:1px solid #8993a0;border-radius:14px;margin-bottom:28px}.connection-request-inbox h2{font-size:1.25rem}.connection-request-banner{display:block;padding:18px 24px;background:#e9edf1;color:#253449;border:1px solid #596370;border-left:4px solid #253449;border-radius:12px;margin:16px 0;font:600 1rem/1.8 system-ui,sans-serif}
@media(max-width:760px){.entry-usecases,.entry-notebook{margin:24px 0 36px;padding:24px 20px}.entry-usecase-grid{grid-template-columns:1fr;gap:20px}.entry-usecase-grid article{padding:24px}.entry-usecase-grid h3{font-size:1.3rem}.entry-notebook{grid-template-columns:1fr;gap:24px}.notebook-example{min-height:320px}.notebook-cover{width:155px}.notebook-cover>span{font-size:1.1rem;left:12px;right:12px}.notebook-page{width:148px;min-height:240px;font-size:.7rem;margin-left:0}.notebook-copy>h2{margin-top:12px}.people-directory{padding:20px 16px}.directory-heading .eyebrow{font-size:.75rem;letter-spacing:.02em}.directory-heading h2{font-size:1.3rem}.directory-person{gap:12px}.directory-actions{width:100%;justify-content:flex-end}.directory-search-row{gap:8px}.directory-search-row button{padding:12px}.connection-request-inbox{padding:20px 16px}.directory-visibility>summary{font-size:.9rem}}
.entry-feature-links{display:flex;gap:8px 20px;flex-wrap:wrap;margin-top:20px}.entry-feature-links .text-button{font:500 .85rem/1.6 system-ui,sans-serif;padding:10px 0;min-height:44px}#entry-notebook,#entry-usecases{scroll-margin-top:28px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.notebook-cover>span{font-size:1rem;letter-spacing:.02em;white-space:nowrap}.notebook-cover small{color:#fff!important;text-shadow:0 1px 3px #16384a}.notebook-page p{font-size:.82rem!important;line-height:2!important;letter-spacing:0!important}
@media(max-width:760px){.notebook-cover>span{font-size:.8rem}.notebook-page p{font-size:.65rem!important}}
.notebook-cover{margin-left:0;margin-right:-28px;z-index:1}.notebook-cover>span{white-space:normal;word-break:keep-all}.notebook-page{flex:none}
@media(max-width:380px){.notebook-cover{width:130px;margin-right:-20px}.notebook-page{width:120px;min-height:210px;padding:20px 14px}.notebook-cover>span{font-size:.7rem;left:8px;right:8px}.notebook-example{padding-inline:8px}}
