/* The Studio — Build 15.12 Personal Dashboard */
.dashboard-view {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: min(1420px, 100%);
    margin: 0 auto;
    animation: module-enter 320ms ease both;
}

.dashboard-hero {
    aspect-ratio: 1360 / 300;
    min-height: 220px;
    border: 1px solid rgba(200, 167, 101, .28);
    border-radius: 2px;
    background:
        linear-gradient(90deg, rgba(5, 5, 4, .9), rgba(5, 5, 4, .2)),
        linear-gradient(0deg, rgba(4, 4, 3, .86), transparent 54%),
        url("../assets/dashboard-control-room.jpg") center / cover no-repeat;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .42);
}

.dashboard-heading {
    display: flex;
    align-items: flex-end;
    min-height: 54px;
    padding: 0 2px 2px;
    border-bottom: 1px solid rgba(200, 167, 101, .14);
}

.dashboard-heading h2 {
    max-width: 900px;
    margin: 0;
    padding-bottom: 13px;
    color: #eadfcd;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(23px, 2.35vw, 34px);
    font-weight: 400;
    line-height: 1.24;
    letter-spacing: .005em;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .48);
}

.dashboard-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
    align-items: start;
}

.dashboard-main-column,
.dashboard-side-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dashboard-panel {
    overflow: hidden;
    border: 1px solid rgba(200, 167, 101, .24);
    border-radius: 2px;
    background: linear-gradient(145deg, rgba(29, 28, 25, .96), rgba(10, 12, 13, .985));
    box-shadow:
        inset 0 0 36px rgba(0, 0, 0, .28),
        0 12px 34px rgba(0, 0, 0, .16);
}

.dashboard-main-column > .dashboard-panel:first-child {
    border-color: rgba(200, 167, 101, .34);
    box-shadow:
        inset 0 0 42px rgba(0, 0, 0, .26),
        0 16px 42px rgba(0, 0, 0, .23);
}

.dashboard-panel-header {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(200, 167, 101, .16);
    background: rgba(0, 0, 0, .08);
}

.dashboard-panel-header h3 {
    margin: 0;
    color: #e6d5b6;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dashboard-panel-content {
    padding: 20px;
}

.dashboard-rehearsal-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.dashboard-rehearsal-date {
    margin: 0 0 8px;
    color: #d7b66f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .035em;
    line-height: 1.35;
    text-transform: capitalize;
}

.dashboard-rehearsal-heading h3 {
    margin: 0;
    color: #f0e5d3;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(26px, 3vw, 39px);
    font-weight: 400;
    line-height: 1.12;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

.dashboard-song-count,
.dashboard-song-status,
.dashboard-material-badge {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 4px 9px;
    border: 1px solid rgba(200, 167, 101, .28);
    border-radius: 999px;
    color: #ddcba8;
    background: rgba(200, 167, 101, .09);
    font-size: 9px;
    white-space: nowrap;
}

.dashboard-song-count {
    margin-top: 2px;
    color: #e2ca96;
    border-color: rgba(200, 167, 101, .38);
    background: rgba(200, 167, 101, .11);
    font-weight: 700;
    letter-spacing: .04em;
}

.dashboard-rehearsal-meta {
    display: grid;
    grid-template-columns: minmax(110px, .65fr) minmax(160px, 1fr) minmax(240px, 1.6fr);
    gap: 12px;
    margin: 24px 0 20px;
}

.dashboard-rehearsal-meta div {
    min-height: 70px;
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, .065);
    background: linear-gradient(145deg, rgba(0, 0, 0, .22), rgba(0, 0, 0, .12));
}

.dashboard-rehearsal-meta dt {
    margin-bottom: 7px;
    color: #a99f91;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.dashboard-rehearsal-meta dd {
    margin: 0;
    color: #ddd1c0;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.55;
}

.dashboard-primary-action,
.dashboard-text-action,
.dashboard-action-list button {
    cursor: pointer;
    transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.dashboard-primary-action {
    min-height: 40px;
    padding: 0 17px;
    border: 1px solid rgba(200, 167, 101, .65);
    color: #e6c984;
    background: rgba(8, 8, 7, .42);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.dashboard-primary-action:hover,
.dashboard-text-action:hover,
.dashboard-action-list button:hover {
    border-color: rgba(225, 196, 135, .72);
    background: rgba(200, 167, 101, .12);
    transform: translateY(-1px);
}

.dashboard-song-list {
    display: flex;
    flex-direction: column;
}

.dashboard-song-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 16px 2px;
    border-top: 1px solid rgba(255, 255, 255, .065);
}

.dashboard-song-row:first-child {
    padding-top: 0;
    border-top: 0;
}

.dashboard-song-row:last-child {
    padding-bottom: 0;
}

.dashboard-song-title-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.dashboard-song-title-line h4 {
    margin: 0;
    color: #eadfce;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.25;
}

.dashboard-song-copy > p {
    margin: 4px 0 11px;
    color: #aaa093;
    font-size: 10px;
    line-height: 1.4;
}

.dashboard-song-status {
    min-height: 22px;
    padding: 3px 8px;
    color: #cdbc9a;
    background: rgba(255, 255, 255, .025);
}

.dashboard-materials {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.dashboard-material-badge {
    min-height: 23px;
    padding: 3px 9px;
    color: #e0cfae;
    border-color: rgba(200, 167, 101, .32);
    background: linear-gradient(180deg, rgba(200, 167, 101, .12), rgba(200, 167, 101, .065));
    font-weight: 700;
    letter-spacing: .025em;
}

.dashboard-no-material {
    color: var(--text-muted);
    font-size: 9px;
    font-style: italic;
}

.dashboard-text-action {
    min-height: 35px;
    padding: 0 13px;
    border: 1px solid rgba(200, 167, 101, .26);
    color: var(--accent-gold);
    background: transparent;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.dashboard-quick-actions {
    background: linear-gradient(145deg, rgba(24, 23, 21, .92), rgba(9, 11, 12, .97));
    box-shadow: inset 0 0 30px rgba(0, 0, 0, .24);
}

.dashboard-quick-actions .dashboard-panel-header {
    padding: 13px 16px;
}

.dashboard-quick-actions .dashboard-panel-header h3 {
    font-size: 13px;
}

.dashboard-action-list {
    display: flex;
    flex-direction: column;
    padding: 7px;
}

.dashboard-action-list button {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 11px 10px;
    border: 1px solid transparent;
    color: inherit;
    background: transparent;
    text-align: left;
}

.dashboard-action-list button + button {
    border-top-color: rgba(255, 255, 255, .055);
}

.dashboard-action-list strong {
    color: #d9c8aa;
    font-size: 10px;
}

.dashboard-action-list span {
    color: var(--text-muted);
    font-size: 8px;
}

.dashboard-empty-state {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-height: 110px;
    justify-content: center;
}

.dashboard-empty-state strong {
    color: #dccbad;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    font-weight: 400;
}

.dashboard-empty-state span {
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 10px;
}

@media (max-width: 1050px) {
    .dashboard-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .dashboard-action-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .dashboard-view {
        gap: 17px;
    }

    .dashboard-hero {
        min-height: 170px;
    }

    .dashboard-heading {
        min-height: 0;
    }

    .dashboard-heading h2 {
        padding-bottom: 11px;
    }

    .dashboard-rehearsal-meta {
        grid-template-columns: minmax(0, 1fr);
    }

    .dashboard-song-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .dashboard-text-action {
        justify-self: start;
    }
}

@media (max-width: 520px) {
    .dashboard-action-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .dashboard-panel-content {
        padding: 16px;
    }
}
