:root {
    --color-bg: #050914;
    --color-surface: rgba(15, 23, 42, 0.75);
    --color-surface-strong: rgba(22, 31, 55, 0.85);
    --color-border: rgba(148, 163, 184, 0.25);
    --color-text: #f8fafc;
    --color-muted: #94a3b8;
    --color-accent: #6366f1;
    --color-accent-strong: #4f46e5;
    --color-danger: #f87171;
    --color-success: #34d399;
    --shadow-soft: 0 24px 48px -32px rgba(79, 70, 229, 0.45);
    --shadow-strong: 0 32px 64px -20px rgba(15, 23, 42, 0.65);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --transition: all 0.2s ease;
    --max-content-width: 1280px;
}

body.app-body {
    min-height: 100vh;
    background: radial-gradient(circle at 10% 20%, rgba(79, 70, 229, 0.25), transparent 55%),
                radial-gradient(circle at 90% 10%, rgba(14, 116, 144, 0.3), transparent 50%),
                radial-gradient(circle at 50% 80%, rgba(30, 64, 175, 0.35), transparent 55%),
                var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
    position: relative;
}

.app-background {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.9), rgba(15, 23, 42, 0.65));
    backdrop-filter: blur(40px);
    z-index: -2;
}

.app-shell {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding-bottom: 4rem;
}

.app-loading {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(5, 9, 20, 0.78);
    backdrop-filter: blur(12px);
    z-index: 50;
}

.app-loading__ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 6px solid rgba(99, 102, 241, 0.2);
    border-top-color: rgba(99, 102, 241, 0.9);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.auth-view {
    display: flex;
    justify-content: center;
    padding: 4rem 1.5rem 0;
}

.auth-view__panel {
    width: min(960px, 100%);
    background: linear-gradient(160deg, rgba(30, 41, 59, 0.9), rgba(17, 24, 39, 0.7));
    border-radius: var(--radius-lg);
    padding: clamp(2.5rem, 5vw, 3.5rem);
    box-shadow: var(--shadow-strong);
    border: 1px solid var(--color-border);
    display: grid;
    gap: 2.5rem;
}

.auth-view__brand {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.75rem;
    align-items: center;
}

.auth-view__logo {
    width: clamp(80px, 12vw, 120px);
    height: clamp(80px, 12vw, 120px);
}

.auth-view__eyebrow {
    letter-spacing: 0.35em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: rgba(148, 163, 184, 0.8);
    margin-bottom: 0.75rem;
}

.auth-view__headline {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
}

.auth-view__tagline {
    color: rgba(226, 232, 240, 0.85);
    margin-top: 0.75rem;
    font-size: 1rem;
}

.auth-view__benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.85rem;
    color: rgba(226, 232, 240, 0.8);
}

.auth-view__benefits i {
    color: var(--color-accent);
    margin-right: 0.85rem;
}

.auth-view__button {
    background: linear-gradient(120deg, rgba(99, 102, 241, 0.95), rgba(79, 70, 229, 0.95));
    border: none;
    padding: 0.95rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: var(--shadow-soft);
}

.auth-view__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px -20px rgba(99, 102, 241, 0.75);
}

.auth-view__footnote {
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.7);
    text-align: center;
}

.app-header {
    position: sticky;
    top: 1.5rem;
    margin: 0 auto;
    width: min(var(--max-content-width), calc(100% - 2.5rem));
    border-radius: var(--radius-lg);
    z-index: 20;
    border: 1px solid var(--color-border);
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    backdrop-filter: blur(18px);
    background: var(--color-surface-strong);
    box-shadow: var(--shadow-soft);
}

.app-header__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.app-header__row--sub {
    padding-top: 0.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.app-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.app-brand__logo {
    width: 46px;
    height: 46px;
}

.app-brand__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-size: 0.7rem;
    color: rgba(148, 163, 184, 0.85);
    margin-bottom: 0.35rem;
}

.app-brand__title {
    font-size: 1.75rem;
    font-weight: 700;
}

.app-brand--compact .app-brand__logo {
    width: 40px;
    height: 40px;
}

