:root{color-scheme:light;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;line-height:1.5;font-weight:400;background:radial-gradient(circle at top left,rgba(210,236,255,.95),transparent 34%),linear-gradient(135deg,#f5f8fb,#eef3e9);color:#17202a;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{border:0;border-radius:14px;padding:.9rem 1.1rem;background:#0d7c66;color:#fff;cursor:pointer}button:hover{filter:brightness(1.04)}button:disabled{opacity:.72}#root{min-height:100vh}.shell{display:grid;grid-template-columns:280px 1fr;min-height:100vh}.sidebar{display:flex;flex-direction:column;justify-content:space-between;gap:2rem;padding:2rem;background:linear-gradient(180deg,#113946,#0b232c);color:#f4fbfb}.nav{display:flex;flex-direction:column;gap:1rem}.nav-section{display:grid;gap:.45rem}.nav-section-title{margin:0;font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:rgba(201,240,225,.7)}.nav-section-links{display:flex;flex-direction:column;gap:.45rem}.nav a{padding:.8rem 1rem;border-radius:12px;color:rgba(244,251,251,.9)}.nav a.active{background:rgba(255,255,255,.14);color:#fff}.content{padding:2rem}.page,.login-layout{display:grid;gap:1.5rem}.login-layout{grid-template-columns:1.2fr .9fr;min-height:100vh;padding:2rem;align-items:center}.hero-card{padding:3rem;border-radius:28px;background:linear-gradient(140deg,rgba(12,61,82,.94),rgba(13,124,102,.88)),#123;color:#f4fbfb;box-shadow:0 28px 70px rgba(24,44,52,.2)}.panel{padding:1.4rem;border-radius:24px;background:rgba(255,255,255,.82);border:1px solid rgba(17,57,70,.08);box-shadow:0 20px 50px rgba(44,62,80,.08)}.login-panel{max-width:540px}.enterprise-login-panel{max-width:480px;padding:2rem;background:rgba(255,255,255,.9);border:1px solid rgba(17,57,70,.1)}.login-panel-header{margin-bottom:.5rem}.login-hero-card{min-height:540px;align-content:space-between;background:linear-gradient(160deg,rgba(10,36,56,.98),rgba(12,61,82,.94) 54%,rgba(13,124,102,.82)),#0b2330}.hero-subtitle{max-width:34rem;color:rgba(244,251,251,.82);font-size:1rem}.login-hero-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.hero-meta-card{padding:1rem 1.1rem;border-radius:18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)}.hero-meta-card span{display:block;margin-bottom:.35rem;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:rgba(201,240,225,.72)}.hero-meta-card strong{font-size:1rem;color:#f4fbfb}.login-brand-lockup{display:flex;align-items:center;gap:1rem;padding:.9rem 1rem;border-radius:18px;background:linear-gradient(180deg,rgba(240,246,250,.95),rgba(247,250,252,.95));border:1px solid rgba(17,57,70,.08)}.login-brand-lockup p{margin:.2rem 0 0}.login-brand-logo{width:64px;height:64px;object-fit:contain;border-radius:18px;background:rgba(255,255,255,.96);border:1px solid rgba(17,57,70,.08);padding:.45rem}.page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.page-header-actions{display:grid;gap:.6rem;justify-items:end}.eyebrow{margin:0 0 .4rem;text-transform:uppercase;letter-spacing:.08em;font-size:.76rem;color:#0d7c66}.sidebar .eyebrow,.hero-card .eyebrow{color:#c9f0e1}h1,h2,h3,h4,p{margin-top:0}small,.muted{color:#5f6f7a}.sidebar .muted{color:rgba(244,251,251,.72)}.field{display:grid;gap:.45rem}.field span{font-size:.92rem;color:#37505a}.field input,.field select,.field textarea{width:100%;border:1px solid rgba(17,57,70,.14);border-radius:14px;padding:.85rem 1rem;background:#f9fcfc}.field textarea{resize:vertical;min-height:110px}.input-error{border-color:#b42318!important;background:#fff4f2!important}.form-grid{display:grid;gap:1rem}.form-actions{display:flex;gap:.8rem;flex-wrap:wrap}.ghost-button,.text-link,.salon-tab{background:transparent;color:#0d7c66;border:1px solid rgba(13,124,102,.22)}.text-link{padding:.75rem 1rem;border-radius:14px}.success-text{color:#0d7c66}.error-text{color:#b42318}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.stat-card{padding:1.3rem;border-radius:22px;background:rgba(255,255,255,.75);border:1px solid rgba(17,57,70,.08)}.stat-card strong{display:block;font-size:1.35rem;margin-bottom:.35rem}.split-panel,.sales-layout,.tables-layout{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.order-meta-grid{display:grid;grid-template-columns:180px 1fr 1.2fr;gap:1rem;align-items:end}.compact-grid{grid-template-columns:1fr}.clean-list{margin:0;padding-left:1rem}.toolbar,.salon-tabs{display:flex;gap:1rem;align-items:end;flex-wrap:wrap}.salon-tab.active{background:#0d7c66;color:#fff}.grow{flex:1}.product-grid,.sales-products,.table-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem}.product-card,.product-picker,.table-card{display:grid;gap:.4rem;padding:1rem;border-radius:18px;background:rgba(255,255,255,.92);border:1px solid rgba(17,57,70,.1);text-align:left;color:#17202a}.table-card.available{background:linear-gradient(180deg,#fff,#edf9f4)}.occupied-list{display:grid;gap:.8rem}.occupied-item{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem;border:1px solid rgba(17,57,70,.08);border-radius:18px;background:rgba(255,248,240,.9)}.occupied-button{width:100%;text-align:left}.status-pill{padding:.35rem .7rem;border-radius:999px;background:#ffedd5;color:#9a3412;white-space:nowrap}.sales-layout{grid-template-columns:1.4fr .8fr}.cart-list{display:grid;gap:.9rem;margin-bottom:1rem}.cart-item{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-bottom:.9rem;border-bottom:1px solid rgba(17,57,70,.08)}.ticket-item-actions{display:grid;gap:.5rem;justify-items:end}.ticket-buttons{display:flex;gap:.5rem}.payment-panel{display:grid;gap:1rem;margin-bottom:1rem;background:rgba(13,124,102,.05)}.disabled-button{width:100%;background:#97a6ad;cursor:not-allowed}.compact-toolbar{align-items:stretch}.product-admin-layout{display:grid;grid-template-columns:360px 1fr;gap:1rem}.product-sidebar,.product-editor-stack,.section-stack{display:grid;gap:1rem}.product-admin-sections{align-items:start}.admin-list{display:grid;gap:.75rem;max-height:70vh;overflow:auto}.admin-list-item,.search-result-item{display:grid;gap:.25rem;padding:1rem;border-radius:18px;border:1px solid rgba(17,57,70,.1);background:rgba(255,255,255,.94);color:#17202a;text-align:left}.admin-list-item.active{border-color:rgba(13,124,102,.5);background:linear-gradient(180deg,#f4fffb,#eaf7f2)}.product-editor-grid{display:grid;gap:1rem}.product-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.product-form-span-2{grid-column:span 2}.checkbox-field{align-content:center}.checkbox-field input{width:22px;height:22px}.search-result-list,.editor-card-list{display:grid;gap:.85rem}.editor-card{display:grid;gap:1rem;padding:1rem;border:1px solid rgba(17,57,70,.08);border-radius:20px;background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(245,250,248,.96))}.recipe-card{background:linear-gradient(180deg,rgba(255,250,245,.96),rgba(248,253,251,.96))}.editor-card-header{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}.editor-card-header h4{margin-bottom:.2rem}.editor-card-actions{display:grid;gap:.6rem;justify-items:end}.editor-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem}.assignment-grid{grid-template-columns:repeat(3,minmax(0,1fr))}@media (max-width: 1200px){.product-admin-layout{grid-template-columns:1fr}}@media (max-width: 960px){.shell,.login-layout,.stats-grid,.split-panel,.sales-layout,.tables-layout,.order-meta-grid,.editor-card-grid,.assignment-grid,.product-form-grid{grid-template-columns:1fr}.sidebar{padding:1.5rem}.content,.login-layout{padding:1rem}.toolbar,.salon-tabs,.page-header,.cart-item,.occupied-item,.editor-card-header{flex-direction:column}.page-header-actions,.ticket-item-actions,.editor-card-actions{justify-items:start}.product-form-span-2{grid-column:span 1}}.purchase-layout,.purchase-detail-editor{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.purchase-layout{align-items:start}.purchase-entry-panel{grid-column:1 / -1}.purchase-entry-panel>.purchase-form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}.purchase-section-heading{padding-top:.85rem;border-top:1px solid rgba(17,57,70,.12)}.purchase-section-heading h3{margin-bottom:.2rem}.purchase-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.purchase-span-2{grid-column:span 2}.purchase-summary{display:grid;gap:.4rem;background:rgba(13,124,102,.05)}.purchase-provider-header,.purchase-provider-search-row,.purchase-provider-actions{display:flex;align-items:center;gap:.55rem}.purchase-provider-panel{gap:.65rem}.purchase-provider-header{justify-content:space-between}.purchase-provider-header h3{margin-bottom:0}.purchase-provider-search-row{align-items:end;gap:.4rem}.purchase-provider-search-row .field{min-width:0}.purchase-provider-search-row button{flex:0 0 auto;min-height:2.35rem;padding:.48rem .62rem;border-radius:9px;font-size:.74rem}.purchase-provider-actions{justify-content:flex-end;padding-top:.55rem;border-top:1px solid rgba(17,57,70,.08)}.purchase-provider-actions button{padding:.55rem .75rem}.purchase-layout .compact-toolbar{display:grid;grid-template-columns:minmax(170px,1fr) repeat(3,auto);gap:.5rem;align-items:end}.purchase-provider-selected{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.58rem .72rem;border:1px solid rgba(13,124,102,.14);border-radius:11px;background:rgba(13,124,102,.06)}.purchase-provider-selected>div{display:grid;gap:.12rem}.purchase-provider-selected small,.purchase-provider-selected span{color:#64787e;font-size:.74rem}.provider-create-modal,.provider-search-modal,.product-search-modal{width:min(100%,820px);max-height:88vh;overflow-y:auto}.provider-modal-form{gap:.7rem}.provider-search-results{min-height:100px;max-height:460px;display:grid;align-content:start;gap:.5rem;overflow-y:auto;padding-right:.2rem}.product-search-filter-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.65fr) auto;align-items:end;gap:.65rem}.product-search-results{min-height:120px;max-height:500px;display:grid;align-content:start;gap:.5rem;overflow-y:auto;padding-right:.2rem}.product-search-result-card{width:100%;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem .85rem;border:1px solid rgba(17,57,70,.1);border-radius:12px;background:#f8fbfa;color:#173c47;text-align:left;box-shadow:none}.product-search-result-card:hover{border-color:rgba(13,124,102,.3);background:#edf7f4;transform:none}.product-search-result-card>div{display:grid;gap:.15rem}.product-search-result-card>div:last-child{justify-items:end;white-space:nowrap}.product-search-result-card span,.product-search-result-card small{color:#64787e;font-size:.74rem}.purchase-history-modal{width:min(100%,960px);max-height:90vh;overflow:hidden;transition:width .18s ease,height .18s ease,max-height .18s ease}.purchase-history-modal.is-expanded{width:calc(100vw - 2rem);height:calc(100vh - 2rem);max-height:calc(100vh - 2rem);grid-template-rows:auto auto minmax(0,1fr)}.purchase-history-results{min-height:140px;max-height:58vh;overflow-y:auto;padding-right:.25rem}.purchase-history-modal.is-expanded .purchase-history-results{max-height:none;min-height:0}.cancelled-purchase-card{border-color:rgba(155,48,37,.2);background:linear-gradient(180deg,rgba(255,248,246,.98),rgba(251,242,239,.96))}.status-pill.is-cancelled{background:#f9e4df;color:#96382e}.purchase-cancellation-info{display:grid;gap:.2rem;padding:.65rem .75rem;border-left:3px solid #b4483c;border-radius:8px;background:rgba(180,72,60,.07);color:#79352e}.purchase-cancel-modal-backdrop{z-index:60}.purchase-cancel-modal{width:min(100%,560px)}.product-stock-page{gap:.9rem}.product-stock-page>.page-header .page-header-actions{display:flex;flex-wrap:wrap;justify-content:flex-end}.stock-print-button{display:inline-flex;align-items:center;gap:.42rem}.stock-print-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.product-stock-filters{display:grid;grid-template-columns:minmax(240px,1.6fr) minmax(180px,.8fr) minmax(180px,.8fr) auto auto;align-items:end;gap:.65rem;padding:.9rem}.product-stock-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.7rem}.product-stock-summary .stat-card{min-height:105px}.product-stock-summary .stat-card strong{font-size:clamp(1.15rem,2vw,1.65rem)}.product-stock-margin{color:#0b6d5b;background:linear-gradient(145deg,rgba(224,246,237,.98),rgba(247,252,249,.98))}.product-stock-table-panel{padding:0;overflow:hidden}.product-stock-table-wrap{max-height:68vh;overflow:auto}.product-stock-table{width:100%;min-width:1320px;border-collapse:separate;border-spacing:0;font-size:.78rem}.product-stock-table th,.product-stock-table td{padding:.65rem .7rem;border-bottom:1px solid rgba(17,57,70,.08);text-align:left;vertical-align:middle}.product-stock-table th{position:sticky;top:0;z-index:2;color:#fff;background:#113946;font-size:.67rem;letter-spacing:.045em;text-transform:uppercase;white-space:nowrap}.product-stock-table tbody tr:nth-child(2n){background:rgba(241,247,245,.65)}.product-stock-table tbody tr:hover{background:rgba(13,124,102,.08)}.product-stock-table .number-cell{text-align:right;white-space:nowrap}.product-stock-table .without-stock{color:#6f7779;background:rgba(180,72,60,.043)}.stock-value{display:inline-flex;min-width:54px;justify-content:center;padding:.25rem .45rem;border-radius:999px;color:#0b6d5b;background:rgba(13,124,102,.1);font-weight:800}.stock-value.is-empty{color:#9b3025;background:rgba(180,72,60,.1)}.purchase-history-page{gap:.9rem}.purchase-history-actions{display:flex;flex-wrap:wrap;justify-content:flex-end}.purchase-history-filters{display:grid;grid-template-columns:minmax(150px,.55fr) minmax(150px,.55fr) minmax(280px,1.5fr) auto;align-items:end;gap:.7rem;padding:.9rem}.purchase-history-table-panel{padding:0;overflow:hidden}.purchase-history-section-title{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.9rem 1rem;border-bottom:1px solid rgba(17,57,70,.1)}.purchase-history-section-title h3,.purchase-history-section-title p{margin:0}.purchase-history-table-wrap{max-height:55vh;overflow:auto}.purchase-history-table-wrap table{width:100%;min-width:1120px;border-collapse:separate;border-spacing:0;font-size:.78rem}.purchase-history-table-wrap th,.purchase-history-table-wrap td{padding:.62rem .68rem;border-bottom:1px solid rgba(17,57,70,.08);text-align:left;vertical-align:middle}.purchase-history-table-wrap th{position:sticky;top:0;z-index:2;color:#fff;background:#113946;font-size:.67rem;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.purchase-history-table-wrap tbody tr:nth-child(2n){background:rgba(241,247,245,.65)}.purchase-history-table-wrap tr.cancelled-row{color:#7c4b46;background:rgba(180,72,60,.08)}.purchase-history-table-wrap .number-cell{text-align:right;white-space:nowrap}.purchase-history-table-wrap .compact-button{min-height:32px;padding:.35rem .6rem;white-space:nowrap}.purchase-detail-history-table{min-width:1380px!important}.users-roles-page{gap:.9rem}.role-access-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem}.role-access-grid article{display:grid;gap:.3rem;padding:.85rem 1rem;border:1px solid rgba(17,57,70,.1);border-radius:12px;background:linear-gradient(145deg,rgba(238,247,244,.96),rgba(255,255,255,.98))}.role-access-grid article strong{color:#113946}.role-access-grid article span{color:#607176;font-size:.78rem;line-height:1.45}.users-roles-layout{grid-template-columns:minmax(0,1.3fr) minmax(330px,.7fr);align-items:start}.users-role-list{display:grid;gap:.55rem;margin-top:.8rem;max-height:62vh;overflow:auto}.user-role-card{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.75rem;border:1px solid rgba(17,57,70,.1);border-radius:10px;background:rgba(248,251,250,.95)}.user-role-card p,.user-role-card small{margin:.2rem 0 0;color:#637277}.user-role-card.is-disabled{opacity:.65;background:rgba(180,72,60,.06)}.user-role-meta{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;text-align:right}.role-pill{display:inline-flex;padding:.25rem .5rem;border-radius:999px;font-size:.68rem;font-weight:800;letter-spacing:.04em}.role-admin{color:#8a3a22;background:#ffe8dc}.role-cajero{color:#0b6656;background:#dff4ec}.role-mesero{color:#24547a;background:#e2eff8}.management-utilities-page{gap:.9rem}.management-profit-highlight{display:grid;justify-items:end;gap:.15rem;padding:.7rem .9rem;border:1px solid rgba(13,124,102,.2);border-radius:12px;color:#0b6656;background:linear-gradient(145deg,#e2f5ed,#f8fcfa)}.management-header-side{display:grid;justify-items:end;gap:.55rem}.management-export-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.5rem}.management-profit-highlight strong{font-size:1.35rem}.management-profit-highlight.is-negative{color:#96392e;border-color:rgba(180,72,60,.2);background:linear-gradient(145deg,#ffe8e3,#fff9f7)}.management-cost-warning{margin:0;padding:.7rem .85rem;border:1px solid #e7c56d;border-radius:10px;color:#755410;background:#fff8df}.management-utilities-filters{display:grid;grid-template-columns:repeat(4,minmax(135px,.65fr)) minmax(230px,1.2fr) auto;align-items:end;gap:.65rem;padding:.9rem}.management-utilities-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.7rem}.management-utilities-summary .stat-card{min-height:104px}.management-profit-card{color:#0b6656;background:linear-gradient(145deg,rgba(224,246,237,.98),rgba(247,252,249,.98))}.management-profit-card small{font-weight:800}.management-ranking{display:grid;grid-template-columns:minmax(190px,.35fr) minmax(0,1.65fr);gap:1.2rem;align-items:start}.management-ranking-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem 1rem}.management-ranking-list article,.management-ranking-list article>div:first-child{display:grid;gap:.3rem}.management-ranking-list article>div:first-child{grid-template-columns:minmax(0,1fr) auto}.management-ranking-list strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.78rem}.management-ranking-list span{font-size:.75rem}.management-ranking-track{height:7px;overflow:hidden;border-radius:999px;background:#e5ecea}.management-ranking-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0d7c66,#56b697)}.management-utilities-table-panel{padding:0;overflow:hidden}.management-table-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.9rem 1rem;border-bottom:1px solid rgba(17,57,70,.1)}.management-table-heading h3,.management-table-heading p{margin:0}.management-utilities-table-wrap{max-height:62vh;overflow:auto}.management-utilities-table-wrap table{width:100%;min-width:1420px;border-collapse:separate;border-spacing:0;font-size:.77rem}.management-utilities-table-wrap th,.management-utilities-table-wrap td{padding:.62rem .68rem;border-bottom:1px solid rgba(17,57,70,.08);text-align:left}.management-utilities-table-wrap th{position:sticky;top:0;z-index:2;color:#fff;background:#113946;font-size:.66rem;text-transform:uppercase;white-space:nowrap}.management-utilities-table-wrap .number-cell{text-align:right;white-space:nowrap}.management-utilities-table-wrap .profit-cell{color:#0b6656;font-weight:800}.management-utilities-table-wrap .negative-profit-row,.management-utilities-table-wrap .negative-profit-row .profit-cell{color:#96392e;background:rgba(180,72,60,.06)}.profit-percent,.cost-source{display:inline-flex;padding:.24rem .45rem;border-radius:999px;color:#0b6656;background:#dff4ec;font-weight:800}.profit-percent.is-negative,.cost-source.is-missing{color:#96392e;background:#ffe4e0}.cost-source.is-historic{color:#24547a;background:#e2eff8}.cash-reconciliation-admin-page,.cash-reconciliation-list{gap:.9rem}.cash-reconciliation-list{display:grid}.cash-reconciliation-filters{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));align-items:end;gap:.7rem;padding:.9rem}.cash-cut-query{grid-column:1 / -1;justify-self:end;min-width:180px}.cash-cut-section{display:grid;gap:.7rem}.cash-cut-section-title{display:flex;align-items:end;justify-content:space-between;gap:1rem}.cash-cut-section-title h3,.cash-cut-section-title p{margin:0}.cash-cut-section-title>span{color:var(--muted);font-size:.82rem;font-weight:800}.cash-cut-formula-grid,.cash-cut-delivery-grid{display:grid;gap:.7rem}.cash-cut-formula-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.cash-cut-delivery-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.cash-cut-formula-grid .stat-card,.cash-cut-delivery-grid .stat-card{min-height:98px}.cash-cut-total-card{background:linear-gradient(145deg,rgba(231,240,243,.98),rgba(249,252,252,.98))}.cash-cut-output-card{color:#8b4038;background:linear-gradient(145deg,rgba(253,234,230,.96),rgba(255,250,248,.98))}.cash-cut-liquid-card{color:#0b6656;background:linear-gradient(145deg,rgba(218,242,232,.98),rgba(246,252,249,.98))}.cash-cut-delivery-section{padding-top:.2rem}.cash-cut-difference-card{color:#0b6656;border-color:rgba(13,124,102,.28)}.cash-cut-difference-card.is-negative{color:#a33f35;border-color:rgba(180,72,60,.3);background:#fff7f5}.cash-cut-turn-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.55rem}.cash-cut-turn-grid>span{display:grid;gap:.18rem;padding:.65rem;border:1px solid rgba(17,57,70,.1);border-radius:10px;background:#fff}.cash-cut-turn-grid small{color:var(--muted)}.cash-cut-delivery-inline{display:flex;flex-wrap:wrap;gap:.55rem}.cash-cut-delivery-inline>span{padding:.48rem .65rem;border-radius:999px;color:#24505c;background:rgba(224,239,241,.78);font-size:.82rem}.cash-reconciliation-card{padding:0;overflow:hidden}.cash-reconciliation-card summary{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.9rem 1rem;cursor:pointer;list-style:none}.cash-reconciliation-card summary::-webkit-details-marker{display:none}.cash-reconciliation-card summary>div:first-child,.cash-reconciliation-totals{display:grid;gap:.2rem}.cash-reconciliation-card summary p,.cash-reconciliation-card summary small{margin:0}.cash-reconciliation-totals{justify-items:end}.cash-reconciliation-card.state-faltante{border-left:4px solid #b4483c}.cash-reconciliation-card.state-sobrante{border-left:4px solid #d3972d}.cash-reconciliation-card.state-cuadrado{border-left:4px solid #0d7c66}.cash-reconciliation-detail{display:grid;gap:.8rem;padding:.9rem 1rem 1rem;border-top:1px solid rgba(17,57,70,.1);background:rgba(247,250,249,.76)}.cash-cut-detail-actions{display:flex;justify-content:flex-end}.cash-closure-history-page{gap:.9rem}.closure-cancel-note{display:block;max-width:230px;margin-top:.35rem;color:#8a4941;line-height:1.35;white-space:normal}.closure-row-actions{display:flex;flex-wrap:wrap;gap:.4rem;min-width:150px}.cash-operations-modal{width:min(96vw,1180px);max-height:90vh;overflow:auto;align-content:start}.cash-operations-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;position:sticky;top:-1.35rem;z-index:2;margin:-1.35rem -1.35rem 0;padding:1.25rem 1.35rem .85rem;border-bottom:1px solid rgba(17,57,70,.1);background:rgba(255,255,255,.96);backdrop-filter:blur(10px)}.cash-operations-header h3,.cash-operations-header p,.cash-operations-section h4,.cash-operations-section p{margin:0}.cash-operations-section{display:grid;gap:.55rem;min-width:0}.cash-operations-section .purchase-history-table-wrap{max-height:280px;overflow:auto;border:1px solid rgba(17,57,70,.1);border-radius:12px}@media (max-width: 1200px){.cash-cut-formula-grid,.cash-cut-turn-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cash-cut-delivery-grid,.management-utilities-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.management-utilities-query{grid-column:1 / -1}.management-utilities-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.management-ranking,.users-roles-layout{grid-template-columns:1fr}.purchase-history-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-history-query{grid-column:1 / -1}.product-stock-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.product-stock-query{grid-column:1 / -1}.product-stock-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width: 680px){.cash-reconciliation-filters{grid-template-columns:1fr}.cash-cut-query{grid-column:auto;justify-self:stretch}.cash-cut-formula-grid,.cash-cut-delivery-grid,.cash-cut-turn-grid{grid-template-columns:1fr}.cash-cut-section-title{align-items:flex-start;flex-direction:column}.cash-operations-modal{width:100%;max-height:94vh;padding:1rem}.cash-operations-header{margin:-1rem -1rem 0;padding:1rem}.cash-reconciliation-card summary{align-items:flex-start;flex-direction:column}.cash-reconciliation-totals{justify-items:start}.cash-declared-payments{grid-template-columns:1fr}.management-header-side,.management-export-actions{width:100%;justify-items:stretch;justify-content:stretch}.management-export-actions button{flex:1 1 auto}.management-profit-highlight{width:100%;justify-items:start}.management-utilities-filters,.management-utilities-summary,.management-ranking-list{grid-template-columns:1fr}.management-utilities-query{grid-column:auto}.role-access-grid{grid-template-columns:1fr}.user-role-card,.user-role-meta{align-items:flex-start;flex-direction:column}.purchase-history-actions,.purchase-history-filters{width:100%;grid-template-columns:1fr}.purchase-history-actions button{flex:1 1 auto}.purchase-history-query{grid-column:auto}.purchase-history-section-title{align-items:flex-start;flex-direction:column}.product-stock-page>.page-header .page-header-actions{width:100%;justify-content:stretch}.product-stock-page>.page-header .page-header-actions button{flex:1 1 auto}.product-stock-filters,.product-stock-summary{grid-template-columns:1fr}.product-stock-query{grid-column:auto}.product-stock-summary .stat-card{min-height:auto}}.modal-icon-button{width:38px;height:38px;display:inline-grid;place-items:center;padding:0}.modal-icon-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.provider-result-card{width:100%;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem .85rem;border:1px solid rgba(17,57,70,.1);border-radius:12px;background:#f8fbfa;color:#173c47;text-align:left;box-shadow:none}.provider-result-card:hover{border-color:rgba(13,124,102,.3);background:#edf7f4;transform:none}.provider-result-card>div{display:grid;gap:.15rem}.provider-result-card>div:last-child{justify-items:end}.provider-result-card span,.provider-result-card small{font-size:.74rem}.purchase-inline-metrics{display:flex;gap:1rem;flex-wrap:wrap;color:#5f6f7a}.purchase-detail-reconciliation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;padding-top:.8rem;border-top:1px solid rgba(17,57,70,.1)}.purchase-detail-reconciliation>div{display:grid;gap:.2rem;padding:.7rem .8rem;border:1px solid rgba(17,57,70,.1);border-radius:12px;background:#f7faf9}.purchase-detail-reconciliation small{color:#64787e}.purchase-detail-reconciliation .is-balanced{border-color:rgba(13,124,102,.28);background:rgba(13,124,102,.08);color:#0b6d5b}.purchase-detail-reconciliation .has-difference{border-color:rgba(185,117,36,.28);background:rgba(232,166,75,.1);color:#8a571d}.purchase-product-catalog-editor{gap:.75rem;max-height:720px;overflow-y:auto}.compact-page-header{align-items:center;gap:.75rem}.compact-page-header h3{margin-bottom:0}.purchase-base-price{max-width:240px}.purchase-previous-prices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.purchase-previous-prices>div{display:grid;gap:.2rem;padding:.65rem .75rem;border:1px solid rgba(17,57,70,.1);border-radius:12px;background:rgba(13,124,102,.05)}.purchase-previous-prices small{color:#5f6f7a}.purchase-catalog-section{display:grid;gap:.6rem;padding-top:.7rem;border-top:1px solid rgba(17,57,70,.1)}.purchase-catalog-toolbar{display:flex;justify-content:space-between;align-items:center;gap:.75rem}.purchase-catalog-toolbar>div{display:grid;gap:.1rem}.compact-editor-list{gap:.5rem}.compact-editor-card{gap:.55rem;padding:.65rem;border-radius:13px}.purchase-equivalent-grid{grid-template-columns:minmax(125px,1.4fr) repeat(3,minmax(85px,.8fr)) auto;align-items:end;gap:.5rem}.purchase-assignment-grid{grid-template-columns:repeat(4,minmax(80px,1fr));gap:.5rem}.purchase-insumo-results{max-height:180px;overflow-y:auto;gap:.4rem}.purchase-insumo-results .search-result-item{padding:.6rem .75rem;border-radius:12px}.danger-button{background:#fff4f1;border-color:rgba(174,56,42,.22);color:#9b3025}.compact-remove-button{padding:.65rem .7rem}@media (max-width: 960px){.purchase-layout,.purchase-detail-editor,.purchase-form-grid{grid-template-columns:1fr}.purchase-entry-panel>.purchase-form-grid{grid-template-columns:1fr}.purchase-provider-header,.purchase-provider-search-row{align-items:stretch;flex-direction:column}.purchase-provider-header,.purchase-provider-actions{align-items:flex-start}.purchase-provider-actions{justify-content:stretch}.product-search-filter-grid{grid-template-columns:1fr}.product-search-result-card{align-items:flex-start;flex-direction:column}.product-search-result-card>div:last-child{justify-items:start}.purchase-product-catalog-editor{max-height:none}.purchase-equivalent-grid,.purchase-assignment-grid,.purchase-previous-prices,.purchase-detail-reconciliation{grid-template-columns:1fr}.purchase-catalog-toolbar{align-items:stretch;flex-direction:column}.purchase-provider-actions button{flex:1}.provider-result-card{align-items:flex-start}.purchase-span-2{grid-column:span 1}}.sales-history-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;align-items:end}.sales-history-actions{grid-column:span 4}.sales-history-card{background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(241,248,255,.96))}.product-summary-filters{grid-template-columns:repeat(5,minmax(0,1fr))}.product-summary-month{grid-column:span 2}.product-summary-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.product-summary-card{background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(237,247,244,.97))}.result-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.result-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.result-card{background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(245,248,240,.97))}.top-products-chart{display:grid;gap:.9rem}.dashboard-chart-controls{display:grid;grid-template-columns:180px 260px;gap:.9rem;align-items:end}.top-products-row{display:grid;grid-template-columns:minmax(240px,1.4fr) minmax(180px,2fr) 96px;gap:1rem;align-items:center;padding:.95rem 1rem;border-radius:18px;background:rgba(13,124,102,.05);border:1px solid rgba(13,124,102,.1)}.top-products-meta,.top-products-values{display:grid;gap:.18rem}.top-products-bar-track{position:relative;height:16px;border-radius:999px;overflow:hidden;background:linear-gradient(180deg,rgba(17,57,70,.08),rgba(17,57,70,.14))}.top-products-bar-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#0d7c66,#1b9e85);box-shadow:0 6px 16px rgba(13,124,102,.28)}@media (max-width: 960px){.sales-history-filters{grid-template-columns:1fr}.sales-history-actions{grid-column:span 1}.product-summary-filters,.product-summary-stats,.result-filters,.result-stats,.dashboard-chart-controls,.top-products-row{grid-template-columns:1fr}.product-summary-month{grid-column:span 1}}.cash-open-grid{display:grid;grid-template-columns:1.2fr 220px 1fr auto;gap:1rem;align-items:end}.cash-layout{display:grid;grid-template-columns:1.3fr .8fr;gap:1rem}.cash-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.clean-data-list{display:grid;gap:.8rem}.data-row{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.85rem 1rem;border-radius:16px;background:rgba(13,124,102,.05)}.movement-row{align-items:flex-start}.cash-close-metrics{display:grid;gap:.75rem;background:rgba(13,124,102,.05)}.cash-close-result{background:linear-gradient(180deg,rgba(244,255,250,.98),rgba(241,247,255,.98))}.cash-close-result .cash-reconciliation-grid{display:none}.cash-declared-payments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;padding:.75rem;border:1px solid rgba(17,57,70,.1);border-radius:10px;background:rgba(241,247,245,.72)}.cash-declared-payments>.eyebrow{grid-column:1 / -1}.cash-reconciliation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.employees-layout{align-items:start}.employee-list{display:grid;gap:.9rem}.employee-card{display:grid;gap:.8rem;padding:1rem;border-radius:18px;background:rgba(13,124,102,.05);border:1px solid rgba(13,124,102,.1)}.employee-meta{display:flex;flex-wrap:wrap;gap:.8rem;color:#37505a;font-size:.92rem}.employee-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.company-config-layout{align-items:start}.company-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.company-form-span-2{grid-column:span 2}.company-config-side{display:grid;gap:1rem;align-content:start}.company-logo-card,.company-note-panel{display:grid;gap:1rem;padding:1rem 1.1rem;border-radius:18px;background:rgba(13,124,102,.05);border:1px solid rgba(13,124,102,.08)}.company-logo-preview{width:min(100%,260px);max-height:180px;object-fit:contain;border-radius:20px;background:#fff;border:1px solid rgba(17,57,70,.08);padding:1rem}.company-logo-placeholder{display:grid;place-items:center;width:min(100%,260px);min-height:160px;border-radius:20px;border:1px dashed rgba(17,57,70,.18);background:rgba(255,255,255,.68);color:#5f6f7a}.stock-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end}.stock-search-field{grid-column:span 4}.stock-layout{align-items:start}.stock-product-list,.stock-cart-list{display:grid;gap:.9rem}.stock-product-card{display:grid;justify-items:start;gap:.3rem;padding:1rem 1.1rem;border-radius:18px;background:rgba(13,124,102,.06);border:1px solid rgba(13,124,102,.12);color:#17202a}.stock-cart-item{display:grid;gap:.9rem;padding:1rem;border-radius:18px;background:rgba(17,57,70,.04)}.inventory-count-list{display:grid;gap:.9rem}.inventory-count-card{display:grid;grid-template-columns:1fr 220px;gap:1rem;align-items:center;padding:1rem;border-radius:18px;background:rgba(13,124,102,.05);border:1px solid rgba(13,124,102,.1)}.inventory-count-field{align-self:stretch}.stock-cart-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;align-items:end}.delivery-layout{align-items:start}.delivery-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.delivery-actions-stack{display:grid;gap:.8rem;margin-bottom:1rem}.delivery-note-panel{padding:1rem 1.1rem;margin-bottom:1rem;background:rgba(13,124,102,.05)}.delivery-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.delivery-toolbar{display:flex;justify-content:space-between;align-items:end;gap:1rem}.delivery-board,.delivery-card{display:grid;gap:1rem}.delivery-card-header,.delivery-card-grid,.delivery-card-actions,.delivery-status-actions{display:grid;gap:.8rem}.delivery-card-header{grid-template-columns:1fr auto;align-items:start}.delivery-card-grid{grid-template-columns:1fr 160px;align-items:start}.delivery-card-actions,.delivery-status-actions{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.delivery-status{display:inline-flex;align-items:center;justify-content:center;padding:.45rem .85rem;border-radius:999px;font-size:.84rem;background:rgba(17,57,70,.08);color:#24434c}.delivery-status-pendiente{background:rgba(255,152,0,.16);color:#b96f00}.delivery-status-en-cocina{background:rgba(13,124,102,.14);color:#0c6755}.delivery-status-en-camino{background:rgba(39,104,191,.14);color:#215a9c}.delivery-status-entregado,.delivery-status-cobrado{background:rgba(76,175,80,.16);color:#317d35}.delivery-status-cancelado,.delivery-status-anulado{background:rgba(176,43,43,.14);color:#9b2525}.button-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.inline-field-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.7rem}.status-chip{display:inline-flex;align-items:center;justify-content:center;padding:.45rem .85rem;border-radius:999px;font-size:.85rem;background:rgba(17,57,70,.08);color:#24434c}.status-ok{background:rgba(13,124,102,.14);color:#0d6959}@media (max-width: 960px){.cash-open-grid,.cash-layout,.cash-summary-grid,.cash-reconciliation-grid,.delivery-kpi-grid,.delivery-card-grid,.employee-form-grid,.company-form-grid,.delivery-form-grid,.stock-filter-grid,.stock-cart-controls,.inventory-count-card,.login-hero-meta{grid-template-columns:1fr}.stock-search-field,.company-form-span-2{grid-column:span 1}}.sidebar-logo{width:88px;height:88px;object-fit:contain;border-radius:20px;background:rgba(255,255,255,.1);padding:.65rem;margin-bottom:1rem}.company-logo,.hero-logo{width:120px;height:120px;object-fit:contain;border-radius:24px;background:rgba(255,255,255,.14);padding:.8rem}.company-panel{align-items:start}.dashboard-hero{align-items:stretch;padding:1.6rem 1.8rem;border-radius:24px;background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(242,247,244,.96));border:1px solid rgba(17,57,70,.08);box-shadow:0 18px 42px rgba(44,62,80,.08)}.dashboard-hero-copy{display:grid;gap:.35rem}.dashboard-hero-copy h2{margin-bottom:0}.dashboard-hero-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.9rem;min-width:420px}.dashboard-identity-grid .stat-card,.dashboard-section .stat-card{background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(246,249,250,.94))}.dashboard-section{gap:1.2rem}.dashboard-bottom-panels{align-items:start}.dashboard-company-logo{width:88px;height:88px;border-radius:20px}.company-hero-card{align-content:start}.muted-light{color:rgba(244,251,251,.82)}.payment-splits{display:grid;gap:.8rem}.payment-split-row{display:grid;grid-template-columns:1.1fr .9fr auto;gap:.6rem;align-items:center}.payment-split-row select,.payment-split-row input{width:100%;border:1px solid rgba(17,57,70,.14);border-radius:14px;padding:.8rem .9rem;background:#f9fcfc}.compact-action{white-space:nowrap}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:1.25rem;background:rgba(8,27,34,.58);backdrop-filter:blur(4px)}.modal-card{width:min(100%,480px);display:grid;gap:1rem;padding:1.35rem;border:1px solid rgba(17,57,70,.14);border-radius:20px;background:#fff;box-shadow:0 24px 70px rgba(4,24,31,.3)}.modal-card .page-header{margin:0}.active-orders-modal{width:min(100%,900px);max-height:min(82vh,720px);overflow:hidden}.active-orders-header{align-items:center}.active-orders-columns{min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.active-orders-group{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:.65rem;padding:.85rem;border:1px solid rgba(17,57,70,.11);border-radius:15px;background:#f7faf9}.active-orders-group-title,.active-order-card{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.active-orders-group-title h4{margin:.12rem 0 0}.active-orders-list{min-height:90px;max-height:430px;display:grid;align-content:start;gap:.5rem;overflow-y:auto;padding-right:.2rem}.active-order-card{width:100%;padding:.7rem .75rem;border:1px solid rgba(17,57,70,.1);border-radius:12px;background:#fff;color:#113946;text-align:left;box-shadow:none}.active-order-card:hover{border-color:rgba(17,57,70,.28);background:#f0f7f5;transform:none}.active-order-card>div:first-child,.active-order-card-meta{display:grid;gap:.12rem}.active-order-card span,.active-order-card small{font-size:.74rem}.active-order-card small{color:#667b82}.active-order-card-meta{justify-items:end;flex:0 0 auto}.order-state{display:inline-flex;padding:.2rem .45rem;border-radius:999px;font-size:.66rem;font-weight:800;letter-spacing:.03em;white-space:nowrap}.order-state.waiting{color:#885c08;background:#fff0c7}.order-state.operating{color:#126345;background:#dff4e9}.active-orders-empty{padding:1rem .35rem}.sales-page{gap:.55rem}.sales-page-header{align-items:center}.sales-page-header h2{margin-bottom:0}.sales-page .page-header-actions{display:flex;flex-flow:row wrap;align-items:center;justify-content:flex-end;gap:.45rem}.sales-client-grid{display:grid;grid-template-columns:150px repeat(2,minmax(130px,.7fr)) minmax(190px,1.3fr) minmax(220px,1.4fr) 120px;gap:.65rem;align-items:end;padding:.8rem 1rem}.sales-client-panel{display:grid;gap:.55rem;padding:.6rem .75rem;border-radius:16px}.sales-client-primary-grid{display:grid;grid-template-columns:110px 130px minmax(170px,.9fr) minmax(190px,1.1fr) auto;gap:.55rem;align-items:end}.sales-client-extra-grid{display:grid;grid-template-columns:minmax(220px,1.5fr) 140px minmax(180px,1fr) 120px;gap:.55rem;padding-top:.55rem;border-top:1px solid rgba(17,57,70,.08)}.sales-client-primary-grid .field,.sales-client-extra-grid .field{min-width:0}.sales-client-primary-grid .field span,.sales-client-extra-grid .field span{margin-bottom:.18rem;font-size:.68rem}.sales-client-primary-grid input,.sales-client-primary-grid select,.sales-client-extra-grid input,.sales-client-extra-grid select{min-height:2.1rem;padding:.38rem .55rem;border-radius:9px;font-size:.84rem}.client-details-toggle{min-height:2.1rem;padding:.38rem .62rem;font-size:.72rem}.sales-client-grid .field{min-width:0}.sales-client-grid .field span,.sales-search-field span{margin-bottom:.25rem;font-size:.72rem}.sales-client-grid input,.sales-client-grid select,.sales-search-field input{min-height:2.35rem;padding:.5rem .65rem;border-radius:10px}.sales-layout{grid-template-columns:minmax(0,1fr) minmax(330px,390px);align-items:start;gap:.9rem}.sales-catalog-panel,.sales-ticket-panel{padding:.75rem}.sales-search-field{margin-bottom:.45rem}.sales-category-strip{display:flex;gap:.4rem;margin-bottom:.4rem;padding-bottom:.2rem;overflow-x:auto;scrollbar-width:thin}.sales-category-strip button{flex:0 0 auto;padding:.42rem .68rem;border:1px solid rgba(13,124,102,.16);border-radius:999px;background:rgba(13,124,102,.07);color:#28515b;font-size:.72rem;font-weight:700}.sales-category-strip button.active{border-color:#0d7c66;background:#0d7c66;color:#fff}.sales-products{grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:.28rem;max-height:calc(100vh - 255px);min-height:360px;overflow:auto;padding:.1rem .15rem .3rem}.sales-products .product-picker{min-height:54px;align-content:space-between;gap:.12rem;padding:.3rem .4rem;border-radius:8px;text-align:left;font-size:.72rem}.sales-products .product-picker span{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.2}.sales-products .product-picker small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.6rem}.sales-products .product-picker strong{font-size:.72rem}.sales-ticket-panel{position:sticky;top:1rem;max-height:calc(100vh - 2rem);overflow:auto}.sales-ticket-panel>.page-header{padding-bottom:.65rem;border-bottom:1px solid rgba(17,57,70,.1)}.sales-ticket-panel>.page-header h3{margin-bottom:0}.sales-ticket-panel>.page-header strong{color:#0d6959;font-size:1.15rem}.sales-ticket-panel .cart-list{gap:.55rem;max-height:190px;margin:.5rem 0;overflow:auto}.sales-ticket-panel .cart-item{gap:.65rem;padding-bottom:.55rem}.sales-ticket-panel .cart-item p{margin-bottom:0;font-size:.8rem}.sales-ticket-panel .ticket-item-actions{min-width:105px}.sales-ticket-panel .ticket-buttons{gap:.35rem}.sales-ticket-panel .ticket-buttons button,.sales-ticket-panel>button{padding:.45rem .6rem;border-radius:10px;font-size:.78rem}.sales-ticket-panel .payment-panel{gap:.45rem;margin-bottom:.5rem;padding:.6rem;border-radius:16px}.sales-ticket-panel .payment-panel .field span{margin-bottom:.22rem;font-size:.72rem}.sales-ticket-panel .payment-panel input,.sales-ticket-panel .payment-panel select{min-height:2.25rem;padding:.45rem .6rem;border-radius:10px}.sales-ticket-panel .payment-splits{gap:.45rem}.sales-page-header button,.sales-ticket-panel .payment-panel button{padding:.48rem .65rem;border-radius:10px;font-size:.78rem}.product-admin-page{gap:.9rem}.product-admin-header{align-items:center}.product-admin-header h2,.product-admin-header .muted{margin-bottom:0}.product-admin-header .page-header-actions{display:flex;flex-flow:row wrap;align-items:center;gap:.5rem}.product-admin-workspace{grid-template-columns:minmax(280px,320px) minmax(0,1fr);gap:.9rem;align-items:start}.product-catalog-panel{position:sticky;top:1rem;max-height:calc(100vh - 2rem);padding:.9rem;overflow:hidden}.product-catalog-panel .toolbar{grid-template-columns:minmax(0,1fr) 115px;gap:.55rem}.product-catalog-panel .field span,.product-main-form .field span,.product-admin-sections .field span{margin-bottom:.22rem;font-size:.72rem}.product-catalog-panel input,.product-catalog-panel select,.product-main-form input,.product-main-form select,.product-admin-sections input,.product-admin-sections select{min-height:2.3rem;padding:.46rem .6rem;border-radius:10px}.product-catalog-panel .admin-list{gap:.45rem;max-height:calc(100vh - 185px);padding-right:.15rem}.product-catalog-panel .admin-list-item{gap:.12rem;padding:.65rem .7rem;border-radius:12px}.product-catalog-panel .admin-list-item small,.product-catalog-panel .admin-list-item span{font-size:.74rem}.product-editor-workspace{gap:.9rem}.product-main-form{gap:.75rem;padding:.95rem 1rem}.product-main-form .product-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}.product-main-form .product-form-span-2{grid-column:span 3}.product-main-form .checkbox-field{grid-template-columns:1fr auto;align-items:center;gap:.5rem}.product-main-form .checkbox-field span{margin:0}.product-main-form .checkbox-field input{min-height:18px;width:18px;height:18px;padding:0}.product-profit-summary{min-height:2.3rem;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:.55rem;padding:.42rem .65rem;border:1px solid rgba(13,124,102,.18);border-radius:10px;background:rgba(13,124,102,.07);color:#205d52}.product-profit-summary span,.product-profit-summary small{font-size:.68rem}.product-profit-summary strong{grid-row:span 2;font-size:1rem}.product-profit-summary small{color:#58736e}.product-profit-summary.negative{border-color:rgba(174,55,55,.2);background:rgba(174,55,55,.07);color:#913737}.adjustments-report-filters{display:grid;grid-template-columns:minmax(180px,1.2fr) repeat(3,minmax(135px,.8fr)) auto;gap:.7rem;align-items:end}.adjustments-report-filters>button{min-height:2.65rem}.adjustments-report-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.adjustments-report-search{display:grid;grid-template-columns:auto minmax(220px,1fr);align-items:center;gap:.8rem;padding:.75rem .9rem}.adjustments-report-search span{margin:0;white-space:nowrap}.adjustments-report-list{display:grid;gap:.65rem}.adjustment-report-card{padding:0;overflow:hidden}.adjustment-report-card>summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem 1rem;cursor:pointer;list-style:none}.adjustment-report-card>summary::-webkit-details-marker{display:none}.adjustment-report-card>summary:before{content:"+";flex:0 0 auto;width:1.65rem;height:1.65rem;display:grid;place-items:center;border-radius:8px;background:rgba(13,124,102,.09);color:#0d6959;font-weight:800}.adjustment-report-card[open]>summary:before{content:"-"}.adjustment-report-card summary>div:first-of-type{flex:1 1 auto;display:grid;gap:.12rem}.adjustment-report-card summary small{color:#667b82}.adjustment-report-summary-meta{display:grid;justify-items:end;gap:.18rem}.adjustment-report-body{display:grid;gap:.65rem;padding:.8rem 1rem 1rem;border-top:1px solid rgba(17,57,70,.09);background:#f8fbfa}.adjustment-report-table-wrap{overflow-x:auto}.adjustment-report-table-wrap table{width:100%;border-collapse:collapse}.adjustment-report-table-wrap th,.adjustment-report-table-wrap td{padding:.55rem .65rem;border-bottom:1px solid rgba(17,57,70,.09);text-align:left;white-space:nowrap}.adjustment-report-table-wrap th{color:#536b72;font-size:.68rem;letter-spacing:.04em;text-transform:uppercase}.product-main-form .form-actions,.product-admin-sections .page-header-actions{display:flex;flex-flow:row wrap;align-items:center;gap:.5rem}.product-main-form .form-actions button,.product-admin-sections .page-header-actions button,.product-admin-sections .editor-card button{padding:.55rem .7rem;border-radius:10px}.product-admin-sections{gap:.9rem}.product-admin-sections .panel{padding:1rem}.product-admin-sections .page-header h3,.product-admin-sections .page-header p{margin-bottom:0}.product-admin-sections .editor-card-list,.product-admin-sections .search-result-list{gap:.5rem}.product-admin-sections .editor-card{gap:.6rem;padding:.7rem;border-radius:13px}.product-admin-sections .editor-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem}.product-admin-sections .assignment-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.shell{grid-template-columns:280px minmax(0,1fr);transition:grid-template-columns .22s ease}.sidebar{position:sticky;top:0;align-self:start;height:100vh;width:280px;min-width:0;overflow-x:hidden;overflow-y:scroll;scrollbar-width:thin;scrollbar-color:rgba(201,240,225,.48) rgba(255,255,255,.08);transition:transform .22s ease,opacity .16s ease}.sidebar::-webkit-scrollbar{width:8px}.sidebar::-webkit-scrollbar-track{background:rgba(255,255,255,.08)}.sidebar::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:999px;background:rgba(201,240,225,.48);background-clip:padding-box}.sidebar::-webkit-scrollbar-thumb:hover{background:rgba(201,240,225,.74);background-clip:padding-box}.shell.sidebar-closed{grid-template-columns:minmax(0,0) minmax(0,1fr)}.shell.sidebar-closed .sidebar{transform:translate(-100%);opacity:0;pointer-events:none}.sidebar-close-button,.app-menu-toggle{padding:.5rem .7rem;border-radius:10px;font-size:.78rem;font-weight:700}.sidebar-close-button{position:absolute;top:1rem;right:1rem;background:rgba(255,255,255,.12);color:#f4fbfb}.app-menu-toggle{position:fixed;z-index:30;top:1rem;left:300px;background:#113946;color:#fff;box-shadow:0 10px 25px rgba(17,57,70,.18);transition:left .22s ease,background .16s ease}.shell.sidebar-closed .app-menu-toggle{left:1rem}.sidebar-backdrop{display:none}@media (max-width: 1240px){.sales-client-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sales-client-primary-grid,.sales-client-extra-grid,.product-main-form .product-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-main-form .product-form-span-2{grid-column:span 2}}@media (max-width: 960px){.dashboard-hero-meta,.delivery-toolbar,.inline-field-actions,.payment-split-row{grid-template-columns:1fr}.delivery-toolbar{display:grid}.sales-client-grid,.sales-client-primary-grid,.sales-client-extra-grid,.sales-layout{grid-template-columns:1fr}.active-orders-modal{max-height:90vh;overflow-y:auto}.active-orders-columns{grid-template-columns:1fr}.active-orders-list{max-height:260px}.adjustments-report-filters,.adjustments-report-stats,.adjustments-report-search{grid-template-columns:1fr}.adjustment-report-card>summary{align-items:flex-start;flex-wrap:wrap}.adjustment-report-summary-meta{justify-items:start}.sales-products{max-height:none;min-height:0}.sales-ticket-panel{position:static;max-height:none}.product-admin-workspace,.product-main-form .product-form-grid,.product-admin-sections .editor-card-grid,.product-admin-sections .assignment-grid{grid-template-columns:1fr}.product-main-form .product-form-span-2{grid-column:span 1}.product-catalog-panel{position:static;max-height:none}.product-catalog-panel .admin-list{max-height:360px}.shell,.shell.sidebar-closed{display:block}.sidebar{position:fixed;z-index:40;inset:0 auto 0 0;width:min(84vw,320px);padding:1.25rem;transform:translate(-104%);opacity:1;pointer-events:none;overflow-y:auto;box-shadow:18px 0 42px rgba(3,21,27,.25)}.shell.sidebar-open .sidebar{transform:translate(0);pointer-events:auto}.shell.sidebar-closed .sidebar{transform:translate(-104%);opacity:1}.sidebar-backdrop{display:block;position:fixed;z-index:35;top:0;right:0;bottom:0;left:0;padding:0;border-radius:0;background:rgba(5,25,31,.48);opacity:0;pointer-events:none;transition:opacity .22s ease}.shell.sidebar-open .sidebar-backdrop{opacity:1;pointer-events:auto}.app-menu-toggle,.shell.sidebar-closed .app-menu-toggle{top:.8rem;left:.8rem}.content{padding-top:4rem}}
