.ml-section {
    padding: 42px 0;
}

.ml-section-head {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: end;
    margin-bottom: 18px;
}

.ml-section h2,
.ml-professor-card h2 {
    font-size: 34px;
    line-height: 1.15;
}

.ml-section-head > p {
    max-width: 450px;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

.ml-asset-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ml-asset-card {
    min-height: 292px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.ml-asset-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: var(--accent, var(--coin-green));
}

.ml-asset-top,
.ml-score-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ml-asset-symbol {
    font-size: 28px;
    font-weight: 950;
}

.ml-asset-tone {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 9px;
    border-radius: 8px;
    background: var(--surface-soft);
    color: var(--accent, var(--coin-green));
    font-size: 12px;
    font-weight: 950;
}

.ml-asset-card p {
    min-height: 78px;
    margin: 18px 0 0;
    color: var(--muted);
    line-height: 1.5;
}

.ml-score-row {
    margin-top: 18px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.ml-score-track,
.ml-layer-track {
    height: 8px;
    border-radius: 999px;
    background: #edf2ef;
    overflow: hidden;
}

.ml-score-track {
    margin-top: 8px;
}

.ml-score-fill,
.ml-layer-fill {
    height: 100%;
    border-radius: 999px;
    background: var(--accent, var(--coin-green));
}

.ml-asset-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 18px;
}

.ml-asset-meta div {
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-soft);
}

.ml-asset-meta span,
.ml-asset-meta strong {
    display: block;
}

.ml-asset-meta span {
    color: var(--dim);
    font-size: 11px;
    font-weight: 900;
}

.ml-asset-meta strong {
    margin-top: 5px;
    font-size: 13px;
}

.ml-flow-board {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 16px;
    align-items: stretch;
}

.ml-flow-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ml-flow-node {
    position: relative;
    min-height: 174px;
    padding: 18px;
    overflow: hidden;
}

.ml-flow-node::after {
    content: "";
    position: absolute;
    top: 27px;
    right: -10px;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--line-strong);
    border-right: 2px solid var(--line-strong);
    background: var(--surface);
    transform: rotate(45deg);
    z-index: 2;
}

.ml-flow-node:nth-child(3)::after,
.ml-flow-node:last-child::after {
    display: none;
}

.ml-flow-node span {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--surface-green);
    color: var(--coin-green);
    font-size: 13px;
    font-weight: 950;
}

.ml-flow-node strong {
    display: block;
    margin-top: 14px;
    font-size: 18px;
}

.ml-flow-node p,
.ml-live-stack span {
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.48;
}

.ml-flow-node.source span { background: #edf7fb; color: var(--cyan); }
.ml-flow-node.archive span { background: #fff7e8; color: var(--gold); }
.ml-flow-node.agents span { background: #f4efff; color: var(--violet); }
.ml-flow-node.decision span { background: var(--surface-green); color: var(--coin-green); }
.ml-flow-node.publish span { background: #fff0f2; color: var(--red); }
.ml-flow-node.page span { background: #eef3ff; color: var(--blue); }

.ml-live-stack {
    padding: 20px;
}

.ml-live-stack h3 {
    margin: 0 0 12px;
    font-size: 22px;
}

.ml-live-stack div {
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.ml-live-stack div:first-of-type {
    border-top: 0;
}

.ml-live-stack strong,
.ml-live-stack span {
    display: block;
}

.ml-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.ml-tab {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--muted);
    min-height: 38px;
    padding: 0 14px;
    font-weight: 950;
    cursor: pointer;
}

.ml-tab.active,
.ml-tab:hover,
.ml-tab:focus-visible {
    color: white;
    background: var(--coin-green);
    border-color: var(--coin-green);
    outline: none;
}

.ml-layer-board {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    padding: 22px;
}

.ml-layer-visual {
    display: grid;
    gap: 14px;
    align-content: center;
    min-height: 300px;
}

.ml-layer-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 82px;
    align-items: center;
    gap: 12px;
}

.ml-layer-row span {
    color: var(--muted);
    font-weight: 950;
}

.ml-layer-row strong {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.ml-layer-copy {
    padding: 18px;
    border-radius: 8px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
}

.ml-layer-copy h3 {
    margin: 0;
    font-size: 24px;
}

.ml-layer-copy p {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.ml-layer-note {
    margin-top: 18px;
    padding: 12px;
    border-left: 3px solid var(--accent, var(--coin-green));
    background: var(--surface);
    color: var(--text);
    font-weight: 900;
}

.ml-intel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ml-intel-card {
    min-height: 214px;
    padding: 18px;
}

.ml-intel-card span {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 0 8px;
    border-radius: 8px;
    background: var(--surface-green);
    color: var(--coin-green);
    font-size: 11px;
    font-weight: 950;
}

.ml-intel-card strong {
    display: block;
    margin-top: 14px;
    font-size: 20px;
}

.ml-intel-value {
    margin-top: 12px;
    font-size: 34px;
    line-height: 1;
    font-weight: 950;
    font-variant-numeric: tabular-nums;
}

.ml-intel-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-top: 12px;
    padding: 0 9px;
    border-radius: 8px;
    background: var(--surface-soft);
    color: var(--coin-green);
    font-size: 12px;
    font-weight: 950;
}

.ml-intel-card p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.45;
}

.ml-intel-card small {
    display: block;
    margin-top: 12px;
    color: var(--dim);
    font-size: 11px;
    font-weight: 900;
}

.ml-dictionary-section {
    padding-top: 52px;
}

.ml-dictionary-group {
    margin-top: 22px;
}

.ml-dictionary-group:first-of-type {
    margin-top: 0;
}

.ml-dictionary-group h3 {
    margin: 0 0 12px;
    font-size: 22px;
}

.ml-dictionary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.ml-dictionary-grid article {
    min-height: 138px;
    padding: 16px;
}

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

.ml-dictionary-grid strong {
    font-size: 17px;
}

.ml-dictionary-grid span {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}
