:root {
    --font-system: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    --red: #bb2025;
    --gold: #f3bf56;
    --ink: #30251f;
    --muted: #83776e;
    --cream: #fcf8f1;
    --line: #eee5da
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: #efe8dc;
    color: var(--ink);
    font-family: var(--font-system);
    display: flex;
    justify-content: center;
    gap: 100px;
    padding: 40px;
    min-height: 100vh
}

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

button,
a {
    -webkit-tap-highlight-color: transparent
}

button {
    cursor: pointer;
    border: 0
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--gold)
}

button:disabled {
    opacity: .45;
    cursor: default
}

a {
    color: inherit
}

.studio {
    width: 380px;
    align-self: center
}

.brand img {
    width: 155px;
    margin-bottom: 50px
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--red);
    font-weight: 700
}

h1,
h2,
h3,
p {
    margin: 0
}

h1 {
    font-family: var(--font-system);
    font-size: 44px;
    line-height: 1.18;
    margin: 20px 0
}

p {
    line-height: 1.6
}

.studio>p {
    color: var(--muted);
    font-size: 16px
}

.switch {
    display: flex;
    background: #e4dbce;
    padding: 5px;
    border-radius: 12px;
    margin: 35px 0 20px
}

.switch button {
    padding: 13px;
    background: none;
    border-radius: 8px;
    flex: 1;
    font-size: 13px
}

.switch .active {
    background: white;
    box-shadow: 0 2px 8px #0001
}

.studio small {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.9
}

#shell {
    width: 420px;
    height: 850px;
    border: 8px solid #332b27;
    border-radius: 48px;
    background: var(--cream);
    overflow: hidden;
    box-shadow: 0 30px 70px #48362425;
    position: relative;
    display: flex;
    flex-direction: column
}

.status {
    display: flex;
    justify-content: space-between;
    padding: 16px 25px 10px;
    font-size: 11px;
    background: var(--cream)
}

#screen {
    flex: 1;
    overflow: auto;
    padding-bottom: 20px;
    scrollbar-width: none
}

header {
    padding: 14px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

header img {
    width: 91px
}

header small {
    font-size: 10px;
    color: var(--muted)
}

.pickup {
    padding: 10px 22px 18px;
    font-size: 12px;
    display: flex;
    justify-content: space-between
}

.pickup strong {
    display: block;
    margin-top: 4px;
    font-size: 13px
}

.open {
    color: #39734d;
    background: #e8eee2;
    border-radius: 20px;
    padding: 7px 10px;
    height: 27px;
    font-size: 10px
}

.hero {
    margin: 0 18px 22px;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    height: 223px;
    background: #552c23
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .65
}

.hero>div {
    position: absolute;
    inset: 0;
    padding: 24px;
    background: linear-gradient(90deg, #3e1d19ba, transparent)
}

.hero small {
    color: #f9d68a;
    letter-spacing: 2px;
    font-size: 9px
}

.hero h2 {
    color: white;
    font: 30px/1.1 var(--font-system);
    margin: 12px 0 16px
}

.hero button {
    background: var(--gold);
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold
}

.section {
    padding: 0 22px
}

.heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 22px 0 15px
}

.heading h2,
.page-title {
    font: 25px var(--font-system)
}

.heading button {
    background: none;
    color: var(--red);
    font-size: 11px
}

.categories {
    display: flex;
    gap: 8px;
    overflow: auto;
    padding: 0 22px 5px;
    scrollbar-width: none
}

.chip {
    white-space: nowrap;
    background: #fff;
    border: 1px solid var(--line);
    padding: 10px 15px;
    border-radius: 22px;
    font-size: 11px
}

.chip.active {
    background: var(--red);
    border-color: var(--red);
    color: white
}

.cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px
}

.card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 17px;
    overflow: hidden;
    position: relative
}

.card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
    cursor: pointer
}

.card .info {
    padding: 12px
}

.card h3 {
    font-size: 13px;
    margin-bottom: 5px
}

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

.card .price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 13px;
    font-size: 13px;
    font-weight: 700
}

.add {
    border-radius: 50%;
    width: 29px;
    height: 29px;
    background: #fbefdc;
    color: var(--red);
    font-size: 22px
}

.fav {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: white;
    color: var(--red);
    font-size: 18px
}

.banner {
    background: #f4e9d6;
    border-radius: 16px;
    padding: 18px;
    margin: 22px 0;
    font-size: 12px
}

