:root {
    color-scheme: light;
    --navy: #102d43;
    --navy-2: #173d54;
    --ink: #213744;
    --muted: #71818a;
    --paper: #f5f7f6;
    --white: #fff;
    --line: #e3e9e8;
    --yellow: #f2c848;
    --yellow-soft: #fff7dd;
    --red: #b5483f;
    --green: #2e7862;
    --shadow: 0 12px 35px rgba(16, 45, 67, .055);
    font-family: "Trebuchet MS", Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-synthesis: none
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    background: var(--paper)
}

button,
input,
select {
    font: inherit
}

button {
    cursor: pointer
}

button:disabled {
    cursor: not-allowed;
    opacity: .48
}

button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(242, 200, 72, .65);
    outline-offset: 2px
}

#app {
    min-height: 100vh
}

.app-shell {
    min-height: 100vh
}

.topbar {
    background: var(--navy);
    color: white;
    border-bottom: 4px solid var(--yellow);
    position: relative;
    overflow: hidden
}

.topbar:after {
    content: "";
    position: absolute;
    right: 8%;
    top: -116px;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    box-shadow: 0 0 0 34px rgba(255, 255, 255, .025), 0 0 0 69px rgba(255, 255, 255, .018);
    pointer-events: none
}

.top-inner {
    max-width: 1336px;
    height: 78px;
    margin: auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1
}

.brand-mark {
    width: 49px;
    height: 49px;
    border-radius: 50%;
    object-fit: cover;
    background: white;
    border: 2px solid rgba(255, 255, 255, .8)
}

.brand-copy {
    display: grid;
    gap: 4px;
    flex: 1
}

.brand-copy strong {
    font-size: 18px;
    letter-spacing: -.025em
}

.brand-copy span {
    font-size: 11px;
    color: #c3d0d5;
    letter-spacing: .07em;
    text-transform: uppercase
}

.user-chip {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 12px
}

.user-chip small {
    color: #c0ccd1
}

.online-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #76c8a6;
    box-shadow: 0 0 0 4px rgba(118, 200, 166, .14)
}

.tabs {
    max-width: 1336px;
    margin: auto;
    padding: 0 32px;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: thin
}

.tab {
    color: #000;
    border: 0;
    background: transparent;
    padding: 13px 15px 14px;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 3px solid transparent;
    transition: color .18s, border-color .18s
}

.tab span {
    margin-right: 8px;
    color: var(--yellow);
    font-size: 16px
}

.tab:hover {
    color: white;
    background: rgba(255, 255, 255, .06)
}

.tab.active {
    color: white;
    border-bottom-color: var(--yellow);
    background: rgba(255, 255, 255, .055)
}

.main {
    max-width: 1336px;
    margin: auto;
    padding: 37px 32px 22px
}

.page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin: 0 0 25px;
    gap: 20px
}

.eyebrow {
    font-size: 10px;
    letter-spacing: .17em;
    font-weight: 800;
    color: #a18427
}

.page-heading h1 {
    font-size: 32px;
    letter-spacing: -.05em;
    color: var(--navy);
    margin: 5px 0 3px;
    font-weight: 800
}

.page-heading p {
    font-size: 13px;
    color: var(--muted);
    margin: 0
}

.today {
    font-size: 12px;
    color: var(--muted);
    background: white;
    padding: 10px 13px;
    border: 1px solid var(--line);
    border-radius: 7px;
    display: flex;
    align-items: center;
    gap: 8px
}

.today span {
    color: var(--green);
    font-size: 9px
}

.today b {
    color: var(--navy)
}

.view {
    animation: appear .28s ease both
}

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(7px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 20px
}

.button {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 13px;
    font-weight: 800;
    transition: transform .16s, background .16s, border-color .16s
}

.button:not(:disabled):hover {
    transform: translateY(-1px)
}

.button-primary {
    background: var(--yellow);
    color: var(--navy);
    box-shadow: 0 4px 10px rgba(194, 155, 31, .16)
}

.button-primary:hover {
    background: #f7d76e
}

.button-light {
    background: white;
    color: var(--navy)
}

.button-outline {
    background: white;
    color: var(--navy);
    border-color: #d6dfe0
}

.button-outline:hover {
    border-color: var(--navy)
}

.button-small {
    min-height: 34px;
    padding: 0 11px;
    font-size: 11px;
    gap: 7px
}

.text-button {
    border: 0;
    background: transparent;
    color: #687a82;
    font-size: 12px;
    font-weight: 700;
    padding: 7px
}

.text-button:hover {
    color: var(--navy)
}

.danger-text {
    color: var(--red)
}

.button.full-width {
    width: 100%;
    min-height: 48px
}

.field {
    display: grid;
    gap: 7px;
    min-width: 0
}

.field>span {
    font-size: 11px;
    font-weight: 800;
    color: #5b6e76
}

.field input,
.field select,
.filter-bar input,
.filter-bar select,
.settle-row select {
    height: 40px;
    width: 100%;
    border: 1px solid #dce4e3;
    background: white;
    border-radius: 6px;
    padding: 0 11px;
    color: var(--ink);
    font-size: 13px
}

.field input::placeholder,
.searchbox input::placeholder {
    color: #9ca9ad
}

.muted {
    color: var(--muted);
    font-size: 12px
}

.tiny {
    font-size: 11px
}

.form-error {
    color: var(--red);
    font-size: 12px;
    margin: 0;
    min-height: 14px
}

