/* Reading and answering have distinct spaces; a saved answer is no longer a form. */
main[data-page=today]>.encounter-heading{max-width:none;display:grid;grid-template-columns:1fr auto;gap:8px 24px;align-items:center;margin-bottom:38px}
.encounter-heading .date{grid-column:1;font-size:12px;padding:0}
.encounter-heading .encounter-toolbar{grid-column:2;grid-row:1 / 3;margin:0;justify-content:flex-end}
.encounter-scene{display:grid;grid-template-columns:minmax(0,1fr) 300px;grid-template-areas:"question response" "explanation response" "community response";column-gap:48px;align-items:start}
.encounter-question{grid-area:question;min-width:0;padding-top:8px}
.encounter-question .paper-top{padding:0;display:flex;gap:12px;justify-content:flex-start;align-items:center;background:transparent}
.encounter-question .question-kicker{color:var(--muted);font-size:12px}
.encounter-question .stamp{color:var(--accent);background:var(--pale);border:0;padding:4px 8px;border-radius:5px;font-size:12px}
.encounter-question .question-body{padding:18px 0 0;background:transparent}
.encounter-question .question-title{font-size:31px;color:var(--ink);line-height:1.6;letter-spacing:-.6px;font-weight:600;text-wrap:pretty}
.encounter-question .question-intro{color:var(--muted);font-size:14px;line-height:1.8;margin-top:16px}
.encounter-question .answer-foot{border:0;background:transparent;padding:17px 0 22px;justify-content:flex-start;gap:22px;flex-wrap:wrap}
.encounter-question .answer-foot .text-button{font-size:12px;color:var(--muted);padding:6px 0;min-height:40px}
.encounter-question .answer-foot .text-button:first-child{color:var(--accent)}
.encounter-response{grid-area:response;min-width:0;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;margin-top:8px}
.encounter-response .answer-composer{border:0;padding:23px 22px;background:transparent}
.encounter-response .composer-heading{align-items:baseline;gap:12px}
.encounter-response .composer-heading label{font-size:14px}
.encounter-response .field-footer{font-size:11px;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.encounter-response textarea{min-height:136px;border:0;border-radius:0;background:transparent;padding:8px 0;font-size:15px;line-height:1.8;box-shadow:none;resize:vertical}
.encounter-response textarea:focus{outline:0;box-shadow:0 2px 0 var(--accent)}
.encounter-response .composer-actions{border-top:1px solid var(--line);padding-top:16px;margin-top:12px;display:flex;flex-direction:column;align-items:stretch;gap:14px}
.encounter-response .composer-actions .checkbox{font-size:12px!important;min-height:32px;align-items:center}
.encounter-response .composer-actions .checkbox input{margin-top:0}
.encounter-response .composer-actions .button{width:100%;min-height:44px;align-self:stretch;box-shadow:none}
.response-edit-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
.response-edit-actions .text-button{font-size:12px;min-height:44px}
.response-edit-actions:has(> [hidden]:first-child):has(> [hidden]:last-child){display:none}
.saved-response{padding:22px}
.saved-response-heading{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:13px}
.saved-response-heading h3{font-size:13px;font-weight:600;margin:0}
.saved-response-status{font-size:11px;color:var(--muted);white-space:nowrap}
.saved-response-text{font-size:14px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 9px}
.saved-response>.text-button{font-size:12px;color:var(--accent);padding:6px 0;min-height:36px}
.encounter-scene>.explanation{grid-area:explanation;min-width:0;background:transparent;border:0;border-top:1px solid var(--line);padding:25px 0 0;margin-top:0;scroll-margin-top:28px}
.encounter-scene>.explanation>.section-label{font-size:14px;color:var(--accent);font-weight:600;margin-bottom:16px}
.encounter-scene>.explanation .prose{font-size:16px;line-height:1.95;margin-top:0;margin-bottom:17px}
.encounter-scene>.explanation .sources{margin-top:20px}
.encounter-scene>.community{grid-area:community;margin-top:34px;border-top:1px solid var(--line);padding-top:24px;min-width:0}
.encounter-scene .community-heading{margin-bottom:14px}
.encounter-scene .community-heading h2{font-size:16px}
.encounter-scene .community-empty{background:transparent;border:0;padding:0;font-size:13px}
.encounter-scene .answer-card{background:transparent;border:0;border-radius:0;box-shadow:none;padding:16px 0;margin:0;border-bottom:1px solid var(--line)}
.encounter-scene .answer-card .prose{font-size:14px;line-height:1.9}
.encounter-scene .answer-card footer{font-size:12px;margin-top:12px}
.record-page{max-width:660px;padding-top:26px}
.record-page>.page-heading{margin-bottom:24px}
.record-card{border:0;border-radius:0;padding:0;background:transparent;box-shadow:none}
.record-card label{font-size:15px;color:var(--ink);font-weight:400;margin-bottom:14px}
.record-card textarea{border:1px solid #dce3ee;border-radius:14px;padding:20px 22px;min-height:138px;background:#fff;font-size:17px;line-height:1.8}
.record-card textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #3157c80c}
.record-card textarea::placeholder{font-size:16px}
.record-card .actions{border:0;padding:0;margin-top:14px}
.record-card .actions .button{min-width:118px;box-shadow:none}
.record-card .privacy-note{margin-top:18px;font-size:12px}
.detail-page .detail-card{padding:24px 0 4px;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none;margin-top:28px}
.detail-page .answer-heading{border:0;padding-bottom:0;margin-bottom:20px}
.detail-page .markdown{font-size:16px;line-height:1.95}
.detail-page .disclosure-card{border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none;margin-top:0}
.detail-page .disclosure-card>summary{padding:18px 0}
.detail-page .disclosure-body{padding:4px 0 22px}
@media(max-width:1100px) and (min-width:861px){.encounter-scene{grid-template-columns:minmax(0,1fr) 260px;column-gap:28px}.encounter-question .question-title{font-size:27px}.encounter-response .answer-composer,.saved-response{padding:20px}}
@media(max-width:860px){
  main[data-page=today]>.encounter-heading{margin-bottom:27px;gap:6px 16px}
  .encounter-heading .encounter-toolbar{max-width:210px}
  .encounter-heading .mode-buttons .button{padding:8px 12px;font-size:12px;min-height:44px}
  .encounter-heading .topic-select{min-width:0;max-width:none;width:100%;font-size:14px}
  .encounter-scene{grid-template-columns:minmax(0,1fr);grid-template-areas:"question" "response" "explanation" "community";gap:0}
  .encounter-question{padding-top:0}
  .encounter-question .question-title{font-size:26px;line-height:1.6;letter-spacing:-.5px}
  .encounter-question .question-body{padding-top:14px}
  .encounter-question .question-intro{font-size:13px;margin-top:12px}
  .encounter-question .answer-foot{padding:10px 0 12px;gap:24px}
  .encounter-question .answer-foot .text-button{min-height:44px}
  .encounter-response{margin:0 0 24px}
  .encounter-response .answer-composer{padding:19px 20px}
  .encounter-response textarea{min-height:94px;font-size:16px}
  .encounter-response .composer-actions{flex-direction:row;align-items:center;justify-content:space-between;gap:12px;padding-top:13px;margin-top:7px}
  .encounter-response .composer-actions .checkbox{min-height:44px;flex:1}
  .encounter-response .composer-actions .button{width:auto;min-width:106px;align-self:center;font-size:13px}
  .saved-response{position:relative;padding:16px 20px 14px}
  .saved-response-heading{justify-content:flex-start;gap:12px;margin-bottom:7px;padding-right:72px}
  .saved-response-text{font-size:14px;-webkit-line-clamp:2;margin-bottom:0}
  .saved-response>.text-button{position:absolute;top:4px;right:20px;min-height:44px}
  .encounter-scene>.explanation{padding:22px 0 0}
  .encounter-scene>.explanation .prose{font-size:16px}
  .encounter-scene>.community{margin-top:26px;padding-top:21px}
  .record-page{padding-top:4px}
  .record-card{padding:0}
  .record-card textarea{padding:18px;min-height:132px}
  .detail-page .detail-card{padding:22px 0 0}
}
@media(max-width:380px){.encounter-heading .encounter-toolbar{max-width:184px}.encounter-heading .mode-buttons .button{padding:8px 10px}.encounter-question .question-title{font-size:23px}.encounter-response .answer-composer{padding:18px}.encounter-response .composer-actions{flex-wrap:wrap}.encounter-response .composer-actions .checkbox{flex-basis:100%}.encounter-response .composer-actions .button{margin-left:auto}.saved-response{padding:16px}.saved-response>.text-button{right:16px}}
