/* Assistant and people workspace: flat surfaces, Inter, readable spacing. */
.assist-panel { box-shadow: none; border-left: 1px solid var(--line); }
.assist-panel .pane-head { min-height: 62px; padding: 12px 18px; gap: 8px; }
.assist-panel .pane-head h2 { font-weight: 600; letter-spacing: -.025em; }
.assist-panel .pane { padding: 0; overflow: hidden; flex: 1; min-height: 0; }
.pane:has(> .asst) { display: flex; overflow: hidden; padding: 0; min-height: 0; }
.asst { height: 100%; min-height: 0; max-width: 800px; padding: 0 24px; }
.asst #thread { overflow-y: auto; min-height: 0; padding: 24px 0 12px; scroll-behavior: smooth; }
.asst #thread:empty { display: flex; align-items: center; min-height: 0; }
.asst #thread:empty::before { content: "What can we work on?"; max-width: 280px; font-size: 26px; line-height: 1.3; padding: 0; }
.assist-panel .asst { padding: 0 18px; }
.assist-panel .asst #thread:empty::before { font-size: 24px; }
.asst .msg { margin-bottom: 22px; font-size: 14px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.asst .msg.me { padding: 10px 14px; border: 1px solid var(--line); background: transparent; color: var(--text); border-radius: 14px 14px 4px 14px; max-width: 92%; }
.asst .msg.ai { color: var(--text); padding: 0; }
.asst #starters { display: flex; flex-direction: column; border: 0; background: transparent; gap: 2px; flex: none; margin: 0 0 18px; }
.asst #starters .chip { font: inherit; font-size: 13px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--muted); }
.asst #starters .chip + .chip { border-left: 0; }
.asst #starters .chip:hover { color: var(--text); background: transparent; }
.assistant-composer { flex: none; padding: 12px 0 14px; background: var(--surface); }
.assistant-context { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.asst .askbar { position: relative; margin: 0; border: 1px solid var(--line2); background: transparent; box-shadow: none; padding: 10px 10px 10px 12px; align-items: flex-end; border-radius: 14px; }
.asst .askbar:focus-within { border-color: var(--text); }
.asst #aIn { width: 100%; resize: none; min-height: 42px; max-height: 160px; overflow-y: auto; background: transparent; border: 0; border-radius: 0; padding: 2px; outline: none; box-shadow: none; font: inherit; font-size: 14px; line-height: 1.5; }
.asst #aGo { width: 36px; height: 36px; min-width: 36px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); font-size: 22px; }
.asst #aGo:disabled { opacity: .4; }
.assistant-composer-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; font-size: 10px; color: var(--muted); }
.assistant-composer-foot label { display: flex; gap: 6px; align-items: center; cursor: pointer; }
.assistant-composer-foot input { width: 14px; height: 14px; margin: 0; accent-color: #333; }
.assistant-sources { display: flex; flex-wrap: wrap; gap: 6px 12px; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 12px; font-size: 12px; }
.asst a, .org-detail a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.asst .action { padding: 14px; border-radius: 10px; box-shadow: none; }
.asst .action .k { flex-direction: column; align-items: flex-start; }
#taskPanel { max-height: 38%; overflow-y: auto; flex: none; }
.org-layout { display: grid; grid-template-columns: minmax(250px, 340px) minmax(0,1fr); gap: 24px; align-items: start; max-width: 1400px; margin: auto; }
.org-directory, .org-detail { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.org-owner { padding-bottom: 20px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.org-owner small, .org-member small { display: block; font-size: 11px; line-height: 1.5; color: var(--muted); font-weight: 400; }
.org-branch { margin-top: 8px; }
.org-reports { border-left: 1px solid var(--line); margin-left: 15px; padding-left: 10px; }
.org-nested { padding-left: 14px; }
.org-member { width: 100%; display: flex; gap: 10px; align-items: center; text-align: left; padding: 12px 0; background: transparent; border: 0; border-radius: 0; color: var(--text); }
.org-member.selected strong { text-decoration: underline; text-underline-offset: 5px; }
.org-member:hover strong { opacity: .7; }
.org-avatar { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line2); font-size: 13px; font-weight: 500; }
.org-avatar.large { width: 48px; height: 48px; font-size: 20px; }
.org-count { margin-left: auto; font-size: 12px; color: var(--muted); }
.org-note { font-size: 12px; line-height: 1.6; margin: 22px 0 0; }
.org-detail header { display: flex; gap: 14px; align-items: center; }
.org-detail h2 { font-size: 22px; margin: 0 0 4px; letter-spacing: -.03em; }
.org-detail header p { margin: 0 0 6px; font-size: 14px; }
.org-section { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.org-section h3 { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; margin: 0 0 16px; }
.org-section h3 span { font-weight: 400; font-size: 12px; }
.org-section ul { padding-left: 18px; font-size: 13px; line-height: 1.75; }
.org-task-form { display: grid; gap: 10px; }
.org-task-form label { font-size: 12px; color: var(--muted); }
.org-task-form input, .org-task-form textarea { font: inherit; font-size: 14px; padding: 11px 12px; border: 1px solid var(--line); background: transparent; color: var(--text); width: 100%; border-radius: 8px; }
.org-task-form .btn { justify-self: start; background: transparent; }
.org-task { padding: 18px 0; border-top: 1px solid var(--line); }
.org-task:first-child { margin-top: 12px; }
.org-task h4 { font-size: 14px; margin: 0 0 8px; }
.org-task p { font-size: 13px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.org-task.completed h4 { text-decoration: line-through; color: var(--muted); }
.org-task-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.org-task details { margin-top: 12px; font-size: 13px; }
.org-task summary { cursor: pointer; padding: 8px 0; }
.org-result { white-space: pre-wrap; line-height: 1.7; margin: 8px 0; }
.org-unassigned { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
@media(max-width: 1000px) { .app.assist:not(.wide) { grid-template-columns: minmax(260px, 320px) minmax(0, 1fr); } .app.assist:not(.wide) .assist-panel { position: fixed; right: 0; top: 116px; bottom: 0; width: min(420px,100vw); z-index: 20; box-shadow: -12px 0 32px #0000000d; } }
@media(max-width: 700px) { .org-layout { grid-template-columns: 1fr; gap: 16px; } .org-directory,.org-detail { padding: 16px; } .org-directory { max-height: 290px; overflow-y: auto; } .asst { padding: 0 16px; } .asst #aIn { font-size: 16px; } .app.assist .assist-panel, .app.assist:not(.wide) .assist-panel { inset: 0 0 64px; width: 100%; } .assistant-composer-foot { font-size: 10px; } .rtabs { overflow-x: auto; } }
@media(prefers-reduced-motion: reduce) { .asst #thread { scroll-behavior: auto; } }
.asst #thread { align-content: start; grid-auto-rows: max-content; gap: 12px; margin: 0; }
.asst .msg { margin-bottom: 8px; }
.app.wide .assist-panel .pane { padding: 0; }
.app.wide .main .pane:has(> .asst) { padding: 0; }
.asst .btn.primary { background: transparent; border: 1px solid var(--line2); color: var(--text); }
