/* OCB Assistent – additions only. Base look comes from the page's existing .bot / .msg / .quick rules. */
.bot.ocbb .msg{white-space:pre-line;overflow-wrap:anywhere}
.bot.ocbb .bot-log{overscroll-behavior:contain}
.bot.ocbb .quick{max-height:132px;overflow-y:auto;padding-top:2px}
.bot.ocbb .quick button{min-height:36px;color:inherit;font:inherit;font-size:13px}
.bot.ocbb .bot-head button{border-radius:10px}
.bot.ocbb button:focus-visible,.bot.ocbb a:focus-visible,.bot.ocbb input:focus-visible{outline:2px solid #3FE0FF;outline-offset:2px}
.ocbb-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* project cards */
.ocbb-cards{display:flex;flex-direction:column;gap:8px;max-width:94%;animation:pop .3s ease}
.ocbb-card{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;align-items:start;background:var(--ink-2,#14141F);border:1px solid var(--line,#262636);border-radius:14px;padding:8px}
.ocbb-media{position:relative;width:72px;height:54px;border-radius:9px;overflow:hidden;background:linear-gradient(135deg,var(--violet,#6B4BFF),#2a1d80);display:grid;place-items:center}
.ocbb-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top}
.ocbb-mono{font-family:var(--mono,ui-monospace,monospace);font-weight:700;font-size:13px;color:#fff;letter-spacing:.06em}
.ocbb-cbody{min-width:0}
.ocbb-ctop{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.ocbb-ctop b{font-size:14px;line-height:1.25}
.ocbb-st{font-family:var(--mono,ui-monospace,monospace);font-size:10px;letter-spacing:.08em;text-transform:uppercase;padding:2px 7px;border-radius:999px;border:1px solid var(--line,#262636);color:var(--muted,#9B98A8)}
.ocbb-st-live{color:#3dff9a;border-color:rgba(61,255,154,.35)}
.ocbb-st-beta{color:#FFB547;border-color:rgba(255,181,71,.35)}
.ocbb-cbody p{margin:3px 0 0;font-size:13px;line-height:1.4;color:var(--muted,#9B98A8);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ocbb-live{display:inline-flex;align-items:center;gap:5px;margin-top:5px;font-size:13px;font-weight:700;color:#c8bdff;text-decoration:none;min-height:28px}
.ocbb-live:hover{text-decoration:underline}
.ocbb-live .ocbb-ic{width:14px;height:14px}

/* action buttons */
.ocbb-actions{display:flex;flex-wrap:wrap;gap:8px;max-width:100%;animation:pop .3s ease}
.ocbb-btn{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:10px 16px;border-radius:999px;border:1px solid var(--line,#262636);background:transparent;color:var(--bone,#F2EFE8);font:inherit;font-size:14px;font-weight:700;text-decoration:none;cursor:pointer;transition:transform .15s,border-color .15s,background .15s}
.ocbb-btn:hover{border-color:var(--violet,#6B4BFF);transform:translateY(-1px)}
.ocbb-btn .ocbb-ic{width:18px;height:18px;flex:none}
.ocbb-wa{background:#25D366;border-color:#25D366;color:#0A0A12;box-shadow:0 10px 26px -12px rgba(37,211,102,.9)}
.ocbb-wa:hover{background:#2fe877;border-color:#2fe877}
.ocbb-lead{background:var(--violet,#6B4BFF);border-color:var(--violet,#6B4BFF);color:#fff}

/* lead summary + hints */
.ocbb-sum{margin:0;max-width:94%;white-space:pre-wrap;overflow-wrap:anywhere;font-family:var(--mono,ui-monospace,monospace);font-size:12.5px;line-height:1.55;background:var(--ink,#0A0A12);border:1px dashed var(--line,#262636);border-radius:12px;padding:10px 12px;color:var(--bone,#F2EFE8)}
.ocbb-hint{margin:0;font-size:12px;color:var(--muted,#9B98A8)}

/* mobile: full-height sheet */
@media (max-width:600px){
  .bot.ocbb{left:0;right:0;top:0;bottom:0;width:100%;height:100%;height:100dvh;max-height:none;border-radius:0;border:0;transform-origin:bottom center}
  .bot.ocbb .bot-head{padding-top:max(16px,env(safe-area-inset-top))}
  .bot.ocbb .bot-in{padding-bottom:max(12px,env(safe-area-inset-bottom))}
  .bot.ocbb .bot-in input{font-size:16px}
  .bot.ocbb .bot-head button{width:44px;height:44px}
  .bot.ocbb .msg{max-width:90%}
  html.ocbb-lock,html.ocbb-lock body{overflow:hidden}
  html.ocbb-lock .bot-fab{visibility:hidden}
}
@media (prefers-reduced-motion:reduce){
  .bot.ocbb,.bot.ocbb .msg,.ocbb-cards,.ocbb-actions{transition:none!important;animation:none!important}
  .ocbb-btn{transition:none}
}
.bot.ocbb .bot-note{color:#8f8ca3}
