/* Ghost UI v4.12 typed working context: semantic type plus once/chat/project lifetime. */
.ghost-context-typed-form{grid-template-columns:78px 76px minmax(0,1fr) 31px!important}
.ghost-context-typed-form select{
  min-width:0;height:32px;border:1px solid rgba(var(--cortex-rgb),.13);border-radius:9px;background:rgba(9,16,30,.78);color:#9e91d8;padding:0 5px;font-size:.5rem;outline:none
}
.ghost-context-typed-form select[data-context-pin-lifetime]{color:#70a9bb}
.ghost-context-typed-form select:focus{border-color:rgba(var(--cortex-rgb),.32);box-shadow:0 0 0 2px rgba(var(--cortex-rgb),.05)}
.ghost-context-form-status{display:block;margin:-3px 2px 7px;color:#6d9a9e;font-size:.52rem;line-height:1.35}
.ghost-context-form-status.bad{color:#d28e78}
.ghost-context-working-actions{display:flex;align-items:center;gap:7px;margin-left:auto}
.ghost-context-working-actions>small{font:700 .53rem/1 ui-monospace,SFMono-Regular,Menlo,monospace;color:#60788c}
.ghost-context-working-actions>button{border:0;background:transparent;color:#677f93;cursor:pointer;padding:2px 0;font-size:.52rem}
.ghost-context-working-actions>button:hover{color:#ff9aac}
.ghost-context-pin[data-context-type="goal"]{border-left:2px solid rgba(53,230,162,.45)}
.ghost-context-pin[data-context-type="constraint"]{border-left:2px solid rgba(255,184,74,.5)}
.ghost-context-pin[data-context-type="decision"]{border-left:2px solid rgba(156,108,255,.5)}
.ghost-context-pin[data-context-type="question"]{border-left:2px solid rgba(57,217,255,.5)}
.ghost-context-pin[data-context-type="reference"]{border-left:2px solid rgba(130,145,167,.42)}
.ghost-context-pin[data-context-lifetime="once"]{background:linear-gradient(120deg,rgba(57,217,255,.035),rgba(7,13,23,.62));border-style:dashed}
.ghost-context-pin[data-context-type="goal"] span{color:#67b99b}
.ghost-context-pin[data-context-type="constraint"] span{color:#b9955f}
.ghost-context-pin[data-context-type="decision"] span{color:#9180d2}
.ghost-context-pin[data-context-type="question"] span{color:#67b8cc}
.ghost-context-pin-actions{display:flex;align-items:center;gap:3px;align-self:start}
.ghost-context-pin-actions>button{min-width:23px;height:23px;border:0;border-radius:7px;background:transparent;color:#657c91;cursor:pointer;padding:0 4px;font-size:.48rem}
.ghost-context-pin-actions>[data-promote-pin]{color:#6abfd1;border:1px solid rgba(var(--accent-rgb),.08);padding:0 6px}
.ghost-context-pin-actions>[data-promote-pin]:hover{color:#d9f8ff;border-color:rgba(var(--accent-rgb),.22);background:rgba(var(--accent-rgb),.055)}
.ghost-context-pin-actions>[data-remove-pin]:hover{background:rgba(255,68,95,.08);color:#ff93a6}
.ghost-context-memory-draft-note{margin:9px 0;padding:8px 10px;border:1px solid rgba(var(--cortex-rgb),.15);border-radius:10px;background:rgba(var(--cortex-rgb),.055);color:#9aaaca;font-size:.67rem;line-height:1.45}
@media(max-width:430px){
  .ghost-context-typed-form{grid-template-columns:70px 67px minmax(0,1fr) 31px!important}
  .ghost-context-typed-form select{font-size:.46rem;padding:0 3px}
}
