/* Dify 接続状態の表示 */
.pill.live { font-weight: 700; letter-spacing: 0.02em; text-decoration: none; }
.pill.live.wait { color: var(--mut); }
.pill.live.on { color: #047857; border-color: rgba(5, 150, 105, 0.5); background: rgba(16, 185, 129, 0.1); cursor: pointer; }
.pill.live.on i { width: 8px; height: 8px; border-radius: 50%; background: #059669; box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.42); animation: livepulse 1.6s infinite; }
.pill.live.off { color: #d97706; border-color: rgba(217, 119, 6, 0.45); }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.42); } 70% { box-shadow: 0 0 0 8px rgba(5, 150, 105, 0.0); } 100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.0); } }
/* CAT.AI の社名ロゴ（左上） */
.brand-logo { height: 32px; width: auto; display: block; }
.brand-logo + .brand-t { padding-left: 14px; border-left: 1px solid var(--line2); }

/* 番号のないデモ（個別商談用のハイブリッドボイスボット）は番号の札を出さない */
.gnav button em:empty, .sno:empty { display: none; }
/* ホームのイメージフローで、デモにつながらない説明だけの段 */
.st-n.nolink { cursor: default; }

/* ステップが 10 個以上の場面は、ステップの帯に収まるよう少し詰める */
.steps:has(> button:nth-child(10)) { gap: 4px; }
.steps:has(> button:nth-child(10)) button { gap: 5px; padding-right: 9px; font-size: 12px; }

/* ①・③ の最後のステップで作った実ファイル */
.xfile { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #ffffff; border: 1px solid var(--line2); box-shadow: 0 8px 24px rgba(30, 58, 138, 0.14); color: inherit; text-decoration: none; animation: fadein 0.45s ease both; }
.xfile > i { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; color: #ffffff; }
.xfile > i .ic { width: 20px; height: 20px; }
.xfile.x-word > i { background: #2b579a; }
.xfile.x-excel > i { background: #217346; }
.xfile.x-powerpoint > i { background: #c43e1c; }
.xfile span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.xfile b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xfile small { font-size: 11.5px; color: var(--mut); }
.xfile em { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 7px 13px; border-radius: 9px; font-style: normal; font-weight: 700; font-size: 12.5px; color: #ffffff; background: var(--navy); transition: 0.2s; }
.xfile em .ic { width: 15px; height: 15px; }
.xfile:hover em { background: var(--blue); }
.xfiles { display: flex; flex-direction: column; gap: 8px; }
.xdock { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(600px, calc(100% - 40px)); z-index: 4; }
.mt-r { position: relative; }
a.exp { text-decoration: none; }
a.exp.ok { cursor: pointer; }
.ro-t .xdl { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 7px; font-size: 12px; font-weight: 700; color: #ffffff; background: var(--navy); text-decoration: none; }
.ro-t .xdl .ic { width: 13px; height: 13px; color: #ffffff; }
.xout { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; height: 100%; min-height: 0; }
.xout .ro-h { display: flex; align-items: baseline; gap: 10px; }
.xout .ro-h b { font-size: 15px; color: var(--navy); }
.xout .ro-h small { color: var(--mut); font-size: 12px; }
.xout .xl td { max-width: 230px; overflow: hidden; text-overflow: ellipsis; }
.xout .xl td.xh { background: var(--navy); }
.xout .xl tr.new td { background: #fff4cc; }
.xout .xl-tabs { margin-top: -10px; }
.xout .xl-tabs span.on { color: #217346; }
.live-real { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font: 700 10px var(--en); color: #047857; background: rgba(16, 185, 129, 0.14); }
