* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, sans-serif;
    background: #f5f5f4;
    color: #1c1917;
}

.screen {
    max-width: 480px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

.btn {
    display: block;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 0.5rem;
    background: #0f766e;
    color: white;
    text-align: center;
    text-decoration: none;
}

.btn-secondary {
    background: white;
    color: #0f766e;
    border: 1px solid #0f766e;
}

.btn-danger {
    background: #b91c1c;
}

.topbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.topbar h1 {
    font-size: 1.25rem;
    margin: 0;
}

.topbar a {
    color: #0f766e;
    text-decoration: none;
    font-size: 1.5rem;
}

.card {
    display: block;
    background: white;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.card h2 {
    font-size: 1.1rem;
    margin: 0 0 0.25rem;
}

.card p {
    margin: 0;
    color: #57534e;
}

.field {
    margin-bottom: 1rem;
}

.field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.field input,
.field textarea {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #d6d3d1;
    border-radius: 0.5rem;
    font-family: inherit;
}

.field textarea {
    min-height: 5rem;
    resize: vertical;
}

.fab {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #0f766e;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.photo-thumb {
    position: relative;
    aspect-ratio: 1;
    border-radius: 0.375rem;
    overflow: hidden;
}

.photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-thumb button {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1;
}

.muted {
    color: #78716c;
    text-align: center;
    padding: 2rem 0;
}

.spacer {
    height: 1rem;
}
