:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#17191c;background:#fff;font-synthesis:none;--blue:#147987;--dark-blue:#0d6f78;--line:#ebedf0;--muted:#707981;--soft:#e7eff1}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:default;opacity:.4}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #83c3ca;outline-offset:3px}button{border:0;background:none}a{color:var(--dark-blue)}[hidden]{display:none!important}.app-header{height:90px;padding:calc(10px + env(safe-area-inset-top)) 24px 10px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:16px;background:white;position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:9px;font-size:24px;letter-spacing:-1px;text-decoration:none;color:#1b252e;font-weight:700;margin:auto}.brand>span>span{color:var(--blue)}.text-button{color:var(--dark-blue);padding:10px 0;min-height:44px;font-size:18px}.primary,.print-button{background:var(--blue);color:white;border-radius:14px;padding:17px 22px;min-height:54px;font-weight:600}.secondary{border:1px solid #cddce2;border-radius:12px;padding:13px 18px;color:var(--dark-blue);min-height:48px}.danger{color:#b73549}.loading{min-height:60vh;display:grid;align-content:center;justify-items:center;color:var(--muted)}.spinner{height:30px;width:30px;border:3px solid #d9edef;border-top-color:var(--blue);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.welcome{max-width:430px;margin:9vh auto 40px;padding:30px 24px}.eyebrow{text-transform:uppercase;color:var(--dark-blue);letter-spacing:.14em;font-size:12px;font-weight:700}.welcome h1,.restaurant-picker h1{font-size:34px;line-height:1.15;letter-spacing:-1px;margin:16px 0}.welcome p,.restaurant-picker>p{color:var(--muted);line-height:1.5}.login-form{display:grid;gap:18px;margin-top:35px}label.field{display:grid;gap:8px;font-size:14px;font-weight:600;color:#47545e}input,select{background:white;color:#17191c;border:1px solid #d7dfe4;border-radius:11px;padding:14px;min-height:50px;min-width:0}input{font-size:17px}.login-form .primary{margin-top:8px}.remember{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--muted)}.remember svg{height:18px;width:18px}.restaurant-picker{max-width:880px;padding:40px 26px;margin:auto}.restaurant-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:15px;margin-top:30px}.restaurant-card{display:flex;align-items:center;gap:16px;text-align:left;background:#f8fbfc;border:1px solid #dce9ee;border-radius:16px;padding:24px;min-height:100px}.restaurant-card strong{flex:1;font-size:18px}.restaurant-mark{color:var(--blue);font-size:28px}.workspace{max-width:1200px;margin:auto;padding-bottom:155px}.org-bar{padding:15px 26px;display:flex;align-items:center;justify-content:space-between;gap:12px}.org-button{text-align:left;color:#293946;font-size:14px;font-weight:600;padding:10px 0}.printer-status{display:flex;align-items:center;gap:7px;font-size:12px;color:#337e67}.printer-status::before{content:"";height:7px;width:7px;border-radius:100%;background:#24b48a}.printer-status.offline{color:#a16a25}.printer-status.offline::before{background:#dca138}.search-wrap{padding:0 24px}.search{width:100%;border:0;border-radius:12px;background:#eeeef0;font-size:21px;padding:14px 18px;min-height:56px}.time-button{display:block;margin:17px auto;color:var(--blue);font-size:18px;padding:15px 12px;min-height:58px}.tools{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 24px 16px}.pill{padding:11px 17px;min-height:44px;border-radius:28px;background:#eceef1;color:var(--dark-blue);font-size:17px;display:flex;align-items:center;gap:8px}.pill.blue{background:#147987;color:white}.products{padding:0 24px;display:grid;grid-template-columns:1fr;column-gap:32px}.product-row{display:flex;align-items:center;justify-content:space-between;min-height:86px;gap:15px;border-bottom:1px solid #f5f6f7}.product-name{font-size:21px;line-height:1.3;font-weight:400;flex:1}.product-name small{display:block;color:#8a9196;font-size:12px;margin-top:6px}.quantity{display:flex;align-items:center;gap:7px;flex-shrink:0}.quantity button{font-size:30px;font-weight:300;min-width:46px;min-height:52px;padding:0}.quantity input{appearance:textfield;-moz-appearance:textfield;border:0;border-radius:5px;background:#e7eff1;text-align:center;font-size:27px;font-weight:400;padding:9px 2px;width:58px;height:57px}.quantity input::-webkit-inner-spin-button{appearance:none}.empty{padding:35px 24px;color:var(--muted);text-align:center;line-height:1.6}#print-footer{position:fixed;bottom:0;left:0;right:0;z-index:6;background:rgba(255,255,255,.97);border-top:1px solid var(--line);padding:12px max(24px,calc((100vw - 1150px)/2)) calc(20px + env(safe-area-inset-bottom));backdrop-filter:blur(12px)}.footer-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;color:var(--muted);margin-bottom:8px;min-height:24px}.footer-summary .text-button{font-size:13px;min-height:24px;padding:0}.print-button{width:100%;font-size:20px;letter-spacing:.05em;font-weight:500}.print-button:disabled{background:#a6cbd0;opacity:1}.popover{position:fixed;z-index:8;top:270px;left:24px;width:min(340px,calc(100vw - 48px));max-height:55vh;overflow:auto;background:white;box-shadow:0 12px 55px #112f4233;border:1px solid #e7ecef;border-radius:18px;padding:18px}.popover.lots{left:auto;right:24px}.popover h3{font-size:22px;margin:3px 10px 10px}.menu-row{padding:15px 10px;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;border-bottom:1px solid var(--line);font-size:18px;min-height:52px}.menu-row:last-child{border-bottom:0}.menu-row.selected{color:var(--dark-blue);font-weight:600}.preset-row{display:flex;align-items:center}.preset-row>.menu-row{flex:1}.preset-delete{font-size:23px;color:#8e9aa2;padding:12px}.backdrop{position:fixed;inset:90px 0 0;background:#00101c20;z-index:7}dialog{width:min(480px,calc(100vw - 30px));border:0;border-radius:22px;padding:30px;box-shadow:0 20px 100px #152b4050;color:#17232d}dialog::backdrop{background:#13293660;backdrop-filter:blur(3px)}dialog h2{font-size:26px;margin:0 34px 16px 0;letter-spacing:-.5px}dialog p{font-size:15px;color:var(--muted);line-height:1.55}dialog form.stack,.dialog-stack{display:grid;gap:16px}.close-dialog{position:absolute;right:13px;top:10px;min-height:44px;min-width:44px;font-size:28px;color:#7d8993}.initials-input{text-transform:uppercase;font-size:30px;letter-spacing:.12em;text-align:center}#toast{position:fixed;bottom:145px;left:50%;transform:translateX(-50%);z-index:12;max-width:min(600px,calc(100vw - 30px));width:max-content;background:#163b4b;color:white;border-radius:12px;padding:15px 20px;box-shadow:0 5px 25px #102c3420;line-height:1.45;font-size:15px}.error{color:#ba334a!important}.note{color:var(--muted);font-size:13px;line-height:1.5}.setting-line{padding:10px 0;border-bottom:1px solid var(--line);font-size:14px;display:flex;justify-content:space-between;gap:15px}.setting-line strong{text-align:right}.setting-link{display:block;padding:13px 0}.form-error{color:#ba334a;font-size:14px;line-height:1.4;margin:0}body.printing .workspace button,body.printing .workspace input{pointer-events:none;opacity:.55}.progress-note{text-align:center;color:var(--dark-blue);padding:10px;font-size:14px;line-height:1.5}@media(min-width:850px){.products{grid-template-columns:1fr}.app-header{padding-left:36px;padding-right:36px}.product-row{min-height:91px}.workspace{padding-top:5px}.search-wrap{padding:0 26px}.popover{left:max(24px,calc((100vw - 1150px)/2))}.popover.lots{right:max(24px,calc((100vw - 1150px)/2))}}@media(max-width:480px){.app-header{height:76px;padding-left:14px;padding-right:14px;gap:10px}.brand{font-size:19px;gap:6px}.brand img{height:28px;width:28px}.text-button{font-size:15px}.org-bar{padding:9px 14px}.search-wrap,.products{padding-left:14px;padding-right:14px}.search{font-size:19px}.tools{padding-left:14px;padding-right:14px}.pill{font-size:14px;padding:10px 13px}.product-name{font-size:18px}.product-row{min-height:80px;gap:5px}.quantity{gap:1px}.quantity input{width:52px;font-size:25px}.quantity button{min-width:38px;font-size:28px}.time-button{font-size:16px;margin:10px auto}#print-footer{padding-left:20px;padding-right:20px}.popover{top:250px}.backdrop{top:76px}.welcome{margin-top:6vh}.printer-status{font-size:11px}.org-button{font-size:12px;max-width:65%}}

