.preference-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:12px;margin:14px 0}.preference-example,.preference-person,.preference-step{border:1px solid #d6e1eb;border-radius:14px;padding:16px;background:#f4f8fc;min-width:0}.preference-example strong,.preference-person>strong{font-size:1.1rem;line-height:1.6;overflow-wrap:anywhere}.preference-example p{line-height:1.7;margin:8px 0 12px}.preference-degree{border-left:4px solid #657fa5;padding-left:16px;margin:20px 0}.preference-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.preference-step p{white-space:pre-line;line-height:1.8;overflow-wrap:anywhere}.preference-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:14px}.preference-controls label{display:flex;flex-direction:column;gap:8px;font-size:1rem}.preference-controls select{width:100%;min-width:0;padding:12px;border:1px solid #afc2d4;border-radius:10px;font-size:1rem;background:white;color:#263a50}.preference-output{padding:18px;background:#eaf2fc;border-radius:12px;font-size:1.25rem;font-weight:700;line-height:1.6}#preferences-lesson .section-card>p{line-height:1.8}#preferences-lesson summary{padding:12px 0;cursor:pointer;font-weight:600}#preferences-lesson .preference-person .preference-example{margin-top:12px;background:white}@media(max-width:760px){.preference-flow{grid-template-columns:1fr}}

#preferences-lesson .preference-output{font-size:1.25rem;color:#253d59}#preferences-lesson details>p{line-height:1.8}

.preferences-board{overflow-x:auto;margin:22px 0;border:8px solid #a9845b;border-radius:8px;background:#fffef9;box-shadow:inset 0 0 0 1px #e9e4d9;scrollbar-gutter:stable}.preferences-board-inner{display:grid;grid-template-columns:650px 1fr;min-width:1180px;padding:28px 24px;gap:28px;color:#24332d}.preferences-board-left{border-right:2px solid #68766e;padding-right:24px}.preferences-board-row{display:grid;grid-template-columns:190px 310px 76px;align-items:center;gap:12px;min-height:62px;font-size:1.18rem;line-height:1.5}.preferences-board-row>span:first-child{border-right:2px solid #68766e;align-self:stretch;display:flex;align-items:center;padding-right:10px}.preferences-board-row>strong{color:#225a91;font-size:1.6rem;font-weight:700}.preferences-board-heading{min-height:40px;font-size:.9rem;color:#66776d}.preferences-board-heading>span:first-child{border-right:0}.preferences-board-right{display:flex;flex-direction:column;justify-content:center;gap:66px}.preferences-board-branch{display:grid;grid-template-columns:126px 70px 1fr;gap:16px;align-items:center}.preferences-board-verbs,.preferences-board-objects{display:flex;flex-direction:column;gap:8px;font-size:1.45rem;font-weight:500}.preferences-board-verbs strong,.preferences-board-objects strong{font-weight:500}.preferences-board-hearts{font-size:1.45rem;color:#9a655a;line-height:1}.preferences-board-objects small{font-size:1rem;color:#65776d;margin-top:2px}.preferences-board-arrow{position:relative;height:2px;background:#536e60}.preferences-board-arrow:after{content:'';position:absolute;right:0;top:-5px;width:11px;height:11px;border-top:2px solid #536e60;border-right:2px solid #536e60;transform:rotate(45deg)}#preferences-lesson .preferences-board p{margin:0}

.preferences-board-inner{width:1180px}

#preferences-lesson .preferences-board-toggle{display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;border:1px solid #779184;border-radius:10px;background:#edf4ef;color:#244537;font-size:1rem;font-weight:600;cursor:pointer;margin:0 0 12px}#preferences-lesson .preferences-board-toggle:focus-visible{outline:3px solid #6589b2;outline-offset:3px}

/* Lesson 19: keep listening actions on the right of their learning card. */
#preferences-lesson .preference-example{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:14px;align-items:center}
#preferences-lesson .preference-example>strong,#preferences-lesson .preference-example>p{grid-column:1;min-width:0}
#preferences-lesson .preference-example>.play-btn{grid-column:2;grid-row:1 / 3;justify-self:end;align-self:center;margin:0}
#preferences-lesson .section-card>.play-btn{display:flex;margin-left:auto;margin-right:0}
