/* TABLETTE HD : géométrie retirée de ce fichier en DEV 1.2.155H17.
   Autorité unique : CSS_Haut_Droite_Tablette.html.
   Les styles métier/couleurs hors géométrie restent ici. */
/* DEV 1.2.1 — CSS historique ventilé par responsabilité. */
:root {
      --ink:#16202a; --paper:#f7f4ec; --card:#ffffff; --turq:#18a7a0;
      --red:#e43d30; --amber:#f3b63a; --muted:#69737d; --line:#d9dde1;
      --ok:#167a47; --bad:#a82424;
    }
* { box-sizing:border-box; }
body { margin:0; font-family:Arial,Helvetica,sans-serif; background:var(--paper); color:var(--ink); }
.app { padding:14px; max-width:760px; margin:0 auto; }
.top { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:12px; }
.brand { font-size:22px; font-weight:800; letter-spacing:.3px; }
.badge { background:#fff0b8; border:1px solid #d5aa1d; color:#694f00; border-radius:999px; padding:6px 10px; font-size:12px; font-weight:800; }
.card { background:var(--card); border:1px solid var(--line); border-radius:16px; padding:14px; margin-bottom:12px; box-shadow:0 1px 3px rgba(0,0,0,.05); }
.sectionTitle { font-size:13px; font-weight:800; text-transform:uppercase; letter-spacing:.7px; color:var(--muted); margin-bottom:9px; }
button { border:0; border-radius:14px; font-weight:800; cursor:pointer; }
.mode { min-height:58px; font-size:18px; background:#eef1f3; color:var(--ink); border:2px solid transparent; }
.mode.active { background:#dff5f3; border-color:var(--turq); color:#0a625d; }
select { width:100%; font-size:16px; padding:13px 12px; border:1px solid var(--line); border-radius:12px; background:white; color:var(--ink); }
.placesHeader {
      padding:0 0 5px;
      color:var(--muted);
      font-size:10px;
      font-weight:900;
      text-transform:uppercase;
      letter-spacing:.5px;
    }
.placesHeader .headCenter { text-align:center; }
.columnSep { width:1px; align-self:stretch; background:#cfd5da; }
.qtyName { font-size:16px; font-weight:700; min-width:0; }
.qtySub { display:block; font-size:12px; color:var(--muted); margin-top:2px; line-height:1.3; }
.forcedTag { display:none; font-size:11px; font-weight:900; color:#8b6400; margin-top:4px; }
.forcedTag.show { display:block; }
.count, .priceValue {
      text-align:center;
      font-size:21px;
      font-weight:900;
      white-space:nowrap;
    }
.priceCell { display:flex; justify-content:center; align-items:center; min-width:0; }
.pricePill {
      width:100%;
      min-height:42px;
      display:flex;
      justify-content:center;
      align-items:center;
      border-radius:11px;
      background:#eef1f3;
      font-size:16px;
      font-weight:900;
      white-space:nowrap;
    }
.priceCell.manual .pricePill { display:none; }
.calc { width:100%; min-height:54px; font-size:18px; background:var(--amber); color:#392700; }
.result { display:none; }
.result.show { display:block; }
.total { font-size:38px; font-weight:900; margin:4px 0 2px; }
.detail { color:var(--muted); font-size:13px; line-height:1.45; }
.status { margin-top:8px; padding:9px 11px; border-radius:10px; font-size:13px; font-weight:700; }
.status.ok { background:#e7f6ed; color:var(--ok); }
.status.bad { background:#fdeaea; color:var(--bad); }
.pay { min-height:52px; font-size:16px; background:#eef1f3; border:2px solid transparent; }
.pay.active { border-color:var(--red); background:#fee9e6; color:#8d2018; }
.splitBox { display:none; margin-top:10px; padding:12px; border:1px solid var(--line); border-radius:12px; background:#fafafa; }
.splitBox.show { display:block; }
.splitGrid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.splitLabel { font-size:12px; font-weight:800; color:var(--muted); text-transform:uppercase; margin-bottom:5px; }
.moneyInput, .moneyDisplay { width:100%; min-height:50px; border:1px solid var(--line); border-radius:11px; padding:10px 12px; font-size:21px; font-weight:800; background:white; }
.moneyDisplay { display:flex; align-items:center; background:#eef1f3; }
.splitInfo { margin-top:8px; font-size:13px; font-weight:700; }
.splitInfo.ok { color:var(--ok); }
.splitInfo.bad { color:var(--bad); }
.manualBox { display:none; margin-top:10px; padding:12px; border:1px solid #d5aa1d; border-radius:12px; background:#fff9df; }
.manualBox.show { display:block; }
.manualGrid { display:grid; grid-template-columns:1fr; gap:10px; }
.manualInput { width:100%; min-height:48px; border:1px solid #c9b55b; border-radius:10px; padding:9px 11px; font-size:18px; background:white; }
.manualReason { font-size:15px; }
.manualSummary { margin-top:9px; font-size:13px; font-weight:700; line-height:1.4; color:#694f00; }
.manualSummary.bad { color:var(--bad); }
.oldTotal { font-size:13px; color:var(--muted); text-decoration:line-through; margin-top:2px; display:none; }
.oldTotal.show { display:block; }
.successManual { display:none; margin:8px 0 14px; padding:9px 11px; border-radius:10px; background:#fff9df; color:#694f00; font-size:13px; font-weight:700; }
.successManual.show { display:block; }
.commit { width:100%; min-height:60px; font-size:20px; background:var(--red); color:#fff; margin-top:11px; }
.commit:disabled, .calc:disabled { opacity:.45; cursor:default; }
.mini { display:flex; justify-content:space-between; gap:8px; color:var(--muted); font-size:12px; margin-top:7px; }
.message { display:none; margin-bottom:12px; padding:12px; border-radius:12px; font-weight:700; line-height:1.35; }
.message.show { display:block; }
.message.ok { background:#e7f6ed; color:var(--ok); }
.message.bad { background:#fdeaea; color:var(--bad); }
.busy { }
.successCard { width:min(560px,100%); background:#fff; border-radius:22px; padding:24px; text-align:center; box-shadow:0 18px 60px rgba(0,0,0,.28); }
.successIcon { font-size:54px; }
.successTitle { font-size:25px; font-weight:900; color:var(--ok); margin:5px 0 10px; }
.successAmount { font-size:40px; font-weight:900; margin:8px 0; }
.successId { font-size:16px; font-weight:800; margin-bottom:8px; }
.successPay { color:var(--muted); font-size:14px; margin-bottom:18px; }
@media (max-width:620px) {
.pricePill, .priceInput { font-size:15px; }
}
.successActions { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.newSale { min-height:56px; background:var(--turq); color:white; font-size:17px; }
.closeBtn { min-height:56px; background:#eef1f3; color:var(--ink); font-size:17px; }
@media (orientation: landscape) and (min-width: 900px) {
html, body {
        width:100%;
        height:100%;
        min-height:100%;
        overflow:hidden;
      }
body {
        height:100dvh;
      }
.app {
        width:100vw;
        max-width:none;
        height:100dvh;
        margin:0;
        padding:8px 10px;
        display:grid;
        grid-template-columns:250px minmax(520px, 1fr) minmax(340px, .72fr);
        grid-template-rows:42px 88px minmax(0, 1fr);
        gap:8px;
        overflow:hidden;
      }
.top {
        grid-column:1 / -1;
        grid-row:1;
        margin:0;
        min-height:0;
      }
.brand { font-size:20px; }
.badge { padding:5px 9px; }
.message {
        position:fixed;
        z-index:70;
        top:52px;
        left:50%;
        transform:translateX(-50%);
        width:min(720px, calc(100vw - 40px));
        margin:0;
        box-shadow:0 8px 28px rgba(0,0,0,.20);
      }
.card {
        margin:0;
        padding:9px 11px;
        border-radius:13px;
        min-width:0;
        overflow:hidden;
      }
.sectionTitle {
        margin-bottom:6px;
        font-size:12px;
      }
.mode {
        min-height:46px;
        font-size:15px;
        border-radius:11px;
      }
select {
        font-size:14px;
        padding:10px 9px;
        border-radius:10px;
      }
.qtyName {
        font-size:15px;
        line-height:1.08;
      }
.qtySub {
        font-size:10.5px;
        line-height:1.18;
        margin-top:2px;
      }
.forcedTag {
        font-size:9px;
        margin-top:2px;
      }
.pricePill, .priceInput {
        min-height:38px;
        font-size:15px;
        border-radius:9px;
      }
.stepper {
        grid-template-columns:42px 48px 42px;
        gap:5px;
      }
.stepper button {
        height:38px;
        font-size:22px;
        border-radius:10px;
      }
.count { font-size:21px; }
.calc {
        min-height:42px;
        font-size:15px;
        border-radius:11px;
        margin-top:5px;
      }
.manualBox {
        margin-top:5px;
        padding:7px 9px;
        border-radius:10px;
      }
.manualInput {
        min-height:38px;
        padding:6px 9px;
        font-size:14px;
      }
.manualSummary {
        margin-top:5px;
        font-size:11px;
        line-height:1.2;
      }
.total {
        font-size:31px;
        margin:0 0 1px;
      }
.oldTotal {
        font-size:11px;
        margin-top:0;
      }
.detail {
        font-size:10.5px;
        line-height:1.25;
      }
.status {
        margin-top:5px;
        padding:6px 8px;
        font-size:11px;
      }
.pay {
        min-height:44px;
        font-size:13px;
        border-radius:10px;
      }
.splitBox {
        margin-top:7px;
        padding:8px;
        border-radius:10px;
      }
.moneyInput, .moneyDisplay {
        min-height:40px;
        padding:7px 9px;
        font-size:17px;
      }
.splitInfo {
        margin-top:5px;
        font-size:11px;
      }
.commit {
        min-height:48px;
        margin-top:8px;
        font-size:16px;
        border-radius:11px;
      }
.mini {
        margin-top:4px;
        font-size:10px;
      }
.successCard {
        max-height:calc(100dvh - 32px);
        overflow:hidden;
        padding:18px;
      }
.successIcon { font-size:42px; }
.successTitle { font-size:21px; margin:3px 0 6px; }
.successAmount { font-size:34px; margin:5px 0; }
.successManual { margin:5px 0 8px; font-size:11px; }
.successPay { margin-bottom:12px; font-size:12px; }
.newSale, .closeBtn { min-height:48px; }
}
@media (orientation: landscape) and (min-width: 900px) and (max-height: 680px) {
.app {
        padding:5px 7px;
        gap:5px;
        grid-template-columns:225px minmax(500px, 1fr) minmax(315px, .68fr);
        grid-template-rows:34px 72px minmax(0, 1fr);
      }
.brand { font-size:17px; }
.badge { padding:3px 7px; font-size:10px; }
.card { padding:6px 8px; border-radius:10px; }
.sectionTitle { font-size:10px; margin-bottom:4px; }
.mode { min-height:36px; font-size:12px; }
select { font-size:12px; padding:7px; }
.qtyName { font-size:13px; }
.qtySub { font-size:9px; }
.pricePill, .priceInput { min-height:32px; font-size:13px; }
.stepper { grid-template-columns:36px 42px 36px; gap:4px; }
.stepper button { height:32px; font-size:18px; }
.count { font-size:18px; }
.calc { min-height:34px; font-size:13px; margin-top:3px; }
.manualBox { margin-top:4px; padding:5px 7px; }
.manualInput { min-height:31px; font-size:12px; }
.manualSummary { font-size:9.5px; }
.total { font-size:25px; }
.detail, .status { font-size:9.5px; }
.status { padding:4px 6px; margin-top:3px; }
.pay { min-height:36px; font-size:11px; }
.splitBox { margin-top:4px; padding:5px; }
.moneyInput, .moneyDisplay { min-height:32px; font-size:14px; }
.splitInfo { font-size:9.5px; }
.commit { min-height:38px; font-size:13px; margin-top:5px; }
.mini { font-size:9px; margin-top:2px; }
}
@media (orientation: landscape) and (min-width: 900px) {
html, body {
        width:100%;
        height:100%;
        overflow:hidden;
      }
body { height:100dvh; }
.app {
        width:100vw;
        max-width:none;
        height:100dvh;
        margin:0;
        padding:5px 7px;
        display:grid;
        grid-template-columns:205px minmax(600px, 1fr) minmax(330px, .58fr);
        grid-template-rows:34px 58px 138px minmax(0, 1fr);
        gap:5px;
        overflow:hidden;
      }
.top {
        grid-column:1 / -1;
        grid-row:1;
        margin:0;
        min-height:0;
      }
.brand { font-size:17px; }
.badge { font-size:10px; padding:3px 7px; }
.message {
        position:fixed;
        z-index:70;
        top:48px;
        left:50%;
        transform:translateX(-50%);
        width:min(760px, calc(100vw - 40px));
        margin:0;
        box-shadow:0 8px 28px rgba(0,0,0,.20);
      }
.card {
        margin:0;
        padding:6px 8px;
        border-radius:10px;
        min-width:0;
        overflow:hidden;
      }
.sectionTitle {
        font-size:10px;
        margin-bottom:4px;
      }
.placesHeader {
        padding-bottom:3px;
        font-size:8.5px;
      }
.qtyName {
        font-size:13px;
        line-height:1.05;
        min-width:0;
      }
.qtySub {
        font-size:9.2px;
        line-height:1.18;
        margin-top:2px;
        white-space:normal;
        overflow:visible;
        word-break:normal;
      }
.forcedTag {
        font-size:8px;
        margin-top:1px;
      }
.count, .priceValue {
        font-size:15px !important;
      }
.pricePill {
        min-height:31px !important;
        font-size:13px !important;
        border-radius:8px !important;
      }
.calc {
        min-height:32px;
        font-size:12px;
        margin-top:3px;
      }
.manualBox {
        margin-top:3px;
        padding:4px 6px;
      }
.manualInput {
        min-height:29px;
        padding:4px 7px;
        font-size:11px;
      }
.manualSummary {
        margin-top:3px;
        font-size:8.8px;
        line-height:1.15;
        white-space:normal;
      }
.total {
        font-size:25px;
        margin:0 0 2px;
      }
.oldTotal {
        font-size:9px;
        white-space:normal;
      }
.detail {
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:2px 9px;
        font-size:9.5px;
        line-height:1.18;
        white-space:normal;
        overflow:visible;
        color:var(--muted);
      }
.detailItem {
        min-width:0;
        white-space:normal;
      }
.detailSpecial {
        grid-column:1 / -1;
        font-weight:800;
        color:var(--ink);
        margin-top:1px;
      }
.status {
        margin-top:3px;
        padding:4px 5px;
        font-size:9px;
        line-height:1.12;
        white-space:normal;
      }
.pay {
        min-height:34px;
        font-size:10.5px;
      }
.splitBox {
        margin-top:4px;
        padding:5px;
      }
.moneyInput, .moneyDisplay {
        min-height:30px;
        font-size:13px;
      }
.splitInfo {
        margin-top:3px;
        font-size:8.8px;
        white-space:normal;
      }
.commit {
        min-height:36px;
        font-size:12px;
        margin-top:4px;
      }
.mini {
        font-size:8.5px;
        margin-top:2px;
      }
.successCard {
        max-height:calc(100dvh - 30px);
        overflow:hidden;
      }
}
@media (orientation: landscape) and (min-width: 900px) and (max-height: 650px) {
.app {
        grid-template-columns:195px minmax(570px, 1fr) minmax(315px, .56fr);
        grid-template-rows:30px 52px 122px minmax(0, 1fr);
        padding:4px 6px;
        gap:4px;
      }
.qtySub { font-size:8.6px; line-height:1.12; }
.total { font-size:22px; }
.detail { font-size:8.8px; gap:1px 7px; }
.status { font-size:8.3px; }
.pay { min-height:31px; }
.commit { min-height:33px; }
}
.liveTag {
      display:inline-flex;
      align-items:center;
      gap:5px;
      margin-left:7px;
      padding:2px 6px;
      border-radius:999px;
      background:#e7f7f5;
      color:#08746e;
      font-size:9px;
      font-weight:900;
      vertical-align:middle;
    }
.liveDot {
      width:6px;
      height:6px;
      border-radius:50%;
      background:#0a9f96;
    }
.liveTag.loading {
      background:#fff4d6;
      color:#8b6400;
    }
.liveTag.loading .liveDot {
      background:#d7a018;
    }
.topRight {
      display:flex;
      align-items:center;
      justify-content:flex-end;
      gap:8px;
      min-width:0;
    }
@media (orientation: landscape) and (min-width: 900px) {
.detail,
      .detailItem,
      .detailSpecial {
        overflow:visible !important;
        white-space:normal !important;
        text-overflow:clip !important;
      }
.detailSpecial {
        line-height:1.2;
      }
.topRight {
        gap:7px;
      }
}
.detailSpecial {
      font-weight:900 !important;
    }
.changePositive {
      background:#dff5e7 !important;
      color:#176534 !important;
      border-color:#8ed1a4 !important;
    }
.changeMissing {
      background:#fdeaea !important;
      color:#9f2525 !important;
      border-color:#e8a3a3 !important;
    }
@media (orientation: landscape) and (min-width:900px) {
.app {
        grid-template-columns:205px minmax(600px,1fr) minmax(330px,.58fr) !important;
        grid-template-rows:34px 58px minmax(0,1fr) 118px !important;
      }
.splitInfo {
        font-size:9px !important;
        line-height:1.15 !important;
      }
.commit {
        margin-top:6px !important;
      }
}
@media (orientation:landscape) and (min-width:900px) and (max-height:650px) {
.app {
        grid-template-columns:195px minmax(570px,1fr) minmax(315px,.56fr) !important;
        grid-template-rows:30px 52px minmax(0,1fr) 106px !important;
      }
}
.mixedModeFields { display:none; }
.mixedModeFields.show { display:block; }
.paymentFields.hidden { display:none; }
.mixedSecondRow { margin-top:5px; }
@media (orientation:landscape) and (min-width:900px) {
.mixedSecondRow { margin-top:4px; }
}
.priceCell.forced .priceValue {
      color:#7a0f0f !important;
      font-weight:1000 !important;
    }
.forcedTag.show {
      color:#7a0f0f !important;
      font-weight:1000 !important;
    }
.mixedModeFields .splitGrid {
      align-items:end;
    }
.mixedModeFields .splitLabel {
      height:20px;
      min-height:20px;
      display:flex;
      align-items:center;
      white-space:nowrap !important;
      overflow:visible;
      font-size:10.5px !important;
      line-height:1 !important;
      letter-spacing:0 !important;
      margin-bottom:3px;
    }
@media (orientation:landscape) and (min-width:900px) {
.mixedModeFields .splitLabel {
        height:18px;
        min-height:18px;
        font-size:9.7px !important;
        margin-bottom:3px;
      }
}
@media (orientation:landscape) and (min-width:900px) and (max-height:650px) {
.mixedModeFields .splitLabel {
        height:17px;
        min-height:17px;
        font-size:9px !important;
        margin-bottom:2px;
      }
}
.mixedModeFields .splitGrid {
      grid-template-columns:1fr 1fr !important;
      gap:12px !important;
      align-items:start !important;
    }
.mixedModeFields .splitGrid > div {
      display:grid !important;
      grid-template-rows:20px 46px !important;
      align-items:stretch !important;
      min-width:0;
    }
.mixedModeFields .splitLabel {
      height:20px !important;
      min-height:20px !important;
      margin:0 !important;
      padding:0 !important;
      display:flex !important;
      align-items:flex-start !important;
      justify-content:flex-start !important;
      white-space:nowrap !important;
      line-height:1 !important;
      font-size:10px !important;
      font-weight:900 !important;
      box-sizing:border-box !important;
    }
.mixedSecondRow {
      margin-top:8px !important;
    }
@media (orientation:landscape) and (min-width:900px) {
.mixedModeFields .splitGrid {
        gap:10px !important;
      }
.mixedModeFields .splitGrid > div {
        grid-template-rows:18px 42px !important;
      }
.mixedModeFields .splitLabel {
        height:18px !important;
        min-height:18px !important;
        font-size:9.2px !important;
      }
.mixedSecondRow {
        margin-top:7px !important;
      }
}
@media (orientation:landscape) and (min-width:900px) and (max-height:650px) {
.mixedModeFields .splitGrid > div {
        grid-template-rows:17px 38px !important;
      }
.mixedModeFields .splitLabel {
        height:17px !important;
        min-height:17px !important;
        font-size:8.6px !important;
      }
.mixedSecondRow {
        margin-top:6px !important;
      }
}
.languageControl {
      display:flex;
      align-items:center;
      gap:5px;
      min-width:0;
    }
.languageIcon {
      font-size:15px;
      flex:0 0 auto;
    }
.languageSelect {
      width:174px;
      min-width:174px;
      height:29px;
      padding:3px 28px 3px 8px;
      border:1px solid #cbd2d7;
      border-radius:9px;
      background:white;
      color:var(--ink);
      font-size:11px;
      font-weight:800;
    }
@media (orientation:landscape) and (min-width:900px) {
.languageSelect {
        width:168px;
        min-width:168px;
        height:25px;
        font-size:9.5px;
        padding-top:2px;
        padding-bottom:2px;
      }
.languageIcon { font-size:13px; }
}
@media (orientation:landscape) and (min-width:900px) and (max-height:650px) {
.languageSelect {
        width:158px;
        min-width:158px;
        height:23px;
        font-size:8.8px;
      }
}
#bancontactModeFields > div {
      display:grid;
      grid-template-rows:34px auto;
      min-width:0;
    }
#bancontactModeFields .splitLabel {
      min-height:34px;
      display:flex;
      align-items:center;
      line-height:1.08;
      margin:0;
      white-space:normal;
    }
.partialActions {
      display:grid;
      grid-template-columns:1fr;
      gap:6px;
    }
@media (orientation:landscape) and (min-width:900px) and (max-height:650px) {
.partialActions { gap:4px; }
}
.topUserSession {
      display:flex;
      align-items:center;
      gap:6px;
      padding:4px 7px;
      border:1px solid #cbd4da;
      border-radius:10px;
      background:#fff;
      white-space:nowrap;
    }
.topUserText {
      font-size:10px;
      font-weight:900;
      color:#43505b;
    }
.logoutBtn {
      min-height:27px;
      padding:4px 8px;
      border-radius:7px;
      background:#eef1f3;
      color:#7a2020;
      font-size:9px;
      font-weight:1000;
    }
@media (orientation:landscape) and (min-width:900px) and (max-height:650px) {
.topUserSession { padding:2px 5px; }
.topUserText { font-size:8.5px; }
.logoutBtn { min-height:23px; padding:2px 6px; font-size:8px; }
}
.simulationControl {
      display:flex; align-items:center; gap:5px; min-height:26px; padding:3px 7px;
      border:1px solid #d9a22a; border-radius:9px; background:#fff7d8;
      font-size:10px; font-weight:900; color:#6c4b00; white-space:nowrap;
    }
.simulationControl input { width:15px; height:15px; margin:0; accent-color:#e39a00; }
.simulationControl.locked { background:#ffe3a1; border-color:#d67800; }
.topActionBtn {
      min-height:26px; padding:3px 7px; border-radius:9px; font-size:9px; font-weight:900;
      background:#eef1f3; color:var(--ink); border:1px solid #cbd1d6; white-space:nowrap;
    }
.topActionBtn.adminDanger { display:none; background:#fee9e6; border-color:#e88980; color:#8d2018; }
body.admin-user .topActionBtn.adminDanger { display:inline-flex; align-items:center; }
.simulationBadge {
      display:none; padding:4px 8px; border-radius:999px; font-size:9px; font-weight:900;
      background:#ffb020; color:#3b2400; border:1px solid #ca7d00; white-space:nowrap;
    }
body.simulation-mode .simulationBadge { display:inline-flex; }
body.simulation-mode .app { box-shadow:inset 0 0 0 4px #f0a000; }
body.simulation-mode .commit { background:#d78300; }
.settingsCard {
      width:min(520px,94vw); background:#fff; border-radius:20px; padding:20px;
      box-shadow:0 18px 60px rgba(0,0,0,.28);
    }
.settingsTitle { font-size:21px; font-weight:900; margin-bottom:14px; }
.settingsField { margin-bottom:10px; }
.settingsField label { display:block; font-size:11px; font-weight:900; color:var(--muted); margin-bottom:5px; text-transform:uppercase; }
.settingsField input {
      width:100%; height:48px; border:1px solid var(--line); border-radius:11px;
      padding:8px 11px; font-size:18px;
    }
.settingsMessage { min-height:20px; margin:5px 0 8px; font-size:12px; font-weight:800; color:var(--bad); }
.settingsActions { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.settingsActions button { min-height:48px; font-size:14px; }
.settingsCancel { background:#eef1f3; color:var(--ink); }
.settingsSave { background:var(--turq); color:white; }
.dangerCard .settingsSave { background:var(--red); }
body { border-top:4px solid #d43a2f; }
.detectedDevice { display:none !important; }
.tabletPasswordKeyboard { display:none; grid-template-columns:minmax(0,4.4fr) minmax(190px,1fr); gap:12px; margin-top:10px; align-items:stretch; }
body.device-tablet .tabletPasswordKeyboard { display:grid; }
.tabletLetterKeys { display:flex; flex-direction:column; gap:6px; min-width:0; }
.tabletKeyRow { display:flex; justify-content:center; gap:5px; min-width:0; }
.tabletKeyRow.row2 { padding-left:3.6%; padding-right:3.6%; }
.tabletKeyRow.row3 { padding-left:8%; }
.tabletLetterKeys button { flex:1 1 0; max-width:72px; min-width:0; }
.tabletNumberKeys { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; align-content:stretch; }
.tabletNumberKeys button:last-child { grid-column:1 / -1; }
.tabletPasswordKeyboard button {
      min-height:44px; border:1px solid #bfc8ce; border-radius:9px; background:#eef1f3; color:var(--ink);
      font-size:15px; font-weight:1000; touch-action:manipulation;
    }
.tabletPasswordKeyboard button:active { transform:translateY(1px); background:#dff5f3; }
body.module-selection #app, body.module-placeholder #app, body.module-statistics #app { visibility:hidden; }
.moduleBrand { text-align:center; font-size:30px; font-weight:1000; }
.moduleDev { width:max-content; margin:8px auto 18px; padding:6px 12px; border-radius:999px; border:1px solid; font-size:12px; font-weight:1000; }
.moduleWelcome { text-align:center; font-size:19px; font-weight:1000; margin-bottom:18px; }
.moduleLogout, .moduleBack { width:100%; min-height:50px; margin-top:16px; border-radius:12px; background:#eef1f3; color:#7a2020; font-weight:1000; }
body.module-hostess #app { visibility:hidden; }
body.module-statistics #app { visibility:hidden; }

@media (max-width:760px) {
body.device-phone .statisticsOperationalStatus .cashierStatusDot {
        width:9px !important;
        height:9px !important;
        min-width:9px !important;
        flex:0 0 9px !important;
      }
}
.kalaVersion { color:rgba(157,45,36,.82); font-weight:900; text-align:left; }
.kalaSignature { color:rgba(25,35,45,.55); text-align:right; text-decoration:none; pointer-events:auto; cursor:pointer; }
@media (max-width:650px) {
.moduleBrand { font-size:25px; }
}
.fullscreenIconBtn {
      width:30px;
      height:30px;
      min-width:30px;
      padding:0;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      border:1px solid #cbd2d7;
      border-radius:9px;
      background:#fff;
      color:#203245;
      font-size:17px;
      font-weight:1000;
      line-height:1;
      flex:0 0 30px;
    }
.fullscreenIconBtn:active { background:#e8f5f4; }
.syncBadge {
      min-height:26px;
      padding:3px 7px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      border:1px solid #a8d5c1;
      border-radius:9px;
      background:#e9f7ef;
      color:#176534;
      font-size:9px;
      font-weight:1000;
      white-space:nowrap;
    }
.syncBadge.pending { background:#fff3cf; color:#725000; border-color:#dfbd5a; }
.syncBadge.error { background:#fdeaea; color:#9f2525; border-color:#e8a3a3; }
.showStatic {
      width:100%;
      min-width:0;
      padding:11px 12px;
      border:1px solid var(--line);
      border-radius:12px;
      background:#f4f6f7;
      color:var(--ink);
      font-size:14px;
      font-weight:800;
      line-height:1.25;
      white-space:normal;
      overflow-wrap:anywhere;
    }
@media (max-width:700px) {
.app {
        width:100%;
        max-width:none;
        padding:10px 14px 30px;
        overflow-x:hidden;
      }
.top {
        display:grid !important;
        grid-template-columns:minmax(0,1fr) !important;
        align-items:stretch !important;
        gap:7px !important;
        margin-bottom:10px !important;
        width:100%;
      }
.brand {
        grid-column:1;
        grid-row:1;
        width:100%;
        font-size:23px !important;
        line-height:1.05;
        white-space:nowrap;
        overflow:visible;
      }
.topRight {
        grid-column:1;
        grid-row:2;
        width:100%;
        min-width:0;
        display:grid !important;
        grid-template-columns:minmax(0,1fr) auto auto auto !important;
        grid-template-areas:
          "lang sim sync full"
          "session session status status" !important;
        align-items:center !important;
        justify-content:stretch !important;
        gap:5px !important;
      }
.languageControl {
        grid-area:lang;
        width:100%;
        min-width:0;
      }
.languageIcon { font-size:12px; }
.languageSelect {
        width:100% !important;
        min-width:0 !important;
        height:29px !important;
        padding:2px 23px 2px 6px !important;
        font-size:9.5px !important;
      }
.simulationControl {
        grid-area:sim;
        min-height:29px !important;
        padding:2px 5px !important;
        font-size:8px !important;
      }
.simulationControl input {
        width:13px !important;
        height:13px !important;
      }
.syncBadge {
        grid-area:sync;
        height:29px;
        min-height:29px;
        font-size:8px;
        padding:2px 5px;
      }
.fullscreenIconBtn {
        grid-area:full;
        width:29px;
        height:29px;
        min-width:29px;
        font-size:16px;
      }
.topUserSession {
        grid-area:session;
        min-width:0;
        width:100%;
        padding:3px 5px !important;
        gap:4px !important;
        overflow:hidden;
        white-space:normal !important;
      }
.topUserText {
        max-width:72px;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
        font-size:8px !important;
      }
.topActionBtn,
      .logoutBtn {
        min-height:25px !important;
        padding:2px 5px !important;
        font-size:7.5px !important;
        border-radius:7px !important;
      }
.simulationBadge { display:none !important; }
.placesHeader { display:none !important; }
.qtyName {
        grid-area:name;
        min-width:0;
        padding-right:2px;
      }
.columnSep { display:none !important; }
.priceCell {
        grid-area:price;
        width:100%;
        min-width:0;
        justify-content:stretch !important;
      }
.pricePill { width:100% !important; }
.priceValue {
        min-width:0;
        font-size:18px !important;
        overflow:hidden;
        text-overflow:clip;
      }
}
@media (max-width:700px) {
.top {
        gap:8px !important;
      }
.topRight {
        display:grid !important;
        grid-template-columns:minmax(0,1fr) auto !important;
        grid-template-areas:
          "lang full"
          "sim sync"
          "session session"
          "status status" !important;
        gap:7px !important;
        width:100%;
        overflow:visible !important;
      }
.languageControl {
        grid-area:lang;
        width:100%;
        min-width:0;
      }
.languageSelect {
        width:100% !important;
        min-width:0 !important;
        height:36px !important;
        padding:4px 30px 4px 8px !important;
        font-size:12px !important;
      }
.languageIcon { font-size:15px !important; }
.fullscreenIconBtn {
        grid-area:full;
        width:36px !important;
        height:36px !important;
        min-width:36px !important;
        align-self:stretch;
      }
.simulationControl {
        grid-area:sim;
        min-height:36px !important;
        width:100%;
        padding:5px 8px !important;
        font-size:11px !important;
        justify-content:center;
        white-space:normal !important;
      }
.syncBadge {
        grid-area:sync;
        min-height:36px !important;
        height:36px !important;
        padding:5px 12px !important;
        font-size:11px !important;
        white-space:nowrap;
      }
.topUserSession {
        grid-area:session;
        width:100%;
        min-width:0;
        display:grid !important;
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:6px !important;
        padding:7px !important;
        overflow:visible !important;
        white-space:normal !important;
      }
.topUserText {
        grid-column:1 / -1;
        display:block;
        max-width:none !important;
        width:100%;
        overflow:visible !important;
        text-overflow:clip !important;
        white-space:normal !important;
        text-align:center;
        font-size:12px !important;
        font-weight:900 !important;
        line-height:1.2;
        padding:2px 4px;
      }
.topActionBtn,
      .logoutBtn {
        width:100%;
        min-width:0;
        min-height:34px !important;
        padding:5px 6px !important;
        font-size:10px !important;
        line-height:1.15 !important;
        white-space:normal !important;
        overflow:visible !important;
        text-overflow:clip !important;
        border-radius:8px !important;
      }
#clearSimBtn {
        grid-column:1 / -1;
      }
}
.brandOnly {
      display:block !important;
      margin-bottom:10px !important;
    }
.controlGrid {
      display:grid;
      grid-template-columns:repeat(auto-fit,minmax(115px,1fr));
      gap:7px;
      align-items:stretch;
    }
.controlTile {
      min-width:0;
      min-height:36px;
      box-sizing:border-box;
      border-radius:10px !important;
    }
.controlButton {
      width:100%;
      min-width:0;
      justify-content:center;
      align-items:center;
      white-space:normal !important;
      text-align:center;
    }
.languageControl.controlTile {
      display:flex;
      align-items:center;
      gap:6px;
      border:1px solid #cbd4da;
      background:#fff;
      padding:4px 7px;
    }
.languageSelect {
      width:100% !important;
      min-width:0 !important;
    }
.simulationControl.controlTile {
      width:100%;
      justify-content:center;
    }
.syncBadge.controlTile {
      display:flex;
      width:100%;
      height:auto;
    }
.fullscreenIconBtn.controlTile {
      width:100%;
      min-width:0;
      height:auto;
      padding:5px 8px;
      gap:5px;
      font-size:12px;
    }
.fullscreenIconBtn.controlTile span {
      font-size:9px;
      font-weight:1000;
    }
.topActionBtn.controlTile,
    .logoutBtn.controlTile {
      min-height:36px;
      padding:5px 8px;
      font-size:9px;
    }
.simulationBadge.controlTile {
      justify-content:center;
      align-items:center;
      width:100%;
      min-height:36px;
      border-radius:10px;
    }
.standaloneStatus {
      display:flex !important;
      width:max-content;
      max-width:100%;
      margin:0 auto 10px;
      justify-content:center;
      text-align:center;
    }
@media (max-width:700px) {
.controlGrid {
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:7px !important;
      }
.controlTile {
        width:100% !important;
        min-width:0 !important;
        min-height:40px !important;
      }
.languageControl.controlTile {
        grid-column:1 / -1;
        min-height:42px !important;
      }
.languageSelect {
        height:34px !important;
        font-size:12px !important;
        padding:4px 28px 4px 7px !important;
      }
.simulationControl.controlTile,
      .syncBadge.controlTile,
      .fullscreenIconBtn.controlTile,
      .topActionBtn.controlTile,
      .logoutBtn.controlTile,
      .simulationBadge.controlTile {
        grid-column:auto !important;
        min-height:40px !important;
        font-size:10px !important;
        line-height:1.15 !important;
        padding:5px 6px !important;
      }
#clearSimBtn {
        grid-column:auto !important;
      }
.fullscreenIconBtn.controlTile span {
        font-size:9px !important;
      }
.standaloneStatus {
        width:100%;
        min-height:42px !important;
        margin:0 0 10px !important;
        padding:7px 10px !important;
        font-size:11px !important;
        white-space:normal !important;
      }
}
.syncBadge.controlTile {
      min-width:auto !important;
      width:auto !important;
      justify-self:center;
      padding-left:8px !important;
      padding-right:8px !important;
    }
@media (max-width:700px) {
.syncBadge.controlTile {
        width:auto !important;
        min-width:72px !important;
        justify-self:center;
      }
}
@media (orientation:landscape) and (min-width:900px) {
.app {
        grid-template-columns:205px minmax(600px,1fr) minmax(330px,.58fr) !important;
        grid-template-rows:34px 84px 54px minmax(0,1fr) 110px !important;
        gap:5px !important;
        padding:5px 7px !important;
        overflow:hidden !important;
      }
.brandOnly {
        grid-column:1 / -1 !important;
        grid-row:1 !important;
        margin:0 !important;
        align-self:center !important;
      }
#message {
        position:fixed !important;
      }
}
@media (orientation:landscape) and (min-width:900px) and (max-height:680px) {
.app {
        grid-template-columns:195px minmax(570px,1fr) minmax(315px,.56fr) !important;
        grid-template-rows:30px 76px 50px minmax(0,1fr) 102px !important;
        gap:4px !important;
        padding:4px 6px !important;
      }
}
@media (max-width:700px) {
#clearSimBtn {
        grid-column:auto !important;
      }
#manualPriceToggle,
      #manualPriceReset,
      .manualPriceToggle,
      .manualResetBtn {
        line-height:1.12 !important;
        white-space:normal !important;
      }
}
#simulationBadge {
      display:none !important;
    }
@media (max-width:700px) {
#clearSimBtn {
        grid-column:auto !important;
      }
}
@media (orientation:landscape) and (min-width:900px) {
#changePasswordBtn {
        flex:0 1 105px !important;
      }
#clearSimBtn {
        flex:0 1 130px !important;
      }
#logoutBtn {
        flex:0 1 104px !important;
      }
}
#cashModeFields > div,
    #bancontactModeFields > div,
    .mixedModeFields .splitGrid > div {
      display:grid !important;
      grid-template-rows:auto 46px !important;
      row-gap:3px !important;
      align-items:start !important;
      min-width:0 !important;
    }
#cashModeFields .splitLabel,
    #bancontactModeFields .splitLabel,
    .mixedModeFields .splitLabel {
      height:auto !important;
      min-height:0 !important;
      margin:0 !important;
      padding:0 !important;
      display:flex !important;
      align-items:flex-end !important;
      justify-content:flex-start !important;
      font-size:10px !important;
      font-weight:900 !important;
      line-height:1.05 !important;
      letter-spacing:0 !important;
      white-space:normal !important;
      overflow:visible !important;
    }
.mixedSecondRow {
      margin-top:14px !important;
    }
@media (max-width:700px) {
#cashModeFields,
      #bancontactModeFields,
      .mixedModeFields .splitGrid {
        gap:12px !important;
      }
#cashModeFields > div,
      #bancontactModeFields > div,
      .mixedModeFields .splitGrid > div {
        grid-template-rows:auto 54px !important;
        row-gap:4px !important;
      }
#cashModeFields .splitLabel,
      #bancontactModeFields .splitLabel,
      .mixedModeFields .splitLabel {
        font-size:12px !important;
        line-height:1.05 !important;
      }
.mixedSecondRow {
        margin-top:17px !important;
      }
}
@media (orientation:landscape) and (min-width:900px) {
#cashModeFields > div,
      #bancontactModeFields > div,
      .mixedModeFields .splitGrid > div {
        grid-template-rows:auto 42px !important;
        row-gap:3px !important;
      }
#cashModeFields .splitLabel,
      #bancontactModeFields .splitLabel,
      .mixedModeFields .splitLabel {
        font-size:9.2px !important;
      }
.mixedSecondRow {
        margin-top:10px !important;
      }
}
@media (orientation:landscape) and (min-width:900px) and (max-height:650px) {
#cashModeFields > div,
      #bancontactModeFields > div,
      .mixedModeFields .splitGrid > div {
        grid-template-rows:auto 38px !important;
        row-gap:2px !important;
      }
#cashModeFields .splitLabel,
      #bancontactModeFields .splitLabel,
      .mixedModeFields .splitLabel {
        font-size:8.6px !important;
      }
.mixedSecondRow {
        margin-top:8px !important;
      }
}
#simulationBadge {
      display:none !important;
    }
#logoutBtn {
      border:1px solid #c9d1d7 !important;
      background:#f2f5f7 !important;
      color:#8f2722 !important;
      box-shadow:none !important;
    }
#logoutBtn:active {
      background:#e8ecef !important;
    }
@media (max-width:700px) {
#fullscreenBtn {
        grid-column:span 4 !important;
      }
#changePasswordBtn {
        grid-column:span 4 !important;
      }
#clearSimBtn {
        grid-column:span 4 !important;
      }
#logoutBtn {
        grid-column:span 4 !important;
      }
}
@media (orientation:landscape) and (min-width:900px) {
.app {
        grid-template-rows:32px 56px 52px minmax(0,1fr) 106px !important;
      }
}
@media (orientation:landscape) and (min-width:900px) and (max-height:680px) {
.app {
        grid-template-rows:29px 52px 48px minmax(0,1fr) 100px !important;
      }
}
.columnSepLeft,
    .columnSepRight {
      width:1px !important;
      align-self:stretch !important;
      background:#cfd5da !important;
    }
@media (max-width:700px) {
.columnSepLeft,
      .columnSepRight {
        display:none !important;
      }
#fullscreenBtn,
      #changePasswordBtn,
      #logoutBtn,
      #clearSimBtn {
        grid-column:span 4 !important;
      }
}
@media (max-width:700px) {
#fullscreenBtn,
      #changePasswordBtn,
      #logoutBtn {
        grid-column:auto / span 4 !important;
        grid-row:auto !important;
      }
#clearSimBtn {
        grid-column:auto / span 4 !important;
        grid-row:auto !important;
      }
}
@media (orientation:landscape) and (min-width:900px) {
.app {
        grid-template-rows:56px 50px minmax(0,1fr) 104px !important;
      }
.brandOnly {
        grid-column:1 !important;
        grid-row:1 !important;
        align-self:center !important;
        margin:0 !important;
        z-index:2 !important;
      }
}
@media (orientation:landscape) and (min-width:900px) and (max-height:680px) {
.app {
        grid-template-rows:52px 47px minmax(0,1fr) 98px !important;
      }
}
@media (max-width:700px) {
#fullscreenBtn {
        grid-column:1 / span 4 !important;
        grid-row:2 !important;
      }
#changePasswordBtn {
        grid-column:5 / span 4 !important;
        grid-row:2 !important;
      }
#logoutBtn {
        grid-column:9 / span 4 !important;
        grid-row:2 !important;
      }
#clearSimBtn:not([hidden]) {
        grid-column:1 / span 4 !important;
        grid-row:3 !important;
      }
}
.message {
      position:relative !important;
      padding-right:42px !important;
    }
.messageCloseBtn {
      position:absolute;
      top:50%;
      right:9px;
      transform:translateY(-50%);
      width:28px;
      height:28px;
      border:0;
      border-radius:50%;
      background:rgba(255,255,255,.70);
      color:inherit;
      font-size:20px;
      font-weight:1000;
      line-height:1;
      cursor:pointer;
    }
[hidden] {
      display:none !important;
    }
.mobileFieldLabel {
      display:none;
    }
#cancelSaleBtn.cancelSaleBtn {
      width:100%;
      min-height:52px;
      margin-top:8px;
      padding:8px 12px;
      border:2px solid var(--red);
      border-radius:11px;
      background:#fff;
      color:var(--red);
      font-size:15px;
      font-weight:1000;
      line-height:1.1;
      text-align:center;
    }
#cancelSaleBtn.cancelSaleBtn:active {
      background:#fdeaea;
    }
@media (max-width:700px) {
#controlCard #moduleBtn {
        order:0 !important;
        flex:0 0 112px !important;
        width:112px !important;
        min-width:112px !important;
        max-width:112px !important;
        height:54px !important;
        min-height:54px !important;
        max-height:54px !important;
        padding:5px 7px !important;
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        text-align:center !important;
        white-space:normal !important;
        line-height:1.08 !important;
        font-size:10px !important;
      }
#cancelSaleBtn.cancelSaleBtn {
        min-height:58px !important;
        margin-top:9px !important;
        font-size:17px !important;
        border-radius:13px !important;
      }
}
@media (orientation:landscape) and (min-width:900px) {
#cancelSaleBtn.cancelSaleBtn {
        min-height:34px !important;
        margin-top:4px !important;
        padding:4px 8px !important;
        font-size:10.5px !important;
        border-radius:8px !important;
      }
}
@media (orientation:landscape) and (min-width:900px) and (max-height:650px) {
#cancelSaleBtn.cancelSaleBtn {
        min-height:29px !important;
        margin-top:3px !important;
        padding:3px 6px !important;
        font-size:9px !important;
      }
}
.themeBtn {
      min-height:36px;
      padding:4px 8px;
      border:1px solid #cbd1d6;
      border-radius:10px;
      background:#eef1f3;
      color:var(--ink);
      font-size:19px;
      font-weight:1000;
    }
body[data-theme="dark"] {
      --ink:#edf2f7;
      --paper:#090d12;
      --card:#141a22;
      --muted:#a5afbb;
      --line:#303947;
      --ok:#65d69a;
      --bad:#ff8585;
      background:#090d12;
      color:#edf2f7;
    }
body[data-theme="dark"] select,
    body[data-theme="dark"] input,
    body[data-theme="dark"] textarea,
    body[data-theme="dark"] .loginPassword,
    body[data-theme="dark"] .manualInput,
    body[data-theme="dark"] .moneyInput,
    body[data-theme="dark"] .keypadDisplay {
      background:#0f141b !important;
      color:#edf2f7 !important;
      border-color:#3a4655 !important;
    }
body[data-theme="dark"] .loginUserBtn,
    body[data-theme="dark"] .moduleBtn,
    body[data-theme="dark"] .mode,
    body[data-theme="dark"] .qtyStepper button,
    body[data-theme="dark"] .priceStepper button,
    body[data-theme="dark"] .pricePill,
    body[data-theme="dark"] .pay,
    body[data-theme="dark"] .moneyDisplay,
    body[data-theme="dark"] .manualBtn,
    body[data-theme="dark"] .closeBtn,
    body[data-theme="dark"] .moduleLogout,
    body[data-theme="dark"] .moduleBack,
    body[data-theme="dark"] .topActionBtn,
    body[data-theme="dark"] .logoutBtn,
    body[data-theme="dark"] .fullscreenIconBtn,
    body[data-theme="dark"] .themeBtn,
    body[data-theme="dark"] .showStatic,
    body[data-theme="dark"] .keypadBox button,
    body[data-theme="dark"] .settingsCancel {
      background:#202833 !important;
      color:#edf2f7 !important;
      border-color:#3a4655 !important;
    }
body[data-theme="dark"] .loginUserBtn.active,
    body[data-theme="dark"] .mode.active,
    body[data-theme="dark"] .moduleBtn.primary,
    body[data-theme="dark"] .qtyStepper .plus,
    body[data-theme="dark"] .priceStepper .plus {
      background:#123a39 !important;
      color:#8ce8e2 !important;
      border-color:#1bb1aa !important;
    }
body[data-theme="dark"] .manualBox,
    body[data-theme="dark"] .successManual {
      background:#332b12 !important;
      color:#ffe28a !important;
      border-color:#796520 !important;
    }
body[data-theme="dark"] .manualSummary,
    body[data-theme="dark"] .forcedTag {
      color:#ffe28a !important;
    }
body[data-theme="dark"] .status.ok,
    body[data-theme="dark"] .message.ok {
      background:#133021 !important;
      color:#78dfa5 !important;
    }
body[data-theme="dark"] .status.bad,
    body[data-theme="dark"] .message.bad {
      background:#3a1b1d !important;
      color:#ff9b9b !important;
    }
body[data-theme="dark"] .pay.active {
      background:#3a1f20 !important;
      color:#ffaaa3 !important;
      border-color:#e65a50 !important;
    }
body[data-theme="dark"] .simulationControl {
      background:#352b0f !important;
      color:#ffd96b !important;
      border-color:#80651b !important;
    }
body[data-theme="dark"] .syncBadge {
      background:#123023 !important;
      color:#78dfa5 !important;
      border-color:#326c50 !important;
    }
body[data-theme="dark"] .syncBadge.pending {
      background:#352b0f !important;
      color:#ffd96b !important;
      border-color:#80651b !important;
    }
body[data-theme="dark"] .syncBadge.error {
      background:#3a1b1d !important;
      color:#ff9b9b !important;
      border-color:#7d373b !important;
    }
body[data-theme="dark"] .columnSep {
      background:#3a4655 !important;
    }
body[data-theme="dark"] .kalaVersion {
      color:rgba(255,128,118,.85) !important;
    }
body:not(.authenticated) {
      color-scheme:dark;
    }
@media (max-width:700px) {
#themeBtn.themeBtn {
        min-height:40px !important;
        font-size:19px !important;
        padding:4px 8px !important;
      }
}
body[data-theme="dark"] .tabletPasswordKeyboard button {
      background:#2a313a !important;
      color:#f2f5f8 !important;
      border-color:#46515d !important;
      box-shadow:none !important;
    }
body[data-theme="dark"] .tabletPasswordKeyboard button:active {
      background:#363f49 !important;
      color:#ffffff !important;
    }
body[data-theme="dark"] #cancelSaleBtn.cancelSaleBtn {
      background:#2f2325 !important;
      color:#ffaaa4 !important;
      border-color:#714248 !important;
    }
body[data-theme="dark"] #cancelSaleBtn.cancelSaleBtn:active {
      background:#3a292b !important;
    }
body[data-theme="dark"] button:disabled {
      opacity:.48 !important;
      filter:none !important;
    }
body[data-theme="dark"] #logoutBtn,
    body[data-theme="dark"] #moduleLogoutBtn {
      background:#202833 !important;
      color:#ffaaa3 !important;
      border-color:#46515d !important;
      box-shadow:none !important;
    }
