/* =============================================================
   LKH Hub App — tucamaria.ro
   v1.6.0 unified styles
   ============================================================= */

.lkh-hub {
    --bg:        #0a0305;
    --surf:      #14111a;
    --surf2:     #1d1926;
    --surf3:     #262131;
    --border:    rgba(255,255,255,0.07);
    --border-h:  rgba(168,120,46,0.45);
    --gold:      #a8782e;
    --gold-l:    #c9a96e;
    --gold-xl:   #f0d9a8;
    --gold-dim:  rgba(168,120,46,0.12);
    --text:      #e8e4f0;
    --muted:     #7a7490;
    --dim:       #4a4560;
    --success:   #34c77b;
    --warn:      #f5a623;
    --danger:    #e05252;
    --info:      #5b9cf6;
    --r:         14px;
    --rs:        8px;
    --trans:     0.18s cubic-bezier(.4,0,.2,1);
    --shadow:    0 4px 28px rgba(0,0,0,.5);
    --shadow-lg: 0 16px 56px rgba(0,0,0,.65);

    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: transparent;
    color: var(--text);
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0 0 60px;
}

/* ── Section wrapper ─────────────────────────────────────────── */
.lkh-hub-section {
    background: var(--surf);
    border: 1px solid var(--border);
    border-radius: var(--r);
    margin-bottom: 20px;
    overflow: hidden;
}

.lkh-hub-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.lkh-hub-section-title {
    display: flex;
    align-items: center;
    gap: 16px;
}
.lkh-hub-step {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gold-dim);
    border: 1px solid var(--gold);
    color: var(--gold-l);
    font-size: 0.95rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lkh-hub-section-title h2 {
    margin: 0 0 2px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}
.lkh-hub-section-title p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--muted);
}

.lkh-hub-section-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* ─────────────────────────────────────────────────────────────
   SECTION 1 — SUGGESTIONS
─────────────────────────────────────────────────────────────── */

/* Area tabs */
.lkh-hub-area-tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.lkh-area-tab {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--trans);
    white-space: nowrap;
}
.lkh-area-tab:hover  { background: var(--gold-dim); color: var(--text); border-color: var(--border-h); }
.lkh-area-tab.active {
    background: var(--gold-dim);
    color: var(--gold-l);
    border-color: var(--gold);
    font-weight: 600;
}
.lkh-area-tab-label { }
.lkh-area-tab-badge {
    background: var(--gold);
    color: #0a0305;
    border-radius: 10px;
    padding: 0 6px;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 16px;
    text-align: center;
}

/* Coverage strip */
.lkh-coverage-strip {
    display: flex;
    gap: 0;
    padding: 10px 24px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 8px;
}
.lkh-cov-item {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 100px;
}
.lkh-cov-lbl { font-size: 0.72rem; color: var(--muted); white-space: nowrap; }
.lkh-cov-bar { flex: 1; height: 4px; background: var(--surf3); border-radius: 2px; overflow: hidden; min-width: 30px; }
.lkh-cov-fill { height: 100%; background: var(--gold); border-radius: 2px; transition: width 0.6s ease; }
.lkh-cov-fill.ok { background: var(--success); }
.lkh-cov-pct { font-size: 0.72rem; color: var(--gold-l); font-weight: 700; min-width: 28px; text-align: right; }

/* Sufficient banner */
.lkh-sufficient-banner {
    margin: 12px 24px;
    background: rgba(52,199,123,.08);
    border: 1px solid rgba(52,199,123,.25);
    border-radius: var(--rs);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--success);
}

/* Analyzing state */
.lkh-analyzing {
    padding: 40px;
    text-align: center;
    color: var(--muted);
}
.lkh-analyzing-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-bottom: 16px;
}
.lkh-analyzing-dots span {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--gold);
    animation: lkh-dot 1.4s ease-in-out infinite;
}
.lkh-analyzing-dots span:nth-child(2) { animation-delay: .2s; }
.lkh-analyzing-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes lkh-dot { 0%,80%,100%{transform:scale(.6);opacity:.4}40%{transform:scale(1);opacity:1} }

