﻿/* ==========================================================================
   Branding Studio â€” Form & Wizard Styles
   ========================================================================== */

/* â”€â”€ Field labels â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.brand-field-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--slate-600, #475569);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.4rem;
}

/* â”€â”€ Input wrapper (icon + input) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.brand-input-wrap {
    position: relative;
}
.brand-input-wrap .brand-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--slate-400, #94a3b8);
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 2;
}

/* â”€â”€ Inputs â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.brand-input {
    display: block;
    width: 100%;
    padding: 0.65rem 0.9rem 0.65rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--slate-800, #1e293b);
    background: var(--bg-surface, #fff);
    border: 1.5px solid var(--slate-200, #e2e8f0);
    border-radius: 0.6rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.brand-input:focus {
    border-color: var(--primary-500, #6366f1);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}
.brand-input::placeholder {
    color: var(--slate-400, #94a3b8);
    font-weight: 400;
}

/* Textarea (no icon offset) */
.brand-textarea {
    padding-left: 0.9rem;
    resize: vertical;
    min-height: 80px;
}

/* Select */
.brand-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 2rem;
}

/* â”€â”€ Consent checkboxes â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.consent-check {
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--slate-200, #e2e8f0);
    border-radius: 0.6rem;
    background: var(--bg-surface, #fff);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.consent-check:hover {
    border-color: var(--primary-500, #6366f1);
    background: var(--primary-50, #eef2ff);
}
.consent-check:has(input:checked) {
    border-color: var(--primary-500, #6366f1);
    background: linear-gradient(135deg, var(--primary-50, #eef2ff), rgba(255,255,255,0.9));
    box-shadow: 0 0 0 1px var(--primary-500, #6366f1);
}
.consent-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-600, #4f46e5);
    cursor: pointer;
    flex-shrink: 0;
}
.consent-check .fw-700 {
    font-size: 0.9rem;
    color: var(--slate-800, #1e293b);
}
.consent-check .text-muted {
    font-size: 0.8rem;
    line-height: 1.5;
}

/* â”€â”€ Option chips (brand values, colors, etc.) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.option-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.option-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border: 1.5px solid var(--slate-200, #e2e8f0);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--slate-600, #475569);
    cursor: pointer;
    transition: all 0.15s;
    background: var(--bg-surface, #fff);
}
.option-chip:hover {
    border-color: var(--primary-500, #6366f1);
    color: var(--primary-600, #4f46e5);
}
.option-chip.selected,
.option-chip:has(input:checked) {
    border-color: var(--primary-500, #6366f1);
    background: var(--primary-50, #eef2ff);
    color: var(--primary-700, #4338ca);
}
.option-chip input { display: none; }
.option-chip .chip-check { display: none; }
.option-chip.selected .chip-check,
.option-chip:has(input:checked) .chip-check { display: inline; color: var(--primary-600, #4f46e5); }

/* â”€â”€ Custom color picker (step 2) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.custom-color-input {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    background: none;
    overflow: hidden;
    -webkit-appearance: none;
    appearance: none;
}
.custom-color-input::-webkit-color-swatch-wrapper { padding: 0; }
.custom-color-input::-webkit-color-swatch { border: 2px solid var(--slate-200, #e2e8f0); border-radius: 50%; }
.custom-color-input::-moz-color-swatch { border: 2px solid var(--slate-200, #e2e8f0); border-radius: 50%; }
.custom-color-preview {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    border: 2px solid var(--slate-200, #e2e8f0);
}

/* Selected color chips */
.selected-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.selected-color-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.6rem 0.3rem 0.35rem;
    border: 1px solid var(--slate-200, #e2e8f0);
    border-radius: 999px;
    background: var(--bg-surface, #fff);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--slate-700, #334155);
    animation: chipIn 0.15s ease;
}
@keyframes chipIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}
.selected-color-fill {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
    flex-shrink: 0;
}
.selected-color-hex {
    font-family: 'SF Mono', 'Cascadia Code', 'Fira Code', monospace;
    font-size: 0.72rem;
    text-transform: uppercase;
}
.selected-color-remove {
    width: 18px;
    height: 18px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--slate-400, #94a3b8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    transition: all 0.15s;
    padding: 0;
}
.selected-color-remove:hover {
    background: var(--danger, #ef4444);
    color: #fff;
}

/* â”€â”€ Wizard card & progress â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.wizard-card {
    background: var(--bg-surface, #fff);
    border: 1px solid var(--slate-200, #e2e8f0);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.wizard-card-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.wizard-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 0.75rem;
    background: var(--primary-50, #eef2ff);
    color: var(--primary-600, #4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Progress bar */
.wizard-progress {
    display: flex;
    align-items: center;
    max-width: 500px;
}
.wizard-step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    flex-shrink: 0;
}
.wizard-step-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    border: 2px solid var(--slate-300, #cbd5e1);
    color: var(--slate-400, #94a3b8);
    background: var(--bg-surface, #fff);
    transition: all 0.3s;
}
.wizard-step-indicator.is-active .wizard-step-dot {
    border-color: var(--primary-500, #6366f1);
    background: var(--primary-500, #6366f1);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}
.wizard-step-indicator.is-complete .wizard-step-dot {
    border-color: var(--success, #10b981);
    background: var(--success, #10b981);
    color: #fff;
}
.wizard-step-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--slate-400, #94a3b8);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.wizard-step-indicator.is-active .wizard-step-label { color: var(--primary-600, #4f46e5); }
.wizard-step-indicator.is-complete .wizard-step-label { color: var(--success, #10b981); }

.wizard-progress-line {
    flex: 1;
    height: 2px;
    background: var(--slate-200, #e2e8f0);
    margin: 0 0.5rem;
    margin-bottom: 1.2rem;
    transition: background 0.3s;
}
.wizard-progress-line.is-filled { background: var(--success, #10b981); }

/* â”€â”€ Wizard actions â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.wizard-actions .btn-back {
    background: var(--slate-100, #f1f5f9);
    border: none;
    color: var(--slate-600, #475569);
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 0.5rem;
}
.wizard-actions .btn-back:hover { background: var(--slate-200, #e2e8f0); }

/* â”€â”€ Autosave status â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.autosave-status {
    font-size: 0.75rem;
    color: var(--slate-400, #94a3b8);
}
.autosave-status.is-saving { color: var(--warning, #f59e0b); }
.autosave-status.is-saved { color: var(--success, #10b981); }

/* â”€â”€ Library groups (step 4) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.library-groups { margin-top: 0.5rem; }
.library-group-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--slate-500, #64748b);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--slate-100, #f1f5f9);
}

/* â”€â”€ Collection card (full, step 4) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}
.collection-card {
    border: 2px solid var(--slate-200, #e2e8f0);
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--bg-surface, #fff);
}
.collection-card:hover { border-color: var(--primary-500, #6366f1); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.collection-card.is-selected { border-color: var(--primary-500, #6366f1); box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2); }
.collection-card input { display: none; }

.collection-cover {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: var(--slate-100, #f1f5f9);
}
.collection-cover img { width: 100%; height: 100%; object-fit: cover; }
.collection-cover-fallback {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.collection-cover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}
.collection-cover:hover .collection-cover-overlay { opacity: 1; }
.collection-selected-badge {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-500, #6366f1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.collection-body { padding: 0.85rem; }
.cc-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.cc-logo {
    width: 34px; height: 34px; border-radius: 8px; object-fit: cover;
    flex-shrink: 0; border: 1px solid var(--slate-200, #e2e8f0);
}
.cc-logo-fallback {
    display: flex; align-items: center; justify-content: center;
}
.cc-logo-fallback span { font-size: 0.85rem; font-weight: 800; color: #fff; }
.collection-name { font-size: 0.95rem; font-weight: 800; margin-bottom: 0; flex: 1; min-width: 0; }
.collection-name, .collection-industry { display: block; }
.collection-card .cc-header .collection-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.collection-industry { font-size: 0.7rem; color: var(--slate-400, #94a3b8); }
.cc-palette { display: flex; gap: 4px; }
.cc-swatch {
    width: 18px; height: 18px; border-radius: 5px;
    border: 1.5px solid var(--slate-200, #e2e8f0);
    transition: transform 0.15s; cursor: default;
}
.cc-swatch:hover { transform: scale(1.25); }
.cc-fonts { display: flex; gap: 0.3rem; flex-wrap: wrap; }
.cc-font {
    font-size: 0.65rem; font-weight: 600; color: var(--slate-500, #64748b);
    background: var(--slate-100, #f1f5f9); padding: 0.12rem 0.45rem; border-radius: 4px;
}
.collection-desc { font-size: 0.82rem; color: var(--slate-500, #64748b); line-height: 1.5; }
.collection-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.collection-cat {
    font-size: 0.6rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.04em; color: var(--slate-400, #94a3b8);
    background: var(--slate-100, #f1f5f9); padding: 0.15rem 0.45rem;
    border-radius: 4px; flex-shrink: 0; margin-left: auto;
}
.style-tag {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: var(--slate-100, #f1f5f9);
    color: var(--slate-500, #64748b);
    text-transform: capitalize;
}
.collection-examples {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.75rem;
    color: var(--slate-500, #64748b);
}
.collection-examples i { color: var(--success, #10b981); }

.collection-choose { display: block; margin-top: 0.5rem; }
.collection-choose-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.5rem;
    border: 1.5px solid var(--primary-500, #6366f1);
    border-radius: 0.5rem;
    color: var(--primary-600, #4f46e5);
    font-weight: 700;
    font-size: 0.82rem;
    transition: all 0.15s;
}
.collection-choose:hover .collection-choose-btn,
.collection-card.is-selected .collection-choose-btn {
    background: var(--primary-500, #6366f1);
    color: #fff;
}

/* â”€â”€ Collection summary bar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.collection-summary {
    background: linear-gradient(135deg, var(--primary-50, #eef2ff), rgba(255,255,255,0.9));
    border: 1.5px solid var(--primary-200, #c7d2fe);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
}
.summary-thumb {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    object-fit: cover;
    background: var(--slate-200, #e2e8f0);
}
.summary-check {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-500, #6366f1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── Landing collection cards ─────────────────────────────── */
.landing-collection {
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
    transition: transform 0.2s, box-shadow 0.2s;
}
.landing-collection:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.landing-collection-cover {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.landing-collection-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.landing-collection-cover .collection-cat {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.landing-collection-body {
    padding: 1rem;
}
.lc-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.6rem;
}
.lc-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #e5e7eb;
}
.lc-logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
}
.lc-logo-fallback span {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
}
.lc-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}
.lc-industry {
    font-size: 0.72rem;
    color: #6b7280;
}
.lc-desc {
    font-size: 0.78rem;
    color: #6b7280;
    margin: 0 0 0.6rem;
    line-height: 1.45;
}
.lc-palette {
    display: flex;
    gap: 4px;
    margin-bottom: 0.5rem;
}
.lc-swatch {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid #e5e7eb;
    transition: transform 0.15s;
}
.lc-swatch:hover {
    transform: scale(1.2);
}
.lc-fonts {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}
.lc-font {
    font-size: 0.68rem;
    font-weight: 600;
    color: #6b7280;
    background: #f3f4f6;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}
.lc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 0.75rem;
}
.lc-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--lc-accent, #6366f1);
    text-decoration: none;
    transition: gap 0.2s;
}
.lc-cta:hover {
    gap: 0.65rem;
    color: var(--lc-accent, #4f46e5);
}
.lc-cta i {
    font-size: 0.7rem;
    transition: transform 0.2s;
}
.lc-cta:hover i {
    transform: translateX(2px);
}

/* Gallery Arrow Button */
.lc-gallery-btn {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.95);
    color: #111827;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.2s;
    z-index: 5;
    opacity: 0;
}
.landing-collection-cover:hover .lc-gallery-btn {
    opacity: 1;
}
.collection-cover:hover .lc-gallery-btn {
    opacity: 1;
}
.lc-gallery-btn:hover {
    background: var(--lc-accent, #6366f1);
    color: #fff;
    transform: scale(1.1);
}

/* Gallery Modal */
.lc-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.lc-modal {
    background: #111827;
    border-radius: 20px;
    width: 100%;
    max-width: 800px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}
.lc-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s;
}
.lc-modal-close:hover { background: rgba(255,255,255,0.2); }
.lc-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem 0.75rem;
}
.lc-modal-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #f3f4f6;
}
.lc-modal-counter {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    background: rgba(255,255,255,0.08);
    padding: 0.2rem 0.6rem;
    border-radius: 8px;
}
.lc-modal-body {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
}
.lc-modal-slide {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 400px;
}
.lc-modal-slide img {
    width: 100%;
    max-height: 450px;
    object-fit: contain;
}
.lc-modal-label {
    padding: 0.75rem 1.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: center;
    width: 100%;
}
.lc-modal-arrow {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: none;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}
.lc-modal-prev { left: 0.75rem; }
.lc-modal-next { right: 0.75rem; }
.lc-modal-arrow:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-50%) scale(1.05);
}
.lc-modal-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 0.5rem 1.5rem 1.25rem;
}
.lc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    cursor: pointer;
    transition: all 0.2s;
}
.lc-dot.active {
    background: #6366f1;
    width: 20px;
    border-radius: 4px;
}
.lc-dot:hover { background: rgba(255,255,255,0.3); }

/* â”€â”€ Dropzone (step 3) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dropzone {
    border: 2px dashed var(--slate-300, #cbd5e1);
    border-radius: 0.75rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--bg-surface, #fff);
}
.dropzone:hover,
.dropzone:focus-visible {
    border-color: var(--primary-500, #6366f1);
    background: var(--primary-50, #eef2ff);
}
.dropzone.is-dragover {
    border-color: var(--primary-500, #6366f1);
    background: var(--primary-50, #eef2ff);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}
.dropzone-inner { max-width: 400px; margin: 0 auto; }
.dropzone-icon {
    font-size: 2.5rem;
    color: var(--primary-500, #6366f1);
    margin-bottom: 0.75rem;
}
.type-pill {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: var(--slate-100, #f1f5f9);
    color: var(--slate-500, #64748b);
}

/* â”€â”€ Upload list / items â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.upload-list { display: flex; flex-direction: column; gap: 0.5rem; }
.upload-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--slate-200, #e2e8f0);
    border-radius: 0.6rem;
    background: var(--bg-surface, #fff);
    transition: all 0.2s;
}
.upload-item:hover { border-color: var(--slate-300, #cbd5e1); }
.upload-item.is-uploading { opacity: 0.7; }
.upload-item.is-error { border-color: var(--danger, #ef4444); background: #fef2f2; }
.upload-thumb {
    width: 40px;
    height: 40px;
    border-radius: 0.4rem;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--slate-100, #f1f5f9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-400, #94a3b8);
}
.upload-thumb img { width: 100%; height: 100%; object-fit: cover; }
.upload-thumb-file { font-size: 1.1rem; }
.upload-meta { flex: 1; min-width: 0; }
.upload-name {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--slate-800, #1e293b);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.upload-sub { display: block; font-size: 0.75rem; color: var(--slate-400, #94a3b8); }
.upload-type-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: var(--primary-50, #eef2ff);
    color: var(--primary-600, #4f46e5);
    flex-shrink: 0;
}
.upload-remove {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 0.4rem;
    background: transparent;
    color: var(--slate-400, #94a3b8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    flex-shrink: 0;
}
.upload-remove:hover { background: var(--danger, #ef4444); color: #fff; }

/* â”€â”€ Button brand primary â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.btn-brand-primary {
    background: linear-gradient(135deg, var(--primary-600, #4f46e5), var(--primary-500, #6366f1));
    color: #fff;
    border: none;
    font-weight: 700;
    padding: 0.6rem 1.4rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}
.btn-brand-primary:hover {
    background: linear-gradient(135deg, var(--primary-700, #4338ca), var(--primary-600, #4f46e5));
    color: #fff;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
    transform: translateY(-1px);
}
.btn-brand-primary:active { transform: translateY(0); }

/* â”€â”€ Tracking utility â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.tracking-widest { letter-spacing: 0.08em; }

/* ==========================================================================
   Branding Studio â€” Messaging Styles
   ========================================================================== */

/* â”€â”€ Thread container â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.messages-thread {
    max-height: 520px;
    overflow-y: auto;
    padding: 0.75rem;
    scroll-behavior: smooth;
    border: 1px solid var(--bs-border-color, #e5e7eb);
    border-radius: 0.75rem;
    background: var(--bs-tertiary-bg, #f8fafc);
}

/* â”€â”€ Message items â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.message-item {
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
    border: 1px solid var(--bs-border-color, #e5e7eb);
    background: var(--bs-body-bg, #fff);
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
    position: relative;
}
.message-item:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

/* â”€â”€ Unread indicator â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.msg-unread {
    border-left: 3px solid var(--bs-warning, #f59e0b);
    background: linear-gradient(135deg, #fffbeb 0%, var(--bs-body-bg, #fff) 100%);
}
.msg-unread::after {
    content: 'NEW';
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.1rem 0.4rem;
    border-radius: 0.2rem;
    background: var(--bs-warning, #f59e0b);
    color: #fff;
    line-height: 1;
}

/* â”€â”€ Staff vs client â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.message-staff {
    border-left: 3px solid var(--bs-primary, #6366f1);
    margin-left: 1.5rem;
}
.message-client {
    border-left: 3px solid var(--bs-secondary, #94a3b8);
    margin-right: 1.5rem;
}
.message-staff.msg-unread {
    border-left-color: var(--bs-primary, #6366f1);
}
.message-client.msg-unread {
    border-left-color: var(--bs-secondary, #94a3b8);
}

/* â”€â”€ Replies nesting â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.message-replies {
    padding-left: 1rem;
    border-left: 2px solid var(--bs-border-color, #e5e7eb);
    margin-left: 0.5rem;
    margin-top: 0.5rem;
}
.message-replies .message-reply {
    padding: 0.625rem 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--bs-border-color, #e5e7eb);
    background: var(--bs-body-bg, #fff);
    transition: box-shadow 0.2s;
}
.message-replies .message-reply:hover {
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.message-replies .message-reply.msg-unread {
    background: linear-gradient(135deg, #fffbeb 0%, var(--bs-body-bg, #fff) 100%);
}

/* â”€â”€ Avatar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.message-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bs-secondary, #94a3b8);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: transform 0.15s;
}
.message-item:hover .message-avatar {
    transform: scale(1.05);
}
.message-avatar-staff {
    background: var(--bs-primary, #6366f1);
}
.message-avatar-sm {
    width: 26px;
    height: 26px;
    font-size: 0.7rem;
}

/* â”€â”€ Role badges â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.message-role-badge {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.12rem 0.4rem;
    border-radius: 0.2rem;
    background: var(--bs-primary, #6366f1);
    color: #fff;
    line-height: 1;
}
.message-role-client {
    background: var(--bs-secondary, #94a3b8);
}

/* â”€â”€ Message body â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.message-body {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--bs-body-color, #1f2937);
    word-break: break-word;
}

/* â”€â”€ Message time â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.message-time {
    white-space: nowrap;
}

/* â”€â”€ Compose area â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.messages-compose {
    position: sticky;
    bottom: 0;
    background: var(--bs-body-bg, #fff);
    border: 1px solid var(--bs-border-color, #e5e7eb);
    border-radius: 0.75rem !important;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.04);
    z-index: 2;
}
.messages-compose textarea {
    resize: none;
    border-radius: 0.5rem;
    border: 1px solid var(--bs-border-color, #e5e7eb);
    transition: border-color 0.15s;
}
.messages-compose textarea:focus {
    border-color: var(--bs-primary, #6366f1);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}

/* â”€â”€ Character count â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.char-count {
    position: absolute;
    bottom: 0.35rem;
    right: 0.6rem;
    pointer-events: none;
}

/* â”€â”€ Reply preview bar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.reply-preview {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    background: var(--bs-tertiary-bg, #f1f5f9);
    border-radius: 0.5rem;
    border-left: 3px solid var(--bs-primary, #6366f1);
    animation: slideDown 0.15s ease-out;
}

/* â”€â”€ Poll status bar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.messages-poll-bar {
    padding: 0.3rem 0.5rem;
    border-radius: 0.5rem;
    background: var(--bs-tertiary-bg, #f1f5f9);
}
.poll-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bs-success, #22c55e);
    animation: pulse 2s infinite;
}

/* â”€â”€ New messages divider â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.new-messages-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.75rem 0;
    color: var(--bs-primary, #6366f1);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.new-messages-divider::before,
.new-messages-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--bs-primary, #6366f1);
    opacity: 0.3;
}

/* â”€â”€ Tab count badge â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--bs-primary, #6366f1);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    margin-left: 0.35rem;
    line-height: 1;
    animation: popIn 0.2s ease-out;
}

/* â”€â”€ Animations â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.msg-animate {
    animation: msgSlideIn 0.25s ease-out;
}
@keyframes msgSlideIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.4; }
}
@keyframes popIn {
    from { transform: scale(0.6); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

/* â”€â”€ Scrollbar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.messages-thread::-webkit-scrollbar {
    width: 5px;
}
.messages-thread::-webkit-scrollbar-track {
    background: transparent;
}
.messages-thread::-webkit-scrollbar-thumb {
    background: var(--bs-border-color, #d1d5db);
    border-radius: 10px;
}
.messages-thread::-webkit-scrollbar-thumb:hover {
    background: var(--bs-secondary, #94a3b8);
}

/* ==========================================================================
   Feedback / Review Styles
   ========================================================================== */

/* â”€â”€ Star rating input â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.star-rating-input {
    display: inline-flex;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 0;
}
.star-rating-input .star-input {
    font-size: 2.25rem;
    color: var(--bs-secondary, #94a3b8);
    transition: color 0.15s, transform 0.15s;
    cursor: pointer;
}
.star-rating-input .star-input:hover,
.star-rating-input .star-input.active {
    color: #f59e0b;
    transform: scale(1.15);
}
.star-rating-input .star-input.hover-preview {
    color: #fbbf24;
    transform: scale(1.08);
}

/* â”€â”€ Feedback card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.feedback-card {
    border: 1px solid var(--bs-border-color, #e5e7eb);
    background: var(--bs-body-bg, #fff);
}
.feedback-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bs-primary, #6366f1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

/* â”€â”€ Staff response card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.staff-response-card {
    border-left: 3px solid var(--bs-primary, #6366f1);
    background: var(--bs-tertiary-bg, #f8fafc);
}

/* â”€â”€ Feedback form â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.feedback-form-wrap .detail-card {
    border: 1px solid var(--bs-border-color, #e5e7eb);
}
.feedback-form-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* â”€â”€ Feedback list page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.feedback-list-card {
    border: 1px solid var(--bs-border-color, #e5e7eb);
    background: var(--bs-body-bg, #fff);
    transition: box-shadow 0.2s, border-color 0.2s;
}
.feedback-list-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border-color: var(--bs-primary, #6366f1);
}

/* â”€â”€ Rating breakdown bar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.rating-bar-track {
    height: 8px;
    background: var(--bs-border-color, #e5e7eb);
    border-radius: 999px;
    overflow: hidden;
}
.rating-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #f97316);
    border-radius: 999px;
    transition: width 0.4s ease;
}

/* â”€â”€ Recommend badges â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bg-success-subtle {
    background-color: rgba(34,197,94,0.1) !important;
}
.bg-danger-subtle {
    background-color: rgba(239,68,68,0.1) !important;
}

/* ==========================================================================
   Supervisor Dashboard
   ========================================================================== */

/* â”€â”€ Metric cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.supervisor-card {
    background: var(--bg-surface, #fff);
    border: 1px solid var(--slate-200, #e2e8f0);
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    transition: box-shadow 0.2s;
}
.supervisor-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.supervisor-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.sc-active { background: #eef2ff; color: #6366f1; }
.sc-overdue { background: #fef2f2; color: #ef4444; }
.sc-time { background: #fefce8; color: #ca8a04; }
.sc-designers { background: #f0fdf4; color: #16a34a; }
.sc-workload { background: #f0f9ff; color: #0284c7; }
.sc-satisfaction { background: #fefce8; color: #f59e0b; }
.supervisor-card-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--slate-800, #1e293b);
    line-height: 1.2;
}
.supervisor-card-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--slate-400, #94a3b8);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-top: 0.2rem;
}

/* â”€â”€ Status mini cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.status-mini-card {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--slate-200, #e2e8f0);
    border-radius: 0.5rem;
    background: var(--bg-surface, #fff);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--slate-600, #475569);
    text-decoration: none;
    transition: all 0.15s;
}
.status-mini-card:hover { border-color: var(--primary-500, #6366f1); color: var(--primary-600, #4f46e5); }
.status-mini-card.is-active { border-color: var(--primary-500, #6366f1); background: var(--primary-50, #eef2ff); color: var(--primary-700, #4338ca); }
.status-mini-card strong { font-weight: 800; }
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.dot-pending { background: #f59e0b; }
.dot-review { background: #3b82f6; }
.dot-assigned { background: #8b5cf6; }
.dot-designing { background: #6366f1; }
.dot-waiting { background: #f97316; }
.dot-revision { background: #ef4444; }
.dot-completed { background: #22c55e; }

/* â”€â”€ Tabs â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.supervisor-tabs {
    border-bottom: 2px solid var(--slate-100, #f1f5f9);
    padding-bottom: 0;
    gap: 0;
}
.supervisor-tabs .nav-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--slate-400, #94a3b8);
    padding: 0.6rem 1rem;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}
.supervisor-tabs .nav-link:hover { color: var(--primary-600, #4f46e5); }
.supervisor-tabs .nav-link.active {
    color: var(--primary-600, #4f46e5);
    border-bottom-color: var(--primary-500, #6366f1);
}

/* â”€â”€ Panels â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.supervisor-panel {
    background: var(--bg-surface, #fff);
    border: 1px solid var(--slate-200, #e2e8f0);
    border-radius: 0.75rem;
    padding: 1.25rem;
}

/* â”€â”€ Chart Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.chart-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.chart-card h5 { flex-shrink: 0; }
.chart-container {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}
.chart-container-wide {
    height: 220px;
}
.chart-container-circular {
    height: 220px;
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
}
.chart-container canvas {
    max-height: 100%;
}
.chart-empty {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--slate-400, #94a3b8);
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
}
.chart-empty i { font-size: 1.6rem; opacity: 0.5; }

/* â”€â”€ Table â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.supervisor-table {
    font-size: 0.85rem;
}
.supervisor-table thead th {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--slate-400, #94a3b8);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--slate-100, #f1f5f9);
    padding: 0.6rem 0.75rem;
}
.supervisor-table tbody td {
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid var(--slate-50, #f8fafc);
}

/* Staff avatar */
.staff-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-500, #6366f1), var(--primary-600, #4f46e5));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* On-time badges */
.on-time-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}
.on-time-good { background: #dcfce7; color: #16a34a; }
.on-time-warn { background: #fef9c3; color: #ca8a04; }
.on-time-bad { background: #fef2f2; color: #ef4444; }

/* Workload badges */
.workload-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}
.workload-ok { background: #f1f5f9; color: #475569; }
.workload-over { background: #fef2f2; color: #ef4444; animation: pulse-warn 2s infinite; }
@keyframes pulse-warn {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.3); }
    50% { box-shadow: 0 0 0 4px rgba(239,68,68,0.1); }
}

/* â”€â”€ Alerts â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.supervisor-alerts {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.supervisor-alert {
    display: flex;
    align-items: center;
    padding: 0.6rem 0.85rem;
    border-radius: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s;
    border: 1px solid transparent;
}
.supervisor-alert:hover { transform: translateX(2px); }
.supervisor-alert-warning { background: #fefce8; color: #a16207; border-color: #fde68a; }
.supervisor-alert-danger { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.supervisor-alert-info { background: #f0f9ff; color: #0369a1; border-color: #bae6fd; }

/* â”€â”€ Activity feed â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.activity-feed {
    display: flex;
    flex-direction: column;
}
.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--slate-50, #f8fafc);
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}
.activity-item:hover { background: var(--slate-50, #f8fafc); }
.activity-item:last-child { border-bottom: none; }
.activity-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.35rem;
}
.dot-status { background: #3b82f6; }
.dot-assign { background: #8b5cf6; }
.dot-upload { background: #22c55e; }
.dot-default { background: var(--slate-300, #cbd5e1); }
.activity-content { flex: 1; min-width: 0; }

/* â”€â”€ Priority badges (shared) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.priority-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.priority-low { background: #f0fdf4; color: #16a34a; }
.priority-medium { background: #fefce8; color: #ca8a04; }
.priority-high { background: #fff7ed; color: #ea580c; }
.priority-urgent { background: #fef2f2; color: #dc2626; }

/* â”€â”€ Status pills (shared) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.status-pill {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}
.status-pending_review { background: #fefce8; color: #a16207; }
.status-in_review { background: #eff6ff; color: #1d4ed8; }
.status-assigned { background: #f5f3ff; color: #6d28d9; }
.status-designing { background: #eef2ff; color: #4f46e5; }
.status-waiting_client { background: #fff7ed; color: #c2410c; }
.status-revision { background: #fef2f2; color: #b91c1c; }
.status-approved { background: #f0fdf4; color: #15803d; }
.status-completed { background: #dcfce7; color: #16a34a; }
.status-archived { background: #f1f5f9; color: #64748b; }

/* â”€â”€ Button icon â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.btn-icon {
    width: 30px;
    height: 30px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.4rem;
    color: var(--slate-500, #64748b);
    border: 1px solid var(--slate-200, #e2e8f0);
    background: var(--bg-surface, #fff);
    transition: all 0.15s;
}
.btn-icon:hover { border-color: var(--primary-500, #6366f1); color: var(--primary-600, #4f46e5); background: var(--primary-50, #eef2ff); }

/* ==========================================================================
   Supervisor Detail Views â€” Designer Detail, Team, Review
   ========================================================================== */

/* â”€â”€ Designer profile â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.designer-profile-card {
    background: var(--bg-surface, #fff);
    border: 1px solid var(--slate-200, #e2e8f0);
    border-radius: 0.75rem;
    padding: 1.25rem;
}

/* â”€â”€ Checklist grid â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.form-check {
    transition: background 0.15s, border-color 0.15s;
}
.form-check:has(.form-check-input:checked) {
    background: rgba(34,197,94,0.08) !important;
    border-color: #22c55e !important;
}
.form-check .form-check-input:checked {
    background-color: #22c55e;
    border-color: #22c55e;
}

/* â”€â”€ Review status badges â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.review-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}
.review-pending { background: #f1f5f9; color: #64748b; }
.review-approved { background: #dcfce7; color: #16a34a; }
.review-rejected { background: #fef2f2; color: #dc2626; }
.review-revision { background: #fefce8; color: #ca8a04; }

/* â”€â”€ Review card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.review-card {
    border-left: 3px solid var(--primary-500, #6366f1);
    background: var(--bg-surface, #fff);
}

/* â”€â”€ Breadcrumb overrides â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.breadcrumb-item + .breadcrumb-item::before {
    content: "\203a";
    color: var(--slate-300, #cbd5e1);
}

/* ==========================================================================
   Branding Board (Kanban)
   ========================================================================== */

/* ── Board Container ────────────────────────────────────────────── */
.kanban-page {
    background: var(--bs-body-bg, #f8fafc);
    min-height: 100vh;
}
.kanban-board {
    background: #f1f5f9;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}
.kanban-scroll {
    overflow-x: auto;
    padding: 1rem;
    -webkit-overflow-scrolling: touch;
}
.kanban-row {
    min-width: max-content;
}

/* ── Column ─────────────────────────────────────────────────────── */
.kanban-column {
    width: 260px;
    min-width: 260px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 180px);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.kanban-column.drag-over {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
    background: rgba(99, 102, 241, 0.02);
}
.kanban-column-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 12px 12px 0 0;
    position: sticky;
    top: 0;
    z-index: 2;
}
.kanban-column-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
    background: #f1f5f9;
    color: #64748b;
}
.kanban-column-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #374151;
    flex: 1;
}
.count-badge {
    font-size: 0.6rem;
    font-weight: 700;
    background: #e5e7eb;
    color: #475569;
    padding: 0.15em 0.5em;
    border-radius: 999px;
    min-width: 20px;
    text-align: center;
}

/* ── Cards Container ────────────────────────────────────────────── */
.kanban-cards {
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
    flex: 1;
    min-height: 60px;
}

/* ── Card ───────────────────────────────────────────────────────── */
.kanban-card {
    display: block;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.85rem;
    transition: all 0.2s ease;
    cursor: grab;
    color: inherit;
}
.kanban-card:hover {
    border-color: #c7d2fe;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.08);
    transform: translateY(-1px);
}
.kanban-card.dragging {
    opacity: 0.5;
    transform: rotate(2deg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.kanban-request-id {
    font-size: 0.7rem;
    font-weight: 800;
    color: #4f46e5;
    letter-spacing: -0.01em;
}
.kanban-company {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}
.kanban-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    margin-top: 0.35rem;
}
.kanban-meta span {
    font-size: 0.65rem;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}
.kanban-meta i {
    font-size: 0.6rem;
    color: #9ca3af;
}
.kanban-due {
    margin-top: 0.4rem;
    font-size: 0.6rem;
    font-weight: 600;
    color: #f59e0b;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.kanban-empty {
    text-align: center;
    padding: 2rem 0.5rem;
    color: #cbd5e1;
    font-size: 1.25rem;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 767.98px) {
    .kanban-column {
        width: 240px;
        min-width: 240px;
    }
    .kanban-card {
        padding: 0.7rem;
    }
}

/* ==========================================================================
   Branding Team Dashboard
   ========================================================================== */

/* ── Dashboard Page ─────────────────────────────────────────────── */
.dashboard-page {
    background: var(--bs-body-bg, #f8fafc);
    min-height: 100vh;
}

/* ── Stat Cards ─────────────────────────────────────────────────── */
.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 0.75rem;
    background: #fff !important;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
.stat-card:hover {
    border-color: #a5b4fc;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.1);
}
.stat-card.is-active {
    border-color: #6366f1 !important;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(99, 102, 241, 0.02)) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}
.stat-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.stat-1 { background: rgba(99, 102, 241, 0.1); color: #6366f1; }
.stat-2 { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.stat-3 { background: rgba(14, 165, 233, 0.1); color: #0ea5e9; }
.stat-4 { background: rgba(168, 85, 247, 0.1); color: #a855f7; }
.stat-5 { background: rgba(34, 197, 94, 0.1); color: #22c55e; }
.stat-6 { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.stat-7 { background: rgba(100, 116, 139, 0.1); color: #64748b; }
.stat-metric-1 { background: rgba(99, 102, 241, 0.1); color: #6366f1; }
.stat-metric-2 { background: rgba(14, 165, 233, 0.1); color: #0ea5e9; }
.stat-metric-3 { background: rgba(100, 116, 139, 0.1); color: #64748b; }
.stat-card-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.stat-card-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.stat-card-metric {
    cursor: default;
}
.stat-card-metric:hover {
    transform: none;
    box-shadow: none;
}

/* ── Dashboard Toolbar (Filter Bar) ─────────────────────────────── */
.dashboard-toolbar {
    background: #fff !important;
    border: 1px solid #e5e7eb;
    padding: 1.25rem;
    border-radius: 12px;
}
.filter-label {
    display: block;
    font-size: 0.6rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.35rem;
}
.dashboard-toolbar .form-control,
.dashboard-toolbar .form-select {
    background-color: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    color: #111827 !important;
    font-size: 0.8rem;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
}
.dashboard-toolbar .form-control:focus,
.dashboard-toolbar .form-select:focus {
    background-color: #fff !important;
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}
.search-wrap {
    position: relative;
}
.search-wrap i {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.8rem;
    pointer-events: none;
}
.search-wrap input {
    padding-left: 2rem;
}
.dashboard-toolbar .btn-brand-primary {
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
    border-radius: 8px;
}

/* ── Table Card ─────────────────────────────────────────────────── */
.table-card {
    background: #fff !important;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}
.branding-table thead th {
    font-size: 0.6rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
    white-space: nowrap;
}
.branding-table tbody td {
    padding: 0.75rem;
    font-size: 0.8rem;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}
.branding-table tbody tr:last-child td {
    border-bottom: none;
}
.branding-table tbody tr:hover td {
    background: rgba(99, 102, 241, 0.02);
}
.table-avatar {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}
.table-thumb {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #e5e7eb;
}

/* ── Empty State ─────────────────────────────────────────────────── */
.empty-state {
    padding: 3rem 1rem;
}
.empty-state-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.5rem;
    color: #94a3b8;
}

/* ── Pagination ─────────────────────────────────────────────────── */
.pagination .page-link {
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    margin: 0 2px;
    padding: 0.35rem 0.75rem;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    transition: all 0.15s;
}
.pagination .page-link:hover {
    background: #f1f5f9;
    border-color: #a5b4fc;
    color: #4f46e5;
}
.pagination .page-item.active .page-link {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #fff;
}
.pagination .page-item.disabled .page-link {
    opacity: 0.5;
}

/* ── Dashboard Responsive ───────────────────────────────────────── */
@media (max-width: 991.98px) {
    .dashboard-toolbar .row {
        gap: 0.5rem;
    }
}
@media (max-width: 767.98px) {
    .stat-card {
        padding: 1rem 0.5rem;
    }
    .stat-card-value {
        font-size: 1.25rem;
    }
    .branding-table {
        font-size: 0.75rem;
    }
    .branding-table thead {
        display: none;
    }
    .branding-table tbody tr {
        display: block;
        padding: 0.75rem;
        border-bottom: 1px solid #e5e7eb;
    }
    .branding-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.35rem 0;
        border-bottom: none;
    }
    .branding-table tbody td::before {
        content: attr(data-label);
        font-size: 0.6rem;
        font-weight: 700;
        color: #6b7280;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }
    .branding-table tbody td:last-child {
        justify-content: flex-end;
    }
}

/* ==========================================================================
   Designer Dashboard — Clean Light Workspace (Sidebar Layout)
   ========================================================================== */

/* â”€â”€ Full Viewport Layout â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
body.dd-active {
    background: #f5f5f7 !important;
    overflow-x: hidden;
}
body.dd-active .bg-blob,
body.dd-active .branding-header,
body.dd-active .branding-footer,
body.dd-active footer {
    display: none !important;
}
body.dd-active .branding-page {
    background: #f5f5f7;
    padding: 0;
    margin: 0;
}

.dd-layout {
    display: flex;
    min-height: 100vh;
    background: #f5f5f7;
}

/* â”€â”€ Sidebar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 240px;
    height: 100vh;
    background: #ffffff;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    z-index: 100;
    overflow-y: auto;
    overflow-x: hidden;
}
.dd-sidebar::-webkit-scrollbar { width: 4px; }
.dd-sidebar::-webkit-scrollbar-track { background: transparent; }
.dd-sidebar::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }

.dd-sidebar-logo {
    padding: 1.25rem 1.25rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0.5rem;
}
.dd-sidebar-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #818cf8, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.dd-sidebar-logo-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.02em;
}
.dd-sidebar-logo-sub {
    font-size: 0.6rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.dd-sidebar-nav {
    flex: 1;
    padding: 0.5rem 0.75rem;
}
.dd-sidebar-section {
    margin-bottom: 1rem;
}
.dd-sidebar-section-title {
    font-size: 0.6rem;
    font-weight: 600;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 0.75rem 0.35rem;
}
.dd-nav-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-bottom: 2px;
    position: relative;
}
.dd-nav-item:hover {
    color: #374151;
    background: #f3f4f6;
}
.dd-nav-item.active {
    color: #4f46e5;
    background: rgba(99, 102, 241, 0.08);
    font-weight: 600;
}
.dd-nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background: #818cf8;
    border-radius: 0 2px 2px 0;
}
.dd-nav-item i {
    width: 18px;
    text-align: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.dd-nav-item.active i {
    color: #6366f1;
}
.dd-nav-badge {
    margin-left: auto;
    background: rgba(129, 140, 248, 0.15);
    color: #818cf8;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 0.15em 0.45em;
    border-radius: 4px;
}

.dd-sidebar-user {
    padding: 1rem 1.25rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.dd-sidebar-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #d1d5db, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}
.dd-sidebar-user-info {
    flex: 1;
    min-width: 0;
}
.dd-sidebar-user-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dd-sidebar-user-role {
    font-size: 0.65rem;
    color: #6b7280;
}

/* â”€â”€ Main Content â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-main {
    flex: 1;
    margin-left: 240px;
    min-height: 100vh;
    background: #f5f5f7;
}

/* â”€â”€ Top Bar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
    padding: 0.85rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dd-topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.dd-topbar-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.02em;
}
.dd-topbar-subtitle {
    font-size: 0.8rem;
    color: #6b7280;
}
.dd-topbar-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.dd-topbar-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.dd-topbar-btn:hover {
    color: #111827;
    border-color: #d1d5db;
    background: #f3f4f6;
}
.dd-topbar-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #d1d5db, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
}

/* â”€â”€ Content Area â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-content {
    padding: 1.5rem 2rem 2rem;
}

/* â”€â”€ Metric Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-metrics {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.dd-metric {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.1rem 1rem;
    transition: all 0.25s ease;
    cursor: default;
}
.dd-metric:hover {
    border-color: #d1d5db;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.dd-metric-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}
.dd-metric-icon.mi-active { background: rgba(129, 140, 248, 0.1); color: #818cf8; }
.dd-metric-icon.mi-today { background: rgba(251, 191, 36, 0.1); color: #fbbf24; }
.dd-metric-icon.mi-overdue { background: rgba(248, 113, 113, 0.1); color: #f87171; }
.dd-metric-icon.mi-feedback { background: rgba(251, 146, 60, 0.1); color: #fb923c; }
.dd-metric-icon.mi-avg { background: rgba(34, 211, 238, 0.1); color: #22d3ee; }
.dd-metric-icon.mi-next { background: rgba(52, 211, 153, 0.1); color: #34d399; }
.dd-metric-icon.mi-alert {
    background: rgba(248, 113, 113, 0.15);
    color: #f87171;
    box-shadow: 0 0 12px rgba(248, 113, 113, 0.2);
}
.dd-metric-value {
    font-size: 1.65rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}
.dd-metric-label {
    font-size: 0.65rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.2rem;
}

/* â”€â”€ Section Panels â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-panel {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
}
.dd-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
}
.dd-panel-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.dd-panel-title i {
    color: #6366f1;
    font-size: 0.8rem;
}
.dd-panel-count {
    font-size: 0.65rem;
    color: #4b5563;
}

/* â”€â”€ Priority Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-priority-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}
.dd-priority-card:last-child { margin-bottom: 0; }
.dd-priority-card:hover {
    border-color: #d1d5db;
    border-left-color: #818cf8;
}
.dd-priority-card.dp-overdue {
    border-left-color: #f87171;
    background: linear-gradient(90deg, rgba(248, 113, 113, 0.04), #ffffff);
}
.dd-priority-card.dp-today {
    border-left-color: #fbbf24;
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.04), #ffffff);
}

/* â”€â”€ Project Tabs â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    padding: 0.25rem;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}
.dd-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.dd-tab:hover {
    color: #6b7280;
    background: #f3f4f6;
}
.dd-tab.active {
    color: #111827;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    font-weight: 600;
}
.dd-tab-badge {
    font-size: 0.58rem;
    font-weight: 600;
    padding: 0.1em 0.4em;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
}
.dd-tab.active .dd-tab-badge {
    background: rgba(129, 140, 248, 0.15);
    color: #818cf8;
}

/* â”€â”€ Project Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-project-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.dd-project-card:last-child { margin-bottom: 0; }
.dd-project-card:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}
.dd-project-thumb {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #e5e7eb;
    flex-shrink: 0;
}
.dd-project-thumb.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5e7eb;
    color: #4b5563;
    font-size: 0.85rem;
}
.dd-project-info {
    flex: 1;
    min-width: 0;
}
.dd-project-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    display: block;
    margin-bottom: 0.15rem;
}
.dd-project-title:hover { color: #111827; }
.dd-project-meta {
    font-size: 0.7rem;
    color: #6b7280;
}
.dd-project-badges {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}
.dd-project-actions {
    display: flex;
    gap: 0.35rem;
    flex-shrink: 0;
}

/* â”€â”€ Status & Priority â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-status {
    font-size: 0.6rem;
    font-weight: 600;
    padding: 0.2em 0.5em;
    border-radius: 5px;
    white-space: nowrap;
}
.dd-status-designing { background: rgba(129, 140, 248, 0.1); color: #818cf8; }
.dd-status-assigned { background: rgba(251, 191, 36, 0.1); color: #fbbf24; }
.dd-status-waiting_client { background: rgba(251, 146, 60, 0.1); color: #fb923c; }
.dd-status-completed { background: rgba(52, 211, 153, 0.1); color: #34d399; }
.dd-status-revision { background: rgba(248, 113, 113, 0.1); color: #f87171; }

.dd-priority {
    font-size: 0.55rem;
    font-weight: 700;
    padding: 0.15em 0.4em;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.dd-priority-high { background: rgba(248, 113, 113, 0.1); color: #f87171; }
.dd-priority-medium { background: rgba(251, 191, 36, 0.1); color: #fbbf24; }
.dd-priority-low { background: rgba(52, 211, 153, 0.1); color: #34d399; }

/* â”€â”€ Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 7px;
    font-size: 0.7rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}
.dd-btn-primary {
    background: #6366f1;
    color: #ffffff;
}
.dd-btn-primary:hover {
    background: #a5b4fc;
    box-shadow: 0 0 12px rgba(129, 140, 248, 0.3);
}
.dd-btn-ghost {
    background: transparent;
    color: #6b7280;
    border: 1px solid #d1d5db;
}
.dd-btn-ghost:hover {
    color: #374151;
    border-color: #d1d5db;
    background: #f3f4f6;
}
.dd-btn-success {
    background: rgba(52, 211, 153, 0.1);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.15);
}
.dd-btn-success:hover {
    background: rgba(52, 211, 153, 0.18);
}

/* â”€â”€ Right Panel â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-right-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* â”€â”€ Calendar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}
.dd-cal-day {
    text-align: center;
    padding: 0.35rem 0.1rem;
    border-radius: 6px;
    background: #ffffff;
    min-height: 48px;
    transition: all 0.15s ease;
    border: 1px solid transparent;
}
.dd-cal-day:hover {
    background: #f3f4f6;
    border-color: #e5e7eb;
}
.dd-cal-today {
    background: rgba(129, 140, 248, 0.08) !important;
    border-color: rgba(129, 140, 248, 0.3) !important;
}
.dd-cal-weekend { opacity: 0.4; }
.dd-cal-deadline {
    background: rgba(251, 191, 36, 0.05);
    border-color: rgba(251, 191, 36, 0.15);
}
.dd-cal-date {
    font-size: 0.48rem;
    font-weight: 600;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.dd-cal-num {
    font-size: 0.75rem;
    font-weight: 700;
    color: #6b7280;
    line-height: 1.3;
}
.dd-cal-count {
    font-size: 0.45rem;
    font-weight: 700;
    color: #f87171;
    margin-top: 1px;
}

/* â”€â”€ Workload Bars â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-workload-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}
.dd-workload-row:last-child { margin-bottom: 0; }
.dd-workload-day {
    font-size: 0.65rem;
    font-weight: 500;
    color: #6b7280;
    width: 28px;
    flex-shrink: 0;
}
.dd-workload-track {
    flex: 1;
    height: 5px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}
.dd-workload-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #818cf8);
    border-radius: 999px;
    transition: width 0.5s ease;
    min-width: 2px;
}
.dd-workload-count {
    font-size: 0.65rem;
    font-weight: 600;
    color: #6b7280;
    width: 16px;
    text-align: right;
    flex-shrink: 0;
}

/* â”€â”€ Quick Tools â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
}
.dd-tool-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.65rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}
.dd-tool-card:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}
.dd-tool-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}
.dd-tool-label {
    font-size: 0.68rem;
    font-weight: 500;
    color: #6b7280;
}

/* â”€â”€ Notifications â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-notif {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
}
.dd-notif:last-child { border-bottom: none; }
.dd-notif-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(129, 140, 248, 0.08);
    color: #818cf8;
    font-size: 0.6rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.dd-notif-content { flex: 1; min-width: 0; }
.dd-notif-text {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.4;
}
.dd-notif-time {
    font-size: 0.6rem;
    color: #4b5563;
    margin-top: 0.15rem;
}

/* â”€â”€ Empty State â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: #d1d5db;
}
.dd-empty i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
    color: #e5e7eb;
}
.dd-empty p {
    font-size: 0.8rem;
    margin: 0;
}

/* â”€â”€ Priority Alerts Bar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-alert-bar {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}
.dd-alert {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid;
    flex: 1;
    min-width: 160px;
}
.dd-alert i {
    font-size: 0.8rem;
    flex-shrink: 0;
}
.dd-alert strong {
    font-weight: 700;
}
.dd-alert-critical {
    background: rgba(248, 113, 113, 0.08);
    border-color: rgba(248, 113, 113, 0.2);
    color: #f87171;
}
.dd-alert-warning {
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}
.dd-alert-info {
    background: rgba(129, 140, 248, 0.08);
    border-color: rgba(129, 140, 248, 0.2);
    color: #818cf8;
}

/* â”€â”€ 2-Column Metrics â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-metrics-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* â”€â”€ 3-Column Metrics â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-metrics-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* â”€â”€ 4-Column Metrics â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-metrics-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* â”€â”€ 5-Column Metrics â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-metrics-5 {
    grid-template-columns: repeat(5, 1fr);
}

/* â”€â”€ 6-Column Metrics â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-metrics-6 {
    grid-template-columns: repeat(6, 1fr);
}

/* â”€â”€ 2-Column Grid â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* â”€â”€ 3-Column Grid â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

/* â”€â”€ Quick Actions â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}
.dd-action-card {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 0.75rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}
.dd-action-card:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: translateY(-1px);
}
.dd-action-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}
.dd-action-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #6b7280;
}

/* â”€â”€ Brand Library Summary â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-lib-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.dd-lib-stat {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.65rem;
    text-align: center;
}
.dd-lib-stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}
.dd-lib-stat-label {
    font-size: 0.6rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.15rem;
}
.dd-lib-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.dd-lib-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.6rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.15s ease;
}
.dd-lib-item:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}
.dd-lib-item-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    flex-shrink: 0;
}
.dd-lib-item-info {
    flex: 1;
    min-width: 0;
}
.dd-lib-item-name {
    font-size: 0.72rem;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dd-lib-item-meta {
    font-size: 0.6rem;
    color: #6b7280;
}

/* â”€â”€ Panel Link â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-panel-link {
    font-size: 0.65rem;
    font-weight: 500;
    color: #818cf8;
    text-decoration: none;
    transition: color 0.15s ease;
}
.dd-panel-link:hover {
    color: #a5b4fc;
}

/* â”€â”€ Notification Dot â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-notif-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 7px;
    height: 7px;
    background: #f87171;
    border-radius: 50%;
    border: 2px solid #f3f4f6;
}

/* â”€â”€ Priority Company â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-priority-company {
    font-size: 0.65rem;
    color: #4b5563;
    margin-top: 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* â”€â”€ Content Grid â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-main-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1rem;
}
.dd-main-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* â”€â”€ Digital Presence Components â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-panel-alert {
    border: 1px solid rgba(239, 68, 68, 0.2);
}
.dd-alert-count {
    font-size: 0.65rem;
    color: #ef4444;
    font-weight: 600;
}
.dd-alert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 8px;
}
.dd-alert-item {
    display: flex;
    align-items: start;
    gap: 8px;
    padding: 10px;
    background: #ffffff;
    border-radius: 8px;
    border-left: 3px solid transparent;
}
.dd-alert-critical { border-left-color: #ef4444; }
.dd-alert-warning { border-left-color: #fbbf24; }
.dd-alert-info { border-left-color: #818cf8; }
.dd-alert-item-body { flex: 1; min-width: 0; }
.dd-alert-item-title {
    font-size: 0.7rem;
    font-weight: 600;
    color: #111827;
}
.dd-alert-item-message {
    font-size: 0.6rem;
    color: #6b7280;
    margin-top: 2px;
}
.dd-severity-badge {
    font-size: 0.5rem;
    padding: 2px 5px;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 700;
    flex-shrink: 0;
}
.dd-severity-critical { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.dd-severity-warning { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }
.dd-severity-info { background: rgba(129, 140, 248, 0.15); color: #818cf8; }

/* Section Cards */
.dd-section-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
    align-items: stretch;
}
.dd-section-card {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}
.dd-section-card:hover {
    border-color: #d1d5db;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.dd-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.dd-section-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.dd-section-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #111827;
}
.dd-platform-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}
.dd-dot-row {
    font-size: 0.55rem;
    display: flex;
    align-items: center;
    gap: 3px;
    color: #6b7280;
}
.dd-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
}
.dd-section-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: #111827;
}
.dd-section-label {
    font-size: 0.6rem;
    color: #6b7280;
}
.dd-section-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}
.dd-section-stat-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: #111827;
}
.dd-section-stat-label {
    font-size: 0.55rem;
    color: #6b7280;
}
.dd-section-issue {
    font-size: 0.6rem;
    margin-top: 2px;
}
.dd-section-empty {
    font-size: 0.7rem;
    color: #6b7280;
    text-align: center;
    padding: 8px 0;
}
.dd-section-highlight {
    margin-top: 8px;
    padding: 6px;
    background: #f5f5f7;
    border-radius: 6px;
}
.dd-section-highlight-label {
    font-size: 0.55rem;
    color: #22c55e;
    font-weight: 600;
}
.dd-section-highlight-text {
    font-size: 0.55rem;
    color: #6b7280;
    margin-top: 2px;
}
.dd-color-good { color: #22c55e; }
.dd-color-warn { color: #fbbf24; }
.dd-color-bad { color: #ef4444; }
.dd-color-muted { color: #6b7280; }

/* Sync Grid */
.dd-sync-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.dd-sync-heading {
    font-size: 0.7rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}
.dd-sync-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    font-size: 0.6rem;
}
.dd-sync-name { color: #6b7280; }
.dd-sync-time { color: #6b7280; margin-left: auto; }
.dd-sync-empty { font-size: 0.6rem; color: #6b7280; }

/* â”€â”€ Select Inputs â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-select {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0.45rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 500;
    color: #111827;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    padding-right: 1.75rem;
}
.dd-select:hover { border-color: #4b5563; }
.dd-select:focus { border-color: #818cf8; box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.15); }

/* â”€â”€ Tables â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.72rem;
}
.dd-table th {
    text-align: left;
    padding: 0.6rem 0.75rem;
    font-size: 0.6rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid #e5e7eb;
    background: transparent;
}
.dd-table td {
    padding: 0.6rem 0.75rem;
    color: #6b7280;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}
.dd-table tr:last-child td { border-bottom: none; }
.dd-table tr:hover td { background: #f9fafb; }
.dd-table-link {
    color: #374151;
    text-decoration: none;
    font-weight: 600;
}
.dd-table-link:hover { color: #111827; }

/* â”€â”€ Platform Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.dd-platform-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.2s ease;
}
.dd-platform-card:hover {
    border-color: #d1d5db;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.dd-platform-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}
.dd-platform-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.dd-platform-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111827;
}
.dd-platform-status {
    font-size: 0.55rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.dd-platform-status-connected { background: rgba(34, 197, 94, 0.1); color: #22c55e; }
.dd-platform-status-sync_failed { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.dd-platform-status-not_connected { background: rgba(82, 82, 91, 0.1); color: #6b7280; }
.dd-platform-status-syncing { background: rgba(251, 191, 36, 0.1); color: #fbbf24; }
.dd-platform-status-unavailable { background: rgba(82, 82, 91, 0.1); color: #6b7280; }
.dd-platform-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 0.75rem;
}
.dd-platform-metric {
    background: #f5f5f7;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.65rem;
    text-align: center;
}
.dd-platform-metric-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
}
.dd-platform-metric-label {
    font-size: 0.55rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.15rem;
}
.dd-platform-highlight {
    margin-top: 0.75rem;
    padding: 0.5rem;
    background: #f5f5f7;
    border-radius: 6px;
}
.dd-platform-highlight-label {
    font-size: 0.55rem;
    color: #22c55e;
    font-weight: 600;
}
.dd-platform-highlight-text {
    font-size: 0.55rem;
    color: #6b7280;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* â”€â”€ Stat Cards (Reports) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 1rem;
}
.dd-stat-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.85rem;
    text-align: center;
}
.dd-stat-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
}
.dd-stat-label {
    font-size: 0.55rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.2rem;
}

/* â”€â”€ Chart Container â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-chart-container {
    position: relative;
    height: 260px;
    width: 100%;
}

/* â”€â”€ Issue / Opportunity Items â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-issue-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.dd-issue-column-title {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.dd-issue-item {
    padding: 0.65rem 0.75rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    border-left: 3px solid transparent;
    margin-bottom: 6px;
}
.dd-issue-item:last-child { margin-bottom: 0; }
.dd-issue-item-critical { border-left-color: #ef4444; }
.dd-issue-item-high { border-left-color: #fbbf24; }
.dd-issue-item-medium { border-left-color: #818cf8; }
.dd-issue-item-low { border-left-color: #6b7280; }
.dd-issue-item-name {
    font-size: 0.7rem;
    font-weight: 600;
    color: #374151;
}
.dd-issue-item-desc {
    font-size: 0.6rem;
    color: #6b7280;
    margin-top: 2px;
    line-height: 1.4;
}
.dd-issue-item-url {
    font-size: 0.55rem;
    color: #818cf8;
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* â”€â”€ Opportunity Items â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-opp-item {
    padding: 0.75rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 6px;
    border-left: 3px solid transparent;
}
.dd-opp-item:last-child { margin-bottom: 0; }
.dd-opp-item-critical { border-left-color: #ef4444; }
.dd-opp-item-high { border-left-color: #fbbf24; }
.dd-opp-item-medium { border-left-color: #818cf8; }
.dd-opp-item-info { border-left-color: #6b7280; }
.dd-opp-item-header {
    display: flex;
    align-items: center;
    gap: 6px;
}
.dd-opp-item-title {
    font-size: 0.7rem;
    font-weight: 600;
    color: #111827;
}
.dd-opp-item-badge {
    font-size: 0.5rem;
    padding: 1px 5px;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 700;
}
.dd-opp-item-data {
    font-size: 0.6rem;
    color: #6b7280;
    margin-top: 2px;
}
.dd-opp-item-action {
    font-size: 0.6rem;
    color: #22c55e;
    margin-top: 3px;
}
.dd-opp-item-page {
    font-size: 0.55rem;
    color: #818cf8;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* â”€â”€ Score Breakdown â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-score-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}
.dd-score-card {
    background: #f5f5f7;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 0.65rem;
    text-align: center;
}
.dd-score-value {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
}
.dd-score-label {
    font-size: 0.55rem;
    color: #6b7280;
}

/* â”€â”€ Progress Bar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-progress {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
    width: 100%;
}
.dd-progress-bar {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease;
}
.dd-progress-good .dd-progress-bar { background: #22c55e; }
.dd-progress-warn .dd-progress-bar { background: #fbbf24; }
.dd-progress-bad .dd-progress-bar { background: #ef4444; }
.dd-progress-info .dd-progress-bar { background: #818cf8; }

/* â”€â”€ Fix Now Button â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-fix-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.dd-fix-btn-critical {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.25);
}
.dd-fix-btn-critical:hover {
    background: rgba(239, 68, 68, 0.25);
}
.dd-fix-btn-warning {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.25);
}
.dd-fix-btn-warning:hover {
    background: rgba(251, 191, 36, 0.25);
}
.dd-fix-btn-primary {
    background: rgba(129, 140, 248, 0.15);
    color: #818cf8;
    border: 1px solid rgba(129, 140, 248, 0.25);
}
.dd-fix-btn-primary:hover {
    background: rgba(129, 140, 248, 0.25);
}
.dd-fix-btn-success {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.25);
}
.dd-fix-btn-success:hover {
    background: rgba(34, 197, 94, 0.25);
}

/* â”€â”€ Health Score Ring â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-health-ring {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}
.dd-health-ring svg {
    transform: rotate(-90deg);
    width: 80px;
    height: 80px;
}
.dd-health-ring-bg {
    fill: none;
    stroke: #e5e7eb;
    stroke-width: 6;
}
.dd-health-ring-bar {
    fill: none;
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.8s ease;
}
.dd-health-ring-value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: #111827;
}

/* â”€â”€ Sync Status Bar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-sync-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 16px;
}
.dd-sync-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.dd-sync-bar-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: dd-pulse 2s infinite;
}
.dd-sync-bar-dot.stale {
    background: #fbbf24;
    animation: none;
}
.dd-sync-bar-dot.offline {
    background: #ef4444;
    animation: none;
}
@keyframes dd-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.dd-sync-bar-text {
    font-size: 0.65rem;
    color: #6b7280;
}
.dd-sync-bar-time {
    font-size: 0.6rem;
    color: #6b7280;
}
.dd-sync-bar-actions {
    display: flex;
    gap: 6px;
}
.dd-sync-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
}
.dd-sync-btn:hover {
    background: #f3f4f6;
    border-color: #4b5563;
    color: #111827;
}

/* â”€â”€ Action Card Grid â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.dd-action-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}
.dd-action-item:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: translateY(-2px);
}
.dd-action-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}
.dd-action-item-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: #111827;
}
.dd-action-item-desc {
    font-size: 0.6rem;
    color: #6b7280;
    line-height: 1.4;
}

/* â”€â”€ Alert Banner â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-alert-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
}
.dd-alert-banner-critical {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
}
.dd-alert-banner-warning {
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.2);
}
.dd-alert-banner-success {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
}
.dd-alert-banner-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.dd-alert-banner-body {
    flex: 1;
    min-width: 0;
}
.dd-alert-banner-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: #111827;
}
.dd-alert-banner-message {
    font-size: 0.6rem;
    color: #6b7280;
    margin-top: 2px;
}
.dd-alert-banner-action {
    flex-shrink: 0;
}

/* â”€â”€ Section Divider â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 20px 0;
}
.dd-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.dd-section-heading-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 6px;
}
.dd-section-heading-action {
    font-size: 0.6rem;
    color: #818cf8;
    text-decoration: none;
    font-weight: 500;
}
.dd-section-heading-action:hover {
    color: #a5b4fc;
}

/* â”€â”€ Empty State CTA â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-empty-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 24px;
    text-align: center;
}
.dd-empty-cta-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.dd-empty-cta-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #111827;
}
.dd-empty-cta-desc {
    font-size: 0.65rem;
    color: #6b7280;
    max-width: 280px;
    line-height: 1.5;
}
.dd-empty-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.dd-empty-cta-btn-primary {
    background: #818cf8;
    color: #fff;
}
.dd-empty-cta-btn-primary:hover {
    background: #6366f1;
}
.dd-empty-cta-btn-outline {
    background: transparent;
    color: #818cf8;
    border: 1px solid rgba(129, 140, 248, 0.3);
}
.dd-empty-cta-btn-outline:hover {
    background: rgba(129, 140, 248, 0.1);
}

/* â”€â”€ Mobile Sidebar Toggle â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dd-sidebar-toggle {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #f3f4f6;
    color: #6b7280;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
}
.dd-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99;
}

/* â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 1200px) {
    .dd-metrics, .dd-metrics-4, .dd-metrics-5, .dd-metrics-6 {
        grid-template-columns: repeat(3, 1fr);
    }
    .dd-grid-3 {
        grid-template-columns: 1fr;
    }
    .dd-action-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dd-main-grid {
        grid-template-columns: 1fr;
    }
    .dd-right-col {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .dd-section-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dd-platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dd-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dd-issue-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    .dd-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    .dd-sidebar.open {
        transform: translateX(0);
    }
    .dd-sidebar-overlay.show {
        display: block;
    }
    .dd-sidebar-toggle {
        display: flex;
    }
    .dd-main {
        margin-left: 0;
    }
    .dd-content {
        padding: 1.25rem 1.25rem 2rem;
    }
    .dd-topbar {
        padding: 0.85rem 1.25rem;
    }
}

@media (max-width: 768px) {
    .dd-metrics, .dd-metrics-3, .dd-metrics-4, .dd-metrics-5, .dd-metrics-6 {
        grid-template-columns: repeat(2, 1fr);
    }
    .dd-grid-2, .dd-grid-3 {
        grid-template-columns: 1fr;
    }
    .dd-action-grid {
        grid-template-columns: 1fr;
    }
    .dd-metric-value {
        font-size: 1.35rem;
    }
    .dd-content {
        padding: 1rem;
    }
    .dd-topbar {
        padding: 0.75rem 1rem;
    }
    .dd-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dd-right-col {
        grid-template-columns: 1fr;
    }
    .dd-project-actions {
        display: none;
    }
    .dd-alert-bar {
        flex-direction: column;
    }
    .dd-alert {
        min-width: auto;
    }
    .dd-section-grid {
        grid-template-columns: 1fr;
    }
    .dd-issue-grid {
        grid-template-columns: 1fr;
    }
    .dd-sync-bar {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    .dd-alert-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .dd-alert-banner-action {
        align-self: flex-end;
    }
    .dd-sync-grid {
        grid-template-columns: 1fr;
    }
    .dd-alert-grid {
        grid-template-columns: 1fr;
    }
    .dd-platform-grid {
        grid-template-columns: 1fr;
    }
    .dd-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dd-score-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .dd-metrics, .dd-metrics-3, .dd-metrics-4, .dd-metrics-5, .dd-metrics-6 {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    .dd-action-grid {
        grid-template-columns: 1fr;
    }
    .dd-sync-bar {
        flex-direction: column;
        gap: 8px;
    }
    .dd-alert-banner {
        flex-direction: column;
        gap: 8px;
    }
    .dd-metric {
        padding: 0.85rem 0.75rem;
    }
    .dd-topbar-title {
        font-size: 1rem;
    }
    .dd-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .dd-tab {
        min-width: 80px;
        flex: none;
    }
    .dd-actions-grid {
        grid-template-columns: 1fr 1fr;
    }
    .dd-stat-grid {
        grid-template-columns: 1fr 1fr;
    }
    .dd-score-grid {
        grid-template-columns: 1fr 1fr;
    }
    .dd-platform-metrics {
        grid-template-columns: 1fr;
    }
}

/* â”€â”€ Light Theme â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
[data-dd-theme="light"] body.dd-active,
[data-dd-theme="light"] .dd-layout {
    background: #f8f9fa;
}
[data-dd-theme="light"] body.dd-active .branding-page {
    background: #f8f9fa;
}
[data-dd-theme="light"] .dd-sidebar {
    background: #ffffff;
    border-right-color: #e5e7eb;
}
[data-dd-theme="light"] .dd-sidebar-logo {
    border-bottom-color: #e5e7eb;
}
[data-dd-theme="light"] .dd-sidebar-logo-text {
    color: #111827;
}
[data-dd-theme="light"] .dd-sidebar-logo-sub {
    color: #9ca3af;
}
[data-dd-theme="light"] .dd-sidebar-section-title {
    color: #6b7280;
}
[data-dd-theme="light"] .dd-nav-item {
    color: #6b7280;
}
[data-dd-theme="light"] .dd-nav-item:hover {
    color: #111827;
    background: #f3f4f6;
}
[data-dd-theme="light"] .dd-nav-item.active {
    color: #111827;
    background: rgba(99, 102, 241, 0.08);
}
[data-dd-theme="light"] .dd-nav-item.active::before {
    background: #6366f1;
}
[data-dd-theme="light"] .dd-nav-item.active i {
    color: #6366f1;
}
[data-dd-theme="light"] .dd-sidebar-user {
    border-top-color: #e5e7eb;
}
[data-dd-theme="light"] .dd-sidebar-user-name {
    color: #111827;
}
[data-dd-theme="light"] .dd-sidebar-user-role {
    color: #9ca3af;
}
[data-dd-theme="light"] .dd-topbar {
    background: #ffffff;
    border-bottom-color: #e5e7eb;
}
[data-dd-theme="light"] .dd-topbar-title {
    color: #111827;
}
[data-dd-theme="light"] .dd-topbar-subtitle {
    color: #6b7280;
}
[data-dd-theme="light"] .dd-topbar-avatar {
    background: #e5e7eb;
    color: #374151;
}
[data-dd-theme="light"] .dd-content {
    color: #111827;
}
[data-dd-theme="light"] .dd-panel {
    background: #ffffff;
    border: 1px solid #e5e7eb;
}
[data-dd-theme="light"] .dd-panel-header {
    border-bottom-color: #e5e7eb;
}
[data-dd-theme="light"] .dd-panel-title {
    color: #111827;
}
[data-dd-theme="light"] .dd-panel-count {
    color: #6b7280;
}
[data-dd-theme="light"] .dd-metric {
    background: #ffffff;
    border: 1px solid #e5e7eb;
}
[data-dd-theme="light"] .dd-metric-value {
    color: #111827;
}
[data-dd-theme="light"] .dd-metric-label {
    color: #6b7280;
}
[data-dd-theme="light"] .dd-project-card {
    border-bottom-color: #f3f4f6;
}
[data-dd-theme="light"] .dd-project-card:hover {
    background: #f9fafb;
}
[data-dd-theme="light"] .dd-project-title {
    color: #111827;
}
[data-dd-theme="light"] .dd-project-meta {
    color: #9ca3af;
}
[data-dd-theme="light"] .dd-priority-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}
[data-dd-theme="light"] .dd-priority-card:hover {
    background: #f3f4f6;
}
[data-dd-theme="light"] .dd-status {
    background: #f3f4f6;
    color: #374151;
}
[data-dd-theme="light"] .dd-tabs {
    border-bottom-color: #e5e7eb;
}
[data-dd-theme="light"] .dd-tab {
    color: #6b7280;
}
[data-dd-theme="light"] .dd-tab.active {
    color: #111827;
    border-bottom-color: #6366f1;
}
[data-dd-theme="light"] .dd-tool-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}
[data-dd-theme="light"] .dd-tool-card:hover {
    background: #f3f4f6;
}
[data-dd-theme="light"] .dd-notif {
    border-bottom-color: #f3f4f6;
}
[data-dd-theme="light"] .dd-notif-text {
    color: #111827;
}
[data-dd-theme="light"] .dd-notif-time {
    color: #9ca3af;
}
[data-dd-theme="light"] .dd-empty {
    color: #9ca3af;
}
[data-dd-theme="light"] .dd-empty i {
    color: #d1d5db;
}
[data-dd-theme="light"] .dd-tag {
    background: #f3f4f6;
    color: #374151;
}
[data-dd-theme="light"] .dd-topbar-btn {
    color: #6b7280;
    background: transparent;
}
[data-dd-theme="light"] .dd-topbar-btn:hover {
    background: #f3f4f6;
    color: #111827;
}
[data-dd-theme="light"] .dd-sidebar-toggle {
    border-color: #e5e7eb;
    background: #ffffff;
    color: #6b7280;
}
[data-dd-theme="light"] .dd-input {
    background: #ffffff;
    border-color: #d1d5db;
    color: #111827;
}
[data-dd-theme="light"] .dd-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}
[data-dd-theme="light"] .dd-label {
    color: #374151;
}
[data-dd-theme="light"] .dd-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
}
[data-dd-theme="light"] .dd-card:hover {
    border-color: #d1d5db;
}
[data-dd-theme="light"] .dd-collection-name {
    color: #111827;
}
[data-dd-theme="light"] .dd-collection-meta {
    color: #6b7280;
}
[data-dd-theme="light"] .dd-collection-desc {
    color: #6b7280;
}
[data-dd-theme="light"] .dd-collection-count {
    color: #6b7280;
}
[data-dd-theme="light"] .dd-collection-date {
    color: #9ca3af;
}
[data-dd-theme="light"] .dd-modal {
    background: #ffffff;
    border-color: #e5e7eb;
}
[data-dd-theme="light"] .dd-modal-header h3 {
    color: #111827;
}
[data-dd-theme="light"] .dd-alert {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #374151;
}
[data-dd-theme="light"] .dd-alert-critical {
    background: rgba(239, 68, 68, 0.06);
    border-color: rgba(239, 68, 68, 0.2);
    color: #dc2626;
}
[data-dd-theme="light"] .dd-alert-warning {
    background: rgba(245, 158, 11, 0.06);
    border-color: rgba(245, 158, 11, 0.2);
    color: #d97706;
}
[data-dd-theme="light"] .dd-alert-info {
    background: rgba(99, 102, 241, 0.06);
    border-color: rgba(99, 102, 241, 0.2);
    color: #4f46e5;
}
[data-dd-theme="light"] .dd-action-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}
[data-dd-theme="light"] .dd-action-card:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}
[data-dd-theme="light"] .dd-action-label {
    color: #374151;
}
[data-dd-theme="light"] .dd-lib-stat {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}
[data-dd-theme="light"] .dd-lib-stat-value {
    color: #111827;
}
[data-dd-theme="light"] .dd-lib-stat-label {
    color: #6b7280;
}
[data-dd-theme="light"] .dd-lib-item {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}
[data-dd-theme="light"] .dd-lib-item:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}
[data-dd-theme="light"] .dd-lib-item-name {
    color: #111827;
}
[data-dd-theme="light"] .dd-lib-item-meta {
    color: #6b7280;
}
[data-dd-theme="light"] .dd-panel-link {
    color: #4f46e5;
}
[data-dd-theme="light"] .dd-panel-link:hover {
    color: #4338ca;
}
[data-dd-theme="light"] .dd-priority-company {
    color: #9ca3af;
}
[data-dd-theme="light"] .dd-notif-dot {
    border-color: #ffffff;
}
[data-dd-theme="light"] .dd-btn-ghost {
    color: #374151;
    border-color: #d1d5db;
}
[data-dd-theme="light"] .dd-btn-ghost:hover {
    background: #f3f4f6;
}

/* â”€â”€ Digital Presence Light Theme â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
[data-dd-theme="light"] .dd-alert-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
}
[data-dd-theme="light"] .dd-alert-item-title {
    color: #111827;
}
[data-dd-theme="light"] .dd-alert-item-message {
    color: #6b7280;
}
[data-dd-theme="light"] .dd-section-card:hover {
    border-color: #d1d5db;
}
[data-dd-theme="light"] .dd-section-name {
    color: #111827;
}
[data-dd-theme="light"] .dd-section-value {
    color: #111827;
}
[data-dd-theme="light"] .dd-section-label {
    color: #6b7280;
}
[data-dd-theme="light"] .dd-section-stat-value {
    color: #111827;
}
[data-dd-theme="light"] .dd-section-stat-label {
    color: #6b7280;
}
[data-dd-theme="light"] .dd-section-empty {
    color: #9ca3af;
}
[data-dd-theme="light"] .dd-section-highlight {
    background: #f9fafb;
}
[data-dd-theme="light"] .dd-section-highlight-text {
    color: #6b7280;
}
[data-dd-theme="light"] .dd-dot-row {
    color: #6b7280;
}
[data-dd-theme="light"] .dd-sync-heading {
    color: #111827;
}
[data-dd-theme="light"] .dd-sync-name {
    color: #374151;
}
[data-dd-theme="light"] .dd-sync-time {
    color: #9ca3af;
}
[data-dd-theme="light"] .dd-sync-empty {
    color: #9ca3af;
}
[data-dd-theme="light"] .dd-alert-count {
    color: #dc2626;
}

/* â”€â”€ Component Light Theme â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
[data-dd-theme="light"] .dd-select {
    background: #ffffff;
    border-color: #d1d5db;
    color: #111827;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
[data-dd-theme="light"] .dd-select:hover { border-color: #9ca3af; }
[data-dd-theme="light"] .dd-select:focus { border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1); }
[data-dd-theme="light"] .dd-table th {
    color: #6b7280;
    border-bottom-color: #e5e7eb;
}
[data-dd-theme="light"] .dd-table td {
    color: #374151;
    border-bottom-color: #f3f4f6;
}
[data-dd-theme="light"] .dd-table tr:hover td { background: #f9fafb; }
[data-dd-theme="light"] .dd-table-link { color: #111827; }
[data-dd-theme="light"] .dd-table-link:hover { color: #4f46e5; }
[data-dd-theme="light"] .dd-platform-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
}
[data-dd-theme="light"] .dd-platform-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
[data-dd-theme="light"] .dd-platform-name { color: #111827; }
[data-dd-theme="light"] .dd-platform-metric {
    background: #f9fafb;
    border-color: #e5e7eb;
}
[data-dd-theme="light"] .dd-platform-metric-value { color: #111827; }
[data-dd-theme="light"] .dd-platform-metric-label { color: #6b7280; }
[data-dd-theme="light"] .dd-platform-highlight { background: #f9fafb; }
[data-dd-theme="light"] .dd-platform-highlight-text { color: #6b7280; }
[data-dd-theme="light"] .dd-stat-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
}
[data-dd-theme="light"] .dd-stat-value { color: #111827; }
[data-dd-theme="light"] .dd-stat-label { color: #6b7280; }
[data-dd-theme="light"] .dd-issue-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
}
[data-dd-theme="light"] .dd-issue-item-name { color: #111827; }
[data-dd-theme="light"] .dd-issue-item-desc { color: #6b7280; }
[data-dd-theme="light"] .dd-issue-item-url { color: #4f46e5; }
[data-dd-theme="light"] .dd-opp-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
}
[data-dd-theme="light"] .dd-opp-item-title { color: #111827; }
[data-dd-theme="light"] .dd-opp-item-data { color: #6b7280; }
[data-dd-theme="light"] .dd-opp-item-page { color: #4f46e5; }
[data-dd-theme="light"] .dd-score-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}
[data-dd-theme="light"] .dd-score-value { color: #111827; }
[data-dd-theme="light"] .dd-score-label { color: #6b7280; }

/* â”€â”€ New Component Light Theme â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
[data-dd-theme="light"] .dd-progress { background: #e5e7eb; }
[data-dd-theme="light"] .dd-fix-btn-critical { background: rgba(239, 68, 68, 0.08); border-color: rgba(239, 68, 68, 0.2); }
[data-dd-theme="light"] .dd-fix-btn-warning { background: rgba(251, 191, 36, 0.08); border-color: rgba(251, 191, 36, 0.2); }
[data-dd-theme="light"] .dd-fix-btn-primary { background: rgba(129, 140, 248, 0.08); border-color: rgba(129, 140, 248, 0.2); }
[data-dd-theme="light"] .dd-fix-btn-success { background: rgba(34, 197, 94, 0.08); border-color: rgba(34, 197, 94, 0.2); }
[data-dd-theme="light"] .dd-health-ring-bg { stroke: #e5e7eb; }
[data-dd-theme="light"] .dd-health-ring-value { color: #111827; }
[data-dd-theme="light"] .dd-sync-bar { background: #ffffff; border-color: #e5e7eb; }
[data-dd-theme="light"] .dd-sync-bar-text { color: #374151; }
[data-dd-theme="light"] .dd-sync-bar-time { color: #9ca3af; }
[data-dd-theme="light"] .dd-sync-btn { background: #ffffff; border-color: #d1d5db; color: #374151; }
[data-dd-theme="light"] .dd-sync-btn:hover { background: #f3f4f6; border-color: #9ca3af; color: #111827; }
[data-dd-theme="light"] .dd-action-item { background: #ffffff; border-color: #e5e7eb; }
[data-dd-theme="light"] .dd-action-item:hover { background: #f9fafb; border-color: #d1d5db; }
[data-dd-theme="light"] .dd-action-item-title { color: #111827; }
[data-dd-theme="light"] .dd-action-item-desc { color: #6b7280; }
[data-dd-theme="light"] .dd-alert-banner-critical { background: rgba(239, 68, 68, 0.04); border-color: rgba(239, 68, 68, 0.15); }
[data-dd-theme="light"] .dd-alert-banner-warning { background: rgba(251, 191, 36, 0.04); border-color: rgba(251, 191, 36, 0.15); }
[data-dd-theme="light"] .dd-alert-banner-success { background: rgba(34, 197, 94, 0.04); border-color: rgba(34, 197, 94, 0.15); }
[data-dd-theme="light"] .dd-alert-banner-title { color: #111827; }
[data-dd-theme="light"] .dd-alert-banner-message { color: #6b7280; }
[data-dd-theme="light"] .dd-divider { background: #e5e7eb; }
[data-dd-theme="light"] .dd-section-heading-title { color: #111827; }
[data-dd-theme="light"] .dd-empty-cta-title { color: #111827; }
[data-dd-theme="light"] .dd-empty-cta-desc { color: #6b7280; }
[data-dd-theme="light"] .dd-metric { background: #ffffff; border-color: #e5e7eb; }
[data-dd-theme="light"] .dd-metric-value { color: #111827; }
[data-dd-theme="light"] .dd-metric-label { color: #6b7280; }

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   Designer Workflow Tools
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* Drafts */
.draft-card {
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    padding: 1.25rem;
    background: rgba(255,255,255,.04);
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.draft-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    border-color: rgba(99,102,241,.3);
}
.draft-card .dc-title {
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: .4rem;
}
.draft-card .dc-desc {
    color: #94a3b8;
    font-size: .85rem;
    line-height: 1.4;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.draft-card .dc-meta {
    display: flex;
    gap: .5rem;
    align-items: center;
    margin-top: .75rem;
    font-size: .78rem;
    color: #64748b;
}
.version-table th {
    background: rgba(255,255,255,.04);
    font-weight: 600;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.version-table td {
    vertical-align: middle;
}
.version-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
}

/* Feedback Requests */
.frs-card {
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 1.25rem;
    background: rgba(255,255,255,.04);
    transition: transform .15s;
}
.frs-card:hover {
    transform: translateY(-1px);
    border-color: rgba(99,102,241,.25);
}
.frs-card .frs-subject {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: .3rem;
}
.frs-card .frs-message {
    color: #94a3b8;
    font-size: .85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.frs-card .frs-meta {
    display: flex;
    gap: .75rem;
    align-items: center;
    margin-top: .75rem;
    font-size: .78rem;
    color: #64748b;
}
.fr-question {
    padding: 1rem;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 8px;
    margin-bottom: .5rem;
    background: rgba(255,255,255,.03);
}
.fr-question .fr-q-text {
    font-weight: 500;
    margin-bottom: .4rem;
}
.fr-question .fr-q-answer {
    color: #22c55e;
    font-size: .9rem;
}
.fr-question .fr-q-pending {
    color: #eab308;
    font-size: .8rem;
    font-style: italic;
}

/* Resources Library */
.resource-card {
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 1.25rem;
    background: rgba(255,255,255,.04);
    transition: transform .15s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.resource-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.resource-card .rc-title {
    font-weight: 600;
    font-size: .95rem;
    margin-bottom: .3rem;
}
.resource-card .rc-desc {
    color: #94a3b8;
    font-size: .82rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.resource-card .rc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    margin-top: .5rem;
}
.resource-card .rc-tag {
    font-size: .7rem;
    padding: .15rem .45rem;
    border-radius: 4px;
    background: rgba(99,102,241,.15);
    color: #a5b4fc;
}
.resource-card .rc-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: .65rem;
    font-size: .75rem;
    color: #64748b;
}

/* Time Tracking */
.timer-running {
    background: linear-gradient(135deg, rgba(34,197,94,.12), rgba(16,185,129,.08));
    border: 1px solid rgba(34,197,94,.3);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    animation: timerPulse 2s infinite;
}
@keyframes timerPulse {
    0%, 100% { border-color: rgba(34,197,94,.3); }
    50% { border-color: rgba(34,197,94,.6); }
}
.timer-display {
    font-size: 3rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #22c55e;
    letter-spacing: .05em;
}
.timer-project {
    font-size: 1.1rem;
    color: #e2e8f0;
    margin-top: .5rem;
}
.timer-phase {
    font-size: .85rem;
    color: #94a3b8;
}
.time-phase-bar {
    height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,.08);
    overflow: hidden;
    margin-bottom: .5rem;
}
.time-phase-fill {
    height: 100%;
    border-radius: 4px;
    transition: width .4s ease;
}
.time-entry-row {
    padding: .5rem 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
    font-size: .85rem;
}
.time-entry-row:last-child {
    border-bottom: none;
}

/* Notes & Journal */
.note-card {
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 1.25rem;
    background: rgba(255,255,255,.04);
    position: relative;
    transition: transform .15s;
}
.note-card:hover {
    transform: translateY(-1px);
}
.note-card.is-pinned {
    border-color: rgba(234,179,8,.3);
    background: rgba(234,179,8,.04);
}
.note-card .note-pin {
    position: absolute;
    top: .75rem;
    right: .75rem;
    font-size: 1.1rem;
}
.note-card .note-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: .3rem;
    padding-right: 2rem;
}
.note-card .note-content {
    color: #cbd5e1;
    font-size: .88rem;
    line-height: 1.5;
}
.note-card .note-content.truncated {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.note-card .note-links {
    margin-top: .5rem;
}
.note-card .note-links a {
    font-size: .8rem;
    color: #818cf8;
    text-decoration: none;
}
.note-card .note-links a:hover {
    text-decoration: underline;
}
.note-card .note-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: .65rem;
    font-size: .75rem;
    color: #64748b;
}

/* Templates Library */
.tpl-card {
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 1.25rem;
    background: rgba(255,255,255,.04);
    transition: transform .15s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.tpl-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.tpl-card .tpl-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: .3rem;
}
.tpl-card .tpl-subject {
    color: #94a3b8;
    font-size: .85rem;
    margin-bottom: .4rem;
}
.tpl-card .tpl-content-preview {
    color: #cbd5e1;
    font-size: .82rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}
.tpl-card .tpl-variables {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    margin-top: .5rem;
}
.tpl-card .tpl-var {
    font-size: .7rem;
    padding: .15rem .4rem;
    border-radius: 4px;
    background: rgba(245,158,11,.15);
    color: #fbbf24;
    font-family: monospace;
}
.tpl-card .tpl-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: .65rem;
    font-size: .75rem;
    color: #64748b;
}
.tpl-highlight {
    background: rgba(234,179,8,.15);
    padding: 0 .2rem;
    border-radius: 3px;
    color: #fbbf24;
    font-family: monospace;
}
.tpl-modal-content {
    background: #1e293b;
    border: 1px solid rgba(255,255,255,.1);
    color: #e2e8f0;
    font-size: .9rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 400px;
    overflow-y: auto;
    padding: 1.5rem;
    border-radius: 8px;
}

/* Workflow Tool Section Headers */
.wf-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.wf-section-header h5 {
    margin: 0;
    font-weight: 600;
    font-size: 1rem;
}

@media (max-width: 767.98px) {
    .timer-display { font-size: 2rem; }
    .draft-card, .frs-card, .resource-card, .note-card, .tpl-card { padding: 1rem; }
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   Collaboration Features
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* Peer Review */
.review-card {
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 1.25rem;
    background: rgba(255,255,255,.04);
    transition: transform .15s;
}
.review-card:hover { transform: translateY(-1px); border-color: rgba(99,102,241,.25); }
.review-card .rc-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem;
}
.review-card .rc-title { font-weight: 600; font-size: 1rem; }
.review-card .rc-meta { font-size: .78rem; color: #64748b; margin-top: .5rem; }
.review-feedback {
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 8px; padding: 1rem; margin-bottom: .5rem;
    background: rgba(255,255,255,.03);
}
.review-feedback .rf-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: .4rem;
}
.review-feedback .rf-content { font-size: .9rem; color: #cbd5e1; line-height: 1.5; }
.review-stars { color: #f59e0b; letter-spacing: .1em; }

/* Internal Comments */
.comment-card {
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px; padding: 1.25rem;
    background: rgba(255,255,255,.04);
    position: relative; transition: transform .15s;
}
.comment-card:hover { transform: translateY(-1px); }
.comment-card.is-resolved { border-color: rgba(34,197,94,.3); background: rgba(34,197,94,.04); }
.comment-card.is-pinned { border-color: rgba(234,179,8,.3); background: rgba(234,179,8,.04); }
.comment-card .cc-header {
    display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem;
}
.comment-card .cc-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(99,102,241,.2); color: #818cf8;
    display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: .75rem; flex-shrink: 0;
}
.comment-card .cc-author { font-weight: 600; font-size: .9rem; }
.comment-card .cc-time { font-size: .75rem; color: #64748b; }
.comment-card .cc-content { font-size: .9rem; line-height: 1.5; color: #e2e8f0; }
.comment-card .cc-mention {
    color: #818cf8; font-weight: 500; background: rgba(99,102,241,.12);
    padding: 0 .2rem; border-radius: 3px;
}
.comment-replies {
    margin-left: 2.5rem; padding-left: 1rem;
    border-left: 2px solid rgba(255,255,255,.08);
}
.comment-annotation {
    position: relative; display: inline-block; margin-top: .5rem;
}
.comment-annotation .ca-pin {
    position: absolute; width: 20px; height: 20px; border-radius: 50%;
    background: #ef4444; border: 2px solid #fff; transform: translate(-50%,-50%);
    box-shadow: 0 2px 6px rgba(0,0,0,.4);
}
.mention-dropdown {
    position: absolute; background: #1e293b; border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px; padding: .25rem; max-height: 200px; overflow-y: auto;
    z-index: 1000; display: none; min-width: 180px;
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.mention-dropdown .md-item {
    padding: .4rem .75rem; border-radius: 6px; cursor: pointer;
    font-size: .85rem; color: #e2e8f0;
}
.mention-dropdown .md-item:hover { background: rgba(99,102,241,.2); }
.mention-dropdown .md-item .md-username { font-weight: 600; }

/* Design Handoff */
.handoff-card {
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px; padding: 1.25rem;
    background: rgba(255,255,255,.04); transition: transform .15s;
}
.handoff-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.handoff-card .hc-title { font-weight: 600; font-size: 1rem; margin-bottom: .3rem; }
.handoff-card .hc-desc { color: #94a3b8; font-size: .82rem; }
.handoff-card .hc-meta { display: flex; gap: .75rem; margin-top: .65rem; font-size: .75rem; color: #64748b; }
.handoff-deliverable {
    display: flex; align-items: center; gap: .75rem;
    padding: .75rem; border: 1px solid rgba(255,255,255,.06);
    border-radius: 8px; margin-bottom: .5rem;
    background: rgba(255,255,255,.03);
}
.handoff-deliverable .hd-icon {
    width: 40px; height: 40px; border-radius: 8px;
    background: rgba(99,102,241,.12); color: #818cf8;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
}
.handoff-note {
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 8px; padding: 1rem; margin-bottom: .5rem;
    background: rgba(255,255,255,.03);
}
.handoff-note .hn-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: .4rem;
}
.handoff-note .hn-title { font-weight: 600; font-size: .9rem; }
.handoff-note .hn-content { font-size: .88rem; color: #cbd5e1; line-height: 1.5; }

/* Knowledge Base */
.kb-card {
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px; padding: 1.25rem;
    background: rgba(255,255,255,.04); transition: transform .15s;
    height: 100%; display: flex; flex-direction: column;
}
.kb-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.kb-card .kb-title { font-weight: 600; font-size: 1rem; margin-bottom: .3rem; }
.kb-card .kb-summary { color: #94a3b8; font-size: .82rem; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kb-card .kb-meta { display: flex; justify-content: space-between; align-items: center;
    margin-top: .65rem; font-size: .75rem; color: #64748b; }
.kb-featured {
    background: linear-gradient(135deg, rgba(99,102,241,.08), rgba(139,92,246,.04));
    border: 1px solid rgba(99,102,241,.2);
}
.kb-article-content {
    font-size: .95rem; line-height: 1.7; color: #e2e8f0;
}
.kb-article-content h1, .kb-article-content h2, .kb-article-content h3 {
    color: #f8fafc; margin-top: 1.5rem; margin-bottom: .75rem;
}
.kb-article-content p { margin-bottom: 1rem; }
.kb-article-content code {
    background: rgba(99,102,241,.12); padding: .15rem .4rem; border-radius: 4px;
    font-size: .85rem; color: #a5b4fc;
}

/* Design Showcase */
.showcase-card {
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px; overflow: hidden;
    background: rgba(255,255,255,.04); transition: transform .2s, box-shadow .2s;
    height: 100%; display: flex; flex-direction: column;
}
.showcase-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.25); }
.showcase-card .sc-image {
    width: 100%; height: 200px; object-fit: cover;
    background: rgba(255,255,255,.06);
}
.showcase-card .sc-image-placeholder {
    width: 100%; height: 200px;
    background: linear-gradient(135deg, rgba(99,102,241,.15), rgba(139,92,246,.1));
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; color: rgba(99,102,241,.4);
}
.showcase-card .sc-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.showcase-card .sc-title { font-weight: 600; font-size: 1rem; margin-bottom: .3rem; }
.showcase-card .sc-designer { color: #94a3b8; font-size: .82rem; }
.showcase-card .sc-meta { display: flex; justify-content: space-between; align-items: center;
    margin-top: auto; padding-top: .65rem; font-size: .78rem; color: #64748b; }
.showcase-detail-hero {
    width: 100%; max-height: 400px; object-fit: cover;
    border-radius: 12px; margin-bottom: 1.5rem;
}
.showcase-like-btn {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .5rem 1rem; border-radius: 8px;
    border: 1px solid rgba(255,255,255,.15); background: transparent;
    color: #e2e8f0; cursor: pointer; transition: all .2s;
}
.showcase-like-btn:hover { background: rgba(239,68,68,.12); border-color: rgba(239,68,68,.3); color: #ef4444; }
.showcase-like-btn.liked { background: rgba(239,68,68,.15); border-color: #ef4444; color: #ef4444; }

@media (max-width: 767.98px) {
    .comment-replies { margin-left: 1rem; padding-left: .5rem; }
    .showcase-card .sc-image { height: 160px; }
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   Designer Integrations
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* Connection Cards */
.integration-card {
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px; padding: 1.25rem;
    background: rgba(255,255,255,.04);
    transition: transform .15s;
}
.integration-card:hover { transform: translateY(-1px); }
.integration-card .ic-header {
    display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem;
}
.integration-card .ic-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; flex-shrink: 0;
}
.integration-card .ic-title { font-weight: 600; font-size: 1.05rem; }
.integration-card .ic-status { font-size: .82rem; color: #94a3b8; }
.integration-connected { border-color: rgba(34,197,94,.3); background: rgba(34,197,94,.04); }
.integration-disconnected { border-color: rgba(239,68,68,.2); background: rgba(239,68,68,.03); }

/* Color Palette Tool */
.color-swatch {
    width: 48px; height: 48px; border-radius: 8px;
    border: 2px solid rgba(255,255,255,.1); cursor: pointer;
    transition: transform .15s; position: relative;
}
.color-swatch:hover { transform: scale(1.1); }
.color-swatch .cs-remove {
    position: absolute; top: -6px; right: -6px;
    width: 18px; height: 18px; border-radius: 50%;
    background: #ef4444; color: #fff; font-size: .65rem;
    display: none; align-items: center; justify-content: center;
    border: none; cursor: pointer;
}
.color-swatch:hover .cs-remove { display: flex; }
.palette-card {
    border: 1px solid rgba(255,255,255,.08); border-radius: 12px;
    padding: 1rem; background: rgba(255,255,255,.04);
    transition: transform .15s;
}
.palette-card:hover { transform: translateY(-1px); }
.palette-card .pc-colors {
    display: flex; gap: 4px; margin: .5rem 0; height: 32px; border-radius: 6px; overflow: hidden;
}
.palette-card .pc-color { flex: 1; }

/* Font Tool */
.font-card {
    border: 1px solid rgba(255,255,255,.08); border-radius: 12px;
    padding: 1.25rem; background: rgba(255,255,255,.04);
    transition: transform .15s;
}
.font-card:hover { transform: translateY(-1px); }
.font-card .fc-name { font-weight: 600; font-size: 1.1rem; }
.font-card .fc-family { color: #94a3b8; font-size: .85rem; }
.font-card .fc-preview {
    font-size: 1.5rem; margin: .75rem 0; color: #e2e8f0;
    border-bottom: 1px solid rgba(255,255,255,.06); padding-bottom: .75rem;
}

/* Asset Organizer */
.organizer-card {
    border: 1px solid rgba(255,255,255,.08); border-radius: 12px;
    overflow: hidden; background: rgba(255,255,255,.04);
    transition: transform .15s;
}
.organizer-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.organizer-card .oc-thumb {
    width: 100%; height: 120px; object-fit: cover;
    background: rgba(255,255,255,.06);
}
.organizer-card .oc-thumb-placeholder {
    width: 100%; height: 120px;
    background: linear-gradient(135deg, rgba(99,102,241,.1), rgba(139,92,246,.05));
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: rgba(99,102,241,.3);
}
.organizer-card .oc-body { padding: 1rem; }
.organizer-card .oc-name { font-weight: 600; font-size: .9rem; }
.organizer-card .oc-meta { font-size: .75rem; color: #64748b; margin-top: .3rem; }

/* Brand Check */
.brand-check-row {
    display: flex; align-items: center; gap: .75rem;
    padding: .75rem 1rem; border-radius: 8px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.05);
    margin-bottom: .5rem;
}
.brand-check-row .bcr-icon { font-size: 1.2rem; flex-shrink: 0; }
.brand-check-row .bcr-name { font-weight: 500; flex: 1; }
.brand-check-pass { border-color: rgba(34,197,94,.3); }
.brand-check-warn { border-color: rgba(234,179,8,.3); }
.brand-check-fail { border-color: rgba(239,68,68,.3); }

/* Slack */
.slack-message-row {
    padding: .5rem 0; border-bottom: 1px solid rgba(255,255,255,.05);
    font-size: .85rem;
}
.slack-message-row:last-child { border-bottom: none; }

/* Calendar */
.calendar-event {
    padding: .75rem 1rem; border-radius: 8px;
    border-left: 3px solid; margin-bottom: .5rem;
    background: rgba(255,255,255,.03);
}
.calendar-event.ce-deadline { border-left-color: #ef4444; }
.calendar-event.ce-meeting { border-left-color: #3b82f6; }
.calendar-event.ce-milestone { border-left-color: #22c55e; }
.calendar-event.ce-review { border-left-color: #f59e0b; }
.calendar-event .ce-title { font-weight: 500; font-size: .9rem; }
.calendar-event .ce-time { font-size: .78rem; color: #94a3b8; }
.calendar-event .ce-type { font-size: .72rem; }

@media (max-width: 767.98px) {
    .color-swatch { width: 36px; height: 36px; }
    .organizer-card .oc-thumb { height: 100px; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   Workflow System
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.wf-stage-col{min-width:240px;max-width:320px;flex-shrink:0}
.wf-stage-header{padding:.75rem 1rem;border-radius:.5rem .5rem 0 0;font-weight:700;font-size:.8rem;text-transform:uppercase;letter-spacing:.5px;color:#fff;display:flex;align-items:center;justify-content:space-between}
.wf-stage-header .count{background:rgba(255,255,255,.3);padding:.1rem .5rem;border-radius:1rem;font-size:.7rem}
.wf-stage-body{background:var(--surface-card,#fff);border:1px solid var(--border-color,#e5e7eb);border-top:none;border-radius:0 0 .5rem .5rem;padding:.5rem;min-height:120px}
.wf-card{background:var(--surface-card,#fff);border:1px solid var(--border-color,#e5e7eb);border-radius:.5rem;padding:.75rem;margin-bottom:.5rem;cursor:pointer;transition:all .2s}
.wf-card:hover{box-shadow:0 2px 8px rgba(0,0,0,.08);transform:translateY(-1px)}
.wf-card-num{font-weight:700;font-size:.8rem;color:var(--brand-primary,#4f46e5)}
.wf-card-company{font-size:.8rem;font-weight:600;margin:.25rem 0}
.wf-card-meta{font-size:.7rem;color:var(--text-secondary,#6b7280)}
.wf-card-progress{height:3px;background:#e5e7eb;border-radius:999px;margin-top:.5rem;overflow:hidden}
.wf-card-progress-bar{height:100%;border-radius:999px;transition:width .3s}
.wf-escalated{border-left:3px solid #ef4444}
.wf-pill{display:inline-block;padding:.15rem .5rem;border-radius:1rem;font-size:.65rem;font-weight:600;line-height:1.4}
.wf-legend{display:flex;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}
.wf-legend-item{display:flex;align-items:center;gap:.4rem;font-size:.75rem}
.wf-legend-dot{width:10px;height:10px;border-radius:50%}
.wf-scroll{overflow-x:auto;padding-bottom:.5rem}
.wf-scroll::-webkit-scrollbar{height:6px}
.wf-scroll::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}
.wf-prog{display:flex;gap:2px;margin-bottom:1.5rem}
.wf-prog-step{flex:1;text-align:center;padding:.5rem .25rem;border-radius:.5rem;font-size:.65rem;font-weight:600;cursor:pointer;transition:all .2s;position:relative;color:#fff}
.wf-prog-step.done{opacity:.7}
.wf-prog-step.active{transform:scale(1.05);box-shadow:0 2px 8px rgba(0,0,0,.15)}
.wf-panel{background:var(--surface-card,#fff);border:1px solid var(--border-color,#e5e7eb);border-radius:.75rem;overflow:hidden}
.wf-panel-header{padding:.75rem 1rem;border-bottom:1px solid var(--border-color,#e5e7eb);display:flex;align-items:center;justify-content:space-between;background:var(--surface-muted,#f9fafb)}
.wf-panel-header h6{margin:0;font-size:.85rem;font-weight:700}
.wf-panel-body{padding:1rem}
.wf-q-item{padding:.75rem;border:1px solid var(--border-color,#e5e7eb);border-radius:.5rem;margin-bottom:.5rem}
.wf-q-item.answered{border-color:#22c55e;background:#f0fdf4}
.wf-q-item.required{border-left:3px solid #ef4444}
.wf-fb-item{padding:.75rem;border:1px solid var(--border-color,#e5e7eb);border-radius:.5rem;margin-bottom:.5rem}
.wf-fb-new{border-left:3px solid #f59e0b}
.wf-fb-addressed{border-left:3px solid #3b82f6}
.wf-fb-resolved{border-left:3px solid #22c55e;background:#f9fafb}
.wf-version{padding:.75rem;border:1px solid var(--border-color,#e5e7eb);border-radius:.5rem;margin-bottom:.5rem;display:flex;gap:.75rem;align-items:center}
.wf-version.current{border-color:#4f46e5;background:#eef2ff}
.wf-timeline-item{display:flex;gap:.75rem;padding:.75rem 0;border-bottom:1px solid var(--border-color,#f3f4f6)}
.wf-timeline-dot{width:8px;height:8px;border-radius:50%;margin-top:.35rem;flex-shrink:0}
.wf-decision{padding:.75rem;border:1px solid var(--border-color,#e5e7eb);border-radius:.5rem;margin-bottom:.5rem}
.wf-decision.confirmed{background:#f0fdf4;border-color:#22c55e}
.wf-quick-action{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1rem}
.wf-quick-action .btn{font-size:.75rem;padding:.35rem .75rem;border-radius:2rem}
.wf-cat-badge{font-size:.6rem;padding:.1rem .4rem;border-radius:1rem;font-weight:600}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   Concept Presentation System
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.cp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.25rem}
.cp-card{background:var(--surface-card,#fff);border:1px solid var(--border-color,#e5e7eb);border-radius:.75rem;overflow:hidden;transition:all .25s}
.cp-card:hover{box-shadow:0 8px 24px rgba(0,0,0,.08);transform:translateY(-2px)}
.cp-card-img{width:100%;height:200px;object-fit:cover;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%)}
.cp-card-body{padding:1rem}
.cp-card-title{font-weight:700;font-size:1rem;margin-bottom:.35rem}
.cp-card-desc{font-size:.8rem;color:var(--text-secondary,#6b7280);margin-bottom:.5rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cp-palette{display:flex;gap:4px;margin:.5rem 0}
.cp-palette-dot{width:20px;height:20px;border-radius:50%;border:2px solid #fff;box-shadow:0 1px 3px rgba(0,0,0,.15)}
.cp-tag{display:inline-block;padding:.15rem .5rem;border-radius:1rem;font-size:.65rem;font-weight:600;background:#f3f4f6;color:#374151;margin:.1rem}
.cp-tag.modern{background:#eef2ff;color:#4f46e5}
.cp-tag.classic{background:#fef3c7;color:#92400e}
.cp-tag.minimalist{background:#f0fdf4;color:#166534}
.cp-tag.bold{background:#fef2f2;color:#991b1b}
.cp-tag.elegant{background:#fdf4ff;color:#86198f}
.cp-tag.playful{background:#ecfdf5;color:#065f46}
.cp-tag.luxury{background:#fffbeb;color:#78350f}
.cp-status-badge{display:inline-block;padding:.2rem .6rem;border-radius:1rem;font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px}
.cp-status-draft{background:#f3f4f6;color:#6b7280}
.cp-status-presented{background:#dbeafe;color:#1d4ed8}
.cp-status-in_review{background:#fef3c7;color:#92400e}
.cp-status-client_selected{background:#d1fae5;color:#065f46}
.cp-status-approved{background:#d1fae5;color:#166534}
.cp-status-rejected{background:#fee2e2;color:#991b1b}
.cp-badge-pick{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;font-size:.6rem;padding:.15rem .5rem;border-radius:1rem;font-weight:700}
.cp-badge-fav{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;font-size:.6rem;padding:.15rem .5rem;border-radius:1rem;font-weight:700}
.cp-ranking{position:absolute;top:.5rem;right:.5rem;background:rgba(0,0,0,.7);color:#fff;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.7rem;font-weight:700}
.cp-star{cursor:pointer;color:#d1d5db;font-size:1.1rem;transition:color .15s}
.cp-star:hover,.cp-star.active{color:#f59e0b}
.cp-annotation-pin{position:absolute;width:24px;height:24px;border-radius:50%;border:2px solid #fff;cursor:pointer;transform:translate(-50%,-50%);box-shadow:0 2px 6px rgba(0,0,0,.3);z-index:10;transition:transform .15s}
.cp-annotation-pin:hover{transform:translate(-50%,-50%) scale(1.3);z-index:20}
.cp-annotation-pin.comment{background:#3b82f6}
.cp-annotation-pin.question{background:#06b6d4}
.cp-annotation-pin.suggestion{background:#f59e0b}
.cp-annotation-pin.issue{background:#ef4444}
.cp-annotation-pin.praise{background:#22c55e}
.cp-sticky{position:absolute;padding:.5rem;border-radius:.25rem;font-size:.75rem;max-width:150px;box-shadow:0 2px 8px rgba(0,0,0,.15);cursor:move;z-index:5}
.cp-sticky.yellow{background:#fef9c3;border:1px solid #facc15}
.cp-sticky.blue{background:#dbeafe;border:1px solid #60a5fa}
.cp-sticky.green{background:#d1fae5;border:1px solid #34d399}
.cp-sticky.pink{background:#fce7f3;border:1px solid #f472b6}
.cp-sticky.orange{background:#ffedd5;border:1px solid #fb923c}
.cp-zoom-container{position:relative;overflow:hidden;border-radius:.5rem;cursor:grab;background:#111}
.cp-zoom-container:active{cursor:grabbing}
.cp-zoom-container img{width:100%;display:block;transition:transform .1s ease-out}
.cp-compare-col{min-width:280px;flex:1}
.cp-compare-img{width:100%;height:auto;border-radius:.5rem}
.cp-rating-bar{height:8px;border-radius:4px;background:#e5e7eb;overflow:hidden}
.cp-rating-fill{height:100%;border-radius:4px;transition:width .3s}
.cp-session-card{background:var(--surface-card,#fff);border:1px solid var(--border-color,#e5e7eb);border-radius:.75rem;padding:1rem;margin-bottom:.75rem}
.cp-session-live{border-left:4px solid #22c55e}
.cp-session-upcoming{border-left:4px solid #3b82f6}
.cp-session-past{border-left:4px solid #9ca3af}
.cp-decision-timeline{position:relative;padding-left:1.5rem}
.cp-decision-timeline::before{content:'';position:absolute;left:.5rem;top:0;bottom:0;width:2px;background:#e5e7eb}
.cp-decision-item{position:relative;padding:.75rem 0 .75rem 1rem;border-bottom:1px solid #f3f4f6}
.cp-decision-item::before{content:'';position:absolute;left:-1.15rem;top:1rem;width:10px;height:10px;border-radius:50%;background:#4f46e5;border:2px solid #fff}
.cp-overlay-slider{position:absolute;bottom:1rem;left:50%;transform:translateX(-50%);background:rgba(0,0,0,.7);color:#fff;padding:.5rem 1rem;border-radius:2rem;z-index:30;display:flex;align-items:center;gap:.5rem}
.cp-overlay-slider input[type=range]{width:120px}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   Intelligent Questionnaire System
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.qq-card{background:var(--surface-card,#fff);border:1px solid var(--border-color,#e5e7eb);border-radius:.75rem;padding:1rem;margin-bottom:.75rem;transition:all .2s}
.qq-card:hover{box-shadow:0 4px 12px rgba(0,0,0,.06)}
.qq-type-badge{display:inline-flex;align-items:center;gap:.3rem;padding:.2rem .6rem;border-radius:1rem;font-size:.65rem;font-weight:600;background:#f3f4f6;color:#374151}
.qq-type-badge i{font-size:.6rem}
.qq-importance-critical{background:#fef2f2;color:#dc2626;border:1px solid #fecaca}
.qq-importance-important{background:#fffbeb;color:#d97706;border:1px solid #fde68a}
.qq-importance-nice_to_know{background:#f0fdf4;color:#16a34a;border:1px solid #bbf7d0}
.qq-phase-badge{display:inline-block;padding:.15rem .5rem;border-radius:1rem;font-size:.6rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px}
.qq-phase-discovery{background:#eef2ff;color:#4f46e5}
.qq-phase-concept_direction{background:#fdf4ff;color:#9333ea}
.qq-phase-color_typography{background:#fef3c7;color:#92400e}
.qq-phase-layout_structure{background:#ecfdf5;color:#065f46}
.qq-phase-final_polish{background:#fef2f2;color:#991b1b}
.qq-status-badge{display:inline-block;padding:.2rem .6rem;border-radius:1rem;font-size:.65rem;font-weight:700}
.qq-status-draft{background:#f3f4f6;color:#6b7280}
.qq-status-sent{background:#dbeafe;color:#1d4ed8}
.qq-status-in_progress{background:#fef3c7;color:#92400e}
.qq-status-completed{background:#d1fae5;color:#166534}
.qq-status-expired{background:#fee2e2;color:#991b1b}
.qq-progress{height:8px;background:#e5e7eb;border-radius:4px;overflow:hidden}
.qq-progress-fill{height:100%;border-radius:4px;background:linear-gradient(90deg,#4f46e5,#7c3aed);transition:width .3s}
.qq-question-card{background:var(--surface-card,#fff);border:1px solid var(--border-color,#e5e7eb);border-radius:.75rem;padding:1rem;margin-bottom:.5rem;display:flex;align-items:flex-start;gap:.75rem}
.qq-question-card.is-required{border-left:3px solid #ef4444}
.qq-question-card.is-conditional{border-left:3px solid #f59e0b}
.qq-drag-handle{cursor:grab;color:#9ca3af;padding:.25rem}
.qq-drag-handle:active{cursor:grabbing}
.qq-type-icon{width:36px;height:36px;border-radius:.5rem;display:flex;align-items:center;justify-content:center;font-size:.85rem;flex-shrink:0}
.qq-type-icon.multiple_choice{background:#eef2ff;color:#4f46e5}
.qq-type-icon.preference_scale{background:#fef3c7;color:#d97706}
.qq-type-icon.yes_no{background:#ecfdf5;color:#065f46}
.qq-type-icon.short_text,.qq-type-icon.long_text{background:#f3f4f6;color:#374151}
.qq-type-icon.color_picker{background:#fdf4ff;color:#9333ea}
.qq-type-icon.font_selection{background:#fef2f2;color:#dc2626}
.qq-type-icon.image_upload{background:#e0f2fe;color:#0284c7}
.qq-type-icon.rank_order{background:#fff7ed;color:#ea580c}
.qq-type-icon.rating{background:#fef9c3;color:#ca8a04}
.qq-answer-table{width:100%;border-collapse:collapse}
.qq-answer-table th,.qq-answer-table td{padding:.5rem .75rem;text-align:left;border-bottom:1px solid #f3f4f6;font-size:.8rem}
.qq-answer-table th{font-weight:600;color:#6b7280;background:#f9fafb}
.qq-cat-card{text-align:center;padding:1rem;border:1px solid var(--border-color,#e5e7eb);border-radius:.75rem;background:var(--surface-card,#fff)}
.qq-cat-icon{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto .5rem;font-size:.9rem}
.qq-cat-label{font-size:.75rem;font-weight:600;margin-bottom:.25rem}
.qq-cat-progress{height:4px;background:#e5e7eb;border-radius:2px;overflow:hidden;margin-top:.5rem}
.qq-cat-fill{height:100%;border-radius:2px;background:#4f46e5;transition:width .3s}
.qq-decision-card{background:var(--surface-card,#fff);border:1px solid var(--border-color,#e5e7eb);border-radius:.75rem;padding:1rem;margin-bottom:.75rem}
.qq-decision-card.pending{border-left:4px solid #f59e0b}
.qq-decision-card.in_progress{border-left:4px solid #3b82f6}
.qq-decision-card.completed{border-left:4px solid #22c55e}
.qq-decision-card.skipped{border-left:4px solid #9ca3af}
.qq-option-chip{display:inline-flex;align-items:center;gap:.3rem;padding:.35rem .75rem;border:2px solid #e5e7eb;border-radius:2rem;cursor:pointer;transition:all .15s;font-size:.8rem}
.qq-option-chip:hover{border-color:#4f46e5;background:#eef2ff}
.qq-option-chip.selected{border-color:#4f46e5;background:#4f46e5;color:#fff}
.qq-scale-label{font-size:.65rem;color:#6b7280}
.qq-scale-track{position:relative;height:8px;background:#e5e7eb;border-radius:4px;margin:.5rem 0}
.qq-scale-fill{position:absolute;height:100%;background:linear-gradient(90deg,#ef4444,#f59e0b,#22c55e);border-radius:4px}
.qq-color-swatch{width:48px;height:48px;border-radius:.5rem;border:2px solid #e5e7eb;cursor:pointer;transition:transform .15s}
.qq-color-swatch:hover{transform:scale(1.1)}
.qq-color-swatch.selected{border-color:#4f46e5;box-shadow:0 0 0 3px rgba(79,70,229,.3)}
.qq-font-option{padding:.75rem;border:2px solid #e5e7eb;border-radius:.5rem;cursor:pointer;text-align:center;transition:all .15s}
.qq-font-option:hover{border-color:#4f46e5}
.qq-font-option.selected{border-color:#4f46e5;background:#eef2ff}
.qq-rank-item{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:var(--surface-card,#fff);border:1px solid #e5e7eb;border-radius:.5rem;margin-bottom:.25rem;cursor:grab}
.qq-rank-item:active{cursor:grabbing;box-shadow:0 2px 8px rgba(0,0,0,.1)}
.qq-rank-num{width:24px;height:24px;border-radius:50%;background:#4f46e5;color:#fff;display:flex;align-items:center;justify-content:center;font-size:.65rem;font-weight:700;flex-shrink:0}
.qq-share-url{display:flex;align-items:center;gap:.5rem;background:#f9fafb;border:1px solid #e5e7eb;border-radius:.5rem;padding:.5rem .75rem;font-size:.8rem;word-break:break-all}
.qq-share-url code{flex:1;font-family:monospace;font-size:.75rem}
.qq-client-header{background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;padding:1.5rem;border-radius:.75rem;margin-bottom:1.5rem}
.qq-suggest-card{background:var(--surface-card,#fff);border:1px solid var(--border-color,#e5e7eb);border-radius:.75rem;padding:1rem;margin-bottom:.5rem;display:flex;align-items:center;justify-content:space-between}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   Request Detail â€” Redesigned
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.rd-hero{background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 50%,#a855f7 100%);color:#fff;position:relative;overflow:hidden}
.rd-hero::before{content:'';position:absolute;top:-50%;right:-10%;width:400px;height:400px;background:radial-gradient(circle,rgba(255,255,255,.08) 0%,transparent 70%);border-radius:50%}
.rd-hero::after{content:'';position:absolute;bottom:-30%;left:10%;width:300px;height:300px;background:radial-gradient(circle,rgba(255,255,255,.05) 0%,transparent 70%);border-radius:50%}
.rd-hero-num{background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.25);padding:.2rem .7rem;border-radius:1rem;font-size:.75rem;font-weight:600;backdrop-filter:blur(4px)}
.rd-hero-status{background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.3);padding:.2rem .7rem;border-radius:1rem;font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;backdrop-filter:blur(4px)}
.rd-hero-title{font-size:2rem;font-weight:800;margin:.5rem 0;line-height:1.2;position:relative;z-index:1}
.rd-hero-meta{display:flex;flex-wrap:wrap;gap:1rem;font-size:.85rem;opacity:.9;position:relative;z-index:1}
.rd-hero-meta i{opacity:.7}

.rd-stepper-card{background:var(--surface-card,#fff);border:1px solid var(--border-color,#e5e7eb);overflow:hidden}
.rd-stepper{display:flex;align-items:flex-start;padding:.75rem 1.5rem 1.25rem;overflow-x:auto;gap:0}
.rd-step{display:flex;flex-direction:column;align-items:center;position:relative;flex:1;min-width:80px;text-align:center}
.rd-step-line{position:absolute;top:16px;left:calc(-50% + 16px);right:calc(50% + 16px);height:3px;background:#e5e7eb;border-radius:2px;z-index:0}
.rd-step-line-done{background:#22c55e}
.rd-step-dot{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.75rem;border:3px solid #e5e7eb;background:#fff;color:#9ca3af;z-index:1;transition:all .2s}
.rd-step.is-done .rd-step-dot{background:#22c55e;border-color:#22c55e;color:#fff}
.rd-step.is-active .rd-step-dot{background:#4f46e5;border-color:#4f46e5;color:#fff;box-shadow:0 0 0 4px rgba(79,70,229,.2);animation:rd-pulse 2s infinite}
.rd-step.is-active .rd-step-line{background:linear-gradient(90deg,#22c55e 0%,#4f46e5 100%)}
@keyframes rd-pulse{0%,100%{box-shadow:0 0 0 4px rgba(79,70,229,.2)}50%{box-shadow:0 0 0 8px rgba(79,70,229,.1)}}
.rd-step-label{font-size:.7rem;font-weight:600;color:#6b7280;margin-top:.4rem;line-height:1.2}
.rd-step.is-done .rd-step-label{color:#16a34a}
.rd-step.is-active .rd-step-label{color:#4f46e5;font-weight:700}
.rd-step-time{font-size:.6rem;color:#9ca3af;margin-top:.15rem}

.rd-actions-card{background:var(--surface-card,#fff);border:1px solid var(--border-color,#e5e7eb);overflow:hidden}
.rd-action-cell{padding:.75rem 1rem;border-right:1px solid #f3f4f6;display:flex;flex-direction:column;gap:.35rem}
.rd-action-cell:last-child{border-right:none}
.rd-action-label{font-size:.7rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.3px}

.rd-tabs-card{background:var(--surface-card,#fff);border:1px solid var(--border-color,#e5e7eb);overflow:hidden}
.rd-tab-nav{border-bottom:1px solid #f3f4f6;overflow-x:auto;flex-wrap:nowrap}
.rd-tab-nav::-webkit-scrollbar{height:0}
.rd-tab-nav .nav-link{border-radius:8px;font-size:.78rem;padding:.45rem .85rem;color:#6b7280;white-space:nowrap;transition:all .15s}
.rd-tab-nav .nav-link:hover{color:#4f46e5;background:#f5f3ff}
.rd-tab-nav .nav-link.active{background:#4f46e5;color:#fff;font-weight:600}
.rd-tab-nav .tab-count{background:rgba(255,255,255,.25);padding:.1rem .4rem;border-radius:1rem;font-size:.6rem;font-weight:700}
.rd-tab-nav .nav-link:not(.active) .tab-count{background:#e5e7eb;color:#6b7280}

@media (max-width: 991.98px){
    .rd-stepper{padding:.5rem .75rem 1rem}
    .rd-step{min-width:65px}
    .rd-step-dot{width:28px;height:28px;font-size:.65rem}
    .rd-step-label{font-size:.6rem}
    .rd-action-cell{border-right:none;border-bottom:1px solid #f3f4f6}
    .rd-action-cell:last-child{border-bottom:none}
    .rd-hero-title{font-size:1.5rem}
}
@media (max-width: 767.98px){
    .rd-hero-meta{gap:.5rem;font-size:.75rem}
    .rd-step-line{top:12px;left:calc(-50% + 12px);right:calc(50% + 12px)}
    .rd-step-dot{width:24px;height:24px;font-size:.6rem;border-width:2px}
    .rd-tab-nav .nav-link{padding:.4rem .65rem;font-size:.72rem}
}

/* ═══════════════════════════════════════════════════════════════════
   BLOG MANAGEMENT — Table, Forms, Tags
   ═══════════════════════════════════════════════════════════════════ */

.dd-metrics-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.dd-table{width:100%;border-collapse:collapse;font-size:.82rem}
.dd-table thead th{
    padding:.65rem .75rem;text-align:left;font-weight:600;font-size:.7rem;
    text-transform:uppercase;letter-spacing:.05em;color:#6b7280;
    border-bottom:1px solid #e5e7eb;background:#fafafa;
}
.dd-table tbody td{
    padding:.75rem;border-bottom:1px solid #f3f4f6;vertical-align:middle;
}
.dd-table tbody tr:hover{background:#f9fafb}
.dd-table-title{font-weight:600;color:#111827;font-size:.85rem}
.dd-table-sub{font-size:.75rem;color:#6b7280;margin-top:0.15rem}

.dd-tag{
    display:inline-block;padding:.15rem .55rem;border-radius:20px;
    font-size:.65rem;font-weight:600;white-space:nowrap;
}
.dd-tag-data{background:rgba(59,130,246,.1);color:#2563eb}
.dd-tag-integration{background:rgba(139,92,246,.1);color:#7c3aed}
.dd-tag-automation{background:rgba(34,197,94,.1);color:#16a34a}
.dd-tag-erp & crm{background:rgba(245,158,11,.1);color:#d97706}
.dd-tag-iot{background:rgba(236,72,153,.1);color:#db2777}
.dd-tag-tips{background:rgba(34,197,94,.1);color:#16a34a}
.dd-tag-update{background:rgba(59,130,246,.1);color:#2563eb}
.dd-tag-how-to{background:rgba(139,92,246,.1);color:#7c3aed}
.dd-tag-news{background:rgba(245,158,11,.1);color:#d97706}

.dd-status-draft{background:rgba(107,114,128,.1);color:#6b7280;padding:.15rem .55rem;border-radius:20px;font-size:.65rem;font-weight:600}

.dd-actions-row{display:flex;gap:.35rem;align-items:center}

.dd-search-input{
    padding:.45rem .75rem;border:1px solid #e5e7eb;border-radius:8px;
    font-size:.8rem;background:#fff;color:#111827;outline:none;transition:border-color .2s;
}
.dd-search-input:focus{border-color:#818cf8}
.dd-select{
    padding:.45rem .65rem;border:1px solid #e5e7eb;border-radius:8px;
    font-size:.8rem;background:#fff;color:#111827;cursor:pointer;outline:none;
}
.dd-select:focus{border-color:#818cf8}

.dd-pagination{
    display:flex;align-items:center;justify-content:center;gap:.75rem;
    padding:1rem;border-top:1px solid #f3f4f6;
}
.dd-pagination-info{font-size:.8rem;color:#6b7280}

.dd-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem 2rem}
.dd-form-full{grid-column:1/-1}
.dd-form-group{margin-bottom:0;display:flex;flex-direction:column;min-width:0}
.dd-form-label{
    display:block;font-size:.75rem;font-weight:600;color:#374151;
    margin-bottom:.45rem;letter-spacing:.01em;
}
.dd-form-label .text-muted{font-weight:400;color:#9ca3af;font-size:.7rem}
.dd-form-input,.dd-form-select,.dd-form-textarea{
    width:100%;padding:.65rem .85rem;border:1.5px solid #e5e7eb;border-radius:10px;
    font-size:.875rem;color:#111827;background:#fafafa;outline:none;
    transition:all .2s ease;font-family:inherit;box-sizing:border-box;
}
.dd-form-input:hover,.dd-form-select:hover,.dd-form-textarea:hover{
    border-color:#d1d5db;background:#fff;
}
.dd-form-input:focus,.dd-form-select:focus,.dd-form-textarea:focus{
    border-color:#818cf8;background:#fff;
    box-shadow:0 0 0 3px rgba(129,140,248,.12);
}
.dd-form-input::placeholder,.dd-form-textarea::placeholder{color:#9ca3af}
.dd-form-textarea{resize:vertical;min-height:80px;line-height:1.6}
.dd-form-select{
    cursor:pointer;appearance:none;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat:no-repeat;background-position:right .75rem center;
    padding-right:2rem;
}

.dd-form-hint{font-size:.7rem;color:#6b7280;margin-top:.35rem;line-height:1.4}
.dd-form-error{font-size:.7rem;color:#ef4444;margin-top:.35rem}
.dd-form-input.dd-error,.dd-form-textarea.dd-error{border-color:#ef4444}
.dd-form-input.dd-error:focus,.dd-form-textarea.dd-error:focus{
    box-shadow:0 0 0 3px rgba(239,68,68,.12);
}

.dd-form-section-title{
    font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;
    color:#6b7280;margin-bottom:.75rem;padding-bottom:.5rem;
    border-bottom:1px solid #f3f4f6;
}

.dd-panel-body{padding:1rem 1.25rem 1.25rem}
.dd-field{margin-bottom:1rem}
.dd-field:last-child{margin-bottom:0}
.dd-field-row{display:flex;gap:1rem}
.dd-field-row .dd-field{flex:1;min-width:0}
.dd-label-optional{font-weight:400;color:#9ca3af;font-size:.7rem}

.dd-toggle{display:flex;align-items:center;gap:.65rem;cursor:pointer;user-select:none}
.dd-toggle input{display:none}
.dd-toggle-slider{
    width:40px;height:22px;background:#d1d5db;border-radius:11px;
    position:relative;transition:background .25s ease;flex-shrink:0;
}
.dd-toggle-slider::after{
    content:'';position:absolute;top:3px;left:3px;width:16px;height:16px;
    background:#fff;border-radius:50%;transition:transform .25s ease;
    box-shadow:0 1px 3px rgba(0,0,0,.15);
}
.dd-toggle input:checked+.dd-toggle-slider{background:#6366f1}
.dd-toggle input:checked+.dd-toggle-slider::after{transform:translateX(18px)}
.dd-toggle-label{font-size:.875rem;color:#374151;font-weight:500}

.dd-btn-danger{background:#ef4444;color:#fff;border:none;transition:all .2s}
.dd-btn-danger:hover{background:#dc2626;transform:translateY(-1px);box-shadow:0 4px 12px rgba(239,68,68,.3)}
.dd-btn-sm{padding:.3rem .6rem;font-size:.78rem;border-radius:6px}
.dd-form-row{display:flex;gap:1rem}
.dd-form-row .dd-form-group{flex:1}
.dd-hint{font-weight:400;color:#9ca3af;font-size:.75rem}
.dd-textarea{min-height:80px;resize:vertical}

/* ── Collection Card (list page) ──────────────────────────────────── */
.dd-collection-card{display:flex;flex-direction:column;gap:.75rem;padding:1.25rem;text-decoration:none;transition:all .25s ease;border:1px solid #1f2937;background:#18181b;border-radius:12px}
.dd-collection-card:hover{border-color:#6366f1;transform:translateY(-2px);box-shadow:0 8px 24px rgba(99,102,241,.12)}
.dd-collection-header{display:flex;align-items:center;gap:.75rem}
.dd-collection-icon{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1rem;flex-shrink:0}
.dd-collection-name{font-size:.95rem;font-weight:600;color:#f3f4f6}
.dd-collection-meta{font-size:.75rem;color:#9ca3af;margin-top:2px}
.dd-collection-desc{font-size:.82rem;color:#9ca3af;line-height:1.5;margin:0}
.dd-collection-footer{display:flex;justify-content:space-between;align-items:center;padding-top:.5rem;border-top:1px solid #27272a}
.dd-collection-count{font-size:.75rem;color:#9ca3af;display:flex;align-items:center;gap:.35rem}
.dd-collection-count i{font-size:.65rem}
.dd-collection-date{font-size:.72rem;color:#6b7280}
.dd-collection-tags{display:flex;flex-wrap:wrap;gap:.35rem;padding-top:.25rem}

/* ── Detail Page ──────────────────────────────────────────────────── */
.dd-detail-grid{display:grid;grid-template-columns:320px 1fr;gap:1.5rem;align-items:start}
.dd-detail-info{background:#18181b;border:1px solid #1f2937;border-radius:12px;padding:1.25rem;position:sticky;top:1.5rem}
.dd-detail-section{margin-top:1.25rem;padding-top:1.25rem;border-top:1px solid #27272a}
.dd-detail-label{font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#6b7280;margin-bottom:.65rem}
.dd-detail-assets{min-width:0}

/* ── Palette / Typography / Tags ──────────────────────────────────── */
.dd-palette{display:flex;gap:.5rem;flex-wrap:wrap}
.dd-palette-swatch{width:48px;height:48px;border-radius:10px;display:flex;align-items:flex-end;justify-content:center;padding-bottom:4px;border:1px solid rgba(255,255,255,.08);position:relative;cursor:default}
.dd-palette-hex{font-size:.55rem;color:rgba(255,255,255,.85);text-shadow:0 1px 2px rgba(0,0,0,.5);font-family:monospace}
.dd-font-item{font-size:.85rem;color:#d1d5db;padding:.4rem 0;border-bottom:1px solid #27272a}
.dd-font-item:last-child{border-bottom:none}

/* ── Assets Header / Filters ──────────────────────────────────────── */
.dd-assets-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:1rem}
.dd-assets-header h3{font-size:1rem;font-weight:600;color:#f3f4f6;display:flex;align-items:center;gap:.5rem;margin:0}
.dd-filter-row{display:flex;flex-wrap:wrap;gap:.35rem}
.dd-filter{display:inline-flex;align-items:center;padding:.3rem .65rem;border-radius:6px;font-size:.75rem;font-weight:500;color:#9ca3af;background:transparent;border:1px solid #27272a;text-decoration:none;transition:all .15s}
.dd-filter:hover{color:#d1d5db;border-color:#374151}
.dd-filter.active{color:#fff;background:#6366f1;border-color:#6366f1}

/* ── Asset Card ───────────────────────────────────────────────────── */
.dd-asset-card{display:flex;flex-direction:column;border:1px solid #1f2937;background:#18181b;border-radius:12px;overflow:hidden;transition:all .25s ease}
.dd-asset-card:hover{border-color:#374151;box-shadow:0 4px 16px rgba(0,0,0,.3)}
.dd-asset-thumb{width:100%;height:140px;object-fit:cover;border-bottom:1px solid #1f2937}
.dd-asset-color{width:100%;height:140px;border-bottom:1px solid #1f2937}
.dd-asset-icon{width:100%;height:140px;display:flex;align-items:center;justify-content:center;background:#27272a;border-bottom:1px solid #1f2937;font-size:1.75rem;color:#6b7280}
.dd-asset-info{padding:.75rem 1rem .5rem}
.dd-asset-name{font-size:.85rem;font-weight:600;color:#f3f4f6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dd-asset-meta{font-size:.72rem;color:#6b7280;margin-top:.2rem}
.dd-asset-actions{display:flex;gap:.35rem;padding:.5rem 1rem .75rem;margin-top:auto}

/* ── Modal ────────────────────────────────────────────────────────── */
.dd-modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.6);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000}
.dd-modal{background:#18181b;border:1px solid #27272a;border-radius:16px;width:100%;max-width:520px;max-height:90vh;overflow-y:auto;box-shadow:0 25px 60px rgba(0,0,0,.5)}
.dd-modal-sm{max-width:420px}
.dd-modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1.5rem;border-bottom:1px solid #27272a}
.dd-modal-header h3{font-size:1rem;font-weight:600;color:#f3f4f6;margin:0}
.dd-modal-actions{display:flex;justify-content:flex-end;gap:.75rem;padding:1rem 1.5rem;border-top:1px solid #27272a}

/* ── Color Input ──────────────────────────────────────────────────── */
.dd-color-input{display:flex;align-items:center;gap:.75rem}
.dd-color-picker{width:44px;height:44px;border:2px solid #27272a;border-radius:10px;cursor:pointer;padding:2px;background:transparent}
.dd-color-picker::-webkit-color-swatch-wrapper{padding:0}
.dd-color-picker::-webkit-color-swatch{border:none;border-radius:7px}
.dd-color-hex{font-size:.85rem;color:#9ca3af;font-family:monospace}

/* ── Search Bar ───────────────────────────────────────────────────── */
.dd-search-bar{display:flex;gap:.5rem;align-items:center}
.dd-search-bar .dd-input{flex:1}
.dd-search-bar .dd-btn{flex-shrink:0}

/* ── Slide Panel ──────────────────────────────────────────────────── */
.dd-panel-overlay{position:fixed;inset:0;background:rgba(0,0,0,.3);z-index:998}
.dd-slide-panel{
    position:fixed;top:0;right:0;width:480px;max-width:100vw;height:100vh;
    background:#fff;border-left:1px solid #e5e7eb;z-index:999;
    display:flex;flex-direction:column;transform:translateX(100%);
    transition:transform .3s cubic-bezier(.4,0,.2,1);
    box-shadow:-8px 0 30px rgba(0,0,0,.1);
}
.dd-slide-panel.open{transform:translateX(0)}
.dd-panel-topbar{
    display:flex;align-items:center;gap:.75rem;padding:.75rem 1.25rem;
    border-bottom:1px solid #e5e7eb;flex-shrink:0;background:#fff;
}
.dd-panel-topbar-title{flex:1;font-size:.95rem;font-weight:600;color:#111827}
.dd-panel-scroll{flex:1;overflow-y:auto;padding:1.25rem;display:flex;flex-direction:column;gap:1.25rem}

/* ── Drop Zone ────────────────────────────────────────────────────── */
.dd-drop-zone{
    border:2px dashed #d1d5db;border-radius:14px;cursor:pointer;
    transition:all .25s;background:#f9fafb;overflow:hidden;min-height:120px;
}
.dd-drop-zone:hover{border-color:#6366f1;background:#f5f3ff}
.dd-drop-zone.dd-drop-dragover{border-color:#818cf8;background:#eef2ff;box-shadow:0 0 0 4px rgba(129,140,248,.12)}
.dd-drop-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem 1rem;text-align:center}
.dd-drop-icon{font-size:2rem;color:#9ca3af;margin-bottom:.6rem;transition:color .2s}
.dd-drop-zone:hover .dd-drop-icon{color:#6366f1}
.dd-drop-text{font-size:.85rem;color:#6b7280;margin-bottom:.25rem}
.dd-drop-browse{color:#6366f1;font-weight:600;cursor:pointer}
.dd-drop-browse:hover{text-decoration:underline}
.dd-drop-hint{font-size:.72rem;color:#9ca3af}
.dd-drop-preview{
    display:flex;align-items:center;gap:.75rem;padding:1rem 1.25rem;
    background:#f9fafb;
}
.dd-drop-preview-icon{width:44px;height:44px;border-radius:10px;background:#e5e7eb;display:flex;align-items:center;justify-content:center;font-size:1.3rem;flex-shrink:0}
.dd-drop-preview-info{flex:1;min-width:0}
.dd-drop-preview-name{font-size:.85rem;font-weight:600;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dd-drop-preview-size{font-size:.72rem;color:#6b7280;margin-top:2px}
.dd-drop-preview-remove{
    width:30px;height:30px;border-radius:8px;border:none;background:#e5e7eb;
    color:#6b7280;cursor:pointer;display:flex;align-items:center;justify-content:center;
    transition:all .15s;flex-shrink:0;
}
.dd-drop-preview-remove:hover{background:#ef4444;color:#fff}

/* ── Collapsible Section ──────────────────────────────────────────── */
.dd-panel-section{border:1px solid #e5e7eb;border-radius:10px;overflow:hidden}
.dd-panel-section-header{
    display:flex;align-items:center;justify-content:space-between;
    padding:.65rem 1rem;cursor:pointer;font-size:.82rem;color:#6b7280;
    transition:background .15s;
}
.dd-panel-section-header:hover{background:#f3f4f6}
.dd-panel-section-header i:first-child{margin-right:.5rem}
.dd-panel-chevron{font-size:.65rem;transition:transform .2s}
.dd-panel-section-body{padding:.75rem 1rem;border-top:1px solid #e5e7eb}

/* ── Panel Fields ─────────────────────────────────────────────────── */
.dd-panel-field{display:flex;flex-direction:column;gap:.4rem}
.dd-required{color:#ef4444}

/* ── Category Cards ───────────────────────────────────────────────── */
.dd-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.4rem}
.dd-cat-card{cursor:pointer}
.dd-cat-card input{display:none}
.dd-cat-inner{
    display:flex;flex-direction:column;align-items:center;gap:.3rem;
    padding:.6rem .25rem;border-radius:10px;border:1.5px solid #e5e7eb;
    background:#f9fafb;font-size:.68rem;color:#6b7280;transition:all .15s;
    text-align:center;
}
.dd-cat-inner i{font-size:1rem}
.dd-cat-card:hover .dd-cat-inner{border-color:#d1d5db;color:#374151}
.dd-cat-card.active .dd-cat-inner{border-color:#6366f1;background:#eef2ff;color:#6366f1}

/* ── Visibility Cards ─────────────────────────────────────────────── */
.dd-vis-options{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem}
.dd-vis-card{cursor:pointer}
.dd-vis-card input{display:none}
.dd-vis-inner{
    display:flex;align-items:center;gap:.6rem;padding:.65rem .75rem;
    border-radius:10px;border:1.5px solid #e5e7eb;background:#f9fafb;
    transition:all .15s;
}
.dd-vis-inner i{font-size:1rem;color:#9ca3af;flex-shrink:0}
.dd-vis-inner strong{display:block;font-size:.78rem;color:#374151;font-weight:600}
.dd-vis-inner span{display:block;font-size:.65rem;color:#9ca3af}
.dd-vis-card:hover .dd-vis-inner{border-color:#d1d5db}
.dd-vis-card.active .dd-vis-inner{border-color:#6366f1;background:#eef2ff}
.dd-vis-card.active .dd-vis-inner i{color:#6366f1}
.dd-vis-card.active .dd-vis-inner strong{color:#111827}

/* ── Tag Input ────────────────────────────────────────────────────── */
.dd-tag-input-wrap{
    display:flex;flex-wrap:wrap;gap:.35rem;padding:.5rem .75rem;
    border:1.5px solid #d1d5db;border-radius:10px;background:#f9fafb;
    min-height:40px;align-items:center;cursor:text;transition:border-color .15s;
}
.dd-tag-input-wrap:focus-within{border-color:#6366f1}
.dd-tag-chips{display:flex;flex-wrap:wrap;gap:.3rem}
.dd-tag-chip{
    display:inline-flex;align-items:center;gap:.3rem;
    padding:.2rem .5rem;border-radius:6px;font-size:.72rem;font-weight:500;
    background:#eef2ff;color:#6366f1;
}
.dd-tag-chip button{
    border:none;background:none;color:#6366f1;cursor:pointer;
    font-size:.85rem;line-height:1;padding:0 2px;opacity:.6;
}
.dd-tag-chip button:hover{opacity:1}
.dd-tag-field{
    border:none!important;background:transparent!important;
    padding:0!important;flex:1;min-width:80px;font-size:.82rem;
    box-shadow:none!important;
}

/* ── Light Theme — Slide Panel (already light by default) ──────────── */

/* ── Resource Card ────────────────────────────────────────────────── */
.dd-resource-card{display:flex;flex-direction:column;border:1px solid #1f2937;background:#18181b;border-radius:12px;padding:1.25rem;transition:all .25s ease}
.dd-resource-card:hover{border-color:#374151;box-shadow:0 4px 16px rgba(0,0,0,.3)}
.dd-resource-icon{width:44px;height:44px;border-radius:10px;background:#27272a;display:flex;align-items:center;justify-content:center;font-size:1.25rem;margin-bottom:.75rem}
.dd-resource-body{flex:1;display:flex;flex-direction:column;gap:.4rem}
.dd-resource-header{display:flex;align-items:start;justify-content:space-between;gap:.5rem}
.dd-resource-title{font-size:.9rem;font-weight:600;color:#f3f4f6;line-height:1.3}
.dd-resource-desc{font-size:.8rem;color:#9ca3af;line-height:1.5;margin:0}
.dd-resource-meta{display:flex;flex-wrap:wrap;gap:.6rem;font-size:.72rem;color:#6b7280;margin-top:.25rem}
.dd-resource-meta i{margin-right:3px;font-size:.65rem}
.dd-resource-tags{display:flex;flex-wrap:wrap;gap:.3rem;margin-top:.35rem}
.dd-resource-actions{display:flex;gap:.35rem;padding-top:.75rem;margin-top:.75rem;border-top:1px solid #27272a}
.dd-tag-sm{font-size:.65rem;padding:.15rem .4rem}

[data-dd-theme="light"] .dd-resource-card{background:#fff;border-color:#e5e7eb}
[data-dd-theme="light"] .dd-resource-card:hover{border-color:#d1d5db;box-shadow:0 4px 16px rgba(0,0,0,.06)}
[data-dd-theme="light"] .dd-resource-icon{background:#f3f4f6}
[data-dd-theme="light"] .dd-resource-title{color:#111827}
[data-dd-theme="light"] .dd-resource-desc{color:#6b7280}
[data-dd-theme="light"] .dd-resource-meta{color:#6b7280}
[data-dd-theme="light"] .dd-resource-actions{border-color:#e5e7eb}

@media (max-width:767.98px){
    .dd-resource-card{flex-direction:row;align-items:center;gap:1rem;padding:1rem}
    .dd-resource-icon{margin-bottom:0;flex-shrink:0}
    .dd-resource-actions{border-top:none;border-left:1px solid #27272a;padding:0 0 0 .75rem;margin:0;padding-top:0}
}

@media (max-width:767.98px){
    .dd-metrics-3{grid-template-columns:1fr}
    .dd-form-grid{grid-template-columns:1fr}
    .dd-table{font-size:.75rem}
    .dd-table thead{display:none}
    .dd-table tbody tr{display:block;padding:.75rem;border-bottom:1px solid #e5e7eb}
    .dd-table tbody td{display:block;padding:.25rem 0;text-align:right}
    .dd-table tbody td::before{content:attr(data-label);font-weight:600;float:left;font-size:.7rem;color:#6b7280}
    .dd-detail-grid{grid-template-columns:1fr}
    .dd-detail-info{position:static}
    .dd-assets-header{flex-direction:column;align-items:flex-start}
    .dd-slide-panel{width:100vw}
    .dd-category-grid{grid-template-columns:repeat(3,1fr)}
    .dd-vis-options{grid-template-columns:1fr}
}

/* ── Light Theme — Designer Collections ───────────────────────────── */
[data-dd-theme="light"] .dd-collection-card{background:#fff;border-color:#e5e7eb}
[data-dd-theme="light"] .dd-collection-card:hover{border-color:#818cf8;box-shadow:0 8px 24px rgba(99,102,241,.08)}
[data-dd-theme="light"] .dd-collection-name{color:#111827}
[data-dd-theme="light"] .dd-collection-meta{color:#6b7280}
[data-dd-theme="light"] .dd-collection-desc{color:#6b7280}
[data-dd-theme="light"] .dd-collection-count{color:#6b7280}
[data-dd-theme="light"] .dd-collection-date{color:#9ca3af}
[data-dd-theme="light"] .dd-collection-footer{border-color:#e5e7eb}
[data-dd-theme="light"] .dd-detail-info{background:#fff;border-color:#e5e7eb}
[data-dd-theme="light"] .dd-detail-section{border-color:#e5e7eb}
[data-dd-theme="light"] .dd-detail-label{color:#6b7280}
[data-dd-theme="light"] .dd-detail-label{color:#6b7280}
[data-dd-theme="light"] .dd-asset-card{background:#fff;border-color:#e5e7eb}
[data-dd-theme="light"] .dd-asset-card:hover{border-color:#d1d5db;box-shadow:0 4px 16px rgba(0,0,0,.06)}
[data-dd-theme="light"] .dd-asset-thumb{border-color:#e5e7eb}
[data-dd-theme="light"] .dd-asset-color{border-color:#e5e7eb}
[data-dd-theme="light"] .dd-asset-icon{background:#f3f4f6;border-color:#e5e7eb;color:#9ca3af}
[data-dd-theme="light"] .dd-asset-name{color:#111827}
[data-dd-theme="light"] .dd-asset-meta{color:#6b7280}
[data-dd-theme="light"] .dd-assets-header h3{color:#111827}
[data-dd-theme="light"] .dd-filter{border-color:#e5e7eb;color:#6b7280}
[data-dd-theme="light"] .dd-filter:hover{color:#374151;border-color:#d1d5db}
[data-dd-theme="light"] .dd-filter.active{color:#fff;background:#6366f1;border-color:#6366f1}
[data-dd-theme="light"] .dd-modal{background:#fff;border-color:#e5e7eb}
[data-dd-theme="light"] .dd-modal-header{border-color:#e5e7eb}
[data-dd-theme="light"] .dd-modal-header h3{color:#111827}
[data-dd-theme="light"] .dd-modal-actions{border-color:#e5e7eb}
[data-dd-theme="light"] .dd-palette-swatch{border-color:rgba(0,0,0,.08)}
[data-dd-theme="light"] .dd-font-item{color:#374151;border-color:#e5e7eb}
[data-dd-theme="light"] .dd-color-picker{border-color:#e5e7eb}
[data-dd-theme="light"] .dd-color-hex{color:#6b7280}
[data-dd-theme="light"] .dd-hint{color:#9ca3af}

/* ── Create Collection Panel ───────────────────────────────────── */
.cc-preset{
    display:flex;flex-direction:column;align-items:center;gap:0.35rem;
    padding:0.6rem 0.25rem;border-radius:10px;border:1.5px solid #e5e7eb;
    background:#fff;cursor:pointer;transition:all .2s;font-size:0.72rem;color:#6b7280;
}
.cc-preset:hover{border-color:#6366f1;background:#f5f3ff;color:#6366f1;transform:translateY(-1px);}
.cc-preset.selected{border-color:#6366f1;background:#eef2ff;color:#4f46e5;font-weight:600;}
.cc-preset i{font-size:1.1rem;color:#9ca3af;transition:color .2s;}
.cc-preset:hover i{color:#6366f1;}
.cc-preset.selected i{color:#4f46e5;}

.cc-swatch{
    width:28px;height:28px;border-radius:8px;border:2.5px solid transparent;
    cursor:pointer;transition:all .2s;flex-shrink:0;
}
.cc-swatch:hover{transform:scale(1.15);box-shadow:0 0 0 3px rgba(99,102,241,.15);}
.cc-swatch.selected{border-color:#111827;box-shadow:0 0 0 3px rgba(99,102,241,.25);}

.cc-palette-row{
    display:flex;gap:0.5rem;align-items:center;
}
.cc-palette-row input[type="color"]{width:36px;height:36px;border:none;padding:0;cursor:pointer;border-radius:8px;flex-shrink:0;}
.cc-palette-row input[type="text"]{flex:1;}
.cc-palette-row .cc-palette-remove{
    width:28px;height:28px;border-radius:6px;border:none;background:transparent;
    color:#9ca3af;cursor:pointer;display:flex;align-items:center;justify-content:center;
    transition:all .2s;flex-shrink:0;
}
.cc-palette-row .cc-palette-remove:hover{background:#fef2f2;color:#ef4444;}

.cc-font-row{
    display:flex;gap:0.5rem;align-items:center;
}
.cc-font-row input{flex:1;}
.cc-font-row .cc-font-remove{
    width:28px;height:28px;border-radius:6px;border:none;background:transparent;
    color:#9ca3af;cursor:pointer;display:flex;align-items:center;justify-content:center;
    transition:all .2s;flex-shrink:0;
}
.cc-font-row .cc-font-remove:hover{background:#fef2f2;color:#ef4444;}

/* ── Image Upload Grid ─────────────────────────────────────── */
.cc-image-upload{
    display:block;cursor:pointer;border-radius:10px;overflow:hidden;
    border:1.5px solid #e5e7eb;transition:all .2s;position:relative;
}
.cc-image-upload:hover{border-color:#6366f1;box-shadow:0 0 0 3px rgba(99,102,241,.1);}
.cc-image-upload.has-image{border-color:#10b981;}
.cc-image-slot{
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    gap:0.25rem;padding:0.75rem 0.5rem;background:#f9fafb;min-height:80px;
    transition:background .2s;
}
.cc-image-upload:hover .cc-image-slot{background:#f5f3ff;}
.cc-image-slot i{font-size:1.1rem;color:#9ca3af;transition:color .2s;}
.cc-image-upload:hover .cc-image-slot i{color:#6366f1;}
.cc-image-slot span{font-size:0.68rem;color:#6b7280;font-weight:500;}
.cc-image-slot img{
    width:100%;height:80px;object-fit:cover;border-radius:6px;
}
.cc-image-remove{
    position:absolute;top:4px;right:4px;width:20px;height:20px;border-radius:50%;
    background:rgba(239,68,68,.9);color:#fff;border:none;cursor:pointer;
    display:none;align-items:center;justify-content:center;font-size:0.6rem;
}
.cc-image-upload.has-image .cc-image-remove{display:flex;}

/* Collection Preview Gallery */
.coll-gallery{
    display:grid;grid-template-columns:repeat(3,1fr);gap:12px;
    margin:1.25rem 0;padding-top:1.25rem;border-top:1px solid #e5e7eb;
}
.coll-gallery-item{
    position:relative;border-radius:12px;overflow:hidden;
    background:#f3f4f6;border:1px solid #e5e7eb;
    transition:transform .2s,box-shadow .2s;
}
.coll-gallery-item:hover{
    transform:translateY(-3px);box-shadow:0 8px 20px rgba(0,0,0,.1);
}
.coll-gallery-item img{
    width:100%;height:160px;object-fit:cover;display:block;
}
.coll-gallery-label{
    position:absolute;bottom:0;left:0;right:0;
    padding:8px 10px;font-size:0.72rem;font-weight:700;color:#fff;
    background:linear-gradient(transparent,rgba(0,0,0,.7));
    text-transform:uppercase;letter-spacing:.05em;
}
.coll-palette,.coll-fonts{
    margin-top:1rem;padding-top:1rem;border-top:1px solid #e5e7eb;
}
@media(max-width:640px){
    .coll-gallery{grid-template-columns:repeat(2,1fr);}
    .coll-gallery-item img{height:120px;}
}
@media(max-width:400px){
    .coll-gallery{grid-template-columns:1fr;}
}

/* ══════════════════════════════════════════════════════════════════════════════
   Collection Detail (cd-*)
   ══════════════════════════════════════════════════════════════════════════════ */

/* Hero Banner */
.cd-hero{
    position:relative;border-radius:16px;overflow:hidden;
    min-height:200px;display:flex;align-items:flex-end;
    margin-bottom:1.5rem;background:#18181b;
}
.cd-hero-bg{
    position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
}
.cd-hero-overlay{
    position:absolute;inset:0;
    background:linear-gradient(180deg,rgba(0,0,0,.1) 0%,rgba(0,0,0,.75) 100%);
}
.cd-hero-content{
    position:relative;z-index:1;display:flex;align-items:center;gap:1.25rem;
    padding:2rem 2.5rem;width:100%;
}
.cd-hero-badge{
    width:64px;height:64px;border-radius:16px;
    display:flex;align-items:center;justify-content:center;
    flex-shrink:0;box-shadow:0 4px 16px rgba(0,0,0,.3);
}
.cd-hero-title{
    font-size:1.6rem;font-weight:800;color:#fff;margin:0 0 .4rem;line-height:1.2;
}
.cd-hero-meta{display:flex;flex-wrap:wrap;gap:.4rem;}
.cd-hero-tag{
    display:inline-flex;align-items:center;gap:.3rem;
    padding:.25rem .65rem;border-radius:20px;font-size:.72rem;font-weight:600;
    background:rgba(255,255,255,.12);color:rgba(255,255,255,.9);
    backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.1);
}
.cd-hero-tag i{font-size:.65rem;}
.cd-hero-published{background:rgba(16,185,129,.25);color:#6ee7b7;border-color:rgba(16,185,129,.3);}

/* Main Grid */
.cd-grid{
    display:grid;grid-template-columns:340px 1fr;gap:1.5rem;align-items:start;
}
.cd-sidebar{display:flex;flex-direction:column;gap:1rem;}

/* Panels */
.cd-panel{
    background:#18181b;border:1px solid #27272a;border-radius:14px;
    padding:1.25rem;transition:border-color .2s;
}
.cd-panel:hover{border-color:#374151;}
.cd-panel-title{
    font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;
    color:#9ca3af;margin-bottom:1rem;display:flex;align-items:center;gap:.5rem;
}
.cd-panel-title i{font-size:.7rem;color:#6366f1;}

/* About */
.cd-about-text{
    font-size:.88rem;color:#d1d5db;line-height:1.65;margin:0;
}

/* Preview Kit Grid */
.cd-kit-grid{
    display:grid;grid-template-columns:repeat(2,1fr);gap:.65rem;
}
.cd-kit-item{
    position:relative;border-radius:10px;overflow:hidden;
    cursor:pointer;border:1px solid #27272a;
    transition:all .25s;
}
.cd-kit-item:hover{
    border-color:#6366f1;transform:translateY(-2px);
    box-shadow:0 6px 20px rgba(99,102,241,.15);
}
.cd-kit-item img{
    width:100%;height:120px;object-fit:cover;display:block;
}
.cd-kit-label{
    position:absolute;bottom:0;left:0;right:0;
    padding:6px 8px;font-size:.65rem;font-weight:700;color:#fff;
    background:linear-gradient(transparent,rgba(0,0,0,.75));
    display:flex;align-items:center;gap:.3rem;
}
.cd-kit-label i{font-size:.6rem;}

/* Color Palette */
.cd-palette{display:flex;gap:.5rem;flex-wrap:wrap;}
.cd-swatch{
    width:52px;height:52px;border-radius:12px;
    display:flex;align-items:flex-end;justify-content:center;
    padding-bottom:5px;border:2px solid rgba(255,255,255,.1);
    transition:transform .2s;cursor:default;
}
.cd-swatch:hover{transform:scale(1.1);}
.cd-swatch-hex{
    font-size:.5rem;color:rgba(255,255,255,.9);text-shadow:0 1px 3px rgba(0,0,0,.6);
    font-family:'SF Mono',Monaco,monospace;
}

/* Typography */
.cd-fonts{display:flex;flex-direction:column;gap:.5rem;}
.cd-font-item{
    display:flex;align-items:center;justify-content:space-between;
    padding:.6rem .8rem;background:#0f0f11;border-radius:10px;
    border:1px solid #27272a;
}
.cd-font-name{font-size:.85rem;color:#e5e7eb;font-weight:600;}
.cd-font-preview{font-size:1.3rem;color:#9ca3af;font-weight:700;}

/* Tags */
.cd-tags{display:flex;flex-wrap:wrap;gap:.35rem;}
.cd-tag{
    padding:.3rem .7rem;border-radius:20px;font-size:.72rem;font-weight:600;
    background:#27272a;color:#d1d5db;border:1px solid #374151;
    transition:all .2s;
}
.cd-tag:hover{background:#6366f1;color:#fff;border-color:#6366f1;}

/* Assets Section */
.cd-assets{min-width:0;}
.cd-assets-header{
    display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
    gap:.75rem;margin-bottom:1.25rem;
}
.cd-assets-title{
    font-size:1rem;font-weight:700;color:#f3f4f6;margin:0;
    display:flex;align-items:center;gap:.5rem;
}
.cd-count{
    display:inline-flex;align-items:center;justify-content:center;
    min-width:22px;height:22px;border-radius:7px;
    background:#27272a;color:#9ca3af;font-size:.72rem;font-weight:600;
    padding:0 .4rem;
}
.cd-filters{display:flex;flex-wrap:wrap;gap:.3rem;}
.cd-filter{
    padding:.35rem .7rem;border-radius:8px;font-size:.75rem;font-weight:600;
    color:#9ca3af;text-decoration:none;border:1px solid transparent;
    transition:all .2s;
}
.cd-filter:hover{color:#e5e7eb;background:#27272a;}
.cd-filter.active{
    background:#6366f1;color:#fff;border-color:#6366f1;
}

/* Asset Grid */
.cd-asset-grid{
    display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem;
}
.cd-asset-card{
    border-radius:12px;overflow:hidden;border:1px solid #27272a;
    background:#18181b;transition:all .25s;display:flex;flex-direction:column;
}
.cd-asset-card:hover{
    border-color:#374151;box-shadow:0 6px 24px rgba(0,0,0,.3);
    transform:translateY(-2px);
}
.cd-asset-thumb{width:100%;height:150px;object-fit:cover;border-bottom:1px solid #27272a;}
.cd-asset-color{width:100%;height:150px;border-bottom:1px solid #27272a;}
.cd-asset-icon{
    width:100%;height:150px;display:flex;align-items:center;justify-content:center;
    background:#0f0f11;border-bottom:1px solid #27272a;font-size:1.8rem;color:#4b5563;
}
.cd-asset-body{padding:.75rem 1rem .5rem;flex:1;}
.cd-asset-name{
    font-size:.85rem;font-weight:600;color:#f3f4f6;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.cd-asset-meta{font-size:.72rem;color:#6b7280;margin-top:.2rem;}
.cd-asset-actions{
    display:flex;gap:.35rem;padding:.5rem 1rem .75rem;margin-top:auto;
}
.cd-asset-btn{
    width:32px;height:32px;border-radius:8px;border:1px solid #374151;
    background:transparent;color:#9ca3af;cursor:pointer;
    display:flex;align-items:center;justify-content:center;
    font-size:.78rem;transition:all .2s;text-decoration:none;
}
.cd-asset-btn:hover{background:#27272a;color:#e5e7eb;border-color:#4b5563;}
.cd-asset-btn-danger:hover{background:#7f1d1d;color:#fca5a5;border-color:#991b1b;}

/* Empty State */
.cd-empty{
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    padding:4rem 2rem;text-align:center;border:1px dashed #27272a;
    border-radius:16px;background:#0f0f11;
}
.cd-empty-icon{
    width:72px;height:72px;border-radius:20px;
    background:#18181b;border:1px solid #27272a;
    display:flex;align-items:center;justify-content:center;
    font-size:1.6rem;color:#4b5563;margin-bottom:1.25rem;
}
.cd-empty h4{font-size:1rem;font-weight:700;color:#e5e7eb;margin:0 0 .4rem;}
.cd-empty p{font-size:.85rem;color:#6b7280;margin:0 0 1.25rem;}

/* Lightbox */
.cd-lightbox{
    position:fixed;inset:0;z-index:9999;
    background:rgba(0,0,0,.9);backdrop-filter:blur(8px);
    display:flex;align-items:center;justify-content:center;
    padding:2rem;cursor:zoom-out;
}
.cd-lightbox img{
    max-width:90vw;max-height:85vh;object-fit:contain;border-radius:12px;
    box-shadow:0 20px 60px rgba(0,0,0,.5);
}
.cd-lightbox-close{
    position:absolute;top:1.5rem;right:1.5rem;
    width:44px;height:44px;border-radius:12px;border:none;
    background:rgba(255,255,255,.1);color:#fff;font-size:1.1rem;
    cursor:pointer;display:flex;align-items:center;justify-content:center;
    transition:background .2s;
}
.cd-lightbox-close:hover{background:rgba(255,255,255,.2);}

/* ── Responsive ── */
@media(max-width:960px){
    .cd-grid{grid-template-columns:1fr;}
    .cd-sidebar{order:2;}
    .cd-assets{order:1;}
    .cd-hero-content{padding:1.5rem;}
    .cd-hero-title{font-size:1.3rem;}
}
@media(max-width:600px){
    .cd-hero-badge{width:48px;height:48px;border-radius:12px;}
    .cd-hero-badge span{font-size:.9rem;}
    .cd-hero-content{gap:.75rem;padding:1.25rem;}
    .cd-hero-title{font-size:1.1rem;}
    .cd-kit-grid{grid-template-columns:1fr;}
    .cd-kit-item img{height:100px;}
    .cd-asset-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.75rem;}
    .cd-asset-thumb,.cd-asset-color,.cd-asset-icon{height:110px;}
}

/* ── Light Theme Overrides ── */
[data-dd-theme="light"] .cd-hero{background:#f3f4f6;}
[data-dd-theme="light"] .cd-hero-badge{box-shadow:0 4px 16px rgba(0,0,0,.1);}
[data-dd-theme="light"] .cd-hero-tag{background:rgba(255,255,255,.2);border-color:rgba(255,255,255,.15);}
[data-dd-theme="light"] .cd-panel{background:#fff;border-color:#e5e7eb;}
[data-dd-theme="light"] .cd-panel:hover{border-color:#d1d5db;}
[data-dd-theme="light"] .cd-panel-title{color:#6b7280;}
[data-dd-theme="light"] .cd-about-text{color:#374151;}
[data-dd-theme="light"] .cd-kit-item{border-color:#e5e7eb;}
[data-dd-theme="light"] .cd-kit-item:hover{border-color:#6366f1;}
[data-dd-theme="light"] .cd-swatch{border-color:rgba(0,0,0,.08);}
[data-dd-theme="light"] .cd-font-item{background:#f9fafb;border-color:#e5e7eb;}
[data-dd-theme="light"] .cd-font-name{color:#111827;}
[data-dd-theme="light"] .cd-font-preview{color:#6b7280;}
[data-dd-theme="light"] .cd-tag{background:#f3f4f6;color:#374151;border-color:#e5e7eb;}
[data-dd-theme="light"] .cd-tag:hover{background:#6366f1;color:#fff;border-color:#6366f1;}
[data-dd-theme="light"] .cd-assets-title{color:#111827;}
[data-dd-theme="light"] .cd-count{background:#f3f4f6;color:#6b7280;}
[data-dd-theme="light"] .cd-filter:hover{color:#111827;background:#f3f4f6;}
[data-dd-theme="light"] .cd-asset-card{background:#fff;border-color:#e5e7eb;}
[data-dd-theme="light"] .cd-asset-card:hover{border-color:#d1d5db;box-shadow:0 6px 24px rgba(0,0,0,.06);}
[data-dd-theme="light"] .cd-asset-thumb{border-color:#e5e7eb;}
[data-dd-theme="light"] .cd-asset-color{border-color:#e5e7eb;}
[data-dd-theme="light"] .cd-asset-icon{background:#f9fafb;border-color:#e5e7eb;color:#9ca3af;}
[data-dd-theme="light"] .cd-asset-name{color:#111827;}
[data-dd-theme="light"] .cd-asset-meta{color:#6b7280;}
[data-dd-theme="light"] .cd-asset-btn{border-color:#e5e7eb;color:#6b7280;}
[data-dd-theme="light"] .cd-asset-btn:hover{background:#f3f4f6;color:#111827;border-color:#d1d5db;}
[data-dd-theme="light"] .cd-empty{background:#f9fafb;border-color:#e5e7eb;}
[data-dd-theme="light"] .cd-empty-icon{background:#f3f4f6;border-color:#e5e7eb;color:#9ca3af;}
[data-dd-theme="light"] .cd-empty h4{color:#111827;}
[data-dd-theme="light"] .cd-empty p{color:#6b7280;}

