/* mobile-forms.css — Mobile view overrides: create/edit meal, sticky bars,
   scoop AI, meal picker overlay, social feed, dashboard mobile.
   Split from mobile-detail.css (April 20, 2026) when it crossed 1,500 lines.
   Loaded after mobile-detail.css. Sections 22-29. */
/* ==========================================================================
   22. ADD/EDIT MEAL & PRINT PREVIEW
   ========================================================================== */

/* Add Meal Page Mobile (body.mobile-device) */
body.mobile-device .add-meal-form {
    padding: 1.25rem;
}
body.mobile-device .add-meal-form .form-row {
    flex-direction: column;
}
body.mobile-device .add-meal-form .form-row .form-group {
    width: 100%;
}
body.mobile-device .meal-image-upload-large {
    flex-direction: column;
    align-items: center;
}
body.mobile-device .meal-image-preview-large {
    width: 150px;
    height: 150px;
}
body.mobile-device .visibility-options {
    flex-direction: column;
}
body.mobile-device .visibility-card {
    min-width: auto;
    width: 100%;
}
body.mobile-device .add-meal-actions {
    flex-direction: column;
    gap: 0.5rem;
}
body.mobile-device .add-meal-actions .left-buttons,
body.mobile-device .add-meal-actions .right-buttons {
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
}
body.mobile-device .btn-cancel-large,
body.mobile-device .btn-save-large,
body.mobile-device .btn-print-large,
body.mobile-device .btn-delete-large {
    width: 100%;
}
body.mobile-device .ingredient-scaling-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}
body.mobile-device .ingredient-scaling {
    width: 100%;
    justify-content: flex-start;
}

/* ---- Print Preview Mobile ---- */
body.mobile-device .print-preview-page {
    z-index: 10000; /* same level as modals — full-screen takeover */
}
body.mobile-device .print-preview-header {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    padding: 0.75rem 1rem;
}
body.mobile-device .print-preview-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
}
body.mobile-device .btn-print-now,
body.mobile-device .btn-back-to-plan {
    width: 100%;
    font-size: 0.8rem;
    padding: 0 0.5rem;
}
body.mobile-device .btn-back-to-plan {
    grid-column: 1 / -1; /* span full width across both grid columns */
}
body.mobile-device .print-day {
    flex-direction: column;
    align-items: flex-start;
}
body.mobile-device .print-day-header {
    min-width: auto;
    width: 100%;
    border-bottom: 1px solid var(--light-sage);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}
body.mobile-device .print-meals-row {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
}
body.mobile-device .print-details-grid {
    grid-template-columns: 1fr;
}
body.mobile-device .grocery-print-grid {
    grid-template-columns: 1fr;
}
body.mobile-device #grocery-print-content {
    padding: 1rem;
}

/* ==========================================================================
   23. SAFE AREA & NOTCH SUPPORT
   ========================================================================== */

/* Safe area insets for phones with notches / dynamic islands (iPhone X+) */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    body.mobile-device .bottom-nav {
        padding-bottom: calc(0.5rem + env(safe-area-inset-bottom)); /* clear home indicator */
    }
    body.mobile-device .app-header {
        padding-top: calc(0.75rem + env(safe-area-inset-top)); /* clear status bar / notch */
    }
}

/* ==========================================================================
   24. INTERACTIVE STATES — Mobile-Specific Elements
   States: default, hover, active/pressed, disabled, focus-visible
   Covers bottom-sheet buttons, admin tabs, message folders, detail actions
   ========================================================================== */

/* --- Standardize Transitions --- */
.btn-more-actions, .bottom-sheet-actions button, .bottom-sheet-cancel,
.btn-mark-read, .btn-delete-message, .btn-detail-action,
.admin-message-actions button, .message-detail-actions button,
.admin-tab, .admin-submenu-item, .admin-stat-tile,
.message-folder, .meal-mgmt-tab, .message-list-item {
    transition: background-color var(--transition-fast), color var(--transition-fast),
                border-color var(--transition-fast), box-shadow var(--transition-fast),
                transform var(--transition-layout), opacity var(--transition-fast);
}