.sale-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 20px;
    align-items: start
}

.section-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 0 0 13px
}

.section-intro h2,
.cart-head h2 {
    color: var(--navy);
    font-size: 17px;
    margin: 0 0 4px;
    letter-spacing: -.02em
}

.section-intro p {
    color: var(--muted);
    font-size: 12px;
    margin: 0
}

.count-label {
    font-size: 11px;
    color: var(--muted);
    padding-bottom: 2px
}

.searchbox {
    display: flex;
    align-items: center;
    height: 43px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 0 12px;
    margin: 0 0 14px;
    gap: 9px;
    color: #789098
}

.searchbox>span {
    font-size: 20px
}

.searchbox input {
    border: 0;
    outline: 0;
    min-width: 0;
    width: 100%;
    height: 100%;
    font-size: 13px;
    color: var(--ink);
    background: transparent
}

.searchbox input:focus-visible {
    outline: 0
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px
}

.product-tile {
    position: relative;
    text-align: left;
    min-height: 128px;
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 15px;
    background: white;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform .18s, border-color .18s, box-shadow .18s
}

.product-tile:not(:disabled):hover {
    transform: translateY(-3px);
    border-color: #d7bb60;
    box-shadow: 0 9px 21px rgba(16, 45, 67, .08)
}

.tile-category {
    color: #9a812c;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 9px;
    font-weight: 800;
    margin-bottom: 8px
}

.product-tile>strong {
    font-size: 14px;
    line-height: 1.3
}

.tile-bottom {
    margin-top: auto;
    padding-top: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 5px
}

.tile-bottom>b {
    font-size: 16px;
    color: var(--navy)
}

.tile-bottom small {
    font-size: 10px;
    color: #73858d
}

.tile-bottom .low-text,
.low-text {
    color: var(--red)
}

.cart-count {
    position: absolute;
    top: 11px;
    right: 10px;
    background: var(--yellow-soft);
    color: #715b18;
    border-radius: 99px;
    padding: 4px 7px;
    font-size: 9px;
    font-weight: 800
}

.cart-card {
    position: sticky;
    top: 16px;
    padding: 0;
    overflow: hidden
}

.cart-head {
    padding: 20px 20px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.cart-head .eyebrow {
    font-size: 9px
}

.cart-head h2 {
    font-size: 20px;
    margin-top: 4px
}

.cart-empty {
    min-height: 167px;
    border-top: 1px dashed var(--line);
    border-bottom: 1px dashed var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 20px
}

.empty-basket {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    background: #f4f6f5;
    color: #98a5a6;
    display: grid;
    place-items: center;
    font-size: 23px;
    margin-bottom: 10px
}

.cart-empty b {
    font-size: 12px;
    color: #52676f
}

.cart-empty p {
    font-size: 11px;
    color: #94a1a5;
    margin: 6px 0 0
}

.cart-row {
    padding: 12px 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    border-top: 1px solid #edf0ef
}

.cart-product {
    min-width: 0;
    display: grid;
    gap: 4px
}

.cart-product b {
    font-size: 12px
}

.cart-product small {
    color: var(--muted);
    font-size: 10px
}

.quantity {
    height: 29px;
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 5px;
    overflow: hidden
}

.quantity button {
    border: 0;
    background: #f7f8f7;
    width: 26px;
    height: 100%;
    font-size: 16px;
    color: var(--navy)
}

.quantity span {
    min-width: 22px;
    text-align: center;
    font-size: 11px
}

.line-total {
    font-size: 11px;
    white-space: nowrap
}

.cart-controls {
    padding: 15px 19px 20px;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 12px
}

.total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #4c5f66;
    font-size: 12px
}

.total-line>b {
    color: var(--navy);
    font-size: 18px
}

.cart-controls .total-line {
    padding-top: 3px
}

.inline-form {
    display: flex;
    align-items: flex-end;
    gap: 11px;
    margin-bottom: 18px;
    flex-wrap: wrap
}

.inline-form>.field {
    min-width: 180px;
    flex: 1
}

.inline-form>.button {
    flex: none
}

.filter-field {
    max-width: 170px
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px
}

.entity-card {
    padding: 18px
}

.entity-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px
}

.number-mark {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -.04em;
    color: var(--navy)
}

.entity-top h3 {
    font-size: 15px;
    margin: 3px 0 6px
}

.entity-top p {
    font-size: 10px;
    color: var(--muted);
    margin: 4px 0
}

.badge {
    display: inline-flex;
    align-items: center;
    background: #edf2f3;
    color: #536b73;
    border-radius: 30px;
    padding: 5px 9px;
    font-size: 9px;
    font-weight: 800;
    text-transform: capitalize;
    white-space: nowrap
}

.badge.danger {
    background: #fff0ed;
    color: var(--red)
}

.item-list {
    margin: 17px 0 13px;
    padding: 10px 0;
    border-top: 1px solid #edf0ef;
    border-bottom: 1px solid #edf0ef;
    display: grid;
    gap: 8px
}

.item-list>div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 11px
}

.item-list>div b {
    white-space: nowrap
}

.item-list p {
    margin: 0
}

.discount-field {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 10px
}

.discount-field input {
    height: 30px;
    width: 83px;
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 0 7px
}

.entity-card>.total-line {
    padding-bottom: 9px;
    border-bottom: 1px solid #edf0ef
}