/* Suggestions table */
.lkh-suggestions-wrap { padding: 0 0 8px; }
.lkh-suggestions-empty {
    text-align: center;
    padding: 40px 24px;
    color: var(--muted);
    font-size: 0.9rem;
}
.lkh-suggestions-empty strong { color: var(--gold-l); }
.lkh-suggestions-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}
.lkh-suggestions-table thead th {
    padding: 10px 16px;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    background: var(--surf2);
}
.lkh-th-score   { width: 54px; text-align: center; }
.lkh-th-sub     { width: 140px; }
.lkh-th-actions { width: 120px; text-align: right; }

.lkh-suggestions-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background var(--trans);
}
.lkh-suggestions-table tbody tr:hover { background: var(--surf2); }
.lkh-suggestions-table tbody tr:last-child { border-bottom: none; }

.lkh-suggestions-table td { padding: 11px 16px; vertical-align: middle; }

.lkh-score-bubble {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin: 0 auto;
}
.lkh-score-bubble.hi  { background: rgba(52,199,123,.15);  color: var(--success); }
.lkh-score-bubble.mid { background: var(--gold-dim);        color: var(--gold-l); }
.lkh-score-bubble.lo  { background: rgba(90,84,104,.2);     color: var(--dim); }

.lkh-sug-title-cell { color: var(--text); font-weight: 500; line-height: 1.4; }
.lkh-sug-sub-cell   { color: var(--muted); font-size: 0.78rem; }

.lkh-sug-actions-cell {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
}

/* ─────────────────────────────────────────────────────────────
   SECTION 2 — JSON UPLOAD
─────────────────────────────────────────────────────────────── */

/* Mode badge */
.lkh-mode-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}
.lkh-mode-badge--loading  { background: var(--surf3); color: var(--muted); }
.lkh-mode-badge--publish  { background: rgba(52,199,123,.12); color: var(--success); border: 1px solid rgba(52,199,123,.3); }
.lkh-mode-badge--queue    { background: rgba(91,156,246,.1);  color: var(--info);    border: 1px solid rgba(91,156,246,.3); }

/* Upload steps wrapper */
.lkh-upload-steps { padding: 20px 24px; }

/* Drop zone */
.lkh-drop-zone {
    border: 2px dashed var(--border-h);
    border-radius: var(--r);
    background: var(--surf2);
    text-align: center;
    padding: 32px 24px 20px;
    transition: all var(--trans);
    cursor: pointer;
}
.lkh-drop-zone:hover,
.lkh-drop-zone.drag-over {
    border-color: var(--gold-l);
    background: var(--gold-dim);
}
.lkh-drop-icon { font-size: 2.4rem; margin-bottom: 12px; }
.lkh-drop-title { font-size: 1rem; font-weight: 600; color: var(--text); margin: 0 0 4px; }
.lkh-drop-sub   { font-size: 0.85rem; color: var(--muted); margin: 0 0 14px; }

.lkh-drop-divider {
    font-size: 0.8rem;
    color: var(--dim);
    margin: 20px 0 12px;
    position: relative;
}
.lkh-drop-divider::before,
.lkh-drop-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 80px);
    height: 1px;
    background: var(--border);
}
.lkh-drop-divider::before { left: 0; }
.lkh-drop-divider::after  { right: 0; }

.lkh-json-paste {
    width: 100%;
    min-height: 90px;
    background: var(--surf3);
    border: 1px solid var(--border);
    border-radius: var(--rs);
    color: var(--text);
    font-family: 'Courier New', monospace;
    font-size: 0.78rem;
    padding: 10px;
    resize: vertical;
    box-sizing: border-box;
    transition: border-color var(--trans);
}
.lkh-json-paste:focus { outline: none; border-color: var(--gold); }

