/* Matching extends the paper-and-conversation vocabulary; FV stays untouched. */
#desk .notes{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 16px}
#desk .feeling-desk{grid-template-columns:1.35fr 1fr;gap:5%}
#desk .feeling-note{min-height:155px;padding:18px 13px 28px;margin:0;translate:none;--angle:-3deg}
#desk .feeling-note:nth-child(3n+2){--angle:3deg;background:#fff6dc}
#desk .feeling-note:nth-child(3n){--angle:-1deg;background:#f0f9f6}
#desk .feeling-note[aria-pressed=true]{background:var(--yellow)}
#desk .feeling-note>span{font-size:13px;line-height:1.8}
#desk .feeling-note small{margin-bottom:13px}
#desk .feeling-note:before{width:45px;height:18px;top:-9px;left:30%}
#desk .conversation-table{transform:rotate(2deg)}
#desk .matching-feedback{font-size:13px;line-height:2;text-align:center;margin:30px auto 0}
#desk .matching-feedback a{display:inline-block;margin-left:16px;text-underline-offset:5px;font-weight:800}
.matching{background:#dcf4f2;position:relative;padding-top:75px;padding-bottom:85px}
.matching:before{content:"";position:absolute;inset:0 0 auto;height:11px;background:var(--paper);clip-path:polygon(0 0,100% 0,100% 35%,78% 70%,53% 40%,27% 90%,0 60%)}
.matching-heading h2{font-size:clamp(28px,3.6vw,53px);line-height:1.55}
.matching-heading h2 em{background:linear-gradient(transparent 64%,var(--yellow) 64%,var(--yellow) 93%,transparent 93%)}
.matching-heading>p{font-size:14px;line-height:2;margin:23px 0 0;max-width:670px}
.matching-toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:35px 0 20px;font-size:12px;font-weight:800}
.matching-toolbar>span{border:1px solid var(--ink);border-radius:30px;padding:7px 15px;background:var(--paper)}
.matching-toolbar a,.matching a:not(.button){text-underline-offset:5px}
.matching-workbook{background:var(--paper);border:2px solid var(--ink);border-radius:16px;box-shadow:8px 9px 0 #20b9bc60;padding:34px 40px;position:relative}
.matching-workbook:before{content:"";position:absolute;top:-13px;left:47%;width:80px;height:24px;background:#f6ff00aa;transform:rotate(-4deg);border-inline:1px dashed #080e5820}
.matching-recommendation{font-size:13px;font-weight:800;border-bottom:1px dashed #20b9bc;padding-bottom:18px;margin:0}
.counselor-profile{display:grid;grid-template-columns:32% 1fr;gap:7%;align-items:center;padding:26px 0 20px}
.counselor-visual{position:relative;text-align:center;min-width:0;background:radial-gradient(ellipse at 50% 58%,#bceff3 0 60%,transparent 61%)}
.counselor-hello{position:absolute;left:-7px;top:0;font-size:12px;line-height:1.6;font-weight:800;background:white;border:1.5px solid var(--ink);border-radius:48% 52% 42% 50%;padding:13px 18px;transform:rotate(-5deg);z-index:1}
.counselor-portrait{height:260px;width:100%;overflow:hidden;position:relative}
.counselor-portrait img{height:100%;width:100%;object-fit:contain;object-position:center bottom}
.counselor-portrait[data-portrait=male] img{height:auto;max-width:none;width:190%;position:absolute;right:-3%;top:10px;clip-path:inset(0 0 0 55%)}
.counselor-visual>small{display:block;font-size:9px;margin-top:6px}
.counselor-state{font-size:11px;background:var(--yellow);padding:6px 12px;display:inline-block;border-radius:5px}
.counselor-copy h3{font-size:36px;letter-spacing:.05em;line-height:1.5;margin:12px 0 4px}
.counselor-domain{font-size:15px;font-weight:800;margin:0 0 17px;color:#087577}
.counselor-copy>p:not(.counselor-domain){font-size:14px;line-height:2}
.matching-difference{background:#e5f5f3;border-left:3px solid var(--teal);padding:10px 14px;font-size:12px!important}
.matching-reason{background:#eef8ee;border-left:4px solid var(--teal);padding:17px 22px}
.matching-reason h4{font-size:12px;margin:0 0 7px}
.matching-reason p{font-size:13px;line-height:1.95;margin:0}
.matching-book-row{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:26px 0 35px}
.matching-book-row>p{font-size:13px;font-weight:800;line-height:1.9;margin:0}
.matching-book-row small{font-size:11px;font-weight:400}
.matching-book-row .button{font-size:15px;min-height:58px;flex-shrink:0}
.counselor-choices{border:0;padding:0;margin:0;min-width:0}
.counselor-choices legend{font-size:16px;font-weight:800;padding:0;margin-bottom:18px;width:100%}
.counselor-choices legend small{font-size:10px;font-weight:400;margin-left:12px}
.counselor-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.counselor-option{display:flex;position:relative;align-items:center;gap:9px;padding:18px 12px 28px;margin:0;border:2px solid #20b9bc80;border-radius:12px;background:white;cursor:pointer;min-width:0;transition:box-shadow .18s,transform .18s}
.counselor-option:has(input:checked){border-color:var(--ink);background:#fffed6;box-shadow:3px 4px 0 var(--ink)}
.counselor-option:hover{transform:translateY(-2px)}
.counselor-option input{width:18px;height:18px;margin:0;accent-color:var(--ink);flex-shrink:0}
.counselor-option-text{display:block;min-width:0}
.counselor-option-text b{font-size:16px;display:block}
.counselor-option-text small{display:block;font-size:10px;line-height:1.7;margin-top:3px}
.counselor-badge{position:absolute;right:10px;bottom:7px;font-size:9px;font-weight:800;background:var(--yellow);padding:1px 8px;border-radius:10px}
.matching-status{font-size:11px;line-height:1.8;min-height:20px;margin:18px 0 0}
.matching-demo{font-size:11px;line-height:1.9;margin:23px 8px 0;max-width:950px}
.matching :is(button,a,input):focus-visible,.reservation .booking-counselor a:focus-visible{outline:3px solid var(--ink);outline-offset:5px}
.reservation .booking-counselor{display:grid;grid-template-columns:1fr auto;gap:5px 18px;background:#e5f5f3;border:1.5px solid var(--teal);border-radius:12px;padding:17px 20px;margin-bottom:25px}
.reservation .booking-counselor>span{font-size:11px;grid-column:1}
.reservation .booking-counselor>b{font-size:22px;grid-column:1}
.reservation .booking-counselor>small{font-size:12px;grid-column:1}
.reservation .booking-counselor>a{grid-column:2;grid-row:1/4;align-self:center;font-size:11px;padding:12px 0}
@media(max-width:1050px){#desk .feeling-desk{grid-template-columns:1.2fr 1fr;gap:6%}#desk .notes{grid-template-columns:repeat(2,minmax(0,1fr))}.matching-workbook{padding:30px 25px}.counselor-options{grid-template-columns:1fr}.counselor-option{padding:15px 18px;min-height:76px}.counselor-badge{position:static;margin-left:auto}.matching-book-row{flex-wrap:wrap}.counselor-portrait{height:240px}}
@media(max-width:700px){#desk .feeling-desk{display:block}#desk .notes{gap:23px 17px}#desk .feeling-note{min-height:142px;padding:18px 12px 28px}#desk .feeling-note>span{font-size:12px}#desk .conversation-table{margin-top:62px;transform:rotate(2deg)}#desk .matching-feedback{text-align:left;font-size:12px;margin-top:28px}#desk .matching-feedback a{display:block;margin:8px 0 0}.matching{padding-top:65px;padding-bottom:65px}.matching-heading h2{font-size:clamp(25px,6.7vw,40px);letter-spacing:-.055em}.matching-heading>p{font-size:12px;margin-top:20px}.matching-heading>p br{display:none}.matching-toolbar{flex-wrap:wrap;font-size:11px;margin-top:26px;gap:12px}.matching-workbook{padding:25px 18px;box-shadow:5px 6px 0 #20b9bc60}.matching-recommendation{font-size:11px}.counselor-profile{grid-template-columns:1fr;gap:22px;padding-top:20px}.counselor-visual{width:230px;max-width:100%;margin:auto}.counselor-portrait{height:225px}.counselor-hello{font-size:11px;padding:11px 15px;left:-6px}.counselor-copy h3{font-size:31px}.counselor-domain{font-size:13px;margin-bottom:12px}.counselor-copy>p:not(.counselor-domain){font-size:13px}.matching-reason{padding:15px}.matching-reason p{font-size:12px}.matching-book-row{display:block;margin:23px 0 32px}.matching-book-row .button{width:100%;font-size:13px;padding:16px 13px;gap:10px;margin-top:18px}.counselor-choices legend{font-size:14px}.counselor-choices legend small{display:block;margin:5px 0 0}.counselor-option-text b{font-size:15px}.counselor-option-text small{font-size:10px}.counselor-option{padding:14px 10px;gap:8px}.counselor-badge{padding:2px 5px;flex-shrink:0}.matching-demo{font-size:10px;margin-inline:0}.reservation .booking-counselor{grid-template-columns:1fr;padding:15px}.reservation .booking-counselor>a{grid-column:1;grid-row:auto;justify-self:start}}
@media(prefers-reduced-motion:reduce){.counselor-option{transition:none}.counselor-option:hover{transform:none}}
/* Quiet secondary actions, with readable text and generous hit areas. */
.matching .matching-text-link,
.matching .matching-toolbar a,
#desk .matching-feedback a,
.reservation .booking-counselor>a,
.reservation .back-button,
#desk .desk-reset{font-size:15px;line-height:1.7;min-height:44px;min-width:44px;padding:10px 4px;display:inline-flex;align-items:center;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
.matching .matching-text-link{font-family:inherit;color:var(--ink);background:transparent;border:0;border-radius:0;box-shadow:none;font-weight:700;cursor:pointer;margin-top:10px;text-align:left}
.matching .matching-text-link:hover,.matching .matching-toolbar a:hover,.reservation .booking-counselor>a:hover{color:#087577;text-decoration-thickness:2px}
#desk .desk-reset{background:transparent;transform:none;border:0}
@media(max-width:700px){.matching .matching-text-link,.matching .matching-toolbar a,#desk .matching-feedback a,.reservation .booking-counselor>a,.reservation .back-button,#desk .desk-reset{font-size:16px}.reservation .booking-counselor>a{grid-column:1;grid-row:auto}}
/* Personal booking action is ivory; the fixed reservation action stays yellow. */
.matching #matching-book{background:var(--paper);color:var(--ink);border-color:var(--ink)}
.matching #matching-book:hover{background:#fff6dc}
.matching #matching-book:active{background:#f3ecd9}
.matching #matching-book:focus-visible,.mobile-cta:focus-visible{outline:3px solid var(--ink);outline-offset:5px}
.matching #matching-book>span:last-child{flex-shrink:0;transition:translate .2s ease}
.matching #matching-book:hover>span:last-child{translate:3px -3px}
@media(prefers-reduced-motion:reduce){.matching #matching-book>span:last-child{transition:none}}