.action-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 13px
}

.settle-row {
    display: flex;
    gap: 7px;
    align-items: center;
    flex-wrap: wrap
}

.settle-row select {
    width: 145px;
    height: 34px;
    font-size: 11px;
    padding: 0 7px
}

.filter-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 17px
}

.filter-bar select {
    width: 190px
}

.filter-bar input {
    width: 175px
}

.order-items {
    padding-bottom: 0;
    border-bottom: 0
}

.history {
    border-top: 1px solid #edf0ef;
    padding-top: 10px;
    color: var(--muted);
    font-size: 10px
}

.history summary {
    cursor: pointer;
    font-weight: 800;
    color: #62777e
}

.history p {
    margin: 8px 0 0
}

.management-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 17px;
    align-items: start
}

.form-card {
    padding: 21px
}

.form-stack {
    display: grid;
    gap: 13px
}

.form-title {
    margin-bottom: 1px
}

.form-title h2 {
    font-size: 19px;
    color: var(--navy);
    margin: 5px 0 0
}

.two-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.table-card {
    min-width: 0;
    padding: 19px
}

.table-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px
}

.table-heading h2 {
    font-size: 18px;
    color: var(--navy);
    margin: 4px 0 0
}

.table-heading h2 small {
    font-size: 11px;
    color: #809096;
    background: #f2f5f4;
    border-radius: 99px;
    padding: 4px 7px;
    margin-left: 4px
}

.searchbox.compact {
    width: 210px;
    height: 36px;
    margin: 0
}

.table-scroll {
    overflow-x: auto
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    text-align: left
}

th {
    font-size: 9px;
    color: #788990;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 800;
    padding: 10px 9px;
    border-bottom: 1px solid var(--line);
    white-space: nowrap
}

td {
    padding: 11px 9px;
    border-bottom: 1px solid #edf0ef;
    white-space: nowrap
}

td:first-child {
    white-space: normal
}

td small {
    display: block;
    color: var(--muted);
    font-size: 9px;
    margin-top: 4px
}

.table-actions {
    text-align: right;
    white-space: nowrap
}

.inactive-row {
    opacity: .5
}

.table-actions .button {
    margin-right: 4px
}

.alert-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #fff8e2;
    border: 1px solid #f2dfa4;
    border-radius: 8px;
    padding: 13px 15px;
    margin-bottom: 15px
}

.alert-card>span {
    background: var(--yellow);
    color: var(--navy);
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-weight: 900;
    font-size: 12px
}

.alert-card b {
    font-size: 12px;
    color: #66541b
}

.alert-card p {
    margin: 4px 0 0;
    color: #82713c;
    font-size: 11px
}

.stock-entry {
    margin-bottom: 16px
}

.stock-form>.field {
    min-width: 145px
}

.stock-form>.field:nth-child(1) {
    min-width: 220px
}

.stock-form input[name=qtd] {
    width: 115px
}

.stock-form .form-error {
    align-self: center
}

.report-date {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    margin-bottom: 16px
}

.report-date .field {
    width: 190px
}

.report-date>span {
    font-size: 11px;
    color: var(--muted);
    padding-bottom: 11px
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
    margin-bottom: 16px
}

.stat-card {
    position: relative;
    min-height: 136px;
    padding: 17px 18px;
    overflow: hidden
}

.stat-card:after {
    content: "";
    position: absolute;
    width: 105px;
    height: 105px;
    border: 1px solid #edf0e9;
    border-radius: 50%;
    right: -38px;
    top: -47px;
    box-shadow: 0 0 0 13px #f8f9f6, 0 0 0 27px #fbfbf8
}

.stat-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    background: var(--yellow-soft);
    color: #947a22;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 900
}

.stat-card p {
    font-size: 11px;
    color: #71818a;
    margin: 11px 0 4px
}

.stat-card>strong {
    font-size: 22px;
    letter-spacing: -.04em;
    color: var(--navy)
}

.stat-foot {
    font-size: 9px;
    color: #a0aaac;
    display: block;
    margin-top: 4px
}

.report-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px
}

.report-grid .card {
    min-height: 190px
}

.report-icon {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #f6f4e9;
    color: #9b832b;
    font-weight: 900
}

.rank-row,
.payment-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    border-top: 1px solid #edf0ef;
    font-size: 11px
}

.rank {
    font-size: 10px;
    color: #a99860;
    font-weight: 800
}

.rank-row>b,
.payment-row>b {
    margin-left: auto;
    color: var(--navy)
}

footer {
    padding: 25px 0 5px;
    text-align: center;
    font-size: 10px;
    color: #96a2a5
}

footer span {
    padding: 0 5px;
    color: #c1aa5a
}

.empty-state {
    grid-column: 1/-1;
    background: white;
    border: 1px dashed #dce3e2;
    border-radius: 8px;
    text-align: center;
    padding: 36px 16px;
    color: var(--muted);
    font-size: 12px
}

.login-screen {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(240px, 1.05fr) minmax(360px, .95fr);
    background: #fff
}

.login-art {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    background: linear-gradient(150deg, #102d43 1%, #183f55 55%, #22586a);
    padding: 9vh 9%;
    display: flex;
    align-items: flex-end
}

.login-art:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(242, 200, 72, .16), transparent 43%), radial-gradient(ellipse at 10% 95%, rgba(49, 125, 139, .45), transparent 46%)
}

