:root {
    --brand-primary: #b97842;
    --brand-primary-dark: #85552f;
    --brand-accent: #8fac83;
    --background: #110f0b;
    --tenant-background-image: none;
    --surface: rgba(24, 21, 17, 0.84);
    --surface-light: rgba(38, 33, 26, 0.88);
    --border: rgba(221, 197, 165, 0.17);
    --text: #f7f2e9;
    --muted: #b7aa98;
    --danger: #fb7185;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    color: var(--text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    background:
        linear-gradient(115deg, rgba(14, 12, 9, 0.74), rgba(17, 15, 11, 0.58)),
        var(--tenant-background-image) center / cover fixed no-repeat,
        var(--background);
}

button,
input,
textarea {
    font: inherit;
}

button,
a {
    transition:
        transform 150ms ease,
        opacity 150ms ease,
        background-color 150ms ease;
}

button:hover,
a:hover {
    opacity: 0.92;
}

button:active {
    transform: translateY(1px);
}

.login-page {
    display: grid;
    min-height: 100vh;
    padding: 24px;
    place-items: center;
}

.login-card {
    width: min(460px, 100%);
    padding: 44px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(24px);
}

.brand-mark {
    display: grid;
    width: 64px;
    height: 64px;
    margin-bottom: 28px;
    color: white;
    font-size: 30px;
    font-weight: 800;
    border-radius: 20px;
    place-items: center;
    background: linear-gradient(135deg, var(--brand-primary), #60a5fa);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.32);
}

.brand-mark-small {
    width: 44px;
    height: 44px;
    margin: 0;
    font-size: 21px;
    border-radius: 14px;
}

.eyebrow {
    margin: 0 0 8px;
    color: #7dd3fc;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 12px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
}

.login-intro {
    margin-bottom: 28px;
    color: var(--muted);
    line-height: 1.65;
}

.login-form {
    display: grid;
    gap: 18px;
}

.login-form label {
    display: grid;
    gap: 8px;
    color: #d7e2f0;
    font-size: 14px;
    font-weight: 700;
}

.login-form input,
.composer textarea {
    width: 100%;
    color: var(--text);
    border: 1px solid var(--border);
    outline: none;
    background: rgba(4, 12, 26, 0.74);
}

.login-form input {
    height: 52px;
    padding: 0 16px;
    border-radius: 14px;
}

.login-form input:focus,
.composer textarea:focus {
    border-color: rgba(96, 165, 250, 0.76);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.login-form button,
.composer button {
    color: white;
    border: 0;
    cursor: pointer;
    font-weight: 800;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
}

.login-form button {
    height: 52px;
    margin-top: 4px;
    border-radius: 14px;
}

.alert,
.chat-error {
    color: #fecdd3;
    border: 1px solid rgba(251, 113, 133, 0.25);
    background: rgba(159, 18, 57, 0.22);
}

.alert {
    margin-bottom: 20px;
    padding: 13px 15px;
    border-radius: 12px;
}

.local-note {
    margin: 24px 0 0;
    color: #718198;
    font-size: 12px;
    text-align: center;
}

.app-shell {
    min-height: 100vh;
}

.topbar {
    display: flex;
    min-height: 76px;
    padding: 14px clamp(20px, 4vw, 52px);
    border-bottom: 1px solid var(--border);
    align-items: center;
    justify-content: space-between;
    background: rgba(5, 13, 27, 0.74);
    backdrop-filter: blur(20px);
}

.brand {
    display: flex;
    gap: 13px;
    align-items: center;
}

.brand strong,
.brand span {
    display: block;
}

.brand span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
}

.account {
    display: flex;
    gap: 16px;
    align-items: center;
    color: var(--muted);
    font-size: 14px;
}

.account a {
    color: white;
    font-weight: 700;
    text-decoration: none;
}

.workspace {
    display: grid;
    width: min(1500px, calc(100% - 40px));
    min-height: calc(100vh - 116px);
    margin: 20px auto;
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) 370px;
}

.chat-panel,
.monitor-panel {
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
}

.chat-panel {
    display: flex;
    min-height: 760px;
    padding: clamp(22px, 4vw, 42px);
    flex-direction: column;
}

.chat-heading {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
}

.chat-heading h1 {
    margin-bottom: 8px;
}

