/* Usability follow-up, after the reviewed design: shared controls and editor. */
.brand-image{background:transparent!important}.brand-image img{width:60px;height:63px;left:-12px;top:-11px;mix-blend-mode:normal}.home-tabs>a[aria-current=page]{background:#253449!important;color:#fff!important;border-color:#253449;font-weight:500}.home-tabs>a[aria-current=page] *{color:inherit}.renewed-home .today-prompt{background:#e9edf1;border:1px solid #c8c4ba!important;box-shadow:0 2px 6px #25344905;padding:28px;border-radius:16px}.home-about-link{display:flex;width:fit-content;min-height:44px;align-items:center;margin:0 0 8px auto;color:#596370;text-underline-offset:5px;font-size:14px}.signed-out #main>.entry-origin{display:block!important;position:static!important;margin:24px auto!important;padding:0 20px;text-align:center;width:auto!important;max-width:100%!important}.signed-out .entry-founder{display:inline-flex!important;min-height:44px;align-items:center;color:#253449!important;font-size:16px!important;text-decoration:underline;text-underline-offset:6px}
.writing-page .block-editor{padding:24px 20px 16px 4px}.writing-page .writing-block{display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px;position:relative;margin-bottom:28px;border:0;padding:0}.block-order{display:flex;flex-direction:column;align-items:center;gap:4px;padding-top:4px}.block-order button{width:40px;min-height:44px;background:transparent;border:1px solid transparent;border-radius:8px;color:#596370;font:20px var(--sans);cursor:pointer}.block-order button:hover:not(:disabled){background:#e9edf1;border-color:#c8c4ba}.block-order button:disabled{opacity:.25}.block-content{min-width:0}.writing-page .writing-block .block-tools{display:flex;gap:4px;flex-wrap:nowrap;overflow:visible;min-height:44px;max-width:100%;margin-bottom:12px}.writing-page .block-tools select{width:88px!important;min-width:88px!important;padding:4px;font-size:13px!important}.writing-page .block-tools button{min-width:40px;min-height:44px;width:40px;padding:4px;flex:0 0 40px}.writing-page .block-tools [aria-pressed=true]{color:white;background:#253449}.writing-page .block-insert{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.writing-page .block-insert button{background:transparent;color:#596370;border:1px dashed #e9edf1;font-size:13px;min-height:44px}.writing-block [contenteditable]{white-space:pre-wrap;overflow-wrap:anywhere;outline-offset:5px}.writing-block [contenteditable]:empty:before{content:attr(data-placeholder);color:#596370;pointer-events:none}.writing-page .block-heading [contenteditable]{font:500 26px/1.6 var(--serif);border-bottom:1px solid #e9edf1;padding:8px 0 12px}.writing-page .block-quote [contenteditable]{border-left:3px solid #596370;background:#e9edf1;padding:16px;font:400 18px/1.9 var(--serif)}.writing-block strong,.story-document strong{font-weight:800!important;font-synthesis:weight!important}.writing-block em,.story-document em{font-style:italic!important;font-synthesis:style!important}.block-tools strong{font-weight:800!important}.block-tools em{font-style:italic!important}.block-more>summary,.block-colors>summary{min-width:40px;width:40px;height:44px;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:8px;background:#e9edf1;list-style:none}.block-colors{position:relative;border:0!important;padding:0!important;margin:0!important}.block-colors>summary{flex-direction:column;line-height:20px}.block-colors>summary::-webkit-details-marker{display:none}.block-colors>summary>span{width:16px;height:3px;background:linear-gradient(90deg,#253449 33%,#98503b 33% 66%,#45617a 66%)}.block-colors:not([open])>.color-palette{display:none}.color-palette{position:absolute;right:0;top:48px;width:192px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;background:white;border:1px solid #e9edf1;border-radius:12px;padding:12px;box-shadow:0 8px 24px #25344922;z-index:55}.writing-page .color-palette button{width:48px;height:44px;min-width:44px;background:var(--swatch,#e9edf1);border:3px solid white;outline:1px solid #e9edf1;border-radius:8px;font-size:11px}.color-palette button:hover{outline:2px solid #253449}.writing-page .block-more-menu{min-width:230px;z-index:55}.writing-page .block-more-menu button{width:100%;text-align:left;min-width:0;height:auto;padding:8px;white-space:normal}.format-status{font-size:13px;color:#596370;padding-left:52px}.format-status:empty{display:none}.block-photo-edit{position:relative;display:block;padding:0!important;border:0;background:none;width:100%;cursor:pointer}.block-photo-edit img{display:block;object-fit:contain!important;height:auto!important;max-height:none!important;width:100%}.block-photo-edit>span{position:absolute;right:8px;bottom:8px;background:#fffef4ed;color:#253449;padding:6px 12px;border-radius:8px;font-size:12px}.editor-photo-status [hidden]{display:none!important}.editor-photo-status:has(#photo-status:empty):not(:has(#photo-error:not([hidden]))){display:none}.photo-reselect{display:flex;gap:12px;flex-wrap:wrap}.photo-reselect .button{flex:1;min-width:140px;min-height:44px}.photo-reselect input{display:none!important}.photo-adjust-fields{gap:16px}.photo-adjust-fields>label{display:block}.photo-adjust-fields input{width:100%;margin-top:8px}.review-photo-sheet footer{position:static;display:flex;gap:12px;flex-wrap:wrap}.review-photo-sheet{max-height:90dvh;overflow:auto}.review-photo-sheet .photo-large-preview{object-fit:contain!important;background:#e9edf1}
.crop-dialog{border:1px solid #e9edf1;border-radius:18px;padding:24px;width:min(640px,calc(100vw - 24px));max-height:94dvh;overflow:auto;background:#fff;color:#253449;font-family:var(--sans,'sans-serif')}.crop-dialog::backdrop{background:#25344970}.crop-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px}.crop-dialog h2{font-size:22px;margin:0}.crop-dialog header button{width:44px;height:44px;border:0;background:none;font-size:26px}.crop-dialog p{font-size:14px;color:#596370;margin:12px 0}.crop-stage{display:flex;justify-content:center;align-items:center;background:#e9edf1;border-radius:10px;min-height:180px;padding:12px}.crop-stage canvas{display:block;max-width:100%;max-height:38dvh;object-fit:contain;touch-action:none;cursor:grab;outline-offset:3px}.crop-stage canvas:active{cursor:grabbing}.crop-dialog label{display:flex;align-items:center;gap:16px;font-size:14px;margin:12px 0}.crop-dialog label input{flex:1;min-width:0;accent-color:#253449;min-height:40px}.crop-dialog select{flex:1;min-height:44px}.crop-position{display:flex;gap:16px}.crop-position label{flex:1;min-width:0;margin:0}.crop-dialog footer{display:flex;justify-content:space-between;gap:12px;padding:16px 0 0;border:0;margin:0}.crop-dialog .button{min-height:48px}.record-item{position:relative;min-width:0;max-width:100%}.record-item>.integrated-story-row{width:100%;height:100%;margin:0!important;padding-bottom:52px!important}.record-trash{position:absolute;right:8px;bottom:8px;width:44px;height:44px;border:0;background:#fffdf7;color:#98503b;display:grid;place-items:center;border-radius:8px;cursor:pointer}.record-trash svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6}.record-trash:hover{background:#f8eae5}.view-gallery .record-item{flex:0 0 auto}.view-list .record-item{margin-bottom:16px}.view-list .record-item>.integrated-story-row{padding:16px 64px 16px 16px!important}.view-list .record-trash{top:50%;bottom:auto;transform:translateY(-50%)}.reader-trash-visible{min-height:44px}.reader-primary-actions{flex-wrap:wrap}
@media(max-width:1099px){.renewed-home .today-prompt{padding:20px}.writing-page .block-editor{padding:16px 8px 12px 0}.writing-page .writing-block{grid-template-columns:32px minmax(0,1fr);gap:4px}.block-order button{width:32px;min-width:32px}.writing-page .block-tools{gap:2px!important}.writing-page .block-tools select{width:68px!important;min-width:68px!important;font-size:12px!important}.writing-page .block-tools button,.block-more>summary,.block-colors>summary{width:36px;min-width:36px;flex-basis:36px}.writing-page .block-heading [contenteditable]{font-size:23px}.writing-page .block-quote [contenteditable]{font-size:17px;padding:12px}.writing-page .block-more-menu{right:0;min-width:215px}.writing-page .block-tools .color-palette button{width:48px;min-width:44px}.crop-dialog{padding:16px}.crop-position{gap:12px}.view-list .record-item{overflow:hidden;border-radius:12px;background:#f8eae5}.view-list .record-item>.record-trash{z-index:0;right:12px;background:transparent}.view-list .record-item>.integrated-story-row{position:relative;z-index:1;transition:transform .18s ease;touch-action:pan-y;padding-right:16px!important}.view-list .record-item.show-delete>.integrated-story-row{transform:translateX(-72px)}.view-list .record-item:focus-within>.record-trash{z-index:2;background:white}.reader-trash-visible{flex-basis:100%}.record-item .integrated-story-copy{padding-right:12px}.home-about-link{margin-bottom:4px;font-size:12px}.review-photo-sheet footer .button{min-width:120px}.brand-image img{object-fit:contain}}
@media(prefers-reduced-motion:reduce){.view-list .record-item>.integrated-story-row{transition:none}}

.text-color-forest{color:#285241}.text-color-moss{color:#52633e}.text-color-clay{color:#98503b}.text-color-ochre{color:#806018}.text-color-slate{color:#45617a}.text-color-plum{color:#77526c}

.block-photo-edit img{max-height:480px!important;object-fit:contain!important}.crop-profile canvas{border-radius:50%}

.story-document .photo-gallery img{object-fit:contain!important;height:auto!important}

.signed-out .login-card>.entry-origin{display:block!important;position:static!important;margin:0!important;padding:0;text-align:center}.signed-out .login-card>.entry-origin .entry-founder{min-height:44px}.code-entry .login-card>.entry-origin{display:none!important}

/* Home/discovery share an identical header and content width at every breakpoint. */
.renewed-home,.discover-page{width:100%;max-width:1120px;margin-inline:auto}
.home-switcher{display:flex;flex-direction:column;gap:16px;width:100%;min-width:0}
.home-switcher-meta{display:flex;align-items:center;justify-content:flex-end;gap:16px;min-height:44px}
.home-switcher .home-about-link{margin:0;font-size:14px;flex:none}
.home-switcher .mobile-home-date{margin:0;min-width:0;flex:1}
.home-switcher .home-tabs{margin:0;width:100%}
.discover-page .home-tabs>a{flex:initial}
.discovery-theme-label{font-size:13px;color:var(--muted);margin:0 0 -12px}
.discover-categories{margin-right:0!important;max-width:100%}
/* Grow cards with their content; controls must never shrink into names or previews. */
.reviewed-people>header{gap:20px;flex-wrap:wrap}.reviewed-people>header h1{min-width:0;overflow-wrap:anywhere}.reviewed-people>header>.button{flex:none}
.reviewed-people .integrated-group-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px}
.reviewed-people .group-card-copy{min-width:0;overflow-wrap:anywhere}.reviewed-people .group-number{white-space:nowrap;margin:0;align-self:start}
.person-list-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:16px;padding:20px 0;height:auto;min-height:100px}
.person-list-row>span:nth-child(2){min-width:0;overflow-wrap:anywhere}.person-list-row .initial-avatar{width:40px;height:40px;min-width:40px}.person-list-row .button{margin:0;white-space:nowrap}
.draft-rows>.draft-row{height:auto;min-height:104px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;padding:20px 0;align-items:center}
.draft-row-copy{min-width:0;overflow:hidden}.draft-rows strong{overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.draft-rows time{display:block;margin:6px 0 0;font-size:12px;color:var(--muted)}.draft-rows small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;white-space:normal;line-height:1.7}
.draft-rows .button{flex:none;white-space:nowrap;width:176px;min-width:176px}
@media(min-width:1100px){.reviewed-people>.mobile-create{display:none!important}}
@media(max-width:1099px){
 .home-switcher-meta{gap:8px}.home-switcher .home-about-link{font-size:12px}.home-switcher .mobile-home-date{font-size:11px}.home-switcher .home-tabs>a,.discover-page .home-tabs>a{flex:1;min-width:0;text-align:center}
 .reviewed-people .integrated-group-card{grid-template-columns:40px minmax(0,1fr) 16px;gap:12px;padding:16px;border-radius:12px}
 .reviewed-people>.mobile-create{margin-top:24px}.reviewed-people .people-tabs button{min-width:0;white-space:nowrap}.reviewed-people #people-list>.section-top{min-height:48px;margin:0 0 12px}
 .person-list-row{grid-template-columns:40px minmax(0,1fr);gap:8px 12px;min-height:0;padding:16px 0}.person-list-row .button{grid-column:2;justify-self:start;min-width:0;min-height:44px;padding:8px 16px}
 .draft-rows>.draft-row{grid-template-columns:minmax(0,1fr) 44px;gap:12px;padding:16px;min-height:112px}.draft-rows>.draft-row:has(>img){grid-template-columns:64px minmax(0,1fr) 44px}.draft-rows img{width:64px;height:80px;min-width:64px}.draft-rows .button{width:44px;min-width:44px;min-height:44px;padding:0}.draft-rows small{-webkit-line-clamp:1}
}

/* Shared concept copy across desktop and mobile entry screens. */
.login-intro>h1{margin-bottom:12px}.login-intro>.login-tagline{margin:0 0 28px;color:var(--muted);font:400 16px/28px var(--sans)}
@media(max-width:1099px){.login-intro>h1.mobile-only{margin-bottom:8px}.login-intro>.login-tagline{order:3;margin:0 0 24px;font-size:14px;line-height:24px}}

/* Question catalog v2: period and view controls share a flexible row. */
.question-filter-row{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin:16px 0 8px}
.question-period-control{display:grid;gap:8px;flex:1 1 280px;min-width:0;font-size:13px}
.question-period-control select{width:100%;min-width:0;max-width:100%;min-height:44px;font-size:14px}
.question-filter-row .question-view-control{margin:0;flex:0 1 auto}
.question-result-count{font-size:13px;color:#596370;margin:8px 0 16px}
.question-experience-note{font-size:12px;line-height:1.6;color:#596370;margin:0 0 12px}
@media(max-width:600px){.question-filter-row{gap:12px}.question-period-control{flex-basis:100%}.question-filter-row .question-view-control{margin-left:auto}.review-questions .design-question-row{height:auto;min-height:0}}
