html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-radius: 0.85rem;
    padding: 0.82rem 0.95rem;
    color: rgb(221 214 254);
    font-size: 0.92rem;
    font-weight: 700;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-link i {
    width: 1.2rem;
    text-align: center;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateX(2px);
}

.nav-link-active {
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    color: #fff;
    box-shadow: 0 14px 32px rgba(124, 58, 237, 0.32);
}

.icon-button {
    display: inline-flex;
    height: 2.5rem;
    width: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    border: 1px solid rgb(226 232 240);
    background: #fff;
    color: rgb(51 65 85);
    transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.icon-button:hover {
    border-color: rgb(221 214 254);
    color: #7c3aed;
    background: rgb(250 245 255);
}

.module-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgb(226 232 240);
}

.module-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 3px solid transparent;
    padding: 0.8rem 0.95rem;
    color: rgb(71 85 105);
    font-size: 0.9rem;
    font-weight: 900;
    transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.module-tab:hover {
    color: #4f46e5;
    background: rgb(248 250 252);
}

.module-tab-active {
    border-color: #4f46e5;
    color: #312e81;
}

.metric-card,
.panel {
    border: 1px solid rgb(226 232 240);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 18px 50px rgba(15, 12, 41, 0.08);
}

.metric-card {
    padding: 1.25rem;
}

.metric-icon {
    display: flex;
    height: 2.75rem;
    width: 2.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.85rem;
    font-size: 1.1rem;
}

.metric-label {
    margin-top: 1rem;
    color: rgb(100 116 139);
    font-size: 0.9rem;
    font-weight: 700;
}

.metric-value {
    margin-top: 0.25rem;
    color: rgb(2 6 23);
    font-size: 1.9rem;
    font-weight: 800;
}

.metric-trend {
    margin-top: 0.4rem;
    font-size: 0.86rem;
    font-weight: 700;
}

