:root{--bg: #E2E6EB;--bg-card: rgba(255, 255, 255, .85);--bg-header: rgba(232, 235, 240, .9);--accent: #2D5A3D;--accent-light: #3d7a52;--accent-muted: rgba(45, 90, 61, .15);--text: #1a1d21;--text-muted: #4a5568;--border: rgba(0, 0, 0, .08);--radius: 12px;--radius-lg: 16px;--shadow: 0 2px 8px rgba(0, 0, 0, .06);--shadow-hover: 0 8px 24px rgba(0, 0, 0, .1);--transition: .2s ease}.welcome-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000;display:flex;align-items:center;justify-content:center;padding:2rem;opacity:1;pointer-events:auto;transition:opacity .5s cubic-bezier(.4,0,.2,1)}.welcome-overlay--exited{opacity:0;pointer-events:none}.welcome-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#e8ecf094;backdrop-filter:blur(20px) saturate(140%);-webkit-backdrop-filter:blur(20px) saturate(140%)}.welcome-modal{position:relative;z-index:1;max-width:420px;width:100%;padding:3rem 2.5rem;background:var(--bg);border-radius:24px;border:none;box-shadow:12px 12px 24px #0000001a,-12px -12px 24px #ffffffe6;display:flex;flex-direction:column;align-items:center;text-align:center;transition:transform .5s cubic-bezier(.4,0,.2,1)}.welcome-overlay--exited .welcome-modal{transform:scale(.96)}.welcome-title{font-size:1.75rem;font-weight:700;color:var(--text);letter-spacing:-.02em;margin:0 0 .5rem}.welcome-desc{font-size:1rem;color:var(--text-muted);line-height:1.5;margin:0 0 2.25rem}.welcome-cta{display:inline-flex;align-items:center;justify-content:center;gap:.65rem;padding:1.05rem 2.25rem;min-width:200px;border:none;border-radius:16px;background:var(--accent);color:#fff;font-family:DM Sans,system-ui,-apple-system,sans-serif;font-size:1.15rem;font-weight:600;letter-spacing:.06em;cursor:pointer;box-shadow:6px 6px 12px #0000001a,-6px -6px 12px #ffffffe6;transition:box-shadow .2s ease,transform .2s ease}.welcome-cta:hover{box-shadow:8px 8px 16px #0000001a,-8px -8px 16px #fffffff2;transform:translateY(-1px)}.welcome-cta:active{box-shadow:inset 3px 3px 6px #0000001a,inset -3px -3px 6px #fffc;transform:translateY(0)}.welcome-cta:focus-visible{outline:none;box-shadow:6px 6px 12px #0000001a,-6px -6px 12px #ffffffe6,0 0 0 3px var(--accent-muted)}@keyframes bg-float{0%,to{transform:translate(0) scale(1);opacity:.4}33%{transform:translate(2%,-1%) scale(1.02);opacity:.5}66%{transform:translate(-1%,2%) scale(.98);opacity:.35}}.app-bg{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:hidden;z-index:0}.app-bg-shape{position:absolute;border-radius:50%;filter:blur(80px);animation:bg-float 18s ease-in-out infinite}.app-bg-shape-1{width:60vmin;height:60vmin;background:#2d5a3d14;top:-10%;left:-5%;animation-delay:0s}.app-bg-shape-2{width:50vmin;height:50vmin;background:#4664780f;bottom:-5%;right:-5%;animation-delay:-6s}.app-bg-shape-3{width:40vmin;height:40vmin;background:#2d5a3d0d;top:50%;left:50%;transform:translate(-50%,-50%);animation-delay:-12s}.app{position:relative;min-height:100vh;display:flex;flex-direction:column;background:var(--bg);color:var(--text);font-family:DM Sans,system-ui,-apple-system,sans-serif;z-index:1}.app .logo{opacity:0;transition:opacity .4s cubic-bezier(.4,0,.2,1);transition-delay:.05s}.app .header-right{opacity:0;transition:opacity .4s cubic-bezier(.4,0,.2,1);transition-delay:.1s}.app .hero-tagline{opacity:0;transition:opacity .4s cubic-bezier(.4,0,.2,1);transition-delay:.15s}.app .table-card-placeholder{opacity:0;transition:opacity .4s cubic-bezier(.4,0,.2,1);transition-delay:.2s}.app.app--ready .logo,.app.app--ready .header-right,.app.app--ready .hero-tagline,.app.app--ready .table-card-placeholder{opacity:1}.header{flex-shrink:0;padding:.75rem 1.5rem;background:var(--bg-header);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--border)}.header-inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between}.header-right{display:flex;align-items:center;gap:1.25rem}.tabs{display:flex;align-items:center;gap:.25rem;padding:.25rem;background:var(--border);border-radius:var(--radius)}.tab{display:inline-flex;align-items:center;gap:.4rem;padding:.45rem .85rem;border:none;border-radius:8px;font-size:.875rem;font-weight:500;color:var(--text-muted);background:transparent;cursor:pointer;transition:background var(--transition),color var(--transition)}.tab:hover{color:var(--text);background:#fff9}.tab--active{background:var(--bg-card);color:var(--accent);box-shadow:var(--shadow)}.tab svg{flex-shrink:0;opacity:.85}@media (max-width: 640px){.header{padding:.5rem 1rem}.header-right{gap:.6rem}.tabs{padding:.2rem;gap:.15rem}.tab{padding:.35rem .5rem;font-size:.8rem;gap:.25rem}.tab svg{width:16px;height:16px}}.daily-total{display:flex;flex-direction:column;align-items:flex-end;padding:.35rem .75rem;background:var(--accent-muted);border-radius:8px}.daily-total-label{font-size:.7rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em}.daily-total-value{font-size:1.1rem;font-weight:700;color:var(--accent)}.daily-total--glow{animation:daily-total-glow 1.5s ease-out}@keyframes daily-total-glow{0%,to{box-shadow:0 0 0 0 var(--accent-muted)}30%{box-shadow:0 0 20px 6px var(--accent-muted),0 0 40px 8px #2d5a3d33}70%{box-shadow:0 0 16px 4px var(--accent-muted),0 0 32px 6px #2d5a3d26}}.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border-radius:8px;font-size:.9rem;font-weight:500;cursor:pointer;transition:background var(--transition),color var(--transition)}.btn-ghost{border:none;background:transparent;color:var(--text-muted)}.btn-ghost:hover{background:var(--border);color:var(--accent)}.logo{color:var(--text);font-weight:700;font-size:1.35rem;letter-spacing:-.02em;cursor:default}.logo-text{font-family:DM Sans,system-ui,sans-serif}.main{flex:1;min-height:0;display:flex;flex-direction:column;max-width:1200px;width:100%;margin:0 auto;padding:.5rem 2rem 1rem}.hero-tagline{font-size:.95rem;color:var(--text-muted);max-width:480px;line-height:1.5;margin:0 0 1rem}.workspace{flex:1;min-height:0;display:flex;flex-direction:column;padding-bottom:.5rem}.workspace-grid{flex:1;min-height:0;align-content:start;align-items:start;display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.25rem}.table-card{background:var(--bg-card);border-radius:var(--radius);border:1px solid var(--border);box-shadow:var(--shadow);overflow:hidden;transition:box-shadow var(--transition),transform var(--transition);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.table-card:hover{box-shadow:var(--shadow-hover)}.table-card-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;border-bottom:1px solid var(--border);background:var(--accent-muted)}.table-card-header-left{display:flex;align-items:center;gap:.5rem;min-width:0}.table-card-print{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:1.75rem;height:1.75rem;margin:0;padding:0;border:none;border-radius:6px;background:transparent;color:var(--text-muted);cursor:pointer;transition:color .2s ease,background .2s ease}.table-card-print:hover{color:var(--accent);background:var(--accent-muted)}.table-card-print:focus-visible{outline:none;box-shadow:0 0 0 2px var(--accent-muted)}.table-card-header-close{display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;border-radius:999px;border:none;background:#0000000a;color:var(--text-muted);cursor:pointer;padding:0;transition:background .2s ease,color .2s ease,transform .1s ease}.table-card-header-close:hover{background:#dc354533;color:var(--text);transform:translateY(-1px)}.table-card-header-close:focus-visible{outline:none;box-shadow:0 0 0 2px var(--accent-muted)}.table-card-header-icon{flex-shrink:0;color:var(--accent)}.table-card-title{font-size:1.1rem;font-weight:600;color:var(--text);margin:0}.table-card-title--client{font-family:Georgia,Times New Roman,serif;text-transform:uppercase;letter-spacing:.02em}.table-card-title-input{flex:1;min-width:0;padding:0;border:none;border-radius:0;background:transparent;font:inherit;color:inherit;text-transform:uppercase;letter-spacing:.02em}.table-card-title-input:focus{outline:none}.table-card-placeholder{display:flex;align-items:center;justify-content:center;min-height:140px;border:2px dashed var(--border);background:#fff6;cursor:pointer;transition:border-color var(--transition),background var(--transition),color var(--transition)}.table-card-placeholder:hover{border-color:var(--accent);background:var(--accent-muted);color:var(--accent)}.table-card-placeholder:focus-visible{outline:none;box-shadow:0 0 0 4px var(--accent),0 0 0 6px var(--accent-muted)}.table-card-placeholder-label{font-family:Georgia,Times New Roman,serif;font-size:1.1rem;color:var(--text-muted);font-style:italic}.table-card-placeholder:hover .table-card-placeholder-label{color:var(--accent)}.table-card-header-right{display:flex;align-items:center;gap:.5rem}.table-card-total{font-size:1rem;font-weight:700;color:var(--accent)}.table-card-body{padding:1rem 1.25rem;min-height:100px;cursor:pointer}.table-card-body:focus-visible{outline:none;box-shadow:inset 0 0 0 2px var(--accent)}.table-card-empty{font-size:.9rem;color:var(--text-muted);margin:0;font-style:italic}.table-card-body:hover .table-card-empty{color:var(--accent)}.table-orders{list-style:none;margin:0;padding:0}.table-order{display:flex;justify-content:space-between;align-items:center;padding:.4rem 0;border-bottom:1px solid var(--border);font-size:.9rem}.table-order:last-child{border-bottom:none}.table-order-desc{color:var(--text)}.table-order-qty{font-size:.85em;color:var(--text-muted);font-weight:500}.table-order-right{display:flex;align-items:center;gap:.35rem}.table-order-amount{font-weight:600;color:var(--accent)}.table-order-plus{display:inline-flex;align-items:center;justify-content:center;padding:.25rem;border:none;border-radius:6px;background:transparent;color:var(--text-muted);cursor:pointer;transition:color .2s,background .2s}.table-order-plus:hover{color:var(--accent);background:var(--accent-muted)}.table-order-plus:focus-visible{outline:none;box-shadow:0 0 0 2px var(--accent-muted)}.table-order-gear{display:inline-flex;align-items:center;justify-content:center;padding:.25rem;border:none;border-radius:6px;background:transparent;color:var(--text-muted);cursor:pointer;transition:color .2s,background .2s}.table-order-gear:hover{color:var(--accent);background:var(--accent-muted)}.table-order-gear:focus-visible{outline:none;box-shadow:0 0 0 2px var(--accent-muted)}.table-card-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem;padding:.6rem 1.25rem;background:#00000008;font-size:.8rem;color:var(--text-muted)}.table-card-close-btn{margin-left:auto;padding:.35rem .7rem;border:none;border-radius:6px;font-size:.75rem;font-weight:600;color:var(--accent);background:var(--accent-muted);cursor:pointer;transition:background var(--transition),color var(--transition)}.table-card-close-btn:hover{background:var(--accent);color:#fff}.venda-rapida-workspace{flex:1;min-height:0;display:flex;align-items:flex-start;justify-content:center;padding:1rem 0}.venda-rapida-card{width:100%;max-width:420px;background:var(--bg-card);border-radius:var(--radius);border:1px solid var(--border);box-shadow:var(--shadow);padding:1.5rem;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:transform .3s ease-out,opacity .3s ease-out}.venda-rapida-card--exiting{transform:translateY(-120%) scale(.2);opacity:0;pointer-events:none}.venda-rapida-title{display:flex;align-items:center;gap:.5rem;font-size:1.1rem;font-weight:600;color:var(--text);margin:0 0 .5rem}.venda-rapida-title svg{color:var(--accent)}.venda-rapida-desc{font-size:.9rem;color:var(--text-muted);margin:0 0 1.25rem;line-height:1.4}.venda-rapida-form{display:flex;flex-direction:column;gap:.75rem}.venda-rapida-label{font-size:.85rem;font-weight:600;color:var(--text)}.venda-rapida-input{padding:.6rem .75rem;border-radius:8px;border:1px solid var(--border);background:var(--bg);color:var(--text);font-size:1rem;font-family:inherit}.venda-rapida-input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-muted)}.venda-rapida-methods-label{margin:.25rem 0 0}.venda-rapida-methods{margin:0}.venda-rapida-card .close-account-method-btn{padding:.4rem .75rem;font-size:.85rem;background:transparent;border:1px solid var(--border);color:var(--text-muted);border-radius:8px;cursor:pointer;transition:border-color .2s ease,color .2s ease,background .2s ease}.venda-rapida-card .close-account-method-btn:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-muted)}.venda-rapida-card .close-account-method-btn--selected{background:#1b5e20;border-color:#1b5e20;color:#fff}.venda-rapida-card .close-account-method-btn--selected:hover{background:#2e7d32;border-color:#2e7d32;color:#fff}.venda-rapida-card .close-account-method-btn--split{border:1px dashed var(--accent);color:var(--text-muted);background:#e3f2fd}.venda-rapida-card .close-account-method-btn--split:hover{background:#bbdefb}.venda-rapida-submit{margin-top:.5rem}.historico{flex:1;min-height:0;display:flex;flex-direction:column;padding-bottom:.5rem;position:relative}.historico-header-row{flex-shrink:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;padding:.5rem 0 .75rem}.historico-header-right{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.historico-filters{display:flex;flex-wrap:wrap;gap:.5rem}.historico-pdf-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border-radius:8px;border:1px solid var(--accent);background:var(--accent);color:#fff;font-size:.9rem;font-weight:600;cursor:pointer;transition:background .2s,border-color .2s,transform .1s ease}.historico-pdf-btn:hover:not(:disabled){background:var(--accent-light);border-color:var(--accent-light)}.historico-pdf-btn:disabled{opacity:.5;cursor:not-allowed}.historico-pdf-btn:focus-visible{outline:none;box-shadow:0 0 0 3px var(--accent-muted)}.historico-filter-pill{padding:.4rem .9rem;border-radius:999px;border:1px solid var(--border);background:var(--bg-card);color:var(--text);font-size:.8rem;font-weight:500;cursor:pointer;transition:background .2s,border-color .2s,color .2s}.historico-filter-pill:hover{background:var(--accent-muted);border-color:var(--accent)}.historico-filter-pill--active{background:var(--accent);border-color:var(--accent);color:#fff}.historico-pagination{display:flex;align-items:center;gap:.5rem;flex-wrap:nowrap}.historico-page-btn{display:inline-flex;align-items:center;justify-content:center;padding:.35rem;border-radius:8px;border:1px solid var(--border);background:var(--bg-card);color:var(--text);cursor:pointer;transition:filter .2s ease,border-color .2s ease}.historico-page-btn:hover:not(:disabled){filter:brightness(.98);border-color:var(--accent)}.historico-page-btn:disabled{opacity:.5;cursor:not-allowed}.historico-page-indicator{font-size:.8rem;color:var(--text-muted);font-weight:700;padding:0 .25rem;white-space:nowrap}.historico-list{flex:1;min-height:0;overflow-y:visible;display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem;align-content:start}.historico-empty{grid-column:1 / -1;font-size:.95rem;color:var(--text-muted);margin:0}.historico-card{display:flex;flex-direction:column;max-height:calc(100vh - 25rem);background:var(--bg-card);border-radius:var(--radius);border:1px solid var(--border);box-shadow:var(--shadow);overflow:hidden;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.historico-card-header{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:.75rem 1.25rem;border-bottom:1px solid var(--border);background:#a8adb4}.historico-card-title{font-family:Georgia,Times New Roman,serif;font-size:.95rem;font-weight:600;color:var(--text);margin:0;text-transform:uppercase;letter-spacing:.02em;display:flex;align-items:center;gap:.5rem}.historico-card-title-split{color:#fff;font-weight:600}.historico-card-icon{flex-shrink:0;color:#4a4d52}.historico-card-total{font-size:.95rem;font-weight:700;color:#4a4d52}.historico-card-header-right{display:flex;align-items:center;gap:.5rem}.historico-card-edit-btn{display:inline-flex;align-items:center;justify-content:center;padding:.4rem;border:none;border-radius:8px;background:#a8adb4;color:#4a4d52;cursor:pointer;transition:filter .2s ease,color .2s ease}.historico-card-edit-btn:hover{filter:brightness(.95);color:var(--text)}.historico-card-edit-btn:focus-visible{outline:none;box-shadow:0 0 0 2px var(--accent-muted)}.historico-card-date{flex-shrink:0;padding:.25rem 1.25rem;font-size:.75rem;color:var(--text-muted);margin:0}.historico-orders{flex:1;min-height:0;overflow-y:auto;list-style:none;margin:0;padding:.5rem 1.25rem .75rem}.historico-order{display:flex;justify-content:space-between;align-items:center;padding:.35rem 0;border-bottom:1px solid var(--border);font-size:.9rem}.historico-order:last-child{border-bottom:none}.historico-order-desc{color:var(--text)}.historico-order-qty{font-size:.85em;color:var(--text-muted);font-weight:500}.historico-order-amount{font-weight:600;color:var(--accent)}.historico-card-split-table-wrap{flex-shrink:0;margin:.5rem 1.25rem .75rem;padding:.5rem;border:1px dashed var(--accent);border-radius:8px}.historico-card-split-table{width:100%;border-collapse:collapse;font-size:.85rem}.historico-card-split-table th,.historico-card-split-table td{padding:.35rem .5rem;text-align:left;border-bottom:1px solid var(--border)}.historico-card-split-table th{font-weight:600;color:var(--text-muted)}.historico-card-split-table td:last-child{text-align:right;font-weight:600;color:var(--accent)}.historico-card-split-table tr:last-child td{border-bottom:none}.add-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;background:#00000059;opacity:0;pointer-events:none;transition:opacity .3s ease}.add-overlay--open{opacity:1;pointer-events:auto}.add-panel-wrap{position:fixed;left:50%;top:50%;z-index:1001;max-width:calc(100vw - 3rem);transform:translate(-50%,-50%) scale(.9);transform-origin:center;opacity:0;pointer-events:none;transition:transform .25s ease,opacity .25s ease}.add-panel-wrap--open{transform:translate(-50%,-50%) scale(1);opacity:1;pointer-events:auto}.add-panel-wrap .add-panel{position:relative;padding:2rem 2.75rem 2rem 2.25rem;background:var(--bg-card);border-radius:var(--radius-lg);box-shadow:var(--shadow-hover);border:1px solid var(--border);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.add-panel-wrap--order{max-width:min(92vw,720px)}.add-panel-wrap--order .add-panel--order{display:flex;flex-direction:column;max-height:92vh;overflow:hidden;padding:2rem 2.75rem 1.5rem 2.25rem}.add-panel-wrap--order .add-panel--order>.add-panel-close,.add-panel-wrap--order .add-panel--order>.add-title,.add-panel-wrap--order .add-panel--order>.add-desc{flex-shrink:0}.add-order-section-label{display:block;font-size:.75rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);margin-bottom:.5rem}.add-order-search-wrap{position:relative;flex-shrink:0;margin-bottom:.875rem}.add-order-search-icon{position:absolute;left:.875rem;top:50%;transform:translateY(-50%);color:var(--text-muted);pointer-events:none}.add-order-search-input{width:100%;padding:.6rem 1rem .6rem 2.5rem;border:1px solid var(--border);border-radius:9999px;background:var(--bg-card);color:var(--text);font-size:.9rem;transition:border-color .2s ease,box-shadow .2s ease}.add-order-search-input::placeholder{color:var(--text-muted)}.add-order-search-input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-muted)}.add-order-categories{flex-shrink:0;margin-bottom:.75rem}.add-order-category-grid{display:flex;flex-wrap:wrap;gap:.35rem .5rem;width:100%}.add-order-category-btn{flex:1 1 auto;max-width:12rem;padding:.35rem .9rem;border:1px solid var(--border);border-radius:9999px;background:var(--bg-card);color:var(--text);font-size:.75rem;font-weight:600;letter-spacing:.02em;cursor:pointer;box-shadow:0 1px 2px #0000000a;transition:border-color .2s ease,background .2s ease,color .2s ease,box-shadow .2s ease,transform .15s ease}.add-order-category-btn:hover{border-color:var(--accent);background:var(--accent-muted);box-shadow:0 2px 6px #2d5a3d1f}.add-order-category-btn--active{border-color:var(--accent);background:var(--accent);color:#fff;box-shadow:0 2px 8px #2d5a3d59}.add-order-category-btn--active:hover{background:var(--accent-light);box-shadow:0 3px 10px #2d5a3d66}.add-order-products{flex:1;min-height:0;display:flex;flex-direction:column;margin-bottom:0;padding-top:.875rem;border-top:1px solid var(--border);overflow:hidden}.add-order-product-grid-scroll{flex:1;min-height:0;overflow-y:auto;margin:0 .25rem 0 0;padding:.25rem .75rem .5rem .5rem}.add-order-products-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.75rem}.add-order-products-header .add-order-section-label{margin-bottom:0}.add-order-back{padding:.4rem .9rem;border:1px solid var(--border);border-radius:9999px;background:var(--bg-card);color:var(--text-muted);font-size:.8125rem;font-weight:500;cursor:pointer;transition:border-color .2s ease,color .2s ease,background .2s ease}.add-order-back:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-muted)}.add-order-search-section{margin-bottom:1.25rem}.add-order-search-section:last-child{margin-bottom:0}.add-order-search-section-label{margin-bottom:.5rem}.add-order-product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:.625rem}.add-order-product-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;aspect-ratio:1.2;min-height:0;padding:.75rem;border:1px solid var(--border);border-radius:10px;background:var(--bg-card);color:var(--text);text-align:center;cursor:pointer;box-shadow:0 1px 3px #0000000d;transition:border-color .2s ease,background .2s ease,box-shadow .2s ease,transform .2s ease}.add-order-product-btn:hover{border-color:var(--accent);background:var(--accent-muted);box-shadow:0 4px 12px #2d5a3d1f;transform:translateY(-2px)}.add-order-product-btn:active{transform:translateY(0)}.add-order-product-name{font-size:.8125rem;font-weight:600;line-height:1.25;color:var(--text);text-align:center}.add-order-product-price{font-size:.75rem;line-height:1.3;color:var(--accent);text-align:center}.add-order-beber-levar-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1001;background:#0006;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);animation:add-order-backdrop-fade-in .2s ease forwards}@keyframes add-order-backdrop-fade-in{0%{opacity:0}to{opacity:1}}.add-order-beber-levar-popover{position:fixed;left:50%;top:50%;z-index:1002;transform:translate(-50%,-50%);padding:1.25rem;min-width:220px;background:var(--bg-card);border:1px solid var(--accent);border-radius:8px;box-shadow:var(--shadow-hover),0 8px 24px #00000026;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);animation:add-order-popover-fade-in .25s ease forwards}@keyframes add-order-popover-fade-in{0%{opacity:0;transform:translate(-50%,-50%) scale(.95)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}.add-order-beber-levar-popover .add-order-beber-levar-label{display:block;font-size:.85rem;font-weight:600;color:var(--text);margin-bottom:.5rem}.add-order-quantity-label{margin-bottom:.75rem}.add-order-quantity-controls{display:flex;align-items:center;justify-content:center;gap:.75rem;margin-bottom:1rem}.add-order-quantity-btn{display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:1px solid var(--border);border-radius:8px;background:var(--bg-card);color:var(--text);font-size:1.25rem;font-weight:600;cursor:pointer;transition:border-color .2s ease,background .2s ease,color .2s ease}.add-order-quantity-btn:hover{border-color:var(--accent);background:var(--accent-muted);color:var(--accent)}.add-order-quantity-value{min-width:2rem;font-size:1.1rem;font-weight:600;color:var(--text);text-align:center}.add-order-quantity-btns{display:flex;flex-wrap:wrap;gap:.5rem}.add-order-quantity-add-btn{background:var(--accent);color:#fff}.add-order-quantity-add-btn:hover{background:var(--accent-light)}.add-order-beber-levar-popover .add-order-beber-levar-btns{display:flex;flex-wrap:wrap;gap:.5rem}.add-order-beber-levar-popover .add-order-beber-levar-btn{padding:.55rem 1rem;border:none;border-radius:6px;color:#fff;font-size:.9rem;font-weight:600;cursor:pointer;transition:background var(--transition)}.add-order-beber-levar-popover .add-order-beber-levar-btn--beber{background:#1b5e20}.add-order-beber-levar-popover .add-order-beber-levar-btn--beber:hover{background:#2e7d32}.add-order-beber-levar-popover .add-order-beber-levar-btn--levar{background:#388e3c}.add-order-beber-levar-popover .add-order-beber-levar-btn--levar:hover{background:#43a047}.add-order-beber-levar-popover .add-order-beber-levar-cancel{padding:.55rem .9rem;border:1px solid var(--border);border-radius:6px;background:transparent;color:var(--text-muted);font-size:.9rem;font-weight:600;cursor:pointer;transition:border-color var(--transition),color var(--transition)}.add-order-beber-levar-popover .add-order-beber-levar-cancel:hover{border-color:var(--accent);color:var(--accent)}.add-order-beber-levar-popover .add-order-beber-levar-cancel:focus-visible{outline:none;box-shadow:0 0 0 3px var(--accent-muted)}.add-order-custom-product-btn{display:inline-flex;align-items:center;gap:.4rem;margin-top:.75rem;padding:.5rem 1rem;border:2px solid rgba(0,0,0,.22);border-radius:9999px;background:transparent;color:var(--text-muted);font-size:.8125rem;font-weight:500;cursor:pointer;transition:border-color .2s ease,color .2s ease,background .2s ease}.add-order-custom-product-btn:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-muted)}.add-order-custom-product-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1001}.add-order-custom-product-popover{position:absolute;left:50%;top:50%;z-index:1002;transform:translate(-50%,-50%);min-width:280px}.add-order-custom-product-title{display:block;font-size:.95rem;font-weight:600;color:var(--text);margin-bottom:.75rem}.add-order-custom-product-popover .add-form{display:flex;flex-direction:column;gap:.75rem}.add-order-custom-product-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.25rem}.add-order-footer{flex-shrink:0;padding-top:1rem;border-top:1px solid var(--border)}.add-btn--secondary{background:#e0e2e5;color:#fff;border:1px solid #c5c9ce}.add-btn--secondary:hover{background:#d0d4d8}.edit-order-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;background:#00000059;opacity:0;pointer-events:none;transition:opacity .25s ease}.edit-order-overlay--open{opacity:1;pointer-events:auto}.edit-order-panel-wrap{position:fixed;left:50%;top:50%;z-index:1001;max-width:calc(100vw - 3rem);transform:translate(-50%,-50%) scale(.95);opacity:0;pointer-events:none;transition:transform .25s ease,opacity .25s ease}.edit-order-panel-wrap--open{transform:translate(-50%,-50%) scale(1);opacity:1;pointer-events:auto}.edit-order-panel-wrap .add-panel{position:relative;padding:2rem 2.75rem 2rem 2.25rem;background:var(--bg-card);border-radius:var(--radius-lg);box-shadow:var(--shadow-hover);border:1px solid var(--border);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.edit-order-item-name{margin-bottom:1rem}.edit-order-item-name strong{font-weight:600;color:var(--text)}.edit-order-qty-wrap{display:inline-flex;align-items:stretch;border:1px solid var(--border);border-radius:8px;background:var(--bg);overflow:hidden;width:fit-content}.edit-order-qty-btn{display:flex;align-items:center;justify-content:center;width:2.75rem;flex-shrink:0;border:none;background:var(--border);color:var(--text);font-size:1.25rem;font-weight:600;line-height:1;cursor:pointer;transition:background var(--transition),color var(--transition)}.edit-order-qty-btn:hover{background:var(--accent-muted);color:var(--accent)}.edit-order-qty-input{width:3.5rem;text-align:center;border:none;border-left:1px solid var(--border);border-right:1px solid var(--border);border-radius:0;-moz-appearance:textfield}.edit-order-qty-input::-webkit-outer-spin-button,.edit-order-qty-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.edit-order-price-wrap{display:inline-flex;align-items:center;gap:.5rem;padding:0 .85rem;border:1px solid var(--border);border-radius:8px;background:var(--bg);min-height:2.75rem;width:fit-content;max-width:12rem}.edit-order-price-wrap:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-muted)}.edit-order-currency{font-size:.95rem;font-weight:500;color:var(--text-muted)}.edit-order-price-input{width:5.5rem;min-width:0;border:none;padding:.6rem 0;text-align:right;font-variant-numeric:tabular-nums;font-size:1.05rem;font-weight:600}.edit-order-price-input:focus{outline:none;box-shadow:none}.edit-order-total-line{margin:0;font-size:.95rem;color:var(--text-muted)}.edit-order-total-line strong{color:var(--accent);font-size:1.05rem}.edit-order-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;margin-top:1.25rem;padding-top:1rem;border-top:1px solid var(--border)}.edit-order-actions-right{display:flex;gap:.5rem}.edit-order-btn-remove{background:#b71c1c;color:#fff}.edit-order-btn-remove:hover{background:#8b0000}.edit-order-actions .edit-order-btn-cancel{background:transparent;border:1px solid var(--border);color:var(--text-muted)}.edit-order-actions .edit-order-btn-cancel:hover{border-color:var(--accent);color:var(--accent)}.edit-order-actions .edit-order-btn-cancel:focus-visible{outline:none;border-color:var(--accent);color:var(--accent);box-shadow:0 0 0 3px var(--accent-muted)}.edit-order-btn-save{background:#2e7d32;color:#fff}.edit-order-btn-save:hover{background:#1b5e20}.confirm-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1002;background:#00000073;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);animation:add-order-backdrop-fade-in .2s ease forwards}.confirm-panel-wrap{position:fixed;left:50%;top:50%;z-index:1003;transform:translate(-50%,-50%);max-width:calc(100vw - 3rem);animation:add-order-popover-fade-in .25s ease forwards}.confirm-panel{padding:1.5rem 1.75rem;min-width:280px;background:var(--bg-card);border-radius:var(--radius-lg);box-shadow:var(--shadow-hover),0 8px 24px #00000026;border:1px solid var(--border);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.confirm-title{font-size:1.15rem;font-weight:600;color:var(--text);margin:0 0 .5rem}.confirm-desc{font-size:.95rem;color:var(--text-muted);margin:0 0 1.25rem;line-height:1.45}.confirm-desc strong{color:var(--text)}.confirm-actions{display:flex;justify-content:flex-end;gap:.5rem}.confirm-actions .confirm-btn-cancel{background:transparent;border:1px solid var(--border);color:var(--text-muted)}.confirm-actions .confirm-btn-cancel:hover{border-color:var(--accent);color:var(--accent)}.confirm-actions .confirm-btn-cancel:focus-visible{outline:none;border-color:var(--accent);color:var(--accent);box-shadow:0 0 0 3px var(--accent-muted)}.confirm-btn-remove{background:#b71c1c;color:#fff}.confirm-btn-remove:hover{background:#8b0000}.split-edit-choice-desc{margin-bottom:.75rem}.split-edit-choice-list{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1.25rem}.split-edit-choice-btn{display:block;width:100%;padding:.6rem 1rem;text-align:left;font-size:.95rem;color:var(--text);background:var(--bg);border:1px solid var(--border);border-radius:8px;cursor:pointer;transition:border-color .2s ease,background .2s ease,color .2s ease}.split-edit-choice-btn:hover{border-color:var(--accent);background:var(--accent-muted);color:var(--accent)}.split-edit-choice-btn:focus-visible{outline:none;box-shadow:0 0 0 2px var(--accent-muted)}.close-account-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1002;background:#00000059;opacity:0;pointer-events:none;transition:opacity .25s ease}.close-account-overlay--open{opacity:1;pointer-events:auto}.close-account-overlay--exiting{opacity:0;transition:opacity .3s ease-out}.close-account-panel-wrap{position:fixed;left:50%;top:50%;z-index:1003;max-width:min(92vw,380px);transform:translate(-50%,-50%) scale(.95);opacity:0;pointer-events:none;transition:transform .25s ease,opacity .25s ease}.relatorio-panel-wrap{max-width:min(95vw,520px)}.close-account-panel-wrap--open{transform:translate(-50%,-50%) scale(1);opacity:1;pointer-events:auto}.close-account-panel-wrap--exiting{transform:translate(-50%,-120%) scale(.2);opacity:0;pointer-events:none;transition:transform .3s ease-out,opacity .3s ease-out}.close-account-panel{position:relative;display:flex;flex-direction:column;max-height:85vh;overflow:hidden;padding:2rem 2.75rem 2rem 2.25rem;background:var(--bg-card);border-radius:var(--radius-lg);box-shadow:var(--shadow-hover),0 8px 24px #00000026;border:1px solid var(--border);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.close-account-panel>.add-panel-close,.close-account-panel>.add-title,.close-account-panel>.add-desc,.close-account-panel>.close-account-total,.close-account-panel>.close-account-label,.close-account-panel>.close-account-methods,.close-account-panel>.close-account-actions{flex-shrink:0}.relatorio-options{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1.25rem}.relatorio-options .close-account-method-btn{width:100%;justify-content:center}.relatorio-periodo-options{flex-direction:row;flex-wrap:wrap;margin-bottom:1rem}.relatorio-periodo-options .close-account-method-btn{width:auto;flex:1;min-width:0;font-size:.75rem;padding:.35rem .5rem}.close-account-summary-scroll{flex:1;min-height:0;overflow-y:auto;margin:0 -.25rem 0 0;padding-right:.25rem}.close-account-subtitle{margin:0 0 1rem;font-size:.9rem;color:var(--text-muted)}.close-account-total{margin:0 0 .75rem;font-size:1.1rem;color:var(--text-muted)}.close-account-total strong{color:var(--accent);font-size:1.25rem}.close-account-summary{list-style:none;margin:0 0 1.25rem;padding:.75rem 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);font-size:.9rem}.close-account-summary-item{display:flex;justify-content:space-between;align-items:center;padding:.25rem 0}.close-account-summary-desc{color:var(--text)}.close-account-summary-amount{font-weight:600;color:var(--accent)}.close-account-label{margin-bottom:.5rem}.close-account-methods{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:1.25rem}.close-account-panel-wrap .close-account-method-btn{padding:.4rem .75rem;font-size:.85rem;background:transparent;border:1px solid var(--border);color:var(--text-muted);border-radius:8px;cursor:pointer;transition:border-color .2s ease,color .2s ease,background .2s ease}.close-account-panel-wrap .close-account-method-btn:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-muted)}.close-account-panel-wrap .close-account-method-btn--selected{background:#1b5e20;border-color:#1b5e20;color:#fff}.close-account-panel-wrap .close-account-method-btn--selected:hover{background:#2e7d32;border-color:#2e7d32;color:#fff}.close-account-panel-wrap .close-account-method-btn--split{border:1px dashed var(--accent);color:var(--text-muted);background:#e3f2fd}.close-account-panel-wrap .close-account-method-btn--split:hover{background:#bbdefb}.close-account-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem;padding-top:.75rem;border-top:1px solid var(--border)}.close-account-confirm-btn:disabled{opacity:.6;cursor:not-allowed}.close-account-actions .close-account-cancel-btn{background:transparent;border:1px solid var(--border);color:var(--text-muted)}.close-account-actions .close-account-cancel-btn:hover{border-color:var(--accent);color:var(--accent)}.close-account-actions .close-account-cancel-btn:focus-visible{outline:none;border-color:var(--accent);color:var(--accent);box-shadow:0 0 0 3px var(--accent-muted)}.split-payment-panel-wrap .split-payment-panel{max-width:22rem}.split-payment-total{margin-bottom:1rem}.split-payment-inputs{display:flex;flex-direction:column;gap:.6rem;margin-bottom:1rem}.split-payment-row{display:flex;align-items:center;gap:.75rem}.split-payment-label{flex:0 0 8rem;font-size:.9rem;color:var(--text-muted)}.split-payment-input{flex:1;min-width:0;padding:.5rem .65rem;font-size:1rem;border:1px solid var(--border);border-radius:8px;background:var(--bg);color:var(--text)}.split-payment-input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-muted)}.split-payment-falta{margin:0 0 .75rem;font-size:.95rem;color:var(--text-muted)}.split-payment-falta--ok{color:var(--accent);font-weight:600}.split-payment-falta--error{color:#c62828;font-weight:600}@media (max-width: 640px){.add-panel-wrap.add-panel-wrap--order{left:0;top:0;right:0;bottom:0;width:100%;height:100%;max-width:none;transform:none;border-radius:0}.add-panel-wrap.add-panel-wrap--order.add-panel-wrap--open{transform:none}.add-panel-wrap--order .add-panel--order{height:100%;max-height:100%;border-radius:0}.add-panel-wrap.add-panel-wrap--order .add-panel{border-radius:0}.close-account-panel-wrap{left:0;top:0;right:0;bottom:0;width:100%;height:100%;max-width:none;transform:none;border-radius:0}.close-account-panel-wrap--open{transform:none}.close-account-panel{height:100%;max-height:100%;border-radius:0}.close-account-panel-wrap .add-panel{border-radius:0}}.historico-card-payment{color:var(--accent);font-weight:500}.historico-card-edited{color:var(--text-muted);font-style:italic}.historico-total-by-method{display:flex;flex-direction:column;align-items:flex-end;padding:.5rem .75rem;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.historico-total-by-method-label{font-size:.75rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:.2rem}.historico-total-by-method-value{font-size:1.25rem;font-weight:700;color:var(--accent)}.produtos-workspace{flex:1;min-height:0;display:flex;flex-direction:column;padding-bottom:.5rem}.produtos-actions{flex-shrink:0;display:flex;flex-wrap:wrap;gap:.75rem;padding-bottom:1rem}.produtos-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.6rem 1.2rem;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;transition:background var(--transition),color var(--transition),border-color var(--transition);border:1px solid transparent}.produtos-btn--primary{background:var(--accent);color:#fff;border-color:var(--accent)}.produtos-btn--primary:hover:not(:disabled){background:var(--accent-light);border-color:var(--accent-light)}.produtos-btn--secondary{background:var(--bg-card);color:var(--accent);border-color:var(--border)}.produtos-btn--secondary:hover:not(:disabled){background:var(--accent-muted);border-color:var(--accent)}.produtos-btn:disabled{opacity:.6;cursor:not-allowed}.produtos-list{flex:1;min-height:0;overflow-y:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));grid-auto-rows:20px;grid-auto-flow:dense;gap:1rem;align-content:start;align-items:start}.produtos-empty{grid-column:1 / -1;font-size:.95rem;color:var(--text-muted);margin:0}.produtos-category-card{background:var(--bg-card);border-radius:var(--radius);border:1px solid var(--border);box-shadow:var(--shadow);overflow:hidden;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;flex-direction:column;min-height:0}.produtos-category-header{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.75rem 1rem;border-bottom:1px solid var(--border);background:#60a5fa59}.produtos-category-title{font-family:Georgia,Times New Roman,serif;font-size:.95rem;font-weight:600;color:var(--text);margin:0;text-transform:uppercase;letter-spacing:.02em;display:flex;align-items:center;gap:.5rem}.produtos-category-icon{flex-shrink:0;color:var(--text-muted)}.produtos-add-item-btn{display:inline-flex;align-items:center;gap:.35rem;padding:.35rem .7rem;border:1px solid var(--border);border-radius:6px;background:var(--bg-card);color:var(--accent);font-size:.8rem;font-weight:600;cursor:pointer;transition:background var(--transition),border-color var(--transition)}.produtos-add-item-btn:hover{background:var(--accent-muted);border-color:var(--accent)}.produtos-items{flex:1;min-height:0;overflow-y:auto;list-style:none;margin:0;padding:.5rem 1rem .75rem}.produtos-item-empty{font-size:.875rem;color:var(--text-muted);padding:.5rem 0;margin:0}.produtos-item{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.5rem 0;border-bottom:1px solid var(--border);font-size:.9rem}.produtos-item:last-child{border-bottom:none}.produtos-item-info{display:flex;flex-direction:column;gap:.15rem;min-width:0}.produtos-item-name{color:var(--text);font-weight:500}.produtos-item-prices{font-size:.8rem;color:var(--text-muted)}.produtos-item-edit{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:none;border-radius:8px;background:transparent;color:var(--text-muted);cursor:pointer;transition:background var(--transition),color var(--transition)}.produtos-item-edit:hover{background:var(--accent-muted);color:var(--accent)}.produtos-price-mode{display:flex;gap:.5rem;margin-bottom:.5rem}.produtos-mode-btn{padding:.4rem .9rem;border-radius:6px;border:1px solid var(--border);background:var(--bg-card);color:var(--text-muted);font-size:.85rem;font-weight:500;cursor:pointer;transition:background var(--transition),border-color var(--transition),color var(--transition)}.produtos-mode-btn:hover{background:var(--accent-muted);border-color:var(--accent);color:var(--accent)}.produtos-mode-btn--active{background:var(--accent);border-color:var(--accent);color:#fff}.add-panel--product-form .add-form{display:flex;flex-direction:column;gap:.75rem}.produtos-delete-btn{margin-top:.5rem}.add-panel-close{position:absolute;top:1rem;right:1rem;width:36px;height:36px;border:none;border-radius:8px;background:transparent;color:var(--text-muted);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s,color .2s}.add-panel-close:hover{background:var(--border);color:var(--text)}.add-title{display:flex;align-items:center;gap:.5rem;font-size:1.25rem;font-weight:600;color:var(--text);margin-bottom:.35rem}.add-title svg{color:var(--accent);flex-shrink:0}.add-title--client{font-family:Georgia,Times New Roman,serif;text-transform:uppercase;letter-spacing:.02em}.add-desc{font-size:.9rem;color:var(--text-muted);margin-bottom:1.25rem}.add-form{display:flex;flex-direction:column;gap:.75rem}.add-label{font-size:.85rem;font-weight:500;color:var(--text)}.edit-history-panel .add-panel-close,.edit-history-panel .add-title,.edit-history-panel .add-form{flex-shrink:0}.edit-history-payment{font-size:.9rem;color:var(--text-muted);margin:0 0 .5rem}.edit-history-payment strong{color:var(--text)}.edit-history-panel .add-form{padding:1.25rem 0 0}.edit-history-total-wrap{margin-bottom:.25rem}.edit-history-actions{margin-top:1.25rem;padding-top:1.25rem}.add-input,.add-select{padding:.7rem 1rem;border:1px solid var(--border);border-radius:8px;font-size:.95rem;background:var(--bg);color:var(--text);transition:border-color var(--transition),box-shadow var(--transition)}.add-input::placeholder{color:var(--text-muted)}.add-input:hover,.add-select:hover{border-color:#00000026}.add-input:focus,.add-select:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-muted)}.price-input-wrap{display:flex;align-items:stretch;border:1px solid var(--border);border-radius:8px;background:var(--bg);overflow:hidden}.price-input-wrap:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-muted)}.price-input-btn{display:flex;align-items:center;justify-content:center;width:2.5rem;flex-shrink:0;border:none;background:var(--border);color:var(--text);font-size:1.25rem;font-weight:600;line-height:1;cursor:pointer;transition:background var(--transition),color var(--transition)}.price-input-btn:hover{background:var(--accent-muted);color:var(--accent)}.price-input-btn:focus-visible{outline:none;box-shadow:inset 0 0 0 2px var(--accent)}.price-input-wrap .price-input{flex:1;min-width:0;border:none;border-radius:0;border-left:1px solid var(--border);border-right:1px solid var(--border);text-align:center}.price-input-wrap .price-input:focus{box-shadow:none}.add-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.35rem;border:none;border-radius:8px;font-weight:600;font-size:.95rem;cursor:pointer;transition:background var(--transition),color var(--transition),border-color var(--transition),transform .1s ease;margin-top:.25rem}.add-btn--primary{background:var(--accent);color:#fff}.add-btn--primary:hover{background:var(--accent-light)}.add-btn:active{transform:scale(.98)}.add-btn:focus-visible{outline:none;box-shadow:0 0 0 3px var(--accent-muted)}.footer{flex-shrink:0;margin-top:auto;padding:.85rem 2rem;border-top:1px solid var(--border);background:var(--bg-header);text-align:center;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.footer-text{font-size:.875rem;color:var(--text-muted);letter-spacing:.01em;line-height:1.4;margin:0}.footer-link{color:var(--accent);text-decoration:none}.footer-link:hover{text-decoration:underline}.toast-stack{position:fixed;left:50%;top:35%;transform:translate(-50%,-50%);z-index:1100;pointer-events:none;display:flex;flex-direction:column;align-items:center;gap:.5rem;max-height:60vh;overflow-y:auto}.toast-stack .toast{position:relative;left:auto;top:auto;transform:none;flex-shrink:0;animation:toast-stack-in .35s ease forwards}.toast-stack .toast--exiting{animation:toast-stack-out .3s ease forwards}@keyframes toast-stack-in{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes toast-stack-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.95)}}.toast{position:fixed;left:50%;top:35%;transform:translate(-50%,-50%);padding:.75rem 1.25rem;background:var(--accent);color:#fff;font-size:.9rem;font-weight:600;border-radius:8px;box-shadow:0 4px 20px #0003;z-index:1100;pointer-events:none;animation:toast-in .35s ease forwards}.toast--exiting{animation:toast-out .3s ease forwards}.toast--remove{background:#b71c1c}.toast-message{display:block}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,-50%) scale(.95)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}@keyframes toast-out{0%{opacity:1;transform:translate(-50%,-50%) scale(1)}to{opacity:0;transform:translate(-50%,-50%) scale(.95)}}@media (min-width: 1024px){.main{padding:2rem 2rem 4rem}.workspace-grid{gap:1.5rem}}.backup-fab{position:fixed;bottom:4.25rem;right:1.5rem;z-index:900;width:52px;height:52px;border-radius:50%;border:none;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 16px #2d5a3d59;transition:background var(--transition),transform var(--transition),box-shadow var(--transition)}.backup-fab:hover{background:var(--accent-light);transform:translateY(-2px);box-shadow:0 6px 20px #2d5a3d66}.backup-fab:active{transform:translateY(0)}.backup-fab:focus-visible{outline:none;box-shadow:0 4px 16px #2d5a3d59,0 0 0 3px var(--accent-muted)}.backup-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;background:#00000059;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);animation:add-order-backdrop-fade-in .2s ease forwards}.backup-modal-wrap{position:fixed;left:50%;top:50%;z-index:1001;transform:translate(-50%,-50%);max-width:min(92vw,440px);width:100%;animation:add-order-popover-fade-in .25s ease forwards}.backup-modal{position:relative;padding:2rem 2.75rem 2rem 2.25rem;background:var(--bg-card);border-radius:var(--radius-lg);box-shadow:var(--shadow-hover),0 8px 24px #00000026;border:1px solid var(--border);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.backup-modal-title{display:flex;align-items:center;gap:.5rem;font-size:1.15rem;font-weight:600;color:var(--text);margin:0 0 .5rem}.backup-modal-title svg{color:var(--accent)}.backup-modal-desc{font-size:.875rem;color:var(--text-muted);line-height:1.5;margin:0 0 1.25rem}.backup-label{display:flex;align-items:center;gap:.4rem;font-size:.85rem;font-weight:600;color:var(--text);margin-bottom:.5rem}.backup-label svg{color:var(--accent)}.backup-email-row{display:flex;gap:.5rem;margin-bottom:.5rem}.backup-email-input{flex:1;min-width:0}.backup-save-btn{flex-shrink:0;font-size:.85rem!important;padding:.6rem 1rem!important;margin-top:0!important}.backup-saved-info{font-size:.8rem;color:var(--text-muted);margin:0 0 .75rem}.backup-saved-info strong{color:var(--text)}.backup-send-section{padding-top:1rem;border-top:1px solid var(--border);margin-top:.5rem}.backup-restore-section{margin-top:1.5rem;padding-top:1rem;border-top:1px solid var(--border)}.backup-restore-title{margin:0 0 .5rem;font-size:.9rem;font-weight:600;color:var(--text)}.backup-restore-btn{margin-top:.5rem;width:100%}.backup-restore-confirm{margin-top:.75rem}.backup-restore-confirm-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-top:.5rem}.backup-send-btn{width:100%;padding:.85rem 1.5rem!important;font-size:1rem!important}.backup-send-btn:disabled{opacity:.6;cursor:not-allowed}.backup-status{font-size:.85rem;margin:.75rem 0 0;line-height:1.4}.backup-status--success{color:#2e7d32;font-weight:500}.backup-status--error{color:#c62828}.backup-note{font-size:.75rem;color:var(--text-muted);margin:1rem 0 0;font-style:italic}*{box-sizing:border-box;margin:0;padding:0}body{font-family:DM Sans,system-ui,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#e2e6eb}#root{min-height:100vh}
