:root{font-family:system-ui,sans-serif;color:#20352f;background:#f7f6f1;line-height:1.65}*{box-sizing:border-box}body{margin:0}header{padding:22px 5%;display:flex;align-items:center;gap:24px;border-bottom:1px solid #d7ded6}header a{font-weight:700;color:#244b3c;text-decoration:none}header span{color:#68746a;font-size:.9rem}header button{margin-left:auto}main{max-width:830px;margin:55px auto;padding:0 24px}h1{font-family:Georgia,serif;font-weight:400;line-height:1.2;font-size:2.4rem}h2{font-size:1.25rem}.eyebrow{text-transform:uppercase;letter-spacing:.15em;font-size:.75rem}button,.button{font:inherit;cursor:pointer;padding:9px 17px;border:1px solid #718d7c;border-radius:8px;background:#fff;color:#294e3d;text-decoration:none;display:inline-block;margin:4px 4px 4px 0}button:hover,.button:hover{background:#e6eee5}button:disabled{opacity:.55;cursor:wait}#send,#recordConsent,#newInquiry button[type="submit"]{background:#294e3d;color:white}input:not([type=checkbox]),textarea,select{display:block;width:100%;font:inherit;border:1px solid #718d7c;border-radius:8px;background:white;color:inherit;padding:12px;margin:7px 0 16px}label{display:block}textarea{resize:vertical}article{padding:22px 26px;margin:22px 0;border:1px solid #718d7c;border-radius:12px;background:#fff}article.user{margin-left:8%;background:#edf1e8;border-left:3px solid #294e3d}article .text{white-space:pre-wrap;overflow-wrap:anywhere}article h2{font-size:.8rem;text-transform:uppercase;letter-spacing:.1em;color:#5b6b60}.rating{margin-top:20px;border-top:1px solid #e1e6dc;padding-top:12px;font-size:.85rem}.rating button[aria-pressed=true]{background:#294e3d;color:white}.hint,footer{font-size:.86rem;color:#5b6b60}aside,#feedback{padding:22px;background:#eef1e8;border-radius:10px;margin:24px 0}.inquiry-head{display:flex;align-items:center;justify-content:space-between;gap:12px}#banner,#recovery{background:#fff2d2;padding:16px;border-radius:8px}#status{color:#79361a}footer{text-align:center;padding:35px}small{font-weight:400}nav{display:flex;flex-wrap:wrap}[hidden]{display:none!important}:focus-visible{outline:3px solid #a6762f;outline-offset:3px}@media(max-width:550px){main{margin-top:28px}header span{display:none}.inquiry-head{display:block}article{padding:16px}h1{font-size:2rem}}

#reminderConsentChoice{margin:18px 0;padding:16px;border:1px solid #d7ded6;border-radius:8px;background:#eef1e8}
#reminderOptInText{white-space:pre-line;margin:8px 0 0}

.rating{font-size:.78rem;border-top:0;padding-top:6px;margin-top:14px;color:#5b6b60}.rating small{font-size:.72rem}.rating-choices{display:flex;gap:5px;margin-top:5px}.rating button{font-size:.78rem;min-width:30px;padding:3px 8px;margin:0}.rating button:hover:not([aria-pressed=true]){color:#20352f}.rating button[aria-pressed=true]:hover{color:white}

/* Understanding remains a read-only companion to the conversation. */
main:has(#inquiry:not([hidden])){max-width:1280px}
#inquiryLayout{max-width:782px;margin:auto}
#inquiryLayout.understanding-open{max-width:none;display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:28px;align-items:start}
#understanding{margin:0;padding:22px;overflow-wrap:anywhere;border:1px solid #718d7c}
#understanding h2{font-size:1.05rem;margin-top:26px}#understanding h3{font-size:1rem;font-weight:550}
#understanding small{font-size:.78rem;color:#5b6b60;display:block}
#understanding details{margin:12px 0}#understanding summary{cursor:pointer;font-size:.86rem;color:#294e3d}
#understanding blockquote{margin:12px 0;padding-left:14px;border-left:2px solid #b4c6b7;white-space:pre-wrap}
.understanding-item,.cq-version{border-top:1px solid #d4dfd1;padding:12px 0}
#currentQuestion>p:first-child{font-family:Georgia,serif;font-size:1.35rem;line-height:1.45}
@media(max-width:760px){#inquiryLayout.understanding-open{display:block}#inquiryLayout.understanding-open #conversation{display:none}#understanding{margin-top:16px}main{padding:0 18px}}

/* The conversation scrolls above a stationary contribution area. */
#conversation{display:flex;flex-direction:column;min-height:0;overflow:hidden;height:72dvh}
#currentExchange{display:flex;flex-direction:column;flex:1;min-height:0}
#currentExchange[hidden]{display:none}
#conversationMessages,#previousConversation{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}
@media screen and (min-width:761px){
 /* Keep the composer close to short exchanges, with the existing scroll limit for long ones. */
 #currentExchange:has(#compose:not([hidden])):not(:has(#curiosityDoorway:not([hidden])))>
 #conversationMessages:has(#transcript>article.assistant){flex:0 1 auto}
}
#phaseInvitation{display:grid;grid-template-columns:128px minmax(0,1fr);gap:16px;margin:18px 0;padding:18px;border:1px solid var(--floor-light,#FFD976);border-radius:16px;background:#111A25;box-shadow:0 12px 36px #0008,0 0 32px var(--floor-glow,#FFD97618)}
#phaseInvitationArt{align-self:start;width:128px}
.trail-svg{display:block;width:100%;height:auto;color:var(--floor-light,#FFD976)}
#phaseInvitationText p{margin:0 0 .55em}
#phaseInvitationText p:last-child{margin-bottom:0}
.trail-story{min-width:0}
.trail-sign{color:var(--floor-light,#FFD976);letter-spacing:.06em}
.trail-question{color:#F7F4E9;font-family:Georgia,serif;font-size:1.08rem}
.phase-invitation-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.phase-invitation-actions button{min-height:44px;margin:0;padding:8px 13px}
#exploreNext{background:var(--floor-light,#FFD976);border-color:var(--floor-light,#FFD976);color:#080B10;font-weight:700}
@media(max-width:760px){#phaseInvitation{display:block;margin:16px 0;padding:14px}#phaseInvitationArt{width:96px;float:right;margin:0 0 6px 10px}.phase-invitation-actions{clear:both}}
#contributionDock{flex:none;border-top:1px solid #d7ded6;padding-top:12px;background:#f7f6f1}
#contributionDock textarea{margin-bottom:8px}
.contribution-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.contribution-actions button{margin-right:0}
#compose[hidden]~.contribution-actions #send{display:none}
.quiet-feedback{border:0;background:transparent;text-decoration:underline;font-size:.86rem;padding:5px 0;margin-top:14px}
.quiet-feedback:hover{background:transparent;color:#20352f}
.has-help{position:relative}
.has-help::after{content:attr(aria-description);display:none;position:absolute;top:calc(100% + 8px);left:0;width:max-content;max-width:min(210px,calc(100vw - 32px));padding:8px 10px;border:1px solid #718d7c;border-radius:6px;background:#fff;color:#20352f;box-shadow:0 3px 10px #20352f22;font-size:.78rem;font-weight:400;line-height:1.4;text-align:left;white-space:normal;pointer-events:none;z-index:10}
.has-help:focus-visible::after{display:block}
@media(hover:hover){.has-help:hover::after{display:block}}
#startAnother::after,#understand::after{left:auto;right:0}
#startAnother::after{max-width:min(200px,calc(100vw - 32px))}
#openPrevious::after,#viewFullUnderstanding::after,#shareFeedback::after{top:auto;bottom:calc(100% + 8px)}
@media(min-width:761px){#understanding{max-height:72dvh;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}#conversationMessages,#previousConversation{scrollbar-gutter:stable;padding-right:8px}}
#returnUnderstanding{position:sticky;top:0;z-index:1;background:#fff}
#previousConversation>h2{margin-top:12px}#returnCurrent{position:sticky;top:0;background:#fff;z-index:1}#conversation:has(#returnUnderstanding:not([hidden])) #returnCurrent{position:static}
.source-link{font-size:.8rem;padding:3px 8px;text-decoration:underline}
.source-highlight{outline:3px solid #977338;outline-offset:2px;background:#fff3d6!important}
.affected-statements{padding-left:20px}.affected-statements p{margin-bottom:4px}
.evidence-references{display:flex;flex-wrap:wrap}.affected-basis>div{padding:10px 0;border-top:1px solid #d4dfd1}
@media(max-width:760px){
 #understanding{max-height:none;overflow:visible}
 #conversation,#currentExchange{display:block;height:auto;overflow:visible}
 #currentExchange,#conversationMessages,#previousConversation{flex:none}
 #conversationMessages,#previousConversation{overflow:visible;overscroll-behavior:auto}
 article.assistant{scroll-margin-top:12px}
 #contributionDock textarea{height:clamp(72px,12dvh,112px);max-height:30dvh;resize:none}
}

.morq-heading{font-size:1.05rem;line-height:1.4;margin:14px 0 6px}.understanding-change{border-top:1px solid #d4dfd1;padding:12px 0}
.morq-negotiation{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0 12px}.morq-negotiation button{font:inherit;font-size:.8rem;padding:7px 10px;min-height:36px;border-radius:8px}.morq-negotiation button[aria-pressed="true"]{background:var(--ctl-gold);border-color:var(--ctl-ink)}

/* The compact companion and full review project the same saved record. */
#understanding .companion-title{font-size:1rem;margin:0 0 12px}
#understanding h3{font-size:.9rem;margin:18px 0 6px}
#compactNotice{font-size:.75rem;color:#5b6b60}
.understanding-warning{color:#79361a;border-left:3px solid #b18742;padding-left:10px}
.compact-wording{font-size:.88rem;line-height:1.55}
.compact-wording p{margin:0 0 10px}
.compact-disclosure summary{font-size:.85rem;cursor:pointer}
#viewFullUnderstanding{font-size:.85rem;margin-top:18px}
.inquiry-head nav{justify-content:flex-end}.inquiry-head nav button{font-size:.82rem}
.inquiry-choice{display:flex;align-items:center;gap:12px;border-bottom:1px solid #d7ded6;padding:6px 0}.inquiry-choice button{max-width:65%;text-align:left;overflow-wrap:anywhere}.inquiry-choice small{color:#5b6b60}#myInquiries{position:fixed;inset:0 auto 0 0;width:min(360px,90vw);height:100dvh;max-height:100dvh;max-width:90vw;overflow-y:auto;overscroll-behavior:contain;border:1px solid #718d7c;border-radius:0 12px 12px 0;padding:16px 20px;margin:0;background:#fff;color:#20352f;box-shadow:4px 0 20px #20352f33}#myInquiries::backdrop{background:rgb(22 40 32 / 45%)}.drawer-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.drawer-heading h2{margin:0}.inquiry-choice{align-items:flex-start;flex-direction:column;gap:0}.inquiry-choice button{max-width:100%;width:100%;overflow-wrap:anywhere}
.saved-interpretation{white-space:pre-wrap;overflow-wrap:anywhere}
#fullUnderstanding{width:min(920px,calc(100% - 32px));max-height:90vh;padding:0;border:1px solid #718d7c;border-radius:12px;background:#f7f6f1;color:#20352f;overflow:hidden}
#fullUnderstanding::backdrop{background:rgb(22 40 32 / 45%)}
.review-actions{display:flex;justify-content:space-between;gap:12px;padding:12px 24px;border-bottom:1px solid #d7ded6;background:#f7f6f1}
#fullUnderstandingBody{max-height:calc(90vh - 90px);overflow:auto;padding:12px 40px 36px;overscroll-behavior:contain}
#fullInquiryTitle{font-family:Georgia,serif;font-size:1.3rem}#fullNotice{font-size:.86rem;color:#5b6b60}
#fullUnderstandingBody>section{margin-top:30px}#fullUnderstandingBody h2{font-size:1.2rem}
#fullUnderstandingBody h3{font-size:1rem}#fullUnderstandingBody small{display:block;color:#5b6b60;font-size:.78rem;overflow-wrap:anywhere}
#fullUnderstandingBody summary{cursor:pointer;color:#294e3d;font-size:.9rem;padding:6px 0}
#fullUnderstandingBody details{margin:10px 0}#fullUnderstandingBody .element-history{border-top:1px solid #d4dfd1;padding-top:12px}
.evidence-entry{margin:16px 0}.evidence-entry blockquote{border-left:2px solid #b4c6b7;margin:10px 0;padding-left:16px;white-space:pre-wrap;overflow-wrap:anywhere}
#understandingPrint{display:none}
@media(max-width:760px){#fullUnderstanding{width:calc(100% - 16px);max-height:94vh}.review-actions{padding:8px 12px;gap:6px}.review-actions button{font-size:.8rem;padding:8px}#fullUnderstandingBody{padding:10px 20px 28px;max-height:calc(94vh - 85px)}#fullUnderstandingBody h1{font-size:1.9rem}.inquiry-head nav{justify-content:flex-start}}
@media print{
 @page{size:A4;margin:18mm 17mm;@bottom-right{content:counter(page);font-size:9pt;color:#666}}
 html,body{color-scheme:light!important;background:white!important;color:#17251e!important;font-size:10pt;line-height:1.5;height:auto!important;min-height:0;overflow:visible!important}
 body{display:block!important}
 body::before,body::after,dialog::backdrop{display:none!important}
 body>*{display:none!important}body>#understandingPrint{display:block!important}
 #understandingPrint{overflow:visible;max-height:none;max-width:none;padding:0;margin:0}
 #understandingPrint .understanding-warning{color:#79361a}
 #understandingPrint h1{font-size:23pt;margin:0 0 3mm}#understandingPrint h2{font-size:16pt;line-height:1.3}
 #understandingPrint h3{font-size:12pt}#understandingPrint h1,#understandingPrint h2,#understandingPrint h3{break-after:avoid}
 #understandingPrint small{display:block;font-size:8.5pt;color:#425448;overflow-wrap:anywhere}
 #understandingPrint p,#understandingPrint blockquote{orphans:3;widows:3}
 #understandingPrint .print-now h3{margin:4mm 0 1mm}
 #understandingPrint .print-milestone{border-top:1px solid #b4c6b7;padding:2mm 0}
 #understandingPrint .print-milestone h3{margin:0 0 2mm}
 #understandingPrint h4{font-size:10pt;margin:3mm 0 1mm;break-after:avoid}
 #understandingPrint .print-sources{font-size:8pt}
 #understandingPrint a{color:inherit;text-decoration:none}
 #understandingPrint .print-milestone>p,#understandingPrint .print-milestone>small{break-after:avoid}
 #understandingPrint .understanding-item p{margin:1mm 0 2mm}
 #understandingPrint .evidence-entry{margin:3mm 0}
 #understandingPrint .evidence-entry>small:first-child{break-after:avoid}
 #understandingPrint .understanding-item,#understandingPrint .understanding-change{padding:2mm 0}
 #understandingPrint blockquote{border-left:2px solid #9aab9d;margin:3mm 0;padding-left:4mm}
 #understandingPrint button{display:none!important}
}
article.set-aside{border-style:dashed;background:#f3f1e9}
article.set-aside p{font-size:.86rem;color:#5b6b60}

@media print{#understandingPrint .understanding-change>p,#understandingPrint .understanding-change>small,#understandingPrint .understanding-item>small{break-after:avoid}}

@media print{
 #understandingPrint .understanding-item>.print-sources{break-after:auto}
 #understandingPrint .print-progression .understanding-item{padding:1.5mm 0}
 #understandingPrint .print-progression p{margin:2mm 0}
 #understandingPrint .print-progression h4{margin-top:2mm}
}

/* Global inquiry navigation stays in the header; understanding belongs to the active inquiry. */
header{flex-wrap:wrap}
#appNav{margin-left:auto}
header #appNav button,header #logout{margin-left:0}
.inquiry-head>button,#appNav button,header #aboutCtl{font-size:.82rem}
@media(max-width:760px){
 #appNav{order:3;flex-basis:100%;margin-left:0}
 header #logout{margin-left:auto}
}
@media(max-width:550px){header{padding:12px 5%;gap:8px}}

/* Keep inquiry controls in two compact rows on phones, above the conversation. */
@media(max-width:480px){
 header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 8px;padding:8px 16px}
 header>a:first-child{grid-column:1;grid-row:1;min-width:0;font-size:.94rem;line-height:1.25;white-space:nowrap}
 header #aboutCtl{grid-column:2;grid-row:1;justify-self:end}
 header #appNav{grid-column:1;grid-row:2;display:flex;flex-wrap:nowrap;gap:5px;min-width:0;margin:0}
 header #appNav button{flex:1 1 auto;min-width:0;white-space:nowrap;margin:0;padding:6px 7px}
 header #logout{grid-column:2;grid-row:2;justify-self:end;margin:0}
 header #aboutCtl,header #logout,header #appNav button{min-height:42px;font-size:.76rem}
 header #aboutCtl,header #logout{padding:6px 9px}
 main{margin-top:12px;padding:0 16px}
 #inquiryTitle{font-size:clamp(1.4rem,5vw,1.55rem);line-height:1.2;margin:0 0 6px;overflow-wrap:anywhere}
 .inquiry-head>#understand{max-width:100%;min-height:42px;margin:0 0 8px;padding:6px 10px}
 #conversationMessages>h2{margin:0 0 4px}
 #conversationMessages>.hint:first-of-type{margin:0 0 10px}
}
.compose-status{min-height:1.7em;margin:4px 0;color:#294e3d;font-size:.86rem}
.compose-status[hidden]{display:block!important;visibility:hidden}
.compose-status.working::before{content:"";display:inline-block;width:.58em;height:.58em;margin-right:.5em;border-radius:50%;background:#718d7c;animation:ctl-pulse 1.4s ease-in-out infinite;vertical-align:middle}
@keyframes ctl-pulse{50%{opacity:.35}}
@media(prefers-reduced-motion:reduce){.compose-status.working::before{animation:none}}
#recovery h2{font-size:1rem;margin:0 0 4px}#recovery p{margin:4px 0 8px}
#continueConfirm{width:min(430px,calc(100% - 32px));border:1px solid #718d7c;border-radius:10px;padding:20px;background:#f7f6f1;color:#20352f}
#continueConfirm::backdrop{background:rgb(22 40 32 / 45%)}
.confirmation-actions{display:flex;gap:8px;justify-content:flex-end}

/* Mobile conversation workspace: one scrolling message region and a visible composer. */
#mobileMenuButton,#mobileMenu{display:none}
.send-arrow{display:none}
#contributionDock{display:flex;flex-wrap:wrap;align-items:center;column-gap:8px}
#compose{display:block;flex:0 0 100%;min-width:0}
#compose label,#recovery,#resumeInquiry{flex:0 0 100%}
.compose-row{display:flex;align-items:flex-end;gap:5px;padding:4px;border:1px solid #718d7c;border-radius:15px;background:#fff}
.compose-row:focus-within{outline:3px solid #a6762f;outline-offset:2px}
#contributionDock #message{flex:1 1 auto;min-width:0;width:0;margin:0;padding:8px 10px;border:0;outline:0;resize:none;overflow-y:auto;line-height:1.4}
#compose .voice-control,#send{flex:none;min-height:44px;margin:0}
#send{order:1}
.contribution-actions{order:2}
#composeStatus{order:3;flex:0 0 100%}
@media(max-width:760px){
 body:has(#inquiry:not([hidden])):not(:has(#feedback:not([hidden]))){height:var(--ctl-visible-height,100dvh);overflow:hidden;display:flex;flex-direction:column}
 body:has(#inquiry:not([hidden])):not(:has(#feedback:not([hidden])))>header{flex:none}
 body:has(#inquiry:not([hidden])):not(:has(#feedback:not([hidden])))>main{flex:1;min-height:0;width:100%;margin:0;padding:0 12px;display:flex;flex-direction:column}
 body:has(#inquiry:not([hidden])):not(:has(#feedback:not([hidden])))>footer{display:none}
 #status{min-height:30px;margin:0;padding:2px 0;line-height:1.4;font-size:.78rem}
 #inquiry{flex:1;min-height:0;display:flex;flex-direction:column}
 .inquiry-head{flex:none;padding:6px 0}
 #inquiryTitle{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;margin:0;font-size:clamp(1.1rem,4.6vw,1.4rem);line-height:1.2;overflow:hidden}
 .inquiry-head>#understand{display:none}
 #inquiryLayout,#inquiryLayout.understanding-open{flex:1;min-height:0;display:flex;flex-direction:column;margin:0;max-width:none}
 #conversation,#currentExchange{display:flex;flex-direction:column;flex:1;min-height:0;height:auto;overflow:hidden}
 #conversationMessages,#previousConversation{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 2px 8px;scrollbar-gutter:stable}
 #previousConversation>h2{margin-top:8px}
 #understanding{flex:1;min-height:0;overflow-y:auto;margin:0}
 #contributionDock{display:block;flex:none;min-height:0;padding:7px 0 calc(7px + env(safe-area-inset-bottom));border-top:1px solid #d7ded6}
 #compose{display:block}
 #compose label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 .compose-row{display:flex;align-items:flex-end;flex-wrap:nowrap;gap:5px;padding:4px;border:1px solid #718d7c;border-radius:15px;background:#fff}
 .compose-row:focus-within{outline:3px solid #a6762f;outline-offset:2px}
 #contributionDock textarea{flex:1 1 auto;min-width:0;width:0;height:44px;min-height:44px;max-height:min(128px,26dvh);margin:0;padding:8px 10px;border:0;outline:0;resize:none;overflow-y:auto;line-height:1.4}
 #send{flex:none;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;margin:0;border-radius:50%;font-size:1.4rem;line-height:1}
 #send .send-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 #send .send-arrow{display:inline}
 #contributionDock .contribution-actions{display:none}
 #recovery{max-height:min(32dvh,220px);overflow-y:auto;margin-bottom:6px;padding:10px;font-size:.85rem}
 #recovery h2{margin:0 0 4px}
 #recovery button{min-height:44px}
 #returnCurrent,#openPrevious,#backConversation,#resumeInquiry{min-height:44px}
 #composeStatus{margin:4px 2px 0;font-size:.78rem}
 header{position:relative;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 12px;min-height:52px}
 header>a:first-child{font-size:1rem;line-height:1.2;min-width:0}
 header span,header #appNav,header #aboutCtl,header #logout{display:none!important}
 #mobileMenuButton{display:block;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;font-size:1.5rem;line-height:1}
 #mobileMenu{position:absolute;top:calc(100% - 1px);right:12px;display:flex;flex-direction:column;gap:1px;width:min(270px,calc(100vw - 24px));max-height:calc(var(--ctl-visible-height,100dvh) - 58px);overflow-y:auto;padding:7px;border:1px solid #718d7c;border-radius:10px;background:#fff;box-shadow:0 8px 24px #20352f33;z-index:10}
 #mobileMenu button,#mobileMenu a{display:block;width:100%;min-height:44px;margin:0;padding:9px 12px;border:0;border-radius:6px;background:#fff;color:#294e3d;text-align:left;font:inherit;font-size:.9rem;line-height:1.3;text-decoration:none}
 #mobileMenu button:hover,#mobileMenu a:hover,#mobileMenu button:focus-visible,#mobileMenu a:focus-visible{background:#e6eee5}
 #mobileMenu button:last-child{border-top:1px solid #d7ded6;border-radius:0}
 #mobileMenu [data-mobile-action="understand"]:disabled{color:#68746a;opacity:.65}
 #myInquiries{max-height:var(--ctl-visible-height,100dvh);height:var(--ctl-visible-height,100dvh)}
}
@media(max-width:760px) and (max-height:500px){
 .inquiry-head{padding:2px 0}
 #inquiryTitle{-webkit-line-clamp:1}
 #contributionDock{padding-top:4px}
}

/* Keep the desktop inquiry identity compact and aligned with the conversation. */
@media(min-width:761px){
 main:has(#inquiry:not([hidden])){margin-top:14px}
 main:has(#inquiry:not([hidden]))>#status{max-width:782px;min-height:20px;margin:0 auto 4px;font-size:.78rem;line-height:1.4}
 .inquiry-head{width:100%;max-width:782px;min-height:56px;margin:0 auto 6px;gap:14px}
 #inquiryTitle{flex:1;min-width:0;margin:0;font-size:1.6rem;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .inquiry-head>#understand{flex:none;max-width:40%;min-height:42px;margin:0;white-space:nowrap}
}
@media(min-width:761px) and (max-width:1000px){
 header{flex-wrap:nowrap;gap:8px;padding:12px 18px}
 header span{display:none}
 #appNav{flex-wrap:nowrap}
 header #appNav button,header #aboutCtl,header #logout{padding:7px 11px;white-space:nowrap}
}

/* Saved inquiries and saved understanding frame the existing conversation. */
@media(min-width:761px){
 header{position:relative;z-index:5}
 #appNav{align-items:center}
 #toggleUnderstanding{font-size:.82rem;white-space:nowrap}
 main:has(#inquiry:not([hidden])){max-width:none;width:auto;transition:margin .18s ease}
 main:has(#inquiry:not([hidden])) #inquiry{max-width:782px;margin:auto}
 #inquiryLayout,#inquiryLayout.understanding-open{display:block;max-width:782px;margin:auto}
 #understanding{position:fixed;z-index:8;right:0;top:var(--ctl-header-height,76px);width:340px;max-width:min(360px,36vw);height:calc(100dvh - var(--ctl-header-height,76px));max-height:none;margin:0;border-radius:10px 0 0 0;overflow-y:auto;box-shadow:-4px 0 18px #20352f22}
 #updateUnderstandingPanel{width:100%;margin:8px 0 0;text-align:left}
 #myInquiries:not([hidden]){position:fixed;z-index:8;top:var(--ctl-header-height,76px);left:0;inset:auto auto 0 0;width:260px;max-width:34vw;height:calc(100dvh - var(--ctl-header-height,76px));max-height:none;border-radius:0 10px 0 0;box-shadow:4px 0 18px #20352f22;overflow-y:auto}
 #sidebarNewInquiry{width:100%;text-align:left;margin:14px 0 8px}
 #inquiryList{overflow-y:auto;max-height:calc(100% - 110px)}
 .inquiry-choice button[aria-current="page"]{background:#e6eee5;border-color:#294e3d;color:#20352f;font-weight:700;opacity:1}
 .inquiry-head>#understand{display:none}
}
@media(min-width:1001px) and (max-width:1400px){header{flex-wrap:nowrap;gap:10px;padding:6px 24px}header span{display:none}main:has(#inquiry:not([hidden])){margin-top:10px}}
@media(min-width:1100px){body.workspace-left-open main:has(#inquiry:not([hidden])){margin-left:260px}}
@media(min-width:1300px){body.workspace-right-open main:has(#inquiry:not([hidden])){margin-right:340px}}
@media(min-width:761px) and (max-width:1299px){
 body.workspace-right-open #inquiryLayout{z-index:auto}
 body.workspace-right-open::before{content:"";position:fixed;inset:var(--ctl-header-height,76px) 0 0;background:#20352f30;z-index:7}
}
@media(min-width:761px) and (max-width:1099px){
 body.workspace-left-open::before{content:"";position:fixed;inset:var(--ctl-header-height,76px) 0 0;background:#20352f30;z-index:7}
 #myInquiries:not([hidden]){width:min(320px,85vw);max-width:85vw}
}
@media(max-width:760px){#toggleUnderstanding{display:none!important}#updateUnderstandingPanel{width:100%;text-align:left}}
@media(prefers-reduced-motion:reduce){main:has(#inquiry:not([hidden])){transition:none}}

/* One compact application header carries the selected inquiry title. */
#understand{display:none!important}
header #startAnother{display:none!important}

/* New inquiry uses the existing form and response layout. */
#inquiryStarters{border:0;padding:0;margin:12px 0 20px;min-width:0}
#inquiryStarters legend{font-weight:650;font-size:1.08rem;padding:0}
#inquiryStarters>p{margin:4px 0 14px;color:#5b6b60}
.starter-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.starter-option{position:relative;display:flex;flex-direction:column;gap:8px;min-width:0;padding:16px;border:1px solid #718d7c;border-radius:10px;background:#fff;cursor:pointer;line-height:1.4}
.starter-option:hover{background:#eef1e8}
.starter-option:has(input:checked){background:#eef1e8;border-color:#294e3d;box-shadow:inset 0 0 0 1px #294e3d}
.starter-option:focus-within{outline:3px solid #a6762f;outline-offset:3px}
.starter-option input[type=radio]{position:absolute;top:17px;right:14px;width:auto;padding:0;margin:0;border:0;accent-color:#294e3d}
.starter-option>strong{padding-right:24px;color:#244b3c}
.starter-freeform{grid-column:1/-1}
#openingContribution{min-height:104px}
@media(max-width:600px){.starter-options{grid-template-columns:1fr}.starter-option{padding:14px}#inquiryStarters{margin-bottom:16px}}
header{flex-wrap:nowrap;gap:10px;padding:10px 20px;min-height:60px}
header:has(#inquiryTitle:not([hidden]))>span,header:has(#inquiryTitle:not([hidden]))>a:first-child{display:none}
header #appNav{flex:1;min-width:0;margin-left:0;flex-wrap:nowrap;align-items:center;gap:6px}
header #appNav button{flex:none;margin:0;padding:7px 10px;white-space:nowrap;font-size:.8rem}
#toggleUnderstanding::after{left:auto;right:0}
#inquiryTitle{display:block;flex:1;min-width:0;margin:0;font:600 1rem/1.25 system-ui,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
#inquiryTitle[hidden]{display:none!important}
header #aboutCtl,header #logout{flex:none;margin:0;font-size:.8rem;white-space:nowrap}
main:has(#inquiry:not([hidden])){margin-top:0;padding-top:4px}
main:has(#inquiry:not([hidden]))>#status{min-height:0;margin:0 auto 2px}
main:has(#inquiry:not([hidden]))>#status:empty{display:none}
#transcript>article:first-child,#transcript>p:first-child{margin-top:8px}
#mobileInquiryFullTitle{margin:2px 8px 8px;padding:6px 4px 10px;border-bottom:1px solid #d7ded6;color:#20352f;font:600 .9rem/1.35 system-ui,sans-serif;overflow-wrap:anywhere}
.drawer-brand{font:700 1.2rem/1.3 system-ui,sans-serif;color:#294e3d}
@media(min-width:1100px){
 #myInquiries:not([hidden]){top:0;height:100dvh;max-height:100dvh;border-radius:0}
 body:has(#myInquiries[open]) header{padding-left:280px}
}
@media(min-width:761px) and (max-width:1000px){
 header #aboutCtl,header #logout{display:none!important}
 header #mobileMenuButton{display:block;width:44px;height:44px;min-width:44px;margin:0;padding:0;font-size:1.5rem;line-height:1}
 header #mobileMenu{position:absolute;top:calc(100% - 1px);right:12px;display:flex;flex-direction:column;gap:1px;width:min(270px,calc(100vw - 24px));max-height:calc(var(--ctl-visible-height,100dvh) - 58px);overflow-y:auto;padding:7px;border:1px solid #718d7c;border-radius:10px;background:#fff;box-shadow:0 8px 24px #20352f33;z-index:10}
 header #mobileMenu button,header #mobileMenu a{display:block;width:100%;min-height:44px;margin:0;padding:9px 12px;border:0;border-radius:6px;background:#fff;color:#294e3d;text-align:left;font:inherit;font-size:.9rem;line-height:1.3;text-decoration:none}
 header #mobileMenu button:last-child{border-top:1px solid #d7ded6;border-radius:0}
}
@media(max-width:760px){
 header{gap:8px;padding:5px 12px;min-height:52px}
 header:has(#inquiryTitle:not([hidden]))>a:first-child{display:none}
 header #appNav:not([hidden]){display:flex!important;flex:1;flex-basis:auto;order:0;min-width:0;margin:0}
 header #mobileMenuButton{order:1}
 header #appNav button{display:none!important}
 header #inquiryTitle:not([hidden]){display:block!important;min-width:0;font-size:1rem;line-height:1.25;-webkit-line-clamp:unset;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 main:has(#inquiry:not([hidden]))>#status{min-height:0;margin:0;padding:0 0 2px}
 #transcript>article:first-child,#transcript>p:first-child{margin-top:6px}
}

/* Optional Voice V1 controls. Written text remains visible. */
.opening-compose-row{padding:4px;border:1px solid #718d7c;border-radius:15px;background:#fff}
.opening-compose-row:focus-within{outline:3px solid #a6762f;outline-offset:2px}
#newInquiry #openingContribution{width:100%;margin:0;padding:8px 10px;border:0;outline:0}
.new-inquiry-submit{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:0;padding:3px 4px 0}
.new-inquiry-submit button{min-height:44px;margin:0}
.voice-control{white-space:nowrap}
.voice-control[aria-pressed="true"]{background:#e6eee5;border-color:#294e3d}
.compose-row>.voice-control,.opening-compose-row .voice-control{flex:none;width:44px;height:44px;min-width:44px;padding:0;font-size:0;line-height:1}
.voice-status,#voiceOpeningStatus{font-size:.82rem;color:#5b6b60}
.voice-status{flex:0 0 100%;margin:4px 0}
.voice-playback{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:8px 0 0;padding-top:7px;border-top:1px solid #d7ded6}
.voice-playback button{width:44px;min-height:44px;min-width:44px;padding:0;font-size:0;line-height:1}
.voice-choice{max-width:min(190px,100%);min-height:44px;font-size:.78rem;padding:4px 7px}
.voice-playback span{font-size:.78rem;color:#5b6b60}
@media(max-width:760px){
 .voice-playback .voice-choice{flex:1 1 120px;width:auto;min-width:0;max-width:190px;margin:0}
}

/* The Curiosity Trail: scenery stays behind native, readable controls. */
:root{color-scheme:dark;background:#080B10;color:#F7F4E9}
body{--floor-light:#FFD976;--floor-glow:#FFD97618;min-height:100dvh;background:
 radial-gradient(ellipse 34vw 62vh at -5% 42%,var(--floor-glow),transparent 75%),
 radial-gradient(ellipse 31vw 55vh at 104% 76%,#24445A55,transparent 73%),
 radial-gradient(ellipse 54vw 48vh at 50% 108%,#17283C,transparent 85%),
 repeating-radial-gradient(ellipse at 4% 105%,transparent 0 78px,#17263770 80px 82px,transparent 84px 155px),#080B10;color:#F7F4E9}
body[data-floor="1"]{--floor-light:#F5C65A;--floor-glow:#F5C65A20}
body[data-floor="2"]{--floor-light:#75BBD7;--floor-glow:#75BBD724}
body[data-floor="3"]{--floor-light:#ED8E6D;--floor-glow:#ED8E6D26}
body[data-floor="4"]{--floor-light:#79C9A0;--floor-glow:#79C9A024}
body[data-floor="5"]{--floor-light:#C19BEA;--floor-glow:#C19BEA26}
#floorScene{position:fixed;left:max(12px,calc((100vw - 1360px)/2));top:25vh;width:min(220px,16vw);z-index:0;pointer-events:none;opacity:.62;filter:drop-shadow(0 0 32px var(--floor-glow))}
#floorScene::before{content:"";position:absolute;inset:-8vh -20px -23vh;border:2px solid #5293AE42;border-bottom:0;border-radius:45% 45% 0 0;transform:rotate(-5deg);pointer-events:none}
#floorScene::after{content:"";position:absolute;left:-45px;right:-22px;top:75%;height:32vh;border:2px solid var(--floor-light);border-top:0;border-radius:0 0 45% 28%;transform:rotate(8deg);opacity:.26;pointer-events:none}
#inquiryLayout{position:relative;z-index:1}
header{background:#0C131D;border-bottom-color:#304355;box-shadow:0 5px 28px #0007}
header a,header #inquiryTitle,.drawer-brand{color:#F7F4E9}
header span,.hint,footer,small,.eyebrow,#inquiryStarters>p,.voice-status,#voiceOpeningStatus{color:#C5D0D5}
a{color:#9ED8EB}
button,.button{border-color:#5293AE;background:#111A25;color:#F7F4E9}
button:hover,.button:hover{background:#203247;color:#fff}
button:disabled{opacity:.6}
:focus-visible,.starter-option:focus-within,.compose-row:focus-within,.opening-compose-row:focus-within{outline-color:#FFD976}
input:not([type=checkbox]),textarea,select{border-color:#5293AE;background:#111A25;color:#F7F4E9}
input::placeholder,textarea::placeholder{color:#C5D0D5;opacity:1}
input[type=checkbox],input[type=radio]{accent-color:#FFD976}
article{border-color:#3B6476;background:#171D25;box-shadow:0 8px 22px #0005}
article.user{background:#1B2A34;border-left-color:var(--floor-light,#FFD976)}
article h2,.rating,.rating small,.rating button:hover:not([aria-pressed=true]){color:#C5D0D5}
.rating{border-top-color:#385166}
.rating button[aria-pressed=true]{background:#31546A;color:#fff}
#send,#recordConsent,#newInquiry button[type="submit"]{background:var(--floor-light,#FFD976);border-color:var(--floor-light,#FFD976);color:#080B10;font-weight:700}
#send:hover,#recordConsent:hover,#newInquiry button[type="submit"]:hover,#exploreNext:hover{background:#FFE7A1;color:#080B10}
aside,#feedback,#reminderConsentChoice,.starter-option,#banner,#recovery{background:#111A25;border:1px solid #38566A;color:#F7F4E9}
#status,.understanding-warning{color:#FFD976}
#understanding,#myInquiries,#fullUnderstanding,#continueConfirm{background:#111A25;color:#F7F4E9;border-color:#5293AE}
#myInquiries::backdrop,#fullUnderstanding::backdrop,#continueConfirm::backdrop{background:#000B}
#understanding small,#understanding summary,#understanding h3,#fullUnderstandingBody small,#fullUnderstandingBody summary,#fullNotice,.inquiry-choice small{color:#C5D0D5}
#understanding blockquote,.evidence-entry blockquote{border-left-color:var(--floor-light,#FFD976)}
.understanding-item,.cq-version,.understanding-change,.affected-basis>div,.inquiry-choice,.rating,.voice-playback{border-color:#385166}
.review-actions,.compose-row,.opening-compose-row,#contributionDock,.has-help::after,#mobileMenu,#mobileMenu button,#mobileMenu a{background:#111A25;color:#F7F4E9;border-color:#38566A}
header #mobileMenu,header #mobileMenu button,header #mobileMenu a{background:#111A25;color:#F7F4E9;border-color:#38566A}
header #mobileMenu button:hover,header #mobileMenu a:hover{background:#203247}
#contributionDock{border-top-color:#38566A}
#contributionDock #message,#newInquiry #openingContribution{background:transparent;color:#F7F4E9}
#mobileInquiryFullTitle,.drawer-brand,.starter-option>strong{color:#F7F4E9}
#mobileInquiryFullTitle{border-bottom-color:#38566A}
.starter-option:hover,.starter-option:has(input:checked),.voice-control[aria-pressed="true"],.inquiry-choice button[aria-current="page"]{background:#203247;border-color:var(--floor-light,#FFD976);color:#F7F4E9}
.quiet-feedback{background:transparent;color:#C5D0D5}
.quiet-feedback:hover{background:transparent;color:#F7F4E9}
.source-highlight{background:#34311E!important;outline-color:#FFD976}
article.set-aside{background:#25252D;border-style:dashed}
article.set-aside p{color:#C5D0D5}
#returnUnderstanding,#returnCurrent{background:#111A25}
#composeStatus{color:#C5D0D5}
#composeStatus.working::before{background:var(--floor-light,#FFD976)}
@media(max-width:760px){#floorScene{left:auto;right:-25px;top:15vh;width:155px;opacity:.2}#floorScene::before{display:none}}
@media(max-width:550px){#phaseInvitationArt{width:82px}.phase-invitation-actions button{flex:1 1 145px}}
/* A ready phase leaves one quiet doorway in the fixed composer region. */
#curiosityDoorway{display:flex;align-items:center;gap:10px;flex:0 0 100%;width:100%;min-width:0;min-height:54px;margin:0 0 7px;padding:7px 12px;text-align:left;border-color:var(--floor-light,#FFD976);background:#182333}
#curiosityDoorway strong,#curiosityDoorway small{display:block;line-height:1.3}
#curiosityDoorway strong{font-size:.9rem;color:#F7F4E9}
#curiosityDoorway small{font-size:.75rem;color:#C5D0D5}
.doorway-icon{display:grid;place-items:center;flex:none;width:34px;height:38px;border:2px solid var(--floor-light,#FFD976);border-bottom-width:3px;border-radius:45% 45% 3px 3px;transform:rotate(-5deg);color:var(--floor-light,#FFD976);font-size:1.2rem;box-shadow:0 0 12px var(--floor-glow,#FFD97620)}
#phaseInvitation{flex:0 0 100%;width:100%;min-width:0;max-height:min(45dvh,380px);overflow-y:auto;margin:0 0 8px;box-shadow:0 0 20px var(--floor-glow,#FFD97620)}
@media(max-width:760px){#curiosityDoorway{min-height:48px;padding:5px 9px}.doorway-icon{width:30px;height:34px}#phaseInvitation{max-height:min(50dvh,420px);margin:0 0 6px;padding:11px}}
@media(max-width:760px) and (max-height:500px){#phaseInvitation{max-height:32dvh}}
@media(prefers-reduced-motion:reduce){#floorScene,.trail-svg{animation:none;transition:none}}
@media print{#floorScene{display:none}}
/* Original rabbit-hole controls share one outline family and native button semantics. */
.sr-only,#inquiryTitle:not([hidden]){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}
.ctl-icon{display:inline-block;flex:none;width:24px;height:24px;vertical-align:middle;color:#F7F4E9;fill:none}
.icon-button{display:inline-grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0!important;margin:0!important;line-height:1;text-decoration:none}
header{gap:6px;min-height:58px}
header .ctl-brand{flex:none;font:700 1rem/1 system-ui,sans-serif;letter-spacing:.08em;color:#F7F4E9}
header #appNav{flex:1;gap:4px}
header #appNav .icon-button{padding:0!important;font-size:inherit}
header #appNav #startAnother{margin-left:0}
header #aboutCtl,header #logout{font-size:inherit}
header .has-help::after{left:0;right:auto}
header #aboutCtl::after,header #logout::after{left:auto;right:0}
header #mobileMenuButton::after{left:auto;right:0}
header #mobileMenuButton .ctl-icon{width:25px;height:25px}
header #mobileMenu button,header #mobileMenu a{align-items:center;gap:10px}
header #mobileMenu button:not([hidden]),header #mobileMenu a:not([hidden]){display:flex}
#mobileMenu .ctl-icon,#sidebarNewInquiry .ctl-icon{width:22px;height:22px;margin-right:5px}
#myInquiries .ctl-icon{color:#F7F4E9}
#sidebarNewInquiry{display:flex;align-items:center;gap:7px}
#openPrevious{margin:5px 0 8px}
#openPrevious::after{left:0}
#compose label.sr-only{position:absolute!important}
#contributionDock #message{min-height:54px}
#send{display:inline-grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0!important}
#send .ctl-icon{color:#080B10;width:26px;height:26px}
#shareFeedback,#shareFeedbackNoInquiry{border:1px solid #5293AE;background:#111A25;text-decoration:none}
#shareFeedback .ctl-icon,#shareFeedbackNoInquiry .ctl-icon{width:24px;height:24px}
#shareFeedbackNoInquiry{margin-top:14px}
#viewFullUnderstanding{margin-top:18px}
#compactNotice{color:#C5D0D5}
#curiosityDoorway{min-height:48px}
#curiosityDoorway .doorway-icon{display:inline-grid;place-items:center;width:34px;height:34px;border:0;border-radius:0;box-shadow:none;transform:none}
#curiosityDoorway .doorway-icon .ctl-icon{width:30px;height:30px;color:var(--floor-light,#F5C65A)}
#curiosityDoorway strong{font-size:.89rem}
.voice-control .ctl-icon,.voice-playback .ctl-icon{width:24px;height:24px}
.compose-row>.voice-control::after,.opening-compose-row .voice-control::after,.voice-playback button::after{content:none!important}
.voice-playback button{display:inline-grid;place-items:center}
.voice-playback .has-help::after,#send.has-help::after{top:auto;bottom:calc(100% + 8px)}
@media(max-width:760px){
 .has-help::after{display:none!important}
 header{min-height:52px}
 header .ctl-brand{font-size:1rem}
 #mobileMenu button,#mobileMenu a{display:flex;align-items:center;gap:8px}
 #contributionDock #message{min-height:44px}
 #openPrevious{width:44px;height:44px}
 #shareFeedback{display:none}
}

#curiosityDoorway .doorway-fold{width:22px;height:22px;margin-left:auto;color:#F7F4E9}
#curiosityDoorway::after{top:auto;bottom:calc(100% + 8px)}

/* A reading view, not a new phase or navigation surface. */
#rabbitHole{width:min(780px,calc(100vw - 32px));max-height:92dvh;overflow-y:auto;padding:28px;border:1px solid #5293AE;border-radius:16px;background:#111A25;color:#F7F4E9;overscroll-behavior:contain}
#rabbitHole::backdrop{background:#000C}
#rabbitHole h1{font-size:2rem;margin-bottom:12px}
#rabbitHole h2{font-family:Georgia,serif;font-size:1.45rem;margin:0 0 10px;color:var(--chapter-color)}
#rabbitHole h3{font-size:1rem;font-weight:500;margin:0 0 18px}
#rabbitHole p,#rabbitHole small,#rabbitHole blockquote{overflow-wrap:anywhere}
#rabbitHole small{display:block;color:#C5D0D5;font-size:.78rem}
#rabbitHoleStatus{font-size:.88rem;color:#C5D0D5}
#rabbitHoleStatus.loading{font-size:1.05rem;color:#F7F4E9;background:#203247;border:1px solid #5293AE;border-radius:10px;padding:18px;margin:20px 0 28px}
#rabbitHoleStatus.loading::before{content:"";display:inline-block;width:.8em;height:.8em;margin-right:.65em;border:2px solid #7FA9BA;border-top-color:#F7F4E9;border-radius:50%;vertical-align:-.08em;animation:rabbit-scan 1.8s linear infinite}
@keyframes rabbit-scan{to{transform:rotate(1turn)}}
@media(prefers-reduced-motion:reduce){#rabbitHoleStatus.loading::before{animation:none}}
#rabbitHoleStatus.error{color:#FFD976}
.rabbit-chapter{--chapter-color:#FFD976;border-top:1px solid #385166;padding:26px 0;min-height:150px;display:flow-root}
.chapter-2{--chapter-color:#81C7F3}.chapter-3{--chapter-color:#FFBC6B}.chapter-4{--chapter-color:#A5D98A}.chapter-5,.chapter-6{--chapter-color:#CCA8E5}
.rabbit-chapter-art{float:right;width:100px;margin:0 0 12px 18px;--floor-light:var(--chapter-color)}
.rabbit-chapter details{clear:both;font-size:.86rem;margin-top:16px}
.rabbit-chapter summary{cursor:pointer;min-height:44px;display:list-item;padding:8px 0}
.rabbit-chapter blockquote{white-space:pre-wrap;margin:10px 0 20px;padding-left:14px;border-left:2px solid var(--chapter-color)}
#rabbitHole button{min-height:44px}
#rabbitHoleFeedback #feedback{margin:12px 0;padding:18px}
#rabbitHoleFeedback #feedbackHeading{color:#FFD976}
@media(max-width:760px){#rabbitHole{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:18px;margin:auto}#rabbitHole h1{font-size:1.7rem}.rabbit-chapter-art{width:75px;margin-left:10px}#rabbitHoleFeedback #feedback{padding:14px}}

.rabbit-report-actions{display:flex;flex-wrap:wrap;gap:8px}
.rabbit-report-actions button{margin:0}
@media print{
 #understandingPrint:has(.rabbit-chapter){overflow-wrap:anywhere}
 #understandingPrint .rabbit-chapter{min-height:0;padding:3mm 0;border-color:#b4c6b7;--chapter-color:#20352f}
 #understandingPrint .rabbit-chapter h2,#understandingPrint .rabbit-chapter h3{color:#20352f;break-after:avoid}
 #understandingPrint .rabbit-chapter-art{display:none}
 #understandingPrint .rabbit-chapter details{font-size:9pt;margin-top:2mm}
 #understandingPrint .rabbit-chapter summary,#understandingPrint .report-provenance summary{list-style:none;font-weight:600}
 #understandingPrint .rabbit-chapter summary{min-height:0;padding:0;break-after:avoid}
 #understandingPrint .rabbit-chapter details>small{break-after:avoid}
 #understandingPrint .rabbit-chapter blockquote{white-space:pre-wrap;margin:2mm 0;color:#20352f}
 #understandingPrint .report-provenance{margin-top:5mm}
}

/* Secondary icon controls blend into their surface; focus rings stay visible. */
:is(.icon-button,.voice-control,.voice-playback button,#shareFeedback,#shareFeedbackNoInquiry){border:0;background:transparent;box-shadow:none}
:is(.icon-button,.voice-control,.voice-playback button,#shareFeedback,#shareFeedbackNoInquiry):is(:hover,:focus-visible,[aria-pressed="true"]){background:#203247}
#send{border:0}

/* Reading and conversation utilities share one responsive response footer. */
.response-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:8px;padding-top:7px;border-top:1px solid #385166}
.response-actions>.voice-playback{flex:1 1 300px;min-width:0;margin:0;padding:0;border:0}
.response-utilities{display:flex;flex:none;align-items:center;gap:4px;margin-left:auto}
.response-utilities #shareFeedback{display:inline-grid}

/* Curiosity Trail guide and borderless navigation icons. */
header #appNav .icon-button,header #aboutCtl,header #logout,header #mobileMenuButton,
header #mobileMenu .icon-button,#closeTrailMap{border:0;background:transparent;box-shadow:none}
header #appNav .icon-button:hover:not(:disabled),header #aboutCtl:hover,header #logout:hover,
header #mobileMenuButton:hover,header #mobileMenu .icon-button:hover:not(:disabled){background:#203247}
#curiosityTrailMap{width:min(920px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:0;
 color-scheme:light;color:#13283a;background:#f6f1e7;border:1px solid #13283a;border-radius:12px}
#curiosityTrailMap::backdrop{background:#081320c7}
.trail-map-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:16px 18px;border-bottom:1px solid #c9c4b5;position:sticky;top:0;z-index:2;background:#f6f1e7}
.trail-map-header h2{font:400 clamp(1.6rem,4vw,2.2rem)/1.1 Georgia,serif;margin:4px 0 0}
.trail-map-perspective{margin:0;color:#704416;font-size:.76rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
#closeTrailMap .ctl-icon{color:#13283a}
#closeTrailMap:hover,#closeTrailMap:focus-visible{background:#e8dec7}
#closeTrailMap::after{left:auto;right:0;background:#13283a;color:#fff7e5}
.trail-map-body{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:stretch;gap:20px;padding:16px 18px}
.trail-map-art{position:relative;align-self:start;min-width:0}
.trail-map-body img{display:block;width:100%;height:auto;border-radius:9px;border:1px solid #13283a}
.trail-map-body ol{display:grid;grid-template-rows:23fr 17fr 16fr 22fr 22fr;list-style:none;margin:0;padding:0;min-width:0}
.trail-map-body li{align-self:center;padding:8px 12px;margin:0;border-left:3px solid transparent;border-radius:8px}
.trail-map-body li[aria-current="step"]{background:#fae9b7;border-left-color:#895512}
.trail-map-body h3{font:400 1.3rem/1.15 Georgia,serif;margin:3px 0 6px;overflow-wrap:anywhere}
.trail-map-body li p{margin:0;line-height:1.45}
#trailMapLocation{font-size:.95rem;line-height:1.4;margin:8px 0 0}
#trailMapMarker{position:absolute;right:8px;transform:translateY(-50%) rotate(-3deg);padding:5px 9px;background:#ffe49a;color:#13283a;border:2px solid #13283a;border-radius:5px 9px 6px 4px;box-shadow:2px 3px 0 #13283a;font-weight:700;font-size:.9rem;line-height:1.3;white-space:nowrap;pointer-events:none}
#trailMapMarker::before{content:"";position:absolute;left:-9px;top:calc(50% - 6px);border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:8px solid #13283a}
@media(max-width:1000px){
 /* Touch navigation retains the existing menu and handlers, with visible titles. */
 header #mobileMenu{display:flex;flex-direction:column;flex-wrap:nowrap;width:min(310px,calc(100vw - 24px));gap:4px;overflow-y:auto;overscroll-behavior:contain}
 header #mobileMenu .icon-button:not([hidden]){display:flex;align-items:center;justify-content:flex-start;gap:12px;position:relative;flex:none;padding:10px 12px;text-align:left;width:100%;min-height:48px;height:auto;border:0;border-radius:6px;white-space:normal}
 header #mobileMenu .icon-button .ctl-icon{flex:none;width:22px;height:22px;margin:0}
 header #mobileMenu .mobile-menu-label{display:block!important;color:inherit;min-width:0;overflow-wrap:anywhere;font-size:.95rem;line-height:1.4}
 header #mobileMenu .icon-button:is([aria-current="page"],[aria-expanded="true"],:focus-visible,:active){background:#203247;color:#fff7e5}
 header #mobileMenu .icon-button:is([aria-current="page"],[aria-expanded="true"]){box-shadow:inset 3px 0 #ffdb81}
 header #mobileMenu .icon-button::after{display:none!important}
 header #mobileMenuButton:focus-visible::after,#closeTrailMap:focus-visible::after{display:block!important}
 @media(hover:hover){header #mobileMenuButton[aria-expanded="false"]:hover::after,#closeTrailMap:hover::after{display:block!important}}
}
@media(max-width:1000px){
 .trail-map-body{grid-template-columns:1fr;gap:16px;padding:12px}
 .trail-map-art{width:100%;max-width:420px;justify-self:center}
 .trail-map-body ol{display:block}
 .trail-map-body li{padding:12px;margin:0 0 8px}
}

/* The public site's paper and ink, with the richer Trail palette at each doorway. */
@media screen{
 :root{color-scheme:light;background:#f6f1e7;color:#13283a}
 body{--ctl-paper:#f6f1e7;--ctl-cream:#fffbf2;--ctl-ink:#13283a;--ctl-blue:#e4edf0;
  --ctl-muted:#425967;--ctl-rule:#c5bcab;--ctl-teal:#14516a;--ctl-gold:#f5ca6e;
  background:var(--ctl-paper);color:var(--ctl-ink)}
 body:has(#welcome:not([hidden]))>header{background:var(--ctl-cream);color:var(--ctl-ink);border-bottom-color:var(--ctl-rule)}
 body>header{background:var(--ctl-ink);border-bottom-color:var(--ctl-ink);box-shadow:none}
 header .ctl-brand,.drawer-brand{display:inline-flex;align-items:center;gap:8px;font-family:Georgia,serif;letter-spacing:0}
 header .ctl-brand .brand-short,header .ctl-brand .brand-long{color:inherit}
 header .ctl-brand .brand-short{display:inline!important}
 header .ctl-brand .brand-long{display:none}
 body:has(#welcome:not([hidden])) header .ctl-brand{color:var(--ctl-ink);font-size:clamp(1rem,3.9vw,1.35rem)}
 body:has(#welcome:not([hidden])) header .brand-short{display:none!important}
 body:has(#welcome:not([hidden])) header .brand-long{display:inline!important}
 body:has(#welcome:not([hidden])) header #aboutCtl{display:inline-grid!important;margin-left:auto!important}
 .ctl-mark{width:40px;height:40px;display:block;flex:none;border-radius:50%;object-fit:contain}
 body:has(#welcome:not([hidden])) #aboutCtl .ctl-icon,.drawer-brand{color:var(--ctl-ink)}
 body:has(#welcome:not([hidden])) #aboutCtl:hover{background:#e8dec7}
 #welcome{max-width:710px;margin-inline:auto}
 .welcome-opening h1{font-size:clamp(2.3rem,6vw,4.25rem);line-height:1.02;letter-spacing:-.036em;margin:.18em 0 .3em}
 .welcome-opening h1 em{color:#295866}
 .welcome-opening .eyebrow,.trail-postcard-kicker{color:#704416;font-weight:700}
 .welcome-opening>p:last-of-type{margin-bottom:4px}
 .opening-art{display:block;width:100%;height:auto;mix-blend-mode:multiply}
 .consent-paper{padding:14px 18px;background:var(--ctl-cream);border:1px solid var(--ctl-rule);border-radius:11px 16px 12px 15px}
 .consent-paper h2{margin:0 0 8px}
 #consentText{margin:0;overflow-wrap:anywhere}
 #login{margin-top:16px;background:var(--ctl-ink);color:var(--ctl-cream);font-weight:700}
 #login:hover{background:var(--ctl-teal)}
 #floorScene{display:none}
 #trailPageHeading{padding:8px 2px 0}
 #trailPhaseTicket{display:inline-block;margin:0 0 7px;padding:4px 9px;color:var(--ctl-ink);background:#ffdb81;border:1px solid var(--ctl-ink);border-radius:6px 9px 6px 8px;box-shadow:1px 2px var(--ctl-ink);font-size:.71rem;font-weight:750;line-height:1.35;letter-spacing:.09em;text-transform:uppercase;transform:rotate(-1deg)}
 #trailInquiryName{font:400 clamp(1.6rem,4vw,2.25rem)/1.12 Georgia,serif;margin:0 0 5px;overflow-wrap:anywhere}
 .hint,footer,small,.eyebrow,#inquiryStarters>p,.voice-status,#voiceOpeningStatus,#composeStatus{color:var(--ctl-muted)}
 a,.quiet-feedback,.quiet-feedback:hover{color:var(--ctl-teal)}
 button,.button,input:not([type=checkbox]),textarea,select{color:var(--ctl-ink);background:var(--ctl-cream);border-color:#a49b8a}
 button:hover,.button:hover{background:#ede4d3;color:var(--ctl-ink)}
 input::placeholder,textarea::placeholder{color:var(--ctl-muted)}
 input[type=checkbox],input[type=radio]{accent-color:var(--ctl-teal)}
 :focus-visible,.starter-option:focus-within,.compose-row:focus-within,.opening-compose-row:focus-within{outline-color:#9a6126}
 article{background:var(--ctl-blue);border-color:var(--ctl-ink);border-radius:12px 17px 12px 16px;box-shadow:2px 3px var(--ctl-ink)}
 article.user{background:var(--ctl-cream);border:1px solid var(--ctl-rule);box-shadow:none}
 article.set-aside{background:#ece6db;border-style:dashed;box-shadow:none}
 article.set-aside p,article h2,.rating,.rating small,.rating button:hover:not([aria-pressed=true]){color:var(--ctl-muted)}
 .morq-heading{display:flex;align-items:center;gap:9px;font-size:.81rem;letter-spacing:.1em;text-transform:uppercase}
 .morq-heading::before{display:grid;place-items:center;flex:none;width:25px;height:25px;background:var(--ctl-gold);border:1px solid var(--ctl-ink);border-radius:45% 51% 40% 53%;box-shadow:1px 2px var(--ctl-ink);font:700 16px Georgia,serif;color:var(--ctl-ink)}
 .morq-heading[data-move="mirror"]::before{content:"◐"}
 .morq-heading[data-move="open"]::before{content:"↗";background:#aedbe3}
 .morq-heading[data-move="reflect"]::before{content:"✧"}
 .morq-heading[data-move="question"]::before{content:"?";background:#aedbe3}
 .rating,.response-actions,.understanding-item,.understanding-change,.affected-basis>div,.inquiry-choice,.voice-playback{border-color:#b0c4c9}
 .rating button[aria-pressed=true]{background:var(--ctl-teal);color:var(--ctl-cream)}
 :is(aside,#feedback,#reminderConsentChoice,.starter-option,#banner,#recovery,#understanding,#myInquiries,#fullUnderstanding,#continueConfirm,.review-actions,.compose-row,.opening-compose-row){background:var(--ctl-cream);color:var(--ctl-ink);border-color:var(--ctl-rule)}
 #contributionDock{background:var(--ctl-paper);color:var(--ctl-ink);border-color:var(--ctl-rule)}
 #contributionDock #message,#newInquiry #openingContribution{color:var(--ctl-ink)}
 #status,.understanding-warning{color:#79361a}
 #understanding small,#understanding summary,#understanding h3,#fullUnderstandingBody small,#fullUnderstandingBody summary,#fullNotice,.inquiry-choice small,#compactNotice,.starter-option>strong{color:var(--ctl-muted)}
 #understanding blockquote,.evidence-entry blockquote{border-left-color:#a66b24}
 .source-highlight{background:#ffedb5!important;outline-color:#a66b24}
 :is(.starter-option:hover,.starter-option:has(input:checked),.voice-control[aria-pressed="true"],.inquiry-choice button[aria-current="page"]){background:var(--ctl-blue);color:var(--ctl-ink);border-color:#8caaaf}
 #returnUnderstanding,#returnCurrent{background:var(--ctl-cream)}
 .ctl-icon,#myInquiries .ctl-icon{color:var(--ctl-ink)}
 header .ctl-icon,#curiosityDoorway .ctl-icon{color:var(--ctl-cream)}
 .has-help::after{background:var(--ctl-ink);color:var(--ctl-cream)}
 :is(.icon-button,.voice-control,.voice-playback button,#shareFeedback,#shareFeedbackNoInquiry){background:transparent}
 :is(.icon-button,.voice-control,.voice-playback button,#shareFeedback,#shareFeedbackNoInquiry):is(:hover,:focus-visible,[aria-pressed="true"]){background:#d5e6ea}
 #send,#recordConsent,#newInquiry button[type="submit"]{background:var(--ctl-ink);border-color:var(--ctl-ink);color:var(--ctl-cream)}
 #send .ctl-icon{color:var(--ctl-cream)}
 #send:hover,#recordConsent:hover,#newInquiry button[type="submit"]:hover{background:var(--ctl-teal);color:var(--ctl-cream)}
 #curiosityDoorway,#phaseInvitation{background:var(--ctl-teal);border-color:var(--ctl-ink);color:var(--ctl-cream);box-shadow:2px 3px var(--ctl-ink)}
 #curiosityDoorway{background:repeating-radial-gradient(ellipse at 99% 140%,transparent 0 9px,#ffffff20 10px 11px,transparent 12px 17px),var(--ctl-teal)}
 #phaseInvitation{display:flex;overflow:hidden}
 #phaseInvitation .trail-story{display:flex;flex-direction:column;width:100%;min-height:0}
 #phaseInvitation .phase-invitation-actions{flex:none;margin-top:8px}
 .trail-postcard{min-height:0;overflow:auto;overscroll-behavior:contain;color:var(--ctl-ink);background:#fae8b9;border:1px solid var(--ctl-ink);border-radius:7px 11px 7px 10px;padding:10px 13px;box-shadow:2px 3px var(--ctl-ink)}
 .trail-postcard-kicker{font-size:.7rem;letter-spacing:.11em;text-transform:uppercase;margin:0 0 3px}
 #trailPostcardTitle{font:400 1.6rem/1.1 Georgia,serif;margin:0 0 8px}
 .trail-postcard .trail-sign,.trail-postcard .trail-question{color:#704416}
 #phaseInvitationArt{float:none;width:min(100%,550px);margin:0 0 9px}
 :is(#phaseInvitationArt,.rabbit-chapter-art)[data-room]{aspect-ratio:1024/287;overflow:hidden;border:1px solid var(--ctl-ink);border-radius:6px 10px 6px 8px}
 :is(#phaseInvitationArt,.rabbit-chapter-art)[data-room] img{display:block;width:100%;height:auto;transform:translateY(var(--room-offset))}
 [data-room="1"]{--room-offset:-5%}
 [data-room="2"]{--room-offset:-20.5%}
 [data-room="3"]{--room-offset:-40%}
 [data-room="4"]{--room-offset:-58.8%}
 [data-room="5"]{--room-offset:-78.8%}
 #phaseInvitationArt[data-room="all"]{width:88px;aspect-ratio:1024/1536}
 .rabbit-chapter-art[data-room]{width:min(36%,175px);margin:5px 0 8px 12px;box-shadow:1px 2px var(--ctl-ink)}
 #keepExploring{background:transparent;border-color:transparent;color:var(--ctl-cream)}
 #keepExploring:hover{background:#ffffff22}
 #exploreNext{background:#ffe393;border-color:#ffe393;color:var(--ctl-ink)}
 #understanding .companion-title,#fullUnderstandingHeading,#fullUnderstandingBody h2,#rabbitHoleHeading{font-family:Georgia,serif;font-weight:400}
 .understanding-cover{padding:6px 0 12px;margin-bottom:12px;border-bottom:1px solid #bea57e}
 #understanding .understanding-cover{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
 #understanding .understanding-cover>div{min-width:0}
 #backConversation{flex:none;border:0;background:transparent;box-shadow:none;color:var(--ctl-ink)}
 #backConversation:hover,#backConversation:focus-visible{background:#e8dec7}
 #backConversation::after{left:auto;right:0}
 .understanding-kicker{font-size:.68rem;font-weight:750;letter-spacing:.11em;text-transform:uppercase;color:#704416;margin:0 0 5px}
 #understanding .companion-title{font-size:1.55rem;line-height:1.15;margin:0}
 #fullUnderstanding .understanding-cover h1{margin:.08em 0 .45em}
 #fullUnderstanding .understanding-cover #fullInquiryTitle{margin:0;font-size:1.05rem;line-height:1.38;overflow-wrap:anywhere}
 #fullUnderstandingHeading{font-size:clamp(1.8rem,4vw,2.45rem)}
 #fullUnderstanding .review-actions{background:var(--ctl-paper)}
 #fullUnderstandingBody h2{font-size:1.35rem;color:var(--ctl-teal)}
 #understanding h3{color:var(--ctl-teal)}
 #fullUnderstanding .understanding-item,#understanding .understanding-item{border-top-color:#afc1c5}
 .new-inquiry-cover{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);align-items:center;gap:16px;margin:0 0 17px}
 .new-inquiry-cover h1{margin:0 0 10px;line-height:1.08}
 .new-inquiry-cover p{margin:0}
 .new-inquiry-journey{display:block;width:100%;max-width:330px;height:auto;justify-self:end;mix-blend-mode:multiply}
 #inquiryStarters .starter-options{gap:16px}
 #inquiryStarters .starter-option{border-color:var(--ctl-ink);border-radius:14px 20px 13px 18px / 10px 14px 11px 13px;box-shadow:3px 4px var(--ctl-ink)}
 #inquiryStarters .starter-option:nth-child(even){background:var(--ctl-blue);border-radius:20px 13px 17px 14px / 13px 10px 12px 11px}
 #inquiryStarters .starter-option:hover{background:#edf2ee}
 #inquiryStarters .starter-option:has(input:checked){background:#ffedbd}
 #inquiryStarters .starter-option>strong{font:400 1.23rem/1.2 Georgia,serif;color:var(--ctl-ink)}
 @media(max-width:540px){
  .new-inquiry-cover{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:8px}
  .new-inquiry-cover h1{font-size:clamp(1.6rem,6.5vw,2.1rem)}
  .new-inquiry-cover p{font-size:.9rem}
 }
 #rabbitHole{background:var(--ctl-paper);border-color:var(--ctl-rule);color:var(--ctl-ink)}
 #rabbitHole small,#rabbitHoleStatus{color:var(--ctl-muted)}
 #rabbitHoleStatus.loading{background:var(--ctl-blue);color:var(--ctl-ink)}
 #rabbitHoleStatus.error,#rabbitHoleFeedback #feedbackHeading{color:#79361a}
 .rabbit-chapter{--chapter-color:#735017;border-top-color:#b8c9cc}
 .chapter-2{--chapter-color:#21566c}.chapter-3{--chapter-color:#804420}.chapter-4{--chapter-color:#315a42}
 .chapter-5,.chapter-6{--chapter-color:#644671}
}

/* Survey V3: native optional controls, existing palette, comfortable touch rows. */
#legacySurvey{border:0;padding:0;margin:0;min-width:0}
#surveyV3{max-width:48rem}
.survey-question{min-width:0;border:0;border-bottom:1px solid var(--border,#aab9ba);padding:1rem 0 1.5rem;margin:0 0 1.5rem}
.survey-question legend{font-weight:700;line-height:1.5;width:100%;padding:0}
#survey .survey-choice{display:flex;align-items:flex-start;gap:.7rem;min-height:44px;margin:.25rem 0;padding:.5rem;border-radius:.5rem;cursor:pointer;box-sizing:border-box}
#survey .survey-choice:has(input:checked){background:#e4eef0}
#survey .survey-choice input{flex:0 0 auto;width:1.2rem;height:1.2rem;margin:.2rem 0 0;accent-color:#2a5661}
#survey .survey-choice span{min-width:0;overflow-wrap:anywhere}
#survey .survey-clear{font-size:.9rem;min-height:44px;background:transparent;color:inherit;border:0;text-decoration:underline}

/* Integrated study onboarding: readable original text and native choices. */
#studyConsent { margin-block: 1.5rem; }
#studyInformation { overflow-wrap: anywhere; font: inherit; line-height: 1.6; }
#studyConsent fieldset { margin-block: 1rem; padding: 1rem; min-width: 0; }
#studyConsent label { display: flex; align-items: flex-start; gap: .6rem; padding-block: .65rem; }
#studyConsent input { flex: 0 0 auto; width: 1.1em; min-height: 0; height: 1.1em; margin: .25em 0 0; }
#studyInformation h3, #studyInformation h4 { line-height: 1.35; margin-top: 1.5rem; }
#studyVersion { overflow-wrap: anywhere; font-size: .85rem; }

/* Compact labels for the existing mobile response actions. */
.mobile-action-label{display:none}
@media(max-width:760px){
 #shareFeedback,#openPrevious{width:auto;min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:8px;white-space:nowrap}
 .response-utilities #shareFeedback{display:inline-flex}
 .mobile-action-label{display:inline;font-size:12px;line-height:1.2;font-weight:400}
}

/* Consent reading uses the complete approved documents; no scroll-to-consent gate. */
.disclosure-scroll{max-height:42vh;overflow-y:auto;overscroll-behavior:contain;padding:0 12px 0 0;scrollbar-gutter:stable}
.disclosure-scroll h3,#fullDisclosureText h3{font:700 1rem/1.4 var(--font-body, sans-serif);margin:1.2rem 0 .45rem}
.disclosure-scroll p,#fullDisclosureText p{margin:.6rem 0;line-height:1.6}
#fullDisclosure{margin-top:1rem}#fullDisclosure summary,#completeResearchInformation summary{cursor:pointer;min-height:44px;padding:.65rem 0}
#studyVersion{font-size:.85rem;color:var(--muted)}
#studyConsent fieldset{border-radius:10px}#studyConsent legend{font-weight:700}
#studyConsent details{margin:1rem 0}#recordConsent{margin-block:1rem}
@media print{.disclosure-scroll{max-height:none;overflow:visible}}

/* Optional MORQ reactions borrow the raised, hand-lettered market-sign treatment. */
@media screen{
 .morq-negotiation{align-items:center;column-gap:10px;row-gap:8px;margin:5px 0 15px;white-space:normal}
 .morq-negotiation button{min-height:38px;margin:0;padding:5px 11px;border:2px solid var(--ctl-ink);border-radius:11px 15px 10px 14px / 13px 10px 14px 11px;background:#fff0c2;color:var(--ctl-ink);box-shadow:2px 3px 0 var(--ctl-ink);font:750 .8rem/1.25 system-ui,sans-serif;transform:rotate(-.6deg);transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease}
 .morq-negotiation button:nth-child(2){border-radius:15px 10px 14px 11px / 10px 14px 11px 13px;transform:rotate(.6deg)}
 @media(hover:hover){
  .morq-negotiation button:hover{background:#ffe5a2;box-shadow:3px 5px 0 var(--ctl-ink);transform:translateY(-2px) rotate(-1.4deg)}
  .morq-negotiation button:nth-child(2):hover{transform:translateY(-2px) rotate(1.4deg)}
 }
 .morq-negotiation button[aria-pressed="true"]{background:#ffd268;box-shadow:1px 2px 0 var(--ctl-ink);transform:translateY(1px) rotate(0);animation:morq-sign-pop .25s ease-out}
 @media(hover:hover){.morq-negotiation button[aria-pressed="true"]:hover{background:#ffca55;box-shadow:2px 4px 0 var(--ctl-ink);transform:translateY(-1px) rotate(-.8deg)}}
 .morq-negotiation button:active,.morq-negotiation button[aria-pressed="true"]:active{background:#ffd268;box-shadow:0 1px 0 var(--ctl-ink);transform:translate(2px,2px) rotate(0);animation:none}
 .morq-negotiation button:focus-visible{outline:3px solid #9a6126;outline-offset:4px}
 @media(pointer:coarse){.morq-negotiation button{min-height:40px}}
}
@keyframes morq-sign-pop{50%{transform:translateY(-3px) scale(1.04) rotate(-1deg)}}
@media(prefers-reduced-motion:reduce){.morq-negotiation button,.morq-negotiation button[aria-pressed="true"]{animation:none;transition:none}}
