/* Scoped styles preserve the existing business forms and stock cards. */
#enterprise-attention { margin-top: 10px; border: 1px solid #dbe6f3; border-radius: 14px; background: #f7faff; overflow: hidden; }
#enterprise-attention[hidden] { display: none !important; }
#enterprise-attention > summary { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 12px; cursor: pointer; list-style: none; color: #12345b; }
#enterprise-attention > summary::-webkit-details-marker { display: none; }
#enterprise-attention > summary > span:nth-child(2) { flex: 1; min-width: 0; display: grid; gap: 3px; }
#enterprise-attention > summary small { font-size: 10px; font-weight: 800; letter-spacing: .05em; }
#enterprise-attention > summary strong { font-size: 14px; line-height: 1.3; }
#enterprise-attention > summary em { font-size: 11px; line-height: 1.4; font-style: normal; color: #526782; overflow-wrap: anywhere; }
#enterprise-attention > summary > b { font-size: 21px; transform: rotate(90deg); }
#enterprise-attention[open] > summary > b { transform: rotate(-90deg); }
#enterprise-attention.has-warning { background: #fffaf0; border-color: #eedbb0; }
#enterprise-attention .management-attention-icon { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 9px; background: #e8f0ff; font-weight: 800; }
#enterprise-attention.has-warning .management-attention-icon { background: #fff0c9; color: #8a5200; }
#enterprise-attention-list { display: grid; padding: 0 10px 10px; gap: 6px; }
.af-attention-item { display: flex; align-items: center; gap: 9px; background: white; border: 1px solid #e5ebf4; border-radius: 10px; padding: 10px; min-width: 0; }
.af-attention-number { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 4px; background: #edf4ff; border-radius: 9px; color: #1257ac; font-size: 14px; font-weight: 800; }
.af-attention-item > div { flex: 1; min-width: 0; }
.af-attention-item strong { font-size: 13px; line-height: 1.3; }
.af-attention-item p { margin: 4px 0 0; color: #51647a; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.af-attention-item button, .af-attention-retry { flex: 0 0 auto; min-height: 44px; padding: 8px 11px; border: 1px solid #d5e2f5; border-radius: 10px; background: #f3f7ff; color: #1455a0; font-size: 13px; font-weight: 700; cursor: pointer; }
.af-attention-feedback { margin: 0; padding: 8px 3px; font-size: 12px; line-height: 1.5; color: #51647a; }
.af-attention-feedback.is-ready { color: #18684b; }
#enterprise-attention summary:focus-visible, #enterprise-attention button:focus-visible { outline: 3px solid #2176d9; outline-offset: -3px; }
#order-attention-scope { display: flex; align-items: center; gap: 8px; padding: 9px 11px; margin: 8px 0; border: 1px solid #cee0f5; border-radius: 12px; background: #eff6ff; }
#order-attention-scope[hidden] { display: none !important; }
#order-attention-scope strong { flex: 1; min-width: 0; color: #174e91; font-size: 12px; line-height: 1.4; }
#order-attention-scope button { min-height: 44px; padding: 8px; border: 0; background: transparent; color: #174e91; font-size: 12px; font-weight: 700; }
@media (min-width: 900px) { #enterprise-attention-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .af-attention-feedback, .af-attention-retry { grid-column: 1 / -1; } }