.sun {
    position: absolute;
    width: min(33vw, 390px);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(244, 218, 135, .43);
    right: 6%;
    top: 12%;
    box-shadow: 0 0 0 25px rgba(255, 255, 255, .025), 0 0 0 50px rgba(255, 255, 255, .025), 0 0 0 86px rgba(255, 255, 255, .018)
}

.login-caption {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 410px;
    margin-bottom: 35px
}

.login-caption>span {
    font-size: 10px;
    letter-spacing: .2em;
    color: #f3d774;
    font-weight: 800
}

.login-caption h2 {
    font-family: Georgia, serif;
    font-size: clamp(38px, 5vw, 65px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -.045em;
    margin: 17px 0
}

.login-caption p {
    color: #c2d2d5;
    font-size: 14px;
    line-height: 1.7;
    max-width: 330px
}

.wave {
    position: absolute;
    height: 190px;
    width: 150%;
    left: -20%;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 48% 52% 0 0;
    transform: rotate(-8deg)
}

.wave-one {
    bottom: -146px;
    background: rgba(250, 250, 241, .08)
}

.wave-two {
    bottom: -173px;
    left: -12%;
    background: rgba(242, 200, 72, .1)
}

.login-card {
    width: min(400px, calc(100% - 48px));
    margin: auto;
    display: grid;
    gap: 15px;
    padding: 45px 0
}

.login-logo {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 8px;
    border: 3px solid #f7f2dc;
    box-shadow: 0 4px 18px rgba(16, 45, 67, .11)
}

.login-card .eyebrow {
    margin-top: 2px
}

.login-card h1 {
    font-size: 29px;
    letter-spacing: -.05em;
    color: var(--navy);
    margin: -10px 0 -10px
}

.login-card>.muted {
    margin: 0 0 2px
}

.login-card .field input {
    height: 45px
}

.login-submit {
    margin-top: 2px;
    width: 100%;
    height: 47px;
    justify-content: space-between;
    padding: 0 17px
}

.demo-note {
    border-top: 1px solid var(--line);
    padding-top: 15px;
    margin: 1px 0 0;
    text-align: center;
    font-size: 10px;
    color: var(--muted)
}

.demo-note b {
    color: #586c72
}

.login-card>.form-error {
    min-height: 0;
    margin: -9px 0 -7px
}

.login-card .field {
    margin-bottom: 1px
}

@media(max-width:1050px) {
    .sale-layout {
        grid-template-columns: minmax(0, 1fr) 340px
    }

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

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

    .management-layout {
        grid-template-columns: 280px minmax(0, 1fr)
    }

    .top-inner,
    .tabs {
        padding-left: 23px;
        padding-right: 23px
    }

    .main {
        padding-left: 23px;
        padding-right: 23px
    }
}

@media(max-width:760px) {
    .top-inner {
        height: 69px;
        padding: 0 16px;
        gap: 10px
    }

    .brand-mark {
        width: 42px;
        height: 42px
    }

    .brand-copy strong {
        font-size: 15px
    }

    .brand-copy span {
        font-size: 9px
    }

    .user-chip {
        margin-right: 0;
        font-size: 11px
    }

    .button-light {
        padding: 0 10px;
        min-height: 34px
    }

    .tabs {
        padding: 0 13px;
        gap: 0
    }

    .tab {
        padding: 12px 12px;
        font-size: 12px
    }

    .main {
        padding: 26px 16px 18px
    }

    .page-heading {
        align-items: flex-start;
        margin-bottom: 19px
    }

    .page-heading h1 {
        font-size: 28px
    }

    .page-heading p {
        max-width: 400px;
        font-size: 12px;
        line-height: 1.5
    }

    .today {
        font-size: 0;
        padding: 9px
    }

    .today span {
        font-size: 10px
    }

    .today b {
        font-size: 11px
    }

    .sale-layout {
        grid-template-columns: 1fr
    }

    .cart-card {
        position: static;
        grid-row: 1
    }

    .catalog {
        grid-row: 2
    }

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

    .product-tile {
        min-height: 116px
    }

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

    .management-layout {
        grid-template-columns: 1fr
    }

    .form-card {
        order: 0
    }

    .table-card {
        order: 1
    }

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

    .report-grid {
        grid-template-columns: 1fr
    }

    .login-screen {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(210px, 32vh) 1fr
    }

    .login-art {
        min-height: 0;
        padding: 25px 8%
    }

    .login-caption {
        margin: 0
    }

    .login-caption h2 {
        font-size: 38px;
        margin: 8px 0
    }

    .login-caption p {
        display: none
    }

    .sun {
        width: 190px;
        top: -10px;
        right: 5%
    }

    .login-card {
        padding: 32px 0 38px;
        gap: 12px
    }

    .login-logo {
        width: 64px;
        height: 64px
    }
}

@media(max-width:520px) {
    .user-chip {
        display: none
    }

    .page-heading {
        gap: 8px
    }

    .page-heading h1 {
        font-size: 26px
    }

    .today {
        margin-top: 12px
    }

    .card {
        padding: 15px
    }

    .product-grid {
        gap: 8px
    }

    .product-tile {
        padding: 12px;
        min-height: 115px
    }

    .tile-bottom>b {
        font-size: 14px
    }

    .tile-bottom small {
        font-size: 9px
    }

    .card-grid {
        grid-template-columns: 1fr
    }

    .inline-form {
        align-items: stretch
    }

    .inline-form>.field,
    .filter-field {
        min-width: 100%;
        max-width: none
    }

    .inline-form>.button {
        width: 100%
    }

    .filter-bar {
        flex-wrap: wrap
    }

    .filter-bar select,
    .filter-bar input {
        width: 100%
    }

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

    .searchbox.compact {
        width: 100%
    }

    .stats-grid {
        gap: 8px
    }

    .stat-card {
        min-height: 127px;
        padding: 13px
    }

    .stat-card>strong {
        font-size: 19px
    }

    .report-date {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px
    }

    .report-date .field {
        width: 100%
    }

    .report-date>span {
        padding: 0 0 10px
    }

    .stock-form>.field,
    .stock-form>.field:nth-child(1) {
        min-width: 100%
    }

    .stock-form>.field input {
        width: 100%
    }

    .two-fields {
        gap: 8px
    }

    .entity-card {
        padding: 15px
    }

    .action-row .button-small {
        flex: 1
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important
    }
}

.public-menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 12px 14px;
    color: var(--navy);
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    transition: border-color .18s, background .18s
}

