:root {
    --primary: #0077b6;
    --secondary: #023e8a;
    --accent: #00b4d8;
    --background: #eefaff;
    --surface: #ffffff;
    --surface-soft: #e7f8fd;
    --text: #071f33;
    --muted: #4d6475;
    --border: #c4e6f1;
    --danger: #b3261e;
    --warning: #8a5a00;
    --shadow: 0 8px 24px rgba(3, 4, 94, 0.11);
    --radius-lg: 8px;
    --radius-md: 8px;
    --radius-sm: 6px;
    --container: 1180px;
    --font-body: "Roboto", "Segoe UI", "Aptos", sans-serif;
    --font-display: "Roboto", "Segoe UI", "Aptos", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(0, 119, 182, 0.10), transparent 24%),
        radial-gradient(circle at bottom right, rgba(72, 202, 228, 0.18), transparent 20%),
        linear-gradient(180deg, #f8fdff 0%, var(--background) 100%);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
}

body.has-overlay-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
video {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

.page-shell,
.shell {
    width: min(var(--container), calc(100% - 2rem));
    margin: 0 auto;
}

.page-shell {
    padding: 2rem 0 3rem;
}

.page-shell--narrow {
    width: min(840px, calc(100% - 2rem));
}

.app-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
}

.workspace-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: calc(1.25rem + env(safe-area-inset-top, 0px)) 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(231, 248, 253, 0.96));
    border-right: 1px solid rgba(144, 224, 239, 0.62);
    backdrop-filter: blur(22px);
    overflow-y: auto;
    z-index: 40;
}

.workspace-sidebar__top {
    align-content: start;
}

.workspace-sidebar__brand {
    display: grid;
    gap: 0.85rem;
}

.workspace-sidebar__toggle,
.workspace-topbar__menu {
    display: none;
}

.workspace-icon-button {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--secondary);
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(3, 4, 94, 0.08);
}

.workspace-icon-button:hover {
    background: rgba(0, 180, 216, 0.12);
}

.workspace-hamburger {
    width: 18px;
    display: grid;
    gap: 4px;
}

.workspace-hamburger span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.workspace-sidebar__context {
    display: grid;
    gap: 0.35rem;
    padding: 0.95rem 1rem 1rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--text);
}

.workspace-sidebar__context-link {
    font-size: 0.88rem;
    color: var(--primary);
    font-weight: 600;
}

.workspace-nav {
    display: grid;
    gap: 0.35rem;
    padding-top: 0.2rem;
}

.workspace-nav__label {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 0;
}

.workspace-nav__icon {
    width: 1.65rem;
    height: 1.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0, 119, 182, 0.10);
    color: var(--secondary);
    font-size: 0.82rem;
    font-weight: 700;
    flex: 0 0 1.65rem;
}

.workspace-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.82rem 0.9rem;
    min-height: 50px;
    border-radius: 16px;
    border: 1px solid transparent;
    color: var(--muted);
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.workspace-nav__link:hover,
.workspace-nav__link.is-active {
    background: rgba(255, 255, 255, 0.85);
    color: var(--primary);
    transform: translateX(2px);
    border-color: rgba(0, 119, 182, 0.18);
    box-shadow: 0 12px 22px rgba(3, 4, 94, 0.06);
}

.workspace-nav__link:hover .workspace-nav__icon,
.workspace-nav__link.is-active .workspace-nav__icon {
    background: rgba(0, 180, 216, 0.16);
    color: var(--primary);
}

.workspace-main {
    min-width: 0;
    display: grid;
    grid-template-rows: auto 1fr;
}

.workspace-overlay {
    display: none;
}

.workspace-topbar {
    position: sticky;
    top: 0;
    z-index: 35;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: calc(1rem + env(safe-area-inset-top, 0px)) 1.35rem 1rem;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(144, 224, 239, 0.72);
}

.workspace-topbar__left,
.workspace-topbar__right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.workspace-topbar__right {
    margin-left: auto;
}

.workspace-content.page-shell {
    width: min(1280px, calc(100% - 2rem));
}

.profile-menu {
    position: relative;
}

.profile-menu__trigger {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 999px;
    padding: 0.45rem 0.65rem 0.45rem 0.45rem;
    cursor: pointer;
    color: var(--text);
    box-shadow: 0 10px 22px rgba(3, 4, 94, 0.08);
    min-height: 54px;
    min-width: 0;
}

.profile-menu__avatar {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(0, 119, 182, 0.18), rgba(72, 202, 228, 0.22));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-family: var(--font-display);
    font-weight: 700;
}

.profile-menu__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-menu__meta {
    display: grid;
    text-align: left;
    line-height: 1.25;
    min-width: 0;
}

.profile-menu__meta strong {
    font-size: 0.98rem;
    letter-spacing: -0.01em;
}

.profile-menu__meta span {
    color: var(--muted);
    font-size: 0.84rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-menu__chevron {
    color: var(--muted);
    font-size: 0.82rem;
    padding-inline-start: 0.1rem;
}

.profile-menu__panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.65rem);
    width: min(280px, calc(100vw - 2rem));
    display: grid;
    gap: 0.3rem;
    padding: 0.5rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 40px rgba(3, 4, 94, 0.14);
}

