.mgmt-shell .owner-page,.mgmt-shell .owner-publications-page{isolation:isolate}


/* ===== SOURCE: chapresto-owner.css ===== */

.owner-page { padding-bottom: 5rem; }
.owner-head { align-items: flex-start; gap: 1rem; }
.owner-kicker { color: #ef6c00; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.owner-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin: 1rem 0; }
.owner-stats article { background: #fff; border: 1px solid #f0e7df; border-radius: 18px; padding: 1rem; box-shadow: 0 10px 30px rgba(50, 35, 20, .06); }
.owner-stats strong { display: block; font-size: 1.6rem; color: #2d241d; }
.owner-stats span { color: #776b61; font-size: .9rem; }
.owner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1rem; }
.owner-restaurant-card { display: grid; gap: .85rem; }
.owner-card-top { display: flex; align-items: center; gap: .8rem; }
.owner-logo, .owner-food-thumb { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: #fff3e0; color: #df6100; font-weight: 900; flex: 0 0 auto; }
.owner-food-thumb { border-radius: 14px; background: #f7f0e8; color: #3b2d22; }
.owner-status-row { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.owner-badge { display: inline-flex; align-items: center; border-radius: 999px; padding: .28rem .55rem; font-size: .78rem; font-weight: 800; background: #f5f0eb; color: #69594b; }
.owner-badge.ok { background: #e8f5e9; color: #1b7f39; }
.owner-badge.warn { background: #fff8e1; color: #9d6500; }
.owner-badge.off { background: #f3f4f6; color: #69717d; }
.owner-badge.hot { background: #fff0ea; color: #d9470f; }
.owner-metrics { display: flex; gap: .8rem; flex-wrap: wrap; color: #776b61; font-size: .9rem; }
.owner-actions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.owner-empty { text-align: center; padding: 2rem; }
.owner-form { display: grid; gap: .8rem; }
.owner-form-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; }
.owner-section-title { margin-top: .7rem; padding-top: .8rem; border-top: 1px solid #f0e7df; font-weight: 900; color: #2d241d; }
.owner-checks { display: flex; flex-wrap: wrap; gap: .65rem; }
.owner-checks.vertical { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.owner-checks label { display: inline-flex; align-items: center; gap: .45rem; background: #faf7f3; border: 1px solid #f0e7df; border-radius: 14px; padding: .55rem .7rem; font-weight: 700; }
.owner-form-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .5rem; }
.owner-tabs-inline { display: flex; flex-wrap: wrap; gap: .5rem; padding: .7rem; background: #faf7f3; border-radius: 16px; }
.owner-tabs-inline a { text-decoration: none; color: #3a2a1e; font-weight: 800; padding: .45rem .7rem; border-radius: 999px; background: #fff; }
.owner-layout-two { display: grid; grid-template-columns: minmax(280px, 390px) minmax(0, 1fr); gap: 1rem; align-items: start; }
.owner-layout-two.orders { grid-template-columns: minmax(290px, 430px) minmax(300px, 1fr); }
.owner-sticky-form { position: sticky; top: 1rem; }
.owner-list-stack { display: grid; gap: .75rem; }
.owner-menu-row, .owner-promo-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .8rem; align-items: center; }
.owner-menu-main { display: flex; gap: .75rem; align-items: flex-start; min-width: 0; }
.owner-menu-main h3, .owner-promo-row h3 { margin: 0 0 .2rem; }
.owner-menu-main p, .owner-promo-row p { margin: 0 0 .45rem; color: #776b61; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.owner-menu-price { display: grid; justify-items: end; gap: .2rem; }
.owner-menu-price span { color: #776b61; font-size: .86rem; }
.owner-row-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .45rem; }
.cr-btn.danger, .cr-btn-light.danger { color: #b91c1c; border-color: #fee2e2; }
.owner-filter-bar { display: flex; gap: .5rem; overflow-x: auto; padding: .2rem 0 1rem; }
.owner-filter { border: 1px solid #f0e7df; background: #fff; border-radius: 999px; padding: .55rem .8rem; font-weight: 800; color: #59483a; white-space: nowrap; }
.owner-filter.active { background: #2d241d; color: #fff; border-color: #2d241d; }
.owner-order-row { padding: 0; overflow: hidden; }
.owner-order-row.selected { outline: 2px solid #ef6c00; }
.owner-order-open { border: 0; background: transparent; width: 100%; text-align: left; padding: 1rem; display: flex; justify-content: space-between; gap: .8rem; cursor: pointer; color: inherit; }
.owner-order-open h3 { margin: 0 0 .25rem; }
.owner-order-open p { margin: .15rem 0; color: #776b61; }
.owner-order-open div:last-child { text-align: right; display: grid; gap: .35rem; justify-items: end; }
.owner-order-detail { position: sticky; top: 1rem; }
.owner-items-mini { display: grid; gap: .45rem; margin: 1rem 0; }
.owner-items-mini div, .owner-total-line { display: flex; justify-content: space-between; gap: .7rem; }
.owner-total-line { padding: .35rem 0; border-top: 1px solid #f0e7df; }
.owner-total-line.final { font-size: 1.1rem; font-weight: 900; }
.owner-note { background: #faf7f3; border-radius: 16px; padding: .85rem; margin: .85rem 0; }
.owner-note p { margin: .3rem 0 0; color: #67584b; }
.owner-status-form { display: grid; gap: .6rem; margin-top: 1rem; }
.owner-date-box { display: grid; justify-items: center; border: 1px solid #f0e7df; border-radius: 14px; padding: .55rem .75rem; color: #776b61; }
.owner-date-box strong { color: #2d241d; }
.cr-input.large { min-height: 110px; }
.cr-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }

@media (max-width: 850px) {
    .owner-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .owner-layout-two, .owner-layout-two.orders { grid-template-columns: 1fr; }
    .owner-sticky-form, .owner-order-detail { position: static; }
    .owner-menu-row, .owner-promo-row { grid-template-columns: 1fr; }
    .owner-menu-price, .owner-row-actions { justify-items: start; justify-content: flex-start; }
    .owner-form-head { flex-direction: column; }
    .owner-checks.vertical { grid-template-columns: 1fr; }
    .cr-three { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .owner-stats { grid-template-columns: 1fr; }
    .owner-actions-grid { grid-template-columns: 1fr; }
    .owner-order-open { flex-direction: column; }
    .owner-order-open div:last-child { text-align: left; justify-items: start; }
}

/* Compact owner profile/settings pages */
.owner-admin-form-page {
    padding-bottom: 4rem;
}

.owner-admin-form-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0 .85rem;
}

.owner-admin-form-hero h1 {
    margin: .2rem 0 .3rem;
    color: #201b18;
    font-size: clamp(1.85rem, 3vw, 2.75rem);
    line-height: .98;
    letter-spacing: -.05em;
}

.owner-admin-form-hero p {
    max-width: 640px;
    margin: 0;
    color: #736960;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.35;
}

.owner-admin-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr);
    gap: .85rem;
    align-items: start;
}

.owner-admin-form-grid.single {
    grid-template-columns: minmax(0, 620px);
}

.owner-admin-panel {
    padding: 1rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(70, 45, 25, .10);
    box-shadow: 0 12px 34px rgba(45, 30, 18, .06);
}

.owner-admin-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .8rem;
}

.owner-admin-panel-head h2 {
    margin: .15rem 0 0;
    color: #1f1814;
    font-size: 1.15rem;
    line-height: 1;
    font-weight: 1000;
}

.owner-admin-form {
    display: grid;
    gap: .6rem;
}

.owner-admin-form label {
    color: #201915;
    font-size: .8rem;
    font-weight: 950;
}

.owner-admin-form .cr-input {
    min-height: 40px;
    border-radius: 13px;
    font-size: .9rem;
}

.owner-admin-two-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
}

.owner-admin-two-cols > div {
    display: grid;
    gap: .6rem;
}

.owner-role-pill,
.owner-panel-icon {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff0e6;
    color: #bf4c14;
    padding: 0 .75rem;
    font-size: .78rem;
    font-weight: 1000;
}

.owner-panel-icon {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 13px;
}

.owner-settings-info {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: .65rem;
    padding: .75rem;
    border-radius: 14px;
    background: #fff8f2;
    border: 1px solid rgba(226, 98, 34, .10);
}

.owner-settings-info i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #fff;
    color: #d85b1f;
}

.owner-settings-info p {
    margin: 0;
    color: #675f58;
    font-size: .88rem;
    line-height: 1.4;
    font-weight: 700;
}

@media (max-width: 860px) {
    .owner-admin-form-hero,
    .owner-admin-form-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .owner-admin-two-cols {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Final compact admin density for owner sub-pages
   ========================================================= */
.owner-page,
.cr-page.owner-page {
    padding-top: 14px !important;
    padding-bottom: 42px !important;
}

.cr-page-head.owner-head,
.owner-publications-hero {
    min-height: auto !important;
    padding: 14px 0 12px !important;
    margin-bottom: 10px !important;
    align-items: center !important;
}

.cr-page-head.owner-head h1,
.owner-publications-hero h1 {
    font-size: clamp(26px, 3vw, 38px) !important;
    line-height: 1 !important;
    margin: 4px 0 6px !important;
}

.cr-page-head.owner-head p,
.owner-publications-hero p {
    max-width: 700px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    margin: 0 !important;
}

.owner-publications-actions,
.owner-publications-hero-actions {
    gap: 8px !important;
}

.owner-publications-actions .cr-btn,
.owner-layout-two .cr-btn,
.owner-row-actions .cr-btn,
.owner-publication-actions .cr-btn,
.owner-publication-drawer-footer .cr-btn {
    min-height: 38px !important;
    height: 38px !important;
    padding: 0 12px !important;
    border-radius: 13px !important;
    font-size: 12px !important;
}

.owner-layout-two {
    grid-template-columns: minmax(300px, 390px) minmax(0, 1fr) !important;
    gap: 12px !important;
}

.owner-layout-two.orders {
    grid-template-columns: minmax(300px, 430px) minmax(0, 1fr) !important;
}

.cr-card.owner-form,
.owner-sticky-form,
.owner-promo-row,
.owner-publication-card,
.owner-publications-toolbar,
.owner-publication-drawer {
    border-radius: 16px !important;
    box-shadow: 0 9px 26px rgba(45, 30, 18, .055) !important;
}

.cr-card.owner-form {
    padding: 12px !important;
    gap: 8px !important;
}

.owner-form h2,
.owner-form h3 {
    font-size: 16px !important;
    margin: 0 0 6px !important;
}

.owner-form label,
.owner-publication-form label {
    font-size: 12px !important;
    font-weight: 900 !important;
}

.owner-form .cr-input,
.owner-publication-form .cr-input,
.owner-layout-two .cr-input {
    min-height: 38px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    padding: 8px 10px !important;
}

.owner-form textarea.cr-input,
.owner-publication-form textarea.cr-input {
    min-height: 76px !important;
}

.owner-checks {
    gap: 6px !important;
}

.owner-checks label {
    min-height: 36px !important;
    padding: 7px 9px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
}

.owner-list-stack {
    gap: 8px !important;
}

.owner-promo-row {
    padding: 12px !important;
    gap: 10px !important;
}

.owner-promo-row h3,
.owner-publication-body h3 {
    font-size: 15px !important;
    line-height: 1.15 !important;
}

.owner-promo-row p,
.owner-publication-body p {
    font-size: 12px !important;
    line-height: 1.35 !important;
}

.owner-date-box {
    padding: 7px 9px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
}

.owner-publications-toolbar {
    padding: 10px !important;
    margin-bottom: 12px !important;
    gap: 10px !important;
}

.owner-publications-stats {
    gap: 8px !important;
}

.owner-publications-stats article {
    min-width: 98px !important;
    padding: 9px 12px !important;
    border-radius: 14px !important;
}

.owner-publications-stats strong {
    font-size: 21px !important;
}

.owner-publications-stats span {
    font-size: 11px !important;
}

.owner-publications-search {
    height: 42px !important;
    border-radius: 14px !important;
    padding: 0 12px !important;
}

.owner-publications-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

.owner-publication-card {
    overflow: hidden !important;
}

.owner-publication-image {
    height: 150px !important;
}

.owner-publication-body {
    padding: 11px !important;
}

.owner-publication-actions {
    gap: 7px !important;
}

.owner-publication-drawer {
    width: min(760px, 100%) !important;
}

.owner-publication-drawer-head {
    padding: 12px 14px 10px !important;
}

.owner-publication-drawer-head h2 {
    font-size: clamp(21px, 2.5vw, 30px) !important;
    margin: 3px 0 4px !important;
}

.owner-publication-drawer-head p {
    font-size: 12px !important;
    line-height: 1.3 !important;
}

.owner-publication-form {
    gap: 10px !important;
    padding: 12px 14px 76px !important;
}

.owner-publication-form-section {
    padding: 12px !important;
    border-radius: 16px !important;
}

.owner-publication-form-section h3 {
    font-size: 17px !important;
    margin-bottom: 8px !important;
}

.owner-publication-preview {
    min-height: 140px !important;
    border-radius: 14px !important;
}

.owner-publication-drawer-footer {
    padding: 9px 14px !important;
    gap: 8px !important;
}

@media (max-width: 1180px) {
    .owner-publications-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 850px) {
    .owner-layout-two,
    .owner-layout-two.orders {
        grid-template-columns: 1fr !important;
    }

    .owner-publications-hero,
    .cr-page-head.owner-head,
    .owner-publications-toolbar {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .owner-publications-actions .cr-btn,
    .owner-publications-search {
        width: 100% !important;
    }

    .owner-publications-grid {
        grid-template-columns: 1fr !important;
    }
}




/* ===== SOURCE: chapresto-owner-menu-fr-en.css ===== */

/* =========================================================
   ChapResto Owner Menu FR/EN
   Load this file after chapresto-owner.css
   ========================================================= */

.owner-menu-page-v2 {
    --owner-orange: #df6b27;
    --owner-orange-dark: #b95016;
    --owner-ink: #201b18;
    --owner-muted: #706862;
    --owner-border: rgba(85, 55, 35, .12);
    --owner-soft: #fff7f0;
}

.owner-menu-head-v2 p {
    max-width: 760px;
}

.owner-menu-layout-v2 {
    align-items: start;
}

.owner-menu-form-v2 {
    overflow: visible;
}

.owner-menu-form-head-v2 {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
}

.owner-edit-pill {
    height: 34px;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: 0 .8rem;
    border-radius: 999px;
    background: #fff0e6;
    color: var(--owner-orange-dark);
    font-size: .78rem;
    font-weight: 950;
    white-space: nowrap;
}

.owner-lang-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.owner-lang-card {
    min-width: 0;
    border: 1px solid var(--owner-border);
    border-radius: 24px;
    padding: 1rem;
    background: linear-gradient(180deg, #fff, #fffaf6);
    box-shadow: 0 14px 32px rgba(40, 25, 16, .045);
}

.owner-lang-card-head {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1rem;
}

.owner-lang-card-head span {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #fff0e6;
    color: var(--owner-orange-dark);
    font-weight: 1000;
    font-size: .82rem;
}

.owner-lang-card-head.en span {
    background: #eef6ff;
    color: #1a5796;
}

.owner-lang-card-head strong {
    font-weight: 1000;
    color: var(--owner-ink);
}

.owner-textarea-sm {
    min-height: 86px !important;
    resize: vertical;
}

.owner-textarea-lg {
    min-height: 132px !important;
    resize: vertical;
}

.owner-field-help {
    display: block;
    margin-top: .35rem;
    color: var(--owner-muted);
    font-size: .78rem;
    line-height: 1.35;
}

.owner-price-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .85rem;
}

.owner-checks-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem !important;
}

.owner-checks-grid label {
    min-height: 44px;
    display: flex !important;
    align-items: center;
    gap: .55rem;
    border: 1px solid var(--owner-border);
    border-radius: 16px;
    padding: .65rem .8rem;
    background: #fff;
    font-weight: 850;
}

.owner-preorder-box {
    margin-top: 1rem;
}

.owner-form-actions-sticky {
    position: sticky;
    bottom: 0;
    z-index: 5;
    background: linear-gradient(180deg, rgba(255, 255, 255, .84), #fff 30%);
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(80, 55, 32, .08);
}

.owner-menu-toolbar-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.owner-search-box {
    width: min(360px, 100%);
    height: 46px;
    display: flex;
    align-items: center;
    gap: .65rem;
    border: 1px solid var(--owner-border);
    border-radius: 999px;
    padding: 0 .85rem;
    background: #fff;
    box-shadow: 0 8px 22px rgba(42, 25, 15, .05);
}

.owner-search-box i {
    color: var(--owner-orange-dark);
}

.owner-search-box input {
    flex: 1 1 auto;
    min-width: 0;
    height: 42px;
    border: 0;
    outline: 0;
    background: transparent;
    font-weight: 750;
}

.owner-search-box button {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 999px;
    background: #fff0e6;
    color: var(--owner-orange-dark);
    cursor: pointer;
}

.owner-menu-row-v2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 110px auto;
    gap: 1rem;
    align-items: center;
}

.owner-menu-copy {
    min-width: 0;
}

.owner-menu-title-line {
    display: flex;
    align-items: baseline;
    gap: .65rem;
    flex-wrap: wrap;
}

.owner-menu-title-line h3 {
    margin: 0;
}

.owner-menu-title-line small {
    color: var(--owner-muted);
    font-weight: 850;
}

.owner-detail-preview {
    margin-top: .45rem;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    max-width: 100%;
    padding: .42rem .65rem;
    border-radius: 999px;
    background: var(--owner-soft);
    color: #7b3f18;
    font-size: .82rem;
    font-weight: 850;
}

.owner-detail-preview span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 1280px) {
    .owner-price-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .owner-menu-row-v2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .owner-menu-price,
    .owner-row-actions {
        justify-self: stretch;
    }
}

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

    .owner-menu-toolbar-v2 {
        align-items: stretch;
        flex-direction: column;
    }

    .owner-search-box {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .owner-price-grid,
    .owner-checks-grid {
        grid-template-columns: 1fr;
    }

    .owner-menu-form-head-v2 {
        display: grid;
    }

    .owner-form-actions-sticky {
        position: static;
    }

    .owner-lang-card {
        padding: .85rem;
        border-radius: 20px;
    }
}




/* ===== SOURCE: chapresto-owner-menu-drawer.css ===== */

/* =========================================================
   ChapResto Owner Menu Drawer UI
   Load this file LAST for the owner menu page.
   ========================================================= */

.owner-menu-page-v3 {
    --owner-orange: #df6b27;
    --owner-orange-dark: #b95016;
    --owner-ink: #201b18;
    --owner-muted: #756d66;
    --owner-soft: #fff6ef;
    --owner-border: rgba(90, 58, 36, .12);
    --owner-shadow: 0 20px 60px rgba(46, 32, 20, .10);
    padding-bottom: 5rem;
}

.owner-menu-hero-v3 {
    min-height: 210px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(2rem, 6vw, 5rem) 0 2rem;
}

.owner-menu-hero-v3 h1 {
    margin: .35rem 0 .65rem;
    max-width: 760px;
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    line-height: .95;
    letter-spacing: -.06em;
    color: var(--owner-ink);
}

.owner-menu-hero-v3 p {
    max-width: 780px;
    color: var(--owner-muted);
    font-weight: 850;
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    line-height: 1.55;
}

.owner-menu-hero-actions-v3 {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.owner-menu-toolbar-v3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.owner-menu-stats-v3 {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.owner-menu-stats-v3 article {
    min-width: 112px;
    padding: .8rem 1rem;
    border: 1px solid var(--owner-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(45, 30, 18, .045);
}

.owner-menu-stats-v3 strong {
    display: block;
    font-size: 1.3rem;
    font-weight: 1000;
    line-height: 1;
    color: var(--owner-ink);
}

.owner-menu-stats-v3 span {
    display: block;
    margin-top: .3rem;
    color: var(--owner-muted);
    font-size: .82rem;
    font-weight: 850;
}

.owner-menu-filters-v3 {
    display: flex;
    justify-content: flex-end;
    min-width: min(420px, 100%);
}

.owner-search-box-v3 {
    width: min(420px, 100%);
    height: 54px;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 0 1rem;
    border: 1px solid var(--owner-border);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(45, 30, 18, .06);
}

.owner-search-box-v3 i {
    color: var(--owner-orange-dark);
}

.owner-search-box-v3 input {
    flex: 1 1 auto;
    min-width: 0;
    height: 50px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--owner-ink);
    font-weight: 850;
}

.owner-search-box-v3 button {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: #fff0e6;
    color: var(--owner-orange-dark);
    cursor: pointer;
}

.owner-menu-loading-v3,
.owner-menu-empty-v3 {
    min-height: 280px;
    display: grid;
    place-items: center;
    text-align: center;
    gap: .75rem;
}

.owner-menu-empty-v3 > i {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #fff0e6;
    color: var(--owner-orange-dark);
    font-size: 1.55rem;
}

.owner-menu-board-v3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.owner-menu-card-v3 {
    min-width: 0;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr auto;
    border: 1px solid var(--owner-border);
    border-radius: 30px;
    background: #fff;
    box-shadow: var(--owner-shadow);
}

.owner-menu-card-image-v3 {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: #f5e6d5;
    display: grid;
    place-items: center;
}

.owner-menu-card-image-v3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.owner-menu-card-image-v3 > span {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: #fff;
    color: var(--owner-orange-dark);
    font-size: 2rem;
    font-weight: 1000;
}

.owner-menu-card-badges-v3 {
    position: absolute;
    left: .75rem;
    right: .75rem;
    bottom: .75rem;
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.owner-menu-card-badges-v3 span {
    height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 .75rem;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: var(--owner-ink);
    font-size: .78rem;
    font-weight: 950;
    box-shadow: 0 8px 20px rgba(25, 18, 12, .10);
}

.owner-menu-card-badges-v3 span.ok {
    color: #0e7a42;
}

.owner-menu-card-badges-v3 span.off {
    color: #a43b24;
}

.owner-menu-card-body-v3 {
    min-width: 0;
    padding: 1rem;
}

.owner-menu-card-title-v3 {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.owner-menu-card-title-v3 h3 {
    margin: 0;
    color: var(--owner-ink);
    font-size: 1.25rem;
    line-height: 1.1;
    font-weight: 1000;
}

.owner-menu-card-title-v3 small {
    display: block;
    margin-top: .25rem;
    color: var(--owner-muted);
    font-weight: 850;
}

.owner-menu-card-title-v3 strong {
    flex: 0 0 auto;
    color: var(--owner-orange-dark);
    font-weight: 1000;
    white-space: nowrap;
}

.owner-menu-card-body-v3 p {
    margin: .7rem 0 0;
    color: var(--owner-muted);
    font-weight: 650;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.owner-menu-card-tags-v3,
.owner-menu-card-meta-v3 {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .8rem;
}

.owner-menu-card-tags-v3 span,
.owner-menu-card-meta-v3 span {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    padding: .28rem .6rem;
    border-radius: 999px;
    background: var(--owner-soft);
    color: #7b3f18;
    font-size: .78rem;
    font-weight: 900;
}

.owner-menu-card-meta-v3 span {
    background: #f7f3ed;
    color: var(--owner-muted);
}

.owner-menu-card-actions-v3 {
    padding: 1rem;
    border-top: 1px solid rgba(90, 58, 36, .08);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .65rem;
}

.owner-menu-card-actions-v3 .danger {
    grid-column: 1 / -1;
    color: #bb1f1f !important;
    border-color: rgba(220, 38, 38, .18) !important;
    background: #fff8f8 !important;
}

.owner-menu-drawer-backdrop-v3 {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(26, 21, 18, .38);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: flex-end;
}

.owner-menu-drawer-v3 {
    width: min(840px, 100%);
    height: 100dvh;
    display: grid;
    grid-template-rows: auto auto 1fr;
    overflow: hidden;
    background: #fffaf6;
    box-shadow: -24px 0 70px rgba(24, 18, 12, .22);
}

.owner-menu-drawer-head-v3 {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.35rem 1rem;
    border-bottom: 1px solid rgba(90, 58, 36, .08);
    background: #fff;
}

.owner-menu-drawer-head-v3 h2 {
    margin: .25rem 0 .35rem;
    color: var(--owner-ink);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1;
    letter-spacing: -.04em;
}

.owner-menu-drawer-head-v3 p {
    max-width: 560px;
    margin: 0;
    color: var(--owner-muted);
    font-weight: 750;
    line-height: 1.45;
}

.owner-drawer-close-v3 {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(90, 58, 36, .10);
    border-radius: 999px;
    background: #fff;
    color: var(--owner-ink);
    cursor: pointer;
}

.owner-form-tabs-v3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .6rem;
    padding: .85rem 1.35rem;
    background: #fff;
    border-bottom: 1px solid rgba(90, 58, 36, .08);
}

.owner-form-tabs-v3 button {
    height: 46px;
    border: 1px solid rgba(90, 58, 36, .10);
    border-radius: 999px;
    background: #fff;
    color: var(--owner-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-weight: 1000;
    cursor: pointer;
}

.owner-form-tabs-v3 button.active {
    background: #1f1a17;
    border-color: #1f1a17;
    color: #fff;
    box-shadow: 0 16px 34px rgba(31, 26, 23, .16);
}

.owner-menu-form-v3 {
    min-height: 0;
    overflow-y: auto;
    display: grid;
    grid-template-rows: 1fr auto;
}

.owner-form-panel-v3 {
    padding: 1.25rem 1.35rem 7rem;
}

.owner-form-section-head-v3 {
    margin-bottom: 1rem;
}

.owner-form-section-head-v3 h3 {
    margin: 0 0 .35rem;
    color: var(--owner-ink);
    font-size: 1.35rem;
    font-weight: 1000;
}

.owner-form-section-head-v3 p {
    margin: 0;
    color: var(--owner-muted);
    font-weight: 750;
}

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

.owner-lang-form-card-v3 {
    min-width: 0;
    display: grid;
    gap: .9rem;
    padding: 1rem;
    border: 1px solid var(--owner-border);
    border-radius: 26px;
    background: #fff;
}

.owner-lang-form-head-v3 {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
}

.owner-lang-form-head-v3 span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #fff0e6;
    color: var(--owner-orange-dark);
    font-size: .82rem;
    font-weight: 1000;
}

.owner-lang-form-head-v3.en span {
    background: #eef6ff;
    color: #1b5795;
}

.owner-lang-form-card-v3 label,
.owner-price-grid-v3 label,
.owner-preorder-box-v3 {
    min-width: 0;
    display: grid;
    gap: .4rem;
    color: var(--owner-ink);
    font-weight: 950;
}

.owner-lang-form-card-v3 small {
    color: var(--owner-muted);
    font-weight: 650;
    line-height: 1.35;
}

.owner-textarea-sm {
    min-height: 94px !important;
    resize: vertical;
}

.owner-textarea-lg {
    min-height: 138px !important;
    resize: vertical;
}

.owner-price-grid-v3 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
    margin-top: 1rem;
}

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

.owner-checks-grid-v3 label {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .7rem .85rem;
    border: 1px solid var(--owner-border);
    border-radius: 18px;
    background: #fff;
    color: var(--owner-ink);
    font-weight: 950;
}

.owner-checks-grid-v3 input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: var(--owner-orange);
}

.owner-preorder-box-v3 {
    margin-top: 1rem;
    max-width: 280px;
}

.owner-drawer-actions-v3 {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    gap: .8rem;
    padding: 1rem 1.35rem;
    background: rgba(255, 255, 255, .94);
    border-top: 1px solid rgba(90, 58, 36, .10);
    box-shadow: 0 -18px 38px rgba(45, 30, 18, .08);
    backdrop-filter: blur(10px);
}

@media (max-width: 1380px) {
    .owner-menu-board-v3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .owner-menu-hero-v3,
    .owner-menu-toolbar-v3 {
        align-items: stretch;
        flex-direction: column;
    }

    .owner-menu-hero-actions-v3,
    .owner-menu-filters-v3 {
        justify-content: stretch;
    }

    .owner-menu-hero-actions-v3 .cr-btn,
    .owner-search-box-v3 {
        width: 100%;
    }

    .owner-menu-board-v3,
    .owner-lang-switch-grid-v3 {
        grid-template-columns: 1fr;
    }

    .owner-menu-drawer-v3 {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .owner-menu-page-v3 {
        padding-inline: .85rem;
    }

    .owner-menu-hero-v3 {
        min-height: auto;
        padding-top: 1.25rem;
    }

    .owner-menu-stats-v3 {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .5rem;
    }

    .owner-menu-stats-v3 article {
        min-width: 0;
        padding: .7rem;
        text-align: center;
    }

    .owner-menu-card-image-v3 {
        height: 190px;
    }

    .owner-menu-card-actions-v3,
    .owner-price-grid-v3,
    .owner-checks-grid-v3 {
        grid-template-columns: 1fr;
    }

    .owner-menu-drawer-head-v3,
    .owner-form-tabs-v3,
    .owner-form-panel-v3,
    .owner-drawer-actions-v3 {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .owner-form-tabs-v3 {
        overflow-x: auto;
        grid-template-columns: repeat(3, minmax(140px, 1fr));
    }

    .owner-drawer-actions-v3 {
        display: grid;
        grid-template-columns: 1fr;
    }
}




/* ===== SOURCE: chapresto-owner-menu-compact.css ===== */

﻿/* =========================================================
   ChapResto Owner Menu - Compact admin layout
   Load this file LAST.
   ========================================================= */

:root {
    --owner-compact-gap: 1rem;
}

/* Reduce big empty space before page title */
.owner-menu-page,
.ow-menu-page,
.cr-owner-menu-page {
    padding-top: 2.2rem !important;
}

.owner-menu-hero,
.ow-menu-hero,
.cr-owner-menu-hero {
    min-height: auto !important;
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    margin-bottom: 1.25rem !important;
}

    .owner-menu-hero h1,
    .ow-menu-hero h1,
    .cr-owner-menu-hero h1 {
        font-size: clamp(2rem, 3vw, 3rem) !important;
        line-height: 1.05 !important;
        margin-bottom: .75rem !important;
    }

    .owner-menu-hero p,
    .ow-menu-hero p,
    .cr-owner-menu-hero p {
        max-width: 720px !important;
        font-size: 1.05rem !important;
        line-height: 1.45 !important;
    }

/* Stats/search/action area more compact */
.owner-menu-toolbar,
.ow-menu-toolbar,
.cr-owner-menu-toolbar {
    gap: 1rem !important;
    margin-bottom: 1.2rem !important;
}

.owner-menu-stat,
.ow-menu-stat,
.cr-owner-menu-stat {
    min-width: 112px !important;
    padding: .9rem 1rem !important;
    border-radius: 18px !important;
}

    .owner-menu-stat strong,
    .ow-menu-stat strong,
    .cr-owner-menu-stat strong {
        font-size: 1.45rem !important;
    }

.owner-menu-search,
.ow-menu-search,
.cr-owner-menu-search {
    height: 54px !important;
    max-width: 520px !important;
    border-radius: 22px !important;
}

/* Main menu list: 3 or 4 per row */
.owner-menu-grid,
.ow-menu-grid,
.cr-owner-menu-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1rem !important;
    align-items: stretch !important;
}

@media (max-width: 1500px) {
    .owner-menu-grid,
    .ow-menu-grid,
    .cr-owner-menu-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 1050px) {
    .owner-menu-grid,
    .ow-menu-grid,
    .cr-owner-menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .owner-menu-grid,
    .ow-menu-grid,
    .cr-owner-menu-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Dish cards smaller and admin-friendly */
.owner-menu-card,
.ow-menu-card,
.cr-owner-menu-card {
    border-radius: 22px !important;
    overflow: hidden !important;
    min-height: auto !important;
}

.owner-menu-card-image,
.ow-menu-card-image,
.cr-owner-menu-card-image {
    height: 190px !important;
    min-height: 190px !important;
    border-radius: 0 !important;
    background-size: cover !important;
    background-position: center !important;
}

.owner-menu-card-body,
.ow-menu-card-body,
.cr-owner-menu-card-body {
    padding: 1rem !important;
}

.owner-menu-card h3,
.ow-menu-card h3,
.cr-owner-menu-card h3 {
    font-size: 1.2rem !important;
    line-height: 1.15 !important;
    margin-bottom: .3rem !important;
}

.owner-menu-card p,
.ow-menu-card p,
.cr-owner-menu-card p {
    font-size: .9rem !important;
    line-height: 1.35 !important;
    margin-bottom: .7rem !important;
}

.owner-menu-price,
.ow-menu-price,
.cr-owner-menu-price {
    font-size: 1.2rem !important;
}

.owner-menu-rating,
.ow-menu-rating,
.cr-owner-menu-rating {
    font-size: .9rem !important;
}

.owner-menu-badges,
.ow-menu-badges,
.cr-owner-menu-badges {
    gap: .4rem !important;
    margin: .65rem 0 !important;
}

    .owner-menu-badges span,
    .ow-menu-badges span,
    .cr-owner-menu-badges span {
        padding: .38rem .65rem !important;
        font-size: .78rem !important;
        border-radius: 999px !important;
    }

.owner-menu-card-actions,
.ow-menu-card-actions,
.cr-owner-menu-card-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: .55rem !important;
    padding-top: .75rem !important;
}

    .owner-menu-card-actions button,
    .ow-menu-card-actions button,
    .cr-owner-menu-card-actions button {
        height: 42px !important;
        padding: 0 .8rem !important;
        border-radius: 14px !important;
        font-size: .9rem !important;
    }

/* Drawer: reduce header height and keep more content visible */
.owner-menu-drawer,
.ow-menu-drawer,
.cr-owner-menu-drawer {
    width: min(980px, calc(100vw - 48px)) !important;
}

.owner-menu-drawer-header,
.ow-menu-drawer-header,
.cr-owner-menu-drawer-header {
    padding: 1.2rem 1.6rem 1rem !important;
    min-height: auto !important;
}

    .owner-menu-drawer-header h2,
    .ow-menu-drawer-header h2,
    .cr-owner-menu-drawer-header h2 {
        font-size: clamp(1.7rem, 2.4vw, 2.4rem) !important;
        line-height: 1.05 !important;
        margin: .25rem 0 .45rem !important;
    }

    .owner-menu-drawer-header p,
    .ow-menu-drawer-header p,
    .cr-owner-menu-drawer-header p {
        font-size: 1rem !important;
        line-height: 1.35 !important;
        margin: 0 !important;
    }

.owner-menu-drawer-kicker,
.ow-menu-drawer-kicker,
.cr-owner-menu-drawer-kicker {
    font-size: .78rem !important;
    letter-spacing: .22em !important;
}

/* Drawer tabs smaller */
.owner-menu-drawer-tabs,
.ow-menu-drawer-tabs,
.cr-owner-menu-drawer-tabs {
    padding: .85rem 1.6rem !important;
    gap: .75rem !important;
}

    .owner-menu-drawer-tabs button,
    .ow-menu-drawer-tabs button,
    .cr-owner-menu-drawer-tabs button {
        height: 48px !important;
        border-radius: 18px !important;
        font-size: 1rem !important;
    }

/* Drawer body more compact */
.owner-menu-drawer-body,
.ow-menu-drawer-body,
.cr-owner-menu-drawer-body {
    padding: 1.3rem 1.6rem 6.5rem !important;
}

.owner-menu-section-title,
.ow-menu-section-title,
.cr-owner-menu-section-title {
    margin-bottom: 1rem !important;
}

    .owner-menu-section-title h3,
    .ow-menu-section-title h3,
    .cr-owner-menu-section-title h3 {
        font-size: 1.5rem !important;
        margin-bottom: .35rem !important;
    }

.owner-menu-lang-grid,
.ow-menu-lang-grid,
.cr-owner-menu-lang-grid {
    gap: 1rem !important;
}

.owner-menu-lang-card,
.ow-menu-lang-card,
.cr-owner-menu-lang-card {
    padding: 1.1rem !important;
    border-radius: 22px !important;
}

.owner-menu-lang-card-header,
.ow-menu-lang-card-header,
.cr-owner-menu-lang-card-header {
    margin-bottom: 1rem !important;
}

.owner-menu-lang-card label,
.ow-menu-lang-card label,
.cr-owner-menu-lang-card label {
    gap: .42rem !important;
    margin-bottom: .85rem !important;
    font-size: .95rem !important;
}

.owner-menu-lang-card input,
.owner-menu-lang-card textarea,
.ow-menu-lang-card input,
.ow-menu-lang-card textarea,
.cr-owner-menu-lang-card input,
.cr-owner-menu-lang-card textarea {
    min-height: 46px !important;
    border-radius: 15px !important;
    padding: .8rem .95rem !important;
    font-size: .95rem !important;
}

.owner-menu-lang-card textarea,
.ow-menu-lang-card textarea,
.cr-owner-menu-lang-card textarea {
    min-height: 94px !important;
}

/* Drawer footer smaller */
.owner-menu-drawer-footer,
.ow-menu-drawer-footer,
.cr-owner-menu-drawer-footer {
    padding: .9rem 1.6rem !important;
    gap: .8rem !important;
}

    .owner-menu-drawer-footer button,
    .ow-menu-drawer-footer button,
    .cr-owner-menu-drawer-footer button {
        height: 48px !important;
        border-radius: 16px !important;
        padding: 0 1.25rem !important;
    }

/* Mobile drawer */
@media (max-width: 760px) {
    .owner-menu-page,
    .ow-menu-page,
    .cr-owner-menu-page {
        padding-top: 1.2rem !important;
    }

    .owner-menu-hero h1,
    .ow-menu-hero h1,
    .cr-owner-menu-hero h1 {
        font-size: 2.1rem !important;
    }

    .owner-menu-drawer,
    .ow-menu-drawer,
    .cr-owner-menu-drawer {
        width: 100vw !important;
        max-width: 100vw !important;
        border-radius: 0 !important;
    }

    .owner-menu-drawer-header,
    .ow-menu-drawer-header,
    .cr-owner-menu-drawer-header {
        padding: 1rem 1rem .85rem !important;
    }

    .owner-menu-drawer-tabs,
    .ow-menu-drawer-tabs,
    .cr-owner-menu-drawer-tabs {
        padding: .75rem 1rem !important;
        overflow-x: auto !important;
    }

        .owner-menu-drawer-tabs button,
        .ow-menu-drawer-tabs button,
        .cr-owner-menu-drawer-tabs button {
            min-width: 150px !important;
        }

    .owner-menu-drawer-body,
    .ow-menu-drawer-body,
    .cr-owner-menu-drawer-body {
        padding: 1rem 1rem 6.5rem !important;
    }

    .owner-menu-lang-grid,
    .ow-menu-lang-grid,
    .cr-owner-menu-lang-grid {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================================
   Final compact admin override for Owner Menu V3
   ========================================================= */
.owner-menu-page-v3 {
    padding-top: 0 !important;
    padding-bottom: 3rem !important;
}

.owner-menu-hero-v3 {
    min-height: auto !important;
    align-items: center !important;
    padding: 16px 0 12px !important;
    margin-bottom: 8px !important;
    gap: 12px !important;
}

.owner-menu-hero-v3 h1 {
    max-width: 620px !important;
    margin: 4px 0 7px !important;
    font-size: clamp(28px, 3.2vw, 42px) !important;
    line-height: .98 !important;
    letter-spacing: -.045em !important;
}

.owner-menu-hero-v3 p {
    max-width: 680px !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
}

.owner-menu-hero-actions-v3 {
    gap: 8px !important;
}

.owner-menu-hero-actions-v3 .cr-btn,
.owner-menu-drawer-v3 .cr-btn,
.owner-menu-card-actions-v3 .cr-btn {
    min-height: 38px !important;
    height: 38px !important;
    padding: 0 13px !important;
    border-radius: 13px !important;
    font-size: 13px !important;
    line-height: 1 !important;
}

.owner-menu-toolbar-v3 {
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
}

.owner-menu-stats-v3 {
    gap: 8px !important;
}

.owner-menu-stats-v3 article {
    min-width: 98px !important;
    padding: 9px 12px !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 22px rgba(45, 30, 18, .045) !important;
}

.owner-menu-stats-v3 strong {
    font-size: 21px !important;
}

.owner-menu-stats-v3 span {
    margin-top: 3px !important;
    font-size: 11px !important;
}

.owner-menu-filters-v3 {
    min-width: min(380px, 100%) !important;
}

.owner-search-box-v3 {
    width: min(380px, 100%) !important;
    height: 42px !important;
    gap: 8px !important;
    padding: 0 13px !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 24px rgba(45, 30, 18, .045) !important;
}

.owner-search-box-v3 input {
    height: 38px !important;
    font-size: 13px !important;
}

.owner-search-box-v3 button {
    width: 28px !important;
    height: 28px !important;
}

.owner-menu-board-v3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

.owner-menu-card-v3 {
    border-radius: 18px !important;
    box-shadow: 0 10px 28px rgba(45, 30, 18, .055) !important;
}

.owner-menu-card-image-v3 {
    height: 154px !important;
}

.owner-menu-card-badges-v3 {
    left: 8px !important;
    right: 8px !important;
    bottom: 8px !important;
    gap: 5px !important;
}

.owner-menu-card-badges-v3 span {
    height: 24px !important;
    padding: 0 8px !important;
    font-size: 11px !important;
}

.owner-menu-card-body-v3 {
    padding: 11px !important;
}

.owner-menu-card-title-v3 {
    gap: 8px !important;
}

.owner-menu-card-title-v3 h3 {
    font-size: 16px !important;
    line-height: 1.1 !important;
}

.owner-menu-card-title-v3 small {
    margin-top: 2px !important;
    font-size: 11px !important;
}

.owner-menu-card-title-v3 strong {
    font-size: 14px !important;
}

.owner-menu-card-body-v3 p {
    margin-top: 6px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    -webkit-line-clamp: 2 !important;
}

.owner-menu-card-tags-v3,
.owner-menu-card-meta-v3 {
    gap: 5px !important;
    margin-top: 7px !important;
}

.owner-menu-card-tags-v3 span,
.owner-menu-card-meta-v3 span {
    min-height: 23px !important;
    padding: 2px 7px !important;
    font-size: 11px !important;
    gap: 4px !important;
}

.owner-menu-card-actions-v3 {
    padding: 10px !important;
    gap: 7px !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.owner-menu-card-actions-v3 .danger {
    grid-column: auto !important;
}

.owner-menu-card-actions-v3 .cr-btn {
    min-width: 0 !important;
    padding: 0 8px !important;
    font-size: 12px !important;
}

.owner-menu-card-actions-v3 .cr-btn span,
.owner-menu-card-actions-v3 .cr-btn i + text {
    white-space: nowrap !important;
}

.owner-menu-drawer-v3 {
    width: min(760px, 100%) !important;
    background: #fffaf6 !important;
}

.owner-menu-drawer-head-v3 {
    padding: 12px 14px 10px !important;
    gap: 10px !important;
}

.owner-menu-drawer-head-v3 h2 {
    font-size: clamp(21px, 2.5vw, 30px) !important;
    margin: 3px 0 4px !important;
}

.owner-menu-drawer-head-v3 p {
    max-width: 520px !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
}

.owner-drawer-close-v3 {
    width: 36px !important;
    height: 36px !important;
}

.owner-form-tabs-v3 {
    padding: 9px 14px !important;
    gap: 7px !important;
}

.owner-form-tabs-v3 button {
    height: 38px !important;
    border-radius: 13px !important;
    font-size: 12px !important;
}

.owner-form-panel-v3 {
    padding: 12px 14px 76px !important;
}

.owner-form-section-head-v3 {
    margin-bottom: 10px !important;
}

.owner-form-section-head-v3 h3 {
    font-size: 17px !important;
    margin-bottom: 3px !important;
}

.owner-form-section-head-v3 p {
    font-size: 12px !important;
    line-height: 1.3 !important;
}

.owner-form-panel-v3 label,
.owner-menu-form-v3 label {
    font-size: 12px !important;
    font-weight: 900 !important;
}

.owner-form-panel-v3 input,
.owner-form-panel-v3 textarea,
.owner-form-panel-v3 select,
.owner-menu-form-v3 .cr-input {
    min-height: 38px !important;
    border-radius: 12px !important;
    padding: 8px 10px !important;
    font-size: 13px !important;
}

.owner-form-panel-v3 textarea {
    min-height: 78px !important;
}

.owner-drawer-actions-v3 {
    padding: 9px 14px !important;
    gap: 8px !important;
}

@media (max-width: 1180px) {
    .owner-menu-board-v3 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    .owner-menu-page-v3 {
        padding-inline: 10px !important;
    }

    .owner-menu-hero-v3,
    .owner-menu-toolbar-v3 {
        display: grid !important;
        grid-template-columns: 1fr !important;
        align-items: stretch !important;
    }

    .owner-menu-hero-actions-v3,
    .owner-menu-filters-v3 {
        justify-content: stretch !important;
    }

    .owner-menu-hero-actions-v3 .cr-btn,
    .owner-search-box-v3 {
        width: 100% !important;
    }

    .owner-menu-stats-v3 {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .owner-menu-board-v3 {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .owner-menu-card-image-v3 {
        height: 170px !important;
    }

    .owner-menu-card-actions-v3 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .owner-menu-card-actions-v3 .danger {
        grid-column: 1 / -1 !important;
    }

    .owner-menu-drawer-v3 {
        width: 100vw !important;
        max-width: 100vw !important;
    }
}

@media (max-width: 460px) {
    .owner-menu-stats-v3 {
        grid-template-columns: 1fr !important;
    }

    .owner-menu-card-actions-v3 {
        grid-template-columns: 1fr !important;
    }

    .owner-menu-card-actions-v3 .danger {
        grid-column: auto !important;
    }
}

/* Compact daily-menu indicator in owner menu admin */
.owner-menu-stats-v3 article {
    min-width: 96px !important;
}

.owner-menu-card-tags-v3 span:first-child {
    white-space: nowrap !important;
}




/* ===== SOURCE: chapresto-owner-publications.css ===== */

﻿.owner-publications-page {
    padding-bottom: 5rem;
}

.owner-publications-hero {
    min-height: 190px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(2rem, 5vw, 4rem) 0 1.6rem;
}

    .owner-publications-hero h1 {
        margin: .35rem 0 .6rem;
        max-width: 760px;
        color: #201b18;
        font-size: clamp(2.2rem, 4.5vw, 4.3rem);
        line-height: .95;
        letter-spacing: -.06em;
    }

    .owner-publications-hero p {
        max-width: 820px;
        margin: 0;
        color: #736960;
        font-size: 1.05rem;
        line-height: 1.55;
        font-weight: 750;
    }

.owner-publications-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .75rem;
    flex-wrap: wrap;
}

.owner-publications-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.owner-publications-stats {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

    .owner-publications-stats article {
        min-width: 112px;
        padding: .85rem 1rem;
        border-radius: 18px;
        background: #fff;
        border: 1px solid rgba(67, 45, 28, .10);
        box-shadow: 0 10px 28px rgba(45, 30, 18, .05);
    }

    .owner-publications-stats strong {
        display: block;
        color: #201b18;
        font-size: 1.45rem;
        line-height: 1;
        font-weight: 1000;
    }

    .owner-publications-stats span {
        display: block;
        margin-top: .25rem;
        color: #746c64;
        font-size: .84rem;
        font-weight: 850;
    }

.owner-publications-search {
    width: min(430px, 100%);
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 0 1rem;
    border: 1px solid rgba(67, 45, 28, .10);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(45, 30, 18, .06);
}

    .owner-publications-search i {
        color: #bf4c14;
    }

    .owner-publications-search input {
        flex: 1 1 auto;
        min-width: 0;
        height: 50px;
        border: 0;
        outline: 0;
        background: transparent;
        color: #201b18;
        font-weight: 850;
    }

    .owner-publications-search button {
        width: 32px;
        height: 32px;
        border: 0;
        border-radius: 999px;
        background: #fff0e6;
        color: #bf4c14;
    }

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

.owner-publication-card {
    min-width: 0;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(67, 45, 28, .10);
    box-shadow: 0 18px 48px rgba(45, 30, 18, .09);
}

.owner-publication-image {
    position: relative;
    height: 330px;
    background-color: #efe3d3;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

    .owner-publication-image:not([style*="background-image"]) {
        background-image: radial-gradient(circle at 30% 22%, rgba(224, 95, 32, .18), transparent 28%), linear-gradient(135deg, #f8e5d2, #fff8f0);
    }

    .owner-publication-image::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.28)), linear-gradient(90deg, rgba(0,0,0,.10), transparent 42%);
    }

.owner-publication-type {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 2;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.95);
    color: #c74f16;
    font-size: .72rem;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.owner-publication-image em {
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 2;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: #eefaf2;
    color: #147a39;
    font-style: normal;
    font-size: .72rem;
    font-weight: 1000;
}

    .owner-publication-image em.inactive {
        background: #f3f4f6;
        color: #6b7280;
    }

.owner-publication-body {
    padding: 1rem;
    display: grid;
    gap: 1rem;
}

    .owner-publication-body small {
        display: block;
        margin-bottom: .35rem;
        color: #c74f16;
        font-size: .72rem;
        font-weight: 950;
        text-transform: uppercase;
        letter-spacing: .12em;
    }

    .owner-publication-body h3 {
        margin: 0 0 .45rem;
        color: #191411;
        font-size: 1.25rem;
        line-height: 1.08;
        font-weight: 1000;
    }

    .owner-publication-body p {
        margin: 0;
        color: #665d55;
        font-size: .92rem;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.owner-publication-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .65rem;
}

    .owner-publication-actions .cr-btn {
        min-height: 42px;
    }

.owner-publications-empty,
.owner-publications-loading {
    min-height: 280px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: .75rem;
    text-align: center;
}

    .owner-publications-empty > i,
    .owner-publications-loading > i {
        width: 62px;
        height: 62px;
        display: grid;
        place-items: center;
        border-radius: 999px;
        background: #fff0e6;
        color: #d85b1f;
        font-size: 1.35rem;
    }

.owner-publication-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    justify-content: flex-end;
    background: rgba(24, 18, 14, .40);
    backdrop-filter: blur(7px);
}

.owner-publication-drawer {
    width: min(760px, 100%);
    height: 100dvh;
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    background: #fffaf6;
    box-shadow: -24px 0 70px rgba(24, 18, 12, .22);
}

.owner-publication-drawer-head {
    padding: 1.25rem 1.35rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    background: #fff;
    border-bottom: 1px solid rgba(67, 45, 28, .08);
}

    .owner-publication-drawer-head h2 {
        margin: .25rem 0 .35rem;
        color: #201b18;
        font-size: clamp(1.55rem, 3vw, 2.35rem);
        line-height: 1;
        letter-spacing: -.04em;
    }

    .owner-publication-drawer-head p {
        max-width: 560px;
        margin: 0;
        color: #746c64;
        line-height: 1.45;
        font-weight: 700;
    }

.owner-drawer-close {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(67, 45, 28, .10);
    border-radius: 999px;
    background: #fff;
    color: #201b18;
}

.owner-publication-form {
    min-height: 0;
    overflow-y: auto;
    display: grid;
    align-content: start;
    gap: 1rem;
    padding: 1.25rem 1.35rem 6.5rem;
}

.owner-publication-form-section {
    display: grid;
    gap: .9rem;
    padding: 1rem;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(67, 45, 28, .08);
}

    .owner-publication-form-section h3 {
        margin: 0;
        color: #201b18;
        font-size: 1.2rem;
        font-weight: 1000;
    }

    .owner-publication-form-section label {
        display: grid;
        gap: .42rem;
    }

    .owner-publication-form-section small {
        color: #746c64;
        line-height: 1.35;
    }

.owner-publication-preview {
    height: 320px;
    border-radius: 22px;
    background-color: #efe3d3;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
}

    .owner-publication-preview span {
        position: absolute;
        left: 12px;
        top: 12px;
        min-height: 28px;
        display: inline-flex;
        align-items: center;
        padding: 0 10px;
        border-radius: 999px;
        background: rgba(255,255,255,.95);
        color: #c74f16;
        font-size: .72rem;
        font-weight: 1000;
    }

.owner-publication-drawer-footer {
    position: sticky;
    bottom: 0;
    z-index: 4;
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
    padding: 1rem 1.35rem;
    margin: 0 -1.35rem -6.5rem;
    background: linear-gradient(180deg, rgba(255,250,246,.78), #fff 35%);
    border-top: 1px solid rgba(67, 45, 28, .08);
}

@media (max-width: 1280px) {
    .owner-publications-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .owner-publications-hero,
    .owner-publications-toolbar {
        display: grid;
        gap: 1rem;
    }

    .owner-publications-actions {
        justify-content: stretch;
    }

        .owner-publications-actions .cr-btn {
            width: 100%;
        }

    .owner-publications-search {
        width: 100%;
    }

    .owner-publications-grid {
        grid-template-columns: 1fr;
    }

    .owner-publication-image {
        height: 340px;
    }

    .owner-publication-drawer {
        width: 100%;
    }

    .owner-publication-drawer-head {
        padding: 1rem;
    }

    .owner-publication-form {
        padding: 1rem 1rem 6.5rem;
    }

    .owner-publication-drawer-footer {
        margin-left: -1rem;
        margin-right: -1rem;
        padding: .9rem 1rem;
    }
}




/* ===== SOURCE: chapresto-owner-upload-ux.css ===== */

/* =========================================================
   ChapResto Owner Upload UX - Promotions / Ads
   Load after owner-publications.css and owner CSS.
   ========================================================= */

.owner-publication-form .owner-image-uploader,
.owner-form .owner-image-uploader {
    margin-top: .35rem;
}

.owner-publication-form .owner-uploader-shell,
.owner-publication-form .owner-image-upload-box,
.owner-form .owner-uploader-shell,
.owner-form .owner-image-upload-box {
    border-radius: 22px !important;
}

.owner-publication-preview {
    height: min(420px, 58vh);
    border-radius: 24px;
    background-color: #efe3d3;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(67, 45, 28, .10);
    box-shadow: 0 14px 34px rgba(45, 30, 18, .08);
}

.owner-publication-preview::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(45deg, rgba(255,255,255,.55) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,.55) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,.55) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,.55) 75%);
    background-size: 22px 22px;
    background-position: 0 0, 0 11px, 11px -11px, -11px 0;
    opacity: .22;
    pointer-events: none;
}

.owner-publication-preview span {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.95);
    color: #c74f16;
    font-size: .72rem;
    font-weight: 1000;
}

.owner-publication-card .owner-publication-image {
    background-size: cover;
}

@media (max-width: 760px) {
    .owner-publication-preview {
        height: 340px;
    }
}

.owner-upload-mode-row {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin: .2rem 0 .75rem;
}

.owner-upload-mode {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: 0 .9rem;
    border-radius: 999px;
    border: 1px solid rgba(90, 60, 40, .14);
    background: #fff;
    color: #241d19;
    font-weight: 950;
    cursor: pointer;
}

    .owner-upload-mode.active {
        background: #241d19;
        color: #fff;
        border-color: #241d19;
    }

.owner-upload-preview {
    background: #fff7ef;
}

    .owner-upload-preview img {
        width: 100%;
        height: 100%;
        display: block;
    }

    .owner-upload-preview.crop-fill img {
        object-fit: cover;
    }

    .owner-upload-preview.fit-full img {
        object-fit: contain;
        background: #fff7ef;
    }

    .owner-upload-preview.poster {
        aspect-ratio: 3 / 4;
    }

    .owner-upload-preview.wide {
        aspect-ratio: 3 / 2;
    }

    .owner-upload-preview.square {
        aspect-ratio: 1 / 1;
    }



/* ===== SOURCE: chapresto-owner-orders.css ===== */

.owner-orders-page {
    padding-bottom: 3rem;
}

.compact-admin-page {
    font-size: .92rem;
}

.owner-orders-hero,
.compact-admin-hero {
    min-height: 0;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0 .85rem;
}

.owner-orders-hero h1,
.compact-admin-hero h1 {
    margin: .2rem 0 .3rem;
    color: #201b18;
    font-size: clamp(1.85rem, 3vw, 2.75rem);
    line-height: .98;
    letter-spacing: -.05em;
}

.owner-orders-hero p,
.compact-admin-hero p {
    max-width: 660px;
    margin: 0;
    color: #736960;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.35;
}

.owner-orders-hero-actions {
    display: flex;
    gap: .55rem;
    flex-wrap: wrap;
}

.owner-orders-hero-actions .cr-btn,
.owner-order-modal .cr-btn {
    min-height: 38px;
    padding-inline: .9rem;
    border-radius: 13px;
    font-size: .86rem;
}

.compact-admin-alert {
    margin: .5rem 0 .75rem;
    padding: .7rem .85rem;
    border-radius: 14px;
    font-size: .9rem;
}

.owner-orders-quickbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
    gap: .75rem;
    align-items: stretch;
    margin-bottom: .75rem;
}

.owner-orders-stats,
.compact-admin-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
    margin: 0;
}

.owner-orders-stats article,
.compact-admin-stats article {
    display: flex;
    align-items: center;
    gap: .7rem;
    min-height: 64px;
    padding: .65rem .8rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(70, 45, 25, .08);
    box-shadow: 0 10px 24px rgba(45, 30, 18, .045);
}

.owner-orders-stats article > i,
.compact-admin-stats article > i {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #fff0e6;
    color: #d85b1f;
    font-size: .95rem;
}

.owner-orders-stats strong,
.compact-admin-stats strong {
    display: block;
    color: #1e1815;
    font-size: 1.05rem;
    line-height: 1;
    font-weight: 1000;
}

.owner-orders-stats span,
.compact-admin-stats span {
    display: block;
    margin-top: .18rem;
    color: #766d65;
    font-size: .74rem;
    font-weight: 850;
}

.owner-orders-search,
.compact-admin-search {
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: 0 .85rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(70, 45, 25, .10);
    box-shadow: 0 10px 24px rgba(45, 30, 18, .045);
}

.owner-orders-search i,
.compact-admin-search i {
    color: #d85b1f;
}

.owner-orders-search input,
.compact-admin-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: .9rem;
    font-weight: 800;
}

.owner-orders-search button,
.compact-admin-search button {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: #fff0e6;
    color: #bf4c14;
}

.owner-orders-toolbar,
.compact-admin-toolbar {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .7rem;
    overflow-x: auto;
    scrollbar-width: thin;
}

.owner-order-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: .45rem;
    min-width: 0;
}

.owner-order-tabs .owner-filter {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border: 1px solid rgba(70, 45, 25, .10);
    border-radius: 999px;
    background: #fff;
    color: #241d19;
    padding: 0 .75rem;
    font-size: .84rem;
    font-weight: 950;
    cursor: pointer;
    white-space: nowrap;
}

.owner-order-tabs .owner-filter span {
    min-width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #fff1e8;
    color: #c55217;
    font-size: .72rem;
}

.owner-order-tabs .owner-filter.active {
    background: #211a16;
    color: #fff;
    border-color: #211a16;
    box-shadow: 0 8px 18px rgba(20, 12, 8, .13);
}

.owner-orders-table-card {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(70, 45, 25, .10);
    box-shadow: 0 12px 34px rgba(45, 30, 18, .06);
}

.owner-orders-table {
    width: 100%;
    display: grid;
}

.owner-orders-table-head,
.owner-orders-table-row {
    display: grid;
    grid-template-columns: minmax(190px, 1.15fr) minmax(145px, .9fr) minmax(105px, .62fr) 70px 115px 105px minmax(210px, 1fr);
    align-items: center;
    gap: .65rem;
}

.owner-orders-table-head {
    min-height: 42px;
    padding: 0 .85rem;
    background: #fff8f2;
    color: #776e66;
    font-size: .72rem;
    font-weight: 1000;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.owner-orders-table-row {
    min-height: 76px;
    padding: .65rem .85rem;
    border-top: 1px solid rgba(70, 45, 25, .08);
}

.owner-orders-table-row:hover,
.owner-orders-table-row.selected {
    background: #fffaf6;
}

.owner-orders-cell {
    min-width: 0;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
}

.owner-orders-cell strong {
    display: block;
    overflow: hidden;
    color: #1f1814;
    font-size: .93rem;
    font-weight: 1000;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.owner-orders-cell small {
    display: block;
    overflow: hidden;
    margin-top: .16rem;
    color: #766d65;
    font-size: .76rem;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.owner-orders-cell.amount {
    color: #e05f20;
    font-weight: 1000;
    white-space: nowrap;
}

.owner-orders-cell.center,
.owner-orders-cell.date {
    color: #6f665e;
    font-weight: 850;
}

.owner-orders-cell.actions {
    display: flex;
    justify-content: flex-end;
    gap: .35rem;
    flex-wrap: wrap;
}

.owner-mini-action {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: 0 .62rem;
    border-radius: 999px;
    border: 1px solid rgba(70, 45, 25, .10);
    background: #fffaf6;
    color: #241d19;
    font-size: .78rem;
    font-weight: 950;
    text-decoration: none;
    cursor: pointer;
}

.owner-mini-action.primary {
    background: #e36425;
    color: #fff;
    border-color: #e36425;
}

.owner-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 .55rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-size: .68rem;
    font-weight: 1000;
    white-space: nowrap;
}

.owner-badge.warn { background: #fff4d8; color: #a15c00; }
.owner-badge.ok { background: #e9f9ef; color: #13713a; }
.owner-badge.hot { background: #fff0e6; color: #c55217; }
.owner-badge.off { background: #f3f4f6; color: #6b7280; }

.owner-order-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(28, 20, 15, .42);
    backdrop-filter: blur(8px);
}

.owner-order-modal {
    width: min(1040px, 100%);
    max-height: min(88dvh, 820px);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(70, 45, 25, .12);
    box-shadow: 0 28px 80px rgba(20, 12, 8, .30);
}

.owner-order-modal-header {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .9rem 1rem;
    border-bottom: 1px solid rgba(70, 45, 25, .08);
    background: #fffaf6;
}

.owner-order-modal-header h2 {
    margin: .12rem 0 0;
    color: #191411;
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 1000;
}

.owner-order-modal-close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: #fff0e6;
    color: #bf4c14;
    cursor: pointer;
}

.owner-order-modal-body {
    min-height: 0;
    overflow-y: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 1rem;
    padding: 1rem;
}

.owner-order-client-card,
.compact-client-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: .7rem;
    padding: .7rem;
    border-radius: 16px;
    background: #fff8f2;
    border: 1px solid rgba(226, 98, 34, .10);
}

.owner-order-client-card > div:first-child {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #fff;
    color: #d85b1f;
}

.owner-order-client-card strong,
.owner-order-client-card span {
    display: block;
}

.owner-order-client-card strong { color: #1f1814; font-weight: 1000; }
.owner-order-client-card span,
.owner-order-client-card p { margin: .15rem 0 0; color: #675f58; font-size: .86rem; font-weight: 750; }

.owner-order-items { margin-top: .8rem; }
.owner-order-items h3,
.owner-order-quick-flow h3,
.owner-status-form h3 {
    margin: 0 0 .55rem;
    color: #1f1814;
    font-size: .95rem;
    font-weight: 1000;
}

.owner-order-items article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .7rem;
    padding: .55rem 0;
    border-bottom: 1px solid rgba(70, 45, 25, .08);
}

.owner-order-items strong { display: block; color: #1f1814; font-size: .9rem; }
.owner-order-items span { display: block; margin-top: .18rem; color: #776e66; font-size: .82rem; }
.owner-order-items em { font-style: normal; color: #e05f20; font-size: .9rem; font-weight: 1000; }

.owner-order-note,
.compact-note {
    margin-top: .75rem;
    padding: .7rem;
    border-radius: 14px;
    background: #fff8f2;
    border: 1px solid rgba(226, 98, 34, .10);
}

.owner-order-note strong { display: block; margin-bottom: .25rem; color: #1f1814; font-size: .9rem; }
.owner-order-note p { margin: 0; color: #655d55; font-size: .85rem; line-height: 1.35; }

.owner-order-modal-side {
    display: grid;
    align-content: start;
    gap: .8rem;
}

.owner-order-status-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .7rem;
}

.owner-order-status-line small { color: #776e66; font-size: .8rem; font-weight: 850; }

.owner-order-totals,
.compact-totals {
    display: grid;
    gap: .4rem;
    padding: .75rem;
    border-radius: 16px;
    background: #fffaf6;
    border: 1px solid rgba(70, 45, 25, .08);
}

.owner-order-totals div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: #665d55;
    font-size: .86rem;
}

.owner-order-totals .final {
    padding-top: .55rem;
    border-top: 1px solid rgba(70, 45, 25, .10);
    color: #1f1814;
    font-size: 1rem;
    font-weight: 1000;
}

.owner-order-contact-actions,
.compact-contact-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .55rem;
}

.owner-order-quick-flow,
.compact-flow {
    padding: .75rem;
    border-radius: 16px;
    background: #fffaf6;
    border: 1px solid rgba(70, 45, 25, .08);
}

.owner-order-quick-flow > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45rem;
}

.owner-status-form,
.compact-status-form {
    padding: .75rem;
    display: grid;
    gap: .52rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(70, 45, 25, .08);
}

.owner-status-form label {
    color: #201915;
    font-size: .78rem;
    font-weight: 950;
}

.owner-status-form .cr-input {
    min-height: 38px;
    border-radius: 12px;
    font-size: .86rem;
}

.owner-status-form textarea.cr-input {
    min-height: 72px;
}

.owner-orders-loading,
.owner-orders-empty,
.compact-admin-empty {
    min-height: 220px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: .65rem;
    text-align: center;
}

.owner-orders-loading i,
.owner-orders-empty i,
.compact-admin-empty i {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #fff0e6;
    color: #d85b1f;
    font-size: 1.1rem;
}

@media (max-width: 1180px) {
    .owner-orders-quickbar {
        grid-template-columns: 1fr;
    }

    .owner-orders-table {
        overflow-x: auto;
    }

    .owner-orders-table-head,
    .owner-orders-table-row {
        min-width: 1040px;
    }
}

@media (max-width: 860px) {
    .owner-orders-hero,
    .compact-admin-hero {
        display: grid;
        padding-top: 1rem;
    }

    .owner-orders-stats,
    .compact-admin-stats {
        grid-template-columns: 1fr;
    }

    .owner-order-modal-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .owner-order-modal-backdrop {
        padding: 0;
        align-items: end;
    }

    .owner-order-modal {
        width: 100%;
        max-height: 94dvh;
        border-radius: 22px 22px 0 0;
    }

    .owner-order-contact-actions,
    .compact-contact-actions,
    .owner-order-quick-flow > div {
        grid-template-columns: 1fr;
    }
}


