/* Adaptive tutor uses the existing portal palette and dark-mode inheritance. */
#t180{--t180-accent:#087f8c;display:grid;gap:1rem;color:inherit}#t180 .t180-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(245px,1fr);gap:1rem;align-items:start}#t180 .t180-pane{min-width:0;border:1px solid color-mix(in srgb,currentColor 20%,transparent);border-radius:14px;padding:1.1rem;background:color-mix(in srgb,currentColor 2%,transparent)}#t180 h2,#t180 h3,#t180 h4{margin:.25rem 0 .65rem}#t180 label{display:block;font-weight:650;margin:.8rem 0 .3rem}#t180 textarea,#t180 select{display:block;width:100%;max-width:100%;box-sizing:border-box;padding:.65rem;border-radius:8px;border:1px solid color-mix(in srgb,currentColor 28%,transparent);background:var(--panel,#fff);color:inherit;font:inherit}html[data-portal-theme=dark] #t180 textarea,html[data-portal-theme=dark] #t180 select{background:#17202c;color:#eef4fa}#t180 textarea{resize:vertical;min-height:78px}#t180 button{border:1px solid color-mix(in srgb,currentColor 25%,transparent);border-radius:8px;padding:.55rem .8rem;background:transparent;color:inherit;cursor:pointer;font:inherit;font-weight:600;min-height:40px}#t180 button.t180-primary{background:#087f8c;color:#fff;border-color:#087f8c}#t180 button:hover{outline:1px solid var(--t180-accent)}#t180 .t180-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.7rem}#t180 .t180-chip{font-size:.85rem;margin:.2rem .3rem .2rem 0}#t180 .t180-message{padding:1rem;border-radius:12px;border:1px solid color-mix(in srgb,currentColor 15%,transparent);overflow-wrap:anywhere;margin-top:.7rem}#t180 .t180-user{margin-left:12%;background:color-mix(in srgb,#087f8c 9%,transparent)}#t180 .t180-msghead{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}#t180 .t180-avatar{background:#087f8c;color:white;border-radius:50%;width:36px;height:36px;display:grid;place-items:center;font-size:.8rem;font-weight:750}#t180 .t180-msghead small{margin-left:auto}#t180 .t180-focusbadge{margin:.65rem 0;font-size:.9rem;font-weight:650}#t180 .t180-block{border-top:1px solid color-mix(in srgb,currentColor 15%,transparent);padding-top:.8rem;margin-top:.8rem}#t180 .t180-source{padding:.65rem .75rem;border-left:3px solid #087f8c;margin:.4rem 0;background:color-mix(in srgb,currentColor 3%,transparent);border-radius:4px}#t180 .t180-source summary{cursor:pointer;font-weight:650}#t180 .t180-scope,#t180 .t180-note,#t180 small{font-size:.85rem;opacity:.85}#t180 .t180-finding{padding:.5rem 0}#t180 #t180-card-answer{border-left:3px solid #087f8c;padding:.5rem .7rem;background:color-mix(in srgb,#087f8c 8%,transparent)}#t180 [hidden]{display:none!important}.t180-lablink{display:inline-flex;align-items:center;gap:.4rem;padding:.5rem .85rem;border-radius:8px;border:1px solid #087f8c;margin:.45rem 0;text-decoration:none;font-weight:650}.t180-lablink:hover{text-decoration:underline}@media(max-width:850px){#t180 .t180-layout{grid-template-columns:1fr}}@media(max-width:480px){#t180 .t180-pane,#t180 .t180-message{padding:.7rem}#t180 .t180-user{margin-left:3%}}