/* Preview card */
.lkh-preview-card {
    background: var(--surf2);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 20px;
}
.lkh-preview-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.lkh-preview-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px;
    line-height: 1.3;
}
.lkh-preview-meta { display: flex; gap: 6px; flex-wrap: wrap; }

.lkh-tag {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--gold-dim);
    color: var(--gold-l);
}
.lkh-tag--dim { background: var(--surf3); color: var(--muted); }

/* Image row */
.lkh-image-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}
@media (max-width: 640px) { .lkh-image-row { grid-template-columns: 1fr; } }

.lkh-image-prompt-box {
    background: var(--surf3);
    border: 1px solid var(--border);
    border-radius: var(--rs);
    padding: 12px;
}
.lkh-image-prompt-text {
    font-size: 0.78rem;
    color: var(--muted);
    max-height: 80px;
    overflow-y: auto;
    margin-bottom: 8px;
    line-height: 1.5;
}

.lkh-image-upload-box { }
.lkh-image-url-row { display: flex; gap: 8px; margin-bottom: 8px; }
.lkh-image-thumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}
.lkh-image-thumb img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 5px;
}
.lkh-thumb-check { color: var(--success); font-size: 1.1rem; }

/* Submit row */
.lkh-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.lkh-submit-mode-info {
    font-size: 0.85rem;
    color: var(--muted);
    flex: 1;
}
.lkh-submit-btns { display: flex; align-items: center; gap: 10px; }

/* Result card */
.lkh-result-card {
    background: var(--surf2);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 40px 24px;
    text-align: center;
}
.lkh-result-card.queue  { border-color: rgba(91,156,246,.3); }
.lkh-result-card.publish { border-color: rgba(52,199,123,.3); }
.lkh-result-icon  { font-size: 2.4rem; margin-bottom: 12px; }
.lkh-result-title { font-size: 1.1rem; font-weight: 700; margin: 0 0 8px; }
.lkh-result-msg   { color: var(--muted); margin: 0 0 20px; font-size: 0.9rem; }
.lkh-result-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* ─────────────────────────────────────────────────────────────
   SECTION 3 — QUEUE
─────────────────────────────────────────────────────────────── */
.lkh-queue-stats-inline { display: flex; gap: 8px; }
.lkh-stat-pill {
    padding: 4px 12px;
    background: var(--gold-dim);
    color: var(--gold-l);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
}
.lkh-stat-pill--dim { background: var(--surf3); color: var(--muted); }

/* Settings panel */
.lkh-queue-settings-panel {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    background: var(--surf2);
}
.lkh-settings-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: end;
}
@media (max-width: 680px) { .lkh-settings-grid { grid-template-columns: repeat(2, 1fr); } }
.lkh-settings-field { }

.lkh-apd-ctrl { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.lkh-apd-btn {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--surf3);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--trans);
}
.lkh-apd-btn:hover { background: var(--gold-dim); border-color: var(--gold); color: var(--gold-l); }
.lkh-apd-val { font-size: 1.3rem; font-weight: 800; color: var(--gold-l); min-width: 24px; text-align: center; }

