:root {
    --ink: #263d32;
    --cream: #faf9f4;
    --muted: #738077;
    --line: #e1e5db;
    --yellow: #e8f1a2;
    --orange: #d96b45
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: 'DM Sans',sans-serif;
    font-size: 15px
}

h1,h2,h3,.brand {
    font-family: Manrope,sans-serif
}

button,input {
    font: inherit
}

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

button,a,input {
    outline-offset: 5px
}

button {
    cursor: pointer
}

button:disabled {
    cursor: default
}

h1 {
    font-size: clamp(42px,5.4vw,74px);
    line-height: 1.08;
    letter-spacing: -3.5px;
    margin: 24px 0
}

h2 {
    font-size: 38px;
    letter-spacing: -1.6px;
    margin: 12px 0 20px
}

h3 {
    margin: 12px 0;
    font-size: 20px
}

p {
    line-height: 1.7;
    color: var(--muted)
}

.notice {
    background: var(--ink);
    color: #eef3de;
    text-align: center;
    font-size: 10px;
    letter-spacing: 1.4px;
    padding: 9px
}

.notice span {
    letter-spacing: .3px;
    opacity: .7
}

header {
    max-width: 1280px;
    margin: auto;
    padding: 26px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.brand {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
    display: flex;
    align-items: center
}

.brand>span {
    font-weight: 400
}

.brand i {
    font-size: 10px;
    color: var(--orange);
    font-style: normal;
    margin-left: 3px;
    align-self: flex-end;
    margin-bottom: 4px
}

nav {
    display: flex;
    gap: 30px;
    font-size: 13px
}

.button {
    border: 1px solid var(--line);
    background: transparent;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 600
}

.button:hover {
    transform: translateY(-1px);
    filter: brightness(.97)
}

.dark {
    background: var(--ink);
    color: white;
    border-color: var(--ink)
}

.small {
    padding: 12px 17px;
    font-size: 12px
}

.light {
    background: var(--yellow);
    border-color: var(--yellow)
}

.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase
}

.pill {
    background: #eff1e7;
    border: 1px solid #dfe4d4;
    padding: 8px 12px;
    border-radius: 30px;
    display: inline-block;
    font-size: 11px
}

.dot {
    color: #6b8652;
    margin-right: 6px
}

.hero {
    max-width: 1280px;
    padding: 52px 40px 60px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    align-items: center;
    gap: 60px
}

.hero p {
    font-size: 17px;
    max-width: 430px
}

.hero h1 em {
    font-style: normal;
    color: #84945b
}

.actions {
    display: flex;
    gap: 12px;
    margin: 30px 0 18px
}

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

.heroart {
    height: 550px;
    background: #e9eddf;
    border-radius: 170px 170px 20px 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible
}

.phone {
    width: 250px;
    background: #fffdf8;
    border: 7px solid #2b3a31;
    box-shadow: 12px 23px 40px #263d3224;
    border-radius: 38px;
    padding: 12px 12px 22px;
    transform: rotate(7deg);
    z-index: 1
}

.notch {
    width: 70px;
    height: 15px;
    background: #2b3a31;
    border-radius: 20px;
    margin: -7px auto 18px
}

.restbrand {
    text-align: center;
    font-family: Georgia,serif;
    font-size: 27px;
    margin: 18px 0 3px
}

.restsub {
    font-size: 8px;
    letter-spacing: 2px;
    text-align: center;
    color: #8d8e7a
}

.plate {
    height: 110px;
    background: #e5e9d6;
    border-radius: 15px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center
}

.plate svg {
    width: 150px;
    height: 110px
}

.pills {
    display: flex;
    gap: 6px;
    font-size: 9px;
    margin: 10px 0 18px
}

.pills span {
    padding: 6px 8px;
    background: #edf0e6;
    border-radius: 20px
}

.pills span:first-child {
    background: var(--ink);
    color: white
}

.dishmini {
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    font-size: 11px;
    display: flex;
    justify-content: space-between
}

.dishmini small {
    display: block;
    color: #8b9185;
    font-size: 8px;
    margin-top: 5px
}

.float {
    position: absolute;
    background: white;
    border: 1px solid #e7e9df;
    box-shadow: 0 10px 30px #263d3210;
    border-radius: 13px;
    padding: 15px 18px;
    z-index: 2
}

.float.one {
    left: -34px;
    top: 105px;
    transform: rotate(-5deg);
    font-size: 12px
}

.float.two {
    right: -10px;
    bottom: 40px;
    transform: rotate(-7deg);
    display: flex;
    align-items: center;
    gap: 15px
}

.float.two svg {
    width: 66px;
    height: 66px
}

.float strong {
    display: block;
    font-size: 12px
}

