.dash-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 24px 64px;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}
.dash-header-left h1 {
    font-size: 36px;
}

.dash-header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}
.dash-btn-new {
    display: inline-block;
    padding: 12px 24px;
    background: #008BFF;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.15s, transform 0.1s;
}
.dash-btn-new:hover {
    background: #0070d6;
    transform: translateY(-1px);
}
.dash-btn-back {
    display: inline-block;
    padding: 12px 24px;
    background: #f3f4f6;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.15s;
}
.dash-btn-back:hover {
    background: #e5e7eb;
}

.dash-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.stat-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stat-card-clickable {
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s;
}
.stat-card-clickable:hover {
    background: #f9fafb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.02em;
}
.stat-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
}

.dash-table-wrap {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    overflow: hidden;
}

.dash-loading,
.dash-empty {
    padding: 48px 24px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}
.dash-empty .dash-btn-new {
    margin-top: 16px;
}

.dash-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.dash-table thead {
    background: #f9fafb;
    border-bottom: 1px solid #f3f4f6;
}
.dash-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
}
.dash-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}
.dash-table tbody tr:last-child td {
    border-bottom: 0;
}
.dash-table tbody tr:hover {
    background: #f9fafb;
}

.dash-client {
    font-weight: 600;
    color: #111;
}
.dash-contact {
    color: #6b7280;
    font-size: 13px;
}
.dash-date {
    color: #6b7280;
    font-size: 13px;
    white-space: nowrap;
}
.dash-views {
    font-weight: 600;
    color: #111;
    text-align: center;
}
.dash-link {
    white-space: nowrap;
}
.dash-link > * + * {
    margin-left: 6px;
}
.dash-link a {
    color: #008BFF;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
}
.dash-link a:hover {
    text-decoration: underline;
}
.dash-copy-btn {
    padding: 4px 10px;
    background: #f3f4f6;
    border: 0;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: background 0.15s;
    font-family: inherit;
}
.dash-copy-btn:hover {
    background: #e5e7eb;
}
.dash-copy-btn.copied {
    background: #d1fae5;
    color: #065f46;
}
.dash-delete-btn {
    padding: 4px 10px;
    background: transparent;
    border: 1px solid #fecaca;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    color: #dc2626;
    cursor: pointer;
    transition: background 0.15s;
    font-family: inherit;
}
.dash-delete-btn:hover {
    background: #fef2f2;
}

.dash-draft-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #92400e;
    background: #fef3c7;
    border-radius: 999px;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .dash-stats { grid-template-columns: 1fr; }
    .dash-table { font-size: 13px; }
    .dash-table th, .dash-table td { padding: 10px 12px; }
}