.public-menu-link span {
    color: #9a812c;
    font-size: 16px
}

.public-menu-link:hover {
    background: #fffdf5;
    border-color: #d7bb60
}

.menu-page {
    min-height: 100vh;
    background: var(--paper)
}

.menu-header {
    background: var(--navy);
    color: white;
    border-bottom: 4px solid var(--yellow);
    position: relative;
    overflow: hidden
}

.menu-header:after {
    content: "";
    position: absolute;
    right: 8%;
    top: -125px;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    box-shadow: 0 0 0 34px rgba(255, 255, 255, .025), 0 0 0 69px rgba(255, 255, 255, .018);
    pointer-events: none
}

.menu-header-inner {
    max-width: 1160px;
    margin: auto;
    padding: 23px 28px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1
}

.menu-brand-mark {
    width: 52px;
    height: 52px;
    border: 2px solid white;
    border-radius: 50%;
    object-fit: cover;
    background: white
}

.menu-brand-copy {
    flex: 1
}

.menu-brand-copy strong {
    display: block;
    font-size: 17px;
    letter-spacing: -.02em
}

.menu-brand-copy span {
    display: block;
    color: #c3d0d5;
    font-size: 10px;
    letter-spacing: .11em;
    text-transform: uppercase;
    margin-top: 4px
}

.menu-staff-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    background: white;
    border-radius: 6px;
    text-decoration: none;
    padding: 10px 13px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    transition: background .18s
}

.menu-staff-link:hover {
    background: var(--yellow)
}

.menu-main {
    max-width: 1160px;
    margin: auto;
    padding: 38px 28px 24px
}

.menu-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(115deg, #173d54, #22586a);
    border-radius: 12px;
    color: white;
    padding: 30px 34px;
    margin-bottom: 24px;
    box-shadow: 0 14px 33px rgba(16, 45, 67, .1)
}

.menu-hero:after {
    content: "";
    position: absolute;
    right: 6%;
    top: -108px;
    width: 265px;
    height: 265px;
    border: 1px solid rgba(242, 200, 72, .25);
    border-radius: 50%;
    box-shadow: 0 0 0 24px rgba(255, 255, 255, .025), 0 0 0 53px rgba(255, 255, 255, .02)
}

.menu-hero .eyebrow {
    color: #f3d774
}

.menu-hero h1 {
    position: relative;
    z-index: 1;
    font-family: Georgia, serif;
    font-weight: 400;
    font-size: clamp(34px, 5vw, 52px);
    letter-spacing: -.04em;
    margin: 9px 0 6px
}

.menu-hero p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #d0dcdf;
    font-size: 13px
}

.menu-tools {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0 0 19px
}

.menu-search {
    flex: 1;
    margin: 0
}

.menu-result-count {
    font-size: 11px;
    color: var(--muted);
    white-space: nowrap
}

.menu-categories {
    display: flex;
    gap: 7px;
    overflow: auto;
    padding: 1px 0 13px;
    scrollbar-width: thin
}

.menu-category {
    flex: none;
    border: 1px solid #dce4e3;
    border-radius: 99px;
    background: white;
    color: #5d7279;
    padding: 8px 13px;
    font-size: 10px;
    font-weight: 800;
    transition: all .18s
}

.menu-category:hover,
.menu-category.active {
    background: var(--navy);
    border-color: var(--navy);
    color: white
}

.public-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px
}

.public-product {
    min-height: 151px;
    padding: 18px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column
}

.public-product:before {
    content: "";
    position: absolute;
    right: -34px;
    top: -43px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #f7f7f0;
    opacity: .9
}

.public-product .tile-category {
    position: relative;
    z-index: 1
}

.public-product h2 {
    position: relative;
    z-index: 1;
    color: var(--navy);
    font-size: 16px;
    letter-spacing: -.025em;
    line-height: 1.3;
    margin: 0 0 6px
}

.public-product-description {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
    margin: 0 0 12px
}

.public-product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    padding-top: 9px;
    border-top: 1px solid #edf0ef
}

.public-product-price {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -.04em;
    color: var(--navy);
    white-space: nowrap
}

.public-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--green);
    font-size: 10px;
    font-weight: 800
}

.public-stock:before {
    content: "";
    width: 6px;
    height: 6px;
    background: #57a782;
    border-radius: 50%
}

