.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: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.yxyh-ac-filter-grid label {
    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: min(320px, 34%);
    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-table-wrap {
    overflow: auto;
}

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

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

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

.yxyh-ac-table th:nth-child(2) {
    width: 120px;
}

.yxyh-ac-table th:nth-child(3) {
    width: 170px;
}

.yxyh-ac-table th:nth-child(4) {
    width: 150px;
}

.yxyh-ac-table th:nth-child(5) {
    width: 68px;
}

.yxyh-ac-table th:nth-child(6) {
    width: 140px;
}

.yxyh-ac-table th:nth-child(7) {
    width: 58px;
}

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

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

.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;
    color: #111827;
    white-space: nowrap;
}

.yxyh-ac-user-link {
    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-detail-btn {
    padding: 0;
    border: 0;
    background: transparent;
    color: #3b82f6;
    cursor: pointer;
    font-size: 12px;
    text-decoration: none;
}

.yxyh-ac-detail-btn:hover {
    text-decoration: underline;
}

.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-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: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.yxyh-ac-detail-json-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.yxyh-ac-detail-section {
    padding: 12px;
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: var(--ls-border-radius);
}

.yxyh-ac-detail-section.is-wide {
    grid-column: 1 / -1;
}

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

.yxyh-ac-detail-section div {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 8px;
    padding: 5px 0;
}

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

.yxyh-ac-detail-section p {
    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;
}