.banner b {
    display: block;
    font: 19px var(--font-system);
    margin-bottom: 6px
}

nav {
    display: flex;
    border-top: 1px solid var(--line);
    background: #fffefb;
    padding: 12px 8px 20px;
    justify-content: space-around
}

nav button {
    background: none;
    color: var(--muted);
    font-size: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    position: relative
}

nav button span {
    font-size: 21px
}

nav button.active {
    color: var(--red)
}

.titlebar {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 22px
}

.back {
    background: white;
    border: 1px solid var(--line);
    border-radius: 50%;
    width: 34px;
    height: 34px
}

.search {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    margin-bottom: 16px
}

.primary {
    background: var(--red);
    color: white;
    border-radius: 13px;
    padding: 15px;
    width: 100%;
    font-weight: 600;
    font-size: 13px;
    margin-top: 15px
}

.secondary {
    background: #f3e9dc;
    color: var(--ink);
    border-radius: 12px;
    padding: 12px;
    width: 100%;
    margin-top: 10px
}

.detail-img {
    width: 100%;
    height: 255px;
    object-fit: cover
}

.detail h2 {
    font: 29px var(--font-system);
    margin: 22px 0 9px
}

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

.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0
}

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

.qty button {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: #f1e7d8;
    font-size: 18px
}

.cart-row {
    display: flex;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line)
}

.cart-row img {
    width: 74px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px
}

.cart-row h3 {
    font-size: 13px;
    margin-bottom: 8px
}

.cart-row>div {
    flex: 1
}

.totals {
    margin-top: 20px;
    padding: 15px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px
}

.totals .row {
    font-size: 12px;
    padding: 7px 0
}

.total {
    border-top: 1px solid var(--line);
    font-weight: 700;
    margin-top: 8px;
    padding-top: 14px !important
}

.empty {
    text-align: center;
    padding: 60px 20px
}

.empty>span {
    font-size: 42px
}

.empty h2 {
    font: 25px var(--font-system);
    margin: 15px 0
}

label {
    display: block;
    font-size: 11px;
    margin: 15px 0 6px
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #ddd3c5;
    border-radius: 10px;
    padding: 13px;
    background: white;
    color: var(--ink);
    min-width: 0
}

textarea {
    resize: vertical
}

.fields {
    display: flex;
    gap: 12px
}

.fields>div {
    flex: 1;
    min-width: 0
}

.tabs {
    display: flex;
    gap: 8px;
    margin: 15px 0
}

.tabs button {
    flex: 1;
    padding: 11px;
    border-radius: 10px;
    background: #f0e6d8;
    font-size: 11px
}

.tabs .active {
    background: var(--red);
    color: white
}

.panel {
    background: white;
    border: 1px solid var(--line);
    padding: 17px;
    border-radius: 15px;
    margin: 14px 0
}

.panel h3 {
    font-size: 15px
}

.badge {
    font-size: 10px;
    color: #3e7048;
    background: #edf4e7;
    border-radius: 15px;
    padding: 6px 10px;
    display: inline-block
}

.step {
    padding: 15px 0 15px 22px;
    border-left: 2px solid #ddd4c8;
    margin-left: 10px;
    color: var(--muted);
    font-size: 12px;
    position: relative
}

.step:before {
    content: '';
    position: absolute;
    left: -6px;
    top: 19px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd4c8
}

.step.done {
    border-color: var(--red);
    color: var(--ink)
}

.step.done:before {
    background: var(--red)
}

.step small {
    display: block;
    margin-top: 5px
}

.error {
    color: var(--red);
    font-size: 12px;
    padding: 10px 0
}

dialog {
    width: min(94vw, 480px);
    border: 0;
    border-radius: 22px;
    padding: 25px;
    color: var(--ink)
}

dialog::backdrop {
    background: #20150b88
}

dialog h2 {
    font: 25px var(--font-system);
    margin-bottom: 15px
}

#toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    padding: 13px 22px;
    background: #30251f;
    color: white;
    border-radius: 25px;
    font-size: 13px;
    z-index: 20;
    display: none
}

.admin#shell {
    width: min(1050px, 75vw);
    height: 850px;
    border: 1px solid #ddd3c5;
    border-radius: 22px
}

.admin .status,
.admin nav {
    display: none
}

.admin #screen {
    padding: 0
}

.admin-header {
    background: white;
    padding: 22px 30px;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center
}