.float small {
    display: block;
    font-size: 10px;
    color: var(--muted);
    margin-top: 5px
}

.scribble {
    position: absolute;
    right: 20px;
    top: -32px;
    font: italic 17px Georgia;
    transform: rotate(4deg)
}

.types {
    max-width: 1200px;
    margin: 10px auto 60px;
    border-block:1px solid var(--line);padding: 24px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px
}

.types small {
    font-size: 10px;
    max-width: 90px;
    color: var(--muted);
    letter-spacing: 1px
}

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 55px 20px
}

.sectiontop {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px
}

.sectiontop p {
    max-width: 350px
}

.steps {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 40px;
    margin-top: 38px
}

.step {
    border-top: 1px solid #cdd5c4;
    padding-top: 23px
}

.step .number {
    font-size: 12px;
    color: #8a9677
}

.step p {
    font-size: 14px
}

.band {
    background: var(--ink);
    border-radius: 20px;
    color: white;
    padding: 45px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    margin: 40px 0
}

.band p {
    color: #bac7b8
}

.band h2 {
    font-size: 34px
}

.band .button.light {
    color: var(--ink)
}

.checklist {
    line-height: 2.8;
    color: #e3eadc;
    font-size: 14px
}

.pricing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    max-width: 850px;
    margin: 30px auto
}

.price {
    padding: 32px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px
}

.price.pro {
    background: #edf1df
}

.amount {
    font-size: 45px;
    font-weight: 700;
    letter-spacing: -2px
}

.amount small {
    font-size: 13px;
    letter-spacing: 0;
    font-weight: 400;
    color: var(--muted)
}

.price ul {
    padding-left: 18px;
    color: var(--muted);
    line-height: 2;
    font-size: 14px
}

.price .button {
    width: 100%
}

.center {
    text-align: center
}

.faq {
    max-width: 850px;
    margin: 30px auto
}

details {
    border-bottom: 1px solid var(--line);
    padding: 20px 0
}

summary {
    cursor: pointer;
    font-weight: 600
}

footer {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 30px 20px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

footer p,footer small {
    font-size: 11px
}

.workspace {
    max-width: 1280px;
    margin: 20px auto 60px;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 35px
}

.sidebar {
    border-right: 1px solid var(--line);
    padding-right: 22px
}

.sideheading {
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 1px;
    margin: 25px 0 14px
}

.sidebtn {
    width: 100%;
    text-align: left;
    border: 0;
    background: none;
    padding: 13px;
    border-radius: 8px;
    color: var(--muted);
    margin-bottom: 5px
}

.sidebtn.active {
    background: #e9eeda;
    color: var(--ink);
    font-weight: 700
}

.dashhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px
}

.dashhead h1 {
    font-size: 32px;
    letter-spacing: -1px;
    margin: 14px 0
}

.dashhead p {
    font-size: 13px;
    margin: 0
}

.demo-note {
    border-left: 3px solid #b4bf86;
    background: #eff1e6;
    padding: 12px 16px;
    font-size: 12px;
    line-height: 1.6;
    margin: 25px 0
}

.stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px
}

.stat {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 22px;
    background: white
}

.stat small {
    color: var(--muted)
}

.stat strong {
    font-size: 27px;
    display: block;
    margin-top: 12px
}

.panel {
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 26px;
    margin-top: 24px
}

.paneltop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px
}

.paneltop h3 {
    font-size: 18px
}

.menulist {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 18px 0;
    border-top: 1px solid var(--line)
}

.fileicon {
    background: #f1f3e8;
    color: #77865b;
    padding: 13px;
    border-radius: 9px;
    font-size: 12px
}

.menulist .grow {
    flex: 1
}

.menulist strong {
    font-size: 14px
}

.menulist small {
    font-size: 11px;
    color: var(--muted);
    display: block;
    margin-top: 7px
}

.iconbtn {
    background: none;
    border: 1px solid var(--line);
    padding: 9px 12px;
    border-radius: 7px;
    color: var(--ink)
}

.danger {
    color: #b4513f
}

.upload {
    border: 1.5px dashed #cbd5bb;
    border-radius: 12px;
    background: #fafbf5;
    padding: 28px;
    text-align: center;
    cursor: pointer;
    display: block
}

.upload strong {
    display: block;
    margin: 10px
}

.upload small {
    color: var(--muted)
}

input[type=file] {
    max-width: 100%;
    margin-top: 15px
}

.formgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px
}

label.field {
    display: block;
    font-size: 12px;
    font-weight: 600
}

input[type=text],input[type=url],input[type=tel] {
    display: block;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 13px;
    margin-top: 9px;
    color: var(--ink);
    background: #fdfefa
}