.app-user-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--color-muted);
}

.app-user-actions__name {
    font-weight: 500;
    color: rgba(226, 232, 240, 0.9);
    margin-right: 0.25rem;
}

.app-icon-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid transparent;
    color: rgba(226, 232, 240, 0.9);
    transition: var(--transition);
}

.app-icon-button:hover,
.app-icon-button:focus-visible {
    border-color: rgba(99, 102, 241, 0.8);
    color: var(--color-text);
    outline: none;
}

.app-icon-button--danger {
    color: var(--color-danger);
}

.app-icon-button--danger:hover,
.app-icon-button--danger:focus-visible {
    border-color: rgba(248, 113, 113, 0.7);
    color: #fecaca;
}

.app-header__menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid transparent;
    background: rgba(148, 163, 184, 0.08);
    color: rgba(226, 232, 240, 0.9);
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.app-header__menu-toggle:hover,
.app-header__menu-toggle:focus-visible {
    border-color: rgba(99, 102, 241, 0.65);
    color: var(--color-text);
    outline: none;
}

.app-header__menu-toggle i {
    pointer-events: none;
}

.app-user-actions--desktop {
    display: inline-flex;
}

.chip-group {
    display: inline-flex;
    background: rgba(148, 163, 184, 0.12);
    padding: 0.35rem;
    border-radius: 999px;
    gap: 0.3rem;
}

