.eth-neuron-workspace-v2 { max-width: 1480px; }

.eth-neuron-hero-compact {
    min-height: unset;
    padding: clamp(22px, 4vw, 42px);
}

.eth-neuron-orb-big.energy-level-4,
.eth-neuron-orb-big.energy-level-5 {
    animation: ethNeuronEnergyPulse 2.4s ease-in-out infinite;
}

@keyframes ethNeuronEnergyPulse {
    0%, 100% { box-shadow: 0 0 32px color-mix(in srgb, var(--neuron-color) 45%, transparent), inset 0 0 28px rgba(255,255,255,.08); }
    50% { box-shadow: 0 0 74px color-mix(in srgb, var(--neuron-color) 78%, transparent), inset 0 0 42px rgba(255,255,255,.18); }
}

.eth-neuron-progress-card {
    margin-top: 14px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.045);
    border-radius: 18px;
    display: grid;
    gap: 10px;
}

.eth-neuron-progress-card > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    color: rgba(255,255,255,.72);
    font-size: 12px;
}

.eth-neuron-progress-card strong {
    color: #fff;
    font-size: 18px;
}

.eth-progress-track {
    height: 9px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    overflow: hidden;
}

.eth-progress-track i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--neuron-color), #f59e0b, #fff7ed);
    box-shadow: 0 0 24px color-mix(in srgb, var(--neuron-color) 75%, transparent);
    transition: width .28s ease;
}

.eth-workspace-grid-wide {
    grid-template-columns: minmax(0, 1.45fr) minmax(360px, .72fr);
    align-items: start;
}

.eth-block-editor-card {
    position: relative;
    overflow: hidden;
}

.eth-block-editor-card::before {
    content: '';
    position: absolute;
    inset: -30% auto auto -20%;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, color-mix(in srgb, var(--neuron-color) 24%, transparent), transparent 68%);
    pointer-events: none;
}

.eth-custom-fields {
    position: relative;
    z-index: 1;
    margin: 14px 0;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.035);
}

.eth-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.eth-field-grid label {
    display: grid;
    gap: 7px;
    color: rgba(255,255,255,.64);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.eth-field-grid input {
    width: 100%;
    min-height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.09);
    background: rgba(0,0,0,.26);
    color: #fff;
    padding: 0 12px;
    outline: none;
}

.eth-block-toolbar {
    position: sticky;
    top: 72px;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    margin: 14px 0;
    border: 1px solid rgba(255,255,255,.09);
    background: rgba(8,8,8,.82);
    backdrop-filter: blur(20px);
    border-radius: 18px;
}

.eth-block-toolbar button {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.09);
    background: rgba(255,255,255,.055);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.eth-block-toolbar button:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--neuron-color) 55%, rgba(255,255,255,.12));
    background: color-mix(in srgb, var(--neuron-color) 18%, rgba(255,255,255,.05));
}

.eth-block-editor {
    display: grid;
    gap: 12px;
    min-height: 520px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(0,0,0,.22);
}

.eth-editor-block {
    position: relative;
    padding: 14px 46px 14px 16px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    background: rgba(255,255,255,.035);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.eth-editor-block:hover {
    border-color: rgba(255,255,255,.16);
    background: rgba(255,255,255,.052);
}

.eth-editor-block [contenteditable="true"] {
    outline: none;
}

.eth-block-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.7);
    cursor: pointer;
}

.eth-block-remove:hover { color: #fff; background: rgba(239,68,68,.22); }

.eth-block-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    color: rgba(255,255,255,.55);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.eth-block-text .eth-block-body,
.eth-block-callout .eth-block-body,
.eth-block-comment .eth-block-body,
.eth-block-quote .eth-block-body {
    min-height: 28px;
    line-height: 1.68;
}

.eth-block-callout { background: color-mix(in srgb, var(--neuron-color) 11%, rgba(255,255,255,.035)); }
.eth-block-callout .eth-block-body::before { content: '💡 '; }
.eth-block-comment { border-style: dashed; }
.eth-block-quote { border-left: 4px solid var(--neuron-color); font-size: 18px; font-weight: 700; }

.eth-check-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 7px 0;
}

