.connection-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.connection-grid .panel{min-width:0}.connection-title{display:flex;align-items:center;gap:12px;margin-bottom:16px}.connection-dot{height:12px;width:12px;border-radius:50%;background:var(--lb-primary-fill)}.connection-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.connection-grid a,.guide-link{color:var(--lb-primary-text);text-decoration:underline;text-underline-offset:4px}.connection-grid code{overflow-wrap:anywhere}.live-note{padding:14px 16px;border-left:3px solid var(--lb-border-strong);background:var(--lb-primary-fill);line-height:1.7;margin:16px 0}.live-message{white-space:pre-wrap;line-height:1.8;margin:14px 0;color:var(--lb-text-muted)}.publish-record{padding:14px 0;border-bottom:1px solid var(--line)}.publish-record p{margin:0 0 10px}.publish-preview{white-space:pre-wrap;max-height:45vh;overflow:auto;padding:20px;border:1px solid var(--line);border-radius:10px;line-height:1.8}.connection-grid input[type=password]{width:100%}#publishHistory{line-height:1.8}#confirmAccount{font-weight:600}.button-link{display:inline-block;text-decoration:none!important}button[hidden]{display:none!important}@media(max-width:900px){.connection-grid{grid-template-columns:1fr}}
/* Scoped project patrol workspace. */
#operations .ops-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,1fr);gap:24px;align-items:start}
#operations .ops-grid>.panel{min-width:0}#operations .patrol-workspace{min-width:0}#operations .patrol-project-picker{margin:22px 0 12px}#operations .patrol-project-picker .button{margin-top:10px}#operations .patrol-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}#operations details{border-block:1px solid var(--line);padding:18px 0;margin-top:20px}#operations summary{font-weight:600;cursor:pointer;line-height:1.6}#operations .patrol-tabs{display:flex;flex-wrap:wrap;gap:6px;border-bottom:1px solid var(--line);padding:0 0 12px;margin:24px 0 16px}#operations .patrol-tabs button{border:1px solid var(--line);border-radius:999px;padding:9px 13px;background:transparent;color:inherit;font:inherit;cursor:pointer}#operations .patrol-tabs button[aria-selected=true]{background:var(--ink,var(--lb-surface));color:var(--paper,var(--lb-text))}#operations [role=tabpanel][hidden]{display:none}#operations .ops-result{padding:20px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}#operations .ops-result p{white-space:pre-wrap;line-height:1.8}#operations .ops-result small{display:block;margin-bottom:10px;color:var(--muted,var(--lb-text-muted))}#operations .ops-result a{display:inline-block;margin:8px 0;color:inherit}#operations .patrol-badge{font-size:var(--lb-text-xs);border:1px solid var(--line);padding:4px 8px;margin:0 0 0 10px;border-radius:999px;display:inline-block}#operations .ops-result textarea{margin:14px 0 8px}#operations .ops-result select{margin-bottom:10px}#operations .patrol-saved-draft{padding:12px;border-left:2px solid var(--line)}#operations input:not([type=checkbox]),#operations textarea,#operations select{max-width:100%;min-width:0;box-sizing:border-box}#operations .inline-check{display:flex;align-items:flex-start;gap:10px;line-height:1.65;margin:16px 0}#operations .inline-check input{flex:0 0 auto;margin-top:5px}#operations .button{white-space:normal;max-width:100%;overflow-wrap:anywhere}#operations [aria-busy=true]{cursor:progress}#operations :focus-visible{outline:2px solid currentColor;outline-offset:3px}
@media(max-width:1100px){#operations .ops-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:480px){#operations .patrol-fields{grid-template-columns:1fr}#operations .patrol-tabs{gap:6px}#operations .patrol-tabs button{font-size:13px;padding:8px 10px}#operations .connection-actions .button{flex:1 1 120px}#operations .patrol-badge{margin:8px 0;display:table}}

#operations [hidden]{display:none!important}

/* Current Threads identity stays visible throughout the workspace. */
.threads-account-chip{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none;min-width:0;max-width:330px;padding:7px 12px;border:1px solid var(--line);border-radius:12px}.threads-account-chip strong,.threads-account-chip small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.threads-account-chip>span:last-child{min-width:0}.threads-account-chip small{font-size:var(--lb-text-xs);color:var(--muted);margin-top:3px}.threads-account-chip[data-connected="true"] small{color:var(--lb-text-strong)}.threads-profile-avatar{position:relative;flex:none;width:38px;height:38px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:var(--lb-selected-bg);color:var(--lb-text-strong);font-weight:650}.threads-profile-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.threads-profile-avatar.large{width:64px;height:64px;font-size:24px}.threads-profile-card{display:flex;align-items:center;gap:20px;margin:20px 0;border:1px solid var(--lb-border-strong)}.threads-profile-card[hidden]{display:none}.threads-profile-copy{flex:1;min-width:0;overflow-wrap:anywhere}.threads-profile-copy h2{margin:8px 0 4px}.threads-profile-copy p{margin:4px 0}.threads-profile-copy .badge{color:var(--lb-text-strong)} @media(max-width:650px){.top-right>.badge{display:none}.threads-account-chip{max-width:220px}.threads-profile-card{flex-wrap:wrap;gap:12px}.threads-profile-card>a{width:100%;text-align:center}.top>.eyebrow{display:none}}
