/* A stable, quiet line of perspective beneath the featured question. */
.perspective{display:flex;gap:10px;align-items:center;margin:16px 0 20px;max-width:540px}
#perspective-text{display:grid;margin:0;color:#706775;font-size:clamp(14px,1.35vw,17px);line-height:1.55;letter-spacing:-.015em;flex:1;min-width:0}
#perspective-text span{grid-area:1/1;opacity:0;visibility:hidden;transform:translateY(4px);transition:opacity .8s ease,transform .8s ease,visibility 0s .8s;overflow-wrap:anywhere}
#perspective-text span.is-active{opacity:1;visibility:visible;transform:none;transition-delay:0s}
#perspective-pause{flex:none;width:32px;height:36px;padding:0;border:0;border-radius:18px;background:transparent;color:#706775;font:inherit;font-size:14px;cursor:pointer}
#perspective-pause:hover{background:#e9e2ec}
#perspective-pause:focus-visible{outline:2px solid #706775;outline-offset:2px}
.answer-selection{display:flex;gap:8px;width:100%;max-width:330px;margin:12px 0;align-items:center}
.answer-selection span{display:block;flex:1;text-align:center;padding:12px 18px;border:1px solid #ded7e1;border-radius:30px;color:#706775;font-size:14px;background:#e9e2ec}
.answer-selection .selected-answer{color:#f7f5f2;background:#49354f;border-color:#49354f;box-shadow:0 2px 12px #49354f0d}
.vote.chosen{background:#49354f!important;color:#f7f5f2!important;border-color:#49354f!important}
.saved-answer{color:#49354f!important;font-size:12px;line-height:1.5}
.card-answer-space>.method-note{margin:10px 0 14px;font-size:12px;line-height:1.5;color:#706775}
.next-question{display:flex;align-items:center;justify-content:space-between;gap:26px;min-height:46px;font-size:13px;padding:13px 21px;border-radius:28px;white-space:nowrap;text-decoration:none}
.card>.next-question{grid-column:1/-1;justify-self:end;margin-top:8px}
#featured-links{flex-wrap:wrap;align-items:center}
#featured-links>.next-question{flex-basis:100%;max-width:235px;margin-top:10px}
.journey-complete{font-size:12px!important;color:#706775;grid-column:1/-1;margin:10px 0 0}
.share-preview{display:grid;place-items:center;min-height:170px;background:#e9e2ec;border:1px solid #ded7e1;border-radius:14px;overflow:hidden;margin:20px auto 0;max-width:320px}
.share-preview img{display:block;width:100%;height:auto;aspect-ratio:4/5}
.share-preview p{padding:20px;font-size:13px;text-align:center}
dialog:has(.share-preview){width:min(680px,calc(100vw - 28px))}
dialog:has(.share-preview) h2{margin-bottom:12px}
dialog:has(.share-preview) .share-options{justify-content:center;gap:8px;margin:20px 0}
dialog:has(.share-preview) .method-note{margin:14px 0 0;font-size:11px}
dialog:has(.share-preview) #share-url{font-size:12px;overflow:hidden;text-overflow:ellipsis}
@media(max-width:700px){
 .perspective{margin:12px 0 16px;gap:5px}
 #perspective-text{font-size:14px;line-height:1.45}
 .answer-selection{margin:8px auto;max-width:300px}
 .answer-selection span{padding:10px 16px}
 #featured-links>.next-question{flex-basis:100%;max-width:none;width:100%;margin-top:8px}
 .card>.next-question{justify-self:stretch;margin-top:12px}
 .share-preview{max-width:230px;margin-top:14px}
 dialog:has(.share-preview){padding:26px 20px}
 dialog:has(.share-preview) .share-options .primary,dialog:has(.share-preview) .share-options .outline{padding:11px 13px;font-size:12px}
}
@media(prefers-reduced-motion:reduce){#perspective-text span{transition:none;transform:none}#perspective-pause{display:none}}

/* Keep the changing line close to the identity, with room for the longest quote. */
.identity-header .perspective{width:min(640px,calc(100% - 72px));max-width:none;grid-column:1/-1;grid-row:2;margin:10px auto 0;text-align:center}
.identity-header .perspective #perspective-text{font-size:15px;line-height:1.5}
@media(max-width:700px){.identity-header .perspective{width:calc(100% - 36px);margin:8px auto 0;gap:4px}.identity-header .perspective #perspective-text{font-size:13px;line-height:1.45}.identity-header .perspective #perspective-pause{width:28px}}
/* The direct link remains readable and easy to select on a narrow screen. */
dialog:has(.share-preview) label[for="share-url"]{display:block;font-size:12px;margin:16px 0 8px;color:#706775}
dialog:has(.share-preview) #share-url{display:block;width:100%;padding:12px 14px;border:1px solid #ded7e1;border-radius:10px;background:#f7f5f2;color:#28232b;font:inherit;font-size:12px;box-sizing:border-box}

/* Preserve the editorial About layout inside a scrollable modal. */
dialog:has(.about-content){width:min(1120px,calc(100vw - 40px));max-width:min(1120px,calc(100vw - 40px));max-height:88dvh;padding:48px 56px;overscroll-behavior:contain}
dialog:has(.about-content)>.close{position:sticky;top:0;float:right;z-index:2;background:#f7f5f2}
.about-content h1{font-size:clamp(44px,6.6vw,89px);font-weight:450;line-height:1.05;letter-spacing:-.065em;max-width:19ch;margin:15px 0 24px}
.about-content p{color:#706775;line-height:1.7;max-width:68ch}
.about-content .about-lead{font-size:22px;letter-spacing:-.02em}
.about-content .about-intro{padding:22px 0 65px}
.about-content .about-story p{font-size:17px}
@media(max-width:700px){dialog:has(.about-content){width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:90dvh;padding:24px 22px}.about-content .about-intro{padding:10px 0 40px}.about-content h1{font-size:clamp(36px,8.8vw,52px)}.about-content .about-lead{font-size:18px}.about-content .about-story p{font-size:15px}}
/* Let both identity rows determine the header height above its divider. */
.identity-header:has(.perspective){height:auto;grid-template-rows:auto auto;row-gap:0;padding-bottom:18px}
/* Distinct editorial sections, with the same quiet green surface. */
#featured .featured-copy>.eyebrow{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:24px}
#featured-eyebrow{display:inline-flex;align-items:center;min-height:34px;padding:9px 14px;border:1px solid #a899af;border-radius:999px;background:#e9e2ec;color:#49354f;font-size:10px;letter-spacing:.13em}
#featured-category{color:#706775;font-size:10px}
.question-hub,.contribute{background:#e9e2ec;border:1px solid #ded7e1;border-radius:24px;padding:32px!important}
.questions .question-hub .section-head{padding:0;align-items:flex-end;gap:20px}
.questions .question-hub .section-head h2{font-size:clamp(30px,3.5vw,45px);max-width:none}
.questions .question-hub .toolbar{margin:25px 0 0;gap:20px}
.question-hub .filters button{background:#f7f5f2;border-color:#ded7e1}
.question-hub .filters button.selected{background:#49354f;border-color:#49354f;color:#f7f5f2}
.question-hub .search{background:#f7f5f2;border:1px solid #ded7e1;border-radius:999px;padding:10px 16px}
.questions #cards{margin-top:14px}
.question-pagination{display:flex;flex-direction:column;align-items:center;gap:12px;padding:24px 0 14px}
#question-page-count{font-size:12px;color:#706775;margin:0}
#show-more-questions{min-height:46px;padding:13px 26px;gap:24px;border-radius:999px}
#most-answered{margin:50px auto;width:100%;max-width:1000px;padding-top:32px;border-top:1px solid #ded7e1;scroll-margin-top:25px}
#most-answered .section-head{gap:20px;align-items:flex-end}
#most-answered h2{font-size:clamp(29px,3.3vw,42px);font-weight:450;letter-spacing:-.045em;margin-bottom:0}
.top-intro{font-size:14px;color:#706775;line-height:1.6;margin:17px 0 12px}
.top-empty{padding:24px;background:#e9e2ec;border:1px dashed #ded7e1;border-radius:14px;color:#706775;font-size:14px;line-height:1.6}
#most-answered .top-list a{grid-template-columns:36px minmax(0,1fr) 125px 20px}
#most-answered .top-count{font-variant-numeric:tabular-nums;text-align:right}
#most-answered .method-note{color:#706775;line-height:1.6}
.contribute{margin:42px auto 55px!important;max-width:1000px;gap:30px;box-sizing:border-box}
.contribute h2{font-size:clamp(28px,3vw,39px);line-height:1.12}
.secondary-nav{flex-wrap:wrap;gap:26px}
@media(max-width:700px){
 .secondary-nav{gap:8px 20px;padding-top:9px;padding-bottom:9px}
 .secondary-nav a,.secondary-nav button{font-size:11px;padding:6px 0}
 #featured .featured-copy>.eyebrow{gap:8px;margin-bottom:18px}
 #featured-eyebrow{font-size:8px;min-height:29px;padding:8px 11px}
 .question-hub,.contribute{border-radius:18px;padding:22px 18px!important}
 .questions .question-hub .section-head{align-items:flex-start;gap:12px}
 .questions .question-hub .section-head h2{font-size:31px;max-width:12ch}
 .questions .question-hub .toolbar{margin-top:22px;gap:16px}
 .question-hub .search{max-width:none;width:100%;box-sizing:border-box}
 .questions #cards{margin-top:3px}
 #most-answered{margin-top:30px;padding-top:26px}
 #most-answered .section-head{display:block}
 #most-answered .section-note{display:block;margin-top:12px}
 #most-answered .top-list a{grid-template-columns:25px minmax(0,1fr) 74px 12px;gap:10px}
 #most-answered .top-count small{font-size:9px;line-height:1.4}
 .contribute{margin-top:30px!important;margin-bottom:35px!important;display:flex;flex-direction:column;align-items:stretch;gap:20px}
 .contribute h2{font-size:30px}
 .contribute .outline{width:100%;justify-content:space-between}
}
.question-hub .filters{scrollbar-width:none}
.question-hub .filters::-webkit-scrollbar{display:none}
/* Stable vote controls: same buttons and reserved feedback/navigation slots. */
.card .choices button.chosen,.card .choices button:last-child.chosen{background:#49354f!important;border-color:#49354f!important;color:#f7f5f2!important}
.card .choices button,.featured-actions .vote{transition:background-color .18s ease,border-color .18s ease,color .18s ease}
.card .choices button[aria-disabled="true"],.featured-actions .vote[aria-disabled="true"]{cursor:pointer}
.card .choices button:disabled,.featured-actions .vote:disabled{cursor:default}
.card .card-answer-space{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0}
.card-result-slot{display:flex;flex-direction:column;align-items:center;justify-content:center}
.card-result-slot.result-suppressed{display:flex}
.card-result-slot.result-suppressed .method-note{font-size:12px;line-height:1.5;text-align:center;margin:0 0 12px}
.card-result-slot.result-available{flex-shrink:0}
.card .saved-answer{display:block;min-height:40px;margin:10px 0 0!important;font-size:12px;line-height:20px;text-align:center}
.vote-error{color:#974e40!important}
.card-next-slot{grid-column:1/-1;grid-row:3;display:flex;justify-content:flex-end;align-items:center;min-height:46px;margin-top:8px}
.card-next-slot .next-question{margin:0;min-height:46px}
.card-next-slot .journey-complete{margin:0;line-height:20px;max-width:300px;text-align:right}
#featured-confirmation{min-height:40px;line-height:20px;display:block}
#featured-confirmation:empty::before,.saved-answer:empty::before{content:'\00a0'}
#featured-links{min-height:44px}
.card-links button:disabled,#featured-links button:disabled{opacity:.4;cursor:default}
@media(max-width:700px){
 .card-next-slot{margin-top:12px;justify-content:stretch}
 .card-next-slot .next-question{width:100%}
 .card-next-slot .journey-complete{max-width:none;text-align:center;width:100%}
 .card-footer .card-links{gap:14px}
}
@media(prefers-reduced-motion:reduce){.card .choices button,.featured-actions .vote{transition:none}}

.random-journey{max-width:900px;margin:0 auto}.random-journey h1{margin:12px 0;font-size:clamp(32px,5vw,52px)}.random-intro{color:var(--muted);margin-bottom:24px}.random-progress{font-size:13px;letter-spacing:.06em;min-height:20px;margin:0 0 14px}.random-controls{display:flex;align-items:center;flex-wrap:wrap;gap:16px;min-height:64px;margin-top:18px}.random-controls .primary{min-width:210px;min-height:46px;margin:0}.random-controls button:disabled{opacity:.45;cursor:default}.secondary-nav a[aria-current=page]{color:var(--green);text-decoration:underline;text-underline-offset:6px}@media(max-width:700px){.random-controls .primary{width:100%}.random-controls{justify-content:center;gap:12px}.random-journey .back-link{margin-bottom:26px}}

.weekly-navigation,.admin-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.weekly-navigation button{min-width:48px;min-height:44px;margin:0}.weekly-navigation [aria-current=step],.admin-tabs [aria-pressed=true]{background:var(--green);color:var(--cream,#f7f5f2)}.weekly-finish{padding:24px 0;max-width:620px}.weekly-finish h2{font-size:clamp(26px,4vw,36px)}#weekly-form select{width:100%;margin-bottom:16px}#admin-inbox .page-section{margin-top:24px}.admin-tabs button{margin:0}#recover-form{max-width:500px}
.profile-link{position:relative}.notification-badge{position:absolute;top:-4px;right:-5px;min-width:19px;height:19px;border-radius:12px;padding:0 4px;display:grid;place-items:center;background:#49354f;color:#fffdfc;font-size:10px;line-height:1}.notification-badge[hidden]{display:none}.leaderboard-switch{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.leaderboard-switch button{margin:0;min-height:44px}.leaderboard-switch [aria-pressed=true]{background:var(--green);color:#fffdfc}.approval-notification{padding:24px;border:1px solid #ded7e1;border-radius:14px;margin:14px 0;background:#e9e2ec}.approval-notification.unread{border-left:4px solid #49354f}.approval-notification h3{font-size:23px;margin:12px 0}.notification-question{font-size:18px}.mail-status{margin:20px 0;padding:16px;border:1px solid #ded7e1;border-radius:10px}@media(max-width:700px){.leaderboard-switch button{flex:1}.approval-notification{padding:18px}}
.password-visibility{display:block;margin:8px 0 18px}#password[aria-invalid=true],#password-confirm[aria-invalid=true]{border-color:#ac5146;box-shadow:0 0 0 1px #ac5146}#auth-form .form-error{min-height:24px;line-height:1.55}
.proposal-source{padding:18px;background:#e9e2ec;border-radius:12px;margin:18px 0}.proposal-source blockquote{margin:12px 0;padding-left:15px;border-left:2px solid #706775}#source-suggestion{width:100%;margin:8px 0}

/* Compact account state; account details stay on Min side. */
.identity-header .profile-link{width:auto;min-width:43px;padding:0 12px;gap:7px;border-radius:24px}.account-status{font-size:11px;white-space:nowrap}.profile-link.is-authenticated{background:#e9e2ec;border-color:#a899af}.profile-link.is-authenticated::before{content:'✓';font-size:12px;color:#49354f}.profile-link.is-authenticated svg{display:none}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}@media(max-width:700px){.identity-header .profile-link{min-width:37px;padding:0 8px;gap:4px}.account-status{font-size:10px}.identity-header .profile-link svg{width:17px;height:17px}}

.saved-answer:empty,.featured-confirmation:empty{display:none}

/* Match the logo to the account control without changing the wordmark row. */
.identity-header .brand img{width:43px;height:43px}
@media(max-width:700px){.identity-header .brand img{width:37px;height:37px}}
/* Empty and successful feedback must occupy the same space: none. */
#featured-confirmation:not(.vote-error){position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

.admin-summary{flex-wrap:wrap;align-items:center;gap:14px 20px}.admin-summary .outline{max-width:100%}

.test-view-banner{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;padding:14px 20px;background:#e9e2ec;color:#514018;border-block:1px solid #d7c491;font-size:13px}.test-view-banner .outline{font-size:12px;padding:10px 16px}

/* Compact mobile navigation and entry spacing; retain available-result slots. */
@media(max-width:700px){
 .secondary-nav{column-gap:clamp(8px,3.2vw,20px);row-gap:4px;padding-top:7px;padding-bottom:7px}
 #featured .featured-copy{padding-top:10px}
 #page-content:has(.random-journey){margin-top:18px}
 .random-journey>.back-link{margin-bottom:18px}
 #weekly-card .card{min-height:0}
 #weekly-card .card-answer-space:has(.result-suppressed){min-height:0}
}
@media(min-width:701px){
 #featured{align-items:start}
 #featured .featured-copy{padding-top:20px}
 #page-content:has(.random-journey){margin-top:36px}
}

/* Keep weekly actions beside their question instead of reserving empty height. */
#weekly-card .card{display:flex;flex-direction:column;min-height:0;padding-top:28px;padding-bottom:28px}
#weekly-card .vote-area{margin-top:20px}
#weekly-card .card-answer-space:has(.result-suppressed){min-height:0}
#weekly-card .card-footer{margin-top:32px}
@media(max-width:700px){
 #weekly-card .card{padding-top:20px;padding-bottom:24px}
}

/* Match the featured composition to the question list on wide screens. */
#featured{width:100%;max-width:1000px;margin-left:auto;margin-right:auto;box-sizing:border-box}
@media(min-width:701px){
 #featured{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:32px;min-height:0}
 #featured-question{font-size:clamp(32px,3.5vw,48px)}
 #featured .featured-visual{height:500px;min-height:0}
}

/* Quiet, precise result instrument. Fixed slot keeps voting layout stable. */
.small-orbital.result-line,.questions .small-orbital.result-line,.standalone-question .small-orbital.result-line{width:100%;height:auto;min-width:0;margin:0;transform:none;padding:14px 0;align-self:stretch}
.result-line-numbers{display:flex;justify-content:space-between;gap:24px}
.result-line-numbers>div{display:flex;flex-direction:column;align-items:flex-start}
.result-line-numbers>div:last-child{align-items:flex-end}
.result-line-label{font-size:10px;letter-spacing:.2em;font-weight:500;color:#706775}
.result-line-numbers strong{display:flex;align-items:baseline;font-size:clamp(44px,5vw,64px);line-height:1.1;font-weight:450;letter-spacing:-.065em;font-variant-numeric:tabular-nums;color:#49354f;margin-top:6px}
.result-line-numbers>div:last-child strong{color:#85748c}
.result-line-numbers strong small{font-size:.38em;letter-spacing:-.03em;margin-left:4px;font-weight:400}
.result-line-choice{height:17px;font-size:8px;letter-spacing:.13em;color:#706775;margin-top:5px}
.result-line-track{position:relative;height:8px;margin-top:12px;border-radius:99px;overflow:hidden}
.result-line-segment{position:absolute;top:0;min-width:0;height:100%}
.result-line-yes{left:0;width:var(--yes-share,0%)}.result-line-no{right:0;width:var(--no-share,0%)}
.result-line-segment i{display:block;width:100%;height:100%}
.result-line-yes i{background:#49354f}.result-line-no i{background:#b5a6bd}
.result-line-caption{text-align:center;font-size:8px;letter-spacing:.18em;color:#85748c;margin-top:12px;opacity:0}
.is-revealing .result-line-caption,.is-settled .result-line-caption{opacity:1}
@media(max-width:700px){.result-line-numbers strong{font-size:56px}}
@media(prefers-reduced-motion:reduce){.result-line-caption{opacity:1}}

.admin-bulk-actions{gap:18px;margin:22px 0;flex-wrap:wrap}.admin-poll-select,.admin-select-all{display:flex;align-items:center;gap:10px;font-size:12px;color:#706775;cursor:pointer}.admin-poll-select{margin-bottom:14px}.admin-poll-select input[type=checkbox],.admin-select-all input[type=checkbox]{width:18px;height:18px;padding:0;margin:0;accent-color:#49354f;flex-shrink:0}.admin-poll-select span{max-width:65ch}.admin-bulk-actions [data-selected-count]{font-size:12px;color:#706775}

.page-placeholder{max-width:720px;margin:40px auto;min-height:360px}.page-placeholder span{display:block;background:#e9e2ec;border-radius:8px;height:18px;width:45%;margin-bottom:24px}.page-placeholder span:nth-child(2){width:85%;height:48px}.page-placeholder span:nth-child(3){width:100%;height:160px;opacity:.45}

/* Sharing is a compact studio, with the asset prepared before the share gesture. */
dialog:has(.share-studio){width:min(720px,calc(100vw - 28px))}
.share-kinds{display:flex;gap:8px;margin:20px 0 24px}
.share-kinds button{flex:1;padding:12px 16px}
.share-kinds [aria-pressed=true]{background:#49354f;color:#f7f5f2;border-color:#49354f}
.share-studio-body{display:grid;grid-template-columns:minmax(0,240px) minmax(0,1fr);gap:28px;align-items:start}
.share-studio .share-preview{width:100%;max-width:none;margin:0;min-height:0;align-self:start;aspect-ratio:9/16}
.share-studio .share-preview img{aspect-ratio:9/16;object-fit:contain;-webkit-touch-callout:default;user-select:auto}
.share-image-placeholder{display:block;width:100%;height:100%;background:#e9e2ec}
.share-guide{font-size:14px;line-height:1.65;color:#706775;margin:0 0 18px}
.share-studio .share-options{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin:18px 0}
.share-studio .share-options .primary{text-align:center;justify-content:center}
.share-save-help{font-size:12px;line-height:1.6;color:#706775}
.share-link-tools{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:22px}
.share-studio #share-status{font-size:12px}
@media(max-width:600px){.share-studio-body{grid-template-columns:1fr;gap:14px}.share-studio .share-preview{width:min(150px,26vh);justify-self:center}.share-studio h2{font-size:28px}.share-guide{text-align:center;font-size:13px}.share-kinds button{font-size:13px;padding:12px 8px}.share-save-help{text-align:center}.share-link-tools{justify-content:center}.card-bottom{flex-wrap:wrap;gap:10px}}

/* Keep the muted result notice once and align all mobile card actions. */
.card-footer{flex-wrap:wrap}
@media(max-width:700px){
 .card .card-footer{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 12px;margin-top:18px}
 .card .card-footer .card-bottom,.card .card-footer .card-links{display:contents}
 .card .card-footer .card-bottom>span{grid-column:1/-1;grid-row:1;margin:0 0 8px;line-height:1.6}
 .card .card-footer .card-bottom>button{grid-row:3}
 .card .card-footer .card-links>*{grid-row:2}
 .card .card-footer .text-button{display:flex;align-items:center;justify-content:flex-start;text-align:left;min-height:44px;margin:0;padding:6px 0;font-size:12px;line-height:1.4;white-space:normal}
}
/* A direct question link should not reserve an empty results panel. */
#page-content:has(.standalone-question){margin-top:32px;margin-bottom:64px;min-height:0}
#page-content:has(.standalone-question)>.back-link{margin-bottom:20px}
.standalone-question .card{padding:28px 0;min-height:0}
.standalone-question .vote-area{margin-top:24px}
.standalone-question .card-answer-space{min-height:0}
.standalone-question .saved-answer:empty{display:none}
.standalone-question .card-footer{margin-top:18px}
@media(max-width:700px){
 #page-content:has(.standalone-question){margin-top:22px;margin-bottom:40px}
 .standalone-question .card{padding:22px 0}
 .standalone-question .vote-area{margin-top:20px}
}

/* Desktop identity hierarchy; preserve mobile and the logo/account row. */
@media(min-width:701px){
 .identity-header .wordmark{font-size:clamp(30px,2.6vw,36px);line-height:1.1}
 .identity-header .perspective{width:min(780px,calc(100% - 72px));margin-top:8px}
 .identity-header .perspective #perspective-text{font-size:clamp(17px,1.4vw,18px);line-height:1.5}
 .secondary-nav{gap:clamp(28px,2.5vw,36px)}
 .secondary-nav a,.secondary-nav button{font-size:clamp(13px,1.05vw,14px)}
}

/* Quiet question actions: primary links below, secondary tools in a corner menu. */
.card{position:relative}
.card .question-copy .card-top{padding-right:50px}
.question-menu{position:absolute;top:18px;right:0;z-index:5}
.question-menu summary{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:10px;list-style:none;border:0;border-radius:50%;color:#706775;cursor:pointer;transition:background .2s,color .2s}
.question-menu summary::-webkit-details-marker{display:none}
.question-menu summary::marker{content:""}
.question-menu summary svg{display:block;width:24px;height:24px;fill:currentColor}
.question-menu summary:hover,.question-menu[open] summary{background:#e9e2ec;color:#49354f}
.question-menu-panel{position:absolute;right:0;top:calc(100% + 5px);display:flex;flex-direction:column;min-width:170px;padding:7px;border:1px solid #ded7e1;border-radius:14px;background:#f7f5f2;box-shadow:0 8px 28px #28232b12}
.question-menu:not([open]) .question-menu-panel{display:none}
.question-menu-panel a,.question-menu-panel button{display:flex;align-items:center;width:100%;min-height:44px;padding:11px 14px;margin:0;border:0;border-radius:8px;background:transparent;text-align:left;font:400 12px/1.4 Arial,Helvetica,sans-serif;color:#49354f;white-space:nowrap;text-decoration:none}
.question-menu-panel a:hover,.question-menu-panel button:hover{background:#e9e2ec}
#featured-question-menu .question-menu{top:28px;right:0}
#featured .featured-copy>.eyebrow{padding-right:52px}
.card .card-footer{display:flex;flex-wrap:wrap;gap:10px 28px;align-items:center}
.card .card-footer .card-bottom{display:flex;flex:1 1 220px;gap:0;margin:0}
.card .card-footer .card-links{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:12px 26px;margin:0}
.card .card-footer .text-button,#featured-links .text-button{min-height:44px;display:inline-flex;align-items:center;padding:6px 0;white-space:nowrap}
#featured-links{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px 26px}
@media(max-width:700px){
 .question-menu{top:16px}
 #featured-question-menu .question-menu{top:22px}
 .card .card-footer{display:flex;flex-direction:column;align-items:stretch;gap:4px;margin-top:16px}
 .card .card-footer .card-bottom{display:flex;flex:initial}
 .card .card-footer .card-bottom>span{margin:0;line-height:1.6}
 .card .card-footer .card-links{display:flex;flex-wrap:wrap;gap:4px 26px;margin:0;justify-content:flex-start}
 .card .card-footer .card-links>*{grid-row:auto}
 #featured-links,.featured-feedback #featured-links{justify-content:flex-start;gap:4px 26px}
}
@media(prefers-reduced-motion:reduce){.question-menu summary{transition:none}}

/* Keep weekly progress controls close to the question's final action row. */
#weekly-card .card{padding-bottom:4px}
#weekly-controls{margin-top:8px;min-height:46px}
#page-content:has(#weekly-card){margin-bottom:32px}

/* A restrained, numbered statement of the service's commitments. */
dialog:has(.transparency-content){width:min(780px,calc(100vw - 40px));max-width:780px;max-height:88dvh;padding:48px 56px;overscroll-behavior:contain}
dialog:has(.transparency-content)>.close{position:sticky;top:0;float:right;z-index:2;background:var(--paper)}
.transparency-content{clear:both}
.transparency-content>.eyebrow{font-size:9px;letter-spacing:.2em;color:#706775}
.transparency-content #transparency-title{font-size:clamp(34px,4.2vw,48px);font-weight:400;line-height:1.08;letter-spacing:-.055em;padding:0;margin:16px 0 18px;max-width:12ch}
.transparency-content .transparency-intro{font-size:15px;line-height:1.65;color:#706775;margin:0 0 34px;max-width:46ch}
.transparency-principles{list-style:none;counter-reset:trust;padding:0;margin:0}
.transparency-principles li{counter-increment:trust;display:grid;grid-template-columns:42px minmax(0,1fr);gap:18px;padding:23px 0;border-top:1px solid #ded7e1}
.transparency-principles li::before{content:counter(trust,decimal-leading-zero);font:400 22px/1.3 Arial,Helvetica,sans-serif;letter-spacing:-.05em;color:#a899af}
.transparency-content .transparency-principles h3{font-size:19px;font-weight:400;line-height:1.3;letter-spacing:-.025em;margin:0 0 8px;color:#49354f}
.transparency-content .transparency-principles p{font-size:13px;line-height:1.7;margin:0;color:#706775}
.transparency-footnote{margin-top:12px;padding-top:22px;border-top:1px solid #ded7e1}
.transparency-content .transparency-footnote p{font-size:11px;line-height:1.7;margin:0 0 10px;color:#706775}
.transparency-footnote .text-button{display:inline-flex;align-items:center;gap:12px;min-height:44px;font-size:12px}
@media(max-width:700px){
 dialog:has(.transparency-content){width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:90dvh;padding:24px}
 .transparency-content #transparency-title{font-size:36px}
 .transparency-content .transparency-intro{font-size:14px;margin-bottom:28px}
 .transparency-principles li{grid-template-columns:30px minmax(0,1fr);gap:13px;padding:21px 0}
 .transparency-principles li::before{font-size:20px}
 .transparency-content .transparency-principles h3{font-size:18px}
}

/* One quiet information disclosure at every screen size. */
.secondary-nav .nav-info-desktop{display:none}
 .nav-info-menu{display:block;position:relative;flex:none;z-index:35}
 .nav-info-menu summary{display:flex;align-items:center;justify-content:center;gap:5px;min-height:36px;padding:6px 0;font-size:clamp(13px,1.05vw,14px);list-style:none;color:#706775;cursor:pointer}
 .nav-info-menu summary::-webkit-details-marker{display:none}
 .nav-info-menu summary::marker{content:""}
 .nav-info-menu summary svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
 .nav-info-menu[open] summary{color:#49354f}
 .nav-info-menu[open] summary svg{transform:rotate(180deg)}
 .nav-info-panel{position:absolute;top:calc(100% + 8px);right:0;display:flex;flex-direction:column;width:170px;padding:7px;border:1px solid #ded7e1;border-radius:14px;background:#f7f5f2;box-shadow:0 8px 28px #28232b12}
 .nav-info-menu:not([open]) .nav-info-panel{display:none}
 .secondary-nav .nav-info-panel a,.secondary-nav .nav-info-panel button{display:flex;align-items:center;width:100%;min-height:44px;padding:11px 14px;margin:0;border:0;border-radius:8px;background:transparent;font:400 12px/1.4 Arial,Helvetica,sans-serif;text-align:left;color:#49354f;white-space:nowrap;text-decoration:none}
 .secondary-nav .nav-info-panel a:hover,.secondary-nav .nav-info-panel button:hover{background:#e9e2ec}
@media(max-width:700px){
 .secondary-nav{flex-wrap:nowrap;justify-content:space-between;gap:clamp(5px,1.6vw,10px)}
 .secondary-nav>a,.secondary-nav>button,.nav-info-menu summary{font-size:clamp(9px,2.55vw,11px);white-space:nowrap}
}
@media(prefers-reduced-motion:reduce){.nav-info-menu summary svg{transition:none}}

/* Keep the leaderboard close to question pagination without a duplicate divider. */
#saker.questions{padding-bottom:0}
#saker .question-pagination{padding-bottom:0}
#most-answered{border-top:0;margin-top:28px;padding-top:0}
@media(max-width:700px){#most-answered{margin-top:24px;padding-top:0}}

/* Keep the actual export ratio visible in the content studio. */
.share-studio .share-preview-feed,.share-studio .share-preview-feed img{aspect-ratio:4/5}
.share-formats{margin-top:-12px}.share-formats button{font-size:12px;padding:10px 14px}

/* Controls are scoped to the image studio; existing page and menu rules stay intact. */
.share-setting>span{font-size:11px;color:#706775}.share-setting .share-kinds{margin:8px 0 16px;gap:6px}.share-setting .share-kinds button{padding:9px 8px;font-size:11px;min-height:38px}.share-setting button:disabled{opacity:.4;cursor:not-allowed}#dialog .share-result-note{font-size:10px;line-height:1.6;color:#706775;margin:-8px 0 18px}.share-studio .share-guide{font-size:12px}
@media(max-width:600px){.share-setting{width:100%}.share-setting .share-kinds{margin-bottom:14px}.share-studio .share-preview{width:min(190px,30vh)}}
dialog#dialog:has(.share-studio){width:min(820px,calc(100vw - 28px));max-width:820px}

/* Bound the studio to the viewport; keep its heading and close control reachable. */
dialog#dialog:has(.share-studio){max-height:calc(100dvh - 32px);margin:auto;overflow-y:auto;overscroll-behavior:contain;scroll-behavior:auto;overflow-anchor:none}
dialog#dialog:has(.share-studio)>.close{position:sticky;top:0;float:right;z-index:2;background:var(--paper)}
.share-studio{clear:both}

#cards{overflow-anchor:none}

/* The shared animation clock owns the reveal. Updates never fade or slide. */
.result-line .result-line-numbers,.result-line .result-line-track{opacity:0}
.result-line.is-revealing .result-line-numbers,.result-line.is-revealing .result-line-track,
.result-line.is-settled .result-line-numbers,.result-line.is-settled .result-line-track{opacity:1}

/* A compact instrument above the answers, without an empty feedback row. */
.card-result-slot{height:104px;flex-shrink:0}
.card .small-orbital.result-line{padding:0 0 14px}
.card .result-line-numbers>div{position:relative}
.card .result-line-numbers strong{font-size:48px;margin-top:5px}
.card .result-line-choice{position:absolute;top:1px;left:28px;height:auto;margin:0;font-size:8px;white-space:nowrap}
.card .result-line-numbers>div:last-child .result-line-choice{left:auto;right:32px}
.card .result-line-track{height:6px;margin-top:10px}
.card .result-line-caption{display:none}
.card .saved-answer:not(.vote-error){position:absolute;width:1px;height:1px;min-height:0;padding:0;margin:0!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.questions .card{row-gap:12px}
@media(min-width:701px){
 .questions .question-copy{align-self:start}
 .questions .card .vote-area{align-self:start;margin-top:24px}
 .card>.question-menu{top:8px}
}
@media(max-width:700px){
 .questions .card .vote-area{margin-top:18px}
}
.card .card-links .question-withdraw{min-width:90px}
.card .card-links:not(:has(.question-withdraw))::after{content:"";display:block;flex:0 0 90px;width:90px;min-height:44px}
@media(min-width:701px){.card .card-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-height:44px}}
@media(max-width:700px){
 .card .card-footer .card-bottom>span{min-height:36px}
 .card .card-footer .question-withdraw,.card .card-links:not(:has(.question-withdraw))::after{grid-row:3;grid-column:1/-1;min-height:44px}
}

/* Quiet actions; answer buttons carry only their choice and selected state. */
.card .choices button span:empty,.featured-actions .vote span:empty{display:none}
.card .card-links .result-action{color:#49354f}
.card .card-links .result-action:disabled{color:#706775;opacity:.75;cursor:default}
.card .card-links .question-withdraw{font-size:12px;color:#85748c}
.card .card-links{column-gap:22px}
.questions .context{font-size:13px;line-height:1.7}
#orbital-host [data-orb=resultlabel]{font-size:11px;letter-spacing:.08em}
/* The weekly stage reserves measured copy space, not an oversized whole card. */
#weekly-card .card{align-items:stretch;padding:22px 0 12px}
#weekly-card .question-copy{min-height:0}
#weekly-card .vote-area{margin-top:20px}
#weekly-card .card-footer{margin-top:18px}
#weekly-controls{position:sticky;bottom:0;z-index:4;padding:14px 0;background:var(--paper);border-top:1px solid var(--line);margin-top:12px;min-height:74px}
#weekly-card.weekly-enter .question-copy{animation:weekly-copy-enter 380ms cubic-bezier(.22,1,.36,1) both}
@keyframes weekly-copy-enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){#weekly-card.weekly-enter .question-copy{animation:none}}

#weekly-card .weekly-sizing .question-copy{min-height:0!important}

/* Bring the weekly experience into view and keep all five steps on one row. */
html:has(.random-journey){scroll-behavior:auto}
#weekly-heading{scroll-margin-top:24px}
.random-journey>.random-intro{font-size:14px;line-height:1.6;margin:12px 0 18px;max-width:52ch}
.weekly-navigation{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;max-width:320px;margin:12px 0}
.weekly-navigation button{min-width:0;min-height:44px;padding:10px 8px;font-size:12px}
#weekly-card .question-copy h3{font-size:36px;line-height:1.22}
#weekly-controls{display:grid;grid-template-columns:minmax(0,210px) auto;justify-content:start;align-items:center;gap:14px}
#weekly-controls>.primary{min-width:0;width:auto;justify-content:center;gap:0}
#weekly-controls>.text-button{font-size:11px;white-space:nowrap}
#weekly-controls .weekly-finish{grid-column:1/-1}
@media(max-width:700px){
 .random-journey>.random-intro{font-size:13px;max-width:34ch;margin-bottom:14px}
 .random-journey>.random-progress{font-size:12px;letter-spacing:.02em;margin-bottom:10px}
 #weekly-card .question-copy h3{font-size:26px;line-height:1.25}
 #weekly-controls{grid-template-columns:minmax(0,1fr) auto;min-height:72px;gap:12px;padding:12px 0}
 #weekly-controls>.primary{padding:13px 14px;font-size:12px}
}
@media(max-width:700px){#weekly-controls{position:static}}

.card .choices button,.featured-actions .vote{min-height:46px}
.card .choices button span,.featured-actions .vote span{font-size:14px;line-height:1}

/* A quiet invitation to the purpose, always opened by choice. */
.featured-purpose-link{display:block;width:fit-content;max-width:100%;min-height:44px;margin:4px 0 0;padding:10px 0;border:0;background:none;color:var(--muted);font-size:11px;line-height:1.5;text-align:left;text-decoration:underline;text-decoration-color:#ded7e1;text-underline-offset:5px;transition:color .2s,text-decoration-color .2s}
.featured-purpose-link:hover{color:var(--green);text-decoration-color:var(--green)}

/* A familiar blue waiting circle beside the mouse, without a logo. */
.hmd-pointer-wait{position:fixed;left:0;top:0;z-index:2000;width:16px;height:16px;pointer-events:none;user-select:none}
.hmd-pointer-wait[hidden]{display:none}
.hmd-pointer-wait::before{content:"";display:block;width:100%;height:100%;box-sizing:border-box;border:2px solid #bbdefb;border-top-color:#1976d2;border-right-color:#1976d2;border-radius:50%;animation:hmd-pointer-spin .7s linear infinite}
@keyframes hmd-pointer-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.hmd-pointer-wait::before{animation:none}}

/* Keep the question invitation close to the leaderboard's closing note. */
#most-answered{padding-bottom:0;margin-bottom:24px}
#most-answered+.contribute{margin-top:0!important}


/* Result colour encodes the larger count; exact ties use two dark segments.
   Choice buttons and DITT SVAR continue to encode the user's own answer. */
[data-result-leader]{--result-yes:#49354f;--result-no:#b5a6bd;--result-yes-text:#49354f;--result-no-text:#85748c}
[data-result-leader="no"]{--result-yes:#b5a6bd;--result-no:#49354f;--result-yes-text:#85748c;--result-no-text:#49354f}
[data-result-leader="tie"]{--result-yes:#49354f;--result-no:#49354f;--result-yes-text:#49354f;--result-no-text:#49354f}
.result-line[data-result-leader] .result-line-numbers>div:first-child strong{color:var(--result-yes-text)}
.result-line[data-result-leader] .result-line-numbers>div:last-child strong{color:var(--result-no-text)}
.result-line[data-result-leader] .result-line-yes i{background:var(--result-yes)}
.result-line[data-result-leader] .result-line-no i{background:var(--result-no)}
.account-answer[data-result-leader] .account-result-labels>span:first-child{color:var(--result-yes-text)}
.account-answer[data-result-leader] .account-result-labels>span:last-child{color:var(--result-no-text)}
.account-answer[data-result-leader] .account-result-track{background:var(--result-no)}
.account-answer[data-result-leader] .account-result-track i{background:var(--result-yes)}
.result-row[data-result-answer="yes"] .bar,.inline-results[data-result-leader] .result-mini-bar{background:var(--result-yes)}
.result-row[data-result-answer="no"] .bar,.inline-results[data-result-leader] .result-mini-bar.negative{background:var(--result-no)}
.result-row[data-result-answer="yes"] .result-label,.inline-results[data-result-leader] .result-mini:first-child strong{color:var(--result-yes-text)}
.result-row[data-result-answer="no"] .result-label,.inline-results[data-result-leader] .result-mini:nth-child(2) strong{color:var(--result-no-text)}
.inline-results[data-result-leader] .ring-base{stroke:var(--result-no)}
.inline-results[data-result-leader] .ring-value{stroke:var(--result-yes)}

.admin-metrics dl{margin:0}.admin-metrics dt{margin-top:18px}.admin-metrics dd{margin:6px 0 0;font-size:24px;font-weight:600}

#weekly-card .card-result-slot{height:auto}
#weekly-card .card-result-slot:has(.small-orbital[hidden]){display:none}