.lkh-toggle-label {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text);
    margin-top: 8px;
}
.lkh-toggle-input { display: none; }
.lkh-toggle {
    width: 38px; height: 20px;
    background: var(--surf3);
    border: 1px solid var(--border);
    border-radius: 10px;
    position: relative;
    transition: all var(--trans);
    flex-shrink: 0;
}
.lkh-toggle::after {
    content: '';
    position: absolute;
    width: 14px; height: 14px;
    background: var(--dim);
    border-radius: 50%;
    top: 2px; left: 2px;
    transition: all var(--trans);
}
.lkh-toggle-input:checked + .lkh-toggle { background: var(--gold); border-color: var(--gold); }
.lkh-toggle-input:checked + .lkh-toggle::after { left: 20px; background: #fff; }

.lkh-settings-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
.lkh-estimate-text { font-size: 0.82rem; color: var(--muted); }

/* Queue list */
.lkh-queue-list {
    padding: 12px 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.lkh-queue-date-group { margin-bottom: 8px; }
.lkh-queue-date-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    padding: 6px 0 5px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.lkh-qlbl-today { color: var(--info); }
.lkh-qlbl-past  { color: var(--danger); }

.lkh-queue-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    background: var(--surf2);
    border: 1px solid var(--border);
    border-radius: var(--rs);
    padding: 11px 14px;
    transition: all var(--trans);
}
.lkh-queue-item:hover { background: var(--surf3); border-color: var(--border-h); }
.lkh-queue-item.today { border-left: 3px solid var(--info); }
.lkh-queue-item.past  { border-left: 3px solid var(--danger); opacity: .7; }

.lkh-qi-title { font-size: 0.9rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0 0 3px; }
.lkh-qi-meta  { font-size: 0.75rem; color: var(--muted); display: flex; gap: 8px; }
.lkh-qi-actions {
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity var(--trans);
}
.lkh-queue-item:hover .lkh-qi-actions { opacity: 1; }
@media (max-width: 600px) { .lkh-qi-actions { opacity: 1; } }

.lkh-queue-empty {
    padding: 40px 24px;
    text-align: center;
    color: var(--muted);
    font-size: 0.88rem;
}
.lkh-queue-empty-icon { font-size: 2rem; display: block; margin-bottom: 10px; }

/* ─────────────────────────────────────────────────────────────
   SHARED: Buttons, Inputs, Modals, Toasts
─────────────────────────────────────────────────────────────── */
.lkh-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--rs);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--trans);
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;
}
.lkh-btn:disabled { opacity: .5; cursor: not-allowed; }
.lkh-btn--primary  { background: var(--gold); color: #0a0305; border-color: var(--gold); }
.lkh-btn--primary:hover:not(:disabled)  { background: var(--gold-l); border-color: var(--gold-l); }
.lkh-btn--secondary { background: var(--surf3); color: var(--text); border-color: var(--border); }
.lkh-btn--secondary:hover:not(:disabled) { background: #322d3e; border-color: var(--border-h); }
.lkh-btn--ghost    { background: transparent; color: var(--muted); border-color: var(--border); }
.lkh-btn--ghost:hover:not(:disabled) { color: var(--text); border-color: var(--border-h); }
.lkh-btn--danger   { background: var(--danger); color: #fff; border-color: var(--danger); }
.lkh-btn--lg       { padding: 11px 22px; font-size: 0.96rem; }
.lkh-btn--sm       { padding: 5px 11px; font-size: 0.8rem; }
.lkh-btn--icon-only { padding: 6px 8px; background: var(--surf3); border: 1px solid var(--border); border-radius: 6px; color: var(--muted); font-size: 0.85rem; cursor: pointer; transition: all var(--trans); }
.lkh-btn--icon-only:hover { color: var(--text); border-color: var(--border-h); }
.lkh-btn--icon-only.danger:hover { color: var(--danger); border-color: var(--danger); }
.lkh-btn--icon-only.success:hover { color: var(--success); border-color: var(--success); }
.lkh-btn--icon-only.info:hover { color: var(--info); border-color: var(--info); }

.lkh-btn-copy {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: var(--gold-dim);
    color: var(--gold-l);
    border: 1px solid var(--gold);
    border-radius: var(--rs);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--trans);
}
.lkh-btn-copy:hover  { background: var(--gold); color: #0a0305; }
.lkh-btn-copy--sm    { padding: 3px 9px; font-size: 0.75rem; }
.lkh-btn-copy.copied { background: rgba(52,199,123,.15); color: var(--success); border-color: var(--success); }

.lkh-select {
    background: var(--surf3);
    border: 1px solid var(--border);
    border-radius: var(--rs);
    color: var(--text);
    padding: 7px 12px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: border-color var(--trans);
}
.lkh-select:focus { outline: none; border-color: var(--gold); }

.lkh-input {
    background: var(--surf3);
    border: 1px solid var(--border);
    border-radius: var(--rs);
    color: var(--text);
    padding: 8px 12px;
    font-size: 0.88rem;
    width: 100%;
    box-sizing: border-box;
    transition: border-color var(--trans);
}
.lkh-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-dim); }

.lkh-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted);
    margin-bottom: 6px;
}
.lkh-form-group { margin-bottom: 16px; }
.lkh-hint { font-size: 0.78rem; color: var(--dim); margin: 4px 0 0; }