.panel {
    padding: 1.25rem;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.panel-header h2 {
    color: rgb(15 23 42);
    font-size: 1rem;
    font-weight: 800;
}

.panel-header p {
    color: rgb(100 116 139);
    font-size: 0.85rem;
    font-weight: 600;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 0.75rem;
    border: 1px solid rgb(226 232 240);
    background: #fff;
    padding: 0.65rem 0.85rem;
    color: rgb(51 65 85);
    font-size: 0.84rem;
    font-weight: 800;
    transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.secondary-button:hover {
    border-color: rgb(196 181 253);
    color: #7c3aed;
    transform: translateY(-1px);
}

.primary-button {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border-radius: 0.85rem;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    padding: 0.9rem 1.1rem;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 900;
    box-shadow: 0 16px 32px rgba(124, 58, 237, 0.22);
    transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.primary-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.3);
}

.primary-button:disabled {
    cursor: wait;
    opacity: 0.72;
}

.form-label {
    color: rgb(15 23 42);
    font-size: 0.9rem;
    font-weight: 800;
}

.form-error {
    margin-top: 0.5rem;
    color: rgb(220 38 38);
    font-size: 0.85rem;
    font-weight: 700;
}

.audit-url-input {
    min-height: 3.35rem;
    width: 100%;
    border-radius: 0.85rem;
    border: 1px solid rgb(203 213 225);
    background: #fff;
    padding: 0 1rem;
    color: rgb(15 23 42);
    font-weight: 700;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.audit-url-input:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.extractor-textarea {
    min-height: 24rem;
    width: 100%;
    resize: vertical;
    border-radius: 0.85rem;
    border: 1px solid rgb(203 213 225);
    background: #fff;
    padding: 1rem;
    color: rgb(15 23 42);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.85rem;
    font-weight: 650;
    line-height: 1.55;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.extractor-textarea:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.extraction-output {
    max-height: 42rem;
    overflow: auto;
    white-space: pre-wrap;
    border-radius: 0.95rem;
    background: rgb(15 23 42);
    padding: 1rem;
    color: rgb(226 232 240);
    font-size: 0.82rem;
    line-height: 1.65;
}

.visibility-section-list {
    display: grid;
    gap: 0.9rem;
}

.visibility-section-card {
    overflow: hidden;
    border-radius: 0.95rem;
    border: 1px solid rgb(226 232 240);
    background: #fff;
}

.visibility-section-card summary {
    display: flex;
    cursor: pointer;
    align-items: center;
    gap: 0.8rem;
    padding: 0.95rem 1rem;
    list-style: none;
}

.visibility-section-card summary::-webkit-details-marker {
    display: none;
}

.visibility-section-card summary span {
    display: inline-flex;
    height: 2rem;
    min-width: 2.35rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: rgb(237 233 254);
    color: #7c3aed;
    font-size: 0.78rem;
    font-weight: 950;
}

.visibility-section-card summary strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgb(15 23 42);
    font-size: 0.9rem;
    font-weight: 900;
}

.visibility-section-card pre {
    max-height: 28rem;
    overflow: auto;
    white-space: pre-wrap;
    border-top: 1px solid rgb(226 232 240);
    background: rgb(15 23 42);
    padding: 1rem;
    color: rgb(226 232 240);
    font-size: 0.8rem;
    line-height: 1.65;
}

.visibility-page-grid {
    display: grid;
    gap: 1rem;
}

.visibility-page-card {
    overflow: hidden;
    border-radius: 0.95rem;
    border: 1px solid rgb(226 232 240);
    background: #fff;
}

.visibility-page-card summary {
    display: grid;
    cursor: pointer;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.35rem 0.85rem;
    padding: 1rem;
    list-style: none;
}

.visibility-page-card summary::-webkit-details-marker {
    display: none;
}

.visibility-page-card summary span {
    grid-row: span 2;
    display: inline-flex;
    height: 2.2rem;
    min-width: 4.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: rgb(237 233 254);
    color: #7c3aed;
    font-size: 0.78rem;
    font-weight: 950;
}

.visibility-page-card summary strong,
.visibility-page-card summary small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.visibility-page-card summary strong {
    color: rgb(15 23 42);
    font-size: 0.92rem;
    font-weight: 900;
}

.visibility-page-card summary small {
    color: rgb(100 116 139);
    font-size: 0.78rem;
    font-weight: 750;
}

.visibility-page-body {
    border-top: 1px solid rgb(226 232 240);
    background: rgb(248 250 252);
    padding: 1rem;
    color: rgb(51 65 85);
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1.7;
}

.known-client-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.known-client-card {
    min-width: 0;
    border-radius: 0.95rem;
    border: 1px solid rgb(226 232 240);
    background: rgb(248 250 252);
    padding: 0.95rem;
}

.known-client-card strong,
.known-client-card span,
.known-client-card small {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.known-client-card strong {
    color: rgb(15 23 42);
    font-size: 0.95rem;
    font-weight: 950;
}

.known-client-card span {
    margin-top: 0.25rem;
    color: rgb(71 85 105);
    font-size: 0.82rem;
    font-weight: 750;
}

.known-client-card small {
    margin-top: 0.35rem;
    color: rgb(100 116 139);
    font-size: 0.76rem;
    font-weight: 750;
}

.discovery-table-wrap {
    max-height: 32rem;
    overflow: auto;
    border-radius: 0.95rem;
    border: 1px solid rgb(226 232 240);
}

.help-card {
    display: flex;
    gap: 0.85rem;
    border-radius: 0.9rem;
    border: 1px solid rgb(226 232 240);
    background: rgb(248 250 252);
    padding: 1rem;
}

.help-card p {
    color: rgb(15 23 42);
    font-weight: 900;
}

.help-card span {
    color: rgb(100 116 139);
    font-size: 0.85rem;
    font-weight: 650;
    line-height: 1.55;
}

.check-list {
    display: grid;
    gap: 0.85rem;
}

.check-list div {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border-radius: 0.85rem;
    background: rgb(248 250 252);
    padding: 0.85rem;
    color: rgb(51 65 85);
    font-weight: 750;
}

.crawl-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0.85rem;
    background: rgb(248 250 252);
    padding: 0.85rem 1rem;
    color: rgb(71 85 105);
    font-weight: 800;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.data-table th {
    background: rgb(248 250 252);
    color: rgb(71 85 105);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    padding: 0.8rem;
    text-align: left;
    text-transform: uppercase;
}

.data-table td {
    border-top: 1px solid rgb(226 232 240);
    color: rgb(51 65 85);
    font-size: 0.84rem;
    font-weight: 700;
    padding: 0.85rem;
}

.issue-card {
    border-radius: 0.95rem;
    border: 1px solid rgb(226 232 240);
    background: #fff;
    overflow: hidden;
}

.issue-card summary {
    display: flex;
    cursor: pointer;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem;
    list-style: none;
}

.issue-card summary::-webkit-details-marker {
    display: none;
}

.issue-card summary strong {
    display: block;
    color: rgb(15 23 42);
    font-weight: 900;
}

.issue-card summary small {
    display: block;
    margin-top: 0.15rem;
    color: rgb(100 116 139);
    font-weight: 650;
}

.issue-icon {
    display: inline-flex;
    height: 2rem;
    width: 2rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
}

.issue-critical {
    background: rgb(254 226 226);
    color: rgb(185 28 28);
}

.issue-warning {
    background: rgb(254 243 199);
    color: rgb(180 83 9);
}

.issue-passed {
    background: rgb(220 252 231);
    color: rgb(21 128 61);
}

.issue-body {
    border-top: 1px solid rgb(226 232 240);
    background: rgb(248 250 252);
    padding: 1rem;
    color: rgb(51 65 85);
    font-size: 0.9rem;
    line-height: 1.7;
}

.issue-body pre {
    margin-top: 0.85rem;
    overflow-x: auto;
    border-radius: 0.85rem;
    background: rgb(15 23 42);
    padding: 1rem;
    color: rgb(226 232 240);
    font-size: 0.8rem;
}

.affected-pages {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.affected-pages span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 999px;
    background: #fff;
    padding: 0.35rem 0.65rem;
    color: rgb(71 85 105);
    font-size: 0.75rem;
    font-weight: 800;
}

.requirement-card {
    border-radius: 0.95rem;
    border: 1px solid rgb(226 232 240);
    padding: 1rem;
}

.requirement-card strong {
    display: block;
    color: rgb(15 23 42);
    font-weight: 900;
}

.requirement-card span {
    display: block;
    margin-top: 0.25rem;
    color: rgb(71 85 105);
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1.6;
}

.requirement-core {
    background: linear-gradient(135deg, rgb(245 243 255), #fff);
    border-color: rgb(196 181 253);
}

.requirement-recommended {
    background: linear-gradient(135deg, rgb(239 246 255), #fff);
    border-color: rgb(191 219 254);
}

.requirement-pro {
    background: linear-gradient(135deg, rgb(236 253 245), #fff);
    border-color: rgb(167 243 208);
}

.api-status-card {
    border-radius: 0.95rem;
    border: 1px solid rgb(226 232 240);
    background: #fff;
    padding: 1rem;
}

.api-status-icon {
    display: inline-flex;
    height: 2.25rem;
    width: 2.25rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 0.8rem;
}

.api-ready {
    background: rgb(220 252 231);
    color: rgb(21 128 61);
}

.api-missing {
    background: rgb(237 233 254);
    color: #7c3aed;
}

.api-status-card p {
    color: rgb(15 23 42);
    font-weight: 900;
}

.api-status-card small,
.api-status-card span,
.api-status-card em {
    display: block;
    margin-top: 0.18rem;
    color: rgb(100 116 139);
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 650;
    line-height: 1.45;
}

.api-status-card em {
    color: rgb(124 58 237);
    font-weight: 800;
}

.settings-form {
    display: block;
}

.settings-grid {
    margin-top: 1rem;
    display: grid;
    gap: 1rem;
}

.settings-field span {
    display: block;
    margin-bottom: 0.4rem;
    color: rgb(15 23 42);
    font-size: 0.85rem;
    font-weight: 850;
}

.settings-input {
    min-height: 3rem;
    width: 100%;
    border-radius: 0.85rem;
    border: 1px solid rgb(203 213 225);
    background: #fff;
    padding: 0 0.9rem;
    color: rgb(15 23 42);
    font-size: 0.9rem;
    font-weight: 700;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.settings-input:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.settings-textarea {
    width: 100%;
    resize: vertical;
    border-radius: 0.85rem;
    border: 1px solid rgb(203 213 225);
    background: #fff;
    padding: 0.85rem 0.9rem;
    color: rgb(15 23 42);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.45;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.settings-textarea:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.compact-textarea {
    min-height: 7rem;
}

.benchmark-textarea {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.86rem;
    line-height: 1.55;
    white-space: pre;
}

.settings-checkbox {
    height: 1rem;
    width: 1rem;
    accent-color: #7c3aed;
}

.render-toggle {
    display: flex;
    min-height: 4.85rem;
    align-items: center;
    gap: 0.75rem;
    border-radius: 0.95rem;
    border: 1px solid rgb(203 213 225);
    background: #fff;
    padding: 0.85rem;
}

.render-toggle strong,
.render-toggle small {
    display: block;
}

.render-toggle strong {
    color: rgb(15 23 42);
    font-size: 0.86rem;
    font-weight: 900;
}

.render-toggle small {
    margin-top: 0.18rem;
    color: rgb(100 116 139);
    font-size: 0.76rem;
    font-weight: 650;
    line-height: 1.35;
}

.settings-section-title {
    margin-bottom: 0.85rem;
    color: rgb(15 23 42);
    font-size: 0.95rem;
    font-weight: 900;
}

.test-button-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.crawl-flow {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.doc-path {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    background: rgb(248 250 252);
    padding: 0.55rem 0.8rem;
    color: rgb(71 85 105);
    font-size: 0.78rem;
    font-weight: 850;
}

.crawl-step {
    position: relative;
    min-height: 13rem;
    border-radius: 1rem;
    border: 1px solid rgb(226 232 240);
    background: linear-gradient(180deg, #fff, rgb(248 250 252));
    padding: 1.1rem;
}

.crawl-step span {
    position: absolute;
    right: 1rem;
    top: 1rem;
    display: inline-flex;
    height: 2rem;
    width: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgb(237 233 254);
    color: #7c3aed;
    font-size: 0.82rem;
    font-weight: 900;
}

.crawl-step i {
    display: flex;
    height: 2.65rem;
    width: 2.65rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.85rem;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 14px 30px rgba(124, 58, 237, 0.22);
}

.crawl-step strong {
    display: block;
    margin-top: 1rem;
    color: rgb(15 23 42);
    font-weight: 900;
}

.crawl-step p {
    margin-top: 0.45rem;
    color: rgb(100 116 139);
    font-size: 0.86rem;
    font-weight: 650;
    line-height: 1.6;
}

.crawl-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    background: rgb(237 233 254);
    padding: 0.55rem 0.85rem;
    color: #7c3aed;
    font-size: 0.8rem;
    font-weight: 900;
}

.progress-track {
    height: 0.8rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgb(226 232 240);
}

.progress-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    transition: width 300ms ease;
}

.scan-status-card {
    min-width: 0;
    border-radius: 1rem;
    border: 1px solid rgb(226 232 240);
    background: rgb(248 250 252);
    padding: 1rem;
}

.scan-status-card span {
    color: rgb(100 116 139);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.scan-status-card strong {
    display: block;
    margin-top: 0.35rem;
    color: rgb(15 23 42);
    font-size: 1.15rem;
    font-weight: 900;
}

.scan-status-card p {
    margin-top: 0.35rem;
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgb(71 85 105);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.55;
}

.scan-activity-list {
    display: grid;
    gap: 0.65rem;
}

.scan-activity-list div {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.65rem;
    border-radius: 0.85rem;
    background: rgb(248 250 252);
    padding: 0.75rem 0.85rem;
}

.scan-activity-list span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgb(51 65 85);
    font-size: 0.85rem;
    font-weight: 750;
}

.crawl-progress-stats {
    margin-top: 1rem;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.crawl-progress-stats div {
    border-radius: 0.95rem;
    border: 1px solid rgb(226 232 240);
    background: rgb(248 250 252);
    padding: 0.95rem;
}

.crawl-progress-stats span {
    color: rgb(100 116 139);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.crawl-progress-stats strong {
    display: block;
    margin-top: 0.25rem;
    color: rgb(15 23 42);
    font-size: 1.35rem;
    font-weight: 950;
}

.crawl-progress-stats p {
    margin-top: 0.2rem;
    color: rgb(100 116 139);
    font-size: 0.76rem;
    font-weight: 650;
    line-height: 1.4;
}

.scan-event-list {
    display: grid;
    gap: 0.65rem;
}

.scan-event-list > div {
    display: grid;
    grid-template-columns: 3.5rem 2rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    border-radius: 0.9rem;
    border: 1px solid rgb(226 232 240);
    background: rgb(248 250 252);
    padding: 0.75rem;
}

.event-time {
    color: rgb(100 116 139);
    font-size: 0.76rem;
    font-weight: 900;
}

.event-icon {
    display: inline-flex;
    height: 2rem;
    width: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgb(237 233 254);
    color: #7c3aed;
}

.event-main {
    min-width: 0;
}

.event-main strong,
.event-main small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event-main strong {
    color: rgb(15 23 42);
    font-size: 0.86rem;
    font-weight: 900;
}

.event-main small {
    margin-top: 0.12rem;
    color: rgb(71 85 105);
    font-size: 0.78rem;
    font-weight: 700;
}

.event-meta {
    color: rgb(100 116 139);
    font-size: 0.76rem;
    font-weight: 850;
    white-space: nowrap;
}

@media (max-width: 760px) {
    .scan-event-list > div {
        grid-template-columns: 3.5rem 2rem minmax(0, 1fr);
    }

    .event-meta {
        grid-column: 3;
        white-space: normal;
    }
}

.htmx-indicator {
    display: none;
}

.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
    display: flex;
}

.audit-start-indicator {
    align-items: center;
    gap: 0.55rem;
    border-radius: 0.85rem;
    background: rgb(245 243 255);
    padding: 0.85rem 1rem;
    color: #7c3aed;
    font-size: 0.9rem;
    font-weight: 900;
}

.placeholder-chart {
    display: flex;
    min-height: 18rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    border-radius: 0.9rem;
    border: 1px dashed rgb(196 181 253);
    background: linear-gradient(180deg, rgb(250 245 255), #fff);
    color: rgb(100 116 139);
    font-weight: 700;
    text-align: center;
}

.activity-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.75rem;
    border-radius: 0.9rem;
    border: 1px solid rgb(241 245 249);
    padding: 0.85rem;
}

.activity-item p {
    color: rgb(15 23 42);
    font-size: 0.9rem;
    font-weight: 800;
}

.activity-item small {
    color: rgb(100 116 139);
    font-weight: 600;
}

.status-dot {
    height: 0.65rem;
    width: 0.65rem;
    border-radius: 999px;
}

.badge {
    border-radius: 999px;
    padding: 0.32rem 0.62rem;
    font-size: 0.72rem;
    font-weight: 800;
}

.badge-good {
    background: rgb(220 252 231);
    color: rgb(21 128 61);
}

.badge-info {
    background: rgb(224 231 255);
    color: rgb(67 56 202);
}

.status-badge {
    display: inline-flex;
    border-radius: 999px;
    padding: 0.32rem 0.62rem;
    font-size: 0.72rem;
    font-weight: 900;
}

.status-completed {
    background: rgb(220 252 231);
    color: rgb(21 128 61);
}

.status-running {
    background: rgb(224 231 255);
    color: rgb(67 56 202);
}

.status-failed {
    background: rgb(254 226 226);
    color: rgb(185 28 28);
}

.toast {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    border-radius: 0.85rem;
    border: 1px solid rgb(226 232 240);
    background: #fff;
    padding: 0.85rem 1rem;
    box-shadow: 0 18px 50px rgba(15, 12, 41, 0.08);
    font-weight: 700;
}

.toast-success {
    border-color: rgb(187 247 208);
    color: rgb(21 128 61);
}

.toast-error {
    border-color: rgb(254 202 202);
    color: rgb(185 28 28);
}

.toast-warning {
    border-color: rgb(253 230 138);
    color: rgb(161 98 7);
}

.empty-state {
    display: flex;
    min-height: 22rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.empty-state i {
    display: flex;
    height: 4rem;
    width: 4rem;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: rgb(237 233 254);
    color: #7c3aed;
    font-size: 1.6rem;
}

.empty-state h2 {
    margin-top: 1rem;
    color: rgb(15 23 42);
    font-size: 1.25rem;
    font-weight: 800;
}

.empty-state p {
    margin-top: 0.45rem;
    max-width: 36rem;
    color: rgb(100 116 139);
    font-weight: 600;
    line-height: 1.7;
}

@media (max-width: 640px) {
    .panel-header {
        align-items: flex-start;
        flex-direction: column;
    }
}