.public-stock.sold-out {
    color: var(--red)
}

.public-stock.sold-out:before {
    background: var(--red)
}

.menu-empty {
    grid-column: 1/-1;
    padding: 42px 20px;
    text-align: center;
    background: white;
    border: 1px dashed var(--line);
    border-radius: 9px;
    color: var(--muted);
    font-size: 13px
}

.menu-footnote {
    padding: 25px 0 5px;
    text-align: center;
    font-size: 10px;
    color: #96a2a5
}

.menu-footnote span {
    color: #bea441;
    padding: 0 4px
}

@media(max-width:760px) {
    .menu-header-inner {
        padding: 17px 18px
    }

    .menu-brand-mark {
        width: 45px;
        height: 45px
    }

    .menu-brand-copy strong {
        font-size: 15px
    }

    .menu-brand-copy span {
        font-size: 9px
    }

    .menu-staff-link {
        font-size: 0;
        padding: 10px
    }

    .menu-staff-link span {
        font-size: 16px
    }

    .menu-main {
        padding: 24px 18px
    }

    .menu-hero {
        padding: 25px 24px
    }

    .menu-hero:after {
        right: -23px
    }

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

@media(max-width:520px) {
    .menu-main {
        padding: 18px 13px
    }

    .menu-header-inner {
        padding: 14px 13px;
        gap: 10px
    }

    .menu-brand-mark {
        width: 39px;
        height: 39px
    }

    .menu-brand-copy strong {
        font-size: 13px
    }

    .menu-brand-copy span {
        font-size: 8px;
        letter-spacing: .08em
    }

    .menu-staff-link {
        font-size: 0
    }

    .menu-hero {
        padding: 23px 19px;
        margin-bottom: 18px
    }

    .menu-hero h1 {
        font-size: 38px
    }

    .menu-tools {
        align-items: stretch;
        flex-direction: column;
        gap: 8px
    }

    .menu-result-count {
        padding-left: 2px
    }

    .public-product-grid {
        gap: 9px
    }

    .public-product {
        min-height: 145px;
        padding: 14px
    }

    .public-product h2 {
        font-size: 14px
    }

    .public-product-price {
        font-size: 16px
    }

    .public-stock {
        font-size: 9px
    }
}

.menu-footnote a {
    color: var(--navy);
    font-weight: 700;
    text-decoration-color: #d7bb60;
    text-underline-offset: 3px
}

.menu-shop-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 19px;
    align-items: start
}

.public-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: start
}

.public-product {
    min-height: 174px
}

.public-add-button {
    width: 100%;
    margin-top: 14px;
    min-height: 37px;
    font-size: 11px;
    gap: 7px
}

.public-basket {
    position: sticky;
    top: 16px;
    padding: 0;
    overflow: hidden
}

.public-basket-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 19px 15px
}

.public-basket-heading .eyebrow {
    font-size: 9px
}

.public-basket-heading h2 {
    font-size: 19px;
    color: var(--navy);
    margin: 4px 0 0
}

.public-basket-count {
    display: grid;
    place-items: center;
    min-width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--yellow-soft);
    color: #725e19;
    font-size: 11px;
    font-weight: 900
}

.public-basket-empty {
    display: grid;
    justify-items: center;
    text-align: center;
    padding: 23px 18px 27px;
    border-top: 1px dashed var(--line);
    border-bottom: 1px dashed var(--line)
}

.public-basket-empty>span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: #f4f6f5;
    border-radius: 50%;
    color: #8d9b9e;
    font-size: 21px;
    margin-bottom: 9px
}

.public-basket-empty b {
    font-size: 12px;
    color: #52676f
}

.public-basket-empty p {
    font-size: 10px;
    color: #94a1a5;
    line-height: 1.5;
    margin: 6px 0 0
}

.public-basket-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    padding: 12px 15px;
    border-top: 1px solid #edf0ef
}

.public-basket-copy {
    display: grid;
    gap: 4px;
    min-width: 0
}

.public-basket-copy b {
    font-size: 11px;
    line-height: 1.3
}

.public-basket-copy small {
    font-size: 9px;
    color: var(--muted)
}

.public-quantity {
    height: 29px;
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 5px;
    overflow: hidden
}

.public-quantity button {
    border: 0;
    background: #f7f8f7;
    color: var(--navy);
    height: 100%;
    width: 25px;
    font-size: 15px
}

.public-quantity span {
    min-width: 22px;
    text-align: center;
    font-size: 10px
}

.public-line-total {
    font-size: 10px;
    white-space: nowrap;
    color: var(--navy)
}

.public-basket-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: #52676f
}

.public-basket-total b {
    font-size: 18px;
    color: var(--navy)
}

.public-checkout-form {
    display: grid;
    gap: 12px;
    padding: 15px 18px 18px;
    border-top: 1px solid var(--line)
}

.public-checkout-form .field input {
    height: 40px;
    width: 100%;
    border: 1px solid #dce4e3;
    background: white;
    border-radius: 6px;
    padding: 0 11px;
    color: var(--ink);
    font-size: 12px
}

.public-checkout-form .field select {
    height: 40px
}

.public-checkout-form .button {
    min-height: 45px
}

.public-payment-note {
    margin: 0;
    text-align: center;
    font-size: 9px;
    color: #8a999d
}

.public-demo-lock {
    margin: 0;
    padding: 14px 17px;
    border-top: 1px solid var(--line);
    font-size: 10px;
    line-height: 1.5;
    color: var(--muted)
}