.chat-heading > div > p:last-child {
    color: var(--muted);
}

.status-pill {
    display: inline-flex;
    padding: 10px 13px;
    gap: 8px;
    white-space: nowrap;
    border: 1px solid var(--border);
    border-radius: 999px;
    align-items: center;
    color: var(--muted);
    background: rgba(4, 12, 26, 0.6);
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #64748b;
}

.status-pill.online .status-dot {
    background: var(--brand-accent);
    box-shadow: 0 0 14px rgba(34, 197, 94, 0.9);
}

.status-pill.online {
    color: #bbf7d0;
}

.messages {
    display: flex;
    overflow-y: auto;
    min-height: 320px;
    max-height: 52vh;
    padding: 30px 4px;
    gap: 18px;
    flex: 1;
    flex-direction: column;
}

.message {
    display: flex;
    max-width: 82%;
    gap: 12px;
    align-items: flex-start;
}

.message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.avatar {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    color: white;
    border-radius: 12px;
    place-items: center;
    font-weight: 800;
    background: linear-gradient(135deg, var(--brand-primary), #60a5fa);
}

.message.user .avatar {
    background: #334155;
}

.message-content {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 6px 18px 18px;
    background: var(--surface-light);
}

.message.user .message-content {
    border-radius: 18px 6px 18px 18px;
    background: rgba(37, 99, 235, 0.24);
}

.message-content strong {
    display: block;
    margin-bottom: 6px;
    color: #bfdbfe;
    font-size: 12px;
}

.message-content p {
    margin: 0;
    line-height: 1.65;
    white-space: pre-wrap;
}



.composer {
    display: grid;
    padding: 9px;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(4, 12, 26, 0.72);
    grid-template-columns: minmax(0, 1fr) auto;
}

.composer textarea {
    min-height: 54px;
    max-height: 160px;
    padding: 15px;
    border: 0;
    resize: none;
    background: transparent;
}

.composer button {
    min-width: 106px;
    border-radius: 13px;
}

.composer button:disabled {
    cursor: wait;
    opacity: 0.55;
}

.chat-error {
    margin: 12px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
}

.monitor-panel {
    position: sticky;
    top: 20px;
    height: fit-content;
    padding: 26px;
}

.monitor-header {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    justify-content: space-between;
}

.monitor-header h2 {
    margin: 0;
    font-size: 20px;
}

.working-badge {
    padding: 7px 10px;
    color: #bbf7d0;
    font-size: 12px;
    font-weight: 800;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
}

.working-badge.working {
    color: #fde68a;
    background: rgba(245, 158, 11, 0.16);
}

.gpu-name {
    margin: 28px 0 24px;
    color: #dbeafe;
    font-size: 18px;
    font-weight: 800;
}

.metric {
    margin-bottom: 20px;
}

.metric-line {
    display: flex;
    margin-bottom: 9px;
    justify-content: space-between;
    color: var(--muted);
    font-size: 13px;
}

.metric-line strong {
    color: white;
}

.progress {
    overflow: hidden;
    height: 9px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.12);
}

.progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2563eb, #38bdf8);
    transition: width 350ms ease;
}