.qrgrid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 35px;
    align-items: center
}

.qrbox {
    padding: 25px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 15px
}

.qrbox svg {
    width: 100%;
    height: auto
}

.qrgrid p {
    font-size: 13px
}

.urlbox {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow-wrap: anywhere;
    font-size: 12px;
    margin: 20px 0
}

.publicmenu {
    max-width: 720px;
    margin: 20px auto;
    padding: 20px
}

.publiccover {
    padding: 42px;
    background: #e9eeda;
    border-radius: 20px;
    text-align: center
}

.publiccover h1 {
    font: 45px Georgia;
    letter-spacing: -1px
}

.categorybar {
    display: flex;
    gap: 10px;
    margin: 25px 0;
    overflow: auto
}

.categorybar button {
    white-space: nowrap
}

.dish {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 20px;
    justify-content: space-between
}

.dish h3 {
    font-size: 17px;
    margin: 0
}

.dish p {
    font-size: 13px;
    margin-bottom: 0
}

.dish strong {
    white-space: nowrap
}

.demotag {
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 1px
}

.hidden {
    display: none!important
}

#toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: white;
    padding: 14px 22px;
    border-radius: 10px;
    z-index: 20;
    box-shadow: 0 6px 30px #0002;
    opacity: 0;
    pointer-events: none;
    font-size: 13px;
    transition: opacity .2s
}

#toast.show {
    opacity: 1
}

dialog {
    border: 0;
    border-radius: 12px;
    width: 90vw;
    max-width: 1000px;
    padding: 16px
}

dialog::backdrop {
    background: #10251dbb
}

.dialogbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px
}

iframe {
    width: 100%;
    height: 75vh;
    border: 0
}

@media(max-width: 850px) {
    nav {
        display:none
    }

    header {
        padding: 20px
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 25px 24px 45px;
        gap: 35px
    }

    .hero h1 {
        letter-spacing: -2px;
        max-width: 600px
    }

    .heroart {
        max-width: 450px;
        width: 90%;
        margin: auto;
        height: 460px
    }

    .phone {
        width: 220px
    }

    .float.one {
        left: -12px
    }

    .float.two {
        right: -15px
    }

    .types {
        flex-wrap: wrap;
        justify-content: center;
        gap: 22px
    }

    .types small {
        max-width: none;
        width: 100%;
        text-align: center
    }

    .sectiontop {
        display: block
    }

    .steps {
        gap: 20px
    }

    .band {
        padding: 28px;
        grid-template-columns: 1fr;
        gap: 0
    }

    .workspace {
        padding: 0 20px;
        grid-template-columns: 1fr;
        gap: 10px
    }

    .sidebar {
        border: 0;
        display: flex;
        overflow: auto;
        padding: 0;
        gap: 7px
    }

    .sideheading,.sideinfo {
        display: none
    }

    .sidebtn {
        width: auto;
        white-space: nowrap;
        padding: 10px 14px
    }

    .qrgrid {
        grid-template-columns: 180px 1fr
    }

    footer {
        flex-wrap: wrap
    }

    .notice span {
        display: none
    }
}

@media(max-width: 550px) {
    .brand {
        font-size:23px
    }

    header>.button {
        font-size: 11px;
        padding: 11px
    }

    h1 {
        font-size: 46px
    }

    .hero p {
        font-size: 15px
    }

    .actions {
        flex-wrap: wrap
    }

    .steps,.pricing,.stats,.formgrid,.qrgrid {
        grid-template-columns: 1fr
    }

    .section {
        padding-top: 35px
    }

    h2 {
        font-size: 30px
    }

    .qrbox {
        max-width: 210px;
        margin: auto
    }

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

    .stat strong {
        margin: 0;
        font-size: 22px
    }

    .panel {
        padding: 18px
    }

    .paneltop {
        gap: 8px
    }

    .dashhead {
        align-items: start
    }

    .dashhead .button {
        padding: 10px;
        font-size: 11px
    }

    .menulist {
        flex-wrap: wrap
    }

    .float.two {
        right: -8px
    }

    .scribble {
        font-size: 14px
    }

    .publiccover {
        padding: 25px
    }

    .publicmenu {
        padding: 12px
    }

    .notice {
        font-size: 9px
    }
}

body {
    font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}

h1,h2,h3,.brand {
    font-family: inherit
}

.topbar {
    background: var(--ink);
    color: #e8edda;
    text-align: center;
    font-size: 11px;
    letter-spacing: .7px;
    padding: 8px
}

.head-actions {
    display: flex;
    align-items: center;
    gap: 15px
}

.head-actions form {
    margin: 0
}

.textbtn {
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-size: 13px;
    padding: 8px;
    cursor: pointer
}