.admin-header img {
    width: 85px
}

.admin-body {
    padding: 25px 30px
}

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

.metrics .panel b {
    font-size: 28px;
    display: block;
    margin-top: 10px
}

.admin-tabs {
    display: flex;
    gap: 8px;
    margin: 25px 0;
    flex-wrap: wrap
}

.admin-tabs button {
    padding: 12px 20px;
    border-radius: 10px;
    background: #e9dfd1
}

.admin-tabs .active {
    background: var(--red);
    color: white
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 12px
}

td,
th {
    padding: 14px 12px;
    text-align: left;
    border: 1px solid var(--line)
}

th {
    background: #f3ebdf;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px
}

td button {
    background: #f3e9dc;
    padding: 8px 10px;
    border-radius: 7px
}

.table-wrap {
    overflow: auto
}

.admin .studio {
    display: none
}

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

body:has(.admin) .studio {
    width: 240px
}

body:has(.admin) {
    gap: 35px;
    padding: 30px
}

body:has(.admin) .studio h1 {
    font-size: 30px
}

body:has(.admin) .brand img {
    margin-bottom: 20px
}

@media(max-width:900px) {
    body {
        gap: 35px;
        padding: 20px
    }

    .studio {
        width: 260px
    }

    .studio h1 {
        font-size: 34px
    }

    body:has(.admin) {
        display: block
    }

    body:has(.admin) .studio {
        width: auto;
        margin-bottom: 20px
    }

    body:has(.admin) .studio h1,
    body:has(.admin) .studio>p,
    body:has(.admin) .studio .brand,
    body:has(.admin) .studio>.eyebrow,
    body:has(.admin) .studio>small {
        display: none
    }

    .admin#shell {
        width: 100%;
        height: 85vh
    }
}

@media(max-width:650px) {
    body {
        padding: 0;
        display: block;
        background: var(--cream)
    }

    .studio {
        width: auto;
        padding: 9px 16px;
        background: #ede4d6
    }

    .studio .brand,
    .studio h1,
    .studio>p,
    .studio>.eyebrow,
    .studio>small {
        display: none
    }

    .switch {
        margin: 0;
        max-width: 400px;
        margin: auto;
        padding: 3px
    }

    .switch button {
        padding: 8px
    }

    #shell {
        width: 100%;
        height: calc(100dvh - 54px);
        border: 0;
        border-radius: 0;
        box-shadow: none
    }

    .status {
        display: none
    }

    .admin-body {
        padding: 18px
    }

    .admin-header {
        padding: 15px
    }

    .metrics {
        gap: 7px
    }

    .metrics .panel {
        padding: 12px
    }

    .metrics .panel b {
        font-size: 21px
    }

    body:has(.admin) {
        padding: 0
    }

    body:has(.admin) .studio {
        margin: 0
    }

    .admin#shell {
        height: calc(100dvh - 54px);
        border: 0;
        border-radius: 0
    }
}

.hours-strip {
    margin: 0 22px 16px;
    font-size: 11px;
    line-height: 1.6;
    color: var(--muted)
}

.notice-banner {
    background: #fff0cf;
    border-bottom: 1px solid #edcf91;
    padding: 10px 16px;
    flex-shrink: 0
}

.notice-banner button {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    width: 100%;
    background: none;
    color: var(--ink);
    padding: 2px
}

.notice-banner b {
    display: block;
    font-size: 11px
}

.notice-banner small {
    display: block;
    font-size: 10px;
    margin-top: 4px
}

.notification-dot {
    background: var(--red);
    color: white;
    border-radius: 50%;
    min-width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    font-size: 11px
}

.store-update {
    border-top: 1px solid var(--line);
    margin-top: 12px;
    padding-top: 12px;
    font-size: 12px
}

.store-update p {
    margin: 7px 0
}

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

/* Shared spacing and type rhythm for the customer app and owner workspace. */
:root {
    --ink: #302723;
    --muted: #776e67;
    --line: #eee7de;
    --cream: #fdfaf5
}