/* --- Active/Pressed States --- */
.btn-more-actions:active {
    background: var(--sage);
    color: white;
    transform: scale(0.97);
}
.bottom-sheet-actions button:active {
    background: var(--sage);
    color: white;
    transform: scale(0.98);
}
.bottom-sheet-actions button.destructive:active {
    background: var(--terracotta);
    color: white;
}
.bottom-sheet-cancel:active {
    background: var(--sage);
    color: white;
    transform: scale(0.98);
}
.btn-mark-read:active {
    background: var(--sage-dark);
    transform: scale(0.97);
}
.btn-delete-message:active {
    background: var(--danger-dark);
    color: white;
    border-color: var(--danger-dark);
    transform: scale(0.97);
}
.btn-detail-action:active {
    transform: scale(0.95);
}
.btn-detail-action.btn-close:active {
    background: var(--light-sage);
}
.admin-message-actions button:active,
.message-detail-actions button:active {
    background: var(--light-sage);
    transform: scale(0.97);
}
.admin-tab:active {
    background: var(--sage);
    color: white;
}
.admin-submenu-item:active {
    background: var(--sage);
    color: white;
}
.admin-stat-tile:active {
    transform: scale(0.99);
}
.message-folder:active,
.meal-mgmt-tab:active {
    background: var(--sage);
    color: white;
}
.message-list-item:active {
    background: var(--light-sage);
}
/* --- Disabled States --- */
.btn-more-actions:disabled,
.bottom-sheet-actions button:disabled,
.bottom-sheet-cancel:disabled,
.btn-mark-read:disabled,
.btn-delete-message:disabled,
.btn-detail-action:disabled,
.admin-message-actions button:disabled,
.message-detail-actions button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* --- Focus-Visible States (Keyboard Navigation) --- */
.btn-more-actions:focus-visible {
    outline: 2px solid var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
    box-shadow: var(--focus-ring);
}
.bottom-sheet-actions button:focus-visible {
    outline: 2px solid var(--focus-ring-color);
    outline-offset: -2px;
}
.bottom-sheet-actions button.destructive:focus-visible {
    outline: 2px solid var(--terracotta);
}
.bottom-sheet-cancel:focus-visible {
    outline: 2px solid var(--focus-ring-color);
    outline-offset: -2px;
}
.btn-mark-read:focus-visible {
    outline: 2px solid var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
    box-shadow: var(--focus-ring);
}
.btn-delete-message:focus-visible {
    outline: 2px solid var(--terracotta);
    outline-offset: var(--focus-ring-offset);
    box-shadow: 0 0 0 3px rgba(196, 120, 90, 0.3);
}
.btn-detail-action:focus-visible {
    outline: 2px solid var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
    box-shadow: var(--focus-ring);
}
.btn-detail-action.btn-close:focus-visible {
    outline: 2px solid var(--sage);
    box-shadow: 0 0 0 3px rgba(135, 168, 120, 0.2);
}
.admin-message-actions button:focus-visible,
.message-detail-actions button:focus-visible {
    outline: 2px solid var(--focus-ring-color);
    outline-offset: 1px;
}
.admin-tab:focus-visible {
    outline: 2px solid var(--focus-ring-color);
    outline-offset: 2px;
    box-shadow: var(--focus-ring);
}
.admin-submenu-item:focus-visible {
    outline: 2px solid var(--focus-ring-color);
    outline-offset: -2px;
}
.admin-stat-tile:focus-visible {
    outline: 2px solid var(--focus-ring-color);
    outline-offset: 2px;
}
.message-folder:focus-visible,
.meal-mgmt-tab:focus-visible {
    outline: 2px solid var(--focus-ring-color);
    outline-offset: -2px;
}
.message-list-item:focus-visible {
    outline: 2px solid var(--focus-ring-color);
    outline-offset: -2px;
}
/* ==========================================================================
   25. CREATE MEAL — METHOD TOGGLE + URL IMPORT ROW
   ========================================================================== */
body.mobile-device .addmeal-method-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
}
body.mobile-device .addmeal-method-toggle {
    align-self: center;
}
body.mobile-device .addmeal-paste-row {
    width: 100%;
    box-sizing: border-box;
}
body.mobile-device .paste-recipe-textarea {
    min-height: 120px;
}