.auth {
    max-width: 530px;
    margin: 50px auto;
    padding: 20px
}

.auth h1 {
    font-size: 40px;
    letter-spacing: -1.5px
}

.auth .panel {
    padding: 28px
}

.auth .field {
    margin-bottom: 20px
}

.field input:not([type=color]),textarea,select {
    font: inherit;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    width: 100%;
    color: var(--ink);
    background: #fff;
    display: block;
    margin: 8px 0 18px
}

input[type=color] {
    width: 90px;
    height: 42px;
    margin: 10px 0 18px;
    border: 1px solid var(--line);
    background: white;
    border-radius: 8px
}

input[type=file] {
    font-size: 12px;
    padding: 12px!important;
    white-space: normal
}

.check {
    display: flex;
    gap: 9px;
    align-items: start;
    font-size: 12px;
    line-height: 1.6;
    margin: 15px 0
}

.check input {
    margin-top: 4px;
    accent-color: var(--ink)
}

.check a {
    text-decoration: underline
}

.full {
    width: 100%
}

.alert {
    padding: 17px 22px;
    background: #edf1df;
    border: 1px solid #dce4c7;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.6;
    margin: 20px 0
}

.alert a {
    text-decoration: underline
}

.alert.error {
    background: #f9eae5;
    border-color: #edccbe;
    color: #953d2b
}

.alert.warning {
    background: #fff6dc;
    border-color: #eddfb2;
    color: #77602c
}

.flash {
    max-width: 1200px;
    margin: 20px auto
}

.dashhead h1 {
    overflow-wrap: anywhere
}

.workspace-main {
    min-width: 0
}

.sidebtn {
    display: block;
    font-size: 13px
}

.sidebar .sidebtn.active {
    font-weight: 600
}

.paneltop form {
    display: flex;
    align-items: center;
    gap: 12px
}

.paneltop form .check {
    margin: 0
}

.menulist form {
    margin: 0
}

.empty {
    text-align: center;
    padding: 35px 15px
}

.empty>span {
    font-size: 35px;
    color: #8b9c69
}

.empty p {
    font-size: 13px
}

.imagepreview {
    max-width: 150px;
    max-height: 100px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid var(--line);
    margin: 15px 0
}

.dish-editor {
    padding: 20px 0
}

.dish-editor summary {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center
}

.dish-editor summary span {
    font-size: 12px;
    color: var(--muted)
}

.dishform {
    margin: 25px 0
}

fieldset {
    border: 1px solid var(--line);
    border-radius: 10px;
    margin: 10px 0 25px;
    padding: 18px
}

legend {
    font-size: 12px;
    padding: 0 8px
}

.allergengrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px
}

.allergengrid .check {
    margin: 7px 0
}

.searchbar {
    display: flex;
    gap: 15px;
    margin-top: 30px
}

.searchbar input {
    flex: 1;
    min-width: 0;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit
}

.admin h1 {
    font-size: 36px;
    letter-spacing: -1px
}

.auditlist p {
    margin: 8px 0;
    font-size: 12px
}

.legal {
    max-width: 900px
}

.legal h1 {
    font-size: 40px;
    letter-spacing: -1.5px
}

.prose {
    font-size: 15px;
    line-height: 1.9;
    overflow-wrap: anywhere;
    white-space: normal
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden
}

.publiccover {
    overflow: hidden;
    position: relative;
    padding: 35px 22px;
    background: #e9eeda
}

.cover {
    width: calc(100% + 44px);
    max-height: 240px;
    object-fit: cover;
    margin: -35px -22px 25px
}

.restaurantlogo {
    height: 90px;
    width: 90px;
    object-fit: contain;
    background: white;
    border-radius: 50%;
    padding: 8px;
    display: block;
    margin: 10px auto
}

.publiccover h1 {
    font-family: Georgia,serif
}

.publicmenu .dark {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--ink);
}

.contactlinks {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    font-size: 12px;
    margin-top: 22px
}

.contactlinks a {
    text-decoration: underline
}

.foodcategory {
    scroll-margin-top: 20px
}

.foodcategory h2 {
    font-size: 28px;
    margin-top: 35px
}

.dish img {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 12px
}

.dish .grow {
    flex: 1;
    min-width: 0
}

.dish h3 {
    overflow-wrap: anywhere
}

.dish.unavailable {
    opacity: .65
}

.badge {
    display: block;
    width: fit-content;
    font-size: 10px;
    margin-top: 8px;
    padding: 5px 8px;
    border-radius: 15px;
    background: #efe8d9
}

.allergenlegend {
    font-size: 12px;
    line-height: 1.8
}

.categorybar a {
    white-space: nowrap
}