body[data-theme="dark"] #logoutBtn:active,
    body[data-theme="dark"] #moduleLogoutBtn:active {
      background:#2a333f !important;
      color:#ffc1bc !important;
    }
@media (orientation:landscape) and (min-width:900px) {
body.device-tablet .card {
        padding:
          clamp(6px,.62vw,9px)
          clamp(7px,.78vw,11px) !important;
      }
body.device-tablet .sectionTitle {
        font-size:clamp(9px,.9vw,12px) !important;
      }
body.device-tablet .brand {
        font-size:clamp(16px,1.45vw,20px) !important;
      }
body.device-tablet {
        overflow-x:hidden !important;
      }
}
.hostessControlCard {
      width:100%;
      box-sizing:border-box;
      margin-bottom:10px;
      padding:7px;
      border:1px solid var(--line);
      border-radius:12px;
      background:#fff;
    }
body[data-theme="dark"] .hostessFrame,
    body[data-theme="dark"] .hostessControlCard {
      background:#141a22 !important;
      border-color:#303947 !important;
    }

/* H29 : géométrie tablette HÔTESSE retirée du legacy ; autorité unique CSS_Haut_Droite_Tablette.html. */
@media (orientation:landscape) and (min-width:900px) and (max-height:720px) {

}
.hostessControlCard {
      margin:0 !important;
      min-width:0;
    }
