:root{--yellow:#f9a800;--yellow-hover:#eb9e00;--yellow-soft:#fef6e0;--yellow-ink:#8a5800;--black:#1c1917;--text:#1c1917;--muted:#78716c;--bg:#f7f6f3;--surface:#fff;--hover:#f5f4f1;--border:#ebe8e3;--border-strong:#d9d5ce;--error-bg:#fef2f2;--error:#b42318;--success-bg:#f0faf3;--success:#17803d;--radius:12px;--radius-sm:8px;--shadow:0 1px 2px #1c19170a, 0 1px 3px #1c191708;--sidebar-width:15rem;--content-width:56rem;--font-title:"Bebas Neue", Impact, "Arial Narrow", sans-serif;color:var(--text);background:var(--bg);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;-webkit-font-smoothing:antialiased;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:15px}*{box-sizing:border-box}body{background:var(--bg);margin:0;line-height:1.5}h1,h2{letter-spacing:-.015em;margin:0;font-weight:600;line-height:1.25}h1{font-size:1.6rem}h2{font-size:1rem}p{margin:0}a{color:var(--text);text-underline-offset:3px}.muted{color:var(--muted)}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.icon{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:1.15rem;height:1.15rem}.brand{flex-direction:column;line-height:1;display:flex}.brand-name{font-family:var(--font-title);letter-spacing:.02em;color:var(--black);font-size:1.55rem}.brand-name:after{content:".";color:var(--yellow)}.brand-sub{text-transform:uppercase;letter-spacing:.12em;color:var(--muted);margin-top:.2rem;font-size:.7rem;font-weight:500}.brand-link{text-decoration:none}.auth-page{flex-direction:column;align-items:center;gap:1.75rem;min-height:100vh;padding:4rem 1rem;display:flex}.auth-page .card{width:100%;max-width:25rem;padding:2rem}.auth-page h1{margin-bottom:1.25rem;font-size:1.3rem}.app{min-height:100vh}.sidebar{width:var(--sidebar-width);background:var(--surface);border-right:1px solid var(--border);flex-direction:column;gap:2rem;padding:1.5rem .9rem 1rem;display:flex;position:fixed;inset:0 auto 0 0}.sidebar .brand-link{padding:0 .6rem}.nav{flex-direction:column;gap:.15rem;display:flex}.nav-link{border-radius:var(--radius-sm);color:var(--muted);align-items:center;gap:.65rem;padding:.5rem .6rem;font-weight:500;text-decoration:none;display:flex}.nav-link:hover{background:var(--hover);color:var(--text)}.nav-link.active{background:var(--yellow-soft);color:var(--text)}.nav-link.active .icon{color:var(--yellow-ink)}.sidebar-user{border-top:1px solid var(--border);align-items:center;gap:.5rem;margin-top:auto;padding:.9rem .6rem 0;display:flex}.sidebar-user-info{flex-direction:column;flex:1;min-width:0;font-size:.85rem;line-height:1.35;display:flex}.sidebar-user-info>*{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sidebar-user-info strong{font-weight:600}.icon-button{border-radius:var(--radius-sm);width:2.1rem;height:2.1rem;color:var(--muted);cursor:pointer;background:0 0;border:none;flex:none;place-items:center;padding:0;display:inline-grid}.icon-button:hover{background:var(--hover);color:var(--text)}.content{margin-left:var(--sidebar-width);padding:2.5rem 2rem 4rem}.content>*{max-width:var(--content-width);margin-left:auto;margin-right:auto}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem 1rem;margin-bottom:1.5rem;display:flex}.page-header h1{text-transform:none}.page-header p{margin-top:.2rem}.section-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.75rem;display:flex}.eyebrow{text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-size:.75rem;font-weight:600;display:block}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.25rem 1.5rem}.card.empty{text-align:center;padding:2rem 1.5rem}.loading{text-align:center;color:var(--muted);padding:3rem 1rem}.list{margin:0;padding:0;list-style:none;overflow:hidden}.list>li+li{border-top:1px solid var(--border)}.form{flex-direction:column;gap:1rem;display:flex}.form label{flex-direction:column;gap:.35rem;font-size:.9rem;font-weight:500;display:flex}input[type=text],input[type=email],input[type=password],input[type=tel],.form input:not([type]){font:inherit;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);padding:.6rem .75rem;font-size:.95rem;font-weight:400;transition:border-color .15s,box-shadow .15s}input:focus-visible{border-color:var(--yellow);outline:none;box-shadow:0 0 0 3px #f9a80033}input[aria-invalid=true]{border-color:var(--error)}input[type=checkbox],input[type=radio]{accent-color:var(--yellow);width:1rem;height:1rem;margin:0}.form-row{grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:1rem;display:grid}.form-actions{justify-content:flex-end;padding-top:.25rem;display:flex}.form-footer{text-align:center;margin:1.25rem 0 0;font-size:.9rem}.field-error{color:var(--error);font-size:.85rem;font-weight:400}.checks{border:none;flex-wrap:wrap;gap:.5rem 1.5rem;margin:0;padding:0;display:flex}.checks legend{width:100%;margin-bottom:.5rem;padding:0;font-size:.9rem;font-weight:500}.form label.check{cursor:pointer;flex-direction:row;align-items:center;gap:.5rem;font-size:.95rem;font-weight:400}.button{font:inherit;text-align:center;color:var(--black);background:var(--yellow);border-radius:var(--radius-sm);cursor:pointer;border:1px solid #0000;justify-content:center;align-items:center;gap:.4rem;padding:.55rem 1rem;font-size:.9rem;font-weight:600;text-decoration:none;transition:background-color .15s;display:inline-flex}.button:hover:not(:disabled){background:var(--yellow-hover)}.button:focus-visible,.button-link:focus-visible,.nav-link:focus-visible,.icon-button:focus-visible,.tabs button:focus-visible,.order-row:focus-visible{outline:2px solid var(--yellow);outline-offset:2px}.button:disabled{opacity:.45;cursor:not-allowed}.button-secondary{background:var(--surface);border-color:var(--border-strong)}.button-secondary:hover:not(:disabled){background:var(--hover)}.button-danger{background:var(--surface);border-color:var(--border-strong);color:var(--error)}.button-danger:hover:not(:disabled){background:var(--error-bg)}.button-link{font:inherit;color:var(--text);text-underline-offset:3px;cursor:pointer;background:0 0;border:none;padding:0;text-decoration:underline}.actions{flex-wrap:wrap;gap:.5rem;display:flex}.alert{border-radius:var(--radius-sm);margin:0 0 1rem;padding:.7rem .9rem;font-size:.9rem}.form .alert{margin:0}.alert-error{background:var(--error-bg);color:var(--error)}.alert-success{background:var(--success-bg);color:var(--success)}.alert-info{background:var(--yellow-soft);color:var(--text);padding-left:2rem}.back-link{margin:0 0 .75rem;font-size:.9rem}.back-link a{color:var(--muted);font-weight:500;text-decoration:none}.back-link a:hover{color:var(--text)}.badge{white-space:nowrap;background:var(--hover);color:var(--muted);border-radius:999px;align-items:center;gap:.35rem;padding:.15rem .55rem;font-size:.78rem;font-weight:500;display:inline-flex}.badge:before{content:"";background:currentColor;border-radius:50%;width:.4rem;height:.4rem}.badge-pending,.badge-cancellation_requested{background:var(--yellow-soft);color:var(--yellow-ink)}.badge-validated{background:var(--success-bg);color:var(--success)}.badge-refused,.badge-cancelled{background:var(--error-bg);color:var(--error)}.next-delivery{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:1.25rem;padding:1.5rem;display:flex}.next-delivery-info{flex-direction:column;gap:.3rem;display:flex}.next-delivery-date{letter-spacing:-.015em;font-size:1.35rem;font-weight:600}.next-delivery-date:first-letter{text-transform:uppercase}.orders{margin-top:2.25rem}.tabs{border-radius:var(--radius-sm);background:#efede9;gap:.15rem;padding:.2rem;display:flex}.tabs button{font:inherit;color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:6px;padding:.3rem .85rem;font-size:.85rem;font-weight:500}.tabs button[aria-selected=true]{background:var(--surface);color:var(--text);box-shadow:var(--shadow)}.order-list{padding:0}.order-row{color:inherit;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:.35rem 1.5rem;padding:.9rem 1.25rem;text-decoration:none;display:grid}.order-row:hover{background:var(--hover)}.order-row-date{font-weight:500}.order-row-date:first-letter{text-transform:uppercase}.order-row-total{font-variant-numeric:tabular-nums;text-align:right;min-width:6rem}.order-row-action{color:var(--muted);text-align:right;min-width:4.5rem;font-size:.85rem}.order-form{padding-bottom:6rem}.order-form .card+.product-group,.order-form .product-group+.product-group{margin-top:1.75rem}.order-form>.card h2,.product-group h2{margin-bottom:.75rem}.slot-choices{flex-wrap:wrap;gap:.5rem;margin-bottom:.75rem;display:flex}.slot-choice{border:1px solid var(--border-strong);border-radius:var(--radius-sm);cursor:pointer;align-items:center;gap:.5rem;padding:.5rem .85rem;font-size:.9rem;display:flex}.slot-choice span:first-letter{text-transform:uppercase}.slot-choice:hover{background:var(--hover)}.slot-choice:has(input:checked){border-color:var(--yellow);background:var(--yellow-soft);box-shadow:0 0 0 1px var(--yellow);font-weight:500}.order-form>.card .muted{font-size:.875rem}.order-form>.card .muted+.muted{margin-top:.25rem}.product-group h2{text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-size:.75rem;font-weight:600}.product-row{grid-template-columns:1fr auto;align-items:center;gap:.4rem 1rem;padding:.85rem 1.25rem;display:grid}.product-row.has-error{background:var(--error-bg)}.product-info{flex-direction:column;gap:.1rem;min-width:0;display:flex}.product-info .muted,.product-price{font-size:.85rem}.product-price{color:var(--muted)}.product-name{font-weight:500}.product-quantity{align-items:center;gap:1rem;display:flex}.quantity-input{align-items:center;gap:.4rem;display:flex}.quantity-input input{text-align:right;font-variant-numeric:tabular-nums;width:5.5rem}.quantity-input span{width:1.4rem;color:var(--muted);font-size:.85rem}.line-total{font-variant-numeric:tabular-nums;font-weight:500}.product-quantity .line-total{text-align:right;min-width:5rem}.product-row .field-error{grid-column:1/-1;margin:0}.order-footer{left:var(--sidebar-width);padding:.75rem 2rem calc(.75rem + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-top:1px solid var(--border);background:#ffffffeb;position:fixed;bottom:0;right:0}.order-footer-inner{max-width:var(--content-width);justify-content:space-between;align-items:center;gap:1rem;margin:0 auto;display:flex}.order-footer-inner>div{flex-direction:column;line-height:1.3;display:flex}.order-footer-total{font-variant-numeric:tabular-nums;font-size:1.25rem;font-weight:600}.order-footer .muted{font-size:.8rem}.order-summary{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.order-summary+.card h2,.page-header+.card h2{margin-bottom:.5rem}.line-list{margin:0;padding:0;list-style:none}.line-list li{border-bottom:1px solid var(--border);grid-template-columns:1fr auto;gap:0 1rem;padding:.75rem 0;display:grid}.line-name{font-weight:500}.line-list .muted{font-size:.85rem}.line-list .line-total{grid-area:1/2/span 2;align-self:center}.order-total{justify-content:space-between;margin:1rem 0 0;font-size:1.05rem;display:flex}.order-total strong{font-weight:600}.settings{flex-direction:column;gap:1.25rem;display:flex}.settings-section{padding:1.5rem}.settings-section header p{margin-top:.25rem;font-size:.875rem}@media (width<=800px){.sidebar{z-index:10;border-right:none;border-bottom:1px solid var(--border);flex-direction:row;align-items:center;gap:.75rem;width:auto;padding:.6rem .75rem;position:sticky;top:0}.sidebar .brand-link{margin-right:auto;padding:0}.brand-name{font-size:1.3rem}.brand-sub{display:none}.nav{flex-direction:row}.nav-link{padding:.45rem .6rem}.sidebar-user{border-top:none;border-left:1px solid var(--border);margin:0;padding:0 0 0 .5rem}.sidebar-user-info{display:none}.content{margin-left:0;padding:1.5rem 1rem 3rem}.order-footer{padding-left:1rem;padding-right:1rem;left:0}.card{padding:1.1rem}.order-row{grid-template-columns:1fr auto;padding:.85rem 1rem}.order-row-total{text-align:left}.product-row{padding:.85rem 1rem}}@media (width<=480px){.nav-link span{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.product-row{grid-template-columns:1fr}.product-quantity{justify-content:space-between}.next-delivery .actions,.next-delivery .button{width:100%}}