.qrsymbol {
    font-size: 65px;
    line-height: 1
}

.float.one strong {
    margin-top: 8px
}

.qrbox svg {
    display: block
}

.qrgrid .actions {
    flex-wrap: wrap
}

.pill {
    max-width: 100%;
    overflow-wrap: anywhere
}

footer a,footer small {
    font-size: 12px
}

footer .brand {
    font-size: 25px
}

form>.button {
    margin-top: 12px
}

a.sidebtn:hover {
    background: #edf1e4
}

.managed-banner {
    max-width: 1200px;
    margin: 15px auto;
    background: #263d32;
    color: white;
    border-radius: 8px;
    padding: 15px 20px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px
}

.managed-banner form {
    margin: 0
}

.managed-banner .button {
    border-color: #708573;
    color: white;
    margin: 0
}

a:focus-visible,button:focus-visible {
    outline: 3px solid #90a264;
    outline-offset: 4px
}

@media(max-width: 600px) {
    .auth {
        margin:20px auto
    }

    .auth h1 {
        font-size: 34px
    }

    .paneltop {
        align-items: start;
        flex-wrap: wrap
    }

    .paneltop form {
        flex-wrap: wrap
    }

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

    .head-actions {
        gap: 5px
    }

    .head-actions .textbtn {
        font-size: 11px
    }

    .dish-editor summary {
        display: block
    }

    .dish-editor summary span {
        display: block;
        margin-top: 8px
    }

    .dish img {
        width: 65px;
        height: 65px
    }

    .dish {
        gap: 12px
    }

    .managed-banner {
        flex-wrap: wrap;
        margin: 15px 12px
    }

    .admin h1 {
        font-size: 30px
    }

    .publiccover h1 {
        font-size: 37px
    }

    .publicmenu .categorybar {
        margin-inline:-6px;padding: 6px
    }

    .qrgrid .actions .button {
        flex: 1
    }
}

@media print {
    header,footer,.sidebar,.topbar,.dashhead,.alert,.qrgrid .actions,.micro,.head-actions,.managed-banner {
        display: none!important
    }

    .workspace,.qrgrid {
        display: block
    }

    .qrbox {
        width: 70mm;
        margin: 20mm auto
    }

    .workspace .panel {
        border: 0
    }

    .qrgrid>div:last-child {
        text-align: center
    }

    .urlbox {
        border: 0
    }

    body {
        background: white
    }
}

/* v1.1: responsive illustration, demos and aggregate analytics. */
.heroart {
    min-width: 0
}

.phone .dishmini>div {
    min-width: 0;
    padding-right: 8px
}

.phone .dishmini b {
    flex-shrink: 0;
    white-space: nowrap
}

.phone .dishmini small {
    line-height: 1.5
}

.restsub {
    line-height: 1.6
}

.heroart>.float {
    max-width: 230px
}

@media(max-width: 850px) {
    .heroart {
        display:grid;
        grid-template-columns: minmax(0,1fr);
        height: auto;
        width: 100%;
        max-width: 400px;
        padding: 25px 20px 28px;
        gap: 20px;
        border-radius: 100px 100px 22px 22px;
        overflow: hidden
    }

    .heroart .scribble {
        position: static;
        transform: none;
        text-align: center;
        font-size: 15px;
        margin: 0
    }

    .heroart .phone {
        grid-row: 2;
        justify-self: center;
        transform: none;
        width: min(100%,250px);
        margin: 0
    }

    .heroart>.float {
        position: static;
        transform: none;
        max-width: 100%;
        width: 100%;
        box-shadow: 0 4px 18px #263d3210
    }

    .heroart>.float.one {
        grid-row: 3;
        text-align: center;
        font-size: 12px
    }

    .heroart>.float.two {
        grid-row: 4;
        justify-content: center;
        padding: 12px;
        gap: 13px
    }

    .heroart .qrsymbol {
        font-size: 43px
    }

    .heroart .float strong {
        font-size: 12px
    }

    .heroart .float small {
        font-size: 10px
    }

    .hero {
        padding-inline:20px;gap: 26px
    }

    .phone .plate {
        margin-block:16px}

    .phone>strong {
        font-size: 14px
    }

    .phone .dishmini {
        gap: 5px
    }

    .phone .dishmini small {
        font-size: 9px
    }

    .phone .restbrand {
        font-size: 25px
    }
}

.dashhead>div {
    min-width: 0
}

.admin>.dashhead {
    flex-wrap: wrap
}

.dashhead .eyebrow {
    overflow-wrap: anywhere
}

.admin-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0 30px
}

.rangeform {
    display: flex;
    gap: 16px;
    align-items: end;
    flex-wrap: wrap
}

