/* Dedicated owner back office visual system. Kept separate from the staff till. */
body { overflow:auto;background:#e9edf1; }
.standalone-top { height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 24px;background:#263646;color:#fff; }
.standalone-top div { display:flex;align-items:center;gap:12px; }
.standalone-top b:first-child { display:grid;place-items:center;width:34px;height:34px;background:#80b640;border-radius:4px; }
.standalone-top strong { display:block;font-size:12px; }
.standalone-top small { display:block;color:#aebbc6;font-size:8px; }
.standalone-top nav { display:flex;align-items:center;gap:8px; }
.standalone-top a,.standalone-top button { padding:9px 12px;border:1px solid #526474;background:transparent;color:#fff;text-decoration:none;font-size:10px; }
.standalone-main { padding:20px;max-width:1800px;margin:auto; }
body.portal-owner #eposadmin { display:block!important; }
.toast { position:fixed;right:20px;bottom:20px;z-index:100;padding:12px 16px;background:#347748;color:#fff; }
.toast.error { background:#a83c42; }

#eposadmin {
  --epos-blue:#2d78b9;
  --epos-blue-dark:#245f93;
  --epos-navy:#2f4054;
  --epos-navy-deep:#263646;
  --epos-bg:#eef1f4;
  --epos-border:#d7dde3;
  --epos-text:#344454;
  --epos-muted:#74818d;
  color:var(--epos-text);
}
#eposadmin .epos-admin-hero { margin:0;padding:18px 24px;border:1px solid var(--epos-border);border-bottom:0;border-radius:7px 7px 0 0;background:#fff;color:var(--epos-text);box-shadow:none; }
#eposadmin .epos-admin-hero h2 { margin:2px 0 3px;color:#263746;font-size:25px;font-weight:600;letter-spacing:-.025em; }
#eposadmin .epos-admin-hero p { color:var(--epos-muted); }
#eposadmin .epos-admin-hero .kicker { color:var(--epos-blue); }
#eposadmin .epos-live-state { border-color:#d7e8dc;background:#f1f8f3;color:#2f6a43; }
#eposadmin .epos-live-state small { color:#698573; }
#eposadmin .epos-suite-shell { grid-template-columns:218px minmax(0,1fr);min-height:720px;border-color:var(--epos-border);border-radius:0 0 7px 7px;background:var(--epos-bg);box-shadow:0 7px 20px rgba(35,51,66,.08); }
#eposadmin .epos-suite-menu { padding:15px 11px 24px;background:var(--epos-navy-deep);color:#d5dde4; }
#eposadmin .epos-suite-id { margin:0 5px 17px;padding:2px 3px 15px;border-color:rgba(255,255,255,.13); }
#eposadmin .epos-suite-id>span { width:38px;height:38px;border-radius:4px;background:#83b43b;color:#fff;font-size:18px;font-weight:800; }
#eposadmin .epos-suite-id strong { color:#fff;font-size:10px; }
#eposadmin .epos-suite-id small { color:#a9b8c5; }
#eposadmin .epos-suite-menu>p { margin:15px 9px 5px;color:#8293a2; }
#eposadmin .epos-suite-menu>button { min-height:36px;border-radius:3px;color:#d2dae1;font-size:10px;font-weight:600; }
#eposadmin .epos-suite-menu>button>span { border-radius:3px;background:rgba(255,255,255,.07);color:#bdc9d3; }
#eposadmin .epos-suite-menu>button:hover { background:#344a5f; }
#eposadmin .epos-suite-menu>button.active { background:var(--epos-blue);box-shadow:none;color:#fff; }
#eposadmin .epos-suite-menu>button.active>span { background:rgba(255,255,255,.17);color:#fff; }
#eposadmin .epos-suite-main { padding:20px 22px 30px;background:var(--epos-bg); }
#eposadmin .epos-suite-toolbar { margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #d4dbe1; }
#eposadmin .epos-suite-toolbar h2 { color:#2f4050;font-size:22px;font-weight:500;letter-spacing:-.02em; }
#eposadmin .epos-suite-toolbar .kicker { color:#778796; }
#eposadmin .surface { border:1px solid var(--epos-border)!important;border-radius:4px!important;background:#fff!important;color:var(--epos-text)!important;box-shadow:0 1px 3px rgba(35,51,66,.05)!important; }
#eposadmin .button { min-height:35px;border:1px solid #c8d0d8!important;border-radius:3px!important;background:#fff!important;color:#415364!important;box-shadow:none!important;font-size:10px!important; }
#eposadmin .button:hover { background:#f4f7f9!important; }
#eposadmin .button.primary { border-color:var(--epos-blue-dark)!important;background:var(--epos-blue)!important;color:#fff!important; }
#eposadmin .text-button { color:var(--epos-blue)!important; }
#eposadmin .epos-report-controls input,#eposadmin .epos-page-actions select,#eposadmin .epos-list-search { border-color:#c8d0d8;border-radius:3px;background:#fff;color:#344454; }
#eposadmin .epos-report-nav { display:flex;gap:0;margin:0 0 16px;border:1px solid #cbd4dc;border-radius:4px;background:#e5eaee;overflow-x:auto; }
#eposadmin .epos-report-nav button { min-height:42px;padding:0 16px;border:0;border-right:1px solid #cbd4dc;background:transparent;color:#566878;font-size:10px;font-weight:750;white-space:nowrap;cursor:pointer; }
#eposadmin .epos-report-nav button:last-child { border-right:0; }
#eposadmin .epos-report-nav button:hover { background:#f4f7f9;color:#2d78b9; }
#eposadmin .epos-report-nav button.active { background:#fff;color:#2d78b9;box-shadow:inset 0 -3px #2d78b9; }
#eposadmin .epos-list-search input { color:#344454; }
#eposadmin .epos-module-grid { display:grid;grid-template-columns:repeat(5,minmax(115px,1fr));gap:7px;margin-bottom:18px; }
#eposadmin .epos-module-tile { position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:112px;padding:13px 8px;border:0;border-radius:3px;color:#fff;cursor:pointer;box-shadow:0 1px 2px rgba(24,38,52,.13);transition:transform .12s ease,filter .12s ease; }
#eposadmin a.epos-module-tile { text-decoration:none; }
#eposadmin .epos-module-tile:hover { filter:brightness(1.05);transform:translateY(-1px); }
#eposadmin .epos-module-tile>span { display:grid;place-items:center;width:42px;height:42px;margin-bottom:8px;border:2px solid rgba(255,255,255,.72);border-radius:50%;font-size:21px;font-weight:400; }
#eposadmin .epos-module-tile>strong { font-size:12px;font-weight:650; }
#eposadmin .epos-module-tile>small { margin-top:3px;color:rgba(255,255,255,.82);font-size:8px; }
#eposadmin .epos-module-tile.products { background:#70ad42; }
#eposadmin .epos-module-tile.reporting { background:#e6963b; }
#eposadmin .epos-module-tile.stock { background:#3bb2be; }
#eposadmin .epos-module-tile.chibra-stock { background:linear-gradient(145deg,#163e49,#227b78); }
#eposadmin .epos-module-tile.promotions { background:#df6265; }
#eposadmin .epos-module-tile.tabs { background:#7e69b1; }
#eposadmin .epos-module-tile.categories { background:#4c93c7; }
#eposadmin .epos-module-tile.modifiers { background:#d6759b; }
#eposadmin .epos-module-tile.suppliers { background:#607f9a; }
#eposadmin .epos-module-tile.team { background:#4e9a87; }
#eposadmin .epos-module-tile.settings { background:#687684; }
#eposadmin .epos-module-tile.loyalty { background:#c64c79; }
#eposadmin .epos-module-tile.bookings { background:#6e69b2; }
#eposadmin .epos-module-tile.selfservice { background:#4d93bd; }
#eposadmin .epos-module-tile.cash { background:#8eb83f; }
#eposadmin .epos-module-tile.integrations { background:#73808d; }
#eposadmin .epos-promotion-days{display:grid;grid-template-columns:repeat(7,minmax(54px,1fr));gap:6px;margin:8px 0 15px}
#eposadmin .epos-promotion-days label{display:flex!important;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:7px!important;border:1px solid #d0d8df;border-radius:4px;background:#fff;color:#4a5c6b!important;font-size:10px!important;font-weight:700;cursor:pointer}
#eposadmin .epos-promotion-days input{width:16px!important;height:16px!important;margin:0!important;accent-color:#2d78b9}
#eposadmin .epos-promotion-days label:has(input:checked){border-color:#78a9ce;background:#edf6fc;color:#245f93!important}
#eposadmin .epos-period-grid { display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:8px;margin-bottom:18px; }
#eposadmin .epos-period-card { min-height:145px;padding:14px!important; }
#eposadmin .epos-period-card>span { display:block;color:#6f7f8d;font-size:9px;font-weight:700;text-transform:uppercase; }
#eposadmin .epos-period-card>strong { display:block;margin:8px 0 2px;color:#2d4051;font-size:22px;font-weight:550; }
#eposadmin .epos-period-card>small { color:#8a97a2;font-size:8px; }
#eposadmin .epos-mini-bars { display:flex;align-items:flex-end;gap:2px;height:43px;margin-top:12px;padding-top:5px;border-top:1px solid #edf0f2; }
#eposadmin .epos-mini-bars i { flex:1;min-width:2px;border-radius:1px 1px 0 0;background:#72a9d0; }
#eposadmin .epos-kpi { border-color:var(--epos-border);border-radius:4px;background:#fff;box-shadow:none; }
#eposadmin .epos-kpi.green:before { background:#72ad45; }
#eposadmin .epos-kpi.amber:before { background:#e49a3e; }
#eposadmin .epos-card-head h3,#eposadmin .epos-product-list-row strong,#eposadmin .epos-category-card h3,#eposadmin .epos-discount-card h3 { color:#2f4050; }
#eposadmin .epos-card-head p:not(.kicker),#eposadmin .epos-page-actions p,#eposadmin .epos-catalogue-summary span,#eposadmin .epos-product-list-head { color:#74818d; }
#eposadmin .epos-page-actions { border-color:var(--epos-border);border-radius:4px;background:#fff; }
#eposadmin .epos-catalogue-categories { display:flex;gap:7px;margin:0 0 12px;padding:11px;border:1px solid var(--epos-border);border-radius:4px;background:#fff;overflow-x:auto; }
#eposadmin .epos-catalogue-categories>button { display:grid;grid-template-columns:38px minmax(78px,1fr);grid-template-rows:auto auto;align-items:center;min-width:145px;padding:8px 10px;border:1px solid #d8dee4;border-radius:3px;background:#f8fafb;color:#415364;text-align:left;cursor:pointer; }
#eposadmin .epos-catalogue-categories>button:hover { border-color:#9dbbd4;background:#f3f8fc; }
#eposadmin .epos-catalogue-categories>button.active { border-color:var(--epos-blue);background:#edf5fb;box-shadow:inset 0 -2px var(--epos-blue); }
#eposadmin .epos-catalogue-categories>button>span { grid-row:1/3;display:grid;place-items:center;width:30px;height:30px;border-radius:3px;background:#e4e9ed;color:#526474;font-size:8px;font-weight:850; }
#eposadmin .epos-catalogue-categories>button>span.green { background:#d8edcb;color:#44782b; }
#eposadmin .epos-catalogue-categories>button>span.amber { background:#fae3bc;color:#8b5d16; }
#eposadmin .epos-catalogue-categories>button>span.berry { background:#f3d4e1;color:#8c4160; }
#eposadmin .epos-catalogue-categories>button>span.blue { background:#d7e8f5;color:#356b93; }
#eposadmin .epos-catalogue-categories>button>span.clay { background:#eadfd7;color:#74533f; }
#eposadmin .epos-catalogue-categories>button>span.orange { background:#f9dec6;color:#94551e; }
#eposadmin .epos-catalogue-categories>button>span.purple { background:#e3dbf1;color:#665086; }
#eposadmin .epos-catalogue-categories strong { font-size:10px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
#eposadmin .epos-catalogue-categories small { color:#8996a2;font-size:8px; }
#eposadmin .epos-product-list-row { border-color:#e4e8ec;color:#465666; }
#eposadmin .epos-product-list-row:nth-child(even) { background:#fafbfc; }
#eposadmin .epos-status { border-radius:3px; }

.epos-editor-dialog { border:1px solid #cfd6dc!important;border-radius:5px!important;background:#f4f6f8!important;color:#344454!important;box-shadow:0 18px 60px rgba(22,36,49,.28)!important; }
.epos-editor-dialog form { background:#f4f6f8!important;color:#344454!important; }
.epos-editor-dialog .dialog-heading { margin:-24px -24px 18px!important;padding:16px 20px!important;border-bottom:1px solid #d4dbe1!important;background:#fff!important; }
.epos-editor-dialog .dialog-heading h2,.epos-editor-dialog .epos-editor-section h3 { color:#2c3e4e!important; }
.epos-editor-dialog .dialog-heading .kicker { color:#2d78b9!important; }
.epos-editor-dialog .epos-editor-section { border-color:#d5dce2!important;border-radius:4px!important;background:#fff!important; }
.epos-editor-dialog label { color:#435465!important; }
.epos-editor-dialog input,.epos-editor-dialog select,.epos-editor-dialog textarea { border-color:#c5ced6!important;border-radius:3px!important;background:#fff!important;color:#263746!important; }
.epos-editor-dialog .epos-modifier-group { border-color:#d5dce2!important;border-radius:3px!important;background:#f7f9fa!important; }
.epos-editor-dialog .epos-editor-section-head p,.epos-editor-dialog .epos-modifier-group small { color:#74818d!important; }
.epos-editor-dialog .epos-promotion-days{display:grid;grid-template-columns:repeat(7,minmax(48px,1fr));gap:6px;margin:8px 0 15px}
.epos-editor-dialog .epos-promotion-days label{display:flex!important;align-items:center!important;justify-content:center;gap:5px;min-height:42px;padding:7px!important;border:1px solid #d0d8df!important;border-radius:4px;background:#fff!important;color:#4a5c6b!important;font-size:10px!important;font-weight:700;cursor:pointer}
.epos-editor-dialog .epos-promotion-days input{width:16px!important;height:16px!important;margin:0!important;accent-color:#2d78b9}
.epos-editor-dialog .epos-promotion-days label:has(input:checked){border-color:#78a9ce!important;background:#edf6fc!important;color:#245f93!important}

.epos-modifier-library-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0 10px}.epos-modifier-library-head strong,.epos-modifier-library-head small{display:block}.epos-modifier-library-head strong{font-size:14px;color:#26343f}.epos-modifier-library-head small{margin-top:3px;color:#72808b;font-size:11px}.epos-modifier-library-head>span{padding:6px 9px;border-radius:999px;background:#e7f0f5;color:#37718f;font-size:10px;font-weight:800}.epos-modifier-library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.epos-modifier-choice{position:relative;display:grid!important;grid-template-columns:20px 1fr 24px;align-items:center;gap:10px;min-height:88px;padding:13px!important;border:1px solid #d1d9de;border-radius:7px;background:#fff;cursor:pointer}.epos-modifier-choice:hover{border-color:#65a5c8;background:#f8fcfe}.epos-modifier-choice:has(input:checked){border-color:#4d9dc8;background:#edf8fd;box-shadow:0 0 0 2px #4d9dc820}.epos-modifier-choice input{width:20px!important;height:20px!important;margin:0!important;accent-color:#2787ba}.epos-modifier-choice span strong,.epos-modifier-choice span small,.epos-modifier-choice span em{display:block}.epos-modifier-choice span strong{color:#22323d;font-size:13px}.epos-modifier-choice span small{margin-top:3px;color:#637480;font-size:10px}.epos-modifier-choice span em{margin-top:7px;overflow:hidden;color:#71808a;font-size:10px;font-style:normal;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.epos-modifier-choice>i{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#dfe7eb;color:transparent;font-style:normal}.epos-modifier-choice:has(input:checked)>i{background:#2d91bf;color:#fff}.epos-modifier-library-empty{grid-column:1/-1;padding:18px;border:1px dashed #bdc8ce;border-radius:7px;background:#f7f9fa}.epos-modifier-library-empty strong,.epos-modifier-library-empty span{display:block}.epos-modifier-library-empty strong{color:#2d3c46;font-size:13px}.epos-modifier-library-empty span{margin-top:5px;color:#73808a;font-size:11px;line-height:1.5}.epos-custom-modifier-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:20px 0 8px;padding-top:16px;border-top:1px solid #d8dfe3}.epos-custom-modifier-head span{color:#384853;font-size:12px;font-weight:800}.epos-custom-modifier-head small{color:#7a8790;font-size:10px}
#epos-template-dialog{width:min(760px,94vw)}#epos-template-dialog .epos-modifier-choice span{min-width:0}#epos-template-dialog .epos-modifier-choice span em{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}#epos-template-dialog .dialog-actions{position:sticky;bottom:-27px;z-index:2;margin:22px -27px -27px!important;padding:14px 27px!important;border-top:1px solid #d1d8de;background:#fff}
@media(max-width:760px){.epos-modifier-library{grid-template-columns:1fr}.epos-custom-modifier-head{align-items:flex-start;flex-direction:column;gap:4px}}
.epos-editor-dialog .epos-editor-tabs { position:sticky;top:0;z-index:3;display:flex;margin:0 0 12px;border:1px solid #ccd4db;border-radius:3px;background:#e9edf1; }
.epos-editor-dialog .epos-editor-tabs button { flex:1;min-height:42px;padding:0 12px;border:0;border-right:1px solid #ccd4db;background:transparent;color:#637383;font-size:10px;font-weight:700;cursor:pointer; }
.epos-editor-dialog .epos-editor-tabs button:last-child { border-right:0; }
.epos-editor-dialog .epos-editor-tabs button.active { background:#fff;color:#2d78b9;box-shadow:inset 0 -3px #2d78b9; }
.epos-editor-dialog [data-epos-editor-panel][hidden] { display:none!important; }
.epos-editor-dialog .button { border:1px solid #c8d0d8!important;border-radius:3px!important;background:#fff!important;color:#415364!important;box-shadow:none!important; }
.epos-editor-dialog .button.primary { border-color:#245f93!important;background:#2d78b9!important;color:#fff!important; }

@media(max-width:1200px){
  #eposadmin .epos-module-grid,#eposadmin .epos-period-grid { grid-template-columns:repeat(3,minmax(120px,1fr)); }
}
@media(max-width:1400px){
  #eposadmin .epos-page-actions { align-items:flex-start;flex-direction:column; }
  #eposadmin .epos-page-actions>div:last-child { width:100%;flex-wrap:wrap;justify-content:flex-end; }
  #eposadmin .epos-list-search { flex:1;min-width:180px; }
  #eposadmin .epos-list-search input { width:100%; }
  #eposadmin .epos-product-list-head,#eposadmin .epos-product-list-row { grid-template-columns:minmax(150px,1.4fr) 80px 60px 75px 55px 45px;gap:8px; }
  #eposadmin .epos-product-list-head>span:nth-child(5),#eposadmin .epos-product-list-row>span:nth-child(5) { display:none; }
}
@media(max-width:760px){
  #eposadmin .epos-admin-hero { border-radius:5px 5px 0 0; }
  #eposadmin .epos-suite-shell { border-radius:0 0 5px 5px; }
  #eposadmin .epos-suite-menu { background:var(--epos-navy-deep); }
  #eposadmin .epos-module-grid { grid-template-columns:repeat(2,minmax(120px,1fr)); }
  #eposadmin .epos-period-grid { grid-template-columns:1fr 1fr; }
}
@media(max-width:460px){
  #eposadmin .epos-module-grid,#eposadmin .epos-period-grid { grid-template-columns:1fr 1fr; }
  #eposadmin .epos-module-tile { min-height:96px; }
}

/* Category-first catalogue and sectioned product editor. */
#eposadmin .epos-product-workspace{display:grid;grid-template-columns:205px minmax(0,1fr);gap:12px;align-items:start}
#eposadmin .epos-product-catalogue{min-width:0}
#eposadmin .epos-product-tree{position:sticky;top:16px;padding:0 0 10px!important;overflow:hidden}
#eposadmin .epos-product-tree>div{padding:15px 15px 11px;border-bottom:1px solid #e0e5e9}
#eposadmin .epos-product-tree h3{margin:3px 0 0;color:#2f4050;font-size:15px}
#eposadmin .epos-product-tree>button{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:44px;padding:6px 11px;border:0;border-bottom:1px solid #edf0f2;background:#fff;color:#536474;text-align:left;cursor:pointer}
#eposadmin .epos-product-tree>button:hover{background:#f2f7fb}
#eposadmin .epos-product-tree>button.active{background:#e9f3fa;color:#246ca4;box-shadow:inset 3px 0 #2d78b9}
#eposadmin .epos-product-tree>button>span{display:grid;place-items:center;width:27px;height:27px;border-radius:3px;background:#e5eaee;font-size:7px;font-weight:900}
#eposadmin .epos-product-tree>button>strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
#eposadmin .epos-product-tree>button>small{color:#8996a1;font-size:8px}
#eposadmin .epos-product-tree>.epos-tree-add{display:flex;justify-content:center;margin:10px 10px 0;width:calc(100% - 20px);border:1px solid #cbd4dc;color:#2d78b9;font-weight:750}

#epos-product-dialog{width:min(1120px,94vw)!important;max-width:1120px!important;padding:0!important;overflow:hidden!important}
#epos-product-dialog form{display:grid!important;grid-template-columns:215px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;max-height:88vh!important;padding:0!important;overflow:hidden!important}
#epos-product-dialog .dialog-heading{grid-column:1/3;margin:0!important;padding:17px 20px!important}
#epos-product-dialog .epos-editor-tabs{grid-column:1;grid-row:2;position:static!important;display:flex!important;flex-direction:column;margin:0!important;border:0!important;border-right:1px solid #ccd4db!important;border-radius:0!important;background:#263b4f!important}
#epos-product-dialog .epos-editor-tabs button{flex:0 0 auto!important;display:grid;grid-template-columns:30px 1fr;align-items:center;min-height:51px!important;padding:0 14px!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.08)!important;background:transparent!important;color:#d4dde4!important;text-align:left}
#epos-product-dialog .epos-editor-tabs button span{color:#7f94a5;font-size:8px;font-weight:900}
#epos-product-dialog .epos-editor-tabs button.active{background:#2d78b9!important;color:#fff!important;box-shadow:inset 3px 0 #83b43b!important}
#epos-product-dialog .epos-editor-tabs button.active span{color:#d6ecfb}
#epos-product-dialog .epos-editor-section{grid-column:2;grid-row:2;margin:0!important;padding:24px 26px!important;border:0!important;border-radius:0!important;overflow:auto}
#epos-product-dialog .dialog-actions{grid-column:1/3;grid-row:3;margin:0!important;padding:12px 18px!important;border-top:1px solid #d1d8de;background:#fff}
.epos-editor-dialog .epos-editor-intro{margin:-4px 0 19px;color:#71818e;font-size:11px;line-height:1.55}
.epos-editor-dialog .epos-gp-preview{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:20px}
.epos-editor-dialog .epos-gp-preview span{padding:14px;border:1px solid #d8e0e5;border-left:3px solid #77ad49;background:#f8fafb}
.epos-editor-dialog .epos-gp-preview span.warn{border-left-color:#e29a3e}
.epos-editor-dialog .epos-gp-preview small,.epos-editor-dialog .epos-gp-preview strong{display:block}
.epos-editor-dialog .epos-gp-preview small{color:#758592;font-size:8px;font-weight:800;text-transform:uppercase}
.epos-editor-dialog .epos-gp-preview strong{margin-top:7px;color:#2c4050;font-size:18px}
.epos-editor-dialog .epos-linked-workflow{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:14px;padding:18px;border:1px solid #d5dde3;background:#f8fafb}
.epos-editor-dialog .epos-linked-workflow>span{display:grid;place-items:center;width:50px;height:50px;border-radius:50%;background:#e3f0f8;color:#2d78b9;font-size:22px}
.epos-editor-dialog .epos-linked-workflow strong,.epos-editor-dialog .epos-linked-workflow small{display:block}
.epos-editor-dialog .epos-linked-workflow small{margin-top:5px;color:#768592}
@media(max-width:900px){#eposadmin .epos-product-workspace{grid-template-columns:1fr}#eposadmin .epos-product-tree{position:static;display:flex;overflow-x:auto}#eposadmin .epos-product-tree>div{display:none}#eposadmin .epos-product-tree>button{min-width:150px;border-right:1px solid #e4e8ec}#epos-product-dialog form{grid-template-columns:1fr;grid-template-rows:auto auto minmax(0,1fr) auto}#epos-product-dialog .dialog-heading,#epos-product-dialog .dialog-actions{grid-column:1}#epos-product-dialog .epos-editor-tabs{grid-column:1;grid-row:2;flex-direction:row;overflow-x:auto;border-right:0!important;border-bottom:1px solid #ccd4db!important}#epos-product-dialog .epos-editor-tabs button{min-width:145px}#epos-product-dialog .epos-editor-section{grid-column:1;grid-row:3}.epos-editor-dialog .epos-gp-preview{grid-template-columns:1fr 1fr}}

#eposadmin .epos-action-stack{display:grid;gap:9px;margin-top:22px}#eposadmin .epos-action-stack .button{min-height:42px;display:flex;align-items:center;justify-content:center;text-decoration:none}#eposadmin .epos-margin{display:inline-flex;min-width:58px;justify-content:center;padding:5px 8px;border-radius:3px;background:#e4f4e7;color:#247442;font-weight:800}#eposadmin .epos-margin.warn{background:#fff0d8;color:#9a651c}#eposadmin .epos-integration-grid{display:grid;grid-template-columns:repeat(2,minmax(240px,1fr));gap:12px}#eposadmin .epos-integration-card{min-height:190px;padding:20px;border-top:4px solid #45a8cb}#eposadmin .epos-integration-card>div{display:flex;align-items:center;gap:7px;color:#55816b;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}#eposadmin .epos-connection-dot{width:8px;height:8px;border-radius:50%;background:#64b86f;box-shadow:0 0 0 4px #64b86f22}#eposadmin .epos-integration-card>strong{display:block;margin-top:22px;color:#25384a;font-size:20px}#eposadmin .epos-integration-card>p{min-height:42px;color:#70808f;font-size:12px;line-height:1.55}#eposadmin .epos-integration-card>.button{display:inline-flex;align-items:center;text-decoration:none}#eposadmin .epos-help-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px;padding:24px 26px;border-radius:4px;background:linear-gradient(125deg,#152c45,#27567c);color:#fff}#eposadmin .epos-help-hero h3{margin:4px 0 6px;font-size:25px}#eposadmin .epos-help-hero p{margin:0;color:#b8ccdc}#eposadmin .epos-help-hero .button{white-space:nowrap;text-decoration:none}#eposadmin .epos-help-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:12px}#eposadmin .epos-help-card{min-height:190px;padding:20px;border:1px solid #d9e0e6;text-align:left;cursor:pointer}#eposadmin .epos-help-card>span{display:block;color:#43a7ca;font-size:12px;font-weight:900;letter-spacing:.12em}#eposadmin .epos-help-card>strong{display:block;margin-top:18px;color:#26394a;font-size:17px}#eposadmin .epos-help-card>p{min-height:48px;color:#71818e;font-size:12px;line-height:1.5}#eposadmin .epos-help-card>small{color:#2c7bb8;font-weight:800}
@media(max-width:900px){#eposadmin .epos-integration-grid,#eposadmin .epos-help-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){#eposadmin .epos-integration-grid,#eposadmin .epos-help-grid{grid-template-columns:1fr}#eposadmin .epos-help-hero{align-items:flex-start;flex-direction:column}}
#eposadmin .epos-row-actions{display:flex;gap:5px;white-space:nowrap}#eposadmin .epos-row-actions .button{padding:6px 8px;font-size:9px}#eposadmin .button.danger,.epos-editor-dialog .button.danger{border-color:#b95357!important;background:#fff3f3!important;color:#a23d43!important}
.epos-dynamic-lines{display:grid;gap:8px;margin:12px 0 18px}.epos-dynamic-line{display:grid;grid-template-columns:minmax(210px,1fr) 120px 100px auto;align-items:end;gap:8px;padding:10px;border:1px solid #d8dfe5;border-radius:4px;background:#f6f8fa}.epos-dynamic-line label{margin:0!important}.epos-stocktake-lines{display:grid;grid-template-columns:1fr 1fr;gap:7px;max-height:55vh;margin:14px 0;padding:4px;overflow:auto}.epos-stocktake-line{display:flex!important;align-items:center;justify-content:space-between;gap:12px;margin:0!important;padding:9px 11px;border:1px solid #dbe1e6;border-radius:3px;background:#f7f9fa}.epos-stocktake-line span strong,.epos-stocktake-line span small{display:block}.epos-stocktake-line span small{margin-top:3px;color:#788793}.epos-stocktake-line input{width:110px!important;margin:0!important}@media(max-width:760px){.epos-dynamic-line{grid-template-columns:1fr 1fr}.epos-stocktake-lines{grid-template-columns:1fr}}
#eposadmin .epos-floor-canvas{position:relative;min-height:560px;overflow:hidden;border:1px solid #d9e1e5;background-color:#edf2f3;background-image:linear-gradient(#dfe6e8 1px,transparent 1px),linear-gradient(90deg,#dfe6e8 1px,transparent 1px);background-size:28px 28px}#eposadmin .epos-floor-table{position:absolute;z-index:1;width:150px;min-height:76px;padding:12px;border:2px solid #8bb75a;background:#f7fff0;color:#263339;box-shadow:0 5px 14px #24343c1a;text-align:left}#eposadmin .epos-floor-table strong,#eposadmin .epos-floor-table small{display:block}#eposadmin .epos-floor-table strong{font-size:15px}#eposadmin .epos-floor-table small{margin-top:8px;color:#708087;font-size:11px}#eposadmin .epos-floor-table.occupied{border-color:#e18d3c;background:#fff5e8}#eposadmin .epos-floor-table.occupied:before{content:"SEATED";position:absolute;right:7px;top:7px;color:#b76016;font-size:8px;font-weight:900}#eposadmin .epos-kitchen-board{display:grid;grid-template-columns:repeat(3,minmax(230px,1fr));gap:14px;align-items:start}#eposadmin .epos-kitchen-ticket{border:1px solid #d6dfe2;border-top:5px solid #eb9a3a;background:#fff;box-shadow:0 7px 20px #25343c12}#eposadmin .epos-kitchen-ticket.preparing{border-top-color:#3686bc}#eposadmin .epos-kitchen-ticket.ready{border-top-color:#75ad43}#eposadmin .epos-kitchen-ticket header,#eposadmin .epos-kitchen-ticket footer{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;background:#f5f7f7}#eposadmin .epos-kitchen-ticket header span,#eposadmin .epos-kitchen-ticket header strong{display:block}#eposadmin .epos-kitchen-ticket header span{color:#7c8a90;font-size:9px;font-weight:900;text-transform:uppercase}#eposadmin .epos-kitchen-ticket header strong{margin-top:4px;font-size:16px}#eposadmin .epos-kitchen-ticket>div{padding:7px 14px}#eposadmin .epos-kitchen-ticket p{display:flex;gap:10px;margin:0;padding:11px 0;border-bottom:1px solid #edf0f1}#eposadmin .epos-kitchen-ticket p>b{min-width:28px;font-size:15px}#eposadmin .epos-kitchen-ticket p span,#eposadmin .epos-kitchen-ticket p small{display:block}#eposadmin .epos-kitchen-ticket p small{margin-top:4px;color:#77868c}#eposadmin .epos-kitchen-ticket footer span{font-size:10px;font-weight:900;text-transform:uppercase}#eposadmin .epos-kitchen-ticket footer button{padding:8px 15px;border:0;background:#307db2;color:#fff;font-weight:800}#eposadmin .epos-kitchen-ticket.ready footer button{background:#68a239}@media(max-width:1000px){#eposadmin .epos-kitchen-board{grid-template-columns:repeat(2,minmax(220px,1fr))}#eposadmin .epos-floor-canvas{min-height:480px}}
#eposadmin .epos-floor-table.shape-round{border-radius:50%;place-content:center;text-align:center}#eposadmin .epos-floor-table.shape-square{aspect-ratio:1}#eposadmin .epos-floor-table.shape-bar{border-color:#49728d;background:#eaf5fb}#eposadmin .epos-floor-table.shape-rectangle{border-radius:8px}
#eposadmin .epos-floor-area-tabs{display:flex;gap:7px;margin:0 0 14px;overflow-x:auto}#eposadmin .epos-floor-area-tabs .button{min-width:120px;white-space:nowrap}

/* 2026-08 owner back-office readability and layout pass. */
html{scroll-behavior:auto}
body{font-size:14px;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.standalone-top{position:sticky;top:0;z-index:60;height:64px;padding:0 clamp(16px,2vw,30px);box-shadow:0 1px 0 rgba(255,255,255,.08)}
.standalone-top b:first-child{width:38px;height:38px;border-radius:7px;font-size:18px}
.standalone-top strong{font-size:13px;letter-spacing:.015em}.standalone-top small{margin-top:2px;font-size:9px;letter-spacing:.08em}
.standalone-top nav{gap:9px}.standalone-top nav>span{max-width:220px;overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.standalone-top .admin-session{display:grid;min-width:190px;max-width:280px!important;padding:5px 13px;border-left:1px solid #526474;line-height:1.15;white-space:normal!important}
.standalone-top .admin-session>small{color:#9fb0bd;font-size:8px;font-style:normal;letter-spacing:.12em}
.standalone-top .admin-session>strong{margin-top:2px;overflow:hidden;color:#fff;font-size:13px;text-overflow:ellipsis;white-space:nowrap}
.standalone-top .admin-session>em{margin-top:3px;overflow:hidden;color:#aebbc6;font-size:9px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.standalone-top .admin-session>em b{display:inline;width:auto;height:auto;background:none;color:#dfe7ec;font-size:inherit}
.standalone-top a,.standalone-top button{min-height:40px;padding:10px 14px;border-radius:5px;font-size:12px;font-weight:650}
.standalone-main{max-width:1920px;padding:clamp(14px,1.6vw,26px)}

#eposadmin .epos-admin-hero{padding:23px 28px}
#eposadmin .epos-admin-hero h2{font-size:28px;font-weight:650}
#eposadmin .epos-admin-hero p:not(.kicker){font-size:13px;line-height:1.5}
#eposadmin .epos-admin-hero .kicker,#eposadmin .kicker{font-size:10px!important;line-height:1.4}
#eposadmin .epos-live-state{min-width:185px;padding:11px 14px}
#eposadmin .epos-live-state span{font-size:12px}#eposadmin .epos-live-state small{margin-top:3px;font-size:9px}
#eposadmin .epos-suite-shell{grid-template-columns:248px minmax(0,1fr);align-items:start;min-height:calc(100vh - 128px)}
#eposadmin .epos-suite-menu{position:sticky;top:64px;align-self:start;max-height:calc(100vh - 64px);padding:18px 13px 28px;overflow-x:hidden;overflow-y:auto;scrollbar-color:#5d7184 transparent;scrollbar-width:thin}
#eposadmin .epos-menu-group{margin:6px 0;border:0}
#eposadmin .epos-menu-group>summary{display:grid;grid-template-columns:28px 1fr 16px;align-items:center;min-height:43px;padding:0 8px;border-radius:5px;color:#e2e8ed;font-size:12px;font-weight:700;list-style:none;cursor:pointer;user-select:none}
#eposadmin .epos-menu-group>summary::-webkit-details-marker{display:none}
#eposadmin .epos-menu-group>summary:hover{background:#344a5f}
#eposadmin .epos-menu-group>summary>span{display:grid;place-items:center;width:25px;height:25px;border-radius:4px;background:rgba(255,255,255,.08);color:#c9d4dc}
#eposadmin .epos-menu-group>summary>b{color:#8394a2;font-size:10px;text-align:center;transition:transform .15s ease}
#eposadmin .epos-menu-group[open]>summary{background:#31475b;color:#fff}
#eposadmin .epos-menu-group[open]>summary>b{transform:rotate(180deg)}
#eposadmin .epos-menu-group>div{display:grid;gap:2px;margin:3px 0 8px;padding-left:12px;border-left:1px solid rgba(255,255,255,.11)}
#eposadmin .epos-menu-group button{display:grid;grid-template-columns:25px 1fr;align-items:center;min-height:38px;padding:0 9px;border:0;border-radius:4px;background:transparent;color:#bdc8d1;font:inherit;font-size:11px;text-align:left;cursor:pointer}
#eposadmin .epos-menu-group button>span{display:grid;place-items:center;width:22px;height:22px;border-radius:3px;color:#93a6b5;font-size:10px}
#eposadmin .epos-menu-group button:hover{background:#344a5f;color:#fff}
#eposadmin .epos-menu-group button.active{background:var(--epos-blue);color:#fff}
#eposadmin .epos-menu-group button.active>span{color:#fff}
#eposadmin .epos-suite-id{margin-bottom:19px;padding-bottom:17px}
#eposadmin .epos-suite-id>span{width:42px;height:42px;border-radius:6px;font-size:20px}
#eposadmin .epos-suite-id strong{font-size:12px}#eposadmin .epos-suite-id small{font-size:8px}
#eposadmin .epos-suite-menu>p{margin:18px 10px 7px;font-size:9px;line-height:1.3}
#eposadmin .epos-suite-menu>button{min-height:42px;padding:0 10px;border-radius:5px;font-size:12px;line-height:1.2}
#eposadmin .epos-suite-menu>button>span{width:25px;height:25px;font-size:12px}
#eposadmin .epos-suite-main{min-height:calc(100vh - 128px);padding:25px 27px 36px}
#eposadmin .epos-suite-toolbar{min-height:59px;margin-bottom:19px;padding-bottom:15px}
#eposadmin .epos-suite-toolbar h2{font-size:27px;font-weight:620}

#eposadmin .button{min-height:40px;padding:9px 13px!important;border-radius:5px!important;font-size:12px!important;line-height:1.25}
#eposadmin .text-button{min-height:36px;font-size:12px!important}
#eposadmin .epos-report-controls{gap:9px}#eposadmin .epos-report-controls label{font-size:10px}
#eposadmin .epos-report-controls input{height:40px;min-width:126px;font-size:12px}
#eposadmin .epos-report-nav button{min-height:46px;padding:0 19px;font-size:12px}

#eposadmin .epos-module-grid{gap:10px;margin-bottom:24px}
#eposadmin .epos-module-tile{min-height:126px;padding:16px 10px;border-radius:5px}
#eposadmin .epos-module-tile>span{width:45px;height:45px;margin-bottom:10px;font-size:22px}
#eposadmin .epos-module-tile>strong{font-size:14px}#eposadmin .epos-module-tile>small{margin-top:5px;font-size:10px;line-height:1.3}
#eposadmin .epos-period-grid{gap:10px;margin-bottom:22px}
#eposadmin .epos-period-card{min-height:158px;padding:17px!important}
#eposadmin .epos-period-card>span{font-size:10px}#eposadmin .epos-period-card>strong{font-size:26px}#eposadmin .epos-period-card>small{font-size:10px}
#eposadmin .epos-kpi{min-height:126px;padding:20px}
#eposadmin .epos-kpi span{font-size:10px}#eposadmin .epos-kpi strong{font-size:29px}#eposadmin .epos-kpi small{font-size:10px;line-height:1.35}
#eposadmin .epos-pro-card{padding:22px}
#eposadmin .epos-card-head{margin-bottom:19px}
#eposadmin .epos-card-head h3{font-size:19px}#eposadmin .epos-card-head p:not(.kicker){font-size:12px;line-height:1.5}
#eposadmin .epos-mini-row,#eposadmin .epos-ranked-row{padding:13px 0}
#eposadmin .epos-mini-row div strong,#eposadmin .epos-ranked-row div strong{font-size:13px}
#eposadmin .epos-mini-row div small,#eposadmin .epos-ranked-row div small{font-size:10px}
#eposadmin .epos-mini-row>b,#eposadmin .epos-ranked-row>b{font-size:13px}
#eposadmin .epos-ranked-row>span{width:29px;height:29px;font-size:11px}
#eposadmin .epos-horizontal-chart>div{grid-template-columns:130px minmax(100px,1fr) 78px;font-size:11px}
#eposadmin .epos-report-line{grid-template-columns:minmax(0,1fr) 105px 90px;padding:13px 0;font-size:12px}

#eposadmin .epos-page-actions{gap:18px;margin-bottom:17px;padding:16px 18px}
#eposadmin .epos-page-actions p{font-size:12px;line-height:1.5}
#eposadmin .epos-catalogue-summary span{font-size:10px}#eposadmin .epos-catalogue-summary b{font-size:20px}
#eposadmin .epos-list-search{min-height:42px;padding:0 11px}#eposadmin .epos-list-search input{width:220px;font-size:12px}
#eposadmin .epos-page-actions select{min-height:42px;padding:0 11px;font-size:12px}

#eposadmin .table-wrap{max-width:100%;overflow:auto}
#eposadmin .epos-pro-card>.table-wrap{max-height:68vh}
#eposadmin table{min-width:720px;font-size:12px}
#eposadmin th{position:sticky;top:0;z-index:2;padding:12px;background:#f4f6f8;color:#667584;font-size:10px;line-height:1.25}
#eposadmin td{padding:14px 12px;line-height:1.45}
#eposadmin .epos-table-sub{margin-top:4px;font-size:10px;line-height:1.35}
#eposadmin .epos-status{gap:6px;padding:6px 9px;font-size:10px}

#eposadmin .epos-product-workspace{grid-template-columns:235px minmax(0,1fr);gap:15px}
#eposadmin .epos-product-tree{top:80px}
#eposadmin .epos-product-tree>div{padding:18px 16px 14px}#eposadmin .epos-product-tree h3{font-size:17px}
#eposadmin .epos-product-tree>button{grid-template-columns:34px minmax(0,1fr) auto;min-height:49px;padding:7px 12px}
#eposadmin .epos-product-tree>button>span{width:31px;height:31px;font-size:8px}
#eposadmin .epos-product-tree>button>strong{font-size:12px}#eposadmin .epos-product-tree>button>small{font-size:10px}
#eposadmin .epos-product-list-head,#eposadmin .epos-product-list-row{grid-template-columns:minmax(220px,1.5fr) minmax(105px,.8fr) 82px 110px 80px 86px 68px;gap:11px}
#eposadmin .epos-product-list-head{padding:12px 8px;font-size:10px}
#eposadmin .epos-product-list-row{min-height:70px;padding:10px 8px;font-size:12px}
#eposadmin .epos-product-list-row small{font-size:10px}
#eposadmin .epos-product-swatch{width:39px;height:39px;font-size:10px}
#eposadmin #epos-professional-product-list{max-height:calc(100vh - 320px);min-height:320px;overflow:auto;overscroll-behavior:contain}
#eposadmin .epos-modifier-list{max-height:68vh;overflow:auto;overscroll-behavior:contain}
#eposadmin .epos-modifier-summary{padding:16px 4px}
#eposadmin .epos-modifier-summary strong{font-size:13px}#eposadmin .epos-modifier-summary small{font-size:10px}#eposadmin .epos-modifier-summary p{font-size:11px;line-height:1.45}

#eposadmin .epos-category-card,#eposadmin .epos-discount-card{padding:20px}
#eposadmin .epos-category-card h3,#eposadmin .epos-discount-card h3{font-size:16px}
#eposadmin .epos-category-card p,#eposadmin .epos-discount-card p{font-size:11px;line-height:1.4}
#eposadmin .epos-supplier-card{padding:21px}#eposadmin .epos-supplier-card h3{font-size:16px}
#eposadmin .epos-supplier-card p,#eposadmin .epos-supplier-card a,#eposadmin .epos-supplier-card small{font-size:11px;line-height:1.4}
#eposadmin .epos-pro-empty strong{font-size:13px}#eposadmin .epos-pro-empty p{font-size:11px}

/* Keep every management form light, readable and consistent despite the shared portal theme. */
#eposadmin .form-grid label,#eposadmin .epos-settings-grid label{color:#405263!important;font-size:11px!important;line-height:1.35}
#eposadmin .form-grid input,#eposadmin .form-grid select,#eposadmin .form-grid textarea,#eposadmin .epos-settings-grid input,#eposadmin .epos-settings-grid select,#eposadmin .epos-settings-grid textarea{min-height:44px;padding:10px 12px;border:1px solid #c7d0d8!important;border-radius:5px!important;background:#fff!important;color:#263746!important;font-size:12px!important;line-height:1.4}
#eposadmin .form-grid textarea,#eposadmin .epos-settings-grid textarea{min-height:92px;resize:vertical}
#eposadmin .inline-check,#eposadmin .epos-setting-toggle{min-height:48px;padding:12px!important;border:1px solid #d5dde3!important;border-radius:5px!important;background:#f5f8fa!important;color:#34485a!important;font-size:12px!important}
#eposadmin .inline-check input,#eposadmin .epos-setting-toggle input{width:18px!important;height:18px!important;min-height:0;margin:0!important;accent-color:var(--epos-blue)}
#eposadmin .epos-setting-toggle span strong{font-size:12px}#eposadmin .epos-setting-toggle span small{font-size:10px;line-height:1.4}
#eposadmin .epos-system-grid strong{font-size:11px}#eposadmin .epos-system-grid small{font-size:9px;line-height:1.35}

.epos-editor-dialog form{color:#344454!important}
.epos-editor-dialog label{font-size:11px!important;line-height:1.35}
.epos-editor-dialog input,.epos-editor-dialog select,.epos-editor-dialog textarea{min-height:44px;padding:10px 12px!important;font-size:12px!important;line-height:1.4}
.epos-editor-dialog textarea{min-height:86px;resize:vertical}
.epos-editor-dialog .inline-check{min-height:48px;padding:12px!important;border:1px solid #d5dde3!important;border-radius:5px!important;background:#f5f8fa!important;color:#34485a!important}
.epos-editor-dialog .inline-check input{width:18px!important;height:18px!important;min-height:0;margin:0!important;accent-color:#2d78b9}
.epos-editor-dialog .epos-editor-section h3{font-size:17px!important}
.epos-editor-dialog .epos-editor-intro{font-size:12px;line-height:1.55}
#epos-product-dialog .epos-editor-tabs button{min-height:56px!important;font-size:12px!important}
#epos-product-dialog .epos-editor-tabs button span{font-size:9px}
.epos-editor-dialog .epos-gp-preview small{font-size:9px}.epos-editor-dialog .epos-gp-preview strong{font-size:20px}

@media(max-width:1400px){
  #eposadmin .epos-suite-shell{grid-template-columns:220px minmax(0,1fr)}
  #eposadmin .epos-suite-main{padding:22px}
  #eposadmin .epos-module-grid,#eposadmin .epos-period-grid{grid-template-columns:repeat(3,minmax(145px,1fr))}
  #eposadmin .epos-product-list-head,#eposadmin .epos-product-list-row{grid-template-columns:minmax(180px,1.4fr) 95px 74px 98px 76px 64px}
}
@media(max-width:900px){
  .standalone-top nav>span{display:none}
  #eposadmin .epos-suite-shell{display:block}
  #eposadmin .epos-suite-menu{position:relative;top:auto;z-index:20;display:flex;gap:7px;max-height:none;padding:10px;overflow-x:auto;overflow-y:hidden}
  #eposadmin .epos-suite-id,#eposadmin .epos-suite-menu>p{display:none}
  #eposadmin .epos-suite-menu>button{width:auto;min-width:max-content;padding:0 13px}
  #eposadmin .epos-menu-group{display:contents}
  #eposadmin .epos-menu-group>summary{display:none}
  #eposadmin .epos-menu-group>div{display:flex;gap:7px;margin:0;padding:0;border:0}
  #eposadmin .epos-menu-group button{min-width:max-content;padding:0 12px}
  #eposadmin .epos-promotion-days{grid-template-columns:repeat(4,1fr)}
  #eposadmin .epos-suite-main{padding:18px}
  #eposadmin .epos-product-tree{top:126px}
  #eposadmin .epos-category-grid,#eposadmin .epos-discount-grid,#eposadmin .epos-supplier-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){.epos-editor-dialog .epos-promotion-days{grid-template-columns:repeat(4,1fr)}}
@media(max-width:640px){
  .standalone-top{height:auto;min-height:64px;align-items:flex-start;gap:10px;padding:10px 12px}
  .standalone-top nav{flex-wrap:wrap;justify-content:flex-end}.standalone-top a,.standalone-top button{min-height:36px;padding:8px 10px;font-size:11px}
  .standalone-main{padding:8px}
  #eposadmin .epos-suite-menu{top:auto}
  #eposadmin .epos-suite-main{padding:14px 12px 24px}
  #eposadmin .epos-module-grid,#eposadmin .epos-period-grid,#eposadmin .epos-kpi-grid,#eposadmin .epos-category-grid,#eposadmin .epos-discount-grid,#eposadmin .epos-supplier-grid{grid-template-columns:1fr}
  #eposadmin .epos-page-actions>div:last-child{align-items:stretch;flex-direction:column}
  #eposadmin .epos-list-search,#eposadmin .epos-page-actions select,#eposadmin .epos-page-actions .button{width:100%}
  #eposadmin .epos-product-list-row{grid-template-columns:minmax(0,1fr) 76px}
  #eposadmin .epos-product-list-row>span,#eposadmin .epos-product-list-row>b{display:none!important}
  #eposadmin .epos-report-controls>*{min-width:calc(50% - 5px)}
}

/* 2026-08 high-contrast owner Back Office pass.
   The shared customer-portal theme is dark and sets tables to pale text.
   Back Office uses light work surfaces, so all operational copy is reset here. */
body.portal-owner{color:#263746}
#eposadmin{
  --epos-text:#263746;
  --epos-muted:#536575;
  --epos-subtle:#667786;
  color:#263746;
  font-size:14px;
  line-height:1.45;
}
#eposadmin .epos-suite-main,
#eposadmin #epos-admin-content,
#eposadmin .surface,
#eposadmin .epos-pro-card,
#eposadmin .table-wrap,
#eposadmin table,
#eposadmin tbody,
#eposadmin tr,
#eposadmin td{color:#263746}
#eposadmin table{font-size:13px}
#eposadmin th{
  padding:13px 12px;
  background:#edf1f4;
  color:#405465;
  font-size:11px;
  font-weight:800;
  letter-spacing:.055em;
}
#eposadmin td{
  padding:14px 12px;
  border-bottom-color:#d7dee4;
  font-size:13px;
  line-height:1.5;
}
#eposadmin tbody tr:nth-child(even){background:#f8fafb}
#eposadmin tbody tr:hover{background:#eef5fa}
#eposadmin td strong{color:#1f3344;font-weight:700}
#eposadmin td small,
#eposadmin .epos-table-sub{color:#586b7a;font-size:11px;line-height:1.45}
#eposadmin .epos-card-head p:not(.kicker),
#eposadmin .epos-page-actions p,
#eposadmin .epos-catalogue-summary span,
#eposadmin .epos-admin-hero p,
#eposadmin .muted{color:#536575}
#eposadmin .epos-card-head p:not(.kicker),
#eposadmin .epos-page-actions p{font-size:13px}
#eposadmin .epos-status{font-size:11px;font-weight:750}

#eposadmin .epos-menu-group>summary{
  min-height:46px;
  color:#edf3f7;
  font-size:13px;
}
#eposadmin .epos-menu-group button{
  min-height:42px;
  color:#d7e1e8;
  font-size:12px;
  font-weight:600;
  line-height:1.25;
}
#eposadmin .epos-menu-group button>span{color:#b8c8d4;font-size:11px}
#eposadmin .epos-suite-menu>button{font-size:13px}
#eposadmin .epos-suite-menu>p{color:#a9bac7;font-size:10px;font-weight:800}
#eposadmin .epos-suite-id strong{font-size:13px}
#eposadmin .epos-suite-id small{color:#c1ced7;font-size:9px}

#eposadmin .button,
#eposadmin .text-button,
#eposadmin .epos-report-nav button{font-size:13px!important}
#eposadmin .epos-report-nav button{color:#405465;font-weight:750}
#eposadmin .epos-report-nav button.active{color:#1f6da7}
#eposadmin .epos-report-controls label,
#eposadmin .form-grid label,
#eposadmin .epos-settings-grid label{color:#354b5d!important;font-size:12px!important}
#eposadmin .epos-report-controls input,
#eposadmin .epos-page-actions select,
#eposadmin .epos-list-search input,
#eposadmin .form-grid input,
#eposadmin .form-grid select,
#eposadmin .form-grid textarea,
#eposadmin .epos-settings-grid input,
#eposadmin .epos-settings-grid select,
#eposadmin .epos-settings-grid textarea{color:#1f3344!important;font-size:13px!important}
#eposadmin input::placeholder,
#eposadmin textarea::placeholder{color:#748391;opacity:1}

#eposadmin .epos-product-list-head{color:#405465;font-size:11px;font-weight:800}
#eposadmin .epos-product-list-row{color:#263746;font-size:13px}
#eposadmin .epos-product-list-row small{color:#586b7a;font-size:11px}
#eposadmin .epos-product-tree>button>strong{font-size:13px}
#eposadmin .epos-product-tree>button>small{color:#5f7180;font-size:11px}
#eposadmin .epos-category-card p,
#eposadmin .epos-discount-card p,
#eposadmin .epos-supplier-card p,
#eposadmin .epos-supplier-card a,
#eposadmin .epos-supplier-card small,
#eposadmin .epos-pro-empty p{color:#536575;font-size:12px;line-height:1.5}

.epos-editor-dialog{font-size:14px;line-height:1.45}
.epos-editor-dialog p,
.epos-editor-dialog small{color:#536575}
.epos-editor-dialog label{color:#354b5d!important;font-size:12px!important}
.epos-editor-dialog input,
.epos-editor-dialog select,
.epos-editor-dialog textarea{color:#1f3344!important;font-size:13px!important}
.epos-editor-dialog .epos-editor-tabs button{color:#435869;font-size:12px;font-weight:750}
.epos-editor-dialog .button{font-size:13px!important}

@media(max-width:900px){
  #eposadmin .epos-menu-group button{font-size:13px}
}
