﻿/* Shared shell, overview, panels, and flow styles for the Human Pose module. */

.human-pose-lab {
    --pose-blue: #2563eb;
    --pose-cyan: #12b5d0;
    --pose-orange: #f59e0b;
    --pose-muted: #64748b;
    --pose-line: #dbeafe;
    --pose-motion: cubic-bezier(.22,.61,.36,1);
}

.human-pose-hero-actions {
    flex-wrap: wrap;
}

.human-pose-state {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border: 1px solid #bae6fd;
    border-radius: 999px;
    padding: 0 13px;
    color: #0369a1;
    background: #f0f9ff;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.human-pose-page-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid var(--pose-line);
    border-radius: 18px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.06);
}

.human-pose-page-title span,
.human-section-head span {
    color: var(--pose-blue);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.human-pose-page-title h2,
.human-section-head h3 {
    margin: 4px 0 0;
    color: #0f172a;
}

.human-pose-page-title p {
    max-width: 560px;
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
}

.human-overview-grid,
.human-mechanism-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
    gap: 16px;
}

.human-flow-panel,
.human-summary-panel,
.human-mechanism-controls {
    border: 1px solid var(--pose-line);
    border-radius: 18px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.human-overview-flow,
.human-process-chain,
.human-action-pipeline {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.human-overview-flow article,
.human-process-chain article,
.human-action-pipeline article {
    display: grid;
    align-content: start;
    min-height: 122px;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    padding: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.human-overview-flow article span,
.human-process-chain article span {
    color: var(--pose-cyan);
    font-size: 11px;
    font-weight: 950;
}

.human-overview-flow strong,
.human-process-chain strong,
.human-action-pipeline strong {
    color: #172554;
    font-size: 14px;
}

.human-overview-flow p,
.human-action-pipeline span,
.human-process-chain small {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
}

.human-summary-list {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
}

.human-summary-list div {
    display: grid;
    gap: 4px;
    border-top: 1px solid #e2e8f0;
    padding-top: 10px;
}

.human-summary-list dt,
.human-summary-list dd {
    margin: 0;
}

.human-summary-list dt {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
}

.human-summary-list dd {
    color: #334155;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.45;
}

.human-compare-card,
.human-keypoint-readout,
.human-vector-demo {
    display: grid;
    gap: 8px;
    margin-top: 14px;
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    padding: 12px;
    background: #eff6ff;
}

.human-compare-card p {
    margin: 0;
    color: #475569;
    font-size: 12px;
    line-height: 1.5;
}

.human-pose-workbench,
.human-action-workbench {
    grid-template-columns: minmax(220px, 0.66fr) minmax(420px, 1.48fr) minmax(260px, 0.76fr);
}

.human-file-picker {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    min-height: 34px;
    overflow: hidden;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    background: #f8fbff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.human-file-picker input[type="file"] {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.human-file-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    min-width: 86px;
    padding: 0 12px;
    border-right: 1px solid #bfdbfe;
    color: #1d4ed8;
    background: #eff6ff;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.human-file-name {
    min-width: 0;
    overflow: hidden;
    padding: 0 10px;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.human-file-picker:hover,
.human-file-picker:focus-within {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.16);
}

.human-file-picker:hover .human-file-button,
.human-file-picker:focus-within .human-file-button {
    color: #ffffff;
    background: #2563eb;
}

.human-button-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(94px, 1fr));
    gap: 8px;
}

.human-button-row button,
.human-mode-switch button {
    min-height: 34px;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    color: #1d4ed8;
    background: #eff6ff;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.human-button-row button:disabled {
    cursor: progress;
    color: #64748b;
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.human-field-note {
    color: #64748b;
    font-size: 11px;
    line-height: 1.45;
}