.rangeform .field {
    flex: 1;
    min-width: 150px
}

.rangeform input {
    margin-bottom: 0!important
}

.rangeform .button {
    margin: 0!important
}

.analytics-kpis {
    margin-top: 20px
}

.chartlegend {
    display: flex;
    gap: 20px;
    font-size: 12px;
    flex-wrap: wrap;
    margin: 18px 0
}

.chartlegend span {
    display: flex;
    align-items: center;
    gap: 7px
}

.chartlegend i {
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 3px
}

.legend-page,.pagebar {
    background: var(--ink)
}

.legend-pdf,.pdfbar {
    background: #b4c579
}

.chartscroll {
    overflow-x: auto;
    padding-block:12px}

.dailychart {
    display: flex;
    gap: 8px;
    min-width: 100%;
    height: 210px;
    align-items: end
}

.chartday {
    flex: 1;
    min-width: 24px;
    max-width: 65px;
    text-align: center
}

.chartbars {
    height: 170px;
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 2px;
    border-bottom: 1px solid var(--line)
}

.chartbars span {
    display: block;
    width: 42%;
    max-width: 18px;
    border-radius: 3px 3px 0 0
}

.chartday small {
    display: block;
    font-size: 9px;
    margin-top: 8px;
    color: var(--muted);
    white-space: nowrap
}

.table-scroll {
    overflow-x: auto
}

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

.data-table th,.data-table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line)
}

.data-table th {
    color: var(--muted);
    font-size: 11px
}

.data-table a {
    text-decoration: underline
}

.demo-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 30px
}

.demo-card {
    padding: 30px;
    border: 1px solid var(--line);
    background: white;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: start
}

.demo-card-pro {
    background: #edf1df
}

.demo-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 18px
}

.demo-icon {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 1px
}

.demo-card h3 {
    font-size: 25px;
    letter-spacing: -.8px
}

.demo-card p {
    font-size: 14px
}

.demo-card .button {
    margin-top: 24px
}

.demo-lines {
    width: 100%;
    margin-top: auto
}

.demo-lines span {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px
}

.demo-lines b {
    margin-left: auto
}

.demo-chips {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    font-size: 10px;
    margin: 10px 0
}

.demo-chips span {
    background: white;
    border-radius: 20px;
    padding: 8px 10px
}

.demo-product {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 15px;
    width: 100%;
    margin-top: auto
}

.demo-product img {
    width: 55px;
    height: 55px;
    border-radius: 9px
}

.demo-product>div {
    min-width: 0
}

.demo-product strong {
    font-size: 12px
}

.demo-product small {
    font-size: 10px;
    display: block;
    color: var(--muted);
    margin-top: 5px
}

.demo-product b {
    font-size: 13px;
    white-space: nowrap;
    margin-left: auto
}

.demo-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 12px
}

.demo-toolbar>div {
    display: flex;
    gap: 7px
}

.demo-disclaimer {
    font-size: 11px;
    color: #63764d;
    background: #eef2e3;
    border: 1px solid #dfe6cf;
    border-radius: 9px;
    padding: 12px 16px;
    margin-bottom: 18px;
    line-height: 1.7
}

.demo-sun {
    color: #b9883b;
    font-size: 55px;
    line-height: 1.2;
    margin: 5px 0 16px
}

.demo-cover h1 {
    margin: 18px 0
}

.demo-pdf-row {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--line);
    padding: 22px 0
}

.demo-pdf-row>div {
    flex: 1
}

.demo-pdf-row strong {
    font-size: 15px
}

.demo-pdf-row small {
    font-size: 11px;
    color: var(--muted);
    display: block;
    margin-top: 7px
}

.demo-final {
    margin-top: 40px
}

.demo-public .demo-categories {
    display: flex
}

.demo-public .demo-categories a {
    background: #fff
}

.demo-public .demo-categories a:focus,.demo-public .demo-categories a:hover {
    background: #e9eeda
}

@media(max-width: 700px) {
    .demo-cards {
        grid-template-columns:1fr
    }

    .demo-card {
        padding: 24px
    }

    .demo-card h3 {
        font-size: 23px
    }

    .demo-toolbar {
        align-items: start
    }

    .rangeform .button {
        width: 100%
    }

    .dailychart {
        gap: 7px
    }

    .data-table {
        font-size: 12px
    }

    .data-table th,.data-table td {
        padding-inline:8px}

    .analytics-kpis .stat strong {
        font-size: 25px
    }
}

@media(max-width: 360px) {
    header {
        padding-inline:14px;
        gap: 8px
    }

    .head-actions .button {
        padding: 9px
    }

    .heroart {
        padding-inline:14px}

    .demo-toolbar {
        flex-direction: column
    }
}