/* ==========================================================================
   26. STICKY BAR ICON+TEXT LAYOUT — Mobile (all bars unified)
   Converts desktop text buttons into iOS-style icon+label stacks.
   Three size tiers based on button count per bar:
     - Small (2-3 items): planwizard, print-menu
     - Medium (3 items): addmeal
     - Large (4+ items): grocery, recipe-detail, print-preview, meal-picker
   ========================================================================== */
body.mobile-device .grocery-sticky-bar,
body.mobile-device .recipe-detail-sticky-bar,
body.mobile-device .print-preview-sticky-bar,
body.mobile-device .addmeal-sticky-bar,
body.mobile-device .planwizard-sticky-bar,
body.mobile-device .print-menu-sticky-bar,
body.mobile-device .meal-picker-sticky-bar {
    justify-content: space-evenly;
    padding: 0.4rem 0.5rem;
    padding-bottom: calc(0.4rem + env(safe-area-inset-bottom, 0px));
    gap: 0;
}
body.mobile-device .planwizard-sticky-bar {
    justify-content: space-evenly;
    padding-bottom: calc(0.8rem + env(safe-area-inset-bottom, 12px)); /* 12px fallback for non-notch devices */
}
body.mobile-device .planwizard-sticky-bar > * {
    flex: 1;
    min-width: 0;
}
/* Shared button base — vertical icon+label stack */
body.mobile-device .grocery-sticky-bar .btn-detail-action,
body.mobile-device .recipe-detail-sticky-bar .btn-detail-action,
body.mobile-device .print-preview-sticky-bar .btn-detail-action,
body.mobile-device .addmeal-sticky-bar .btn-detail-action,
body.mobile-device .planwizard-sticky-bar .btn-detail-action,
body.mobile-device .print-menu-sticky-bar .btn-detail-action,
body.mobile-device .meal-picker-sticky-bar .btn-detail-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    flex: 1;
    min-width: unset;
    min-height: 44px;
    padding: 0.3rem 0.5rem;
    background: transparent;
    border: none;
    box-shadow: none;
    color: var(--warm-gray);
    font-weight: 500;
    cursor: pointer;
}
/* Scoop button matches flex distribution of other sticky buttons */
body.mobile-device .grocery-sticky-bar .scoop-sticky-btn,
body.mobile-device .recipe-detail-sticky-bar .scoop-sticky-btn,
body.mobile-device .print-preview-sticky-bar .scoop-sticky-btn,
body.mobile-device .addmeal-sticky-bar .scoop-sticky-btn,
body.mobile-device .planwizard-sticky-bar .scoop-sticky-btn,
body.mobile-device .print-menu-sticky-bar .scoop-sticky-btn,
body.mobile-device .meal-picker-sticky-bar .scoop-sticky-btn {
    flex: 1;
    min-width: 0;
    flex-shrink: 1;
}
/* Primary action buttons keep sage color */
body.mobile-device .grocery-sticky-bar .btn-save-action,
body.mobile-device .recipe-detail-sticky-bar .btn-save-action,
body.mobile-device .print-preview-sticky-bar .btn-save-action,
body.mobile-device .addmeal-sticky-bar .btn-save-action,
body.mobile-device .planwizard-sticky-bar .btn-plan-action,
body.mobile-device .print-menu-sticky-bar .btn-save-action {
    background: transparent;
    border: none;
    color: var(--sage-dark);
}
/* Delete button keeps red */
body.mobile-device .addmeal-sticky-bar .btn-delete-action {
    background: transparent;
    border: none;
    color: var(--danger);
}