.chip {
    border: none;
    border-radius: 999px;
    background: transparent;
    color: rgba(226, 232, 240, 0.7);
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.chip--active,
.chip:hover,
.chip:focus-visible {
    background: rgba(99, 102, 241, 0.15);
    color: var(--color-text);
    outline: none;
}

.app-main {
    width: min(var(--max-content-width), calc(100% - 2.5rem));
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

.dashboard-panel {
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.glass-panel {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-soft);
}

.glass-surface {
    background: var(--color-surface-strong);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft);
}

.dashboard-panel__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.dashboard-panel__meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dashboard-panel__heading {
    font-size: 1.75rem;
    font-weight: 700;
}

.dashboard-panel__controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.view-toggle {
    display: inline-flex;
    padding: 0.4rem;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    gap: 0.35rem;
}

.view-toggle__btn {
    border: none;
    border-radius: 999px;
    padding: 0.55rem 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(226, 232, 240, 0.7);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}



.view-toggle__btn i {
    font-size: 0.95rem;
}

.view-toggle__btn.is-active {
    background: var(--color-accent);
    color: #fff;
    box-shadow: 0 16px 32px -18px rgba(99, 102, 241, 0.75);
}

.input-select {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: var(--color-text);
    padding: 0.55rem 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.primary-action {
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.3rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    background: linear-gradient(120deg, rgba(99, 102, 241, 0.95), rgba(59, 130, 246, 0.95));
    color: #fff;
    box-shadow: 0 18px 36px -20px rgba(79, 70, 229, 0.75);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.primary-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 48px -24px rgba(59, 130, 246, 0.8);
}

.project-collection {
    display: grid;
    gap: 1.25rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.project-card__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    cursor: pointer;
    padding: 1.5rem 1.75rem 1.25rem;
}

.project-card__title {
    font-size: 1.4rem;
    font-weight: 600;
}

.project-card__actions {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.project-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(15, 23, 42, 0.55);
    color: rgba(226, 232, 240, 0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.project-card__icon:hover,
.project-card__icon:focus-visible {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.35);
    outline: none;
}

.project-card__cta {
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: rgba(99, 102, 241, 0.25);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.project-card__cta:hover,
.project-card__cta:focus-visible {
    background: var(--color-accent);
    box-shadow: 0 12px 32px -20px rgba(99, 102, 241, 0.8);
    outline: none;
}

.project-card__chevron {
    font-size: 1.1rem;
    color: rgba(148, 163, 184, 0.7);
}

.project-card__body {
    padding: 0 1.75rem 1.75rem;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.project-card__subtitle {
    color: rgba(148, 163, 184, 0.85);
    margin-bottom: 0.75rem;
    font-style: italic;
}

.project-card__list {
    background: rgba(15, 23, 42, 0.6);
    border-radius: var(--radius-sm);
    padding: 1rem;
    border: 1px dashed rgba(148, 163, 184, 0.25);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    margin-top: 0.75rem;
}

.status-badge--active {
    background: rgba(34, 197, 94, 0.12);
    color: #bbf7d0;
}

.status-badge--archived {
    background: rgba(250, 204, 21, 0.14);
    color: #fef08a;
}

.calendar-shell {
    background: rgba(15, 23, 42, 0.65);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(148, 163, 184, 0.25);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.pill-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(148, 163, 184, 0.08);
    color: rgba(226, 232, 240, 0.9);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.pill-button:hover,
.pill-button:focus-visible {
    border-color: rgba(99, 102, 241, 0.65);
    color: #fff;
    outline: none;
}

.pill-button--ghost {
    background: rgba(99, 102, 241, 0.12);
    border-color: transparent;
}

.shoot-header {
    background: rgba(15, 23, 42, 0.65);
    border-color: rgba(148, 163, 184, 0.12);
    box-shadow: none;
    padding: clamp(0.85rem, 2vw, 1.1rem) clamp(1rem, 3vw, 1.35rem);
    gap: 0.85rem;
}

.shoot-header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.shoot-header__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.shoot-header__brand .app-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.shoot-header__meta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
}

.shoot-header__summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.shoot-header__pill {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.18);
    min-width: fit-content;
}

.shoot-header__pill--time {
    flex: 0 0 clamp(140px, 16vw, 190px);
    width: clamp(140px, 16vw, 190px);
    min-width: 0;
    text-align: center;
}

.shoot-header__pill--status {
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    padding-right: 1rem;
}

.shoot-header__status-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}

.shoot-header__alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 0.85rem;
    border-radius: 0.9rem;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(248, 113, 113, 0.35);
    color: rgba(248, 250, 252, 0.95);
}

.shoot-header__alert-content {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.shoot-header__meta-label {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-weight: 600;
    color: rgba(148, 163, 184, 0.75);
}

.shoot-header__meta-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(226, 232, 240, 0.95);
    line-height: 1.2;
}

.shoot-header__pill--time .shoot-header__meta-value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shoot-header .app-header__menu-toggle {
    display: inline-flex;
    margin-left: auto;
}

.shoot-info {
    width: min(var(--max-content-width), calc(100% - 2.5rem));
    margin: 1.5rem auto 0;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    box-shadow: var(--shadow-soft);
}

.shoot-toolbar {
    width: min(420px, calc(100% - 3rem));
    margin: 1.5rem auto 0;
}

.shoot-view-toggle {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.18);
    overflow: hidden;
}

.shoot-view-toggle__btn {
    border: none;
    background: transparent;
    color: rgba(226, 232, 240, 0.75);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.75rem 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.shoot-view-toggle__btn i {
    font-size: 1.05rem;
}

.shoot-view-toggle__btn.active,
.shoot-view-toggle__btn:hover,
.shoot-view-toggle__btn:focus-visible {
    background: var(--color-accent);
    color: #fff;
    outline: none;
}

.banner-stack {
    position: sticky;
    top: 8.5rem;
    z-index: 18;
    display: grid;
    gap: 0.75rem;
    width: min(var(--max-content-width), calc(100% - 2.5rem));
    margin: 0 auto;
}

.banner {
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: var(--shadow-soft);
}

.banner--warning {
    background: linear-gradient(120deg, rgba(251, 146, 60, 0.85), rgba(249, 115, 22, 0.8));
    color: #fff7ed;
}

.banner--alert {
    background: linear-gradient(120deg, rgba(248, 113, 113, 0.9), rgba(185, 28, 28, 0.85));
    color: #fee2e2;
}

/* Forms & utilities */
.input-select:focus-visible,
select:focus-visible,
textarea:focus-visible,
input:focus-visible,
button:focus-visible {
    outline: 2px solid rgba(99, 102, 241, 0.45);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Existing modal and utility styles refreshed to match new surfaces */
.modal {
    position: fixed;
    z-index: 50;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 9, 20, 0.78);
    backdrop-filter: blur(14px);
    padding: 1.5rem;
    transition: opacity 0.2s ease-in-out;
}

.modal.hidden {
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}

.modal-content {
    position: relative;
    background: rgba(15, 23, 42, 0.95);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(148, 163, 184, 0.35);
    max-height: 90vh;
    overflow-y: auto;
    animation: modal-pop 0.2s ease-out;
}

.modal-close {
    cursor: pointer;
    min-width: 32px;
    min-height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(226, 232, 240, 0.7);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--color-text);
    background: rgba(148, 163, 184, 0.15);
}

.modal button,
.modal input,
.modal select,
.modal textarea {
    pointer-events: auto;
}

@keyframes modal-pop {
    from { transform: translateY(16px) scale(0.96); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.flash-success {
    animation: flash-success 1s ease-out;
}

@keyframes flash-success {
    0% { background-color: rgba(34, 197, 94, 0.25); }
    100% { background-color: transparent; }
}

.timer-flash {
    animation: flash-red 1s infinite;
}

@keyframes flash-red {
    0%, 100% { color: white; }
    50% { color: #f87171; }
}

.view-fade-in {
    animation: fade-in 0.25s ease both;
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.collapsible-content {
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
    max-height: 1500px;
    overflow: hidden;
}

.collapsible-content.collapsed {
    max-height: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-top-width: 0 !important;
}

/* Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.55);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(79, 70, 229, 0.7);
}

/* Google Maps Autocomplete */
.pac-container {
    background-color: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 0.75rem;
    box-shadow: 0 24px 48px -24px rgba(15, 23, 42, 0.45);
    z-index: 9999 !important;
}

.pac-item {
    color: var(--color-text);
    padding: 0.65rem 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.pac-item:first-child {
    border-top: none;
}

.pac-item:hover {
    background: rgba(99, 102, 241, 0.12);
}

.pac-item-query {
    color: var(--color-text);
}

.pac-icon {
    display: none;
}

select option {
    color: black;
    background: white;
}

.mobile-quick-actions {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 1rem 1.5rem;
    pointer-events: none;
}

.mobile-quick-actions[hidden] {
    display: none !important;
}

.mobile-quick-actions__overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 9, 20, 0.65);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.22s ease;
    pointer-events: none;
}

.mobile-quick-actions__sheet {
    position: relative;
    width: min(420px, 100%);
    border-radius: 22px 22px 18px 18px;
    background: rgba(15, 23, 42, 0.94);
    border: 1px solid rgba(148, 163, 184, 0.25);
    padding: 1.5rem;
    box-shadow: var(--shadow-strong);
    transform: translateY(16%);
    transition: transform 0.22s ease;
    pointer-events: auto;
}

.mobile-quick-actions__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.mobile-quick-actions__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.65rem;
    color: rgba(148, 163, 184, 0.7);
    margin-bottom: 0.35rem;
}

.mobile-quick-actions__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
}

.mobile-quick-actions__close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid transparent;
    background: rgba(148, 163, 184, 0.08);
    color: rgba(226, 232, 240, 0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-quick-actions__close:hover,
.mobile-quick-actions__close:focus-visible {
    border-color: rgba(99, 102, 241, 0.65);
    color: var(--color-text);
    outline: none;
}

.mobile-quick-actions__grid {
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.mobile-quick-actions__action {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid transparent;
    color: rgba(226, 232, 240, 0.92);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.mobile-quick-actions__action i {
    font-size: 1rem;
}

.mobile-quick-actions__action:hover,
.mobile-quick-actions__action:focus-visible {
    background: rgba(99, 102, 241, 0.16);
    border-color: rgba(99, 102, 241, 0.55);
    color: var(--color-text);
    outline: none;
}

.mobile-quick-actions__action--danger {
    color: var(--color-danger);
}

.mobile-quick-actions__action--danger:hover,
.mobile-quick-actions__action--danger:focus-visible {
    background: rgba(248, 113, 113, 0.18);
    border-color: rgba(248, 113, 113, 0.6);
    color: #fecaca;
}

.mobile-quick-actions.is-open {
    pointer-events: auto;
}

.mobile-quick-actions.is-open .mobile-quick-actions__overlay {
    opacity: 1;
    pointer-events: auto;
}

.mobile-quick-actions.is-open .mobile-quick-actions__sheet {
    transform: translateY(0);
}

body.has-mobile-sheet {
    overflow: hidden;
}

/* Responsive adjustments */
@media (min-width: 769px) {
    .mobile-quick-actions {
        align-items: flex-start;
        justify-content: flex-end;
        padding: 5rem 2rem 2rem;
    }

    .mobile-quick-actions__sheet {
        transform: translateY(-12px);
        max-width: 420px;
    }
}

@media (max-width: 1024px) {
    .app-header {
        top: 1rem;
        width: calc(100% - 2rem);
    }

    .banner-stack {
        top: 7.5rem;
        width: calc(100% - 2rem);
    }

    .app-main {
        width: calc(100% - 2rem);
    }

    .view-toggle__btn span {
        display: none;
    }
}

@media (max-width: 768px) {
    .auth-view__panel {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .app-shell {
        gap: 1.75rem;
        padding-bottom: 3rem;
    }

    .app-header {
        position: sticky;
        top: 0;
        margin: 0;
        width: 100%;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        padding: 0.85rem 1rem 1rem;
        box-shadow: none;
    }

    .app-header__row {
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.75rem;
    }

    .app-header__row--sub {
        padding-top: 0.65rem;
        border-top: 1px solid rgba(148, 163, 184, 0.15);
    }

    .app-header__menu-toggle {
        display: inline-flex;
    }

    .app-brand__logo {
        width: 38px;
        height: 38px;
    }

    .app-brand__title {
        font-size: 1.35rem;
    }

    .app-brand__eyebrow {
        font-size: 0.6rem;
        letter-spacing: 0.28em;
    }

    .app-user-actions,
    .app-user-actions--desktop {
        display: none;
    }

    .chip-group {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
    }

    .chip {
        padding: 0.45rem 0.95rem;
        font-size: 0.8rem;
    }

    .app-main,
    .banner-stack,
    .shoot-info,
    .shoot-toolbar {
        width: calc(100% - 1rem);
    }

    .banner-stack {
        top: 5.75rem;
    }

    .dashboard-panel {
        padding: 1.35rem;
    }

    .project-card__header,
    .project-card__body {
        padding-left: 1.15rem;
        padding-right: 1.15rem;
    }

    .view-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .view-toggle__btn {
        flex: 1;
        justify-content: center;
    }

    .shoot-header {
        gap: 0.65rem;
        padding: 0.75rem 0.9rem 0.85rem;
    }

    .shoot-header__brand {
        gap: 0.55rem;
    }

    .shoot-header__summary {
        width: 100%;
        justify-content: space-between;
        gap: 0.45rem;
    }

    .shoot-header__pill {
        flex: 1 1 auto;
        min-width: 140px;
    }

    .shoot-header__pill--status {
        flex: 1 1 100%;
        justify-content: flex-start;
    }

    .shoot-header__meta-value {
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    .auth-view {
        padding-top: 3rem;
    }

    .auth-view__brand {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .auth-view__benefits {
        font-size: 0.95rem;
    }

    .app-user-actions__name {
        display: none;
    }

    .app-header__menu-toggle {
        width: 36px;
        height: 36px;
    }

    .app-brand__title {
        font-size: 1.2rem;
    }

    .chip-group {
        gap: 0.35rem;
    }

    .banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .pill-button span {
        display: none;
    }

    .mobile-quick-actions__sheet {
        padding: 1.25rem 1.1rem 1.4rem;
    }
}

@media (max-width: 480px) {
    .app-header {
        padding: 0.75rem 0.85rem 0.9rem;
    }

    .mobile-quick-actions__grid {
        grid-template-columns: 1fr;
    }

    .mobile-quick-actions__action {
        justify-content: flex-start;
    }
}