.profile-menu__link {
    display: block;
    padding: 0.85rem 0.95rem;
    border-radius: 12px;
    color: var(--text);
}

.profile-menu__link:hover,
.profile-menu__link--button:hover {
    background: rgba(0, 180, 216, 0.12);
    color: var(--primary);
}

.profile-menu__link--button {
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(144, 224, 239, 0.72);
}

.site-header__inner {
    width: min(var(--container), calc(100% - 2rem));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    color: var(--secondary);
}

.brand--guest {
    color: var(--secondary);
}

.brand__mark {
    width: 4.5rem;
    height: 4.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 235, 223, 0.98));
    box-shadow: 0 12px 28px rgba(3, 4, 94, 0.12);
}

.brand__mark svg {
    width: 3rem;
    height: 3rem;
}

.brand__lockup {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.brand__title {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.brand__meta {
    color: var(--muted);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.guest-bar {
    padding: 1.15rem 0 0.95rem;
}

.guest-bar__inner {
    width: min(var(--container), calc(100% - 3rem));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.guest-nav--shell {
    display: grid;
    justify-items: end;
    gap: 0.35rem;
}

.guest-nav__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    padding: 0.38rem;
    border: 1px solid rgba(144, 224, 239, 0.68);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.90);
    box-shadow: 0 12px 24px rgba(3, 4, 94, 0.06);
}

.guest-nav__signal {
    color: var(--muted);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}

.guest-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

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

.nav__link {
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    color: var(--muted);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav__link:hover,
.nav__link.is-active {
    background: rgba(0, 180, 216, 0.12);
    color: var(--primary);
}

.stack-xl,
.stack-lg,
.stack-md,
.stack-sm {
    display: grid;
}

.stack-xl { gap: 2rem; }
.stack-lg { gap: 1.5rem; }
.stack-md { gap: 1rem; }
.stack-sm { gap: 0.75rem; }

.grid-2,
.grid-3,
.grid-sidebar,
.stats-grid,
.card-grid {
    display: grid;
    gap: 1.25rem;
}

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

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

.grid-sidebar {
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.9fr);
}

.stats-grid,
.card-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(0, 119, 182, 0.20), transparent 30%),
        radial-gradient(circle at bottom right, rgba(72, 202, 228, 0.22), transparent 28%),
        linear-gradient(180deg, #f8fdff 0%, #e9f8fd 100%);
}

.hero--dark {
    background:
        radial-gradient(circle at top left, rgba(72, 202, 228, 0.22), transparent 30%),
        radial-gradient(circle at bottom right, rgba(0, 150, 199, 0.24), transparent 28%),
        linear-gradient(180deg, #03045e 0%, #023e8a 100%);
    color: #fff;
}

.hero__inner {
    width: min(var(--container), calc(100% - 2rem));
    margin: 0 auto;
    padding: 4rem 0;
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(0, 119, 182, 0.20);
    border-radius: 999px;
    background: rgba(0, 180, 216, 0.12);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero--dark .eyebrow {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    color: #dbeafe;
}

.hero__title,
.page-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.75rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.page-title {
    font-size: clamp(1.75rem, 3vw, 2.6rem);
}

.section-title {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.2;
}

.hero__text,
.section-copy,
.text-muted,
.meta {
    color: var(--muted);
}

.hero--dark .hero__text,
.hero--dark .meta,
.hero--dark .section-copy,
.hero--dark .list-checks {
    color: rgba(255, 255, 255, 0.78);
}

.hero-actions,
.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.justify-center {
    justify-content: center;
}

.align-end {
    align-items: end;
}

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

.link-inline {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.break-all {
    word-break: break-word;
}

.pwa-install {
    position: fixed;
    right: calc(1rem + env(safe-area-inset-right, 0px));
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    display: none;
    z-index: 60;
}

.pwa-install.is-visible {
    display: inline-flex;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.card--soft {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(233, 248, 253, 1));
}

.card--muted {
    background: var(--surface-soft);
    box-shadow: none;
}

.card--dark {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

.card__header,
.section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.card__title {
    margin: 0;
    font-size: 1.18rem;
}

.kpi {
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface);
}

.kpi__label {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.kpi__value {
    margin: 0.4rem 0 0;
    font-size: 2rem;
    font-weight: 700;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(0, 119, 182, 0.10);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
}

.badge--secondary {
    background: rgba(0, 150, 199, 0.12);
    color: var(--secondary);
}

.badge--accent {
    background: rgba(72, 202, 228, 0.18);
    color: var(--accent);
}

.badge--neutral {
    background: rgba(107, 114, 128, 0.1);
    color: #374151;
}

.button,
.button-secondary,
.button-primary,
.button-accent,
.button-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.82rem 1.15rem;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
    text-decoration: none;
    font-weight: 600;
}

.button:hover,
.button-primary:hover,
.button-secondary:hover,
.button-accent:hover,
.button-ghost:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--primary);
    color: #fff;
}

.button-primary:hover {
    box-shadow: 0 14px 28px rgba(0, 119, 182, 0.24);
}

.button-secondary {
    border-color: var(--border);
    background: var(--surface);
    color: var(--text);
}

.button-accent {
    background: var(--accent);
    color: #2b211b;
}

.button-ghost {
    background: rgba(0, 180, 216, 0.12);
    color: var(--secondary);
}

.button--small {
    padding: 0.62rem 0.9rem;
    font-size: 0.92rem;
}

.button--full {
    width: 100%;
}

.label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.92rem;
    font-weight: 600;
}

.input,
.textarea,
.select {
    width: 100%;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    border-radius: 12px;
    padding: 0.85rem 0.95rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.textarea {
    min-height: 120px;
    resize: vertical;
}

.input:focus,
.textarea:focus,
.select:focus {
    outline: none;
    border-color: rgba(0, 119, 182, 0.55);
    box-shadow: 0 0 0 4px rgba(0, 119, 182, 0.18);
}

.field-note,
.field-error {
    margin-top: 0.45rem;
    font-size: 0.88rem;
}

.field-note {
    color: var(--muted);
}

.field-error {
    color: var(--danger);
}

.form-stack {
    display: grid;
    gap: 1rem;
}

.checkbox-row {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text);
    font-weight: 600;
}

.checkbox-row input[type="checkbox"] {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
    accent-color: var(--primary);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.notice {
    border-radius: var(--radius-md);
    padding: 1rem 1.1rem;
    border: 1px solid var(--border);
}

.notice--success {
    background: rgba(0, 180, 216, 0.12);
    border-color: rgba(0, 119, 182, 0.24);
    color: #023e8a;
}

.notice--error {
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.22);
    color: #b91c1c;
}

.notice--warning {
    background: rgba(217, 119, 6, 0.08);
    border-color: rgba(217, 119, 6, 0.22);
    color: #b45309;
}

.empty-state {
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    color: var(--muted);
    background: #fff;
}

.meta-list,
.chip-list,
.list-checks,
.timeline,
.mini-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.meta-list--stacked {
    display: grid;
    gap: 0.7rem;
}

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 0.95rem;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--text);
    font-size: 0.92rem;
}

