/*! ພັດທະນາໂດຍ ບໍລິສັດຮ່ວມພັດທະນາ Atphosting24 ຈຳກັດ ແລະ ICOM */
/* Personal screen designs and appearance modes are independent. */
html[data-ui-theme="vss"] {
    --ui-bg:#faf6f2;--ui-surface:#fff;--ui-raised:#fff4eb;--ui-hover:#ffead8;
    --ui-text:#302820;--ui-muted:#796353;--ui-line:#eaded4;--ui-accent:#b53a08;--ui-primary:#c2410c;--ui-on-primary:#fff;
    --ui-hero:#ffead8;--ui-hero-end:#fff8f2;
    --vss-rail:#9a3412;--vss-rail-text:#fff7ed;--vss-rail-muted:#fed7aa;--vss-rail-hover:#b33e12;
    --vss-rail-active:#fff7ed;--vss-rail-active-text:#9a3412;
}
html[data-ui-theme="vss"][data-theme="dark"] {
    --ui-bg:#181513;--ui-surface:#241e1a;--ui-raised:#30261f;--ui-hover:#442d1e;
    --ui-text:#fff3e9;--ui-muted:#d0b8a5;--ui-line:#534034;--ui-accent:#ffb67a;--ui-primary:#ffad66;--ui-on-primary:#321a0a;
    --ui-hero:#452b1b;--ui-hero-end:#2b211a;
    --vss-rail:#201914;--vss-rail-text:#fff3e9;--vss-rail-muted:#e2c0a4;--vss-rail-hover:#3c281b;
    --vss-rail-active:#ffad66;--vss-rail-active-text:#321a0a;
}
html[data-ui-theme="vss"][data-theme="warm"] {
    --ui-bg:#f7ede0;--ui-surface:#fffbf5;--ui-raised:#f8e9d8;--ui-hover:#f9dfc6;
    --ui-text:#473022;--ui-muted:#7c5c45;--ui-line:#e4cfba;--ui-accent:#a53509;--ui-primary:#b83b0c;
    --ui-hero:#f9dfc6;--ui-hero-end:#fff3e4;
}
html[data-ui-theme="v1"] {
    --ui-bg:#edf3fc;--ui-surface:#fafdff;--ui-raised:#e9f0fb;--ui-hover:#dce9ff;
    --ui-text:#192f52;--ui-muted:#5b6e89;--ui-line:#cad9ed;--ui-accent:#235eb6;--ui-primary:#2469dc;--ui-on-primary:#fff;
    --ui-hero:#dce9fb;--ui-hero-end:#f0f6ff;--desktop-backdrop:linear-gradient(135deg,#bdd4f0,#e5eefb 55%,#a9c9ec);
}
html[data-ui-theme="v1"][data-theme="dark"] {
    --ui-bg:#142137;--ui-surface:#1c2c43;--ui-raised:#253952;--ui-hover:#304967;
    --ui-text:#eaf2ff;--ui-muted:#b0c3dc;--ui-line:#3d5575;--ui-accent:#a9cbff;--ui-primary:#9ac4ff;--ui-on-primary:#152c4e;
    --ui-hero:#263e5f;--ui-hero-end:#1b2b44;--desktop-backdrop:linear-gradient(135deg,#111a2c,#293f5d 60%,#14243b);
}
html[data-ui-theme="v1"][data-theme="warm"] {--ui-bg:#f4efe7;--ui-surface:#fffcf6;--ui-raised:#ede9df;--ui-hover:#e3e9f0;--ui-text:#354155;--ui-muted:#696e75;--ui-line:#d9d8d2;--ui-hero:#e4e7e8;--ui-hero-end:#f8f4ed;--desktop-backdrop:linear-gradient(135deg,#cfd8df,#eee8df 60%,#bbcdda);}
html[data-ui-theme="v2"] {
    --ui-bg:#f5f6f8;--ui-surface:#fff;--ui-raised:#f0f2f5;--ui-hover:#fff0e5;
    --ui-text:#1d2940;--ui-muted:#5f697b;--ui-line:#dce1e9;--ui-accent:#b93d12;--ui-primary:#c74310;--ui-on-primary:#fff;
    --ui-hero:#fff0df;--ui-hero-end:#fff8f1;
}
html[data-ui-theme="v2"][data-theme="dark"] {
    --ui-bg:#211e1c;--ui-surface:#2c2622;--ui-raised:#382f29;--ui-hover:#4a3426;
    --ui-text:#fff1e6;--ui-muted:#ceb9a9;--ui-line:#5b483a;--ui-accent:#ffb984;--ui-primary:#ffb984;--ui-on-primary:#38200f;
    --ui-hero:#493121;--ui-hero-end:#2f271f;
}
html[data-ui-theme="v2"][data-theme="warm"] {--ui-bg:#f8eee1;--ui-surface:#fffbf5;--ui-raised:#f1e5d6;--ui-hover:#f9e0c6;--ui-text:#443328;--ui-muted:#75604e;--ui-line:#e3cfba;--ui-hero:#f2ddc3;--ui-hero-end:#fbf1e3;}
html[data-ui-theme="v3"] {--ui-bg:#f1f6f3;--ui-surface:#fff;--ui-raised:#f0f6f2;--ui-hover:#e0f3e8;--ui-text:#163c30;--ui-muted:#587568;--ui-line:#dce8e1;--ui-accent:#0d7650;--ui-primary:#0b7a52;--ui-on-primary:#fff;--ui-hero:#dfefe3;--ui-hero-end:#eff7f2;}
html[data-ui-theme="v3"][data-theme="dark"] {--ui-bg:#101e18;--ui-surface:#192b22;--ui-raised:#20382c;--ui-hover:#294b39;--ui-text:#e8f5ec;--ui-muted:#afc9b9;--ui-line:#3b5848;--ui-accent:#9edbbc;--ui-primary:#9edbbc;--ui-on-primary:#123b29;--ui-hero:#244333;--ui-hero-end:#192e22;}
html[data-ui-theme="v3"][data-theme="warm"] {--ui-bg:#f5f0e5;--ui-surface:#fffcf4;--ui-raised:#f0ebde;--ui-hover:#e5ebda;--ui-text:#354337;--ui-muted:#687562;--ui-line:#dce0cf;--ui-hero:#e4e9d5;--ui-hero-end:#f4f1e4;}
html[data-ui-theme]:where(:not([data-ui-theme="v4"])) .brand-mark {background:var(--ui-primary);color:var(--ui-on-primary);box-shadow:none;}
html[data-ui-theme]:where(:not([data-ui-theme="v4"])) :is(.panel,.cart-panel,.modal,.stat-card,.metrics,.dish,.product-card) {border-radius:16px;}
html[data-ui-theme]:where(:not([data-ui-theme="v4"])) .product-info {padding:15px;}
html[data-ui-theme]:where(:not([data-ui-theme="v4"])) .product-info strong {font-size:16px;line-height:1.5;}
html[data-ui-theme]:where(:not([data-ui-theme="v4"])) .product-info>span {font-size:17px;color:var(--ui-accent);}
html[data-ui-theme]:where(:not([data-ui-theme="v4"])) .product-plus {width:36px;height:36px;border-radius:11px;}
html[data-ui-theme]:where(:not([data-ui-theme="v4"])) .settings-view {max-width:1200px;}
html[data-ui-theme]:where(:not([data-ui-theme="v4"])) :is(.settings-form,.profile-view) {max-width:100%;}
html[data-ui-theme]:where(:not([data-ui-theme="v4"])) .product-card {border:1px solid var(--ui-line);box-shadow:0 3px 9px #152f4d06;}
html[data-ui-theme]:where(:not([data-ui-theme="v4"])) .cart-panel {box-shadow:0 5px 18px #173d3307;}
html[data-ui-theme]:where(:not([data-ui-theme="v4"])) .cart-panel .panel-head {padding:20px 20px 14px;}
html[data-ui-theme]:where(:not([data-ui-theme="v4"])) .cart-panel .panel-head h2 {font-size:22px;}
html[data-ui-theme]:where(:not([data-ui-theme="v4"])) .cart-options {padding:0 20px 16px;}
html[data-ui-theme]:where(:not([data-ui-theme="v4"])) .cart-lines {padding:0 20px;}
html[data-ui-theme]:where(:not([data-ui-theme="v4"])) .cart-checkout {padding:18px 20px 22px;}
html[data-ui-theme]:where(:not([data-ui-theme="v4"])) #submit-order {min-height:54px;font-size:16px;border-radius:12px;}
html[data-ui-theme]:where(:not([data-ui-theme="v4"])) .tabs {gap:10px;margin-bottom:18px;}
html[data-ui-theme]:where(:not([data-ui-theme="v4"])) .pos-layout>section>.toolbar .search-field {width:100%;max-width:none;}
html[data-ui-theme]:where(:not([data-ui-theme="v4"])) .pos-layout .tab {padding:12px 18px;min-height:48px;border-radius:12px;font-size:14px;}
/* Desktop: a single framed workspace and a real shortcut dock. */
html[data-ui-theme="v1"] :is(.btn,.field input,.field select,.field textarea,.search-field input,.branch-selector select) {border-radius:10px;}
html[data-ui-theme="v1"] .nav-link.active {background:var(--ui-primary);color:var(--ui-on-primary);}
html[data-ui-theme="v1"] .nav-link.active svg {color:inherit;}
@media(min-width:901px) {
    html[data-ui-theme="v1"] body:has(icom-staff-app) {background:var(--desktop-backdrop);background-attachment:fixed;padding-bottom:100px;--mobile-nav-height:82px;}
    html[data-ui-theme="v1"][data-theme] icom-staff-app .sidebar {inset:24px auto 110px 24px;width:220px;border:1px solid var(--ui-line);border-right:0;border-radius:20px 0 0 20px;background:color-mix(in srgb,var(--ui-raised) 94%,transparent);padding:22px 10px 16px;box-shadow:-8px 14px 25px #23446b15;}
    html[data-ui-theme="v1"] icom-staff-app .workspace {margin:24px 24px 0 244px;min-height:calc(100dvh - 134px);background:var(--ui-bg);border:1px solid var(--ui-line);border-radius:0 20px 20px 0;box-shadow:12px 14px 30px #23446b18;}
    html[data-ui-theme="v1"] icom-staff-app .workspace>.topbar {height:76px;border-radius:0 20px 0 0;border-bottom:1px solid var(--ui-line);background:var(--ui-surface);padding:0 24px;}
    html[data-ui-theme="v1"] icom-staff-app .main {padding:22px;}
    html[data-ui-theme="v1"] icom-staff-app .page-title {font-size:27px;}
    html[data-ui-theme="v1"] icom-staff-app .brand {padding:0 12px 24px;}
    html[data-ui-theme="v1"] icom-staff-app .brand-mark {width:44px;height:44px;}
    html[data-ui-theme="v1"] icom-staff-app .brand strong {font-size:24px;}
    html[data-ui-theme="v1"] icom-staff-app .brand small {font-size:12px;}
    html[data-ui-theme="v1"] icom-staff-app .nav-link {min-height:40px;font-size:13px;padding:9px 12px;gap:12px;border-radius:8px;}
    html[data-ui-theme="v1"] icom-staff-app .nav-link svg {width:20px;height:20px;}
    html[data-ui-theme="v1"] icom-staff-app .mobile-app-nav {display:flex;position:fixed;bottom:18px;left:50%;right:auto;transform:translateX(-50%);gap:7px;padding:7px 10px;background:color-mix(in srgb,var(--ui-surface) 92%,transparent);border:1px solid var(--ui-line);border-radius:20px;box-shadow:0 12px 26px #112d5a2b;backdrop-filter:blur(12px);z-index:45;max-width:calc(100vw - 32px);}
    html[data-ui-theme="v1"] icom-staff-app .mobile-app-nav>a {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:72px;max-width:115px;min-height:54px;padding:6px 12px;font-size:11px;text-align:center;line-height:1.4;border-radius:13px;}
    html[data-ui-theme="v1"] icom-staff-app .mobile-app-nav>a.active {background:var(--ui-primary);color:var(--ui-on-primary);}
    html[data-ui-theme="v1"] icom-staff-app .mobile-app-nav>a svg {width:24px;height:24px;}
    html[data-ui-theme="v1"] icom-staff-app .mobile-app-nav>button {display:none;}
    html[data-ui-theme="v1"] body:has(icom-staff-app)>.developer-credit {margin-left:244px;margin-right:24px;background:transparent;}
    html[data-ui-theme="v1"] .pos-layout {grid-template-columns:minmax(0,1fr) minmax(290px,35%);gap:18px;}
    html[data-ui-theme="v1"] .cart-panel {top:18px;}
}
/* Touch POS: larger targets and a stable order column. */
html[data-ui-theme="v2"] :is(.btn,.btn-small,.quantity-control button,.quantity button,.add,.tab,.category,.category-tab,.category-chip) {min-height:56px;font-size:16px;border-radius:12px;}
html[data-ui-theme="v2"] :is(.quantity-control button,.quantity button,.add) {min-width:52px;}
html[data-ui-theme="v2"] :is(.field input,.field select,.field textarea,.search-field input,.branch-selector select) {min-height:52px;font-size:16px;border-radius:12px;}
html[data-ui-theme="v2"] .field>span {font-size:14px;}
html[data-ui-theme="v2"] .pos-layout .tab {min-height:56px;font-size:16px;}
html[data-ui-theme="v2"] .product-info strong {font-size:18px;}
html[data-ui-theme="v2"] .product-info>span {font-size:21px;font-weight:750;}
html[data-ui-theme="v2"] .product-plus {min-width:46px;min-height:46px;}
html[data-ui-theme="v2"] .product-image {height:185px;}
html[data-ui-theme="v2"] .product-card {border-radius:14px;}
html[data-ui-theme="v2"] .nav-link {min-height:54px;}
html[data-ui-theme="v2"] .grand-total {background:var(--ui-hover);color:var(--ui-accent);padding:16px;border-radius:12px;}
html[data-ui-theme="v2"] #submit-order {min-height:64px;font-size:19px;}
html[data-ui-theme="v2"] .item-note {min-height:44px;font-size:14px;padding:8px 0;width:100%;max-width:100%;}
html[data-ui-theme="v2"] .cart-line {grid-template-columns:minmax(0,1fr);gap:12px;}
html[data-ui-theme="v2"] .quantity-control {justify-self:end;}
html[data-ui-theme="v2"] icom-guest-app .add {min-width:52px;min-height:52px;}
html[data-ui-theme="v2"] icom-guest-app .dish h3 {font-size:17px;}
html[data-ui-theme="v2"] icom-guest-app .price {font-size:18px;}
html[data-ui-theme="v2"] icom-guest-app .submit {min-height:60px;font-size:17px;}
@media(min-width:1100px) {
    html[data-ui-theme="v2"] .pos-layout {grid-template-columns:minmax(0,1fr) minmax(335px,36%);gap:18px;}
    html[data-ui-theme="v2"] .cart-options {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
    html[data-ui-theme="v2"] .cart-options>.field:last-child {grid-column:1/-1;}
    html[data-ui-theme="v2"] .cart-panel {max-height:calc(100dvh - 38px);overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;top:18px;}
    html[data-ui-theme="v2"] .cart-line {grid-template-columns:minmax(0,1fr) auto;align-items:start;}
    html[data-ui-theme="v2"] .cart-checkout {padding-top:12px;}
}
/* Restaurant dashboard: deep navigation and softly framed working surfaces. */
html[data-ui-theme="v3"][data-theme] :is(icom-staff-app,icom-platform-app) .sidebar {background:#123d2e;border-color:#214c3b;color:#f0fff5;}
html[data-ui-theme="v3"] .sidebar :is(.brand,.profile-link,.nav-link,.icon-btn) {color:#f0fff5;}
html[data-ui-theme="v3"] .sidebar .nav-link svg {color:#b5d9c6;}
html[data-ui-theme="v3"] .sidebar .nav-link.active {background:#286849;color:#fff;}
html[data-ui-theme="v3"] .sidebar .nav-link.active svg {color:#fff;}
html[data-ui-theme="v3"] .sidebar .nav-link:hover {background:#214f3c;}
html[data-ui-theme="v3"] .sidebar .sidebar-footer {border-color:#3c6150;}
html[data-ui-theme="v3"] .sidebar .sidebar-footer small {color:#c0d9ca;}
html[data-ui-theme="v3"] .sidebar .drawer-close {background:#28533f;color:#fff;}
html[data-ui-theme="v3"] .sidebar .avatar {background:#2b654c;color:#e9fff2;}
html[data-ui-theme="v3"] :is(.panel,.metrics,.product-card,.dish,.modal) {border-radius:20px;box-shadow:0 5px 18px #163c3006;}
html[data-ui-theme="v3"] .product-info>span {display:inline-flex;align-self:flex-start;width:fit-content;padding:4px 12px;border-radius:24px;background:var(--ui-hover);font-weight:700;}
html[data-ui-theme="v3"] :is(.workspace>.topbar,icom-guest-app>.topbar) {border-bottom:1px solid var(--ui-line);}
html[data-ui-theme="v3"] .pos-layout>section {padding:18px;background:var(--ui-surface);border-radius:20px;min-width:0;}
html[data-ui-theme="v3"] .hero {border-radius:24px;}
/* VSS: an orange navigation rail, restrained elevation and clear working surfaces. */
html[data-ui-theme="vss"][data-theme] icom-staff-app .sidebar {background:var(--vss-rail);border-color:var(--vss-rail);color:var(--vss-rail-text);}
html[data-ui-theme="vss"] .sidebar :is(.brand,.profile-link,.nav-link,.icon-btn) {color:var(--vss-rail-text);}
html[data-ui-theme="vss"] .sidebar :is(.nav-link svg,.brand small,.sidebar-footer small) {color:var(--vss-rail-muted);}
html[data-ui-theme="vss"] .sidebar :is(.brand-mark,.avatar,.drawer-close) {background:var(--vss-rail-active);color:var(--vss-rail-active-text);}
html[data-ui-theme="vss"] .sidebar .nav-link {border-radius:12px;}
html[data-ui-theme="vss"] .sidebar .nav-link:hover {background:var(--vss-rail-hover);}
html[data-ui-theme="vss"] .sidebar .nav-link.active {background:var(--vss-rail-active);color:var(--vss-rail-active-text);box-shadow:0 3px 10px #43180018;}
html[data-ui-theme="vss"] .sidebar .nav-link.active svg {color:inherit;}
html[data-ui-theme="vss"] .sidebar .sidebar-footer {border-color:color-mix(in srgb,var(--vss-rail-text) 25%,transparent);}
html[data-ui-theme="vss"] .workspace>.topbar {border-bottom:1px solid var(--ui-line);}
html[data-ui-theme="vss"] :is(.panel,.metrics,.stat-card,.product-card,.cart-panel,.parking-panel) {box-shadow:0 4px 16px #7b371007;border-color:var(--ui-line);}
html[data-ui-theme="vss"] :is(.btn,.field input,.field select,.field textarea,.search-field input,.branch-selector select) {border-radius:12px;}
html[data-ui-theme="vss"] :is(.field input,.field select,.field textarea,.search-field input,.branch-selector select):focus {border-color:var(--ui-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--ui-accent) 14%,transparent);}
html[data-ui-theme="vss"] .preference-control:focus-within {outline-color:var(--ui-accent);}
html[data-ui-theme="vss"] :focus-visible {outline-color:var(--ui-accent);}
html[data-ui-theme="vss"] .product-card .product-image {background:var(--ui-raised)!important;color:var(--ui-accent);}
html[data-ui-theme="vss"] .product-card .dish-visual {background:var(--ui-surface);color:var(--ui-accent);}
html[data-ui-theme="vss"] .grand-total {background:var(--ui-raised);color:var(--ui-accent);padding:14px;border-radius:12px;}
html[data-ui-theme="vss"] .product-info>span {font-weight:750;}
html[data-ui-theme="vss"] .hero {border:1px solid var(--ui-line);border-radius:20px;}
/* Guest menus inherit the branch character without inheriting staff navigation. */
html[data-ui-theme="v1"] icom-guest-app :is(.hero,.basket,.tracking,.dish) {box-shadow:0 8px 20px #203e6310;border:1px solid var(--ui-line);border-radius:20px;}
html[data-ui-theme="v2"] icom-guest-app .hero {border-radius:16px;}
html[data-ui-theme="v3"] icom-guest-app .category {border-radius:24px;}
html[data-ui-theme="v3"] icom-guest-app .dish-bottom .price {background:var(--ui-hover);border-radius:20px;padding:4px 10px;}
/* Settings cards remain fully keyboard-operable native radio controls. */
.personal-theme-form {margin-bottom:24px;}
.profile-settings-stack {min-width:0;}
.personal-theme-status:empty {display:none;}
.ui-theme-settings {border:0;padding:0 0 24px;margin:0 0 28px;border-bottom:1px solid var(--ui-line);min-width:0;}
.ui-theme-settings>legend {font-size:22px;font-weight:700;padding:0;margin:0 0 7px;color:var(--ui-text);}
.ui-theme-settings>p {font-size:13px;color:var(--ui-muted);line-height:1.8;margin:0 0 16px;}
.ui-theme-settings>p:last-child {margin:16px 0 0;}
.ui-theme-options {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.ui-theme-choice {position:relative;display:block;min-width:0;cursor:pointer;}
.ui-theme-choice>input {position:absolute;top:15px;right:15px;width:21px;height:21px;min-height:0;margin:0;z-index:2;accent-color:var(--ui-primary);cursor:pointer;}
.ui-theme-choice-body {display:flex;flex-direction:column;height:100%;gap:12px;padding:14px;border:2px solid var(--ui-line);border-radius:18px;background:var(--ui-surface);transition:border-color .15s,box-shadow .15s;}
.ui-theme-choice>input:checked+.ui-theme-choice-body {border-color:var(--ui-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--ui-accent) 10%,transparent);}
.ui-theme-choice>input:focus-visible+.ui-theme-choice-body {outline:3px solid var(--ui-accent);outline-offset:4px;}
.ui-theme-choice-title {display:flex;flex-direction:column;gap:3px;line-height:1.5;color:var(--ui-text);}
.ui-theme-choice-title strong {font-size:16px;}
.ui-theme-choice-title>span {font-size:14px;font-weight:600;}
.ui-theme-choice-body>small {font-size:12px;line-height:1.7;color:var(--ui-muted);}
.theme-mini {height:145px;border-radius:10px;display:block;position:relative;overflow:hidden;background:#f1f6f3;color:#0b7a52;pointer-events:none;}
.theme-mini-window {position:absolute;inset:0;display:grid;grid-template-columns:19% 1fr;}
.theme-mini-rail {display:flex;flex-direction:column;gap:10px;padding:16px 9px;background:#e0ebe5;}
.theme-mini-rail i {display:block;height:5px;border-radius:4px;background:currentColor;opacity:.3;}
.theme-mini-rail i:nth-child(2) {height:12px;opacity:.8;}
.theme-mini-main {min-width:0;padding:10px;}
.theme-mini-toolbar {display:block;height:11px;width:62%;background:#c9d8d0;border-radius:3px;margin-bottom:12px;}
.theme-mini-content {display:grid;grid-template-columns:1fr 32%;height:90px;gap:9px;}
.theme-mini-products {display:grid;grid-template-columns:repeat(3,1fr);gap:6px;}
.theme-mini-products i {border-radius:5px;background:linear-gradient(to bottom,#d8e3de 65%,#fff 65%);border:1px solid #dae3dd;}
.theme-mini-cart {display:flex;flex-direction:column;gap:7px;border-radius:7px;background:#fff;padding:8px;}
.theme-mini-cart i {height:5px;border-radius:2px;background:#dde5e0;}
.theme-mini-cart b {height:14px;margin-top:auto;border-radius:4px;background:currentColor;}
.theme-mini-v1 {background:linear-gradient(120deg,#96b8e1,#d6e4f6);color:#2469dc;}
.theme-mini-v1 .theme-mini-window {inset:9px 9px 23px;background:#f3f7ff;border-radius:8px;overflow:hidden;border:1px solid #c9daf3;}
.theme-mini-v1 .theme-mini-rail {background:#dde9fb;}
.theme-mini-v1 .theme-mini-toolbar {background:#cedef4;}
.theme-mini-v1 .theme-mini-content {height:68px;}
.theme-mini-v1 .theme-mini-dock {position:absolute;bottom:5px;left:37%;width:34%;height:13px;border-radius:6px;background:#ecf4ff;box-shadow:0 2px 5px #23446133;}
.theme-mini-v2 {background:#f4f5f8;color:#c74310;}
.theme-mini-v2 .theme-mini-rail {background:#e8ecf2;}
.theme-mini-v2 .theme-mini-products {grid-template-columns:repeat(2,1fr);}
.theme-mini-v2 .theme-mini-products i {background:linear-gradient(to bottom,#f2ddc9 65%,#fff 65%);}
.theme-mini-v2 .theme-mini-products i:nth-last-child(-n+2) {display:none;}
.theme-mini-v2 .theme-mini-cart b {height:22px;}
.theme-mini-v3 .theme-mini-rail {background:#123d2e;color:#c0ead2;}
.theme-mini-v3 .theme-mini-products i {border-radius:7px;}
.theme-mini-vss {background:#faf6f2;color:#c2410c;}
.theme-mini-vss .theme-mini-rail {background:#9a3412;color:#fff7ed;}
.theme-mini-vss .theme-mini-rail i:nth-child(2) {opacity:1;}
.theme-mini-vss .theme-mini-toolbar {background:#efd8c8;}
.theme-mini-vss .theme-mini-products i {background:linear-gradient(to bottom,#ffead8 65%,#fff 65%);border-color:#eaded4;border-radius:7px;}
.theme-mini-vss .theme-mini-cart {border:1px solid #eaded4;}
@media(max-width:1100px) and (min-width:901px) {
    html[data-ui-theme="v1"][data-theme] icom-staff-app .sidebar {width:188px;left:16px;}
    html[data-ui-theme="v1"] icom-staff-app .workspace {margin-left:204px;margin-right:16px;}
    html[data-ui-theme="v1"] icom-staff-app .topbar {padding-left:18px;padding-right:18px;}
    html[data-ui-theme="v1"] icom-staff-app .top-actions {gap:10px;}
    html[data-ui-theme="v1"] icom-staff-app .brand strong {font-size:22px;}
    html[data-ui-theme="v1"] .pos-layout {grid-template-columns:minmax(0,1fr) minmax(270px,40%);}
    html[data-ui-theme="v1"] body:has(icom-staff-app)>.developer-credit {margin-left:204px;margin-right:16px;}
}
@media(max-width:900px) {
    html[data-ui-theme]:where(:not([data-ui-theme="v4"])) .workspace {margin-left:0;}
    html[data-ui-theme="v1"] .mobile-app-nav {border-radius:18px 18px 0 0;}
    html[data-ui-theme="v2"] .main {padding-left:16px;padding-right:16px;}
    html[data-ui-theme="v2"] .product-info strong {font-size:16px;}
    html[data-ui-theme="v2"] .product-info>span {font-size:18px;}
    html[data-ui-theme="v2"] .product-image {height:165px;}
    html[data-ui-theme="v2"] .cart-options {grid-template-columns:repeat(2,minmax(0,1fr));}
    html[data-ui-theme="v3"] .pos-layout>section {padding:12px;}
}
@media(max-width:600px) {
    .ui-theme-options {grid-template-columns:minmax(0,1fr);}
    .theme-mini {height:155px;}
    html[data-ui-theme]:where(:not([data-ui-theme="v4"])) .product-info {padding:11px;}
    html[data-ui-theme]:where(:not([data-ui-theme="v4"])) .product-info strong {font-size:14px;}
    html[data-ui-theme]:where(:not([data-ui-theme="v4"])) .product-info>span {font-size:15px;}
    html[data-ui-theme="v2"] .pos-layout .tab {min-height:52px;padding:10px 16px;}
    html[data-ui-theme="v2"] :is(.btn-small,.category) {font-size:14px;}
    html[data-ui-theme="v2"] .product-image {height:145px;}
    html[data-ui-theme="v2"] .product-plus {min-width:40px;min-height:40px;}
    html[data-ui-theme="v2"] icom-guest-app .dish h3 {font-size:15px;}
    html[data-ui-theme="v2"] .cart-options {grid-template-columns:minmax(0,1fr);}
    html[data-ui-theme="v3"] .product-info>span {padding:3px 9px;}
    html[data-ui-theme="v3"] .pos-layout>section {padding:0;background:transparent;}
}
@media print {
    html[data-ui-theme="vss"][data-theme] {--ui-bg:#fff;--ui-surface:#fff;--ui-raised:#f4f4f4;--ui-hover:#eee;--ui-text:#111;--ui-muted:#444;--ui-line:#ddd;--ui-accent:#111;--ui-primary:#111;--ui-on-primary:#fff;}
    html[data-ui-theme] {--ui-bg:#fff;--ui-surface:#fff;--ui-raised:#f4f4f4;--ui-hover:#eee;--ui-text:#111;--ui-muted:#444;--ui-line:#ddd;--ui-accent:#111;--ui-primary:#111;--ui-on-primary:#fff;}
    html[data-ui-theme] body {background:#fff!important;padding:0!important;}
    html[data-ui-theme] .workspace {margin:0!important;border:0!important;box-shadow:none!important;}
    html[data-ui-theme] .mobile-app-nav, .ui-theme-settings {display:none!important;}
}
