
    /* ===== view-login / view-login.html ===== */


:root {
  --accent-050: #eef6ff;
  --accent-100: #d9eaff;
  --accent-200: #b9d8ff;
  --accent-500: #0f68ea;
  --accent-600: #0b56c4;

  --neutral-000: #ffffff;
  --neutral-050: #f8f9fc;
  --neutral-100: #f1f3f7;
  --neutral-200: #e3e7ee;
  --neutral-300: #cfd6e2;
  --neutral-500: #6d7890;

  --success-500: #16b85f;
  --danger-500: #d93025;

  --bg-page: #eef0f5;
  --bg-card: #ffffff;

  --text-primary: #1f2430;
  --text-secondary: #4c566a;
  --text-muted: #8b94a7;
  --text-white: #ffffff;

  --font-main: 'Inter', sans-serif;

  --fs-xs: 11px;
  --fs-sm: 13px;
  --fs-base: 14px;
  --fs-h1: 32px;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-card: 10px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.04);

  --main-max: 1120px;
  --main-padding: 32px;
  --desktop-right-space: 200px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg-page);
  font-family: var(--font-main);
  color: var(--text-primary);
  font-size: var(--fs-base);
}

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

button { cursor: pointer; }

.layout-main {
  min-height: 100vh;
  padding: 56px var(--main-padding) 80px;
}

.layout-main__inner {
  width: min(100%, calc(100vw - var(--desktop-right-space) - var(--main-padding)));
  max-width: var(--main-max);
}

.layout-page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 28px;
}

.page-title {
  margin: 0;
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: .01em;
}

.page-subtitle {
  margin: 8px 0 0;
  color: var(--text-secondary);
  font-size: var(--fs-base);
  line-height: 1.35;
}

.layout-page-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.component-card {
  background: var(--bg-card);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-card);
  padding: 24px;
}

.component-card + .component-card { margin-top: 18px; }

.component-card__title {
  margin: 0 0 22px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-md);
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: .15s ease;
}

.btn--primary {
  background: var(--accent-500);
  color: var(--text-white);
}

.btn--primary:hover { background: var(--accent-600); }

.btn--secondary {
  background: var(--neutral-000);
  color: var(--accent-500);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover { background: var(--accent-050); }

.btn--soft {
  background: var(--accent-100);
  color: var(--accent-500);
}

.btn--soft:hover { background: var(--accent-200); }

.field,
.select,
.textarea {
  width: 100%;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-md);
  background: var(--neutral-000);
  color: var(--text-primary);
  outline: none;
  box-shadow: var(--shadow-sm);
}

.field,
.select {
  min-height: 44px;
  padding: 0 14px;
  font-size: var(--fs-base);
}

