.yxyh-ac-page {
    width: 1000px;
    margin: 24px auto 48px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #111827;
}

.yxyh-ac-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 28px;
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: var(--ls-border-radius);
}

.yxyh-ac-hero h1 {
    margin: 0 0 8px;
    font-size: 26px;
    line-height: 1.2;
}

.yxyh-ac-hero p {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.8;
}

.yxyh-ac-hero-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    color: #6b7280;
    font-size: 13px;
    white-space: nowrap;
}

.yxyh-ac-hero-meta span:first-child {
    color: #111827;
    font-size: 20px;
}

.yxyh-ac-denied {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: var(--ls-border-radius);
}

.yxyh-ac-denied i {
    font-size: 34px;
    color: var(--ls-primary);
}

.yxyh-ac-denied h2 {
    margin: 0;
    font-size: 20px;
}

.yxyh-ac-denied p {
    margin: 0;
    color: #6b7280;
}

.yxyh-ac-filter-grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.yxyh-ac-filter-grid label {
    width: calc(50% - 6px);
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.yxyh-ac-filter-grid span {
    color: #6b7280;
    font-size: 12px;
}

.yxyh-ac-filter-grid input {
    height: 38px;
    padding: 0 10px;
    border: 1px solid #e5e7eb;
    border-radius: var(--ls-border-radius-btn);
    background: #fff;
    color: #111827;
    outline: none;
}

.yxyh-ac-filter-grid select {
    height: 38px;
    padding: 0 10px;
    border: 1px solid #e5e7eb;
    border-radius: var(--ls-border-radius-btn);
    background: #fff;
    color: #111827;
    outline: none;
}

.yxyh-ac-filter-grid input:focus {
    border-color: rgb(var(--ls-primary-rgb) / 45%);
}

.yxyh-ac-filter-grid select:focus {
    border-color: rgb(var(--ls-primary-rgb) / 45%);
}

.yxyh-ac-btn {
    height: 38px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #e5e7eb;
    border-radius: var(--ls-border-radius-btn);
    background: #fff;
    color: #374151;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease, opacity .18s ease;
}

.yxyh-ac-btn:hover {
    background: #f9fafb;
    transform: translateY(-1px);
}

.yxyh-ac-primary {
    background: var(--ls-primary);
    border-color: var(--ls-primary);
    color: #fff;
}

.yxyh-ac-primary:hover {
    background: var(--ls-primary);
    opacity: .92;
}

.yxyh-ac-panel {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: var(--ls-border-radius);
    overflow: hidden;
}

.yxyh-ac-panel-head {
    min-height: 60px;
    padding: 12px 16px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #eef0f3;
}

.yxyh-ac-type-tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.yxyh-ac-type-tab {
    min-height: 30px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    background: #f3f4f6;
    color: #6b7280;
    cursor: pointer;
    font-size: 13px;
    transition: background .15s ease, color .15s ease;
}

.yxyh-ac-type-tab:hover {
    background: #e5e7eb;
    color: #374151;
}

.yxyh-ac-type-tab.is-active {
    background: var(--ls-primary);
    color: #fff;
}

.yxyh-ac-panel-tools {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.yxyh-ac-head-search {
    width: 200px;
    height: 34px;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    border: 1px solid #e5e7eb;
    border-radius: var(--ls-border-radius-btn);
    background: #fff;
    color: #9ca3af;
}

.yxyh-ac-head-search i {
    font-size: 15px;
}

.yxyh-ac-head-search input {
    width: 100%;
    min-width: 0;
    height: 30px;
    border: 0;
    outline: none;
    background: transparent;
    color: #111827;
    font-size: 13px;
}

.yxyh-ac-tool-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.yxyh-ac-tool-icon:hover {
    background: #f3f4f6;
    color: #374151;
}

.yxyh-ac-tool-icon.is-danger:hover {
    background: #fef2f2;
    color: #dc2626;
}

.yxyh-ac-tool-icon i {
    font-size: 16px;
}

.yxyh-ac-tool-icon.is-hidden {
    display: none;
}

.yxyh-ac-table-wrap {
    overflow-x: hidden;
    overflow-y: visible;
}

.yxyh-ac-table {
    width: 100%;
    min-width: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

.yxyh-ac-col-type {
    width: 7%;
}

.yxyh-ac-col-actor {
    width: 14%;
}

.yxyh-ac-col-action {
    width: 24%;
}

.yxyh-ac-col-ip {
    width: 15%;
}

.yxyh-ac-col-time {
    width: 20%;
}

.yxyh-ac-col-ops {
    width: 20%;
}

.yxyh-ac-table th:nth-child(1) {
    text-align: center;
}

.yxyh-ac-table td:nth-child(1) {
    text-align: center;
}

.yxyh-ac-table[data-view="logs"] th:nth-child(4) {
    text-align: center;
}

.yxyh-ac-table[data-view="logs"] th:nth-child(5) {
    text-align: center;
}

.yxyh-ac-table[data-view="logs"] th:nth-child(6) {
    text-align: center;
}

.yxyh-ac-table th {
    height: 42px;
    padding: 0 10px;
    background: #f9fafb;
    color: #6b7280;
    text-align: left;
    font-size: 12px;
}

.yxyh-ac-table td {
    padding: 12px 10px;
    border-top: 1px solid #f1f3f5;
    color: #111827;
    vertical-align: middle;
    font-size: 13px;
}

.yxyh-ac-table td:nth-child(2) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yxyh-ac-table td:nth-child(3) {
    overflow: hidden;
}

.yxyh-ac-table[data-view="logs"] td:nth-child(4) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

.yxyh-ac-table[data-view="logs"] td:nth-child(5) {
    overflow: hidden;
    text-align: center;
}

.yxyh-ac-table[data-view="logs"] td:nth-child(6) {
    overflow: hidden;
    text-align: center;
}

.yxyh-ac-table tr:hover {
    background: #fafafa;
}

.yxyh-ac-table tr.is-active {
    background: rgb(var(--ls-primary-rgb) / 8%);
}

.yxyh-ac-time {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #111827;
    white-space: nowrap;
}

.yxyh-ac-user-link {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #111827;
    text-decoration: none;
}

.yxyh-ac-user-link:hover {
    color: var(--ls-primary);
}

.yxyh-ac-action-text {
    display: block;
    color: #111827;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yxyh-ac-cell-line {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yxyh-ac-cell-line span {
    flex: none;
}

.yxyh-ac-muted {
    color: #9ca3af;
    font-size: 12px;
    white-space: nowrap;
}

.yxyh-ac-risk-chip {
    flex: none;
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 6px;
    border-radius: 4px;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 11px;
    white-space: nowrap;
}

.yxyh-ac-risk-chip.is-risk-low {
    background: #ecfdf3;
    color: #027a48;
}

.yxyh-ac-risk-chip.is-risk-medium {
    background: #fef3c7;
    color: #92400e;
}

.yxyh-ac-risk-chip.is-risk-high {
    background: #fee2e2;
    color: #dc2626;
}

.yxyh-ac-row-actions {
    display: flex;
    align-items: center;
    gap: 3px;
    flex-wrap: nowrap;
    justify-content: center;
    max-width: 100%;
    white-space: nowrap;
}

.yxyh-ac-action-icon {
    display: inline-flex;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    border-radius: var(--ls-border-radius-btn);
    background: #f9fafb;
    color: #374151;
    cursor: pointer;
    text-decoration: none;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.yxyh-ac-action-icon:hover {
    border-color: rgb(var(--ls-primary-rgb) / 30%);
    background: rgb(var(--ls-primary-rgb) / 8%);
    color: var(--ls-primary);
    transform: translateY(-1px);
}

.yxyh-ac-action-icon[data-risk-kind="account"][data-risk-state="off"] {
    background: #eff8ff;
    border-color: #bfdbfe;
    color: #175cd3;
}

.yxyh-ac-action-icon[data-risk-kind="account"][data-risk-state="on"] {
    background: #fee2e2;
    border-color: #fecaca;
    color: #dc2626;
}

.yxyh-ac-action-icon[data-risk-kind="ip"][data-risk-state="off"] {
    background: #eff8ff;
    border-color: #bfdbfe;
    color: #175cd3;
}

.yxyh-ac-action-icon[data-risk-kind="ip"][data-risk-state="on"] {
    background: #fee2e2;
    border-color: #fecaca;
    color: #dc2626;
}

.yxyh-ac-action-icon:active {
    transform: translateY(0);
}

.yxyh-ac-action-icon i {
    font-size: 13px;
}

.yxyh-ac-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 11px;
    white-space: nowrap;
}

.yxyh-ac-tag.is-login {
    background: #ecfdf3;
    color: #027a48;
}

.yxyh-ac-tag.is-publish {
    background: #eff8ff;
    color: #175cd3;
}

.yxyh-ac-tag.is-reply {
    background: #fef3c7;
    color: #92400e;
}

.yxyh-ac-tag.is-dispose {
    background: #fee2e2;
    color: #dc2626;
}

.yxyh-ac-tag.is-account {
    background: #dbeafe;
    color: #1e40af;
}

.yxyh-ac-tag.is-adminx {
    background: #f4f3ff;
    color: #5925dc;
}

.yxyh-ac-empty {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #9ca3af;
}

.yxyh-ac-pagination {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-top: 1px solid #eef0f3;
}

.yxyh-ac-pagination:empty {
    display: none;
}

.yxyh-ac-page-info {
    margin-right: 8px;
    color: #9ca3af;
    font-size: 13px;
}

.yxyh-ac-page-btn {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    color: #374151;
    cursor: pointer;
    font-size: 13px;
    text-decoration: none;
}

.yxyh-ac-page-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.yxyh-ac-page-btn.is-disabled {
    opacity: .3;
    cursor: not-allowed;
}

.yxyh-ac-filter-modal {
    width: 100%;
}

.yxyh-ac-risk-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.yxyh-ac-risk-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.yxyh-ac-risk-form span {
    color: #6b7280;
    font-size: 12px;
}

.yxyh-ac-risk-form input {
    height: 38px;
    padding: 0 10px;
    border: 1px solid #e5e7eb;
    border-radius: var(--ls-border-radius-btn);
    background: #fff;
    color: #111827;
    outline: none;
}

.yxyh-ac-risk-form select {
    height: 38px;
    padding: 0 10px;
    border: 1px solid #e5e7eb;
    border-radius: var(--ls-border-radius-btn);
    background: #fff;
    color: #111827;
    outline: none;
}

.yxyh-ac-risk-form textarea {
    min-height: 96px;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: var(--ls-border-radius-btn);
    background: #fff;
    color: #111827;
    outline: none;
    resize: vertical;
}

.yxyh-ac-risk-form input:focus {
    border-color: rgb(var(--ls-primary-rgb) / 45%);
}

.yxyh-ac-risk-form select:focus {
    border-color: rgb(var(--ls-primary-rgb) / 45%);
}

.yxyh-ac-risk-form textarea:focus {
    border-color: rgb(var(--ls-primary-rgb) / 45%);
}

.yxyh-ac-detail-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: var(--ls-border-radius);
}

.yxyh-ac-detail-head h2 {
    min-width: 0;
    margin: 0;
    flex: 1;
    font-size: 17px;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yxyh-ac-detail-head p {
    flex: none;
    margin: 0;
    color: #6b7280;
    font-size: 13px;
    white-space: nowrap;
}

.yxyh-ac-detail-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.yxyh-ac-detail-json-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.yxyh-ac-detail-section {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: var(--ls-border-radius);
}

.yxyh-ac-detail-section.is-wide {
    flex-basis: 100%;
}

.yxyh-ac-detail-section h3 {
    margin: 0 0 8px;
    font-size: 14px;
    color: #111827;
}

.yxyh-ac-detail-section div {
    display: flex;
    gap: 8px;
    padding: 5px 0;
}

.yxyh-ac-detail-section span {
    flex: 0 0 76px;
    color: #6b7280;
    font-size: 12px;
}

.yxyh-ac-detail-section p {
    min-width: 0;
    flex: 1;
    margin: 0;
    color: #111827;
    font-size: 13px;
    line-height: 1.6;
    word-break: break-all;
}

.yxyh-ac-detail-section pre {
    max-height: 220px;
    overflow: auto;
    margin: 0;
    padding: 10px;
    background: #f9fafb;
    border: 1px solid #eef0f3;
    border-radius: var(--ls-border-radius);
    color: #374151;
    font-size: 12px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}