/* Modal */
.lkh-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.lkh-modal-bd { position: absolute; inset: 0; background: rgba(0,0,0,.8); backdrop-filter: blur(6px); }
.lkh-modal-box {
    position: relative;
    background: var(--surf);
    border: 1px solid var(--border);
    border-radius: var(--r);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: lkh-modal-in .18s ease;
}
.lkh-modal-box--wide { max-width: 700px; }
@keyframes lkh-modal-in { from { opacity:0; transform: translateY(-14px) scale(.97); } to { opacity:1; transform:none; } }

.lkh-modal-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px 14px;
    border-bottom: 1px solid var(--border);
}
.lkh-modal-hd h3 { margin: 0; font-size: 1rem; font-weight: 700; }
.lkh-modal-x { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 1rem; padding: 4px 8px; border-radius: 5px; transition: all var(--trans); }
.lkh-modal-x:hover { background: var(--surf2); color: var(--text); }
.lkh-modal-body { padding: 20px 22px; }
.lkh-modal-ft { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 22px 18px; border-top: 1px solid var(--border); }

/* Prompt modal */
.lkh-prompt-tabs { display: flex; gap: 4px; margin-bottom: 14px; }
.lkh-prompt-tab {
    padding: 6px 14px;
    background: var(--surf2);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--trans);
}
.lkh-prompt-tab.active { background: var(--gold-dim); color: var(--gold-l); border-color: var(--gold); }
.lkh-prompt-panel { display: none; }
.lkh-prompt-panel.active { display: block; }
.lkh-prompt-textarea {
    width: 100%;
    min-height: 320px;
    background: var(--surf3);
    border: 1px solid var(--border);
    border-radius: var(--rs);
    color: var(--muted);
    font-family: 'Courier New', monospace;
    font-size: 0.78rem;
    padding: 12px;
    resize: vertical;
    box-sizing: border-box;
    margin-bottom: 10px;
}

/* Loading / spinner */
.lkh-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 0.88rem;
    padding: 30px 0;
    justify-content: center;
}
.lkh-spinner {
    width: 22px; height: 22px;
    border: 2px solid var(--border);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: lkh-spin .65s linear infinite;
}
@keyframes lkh-spin { to { transform: rotate(360deg); } }

/* Toast */
.lkh-toasts {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 200000;
    display: flex;
    flex-direction: column;
    gap: 7px;
    pointer-events: none;
}
.lkh-toast {
    background: var(--surf2);
    border: 1px solid var(--border);
    border-radius: var(--rs);
    padding: 11px 16px;
    font-size: 0.86rem;
    color: var(--text);
    box-shadow: var(--shadow);
    pointer-events: all;
    max-width: 340px;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: lkh-toast-in .25s ease;
}
.lkh-toast.ok   { border-left: 3px solid var(--success); }
.lkh-toast.err  { border-left: 3px solid var(--danger);  }
.lkh-toast.info { border-left: 3px solid var(--info);    }
@keyframes lkh-toast-in { from { opacity:0; transform: translateX(18px); } to { opacity:1; transform:none; } }

/* Responsive */
@media (max-width: 640px) {
    .lkh-hub-section-header { flex-direction: column; align-items: flex-start; }
    .lkh-hub-area-tabs { max-width: 100%; overflow-x: auto; }
}