.public-checkout-message {
    margin: 0 15px 13px;
    border-radius: 6px;
    padding: 10px 11px;
    font-size: 11px;
    line-height: 1.5
}

.public-checkout-message.error {
    background: #fff0ed;
    color: var(--red);
    border: 1px solid #f0d2cd
}

.public-checkout-message.info {
    background: #edf5f4;
    color: #416c66;
    border: 1px solid #dceae6
}

.menu-notice {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    border-radius: 8px;
    padding: 13px 15px;
    margin-bottom: 18px
}

.demo-notice {
    background: #fff8e2;
    border: 1px solid #f2dfa4;
    color: #66541b
}

.menu-notice>span {
    font-size: 17px
}

.menu-notice b {
    font-size: 11px
}

.menu-notice p {
    margin: 4px 0 0;
    font-size: 10px;
    line-height: 1.5;
    color: #82713c
}

.menu-loading {
    font-size: 11px;
    color: var(--muted);
    margin: -8px 0 17px
}

.public-success {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #edf7f1;
    border: 1px solid #d1e8d9;
    border-radius: 9px;
    padding: 16px 18px;
    margin-bottom: 19px
}

.public-success-mark {
    flex: none;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #d9efe1;
    color: var(--green);
    font-weight: 900
}

.public-success>div {
    flex: 1
}

.public-success .eyebrow {
    color: var(--green)
}

.public-success h2 {
    font-size: 16px;
    color: var(--navy);
    margin: 4px 0
}

.public-success p {
    font-size: 11px;
    color: #526d64;
    margin: 0;
    line-height: 1.5
}

.public-success .button {
    flex: none
}