.cookie-notice {
    position: fixed;
    z-index: 1000;
    left: 20px;
    right: 20px;
    bottom: 18px;
    max-width: 980px;
    margin: auto;
    padding: 18px 20px;
    background: #fffdf6;
    border: 1px solid #d8ddcc;
    border-radius: 14px;
    box-shadow: 0 16px 55px #1c2a2140;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: var(--ink)
}

.cookie-notice[hidden] {
    display: none
}

.cookie-copy {
    max-width: 680px
}

.cookie-copy strong {
    font-size: 14px
}

.cookie-copy p {
    margin: 5px 0 0;
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted)
}

.cookie-copy a {
    text-decoration: underline
}

.cookie-notice .button {
    white-space: nowrap;
    margin: 0
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0
}

.cookie-settings {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: inherit;
    text-decoration: underline;
    cursor: pointer
}

@media(max-width: 600px) {
    .cookie-notice {
        left:10px;
        right: 10px;
        bottom: 10px;
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        padding: 16px
    }

    .cookie-actions {
        flex-direction: column;
        align-items: stretch
    }

    .cookie-notice .button {
        width: 100%
    }
}

html {
    scroll-behavior: smooth
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }
}

/* Google OAuth controls */
.oauth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    color: #637067;
    font-size: .85rem
}

.oauth-divider:before,.oauth-divider:after {
    content: "";
    height: 1px;
    background: #d9ded7;
    flex: 1
}

.oauth-form {
    margin: 12px 0
}

.google-button {
    background: #fff;
    color: #263d32;
    border: 1px solid #cfd6ce;
    justify-content: center
}

.google-button:hover {
    background: #f5f7f3
}

.oauth-account {
    border-top: 1px solid #e0e4dc;
    margin: 16px 0;
    padding-top: 14px
}

.demo-client-logo {
    display: block;
    width: 86px;
    height: 86px;
    object-fit: contain;
    margin: 0 auto 18px;
    border-radius: 50%;
    box-shadow: 0 8px 22px #185f6b20
}

.demo-cover .eyebrow {
    line-height: 1.6
}

.demo-cover>p {
    max-width: 530px;
    margin: 10px auto 18px
}

.demo-contactlinks {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px auto 0
}

.demo-contactlinks a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #d8e2dc;
    border-radius: 20px;
    padding: 9px 13px;
    font-size: 12px;
    text-decoration: none;
    color: #185f6b
}

.demo-contactlinks a:hover {
    background: #f4f7f1
}

.admin-stats-overview {
    margin: 18px 0 28px;
    padding: 22px 24px;
    background: #edf1df;
    border: 1px solid #dfe6cf;
    border-radius: 16px
}

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

.admin-overview-heading h2,.admin-list-heading h2 {
    font-size: 20px;
    margin: 4px 0 0;
    letter-spacing: -.4px
}

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

.admin-overview-grid>div {
    background: #fff;
    border: 1px solid #dfe6cf;
    border-radius: 11px;
    padding: 13px 16px
}

.admin-overview-grid small {
    display: block;
    color: var(--muted);
    font-size: 11px
}

.admin-overview-grid strong {
    display: block;
    margin-top: 5px;
    font-size: 23px;
    color: var(--ink)
}

.admin-stats-overview>.micro {
    margin: 14px 0 0
}

.admin-list-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 22px 0 12px
}

.admin-list-heading h2 {
    margin: 0
}

.admin-list-heading .micro {
    margin: 0
}

.admin-customer-list {
    display: grid;
    gap: 10px
}

.admin-customer-row {
    padding: 15px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 13px
}

.admin-customer-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px
}

.admin-customer-info h3 {
    margin: 0;
    font-size: 16px
}

.admin-customer-info p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
    overflow-wrap: anywhere
}

.admin-customer-badges {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 8px;
    border: 1px solid var(--line);
    border-radius: 20px;
    color: var(--muted);
    font-size: 10px;
    white-space: nowrap
}

.admin-badge.is-active {
    background: #edf3e6;
    color: #536f3c;
    border-color: #dae6ce
}

.admin-badge.is-suspended {
    background: #fff0ed;
    color: #9a4337;
    border-color: #f1d2cc
}

.admin-customer-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px
}

.admin-customer-actions form {
    margin: 0
}

.admin-customer-tools {
    margin-top: 12px;
    border-top: 1px solid var(--line);
    padding-top: 9px
}

.admin-customer-tools summary {
    color: var(--muted);
    font-size: 12px;
    cursor: pointer
}

.admin-customer-tools[open] summary {
    margin-bottom: 12px
}

.admin-customer-tools .formgrid {
    margin-top: 10px
}