body {
    background: radial-gradient(ellipse at 75% 25%, #fff9ec 0, transparent 55%), #eee7dc
}

.studio h1 {
    font-weight: 650;
    letter-spacing: -1.8px;
    line-height: 1.12
}

.studio>p {
    line-height: 1.8
}

.studio .eyebrow {
    font-size: 10px;
    letter-spacing: 2.4px
}

.brand img {
    width: 145px
}

.switch {
    margin-top: 32px
}

.switch button {
    font-weight: 600
}

.status {
    padding-top: 17px
}

header {
    padding: 14px 23px 10px
}

header img {
    width: 101px
}

.brand-caption {
    text-align: right
}

.brand-caption b {
    display: block;
    font-size: 12px;
    font-weight: 600
}

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

.pickup {
    padding: 14px 23px 15px;
    border-top: 1px solid var(--line);
    margin-top: 7px
}

.pickup strong {
    font-size: 13px;
    margin-top: 5px
}

.open {
    font-size: 10px;
    font-weight: 600;
    height: auto;
    align-self: center;
    padding: 7px 11px
}

.hours-strip {
    margin: 0 20px 20px;
    padding: 13px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f4eee4;
    border: 1px solid #ede3d4;
    border-radius: 14px;
    gap: 12px
}

.hours-strip>div:first-child {
    display: flex;
    align-items: center;
    gap: 9px
}

.hours-strip>div:last-child {
    border-left: 1px solid #dfd4c4;
    padding-left: 15px
}

.hours-strip b {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--ink)
}

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

.hours-icon svg {
    width: 21px;
    height: 21px;
    color: #aa7d38
}

.hero {
    margin: 0 20px 24px;
    height: 218px;
    border-radius: 19px
}

.hero>div {
    padding: 25px
}

.hero h2 {
    font-weight: 650;
    font-size: 30px;
    letter-spacing: -.8px;
    line-height: 1.12
}

.hero small {
    font-weight: 600;
    letter-spacing: 1.8px
}

.hero button {
    padding: 11px 16px
}

.section {
    padding-left: 22px;
    padding-right: 22px
}

.heading {
    margin: 24px 0 16px;
    gap: 12px
}

.heading h2,
.page-title {
    font-weight: 650;
    font-size: 23px;
    letter-spacing: -.6px
}

.heading button {
    font-weight: 600
}

.categories {
    padding-bottom: 8px;
    gap: 8px
}

.chip {
    padding: 11px 16px;
    font-size: 12px;
    font-weight: 500
}

.cards {
    gap: 14px
}

.card {
    border-radius: 16px;
    box-shadow: 0 3px 10px #40240c04
}

.card img {
    height: 132px
}

.card .info {
    padding: 13px
}

.card h3 {
    font-size: 13px;
    line-height: 1.35;
    font-weight: 650;
    min-height: 18px
}

.card small {
    font-size: 11px
}

.card .price {
    margin-top: 13px;
    font-size: 14px
}

.add {
    width: 33px;
    height: 33px;
    border-radius: 11px;
    background: #bb2025;
    color: white;
    font-size: 22px
}

.fav {
    width: 30px;
    height: 30px;
    box-shadow: 0 2px 9px #0001
}

.banner {
    padding: 20px;
    border: 1px solid #eaddc5;
    background: #f4ecde;
    line-height: 1.8
}

.banner b {
    font-size: 18px;
    font-weight: 650;
    letter-spacing: -.3px;
    margin-bottom: 8px
}

nav {
    padding: 10px 6px 21px;
    box-shadow: 0 -5px 20px #30251f04
}

nav button {
    min-width: 55px;
    min-height: 45px;
    font-size: 10px;
    gap: 5px;
    font-weight: 500
}

nav svg {
    width: 22px;
    height: 22px;
    display: block
}

nav button.active>span {
    background: #fbe8e4;
    border-radius: 12px;
    padding: 5px 12px;
    margin-top: -5px;
    margin-bottom: -5px
}

nav button>span {
    padding: 0 12px
}

.titlebar {
    padding: 20px 22px 18px;
    gap: 12px
}

.back {
    width: 36px;
    height: 36px;
    font-size: 23px;
    display: grid;
    place-items: center
}

.primary {
    padding: 16px;
    min-height: 49px;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 9px #bb202514
}

.secondary {
    padding: 14px;
    min-height: 45px;
    border: 1px solid #eae0d3;
    background: #f7f1e8;
    font-size: 13px;
    font-weight: 500
}

.panel {
    border-radius: 16px;
    padding: 18px;
    margin: 16px 0;
    box-shadow: 0 3px 12px #30251f03
}

.panel h3 {
    font-weight: 650;
    font-size: 15px;
    letter-spacing: -.2px
}

.panel p {
    margin-top: 6px
}

.muted {
    font-size: 12px;
    line-height: 1.7
}