@media(max-width:1020px) {
    .menu-shop-layout {
        grid-template-columns: minmax(0, 1fr) 315px;
        gap: 14px
    }

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

@media(max-width:760px) {
    .menu-shop-layout {
        grid-template-columns: 1fr
    }

    .public-basket {
        position: static;
        grid-row: 2
    }

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

    .public-product {
        min-height: 166px
    }
}

@media(max-width:520px) {
    .public-product-grid {
        gap: 9px
    }

    .public-product {
        padding: 13px;
        min-height: 160px
    }

    .public-add-button {
        padding: 0 9px;
        font-size: 10px
    }

    .public-success {
        align-items: flex-start;
        flex-wrap: wrap
    }

    .public-success>div {
        min-width: calc(100% - 52px)
    }

    .public-success .button {
        margin-left: 48px
    }
}

.public-demo-checkout-note {
    margin: 0;
    padding: 10px 11px;
    border-radius: 6px;
    background: var(--yellow-soft);
    color: #725e19;
    font-size: 10px;
    line-height: 1.5
}

.demo-checkout-form .button {
    min-height: 52px;
    line-height: 1.25
}

.demo-success {
    background: #fff8e2;
    border-color: #f2dfa4
}

.demo-success .public-success-mark {
    background: var(--yellow);
    color: var(--navy)
}

.demo-success .eyebrow {
    color: #947a22
}

.demo-success p {
    color: #746538
}

@media(max-width:760px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        overflow-x: clip
    }

    .menu-header-inner {
        padding: calc(14px + env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 14px max(16px, env(safe-area-inset-left))
    }

    .menu-header-inner>* {
        min-width: 0
    }

    .menu-brand-copy {
        min-width: 0
    }

    .menu-brand-copy strong,
    .menu-brand-copy span {
        overflow-wrap: anywhere
    }

    .menu-main {
        width: 100%;
        min-width: 0;
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
        padding-bottom: calc(28px + env(safe-area-inset-bottom))
    }

    .menu-hero {
        padding: 24px 20px
    }

    .menu-hero h1 {
        font-size: clamp(32px, 9vw, 42px);
        line-height: 1.08;
        overflow-wrap: anywhere
    }

    .menu-hero p {
        max-width: 34ch;
        line-height: 1.55
    }

    .menu-tools {
        gap: 9px
    }

    .menu-search {
        height: 48px;
        min-height: 48px;
        margin: 0
    }

    .menu-search input {
        font-size: 16px
    }

    .menu-result-count {
        font-size: 11px
    }

    .menu-categories {
        gap: 8px;
        padding: 2px 1px 14px;
        margin-inline: -1px;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch
    }

    .menu-category {
        min-height: 44px;
        padding: 0 15px;
        scroll-snap-align: start
    }

    .menu-shop-layout {
        min-width: 0;
        gap: 16px
    }

    .public-product-grid {
        min-width: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px
    }

    .public-product {
        min-width: 0;
        min-height: 0;
        padding: 14px;
        overflow: hidden
    }

    .public-product h2 {
        min-width: 0;
        font-size: 15px;
        line-height: 1.3;
        overflow-wrap: anywhere
    }

    .public-product-description {
        overflow-wrap: anywhere
    }

    .public-product-bottom {
        min-width: 0;
        flex-wrap: wrap;
        gap: 6px
    }

    .public-product-price {
        font-size: clamp(14px, 4.3vw, 17px);
        white-space: normal;
        overflow-wrap: anywhere
    }

    .public-stock {
        font-size: 10px
    }

    .public-add-button {
        min-height: 46px;
        padding: 7px 8px;
        font-size: 11px;
        line-height: 1.25;
        white-space: normal;
        overflow-wrap: anywhere
    }

    .public-basket {
        width: 100%;
        min-width: 0;
        scroll-margin-block: 20px
    }

    .public-basket-heading {
        padding: 18px 16px 14px
    }

    .public-basket-row {
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 7px;
        padding: 12px 12px
    }

    .public-basket-copy b {
        overflow-wrap: anywhere;
        font-size: 12px
    }

    .public-line-total {
        font-size: 11px
    }

    .public-quantity {
        height: 40px
    }

    .public-quantity button {
        width: 36px;
        font-size: 18px
    }

    .public-quantity span {
        min-width: 27px;
        font-size: 12px
    }

    .public-checkout-form {
        gap: 14px;
        padding: 16px
    }

    .public-checkout-form .field input,
    .public-checkout-form .field select,
    .public-checkout-form .button {
        min-height: 48px;
        font-size: 16px
    }

    .public-checkout-form .button {
        font-size: 14px
    }

    .menu-main .field input,
    .menu-main .field select {
        min-height: 46px
    }

    .table-scroll {
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch
    }

    .menu-cart-dock {
        display: flex;
        position: fixed;
        z-index: 20;
        right: 0;
        bottom: 0;
        left: 0;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px max(14px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
        border-top: 1px solid var(--line);
        background: rgba(255, 255, 255, .97);
        box-shadow: 0 -8px 24px rgba(16, 45, 67, .12);
        backdrop-filter: blur(12px)
    }

    .menu-cart-dock-summary {
        display: grid;
        gap: 3px;
        min-width: 0;
        color: var(--muted);
        font-size: 10px
    }

    .menu-cart-dock-summary b {
        color: var(--navy);
        font-size: 17px;
        white-space: nowrap
    }

    .menu-cart-dock .button {
        min-height: 48px;
        min-width: 124px;
        padding: 0 14px;
        font-size: 12px
    }

    .menu-page.has-cart-dock .menu-main {
        padding-bottom: calc(110px + env(safe-area-inset-bottom))
    }

    .login-card {
        width: min(400px, calc(100% - 40px))
    }

    .login-card .field input,
    .login-card .button {
        min-height: 46px
    }
}

.menu-cart-dock {
    display: none
}

@media(max-width:760px) {
    .menu-page.has-cart-dock {
        display: flex;
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        flex-direction: column;
        overflow: hidden
    }

    .menu-page.has-cart-dock .menu-header {
        flex: none
    }

    .menu-page.has-cart-dock .menu-main {
        flex: 1 1 auto;
        width: 100%;
        min-height: 0;
        margin: 0 auto;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior-y: contain;
        padding-bottom: calc(22px + env(safe-area-inset-bottom))
    }

    .menu-page.has-cart-dock .menu-cart-dock {
        display: flex;
        position: relative;
        inset: auto;
        z-index: auto;
        flex: none;
        box-shadow: 0 -5px 16px rgba(16, 45, 67, .08);
        backdrop-filter: blur(12px)
    }
}

@media(max-width:390px) {
    .menu-main {
        padding-left: max(13px, env(safe-area-inset-left));
        padding-right: max(13px, env(safe-area-inset-right))
    }

    .menu-hero {
        padding: 22px 17px
    }

    .menu-header-inner {
        gap: 9px
    }

    .menu-brand-mark {
        flex: none
    }

    .menu-brand-copy strong {
        font-size: 14px
    }

    .menu-brand-copy span {
        font-size: 8px;
        letter-spacing: .06em
    }

    .menu-staff-link {
        flex: none
    }

    .public-product-grid {
        gap: 8px
    }

    .public-product {
        padding: 12px
    }

    .public-product h2 {
        font-size: 14px
    }

    .public-product-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px
    }

    .public-product-price {
        font-size: 16px;
        line-height: 1.2
    }

    .public-stock {
        font-size: 10px
    }

    .public-add-button {
        font-size: 10px;
        gap: 4px
    }

    .public-basket-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .public-line-total {
        grid-column: 1/-1;
        text-align: right;
        margin-top: -2px
    }
}

@media(max-width:350px) {
    .menu-brand-copy span {
        max-width: 20ch
    }

    .menu-staff-link {
        padding: 9px
    }

    .public-product {
        padding: 10px
    }

    .public-add-button {
        padding: 6px 5px;
        font-size: 9px
    }

    .menu-cart-dock {
        gap: 8px
    }

    .menu-cart-dock .button {
        min-width: 112px;
        padding: 0 10px
    }
}

@media(max-width:760px) {
    .top-inner {
        height: auto;
        min-height: 69px;
        padding-top: calc(7px + env(safe-area-inset-top));
        padding-bottom: 7px
    }

    .top-inner,
    .tabs {
        padding-left: max(14px, env(safe-area-inset-left));
        padding-right: max(14px, env(safe-area-inset-right))
    }

    .main {
        padding-left: max(14px, env(safe-area-inset-left));
        padding-right: max(14px, env(safe-area-inset-right))
    }

    .field input,
    .field select,
    .filter-bar input,
    .filter-bar select {
        min-height: 44px
    }

    .button {
        min-height: 44px
    }

    .table-actions .button {
        min-height: 40px
    }

    .login-art {
        padding-top: calc(25px + env(safe-area-inset-top))
    }

    .login-card {
        padding-bottom: calc(38px + env(safe-area-inset-bottom))
    }
}