.progress.memory span {
    background: linear-gradient(90deg, #16a34a, #4ade80);
}

.system-grid {
    display: grid;
    margin-top: 26px;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
}

.system-grid > div {
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(4, 12, 26, 0.48);
}

.system-grid span,
.system-grid strong {
    display: block;
}

.system-grid span {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 11px;
}

.system-grid strong {
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.activity-chart {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.chart-heading {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 11px;
}

.activity-bars {
    display: flex;
    height: 76px;
    gap: 3px;
    align-items: flex-end;
}

.activity-bars span {
    flex: 1;
    min-width: 2px;
    border-radius: 4px 4px 1px 1px;
    background: linear-gradient(180deg, #38bdf8, #2563eb);
    transition: height 250ms ease;
}

.privacy-note {
    margin: 20px 0 0;
    color: #718198;
    font-size: 11px;
    line-height: 1.55;
}

@media (max-width: 980px) {
    .workspace {
        grid-template-columns: 1fr;
    }

    .monitor-panel {
        position: static;
        order: -1;
    }

    .chat-panel {
        min-height: 680px;
    }
}

@media (max-width: 620px) {
    .workspace {
        width: min(100% - 20px, 1500px);
        margin: 10px auto;
    }

    .topbar {
        padding: 12px 14px;
    }

    .account span {
        display: none;
    }

    .chat-heading {
        flex-direction: column;
    }

    .message {
        max-width: 94%;
    }

    .composer {
        grid-template-columns: 1fr;
    }

    .composer button {
        min-height: 46px;
    }

    .login-card {
        padding: 30px 24px;
    }
}

.processing-status {
    display: flex;
    width: fit-content;
    margin: 18px 0 2px;
    padding: 11px 14px;
    gap: 12px;
    align-items: center;
    color: #dbeafe;
    border: 1px solid rgba(56, 189, 248, 0.24);
    border-radius: 14px;
    background: rgba(14, 116, 144, 0.10);
}

.processing-status[hidden] {
    display: none;
}

.processing-status strong,
.processing-status span {
    display: block;
}

.processing-status strong {
    margin-bottom: 2px;
    font-size: 13px;
}

.processing-status span {
    color: var(--muted);
    font-size: 11px;
}

.processing-spinner {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 2px solid rgba(125, 211, 252, 0.20);
    border-top-color: #38bdf8;
    border-radius: 50%;
    animation: paul-spin 0.75s linear infinite;
}

@keyframes paul-spin {
    to {
        transform: rotate(360deg);
    }
}

.working-badge.working {
    position: relative;
    padding-left: 23px;
}

.working-badge.working::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    transform: translateY(-50%);
    background: #fbbf24;
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.9);
    animation: paul-pulse 0.8s ease-in-out infinite alternate;
}

@keyframes paul-pulse {
    from {
        opacity: 0.35;
    }

    to {
        opacity: 1;
    }
}

/* =========================================================
   Paul Frontend - finales generisches Chatlayout
   ========================================================= */

/* Branding oben links */

.brand {
    display: flex;
    gap: 14px;
    align-items: center;
}

.brand-logo-wrap {
    display: flex;
    width: 52px;
    height: 44px;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
}

.brand-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.brand-copy strong {
    color: #f8fafc;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.1;
}

.brand-copy span {
    margin-top: 4px;
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.2;
}

/* Gesamtlayout */

.workspace {
    height: calc(100vh - 116px);
    min-height: 680px;
    align-items: stretch;
}

.chat-panel {
    display: flex;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    padding: 30px 34px 22px;
    flex-direction: column;
}

/* Chatkopf */

.chat-heading {
    flex: 0 0 auto;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.chat-heading h1 {
    margin: 0 0 4px;
    font-size: 34px;
    line-height: 1;
}

.chat-heading > div > p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

/* Verarbeitungshinweis */

.processing-status {
    flex: 0 0 auto;
    margin: 14px 0 0;
}

/* Nur Nachrichten scrollen */

.messages {
    display: flex;
    overflow-y: auto;
    min-height: 0;
    max-height: none;
    margin: 0 -4px;
    padding: 22px 8px;
    flex: 1 1 auto;
    gap: 18px;
    flex-direction: column;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #475569 transparent;
}

.messages::-webkit-scrollbar {
    width: 7px;
}

.messages::-webkit-scrollbar-track {
    background: transparent;
}

.messages::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #334155;
}

/* Keine Schnellaktionen im generischen Paul-Frontend */

.suggestions {
    display: none !important;
}

/* Eingabe bleibt ganz unten */

.composer {
    position: relative;
    display: grid;
    flex: 0 0 auto;
    min-height: 66px;
    margin-top: 10px;
    padding: 8px;
    gap: 10px;
    border: 1px solid rgba(96, 165, 250, 0.22);
    border-radius: 18px;
    background: #050d1c;
    grid-template-columns: minmax(0, 1fr) auto;
    box-shadow: 0 -12px 34px rgba(2, 8, 23, 0.16);
}

.composer textarea {
    min-height: 48px;
    max-height: 140px;
    padding: 14px 16px;
    border: 0;
    line-height: 1.45;
    resize: none;
    background: transparent;
}

.composer button {
    min-width: 110px;
    min-height: 48px;
    border-radius: 13px;
}

/* Systemmonitor bleibt kompakt oben */

.monitor-panel {
    align-self: start;
    max-height: calc(100vh - 116px);
}

/* Mobile */

@media (max-width: 980px) {
    .workspace {
        height: auto;
        min-height: 0;
    }

    .chat-panel {
        height: 75vh;
        min-height: 620px;
    }

    .monitor-panel {
        max-height: none;
    }
}

@media (max-width: 620px) {
    .brand-copy span {
        display: none;
    }

    .brand-logo-wrap {
        width: 42px;
        height: 38px;
        flex-basis: 42px;
    }

    .chat-panel {
        padding: 22px 18px 16px;
    }
}

.message-content .paul-link {
    color: #60a5fa;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(96, 165, 250, 0.45);
    overflow-wrap: anywhere;
}

.message-content .paul-link:hover {
    color: #93c5fd;
    border-bottom-color: #93c5fd;
}

.message-content strong {
    color: #f8fafc;
}

.conversation-toolbar {
    display: flex;
    margin-top: 16px;
    gap: 9px;
    align-items: center;
}

.conversation-toolbar select {
    min-width: 220px;
    max-width: 460px;
    min-height: 40px;
    padding: 0 12px;
    color: #e2e8f0;
    border: 1px solid var(--border);
    border-radius: 11px;
    outline: none;
    background: #050d1c;
}

.conversation-toolbar button {
    min-height: 40px;
    padding: 0 14px;
    color: #dbeafe;
    cursor: pointer;
    border: 1px solid var(--border);
    border-radius: 11px;
    font-weight: 700;
    background: rgba(15, 27, 47, 0.9);
}

@media (max-width: 620px) {
    .conversation-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .conversation-toolbar select {
        width: 100%;
        max-width: none;
    }
}

.demo-chat-note {
    margin-top: 8px !important;
    color: #64748b !important;
    font-size: 11px !important;
    line-height: 1.4;
}

.token-monitor {
    margin: 20px 0;
    padding: 18px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.token-monitor-title {
    margin-bottom: 12px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.token-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
}

.token-grid > div {
    padding: 11px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(3, 10, 23, .45);
}

.token-grid span,
.token-grid strong {
    display: block;
}

.token-grid span {
    color: #64748b;
    font-size: 10px;
}

.token-grid strong {
    margin-top: 5px;
    color: #f8fafc;
    font-size: 16px;
}

.token-detail {
    display: flex;
    margin-top: 10px;
    gap: 15px;
    color: #64748b;
    font-size: 10px;
}

.token-detail strong {
    color: #94a3b8;
}

.monitor-provider {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
    line-height: 1.15;
}

.monitor-provider span {
    color: #7dd3fc;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.monitor-provider strong {
    color: #94a3b8;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .01em;
}

.monitor-panel h2 {
    margin-top: 11px;
    margin-bottom: 24px;
}

/* Tenantfähiges Customer Theme */
.topbar {
    border-bottom-color: rgba(221, 197, 165, 0.18);
    background: rgba(19, 17, 13, 0.78);
}

.brand-logo-wrap {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    padding: 4px;
    border: 1px solid rgba(221, 197, 165, 0.24);
    border-radius: 12px;
    background: rgba(247, 242, 233, 0.94);
}

.brand-logo {
    border-radius: 7px;
}

.brand-copy strong {
    color: #f7f2e9;
    font-size: 19px;
}

.brand-copy span {
    color: #c4b49f;
    font-size: 12px;
}

.workspace {
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) 310px;
}

.chat-panel,
.monitor-panel {
    border-color: rgba(221, 197, 165, 0.19);
    background: rgba(20, 18, 14, 0.84);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(18px);
}

.chat-heading {
    align-items: center;
}

.demo-chat-note {
    color: #a99c8b !important;
}

.status-pill {
    border-color: rgba(221, 197, 165, 0.2);
    background: rgba(14, 12, 9, 0.56);
}

.avatar {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
}

.message-content strong {
    color: #e7c39e;
}

.message.user .message-content {
    border-color: rgba(192, 139, 86, 0.22);
    background: rgba(151, 105, 61, 0.2);
}

.composer {
    border-color: rgba(192, 139, 86, 0.32);
    background: rgba(14, 12, 9, 0.94);
}

.composer textarea:focus {
    box-shadow: 0 0 0 4px rgba(185, 120, 66, 0.16);
}

.composer button,
.login-form button {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
}

.monitor-panel {
    padding: 20px;
    border-radius: 20px;
    background: rgba(25, 22, 17, 0.9);
}

.monitor-provider span {
    color: #d5a570;
}

.monitor-provider strong {
    color: #c4b49f;
}

.monitor-panel h2 {
    margin-top: 9px;
    margin-bottom: 18px;
    color: #f1e8db;
    font-size: 18px;
}

.gpu-name {
    margin: 18px 0;
    color: #e6d3bc;
    font-size: 15px;
}

.metric {
    margin-bottom: 15px;
}

.metric-line {
    color: #b7aa98;
}

.progress span {
    background: linear-gradient(90deg, #9d6337, #d29a5e);
}

.progress.memory span {
    background: linear-gradient(90deg, #6d8057, #a4ad73);
}

.system-grid {
    margin-top: 18px;
    gap: 8px;
}

.system-grid > div {
    padding: 10px;
    border-color: rgba(221, 197, 165, 0.13);
    border-radius: 11px;
    background: rgba(12, 11, 9, 0.35);
}

.system-grid span,
.token-monitor-title,
.chart-heading {
    color: #a99c8b;
}

.token-monitor {
    margin: 16px 0;
    padding: 14px 0;
}

.token-grid {
    gap: 8px;
}

.token-grid > div {
    padding: 9px;
    border-color: rgba(221, 197, 165, 0.13);
    border-radius: 10px;
    background: rgba(12, 11, 9, 0.32);
}

.token-grid span,
.token-detail {
    color: #a99c8b;
}

.token-grid strong {
    color: #f1e8db;
    font-size: 15px;
}

.token-detail strong {
    color: #d4c2aa;
}

.activity-chart {
    margin-top: 18px;
    padding-top: 16px;
    border-top-color: rgba(221, 197, 165, 0.14);
}

.activity-bars {
    height: 58px;
}

.activity-bars span {
    background: linear-gradient(180deg, #d29a5e, #81552f);
}

.privacy-note {
    color: #a99c8b;
}

@media (max-width: 980px) {
    .workspace {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .brand-copy span {
        display: block;
        font-size: 10px;
    }

    .brand-logo-wrap {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .brand-copy strong {
        font-size: 17px;
    }

    .topbar {
        gap: 8px;
    }

    .account {
        gap: 10px;
        font-size: 12px;
    }
}

.mcp-status {
    display: grid;
    margin: 0 0 16px;
    padding: 10px 12px;
    gap: 8px;
    border: 1px solid rgba(221, 197, 165, 0.14);
    border-radius: 12px;
    background: rgba(12, 11, 9, 0.38);
}

.mcp-status-title {
    color: #d7c6ae;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.resource-entry {
    display: grid;
    min-width: 0;
    gap: 8px;
    align-items: center;
    grid-template-columns: 8px minmax(0, 1fr) auto;
}

.resource-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e4b85c;
}

.resource-label {
    color: #d7c6ae;
    font-size: 12px;
}

.resource-value {
    color: #b7aa98;
    font-size: 12px;
    line-height: 1.35;
    text-align: right;
}

.resource-entry.ready .resource-dot {
    background: var(--brand-accent);
    box-shadow: 0 0 8px rgba(143, 172, 131, 0.45);
}

.resource-entry.ready .resource-value {
    color: #b9d1ac;
}

.resource-entry.partial .resource-dot,
.resource-entry.pending .resource-dot {
    background: #e4b85c;
}

.resource-entry.partial .resource-value,
.resource-entry.pending .resource-value {
    color: #efd18b;
}

.resource-entry.unavailable .resource-dot {
    background: #d97764;
    box-shadow: 0 0 8px rgba(217, 119, 100, 0.4);
}

.resource-entry.unavailable .resource-value {
    color: #e5a091;
}

.processing-status {
    color: #f1e8db;
    border-color: rgba(185, 120, 66, 0.48);
    background: rgba(18, 15, 12, 0.94);
}

.processing-status strong {
    color: #f1e8db;
}

.processing-status span {
    color: #c4b49f;
}

.processing-spinner {
    border-color: rgba(210, 154, 94, 0.24);
    border-top-color: #d29a5e;
}

.message-time {
    display: block;
    margin-top: 8px;
    color: #a99c8b;
    font-size: 11px;
    line-height: 1.2;
}