.badge {
    font-size: 10px;
    font-weight: 600;
    padding: 7px 11px
}

.checkout-intro {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px
}

.checkout-intro p {
    font-size: 11px;
    line-height: 1.5;
    flex: 1
}

.location-card {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    background: #f5efe5
}

.location-icon {
    background: #fffaf1;
    border: 1px solid #e9ddc8;
    border-radius: 12px;
    padding: 11px;
    color: #a77933
}

.location-icon svg {
    display: block;
    width: 21px;
    height: 21px
}

.location-card p {
    font-size: 11px
}

.form-block {
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    margin: 19px 0
}

.block-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px
}

.block-title>span {
    height: 24px;
    width: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f7e8e3;
    color: var(--red);
    font-weight: 650;
    font-size: 11px
}

.block-title h3 {
    font-size: 16px;
    font-weight: 650;
    letter-spacing: -.3px
}

.summary-title {
    margin-top: 26px;
    margin-bottom: 0
}

.checkout-form label {
    font-size: 12px;
    font-weight: 500;
    margin: 17px 0 7px
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
    background: #fffefc;
    font-size: 14px;
    min-height: 46px;
    border-color: #e4dcd1;
    padding: 12px;
    border-radius: 10px
}

.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
    outline: 2px solid #d9ad6680;
    border-color: #bd965b
}

.tabs {
    background: #f4efe8;
    border-radius: 11px;
    padding: 4px;
    gap: 4px
}

.tabs button {
    background: transparent;
    font-size: 11px;
    min-height: 38px
}

.tabs .active {
    background: white;
    color: var(--red);
    box-shadow: 0 2px 6px #30251f0d;
    font-weight: 650
}

.pickup-block>p {
    font-size: 11px
}

.payment-block>p {
    background: #f6f1e9;
    border-radius: 9px;
    padding: 11px;
    font-size: 11px
}

.totals {
    padding: 18px;
    border-radius: 15px;
    margin-top: 15px
}

.totals .row {
    font-size: 13px;
    padding: 9px 0
}

.totals .total {
    font-size: 16px;
    padding-top: 17px !important;
    margin-top: 12px
}

.cart-row {
    padding: 19px 0;
    gap: 14px
}

.cart-row img {
    width: 80px;
    height: 87px
}

.cart-row h3 {
    font-size: 14px
}

.qty button {
    height: 34px;
    width: 34px;
    border: 1px solid #e6daca;
    background: #faf5ed
}

.confirmation-card {
    background: linear-gradient(130deg, #f5e7cc, #fffaf0);
    border-color: #e9d5b0;
    padding: 23px
}

.confirmation-card h2 {
    font-weight: 650 !important;
    letter-spacing: -.8px
}

.step {
    padding: 17px 0 18px 25px;
    font-size: 13px;
    margin-left: 13px
}

.step:before {
    top: 21px
}

.step small {
    font-size: 11px;
    line-height: 1.6
}

.notice-banner {
    background: #fff3d9;
    padding: 11px 17px;
    border-bottom: 1px solid #edd9af
}

.notice-banner button {
    gap: 11px
}

.notice-banner b {
    font-size: 12px;
    font-weight: 650
}

.notice-banner small {
    font-size: 11px;
    margin-top: 4px;
    line-height: 1.4
}

.notice-banner em {
    display: block;
    font-size: 10px;
    color: #936e32;
    font-style: normal;
    margin-top: 4px
}

.notification-dot {
    width: 35px;
    height: 35px;
    border-radius: 12px;
    background: #f4dfb5;
    color: #96651c;
    flex-shrink: 0
}

.notification-dot svg {
    width: 19px;
    height: 19px
}

.store-update {
    padding: 15px 0 0;
    margin-top: 15px
}

.store-update>b {
    font-size: 13px
}

.store-update p {
    font-size: 12px;
    line-height: 1.65
}

.store-update small {
    font-size: 10px
}

.admin#shell {
    background: #fbf8f3
}

.admin-header {
    padding: 23px 30px
}

.admin-body {
    padding: 26px 30px
}

.admin .heading h2 {
    font-size: 25px
}

.metrics {
    gap: 16px
}

.metrics .panel {
    padding: 21px;
    margin: 10px 0;
    background: white;
    border-top: 3px solid #e5c68e
}

.metrics .panel b {
    font-weight: 650;
    letter-spacing: -1px;
    margin-top: 10px
}