.label {
  display: block;
  margin: 0 0 8px;
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--text-primary);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  font-weight: 500;
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: var(--accent-500);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.badge--role {
  background: var(--accent-050);
  color: var(--accent-500);
}
.bulk-menu-items {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.bulk-menu-item {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 18px;
    background: var(--color-surface, #ffffff);
    opacity: 0.62;
    transition: opacity 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.bulk-menu-item.is-selected {
    opacity: 1;
    border-color: var(--color-primary, #111827);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.bulk-menu-item__select {
    padding-top: 3px;
}

.bulk-menu-item__main {
    min-width: 0;
}

.bulk-menu-item__grid {
    display: grid;
    grid-template-columns: minmax(180px, 1.4fr) minmax(120px, 0.8fr) minmax(110px, 0.7fr) minmax(130px, 0.8fr);
    gap: 14px;
    margin-top: 16px;
}

.bulk-menu-item__field {
    margin-top: 14px;
}

.bulk-menu-item input:disabled,
.bulk-menu-item select:disabled,
.bulk-menu-item textarea:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
.category-item--grouped {
    cursor: default;
    align-items: flex-start;
}

.variant-list {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.variant-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 12px;
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.65);
    color: inherit;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.variant-row:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--color-primary, #111827);
}

.variant-row__name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-weight: 600;
}

.variant-row__unit {
    color: var(--color-muted, #6b7280);
    font-weight: 400;
}

.variant-row__price {
    white-space: nowrap;
    font-weight: 700;
}
.menu-dish-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: start;
    padding: 18px;
    border-bottom: 1px solid var(--color-border, #e5e7eb);
}

.menu-dish-row:last-child {
    border-bottom: 0;
}

.menu-dish-row__content {
    min-width: 0;
}

.menu-dish-row__name {
    margin: 0 0 6px;
    color: var(--color-heading, #111827);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.menu-dish-row__desc {
    margin: 0;
    max-width: 720px;
    color: var(--color-text-muted, #475569);
    font-size: 14px;
    line-height: 1.45;
}

.menu-dish-row__content .component-tags {
    margin-top: 10px;
}

.menu-dish-row__variants {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 10px;
}

.menu-variant-box {
    display: grid;
    align-content: center;
    justify-items: center;
    min-width: 66px;
    min-height: 72px;
    padding: 10px 12px;
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 12px;
    background: var(--color-surface, #ffffff);
    color: inherit;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.menu-variant-box__name {
    color: var(--color-heading, #111827);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.1;
}

.menu-variant-box__unit {
    margin-top: 2px;
    color: var(--color-text-muted, #64748b);
    font-size: 11px;
    line-height: 1.1;
}

.menu-variant-box__price {
    margin-top: 8px;
    color: var(--color-heading, #111827);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.1;
}

.menu-variant-box__meta {
    margin-top: 5px;
    color: var(--color-text-muted, #64748b);
    font-size: 10px;
    line-height: 1.1;
}

.menu-variant-box--editable {
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.menu-variant-box--editable:hover {
    border-color: var(--color-primary, #111827);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
    transform: translateY(-1px);
}
.drag-list {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.drag-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 18px;
    background: var(--color-surface, #ffffff);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.drag-row.is-dragging {
    opacity: 0.45;
}
.category-item--with-actions {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px;
    gap: 12px;
    align-items: stretch;
    cursor: default;
}

.category-item__clickable {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    min-width: 0;
    cursor: pointer;
}

.dish-variants-popover {
    position: relative;
    margin-top: 8px;
    text-align: right;
}

.dish-variants-popover__trigger {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-text-muted, #64748b);
    font-size: 12px;
    font-weight: 700;
    cursor: help;
}

.dish-variants-popover__content {
    position: absolute;
    z-index: 40;
    top: calc(100% + 8px);
    right: 0;
    width: 260px;
    padding: 10px;
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 14px;
    background: var(--color-surface, #ffffff);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
    text-align: left;
}

.dish-variants-popover:hover .dish-variants-popover__content,
.dish-variants-popover__trigger:focus + .dish-variants-popover__content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dish-variants-popover__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 4px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    color: var(--color-text, #111827);
    font-size: 13px;
}

.dish-variants-popover__row:last-child {
    border-bottom: 0;
}

.dish-variants-popover__row small {
    display: block;
    margin-top: 2px;
    color: var(--color-text-muted, #64748b);
    font-size: 11px;
}

.dish-variants-popover__row strong {
    white-space: nowrap;
}

.dish-action-menu {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.dish-action-menu__button {
    width: 34px;
    height: 34px;
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 999px;
    background: var(--color-surface, #ffffff);
    color: var(--color-text, #111827);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.dish-action-menu__button:hover {
    background: rgba(15, 23, 42, 0.04);
}

.dish-action-menu__dropdown {
    position: absolute;
    z-index: 50;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    min-width: 220px;
    padding: 8px;
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 16px;
    background: var(--color-surface, #ffffff);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.dish-action-menu.is-open .dish-action-menu__dropdown {
    display: grid;
    gap: 2px;
}

.dish-action-menu__item {
    display: block;
    width: 100%;
    padding: 10px 11px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--color-text, #111827);
    font: inherit;
    font-size: 14px;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.dish-action-menu__item:hover {
    background: rgba(15, 23, 42, 0.06);
}

.dish-action-menu__item--danger {
    color: #991b1b;
}

.dish-action-menu__item--danger:hover {
    background: #fee2e2;
}

@media (max-width: 760px) {
    .category-item--with-actions {
        grid-template-columns: minmax(0, 1fr) 34px;
    }

    .category-item__clickable {
        display: grid;
    }

    .dish-variants-popover {
        text-align: left;
    }

    .dish-variants-popover__content {
        left: 0;
        right: auto;
        width: min(260px, 80vw);
    }
}
.drag-row__handle {
    display: grid;
    place-items: center;
    width: 34px;
    height: 44px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.04);
    color: var(--color-text-muted, #64748b);
    cursor: grab;
    user-select: none;
    font-size: 18px;
    line-height: 1;
}

.drag-row__handle:active {
    cursor: grabbing;
}

.drag-row__main {
    min-width: 0;
    display: flex;
    justify-content: space-between;
}

.drag-row__title {
    margin: 0 0 4px;
    color: var(--color-heading, #111827);
    font-size: 16px;
    font-weight: 800;
}

.drag-row__meta {
    margin: 0;
    color: var(--color-text-muted, #64748b);
    font-size: 13px;
    line-height: 1.4;
}

.drag-row__visibility {
    display: flex;
    justify-content: flex-end;
}
.sort-category-box {
    margin-top: 28px;
}

.sort-category-box:first-of-type {
    margin-top: 20px;
}

.sort-category-box__head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 12px;
}

.sort-category-box__title {
    margin: 0;
    color: var(--color-heading, #111827);
    font-size: 18px;
    font-weight: 800;
}

.drag-row--menu-item .drag-row__title {
    font-size: 15px;
}
.public-menu-body {
    background:
        radial-gradient(circle at top left, rgba(15, 23, 42, 0.08), transparent 32rem),
        #f6f3ed;
    color: #111827;
}

.public-menu-page {
    min-height: 100vh;
    padding: 32px 18px;
}

.public-menu-shell {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.public-menu-hero {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: flex-start;
    padding: 28px;
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.08);
}

.public-menu-hero__brand {
    display: flex;
    gap: 18px;
    align-items: center;
    min-width: 0;
}

.public-menu-hero__logo,
.public-menu-hero__monogram {
    width: 74px;
    height: 74px;
    flex: 0 0 74px;
    border-radius: 22px;
}

.public-menu-hero__logo {
    object-fit: cover;
    background: #fff;
}

.public-menu-hero__monogram {
    display: grid;
    place-items: center;
    background: #111827;
    color: #fff;
    font-size: 34px;
    font-weight: 900;
    text-transform: uppercase;
}

.public-menu-hero__eyebrow {
    margin: 0 0 6px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.public-menu-hero__title {
    margin: 0;
    color: #111827;
    font-size: clamp(30px, 5vw, 56px);
    line-height: 0.95;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.public-menu-hero__meta {
    text-align: right;
}

.public-menu-hero__menu-name {
    margin: 0;
    color: #111827;
    font-size: clamp(22px, 3vw, 34px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.public-menu-hero__date {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 13px;
}

.public-menu-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 16px 0 26px;
    padding: 0 6px;
    color: #475569;
    font-size: 14px;
}

.public-menu-contact span {
    position: relative;
}

.public-menu-contact span:not(:last-child)::after {
    content: "•";
    margin-left: 18px;
    color: #94a3b8;
}

.public-menu-content {
    display: grid;
    gap: 30px;
}

.public-menu-category {
    padding: 26px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

.public-menu-category__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.public-menu-category__title {
    margin: 0;
    color: #111827;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.055em;
    text-transform: uppercase;
}

.public-menu-category__header::after {
    content: "";
    height: 1px;
    flex: 1;
    background: rgba(15, 23, 42, 0.12);
}

.public-menu-dishes {
    display: grid;
}

.public-dish-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: start;
    padding: 18px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.public-dish-row:last-child {
    border-bottom: 0;
}

.public-dish-row__content {
    min-width: 0;
}

.public-dish-row__name {
    margin: 0 0 6px;
    color: #111827;
    font-size: 17px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.public-dish-row__desc {
    margin: 0;
    max-width: 720px;
    color: #475569;
    font-size: 14px;
    line-height: 1.45;
}

.public-dish-row__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.public-dish-row__allergens {
    margin-top: 8px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.4;
}

.public-dish-row__allergens span {
    font-weight: 800;
}

.public-dish-row__variants {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: nowrap;
}

.public-variant-tile {
    display: grid;
    align-content: center;
    justify-items: center;
    min-width: 72px;
    min-height: 74px;
    padding: 10px 12px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 16px;
    background: #fff;
    text-align: center;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.public-variant-tile__name {
    color: #111827;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.1;
}

.public-variant-tile__unit {
    margin-top: 2px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.1;
}

.public-variant-tile__price {
    margin-top: 7px;
    color: #111827;
    font-size: 15px;
    font-weight: 950;
    line-height: 1.1;
}

.public-dish-row--single .public-variant-tile {
    min-width: 90px;
}

.public-menu-empty {
    padding: 42px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    text-align: center;
}

.public-menu-empty h2 {
    margin: 0 0 8px;
    font-size: 26px;
}

.public-menu-empty p {
    margin: 0;
    color: #64748b;
}

.public-menu-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 24px;
    padding: 18px 6px;
    color: #64748b;
    font-size: 13px;
}

@media (max-width: 760px) {
    .public-menu-page {
        padding: 16px 10px;
    }

    .public-menu-hero {
        display: grid;
        padding: 20px;
        border-radius: 22px;
    }

    .public-menu-hero__meta {
        text-align: left;
    }

    .public-menu-hero__logo,
    .public-menu-hero__monogram {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
        border-radius: 18px;
    }

    .public-menu-category {
        padding: 20px 16px;
        border-radius: 22px;
    }

    .public-dish-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .public-dish-row__variants {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .public-variant-tile {
        min-width: 78px;
    }

    .public-menu-contact {
        display: grid;
        gap: 6px;
    }

    .public-menu-contact span::after {
        display: none;
    }

    .public-menu-footer {
        display: grid;
    }
}

@media print {
    .public-menu-body {
        background: #fff;
    }

    .public-menu-page {
        padding: 0;
    }

    .public-menu-shell { 
        width: 100%;
    }

    .public-menu-hero,
    .public-menu-category {
        box-shadow: none;
        background: #fff;
    }

    .public-menu-category {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .public-dish-row {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

@media (max-width: 760px) {
    .drag-row {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .drag-row__visibility {
        grid-column: 2;
        justify-content: flex-start;
    }
}
@media (max-width: 760px) {
    .menu-dish-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .menu-dish-row__variants {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .menu-variant-box {
        min-width: 74px;
    }
}

@media (max-width: 900px) {
    .bulk-menu-item {
        grid-template-columns: 1fr;
    }

    .bulk-menu-item__grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 960px) {
  .layout-main {
    padding: 24px 16px 64px;
  }

  .layout-main__inner {
    width: 100%;
    max-width: none;
  }

  .layout-page-header {
    display: grid;
    gap: 18px;
  }

  .layout-page-header__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .component-card {
    padding: 18px;
  }
}

    .view-login {
      min-height: 100vh;
      display: grid;
      place-items: center;
      padding: 24px;
    }

    .component-login-card {
      width: min(100%, 420px);
      padding: 28px;
    }

    .component-login-card__brand {
      min-height: 64px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 22px;
      border-radius: var(--radius-card);
      background: var(--accent-050);
      color: var(--accent-500);
      font-weight: 900;
      letter-spacing: .04em;
      text-transform: uppercase;
    }

    .component-login-card__title {
      margin: 0 0 8px;
      font-size: 28px;
      line-height: 1.1;
      font-weight: 800;
    }

    .component-login-card__text {
      margin: 0 0 24px;
      color: var(--text-secondary);
      font-size: var(--fs-base);
      line-height: 1.45;
    }

    .form-login {
      display: grid;
      gap: 16px;
    }

    .form-login .btn {
      width: 100%;
      margin-top: 2px;
    }
  

/* ===== view-menu-manager / view-menu-manager-final.html ===== */

    :root {
      --accent-050: #eef6ff;
      --accent-100: #d9eaff;
      --accent-200: #b9d8ff;
      --accent-500: #0f68ea;
      --accent-600: #0b56c4;

      --neutral-000: #ffffff;
      --neutral-050: #f8f9fc;
      --neutral-100: #f1f3f7;
      --neutral-200: #e3e7ee;
      --neutral-300: #cfd6e2;
      --neutral-500: #6d7890;

      --success-500: #16b85f;
      --danger-500: #d93025;
      --warning-500: #f4a100;

      --bg-page: #eef0f5;
      --bg-card: #ffffff;
      --bg-layout-sidebar: #f7f8fb;

      --text-primary: #1f2430;
      --text-secondary: #4c566a;
      --text-muted: #8b94a7;
      --text-white: #ffffff;

      --font-layout-main: 'Inter', sans-serif;

      --fs-xs: 11px;
      --fs-sm: 13px;
      --fs-base: 14px;
      --fs-md: 15px;
      --fs-h1: 32px;

      --lh-tight: 1.15;
      --lh-base: 1.35;

      --radius-sm: 6px;
      --radius-md: 8px;
      --radius-card: 6px;

      --shadow-sm: 0 1px 2px rgba(0,0,0,.04);

      --layout-sidebar-width: 240px;
      --layout-main-max: 1280px;
      --desktop-right-space: 200px;
      --layout-main-padding: 32px;
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      background: var(--bg-page);
      font-family: var(--font-layout-main);
      color: var(--text-primary);
      font-size: var(--fs-base);
    }

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

    button { cursor: pointer; }

    .layout-app {
      min-height: 100vh;
      display: grid;
      grid-template-columns: var(--layout-sidebar-width) 1fr;
    }

    .layout-mobile-menu,
    .layout-mobile-overlay {
      display: none;
    }

    /* SIDEBAR */
    .layout-sidebar {
      position: relative;
      min-height: 100vh;
      overflow-y: auto;
      background: var(--bg-layout-sidebar);
      border-right: 1px solid var(--neutral-200);
    }

    .layout-sidebar__logo {
      height: 92px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--neutral-000);
      border-bottom: 1px solid var(--neutral-200);
      font-weight: 500;
      color: var(--text-primary);
    }

    .layout-sidebar__block {
      padding: 16px 12px;
      border-bottom: 1px solid var(--neutral-200);
    }

    .layout-sidebar__label {
      margin: 0 0 10px;
      color: var(--accent-500);
      font-size: 11px;
      font-weight: 800;
      line-height: 1;
      text-transform: uppercase;
      letter-spacing: .04em;
    }

    .layout-sidebar__select {
      width: 100%;
      height: 36px;
      padding: 0 32px 0 12px;
      border: 0;
      border-radius: var(--radius-sm);
      background: var(--neutral-000);
      color: var(--text-primary);
      font-size: var(--fs-sm);
      font-weight: 700;
      outline: none;
      appearance: none;
      background-image:
        linear-gradient(45deg, transparent 50%, var(--text-muted) 50%),
        linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
      background-position:
        calc(100% - 18px) 15px,
        calc(100% - 13px) 15px;
      background-size: 5px 5px;
      background-repeat: no-repeat;
    }

    .layout-sidebar__edit {
      margin-top: 10px;
    }

    .layout-sidebar__section {
      padding: 14px 0;
      border-bottom: 1px solid var(--neutral-200);
    }

    .layout-sidebar__section-title {
      padding: 0 12px;
      margin: 0 0 10px;
      color: var(--accent-500);
      font-size: 11px;
      font-weight: 800;
      line-height: 1;
      text-transform: uppercase;
      letter-spacing: .04em;
    }

    .side-item {
      width: 100%;
      min-height: 40px;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 0 16px;
      border: 0;
      background: transparent;
      color: var(--text-secondary);
      font-size: var(--fs-sm);
      font-weight: 500;
      text-align: left;
    }

    .side-item:hover {
      background: var(--neutral-000);
      color: var(--text-primary);
    }

    .side-item.is-active {
      background: var(--neutral-000);
      color: var(--accent-500);
      font-weight: 700;
    }

    .side-item__dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--neutral-200);
      flex: 0 0 auto;
    }

    .side-item.is-active .side-item__dot {
      background: var(--accent-500);
    }

    .side-item.is-disabled {
      color: var(--text-secondary);
      cursor: pointer;
      opacity: 1;
    }

    .side-item.is-disabled:hover {
      background: var(--neutral-000);
      color: var(--text-primary);
    }

    .side-item.is-disabled .side-item__dot {
      background: transparent;
      border: 1px solid var(--neutral-300);
    }

    .layout-sidebar__bottom .side-item {
      min-height: 48px;
      padding: 0 14px;
      border-bottom: 1px solid var(--neutral-200);
      color: var(--text-primary);
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .01em;
    }

    /* MAIN */
    .layout-main {
      padding: 82px var(--layout-main-padding) 80px;
    }

    .layout-main__inner {
      width: min(100%, calc(100vw - var(--layout-sidebar-width) - var(--desktop-right-space) - var(--layout-main-padding)));
      max-width: var(--layout-main-max);
    }

    .layout-page-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 24px;
      margin-bottom: 22px;
    }

    .page-title {
      margin: 0;
      color: var(--text-primary);
      font-size: var(--fs-h1);
      font-weight: 800;
      line-height: 1.05;
      letter-spacing: .01em;
      text-transform: uppercase;
    }

    .page-subtitle {
      margin: 8px 0 0;
      color: var(--text-muted);
      font-size: var(--fs-base);
      line-height: 1.3;
    }

    .layout-page-header__actions {
      display: flex;
      gap: 12px;
      align-items: center;
    }

    .component-menu-filters {
      display: grid;
      grid-template-columns: minmax(320px, 1fr) 164px 150px;
      gap: 12px;
      margin-bottom: 16px;
    }

    .component-dish-list {
      display: grid;
      gap: 12px;
    }

    .category-box {
      overflow: visible;
      border-radius: var(--radius-card);
      background: var(--bg-card);
      border: 1px solid var(--neutral-200);
    }

    .category-box__head {
      min-height: 72px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 18px 20px;
      border-bottom: 1px solid var(--neutral-200);
    }

    .category-box__title {
      margin: 0;
      color: var(--text-muted);
      font-size: 18px;
      font-weight: 800;
      line-height: 1.2;
      text-transform: uppercase;
      letter-spacing: .01em;
    }

    .empty-state {
      padding: 28px 20px;
      color: var(--text-muted);
      font-size: var(--fs-base);
      background: var(--neutral-000);
      border: 1px solid var(--neutral-200);
      border-radius: var(--radius-card);
    }

    .category-box__list {
      display: grid;
      overflow: visible;
    }

    .category-box__list .dish-card {
      border-radius: 0;
      border-bottom: 1px solid var(--neutral-200);
    }

    .category-box__list .dish-card:last-child {
      border-bottom: 0;
    }

    .category-item {
      cursor: pointer;
      transition: background .15s ease;
      display: grid;
      grid-template-columns: minmax(0, 1fr) 100px;
      gap: 16px;
      padding: 14px 20px;
      border-bottom: 1px solid var(--neutral-200);
    }

    .category-item:last-child {
      border-bottom: 0;
    }

    .category-item:hover {
      background: var(--neutral-050);
    }

    .category-item__name {
      margin: 0 0 6px;
      color: var(--text-primary);
      font-size: var(--fs-base);
      font-weight: 800;
      line-height: var(--lh-tight);
      letter-spacing: .01em;
      text-transform: uppercase;
    }

    .category-item__desc {
      margin: 0;
      color: var(--text-secondary);
      font-size: 14px;
      line-height: var(--lh-base);
    }

    .category-item__tags {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 8px;
    }

    .category-item__price {
      color: var(--text-primary);
      font-size: var(--fs-base);
      font-weight: 800;
      line-height: 1.2;
      text-align: right;
      white-space: nowrap;
    }

    /* BUTTONS */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
      padding: 0 20px;
      border: 0;
      border-radius: var(--radius-md);
      font-size: var(--fs-base);
      font-weight: 700;
      line-height: 1;
      white-space: nowrap;
      transition: .15s ease;
    }

    .btn--primary {
      background: var(--accent-500);
      color: var(--text-white);
    }

    .btn--primary:hover { background: var(--accent-600); }

    .btn--secondary {
      background: var(--neutral-000);
      color: var(--accent-500);
      box-shadow: var(--shadow-sm);
    }

    .btn--secondary:hover { background: var(--accent-050); }

    .btn--soft {
      background: var(--accent-100);
      color: var(--accent-500);
    }

    .btn--soft:hover { background: var(--accent-200); }

    .btn--small {
      min-height: 36px;
      padding: 0 14px;
      font-size: var(--fs-sm);
      border-radius: var(--radius-sm);
    }

    /* INPUTS */
    .field {
      width: 100%;
      min-height: 42px;
      padding: 0 12px;
      border: 1px solid transparent;
      border-radius: var(--radius-md);
      background: var(--neutral-000);
      color: var(--text-secondary);
      box-shadow: var(--shadow-sm);
      outline: none;
      font-size: var(--fs-base);
    }

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

    .select {
      appearance: none;
      background-image:
        linear-gradient(45deg, transparent 50%, var(--text-muted) 50%),
        linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
      background-position:
        calc(100% - 18px) 18px,
        calc(100% - 13px) 18px;
      background-size: 5px 5px;
      background-repeat: no-repeat;
      padding-right: 36px;
    }

    /* BADGES */
    .badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 20px;
      padding: 0 9px;
      border-radius: 999px;
      font-size: 11px;
      font-weight: 700;
      line-height: 1;
      white-space: nowrap;
    }

    .badge--vege { background: var(--success-500); color: #fff; }
    .badge--spicy { background: var(--danger-500); color: #fff; }
    .badge--new { background: var(--warning-500); color: #fff; }
    .badge--menu { background: var(--neutral-200); color: var(--text-secondary); }

    /* STATUS */
    .status {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      height: 40px;
      color: var(--text-secondary);
      font-size: var(--fs-sm);
      font-weight: 500;
      white-space: nowrap;
    }

    .status::before {
      content: "";
      width: 6px;
      height: 6px;
      border-radius: 50%;
      flex: 0 0 auto;
    }

    .status--active::before { background: var(--accent-500); }
    .status--draft::before { background: var(--neutral-500); }
    .status--change::before { background: var(--danger-500); }

    /* DISH CARD */
    .dish-card {
      width: 100%;
      min-height: 76px;
      display: grid;
      grid-template-columns: 36px minmax(0, 1fr) 100px 260px;
      align-items: start;
      gap: 16px;
      padding: 14px 16px;
      border-radius: var(--radius-card);
      background: var(--bg-card);
    }

    .dish-card__order {
      display: flex;
      align-items: flex-start;
      gap: 6px;
      color: var(--text-secondary);
      font-size: var(--fs-sm);
      line-height: 1.2;
    }

    .dish-card__drag-icon {
      width: 12px;
      height: 12px;
      flex: 0 0 auto;
      margin-top: 2px;
    }

    .dish-card__name {
      margin: 0 0 6px;
      color: var(--text-primary);
      font-size: var(--fs-base);
      font-weight: 800;
      line-height: var(--lh-tight);
      letter-spacing: .01em;
      text-transform: uppercase;
    }

    .dish-card__desc {
      margin: 0;
      color: var(--text-secondary);
      font-size: 14px;
      line-height: var(--lh-base);
    }

    .dish-card__tags {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 8px;
    }

    .dish-card__price {
      color: var(--text-primary);
      font-size: var(--fs-base);
      font-weight: 700;
      line-height: 1.2;
      text-align: right;
      white-space: nowrap;
    }

    .dish-card__actions {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 14px;
      height: 40px;
    }

    .dish-card__edit button { min-width: 76px; }

    .dish-card__menu {
      display: flex;
      align-items: center;
      justify-content: flex-end;
    }

    .icon-btn {
      width: 28px;
      height: 40px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0;
      border: 0;
      border-radius: var(--radius-sm);
      background: transparent;
    }

    .icon-btn:hover { background: var(--neutral-100); }

    .icon-btn img {
      width: 18px;
      height: 18px;
      display: block;
    }

    .dish-card__menu {
      position: relative;
    }

    .more-menu {
      position: absolute;
      right: 0;
      top: calc(100% + 8px);
      width: 190px;
      display: none;
      padding: 6px;
      border: 1px solid var(--neutral-200);
      border-radius: var(--radius-md);
      background: var(--neutral-000);
      box-shadow: 0 12px 32px rgba(0,0,0,.12);
      z-index: 20;
    }

    .dish-card__menu.is-open .more-menu {
      display: grid;
      z-index:1000;
    }

    .more-menu__item {
      width: 100%;
      min-height: 36px;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 0 10px;
      border: 0;
      border-radius: var(--radius-sm);
      background: transparent;
      color: var(--text-primary);
      font-size: var(--fs-sm);
      font-weight: 600;
      text-align: left;
    }

    .more-menu__item:hover {
      background: var(--neutral-100);
    }

    .more-menu__item.is-danger {
      color: var(--danger-500);
    }

    .more-menu__item.is-danger:hover {
      background: #fff0f0;
    }

    .more-menu__divider {
      height: 1px;
      margin: 6px 0;
      background: var(--neutral-200);
    }

    @media (max-width: 960px) {
      .layout-mobile-menu {
        height: 60px;
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 0 16px;
        background: var(--neutral-000);
        border-bottom: 1px solid var(--neutral-200);
        position: sticky;
        top: 0;
        z-index: 40;
      }

      .layout-mobile-menu__button {
        width: 38px;
        height: 38px;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border: 0;
        border-radius: var(--radius-sm);
        background: var(--accent-100);
      }

      .layout-mobile-menu__button span {
        width: 18px;
        height: 2px;
        display: block;
        border-radius: 999px;
        background: var(--accent-500);
      }

      .layout-mobile-menu__text {
        min-width: 0;
        display: grid;
        gap: 2px;
      }

      .layout-mobile-menu__title {
        font-size: var(--fs-base);
        font-weight: 800;
        line-height: 1.1;
        text-transform: uppercase;
      }

      .layout-mobile-menu__subtitle {
        display: block;
        color: var(--text-muted);
        font-size: var(--fs-xs);
        font-weight: 700;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      .layout-mobile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.28);
        z-index: 45;
      }

      body.layout-sidebar-open .layout-mobile-overlay {
        display: block;
      }

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

      .layout-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 84vw;
        max-width: 320px;
        height: 100vh;
        min-height: 100vh;
        transform: translateX(-100%);
        transition: transform .2s ease;
        z-index: 50;
        box-shadow: 0 16px 40px rgba(0,0,0,.18);
      }

      body.layout-sidebar-open .layout-sidebar {
        transform: translateX(0);
      }

      .layout-main {
        padding: 32px 20px 64px;
      }

      .layout-main__inner {
        width: 100%;
        max-width: none;
      }

      .layout-page-header {
        position: sticky;
        top: 60px;
        z-index: 39;
        display: block;
        margin: 0 -20px 16px;
        padding: 12px 20px;
        background: var(--bg-page);
        border-bottom: 1px solid var(--neutral-200);
        box-shadow: 0 8px 22px rgba(0,0,0,.05);
      }

      .layout-page-header__content {
        display: none;
      }

      .layout-page-header__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
      }

      .layout-page-header__actions .btn {
        width: 100%;
        min-height: 38px;
        padding: 0 12px;
        font-size: var(--fs-sm);
      }

      .component-menu-filters {
        grid-template-columns: 1fr;
      }

      .dish-card {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 12px;
        padding: 14px;
      }

      .dish-card__order,
      .dish-card__edit {
        display: none;
      }

      /* Mobile: rozbijamy wrapper, żeby opis i tagi mogły wejść na pełną szerokość karty */
      .dish-card__layout-main {
        display: contents;
      }

      .dish-card__name {
        grid-column: 1;
        grid-row: 1;
        margin-bottom: 0;
      }

      .dish-card__price {
        grid-column: 2;
        grid-row: 1;
        text-align: right;
        white-space: nowrap;
      }

      .dish-card__desc {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
      }

      .dish-card__tags {
        grid-column: 1 / -1;
        grid-row: 3;
        margin-top: 0;
      }

      .dish-card__actions {
        grid-column: 1 / -1;
        grid-row: 4;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
        height: 28px;
        margin-top: 2px;
      }

      .dish-card__actions .status {
        height: 28px;
        margin-right: auto;
      }

      .dish-card__actions .icon-btn {
        height: 28px;
      }
    }
  

/* ===== view-menu-list / view-menu-list.html ===== */

    :root {
      --accent-050: #eef6ff;
      --accent-100: #d9eaff;
      --accent-200: #b9d8ff;
      --accent-500: #0f68ea;
      --accent-600: #0b56c4;

      --neutral-000: #ffffff;
      --neutral-050: #f8f9fc;
      --neutral-100: #f1f3f7;
      --neutral-200: #e3e7ee;
      --neutral-300: #cfd6e2;
      --neutral-500: #6d7890;

      --success-500: #16b85f;
      --danger-500: #d93025;
      --warning-500: #f4a100;

      --bg-page: #eef0f5;
      --bg-card: #ffffff;

      --text-primary: #1f2430;
      --text-secondary: #4c566a;
      --text-muted: #8b94a7;
      --text-white: #ffffff;

      --font-main: 'Inter', sans-serif;

      --fs-xs: 11px;
      --fs-sm: 13px;
      --fs-base: 14px;
      --fs-h1: 32px;

      --radius-sm: 6px;
      --radius-md: 8px;
      --radius-card: 10px;

      --shadow-sm: 0 1px 2px rgba(0,0,0,.04);

      --main-max: 1120px;
      --main-padding: 32px;
      --desktop-right-space: 200px;
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      background: var(--bg-page);
      font-family: var(--font-main);
      color: var(--text-primary);
      font-size: var(--fs-base);
    }

    button,
    input,
    select { font: inherit; }
    button { cursor: pointer; }

    .layout-main {
      min-height: 100vh;
      padding: 56px var(--main-padding) 80px;
    }

    .layout-main__inner {
      width: min(100%, calc(100vw - var(--desktop-right-space) - var(--main-padding)));
      max-width: var(--main-max);
    }

    .layout-page-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 24px;
      margin-bottom: 28px;
    }

    .page-title {
      margin: 0;
      font-size: var(--fs-h1);
      font-weight: 800;
      line-height: 1.05;
      letter-spacing: .01em;
    }

    .page-subtitle {
      margin: 8px 0 0;
      color: var(--text-secondary);
      font-size: var(--fs-base);
      line-height: 1.35;
    }

    .layout-page-header__actions {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .component-menu-filters {
      display: grid;
      grid-template-columns: minmax(280px, 1fr) 180px 160px;
      gap: 12px;
      margin-bottom: 16px;
    }

    .field,
    .select {
      width: 100%;
      min-height: 42px;
      padding: 0 12px;
      border: 1px solid transparent;
      border-radius: var(--radius-md);
      background: var(--neutral-000);
      color: var(--text-secondary);
      box-shadow: var(--shadow-sm);
      outline: none;
      font-size: var(--fs-base);
    }

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

    .select {
      appearance: none;
      background-image:
        linear-gradient(45deg, transparent 50%, var(--text-muted) 50%),
        linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
      background-position:
        calc(100% - 18px) 18px,
        calc(100% - 13px) 18px;
      background-size: 5px 5px;
      background-repeat: no-repeat;
      padding-right: 36px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
      padding: 0 20px;
      border: 0;
      border-radius: var(--radius-md);
      font-size: var(--fs-base);
      font-weight: 700;
      line-height: 1;
      white-space: nowrap;
      transition: .15s ease;
    }

    .btn--primary {
      background: var(--accent-500);
      color: var(--text-white);
    }

    .btn--primary:hover { background: var(--accent-600); }

    .btn--secondary {
      background: var(--neutral-000);
      color: var(--accent-500);
      box-shadow: var(--shadow-sm);
    }

    .btn--secondary:hover { background: var(--accent-050); }

    .btn--soft {
      background: var(--accent-100);
      color: var(--accent-500);
    }

    .btn--soft:hover { background: var(--accent-200); }

    .btn--small {
      min-height: 36px;
      padding: 0 14px;
      font-size: var(--fs-sm);
      border-radius: var(--radius-sm);
    }

    .component-menu-list {
      display: grid;
      gap: 10px;
    }

    .component-menu-card {
      min-height: 92px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) 128px 132px 220px;
      gap: 18px;
      align-items: start;
      padding: 18px 20px;
      border: 1px solid var(--neutral-200);
      border-radius: var(--radius-card);
      background: var(--bg-card);
    }

    .component-menu-card__title {
      margin: 0 0 6px;
      color: var(--text-primary);
      font-size: 18px;
      font-weight: 800;
      line-height: 1.15;
      letter-spacing: .01em;
    }

    .component-menu-card__meta {
      margin: 0;
      color: var(--text-secondary);
      font-size: var(--fs-sm);
      line-height: 1.4;
    }

    .component-menu-card__small-label {
      margin: 0 0 6px;
      color: var(--text-muted);
      font-size: var(--fs-xs);
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .04em;
    }

    .component-menu-card__value {
      margin: 0;
      color: var(--text-primary);
      font-size: var(--fs-sm);
      font-weight: 800;
      line-height: 1.35;
    }

    .status {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      height: 22px;
      color: var(--text-secondary);
      font-size: var(--fs-sm);
      font-weight: 600;
      white-space: nowrap;
    }

    .status::before {
      content: "";
      width: 6px;
      height: 6px;
      border-radius: 50%;
      flex: 0 0 auto;
    }

    .status--active::before { background: var(--accent-500); }
    .status--draft::before { background: var(--neutral-500); }
    .status--archive::before { background: var(--danger-500); }

    .component-menu-card__actions {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 10px;
      height: 40px;
    }

    .component-more-menu {
      position: relative;
      display: flex;
      justify-content: flex-end;
    }

    .icon-btn {
      width: 28px;
      height: 40px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0;
      border: 0;
      border-radius: var(--radius-sm);
      background: transparent;
      color: var(--text-secondary);
      font-size: 20px;
      line-height: 1;
    }

    .icon-btn:hover { background: var(--neutral-100); }

    .component-dropdown-menu {
      position: absolute;
      right: 0;
      top: calc(100% + 8px);
      width: 200px;
      display: none;
      padding: 6px;
      border: 1px solid var(--neutral-200);
      border-radius: var(--radius-md);
      background: var(--neutral-000);
      box-shadow: 0 12px 32px rgba(0,0,0,.12);
      z-index: 20;
    }

    .component-more-menu.is-open .component-dropdown-menu {
      display: grid;
    }

    .component-dropdown-menu__item {
      width: 100%;
      min-height: 36px;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 0 10px;
      border: 0;
      border-radius: var(--radius-sm);
      background: transparent;
      color: var(--text-primary);
      font-size: var(--fs-sm);
      font-weight: 600;
      text-align: left;
    }

    .component-dropdown-menu__item:hover { background: var(--neutral-100); }

    .component-dropdown-menu__item.is-danger { color: var(--danger-500); }
    .component-dropdown-menu__item.is-danger:hover { background: #fff0f0; }

    .component-dropdown-menu__divider {
      height: 1px;
      margin: 6px 0;
      background: var(--neutral-200);
    }

    @media (max-width: 960px) {
      .layout-main {
        padding: 24px 16px 64px;
      }

      .layout-main__inner {
        width: 100%;
        max-width: none;
      }

      .layout-page-header {
        display: grid;
        gap: 18px;
      }

      .layout-page-header__actions {
        display: grid;
        grid-template-columns: 1fr;
      }

      .component-menu-filters {
        grid-template-columns: 1fr;
      }

      .component-menu-card {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px 14px;
        padding: 16px;
      }

      .component-menu-card__main {
        grid-column: 1 / -1;
      }

      .component-menu-card__status,
      .component-menu-card__stats {
        grid-column: 1;
      }

      .component-menu-card__actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
        height: auto;
        flex-wrap: wrap;
      }

      .component-more-menu {
        margin-left: auto;
      }
    }
  

/* ===== view-menu-edit / view-menu-edit-updated.html ===== */

    :root {
      --accent-050: #eef6ff;
      --accent-100: #d9eaff;
      --accent-200: #b9d8ff;
      --accent-500: #0f68ea;
      --accent-600: #0b56c4;

      --neutral-000: #ffffff;
      --neutral-050: #f8f9fc;
      --neutral-100: #f1f3f7;
      --neutral-200: #e3e7ee;
      --neutral-300: #cfd6e2;
      --neutral-500: #6d7890;

      --success-500: #16b85f;
      --danger-500: #d93025;
      --warning-500: #f4a100;

      --bg-page: #eef0f5;
      --bg-card: #ffffff;

      --text-primary: #1f2430;
      --text-secondary: #4c566a;
      --text-muted: #8b94a7;
      --text-white: #ffffff;

      --font-main: 'Inter', sans-serif;

      --fs-xs: 11px;
      --fs-sm: 13px;
      --fs-base: 14px;
      --fs-md: 15px;
      --fs-h1: 32px;

      --lh-tight: 1.15;
      --lh-base: 1.35;

      --radius-sm: 6px;
      --radius-md: 8px;
      --radius-card: 10px;

      --shadow-sm: 0 1px 2px rgba(0,0,0,.04);

      --main-max: 1120px;
      --main-padding: 32px;
      --desktop-right-space: 200px;
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      background: var(--bg-page);
      font-family: var(--font-main);
      color: var(--text-primary);
      font-size: var(--fs-base);
    }

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

    button { cursor: pointer; }

    .layout-main {
      min-height: 100vh;
      padding: 56px var(--main-padding) 80px;
    }

    .layout-main__inner {
      width: min(100%, calc(100vw - var(--desktop-right-space) - var(--main-padding)));
      max-width: var(--main-max);
    }

    .layout-page-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 24px;
      margin-bottom: 28px;
    }

    .page-title {
      margin: 0;
      font-size: var(--fs-h1);
      font-weight: 800;
      line-height: 1.05;
      letter-spacing: .01em;
    }

    .page-subtitle {
      margin: 8px 0 0;
      color: var(--text-secondary);
      font-size: var(--fs-base);
      line-height: 1.35;
    }

    .layout-page-header__actions {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .view-menu-edit {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 340px;
      gap: 24px;
      align-items: start;
    }

    .component-card {
      background: var(--bg-card);
      border: 1px solid var(--neutral-200);
      border-radius: var(--radius-card);
      padding: 24px;
    }

    .component-card + .component-card { margin-top: 18px; }

    .component-component-card__title {
      margin: 0 0 22px;
      font-size: 22px;
      font-weight: 800;
      line-height: 1.15;
    }

    .component-component-card__subtitle {
      margin: -12px 0 22px;
      color: var(--text-secondary);
      font-size: var(--fs-sm);
      line-height: 1.45;
    }

    .form-menu {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 18px;
    }

    .form-menu__field { min-width: 0; }
    .form-menu__field--full { grid-column: 1 / -1; }

    .label {
      display: block;
      margin: 0 0 8px;
      font-size: var(--fs-sm);
      font-weight: 800;
      color: var(--text-primary);
    }

    .hint {
      margin: 8px 0 0;
      color: var(--text-secondary);
      font-size: var(--fs-xs);
      line-height: 1.35;
    }

    .field,
    .textarea,
    .select {
      width: 100%;
      border: 1px solid var(--neutral-300);
      border-radius: var(--radius-md);
      background: var(--neutral-000);
      color: var(--text-primary);
      outline: none;
      box-shadow: var(--shadow-sm);
    }

    .field,
    .select {
      min-height: 44px;
      padding: 0 14px;
      font-size: var(--fs-base);
    }

    .textarea {
      min-height: 96px;
      padding: 14px;
      resize: vertical;
      font-size: var(--fs-base);
      line-height: 1.45;
    }

    .field:focus,
    .textarea:focus,
    .select:focus {
      border-color: var(--accent-500);
      box-shadow: 0 0 0 3px var(--accent-100);
    }

    .select {
      appearance: none;
      background-image:
        linear-gradient(45deg, transparent 50%, var(--text-muted) 50%),
        linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
      background-position:
        calc(100% - 18px) 19px,
        calc(100% - 13px) 19px;
      background-size: 5px 5px;
      background-repeat: no-repeat;
      padding-right: 36px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
      padding: 0 20px;
      border: 0;
      border-radius: var(--radius-md);
      font-size: var(--fs-base);
      font-weight: 700;
      line-height: 1;
      white-space: nowrap;
      transition: .15s ease;
    }

    .btn--primary {
      background: var(--accent-500);
      color: var(--text-white);
    }

    .btn--primary:hover { background: var(--accent-600); }

    .btn--secondary {
      background: var(--neutral-000);
      color: var(--accent-500);
      box-shadow: var(--shadow-sm);
    }

    .btn--secondary:hover { background: var(--accent-050); }

    .btn--soft {
      background: var(--accent-100);
      color: var(--accent-500);
    }

    .btn--soft:hover { background: var(--accent-200); }

    .btn--danger-soft {
      width: 100%;
      background: #fff0f0;
      color: #c7351d;
    }

    .btn--danger-soft:hover { background: #ffe4e4; }

    .btn--small {
      min-height: 36px;
      padding: 0 14px;
      font-size: var(--fs-sm);
      border-radius: var(--radius-sm);
    }

    .chip-list {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
    }

    .chip input { display: none; }

    .chip span {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 38px;
      padding: 0 15px;
      border: 1px solid var(--neutral-300);
      border-radius: 999px;
      background: var(--neutral-000);
      color: var(--text-primary);
      font-size: var(--fs-sm);
      font-weight: 800;
      white-space: nowrap;
    }

    .chip input:checked + span {
      border-color: var(--accent-500);
      background: var(--accent-050);
      color: var(--accent-500);
    }

    .category-sort-list {
      display: grid;
      gap: 8px;
    }

    .category-row {
      min-height: 54px;
      display: grid;
      grid-template-columns: 34px minmax(0, 1fr) auto auto;
      align-items: center;
      gap: 12px;
      padding: 10px 12px;
      border: 1px solid var(--neutral-200);
      border-radius: var(--radius-md);
      background: var(--neutral-000);
    }

    .category-row__drag {
      color: var(--text-muted);
      font-weight: 900;
      line-height: 1;
      text-align: center;
    }

    .category-row__name {
      min-width: 0;
    }

    .category-row__title {
      margin: 0;
      color: var(--text-primary);
      font-size: var(--fs-base);
      font-weight: 800;
      line-height: 1.2;
    }

    .category-row__meta {
      margin: 4px 0 0;
      color: var(--text-muted);
      font-size: var(--fs-xs);
      line-height: 1.2;
    }

    .toggle {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--text-secondary);
      font-size: var(--fs-sm);
      font-weight: 700;
      white-space: nowrap;
    }

    .toggle input {
      width: 16px;
      height: 16px;
      accent-color: var(--accent-500);
    }

    .icon-btn {
      width: 32px;
      height: 32px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0;
      border: 0;
      border-radius: var(--radius-sm);
      background: transparent;
      color: var(--text-secondary);
      font-size: 20px;
      line-height: 1;
    }

    .icon-btn:hover { background: var(--neutral-100); }

    .component-info-list {
      display: grid;
      gap: 14px;
      color: var(--text-secondary);
      font-size: var(--fs-sm);
      line-height: 1.45;
    }

    .component-info-list strong {
      color: var(--text-primary);
      font-weight: 800;
    }

    .component-public-link {
      display: grid;
      gap: 10px;
    }

    .component-link-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 8px;
    }

    .component-component-export-list {
      display: grid;
      gap: 8px;
    }

    .layout-layout-mobile-savebar {
      display: none;
    }

    .layout-layout-desktop-bottom-space { height: 40px; }

    @media (max-width: 960px) {
      .layout-main {
        padding: 24px 16px 96px;
      }

      .layout-main__inner {
        width: 100%;
        max-width: none;
      }

      .layout-page-header {
        display: grid;
        gap: 18px;
      }

      .layout-page-header__actions--desktop {
        display: none;
      }

      .view-menu-edit {
        grid-template-columns: 1fr;
      }

      .form-menu {
        grid-template-columns: 1fr;
      }

      .form-menu__field--full {
        grid-column: auto;
      }

      .component-card {
        padding: 18px;
      }

      .component-component-card__title {
        font-size: 20px;
      }

      .category-row {
        grid-template-columns: 28px minmax(0, 1fr) auto;
        gap: 10px;
      }

      .category-row .toggle {
        grid-column: 2 / -1;
      }

      .layout-layout-mobile-savebar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 50;
        display: grid;
        grid-template-columns: .8fr 1.2fr;
        gap: 10px;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: var(--neutral-000);
        border-top: 1px solid var(--neutral-200);
        box-shadow: 0 -12px 28px rgba(0,0,0,.08);
      }

      .layout-layout-mobile-savebar .btn {
        width: 100%;
      }
    }
  

/* ===== view-dish-edit / view-dish-edit.html ===== */

    :root {
      --accent-050: #eef6ff;
      --accent-100: #d9eaff;
      --accent-200: #b9d8ff;
      --accent-500: #0f68ea;
      --accent-600: #0b56c4;

      --neutral-000: #ffffff;
      --neutral-050: #f8f9fc;
      --neutral-100: #f1f3f7;
      --neutral-200: #e3e7ee;
      --neutral-300: #cfd6e2;
      --neutral-500: #6d7890;

      --success-500: #16b85f;
      --danger-500: #d93025;

      --bg-page: #eef0f5;
      --bg-card: #ffffff;

      --text-primary: #1f2430;
      --text-secondary: #4c566a;
      --text-muted: #8b94a7;
      --text-white: #ffffff;

      --font-main: 'Inter', sans-serif;

      --fs-xs: 11px;
      --fs-sm: 13px;
      --fs-base: 14px;
      --fs-md: 15px;
      --fs-h1: 32px;

      --lh-tight: 1.15;
      --lh-base: 1.35;

      --radius-sm: 6px;
      --radius-md: 8px;
      --radius-card: 10px;
      --radius-lg: 14px;

      --shadow-sm: 0 1px 2px rgba(0,0,0,.04);

      --main-max: 1120px;
      --main-padding: 32px;
      --desktop-right-space: 200px;
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      background: var(--bg-page);
      font-family: var(--font-main);
      color: var(--text-primary);
      font-size: var(--fs-base);
    }

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

    button { cursor: pointer; }

    .layout-main {
      min-height: 100vh;
      padding: 56px var(--main-padding) 80px;
    }

    .layout-main__inner {
      width: min(100%, calc(100vw - var(--desktop-right-space) - var(--main-padding)));
      max-width: var(--main-max);
    }

    .layout-page-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 24px;
      margin-bottom: 28px;
    }

    .page-title {
      margin: 0;
      font-size: var(--fs-h1);
      font-weight: 800;
      line-height: 1.05;
      letter-spacing: .01em;
    }

    .page-subtitle {
      margin: 8px 0 0;
      color: var(--text-secondary);
      font-size: var(--fs-base);
      line-height: 1.35;
    }

    .layout-page-header__actions {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .view-dish-edit {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 340px;
      gap: 24px;
      align-items: start;
    }

    .component-card {
      background: var(--bg-card);
      border: 1px solid var(--neutral-200);
      border-radius: var(--radius-card);
      padding: 24px;
    }

    .component-card + .component-card { margin-top: 18px; }

    .component-component-card__title {
      margin: 0 0 22px;
      font-size: 22px;
      font-weight: 800;
      line-height: 1.15;
    }

    .form-dish {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 18px;
    }

    .form-dish__field { min-width: 0; }
    .form-dish__field--full { grid-column: 1 / -1; }

    .label {
      display: block;
      margin: 0 0 8px;
      font-size: var(--fs-sm);
      font-weight: 800;
      color: var(--text-primary);
    }

    .hint {
      margin: 8px 0 0;
      color: var(--text-secondary);
      font-size: var(--fs-xs);
      line-height: 1.35;
    }

    .field,
    .textarea,
    .select {
      width: 100%;
      border: 1px solid var(--neutral-300);
      border-radius: var(--radius-md);
      background: var(--neutral-000);
      color: var(--text-primary);
      outline: none;
      box-shadow: var(--shadow-sm);
    }

    .field,
    .select {
      min-height: 44px;
      padding: 0 14px;
      font-size: var(--fs-base);
    }

    .textarea {
      min-height: 118px;
      padding: 14px;
      resize: vertical;
      font-size: var(--fs-base);
      line-height: 1.45;
    }

    .field:focus,
    .textarea:focus,
    .select:focus {
      border-color: var(--accent-500);
      box-shadow: 0 0 0 3px var(--accent-100);
    }

    .select {
      appearance: none;
      background-image:
        linear-gradient(45deg, transparent 50%, var(--text-muted) 50%),
        linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
      background-position:
        calc(100% - 18px) 19px,
        calc(100% - 13px) 19px;
      background-size: 5px 5px;
      background-repeat: no-repeat;
      padding-right: 36px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
      padding: 0 20px;
      border: 0;
      border-radius: var(--radius-md);
      font-size: var(--fs-base);
      font-weight: 700;
      line-height: 1;
      white-space: nowrap;
      transition: .15s ease;
    }

    .btn--primary {
      background: var(--accent-500);
      color: var(--text-white);
    }

    .btn--primary:hover { background: var(--accent-600); }

    .btn--secondary {
      background: var(--neutral-000);
      color: var(--accent-500);
      box-shadow: var(--shadow-sm);
    }

    .btn--secondary:hover { background: var(--accent-050); }

    .btn--danger-soft {
      width: 100%;
      background: #fff0f0;
      color: #c7351d;
    }

    .btn--danger-soft:hover { background: #ffe4e4; }

    .chip-list {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
    }

    .chip input { display: none; }

    .chip span {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 38px;
      padding: 0 15px;
      border: 1px solid var(--neutral-300);
      border-radius: 999px;
      background: var(--neutral-000);
      color: var(--text-primary);
      font-size: var(--fs-sm);
      font-weight: 800;
      white-space: nowrap;
    }

    .chip input:checked + span {
      border-color: var(--accent-500);
      background: var(--accent-050);
      color: var(--accent-500);
    }

    .badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 20px;
      padding: 0 9px;
      border-radius: 999px;
      font-size: 11px;
      font-weight: 700;
      line-height: 1;
      white-space: nowrap;
    }

    .badge--vege { background: var(--success-500); color: #fff; }
    .badge--menu { background: var(--neutral-200); color: var(--text-secondary); }

    .status {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: var(--text-secondary);
      font-size: var(--fs-sm);
      font-weight: 500;
      white-space: nowrap;
    }

    .status::before {
      content: "";
      width: 6px;
      height: 6px;
      border-radius: 50%;
      flex: 0 0 auto;
      background: var(--accent-500);
    }

    .component-dish-preview {
      border: 1px solid var(--neutral-300);
      border-radius: var(--radius-card);
      padding: 18px;
    }

    .component-dish-preview__top {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 16px;
      margin-bottom: 10px;
    }

    .component-dish-preview__name {
      margin: 0;
      font-size: var(--fs-base);
      font-weight: 800;
      line-height: 1.15;
      text-transform: uppercase;
    }

    .component-dish-preview__price {
      font-weight: 800;
      white-space: nowrap;
    }

    .component-dish-preview__desc {
      margin: 0 0 12px;
      color: var(--text-primary);
      font-size: var(--fs-base);
      line-height: 1.35;
    }

    .component-component-side-text {
      margin: 14px 0 0;
      color: var(--text-secondary);
      font-size: var(--fs-sm);
      line-height: 1.45;
    }

    .component-component-info-list {
      display: grid;
      gap: 14px;
      color: var(--text-secondary);
      font-size: var(--fs-sm);
      line-height: 1.45;
    }

    .component-component-info-list strong {
      color: var(--text-primary);
      font-weight: 800;
    }

    .desktop-bottom-space { height: 40px; }

    .layout-layout-mobile-savebar {
      display: none;
    }

    @media (max-width: 960px) {
      .layout-main {
        padding: 24px 16px 96px;
      }

      .layout-main__inner {
        width: 100%;
        max-width: none;
      }

      .layout-page-header {
        display: grid;
        gap: 18px;
      }

      .layout-page-header__actions--desktop {
        display: none;
      }

      .layout-layout-mobile-savebar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 50;
        display: grid;
        grid-template-columns: .8fr 1.2fr;
        gap: 10px;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: var(--neutral-000);
        border-top: 1px solid var(--neutral-200);
        box-shadow: 0 -12px 28px rgba(0,0,0,.08);
      }

      .layout-layout-mobile-savebar .btn {
        width: 100%;
      }

      .view-dish-edit {
        grid-template-columns: 1fr;
      }

      .form-dish {
        grid-template-columns: 1fr;
      }

      .form-dish__field--full {
        grid-column: auto;
      }

      .component-card {
        padding: 18px;
      }

      .component-component-card__title {
        font-size: 20px;
      }
    }
  

/* ===== view-category-edit / view-category-edit.html ===== */

    :root {
      --accent-050: #eef6ff;
      --accent-100: #d9eaff;
      --accent-200: #b9d8ff;
      --accent-500: #0f68ea;
      --accent-600: #0b56c4;

      --neutral-000: #ffffff;
      --neutral-050: #f8f9fc;
      --neutral-100: #f1f3f7;
      --neutral-200: #e3e7ee;
      --neutral-300: #cfd6e2;
      --neutral-500: #6d7890;

      --success-500: #16b85f;
      --danger-500: #d93025;

      --bg-page: #eef0f5;
      --bg-card: #ffffff;

      --text-primary: #1f2430;
      --text-secondary: #4c566a;
      --text-muted: #8b94a7;
      --text-white: #ffffff;

      --font-main: 'Inter', sans-serif;

      --fs-xs: 11px;
      --fs-sm: 13px;
      --fs-base: 14px;
      --fs-h1: 32px;

      --radius-sm: 6px;
      --radius-md: 8px;
      --radius-card: 10px;

      --shadow-sm: 0 1px 2px rgba(0,0,0,.04);

      --main-max: 1120px;
      --main-padding: 32px;
      --desktop-right-space: 200px;
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      background: var(--bg-page);
      font-family: var(--font-main);
      color: var(--text-primary);
      font-size: var(--fs-base);
    }

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

    .layout-main {
      min-height: 100vh;
      padding: 56px var(--main-padding) 80px;
    }

    .layout-main__inner {
      width: min(100%, calc(100vw - var(--desktop-right-space) - var(--main-padding)));
      max-width: var(--main-max);
    }

    .layout-page-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 24px;
      margin-bottom: 28px;
    }

    .page-title {
      margin: 0;
      font-size: var(--fs-h1);
      font-weight: 800;
      line-height: 1.05;
      letter-spacing: .01em;
    }

    .page-subtitle {
      margin: 8px 0 0;
      color: var(--text-secondary);
      font-size: var(--fs-base);
      line-height: 1.35;
    }

    .layout-page-header__actions {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .view-category-edit {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 340px;
      gap: 24px;
      align-items: start;
    }

    .component-card {
      background: var(--bg-card);
      border: 1px solid var(--neutral-200);
      border-radius: var(--radius-card);
      padding: 24px;
    }

    .component-card + .component-card { margin-top: 18px; }

    .component-card__title {
      margin: 0 0 22px;
      font-size: 22px;
      font-weight: 800;
      line-height: 1.15;
    }

    .component-card__subtitle {
      margin: -12px 0 22px;
      color: var(--text-secondary);
      font-size: var(--fs-sm);
      line-height: 1.45;
    }

    .form-category {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 18px;
    }

    .form-category__field { min-width: 0; }
    .form-category__field--full { grid-column: 1 / -1; }

    .label {
      display: block;
      margin: 0 0 8px;
      font-size: var(--fs-sm);
      font-weight: 800;
      color: var(--text-primary);
    }

    .hint {
      margin: 8px 0 0;
      color: var(--text-secondary);
      font-size: var(--fs-xs);
      line-height: 1.35;
    }

    .field,
    .textarea,
    .select {
      width: 100%;
      border: 1px solid var(--neutral-300);
      border-radius: var(--radius-md);
      background: var(--neutral-000);
      color: var(--text-primary);
      outline: none;
      box-shadow: var(--shadow-sm);
    }

    .field,
    .select {
      min-height: 44px;
      padding: 0 14px;
      font-size: var(--fs-base);
    }

    .textarea {
      min-height: 110px;
      padding: 14px;
      resize: vertical;
      font-size: var(--fs-base);
      line-height: 1.45;
    }

    .field:focus,
    .textarea:focus,
    .select:focus {
      border-color: var(--accent-500);
      box-shadow: 0 0 0 3px var(--accent-100);
    }

    .select {
      appearance: none;
      background-image:
        linear-gradient(45deg, transparent 50%, var(--text-muted) 50%),
        linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
      background-position:
        calc(100% - 18px) 19px,
        calc(100% - 13px) 19px;
      background-size: 5px 5px;
      background-repeat: no-repeat;
      padding-right: 36px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
      padding: 0 20px;
      border: 0;
      border-radius: var(--radius-md);
      font-size: var(--fs-base);
      font-weight: 700;
      line-height: 1;
      white-space: nowrap;
      transition: .15s ease;
    }

    .btn--primary { background: var(--accent-500); color: var(--text-white); }
    .btn--primary:hover { background: var(--accent-600); }

    .btn--secondary {
      background: var(--neutral-000);
      color: var(--accent-500);
      box-shadow: var(--shadow-sm);
    }

    .btn--secondary:hover { background: var(--accent-050); }

    .btn--danger-soft {
      width: 100%;
      background: #fff0f0;
      color: #c7351d;
    }

    .btn--danger-soft:hover { background: #ffe4e4; }

    .chip-list {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
    }

    .chip input { display: none; }

    .chip span {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 38px;
      padding: 0 15px;
      border: 1px solid var(--neutral-300);
      border-radius: 999px;
      background: var(--neutral-000);
      color: var(--text-primary);
      font-size: var(--fs-sm);
      font-weight: 800;
      white-space: nowrap;
    }

    .chip input:checked + span {
      border-color: var(--accent-500);
      background: var(--accent-050);
      color: var(--accent-500);
    }

    .component-category-preview {
      border: 1px solid var(--neutral-300);
      border-radius: var(--radius-card);
      overflow: hidden;
      background: var(--neutral-000);
    }

    .component-category-preview__head {
      padding: 18px;
      border-bottom: 1px solid var(--neutral-200);
    }

    .component-category-preview__title {
      margin: 0;
      color: var(--text-muted);
      font-size: 18px;
      font-weight: 800;
      line-height: 1.2;
      text-transform: uppercase;
      letter-spacing: .01em;
    }

    .component-category-preview__desc {
      margin: 8px 0 0;
      color: var(--text-secondary);
      font-size: var(--fs-sm);
      line-height: 1.45;
    }

    .component-category-preview__item {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 16px;
      padding: 14px 18px;
      border-bottom: 1px solid var(--neutral-200);
    }

    .component-category-preview__item:last-child { border-bottom: 0; }

    .component-category-preview__dish {
      margin: 0 0 5px;
      font-size: var(--fs-base);
      font-weight: 800;
      line-height: 1.15;
      text-transform: uppercase;
      letter-spacing: .01em;
    }

    .component-category-preview__small {
      margin: 0;
      color: var(--text-secondary);
      font-size: var(--fs-sm);
      line-height: 1.35;
    }

    .component-category-preview__price {
      font-weight: 800;
      white-space: nowrap;
    }

    .component-info-list {
      display: grid;
      gap: 14px;
      color: var(--text-secondary);
      font-size: var(--fs-sm);
      line-height: 1.45;
    }

    .component-info-list strong {
      color: var(--text-primary);
      font-weight: 800;
    }

    .status {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: var(--text-secondary);
      font-size: var(--fs-sm);
      font-weight: 600;
      white-space: nowrap;
    }

    .status::before {
      content: "";
      width: 6px;
      height: 6px;
      border-radius: 50%;
      flex: 0 0 auto;
      background: var(--accent-500);
    }

    .layout-desktop-bottom-space { height: 40px; }

    .layout-mobile-savebar { display: none; }

    @media (max-width: 960px) {
      .layout-main { padding: 24px 16px 96px; }

      .layout-main__inner {
        width: 100%;
        max-width: none;
      }

      .layout-page-header {
        display: grid;
        gap: 18px;
      }

      .layout-page-header__actions--desktop { display: none; }

      .view-category-edit { grid-template-columns: 1fr; }

      .form-category { grid-template-columns: 1fr; }

      .form-category__field--full { grid-column: auto; }

      .component-card { padding: 18px; }

      .component-card__title { font-size: 20px; }

      .component-category-preview__item {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 14px;
      }

      .component-category-preview__small {
        grid-column: 1 / -1;
      }

      .layout-mobile-savebar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 50;
        display: grid;
        grid-template-columns: .8fr 1.2fr;
        gap: 10px;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: var(--neutral-000);
        border-top: 1px solid var(--neutral-200);
        box-shadow: 0 -12px 28px rgba(0,0,0,.08);
      }

      .layout-mobile-savebar .btn { width: 100%; }
    }
  

/* ===== view-public-preview / view-public-preview.html ===== */

    :root {
      --accent-050: #eef6ff;
      --accent-100: #d9eaff;
      --accent-500: #0f68ea;
      --accent-600: #0b56c4;

      --neutral-000: #ffffff;
      --neutral-050: #f8f9fc;
      --neutral-100: #f1f3f7;
      --neutral-200: #e3e7ee;
      --neutral-300: #cfd6e2;

      --success-500: #16b85f;
      --danger-500: #d93025;
      --warning-500: #f4a100;

      --bg-page: #eef0f5;
      --bg-card: #ffffff;

      --text-primary: #1f2430;
      --text-secondary: #4c566a;
      --text-muted: #8b94a7;
      --text-white: #ffffff;

      --font-main: 'Inter', sans-serif;

      --fs-xs: 11px;
      --fs-sm: 13px;
      --fs-base: 14px;
      --fs-md: 15px;
      --fs-h1: 32px;

      --radius-sm: 6px;
      --radius-md: 8px;
      --radius-card: 10px;

      --shadow-sm: 0 1px 2px rgba(0,0,0,.04);

      --main-max: 1120px;
      --main-padding: 32px;
      --desktop-right-space: 200px;
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      background: var(--bg-page);
      font-family: var(--font-main);
      color: var(--text-primary);
      font-size: var(--fs-base);
    }

    button,
    input {
      font: inherit;
    }

    button { cursor: pointer; }

    .layout-main {
      min-height: 100vh;
      padding: 56px var(--main-padding) 80px;
    }

    .layout-main__inner {
      width: min(100%, calc(100vw - var(--desktop-right-space) - var(--main-padding)));
      max-width: var(--main-max);
    }

    .layout-page-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 24px;
      margin-bottom: 28px;
    }

    .page-title {
      margin: 0;
      font-size: var(--fs-h1);
      font-weight: 800;
      line-height: 1.05;
      letter-spacing: .01em;
    }

    .page-subtitle {
      margin: 8px 0 0;
      color: var(--text-secondary);
      font-size: var(--fs-base);
      line-height: 1.35;
    }

    .layout-page-header__actions {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
      padding: 0 20px;
      border: 0;
      border-radius: var(--radius-md);
      font-size: var(--fs-base);
      font-weight: 700;
      line-height: 1;
      white-space: nowrap;
      transition: .15s ease;
    }

    .btn--primary {
      background: var(--accent-500);
      color: var(--text-white);
    }

    .btn--primary:hover { background: var(--accent-600); }

    .btn--secondary {
      background: var(--neutral-000);
      color: var(--accent-500);
      box-shadow: var(--shadow-sm);
    }

    .btn--secondary:hover { background: var(--accent-050); }

    .component-card {
      background: var(--bg-card);
      border: 1px solid var(--neutral-200);
      border-radius: var(--radius-card);
      padding: 24px;
    }

    .component-share-card {
      margin-bottom: 24px;
    }

    .component-share-card__title {
      margin: 0 0 8px;
      font-size: 20px;
      font-weight: 800;
      line-height: 1.2;
    }

    .component-share-card__text {
      margin: 0 0 18px;
      color: var(--text-secondary);
      font-size: var(--fs-base);
      line-height: 1.4;
    }

    .component-share-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
    }

    .field {
      width: 100%;
      min-height: 50px;
      padding: 0 14px;
      border: 1px solid var(--neutral-300);
      border-radius: var(--radius-md);
      background: var(--neutral-000);
      color: var(--text-primary);
      font-size: var(--fs-base);
      outline: none;
      box-shadow: var(--shadow-sm);
    }

    .component-public-menu-preview {
      padding: 0;
      overflow: hidden;
    }

    .component-public-menu-preview__header {
      padding: 24px 28px 18px;
      border-bottom: 1px solid var(--neutral-200);
    }

    .component-public-menu-preview__restaurant-name {
      margin: 0;
      font-size: 24px;
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: .01em;
    }

    .component-public-menu-preview__meta {
      margin: 8px 0 0;
      color: var(--text-muted);
      font-size: var(--fs-sm);
      line-height: 1.35;
    }

    .component-menu-category {
      padding: 22px 28px 24px;
      border-bottom: 1px solid var(--neutral-200);
    }

    .component-menu-category:last-child {
      border-bottom: 0;
    }

    .component-menu-category__title {
      margin: 0 0 18px;
      color: var(--text-muted);
      font-size: 18px;
      font-weight: 800;
      line-height: 1.2;
      text-transform: uppercase;
      letter-spacing: .01em;
    }

    .component-menu-items {
      display: grid;
      gap: 20px;
    }

    .component-menu-item {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 20px;
    }

    .component-menu-item__name {
      margin: 0 0 6px;
      font-size: var(--fs-base);
      font-weight: 800;
      line-height: 1.15;
      text-transform: uppercase;
      letter-spacing: .01em;
    }

    .component-menu-item__desc {
      margin: 0;
      color: var(--text-secondary);
      font-size: var(--fs-base);
      line-height: 1.35;
    }

    .component-menu-item__price {
      color: var(--text-primary);
      font-size: var(--fs-base);
      font-weight: 800;
      line-height: 1.15;
      white-space: nowrap;
      text-align: right;
    }

    .component-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 8px;
    }

    .badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 20px;
      padding: 0 9px;
      border-radius: 999px;
      font-size: 11px;
      font-weight: 700;
      line-height: 1;
      white-space: nowrap;
    }

    .badge--vege { background: var(--success-500); color: #fff; }
    .badge--spicy { background: var(--danger-500); color: #fff; }
    .badge--new { background: var(--warning-500); color: #fff; }

    .component-toast {
      position: fixed;
      right: 24px;
      bottom: 24px;
      display: none;
      padding: 14px 18px;
      border-radius: var(--radius-md);
      background: var(--text-primary);
      color: #fff;
      font-weight: 700;
      box-shadow: 0 12px 32px rgba(0,0,0,.18);
      z-index: 20;
    }

    .component-toast.is-visible { display: block; }

    @media (max-width: 960px) {
      .layout-main {
        padding: 24px 16px 56px;
      }

      .layout-main__inner {
        width: 100%;
        max-width: none;
      }

      .layout-page-header {
        display: grid;
        gap: 18px;
      }

      .layout-page-header__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
      }

      .component-share-row {
        grid-template-columns: 1fr;
      }

      .component-card {
        padding: 18px;
      }

      .component-public-menu-preview {
        padding: 0;
      }

      .component-public-menu-preview__header,
      .component-menu-category {
        padding-left: 18px;
        padding-right: 18px;
      }

      .component-menu-item {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 14px;
      }

      .component-menu-item > div:first-child {
        display: contents;
      }

      .component-menu-item__name {
        grid-column: 1;
        grid-row: 1;
      }

      .component-menu-item__price {
        grid-column: 2;
        grid-row: 1;
        text-align: right;
      }

      .component-menu-item__desc,
      .component-menu-item .component-tags {
        grid-column: 1 / -1;
      }
    }
  

/* ===== view-restaurant-account / view-restaurant-account.html ===== */


:root {
  --accent-050: #eef6ff;
  --accent-100: #d9eaff;
  --accent-200: #b9d8ff;
  --accent-500: #0f68ea;
  --accent-600: #0b56c4;

  --neutral-000: #ffffff;
  --neutral-050: #f8f9fc;
  --neutral-100: #f1f3f7;
  --neutral-200: #e3e7ee;
  --neutral-300: #cfd6e2;
  --neutral-500: #6d7890;

  --success-500: #16b85f;
  --danger-500: #d93025;

  --bg-page: #eef0f5;
  --bg-card: #ffffff;

  --text-primary: #1f2430;
  --text-secondary: #4c566a;
  --text-muted: #8b94a7;
  --text-white: #ffffff;

  --font-main: 'Inter', sans-serif;

  --fs-xs: 11px;
  --fs-sm: 13px;
  --fs-base: 14px;
  --fs-h1: 32px;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-card: 10px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.04);

  --main-max: 1120px;
  --main-padding: 32px;
  --desktop-right-space: 200px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg-page);
  font-family: var(--font-main);
  color: var(--text-primary);
  font-size: var(--fs-base);
}

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

button { cursor: pointer; }

.layout-main {
  min-height: 100vh;
  padding: 56px var(--main-padding) 80px;
}

.layout-main__inner {
  width: min(100%, calc(100vw - var(--desktop-right-space) - var(--main-padding)));
  max-width: var(--main-max);
}

.layout-page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 28px;
}

.page-title {
  margin: 0;
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: .01em;
}

.page-subtitle {
  margin: 8px 0 0;
  color: var(--text-secondary);
  font-size: var(--fs-base);
  line-height: 1.35;
}

.layout-page-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.component-card {
  background: var(--bg-card);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-card);
  padding: 24px;
}

.component-card + .component-card { margin-top: 18px; }

.component-card__title {
  margin: 0 0 22px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-md);
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: .15s ease;
}

.btn--primary {
  background: var(--accent-500);
  color: var(--text-white);
}

.btn--primary:hover { background: var(--accent-600); }

.btn--secondary {
  background: var(--neutral-000);
  color: var(--accent-500);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover { background: var(--accent-050); }

.btn--soft {
  background: var(--accent-100);
  color: var(--accent-500);
}

.btn--soft:hover { background: var(--accent-200); }

.field,
.select,
.textarea {
  width: 100%;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-md);
  background: var(--neutral-000);
  color: var(--text-primary);
  outline: none;
  box-shadow: var(--shadow-sm);
}

.field,
.select {
  min-height: 44px;
  padding: 0 14px;
  font-size: var(--fs-base);
}

.label {
  display: block;
  margin: 0 0 8px;
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--text-primary);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  font-weight: 500;
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: var(--accent-500);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.badge--role {
  background: var(--accent-050);
  color: var(--accent-500);
}

@media (max-width: 960px) {
  .layout-main {
    padding: 24px 16px 64px;
  }

  .layout-main__inner {
    width: 100%;
    max-width: none;
  }

  .layout-page-header {
    display: grid;
    gap: 18px;
  }

  .layout-page-header__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .component-card {
    padding: 18px;
  }
}

    .form-restaurant-account {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 18px;
    }

    @media (max-width: 960px) {
      .form-restaurant-account {
        grid-template-columns: 1fr;
      }
    }
  

/* ===== view-users-list / view-users-list.html ===== */


:root {
  --accent-050: #eef6ff;
  --accent-100: #d9eaff;
  --accent-200: #b9d8ff;
  --accent-500: #0f68ea;
  --accent-600: #0b56c4;

  --neutral-000: #ffffff;
  --neutral-050: #f8f9fc;
  --neutral-100: #f1f3f7;
  --neutral-200: #e3e7ee;
  --neutral-300: #cfd6e2;
  --neutral-500: #6d7890;

  --success-500: #16b85f;
  --danger-500: #d93025;

  --bg-page: #eef0f5;
  --bg-card: #ffffff;

  --text-primary: #1f2430;
  --text-secondary: #4c566a;
  --text-muted: #8b94a7;
  --text-white: #ffffff;

  --font-main: 'Inter', sans-serif;

  --fs-xs: 11px;
  --fs-sm: 13px;
  --fs-base: 14px;
  --fs-h1: 32px;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-card: 10px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.04);

  --main-max: 1120px;
  --main-padding: 32px;
  --desktop-right-space: 200px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg-page);
  font-family: var(--font-main);
  color: var(--text-primary);
  font-size: var(--fs-base);
}

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

button { cursor: pointer; }

.layout-main {
  min-height: 100vh;
  padding: 56px var(--main-padding) 80px;
}

.layout-main__inner {
  width: min(100%, calc(100vw - var(--desktop-right-space) - var(--main-padding)));
  max-width: var(--main-max);
}

.layout-page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 28px;
}

.page-title {
  margin: 0;
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: .01em;
}

.page-subtitle {
  margin: 8px 0 0;
  color: var(--text-secondary);
  font-size: var(--fs-base);
  line-height: 1.35;
}

.layout-page-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.component-card {
  background: var(--bg-card);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-card);
  padding: 24px;
}

.component-card + .component-card { margin-top: 18px; }

.component-card__title {
  margin: 0 0 22px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-md);
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: .15s ease;
}

.btn--primary {
  background: var(--accent-500);
  color: var(--text-white);
}

.btn--primary:hover { background: var(--accent-600); }

.btn--secondary {
  background: var(--neutral-000);
  color: var(--accent-500);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover { background: var(--accent-050); }

.btn--soft {
  background: var(--accent-100);
  color: var(--accent-500);
}

.btn--soft:hover { background: var(--accent-200); }

.field,
.select,
.textarea {
  width: 100%;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-md);
  background: var(--neutral-000);
  color: var(--text-primary);
  outline: none;
  box-shadow: var(--shadow-sm);
}

.field,
.select {
  min-height: 44px;
  padding: 0 14px;
  font-size: var(--fs-base);
}

.label {
  display: block;
  margin: 0 0 8px;
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--text-primary);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  font-weight: 500;
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: var(--accent-500);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.badge--role {
  background: var(--accent-050);
  color: var(--accent-500);
}

@media (max-width: 960px) {
  .layout-main {
    padding: 24px 16px 64px;
  }

  .layout-main__inner {
    width: 100%;
    max-width: none;
  }

  .layout-page-header {
    display: grid;
    gap: 18px;
  }

  .layout-page-header__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .component-card {
    padding: 18px;
  }
}

    .component-users-list {
      display: grid;
      gap: 10px;
    }

    .component-user-card {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 160px 130px 110px;
      align-items: center;
      gap: 18px;
      min-height: 82px;
      padding: 18px 16px;
      border: 1px solid var(--neutral-200);
      border-radius: var(--radius-card);
      background: var(--bg-card);
    }

    .component-user-card__name {
      margin: 0 0 6px;
      font-size: 18px;
      font-weight: 800;
      line-height: 1.15;
    }

    .component-user-card__email {
      margin: 0;
      color: var(--text-secondary);
      font-size: var(--fs-base);
    }

    .component-user-card__actions {
      display: flex;
      justify-content: flex-end;
    }

    @media (max-width: 960px) {
      .component-user-card {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
      }

      .component-user-card__main {
        grid-column: 1 / -1;
      }

      .component-user-card__actions {
        grid-column: 1 / -1;
        justify-content: stretch;
      }

      .component-user-card__actions .btn {
        width: 100%;
      }
    }
  

    /* ===== PROTOTYPE SHELL ===== */
    .prototype-shell {
      min-height: 100vh;
      background: var(--bg-page, #eef0f5);
      font-family: var(--font-main, var(--font-layout-main, 'Inter', sans-serif));
      color: var(--text-primary, #1f2430);
    }

    .prototype-shell__top {
      position: sticky;
      top: 0;
      z-index: 9999;
      min-height: 60px;
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 10px 16px;
      background: #fff;
      border-bottom: 1px solid var(--neutral-200, #e3e7ee);
      box-shadow: 0 4px 16px rgba(0,0,0,.04);
    }

    .prototype-shell__brand {
      flex: 0 0 auto;
      color: var(--accent-500, #0f68ea);
      font-weight: 900;
      letter-spacing: .04em;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .prototype-shell__nav {
      display: flex;
      align-items: center;
      gap: 8px;
      overflow-x: auto;
      scrollbar-width: thin;
      padding-bottom: 2px;
    }

    .prototype-shell__nav-button {
      min-height: 36px;
      padding: 0 12px;
      border: 1px solid var(--neutral-200, #e3e7ee);
      border-radius: 8px;
      background: #fff;
      color: var(--text-secondary, #4c566a);
      font: inherit;
      font-size: 13px;
      font-weight: 800;
      white-space: nowrap;
      cursor: pointer;
    }

    .prototype-shell__nav-button:hover {
      background: var(--accent-050, #eef6ff);
      color: var(--accent-500, #0f68ea);
    }

    .prototype-shell__nav-button.is-active {
      background: var(--accent-500, #0f68ea);
      border-color: var(--accent-500, #0f68ea);
      color: #fff;
    }

    .prototype-view {
      display: none;
    }

    .prototype-view.is-active {
      display: block;
    }

    /* Fixed bars from inactive views must not show */
    .prototype-view:not(.is-active) .layout-mobile-savebar,
    .prototype-view:not(.is-active) .mobile-savebar,
    .prototype-view:not(.is-active) .layout-mobile-menu,
    .prototype-view:not(.is-active) .layout-mobile-overlay {
      display: none !important;
    }

    /* Login should ignore prototype top spacing and still look centered enough */
    #view-login.is-active {
      min-height: calc(100vh - 60px);
    }

    @media (max-width: 960px) {
      .prototype-shell__top {
        display: grid;
        gap: 8px;
      }

      .prototype-shell__nav {
        width: 100%;
      }
    }
  

/* ===== MVC integration tweaks ===== */
body.app-page { min-height: 100vh; }
.app-flash { max-width: 1120px; margin: 24px 32px 0; }
.alert { padding: 12px 14px; border-radius: 8px; font-weight: 700; margin-bottom: 16px; }
.alert--danger { background: #fff0f0; color: #d93025; }
.alert--success { background: #eefcf4; color: #16b85f; }
.inline-form { display: inline; margin: 0; }
.restaurant-logo-box {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
}

.restaurant-logo-box__image,
.restaurant-logo-box__placeholder {
    width: 110px;
    height: 110px;
    border-radius: 24px;
}

.restaurant-logo-box__image {
    object-fit: cover;
    background: #fff;
    border: 1px solid var(--color-border, #e5e7eb);
}

.restaurant-logo-box__placeholder {
    display: grid;
    place-items: center;
    background: var(--color-heading, #111827);
    color: #fff;
    font-size: 42px;
    font-weight: 900;
}

.restaurant-logo-box__content {
    min-width: 0;
}
.manager-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.manager-sidebar {
    position: sticky;
    top: 20px;
    padding: 18px;
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 22px;
    background: var(--color-surface, #ffffff);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}
.side-item--return {
    margin-bottom: 10px;
    border-color: var(--color-border, #e5e7eb);
    background: rgba(15, 23, 42, 0.04);
    font-weight: 800;
}

.side-item--return:hover {
    background: rgba(15, 23, 42, 0.08);
}
.manager-sidebar__head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.manager-sidebar__title {
    margin: 0;
    color: var(--color-heading, #111827);
    font-size: 18px;
    font-weight: 900;
}

.manager-sidebar__nav {
    display: grid;
    gap: 8px;
}

.manager-sidebar__link {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    padding: 11px 12px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: var(--color-text, #111827);
    text-decoration: none;
    background: transparent;
}

.manager-sidebar__link:hover {
    background: rgba(15, 23, 42, 0.04);
}

.manager-sidebar__link.is-active {
    border-color: var(--color-primary, #111827);
    background: rgba(15, 23, 42, 0.06);
    font-weight: 800;
}

.manager-sidebar__link-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.manager-content {
    min-width: 0;
}

.empty-state--compact {
    padding: 14px;
    font-size: 14px;
}

@media (max-width: 920px) {
    .manager-layout {
        grid-template-columns: 1fr;
    }

    .manager-sidebar {
        position: static;
    }

    .manager-sidebar__nav {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .manager-sidebar__link {
        flex: 0 0 auto;
        min-width: 160px;
    }
}
@media (max-width: 640px) {
    .restaurant-logo-box {
        grid-template-columns: 1fr;
    }
}

.badge--success {
    background: #dcfce7;
    color: #166534;
}

.badge--warning {
    background: #fef3c7;
    color: #92400e;
}

.badge--danger {
    background: #fee2e2;
    color: #991b1b;
}