/* MSM AI OFFICE - AI社員稼働状況ボード */
.aio-wrap { max-width: 1100px; }
.aio-summary { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:20px; }
.aio-chip { background:var(--bg-secondary); border:1px solid var(--border-light); border-radius:10px; padding:8px 14px; font-size:12.5px; display:flex; align-items:center; gap:6px; color:var(--text-secondary); box-shadow: var(--shadow-sm); }
.aio-chip b { color:var(--text-primary); font-size:14px; }

.aio-banner { border-radius:var(--radius-md); padding:16px 20px; margin-bottom:20px; font-size:14.5px; line-height:1.6; border:1px solid var(--border-light); display:none; }
.aio-banner.show { display:block; }
.aio-banner.progress { background: var(--info-light); border-color: rgba(28,126,214,.35); }
.aio-banner.success { background: var(--success-light); border-color: rgba(55,178,77,.35); }
.aio-banner .aio-btitle { font-weight:700; font-size:15px; margin-bottom:4px; }

.aio-secretary { background:var(--bg-secondary); border:1px solid var(--border-light); border-left:4px solid #c9a227; border-radius:var(--radius-md); padding:14px 18px; margin-bottom:20px; display:flex; align-items:center; gap:16px; flex-wrap:wrap; box-shadow: var(--shadow-sm); }
.aio-secretary .aio-roomtag { font-size:11px; color:#a9820f; font-weight:700; letter-spacing:1px; text-transform:uppercase; }

.aio-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width: 900px) { .aio-grid { grid-template-columns:1fr; } }

.aio-room { background:var(--bg-secondary); border:1px solid var(--border-light); border-radius:var(--radius-md); padding:16px 18px 18px; box-shadow: var(--shadow-sm); }
.aio-room .aio-roomhead { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.aio-room .aio-rname { font-weight:700; font-size:14.5px; display:flex; align-items:center; gap:8px; color:var(--text-primary); }
.aio-room .aio-dot { width:9px; height:9px; border-radius:50%; }
.aio-room .aio-rcount { font-size:11px; color:var(--text-tertiary); }

.aio-emp { border-top:1px solid var(--border-light); padding:12px 0; }
.aio-emp:first-of-type { border-top:none; padding-top:0; }
.aio-emprow { display:flex; align-items:center; gap:12px; }
.aio-avatar { width:36px; height:36px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:13px; flex-shrink:0; color:#fff; }
.aio-empinfo { flex:1; min-width:0; }
.aio-empinfo .aio-n { font-weight:700; font-size:14px; color:var(--text-primary); }
.aio-empinfo .aio-r { font-size:11.5px; color:var(--text-tertiary); }
.aio-status { font-size:11px; font-weight:700; padding:5px 10px; border-radius:20px; white-space:nowrap; }

.aio-st-idle { background:#f1f3f5; color:#868e96; }
.aio-st-active { background:var(--success-light); color:#2b9348; }
.aio-st-research { background:var(--info-light); color:#1c7ed6; }
.aio-st-waiting { background:var(--warning-light); color:#e8830c; }
.aio-st-error { background:var(--danger-light); color:#e03131; }
.aio-st-done { background:#d3f9d8; color:#2b8a3e; }

.aio-flow { margin:10px 0 2px 48px; padding:10px 14px; background:var(--bg-tertiary); border-radius:8px; }
.aio-flow .aio-step { font-size:12.5px; padding:4px 0; color:var(--text-tertiary); }
.aio-flow .aio-step.done { color:#2b8a3e; }
.aio-flow .aio-step.active { color:var(--text-primary); font-weight:700; }
.aio-flow .aio-arrow { font-size:10px; color:var(--border-strong); padding-left:6px; }

.aio-log { margin-top:22px; background:var(--bg-secondary); border:1px solid var(--border-light); border-radius:var(--radius-md); padding:16px 18px; box-shadow: var(--shadow-sm); }
.aio-log h3 { margin:0 0 10px; font-size:13px; color:var(--text-secondary); font-weight:700; }
.aio-log ul { list-style:none; margin:0; padding:0; max-height:220px; overflow-y:auto; }
.aio-log li { font-size:12.5px; padding:7px 0; border-top:1px dashed var(--border-light); color:var(--text-secondary); display:flex; gap:10px; }
.aio-log li:first-child { border-top:none; }
.aio-log li time { color:var(--text-tertiary); flex-shrink:0; font-variant-numeric:tabular-nums; }

.aio-cmd { margin-top:20px; background:var(--bg-secondary); border:1px solid var(--border-light); border-radius:var(--radius-md); padding:16px 18px; box-shadow: var(--shadow-sm); }
.aio-cmd h3 { margin:0 0 10px; font-size:13px; color:var(--text-secondary); font-weight:700; }
.aio-cmd .aio-cmdrow { display:flex; gap:10px; }
.aio-cmd input { flex:1; }
.aio-cmd p { font-size:11.5px; color:var(--text-tertiary); margin-top:8px; }

.aio-cmdhistory { margin-top:20px; background:var(--bg-secondary); border:1px solid var(--border-light); border-radius:var(--radius-md); padding:16px 18px; box-shadow: var(--shadow-sm); }
.aio-cmdhistory h3 { margin:0 0 10px; font-size:13px; color:var(--text-secondary); font-weight:700; }
.aio-cmditem { border-top:1px dashed var(--border-light); padding:10px 0; }
.aio-cmditem:first-of-type { border-top:none; padding-top:0; }
.aio-cmditem-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:6px; flex-wrap:wrap; }
.aio-cmditem-time { font-size:11px; color:var(--text-tertiary); font-variant-numeric:tabular-nums; }
.aio-cmditem-text { font-size:13px; color:var(--text-primary); line-height:1.5; white-space:pre-wrap; }
.aio-cmditem-result { font-size:12px; color:var(--text-secondary); margin-top:6px; line-height:1.5; white-space:pre-wrap; background:var(--bg-tertiary); border-radius:8px; padding:8px 10px; }
.aio-cmditem-note { font-size:12px; color:#e8830c; margin-top:6px; line-height:1.5; white-space:pre-wrap; }
