.ao-page { color: var(--text, #1f2329); font: 14px/1.6 var(--font, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", Arial, sans-serif); }
.ao-page * { box-sizing: border-box; }
.ao-page button, .ao-page input { font: inherit; }
.ao-panel { padding: 24px; margin-bottom: 18px; border: 1px solid var(--border, #ecedf1); border-radius: 18px; background: #fff; box-shadow: 0 3px 20px rgba(16, 24, 40, .025); }
.ao-loading { padding: 65px 20px; color: var(--muted, #6b7280); text-align: center; }
.ao-head { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.ao-kicker { color: var(--brand, #2f6bff); font-size: 12px; font-weight: 700; letter-spacing: .6px; }
.ao-head h2 { margin: 3px 0 5px; font-size: 19px; }
.ao-head p { margin: 0; color: var(--muted, #6b7280); font-size: 13px; }
.ao-button { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid transparent; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.ao-button:disabled { opacity: .5; cursor: default; }
.ao-primary { color: #fff; background: var(--brand, #2f6bff); }
.ao-primary:hover { background: var(--brand-hover, #1f57e6); }
.ao-outline { color: #45536a; background: #fff; border-color: #dfe5ef; }
.ao-outline:hover { background: #f5f8ff; }
.ao-danger { color: #d9474f; background: #fff1f1; }
.ao-danger:hover { background: #ffe8e8; }
.ao-status { padding: 12px 15px; margin-bottom: 15px; border: 1px solid #c9e9d8; border-radius: 11px; background: #f0fbf5; color: #147d4b; font-size: 13px; }
.ao-status[hidden] { display: none; }
.ao-status.ao-error { border-color: #f4d0d2; background: #fff3f3; color: #c62f3a; }
.ao-list { display: grid; gap: 11px; }
.ao-item { display: flex; justify-content: space-between; align-items: start; gap: 18px; padding: 19px; border: 1px solid #e8edf5; border-radius: 15px; }
.ao-item-main { min-width: 0; }
.ao-item-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ao-item-title strong { font-size: 15px; }
.ao-item-main p { margin: 7px 0 0; color: var(--muted, #6b7280); font-size: 12px; overflow-wrap: anywhere; }
.ao-type, .ao-state { padding: 2px 8px; border-radius: 999px; background: #edf2ff; color: var(--brand, #2f6bff); font-size: 11px; font-weight: 700; }
.ao-state { background: #f0f2f5; color: #87909c; }
.ao-state.enabled { background: #eaf9f0; color: #148652; }
.ao-item-main .ao-warning { color: #b36c18; }
.ao-callback { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 8px; font-size: 12px; }
.ao-callback span { color: #7b8594; overflow-wrap: anywhere; }
.ao-callback button { padding: 2px 7px; border: 0; border-radius: 7px; background: #eef3ff; color: var(--brand, #2f6bff); font-size: 11px; cursor: pointer; }
.ao-item-actions { display: flex; gap: 7px; flex: none; }
.ao-empty { padding: 48px 20px; border: 1px dashed #dbe2ed; border-radius: 14px; color: #9aa1ab; text-align: center; }
.ao-footnote { margin: 18px 0 0; color: #929aaa; font-size: 12px; line-height: 1.6; }
.ao-backdrop { position: fixed; inset: 0; z-index: 115; display: grid; place-items: center; padding: 20px; background: rgba(12, 20, 38, .55); backdrop-filter: blur(4px); }
.ao-modal { width: min(100%, 540px); max-height: 90dvh; overflow-y: auto; padding: 24px; border: 1px solid #e2e8f3; border-radius: 20px; background: #fff; box-shadow: 0 30px 90px #0c142655; }
.ao-modal-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 19px; }
.ao-modal-head h3 { margin: 0; font-size: 19px; }
.ao-modal-head button { width: 28px; height: 28px; border: 0; border-radius: 7px; background: transparent; color: #8b94a4; font-size: 24px; line-height: 1; cursor: pointer; }
.ao-modal-head button:hover { background: #eef3ff; }
.ao-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ao-field { display: grid; gap: 5px; min-width: 0; color: #526075; font-size: 12px; font-weight: 600; }
.ao-field.ao-wide { grid-column: 1 / -1; }
.ao-field input { width: 100%; min-height: 39px; padding: 8px 11px; border: 1px solid #dfe5ef; border-radius: 10px; outline: 0; background: #fff; color: var(--text, #1f2329); font-weight: 400; }
.ao-field input:disabled { background: #f5f7fa; color: #929aaa; }
.ao-field input:focus { border-color: var(--brand, #2f6bff); box-shadow: 0 0 0 3px rgba(47, 107, 255, .12); }
.ao-check { display: flex; align-items: center; gap: 8px; align-self: end; min-height: 39px; color: #526075; cursor: pointer; }
.ao-check input { width: 16px; height: 16px; accent-color: var(--brand, #2f6bff); }
.ao-hint { margin: 17px 0 0; color: #929aaa; font-size: 12px; line-height: 1.6; }
.ao-modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 20px; }
html.netscope-theme-dark .ao-panel, html.netscope-theme-dark .ao-modal, html.netscope-theme-dark .ao-item { color: #e7ecf5; background: #111d2f; border-color: #33435c; }
html.netscope-theme-dark .ao-field, html.netscope-theme-dark .ao-check { color: #c4d0e2; }
html.netscope-theme-dark .ao-field input { color: #e7ecf5; background: #0d1727; border-color: #3c4d68; }
html.netscope-theme-dark .ao-field input:disabled { color: #9baac0; background: #17243a; }
html.netscope-theme-dark .ao-outline { color: #dce6f5; background: #17243a; border-color: #3c4d68; }
html.netscope-theme-dark .ao-outline:hover, html.netscope-theme-dark .ao-modal-head button:hover { background: #20314a; }
html.netscope-theme-dark .ao-danger { color: #f5a5aa; background: #3d222c; border-color: #633540; }
html.netscope-theme-dark .ao-state { color: #bdcbe0; background: #20314a; }
html.netscope-theme-dark .ao-state.enabled, html.netscope-theme-dark .ao-status { color: #73d7a5; background: #153b2b; border-color: #2c6248; }
html.netscope-theme-dark .ao-status.ao-error { color: #f5a5aa; background: #3d222c; border-color: #633540; }
html.netscope-theme-dark .ao-type, html.netscope-theme-dark .ao-callback button { color: #a9c3ff; background: #1d3158; }
@media (max-width: 650px) { .ao-panel { padding: 18px 14px; } .ao-head, .ao-item { flex-direction: column; } .ao-item-actions { width: 100%; } .ao-item-actions .ao-button { flex: 1; } .ao-backdrop { align-items: end; padding: 0; } .ao-modal { width: 100%; max-height: 94dvh; border-radius: 20px 20px 0 0; } }
@media (max-width: 430px) { .ao-fields { grid-template-columns: 1fr; } .ao-field.ao-wide { grid-column: auto; } }