/* --- Size tiers based on item count per bar --- */
/* Small bars (2-3 action buttons): planwizard, print-menu */
body.mobile-device .planwizard-sticky-bar .sticky-icon,
body.mobile-device .print-menu-sticky-bar .sticky-icon {
    font-size: 1.5rem;
    line-height: 1;
}
body.mobile-device .planwizard-sticky-bar .sticky-label,
body.mobile-device .print-menu-sticky-bar .sticky-label {
    font-size: 0.72rem;
    white-space: nowrap;
}
/* Bold emphasis for primary CTA labels */
.sticky-label-bold {
    font-weight: 700;
}
/* Medium bars (3 action buttons): addmeal */
body.mobile-device .addmeal-sticky-bar .sticky-icon {
    font-size: 1.35rem;
    line-height: 1;
}
body.mobile-device .addmeal-sticky-bar .sticky-label {
    font-size: 0.68rem;
    white-space: nowrap;
}
/* Large bars (4+ action buttons): grocery, recipe-detail, print-preview, meal-picker */
body.mobile-device .grocery-sticky-bar .sticky-icon,
body.mobile-device .recipe-detail-sticky-bar .sticky-icon,
body.mobile-device .print-preview-sticky-bar .sticky-icon,
body.mobile-device .meal-picker-sticky-bar .sticky-icon {
    font-size: 1.2rem;
    line-height: 1;
}
body.mobile-device .grocery-sticky-bar .sticky-label,
body.mobile-device .recipe-detail-sticky-bar .sticky-label,
body.mobile-device .print-preview-sticky-bar .sticky-label,
body.mobile-device .meal-picker-sticky-bar .sticky-label {
    font-size: 0.62rem;
    white-space: nowrap;
}

/* --- Scoop image scaling per bar tier --- */
body.mobile-device .planwizard-sticky-bar .scoop-sticky-img {
    width: 30px;
    height: 30px;
}
body.mobile-device .addmeal-sticky-bar .scoop-sticky-img {
    width: 27px;
    height: 27px;
}
body.mobile-device .grocery-sticky-bar .scoop-sticky-img,
body.mobile-device .recipe-detail-sticky-bar .scoop-sticky-img,
body.mobile-device .print-preview-sticky-bar .scoop-sticky-img,
body.mobile-device .meal-picker-sticky-bar .scoop-sticky-img {
    width: 24px;
    height: 24px;
}
/* Scoop label scaling per tier */
body.mobile-device .planwizard-sticky-bar .scoop-sticky-label {
    font-size: 0.72rem;
}
body.mobile-device .addmeal-sticky-bar .scoop-sticky-label {
    font-size: 0.68rem;
}
body.mobile-device .grocery-sticky-bar .scoop-sticky-label,
body.mobile-device .recipe-detail-sticky-bar .scoop-sticky-label,
body.mobile-device .print-preview-sticky-bar .scoop-sticky-label,
body.mobile-device .meal-picker-sticky-bar .scoop-sticky-label {
    font-size: 0.62rem;
}

/* ==========================================================================
   27. SCOOP AI & DASHBOARD
   ========================================================================== */