.eth-check-row span {
    flex: 1;
    min-height: 24px;
    outline: none;
}

.eth-block-table table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 14px;
}

.eth-block-table td,
.eth-block-table th {
    border: 1px solid rgba(255,255,255,.1);
    padding: 10px;
    min-width: 100px;
    outline: none;
}

.eth-block-code pre {
    margin: 0;
    padding: 14px;
    border-radius: 14px;
    background: rgba(0,0,0,.5);
    color: #f8fafc;
    white-space: pre-wrap;
    font-family: 'SFMono-Regular', Consolas, monospace;
    outline: none;
}

.eth-kanban-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.eth-kanban-col {
    min-height: 160px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(0,0,0,.22);
    border: 1px solid rgba(255,255,255,.08);
}

.eth-kanban-col strong {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    color: rgba(255,255,255,.72);
}

.eth-kanban-card,
.eth-subneuron-card {
    min-height: 40px;
    padding: 10px;
    margin-top: 8px;
    border-radius: 12px;
    background: rgba(255,255,255,.07);
    outline: none;
}

.eth-subneuron-list {
    display: grid;
    gap: 8px;
}

.eth-block-media img,
.eth-media-gallery img {
    max-width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.1);
}

.eth-video-card,
.eth-file-block-card,
.eth-link-card {
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.09);
    background: rgba(0,0,0,.22);
    border-radius: 16px;
}

.eth-video-card a,
.eth-file-block-card a,
.eth-link-card a { color: #fff; font-weight: 900; word-break: break-word; }

.eth-drop-zone {
    display: grid;
    place-items: center;
    gap: 4px;
    min-height: 116px;
    padding: 16px;
    border: 1px dashed rgba(255,255,255,.18);
    border-radius: 18px;
    background: rgba(255,255,255,.035);
    text-align: center;
    cursor: pointer;
}

.eth-drop-zone.drag-over {
    border-color: var(--neuron-color);
    background: color-mix(in srgb, var(--neuron-color) 14%, rgba(255,255,255,.04));
}

.eth-drop-zone strong { color: #fff; }
.eth-drop-zone span { color: rgba(255,255,255,.58); font-size: 12px; }
.eth-upload-card input[type="file"] { display: none; }

.eth-media-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.eth-media-item {
    min-height: 98px;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
    overflow: hidden;
}

.eth-media-item small { display: block; color: rgba(255,255,255,.52); margin-top: 6px; word-break: break-word; }

.eth-alert-list {
    display: grid;
    gap: 8px;
}

.eth-alert-item {
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(245,158,11,.18);
    background: rgba(245,158,11,.09);
    color: #fffbeb;
    font-size: 13px;
}

.eth-recurrence-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
    color: rgba(255,255,255,.5);
    font-size: 12px;
}

.eth-recurrence-row button {
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.055);
    color: #fff;
    border-radius: 12px;
    min-height: 34px;
    padding: 0 10px;
    font-weight: 800;
}

@media (max-width: 980px) {
    .eth-workspace-grid-wide { grid-template-columns: 1fr; }
    .eth-field-grid { grid-template-columns: 1fr; }
    .eth-kanban-board { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .eth-block-toolbar {
        top: 54px;
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }
    .eth-block-toolbar::-webkit-scrollbar { display: none; }
    .eth-block-toolbar button { flex: 0 0 auto; }
    .eth-block-editor { min-height: 360px; padding: 10px; border-radius: 20px; }
    .eth-editor-block { padding: 12px 42px 12px 12px; border-radius: 16px; }
    .eth-media-gallery { grid-template-columns: 1fr; }
}