body[data-theme="dark"] .hostessControlCard,
    body[data-theme="dark"] .hostessSidebarCard,
    body[data-theme="dark"] .hostessShowCard,
    body[data-theme="dark"] .hostessPanel {
      background:#141a22 !important;
      border-color:#303947 !important;
      color:#edf2f7 !important;
    }
@media (orientation:landscape) and (min-width:900px) {

}
@media (orientation:landscape) and (min-width:900px) and (max-height:680px) {


}
@media (max-width:700px) {
body.device-phone.module-hostess .hostessControlCard,
      body.device-phone.module-hostess .hostessOperationalStatus,
      body.device-phone.module-hostess .hostessSidebarCard,
      body.device-phone.module-hostess .hostessShowCard {
        margin-bottom:7px !important;
      }
}
@media (orientation:landscape) and (min-width:900px) {


}
@media (orientation:landscape) and (min-width:900px) and (max-width:1150px) {

}
@media (orientation:landscape) and (min-width:900px) {

}
.hostessControlCard .controlCardTitle {
      margin:0 0 4px !important;
      padding:0 !important;
      font-size:11px !important;
      line-height:1 !important;
      font-weight:900 !important;
      text-transform:none !important;
      letter-spacing:0 !important;
      color:var(--ink) !important;
    }