/* Scoop AI Assistant — Mobile floating action button */
body.mobile-device .scoop-fab {
    bottom: 16px;
    right: 12px;
    width: 48px;
    height: 48px;
}
body.mobile-device .scoop-fab-img { width: 40px; height: 40px; }
/* Show Scoop buttons inside sticky bars on mobile when enabled */
body.mobile-device.scoop-enabled .scoop-sticky-btn { display: flex; }
/* Hide floating FAB when Scoop is already in the view's sticky bar — avoids duplicate entry points */
/* Uses :has() selector — supported in Safari 15.4+ and Chrome 105+ */
body.mobile-device.scoop-enabled:has(#grocery-view.active) > .scoop-fab { display: none; }
body.mobile-device.scoop-enabled:has(#recipes-view.active) > .scoop-fab { display: none; }
body.mobile-device.scoop-enabled:has(#calendar-view.active) > .scoop-fab { display: none; }
body.mobile-device.scoop-enabled:has(#cocktails-view.active) > .scoop-fab { display: none; }
/* Hide Scoop FAB when chat is open (overlaps emoji button) */
body.mobile-device.mobile-chat-open .scoop-fab { display: none; }

/* Scoop image inside mobile bottom nav */
.bottom-nav-scoop-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}
/* Scoop panel — full-screen overlay on mobile */
body.mobile-device.scoop-panel-open { overflow: hidden; }
body.mobile-device .scoop-panel {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    max-height: 100vh;
    border-radius: 0;
}
body.mobile-device .scoop-dismiss-bar {
    display: flex;
}

/* Messages chat — lock scroll when overlay is active */
body.mobile-device.mobile-chat-open { overflow: hidden; }

/* Dashboard tile touch drag — mobile */
body.mobile-device .dashboard-grid { grid-template-columns: 1fr; }
body.mobile-device .dashboard-tile .drag-handle {
    opacity: 0.5;
    font-size: 1.3rem;
    padding: 0.5rem;
    top: 0.15rem;
    right: 0.15rem;
    pointer-events: auto;
}

/* ==========================================================================
   28. MOBILE MEAL PICKER OVERLAY
   ========================================================================== */

/* Full-page container inside the modal-overlay */
.meal-picker-fullpage {
    position: fixed;
    inset: 0;
    background: var(--warm-white);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1001; /* above normal content but below main modals (10000) */
}

/* Toggle bar: My Meals / Public Meals */
.meal-picker-toggle {
    display: flex;
    background: var(--charcoal);
    padding: 0.4rem;
    gap: 0;
}
.meal-picker-toggle-btn {
    flex: 1;
    padding: 0.6rem 1rem;
    border: 2px solid transparent;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    background: transparent;
    color: var(--warm-gray);
}
.meal-picker-toggle-btn.active {
    background: var(--sage-dark);
    color: white;
    border-color: var(--sage);
}

/* Search input */
.meal-picker-search-wrap {
    padding: 0.5rem 0.75rem;
}
.meal-picker-search-wrap input {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 2px solid var(--light-sage);
    border-radius: 6px;
    font-size: 0.95rem;
    background: white;
    box-sizing: border-box;
}
.meal-picker-search-wrap input:focus {
    outline: none;
    border-color: var(--sage);
}

/* Eating Out / Takeout option */
.meal-picker-eating-out {
    margin: 0 0.75rem 0.5rem;
    padding: 0.7rem 1rem;
    background: var(--cream);
    border: 2px dashed var(--light-sage);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--warm-gray);
    cursor: pointer;
    text-align: center;
}
.meal-picker-eating-out:active {
    background: var(--light-sage);
}

/* Scrollable results area */
.meal-picker-results {
    flex: 1;
    overflow-y: auto;
    padding: 0.25rem 0.5rem;
    -webkit-overflow-scrolling: touch;
}

/* Recipe cards inside picker — single column, full-width */
.meal-picker-results .recipe-card {
    width: 100%;
    margin-bottom: 0.75rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.15s;
}
.meal-picker-results .recipe-card:active {
    border-color: var(--sage);
}

/* Hide bulk checkboxes and add buttons inside picker */
.meal-picker-results .bulk-checkbox,
.meal-picker-results .add-friend-meal-btn {
    display: none;
}

/* Meal picker full tile cards — image on top, content below */
body.mobile-device .meal-picker-results .recipe-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}
body.mobile-device .meal-picker-results .recipe-image {
    width: 100%;
    height: 160px;
    min-height: 160px;
    font-size: 2.5rem;
    border-radius: 10px 10px 0 0;
}
body.mobile-device .meal-picker-results .recipe-image.has-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
body.mobile-device .meal-picker-results .recipe-image .default-meal-img {
    width: 50%;
    height: 50%;
}
body.mobile-device .meal-picker-results .recipe-content {
    width: 100%;
    padding: 0.65rem;
}
body.mobile-device .meal-picker-results .recipe-title {
    font-size: 1rem;
}

/* Sticky bottom action bar — flex-pinned (parent is flex column) */
.meal-picker-sticky-bar {
    flex-shrink: 0;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px)); /* notch-safe */
    background: var(--warm-white);
    border-top: 1px solid var(--light-sage);
    box-shadow: 0 -2px 8px rgba(0,0,0,0.06);
}

/* Hide the main bottom nav when picker is open — sibling combinator + :has() fallback */
body.mobile-device #mobile-meal-picker.active ~ #mobile-bottom-nav,
body.mobile-device:has(#mobile-meal-picker.active) .mobile-bottom-nav {
    display: none;
}


/* ==========================================================================
   29. SOCIAL FEED & DESKTOP OVERRIDES
   ========================================================================== */