.admin-assignment,.admin-customer-extra {
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid var(--line)
}

.admin-assignment .field {
    margin: 9px 0
}

.admin-bottom-grid {
    display: grid;
    grid-template-columns: minmax(240px,.75fr) minmax(0,1.5fr);
    gap: 14px;
    margin-top: 24px
}

.admin-bottom-grid>.panel {
    margin: 0
}

.admin-create .field {
    margin-top: 12px
}

.admin-activity-panel {
    min-width: 0
}

.admin-activity-list {
    max-height: 340px;
    overflow: auto
}

.admin-activity-row {
    display: grid;
    grid-template-columns: 10px minmax(0,1fr) auto;
    align-items: center;
    gap: 11px;
    padding: 10px 2px;
    border-top: 1px solid var(--line)
}

.admin-activity-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c9933c
}

.admin-activity-row strong {
    display: block;
    font-size: 12px
}

.admin-activity-row small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px
}

.admin-activity-row time {
    font-size: 10px;
    color: var(--muted);
    white-space: nowrap
}

.admin-pagination {
    justify-content: space-between;
    margin: 16px 0
}

.admin-pagination:empty {
    display: none
}

@media(max-width: 700px) {
    .admin-stats-overview {
        padding:18px;
        margin-bottom: 22px
    }

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

    .admin-overview-grid {
        gap: 7px
    }

    .admin-overview-grid>div {
        padding: 11px 10px
    }

    .admin-overview-grid small {
        font-size: 10px
    }

    .admin-overview-grid strong {
        font-size: 20px
    }

    .admin-list-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px
    }

    .admin-customer-row {
        padding: 14px
    }

    .admin-customer-info {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px
    }

    .admin-customer-badges {
        justify-content: flex-start
    }

    .admin-customer-actions {
        flex-wrap: wrap
    }

    .admin-customer-actions .button {
        padding: 8px 10px
    }

    .admin-customer-actions form {
        display: inline-flex
    }

    .admin-bottom-grid {
        grid-template-columns: 1fr
    }

    .admin-activity-list {
        max-height: 280px
    }
}

@media(max-width: 380px) {
    .admin-overview-grid {
        grid-template-columns:1fr
    }

    .admin-customer-actions {
        gap: 6px
    }

    .admin-customer-actions .button {
        font-size: 11px
    }
}

.demo-page header {
    justify-content: center
}

.demo-sample-name {
    margin: -8px 0 8px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase
}

/* Admin clienti: azioni allineate, spazi regolari e azione distruttiva distinta */
.admin-customer-actions {
    gap: 9px;
    flex-wrap: wrap
}

.admin-customer-actions form {
    display: inline-flex;
    align-items: center
}

.admin-customer-actions .button,.admin-customer-tools .button,.admin-customer-extra .button,.admin-assignment .button {
    min-height: 40px;
    padding: 9px 14px;
    white-space: normal;
    line-height: 1.25
}

.admin-customer-tools {
    margin-top: 14px;
    padding-top: 12px
}

.admin-customer-tools .formgrid {
    gap: 18px;
    margin-top: 14px;
    align-items: start
}

.admin-customer-tools .field {
    margin: 0 0 12px
}

.admin-customer-tools .field input,.admin-customer-tools .field select {
    margin-top: 7px
}

.admin-customer-tools form {
    margin: 0
}

.admin-customer-tools .micro {
    margin: 8px 0 12px
}

.admin-delete-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
    padding: 14px 16px;
    background: #fff8f6;
    border: 1px solid #f0d8d2;
    border-radius: 11px
}

.admin-delete-area strong {
    font-size: 13px;
    color: #873d32
}

.admin-delete-area p {
    margin: 4px 0 0;
    font-size: 11px;
    line-height: 1.5;
    max-width: 620px
}

.admin-delete-form {
    margin: 0;
    flex: 0 0 auto
}

.button.danger {
    background: #fff;
    color: #963f34;
    border-color: #e9beb6
}

.button.danger:hover {
    background: #fff0ed
}

.admin-pagination {
    display: flex;
    gap: 12px
}

.admin-pagination .button {
    min-width: 132px
}

@media(max-width: 700px) {
    .admin-customer-actions {
        gap:8px
    }

    .admin-customer-actions .button {
        min-height: 40px;
        padding: 9px 12px
    }

    .admin-customer-tools .formgrid {
        gap: 12px
    }

    .admin-delete-area {
        align-items: stretch;
        flex-direction: column;
        gap: 12px
    }

    .admin-delete-form,.admin-delete-form .button {
        width: 100%
    }

    .admin-pagination {
        gap: 8px
    }

    .admin-pagination .button {
        min-width: 0;
        flex: 1
    }
}