@media (orientation:landscape) and (min-width:900px) {

}

@media (max-width:700px) {
body.device-phone.module-hostess .hostessControlCard {
        box-sizing:border-box !important;
        width:100% !important;
        margin:0 0 8px !important;
        padding:8px 9px 9px !important;
        min-height:0 !important;
      }
body.device-phone.module-hostess .hostessControlCard .controlCardTitle,
      body.device-phone.module-hostess #hostessUser {
        margin:0 0 6px !important;
        padding:0 !important;
        min-height:0 !important;
        height:auto !important;
        font-size:13px !important;
        line-height:1 !important;
      }
body.device-phone.module-hostess #hostessModuleBtn {
        width:84px !important;
        min-width:84px !important;
        max-width:84px !important;
      }
}
@media (max-width:700px) {
body.device-phone #controlCard #moduleBtn {
        flex:0 0 112px !important;
        width:112px !important;
        min-width:112px !important;
        max-width:112px !important;
      }
}
#controlCard .languageControl,
    #controlCard #themeBtn,
    #controlCard #fullscreenBtn,
    #controlCard #changePasswordBtn,
    #controlCard #clearSimBtn,
    #controlCard #logoutBtn,
    .hostessControlCard .hostessLanguageControl,
    .hostessControlCard #hostessThemeBtn,
    .hostessControlCard #hostessFullscreenBtn,
    .hostessControlCard #hostessLogoutBtn,
    #statisticsThemeBtn,
    #statisticsFullscreenBtn,
    #statisticsLogoutBtn { display:none !important; }