.metrics .panel .muted {
    font-size: 12px
}

.admin-tabs {
    gap: 6px;
    background: #ece5db;
    padding: 5px;
    border-radius: 12px;
    width: fit-content;
    margin: 25px 0 28px
}

.admin-tabs button {
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    padding: 12px 22px
}

.admin-tabs .active {
    background: white;
    color: var(--red);
    box-shadow: 0 2px 7px #30251f0b
}

.table-wrap {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white
}

table {
    font-size: 12px
}

th {
    background: #f5efe6;
    white-space: nowrap;
    font-size: 10px;
    padding: 15px 13px
}

td {
    padding: 17px 13px;
    vertical-align: middle;
    border-color: #efe8de;
    line-height: 1.7
}

td small {
    font-size: 10px;
    color: var(--muted)
}

td button {
    background: #f9f3ea;
    border: 1px solid #ebdfce;
    font-size: 11px;
    min-height: 34px
}

td select {
    font-size: 11px;
    padding: 10px;
    min-width: 130px
}

.admin-note {
    line-height: 1.7
}

dialog {
    padding: 26px;
    border: 1px solid #eadfce;
    box-shadow: 0 30px 100px #24180f33;
    max-height: 88dvh
}

dialog h2 {
    font-weight: 650;
    letter-spacing: -.6px;
    font-size: 24px
}

dialog>p {
    font-size: 13px
}

dialog .panel .panel {
    border: 0;
    padding: 0;
    box-shadow: none
}

dialog label {
    font-size: 12px;
    font-weight: 500
}

dialog input,
dialog select,
dialog textarea {
    font-size: 14px
}

.detail h2 {
    font-weight: 650;
    letter-spacing: -.8px
}

.search {
    font-size: 14px;
    padding: 15px;
    background: #fff;
    min-height: 48px
}

@media(max-width:650px) {
    .studio {
        padding: 8px 15px
    }

    .switch button {
        padding: 9px
    }

    .admin-body {
        padding: 20px 16px
    }

    .admin-header {
        padding: 17px 18px
    }

    .admin .heading {
        align-items: flex-start
    }

    .admin .heading h2 {
        font-size: 22px
    }

    .admin .heading>.chip {
        padding: 9px;
        font-size: 10px
    }

    .metrics {
        gap: 8px
    }

    .metrics .panel {
        padding: 13px 10px
    }

    .metrics .panel b {
        font-size: 22px
    }

    .metrics .panel .muted {
        font-size: 10px
    }

    .admin-tabs {
        width: 100%;
        gap: 2px
    }

    .admin-tabs button {
        flex: 1;
        padding: 11px 7px;
        font-size: 11px
    }

    .titlebar {
        padding-top: 22px
    }

    .notice-banner {
        padding: 11px 18px
    }
}

@media(prefers-reduced-motion:no-preference) {
    button {
        transition: background .16s, box-shadow .16s, transform .16s
    }

    button:active {
        transform: scale(.98)
    }
}

.pairing-section {
    margin: 24px 0
}

.pairing-section .heading h2 {
    font-size: 20px
}

.pairing-card {
    display: flex;
    gap: 14px;
    background: #fff9ee;
    border: 1px solid #ecdcc1;
    border-radius: 16px;
    padding: 14px;
    margin: 16px 0;
    align-items: flex-start
}

.pairing-card>img {
    width: 88px;
    height: 106px;
    object-fit: cover;
    border-radius: 11px;
    flex-shrink: 0
}

.pairing-card>div {
    flex: 1;
    min-width: 0
}

.pairing-card small {
    font-size: 8px;
    letter-spacing: .7px;
    font-weight: 650;
    color: #a16f30;
    line-height: 1.6;
    display: block
}

.pairing-card h3 {
    font-size: 15px;
    font-weight: 650;
    margin: 5px 0
}

.pairing-card p {
    font-size: 11px;
    line-height: 1.6;
    color: var(--muted);
    margin: 7px 0 12px
}

.pairing-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap
}

.pairing-action b {
    font-size: 14px
}

.pairing-action button {
    background: var(--red);
    color: white;
    font-size: 11px;
    padding: 10px 12px;
    border-radius: 9px;
    font-weight: 600;
    min-height: 36px
}

dialog .pairing-card>img {
    width: 100px;
    height: 130px
}

