body.page-app-issues-index .btn-sm {
padding: 8px 16px;
    font-size: 0.875rem;
}

body.page-app-issues-index .comment-count {
font-size: 0.8125rem;
        color: var(--text-muted);
}

body.page-app-issues-index .empty-icon {
font-size: 3rem;
        margin-bottom: 16px;
}

body.page-app-issues-index .empty-state {
text-align: center; padding: 60px 20px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg);
}

body.page-app-issues-index .empty-state h2 {
font-size: 1.25rem;
        font-weight: 600;
        color: var(--text-primary);
        margin-bottom: 8px;
}

body.page-app-issues-index .empty-state p {
color: var(--text-secondary);
        margin-bottom: 24px;
}

body.page-app-issues-index .issue-content {
flex: 1; min-width: 0;
}

body.page-app-issues-index .issue-header {
display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

body.page-app-issues-index .issue-icon {
font-size: 1.25rem;
    padding-top: 2px;
}

body.page-app-issues-index .issue-item {
display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-fast);
}

body.page-app-issues-index .issue-item:hover {
background: var(--bg-tertiary);
}

body.page-app-issues-index .issue-item:last-child {
border-bottom: none;
}

body.page-app-issues-index .issue-label {
display: inline-block;
    padding: 2px 8px;
    background: var(--accent-dim);
    color: var(--accent);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

body.page-app-issues-index .issue-meta {
font-size: 0.8125rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

body.page-app-issues-index .issue-number {
font-family: var(--font-mono);
}

body.page-app-issues-index .issue-stats {
display: flex;
        align-items: center;
        gap: 12px;
}

body.page-app-issues-index .issue-title {
font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
}

body.page-app-issues-index .issue-title:hover {
color: var(--accent);
}

body.page-app-issues-index .issues-content {
margin-top: 0;
}

body.page-app-issues-index .issues-filters {
margin-bottom: 20px;
}

body.page-app-issues-index .issues-list {
display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

body.page-app-issues-index .meta-author {
color: var(--text-secondary);
    text-decoration: none;
}

body.page-app-issues-index .meta-author:hover {
color: var(--accent);
}

body.page-app-issues-index .meta-sep {
color: var(--text-muted);
}

body.page-app-issues-index .page-info {
color: var(--text-secondary); font-size: 0.875rem;
}

body.page-app-issues-index .pagination {
display: flex;
        justify-content: center;
        align-items: center;
        gap: 16px;
        margin-top: 24px;
}

body.page-app-issues-index .state-count {
font-weight: 600;
}

body.page-app-issues-index .state-label {
font-size: 0.875rem;
}

body.page-app-issues-index .state-tab {
display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

body.page-app-issues-index .state-tab.active {
background: var(--bg-tertiary);
    color: var(--text-primary);
    font-weight: 500;
}

body.page-app-issues-index .state-tab:hover {
background: var(--bg-tertiary);
    color: var(--text-primary);
}

body.page-app-issues-index .state-tabs {
display: flex;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

body.page-app-issues-new .breadcrumb {
font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

body.page-app-issues-new .breadcrumb .separator {
margin: 0 8px;
    color: var(--text-muted);
}

body.page-app-issues-new .breadcrumb a {
color: var(--accent);
    text-decoration: none;
}

body.page-app-issues-new .breadcrumb a:hover {
text-decoration: underline;
}

body.page-app-issues-new .form-actions {
display: flex;
        justify-content: flex-end;
        gap: 12px;
}

body.page-app-issues-new .form-card {
background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

body.page-app-issues-new .form-group {
margin-bottom: 20px;
}

body.page-app-issues-new .form-group:last-child {
margin-bottom: 0;
}

body.page-app-issues-new .form-hint {
font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 6px;
    display: block;
}

body.page-app-issues-new .form-textarea {
resize: vertical;
    min-height: 250px;
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

body.page-app-issues-new .issue-header {
margin-bottom: 24px;
}

body.page-app-issues-new .new-issue-container {
width: 100%;
        margin: 0 auto;
}

body.page-app-issues-new .page-title {
font-size: 1.5rem;
        font-weight: 600;
        color: var(--text-primary);
}

body.page-app-issues-view .add-comment-section {
display: flex;
    gap: 16px;
    align-items: flex-start;
}

body.page-app-issues-view .assign-form {
margin-top: 8px;
}

body.page-app-issues-view .assign-select {
width: 100%;
    padding: 6px 8px;
    font-size: 0.8125rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    cursor: pointer;
}

body.page-app-issues-view .assign-select:focus {
outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-dim);
}

body.page-app-issues-view .assign-select:hover {
border-color: var(--accent);
}

body.page-app-issues-view .assignee-avatar {
width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

body.page-app-issues-view .assignee-avatar img {
width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

body.page-app-issues-view .assignee-info {
display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

body.page-app-issues-view .assignee-name {
font-size: 0.875rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}

body.page-app-issues-view .assignee-name:hover {
color: var(--accent);
}

body.page-app-issues-view .author-avatar {
width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
}

body.page-app-issues-view .author-avatar img {
width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

body.page-app-issues-view .author-link {
color: var(--text-primary); font-weight: 500; text-decoration: none;
}

body.page-app-issues-view .author-link:hover {
color: var(--accent);
}

body.page-app-issues-view .author-name {
font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
}

body.page-app-issues-view .author-name:hover {
color: var(--accent);
}

body.page-app-issues-view .body-content {
color: var(--text-secondary);
    line-height: 1.7;
}

body.page-app-issues-view .breadcrumb {
font-size: 0.875rem;
        color: var(--text-secondary);
}

body.page-app-issues-view .breadcrumb .separator {
margin: 0 8px;
    color: var(--text-muted);
}

body.page-app-issues-view .breadcrumb a {
color: var(--accent);
    text-decoration: none;
}

body.page-app-issues-view .breadcrumb a:hover {
text-decoration: underline;
}

body.page-app-issues-view .btn-danger {
background: var(--error);
        color: white;
}

body.page-app-issues-view .btn-danger:hover {
background: #da3633;
}

body.page-app-issues-view .btn-full {
width: 100%;
}

body.page-app-issues-view .btn-icon-only {
background: none;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

body.page-app-issues-view .btn-icon-only:hover {
background: var(--bg-secondary);
}

body.page-app-issues-view .btn-sm {
padding: 8px 16px;
    font-size: 0.875rem;
}

body.page-app-issues-view .comment-actions {
display: flex;
    gap: 4px;
}

body.page-app-issues-view .comment-author {
display: flex;
    align-items: center;
    gap: 10px;
}

body.page-app-issues-view .comment-body {
padding: 16px;
}

body.page-app-issues-view .comment-card {
background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-lg);
        overflow: hidden;
}

body.page-app-issues-view .comment-date {
font-size: 0.8125rem;
        color: var(--text-muted);
}

body.page-app-issues-view .comment-edit-form {
padding: 16px;
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
}

body.page-app-issues-view .comment-form {
flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px;
}

body.page-app-issues-view .comment-form .form-actions {
display: flex;
        justify-content: flex-end;
        gap: 12px;
}

body.page-app-issues-view .comment-form .form-group {
margin-bottom: 12px;
}

body.page-app-issues-view .comment-form .form-textarea {
min-height: 100px;
    resize: vertical;
}

body.page-app-issues-view .comment-form-header {
flex-shrink: 0;
}

body.page-app-issues-view .comment-header {
display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

body.page-app-issues-view .danger-zone {
background: var(--bg-card);
    border: 1px solid rgba(248, 81, 73, 0.3);
    border-radius: var(--radius-lg);
    padding: 16px;
}

body.page-app-issues-view .danger-zone h4 {
font-size: 0.875rem;
    font-weight: 600;
    color: var(--error);
    margin-bottom: 12px;
}

body.page-app-issues-view .danger-zone-section {
margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

body.page-app-issues-view .edit-actions {
display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px;
}

body.page-app-issues-view .form-textarea {
resize: vertical;
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

body.page-app-issues-view .issue-body-card {
border-left: 3px solid var(--accent);
}

body.page-app-issues-view .issue-content {
display: flex; flex-direction: column; gap: 16px;
}

body.page-app-issues-view .issue-header {
margin-bottom: 16px;
}

body.page-app-issues-view .issue-labels {
display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

body.page-app-issues-view .issue-layout {
display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

body.page-app-issues-view .issue-main {
order: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

body.page-app-issues-view .issue-meta-text {
font-size: 0.875rem;
        color: var(--text-secondary);
}

body.page-app-issues-view .issue-sidebar {
order: 1;
}

body.page-app-issues-view .issue-sidebar {
margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

body.page-app-issues-view .issue-state {
display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
}

body.page-app-issues-view .issue-title {
font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

body.page-app-issues-view .issue-title-meta {
display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

body.page-app-issues-view .issue-title-section {
margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

body.page-app-issues-view .issue-view-container {
width: 100%;
        margin: 0 auto;
}

body.page-app-issues-view .label-tag {
display: inline-block;
    padding: 4px 10px;
    background: var(--accent-dim);
    color: var(--accent);
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 500;
}

body.page-app-issues-view .login-to-comment {
text-align: center;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
}

body.page-app-issues-view .login-to-comment a {
color: var(--accent);
    text-decoration: none;
}

body.page-app-issues-view .login-to-comment a:hover {
text-decoration: underline;
}

body.page-app-issues-view .no-assignee {
font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 12px;
}

body.page-app-issues-view .no-description {
color: var(--text-muted);
        font-style: italic;
}

body.page-app-issues-view .sidebar-labels {
display: flex;
        flex-direction: column;
        gap: 6px;
}

body.page-app-issues-view .sidebar-labels .label-tag {
display: block;
    text-align: center;
}

body.page-app-issues-view .sidebar-section {
padding: 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

body.page-app-issues-view .sidebar-title {
font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

body.page-app-issues-view .state-closed {
background: var(--bg-tertiary); color: var(--text-muted);
}

body.page-app-issues-view .state-open {
background: var(--success-bg);
        color: var(--success);
}

body.page-app-issues-index .empty-state .empty-icon {
width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: 50%;
}

body.page-app-issues-index .icon-closed svg {
color: #a371f7;
}

body.page-app-issues-index .icon-open svg {
color: var(--success);
}

body.page-app-issues-index .issue-icon {
width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

body.page-app-issues-index .issue-icon svg {
width: 20px;
    height: 20px;
}

body.page-app-issues-index .state-icon {
width: 14px;
    height: 14px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-app-issues-index .state-icon svg {
width: 14px;
    height: 14px;
}

body.page-app-issues-index .state-tab:first-child .state-icon svg {
color: var(--success);
}

body.page-app-issues-index .state-tab:nth-child(2) .state-icon svg {
color: #a371f7;
}


body.page-app-issues-index .comment-count {
font-size: 0.8125rem;
    color: var(--text-muted);
}

body.page-app-issues-index .issue-item:hover {
background: var(--bg-tertiary);
}

body.page-app-issues-index .issue-item:last-child {
border-bottom: none;
}

body.page-app-issues-index .issue-title:hover {
color: var(--accent);
}

body.page-app-issues-index .meta-author:hover {
color: var(--accent);
}

body.page-app-issues-index .meta-sep {
color: var(--text-muted);
}

body.page-app-issues-index .state-label {
font-size: 0.875rem;
}

body.page-app-issues-index .state-tab:hover {
background: var(--bg-tertiary);
    color: var(--text-primary);
}

body.page-app-issues-new .breadcrumb a {
color: var(--accent); text-decoration: none;
}

body.page-app-issues-new .breadcrumb a:hover {
text-decoration: underline;
}

body.page-app-issues-new .new-issue-container {
width: 100%; margin: 0 auto;
}

body.page-app-issues-view .assign-form {
margin-top: 8px;
}

body.page-app-issues-view .assignee-name:hover {
color: var(--accent);
}

body.page-app-issues-view .author-link:hover {
color: var(--accent);
}

body.page-app-issues-view .author-name:hover {
color: var(--accent);
}

body.page-app-issues-view .breadcrumb a {
color: var(--accent); text-decoration: none;
}

body.page-app-issues-view .breadcrumb a:hover {
text-decoration: underline;
}

body.page-app-issues-view .btn-full {
width: 100%;
}

body.page-app-issues-view .comment-author {
display: flex;
    align-items: center;
    gap: 10px;
}

body.page-app-issues-view .comment-card {
background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

body.page-app-issues-view .comment-date {
font-size: 0.8125rem;
    color: var(--text-muted);
}

body.page-app-issues-view .issue-content {
display: flex;
    flex-direction: column;
    gap: 16px;
}

body.page-app-issues-view .issue-header {
margin-bottom: 16px;
}

body.page-app-issues-view .issue-view-container {
width: 100%; margin: 0 auto;
}

body.page-app-issues-view .login-to-comment a {
color: var(--accent); text-decoration: none;
}

body.page-app-issues-view .login-to-comment a:hover {
text-decoration: underline;
}

body.page-app-issues-view .sidebar-labels {
display: flex;
    flex-direction: column;
    gap: 6px;
}

body.page-app-issues-view .state-open {
background: var(--success-bg); color: var(--success);
}
