#cp-assistant { color: #172435; font: 15px/1.5 system-ui, sans-serif; }
#cp-assistant [hidden] { display: none; }
#cp-assistant > button { position: fixed; bottom: max(4.5rem, env(safe-area-inset-bottom)); right: 1rem; z-index: 900; box-shadow: 0 6px 24px #12263b33; }
#cp-assistant button { font: inherit; font-weight: 650; color: #fff; background: #115244; border: 0; border-radius: 10px; padding: .55rem .85rem; cursor: pointer; }
#cp-assistant button:disabled { opacity: .65; cursor: wait; }
#cp-assistant dialog { position: fixed; inset: auto 1rem 1rem auto; margin: 0; width: min(390px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 1px solid #dbe5e4; border-radius: 18px; color: inherit; background: white; box-shadow: 0 12px 48px #12263b33; overflow: auto; }
#cp-assistant dialog::backdrop { background: #14273560; }
#cp-assistant header { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; padding: .75rem 1rem; background: #115244; color: #fff; }
#cp-assistant .cp-content { padding: 1rem; display: grid; gap: .8rem; }
#cp-assistant p { margin: 0; overflow-wrap: anywhere; }
#cp-assistant .cp-actions { display: flex; flex-wrap: wrap; gap: .4rem; }
#cp-assistant form { display: grid; gap: .55rem; }
#cp-assistant input, #cp-assistant select { display: block; border: 1px solid #899795; font: inherit; border-radius: 7px; width: 100%; padding: .45rem; color: inherit; background: white; }
#cp-assistant [data-result], #cp-assistant [data-log] p { padding: .55rem; background: #eef7f5; border-radius: 8px; white-space: pre-wrap; }
#cp-assistant [data-log] { display: grid; gap: .4rem; }
#cp-assistant [data-log]:empty { display: none; }
#cp-assistant a { color: #115244; text-decoration: underline; }
