.rules-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.rules-grid .field input{max-width:100%;min-height:44px}.rules-grid .card{min-width:0}.rules-history{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;max-height:250px;overflow:auto}.rules-grid details{margin-bottom:20px}.rules-grid .primary{width:100%}@media(max-width:1000px){.rules-grid{grid-template-columns:1fr}}
.sale-product-card{position:relative;min-width:0}.sale-product-card>.product{width:100%;height:100%}.sale-product-card .product-info{padding-right:48px}.sale-product-card .product .add{display:none}.product-favorite{position:absolute;right:7px;bottom:10px;width:38px;height:40px;border:1px solid #e6dfe2;border-radius:9px;background:#fff;color:#765264;font-size:25px;line-height:1;display:grid;place-items:center}.product-favorite[aria-pressed=true]{color:#986c22;background:#fff7e7;border-color:#ead7b3}.product-favorite:focus-visible{outline:3px solid #aa7b8d;outline-offset:2px}.sale-search-bar{display:flex;gap:10px;align-items:center}.sale-search-bar .search-wrap{flex:1;margin-bottom:0;min-width:0}.sale-search-bar .search-wrap input{width:100%}.sale-search-meta{display:flex;justify-content:space-between;gap:15px;font-size:10px;color:var(--muted);margin:10px 0 18px}.sale-search-empty{grid-column:1/-1;border:1px dashed var(--line);border-radius:14px;padding:35px 20px;text-align:center;font-size:14px}.sale-search-empty p{color:var(--muted);font-size:12px;line-height:1.7}.attendance-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 20px;margin:0 0 22px;border:1px solid #dce4d7;border-radius:12px;background:#f5f8f1}.attendance-panel>div:first-child{display:flex;gap:12px;align-items:center;min-width:0}.attendance-panel strong{font-size:13px}.attendance-panel p{font-size:11px;color:var(--muted);margin:6px 0 0;line-height:1.7}.attendance-panel>.row-actions{flex-shrink:0;flex-wrap:wrap}.attendance-waiting{background:#fff8e9;border-color:#ebdfc1}.attendance-panel .icon{flex-shrink:0}.attendance-panel+.page-heading{margin-top:0}@media(max-width:700px){.sale-search-meta{flex-direction:column;gap:6px}.sale-search-bar{gap:6px}.sale-search-bar>.secondary{padding:12px 10px}.attendance-panel{align-items:flex-start;flex-direction:column;gap:12px;padding:16px}.attendance-panel>.row-actions{width:100%}.attendance-panel .row-actions button{flex:1;min-height:44px}.product-favorite{width:36px;height:40px;right:6px;bottom:8px}.sale-product-card .product-info{padding-right:40px}}
.home-dashboard{max-width:1500px;margin:auto}.home-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:8px 0 26px}.home-heading h1{font:40px Georgia,serif;margin:10px 0}.home-heading p{font-size:13px;color:var(--muted);margin:0}.home-heading-actions{display:flex;align-items:center;gap:12px}.home-cash{display:inline-flex;align-items:center;gap:8px;font-size:12px;padding:10px 13px;border:1px solid var(--line);border-radius:30px;background:#fff}.home-cash.is-open{color:#455c3c;background:#eef2e9;border-color:#dfe7d7}.home-metrics{display:grid;grid-template-columns:1.3fr repeat(3,1fr);gap:16px}.home-metric{min-width:0;text-align:left;border:1px solid var(--line);border-radius:16px;padding:22px;background:#fff;color:var(--ink);font:inherit}.home-metric>span{display:flex;justify-content:space-between;gap:8px;font-size:12px;font-weight:600}.home-metric>strong{display:block;font:38px Georgia,serif;margin:17px 0 10px}.home-metric p{font-size:12px;line-height:1.6;margin:0 0 10px}.home-metric small{font-size:10px;color:var(--muted);line-height:1.6}.home-metric .icon{width:16px;height:16px}.home-metric.home-revenue{background:#542737;color:#fff;border-color:#542737}.home-revenue>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;border-top:1px solid #805564;padding-top:12px;font-size:10px}.home-revenue b{display:block;font-size:12px;margin-top:5px}.home-metrics button:hover{border-color:#a47b8c;background:#fbf8f9}.home-metrics button:focus-visible{outline:3px solid #aa7b8d;outline-offset:3px}.home-note{font-size:10px;color:var(--muted);margin:12px 0 25px;line-height:1.7}.home-main-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:20px}.home-panel{min-width:0;background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px}.home-panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.home-panel-title h2{font:24px Georgia,serif;margin:8px 0 0}.home-panel-title>.icon{color:#9c7c88}.home-counters{display:grid;grid-template-columns:1fr 1fr;gap:14px}.home-counter{padding:17px;border:1px solid var(--line);border-radius:12px;background:#fafaf7;min-width:0}.home-counter-heading{display:flex;flex-wrap:wrap;align-items:center;gap:10px;justify-content:space-between}.home-counter h3{font-size:15px;margin:0}.home-counter p{font-size:12px;color:var(--muted);margin:17px 0}.home-counter-total{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:18px;font-size:11px}.home-counter-total strong{font:23px Georgia,serif}.home-counter>small{display:block;font-size:10px;color:var(--muted);line-height:1.7;margin-top:12px}.home-counter .primary{min-height:44px}.home-attention>div{display:flex;align-items:center;gap:14px;padding:19px 0;border-top:1px solid var(--line)}.home-attention>div:first-child{padding-top:0;border-top:0}.home-attention>div>.icon{color:#8a6977;flex-shrink:0}.home-attention>div>div{flex:1;min-width:0}.home-attention strong{font-size:13px}.home-attention p{font-size:11px;color:var(--muted);line-height:1.7;margin:6px 0 0}.home-attention button{white-space:nowrap}.home-recent{margin-top:20px}.home-sale-list>div{display:flex;align-items:center;gap:18px;padding:16px 0;border-top:1px solid var(--line);font-size:13px}.home-sale-list>div>span:first-child{flex:1;min-width:0;overflow-wrap:anywhere}.home-sale-list small{display:block;font-size:11px;color:var(--muted);margin-top:6px}.home-empty{display:flex;align-items:center;justify-content:center;gap:18px;background:#fafaf7;border-radius:10px;padding:30px;color:var(--muted);font-size:13px}.home-empty>.icon{width:32px;height:32px;flex-shrink:0}.home-empty p{font-size:12px;margin-bottom:0}.home-footer{display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:10px;padding:20px 0}
@media(max-width:1200px){.home-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.home-main-grid{grid-template-columns:1fr}.home-heading h1{font-size:34px}}
@media(max-width:700px){.home-heading{align-items:flex-start;flex-direction:column;gap:16px}.home-heading h1{font-size:32px}.home-heading-actions{width:100%;justify-content:space-between}.home-metrics{gap:10px}.home-metric{padding:16px 13px;border-radius:12px}.home-metric>strong{font-size:30px}.home-metric>span{font-size:11px;line-height:1.5}.home-metric p{font-size:11px}.home-revenue>div{flex-direction:column;gap:7px}.home-revenue b{display:inline;margin-left:5px}.home-note{font-size:10px}.home-panel{padding:18px}.home-panel-title h2{font-size:22px}.home-counters{grid-template-columns:1fr}.home-counter{padding:18px}.home-attention>div{flex-wrap:wrap;gap:10px}.home-attention>div>div{flex-basis:calc(100% - 36px)}.home-attention button{margin-left:30px}.home-empty{padding:22px 16px;align-items:flex-start;line-height:1.6}.home-sale-list>div{gap:10px;flex-wrap:wrap}.home-sale-list>div>span:first-child{flex-basis:100%}.home-footer{flex-direction:column;line-height:1.6}.home-panel-title{align-items:flex-start}.home-panel-title .secondary{font-size:10px;padding:10px}}
.server-notice{height:auto;min-height:31px;text-align:center}.server-app .nav button{min-height:48px}.server-app .profile-picker{font-size:12px}.server-app .profile-picker small{display:block;color:var(--muted);margin-top:5px}.server-app .product-art{height:100px}.server-app .product-art>span{font:40px Georgia,serif;color:var(--wine)}.server-app .product{min-height:190px}.server-app .field{margin-bottom:16px}.server-app .basket{padding:20px;min-width:0;position:static;overflow:visible}.server-app .basket-lines{max-height:min(42vh,420px);overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;min-height:0}.server-app .basket-line{padding:15px 0}.server-app .basket .primary{margin-top:15px}.server-app .total-row{padding:7px 0}.server-app .field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.server-app .customer-data{min-width:0}.server-app .customer-data .field{margin-bottom:20px}.server-app .audit-item{overflow-wrap:anywhere}.server-app .discount-user{min-width:0}.server-app .discount-choice input{flex-shrink:0}.server-app details summary{cursor:pointer;min-height:40px;padding:12px 0;font-weight:600}.server-app details .legend{margin-top:10px}.server-app .tag{margin-right:5px}.server-app .sale-card{margin-bottom:16px}.server-app .sale-card h2{font-size:18px}.server-app .sale-card p{overflow-wrap:anywhere}.server-app .error:empty{display:none}.server-app .toolbar{align-items:center}.server-app .empty{font-size:14px}.server-app .basket-note{font-size:11px}.server-app #sync-banner{margin-bottom:20px}.server-app #sync-banner button{margin-left:12px}.server-app .primary:disabled{opacity:.55;cursor:wait}#operator-pin{width:100%}.server-app .cash-history{margin-top:24px}
.user-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.user-card{min-width:0}.user-card h2{font-size:19px;overflow-wrap:anywhere}.user-card .row-actions{flex-wrap:wrap}.server-app fieldset{border:1px solid var(--line);padding:14px;margin:0 0 18px}.server-app .profile-picker{flex-wrap:wrap}.server-app .profile-picker .secondary{white-space:nowrap}@media(max-width:700px){.user-grid{grid-template-columns:1fr}.server-app .topbar{height:auto;min-height:77px;padding-top:12px;padding-bottom:12px;gap:10px;align-items:flex-start}.server-app .profile-picker{justify-content:flex-end}.user-card .card-heading{flex-wrap:wrap;gap:8px}}
@media(max-width:700px){.server-app .field-row{grid-template-columns:1fr}.server-app .profile-picker{font-size:10px;max-width:220px}.server-app .profile-picker .secondary{padding:8px}.server-app .entry-access{padding-bottom:35px}.server-app .basket{padding:20px}.server-app .sale-layout{gap:18px}.server-app .customer-view{padding-bottom:35px}.server-app .mobile-nav button{font-size:10px;min-height:45px}.server-app .audit-item{grid-template-columns:1fr}.server-app .discount-users{grid-template-columns:1fr}}

.site-summary,.site-controls{display:flex;justify-content:space-between;align-items:center;gap:20px}.site-summary p{max-width:660px}.site-summary .primary{white-space:nowrap}.site-modal{width:min(1100px,94vw);max-width:1100px}.site-review-list{margin:20px 0}.site-review-row{display:grid;grid-template-columns:2fr 1fr;gap:24px;border-top:1px solid var(--line);padding:18px 0}.site-review-row small{display:block;color:var(--muted);margin-top:7px}.site-review-row a{display:inline-block;margin-top:9px}.site-review-row .checkline{align-items:flex-start}.site-controls .row-actions{flex-wrap:wrap}.product-sheet{display:grid;grid-template-columns:180px 1fr;gap:25px}.product-sheet img{max-width:180px;max-height:250px;object-fit:contain}.server-app .product-art img{height:100px;min-height:0;width:100%;object-fit:contain;display:block;background:#fff}.site-review-row input{flex-shrink:0}@media(max-width:700px){.site-summary,.site-controls{display:block}.site-review-row{grid-template-columns:1fr;gap:5px}.site-review-row>div{padding-left:28px}.product-sheet{grid-template-columns:1fr}.site-controls .row-actions{margin:14px 0}}
.server-app .sale-layout>section{min-width:0}@media(max-width:700px){.server-app .sale-layout>section{width:100%}}

@media(max-width:700px){.server-app .mobile-nav{overflow-x:auto;justify-content:flex-start}.server-app .mobile-nav button{flex:0 0 auto;min-width:60px}}

/* Stock: a compact workspace, with source balances distinct from POS availability. */
.stock-import-intro{font-size:13px;line-height:1.8;color:#71776a;margin-bottom:24px}#erp-import-form input[type=file]{height:auto;min-height:66px;padding:18px;background:#f8f6f7;border:1px dashed #cbb6c1}#erp-import-form>.primary{width:100%;min-height:46px;margin-top:12px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.stock-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:23px}.stock-heading .page-heading{margin:0}.stock-heading h1{font-size:38px}.stock-heading-actions{display:flex;gap:10px;flex-shrink:0}.stock-heading-actions button{display:flex;gap:9px;align-items:center;min-height:44px}.stock-heading-actions svg{width:17px;height:17px}
.stock-source{display:flex;align-items:center;gap:13px;padding:16px 20px;background:#eeeee7;border:1px solid #e0e1d8;border-radius:12px;margin-bottom:22px}.stock-source-icon{display:grid;place-items:center;background:#fff9;padding:10px;border-radius:9px;color:#666d5d}.stock-source>div{min-width:0}.stock-source strong{display:block;font-size:13px;font-weight:600}.stock-source>div>span{display:block;font-size:11px;color:#687060;margin-top:5px;overflow-wrap:anywhere}.stock-source details{margin-left:auto;max-width:360px;font-size:12px}.server-app .stock-source summary{padding:8px 0;min-height:32px;font-size:11px;font-weight:500;white-space:nowrap}.stock-source details p{font-size:11px;line-height:1.6;margin:6px 0}
.stock-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.stock-metric{background:#fff;border:1px solid var(--line);border-radius:12px;padding:19px 20px;text-align:left;min-width:0;color:var(--ink);display:flex;flex-direction:column;gap:10px}.stock-metric>span{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:12px;font-weight:500}.stock-metric svg{width:15px;height:15px;color:#8d8f86}.stock-metric>strong{font-size:32px;font-weight:500;line-height:1.1;font-variant-numeric:tabular-nums;letter-spacing:-1px}.stock-metric>small{font-size:10px;color:#767972;line-height:1.5}.stock-metric:hover:not(div),.stock-metric[aria-pressed=true]{border-color:#956379;box-shadow:0 0 0 1px #956379}.stock-metric.needs-review{background:#fcf8f0;border-color:#e9dcc7}.stock-metric.needs-review>strong{color:#93652c}.stock-metric.needs-review[aria-pressed=true]{border-color:#ab7a34;box-shadow:0 0 0 1px #ab7a34}.stock-progress{background:#f2ecef;border-color:#e4d8df}.stock-progress strong small{font-size:18px;font-weight:400;color:#8e737f;letter-spacing:0}.stock-progress progress{width:100%;height:5px;accent-color:var(--wine);border:0;border-radius:4px;overflow:hidden}.stock-progress progress::-webkit-progress-bar{background:#dfd3da}.stock-progress progress::-webkit-progress-value{background:var(--wine)}
.stock-guidance{display:flex;align-items:center;gap:12px;margin-bottom:24px;color:#716249}.stock-guidance>svg{width:18px;height:18px}.stock-guidance p{margin:0;font-size:11px;line-height:1.7;flex:1}.stock-guidance p strong{font-weight:600}.stock-guidance button{white-space:nowrap;font-size:11px;min-height:40px}
.stock-workbench{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;scroll-margin-top:20px}.stock-tools{display:flex;align-items:center;gap:16px;padding:19px 22px;border-bottom:1px solid var(--line)}.stock-search{display:flex;align-items:center;gap:11px;flex:1;min-width:120px;border:1px solid #dedfd7;background:#fafaf7;padding:0 13px;border-radius:8px}.stock-search:focus-within{outline:2px solid #ad7f91;outline-offset:1px}.stock-search svg{width:17px;height:17px;color:#888e81}.stock-search input{border:0;outline:0!important;background:transparent;width:100%;min-width:0;height:43px;font-size:12px;color:var(--ink)}.stock-filter{display:flex;gap:10px;align-items:center;font-size:11px;color:var(--muted)}.stock-filter select{border:1px solid var(--line);border-radius:8px;background:#fff;height:43px;padding:0 28px 0 12px;font-size:12px;max-width:100%;color:var(--ink)}.stock-tools>.text-button{min-height:43px;font-size:11px}.stock-list-meta{display:flex;justify-content:space-between;gap:15px;padding:13px 22px;font-size:10px;color:#7a7e73}.stock-list-meta>span:first-child{color:#555f50;font-weight:600}
.stock-table{width:100%;border-collapse:collapse;table-layout:fixed}.stock-table th{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.8px;text-align:left;padding:12px 22px;background:#f8f8f4;color:#767e6f;border-top:1px solid #eeeeE8;border-bottom:1px solid var(--line)}.stock-table th:nth-child(1){width:40%}.stock-table th:nth-child(2){width:16%}.stock-table th:nth-child(3){width:29%}.stock-table th:nth-child(4){width:15%}.stock-table td{padding:16px 22px;vertical-align:middle;border-bottom:1px solid #eeeee8;font-size:12px}.stock-table tbody tr:last-child td{border-bottom:0}.stock-table tbody tr:hover{background:#fcfbf8}.stock-code{font-size:10px;font-weight:600;letter-spacing:.5px;color:#876478;display:block;margin-bottom:5px;overflow-wrap:anywhere}.stock-article>strong{font-size:13px;line-height:1.6;font-weight:600;display:block;overflow-wrap:anywhere}.stock-row-note{display:block;margin-top:5px;color:#68715f;font-size:11px;line-height:1.7;overflow-wrap:anywhere}.stock-row-note b{color:#455f4d;font-weight:600}.stock-balance>strong{font-size:21px;font-weight:500;display:block;margin-bottom:5px;font-variant-numeric:tabular-nums}.stock-number-warning{color:#ab602e!important}.stock-badge{display:inline-flex;align-items:center;font-size:10px;font-weight:500;line-height:1.4;border-radius:5px;padding:4px 7px;white-space:normal}.stock-badge.neutral{background:#f1f2ec;color:#6f7768}.stock-badge.warning{background:#fcf0dc;color:#976523}.stock-badge.good{background:#eaf2eb;color:#477350}.stock-shared{display:block;font-size:9px;color:#8a7381;margin-top:6px}.stock-mobile-label{display:none}.stock-action{position:relative}.stock-action>svg{position:absolute;right:19px;top:calc(50% - 7px);width:14px;height:14px;color:#936779;pointer-events:none}.stock-row-button{border:0;background:transparent;color:var(--wine);padding:12px 18px 12px 0;font-size:11px;text-align:left;line-height:1.5;min-height:44px}.stock-row-button:hover{text-decoration:underline}
.stock-pagination{padding:16px 22px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:11px;color:#7a8073}.stock-pagination>div{display:flex;align-items:center;gap:15px}.stock-pagination button{font-size:11px;min-height:38px}.stock-pagination button:disabled{cursor:default}.stock-footnote{color:#7a7e73;font-size:11px;line-height:1.8;margin:16px 3px 0}.stock-empty{text-align:center;padding:50px 24px;color:#777d70}.stock-empty>svg{margin:0 auto 15px;width:28px;height:28px;color:#967182}.stock-empty h3{font-size:17px;color:var(--ink)}.stock-empty p{font-size:12px;line-height:1.8}.stock-empty button{margin-top:10px}.stock-first{background:#fff;border:1px dashed #d5c9cf;border-radius:16px}
.stock-modal{width:min(780px,94vw);max-width:780px}.stock-detail-source{display:flex;justify-content:space-between;gap:25px;background:#f5f4ef;padding:20px;border-radius:10px}.stock-detail-source h3{font-size:17px;line-height:1.5;margin:7px 0 9px}.stock-detail-source small{color:#7a7e73;font-size:10px}.stock-detail-source>div:last-child{min-width:94px;text-align:right}.stock-detail-source>div:last-child>span{font-size:10px;color:#777d70}.stock-detail-source>div:last-child>strong{display:block;font-size:30px;font-weight:500;margin-top:9px}.stock-detail-warning{display:flex;gap:12px;background:#fcf3e4;border:1px solid #f0dfc6;color:#8f5e26;border-radius:8px;padding:15px;margin-top:15px}.stock-detail-warning svg{width:17px;height:17px}.stock-detail-warning strong{font-size:12px}.stock-detail-warning p{font-size:11px;line-height:1.8;margin:5px 0 0}.server-app .stock-origin summary{font-size:11px;color:#777d70;font-weight:400}.stock-origin>div{background:#faf9f6;padding:6px 14px;border-radius:7px}.stock-origin p{display:flex;justify-content:space-between;font-size:11px;margin:10px 0}.stock-existing{padding:15px 18px;background:#f2f7f1;border:1px solid #dce8d9;border-radius:9px;margin:12px 0 24px}.stock-existing h3{font-size:12px;color:#54734c}.stock-existing>div{display:flex;justify-content:space-between;gap:15px;padding:10px 0;border-bottom:1px solid #e0e8dc;font-size:11px}.stock-existing small{display:block;font-size:10px;color:#7a8675;margin-top:5px}.stock-existing>p{font-size:10px;color:#677b5f;line-height:1.6;margin:12px 0 0}.stock-step{padding:20px 0;border-top:1px solid var(--line)}.stock-step h3{display:flex;align-items:center;gap:9px;font-size:14px;margin-bottom:12px}.stock-step h3>span{border-radius:50%;background:var(--wine-soft);color:var(--wine);display:grid;place-items:center;width:24px;height:24px;font-size:11px}.stock-step>p{font-size:11px;line-height:1.8;color:#7a7e73;margin:8px 0 12px}.stock-step input[type=search],#erp-pos-code{width:100%;max-width:100%;height:44px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:0 12px;font-size:12px}.stock-step input[type=search]{background:#fafaf7;margin-bottom:10px}.stock-step .field input{max-width:180px}.stock-step .field label{font-size:12px}.stock-conversion{font-size:11px;line-height:1.8;background:#f4f1f3;color:#7c6472;padding:14px 16px;border-radius:8px}.stock-conversion strong,.stock-conversion span{display:block}.stock-conversion strong{color:var(--wine);margin-bottom:4px}.stock-no-sales{background:#f6f7f3;border-radius:7px;padding:12px 14px}.stock-save{border-top:1px solid var(--line);padding-top:20px}.stock-save>.checkline{font-size:12px;line-height:1.8;align-items:flex-start}.stock-save p{font-size:10px;line-height:1.8;color:#7a7e73;margin:12px 0}.stock-save>.primary{width:100%;min-height:46px}.stock-modal .modal-body{padding-bottom:26px}
@media(max-width:1150px){.stock-metric{padding:16px}.stock-metric>span{font-size:11px}.stock-table th,.stock-table td{padding-left:15px;padding-right:15px}.stock-heading{gap:16px}.stock-heading h1{font-size:32px}.stock-heading-actions .primary{font-size:11px}.stock-action>svg{display:none}.stock-list-meta>span:last-child{max-width:250px;text-align:right}}
@media(max-width:850px){.stock-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.stock-table th:nth-child(1){width:36%}.stock-table th:nth-child(2){width:17%}.stock-table th:nth-child(3){width:30%}.stock-table th:nth-child(4){width:17%}.stock-tools{gap:10px;padding:15px}.stock-filter label{display:none}.stock-source{flex-wrap:wrap}.stock-source details{margin-left:0;max-width:none;flex-basis:100%}.stock-heading{align-items:flex-start}.stock-guidance button{white-space:normal}}
@media(max-width:650px){.stock-heading{display:block}.stock-heading h1{font-size:32px}.stock-heading-actions{margin-top:18px}.stock-heading-actions>.primary{flex:1;justify-content:center;font-size:12px}.stock-source{padding:13px;gap:10px;margin-bottom:16px}.stock-source-icon{display:none}.stock-source strong{font-size:12px}.stock-source>div>span{font-size:10px}.stock-source details{flex-basis:auto}.stock-metrics{gap:10px}.stock-metric{padding:14px;gap:8px}.stock-metric>strong{font-size:29px}.stock-metric>small{font-size:9px}.stock-metric svg{display:none}.stock-guidance{align-items:flex-start;flex-wrap:wrap;gap:8px;margin-bottom:18px}.stock-guidance p{font-size:10px}.stock-guidance button{margin-left:25px;padding:0;min-height:30px}.stock-tools{flex-wrap:wrap;gap:10px}.stock-search{flex-basis:100%}.stock-search input{font-size:16px}.stock-filter{flex:1}.stock-filter label{display:block}.stock-filter select{flex:1;width:100%;font-size:12px;min-width:0}.stock-list-meta{padding:12px 15px}.stock-list-meta>span:last-child{display:none}.stock-table,.stock-table tbody,.stock-table tr,.stock-table td{display:block;width:100%}.stock-table thead{display:none}.stock-table tr{display:grid;grid-template-columns:95px minmax(0,1fr);border-top:1px solid var(--line);padding:17px 15px;gap:14px}.stock-table td{border:0;padding:0}.stock-table .stock-article{grid-column:1/-1}.stock-article>strong{font-size:13px}.stock-table .stock-balance{grid-column:1}.stock-table .stock-link{grid-column:2}.stock-mobile-label{display:block;font-size:9px;color:#7d8475;margin-bottom:8px}.stock-balance>strong{font-size:24px}.stock-table .stock-action{grid-column:1/-1;border-top:1px solid #f0f0e9;padding-top:6px}.stock-action>svg{display:block;right:0;top:calc(50% - 3px)}.stock-row-button{width:100%;min-height:36px;padding:8px 0;font-size:11px}.stock-pagination{padding:13px 15px;flex-wrap:wrap;font-size:10px}.stock-pagination>div{width:100%;justify-content:space-between;gap:8px}.stock-footnote{font-size:10px}.stock-detail-source{padding:15px;gap:14px}.stock-detail-source h3{font-size:14px}.stock-detail-source>div:last-child{min-width:60px}.stock-detail-source>div:last-child>strong{font-size:26px}.stock-modal .modal-body{padding:17px}.stock-modal .modal-head h2{font-size:22px}.stock-step input[type=search],#erp-pos-code{font-size:16px}.stock-existing>div{flex-direction:column;gap:6px}.stock-existing>div>span:last-child{display:flex;gap:8px;align-items:center}.stock-existing>div>span:last-child small{margin:0}.stock-modal{max-height:94dvh}}

/* Entry keeps the approved mockup composition, with personal authentication. */
.server-app .entry-posts{border:0;padding:0;margin:0 0 24px;grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}.server-app .entry-access .field{margin-bottom:0}.server-app .entry-access .helper{margin-top:10px;line-height:1.8}.server-app .entry-submit{justify-content:space-between}.server-app .entry-form-wrap{padding:32px 0}.server-app .entry-layout .entry-post strong{text-align:center}@media(max-width:700px){.server-app .entry-posts{grid-template-columns:repeat(auto-fit,minmax(95px,1fr))}}

/* Customer language and the handover before payment. */
.customer-header-tools{display:flex;align-items:center;gap:24px}.customer-header-tools>span{font-size:12px;color:var(--muted)}
.customer-languages{display:flex;padding:4px;gap:4px;background:#f5f1ed;border:1px solid var(--line);border-radius:12px}
.customer-languages button{min-height:44px;padding:8px 16px;border:0;background:transparent;border-radius:8px;color:var(--muted)}
.customer-languages button[aria-pressed=true]{background:var(--wine,#572838);color:#fff;box-shadow:0 2px 5px #57283820}
.customer-status-icon{display:flex;align-items:center;justify-content:center;margin:0 auto 24px;background:#eee8e2;color:#572838;border-radius:50%;width:76px;height:76px}.customer-status-icon .icon{width:36px;height:36px}
.customer-handover{margin:0 auto}.customer-handover>p{margin-bottom:24px}.customer-next{display:flex;gap:16px;align-items:center;text-align:left;background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;margin:0 auto 32px;line-height:1.7;max-width:510px}.customer-next .icon{flex-shrink:0;width:28px;height:28px;color:#572838}
.customer-data .field input{min-height:58px;font-size:19px}.customer-data .checkline{line-height:1.6}.customer-data input[aria-invalid=true]{border-color:#9a3232}
@media(max-width:700px){.customer-header{gap:12px;flex-wrap:wrap}.customer-header-tools{gap:8px}.customer-header-tools>span{display:none}.customer-languages button{padding:8px 12px}.customer-next{padding:18px}.customer-handover{padding-top:40px}}

/* Shared till closing: readiness, count and explicit review. */
.cash-session{display:flex;justify-content:space-between;align-items:center;gap:18px}.cash-session strong{margin-left:12px}.cash-session p,.cash-period{color:var(--muted);font-size:12px;line-height:1.7}.cash-period{margin:0 0 20px}
.cash-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:22px 0}.cash-summary>div{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;display:flex;flex-direction:column;gap:8px}.cash-summary strong{font-size:30px;color:#572838}.cash-summary span{font-size:12px}.cash-summary small{font-size:11px;color:var(--muted)}
.cash-guide{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:start}.cash-step{background:#fff;padding:26px;border:1px solid var(--line);border-radius:18px;margin-bottom:20px}.cash-step-heading{display:flex;align-items:center;gap:12px;margin-bottom:20px}.cash-step-heading h2{margin:0;font-size:23px}.cash-step-heading>span{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:#f2e9e7;border-radius:50%;color:#572838;font-weight:700;flex-shrink:0}.cash-counters>div{display:flex;flex-wrap:wrap;gap:10px;align-items:center;border-bottom:1px solid var(--line);padding:14px 0}.cash-counters>div>strong{margin-right:auto}.cash-counters small{flex-basis:100%;color:var(--muted)}
.cash-breakdown{margin:0}.cash-breakdown>div,.cash-comparison dl>div{display:flex;justify-content:space-between;gap:15px;margin:15px 0;font-size:13px}.cash-breakdown dd,.cash-comparison dd{margin:0;font-weight:700;white-space:nowrap}.cash-breakdown>div:last-child{border-top:1px solid var(--line);padding-top:18px;font-weight:700}.cash-live{margin:-8px 0 24px;color:#572838;font-weight:600;font-size:13px;min-height:20px}#cash-close-form .field input{font-size:20px;min-height:52px}#cash-close-form textarea{width:100%;resize:vertical}
.cash-followup{background:#f0ece7;border-radius:16px;padding:22px;display:flex;gap:18px;align-items:center;justify-content:space-between;margin-bottom:24px}.cash-followup>div{display:flex;gap:16px}.cash-followup .icon{flex-shrink:0}.cash-followup h3{margin:0}.cash-followup p{font-size:13px;margin:8px 0}.cash-followup small{font-size:11px;color:var(--muted)}.cash-followup button{flex-shrink:0}
.cash-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0}.cash-comparison>div{border:1px solid var(--line);border-radius:12px;padding:18px}.cash-comparison h3{margin:0}.cash-difference{display:block;padding:12px;border-radius:8px;font-size:13px}.cash-difference.balanced{background:#edf2e7;color:#476140}.cash-difference.difference{background:#fff0da;color:#79501b}.cash-note{padding:16px;border-left:3px solid #9a7047;background:#faf5ee;overflow-wrap:anywhere}.cash-note p{white-space:pre-wrap;margin:8px 0 0}.cash-movements{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;margin:14px 0}.cash-movements summary{cursor:pointer;font-weight:600;font-size:13px}.cash-closed{border-top:3px solid #476140}
@media(max-width:1000px){.cash-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.cash-guide{grid-template-columns:1fr}.cash-followup{flex-wrap:wrap}.cash-summary>div{padding:16px}.cash-summary strong{font-size:25px}}
@media(max-width:600px){.cash-summary{grid-template-columns:1fr;gap:10px}.cash-summary>div{display:grid;grid-template-columns:1fr auto;align-items:center}.cash-summary small{grid-column:1/-1}.cash-summary strong{font-size:24px}.cash-step{padding:18px}.cash-comparison{grid-template-columns:1fr}.cash-session{align-items:flex-start}.cash-session strong{display:block;margin:10px 0}.cash-followup{padding:18px}.cash-counters>div>strong{font-size:13px}.cash-movements{padding:16px}}

.cash-step .helper,#cash-confirm-form .helper{margin:14px 0;line-height:1.8}#cash-close-form .field label{display:block;margin-bottom:8px}#cash-close-form textarea{font-size:14px;line-height:1.6;min-height:94px}

/* Office queue: real pending sales first, with compact expandable records. */
.office-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.office-metric{display:flex;flex-direction:column;align-items:flex-start;gap:12px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;text-align:left;color:inherit;cursor:pointer}.office-metric>span{width:100%;display:flex;align-items:center;justify-content:space-between;font-size:13px}.office-metric strong{font-size:34px;color:#572838}.office-metric small{font-size:11px;color:var(--muted)}.office-metric[aria-pressed=true]{border-color:#572838;background:#faf4f6}.office-scope{font-size:12px;color:var(--muted);line-height:1.7;margin:16px 0 24px}.office-workbench{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;margin-bottom:22px}.office-tools{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px}.office-tools>div{min-width:0}.office-tools label{display:block;font-size:12px;margin-bottom:8px}.office-tools input,.office-tools select{width:100%;min-height:44px;min-width:0}.office-options{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:20px}.office-options>div{display:flex;gap:8px}.office-options .checkline{margin:0;font-size:12px}.office-results-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;font-size:12px;color:var(--muted);margin:20px 0}.office-sale-heading{display:flex;align-items:center;gap:20px}.office-sale-heading>div{flex:1;min-width:0}.office-sale-heading h2{margin:0;overflow-wrap:anywhere}.office-sale-heading p{font-size:12px;color:var(--muted);margin:8px 0}.office-sale-heading>strong{font-size:22px;white-space:nowrap;color:#572838}.office-sale-meta{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:12px;color:var(--muted);margin:12px 0}.office-attention{color:#80531b;background:#fff2dd;padding:4px 8px;border-radius:6px}.office-detail{border-top:1px solid var(--line);margin-top:16px}.office-detail summary{color:#572838;font-size:13px}.office-event{font-size:12px;border-left:3px solid #839277;padding:10px 14px;background:#f4f5ef;overflow-wrap:anywhere}.office-actions{padding:12px 0;gap:10px}.office-pagination{display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:12px;margin:24px 0}.office-pagination>div{display:flex;gap:14px;align-items:center}.office-empty{text-align:center;padding:44px 20px;background:#fff;border:1px solid var(--line);border-radius:16px}.office-empty>.icon{width:36px;height:36px;color:#572838}.office-empty p{color:var(--muted);line-height:1.7}.office-empty button{margin:8px}.office-dialog-context{padding:16px;background:#f5f1ed;border-radius:10px;line-height:1.8;overflow-wrap:anywhere}
@media(max-width:1000px){.office-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.office-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.office-search{grid-column:1/-1}}
@media(max-width:600px){.office-metric{padding:16px;gap:8px}.office-metric>span{font-size:11px}.office-metric strong{font-size:28px}.office-metric small{font-size:10px}.office-workbench{padding:16px}.office-tools{gap:12px}.office-tools input,.office-tools select{font-size:16px}.office-sale-heading{flex-wrap:wrap;gap:10px}.office-sale-heading>div{flex-basis:100%}.office-sale-heading>strong{margin-left:auto}.office-sale-meta{line-height:1.6}.office-pagination{flex-wrap:wrap}.office-pagination>div{width:100%;justify-content:space-between}.office-options>div{width:100%}.office-options button{flex:1}.office-sale{padding:18px}}

.office-tools input,.office-tools select{padding:11px 12px;border:1px solid #d8d5cf;border-radius:9px;background:#fff;color:var(--ink,#2f332f);font-family:inherit}.office-tools input:focus,.office-tools select:focus{outline:2px solid #b99865;outline-offset:2px}.office-options input[type=checkbox]{width:18px;height:18px;accent-color:#572838}

.office-sale-meta{overflow-wrap:anywhere}.office-sale-meta>span{max-width:100%}

.home-preparation{margin-top:20px}.home-preparation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.home-preparation-grid article{display:flex;align-items:flex-start;flex-direction:column;min-width:0;padding:4px 20px 4px 0;border-right:1px solid var(--line)}.home-preparation-grid article:last-child{border-right:0;padding-right:0}.home-preparation-grid .icon{color:#8a6977}.home-preparation-grid h3{font-size:14px;margin:13px 0 10px}.home-preparation-grid strong{font-size:13px;line-height:1.6}.home-preparation-grid p{font-size:12px;color:var(--muted);line-height:1.8;margin:8px 0 18px;overflow-wrap:anywhere;flex:1}.home-preparation-grid a{display:inline-block;text-decoration:none;text-align:center}.home-preparation-grid small{font-size:10px;color:var(--muted);line-height:1.6;margin-top:9px}.home-preparation-grid .secondary{min-height:44px}
@media(max-width:850px){.home-preparation-grid{grid-template-columns:1fr;gap:18px}.home-preparation-grid article{padding:0 0 18px;border-right:0;border-bottom:1px solid var(--line)}.home-preparation-grid article:last-child{border-bottom:0;padding-bottom:0}}

.demo-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 24px;background:#f1ede4;border-bottom:1px solid #cbbfa9;color:#432a35}.demo-toolbar.is-training{background:#fff0ca;border-color:#b58a3e}.demo-toolbar>div:first-child{display:grid;gap:5px;min-width:0}.demo-toolbar strong{font-size:13px;letter-spacing:.03em}.demo-toolbar span{font-size:11px;line-height:1.6}.demo-toolbar>div:last-child{display:flex;gap:8px;flex-shrink:0}.demo-toolbar button{min-height:44px}.demo-toolbar.is-training button:first-child{border-color:#9c722e}
@media(max-width:700px){.demo-toolbar{align-items:stretch;flex-direction:column;padding:12px 16px;gap:10px}.demo-toolbar>div:last-child{flex-wrap:wrap}.demo-toolbar button{flex:1;font-size:12px}}
.booking-page{max-width:1440px;margin:auto}.booking-heading,.booking-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.booking-heading{margin-bottom:24px}.booking-heading h1{margin:6px 0}.booking-heading p{color:#746c66}.booking-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.booking-summary>div{background:#fff;border:1px solid #e5ded5;border-radius:14px;padding:20px;display:grid;gap:6px}.booking-summary strong{font-size:30px;color:#572838}.booking-summary span{color:#746c66}.booking-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:20px;background:#f2eee7;border-radius:14px}.booking-filters .field{flex:1;min-width:140px;margin:0}.booking-filters .field:nth-child(3){flex:2}.booking-list{display:grid;gap:12px;margin:20px 0}.booking-card{display:grid;grid-template-columns:115px minmax(0,1fr) 155px;gap:20px;padding:22px;background:#fff;border:1px solid #e5ded5;border-radius:14px;align-items:start}.booking-date{display:grid;gap:8px;color:#572838}.booking-detail{min-width:0}.booking-detail p{margin:7px 0;overflow-wrap:anywhere;font-size:14px}.booking-card-title{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.booking-card-title h2{font-size:18px;margin:0}.booking-tag{font-size:12px;padding:5px 9px;border-radius:20px;background:#f2eee7;white-space:nowrap}.booking-review{color:#8a581c}.booking-card-end{display:grid;gap:16px;text-align:right}.booking-block{border-left:5px solid #8a581c;background:#fcf8f0}.booking-empty{padding:50px 24px;text-align:center;background:#fff;border:1px dashed #d5c9bb;border-radius:14px}.booking-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.booking-form-grid .field{margin:0;min-width:0}.booking-source{margin:16px 0;padding:12px;background:#f5f1ea}.booking-source dl{display:grid;grid-template-columns:120px minmax(0,1fr);gap:10px;font-size:14px}.booking-source dd{margin:0;overflow-wrap:anywhere}.booking-preview-list{max-height:45vh;overflow:auto;border:1px solid #e5ded5;border-radius:10px;margin:16px 0}.booking-preview-row{display:flex;align-items:start;gap:12px;padding:14px;border-bottom:1px solid #eee7dd;font-weight:normal;overflow-wrap:anywhere}.booking-preview-row input{flex-shrink:0;margin-top:5px}.booking-preview-row small{color:#746c66}.booking-actions button{white-space:nowrap}@media(max-width:700px){.booking-summary{gap:8px}.booking-summary>div{padding:14px 10px}.booking-summary strong{font-size:24px}.booking-summary span{font-size:12px}.booking-card{grid-template-columns:1fr;padding:16px;gap:12px}.booking-date{display:flex;justify-content:space-between}.booking-card-end{display:flex;align-items:center;justify-content:space-between}.booking-form-grid{grid-template-columns:1fr}.booking-filters{padding:14px}.booking-source dl{grid-template-columns:1fr}.booking-heading .booking-actions{width:100%}.booking-heading .booking-actions button{flex:1}.booking-actions{justify-content:center}}

.booking-form-grid .field[hidden]{display:none}

/* Reservations: agenda first, finite 09:00–21:00 grid (52px per hour, no inner scroll), month totals; phones read the week as day lists. */
.res-page{--res-hour:52px;max-width:1500px;margin:auto;min-width:0}
.res-heading{display:flex;justify-content:space-between;align-items:center;gap:12px 16px;flex-wrap:wrap;margin-bottom:12px}.res-heading h1{font:32px Georgia,serif;margin:0}.res-heading p{margin:4px 0 0;color:var(--muted);font-size:12px}
.res-actions{display:flex;gap:8px;flex-wrap:wrap}.res-actions button{min-height:44px;padding:9px 16px;white-space:nowrap}
.res-stats{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;border-bottom:1px solid var(--line);padding:0 0 14px;margin-bottom:14px;font-size:13px}.res-stats>span strong{color:var(--wine);font-size:18px;margin-right:3px}.res-stats small{color:var(--muted)}
.res-chip{display:inline-flex;align-items:center;min-height:32px;padding:5px 10px;border-radius:7px;border:1px solid #e6dcc4;background:#f8f4ec;color:#5f5442;font-size:12px;font-weight:500;cursor:pointer;white-space:nowrap}span.res-chip{cursor:default}.res-chip.is-warn{background:var(--amber-bg);border-color:#ead39f;color:#704b13}button.res-chip:hover{border-color:#c9a86a}
.res-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.res-period{display:flex;align-items:center;gap:6px;min-width:0}.res-period h2{font-size:16px;font-weight:650;margin:0 0 0 8px;min-width:0}.res-period button{min-height:44px;padding:9px 14px}.res-arrow{width:44px;padding:8px!important;font-size:18px;justify-content:center}
.res-views{display:flex;gap:3px;padding:4px;background:#eae6e0;border-radius:10px}.res-view{border:0;background:transparent;min-height:40px;padding:7px 16px;border-radius:8px;color:var(--ink);font-size:14px;justify-content:center}.res-view[aria-pressed=true]{background:#fff;color:var(--wine);box-shadow:0 1px 4px #35202c18;font-weight:650}
.res-search{margin-bottom:16px}.res-search-row{display:flex;gap:10px}.res-search-row input{flex:1;min-width:0;border:1px solid var(--line);border-radius:8px;padding:10px 14px;min-height:44px;background:#fff;font-size:14px}.res-filter-toggle,.res-clear-inline{min-height:44px;padding:9px 16px}#res-clear-slot{display:contents}
.res-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;background:#fff;border:1px solid var(--line);padding:12px;border-radius:10px;margin-top:10px}.res-filter{display:grid;gap:4px;min-width:170px}.res-filter label{font-size:12px;color:var(--muted)}.res-filter select,.res-filter input{min-height:44px;border:1px solid var(--line);border-radius:8px;padding:8px 10px;background:#fff;font-size:14px;min-width:0}.res-jump{display:flex;gap:6px}.res-jump input{flex:1}.res-jump button{min-height:44px;padding:8px 14px}.res-clear{min-height:44px;padding:9px 14px}
.res-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:6px 0 10px}.res-section-head h2,.res-section-head h3{font-size:16px;margin:0}.res-section-head span{font-size:12px;color:var(--muted);text-align:right}
.res-list{display:grid;gap:10px}
.res-card{display:grid;grid-template-columns:118px minmax(0,1fr) 110px 170px;gap:18px;align-items:center;width:100%;text-align:left;padding:16px 20px;background:#fff;border:1px solid var(--line);border-radius:12px;color:var(--ink);cursor:pointer;font:inherit;line-height:1.35;white-space:normal}.res-card:hover{border-color:#b98c9e}
.res-card:focus-visible,.res-event:focus-visible,.res-cluster:focus-visible,.res-untimed-item:focus-visible,.res-month-item:focus-visible,.res-month-day:focus-visible,.res-day-button:focus-visible{outline:3px solid #a56d84;outline-offset:2px;z-index:5}
.res-card.is-next{border-left:4px solid var(--wine);padding-left:17px;box-shadow:0 3px 10px #56263910}.res-card.is-past{opacity:.72}.res-card.st-block{background:#fffaf0;border-color:#ecdcb8}.res-card.st-cancelled,.res-card.st-postponed{background:#faf9f7}.res-card.st-cancelled .res-group strong{text-decoration:line-through}
.res-time,.res-group,.res-people,.res-state{display:flex;flex-direction:column;min-width:0}.res-time em{font-style:normal;color:var(--wine);font-size:10px;font-weight:700;margin-bottom:6px;text-transform:uppercase;letter-spacing:.8px}.res-time strong{font-size:24px;font-weight:600;line-height:1.1}.res-time small,.res-group small,.res-people small{color:var(--muted);font-size:12px;margin-top:3px}.res-group strong{font-size:16px;overflow-wrap:anywhere}.res-group small{overflow-wrap:anywhere}.res-people strong{font-size:23px;font-weight:600;line-height:1.1}.res-state{align-items:flex-end;gap:5px;text-align:right}
.res-tag{display:inline-block;font-size:11px;font-weight:650;border-radius:5px;padding:3px 8px;background:var(--green-bg);color:var(--green);white-space:nowrap}.res-tag.st-pending{background:var(--amber-bg);color:#765320}.res-tag.st-completed{background:#e9eef3;color:#3d5875}.res-tag.st-cancelled,.res-tag.st-postponed{background:#eeecea;color:#6f6862}.res-tag.st-block{background:#fff0d6;color:#765013}.res-tag.st-review{background:#f1ebf6;color:#5d4380}.res-alert{font-size:11px;color:var(--amber);font-weight:600}.res-review{font-size:11px;color:#6b5294}
.res-empty{padding:34px 20px;text-align:center;border:1px dashed var(--line);border-radius:12px;background:#fff;color:var(--muted);display:grid;justify-items:center;gap:10px}.res-empty p{margin:0}.res-empty button{min-height:44px;padding:9px 14px;white-space:normal}
.res-cancelled,.res-outside{margin-top:14px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:12px 14px}.res-cancelled summary,.res-outside summary{cursor:pointer;font-weight:600;font-size:14px;min-height:28px}.res-cancelled .res-list,.res-outside .res-list{margin-top:10px}
.res-grid{--res-cols:7;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}.res-grid.is-day{--res-cols:1}.res-row{display:grid;grid-template-columns:48px repeat(var(--res-cols),minmax(0,1fr))}
.res-axis-label{font-size:10px;color:var(--muted);text-align:center;padding:14px 3px;line-height:1.3;min-width:0;overflow-wrap:anywhere}.res-grid-head{border-bottom:1px solid var(--line)}.res-col-head{border-left:1px solid var(--line);min-width:0}
.res-day-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;width:100%;min-height:62px;border:0;border-radius:0;background:transparent;padding:8px 3px;line-height:1.3;color:var(--ink);font-size:13px;white-space:normal;text-align:center}.res-day-button b{font-size:15px}.res-day-button small{font-size:10px;color:var(--muted)}.res-day-button small span{white-space:nowrap}.res-col-head.is-today .res-day-button{background:var(--wine-soft);color:var(--wine)}.res-day-button:hover{background:#f7f1f4}
.res-untimed{border-bottom:2px solid #e6ded4;background:#fcfbf8}.res-untimed-day{border-left:1px solid var(--line);padding:3px;min-width:0;display:grid;gap:3px;align-content:start}
.res-grid-body{position:relative}.res-axis{position:relative;height:calc(12*var(--res-hour))}.res-axis span{position:absolute;right:6px;font-size:10px;color:var(--muted);transform:translateY(-50%)}.res-axis span[data-cal-hour="9"]{transform:none}.res-axis span[data-cal-hour="21"]{transform:translateY(-100%)}
.cal-day-grid{position:relative;height:calc(12*var(--res-hour));display:grid;grid-template-rows:repeat(48,minmax(0,1fr));grid-template-columns:minmax(0,1fr);border-left:1px solid var(--line);min-width:0}.cal-day-grid.is-today{background:#fdfafb}
.cal-slot{grid-column:1;border:0;border-bottom:1px solid #f4f1ed;border-radius:0;min-height:0;height:auto;padding:0;background:transparent;width:100%}.cal-slot:nth-child(4n){border-bottom-color:#e6e0d9}.cal-slot:hover{background:#f6edf1}
.res-now{position:absolute;left:0;right:0;height:2px;background:#b3261e;z-index:1;pointer-events:none}.res-now::before{content:'';position:absolute;left:-1px;top:-3px;width:8px;height:8px;border-radius:50%;background:#b3261e}
.res-pos{position:absolute;z-index:2;padding:1px 2px;pointer-events:none;min-width:0}.res-pos[hidden]{display:none}.cal-event{cursor:pointer;font:inherit}
.res-event,.res-cluster{pointer-events:auto;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:1px;width:100%;height:100%;min-height:44px;margin:0;padding:4px 5px;border:1px solid #c9a3b2;border-left:3px solid var(--wine);border-radius:6px;background:#f8edf2;color:#4b2232;text-align:left;font-size:11px;line-height:1.25;overflow:hidden;white-space:normal}.res-event:hover,.res-cluster:hover{z-index:4;box-shadow:0 2px 8px #35202c22}
.res-event>*,.res-cluster>*,.res-untimed-item>*{flex-shrink:0}.res-ev-line{display:flex;flex-wrap:wrap;align-items:center;column-gap:5px;row-gap:2px;font-weight:700}.res-ev-line .res-tag{font-size:10px;padding:1px 6px}.res-ev-line .res-alert,.res-ev-line .res-review{font-size:10px}.res-ev-time,.res-ev-people{white-space:nowrap}.res-ev-people{opacity:.85}
.res-event strong,.res-cluster strong{display:block;font-size:11.5px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}.res-event small,.res-cluster small{display:block;font-size:10px;opacity:.85;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.res-event.st-pending,.res-untimed-item.st-pending{border-style:dashed;border-left-style:solid;background:#fbf4e6;border-color:#d7b98a;border-left-color:var(--amber);color:#5d4214}.res-event.st-completed,.res-untimed-item.st-completed{background:#eef3f6;border-color:#b6c5d3;border-left-color:#5a7896;color:#2f4559}.res-event.st-cancelled,.res-event.st-postponed,.res-untimed-item.st-cancelled,.res-untimed-item.st-postponed{background:#f3f1ef;border-color:#cfc8c1;border-left-color:#8f8780;color:#6f6862}
.res-event.st-block,.res-untimed-item.st-block{background:repeating-linear-gradient(135deg,#fff6e3 0 6px,#fdeccb 6px 12px);border-color:#d9b36e;border-left-color:#a7781f;color:#694812}
.res-event.is-overlap,.res-untimed-item.is-overlap{box-shadow:inset 0 0 0 1px #d39a3c}.res-cluster{background:#fff2df;border-color:#c28f3e;border-left-color:#a86d17;color:#5f4110}.res-event.cuts-start{border-top-style:dotted}.res-event.cuts-end{border-bottom:3px dotted currentColor}
.res-grid.is-day .res-event{padding:7px 10px;font-size:12px;gap:3px}.res-grid.is-day .res-event strong{font-size:13px}.res-grid.is-day .res-event small{font-size:11px;white-space:normal}.res-ev-tags{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:2px}
.res-untimed-item{display:flex;flex-direction:column;gap:1px;width:100%;min-height:36px;padding:3px 5px;border:1px solid #c9a3b2;border-left:3px solid var(--wine);border-radius:6px;background:#f8edf2;color:#4b2232;font-size:10.5px;line-height:1.25;text-align:left;overflow:hidden;white-space:normal}.res-untimed-item strong{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}
.cal-dragging{opacity:.5}
.res-week-list{display:none}.res-day-section{margin-bottom:18px}.res-day-section.is-today .res-link{color:var(--wine)}.res-link{border:0;background:transparent;padding:6px 0;min-height:44px;font:inherit;font-weight:650;color:var(--ink);text-align:left;white-space:normal}.res-none{margin:0;color:var(--muted);font-size:13px;padding:4px 0 6px}
.res-month{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}.res-month-head,.res-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.res-month-head span{text-align:center;font-size:12px;padding:8px 2px;background:#eee9e3;color:#5f5a55}
.res-month-cell{position:relative;min-width:0;min-height:118px;padding:4px;border-top:1px solid var(--line);border-left:1px solid var(--line);display:flex;flex-direction:column;gap:3px}.res-month-cell:nth-child(7n+1){border-left:0}.res-month-cell.is-out{background:#faf9f7}.res-month-cell.is-out .res-month-day b{color:#a29c96}.res-month-cell.is-busy{background:#fbf6f8}
.res-month-day{display:flex;flex-direction:column;align-items:flex-start;gap:1px;width:100%;min-height:44px;border:0;border-radius:6px;background:transparent;padding:4px 6px;color:var(--ink);font-size:12px;text-align:left;white-space:normal;line-height:1.25;min-width:0}.res-month-day:hover{background:#f6eff2}.res-month-day b{font-size:14px;font-weight:600;padding-right:26px}.res-month-cell.is-today .res-month-day b{background:var(--wine);color:#fff;border-radius:6px;padding:1px 7px}
.res-month-total{color:var(--wine);font-weight:650;font-size:11px}.res-month-total span{white-space:nowrap}.res-month-block{color:#7a5615;font-size:10px;font-weight:600}
.res-month-items{display:grid;gap:3px;min-width:0}.res-month-item{display:flex;gap:4px;align-items:center;width:100%;min-height:28px;border:0;border-left:3px solid var(--wine);border-radius:4px;padding:3px 5px;background:var(--wine-soft);color:#4b2232;font-size:11px;text-align:left;overflow:hidden;white-space:nowrap}.res-month-item.st-pending{background:var(--amber-bg);border-left-color:var(--amber);color:#5d4214}.res-month-item.st-block{background:#fff3dc;border-left-color:#a7781f;color:#694812}.res-month-item.st-completed{background:#eef3f6;border-left-color:#5a7896;color:#2f4559}.res-month-item.is-overlap{box-shadow:inset 0 0 0 1px #d39a3c}.res-month-item .res-ev-time,.res-month-item .res-ev-people{font-weight:700;flex-shrink:0}.res-month-item strong{font-weight:500;overflow:hidden;text-overflow:ellipsis;min-width:0}
.res-month-more{min-height:28px;border:0;background:transparent;color:var(--wine);font-size:11px;font-weight:650;text-align:left;padding:2px 5px}.res-month-add{position:absolute;top:6px;right:5px;width:28px;height:28px;min-height:0;padding:0;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--muted);font-size:16px;line-height:1;justify-content:center}.res-month-add:hover{border-color:var(--line);background:#fff}
.res-foot{display:flex;justify-content:space-between;gap:8px 15px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin-top:16px}
.res-summary h3{font-size:20px;margin:10px 0 4px}.res-summary>p{margin:0;color:var(--muted)}.res-summary-tags{display:flex;gap:6px;flex-wrap:wrap}.res-summary-hero{display:flex;flex-wrap:wrap;gap:12px 32px;padding:16px 0;border-bottom:1px solid var(--line);margin:12px 0}.res-summary-hero strong{display:block;font-size:25px;color:var(--wine);line-height:1.1}.res-summary-hero small{color:var(--muted);font-size:12px}
.res-summary-rows{margin:0 0 12px}.res-summary-rows div{display:flex;justify-content:space-between;gap:20px;padding:7px 0;font-size:13px;border-bottom:1px solid #f1eee9}.res-summary-rows dt{color:var(--muted)}.res-summary-rows dd{margin:0;font-weight:600;text-align:right;overflow-wrap:anywhere;min-width:0}
.res-note{background:#f5f1fa;border:1px solid #ddd0ea;border-radius:10px;padding:12px 15px;margin-bottom:14px;color:#4f3a6c;font-size:13px}.res-note p{margin:4px 0 0}.res-summary-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.res-summary-actions button{min-height:44px;padding:9px 16px}
.cal-alert{background:#fff5df;border:1px solid #e2c991;border-radius:10px;padding:15px;margin-bottom:16px;color:#674712}.cal-alert ul{padding-left:20px;font-size:14px}.cal-alert p{margin:4px 0}.res-range{margin-bottom:12px}
@media(max-width:1150px){.res-card{grid-template-columns:100px minmax(0,1fr) 90px 140px;gap:14px}}
@media(max-width:860px){.res-tools{align-items:stretch}.res-period{width:100%}.res-views{width:100%}.res-view{flex:1;padding:7px 6px}}
@media(max-width:700px){.res-heading h1{font-size:28px}.res-heading p{display:none}.res-actions{margin-left:auto}.res-actions [data-action=bookings-refresh]{display:none}.res-actions button{padding:9px 12px}.res-stats{gap:6px 12px;font-size:12px;padding-bottom:10px;margin-bottom:10px}.res-stats>span strong{font-size:16px}.res-chip{min-height:36px;font-size:11px;padding:4px 8px}.res-period{gap:4px}.res-period h2{font-size:14px;margin-left:auto;text-align:right}.res-period button{padding:8px 10px}.res-view{min-height:44px;font-size:13px;padding:6px 2px}.res-search-row input{font-size:16px}.res-filter{min-width:0;flex:1 1 100%}
 .res-card{grid-template-columns:72px minmax(0,1fr) 58px;gap:10px;padding:14px 12px;align-items:start}.res-card.is-next{padding-left:9px}.res-time strong{font-size:20px}.res-time em{font-size:9px;letter-spacing:.3px}.res-group strong{font-size:14px}.res-group small{font-size:11px}.res-people{text-align:right;align-items:flex-end}.res-people strong{font-size:20px}.res-people small{font-size:10px}.res-state{grid-column:2/4;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;text-align:left;gap:6px 10px}
 .res-view-week .res-grid,.res-view-week .res-outside{display:none}.res-week-list{display:block}
 .res-month-head span{font-size:10px;padding:6px 0}.res-month-cell{min-height:76px;padding:2px}.res-month-day{padding:3px;min-height:72px;font-size:10px}.res-month-day b{padding-right:0;font-size:13px}.res-month-total{font-size:9px;font-weight:600;overflow-wrap:anywhere}.res-month-total span{white-space:normal}.res-month-block{font-size:8.5px}.res-month-items,.res-month-add{display:none}
 .res-grid.is-day .res-event{padding:5px 7px}.res-summary-actions button{flex:1}.res-foot{font-size:10px}}

/* Shared service desk: compact desktop controls and mobile cards. */
.service-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border:1px solid #e1d8cc;border-radius:14px;padding:18px;margin-bottom:20px}.service-toolbar>div:first-child{min-width:0}.service-toolbar small,.service-row small{display:block;color:#756b62;font-size:12px;margin-top:6px;overflow-wrap:anywhere}.service-toolbar .row-actions{flex-wrap:wrap}.service-list{display:grid;gap:10px;max-height:48vh;overflow:auto;margin:18px 0}.service-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:16px;border:1px solid #e1d8cc;padding:16px;border-radius:12px;background:white}.service-row>div{min-width:0}.service-row strong{overflow-wrap:anywhere}.service-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.service-totals span{background:#f3eee7;padding:14px;border-radius:10px;font-size:12px}.service-totals b{display:block;font-size:20px;margin-top:8px}.service-booking-entry{border-bottom:1px solid #e1d8cc;padding-bottom:16px;margin-bottom:20px}.service-booking-entry p{font-size:12px;color:#756b62}@media(max-width:700px){.service-toolbar{display:block;padding:14px}.service-toolbar .row-actions{display:grid;grid-template-columns:1fr 1fr;margin-top:14px}.service-toolbar button{font-size:12px;padding:10px}.service-row{grid-template-columns:1fr auto;gap:10px;padding:14px}.service-row button{grid-column:1/-1;width:100%}.service-totals{grid-template-columns:1fr}.service-totals span{display:flex;align-items:center;justify-content:space-between}.service-totals b{margin:0}}

/* Nationality capture and anonymous visits: distinct desktop and mobile layouts. */
.nationality-staff{border:1px solid #dfd4ca;border-radius:12px;padding:16px;margin:16px 0;min-width:0;background:#faf7f2}.nationality-staff legend{font-size:13px;font-weight:650;color:#572838;padding:0 5px}.nationality-staff .helper{margin-top:0}.nationality-summary{display:flex;justify-content:space-between;gap:12px;background:#f3eee7;padding:14px;border-radius:10px;margin:12px 0;font-size:13px}.nationality-summary span{color:#74685e}.nationality-field select{width:100%;min-width:0}.customer-data .nationality-field select{min-height:58px;padding:16px;font-size:19px;border-radius:10px}.visitor-payment-link{border-bottom:1px solid #e4dcd4;margin:12px 0;padding-bottom:12px}.visitor-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.visitor-metrics .card{margin:0;padding:22px}.visitor-metrics span{font-size:13px;color:#74685e}.visitor-metrics strong{display:block;font-size:36px;color:#572838;margin-top:10px}.visitor-metrics p{font-size:14px;line-height:1.6;margin:10px 0 0}.visitor-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.visitor-filters .field{margin:0;max-width:210px}.visitor-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}.visitor-card{border:1px solid #e4dcd4;border-radius:12px;padding:18px;background:#fdfbf8;min-width:0}.visitor-card>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.visitor-card small{flex-basis:100%;color:#74685e}.visitor-card p{font-size:14px;line-height:1.65}.visitor-map{margin-top:30px}.visitor-map>.helper{margin:18px 0}.visitor-report-section{margin:16px 0}.visitor-source{display:block;color:#74685e;margin-top:5px}.visitor-edit-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1.25fr) minmax(70px,.75fr);gap:12px;border-bottom:1px solid #e4dcd4;padding:12px 0}.visitor-edit-row>.field{margin:0}.visitor-edit-row>button{grid-column:1/-1;justify-self:end}.visitor-history{padding:12px 0;border-bottom:1px solid #e4dcd4}.visitor-history pre{font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow:auto}.visitor-detail-lines{padding:12px 18px;background:#f7f3ee;border-radius:12px;margin:18px 0}.visitor-report-section h3{font-size:17px}.visitor-report-section table{width:100%}
@media(max-width:1000px){.visitor-list{grid-template-columns:repeat(2,minmax(0,1fr))}.visitor-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.visitor-metrics .card:last-child{grid-column:1/-1}.visitor-filters{width:100%}}
@media(max-width:700px){.visitor-list,.visitor-metrics{grid-template-columns:1fr}.visitor-metrics .card{display:flex;align-items:center;justify-content:space-between;padding:16px;gap:16px}.visitor-metrics strong{font-size:28px;margin:0}.visitor-metrics .card:last-child{display:block}.visitor-edit-row{grid-template-columns:minmax(0,1fr) 85px;padding:18px 0}.visitor-edit-row>.nationality-field{grid-column:1/-1}.visitor-filters{display:grid;grid-template-columns:1fr 1fr}.visitor-filters .field{max-width:none;min-width:0}.visitor-filters button{grid-column:1/-1}.visitor-card>button{width:100%}.visitor-map>.card-heading{display:block}.visitor-map>.card-heading>button{width:100%;margin-top:12px}.nationality-staff{padding:12px}.nationality-summary{flex-direction:column;gap:5px}}

.customer-data .helper{font-size:13px;line-height:1.6}@media(max-width:700px){.sale-layout.is-payment>section{display:none}}

.visitor-map>.helper{font-size:13px;line-height:1.6}@media(max-width:700px){.visitor-heading,.visitor-day-heading{display:block}.visitor-heading>button{width:100%;margin-top:16px}.visitor-day-heading form{margin-top:16px}}

/* Keep long orders inside the viewport while browsing the catalogue. Payment uses document scrolling. */
@media(min-width:701px) and (min-height:601px){.server-app .sale-layout:not(.is-payment)>.basket{position:sticky;top:18px;max-height:calc(100vh - 36px);max-height:calc(100dvh - 36px);display:flex;flex-direction:column;overflow-y:auto}.server-app .sale-layout:not(.is-payment)>.basket>*{flex-shrink:0}.server-app .sale-layout:not(.is-payment)>.basket>.basket-lines{flex:0 1 auto}}

.server-app .basket-list-count{margin:0 0 8px;font-size:11px;color:var(--muted)}.server-app .basket-lines{border-bottom:1px solid var(--line);scroll-padding:8px}.server-app .basket-lines:focus-visible{outline:2px solid var(--wine);outline-offset:2px}

/* Tourism operator accounts */
.tour-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:20px}.tour-banner{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;background:#f5efe6;border:1px solid #dfd4c1;border-radius:14px;margin-bottom:18px}.tour-banner p{margin:5px 0;color:#655a52}.tour-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px 0}.tour-metrics span{display:flex;flex-direction:column;gap:5px;color:#655a52}.tour-metrics b{font-size:1.25rem;color:#452937}.tour-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid #e7dfd5;overflow-wrap:anywhere}.tour-row small{display:block;margin-top:5px}.tour-checkout p{font-size:.9rem;line-height:1.45}.tour-grid .card button{margin:10px 6px 0 0}@media(max-width:600px){.tour-banner{align-items:stretch;flex-direction:column}.tour-row{align-items:flex-start;flex-wrap:wrap}}

/* Primavera-backed local catalogue */
.catalog-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}.catalog-summary .card{display:flex;flex-direction:column;gap:8px;padding:20px}.catalog-summary strong{font-size:1.8rem;color:var(--wine)}.catalog-summary span{color:var(--muted);font-size:.85rem}.catalog-filters{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,260px) auto;gap:14px;align-items:end;margin:20px 0}.catalog-filters .field{margin:0}.catalog-table{padding:0;overflow:hidden}.catalog-table table{width:100%;table-layout:fixed}.catalog-table td{overflow-wrap:anywhere;vertical-align:top}.catalog-table td:first-child{width:27%}.catalog-table small{display:block;margin:6px 0;color:var(--muted)}.catalog-table .row-actions{flex-direction:column;align-items:stretch}.catalog-warning,.catalog-table .catalog-warning{display:block;color:#8b4d12;font-size:.8rem;line-height:1.4}.catalog-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.catalog-source{padding:16px;border:1px solid var(--line);border-radius:12px;background:#f8f4ef;margin:8px 0 20px}#catalog-save input[readonly]{background:#f0eee9;color:#655a52}@media(max-width:700px){.catalog-summary{grid-template-columns:1fr;gap:8px}.catalog-summary .card{flex-direction:row;align-items:center;gap:16px;padding:12px 16px}.catalog-filters,.catalog-form-grid{grid-template-columns:1fr}.catalog-table{background:transparent;border:0;overflow:visible}.catalog-table table,.catalog-table tbody,.catalog-table tr,.catalog-table td{display:block;width:100%}.catalog-table thead{display:none}.catalog-table tr{background:white;border:1px solid var(--line);border-radius:14px;margin-bottom:14px;padding:14px}.catalog-table td{border:0;padding:8px 0;text-align:left}.catalog-table td:first-child{width:100%}.catalog-table td:before{display:block;position:static;font-size:.7rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:6px;content:attr(data-label)}.catalog-table .row-actions{flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.catalog-table td>*{max-width:100%}}

/* Club registration: scoped tablet form and responsive contact directory. */
.club-customer{max-width:850px;margin:0 auto;padding:32px 24px 60px}.club-customer .customer-data{padding:28px;border-radius:18px;background:#fff;border:1px solid var(--line)}.club-invitation{margin:24px 0;padding:20px;border:1px solid #d9c9c4;border-radius:14px;background:#fcf9f5;min-width:0}.club-invitation legend{font-family:Georgia,serif;font-size:1.4rem;color:var(--wine);padding:0 8px}.club-choice{align-items:flex-start;line-height:1.5;margin:14px 0;padding:12px;border-radius:10px;background:white;border:1px solid var(--line)}.club-choice input{margin-top:3px;flex-shrink:0;min-width:20px;min-height:20px}.club-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.club-personal{margin-top:22px}.club-personal[hidden],.club-birthday[hidden]{display:none}.club-privacy{line-height:1.55;font-size:.9rem;margin-top:16px}.club-privacy summary{cursor:pointer;color:var(--wine)}.club-privacy p{margin:12px 0}.club-staff-return{margin-top:20px;text-align:right}.club-search{display:flex;align-items:end;gap:12px;margin:20px 0}.club-search .field{flex:1;margin:0}.club-guide{padding:24px;margin:18px 0}.club-guide p{line-height:1.55;max-width:900px}.club-history{max-height:300px;overflow:auto;margin-bottom:24px}.club-history details{padding:12px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.club-history summary{cursor:pointer}.club-pagination{margin:20px 0;flex-wrap:wrap}.club-customer form>.primary{width:100%;min-height:52px}.club-customer form>.text-button{display:block;margin:16px auto 0}.customer-data .club-invitation .checkline{font-size:1rem}.customer-data .club-invitation .helper{font-size:.85rem}
@media(max-width:600px){.club-customer{padding:24px 14px 36px}.club-customer .customer-data{padding:18px}.club-invitation{padding:14px;margin:20px 0}.club-pair{grid-template-columns:1fr;gap:0}.club-search{flex-direction:column;align-items:stretch}.club-search .primary{width:100%}.club-guide{padding:18px}.club-pagination{justify-content:space-between}.club-pagination span{font-size:.8rem}.club-staff-return{text-align:center}}

.club-pair{align-items:start}.club-pair>.field{margin:0 0 18px}.club-personal select{width:100%;min-height:60px;font:inherit;padding:12px;border:1px solid var(--line);border-radius:10px;background:white}

/* Grouped navigation. Scope overrides to the server shell, including the tablet breakpoint. */
.server-app .navigation-shell{grid-template-columns:240px minmax(0,1fr)}
.server-app .navigation-shell>.sidebar{padding:24px 14px 14px;top:0;height:100dvh;max-height:100dvh;min-height:0;overflow:hidden;gap:0}
.server-app .navigation-shell .sidebar>.wordmark{font-size:27px;letter-spacing:1.8px;margin:0 0 25px;flex-shrink:0}
.server-app .navigation-shell .sidebar>.wordmark:before{content:none}
.server-app .navigation-shell .sidebar>.wordmark small{display:block;font-size:8px;letter-spacing:3px}
.server-app .navigation-sections{display:block;min-height:0;overflow:visible;flex:1;padding:0 2px}
.server-app .navigation-group{margin:0 0 18px}.server-app .navigation-group:last-child{margin-bottom:0}
.server-app .navigation-label{font:650 10px/1.5 'Segoe UI',sans-serif;text-transform:uppercase;letter-spacing:1.05px;color:#877780;margin:0 10px 7px}
.server-app .navigation-sections button{display:flex;width:100%;align-items:center;justify-content:flex-start;gap:11px;min-height:42px;padding:10px;border:0;border-radius:9px;background:transparent;color:#65585e;text-align:left;font-size:12px;font-weight:500;line-height:1.4;margin:2px 0;white-space:normal}
.server-app .navigation-sections button .icon{width:18px;height:18px;flex-shrink:0;color:#8a7380}
.server-app .navigation-sections button:hover{color:var(--wine);background:#faf6f8}
.server-app .navigation-sections button.active{background:#f2e7ed;color:var(--wine);font-weight:650;box-shadow:inset 3px 0 var(--wine)}
.server-app .navigation-sections button.active .icon{color:var(--wine)}
.server-app .navigation-shell .sidebar-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-shrink:0;margin:14px 0 0;padding:14px 8px 0;border-top:1px solid var(--line);font-size:10px;color:#877780}
.server-app .navigation-shortcuts{display:none}
html.navigation-open{overflow:hidden}
#navigation-menu{padding:0;border:0;margin:0 0 0 auto;width:min(400px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;border-radius:18px 0 0 18px;background:#fff;color:var(--ink);box-shadow:-12px 0 50px #24121e26;overflow:hidden}
#navigation-menu[open]{display:flex;flex-direction:column}
#navigation-menu::backdrop{background:#21121b70;backdrop-filter:blur(2px)}
.navigation-menu-head{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-shrink:0;padding:22px 20px 18px;border-bottom:1px solid var(--line)}
.navigation-menu-head h2{font:26px Georgia,serif;margin:7px 0 0}.navigation-menu-head .eyebrow{font-size:9px}
.navigation-menu-head button{display:flex;align-items:center;gap:5px;min-height:44px;padding:10px;font-size:12px}
#navigation-menu .navigation-sections{padding:20px 18px max(24px,env(safe-area-inset-bottom))}
#navigation-menu .navigation-sections button{min-height:46px;font-size:14px}
#navigation-menu .navigation-group{margin-bottom:18px}
@media(max-width:1023px){
 .server-app .navigation-shell{display:block}.server-app .navigation-shell>.sidebar{display:none}
 .server-app .navigation-shell .workspace>main{padding-bottom:calc(100px + env(safe-area-inset-bottom))}
 .server-app .navigation-shortcuts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;z-index:10;overflow:visible;justify-content:initial;border-top:1px solid var(--line);background:#fffffff7;backdrop-filter:blur(10px);padding:7px max(6px,calc((100vw - 640px)/2)) calc(7px + env(safe-area-inset-bottom));gap:3px}
 .server-app .navigation-shortcuts button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;width:100%;min-height:52px;border:0;border-radius:10px;background:transparent;padding:6px 2px;color:#6e5f67;font-size:10px;line-height:1.3}
 .server-app .navigation-shortcuts .icon{width:20px;height:20px}
 .server-app .navigation-shortcuts button.active{background:#f2e7ed;color:var(--wine);font-weight:650}
 .server-app .navigation-shortcuts button[aria-expanded=true]{outline:2px solid var(--wine);outline-offset:-2px}
 .server-app .navigation-shortcuts button span{white-space:nowrap}
}

/* One expanded group keeps the navigation visible without an internal scrollbar. */
.server-app .navigation-group,#navigation-menu .navigation-group{margin:0 0 6px}
.server-app .navigation-label{margin:0}
.server-app .navigation-sections .navigation-toggle{min-height:38px;padding:8px 10px;margin:0;justify-content:space-between;font-size:10px;font-weight:650;text-transform:uppercase;letter-spacing:.8px;border-radius:8px}
.server-app .navigation-toggle.contains-current{color:var(--wine)}
.server-app .navigation-toggle.contains-current:not([aria-expanded=true]){background:#f8f1f5;box-shadow:inset 3px 0 #b99aa9}
.navigation-chevron{font-size:19px;line-height:1;transform:rotate(-90deg)}
[aria-expanded=true]>.navigation-chevron{transform:none}
.server-app .navigation-items{padding:0 0 4px 8px;border-left:1px solid #e9dce3;margin:0 8px}
.server-app .navigation-items[hidden]{display:none!important}
#navigation-menu .navigation-sections{padding:14px 18px max(14px,env(safe-area-inset-bottom))}
#navigation-menu .navigation-sections .navigation-toggle{min-height:42px;font-size:11px}
#navigation-menu .navigation-items button{min-height:44px;padding:9px 10px}
@media(min-width:1024px) and (max-height:700px){
 .server-app .navigation-shell>.sidebar{padding:12px 12px 8px}
 .server-app .navigation-shell .sidebar>.wordmark{font-size:24px;margin-bottom:12px}
 .server-app .navigation-shell .sidebar>.wordmark small{font-size:7px}
 .server-app .navigation-sections button{min-height:34px;padding:6px 10px;margin:0;font-size:12px}
 .server-app .navigation-sections .navigation-toggle{min-height:32px;padding:6px 10px}
 .server-app .navigation-group{margin-bottom:3px}
 .server-app .navigation-shell .sidebar-bottom{margin-top:8px;padding-top:8px}
}
@media(max-width:1023px) and (max-height:650px){
 .navigation-menu-head{padding:12px 18px}.navigation-menu-head h2{font-size:23px;margin-top:4px}
 #navigation-menu .navigation-sections{padding:10px 14px}
 #navigation-menu .navigation-sections .navigation-toggle{min-height:36px;padding:6px 10px}
 #navigation-menu .navigation-items button{min-height:38px;padding:6px 10px;font-size:13px}
 #navigation-menu .navigation-group{margin-bottom:3px}
}
@media(max-width:1023px) and (max-height:450px){
 .navigation-menu-head .eyebrow{display:none}.navigation-menu-head h2{margin:0;font-size:21px}
 .navigation-menu-head{padding:8px 16px}
 #navigation-menu .navigation-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 4px}
 #navigation-menu .navigation-sections .navigation-toggle{min-height:30px;padding:4px 10px}
 #navigation-menu .navigation-sections>section>button{min-height:34px;padding:4px 10px}
 #navigation-menu .navigation-items button{min-height:36px;padding:4px 6px;font-size:12px;gap:6px}
}


/* Compact sale context approved in the visual preview. */
.sale-screen>.demo-toolbar{min-height:44px;padding:6px 24px;gap:12px}.sale-screen>.demo-toolbar>div>strong{font-size:11px}.sale-screen>.demo-toolbar>div>span{display:none}.sale-screen>.demo-toolbar button{min-height:30px;padding:7px 12px;font-size:10px}@media(max-width:700px){.sale-screen>.demo-toolbar{flex-direction:row;align-items:center;padding:6px 16px;min-height:44px}.sale-screen>.demo-toolbar>div{width:auto}.sale-screen>.demo-toolbar button{width:auto}}.server-notice{min-height:31px}.sale-context{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 24px;padding:0 0 20px;border-bottom:1px solid var(--line)}
.sale-context h1{font:30px Georgia,serif;margin:0 0 9px;color:var(--ink)}.sale-context-heading{min-width:0}.sale-context-meta{display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:11px;color:#74636b}.sale-kind{background:#eee9e2;border-radius:5px;padding:4px 7px;font-size:10px}.sale-context-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.sale-context-actions>button{min-height:42px;padding:11px 13px;font-size:11px}.sale-context .count{display:inline-grid;place-items:center;background:#f2e7ed;color:var(--wine);border-radius:5px;min-width:21px;height:20px;margin-left:5px;font-weight:650}
.counter-picker,.sale-more{position:relative}.server-app .counter-picker summary{display:flex;align-items:center;gap:12px;min-height:28px;padding:4px 8px;border:1px solid #e2d9df;border-radius:6px;background:white;color:var(--wine);font-size:11px}.server-app .sale-more summary{display:flex;gap:12px;align-items:center;min-height:42px;padding:11px 13px;border:1px solid var(--line);border-radius:8px;background:white;font-size:11px;font-weight:600;list-style:none;color:var(--wine)}
.sale-more summary::-webkit-details-marker,.counter-picker summary::-webkit-details-marker{display:none}.sale-popover{position:absolute;right:0;top:calc(100% + 8px);width:265px;padding:14px;background:white;border:1px solid #e6dce1;border-radius:12px;box-shadow:0 12px 40px #32182320;z-index:25}.counter-picker .sale-popover{left:0;right:auto;width:200px}.sale-popover>b{display:block;font-size:10px;color:#8c7a83;text-transform:uppercase;letter-spacing:.8px;padding:7px 9px}.sale-popover button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;border:0;background:white;border-radius:7px;min-height:44px;padding:12px 9px;font-size:12px;color:#42343c}.sale-popover button:hover{background:#f6f0f3}.sale-popover button span{color:#957e8b}.sale-popover hr{border:0;border-top:1px solid var(--line);margin:10px 0}
.sale-screen .sale-search-meta{margin-bottom:0}.sale-screen .chips{padding-top:14px;padding-bottom:16px}.mobile-purchase{display:none}.sale-linked,.sale-handover{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 15px;border:1px solid #e0d6c6;background:#f7f0e6;border-radius:10px;margin-bottom:18px;font-size:12px}.sale-linked[hidden],.sale-handover[hidden]{display:none}.sale-linked button,.sale-handover button{border:1px solid var(--line);border-radius:7px;padding:8px 12px;background:white;font-size:11px}.sale-handover{background:#fff5de}
@media(min-width:1024px) and (max-width:1200px){.sale-context{gap:10px}.sale-context-actions{gap:5px}.sale-context-actions>button,.server-app .sale-more summary{font-size:10px;padding:10px}.sale-context-meta{max-width:260px}.sale-context h1{font-size:28px}}
@media(max-width:1023px){.sale-context{gap:16px;align-items:flex-start}.sale-context-actions{flex-wrap:wrap;justify-content:flex-end}.sale-context h1{font-size:28px}}
@media(max-width:700px){
 .sale-screen main{padding-top:18px}.sale-context{display:block;margin-bottom:14px;padding-bottom:14px}.sale-context-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.sale-context h1{font-size:27px;margin:0}.sale-context-meta{justify-content:flex-end;max-width:235px;font-size:10px;gap:6px}.sale-context .meta-divider{display:none}.sale-context-meta>span:not(.sale-kind){flex-basis:100%;text-align:right}.sale-kind{display:none}.sale-context-actions{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:6px;margin-top:14px}.sale-context-actions>button,.server-app .sale-more summary{min-height:44px;padding:9px 10px;font-size:10px;white-space:nowrap}.sale-context .count{margin-left:2px;min-width:17px;height:18px}.server-app .sale-more summary{gap:6px}.sale-new{font-size:10px!important}.mobile-purchase{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f2e7ed;color:var(--wine);border:1px solid #e7d6df;border-radius:9px;text-decoration:none;padding:11px 13px;font-size:12px;margin:0 0 14px}.mobile-purchase>span b{font-size:10px;font-weight:400;margin-left:6px}.mobile-purchase>strong>span{font-size:10px;font-weight:400;margin-left:8px}.sale-search-meta #search-help{display:none}.sale-popover{max-width:calc(100vw - 32px)}.sale-linked,.sale-handover{align-items:flex-start;flex-direction:column}
}

.sale-linked small{display:block;margin-top:5px;line-height:1.5;color:var(--muted)}.sale-counter-choice{padding:18px 0}.sale-screen .mobile-purchase{width:100%;text-align:left}.sale-screen .sale-popover button:disabled{opacity:.5;cursor:not-allowed}.sale-screen>.demo-toolbar.is-training>div>span{display:block;font-size:10px}.sale-screen>.demo-toolbar.is-training{flex-wrap:wrap}.sale-screen .sale-context-heading h1{overflow-wrap:anywhere}.sale-screen #sale-basket{scroll-margin-top:16px}.sale-screen .sale-popover{max-height:min(420px,60dvh);overflow-y:auto}.sale-screen .sale-popover button{white-space:normal}
@media(max-width:700px){.sale-screen .counter-picker .sale-popover{left:auto;right:0}.sale-screen .sale-context-heading{flex-wrap:wrap}.sale-screen .sale-context-meta{margin-left:auto}.sale-screen .sale-context-actions{grid-template-columns:auto minmax(0,1fr) auto}.sale-screen .sale-context-actions>button{white-space:normal}.sale-screen .sale-popover{max-height:50dvh}}

@media(max-height:500px){.sale-screen .sale-context .sale-popover{position:fixed;top:74px;right:16px;left:auto;max-height:calc(100dvh - 155px)}}

/* Local catalogue categories: compact desktop rows and mobile cards. */
.category-create{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,.65fr) auto;gap:12px;align-items:end;margin:20px 0 8px}.category-create .field{margin:0}.category-create button{min-height:44px}.category-list{display:grid;gap:8px;margin-top:20px}.category-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid var(--line,#ded9d2);border-radius:12px}.category-row>div{min-width:0;overflow-wrap:anywhere}.category-row small{display:block;margin-top:4px;color:var(--muted,#706967)}.catalog-category-add{grid-column:1/-1}.catalog-category-add>div{padding:16px;border-radius:12px;background:var(--paper,#f6f3ed)}
@media(max-width:640px){.category-create{grid-template-columns:1fr;gap:12px}.category-create button{width:100%}.category-row{align-items:flex-start;flex-direction:column;gap:12px}.category-row button{align-self:flex-end;min-height:44px}.catalog-category-add button{min-height:44px}}
.product-price.is-open{color:var(--wine,#612d40);font-size:13px}.basket-line .attended-meta{margin:-4px 0 8px;color:var(--wine,#612d40);overflow-wrap:anywhere}.basket-line.is-pending .attended-meta{color:var(--amber,#956524);font-weight:600}.line-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.line-actions .text-button{display:inline-flex;align-items:center;margin:0;min-height:32px;padding:0 2px;white-space:nowrap}
@media(max-width:640px){.line-actions .text-button{min-height:44px}}

/* Catalog article editor: one scrolling body, always-visible actions. */
.catalog-editor-modal[open]{display:flex;flex-direction:column;width:min(940px,calc(100vw - 40px));max-width:940px;max-height:calc(100dvh - 40px);overflow:hidden}
.catalog-editor-modal .modal-head{position:static;flex:none;padding:20px 24px;align-items:center}
.catalog-editor-modal .modal-head h2{margin:0;font-size:27px}
.catalog-editor-modal .modal-head button{min-height:42px}
.catalog-editor-modal .modal-body{display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:0}
.catalog-editor-modal #modal-error:not(:empty){margin:12px 24px 0;flex:none;max-height:100px;overflow:auto}
.catalog-editor-modal #catalog-save{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.catalog-editor-scroll{padding:20px 24px;overflow-y:auto;overscroll-behavior:contain;scroll-padding:20px;min-height:0}
.catalog-editor-intro{font-size:13px;line-height:1.65;color:var(--muted);margin:0 0 18px}
.catalog-editor-intro span{display:block;font-size:11px}
.catalog-editor-section{border:1px solid var(--line);border-radius:12px;padding:18px;background:white;min-width:0}
.catalog-editor-section h3{display:flex;align-items:center;gap:9px;font-size:14px;margin:0 0 17px}
.catalog-editor-section h3>span{display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:50%;background:var(--wine-soft);color:var(--wine);font-size:12px}
.catalog-origin-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.3fr);gap:16px}
.catalog-editor-columns{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:16px;margin-top:16px;align-items:start}
.catalog-display-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;margin-top:16px}
.catalog-editor-modal .field{margin:0;gap:7px}
.catalog-editor-modal .field label{font-size:12px;color:#514c48;line-height:1.4}
.catalog-editor-modal .field input,.catalog-editor-modal .field select{min-height:44px;font-size:13px;padding:10px 12px;max-width:100%}
.catalog-editor-modal .field input:focus,.catalog-editor-modal .field select:focus{outline:2px solid var(--wine);outline-offset:2px}
.catalog-selection{margin-top:12px;padding:12px 14px;border-radius:8px;background:#f7f5f2;font-size:12px;line-height:1.6}
.catalog-selection.is-selected{background:#f1f5ef;border:1px solid #dbe4d5}
.catalog-selection-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px}
.catalog-selection-heading strong{font-size:14px}
.catalog-selection p{margin:0;overflow-wrap:anywhere}
.catalog-selection.is-selected p{margin:6px 0 3px}
.catalog-selection small{display:block;font-size:11px;color:var(--muted)}
.catalog-selection small.catalog-warning{color:#8b4d12;margin-top:5px}
.catalog-editor-modal .helper{font-size:11px;line-height:1.6;margin-top:8px}
.catalog-editor-modal .catalog-category-add{margin-top:8px}
.catalog-editor-modal .catalog-category-add>.text-button{min-height:36px;text-decoration:none;font-size:12px;font-weight:600}
.catalog-editor-modal .catalog-category-add>div{margin-top:4px;padding:14px;border:1px solid var(--line)}
.catalog-editor-modal .catalog-category-add .row-actions{margin-top:12px;gap:8px;flex-wrap:wrap}
.catalog-editor-modal .catalog-source{margin:14px 0 0;padding:12px;background:#faf8f5;font-size:12px;line-height:1.6}
.catalog-editor-modal .catalog-source summary{font-size:12px;color:var(--wine);cursor:pointer}
.catalog-format-section>.field+.field{margin-top:16px}
.catalog-unit-help{font-size:11px;color:var(--muted);line-height:1.7;margin:10px 0 18px}
.catalog-active{align-items:flex-start;margin:0;padding-top:16px;border-top:1px solid var(--line);font-size:12px;line-height:1.5}
.catalog-active input{flex:none;width:18px;height:18px;margin-top:1px;accent-color:var(--wine)}
.catalog-active small{display:block;color:var(--muted);font-size:11px;margin-top:3px}
.catalog-editor-note{font-size:11px;color:var(--muted);line-height:1.6;margin:16px 0 0}
.catalog-editor-footer{display:flex;flex:none;justify-content:space-between;align-items:center;gap:18px;padding:16px 24px;background:white;border-top:1px solid var(--line)}
.catalog-editor-footer>span{font-size:11px;color:var(--muted);min-width:0;overflow-wrap:anywhere}
.catalog-editor-footer>div{display:flex;gap:10px;flex:none}
.catalog-editor-footer button{min-height:44px;font-size:13px}
@media(max-width:700px){
 .catalog-editor-modal[open]{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:14px}
 .catalog-editor-modal .modal-head{padding:14px 16px;gap:10px}
 .catalog-editor-modal .modal-head h2{font-size:24px}
 .catalog-editor-scroll{padding:16px 12px}
 .catalog-editor-intro{font-size:12px;margin-bottom:14px;padding:0 4px}
 .catalog-editor-columns,.catalog-origin-grid,.catalog-display-grid{grid-template-columns:1fr;gap:16px}
 .catalog-editor-section{padding:16px 14px}
 .catalog-editor-modal .field input,.catalog-editor-modal .field select{font-size:16px;min-height:46px}
 .catalog-editor-modal .catalog-category-add>.text-button{min-height:44px}
 .catalog-editor-footer{padding:12px 14px;display:block}
 .catalog-editor-footer>span{display:block;margin-bottom:8px;font-size:10px}
 .catalog-editor-footer>div{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px}
 .catalog-editor-footer button{min-height:46px;padding:10px 12px}
 .catalog-editor-modal #modal-error:not(:empty){margin:8px 14px 0}
}

html{border-top:32px solid #facc15}body::before{content:"PRÉ-PRODUÇÃO · TESTES · Sem faturação real";position:fixed;z-index:2147483647;top:0;left:0;right:0;height:32px;display:flex;align-items:center;justify-content:center;background:#facc15;color:#222;font:700 12px system-ui;pointer-events:none}
