:root {
    --brand: #4f46e5;
}

body {
    background: #f4f5fb;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
    width: 100%;
}

.app-navbar {
    background: linear-gradient(90deg, #312e81, #4f46e5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}

/* ---- Welcome tiles ---- */
.tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1.25rem;
}

.tile {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .1);
    transition: transform .12s ease, box-shadow .12s ease;
    min-height: 150px;
}

.tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(16, 24, 40, .16);
    color: inherit;
}

.tile-header {
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
}

.tile-body {
    padding: .85rem 1rem 1.1rem;
}

.tile-body h5 {
    margin: 0 0 .25rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.tile-body p {
    margin: 0;
    font-size: .85rem;
    color: #667085;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .08);
}

.preview-frame {
    width: 100%;
    height: 520px;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    background: #fff;
}

.status-dot {
    display: inline-block;
    width: .6rem;
    height: .6rem;
    border-radius: 50%;
    margin-right: .35rem;
    vertical-align: middle;
}

.status-dot.published { background: #12b76a; }
.status-dot.draft { background: #f79009; }