/* Social Feed mobile — full-width post tiles */
body.mobile-device .feed-center-header-row { padding-left: 0.75rem; padding-right: 0.75rem; }
body.mobile-device .feed-center-inner { padding: 0.5rem 0; }
body.mobile-device .feed-posts-container { padding: 0; }
body.mobile-device .feed-post { border-radius: 0; border-left: none; border-right: none; margin-left: 0; margin-right: 0; }
body.mobile-device .feed-post-image { max-height: 250px; border-radius: 0; }
body.mobile-device .feed-composer { display: none; }
body.mobile-device .feed-compose-toolbar { flex-wrap: wrap; gap: 0.3rem; }
body.mobile-device .feed-post-menu { opacity: 0.6; }
body.mobile-device .feed-action-btn { padding: 0.2rem 0.35rem; font-size: 0.75rem; }
body.mobile-device .feed-action-icon { font-size: 0.85rem; }
body.mobile-device .feed-repost-dropdown { min-width: 160px; }

/* Mobile full-screen feed composer overlay */
/* Recipe search + repost modals must stack above the mobile composer overlay */
#feed-recipe-search-modal,
#feed-repost-modal { z-index: 10001; }

.feed-mobile-composer {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--warm-white); z-index: 10000;
    display: flex; flex-direction: column;
}

/* Header: X | "Create post" | Post */
.feed-mobile-composer-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.75rem 1rem; border-bottom: 1px solid var(--light-sage);
    flex-shrink: 0; position: relative;
}
.feed-mobile-close-btn {
    background: none; border: none; font-size: 1.25rem; color: var(--charcoal);
    padding: 0.25rem; cursor: pointer; line-height: 1;
}
.feed-mobile-composer-title {
    font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700;
    color: var(--charcoal); position: absolute; left: 50%; transform: translateX(-50%);
}
.feed-mobile-post-btn {
    background: none; border: none;
    font-size: 0.95rem; font-weight: 600; color: var(--sage); cursor: pointer;
    padding: 0.25rem 0.5rem;
}

/* Body: avatar+name row then textarea */
.feed-mobile-composer-body {
    flex: 1; min-height: 0; overflow-y: auto; padding: 0.75rem 1rem;
}
.feed-mobile-composer-user {
    display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.75rem;
}
.feed-mobile-composer-name {
    font-size: 1rem; font-weight: 700;
    color: var(--charcoal);
}
.feed-mobile-composer-body .feed-compose-input {
    min-height: 120px; font-size: 1rem; border: none; background: transparent;
    padding: 0; resize: none; width: 100%;
}
.feed-mobile-composer-body .feed-compose-input:focus { border-color: transparent; outline: none; }
.feed-mobile-composer-body .emoji-picker { position: relative; width: 100%; margin-top: 0.5rem; border-radius: 10px; }
.feed-mobile-composer-body .emoji-picker.open { display: flex; }

/* Action rows: Photo/video, Recipe, Emoji */
.feed-mobile-composer-actions {
    flex-shrink: 0; border-top: 1px solid var(--light-sage);
}
.feed-mobile-action-row {
    display: flex; align-items: center; gap: 0.75rem; width: 100%;
    padding: 0.75rem 1rem; background: none; border: none;
    border-bottom: 1px solid var(--light-sage);
    font-size: 0.95rem; font-weight: 500;
    color: var(--charcoal); cursor: pointer; text-align: left;
}
.feed-mobile-action-row:active { background: var(--cream); }
.feed-mobile-action-icon { font-size: 1.2rem; }

/* Footer: Close + Scoop */
.feed-mobile-composer-footer {
    display: flex; align-items: center; justify-content: center;
    gap: 1.5rem; padding: 0.5rem 1rem;
    border-top: 1px solid var(--light-sage);
    flex-shrink: 0; background: var(--warm-white);
}

/* Desktop: action bars flow below content instead of viewport-pinned */
/* On wider screens, the detail page scrolls naturally rather than using flex pinning */
@media screen and (min-width: 769px) {
    .recipe-detail-fullpage { overflow: auto; }
    .recipe-detail-body { flex: none; overflow-y: visible; }
}
