.stew-page {
    padding: 1.5rem 1.25rem 3rem;
    max-width: 960px;
    margin: 0 auto;
}

.stew-page h1 {
    margin: 0 0 0.4rem;
    font-size: 1.7rem;
}

.stew-lead {
    color: #4b5563;
    margin: 0 0 1.25rem;
    max-width: 40rem;
}

.stew-demo {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-size: 0.9rem;
    padding: 0.65rem 0.8rem;
    border-radius: 8px;
    margin: 0 0 1rem;
}

.stew-demo-btn {
    border: 0;
    background: none;
    color: #9a3412;
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

.stew-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stew-public {
    min-height: 100vh;
    background: #f6f7fb;
    padding: 2rem 1rem 4rem;
}

.stew-public-card {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    padding: 1.75rem 1.5rem 2rem;
    box-shadow: 0 8px 30px rgba(31, 41, 55, 0.08);
}

.stew-public-card .login-org {
    margin-bottom: 0.25rem;
}

.stew-public-card h1 {
    font-size: 1.45rem;
    margin: 0 0 0.35rem;
}

.stew-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.stew-grid .full {
    grid-column: 1 / -1;
}

.stew-status {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}

.stew-status.submitted { background: #eef2ff; color: #3730a3; }
.stew-status.approved { background: #ecfdf3; color: #166534; }
.stew-status.rejected { background: #fef2f2; color: #991b1b; }
.stew-status.paid { background: #f3f4f6; color: #374151; }

.stew-table-wrap {
    overflow-x: auto;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.stew-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.stew-table th,
.stew-table td {
    padding: 0.7rem 0.8rem;
    text-align: left;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: top;
}

.stew-table th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
}

.stew-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.stew-empty {
    padding: 2rem 1rem;
    text-align: center;
    color: #6b7280;
}

.stew-detail {
    margin-top: 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1rem 1.1rem;
}

.stew-honeypot {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.stew-success {
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.stew-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.stew-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.stew-filters button[aria-pressed="true"] {
    background: #4f46e5;
    color: #fff;
    border-color: #4f46e5;
}

@media (max-width: 700px) {
    .stew-grid {
        grid-template-columns: 1fr;
    }
    .stew-page {
        padding: 1rem 0.75rem 3rem;
    }
}
