:root {
    --app-bg: #f5f7fb;
    --app-ink: #192234;
    --app-muted: #667085;
    --app-border: #d8dee9;
    --app-primary: #0f766e;
    --app-primary-dark: #115e59;
}

body {
    background: var(--app-bg);
    color: var(--app-ink);
}

.app-shell {
    min-height: 100vh;
}

.app-topbar {
    background: #ffffff;
    border-bottom: 1px solid var(--app-border);
}

.brand-mark {
    align-items: center;
    display: inline-flex;
    font-weight: 700;
    gap: .625rem;
    letter-spacing: 0;
    text-decoration: none;
}

.brand-dot {
    background: var(--app-primary);
    border-radius: 8px;
    display: inline-block;
    height: 30px;
    width: 30px;
}

.panel {
    background: #ffffff;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(16, 24, 40, .06);
}

.btn-primary {
    background: var(--app-primary);
    border-color: var(--app-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--app-primary-dark);
    border-color: var(--app-primary-dark);
}

.table thead th {
    color: var(--app-muted);
    font-size: .78rem;
    text-transform: uppercase;
}

.form-hint,
.text-muted-soft {
    color: var(--app-muted);
}

.copy-field {
    min-width: 260px;
}

.login-page {
    align-items: center;
    display: flex;
    min-height: 100vh;
}

.daily-form-shell {
    max-width: 1120px;
}

.client-public-heading {
    text-align: center;
}

.client-public-heading h1 {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: 0;
}

.client-public-heading .text-muted-soft {
    font-size: 1.35rem;
    font-weight: 600;
}

.public-entry-table {
    border-collapse: separate;
    border-spacing: 0 1rem;
}

.public-entry-table thead {
    display: none;
}

.public-entry-table tbody,
.public-entry-table tr,
.public-entry-table td {
    display: block;
    width: 100%;
}

.public-entry-table tr {
    padding-bottom: .75rem;
}

.public-entry-table tr:last-child {
    padding-bottom: 0;
}

.public-entry-table tr:last-child {
    border-bottom: 0;
}

.public-entry-table td {
    border: 0;
    padding: 0;
}

.daily-question {
    color: #111827;
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 1rem;
    text-align: center;
}

.daily-control {
    border-radius: 8px;
    font-size: 2.5rem;
    font-weight: 700;
    min-height: 92px;
    padding: .85rem 1.1rem;
}

.requests-control {
    text-align: center;
}

.rating-options {
    display: grid;
    gap: .4rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.rating-option {
    align-items: center;
    border-radius: 8px;
    display: flex;
    font-size: 1.45rem;
    font-weight: 800;
    justify-content: center;
    min-height: 52px;
}

.daily-submit {
    font-size: 1.5rem;
    font-weight: 700;
    min-height: 68px;
    padding-left: 2rem;
    padding-right: 2rem;
}

@media (max-width: 767.98px) {
    .copy-field {
        min-width: 100%;
    }

    .admin-actions {
        align-items: stretch !important;
        flex-direction: column;
    }

    .daily-question {
        font-size: 1.75rem;
    }

    .client-public-heading h1 {
        font-size: 2.2rem;
    }

    .client-public-heading .text-muted-soft {
        font-size: 1.1rem;
    }

    .daily-control {
        font-size: 1.9rem;
        min-height: 78px;
    }

    .rating-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rating-option {
        font-size: 1.25rem;
        min-height: 48px;
    }

    .daily-submit {
        width: 100%;
    }
}
