:root{font:17px/1.55 system-ui,sans-serif;color:#17334e;background:#f3f8ff;--primary:#0666c2;--green:var(--primary);--line:#d0e1f2}*{box-sizing:border-box}body{margin:0}header{display:flex;align-items:center;gap:1.5rem;padding:1.2rem max(5vw,1rem);border-bottom:1px solid var(--line);background:#12334f;color:white}.brand{font-size:1.7rem;font-weight:850;text-decoration:none;color:#fff;letter-spacing:-.07em}.brand span{color:#e82a42}#identity{margin-left:auto;font-size:.9rem}main{max-width:1040px;margin:auto;padding:2rem 1.2rem 4rem}h1{font-size:clamp(2.2rem,5vw,3.7rem);line-height:1.12;letter-spacing:-.04em;max-width:720px;margin:.5rem 0 1.3rem}h2{font-size:1.45rem;margin:0 0 1rem}h3{font-size:1.08rem}.eyebrow{letter-spacing:.13em;font-size:.78rem;font-weight:750;color:var(--green)}.lead{max-width:670px;font-size:1.18rem}.columns{display:grid;grid-template-columns:1fr 1fr;gap:1.3rem;margin:2rem 0}article{padding:1.6rem;background:white;border:1px solid var(--line);border-radius:16px;margin-bottom:1rem}label{display:block;font-weight:600;font-size:.94rem;margin:.6rem 0}input,select,textarea{display:block;width:100%;font:inherit;border:1px solid #91b0cd;border-radius:7px;background:white;color:inherit;padding:.7rem;margin-top:.35rem}textarea{resize:vertical}button{font:inherit;font-weight:650;color:white;background:var(--green);border:1px solid var(--green);border-radius:8px;padding:.7rem 1.1rem;cursor:pointer;margin:.35rem .35rem .35rem 0}button:hover{filter:brightness(.92)}button:disabled{opacity:.55;cursor:wait}button.secondary,nav button{background:#fff;color:var(--green)}button.danger{color:#8f2525;background:#fff;border-color:#c39696}a{color:#065cab}header>a:not(.brand){color:#e1efff}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #209cde;outline-offset:3px}nav{display:flex;flex-wrap:wrap;gap:.4rem;border-bottom:1px solid var(--line);padding-bottom:1rem;margin-bottom:2rem}nav button.active{background:var(--green);color:white}.messages{max-height:420px;overflow:auto;display:flex;flex-direction:column;gap:.7rem;margin-bottom:1.5rem;padding:.3rem}.bubble{padding:1rem 1.2rem;background:#e3f0ff;border-radius:14px;max-width:85%;white-space:pre-wrap;overflow-wrap:anywhere}.bubble.user{background:#fff;align-self:flex-end;border:1px solid var(--line)}.section-title{display:flex;justify-content:space-between;align-items:center;gap:1rem}.muted,footer{color:#50697f;font-size:.87rem}.legal{white-space:pre-wrap;max-height:350px;overflow:auto;border:1px solid var(--line);padding:1rem}.actions{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:1rem}#notice:not(:empty){padding:1rem;background:#e8f0fc;border-left:4px solid #216eab;margin-bottom:1.4rem;border-radius:6px}.details{display:grid;grid-template-columns:auto 1fr;gap:.3rem 1rem}.details dt{font-weight:650}.details dd{margin:0;overflow-wrap:anywhere}footer{padding:1.5rem 5vw;border-top:1px solid var(--line)}[hidden]{display:none!important}@media(max-width:650px){.columns{grid-template-columns:1fr}header{gap:.7rem;flex-wrap:wrap}#identity{font-size:.82rem}main{padding:1.4rem .9rem}article{padding:1.15rem}.bubble{max-width:95%}.section-title{align-items:flex-start}nav button{font-size:.86rem;padding:.6rem}.details{grid-template-columns:1fr}.details dd{margin-bottom:.5rem}}

.client-journey{padding:1rem 1.2rem;margin:1rem 0;border:1px solid var(--line);border-radius:16px;background:white}.client-journey h3{margin:0 0 .7rem}.client-journey ol{display:flex;gap:.6rem;list-style:none;padding:0;margin:0;overflow-x:auto}.client-journey li{flex:0 0 auto;border:1px solid var(--line);border-radius:2rem;padding:.4rem .8rem;font-size:.8rem}.client-journey li.current{color:white;background:var(--green);border-color:var(--green)}

/* Shared dictation controls sit above the navigation area, outside submit forms. */
#lena-voice-controls{position:fixed;bottom:max(4.5rem,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(calc(100% - 2rem),760px);z-index:5;display:flex;align-items:center;gap:.7rem;margin:1rem auto 0;padding:.6rem .9rem;max-width:760px;border:1px solid var(--line);border-radius:1.3rem;background:#f8fcfff5;box-shadow:0 4px 22px #12334f1f}#lena-microphone{flex-shrink:0;border-radius:2rem;margin:0}#lena-microphone[aria-pressed=true]{background:#a82735;border-color:#a82735}#microphone-status{font-size:.85rem;margin:0;overflow-wrap:anywhere}@media(max-width:650px){#lena-voice-controls{bottom:max(4rem,env(safe-area-inset-bottom));padding:.6rem;gap:.5rem}#lena-microphone{font-size:.88rem;padding:.65rem}.view{scroll-margin-bottom:10rem}}

main{padding-bottom:12rem}html{scroll-padding-bottom:12rem}

/* Reference-derived shell; interactive controls remain actual form controls. */
.lena-introduction{display:flex;align-items:center;gap:2rem;padding:1.8rem;border-radius:24px;background:linear-gradient(135deg,#102c49,#234b71);color:white;overflow:hidden;margin-bottom:1.5rem}
.lena-introduction .eyebrow{color:#87d5ff}.lena-greeting{flex:1}.lena-greeting h1{font-size:clamp(1.9rem,4vw,3.1rem)}
.lena-portrait{flex:0 0 175px;width:175px;height:260px;border-radius:20px;background-image:url('/assets/images/lena-reference.jpg');background-size:430px auto;background-position:-145px -200px;background-repeat:no-repeat;box-shadow:0 0 20px #39b5ef55}
.entry-role-choices{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}.entry-role-choices button{margin:0;background:#f0f7ff;color:#17334e;border-color:#aacbe7;text-align:left}.entry-role-choices button[aria-pressed=true]{background:#0666c2;color:white;border-color:#0666c2}
.entry-side-select{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.entry-side-select:focus-within{position:static;width:auto;height:auto;clip-path:none}
.dialogue-lena{display:flex;align-items:center;gap:1rem}.dialogue-lena .lena-portrait{flex-basis:80px;width:80px;height:105px;background-size:215px auto;background-position:-72px -100px;border-radius:14px}.dialogue-lena h2{margin-bottom:0}
#dialogue .bubble{box-shadow:0 3px 12px #16344b09;border:1px solid #d0e1f2}#dialogue .bubble.user{background:#0666c2;color:white;border-color:#0666c2}
#reply-form>button:first-of-type{width:100%;border-radius:12px}#dialogue article{border-radius:22px}.brand{text-transform:uppercase;letter-spacing:-.04em}
@media(max-width:650px){.lena-introduction{gap:1rem;padding:1rem}.lena-introduction .lena-portrait{flex-basis:125px;width:125px;height:210px;background-size:360px auto;background-position:-127px -166px}.lena-greeting h1{font-size:1.6rem}.lena-greeting .lead{font-size:1rem}.lena-greeting p:last-child{font-size:.82rem}.entry-role-choices{grid-template-columns:1fr}.dialogue-lena .eyebrow{font-size:.65rem}#dialogue .section-title{gap:.5rem}#dialogue .section-title>button{font-size:.8rem}}

.match-card{border-radius:22px;padding:1.4rem}.match-card-header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.match-kind{margin:0 0 .25rem;color:#50697f;font-size:.8rem}.match-card-header h3{margin:0;font-size:1.2rem}.match-score{white-space:nowrap;background:#e1f4ec;color:#156448;border:1px solid #b2dccb;border-radius:999px;padding:.6rem .8rem;font-weight:750}.match-facts{display:grid;grid-template-columns:1fr 1fr;gap:.65rem;margin:1rem 0}.match-facts>div{background:#f0f7ff;border-radius:12px;padding:.7rem .9rem;min-width:0}.match-facts dt{font-size:.78rem;color:#50697f}.match-facts dd{margin:0;font-weight:600;overflow-wrap:anywhere}.match-extra{border-top:1px solid var(--line);padding-top:.7rem}.match-extra summary{cursor:pointer;color:#065cab;font-weight:650}.match-card .actions{justify-content:flex-end}.match-card .actions button{border-radius:12px}@media(max-width:420px){.match-card{padding:1rem}.match-card-header{align-items:flex-start;gap:.6rem}.match-card-header h3{font-size:1rem}.match-score{font-size:.8rem;padding:.4rem .6rem}.match-facts{gap:.4rem}.match-facts>div{padding:.6rem}.match-facts dd{font-size:.9rem}.match-card .actions{justify-content:flex-start}}

.match-card-header>div{min-width:0}.match-card-header h3{overflow-wrap:anywhere}.match-extra dd{overflow-wrap:anywhere}

.match-detail-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:1rem 0}.match-detail-section{background:#f5f9fe;border:1px solid var(--line);border-radius:16px;padding:1rem;min-width:0}.match-detail-section h4{margin:0 0 .5rem;color:#065cab}.match-detail-section p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:560px){.match-detail-sections{grid-template-columns:1fr}}

.meeting-card{border-radius:22px;padding:1.3rem}.meeting-card[data-status=CONFIRMED],.meeting-card[data-status=COMPLETED]{border-color:#8acbac}.meeting-card[data-status=CANCELLED]{background:#f7f7f8}.meeting-card h3{margin-top:0;color:#065cab}.meeting-confirmations{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;color:#50697f;font-size:.9rem}.meeting-location{white-space:pre-wrap;overflow-wrap:anywhere}.meeting-feedback{border:0;padding:0;margin:0}.meeting-feedback legend{font-weight:700;margin-bottom:.75rem}.meeting-feedback-choice{display:flex;align-items:center;gap:.8rem;background:#f3f8fe;border:1px solid var(--line);border-radius:14px;padding:1rem;margin:.6rem 0;cursor:pointer}.meeting-feedback-choice input{width:auto;flex:0 0 auto}.meeting-feedback-choice:has(input:checked){border-color:#1678ed;background:#e5f1ff}.meeting-report{border-left:3px solid #1678ed;padding:.3rem 1rem;margin:.7rem 0}.meeting-report p{white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:560px){.meeting-card{padding:1rem}.meeting-card .match-facts{grid-template-columns:1fr}.meeting-feedback-choice{padding:.8rem}}

.employment-start{border:1px solid var(--line);border-radius:22px;background:#f5f9fe;padding:1.3rem;margin:1rem 0}.employment-start h3{color:#065cab;margin-top:0}.employment-start[data-state=CONFIRMED]{background:#effaf4;border-color:#8acbac}.employment-start[data-state=REVIEW]{background:#fff8e9;border-color:#e6c67d}.employment-start-cost{font-weight:650;color:#156448}.employment-start-form{border:1px solid var(--line);border-radius:16px;padding:1rem}.employment-start dd{overflow-wrap:anywhere}@media(max-width:560px){.employment-start{padding:1rem}.employment-start .match-facts{grid-template-columns:1fr}}

.billing-card{border-radius:22px;padding:1.3rem}.billing-card h3{margin:0;overflow-wrap:anywhere}.billing-status{background:#eaf3ff;color:#065cab;border-radius:999px;padding:.5rem .75rem;white-space:nowrap;font-weight:650}.billing-card[data-status=PAID] .billing-status{background:#e2f5eb;color:#156448}.billing-card[data-status=VOID] .billing-status{background:#eee;color:#50697f}.billing-description{white-space:pre-wrap;overflow-wrap:anywhere}.billing-card .actions a{padding:.6rem;overflow-wrap:anywhere}.billing-next{margin:1rem 0}@media(max-width:560px){.billing-card{padding:1rem}.billing-card .match-card-header{flex-wrap:wrap}.billing-card .match-facts{grid-template-columns:1fr}}
.fee-quote-card{border:1px solid #c8ddf4;border-radius:18px;padding:18px;background:#fff;margin:14px 0}.fee-quote-status{color:#074daf;font-weight:600}.fee-quote-terms{white-space:pre-wrap;overflow-wrap:anywhere;max-height:28rem;overflow:auto}
.billing-due{font-weight:600;color:#8a4100;background:#fff3df;padding:10px 14px;border-radius:12px}
dialog#help-dialog{width:min(720px,90vw);max-height:85vh;overflow:auto;border:1px solid #c8ddf4;border-radius:20px;padding:24px}dialog::backdrop{background:#102c4a88}.help-faq details{border-bottom:1px solid #dce7f2;padding:14px 0}.help-faq summary{cursor:pointer;font-weight:600}.help-faq p{white-space:pre-wrap;overflow-wrap:anywhere}
#research-detail pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:24rem;overflow:auto}#research-list article{margin-top:1rem}#source-research-controls{border-bottom:1px solid #dbe8f3;padding-bottom:1.5rem;margin-bottom:1.5rem}

.lena-speech{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:.6rem}.lena-speech button{margin:0;font-size:.85rem;padding:.4rem .7rem}.lena-speech [role=status]{font-size:.8rem;overflow-wrap:anywhere}.lena-speech button[aria-pressed=true]{border-color:#a82735;color:#a82735}

#cms-faq-drafts pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:28rem;overflow:auto;font:inherit;line-height:1.55}

/* Keep the actual composer inside narrow viewports, including long translations. */
.lena-greeting,.dialogue-lena,.dialogue-lena>div:last-child{min-width:0}
.lena-greeting h1,.dialogue-lena h2{overflow-wrap:anywhere}
@media(max-width:650px){
 #dialogue .section-title{flex-wrap:wrap}
 #dialogue .dialogue-lena{flex:1 1 100%}
 #dialogue .section-title>button{margin-left:auto}
 .lena-introduction{flex-wrap:wrap}
 .lena-introduction .lena-greeting{flex:1 1 150px}
}

/* Existing client views use the provided blue Lena / white form composition. */
header{position:relative}
#entry-settings{position:static;color:#17334e;margin-left:auto;font-size:.85rem}
#entry-settings summary{display:flex;align-items:center;gap:.35rem;cursor:pointer;list-style:none;color:#fff;border:1px solid #6085a4;border-radius:999px;padding:.5rem .75rem}
#entry-settings summary::-webkit-details-marker{display:none}
#selected-language{font-weight:750}
.entry-settings-fields{position:absolute;right:1rem;top:calc(100% + .65rem);z-index:30;width:min(340px,calc(100vw - 2rem));padding:1rem;background:white;border:1px solid var(--line);border-radius:18px;box-shadow:0 14px 40px #102c4933}
#entry-settings:not([open]) .entry-settings-fields{display:none}
#entry-settings summary:focus-visible{outline:3px solid #87d5ff;outline-offset:3px}
.client-interface{background:#eaf3ff;color:#102e54}
.client-interface header{gap:.75rem;padding:.8rem max(1rem,calc((100vw - 1080px)/2));background:#102c49;border-bottom:0}
.client-interface header .brand{font-size:2rem}
.client-interface #identity{margin-left:auto;max-width:16rem;overflow-wrap:anywhere;font-size:.8rem}
.client-interface header button{border-radius:999px;font-size:.83rem;padding:.5rem .85rem;margin:0}
.client-interface header>a:not(.brand){font-size:.85rem}
.client-interface main{max-width:1120px;padding:1.5rem 1rem calc(var(--client-nav-height,0px) + var(--client-voice-height,90px) + 3rem)}
.client-interface button{min-height:44px;border-radius:14px;background:#0875f9;border-color:#0875f9;box-shadow:0 3px 8px #006df00d}
.client-interface button.secondary{background:white;color:#075bbd;border-color:#aac9e9;box-shadow:none}
.client-interface button.danger{background:white;color:#8f2525;border-color:#c39696;box-shadow:none}
.client-interface input,.client-interface textarea,.client-interface select{min-height:48px;border-color:#b0cbe7;border-radius:12px;padding:.7rem .85rem}
.client-interface input[type=checkbox],.client-interface input[type=radio]{min-height:0;width:auto;accent-color:#0875f9}
.client-interface fieldset{min-inline-size:0;border:1px solid var(--line);border-radius:16px;padding:1rem}
.client-interface article{border-radius:24px;box-shadow:0 5px 18px #214b7a05;padding:1.3rem}
.client-interface .lena-introduction{display:grid;grid-template-columns:310px minmax(0,1fr);align-items:center;padding:1.8rem 2.5rem 0;gap:2rem;min-height:400px;border-radius:28px;background:radial-gradient(ellipse at 25% 70%,#1b6590,transparent 65%),linear-gradient(130deg,#0d2945,#153a61);margin-bottom:0}
.client-interface .lena-introduction .lena-portrait{width:310px;height:400px;background-size:470px auto;background-position:-70px -210px;border-radius:24px 24px 0 0;box-shadow:none}
.client-interface .lena-greeting{background:#f8fbff;color:#102e54;border:1px solid #cce6ff;border-radius:24px;padding:1.4rem 1.6rem;box-shadow:0 0 24px #35b4ff22;position:relative;margin-bottom:1.8rem}
.client-interface .lena-greeting:before{content:'';position:absolute;left:-12px;top:45%;width:22px;height:22px;transform:rotate(45deg);background:#f8fbff;border-left:1px solid #cce6ff;border-bottom:1px solid #cce6ff}
.client-interface .lena-greeting .eyebrow{color:#146fb8;margin-top:0}
.client-interface .lena-greeting h1{font-size:clamp(1.7rem,3vw,2.6rem);margin:.5rem 0 1rem}
.client-interface .lena-greeting .lead{font-size:1.1rem;font-weight:650;margin:.5rem 0}
.client-interface .lena-greeting p:last-child{font-size:.9rem;margin-bottom:0}
.client-interface #welcome .columns{margin:0;padding:1.3rem;background:white;border:1px solid var(--line);border-radius:0 0 28px 28px;gap:1rem}
.client-interface #welcome .columns article{margin:0;box-shadow:none;padding:1.1rem}
.client-interface #start{width:100%;margin-top:1rem}
.client-interface .entry-role-choices button{border-radius:16px;padding:1rem;min-height:58px}
.client-interface #navigation{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:.35rem;background:white;border:1px solid var(--line);border-radius:20px;padding:.5rem;margin-bottom:1rem}
.navigation-icon{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.client-interface #navigation button{display:flex;align-items:center;justify-content:center;gap:.5rem;margin:0;padding:.6rem .4rem;font-size:.8rem;min-width:0;overflow-wrap:anywhere;box-shadow:none;border-color:transparent;background:transparent;color:#375572}
.client-interface #navigation button.active{background:#e9f3ff;color:#006de8}
.client-interface .view{position:relative;padding:1.25rem;background:white;border:1px solid var(--line);border-radius:26px}
.client-interface #client-lena-header{display:flex;align-items:center;gap:1.5rem;min-height:200px;padding:1rem 1.5rem 1.8rem;border-radius:26px 26px 0 0;background:linear-gradient(130deg,#123453,#1d4e76);color:white;margin-bottom:-1rem}
.client-interface #client-lena-header .lena-portrait{width:150px;flex-basis:150px;height:165px;background-size:265px auto;background-position:-52px -120px;box-shadow:none;border-radius:20px}
.client-interface .client-lena-caption{min-width:0;max-width:620px}.client-interface .client-lena-caption h2{overflow-wrap:anywhere;font-size:clamp(1.4rem,3vw,2rem);margin:0}.client-interface .client-lena-caption .eyebrow{color:#94d8ff}
.client-interface .view:not(#dialogue)>h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.client-interface #dialogue{padding:0;overflow:clip}
.client-interface #dialogue .section-title{padding:1rem 1.5rem;background:linear-gradient(130deg,#123453,#1d4e76);color:white;gap:1rem;flex-wrap:nowrap}
.client-interface .dialogue-lena .lena-portrait{width:125px;flex-basis:125px;height:155px;background-size:260px auto;background-position:-61px -119px;box-shadow:none;border-radius:18px}
.client-interface .dialogue-lena h2{font-size:1.55rem}.client-interface .dialogue-lena .eyebrow{color:#94d8ff}
.client-interface #dialogue .section-title>button{background:#f8fbff;border-color:#9cc8e9;color:#075bbd;flex-shrink:0;font-size:.85rem}
.client-interface #dialogue .messages{padding:1rem;margin:0;max-height:340px;background:#f1f7ff}
.client-interface #dialogue .bubble{background:white;border-radius:18px;box-shadow:0 4px 14px #0d36570a}
.client-interface #dialogue .bubble.user{background:#0875f9;color:white;border-color:#0875f9}
.client-interface #dialogue>article{margin:0;border:0;border-radius:26px;padding:1.4rem;background:white}
.client-interface .match-facts>div{background:#edf5ff;border-radius:14px}.client-interface .match-facts dt{color:#486582}.client-interface .match-facts dd{color:#113a69}
.client-interface .match-detail-section{background:#f8fbff;border-color:#d9e7f5}.client-interface .match-detail-section h4{color:#075bbd}
.client-interface #lena-voice-controls{bottom:calc(var(--client-nav-height,0px) + 12px);width:min(calc(100% - 24px),760px);margin:0;padding:.65rem;background:#fffffffa;border-radius:999px;box-shadow:0 7px 26px #12334f24;border-color:#c9e0f7}
.client-interface #lena-microphone{border-radius:999px}.client-interface #microphone-status{line-height:1.35;font-size:.8rem}
.client-interface footer{padding:1rem max(1rem,calc((100vw - 1080px)/2)) calc(var(--client-nav-height,0px) + 1rem);background:#eaf3ff}
@media(max-width:768px){
 .client-interface header{flex-wrap:wrap;gap:.5rem;padding:.7rem .9rem}
 .client-interface header .brand{font-size:1.9rem}
 .client-interface #identity{order:5;flex-basis:100%;max-width:none;font-size:.74rem;color:#bed5e8;margin:0}
 .client-interface header>a:not(.brand){display:none}
 .client-interface header button{font-size:.72rem;padding:.4rem .65rem;min-height:36px}
 #entry-settings summary{font-size:.75rem;padding:.4rem .6rem}
 #entry-settings summary>span:nth-child(2){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .client-interface main{padding:.75rem .65rem calc(var(--client-nav-height,90px) + var(--client-voice-height,75px) + 2rem)}
 .client-interface .lena-introduction{grid-template-columns:minmax(0,.95fr) minmax(0,1fr);min-height:275px;padding:1rem .85rem 0;gap:.6rem;border-radius:24px 24px 0 0}
 .client-interface .lena-introduction .lena-portrait{width:100%;height:260px;background-size:285px auto;background-position:-58px -130px;border-radius:20px 20px 0 0}
 .client-interface .lena-greeting{padding:.85rem .75rem;border-radius:18px;margin-bottom:1rem}
 .client-interface .lena-greeting:before{left:-8px;width:15px;height:15px}
 .client-interface .lena-greeting .eyebrow{font-size:.58rem;letter-spacing:.06em}
 .client-interface .lena-greeting h1{font-size:1.25rem;margin:.35rem 0 .65rem}
 .client-interface .lena-greeting .lead{font-size:.88rem;line-height:1.35}
 .client-interface .lena-greeting p:last-child{font-size:.74rem;line-height:1.35}
 .client-interface #welcome .columns{grid-template-columns:1fr;padding:1rem .75rem;gap:1rem;border-radius:0 0 24px 24px}
 .client-interface #welcome .columns article{padding:.7rem;border:0}
 .client-interface .entry-role-choices{grid-template-columns:1fr 1fr;gap:.5rem}.client-interface .entry-role-choices button{font-size:.9rem;padding:.75rem .6rem}
 .client-interface #navigation{position:fixed;bottom:0;left:50%;transform:translateX(-50%);z-index:10;width:min(100%,768px);grid-template-columns:repeat(5,minmax(0,1fr));border-radius:22px 22px 0 0;padding:.5rem .35rem calc(.5rem + env(safe-area-inset-bottom));margin:0;gap:.15rem;box-shadow:0 -4px 24px #12334f0d}
 .client-interface[data-client-side=EMPLOYER] #navigation{grid-template-columns:repeat(4,minmax(0,1fr))}
 .client-interface #navigation button{flex-direction:column;gap:.3rem;font-size:.62rem;line-height:1.25;hyphens:auto;min-height:60px;border-radius:12px;padding:.4rem .15rem}
 .client-interface #navigation .navigation-icon{width:24px;height:24px}
 .client-interface .view{padding:1rem .75rem;border-radius:24px}
 .client-interface #client-lena-header{gap:.9rem;padding:.8rem 1rem 1.6rem;min-height:195px;border-radius:24px 24px 0 0}
 .client-interface #client-lena-header .lena-portrait{width:125px;flex-basis:125px;height:155px;background-size:245px auto;background-position:-55px -110px}
 .client-interface .client-lena-caption h2{font-size:1.35rem}.client-interface .client-lena-caption .eyebrow{font-size:.6rem}
 .client-interface #dialogue .section-title{padding:.85rem .8rem;gap:.65rem;flex-wrap:wrap}
 .client-interface #dialogue .dialogue-lena{flex:1 1 100%;gap:.85rem}
 .client-interface .dialogue-lena .lena-portrait{width:110px;flex-basis:110px;height:145px;background-size:240px auto;background-position:-60px -109px}
 .client-interface .dialogue-lena h2{font-size:1.35rem}.client-interface .dialogue-lena .eyebrow{font-size:.6rem}
 .client-interface #dialogue .section-title>button{margin-left:auto;min-height:36px;padding:.4rem .75rem}
 .client-interface #dialogue .messages{padding:.75rem;max-height:300px}.client-interface #dialogue>article{padding:1rem .8rem}
 .client-interface #reply-form>button:first-of-type{margin-right:0}
 .client-interface .lena-speech button{font-size:.75rem;min-height:36px}
}

.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#entry-settings summary svg,#account-menu summary svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
#account-menu{color:#17334e}
#account-menu summary{display:flex;align-items:center;justify-content:center;cursor:pointer;list-style:none;color:white;min-width:44px;min-height:44px;border:1px solid #6085a4;border-radius:999px}
#account-menu summary::-webkit-details-marker{display:none}
#account-menu summary:focus-visible{outline:3px solid #87d5ff;outline-offset:3px}
.account-menu-fields{position:absolute;right:1rem;top:calc(100% + .5rem);z-index:30;display:grid;gap:.65rem;width:min(280px,calc(100vw - 2rem));padding:1rem;background:white;border:1px solid var(--line);border-radius:18px;box-shadow:0 14px 40px #102c4933}
#account-menu:not([open]) .account-menu-fields{display:none}
.client-interface .account-menu-fields #identity{display:block;color:#50697f;font-size:.85rem;margin:0 0 .4rem;max-width:none}
.client-interface .account-menu-fields a{color:#075bbd;font-size:.9rem}
.client-interface .account-menu-fields button{width:100%;min-height:44px;font-size:.9rem}
@media(max-width:768px){.client-interface .account-menu-fields #identity{order:0;flex-basis:auto}}

.client-interface .entry-role-choices button{background:#edf5ff;color:#17334e;border-color:#aacbe7}
.client-interface .entry-role-choices button[aria-pressed=true]{background:#0875f9;color:#fff;border-color:#0875f9}

@media(max-width:768px){.client-interface .dialogue-lena h2{font-size:clamp(1rem,4.5vw,1.35rem);hyphens:auto;overflow-wrap:normal}.client-interface #navigation button{font-size:.58rem;overflow-wrap:normal}}

.employment-case-history{margin:1rem 0;border:1px solid var(--line);border-radius:16px;padding:1rem}.employment-case-history>summary{cursor:pointer;color:#065cab;font-weight:650;min-height:44px;display:list-item;overflow-wrap:anywhere}.employment-case-history>summary:focus-visible{outline:3px solid #0875f9;outline-offset:3px}.employment-case-history[open]>summary{margin-bottom:1rem}

@media(max-width:360px){.client-interface #client-lena-header .lena-portrait{width:100px;flex-basis:100px}.client-interface .client-lena-caption h2{font-size:1.1rem}}

/* Written Arabic: preserve numbers and identifiers while mirroring text layout. */
html[dir="rtl"] .client-interface {text-align:start}
html[dir="rtl"] .client-interface .bubble {text-align:start}
html[dir="rtl"] .client-interface input[type="email"],
html[dir="rtl"] .client-interface input[type="tel"],
html[dir="rtl"] .client-interface input[type="url"],
html[dir="rtl"] .client-interface input[type="date"],
html[dir="rtl"] .client-interface input[type="time"] {direction:ltr;text-align:start}
html[dir="rtl"] .client-interface .brand {direction:ltr;unicode-bidi:isolate}

/* Own-ad review, within the existing Lena conversation. */
.source-review{margin-block:1rem;padding:1rem;border:1px solid #b8cbd8;border-radius:12px;background:#f4f8fb;color:#172c3d}
.source-review-field{display:flex;align-items:flex-start;gap:.65rem;overflow-wrap:anywhere;margin-block:.75rem}
.source-review-field input[type=checkbox]{width:1.2rem;min-width:1.2rem;height:1.2rem;margin:.2rem 0}
.source-review form button{margin:.4rem .5rem .4rem 0}