.list-checks {
    display: grid;
    gap: 0.65rem;
}

.list-checks li {
    position: relative;
    padding-left: 1.4rem;
}

.list-checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: var(--accent);
}

.media-grid,
.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.media-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #fff;
}

.media-card__visual {
    background: #e7f8fd;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.media-card__visual img,
.media-card__visual video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-card__body {
    padding: 0.9rem;
}

.capture-card {
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
    padding: 1rem;
    background: rgba(255,255,255,0.72);
}

.capture-card__preview {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: #201f1d;
    aspect-ratio: 16 / 9;
}

.capture-card__preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.capture-card__status {
    color: var(--muted);
    font-size: 0.92rem;
}

.capture-card .button {
    min-height: 48px;
}

.upload-preview {
    width: min(100%, 320px);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface-soft);
}

.upload-preview--avatar {
    width: 120px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
}

.upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.identity-badge {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.identity-badge--hero {
    margin-bottom: 0.15rem;
}

.identity-badge--featured {
    padding: 0.7rem 0.75rem;
    border: 1px solid rgba(144, 224, 239, 0.62);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(231, 248, 253, 0.94));
}

.identity-badge--floating {
    margin: -2.2rem 1.15rem 0;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(144, 224, 239, 0.68);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 34px rgba(3, 4, 94, 0.12);
    position: relative;
    z-index: 1;
}

.identity-badge__avatar {
    width: 3.25rem;
    height: 3.25rem;
    flex: 0 0 3.25rem;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(0, 119, 182, 0.16), rgba(72, 202, 228, 0.24));
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(3, 4, 94, 0.10);
}

.identity-badge__avatar--hero {
    width: 4rem;
    height: 4rem;
    flex-basis: 4rem;
    font-size: 1.55rem;
}

.identity-badge__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.identity-badge__meta {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
}

.identity-badge__meta strong {
    font-size: 1rem;
    line-height: 1.2;
}

.identity-badge__eyebrow {
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.kitchen-hero-masthead {
    display: grid;
    gap: 0;
}

.kitchen-hero-masthead__cover {
    min-height: 300px;
    border-radius: 24px;
    overflow: hidden;
}

.featured-kitchen-card {
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(72, 202, 228, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(231, 248, 253, 0.98));
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.featured-kitchen-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 119, 182, 0.20);
    box-shadow: 0 24px 44px rgba(3, 4, 94, 0.14);
}

.featured-kitchen-card .card__title {
    font-size: 1.28rem;
    line-height: 1.18;
}

.featured-kitchen-card__meta {
    padding-top: 0.1rem;
}

.featured-kitchen-card__link {
    font-weight: 700;
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.kitchen-discovery-grid {
    align-items: stretch;
}

.kitchen-discovery-card {
    gap: 1rem;
}

.kitchen-discovery-card__meta {
    padding-top: 0.1rem;
}

.kitchen-discovery-card__actions {
    align-items: stretch;
}

.kitchen-hero-copy {
    gap: 0.9rem;
}

.kitchen-hero-copy .page-title {
    font-size: clamp(2.15rem, 3.4vw, 3.1rem);
    line-height: 1.02;
}

.kitchen-hero-copy .section-copy {
    max-width: 56rem;
    font-size: 1.02rem;
    line-height: 1.78;
}

.kitchen-hero-meta {
    gap: 0.9rem;
}

.kitchen-hero-bio {
    max-width: 52rem;
    line-height: 1.72;
}

.kitchen-hero-actions {
    display: grid;
    gap: 0.65rem;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(144, 224, 239, 0.68);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(231, 248, 253, 0.94));
}

