/* ================================================================
   Whiteboard Canvas Live Pro — Full Stylesheet
   ================================================================ */

/* ── Reset / Base ──────────────────────────────────────────── */
.wbc-wrapper *, .wbc-wrapper *::before, .wbc-wrapper *::after {
    box-sizing: border-box;
}
.wbc-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    width: 100%;
    max-width: 100%;
    background: #0f172a;
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 6px 32px rgba(0,0,0,.32);
    display: flex;
    flex-direction: column;
    position: relative;
    user-select: none;
}
.wbc-fullwidth {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%);
    border-radius: 0 !important;
}
.wbc-wrapper.wbc-drag {
    outline: 3px dashed #3b82f6;
    outline-offset: -3px;
}

/* ── Toolbar ───────────────────────────────────────────────── */
.wbc-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    padding: 7px 12px;
    background: #1e293b;
    border-bottom: 1px solid #334155;
    min-height: 50px;
    position: relative;
    z-index: 10;
}
.wbc-tool-group {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-right: 8px;
    border-right: 1px solid #334155;
    flex-shrink: 0;
}
.wbc-tool-group--right { border-right: none; margin-left: auto; gap: 8px; }
.wbc-tool-sep { width: 1px; height: 28px; background: #334155; flex-shrink: 0; }

/* ── Tool / Toolbar Buttons ────────────────────────────────── */
.wbc-tool,
.wbc-toolbar button,
.wbc-btn-icon,
.wbc-btn-panel {
    background: #334155;
    border: 1px solid #475569;
    color: #e2e8f0;
    padding: 5px 9px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.4;
    transition: background .12s, border-color .12s, transform .08s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.wbc-tool:hover,
.wbc-toolbar button:hover,
.wbc-btn-icon:hover,
.wbc-btn-panel:hover {
    background: #475569;
    border-color: #64748b;
}
.wbc-tool:active, .wbc-toolbar button:active { transform: scale(.94); }
.wbc-tool.active { background: #3b82f6; border-color: #2563eb; color: #fff; }
.wbc-btn-danger { border-color: #7f1d1d !important; color: #fca5a5 !important; }
.wbc-btn-danger:hover { background: #dc2626 !important; color: #fff !important; border-color: #dc2626 !important; }
.wbc-btn-ai   { background: #4c1d95 !important; border-color: #7c3aed !important; color: #ddd6fe !important; }
.wbc-btn-ai:hover { background: #6d28d9 !important; }
.wbc-btn-panel.active { background: #3b82f6; border-color: #2563eb; color: #fff; }

/* ── Form Controls in Toolbar ──────────────────────────────── */
.wbc-label {
    color: #94a3b8;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.wbc-toolbar input[type="color"] {
    width: 28px; height: 26px;
    border: 1px solid #475569; border-radius: 4px;
    background: none; padding: 1px; cursor: pointer;
    vertical-align: middle;
}
.wbc-toolbar select {
    background: #334155; color: #e2e8f0;
    border: 1px solid #475569; padding: 3px 5px;
    border-radius: 4px; cursor: pointer; font-size: 12px;
}
.wbc-toolbar input[type="range"] {
    width: 64px; cursor: pointer; accent-color: #3b82f6; vertical-align: middle;
}
.wbc-status-dot { color: #22c55e; font-size: 16px; }
.wbc-viewer-badge {
    color: #94a3b8; font-size: 12px;
    background: #334155; padding: 3px 8px;
    border-radius: 20px; border: 1px solid #475569;
}

/* ── Viewer Bar ────────────────────────────────────────────── */
.wbc-viewer-bar {
    display: flex; align-items: center; gap: 12px;
    padding: 9px 14px;
    background: #1e293b;
    border-bottom: 1px solid #334155;
    min-height: 48px;
    position: relative; z-index: 10;
}
.wbc-live-badge {
    background: #dc2626; color: #fff;
    padding: 3px 12px; border-radius: 20px;
    font-size: 12px; font-weight: 700;
    animation: wbc-pulse 1.8s infinite;
}
@keyframes wbc-pulse { 0%,100%{opacity:1} 50%{opacity:.55} }
.wbc-viewer-info { color: #94a3b8; font-size: 13px; }
.wbc-status-viewer { margin-left: auto; font-size: 12px; color: #64748b; }

/* ── Main Area ─────────────────────────────────────────────── */
.wbc-main {
    display: flex;
    position: relative;
    flex: 1;
    overflow: hidden;
}

/* ── Canvas Stack (layers) ─────────────────────────────────── */
.wbc-canvas-stack {
    position: relative;
    flex: 1;
    overflow: hidden;
    background: v-bind(cfg.canvas_bg);
}
.wbc-layer-canvas,
.wbc-overlay-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: block;
    touch-action: none;
}
.wbc-overlay-canvas { z-index: 100; background: transparent; cursor: crosshair; }

/* ── Layer Panel ───────────────────────────────────────────── */
.wbc-layer-panel {
    width: 200px;
    min-width: 200px;
    background: #1e293b;
    border-left: 1px solid #334155;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 5;
}
.wbc-panel-header {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 10px;
    background: #0f172a;
    border-bottom: 1px solid #334155;
    font-size: 12px; font-weight: 600; color: #e2e8f0;
    text-transform: uppercase; letter-spacing: .5px;
    flex-shrink: 0;
}
.wbc-panel-header button {
    background: #334155; border: 1px solid #475569; color: #e2e8f0;
    border-radius: 4px; padding: 2px 7px; cursor: pointer; font-size: 13px; margin-left: auto;
}
.wbc-panel-header button:last-child { margin-left: 2px; }
.wbc-layer-list {
    flex: 1; overflow-y: auto; padding: 6px 0;
}
.wbc-layer-row {
    display: flex; align-items: center; gap: 4px;
    padding: 6px 8px; cursor: pointer;
    border-bottom: 1px solid #1e293b;
    font-size: 12px;
    transition: background .1s;
}
.wbc-layer-row:hover { background: #334155; }
.wbc-layer-row.active { background: #1e40af; }
.wbc-layer-vis { background: none; border: none; cursor: pointer; font-size: 14px; padding: 0 2px; flex-shrink: 0; }
.wbc-layer-name { flex: 1; color: #e2e8f0; font-size: 12px; outline: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wbc-layer-opacity-slider { width: 40px; cursor: pointer; accent-color: #3b82f6; flex-shrink: 0; }
.wbc-layer-del { background: none; border: none; color: #64748b; cursor: pointer; font-size: 13px; padding: 0 2px; flex-shrink: 0; }
.wbc-layer-del:hover { color: #ef4444; }

/* ── Magic PNG Panel ───────────────────────────────────────── */
.wbc-magic-panel {
    position: absolute; bottom: 48px; left: 10px;
    width: 340px; background: #1e293b;
    border: 1px solid #334155; border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,.4);
    z-index: 200; overflow: hidden;
}
.wbc-magic-panel .wbc-panel-header { border-radius: 10px 10px 0 0; }
.wbc-btn-primary { background: #3b82f6; color: #fff; border: none; padding: 8px 16px; border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 600; }
.wbc-btn-primary:hover { background: #2563eb; }
.wbc-btn-secondary { background: #334155; color: #e2e8f0; border: 1px solid #475569; padding: 8px 14px; border-radius: 6px; cursor: pointer; font-size: 13px; }
.wbc-btn-secondary:hover { background: #475569; }
.wbc-magic-panel label { color: #94a3b8; font-size: 12px; }
.wbc-magic-panel input[type="color"] { width: 36px; height: 28px; border-radius: 4px; border: 1px solid #475569; cursor: pointer; }
.wbc-magic-panel input[type="range"] { width: 100px; cursor: pointer; accent-color: #3b82f6; }
.wbc-magic-panel input[type="checkbox"] { accent-color: #3b82f6; }

/* ── Library Panel ─────────────────────────────────────────── */
.wbc-library-panel {
    position: absolute; top: 0; right: 0; bottom: 0;
    width: 340px;
    background: #1e293b;
    border-left: 1px solid #334155;
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.4,0,.2,1);
    z-index: 300;
    overflow: hidden;
}
.wbc-library-panel.wbc-library-open { transform: translateX(0); }
.wbc-library-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 14px;
    background: #0f172a; border-bottom: 1px solid #334155; flex-shrink: 0;
}
.wbc-library-header h3 { margin: 0; font-size: 14px; color: #e2e8f0; font-weight: 600; }
.wbc-library-close {
    background: none; border: none; color: #64748b; cursor: pointer; font-size: 18px; line-height: 1; padding: 4px;
}
.wbc-library-close:hover { color: #ef4444; }
.wbc-library-cats {
    display: flex; gap: 0;
    border-bottom: 1px solid #334155; flex-shrink: 0;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.wbc-cat {
    background: none; border: none; border-bottom: 2px solid transparent;
    color: #64748b; padding: 8px 10px; cursor: pointer; font-size: 12px; white-space: nowrap;
    transition: color .15s, border-color .15s;
}
.wbc-cat:hover { color: #e2e8f0; }
.wbc-cat.active { color: #3b82f6; border-bottom-color: #3b82f6; }
.wbc-library-upload {
    padding: 8px 12px; border-bottom: 1px solid #334155; flex-shrink: 0;
}
.wbc-btn-upload {
    display: block; text-align: center;
    background: #334155; color: #e2e8f0;
    border: 1px dashed #475569; border-radius: 6px;
    padding: 7px; cursor: pointer; font-size: 12px;
    transition: background .1s;
}
.wbc-btn-upload:hover { background: #475569; border-color: #64748b; }
.wbc-library-swipe-wrap { flex: 1; overflow-y: auto; position: relative; }
.wbc-library-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 10px;
}
.wbc-lib-card {
    background: #0f172a; border: 1px solid #334155;
    border-radius: 8px; overflow: hidden; cursor: pointer;
    transition: transform .15s, border-color .15s;
}
.wbc-lib-card:hover { transform: scale(1.02); border-color: #3b82f6; }
.wbc-lib-card-thumb {
    position: relative; height: 90px; overflow: hidden; background: #334155;
}
.wbc-lib-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wbc-lib-card-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.7); display: flex; align-items: center; justify-content: center; gap: 4px;
    opacity: 0; transition: opacity .15s;
}
.wbc-lib-card:hover .wbc-lib-card-overlay { opacity: 1; }
.wbc-lib-action-view, .wbc-lib-action-layer, .wbc-lib-action-dl, .wbc-lib-action-del {
    background: rgba(255,255,255,.15); border: none; color: #fff;
    width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 13px;
    display: flex; align-items: center; justify-content: center;
    transition: background .1s;
}
.wbc-lib-action-view:hover  { background: #3b82f6; }
.wbc-lib-action-layer:hover { background: #10b981; }
.wbc-lib-action-dl:hover    { background: #6366f1; }
.wbc-lib-action-del:hover   { background: #dc2626; }
.wbc-lib-card-info { padding: 7px 8px; }
.wbc-lib-card-title { font-size: 11px; color: #e2e8f0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wbc-lib-card-date  { font-size: 10px; color: #64748b; margin-top: 2px; }
.wbc-lib-empty { grid-column: 1/-1; text-align: center; color: #64748b; padding: 30px 16px; }
.wbc-lib-empty p { margin: 8px 0; font-size: 13px; }
.wbc-library-loading { grid-column: 1/-1; text-align: center; color: #64748b; padding: 30px; font-size: 14px; }

/* ── Lightbox Viewer inside Library ────────────────────────── */
.wbc-lib-viewer {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.92); display: flex; flex-direction: column;
    align-items: center; justify-content: center; z-index: 50;
}
.wbc-lib-viewer-close {
    position: absolute; top: 10px; right: 12px;
    background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; line-height: 1;
}
.wbc-lib-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,.1); border: none; color: #fff;
    font-size: 32px; width: 40px; height: 60px; border-radius: 6px;
    cursor: pointer; z-index: 51; transition: background .1s;
}
.wbc-lib-nav:hover { background: rgba(255,255,255,.25); }
.wbc-lib-prev { left: 6px; }
.wbc-lib-next { right: 6px; }
.wbc-lib-viewer-img-wrap { max-width: 90%; max-height: 70vh; display: flex; align-items: center; justify-content: center; }
.wbc-lib-viewer-img-wrap img { max-width: 100%; max-height: 70vh; border-radius: 8px; object-fit: contain; }
.wbc-lib-viewer-actions { display: flex; gap: 10px; margin-top: 14px; }
.wbc-lib-viewer-actions button {
    background: #334155; border: 1px solid #475569; color: #e2e8f0;
    padding: 8px 16px; border-radius: 6px; cursor: pointer; font-size: 13px;
}
.wbc-lib-viewer-actions button:hover { background: #475569; }

/* ── AI Modal ──────────────────────────────────────────────── */
.wbc-ai-modal {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.7);
    display: flex; align-items: center; justify-content: center;
    z-index: 9999; padding: 16px;
}
.wbc-ai-modal-inner {
    background: #1e293b; border-radius: 12px;
    width: 100%; max-width: 620px; max-height: 90vh;
    display: flex; flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.wbc-ai-modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px; border-bottom: 1px solid #334155; flex-shrink: 0;
}
.wbc-ai-modal-header h3 { margin: 0; color: #e2e8f0; font-size: 16px; }
#wbc-ai-close { background: none; border: none; color: #64748b; font-size: 20px; cursor: pointer; }
#wbc-ai-close:hover { color: #ef4444; }
.wbc-ai-tabs { display: flex; border-bottom: 1px solid #334155; flex-shrink: 0; }
.wbc-ai-tab {
    background: none; border: none; border-bottom: 2px solid transparent;
    color: #64748b; padding: 10px 16px; cursor: pointer; font-size: 13px;
    transition: color .15s, border-color .15s;
}
.wbc-ai-tab.active { color: #3b82f6; border-bottom-color: #3b82f6; }
.wbc-ai-tab-content { padding: 16px 18px; overflow-y: auto; flex: 1; }
.wbc-ai-prompt-wrap { position: relative; }
.wbc-ai-prompt-wrap textarea {
    width: 100%; min-height: 80px; resize: vertical;
    background: #0f172a; border: 1px solid #334155; color: #e2e8f0;
    border-radius: 8px; padding: 10px; font-size: 14px; font-family: inherit; outline: none;
}
.wbc-ai-prompt-wrap textarea:focus { border-color: #3b82f6; }
.wbc-btn-enhance {
    position: absolute; bottom: 8px; right: 8px;
    background: #4c1d95; border: 1px solid #7c3aed; color: #ddd6fe;
    padding: 4px 10px; border-radius: 5px; cursor: pointer; font-size: 11px;
    transition: background .1s;
}
.wbc-btn-enhance:hover { background: #6d28d9; }
.wbc-ai-options { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; font-size: 13px; color: #94a3b8; align-items: center; }
.wbc-ai-options select {
    background: #334155; color: #e2e8f0; border: 1px solid #475569;
    padding: 4px 8px; border-radius: 5px; margin-left: 4px; font-size: 12px;
}
.wbc-ai-options label { display: flex; align-items: center; gap: 4px; }
.wbc-btn-ai-generate {
    background: linear-gradient(135deg,#4c1d95,#1d4ed8);
    border: none; color: #fff;
    padding: 10px 20px; border-radius: 8px; cursor: pointer;
    font-size: 14px; font-weight: 600; width: 100%;
    transition: opacity .15s, transform .1s;
}
.wbc-btn-ai-generate:hover { opacity: .9; }
.wbc-btn-ai-generate:active { transform: scale(.98); }
.wbc-btn-ai-generate:disabled { opacity: .5; cursor: not-allowed; }
.wbc-ai-status { margin-top: 10px; font-size: 13px; padding: 8px; border-radius: 6px; }
.wbc-ai-status--pending { background: #1e3a5f; color: #93c5fd; }
.wbc-ai-status--success { background: #064e3b; color: #6ee7b7; }
.wbc-ai-status--error   { background: #450a0a; color: #fca5a5; }
.wbc-ai-results { display: grid; grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); gap: 10px; margin-top: 12px; }
.wbc-ai-result-card { border-radius: 8px; overflow: hidden; background: #0f172a; border: 1px solid #334155; }
.wbc-ai-result-card img { width: 100%; height: 140px; object-fit: cover; display: block; }
.wbc-ai-result-actions { display: flex; gap: 4px; padding: 6px; }
.wbc-ai-result-actions button { flex: 1; background: #334155; border: 1px solid #475569; color: #e2e8f0; padding: 5px 6px; border-radius: 5px; cursor: pointer; font-size: 11px; }
.wbc-ai-result-actions button:hover { background: #475569; }
.wbc-ai-history-grid { display: flex; flex-direction: column; gap: 14px; }
.wbc-ai-history-row { background: #0f172a; border-radius: 8px; padding: 10px; border: 1px solid #334155; }
.wbc-ai-hist-prompt { font-size: 12px; color: #94a3b8; margin-bottom: 8px; font-style: italic; }
.wbc-ai-hist-imgs { display: flex; gap: 6px; flex-wrap: wrap; }
.wbc-ai-hist-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; cursor: pointer; border: 2px solid #334155; }
.wbc-ai-hist-thumb:hover { border-color: #3b82f6; }
#wbc-ai-canvas-prompt {
    width: 100%; min-height: 60px; resize: vertical;
    background: #0f172a; border: 1px solid #334155; color: #e2e8f0;
    border-radius: 8px; padding: 10px; font-size: 14px; font-family: inherit; outline: none; margin-top: 10px;
}

/* ── Text Overlay ──────────────────────────────────────────── */
.wbc-text-overlay {
    position: absolute; display: flex; gap: 4px;
    background: #1e293b; border: 2px solid #3b82f6;
    border-radius: 8px; padding: 6px 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    z-index: 500;
}
#wbc-text-input {
    background: #0f172a; border: 1px solid #475569; color: #e2e8f0;
    border-radius: 5px; padding: 5px 10px; min-width: 180px; font-size: 14px; outline: none;
}
#wbc-text-input:focus { border-color: #3b82f6; }
#wbc-text-ok     { background: #3b82f6; border: none; color: #fff; padding: 5px 12px; border-radius: 5px; cursor: pointer; }
#wbc-text-cancel { background: #334155; border: 1px solid #475569; color: #e2e8f0; padding: 5px 10px; border-radius: 5px; cursor: pointer; }

/* ── Selection Context Menu ────────────────────────────────── */
.wbc-selection-menu {
    position: absolute; z-index: 600;
    background: #1e293b; border: 1px solid #334155;
    border-radius: 8px; padding: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
    display: flex; flex-direction: column; gap: 2px; min-width: 160px;
}
.wbc-selection-menu button {
    background: none; border: none; color: #e2e8f0;
    text-align: left; padding: 7px 12px; border-radius: 5px;
    cursor: pointer; font-size: 13px;
    transition: background .1s;
}
.wbc-selection-menu button:hover { background: #334155; }

/* ── Footer Bar ────────────────────────────────────────────── */
.wbc-footer-bar {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px;
    padding: 5px 14px;
    background: #1e293b; border-top: 1px solid #334155;
    font-size: 11px; color: #64748b; min-height: 30px; flex-shrink: 0;
}
.wbc-footer-bar code { background: #334155; padding: 1px 5px; border-radius: 3px; font-size: 10px; color: #e2e8f0; }
.wbc-footer-bar a { color: #60a5fa; text-decoration: none; }
.wbc-footer-bar a:hover { text-decoration: underline; }
.wbc-coords, .wbc-dim { font-family: monospace; color: #475569; }
.wbc-status-text { color: #22c55e; font-weight: 600; }

/* ── Voice Widget (always fixed bottom-right) ──────────────── */
.wbc-voice-widget {
    position: fixed;
    bottom: 24px; right: 24px;
    z-index: 10000;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.wbc-voice-transcript {
    background: rgba(15,23,42,.95);
    border: 1px solid #334155; border-radius: 10px;
    padding: 8px 12px; max-width: 260px; width: max-content;
    box-shadow: 0 4px 20px rgba(0,0,0,.4);
    font-size: 13px; color: #e2e8f0;
    max-height: 80px; overflow-y: auto;
}
.wbc-voice-btn {
    width: 52px; height: 52px; border-radius: 50%;
    background: linear-gradient(135deg,#1e293b,#334155);
    border: 2px solid #475569; color: #e2e8f0;
    cursor: pointer; font-size: 22px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,.4);
    transition: all .2s;
    position: relative; z-index: 1;
}
.wbc-voice-btn:hover { transform: scale(1.08); border-color: #3b82f6; }
.wbc-voice-btn.wbc-voice-active {
    background: linear-gradient(135deg,#1d4ed8,#3b82f6);
    border-color: #60a5fa;
    box-shadow: 0 0 0 4px rgba(59,130,246,.3), 0 4px 16px rgba(0,0,0,.4);
}
.wbc-voice-btn.wbc-voice-pulse {
    box-shadow: 0 0 0 8px rgba(59,130,246,.15), 0 4px 16px rgba(0,0,0,.4);
}
.wbc-voice-label { font-size: 10px; color: #64748b; font-weight: 500; letter-spacing: .4px; text-transform: uppercase; }
.wbc-voice-heard { color: #e2e8f0; }

/* ── Toast Notification ────────────────────────────────────── */
.wbc-toast {
    position: fixed; bottom: 88px; right: 24px; z-index: 10001;
    background: #1e293b; border: 1px solid #334155; color: #e2e8f0;
    padding: 10px 16px; border-radius: 8px; font-size: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,.4);
    transform: translateY(20px); opacity: 0;
    transition: transform .25s, opacity .25s; pointer-events: none;
}
.wbc-toast.visible { transform: translateY(0); opacity: 1; }

/* ── Login Gate ────────────────────────────────────────────── */
.wbc-login-gate {
    background: #fef9c3; border: 1px solid #fde047; border-radius: 8px;
    padding: 24px; text-align: center; color: #713f12; font-size: 15px;
}
.wbc-login-gate a { color: #1d4ed8; font-weight: 600; }

/* ── Admin Dashboard ───────────────────────────────────────── */
.wbc-admin-dashboard { margin-top: 12px; }
.wbc-info-boxes { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.wbc-info-box {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 10px;
    padding: 16px 20px; min-width: 200px; flex: 1;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.wbc-info-box h3 {
    margin: 0 0 8px; font-size: 11px; text-transform: uppercase;
    letter-spacing: .8px; color: #64748b; font-weight: 600;
}
.wbc-info-box p { margin: 0 0 8px; font-size: 13px; color: #475569; }
.wbc-info-box code { background: #f1f5f9; padding: 2px 7px; border-radius: 4px; font-size: 12px; word-break: break-all; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 700px) {
    .wbc-toolbar { padding: 6px 8px; gap: 3px 5px; }
    .wbc-tool-group { padding-right: 5px; gap: 3px; }
    .wbc-tool, .wbc-toolbar button, .wbc-btn-icon, .wbc-btn-panel { padding: 4px 7px; font-size: 12px; }
    .wbc-label span { display: none; }
    .wbc-toolbar input[type="range"] { width: 46px; }
    .wbc-library-panel { width: 100%; }
    .wbc-layer-panel { width: 160px; min-width: 160px; }
    .wbc-ai-modal-inner { max-width: 100%; border-radius: 10px 10px 0 0; }
    .wbc-voice-widget { bottom: 16px; right: 16px; }
    .wbc-info-boxes { flex-direction: column; }
}
