/*
 * costa チャットの見た目（App\Livewire\ChatPanel の画面。2026-10-14 に chat-panel.blade.php から分けた）。
 * 5秒ごとの画面の更新で毎回送らないよう、別のファイルにしてブラウザに覚えさせる（resources/views/filament/pwa-head.blade.php で読み込む）。
 * Filament の管理画面用 CSS に含まれない Tailwind のクラスは効かないため、ここで指定する。
 */
.cp { display: grid; grid-template-columns: 300px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: 0; border: 1px solid rgba(128, 128, 128, .25); border-radius: .75rem; overflow: hidden; background: #fff; }
.dark .cp { background: rgb(24, 24, 27); }
.cp-page { height: calc(100vh - 8.5rem); height: calc(var(--app-h, 100dvh) - 8.5rem); min-height: 520px; }
.cp-dashboard { height: 70vh; min-height: 480px; }
/* 高さは、いま見えている画面の高さ（--app-h：キーボードやアドレス欄を除く。スマホで下が切れないように。2026-11-14 ボブ氏）。無ければ dvh */
.cp-app { height: calc(100vh - 1rem); height: calc(var(--app-h, 100dvh) - 1rem); min-height: 360px; }
.cp-tool { display: inline-flex; align-items: center; gap: .25rem; font-size: .75rem; padding: .25rem .55rem; border-radius: .5rem; border: 1px solid rgba(128, 128, 128, .35); background: transparent; cursor: pointer; }
.cp-tool svg { width: .9rem; height: .9rem; }
@media (max-width: 900px) {
    .cp { grid-template-columns: 1fr; height: auto; }
    .cp.cp-has-room .cp-side { display: none; }
    .cp:not(.cp-has-room) .cp-main { display: none; }
    .cp-main { height: 80vh; }
}
.cp-side { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid rgba(128, 128, 128, .2); }
.cp-side-head { display: flex; flex-wrap: wrap; gap: .35rem; padding: .6rem; border-bottom: 1px solid rgba(128, 128, 128, .15); }
/* 別窓・アプリのチャットに出す通知のベル（右端。2026-11-22 ボブ氏） */
.cp-bell { margin-left: auto; display: inline-flex; align-items: center; }
.cp-kinds { display: flex; flex-wrap: wrap; gap: .25rem; padding: .45rem .6rem; border-bottom: 1px solid rgba(128, 128, 128, .15); }
.cp-kind { font-size: .72rem; padding: .1rem .55rem; border-radius: 999px; border: 1px solid rgba(128, 128, 128, .35); background: transparent; cursor: pointer; }
.cp-kind.on { background: rgb(245, 158, 11); border-color: rgb(245, 158, 11); color: #fff; font-weight: 700; }
.cp-list { overflow-y: auto; flex: 1 1 auto; }
.cp-item { display: flex; gap: .6rem; align-items: center; width: 100%; padding: .55rem .7rem; border: 0; background: transparent; cursor: pointer; text-align: left; border-bottom: 1px solid rgba(128, 128, 128, .08); }
.cp-item:hover { background: rgba(128, 128, 128, .07); }
.cp-item.on { background: rgba(245, 158, 11, .14); }
.cp-avatar { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: .95rem; background: #94a3b8; }
.cp-avatar svg { width: 1.55rem; height: 1.55rem; }
.cp-avatar-img { overflow: hidden; background: #e2e8f0; } .cp-avatar-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-avatar-emoji { font-size: 1.75rem; line-height: 1; }
.cp-avatar.k-group { background: #0ea5e9; } .cp-avatar.k-product { background: #f59e0b; } .cp-avatar.k-department { background: #64748b; } .cp-avatar.k-public { background: #10b981; }
.cp-item-body { flex: 1 1 auto; min-width: 0; }
.cp-item-top { display: flex; gap: .4rem; align-items: baseline; }
.cp-item-name { font-weight: 700; font-size: .875rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1 1 auto; min-width: 0; }
.cp-item-time { font-size: .7rem; opacity: .6; flex: none; }
.cp-item-bottom { display: flex; gap: .4rem; align-items: center; margin-top: .1rem; }
.cp-item-last { font-size: .78rem; opacity: .65; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1 1 auto; min-width: 0; }
.cp-badge { flex: none; min-width: 1.25rem; padding: 0 .35rem; border-radius: 999px; background: rgb(220, 38, 38); color: #fff; font-size: .7rem; font-weight: 700; text-align: center; line-height: 1.25rem; }
.cp-main { display: flex; flex-direction: column; min-height: 0; background: #e8eef5; }
.dark .cp-main { background: rgb(30, 34, 40); }
.cp-head { display: flex; align-items: center; gap: .5rem; padding: .55rem .8rem; background: #fff; border-bottom: 1px solid rgba(128, 128, 128, .2); }
.dark .cp-head { background: rgb(24, 24, 27); }
/* 一覧へ戻るボタン（2026-11-02 ボブ氏：「‹」だけでよいが、押せる広さを取る。指でも押せる 44px 四方） */
.cp-back { display: none; flex: none; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; margin: -.35rem .25rem -.35rem -.4rem; padding: 0; border: 0; border-radius: .75rem; background: transparent; cursor: pointer; }
.cp-back:hover, .cp-back:active { background: rgba(128, 128, 128, .15); }
.cp-back svg { width: 1.6rem; height: 1.6rem; }
@media (max-width: 900px) { .cp-back { display: inline-flex; } }
.cp-head-name { font-weight: 700; font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-head-sub { font-size: .72rem; opacity: .65; white-space: nowrap; }
.cp-head-actions { margin-left: auto; display: flex; gap: .35rem; flex: none; }
.cp-scroll { flex: 1 1 auto; overflow-y: auto; padding: .3rem .9rem 1rem; }
.cp-older { display: block; margin: .25rem auto .6rem; font-size: .78rem; text-decoration: underline; background: transparent; border: 0; cursor: pointer; opacity: .75; }
.cp-date { display: flex; justify-content: center; margin: .8rem 0 .5rem; }
.cp-date span { font-size: .7rem; padding: .1rem .7rem; border-radius: 999px; background: rgba(0, 0, 0, .18); color: #fff; }
.cp-row { display: flex; align-items: flex-end; gap: .4rem; margin: .2rem 0; }
.cp-row.mine { justify-content: flex-end; }
.cp-from { margin: 0 0 .1rem; }   /* 名前の上の余白はなくす（2026-11-14 ボブ氏） */
.cp-name { display: inline-block; font-size: .72rem; font-weight: 700; padding: 0 .45rem; border: 2px solid; border-radius: .4rem; background: #fff; }
.dark .cp-name { background: rgb(24, 24, 27); }
.cp-dept { font-size: .65rem; opacity: .6; margin-left: .3rem; }
.cp-bubble { max-width: min(70%, 34rem); padding: .45rem .75rem; border-radius: 1.1rem; font-size: .9rem; line-height: 1.55; overflow-wrap: anywhere; background: var(--cp-their-bg, #fff); color: var(--cp-their-fg, #111827); box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.cp-row:not(.mine) .cp-bubble { border-top-left-radius: .3rem; }
/* 吹き出しの色（2026-10-12 ボブ氏指示：自分＝黒に白文字、相手＝白に黒文字。色を選べる設定は後で） */
.cp-row.mine .cp-bubble { background: var(--cp-mine-bg, #111827); color: var(--cp-mine-fg, #fff); border-top-right-radius: .3rem; }
.cp-row.mine .cp-bubble .cp-link { color: var(--cp-mine-link, #93c5fd); }
.dark .cp-row.mine .cp-bubble { box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.cp-meta { display: flex; flex-direction: column; font-size: .65rem; opacity: .7; line-height: 1.25; flex: none; }
.cp-row.mine .cp-meta { align-items: flex-end; }
.cp-meta .act { background: transparent; border: 0; padding: 0; cursor: pointer; text-decoration: underline; font-size: .65rem; opacity: 0; }
.cp-row:hover .cp-meta .act, .cp-meta .act:focus { opacity: 1; }
.cp-notice { display: flex; justify-content: center; margin: .4rem 0; }
.cp-notice span { font-size: .72rem; padding: .15rem .8rem; border-radius: 999px; background: rgba(0, 0, 0, .1); }
.cp-link { color: rgb(37, 99, 235); text-decoration: underline; }
.cp-compose { display: flex; gap: .5rem; align-items: flex-end; padding: .5rem .7rem calc(.5rem + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid rgba(128, 128, 128, .2); }
.dark .cp-compose { background: rgb(24, 24, 27); }
.cp-compose textarea { flex: 1 1 auto; resize: none; min-height: 2.4rem; max-height: 10rem; font-size: .9rem; padding: .45rem .7rem; border-radius: 1.2rem; border: 1px solid rgba(128, 128, 128, .4); background: transparent; line-height: 1.4; }
.cp-send { flex: none; padding: .45rem 1rem; border-radius: 1.2rem; border: 0; background: #111827; color: #fff; font-weight: 700; cursor: pointer; font-size: .85rem; }
.cp-send[disabled] { opacity: .45; cursor: default; }
.cp-hint { font-size: .65rem; padding: 0 .9rem .35rem; background: #fff; color: rgba(107, 114, 128, .9); display: flex; align-items: center; gap: .4rem; }
/* 使い方の「?」（2026-11-02。ヘルプの「チャットの使い方」を別のタブで開く） */
.cp-help { display: inline-flex; align-items: center; justify-content: center; width: 1.05rem; height: 1.05rem; border-radius: 999px; border: 1px solid currentColor; font-size: .65rem; font-weight: 700; text-decoration: none; color: inherit; }
.cp-help:hover { color: #b45309; }
.dark .cp-hint { background: rgb(24, 24, 27); }
.cp-empty { padding: 2rem 1rem; text-align: center; font-size: .85rem; opacity: .7; }
.cp-mention { font-weight: 700; color: rgb(37, 99, 235); }
.cp-row.mine .cp-mention { color: var(--cp-mine-mention, #fcd34d); }
.cp-row.to-me .cp-bubble { box-shadow: 0 0 0 2px rgb(245, 158, 11); }
.cp-mention-list { position: absolute; left: .7rem; bottom: 100%; z-index: 20; width: min(320px, 90%); max-height: 260px; overflow-y: auto; background: #fff; border: 1px solid rgba(128, 128, 128, .35); border-radius: .5rem; box-shadow: 0 8px 24px rgba(0, 0, 0, .15); }
.dark .cp-mention-list { background: rgb(24, 24, 27); }
.cp-mention-item { display: flex; justify-content: space-between; gap: .5rem; width: 100%; padding: .4rem .7rem; border: 0; background: transparent; cursor: pointer; text-align: left; font-size: .85rem; }
.cp-mention-item small { opacity: .6; }
.cp-mention-item.on, .cp-mention-item:hover { background: rgba(245, 158, 11, .15); }
.cp-files { display: flex; flex-direction: column; gap: .35rem; }
.cp-bubble .cp-files:not(:first-child) { margin-top: .4rem; }
.cp-img { display: block; max-width: 100%; max-height: 240px; border-radius: .6rem; background: rgba(128, 128, 128, .15); }
.cp-file { display: flex; align-items: center; gap: .5rem; padding: .4rem .55rem; border-radius: .6rem; background: rgba(128, 128, 128, .12); color: inherit; text-decoration: none; min-width: 12rem; }
.cp-row.mine .cp-file { background: var(--cp-mine-overlay, rgba(255, 255, 255, .14)); }
.cp-file svg { width: 1.4rem; height: 1.4rem; flex: none; opacity: .8; }
.cp-file-name { font-size: .82rem; font-weight: 700; overflow-wrap: anywhere; line-height: 1.3; }
.cp-file-sub { font-size: .68rem; opacity: .7; }
.cp-file-sub a { color: inherit; text-decoration: underline; }
.cp-pending { display: flex; flex-wrap: wrap; gap: .35rem; padding: .45rem .7rem 0; background: #fff; border-top: 1px solid rgba(128, 128, 128, .2); }
.dark .cp-pending { background: rgb(24, 24, 27); }
.cp-chip { display: inline-flex; align-items: center; gap: .3rem; max-width: 100%; font-size: .75rem; padding: .15rem .3rem .15rem .55rem; border-radius: 999px; background: rgba(128, 128, 128, .15); }
.cp-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 16rem; }
.cp-chip button { border: 0; background: transparent; cursor: pointer; font-size: .9rem; line-height: 1; padding: 0 .2rem; opacity: .7; }
.cp-attach { flex: none; display: flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 999px; border: 1px solid rgba(128, 128, 128, .4); background: transparent; cursor: pointer; }
.cp-attach svg { width: 1.2rem; height: 1.2rem; }
.cp-attach[disabled] { opacity: .45; cursor: default; }
.cp-progress { padding: .2rem .9rem 0; font-size: .7rem; background: #fff; }
.dark .cp-progress { background: rgb(24, 24, 27); }
.cp-progress .bar { height: 4px; border-radius: 2px; background: rgba(128, 128, 128, .2); overflow: hidden; margin-top: .15rem; }
.cp-progress .bar i { display: block; height: 100%; background: rgb(245, 158, 11); }
.cp-error { color: rgb(220, 38, 38); }
.cp-main.cp-drop { box-shadow: inset 0 0 0 3px rgb(245, 158, 11); }
.cp-autosave { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; width: 100%; font-size: .68rem; opacity: .85; }
.cp-card { border-left: 4px solid #475569; min-width: 14rem; }
.cp-card-title { font-weight: 700; }
.cp-card-body { font-size: .82rem; opacity: .85; white-space: pre-line; }
.cp-card-btn { display: inline-block; margin-top: .35rem; font-size: .78rem; font-weight: 700; padding: .15rem .7rem; border-radius: 999px; background: #111827; color: #fff; text-decoration: none; }
.cp-records { display: flex; flex-direction: column; gap: .3rem; margin-top: .4rem; }
.cp-record { display: flex; gap: .4rem; align-items: baseline; padding: .3rem .55rem; border-radius: .5rem; background: rgba(128, 128, 128, .12); color: inherit; text-decoration: none; font-size: .78rem; }
.cp-row.mine .cp-record { background: var(--cp-mine-overlay, rgba(255, 255, 255, .14)); }
.cp-record b { flex: none; font-size: .68rem; padding: 0 .35rem; border-radius: .3rem; background: rgba(245, 158, 11, .85); color: #fff; }
.cp-record span { opacity: .8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-file.cp-expired { opacity: .6; }
.cp-meta .read { background: transparent; border: 0; padding: 0; cursor: pointer; text-decoration: underline dotted; font-size: .65rem; color: inherit; }
.cp-tasks { display: flex; flex-direction: column; gap: .25rem; margin-top: .4rem; }
.cp-task { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; font-size: .72rem; padding: .25rem .5rem; border-radius: .5rem; background: rgba(245, 158, 11, .16); }
.cp-task.done { background: rgba(16, 185, 129, .16); text-decoration: line-through; opacity: .8; }
.cp-task.late { background: rgba(220, 38, 38, .16); }
.cp-task b { font-weight: 700; }
.cp-task button { border: 0; background: transparent; cursor: pointer; text-decoration: underline; font-size: .72rem; color: inherit; padding: 0; }
.cp-autosave .warn { color: rgb(217, 119, 6); font-weight: 700; }

/* スマホ：吹き出しを長押しすると「タスク・編集・取消」を大きく出す（2026-10-15） */
.cp-row.acts-open .cp-meta .act { opacity: 1; font-size: .8rem; text-decoration: none; padding: .3rem .6rem; margin: .1rem 0; border-radius: .5rem; background: rgba(128, 128, 128, .2); }
.cp-row.acts-open .cp-bubble { outline: 2px solid rgb(245, 158, 11); }

/* 一覧のピン留め・製品／部署の小さなラベル（2026-11-02） */
.cp-pin { display: inline-flex; vertical-align: -2px; margin-right: .2rem; color: #d97706; }
.cp-pin svg { width: .85rem; height: .85rem; }
.cp-kind-tag { display: inline-block; margin-left: .35rem; padding: 0 .35rem; border-radius: .3rem; font-size: .62rem; font-weight: 700; line-height: 1.35; vertical-align: 1px; border: 1px solid currentColor; opacity: .8; }
.cp-kind-tag.k-product { color: #b45309; }
.cp-kind-tag.k-department { color: #475569; }

/* 通話・画面共有のボタン（2026-11-03。JaaS）。通話中は緑で人数を出す */
.cp-call { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 40px; height: 40px; padding: 0 10px;
    border: 0; border-radius: 10px; background: transparent; color: #374151; cursor: pointer; text-decoration: none; font-size: .85rem; font-weight: 600; }
.cp-call:hover { background: rgb(0 0 0 / 0.05); }
.cp-call svg { width: 22px; height: 22px; }
.cp-call-live { background: #16a34a; color: #fff; animation: cp-call-pulse 2s ease-in-out infinite; }
/* 通話を使えないときのグレーの電話マーク（押せない） */
.cp-call-off { color: #9ca3af; opacity: .55; cursor: not-allowed; }
.cp-call-off:hover { background: transparent; }
.dark .cp-call-off { color: #6b7280; }
.cp-call-live:hover { background: #15803d; }
@keyframes cp-call-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgb(22 163 74 / 0.5); } 50% { box-shadow: 0 0 0 6px rgb(22 163 74 / 0); } }
.dark .cp-call { color: #e5e7eb; }
@media (prefers-reduced-motion: reduce) { .cp-call-live { animation: none; } }

/* 保存などの短い知らせ（2026-11-04。public/js/costa-chat-autosave.js の toast） */
.costa-toast-box { position: fixed; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 2147483000; display: flex; flex-direction: column; align-items: center; gap: .4rem; pointer-events: none; width: max-content; max-width: calc(100vw - 2rem); }
.costa-toast { pointer-events: auto; cursor: pointer; padding: .55rem .9rem; border-radius: .6rem; font-size: .875rem; line-height: 1.4; color: #fff; background: #374151; box-shadow: 0 6px 20px rgba(0,0,0,.18); overflow-wrap: anywhere; animation: costa-toast-in .18s ease-out; }
.costa-toast-ok { background: #15803d; }
.costa-toast-error { background: #b91c1c; }
.costa-toast-info, .costa-toast-busy { background: #374151; }
@keyframes costa-toast-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .costa-toast { animation: none; } }

/* 書きかけ（下書き）の印（2026-11-05） */
.cp-draft { display: inline-flex; align-items: center; gap: .15rem; flex-shrink: 0; font-size: .72rem; font-weight: 700; color: #dc2626; margin-right: .3rem; }
.cp-draft svg { width: .85rem; height: .85rem; }

/* 非表示のトーク（2026-11-05）：一覧のいちばん下 */
.cp-hidden-link { display: flex; align-items: center; justify-content: center; gap: .3rem; width: 100%; padding: .7rem 1rem; border: 0; background: transparent; font-size: .78rem; opacity: .65; cursor: pointer; }
.cp-hidden-link:hover { opacity: 1; text-decoration: underline; }
.cp-hidden-link svg { width: .9rem; height: .9rem; }

/* 返信（2026-11-14 ボブ氏）：吹き出しの引用・入力欄の返信先の帯・元のメッセージへ移ったときの強調 */
.cp-quote { display: block; margin: 0 0 .3rem; padding: .15rem .5rem; border-left: 3px solid rgba(128, 128, 128, .6); border-radius: .25rem; background: rgba(0, 0, 0, .06); color: inherit; text-decoration: none; font-size: .76rem; line-height: 1.35; opacity: .9; overflow: hidden; }
.cp-quote b { display: block; font-weight: 700; }
.cp-quote span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-replybar { display: flex; align-items: center; gap: .5rem; padding: .3rem .7rem; font-size: .78rem; background: rgba(245, 158, 11, .12); border-top: 1px solid rgba(128, 128, 128, .2); border-left: 3px solid #f59e0b; }
.cp-replybar-text { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-replybar button { flex: none; border: 0; background: transparent; font-size: 1.1rem; line-height: 1; cursor: pointer; color: inherit; }
.cp-row.cp-flash .cp-bubble { outline: 2px solid #f59e0b; transition: outline-color .3s; }

/*
 * 狭い幅（枠・アプリの窓）：チャットの窓を、画面の高さいっぱいにして、入力欄を下に固定する（2026-11-14 ボブ氏）。
 * 以前は 80vh の固定で、窓の下に空きができ、入力欄が下に付かなかった
 */
@media (max-width: 900px) {
    .cp.cp-app { height: calc(var(--app-h, 100dvh) - 1rem); }
    .cp.cp-app .cp-main { height: auto; }
}
/* 部屋の付箋：ルームを開いている間、左に部屋のアイコンを縦に並べる。広い幅（左に一覧がある）と、スマホの細い幅では出さない */
.cp-rail { display: none; }
@media (min-width: 560px) and (max-width: 900px) {
    .cp.cp-has-room { grid-template-columns: 3.6rem minmax(0, 1fr); }
    .cp.cp-has-room .cp-rail { display: flex; flex-direction: column; gap: .3rem; padding: .4rem 0 .4rem .3rem; overflow-y: auto; overflow-x: hidden; min-height: 0; background: rgba(128, 128, 128, .1); border-right: 1px solid rgba(128, 128, 128, .2); }
}
.cp-tab { position: relative; flex: none; display: flex; align-items: center; justify-content: center; padding: .25rem .25rem .25rem .2rem; border: 0; border-radius: .7rem 0 0 .7rem; background: transparent; cursor: pointer; }
.cp-tab:hover { background: rgba(128, 128, 128, .18); }
.cp-tab.on { background: #e8eef5; box-shadow: inset 3px 0 0 #f59e0b; margin-right: -1px; }
.dark .cp-tab.on { background: rgb(30, 34, 40); }
.cp-tab .cp-avatar { width: 2.2rem; height: 2.2rem; font-size: .9rem; }
.cp-tab-badge { position: absolute; top: -.1rem; right: .05rem; min-width: 1rem; padding: 0 .25rem; font-size: .62rem; line-height: 1rem; }

/* スマホ・アプリ化したチャット：右端の時刻が切れる不具合の対策（2026-11-18 ボブ氏）。
   列が中身で広がらないようにし、吹き出しは「時刻の分」を残した幅にする */
@media (max-width: 900px) {
    .cp { grid-template-columns: minmax(0, 1fr); }
    .cp-main, .cp-scroll { min-width: 0; }
    .cp-scroll { overflow-x: hidden; padding-right: .6rem; }
    .cp-row { min-width: 0; }
    .cp-row.mine .cp-bubble { max-width: calc(100% - 3.5rem); }
    .cp-row:not(.mine) .cp-bubble { max-width: calc(100% - 6.5rem); }
    .cp-meta { white-space: nowrap; }
}

/* ファイルはエクスプローラーでも見られる／保存期間の案内（入力欄の上の1行。2026-11-23） */
/* 「?」の説明の箱（入力欄の下の「?」を押すと、上向きに開く。2026-11-24） */
.cp-helpbox { position: absolute; left: 0; bottom: 1.5rem; z-index: 40; width: min(19rem, 86vw); padding: .55rem .7rem; border-radius: .5rem; background: #fff; color: #111827; border: 1px solid rgba(128, 128, 128, .35); box-shadow: 0 8px 24px rgba(0, 0, 0, .2); font-size: .75rem; line-height: 1.45; display: grid; gap: .35rem; }
.cp-helpbox a { color: #2563eb; text-decoration: underline; }
.dark .cp-helpbox { background: rgb(39, 39, 42); color: #f4f4f5; }