.kitchen-hero-actions__buttons {
    align-items: stretch;
}

.kitchen-hero-actions__note {
    margin: 0;
}

.creator-hero-masthead {
    display: grid;
    gap: 0;
}

.creator-hero-masthead__cover {
    min-height: 280px;
    border-radius: 24px;
    overflow: hidden;
}

.creator-hero-copy {
    gap: 0.9rem;
}

.creator-hero-copy .page-title {
    font-size: clamp(2rem, 3.2vw, 2.95rem);
    line-height: 1.03;
}

.creator-hero-copy .section-copy {
    max-width: 54rem;
    line-height: 1.74;
}

.creator-hero-meta {
    gap: 0.9rem;
}

.channel-grid,
.recipe-feed {
    display: grid;
    gap: 1.25rem;
}

.home-screen {
    align-content: start;
}

.home-screen__hero {
    position: relative;
    overflow: hidden;
}

.home-screen__hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 180px;
    background: linear-gradient(180deg, rgba(3, 4, 94, 0), rgba(243, 251, 254, 0.94));
    pointer-events: none;
}

.home-screen__hero-inner {
    align-items: stretch;
}

.home-screen__hero-copy,
.home-screen__hero-panel {
    position: relative;
    z-index: 1;
}

.home-screen__hero-points {
    color: rgba(255, 255, 255, 0.72);
}

.home-screen__hero-actions {
    align-items: stretch;
}

.home-screen__hero-panel {
    background:
        radial-gradient(circle at top right, rgba(72, 202, 228, 0.18), transparent 30%),
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(231,248,253,0.98));
}

.home-screen__hero-visual {
    display: grid;
    gap: 1rem;
}

.home-screen__visual-card {
    display: grid;
    gap: 0.8rem;
}

.home-screen__visual-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.home-screen__signal {
    padding: 1.15rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.9);
    display: grid;
    gap: 0.45rem;
}

.home-screen__signal--wide {
    grid-column: 1 / -1;
}

.home-screen__signal-label {
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-screen__signal-value {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3vw, 2.5rem);
    line-height: 1.08;
    color: var(--secondary);
}

.home-screen__launch-note {
    color: var(--muted);
    line-height: 1.75;
}

.home-screen__benefits,
.home-screen__steps {
    align-items: stretch;
}

.home-screen__benefit,
.home-screen__step {
    min-width: 0;
}

.home-screen__walkthrough {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(233,248,253,0.94));
}

.home-screen__step {
    padding: 1.1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.78);
}

.home-screen__placeholder {
    min-height: 280px;
}

.home-screen__placeholder--channel,
.home-screen__placeholder--recipe {
    background:
        radial-gradient(circle at top left, rgba(72, 202, 228, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,241,233,0.98));
}

.home-screen__cta {
    background:
        radial-gradient(circle at top right, rgba(0, 180, 216, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(231,248,253,0.98));
}

.home-screen__cta-actions {
    align-items: stretch;
}

.dashboard-screen,
.studio-screen,
.recipes-screen {
    align-content: start;
}

.dashboard-hero,
.studio-panel,
.studio-sidecard,
.recipes-screen__card,
.dashboard-feed__card,
.studio-upload-card {
    min-width: 0;
}

.dashboard-hero__actions,
.studio-screen__hero-actions,
.studio-channel-card__actions,
.studio-upload-card__meta,
.dashboard-feed__meta,
.recipes-screen__meta {
    align-items: stretch;
}

.dashboard-feed__details,
.recipes-screen__details {
    gap: 0.45rem;
}

.recipes-screen__feed,
.dashboard-feed,
.studio-upload-feed {
    grid-template-columns: 1fr;
}

.recipes-screen__header,
.dashboard-screen__recent .section-header,
.studio-screen__uploads .section-header {
    align-items: center;
}

.studio-channel-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.studio-channel-card__actions {
    gap: 0.65rem;
}

.studio-sidecard .button {
    width: 100%;
}

.watch-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.8fr);
    gap: 1.5rem;
    align-items: start;
}

.channel-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.recipe-card {
    display: grid;
    gap: 0;
    overflow: hidden;
    padding: 0;
}

.recipe-card--wide {
    grid-template-columns: minmax(240px, 0.95fr) minmax(0, 1.25fr);
}

.recipe-card__media,
.recipe-watch__media,
.channel-card__hero {
    position: relative;
    min-height: 220px;
    background:
        radial-gradient(circle at top left, rgba(72, 202, 228, 0.22), transparent 32%),
        radial-gradient(circle at bottom right, rgba(0, 119, 182, 0.22), transparent 26%),
        linear-gradient(180deg, #0077b6 0%, #03045e 100%);
}

.recipe-card__media::before,
.recipe-watch__media::before,
.channel-card__hero::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0)),
        radial-gradient(circle at top right, rgba(72, 202, 228, 0.30), transparent 30%);
}

.recipe-card__media img,
.recipe-watch__media img,
.channel-card__hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recipe-card__play {
    position: absolute;
    left: 1.25rem;
    bottom: 1.25rem;
    z-index: 1;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--secondary);
    font-weight: 700;
}

