/* Keep the task in the reading area; consultation is always one disclosure away. */
body.hayato-body #hayato-root .consultation-disclosure{border:0;background:transparent;margin:0;min-width:0;}
body.hayato-body #hayato-root .consultation-disclosure>summary{display:none;}
@media(max-width:850px){
 body.hayato-body #hayato-root.has-compact-consultation .consultation-disclosure>summary{display:flex;align-items:center;gap:10px;min-height:48px;padding:10px 14px;border:1px solid #a8b7a3;border-radius:14px;background:#fff;color:#21312b;font-size:16px;font-weight:650;line-height:1.6;cursor:pointer;list-style:none;}
 body.hayato-body #hayato-root .consultation-disclosure>summary::-webkit-details-marker{display:none;}
 body.hayato-body #hayato-root .consultation-meta{margin-left:auto;font-size:14px;font-weight:400;color:#526055;}
 body.hayato-body #hayato-root .consultation-chevron{flex:none;color:#304ec8;}
 body.hayato-body #hayato-root .consultation-disclosure[open] .consultation-chevron{transform:rotate(180deg);}
 body.hayato-body #hayato-root.has-compact-consultation .consultation-disclosure[open]>summary{margin-bottom:10px;}
 body.hayato-body #hayato-root.has-compact-consultation .consultation-disclosure:not([open])~.composer-foot #hayato-composer-note{display:none;}
 body.hayato-body #hayato-root .consultation-disclosure>summary:focus-visible{outline:3px solid #19766b;outline-offset:3px;}
}
@media(max-width:620px){
 body.hayato-body #hayato-root.has-work .learning-desk:not(:has(>details[open])){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;background:transparent;border:0;box-shadow:none;overflow:visible;}
 body.hayato-body #hayato-root.has-work .learning-desk:not(:has(>details[open]))>details{min-width:0;margin:0;border:0;}
 body.hayato-body #hayato-root.has-work .learning-desk:not(:has(>details[open])) #hayato-desk-details>summary{min-height:48px;border-radius:14px;padding:10px 14px;background:#ffda62;color:#3e330c;}
 body.hayato-body #hayato-root.has-work .learning-desk:not(:has(>details[open])) #hayato-learning-menu>summary{min-height:48px;padding:10px 14px;border:1px solid #a8b7a3;border-radius:14px;background:#fff;color:#175d53;font-size:14px;line-height:1.7;}
}
@media(forced-colors:active){
 body.hayato-body #hayato-root.has-compact-consultation .consultation-disclosure>summary,
 body.hayato-body #hayato-root.has-work .learning-desk:not(:has(>details[open])) :is(#hayato-desk-details,#hayato-learning-menu)>summary{background:ButtonFace;color:ButtonText;border:1px solid ButtonText;}
 body.hayato-body #hayato-root :is(.consultation-meta,.consultation-chevron){color:ButtonText;-webkit-text-fill-color:currentColor;}
 body.hayato-body #hayato-root .consultation-disclosure>summary:focus-visible{outline-color:Highlight;}
}
