#board { width: min(540px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); top: 16px; }
#board-head { padding: 16px 18px 10px; background: #e6eee4; border-bottom: 1px solid #cad9c7; }
#board-head h2 { font-size: 18px; letter-spacing: -.02em; }
#board-body { padding: 14px 16px; overscroll-behavior: contain; }
#board .oa-intro { color: #496553; font-size: 12px; line-height: 1.5; margin: 0 0 14px; }
#board-form { padding: 12px; background: #edf3e9; border: 1px solid #ceddc9; border-radius: 10px; }
.board-task { padding: 14px; background: #f9fcf6; border: 1px solid #cddcc7; }
.board-task .instr { font-weight: 600; line-height: 1.5; }
.board-task .chip.menunggu { background: #736126; }
.oa-stages { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; padding: 0; list-style: none; margin: 16px 0 12px; counter-reset: stage; }
.oa-stages li { counter-increment: stage; font-size: 9px; line-height: 1.3; color: #60705e; border-top: 4px solid #dce4d6; padding-top: 7px; overflow-wrap: anywhere; }
.oa-stages li::before { content: counter(stage); display: block; font-weight: 700; font-size: 11px; margin-bottom: 3px; }
.oa-stages li.done { border-color: #6a9d74; color: #245c3b; }
.oa-stages li.now { border-color: #c79430; color: #725213; font-weight: 700; }
.oa-team, .oa-caption { font-size: 11px; line-height: 1.5; color: #52684e; }
.oa-panel { margin: 12px 0; border-top: 1px solid #d7e2d1; padding-top: 10px; }
.oa-panel summary { cursor: pointer; color: #21472f; font-weight: 700; }
.oa-messages { max-height: 260px; overflow: auto; margin-top: 10px; padding-right: 5px; overscroll-behavior: contain; }
.oa-message { padding: 10px 12px; margin: 0 0 8px; background: #edf3e8; border-left: 3px solid #6c9772; border-radius: 3px 10px 10px 3px; }
.oa-message.human { background: #f7f0dc; border-color: #c39c41; }
.oa-message strong { font-size: 11px; }
.oa-message small { font-size: 9px; color: #5b6c55; }
.oa-copy { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; font-size: 12px; margin: 6px 0; }
.oa-draft { background: #eef5e7; padding: 12px; border: 1px solid #c5d8ba; border-radius: 8px; }
.oa-draft h3 { margin: 0 0 8px; font-size: 13px; color: #2b6038; }
.oa-draft h4 { margin: 0 0 8px; font-size: 14px; }
.oa-output { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: 12px; line-height: 1.6; max-height: 260px; overflow: auto; }
.oa-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
#board button:disabled { opacity: .55; cursor: wait; }
.oa-feedback { box-sizing: border-box; width: 100%; border: 1px solid #aec5a3; border-radius: 8px; padding: 9px; font: inherit; font-size: 12px; color: #1b4332; background: #fff; }
.oa-warning { background: #fff2cf; padding: 8px 10px; color: #725111; border-radius: 6px; font-size: 11px; }
.oa-error { color: #9b1c1c; font-size: 12px; }
.oa-audit ol { max-height: 180px; overflow: auto; padding-left: 20px; font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
.oa-audit li { margin: 6px 0; }
.oa-confirm { border: 1px solid #9cb895; border-radius: 14px; padding: 22px; max-width: min(380px, calc(100vw - 72px)); color: #1b4332; background: #f8fcf4; font-family: system-ui, sans-serif; }
.oa-confirm::backdrop { background: #142c2270; }
.oa-confirm button { background: #2d6a4f; color: #fff; border: 0; border-radius: 8px; padding: 9px 20px; cursor: pointer; }
@media (max-width: 640px) { #board { left: 10px; right: 10px; width: auto; top: auto; bottom: 56px; max-height: 72dvh; } #board-body { padding: 10px; } .board-task { padding: 10px; } .oa-stages { gap: 3px; } .oa-stages li { font-size: 8px; } .oa-messages { max-height: 210px; } }

#office-demo { border: 1px solid #aecbb7; border-radius: 10px; padding: 10px; margin-bottom: 12px; background: #f4faf4; }
#office-demo > summary { cursor: pointer; font-weight: 700; color: #23573b; }
#demo-cases { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 10px 0; }
.demo-case { text-align: left; padding: 9px; border: 1px solid #c7d9cc; border-radius: 8px; background: white; color: #244b34; cursor: pointer; }
.demo-case[aria-pressed="true"] { border: 2px solid #2d6a4f; background: #e7f4e9; }
.demo-case small { display: block; margin-top: 4px; font-size: 11px; }
.demo-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.demo-controls label { font-size: 12px; }
#demo-output { max-height: 52vh; overflow: auto; margin-top: 10px; }
#demo-output:empty { display: none; }
#demo-output .oa-workflow { border-top: 0; padding-top: 0; }