.recipe-card__body {
    padding: 1.35rem;
}

.channel-hero {
    background:
        radial-gradient(circle at top left, rgba(72, 202, 228, 0.18), transparent 24%),
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(243,251,254,0.96));
}

.channel-hero__content {
    display: grid;
    gap: 1rem;
}

.studio-hero {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.studio-hero__avatar {
    width: 5rem;
    height: 5rem;
    flex: 0 0 5rem;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(0, 119, 182, 0.18), rgba(72, 202, 228, 0.22));
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    box-shadow: 0 14px 24px rgba(3, 4, 94, 0.12);
}

.studio-hero__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recipe-watch {
    padding: 0;
    overflow: hidden;
}

.recipe-watch__media {
    min-height: 320px;
}

.recipe-watch__overlay {
    position: absolute;
    left: 1.25rem;
    top: 1.25rem;
    z-index: 1;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.recipe-watch__body {
    padding: 1.5rem;
}

.creator-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.creator-strip__meta {
    display: grid;
    gap: 0.25rem;
}

.watch-sidebar {
    position: sticky;
    top: 6rem;
}

.step-card,
.comment-card,
.timeline__item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem;
    background: #fff;
}

.timeline {
    display: grid;
    gap: 0.85rem;
}

.timeline__item {
    position: relative;
}

.table-wrap {
    overflow: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

thead th {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--surface-soft);
}

tbody tr:last-child td {
    border-bottom: 0;
}

.wizard {
    display: grid;
    gap: 1.5rem;
}

.recipe-wizard-screen,
.recipe-detail-screen {
    align-content: start;
}

.recipe-wizard-card__actions,
.recipe-watch__actions,
.recipe-detail-screen__primary-actions,
.recipe-detail-screen__capture-actions,
.recipe-detail-screen__badges {
    align-items: stretch;
}

.recipe-detail-screen__ingredient-list {
    gap: 0.7rem;
}

.recipe-detail-screen__members .chip {
    width: 100%;
    justify-content: space-between;
}

.recipe-detail-screen__members form {
    margin-left: auto;
}

.wizard__progress {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
}

.wizard__step {
    border: 1px solid var(--border);
    background: #fff;
    color: var(--muted);
    padding: 0.9rem 1rem;
    border-radius: var(--radius-md);
}

.wizard__step.is-active {
    border-color: rgba(0, 119, 182, 0.25);
    background: rgba(0, 180, 216, 0.12);
    color: var(--primary);
}

.wizard.is-enhanced .wizard__panel[hidden] {
    display: none;
}