@media(max-width:420px) {
    dialog .pairing-card>img {
        width: 75px;
        height: 100px
    }

    .admin-tabs button {
        padding: 11px 5px;
        font-size: 10px
    }
}

.website-return {
    display: inline-block;
    font-size: 12px;
    text-decoration: none;
    color: var(--red);
    margin: 25px 0 0;
    font-weight: 600
}

.website-return:hover {
    text-decoration: underline
}

@media(max-width:650px) {
    .website-return {
        display: block;
        margin: 0 0 7px;
        font-size: 11px
    }

    .studio .website-return {
        display: block
    }

    .studio:has(.website-return)+#shell {
        height: calc(100dvh - 75px)
    }
}
/* Calm launch notice for temporarily suspended ordering. */
.ordering-suspended-dialog { width: min(440px, calc(100vw - 32px)); padding: 30px 26px; border: 1px solid #e9dfd0; border-radius: 24px; background: #fffdf9; box-shadow: 0 24px 90px #221a1840; text-align: center; }
.ordering-suspended-dialog .suspended-symbol { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: #f5e9d4; color: #86581e; font-size: 26px; }
.suspended-eyebrow { display: block; color: #86581e; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.ordering-suspended-dialog h2 { color: #30211c; font-size: 25px; line-height: 1.25; margin-bottom: 14px; }
.ordering-suspended-dialog > p { font-size: 15px; line-height: 1.6; color: #695f58; }
.ordering-suspended-dialog .suspended-opt-in { display: flex; align-items: center; gap: 12px; padding: 16px; margin: 22px 0 0; border: 1px solid #e5dbcb; border-radius: 14px; background: #fff; text-align: left; cursor: pointer; }
.ordering-suspended-dialog .suspended-opt-in input { width: 20px; height: 20px; flex-shrink: 0; margin: 0; accent-color: #86581e; }
.suspended-opt-in strong { font-size: 14px; color: #30211c; display: block; }
.suspended-opt-in small { display: block; color: #6e635a; font-size: 12px; margin-top: 4px; }
.ordering-suspended-dialog .suspended-feedback { min-height: 20px; font-size: 12px; color: #52624b; margin: 10px 0; }
.ordering-suspended-dialog .primary { width: 100%; border-radius: 12px; min-height: 48px; }
.ordering-suspended-dialog [hidden] { display: none !important; }

/* Ordering notice belongs to the phone, including its backdrop. */
#shell > .suspended-phone-overlay { position: absolute; inset: 0; z-index: 2100; display: flex; align-items: center; justify-content: center; padding: 16px; background: #30211c99; backdrop-filter: blur(3px); }
#shell > .suspended-phone-overlay[hidden] { display: none; }
.customer-app #shell .ordering-suspended-dialog { position: relative; inset: auto; transform: none; margin: 0; width: 100%; max-height: 100%; padding: 26px 20px; overflow-y: auto; }
.customer-app #shell .ordering-suspended-dialog h2 { font-size: 23px; }

/* All customer feedback is contained by the phone preview. */
#shell > .app-feedback-layer { position: absolute; inset: 0; z-index: 2100; display: flex; align-items: center; justify-content: center; padding: 16px; background: #30211c99; backdrop-filter: blur(3px); }
#shell > .app-feedback-layer[hidden] { display: none; }
.customer-app #shell .app-feedback-layer > dialog { position: relative; inset: auto; transform: none; margin: 0; width: 100%; max-height: 100%; overflow-y: auto; border-radius: 22px; padding: 24px 20px; }
.customer-app #shell .app-feedback-layer > dialog:not([open]) { display: none; }
.customer-app #shell > #toast { position: absolute; bottom: calc(88px + env(safe-area-inset-bottom)); left: 16px; right: 16px; transform: none; width: auto; max-width: none; z-index: 2300; padding: 13px 18px; border-radius: 14px; text-align: center; box-shadow: 0 8px 24px #30211c33; line-height: 1.45; overflow-wrap: anywhere; }
.customer-app #shell > #toast[hidden] { display: none !important; }

/* Center app confirmations prominently within the phone frame. */
.customer-app #shell > #toast {
    top: 50%;
    bottom: auto;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    width: calc(100% - 48px);
    max-width: 340px;
    padding: 22px 20px;
    border: 3px solid #fff;
    border-radius: 18px;
    background: #30251ff5;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    box-shadow: 0 16px 44px #20150b55, 0 0 0 1px #30251f33;
    pointer-events: none;
}