body.module-administration #app, body.module-gestion #app { visibility:hidden; }
.workspaceControlCard { grid-column:2; grid-row:1; min-height:52px; padding:5px 9px; display:grid; grid-template-rows:18px 1fr; }
.recordActionBtn { min-height:40px; border-radius:9px; padding:7px 10px; background:#eef1f3; color:var(--ink); font-size:10px; font-weight:1000; }
.recordActionBtn.primary { background:var(--turq); color:#fff; }
.recordActionBtn.danger { background:#fee9e6; color:#8d2018; border-color:#e88980; }
.recordActionBtn:disabled { opacity:.42; }
.editorField { min-width:0; }
.editorField.wide { grid-column:span 2; }
.editorField.full { grid-column:1 / -1; }
.editorField label { display:block; margin-bottom:4px; font-size:9px; font-weight:1000; color:var(--muted); }
.editorField textarea { min-height:74px; resize:vertical; }
.editorField input[readonly],.editorField textarea[readonly] { opacity:.7; background:#eef1f3; }
.editorCheck { min-height:39px; display:flex; align-items:center; gap:8px; border:1px solid #c7d0d5; border-radius:9px; padding:7px 9px; }
.editorCheck input { width:18px; height:18px; }
.editorFooter { display:flex; justify-content:flex-end; gap:8px; margin-top:10px; }
.variableList { display:grid; gap:9px; }
.variableRow { display:grid; grid-template-columns:minmax(210px,.8fr) 140px minmax(260px,1.5fr); gap:8px; align-items:center; border-bottom:1px solid var(--line); padding-bottom:8px; }
.variableKey { font-size:11px; font-weight:1000; }
.variableDesc { font-size:11px; color:var(--muted); line-height:1.35; }
body[data-theme="dark"] .recordActionBtn { background:#253138; color:#eef5f4; border-color:#445057; }
body[data-theme="dark"] .editorField input[readonly],body[data-theme="dark"] .editorField textarea[readonly] { background:#11191d; }
@media (max-width:700px) {
#modulePasswordBtn,#moduleLogoutBtn { min-height:44px; }
.workspaceControlCard { order:2; min-height:58px; }
.editorField.wide,.editorField.full { grid-column:auto; }
.variableRow { grid-template-columns:1fr; }
}
body.device-phone #controlCard #moduleBtn { flex:0 1 160px !important; }
body.device-phone .hostessControlCard .hostessControlGrid {
      display:flex !important;
      flex-wrap:wrap !important;
      justify-content:center !important;
      align-items:center !important;
      gap:8px !important;
      width:100% !important;
    }
body.device-phone .hostessControlCard .hostessControlGrid > * {
      margin:0 !important;
    }
body.device-phone .hostessControlCard .hostessModuleBtn { flex:0 1 170px !important; }
body.device-phone .hostessControlCard .hostessSyncBadge { flex:0 1 115px !important; }
@media (max-width:700px) {
#controlCard #moduleBtn { flex-basis:118px !important; }
.hostessControlCard .hostessModuleBtn { flex-basis:128px !important; }
.hostessControlCard .hostessSyncBadge { flex-basis:92px !important; }
}
@media (orientation:landscape) and (min-width:900px) {
body.device-tablet.module-selection .moduleBrand {
        font-size:24px !important;
        line-height:1 !important;
        margin:0 !important;
      }
body.device-tablet.module-selection .moduleDev {
        margin:3px auto 4px !important;
        padding:3px 9px !important;
        font-size:10px !important;
        line-height:1.1 !important;
      }
body.device-tablet.module-selection .moduleWelcome {
        margin:2px 0 5px !important;
        font-size:16px !important;
        line-height:1.08 !important;
      }
body.device-tablet.module-selection #moduleThemeBtn {
        box-sizing:border-box !important;
        width:44px !important;
        min-width:44px !important;
        max-width:44px !important;
        height:44px !important;
        min-height:44px !important;
        max-height:44px !important;
        aspect-ratio:1 / 1 !important;
        padding:0 !important;
        font-size:19px !important;
        line-height:44px !important;
        justify-self:center !important;
        white-space:nowrap !important;
      }

}
#controlCard .languageControl,
    #controlCard #themeBtn,
    #controlCard #fullscreenBtn,
    #controlCard #changePasswordBtn,
    #controlCard #clearSimBtn,
    #controlCard #logoutBtn,
    .hostessControlCard .hostessLanguageControl,
    .hostessControlCard #hostessThemeBtn,
    .hostessControlCard #hostessFullscreenBtn,
    .hostessControlCard #hostessLogoutBtn,
    #statisticsThemeBtn,
    #statisticsFullscreenBtn,
    #statisticsLogoutBtn {
      display:none !important;
    }
.moduleBtn.gestion {
      background:#e7f1ff;
      border-color:#6f9fd2;
      color:#174b82;
    }
.moduleBtn.gestion:hover { background:#dcecff; }
body[data-theme="dark"] .moduleBtn.gestion {
      background:#182d46 !important;
      border-color:#477caf !important;
      color:#b9dcff !important;
    }
.editorField select:disabled,
    .editorField input:read-only,
    .editorField textarea:read-only {
      opacity:.72;
      cursor:not-allowed;
    }
@media (orientation:landscape) and (min-width:900px) {

}
.moduleSecurityActions { display:contents; }
@media (orientation:landscape) and (min-width:900px) {
body.device-tablet.module-selection .moduleWelcome {
        margin:2px 0 clamp(8px,1.8vh,16px) !important;
      }
body.device-tablet.module-selection .moduleSecurityActions {
        display:contents !important;
      }
}
@media (max-width:700px) {
body.device-phone.module-selection .moduleSecurityActions {
        grid-column:1 / -1 !important;
        display:grid !important;
        grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
        gap:7px !important;
        width:100% !important;
        min-width:0 !important;
      }
}
@media (orientation:landscape) and (min-width:900px) {
body.device-tablet:not(.authenticated) #tabletPasswordKeyboard {
        display:grid !important;
        visibility:visible !important;
        opacity:1 !important;
      }
}
@media (max-width:700px) {
body.device-phone.module-selection .moduleSecurityActions:has(#modulePasswordBtn[hidden]) {
        grid-template-columns:minmax(0,50%) !important;
        justify-content:center !important;
      }
body.device-phone.module-selection .moduleSecurityActions:has(#modulePasswordBtn[hidden]) #moduleLogoutBtn {
        grid-column:1 !important;
      }
}
.moduleHeaderSubRow { display:none; }
.hostessBrandSubRow,
    .workspaceBrandSubRow { display:contents; }
.moduleHeaderDev,
    .hostessBrandDev,
    .workspaceBrandDev { display:none; }
@media (orientation:landscape) and (min-width:900px) {
body.device-tablet .moduleHeaderSubRow,
      body.device-tablet.module-hostess .hostessBrandSubRow,
      body.device-tablet.module-administration .workspaceBrandSubRow,
      body.device-tablet.module-gestion .workspaceBrandSubRow,
      body.device-tablet.module-statistics .statisticsBrandSubRow {
        display:flex !important;
        align-items:center !important;
        justify-content:flex-start !important;
        gap:5px !important;
        margin-top:2px !important;
        min-width:0 !important;
      }
body.device-tablet .moduleHeaderName,
      body.device-tablet.module-hostess .hostessBrandSub,
      body.device-tablet.module-administration .workspaceBrandSub,
      body.device-tablet.module-gestion .workspaceBrandSub,
      body.device-tablet.module-statistics .statisticsBrandSub {
        margin:0 !important;
        padding:0 !important;
        font-size:8.5px !important;
        line-height:1 !important;
        font-weight:1000 !important;
        letter-spacing:.07em !important;
        color:var(--muted) !important;
        white-space:nowrap !important;
      }
body.device-tablet .moduleHeaderDev,
      body.device-tablet.module-hostess .hostessBrandDev,
      body.device-tablet.module-administration .workspaceBrandDev,
      body.device-tablet.module-gestion .workspaceBrandDev {
        display:inline-flex !important;
        align-items:center !important;
        justify-content:center !important;
        height:15px !important;
        min-height:15px !important;
        padding:0 5px !important;
        border:1px solid #e99b93 !important;
        border-radius:999px !important;
        background:#fff0ee !important;
        color:#a62219 !important;
        font-size:7px !important;
        line-height:1 !important;
        font-weight:1000 !important;
        letter-spacing:.03em !important;
        white-space:nowrap !important;
        box-sizing:border-box !important;
      }
body[data-theme="dark"].device-tablet .moduleHeaderDev,
      body[data-theme="dark"].device-tablet.module-hostess .hostessBrandDev,
      body[data-theme="dark"].device-tablet.module-administration .workspaceBrandDev,
      body[data-theme="dark"].device-tablet.module-gestion .workspaceBrandDev {
        background:#3b2020 !important;
        color:#ffaaa3 !important;
        border-color:#7b4141 !important;
      }

body.device-tablet.module-hostess .hostessControlTitle,
      body.device-tablet.module-hostess #hostessUser.controlCardTitle {
        height:9px !important;
        min-height:9px !important;
        line-height:9px !important;
        margin:0 0 1px !important;
        padding:0 !important;
        font-size:8.5px !important;
        text-align:left !important;
      }

}
@media (orientation:landscape) and (min-width:900px) {
body.device-tablet .moduleHeaderSubRow,
      body.device-tablet .hostessBrandSubRow,
      body.device-tablet .workspaceBrandSubRow,
      body.device-tablet .statisticsBrandSubRow {
        display:flex !important;
        align-items:center !important;
        justify-content:flex-start !important;
        gap:5px !important;
        margin:3px 0 0 !important;
        padding:0 !important;
        min-width:0 !important;
      }
}
body.device-tablet {
      --tt-topbar-h:58px;
      --tt-brand-col:clamp(190px,17vw,225px);
      --tt-status-col:126px;
      --tt-top-gap:7px;
      --tt-c0-pad-x:8px;
      --tt-c0-pad-top:3px;
      --tt-c0-pad-bottom:3px;
      --tt-c0-user-h:10px;
      --tt-c0-row-gap:2px;
    }
@media (orientation:landscape) and (min-width:900px) {
body.device-tablet .moduleHeaderSubRow,
      body.device-tablet .hostessBrandSubRow,
      body.device-tablet .workspaceBrandSubRow,
      body.device-tablet .statisticsBrandSubRow {
        display:flex !important;
        align-items:center !important;
        justify-content:flex-start !important;
        gap:5px !important;
        width:100% !important;
        min-width:0 !important;
        margin:3px 0 0 !important;
        padding:0 !important;
      }
}
@media (orientation:landscape) and (min-width:900px) {
body.device-tablet:not(.authenticated) .tabletPasswordKeyboard {
        grid-row:4 !important;
        display:grid !important;
        grid-template-columns:minmax(0,4.4fr) minmax(190px,1fr) !important;
        gap:12px !important;
        width:100% !important;
        height:100% !important;
        min-height:0 !important;
        margin:0 !important;
        align-items:stretch !important;
        overflow:hidden !important;
      }
body.device-tablet:not(.authenticated) .tabletLetterKeys {
        height:100% !important;
        min-height:0 !important;
        display:flex !important;
        flex-direction:column !important;
        justify-content:space-between !important;
        gap:6px !important;
      }
body.device-tablet:not(.authenticated) .tabletKeyRow {
        flex:1 1 0 !important;
        min-height:0 !important;
        align-items:stretch !important;
      }
body.device-tablet:not(.authenticated) .tabletPasswordKeyboard button {
        height:100% !important;
        min-height:0 !important;
        max-height:none !important;
        font-size:clamp(13px,1.55vw,17px) !important;
      }
body.device-tablet:not(.authenticated) .tabletNumberKeys {
        height:100% !important;
        min-height:0 !important;
        grid-template-rows:repeat(4,minmax(0,1fr)) !important;
      }
}