.cooking-shell {
    width: min(960px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2rem 0 3rem;
}

.cooking-panel {
    text-align: center;
    padding: 2.5rem;
}

.cooking-shell.is-enhanced .cooking-step {
    display: none;
}

.cooking-shell.is-enhanced .cooking-step.is-active {
    display: block;
}

.cooking-step__number {
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.cooking-step__title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.1;
    margin: 0;
}

.cooking-step__body {
    margin: 1.25rem auto 0;
    max-width: 40rem;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    color: var(--text);
}

.cooking-controls {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-note {
    color: var(--muted);
    font-size: 0.9rem;
}

@media (max-width: 960px) {
    .hero__inner,
    .grid-sidebar,
    .grid-2,
    .grid-3,
    .form-grid,
    .recipe-card--wide,
    .watch-layout {
        grid-template-columns: 1fr;
    }

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

    .app-shell {
        grid-template-columns: 1fr;
    }

    .workspace-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: min(340px, calc(100vw - 1.25rem));
        transform: translateX(-102%);
        transition: transform 0.24s ease;
        box-shadow: 0 22px 56px rgba(3, 4, 94, 0.24);
    }

    .app-shell.is-sidebar-open .workspace-sidebar {
        transform: translateX(0);
    }

    .workspace-overlay {
        position: fixed;
        inset: 0;
        background: rgba(3, 4, 94, 0.38);
        z-index: 30;
    }

    .app-shell.is-sidebar-open .workspace-overlay {
        display: block;
    }

    .workspace-sidebar__toggle,
    .workspace-topbar__menu {
        display: inline-flex;
    }

    .workspace-topbar {
        padding-inline: 1rem;
    }

    .guest-bar__inner,
    .creator-strip,
    .studio-hero,
    .workspace-topbar__left {
        flex-direction: column;
        align-items: flex-start;
    }

    .guest-nav--shell {
        justify-items: stretch;
        width: 100%;
    }

    .guest-nav__links {
        width: 100%;
        justify-content: flex-start;
    }

    .dashboard-screen__hero,
    .studio-screen__channels,
    .studio-screen__feedback {
        gap: 1rem;
    }

    .dashboard-screen__stats,
    .studio-screen__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-feed__card,
    .studio-upload-card,
    .recipes-screen__card {
        grid-template-columns: 1fr;
    }

    .dashboard-feed__card .recipe-card__media,
    .studio-upload-card .recipe-card__media,
    .recipes-screen__card .recipe-card__media {
        min-height: 210px;
    }

    .home-screen__visual-grid,
    .home-screen__benefits,
    .home-screen__steps {
        grid-template-columns: 1fr;
    }

    .home-screen__hero::after {
        height: 120px;
    }

    .creator-hero-masthead__cover {
        min-height: 220px;
    }

    .recipe-watch__header,
    .recipe-detail-screen__summary-header,
    .recipe-detail-screen__section-header,
    .recipe-detail-screen__step-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .recipe-detail-screen__overview,
    .recipe-detail-screen__discussion {
        gap: 1rem;
    }

    .recipe-detail-screen__media-form,
    .recipe-detail-screen__member-form {
        grid-template-columns: 1fr;
    }

    .recipe-watch__sidebar {
        position: static;
    }

    .recipe-watch__media {
        min-height: 260px;
    }

    .recipe-wizard-card__progress {
        grid-template-columns: 1fr;
    }

    .recipe-detail-screen__version-grid,
    .recipe-detail-screen__related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .workspace-topbar__right {
        justify-content: flex-end;
    }
}

@media (max-width: 720px) {
    .page-shell {
        padding-top: 1.25rem;
    }

    .card,
    .cooking-panel {
        padding: 1.2rem;
    }

    .hero__inner {
        padding: 2.5rem 0;
    }

    .button,
    .button-primary,
    .button-secondary,
    .button-accent,
    .button-ghost {
        width: 100%;
    }

    .hero-actions,
    .button-row {
        align-items: stretch;
    }

    .dashboard-screen__stats,
    .studio-screen__stats {
        grid-template-columns: 1fr;
    }

    .dashboard-hero__actions,
    .studio-screen__hero-actions,
    .studio-channel-card__actions,
    .studio-upload-card__meta,
    .dashboard-feed__meta,
    .recipes-screen__meta {
        display: grid;
        grid-template-columns: 1fr;
    }

    .dashboard-screen__recent .section-header,
    .studio-screen__uploads .section-header,
    .recipes-screen__header,
    .studio-panel .section-header,
    .home-screen__cta .section-header {
        align-items: stretch;
    }

    .dashboard-feed__card .recipe-card__media,
    .studio-upload-card .recipe-card__media,
    .recipes-screen__card .recipe-card__media {
        min-height: 180px;
    }

    .recipe-wizard-card,
    .recipe-watch__body,
    .recipe-detail-screen__summary,
    .recipe-detail-screen__ingredients,
    .recipe-detail-screen__collaboration,
    .recipe-detail-screen__media,
    .recipe-detail-screen__versions,
    .recipe-detail-screen__steps,
    .recipe-detail-screen__comments,
    .recipe-detail-screen__activity,
    .recipe-detail-screen__related {
        gap: 1rem;
    }

    .recipe-wizard-card__actions,
    .recipe-watch__actions,
    .recipe-detail-screen__primary-actions,
    .recipe-detail-screen__capture-actions,
    .recipe-detail-screen__badges {
        display: grid;
        grid-template-columns: 1fr;
    }

    .recipe-watch__media {
        min-height: 220px;
    }

    .recipe-watch__overlay {
        left: 0.85rem;
        top: 0.85rem;
    }

    .recipe-watch__jump {
        width: 100%;
    }

    .home-screen__hero-actions,
    .home-screen__cta-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .guest-nav__signal {
        line-height: 1.5;
    }

    .creator-strip {
        align-items: stretch;
    }

    .recipe-detail-screen__version-grid,
    .recipe-detail-screen__related-grid {
        grid-template-columns: 1fr;
    }

    .recipe-detail-screen__members .chip {
        flex-direction: column;
        align-items: flex-start;
    }

    .recipe-detail-screen__members form {
        margin-left: 0;
        width: 100%;
    }

    .recipe-detail-screen__members .button {
        width: 100%;
    }

    .studio-hero__avatar {
        width: 4.1rem;
        height: 4.1rem;
        flex-basis: 4.1rem;
        font-size: 1.55rem;
    }

    .identity-badge__avatar {
        width: 2.85rem;
        height: 2.85rem;
        flex-basis: 2.85rem;
    }

    .identity-badge__avatar--hero {
        width: 3.4rem;
        height: 3.4rem;
        flex-basis: 3.4rem;
    }

    .identity-badge--floating {
        margin: -1.7rem 0.85rem 0;
    }

    .kitchen-hero-masthead__cover {
        min-height: 240px;
    }

    .featured-kitchen-card:hover {
        transform: none;
    }

    .kpi__value {
        font-size: 1.7rem;
    }

    .capture-card .button-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .workspace-topbar__left {
        width: 100%;
    }

    .workspace-topbar {
        align-items: flex-start;
    }

    .workspace-topbar__right {
        width: 100%;
        justify-content: flex-end;
    }

    .profile-menu {
        width: auto;
        max-width: 100%;
    }

    .profile-menu__trigger {
        max-width: min(100%, 320px);
    }

    .profile-menu__panel {
        width: min(260px, calc(100vw - 2rem));
    }
}

/* Ocean Blue Material design layer */
:root {
    --primary: #0077b6;
    --primary-dark: #023e8a;
    --primary-deep: #03045e;
    --secondary: #0096c7;
    --accent: #00b4d8;
    --accent-soft: #48cae4;
    --background: #f3fbfe;
    --surface: #ffffff;
    --surface-soft: #e9f8fd;
    --surface-tint: #caf0f8;
    --text: #071f33;
    --muted: #526b7a;
    --border: #bfe8f4;
    --danger: #ba1a1a;
    --warning: #795900;
    --shadow: 0 8px 24px rgba(3, 4, 94, 0.11);
    --shadow-strong: 0 18px 42px rgba(3, 4, 94, 0.16);
    --radius-lg: 8px;
    --radius-md: 8px;
    --radius-sm: 6px;
}

html {
    background: var(--background);
}

body {
    background:
        linear-gradient(180deg, #ffffff 0%, #f1fbff 42%, #e8f8fd 100%);
    color: var(--text);
    font-size: 16px;
    letter-spacing: 0;
}

.site-header,
.workspace-topbar,
.workspace-sidebar,
.guest-bar {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(144, 224, 239, 0.68);
    box-shadow: 0 1px 0 rgba(3, 4, 94, 0.05);
}

.guest-bar {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 0.75rem 0;
    backdrop-filter: blur(18px);
}

.guest-bar__inner,
.site-header__inner {
    gap: 1.25rem;
}

.brand,
.brand--guest {
    color: var(--primary-dark);
}

.brand__mark,
.profile-menu__avatar,
.identity-badge__avatar,
.studio-hero__avatar {
    background: linear-gradient(135deg, #caf0f8 0%, #48cae4 52%, #0096c7 100%);
    color: var(--primary-deep);
    box-shadow: 0 6px 18px rgba(0, 119, 182, 0.16);
}

.brand__mark {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 8px;
}

.brand__mark svg {
    width: 2.25rem;
    height: 2.25rem;
}

.brand__title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 0;
}

.brand__meta,
.guest-nav__signal,
.workspace-nav__link,
.section-copy,
.text-muted,
.meta,
.field-note {
    color: var(--muted);
}

.guest-nav--shell {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.guest-nav__links {
    border: 1px solid rgba(144, 224, 239, 0.72);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.nav__link {
    border-radius: 6px;
    color: var(--primary-dark);
    font-weight: 600;
}

.nav__link:hover,
.nav__link.is-active,
.profile-menu__link:hover,
.profile-menu__link--button:hover,
.workspace-nav__link:hover,
.workspace-nav__link.is-active {
    background: #e0f7fd;
    color: var(--primary-deep);
}

.workspace-sidebar__context,
.profile-menu__trigger,
.profile-menu__panel,
.kpi,
.home-screen__signal,
.recipe-card__body,
.recipe-detail-screen__summary,
.recipe-detail-screen__ingredients,
.recipe-detail-screen__collaboration,
.recipe-detail-screen__media,
.recipe-detail-screen__versions,
.recipe-detail-screen__steps,
.recipe-detail-screen__comments,
.recipe-detail-screen__activity,
.recipe-detail-screen__related {
    border-color: var(--border);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.workspace-nav__icon {
    border-radius: 6px;
    background: #dff7fd;
    color: var(--primary-dark);
}

.hero {
    background: linear-gradient(180deg, #ffffff 0%, #e7f8fd 100%);
}

.hero--dark,
.home-screen__hero {
    background: linear-gradient(135deg, #03045e 0%, #023e8a 42%, #0077b6 100%);
    color: #ffffff;
}

.home-screen__hero::after {
    background: linear-gradient(180deg, rgba(3, 4, 94, 0), var(--background));
}

.hero__inner {
    padding: 3.35rem 0;
    gap: 2.25rem;
}

.hero__title,
.page-title {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
}

.home-screen .hero__title {
    max-width: 13ch;
    font-size: clamp(2.35rem, 5vw, 4.45rem);
}

.hero__text {
    max-width: 56rem;
    font-size: 1.04rem;
}

.hero--dark .hero__text,
.hero--dark .meta,
.hero--dark .section-copy,
.hero--dark .list-checks,
.home-screen__hero-points {
    color: rgba(255, 255, 255, 0.86);
}

.eyebrow {
    border-color: rgba(0, 180, 216, 0.32);
    border-radius: 6px;
    background: #e5f8fd;
    color: var(--primary-dark);
    letter-spacing: 0.08em;
}

.hero--dark .eyebrow {
    background: rgba(202, 240, 248, 0.14);
    border-color: rgba(202, 240, 248, 0.25);
    color: #caf0f8;
}

.card,
.card--soft,
.card--muted,
.featured-kitchen-card,
.home-screen__walkthrough,
.home-screen__placeholder--channel,
.home-screen__placeholder--recipe,
.home-screen__cta,
.channel-hero,
.kitchen-hero-actions,
.identity-badge--featured,
.identity-badge--floating {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.card--dark {
    background: rgba(202, 240, 248, 0.12);
    border-color: rgba(202, 240, 248, 0.22);
    box-shadow: none;
}

.home-screen__hero-panel {
    background: rgba(255, 255, 255, 0.98);
    color: var(--text);
    box-shadow: var(--shadow-strong);
}

.home-screen__hero-panel .eyebrow {
    background: #e2f8fe;
    color: var(--primary-dark);
}

.home-screen__hero-panel .section-copy,
.home-screen__hero-panel .field-note,
.home-screen__launch-note {
    color: var(--muted);
}

.home-screen__signal {
    background: #ffffff;
}

.home-screen__signal-value,
.kpi__value {
    color: var(--primary-dark);
}

.home-screen__benefit,
.home-screen__step {
    background: #ffffff;
    border-top: 4px solid var(--accent);
}

.home-screen__step {
    box-shadow: none;
}

.recipe-card,
.channel-card,
.featured-kitchen-card,
.capture-card {
    overflow: hidden;
}

.recipe-card__media,
.recipe-watch__media,
.channel-card__hero,
.kitchen-hero-masthead__cover,
.creator-hero-masthead__cover {
    background: linear-gradient(135deg, #03045e 0%, #0077b6 58%, #48cae4 100%);
}

.recipe-card__media::before,
.recipe-watch__media::before,
.channel-card__hero::before {
    inset: 16px;
    border: 1px solid rgba(202, 240, 248, 0.22);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(202, 240, 248, 0.18), rgba(255, 255, 255, 0.04));
}

.recipe-card__play {
    border-radius: 6px;
    background: #ffffff;
    color: var(--primary-dark);
    box-shadow: 0 6px 16px rgba(3, 4, 94, 0.16);
}

.button,
.button-secondary,
.button-primary,
.button-accent,
.button-ghost {
    min-height: 44px;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: none;
}

.button-primary {
    background: var(--primary);
    color: #ffffff;
}

.button-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 8px 20px rgba(0, 119, 182, 0.24);
}

.button-secondary {
    border-color: var(--border);
    background: #ffffff;
    color: var(--primary-dark);
}

.button-secondary:hover,
.button-ghost:hover {
    border-color: #90e0ef;
    box-shadow: 0 6px 18px rgba(0, 119, 182, 0.14);
}

.button-accent {
    background: var(--accent);
    color: #032437;
}

.button-ghost {
    background: #e0f7fd;
    color: var(--primary-dark);
}

.badge,
.badge--secondary,
.badge--accent,
.badge--neutral {
    border: 1px solid transparent;
    border-radius: 6px;
    background: #e2f8fe;
    color: var(--primary-dark);
}

.badge--secondary {
    background: #d7f5fb;
    color: #005f8f;
}

.badge--accent {
    background: #caf0f8;
    color: var(--primary-deep);
}

.badge--neutral {
    background: #eef6fa;
    color: #405968;
}

.input,
.textarea,
.select {
    border-color: #9adfed;
    border-radius: 8px;
    background: #ffffff;
    color: var(--text);
}

.input:focus,
.textarea:focus,
.select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.22);
}

.alert,
.flash {
    border-color: #90e0ef;
    background: #e9f9fd;
    color: var(--primary-deep);
}

.link-inline,
.featured-kitchen-card__link,
.workspace-sidebar__context-link {
    color: var(--primary);
}

.list-checks li::marker,
.meta-list li::marker {
    color: var(--accent);
}

.pwa-install {
    background: var(--primary-dark);
    color: #ffffff;
    box-shadow: 0 10px 26px rgba(3, 62, 138, 0.28);
}

@media (max-width: 960px) {
    .guest-nav--shell {
        width: 100%;
        align-items: stretch;
    }

    .home-screen .hero__title {
        max-width: 16ch;
    }
}

@media (max-width: 720px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .guest-bar__inner,
    .site-header__inner {
        width: min(var(--container), calc(100% - 1.25rem));
    }

    .brand__mark {
        width: 3rem;
        height: 3rem;
    }

    .brand__title {
        font-size: 1.2rem;
    }

    .brand__meta,
    .guest-nav__signal {
        font-size: 0.74rem;
    }

    .guest-nav__links {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        gap: 0.25rem;
    }

    .nav__link {
        min-width: 0;
        text-align: center;
        padding-inline: 0.55rem;
        overflow-wrap: anywhere;
    }

    .guest-nav--shell {
        flex-direction: column;
        gap: 0.65rem;
    }

    .guest-nav__signal {
        width: 100%;
        text-align: center;
        overflow-wrap: anywhere;
    }

    .hero__inner {
        width: min(var(--container), calc(100% - 1.25rem));
        grid-template-columns: minmax(0, 1fr) !important;
        padding: 2.25rem 0;
    }

    .home-screen__hero-copy,
    .home-screen__hero-panel,
    .home-screen__hero-copy > *,
    .home-screen__hero-panel > * {
        max-width: min(100%, calc(100vw - 1.25rem));
    }

    .home-screen .hero__title {
        max-width: 100%;
        font-size: clamp(1.75rem, 7.5vw, 2.12rem);
        line-height: 1.12;
        overflow-wrap: break-word;
    }

    .hero__text,
    .section-copy,
    .field-note,
    .meta-list {
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .section-title {
        font-size: 1.35rem;
        overflow-wrap: break-word;
    }

    .home-screen__hero-panel {
        padding: 1rem;
    }

    .home-screen__visual-grid {
        gap: 0.7rem;
    }

    .home-screen__signal {
        padding: 0.95rem;
    }

    .home-screen__signal-value {
        font-size: clamp(1.55rem, 9vw, 2rem);
        overflow-wrap: anywhere;
    }

    .pwa-install {
        left: calc(0.75rem + env(safe-area-inset-left, 0px));
        right: calc(0.75rem + env(safe-area-inset-right, 0px));
        width: auto;
    }
}