/* Palette de Portail Ops et actions de la tablette. */
body{background:#eef5f6;color:#173039}.app-header{background:linear-gradient(110deg,#0c3440,#207c88);border-bottom-color:#164e58}.app-header .text-button{color:#fff}.brand{color:#fff}.brand>span>span{color:#f48768}.workspace{background:#fff;min-height:calc(100vh - 90px)}.org-name{font-size:14px;font-weight:600;max-width:65%;overflow-wrap:anywhere}.tools{flex-wrap:wrap}.manual-label{background:#fae5de;color:#913d2b}.popover .selected{color:#0d6f78}.primary:hover,.print-button:not(:disabled):hover{background:#0d626e}@media(max-width:600px){.manual-label{order:3;flex-basis:100%;justify-content:center}.org-name{font-size:12px}.workspace{min-height:calc(100vh - 76px)}}

.org-actions{display:flex;align-items:center;justify-content:flex-end;gap:16px;flex-wrap:wrap}.refresh-button{border:1px solid #bdd4d8;border-radius:10px;color:#0d6f78;background:#f4f9fa;padding:9px 13px;min-height:44px;font-size:14px}.org-name{flex:1}.brand>span{white-space:nowrap}.settings-dialog{width:min(680px,calc(100vw - 30px))}.settings-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-bottom:20px}.settings-tab{min-height:48px;padding:12px;border:1px solid #bfd5d8;border-radius:11px;color:#0d6f78;font-weight:600}.settings-tab[aria-selected=true]{background:#147987;color:#fff;border-color:#147987}.settings-content{min-height:100px}.manual-toolbar,.manual-record-actions{display:flex;gap:10px;flex-wrap:wrap}.manual-toolbar{justify-content:space-between;margin-bottom:18px}.manual-records{display:grid;gap:12px;margin-bottom:16px}.manual-record{padding:17px;border:1px solid #d2e2e5;border-radius:14px;background:#f8fbfc;overflow-wrap:anywhere}.manual-record strong{font-size:18px}.manual-record .note{margin:7px 0}.manual-dates{white-space:pre-line;font-size:13px;color:#536d76;line-height:1.5}.manual-record-actions .secondary{padding:9px 14px;min-height:42px;font-size:14px}body.refreshing .workspace button,body.refreshing .workspace input{pointer-events:none;opacity:.55}@media(max-width:480px){.brand{font-size:16px;gap:5px}.brand img{width:26px;height:26px}.brand>span{line-height:1.05}.brand>span>span{display:block}.org-bar{align-items:flex-start}.org-actions{gap:6px;max-width:50%}.org-name{padding-top:9px}.refresh-button{padding:8px 10px;font-size:12px}.settings-dialog{padding:24px 20px}.settings-tab{font-size:14px}.manual-toolbar .secondary{font-size:14px;padding:10px}}

:root{--header-height:90px}.org-bar{position:sticky;top:var(--header-height);z-index:4;background:#fff;border-bottom:1px solid #e2ecee;box-shadow:0 3px 8px #1730390a}@media(max-width:480px){:root{--header-height:76px}}

@media(min-width:600px) and (pointer:coarse){body{zoom:80%}.workspace{min-height:calc(125vh - var(--header-height))}}
