:root{--touch-theme-surface:#fff;--touch-theme-border:#d7e5ec;--touch-theme-text:#263645;--touch-theme-muted:#627685;--touch-theme-hover:#edf8fc}
header #top>.table>.touch-theme-cell{width:52px!important;min-width:52px!important;flex:0 0 52px!important;padding:0 4px!important;vertical-align:middle!important;text-align:center;box-sizing:border-box}
#touch-theme-toggle{display:inline-flex!important;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:0;margin:0;border:1px solid var(--touch-theme-border);border-radius:10px;background:var(--touch-theme-surface);color:var(--touch-theme-text);cursor:pointer;box-sizing:border-box;vertical-align:middle}
#touch-theme-toggle svg,#touch-theme-menu svg{width:21px;height:21px;flex:0 0 21px}
#touch-theme-toggle:hover{background:var(--touch-theme-hover)}
#touch-theme-menu[hidden]{display:none!important}
#touch-theme-menu{position:fixed;z-index:100100;min-width:196px;padding:6px;border:1px solid var(--touch-theme-border);border-radius:12px;background:var(--touch-theme-surface);color:var(--touch-theme-text);box-shadow:0 10px 30px #0003;font:500 14px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
#touch-theme-menu button{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:9px 10px;border:0;border-radius:8px;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;box-sizing:border-box}
#touch-theme-menu button:hover,#touch-theme-menu button[aria-checked=true]{background:var(--touch-theme-hover)}
#touch-theme-menu .touch-theme-check{margin-left:auto;visibility:hidden;color:#007e9c}#touch-theme-menu [aria-checked=true] .touch-theme-check{visibility:visible}
#touch-theme-toggle:focus-visible,#touch-theme-menu button:focus-visible{outline:3px solid #00a6c8;outline-offset:2px}
html[data-touch-theme=dark]{color-scheme:dark;--touch-theme-surface:#192a35;--touch-theme-border:#364c59;--touch-theme-text:#e5edf2;--touch-theme-muted:#b0c2cc;--touch-theme-hover:#233c48}
html[data-touch-theme=light]{color-scheme:light}
html[data-touch-theme=dark] body,html[data-touch-theme=dark] body>section#body,html[data-touch-theme=dark] #content{background:#101b24!important;color:#e5edf2}
html[data-touch-theme=dark] :is(h1,h2,h3,h4){color:#e5edf2}
html[data-touch-theme=dark] a{color:#83d9e7}
html[data-touch-theme=dark] body>header,html[data-touch-theme=dark] header :is(#top,#logo,.bar,.menu-list),html[data-touch-theme=dark] #userOptions{background:#192a35!important;color:#e5edf2!important;border-color:#364c59!important}
html[data-touch-theme=dark] header #top>.table>.cell,html[data-touch-theme=dark] header #main-menu .item{border-color:#364c59!important}
html[data-touch-theme=dark] header #logo .touchlogis-wordmark{color:#e5edf2!important}
html[data-touch-theme=dark] header #logo .touchlogis-wordmark span{color:#63c8db!important}
html[data-touch-theme=dark] header #main-menu>.menu-list>.item{--nav-wash:#233c48;--nav-ink:#93d9e4}
html[data-touch-theme=dark] header :is(.name,.smaller),html[data-touch-theme=dark] #userOptions a{color:inherit}
html[data-touch-theme=dark] header #main-menu .menu-list .menu-list a:hover{background:#233c48;color:#9de4e7}
html[data-touch-theme=dark] :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]),select,textarea){background:#13232e!important;color:#e5edf2!important;border-color:#4c6573!important}
html[data-touch-theme=dark] input::placeholder,html[data-touch-theme=dark] textarea::placeholder{color:#a6bac6;opacity:1}
html[data-touch-theme=dark] :is(.select-chosen,.inline-dropdown,.dropdown,.sBlock,.sRow,.box,.panel,.content-box,.ui-dialog,.ui-widget-content,.ui-widget-header){background:#192a35!important;color:#e5edf2!important;border-color:#364c59!important}
html[data-touch-theme=dark] .ui-state-default{background:#243946;color:#e5edf2;border-color:#4c6573}
html[data-touch-theme=dark] .ui-state-active{background:#087b80;color:#fff}
html[data-touch-theme=dark] header #selectSpecificSupplier select,html[data-touch-theme=dark] header #selectSpecificSupplier select.active{background:#13232e!important;color:#d5e3ec!important;border-color:#4c6573!important}
html[data-touch-theme=dark] header :is(#filtrovat,.switchDisplayMode,.check-label,.touch-date-trigger){background:#203b49!important;color:#9edce7!important;border-color:#42616f!important}
html[data-touch-theme=dark] header #resetovat{background:#422d35!important;color:#ffc1c9!important;border-color:#82505f!important}
html[data-touch-theme=dark] header .check-label.checked,html[data-touch-theme=dark] header .check-label:has(input:checked),html[data-touch-theme=dark] header label.switchDisplayMode.active{background:#087b91!important;color:#fff!important;border-color:#58c1d1!important}
html[data-touch-theme=dark] header .eshop-select label .image{background:transparent!important;border-color:transparent!important}
html[data-touch-theme=dark] .touch-date-dialog,html[data-touch-theme=dark] .touch-date-dialog :is(nav,section){background:#192a35;color:#e5edf2}
html[data-touch-theme=dark] .touch-date-dialog button{background:#203b49;color:#bde7ec;border-color:#42616f}
html[data-touch-theme=dark] #mainOrderList .row{--row-wash:#192a35!important;--order-wash:#233c48!important;background-color:var(--row-wash)!important;color:#e5edf2;transition:none}
html[data-touch-theme=dark] #mainOrderList .row:is([style*="--row-wash:#fffdf2"],[style*="--row-wash: #fffdf2"]){--row-wash:#2c2b22!important;--order-wash:#3c3928!important}
html[data-touch-theme=dark] #mainOrderList .row:is([style*="--row-wash:#fdf5f9"],[style*="--row-wash: #fdf5f9"]){--row-wash:#302531!important;--order-wash:#402e3c!important}
html[data-touch-theme=dark] #mainOrderList .row:is([style*="--row-wash:#f6f3fc"],[style*="--row-wash: #f6f3fc"]){--row-wash:#252b3c!important;--order-wash:#313b50!important}
html[data-touch-theme=dark] #mainOrderList .row:is([style*="--row-wash:#f0f9f4"],[style*="--row-wash: #f0f9f4"]){--row-wash:#1f302c!important;--order-wash:#2a443b!important}
html[data-touch-theme=dark] #mainOrderList .row:is([style*="--row-wash:#f1f9fc"],[style*="--row-wash: #f1f9fc"]){--row-wash:#1d2d38!important;--order-wash:#28404e!important}
html[data-touch-theme=dark] #mainOrderList .row:hover,html[data-touch-theme=dark] #mainOrderList .row.hovered{background-color:var(--order-wash)!important}
html[data-touch-theme=dark] #mainOrderList .row>td,html[data-touch-theme=dark] #mainOrderList .row:hover>td{border-color:#36404c!important}
html[data-touch-theme=dark] #mainOrderList .row .title{color:#e5edf2}
html[data-touch-theme=dark] #mainOrderList .row .sub{color:#b0c2cc}
html[data-touch-theme=dark] #mainOrderList .row .o-id .title{color:#8bd9e8}
html[data-touch-theme=dark] #mainOrderList [style*="color: black"],html[data-touch-theme=dark] #mainOrderList [style*="color:black"]{color:#e5edf2!important}
html[data-touch-theme=dark] #mainOrderList .o-i-img img{background:#fff;border-radius:8px}
html[data-touch-theme=dark] #mainOrderList :is(.centerSearch .isMaxLink,.o-i-quantity .plusminus){background:#203b49!important;color:#bde7ec!important;border-color:#42616f!important}
html[data-touch-theme=dark] #mainOrderList .row .centerSearch .inputerk{background:#087b91;color:#fff;border-color:#58c1d1}
html[data-touch-theme=dark] #mainOrderList :is(.printPruvodka,.printSMS,.printDirect){--button-ink:#9edce7;--button-wash:#203b49;--button-line:#42616f}
html[data-touch-theme=dark] #mainOrderList .printPruvodka[href*="ZPL"]{--button-ink:#d1b7f3;--button-wash:#342a49;--button-line:#665484}
html[data-touch-theme=dark] #mainOrderList .printSMS[onclick*="sendPickupInfo"]{--button-ink:#a9e8c6;--button-wash:#193d32;--button-line:#426e5a}
html[data-touch-theme=dark] #mainOrderList [onclick*="SetOrderError"]{--button-ink:#f1d38d;--button-wash:#3a301b;--button-line:#8e7436}
html[data-touch-theme=dark] #mainOrderList .centerSearch{background:transparent}
html[data-touch-theme=dark] #mainOrderList>tbody>tr:has(>td>.centerSearch)>td{background:#101b2455!important}
html[data-touch-theme=dark] #order-sum-dialog.order-sum-dialog{background:linear-gradient(120deg,#203542,#302c43,#263b35)!important;color:#e5edf2!important;border:1px solid #405763}
html[data-touch-theme=dark] #order-sum-dialog :is([data-column],div){color:inherit!important}
html[data-touch-theme=dark] #order-updates{background:#183a3e;color:#dbf4ed;border-color:#4c8d91}
html[data-touch-theme=dark] .order-pages{color:#b0c2cc}html[data-touch-theme=dark] .order-pages a{background:#203b49;color:#9edce7}
html[data-touch-theme=dark] .orders-wrapper>.invoice-view{background:#192a35;color:#e5edf2;border-color:#364c59}
html[data-touch-theme=dark] .invoice-view .invoice-form{background:#192a35!important}
html[data-touch-theme=dark] .invoice-view .table :is(th,td){color:#e5edf2;border-color:#364c59}
html[data-touch-theme=dark] .invoice-view .table th{background:#243946}
html[data-touch-theme=dark] .invoice-view .table tr:hover{background:#233c48}
html[data-touch-theme=dark] .invoice-view .button{background:#203b49;color:#9edce7;border-color:#42616f}
html[data-touch-theme=dark] .invoice-view a[href*="invoiceDone"]{background:#193d32;color:#a9e8c6;border-color:#426e5a}
html[data-touch-theme=dark] .invoice-view .invoice-form .button{background:#087b91;color:#fff}
html[data-touch-theme=dark] table:not(#mainOrderList) :is(th,td){border-color:#364c59}
/* Preserve tablet control contrast against the dark order washes. */
html[data-touch-theme=dark] body.menu-item-1 #mainOrderList.detailRows :is(a.printPruvodka,a.printSMS,a.printDirect){--button-ink:#9edce7;--button-wash:#203b49;--button-line:#42616f}
html[data-touch-theme=dark] body.menu-item-1 #mainOrderList.detailRows a.printPruvodka[href*="ZPL"]{--button-ink:#d1b7f3;--button-wash:#342a49;--button-line:#665484}
html[data-touch-theme=dark] body.menu-item-1 #mainOrderList.detailRows a.printSMS[onclick*="sendPickupInfo"]{--button-ink:#a9e8c6;--button-wash:#193d32;--button-line:#426e5a}
html[data-touch-theme=dark] body.menu-item-1 #mainOrderList.detailRows a[onclick*="SetOrderError"]{--button-ink:#f1d38d;--button-wash:#3a301b;--button-line:#8e7436}
html[data-touch-theme=dark] body.menu-item-1 #mainOrderList .o-i-quantity .title{color:#e5edf2!important}
html[data-touch-theme=dark] #mainOrderList :is(.green,.color-green),html[data-touch-theme=dark] #mainOrderList [style*="color:green"],html[data-touch-theme=dark] #mainOrderList [style*="color: green"]{color:#a9e8c6!important}
html[data-touch-theme=dark] #mainOrderList :is(.red,.color-red),html[data-touch-theme=dark] #mainOrderList [style*="color:red"],html[data-touch-theme=dark] #mainOrderList [style*="color: red"]{color:#ffb4ba!important}
html[data-touch-theme=dark] body.menu-item-1 #mainOrderList a[onclick*="ChangeOrderInfo"]:has(>.icon-box2){background:#3a301b;border-color:#8e7436;color:#f1d38d!important}
html[data-touch-theme=dark] body.menu-item-1 #mainOrderList a[onclick*="ChangeOrderInfo"]:has(>.icon-box){background:#193d32;border-color:#426e5a;color:#a9e8c6!important}

#touch-theme-toggle{border-color:var(--touch-theme-border)!important;background:var(--touch-theme-surface)!important;color:var(--touch-theme-text)!important}
html[data-touch-theme=dark] header #main-menu>.menu-list>.item>a{color:#d5e3ec!important}
html[data-touch-theme=dark] header #userInfo,html[data-touch-theme=dark] header #userInfo :is(.name,.smaller){color:#d5e3ec!important}
html[data-touch-theme=dark] #touch-theme-menu .touch-theme-check{color:#79d8d3}

/* Shared header polish and transparent supplier marks. */
header #userInfo .avatar.horizontal{width:26px!important;height:26px!important;margin:0 8px 0 0!important;padding:0!important;background:transparent!important;border:0!important;min-width:26px!important}
header #userInfo .avatar.horizontal>span{display:inline-flex!important;width:26px!important;height:26px!important;background:transparent!important;padding:0!important;border:0!important}
.touch-user-icon svg{width:22px;height:22px;color:var(--touch-theme-muted)}
.supplier-icon{background-color:transparent!important;border-radius:0!important;filter:url(#touch-supplier-transparent)}
header #main-menu .menu-list .menu-list .item>a{display:flex!important;align-items:center;min-height:40px;box-sizing:border-box;padding:10px 14px!important;font:500 14px/20px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;cursor:pointer}
header #main-menu .menu-list .menu-list .item>a>.name{font:inherit!important;line-height:20px!important}
header #main-menu .item-16>.menu-list:empty{display:none!important}
html[data-touch-theme=dark] #mainOrderList .orderActions{background:#192a35!important;border-color:#405763!important;box-shadow:0 6px 20px #0004!important}
html[data-touch-theme=dark] #mainOrderList .orderActions .orderAction{--action-ink:#a6e1ea;--action-wash:#203b49;background:var(--action-wash)!important;border-color:#42616f!important;color:var(--action-ink)!important}
html[data-touch-theme=dark] #mainOrderList .orderActions .orderAction.green,html[data-touch-theme=dark] #mainOrderList .orderActions .orderAction.complete{--action-ink:#a9e8c6;--action-wash:#193d32;border-color:#426e5a!important}
html[data-touch-theme=dark] #mainOrderList .orderActions .orderAction.red{--action-ink:#ffb4bf;--action-wash:#422d35;border-color:#82505f!important}
html[data-touch-theme=dark] #mainOrderList .orderActions .orderAction.orange{--action-ink:#f1d38d;--action-wash:#3a301b;border-color:#8e7436!important}
html[data-touch-theme=dark] #mainOrderList .orderActions .orderAction:hover{filter:brightness(1.18)}
html[data-touch-theme=dark] #mainOrderList .commentsChat,html[data-touch-theme=dark] #mainOrderList .commentsChat .container,html[data-touch-theme=dark] #mainOrderList .commentsChat .center{background:transparent!important;color:#e5edf2!important}
html[data-touch-theme=dark] #mainOrderList .commentsChat .comment:not(.empty){background:#243946!important;color:#dce8ef!important;border-color:#42616f!important}
html[data-touch-theme=dark] #mainOrderList .select-options{background:#192a35!important;color:#e5edf2!important;border-color:#42616f!important}
html[data-touch-theme=dark] #mainOrderList .select-option:hover{background:#233c48!important}

/* Framed order with a compact attached action footer. */
#mainOrderList:has(.classicRow){--order-hover-frame:#aab3bb}
#mainOrderList:has(.classicRow) .row:is(.hovered,.rightClicked).firstRow>td{border-top:1px solid var(--order-hover-frame)!important}
#mainOrderList:has(.classicRow) .row:is(.hovered,.rightClicked)>td:first-child{border-left:1px solid var(--order-hover-frame)!important}
#mainOrderList:has(.classicRow) .row:is(.hovered,.rightClicked)>td:last-child{border-right:1px solid var(--order-hover-frame)!important}
#mainOrderList:has(.classicRow) .row:is(.hovered,.rightClicked).comment>td{border-bottom:1px solid var(--order-hover-frame)!important}
#mainOrderList:has(.classicRow) .row:is(.hovered,.rightClicked).comment .orderActions{left:50%!important;right:auto!important;transform:translateX(-50%);width:max-content!important;max-width:calc(100% - 20px)!important;box-sizing:border-box;gap:4px;padding:8px!important;border:1px solid var(--order-hover-frame)!important;border-top:1px solid #c5ccd2!important;border-radius:0 0 10px 10px!important;background:var(--order-wash,#edf5fa)!important;box-shadow:0 8px 14px #0002!important}
html[data-touch-theme=dark] #mainOrderList:has(.classicRow) .row:is(.hovered,.rightClicked).comment .orderActions{background:var(--order-wash,#233c48)!important}

html[data-touch-theme=dark] #mainOrderList:has(.classicRow) .row:is(.hovered,.rightClicked).comment .orderActions{border-top-color:#697985!important}

/* Crisp status marks with explicit contrast in both themes. */
#mainOrderList .customer-signals .circle.green{background:#e1f3e8!important;color:#176237!important}
#mainOrderList .customer-signals .circle.red{background:#fde7ea!important;color:#a8203b!important}
#mainOrderList .customer-signals .circle::before{content:""!important;display:inline-block;width:15px;height:15px;flex:0 0 15px;background:currentColor;vertical-align:middle}
#mainOrderList .address-validation-icon svg{stroke-width:2.7!important;width:18px!important;height:18px!important}
html[data-touch-theme=dark] #mainOrderList .customer-signals .circle.green,html[data-touch-theme=dark] #mainOrderList .address-validation-icon[data-validation-state="ok"]{background:#193d32!important;color:#b8f3d0!important;border:1px solid #54836c!important}
html[data-touch-theme=dark] #mainOrderList .customer-signals .circle.red{background:#482834!important;color:#ffc4cf!important;border:1px solid #99586b!important}
html[data-touch-theme=dark] #mainOrderList .address-validation-icon:not([data-validation-state="ok"]){background:#49351c!important;color:#ffe0a1!important;border:1px solid #927344!important}
#mainOrderList .customer-signals .circle::before{-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22m5%2012%204%204L19%206%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22m5%2012%204%204L19%206%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
#mainOrderList .customer-signals .circle.red::before{-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22m6%206%2012%2012M18%206%206%2018%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22m6%206%2012%2012M18%206%206%2018%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}

#mainOrderList .order-sms-sent{display:inline-flex;align-items:center;justify-content:center;width:22px;height:24px;margin-left:5px;vertical-align:middle;color:#176f5a;background:#e1f3e8;border:1px solid #91bca7;border-radius:6px;box-sizing:border-box}
#mainOrderList .order-sms-sent svg{width:16px;height:18px;flex:none}
html[data-touch-theme=dark] #mainOrderList .order-sms-sent{color:#b8f3d0;background:#193d32;border-color:#54836c}

/* Empty overdue counts do not raise a notification. */
header #main-menu .care-overdue-badge.menu-notification-badge.is-zero{display:none!important}
/* Shared Touch application account controls. */
.touch-header-actions{display:flex!important;align-items:center!important;gap:6px!important;flex:0 0 auto!important;white-space:nowrap}
header #top>.table>.touch-header-actions{width:auto!important;min-width:94px!important;flex:0 0 auto!important;padding:0 4px!important}
.touch-header-actions .touch-header-icon,.touch-header-icon.desk-settings-button{display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box;width:40px!important;height:40px!important;min-width:40px;min-height:40px!important;padding:0!important;margin:0!important;border:0!important;border-radius:12px!important;background:var(--touch-theme-hover,#f3edf9)!important;color:var(--touch-theme-text,#675078)!important;text-decoration:none!important;cursor:pointer}
.touch-header-actions .touch-header-icon:hover,.touch-header-icon.desk-settings-button:hover{background:var(--touch-control-hover,#e9def8)!important;color:var(--touch-control-ink,#7451a6)!important}
.touch-header-icon svg{width:21px!important;height:21px!important;display:block;flex:none}
.touch-header-actions .touch-logout:hover{background:#fce7eb!important;color:#b5304d!important}
.care-toolbar .touch-header-actions{order:50;flex:0 0 auto!important;width:auto!important;margin-left:0;align-self:center}
#touch-theme-menu{position:fixed;z-index:100100;box-sizing:border-box;width:254px;max-width:calc(100vw - 16px);padding:8px;border:1px solid var(--touch-theme-border,#e8e0ef);border-radius:18px;background:var(--touch-theme-surface,#fff);color:var(--touch-theme-text,#382d46);box-shadow:0 16px 55px #30204430;font:500 14px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
#touch-theme-menu[hidden]{display:none!important}
#touch-theme-menu button{display:flex;align-items:center;gap:10px;width:100%;min-height:54px;padding:9px;border:0;border-radius:11px;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;box-sizing:border-box}
#touch-theme-menu button:hover,#touch-theme-menu button[aria-checked=true]{background:var(--touch-theme-hover,#f3edf9)}
#touch-theme-menu .touch-theme-option-icon{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:10px;background:var(--touch-theme-hover,#f3edf9);color:var(--touch-control-ink,#7451a6)}
#touch-theme-menu svg{width:21px;height:21px}#touch-theme-menu .touch-theme-check{margin-left:auto;visibility:hidden;color:var(--touch-control-ink,#7451a6)}#touch-theme-menu [aria-checked=true] .touch-theme-check{visibility:visible}
.touch-header-icon:focus-visible,#touch-theme-menu button:focus-visible{outline:2px solid var(--touch-control-ink,#a87be0);outline-offset:2px}
html[data-touch-theme=dark] .touch-header-actions .touch-logout:hover{background:#512a35!important;color:#ffb3be!important}
@media(max-width:700px){.touch-header-actions .touch-header-icon,.touch-header-icon.desk-settings-button{width:44px!important;height:44px!important;min-width:44px;min-height:44px!important}.touch-header-actions{gap:4px!important}}

:root{--touch-control-hover:#dbeef5;--touch-control-ink:#007e9c}html[data-touch-theme=dark]{--touch-control-hover:#2b4755;--touch-control-ink:#83d9e7}

/* Account popup: deliberate click, readable in light/dark and tablet views. */
body>header #user.touch-user-click-menu #userOptions{display:none!important;z-index:100090!important;box-sizing:border-box;overflow:auto;border:1px solid var(--touch-theme-border)!important;border-radius:18px!important;box-shadow:0 16px 55px #142c3c30;background:var(--touch-theme-surface)!important;color:var(--touch-theme-text)!important;padding:8px!important}
body>header #user.touch-user-open #userOptions{display:block!important}
body>header #userInfo[role=button]{cursor:pointer;border-radius:12px;outline-offset:3px}body>header #userInfo[role=button]:focus-visible{outline:2px solid #00a6c8}
body>header #userOptions .header{background:var(--touch-theme-hover)!important;color:var(--touch-theme-text)!important;border:0!important;border-radius:11px;padding:12px!important;font-weight:700}
body>header #userOptions :is(.content,.printer,.buttons){background:transparent!important;color:var(--touch-theme-text)!important;padding:10px!important;margin:0!important;box-sizing:border-box}
body>header #userOptions .content a{display:flex;gap:8px;align-items:center;justify-content:center;min-height:44px;border-radius:10px;padding:8px;color:inherit;text-decoration:none}
body>header #userOptions .content a:hover{background:var(--touch-theme-hover)}
body>header #userOptions select{width:100%;min-width:0;max-width:100%;margin-top:8px;padding:10px;border:1px solid var(--touch-theme-border)!important;border-radius:11px!important;background:var(--touch-theme-surface)!important;color:var(--touch-theme-text)!important;font:inherit;min-height:44px}
body>header #userOptions .buttons{display:flex!important;gap:8px;border-top:1px solid var(--touch-theme-border)}
body>header #userOptions .buttons a{display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;flex:1;padding:10px 12px!important;border-radius:11px!important;border:1px solid var(--touch-theme-border)!important;background:var(--touch-theme-hover)!important;color:var(--touch-theme-text)!important;text-decoration:none;font-weight:650}
body>header #userOptions .buttons a[href*="logout"]{order:2;margin-left:auto;background:#fce7eb!important;color:#ab2947!important;border-color:#efbdc9!important}
html[data-touch-theme=dark] body>header #userOptions .buttons a[href*="logout"]{background:#512a35!important;color:#ffb3be!important;border-color:#875061!important}

/* Keep every nested navigation link readable, including visited links. */
html[data-touch-theme=dark] header #main-menu .menu-list .menu-list .item>a,html[data-touch-theme=dark] header #main-menu .menu-list .menu-list .item>a:visited,html[data-touch-theme=dark] header #main-menu .menu-list .menu-list .item>a>.name{color:#e5edf2!important}
html[data-touch-theme=dark] header #main-menu .menu-list .menu-list .item>a:hover,html[data-touch-theme=dark] header #main-menu .menu-list .menu-list .item>a:hover>.name{color:#bdebf0!important}

/* Notification counts keep a circular silhouette at every number. */
header #main-menu .menu-notification-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:22px!important;height:22px!important;min-width:22px!important;max-width:22px!important;min-height:22px!important;max-height:22px!important;padding:0!important;border-radius:50%!important;aspect-ratio:1;flex:0 0 22px!important;line-height:1!important;font-size:11px!important;letter-spacing:-.3px;white-space:nowrap}
header #main-menu .care-overdue-badge.menu-notification-badge.is-zero{display:none!important}

/* Personal unresolved TouchDesk deadlines, loaded independently from ERP. */
#helpdesk-navigation>a{position:relative;display:inline-flex;align-items:center;gap:6px}#helpdesk-navigation .desk-due-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;box-sizing:border-box;border-radius:11px;background:#fff0cc;color:#965000;font:750 12px/1 var(--touch-font,system-ui);box-shadow:0 0 0 2px var(--surface,#fff)}#helpdesk-navigation .desk-due-badge.overdue{background:#ffe2e7;color:#af2446}#helpdesk-navigation .desk-due-badge[hidden]{display:none!important}html[data-touch-theme=dark] #helpdesk-navigation .desk-due-badge{background:#66491d;color:#ffe2a3;box-shadow:none}html[data-touch-theme=dark] #helpdesk-navigation .desk-due-badge.overdue{background:#632b40;color:#ffcfda}

/* Keep the account menu accessible in both normal and stripped order layouts. */
body>header #user.touch-user-click-menu{display:flex!important;align-items:center;flex:0 0 auto}
body>header #userInfo[role=button]{display:flex!important;align-items:center;min-height:40px;padding:0 6px}
body>header #userInfo .cell{display:block!important}
@media(max-width:1050px){body>header #userInfo>.cell:last-child{display:none!important}body>header #userInfo{min-width:44px;min-height:44px;justify-content:center}body>header #userInfo .avatar.horizontal{margin:0!important}}

/* Shared system typography with TouchDesk; readable order hierarchy. */
#mainOrderList{font-family:var(--touch-font,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:14px;line-height:1.5;font-variant-numeric:tabular-nums}
#mainOrderList .row .title{font-family:inherit;font-size:14px!important;line-height:1.45!important;font-weight:500}
#mainOrderList .row .sub{font-family:inherit;font-size:12px!important;line-height:1.5!important;font-weight:400}
#mainOrderList .row .o-clientname>.title{font-size:15px!important;line-height:1.4!important;font-weight:650}
#mainOrderList .row .o-i-name>.title{font-size:15px!important;line-height:1.45!important;font-weight:500}
#mainOrderList .row .o-id>.title{font-size:14px!important;font-weight:650}
#mainOrderList .row .o-total>.title{font-size:15px!important;font-weight:650}
#mainOrderList .row .o-i-code>.title{font-size:13px!important;font-weight:600}
#mainOrderList .row .o-i-quantity>.title{font-size:15px!important;font-weight:650}
#mainOrderList .row [data-action=stockInfo]{font-size:12px!important;line-height:1.5}
#mainOrderList .row .o-date input[type=date]{font-size:11px!important;font-family:inherit!important;line-height:1.45!important;max-width:100px!important;width:100px!important}
#mainOrderList .row .o-payment .switchButton{font-size:12px!important;line-height:1.4!important;font-weight:650}
#mainOrderList .orderActions .orderAction>.text{font-family:var(--touch-font);font-size:12px!important;line-height:1.35!important}
#mainOrderList .headLine td{font-family:inherit;font-size:12px;line-height:1.4}

body:has(label.switchDisplayMode:not(.active)) #mainOrderList .o-id{width:120px!important;min-width:120px!important}
body:has(label.switchDisplayMode:not(.active)) #mainOrderList .o-date{width:112px!important;min-width:112px!important}
body:has(label.switchDisplayMode:not(.active)) #mainOrderList .o-clientname{width:180px!important;min-width:180px!important}
body:has(label.switchDisplayMode:not(.active)) #mainOrderList .o-i-code{width:160px!important;min-width:160px!important}
#mainOrderList .row .order-code-token{white-space:normal!important;overflow-wrap:anywhere;word-break:normal}

/* Shared Touch interaction language: same timing, edge and lift across apps. */
html[data-touch-theme] body :is(.shop-chip,.status-tab,.scope-picker-trigger,.touch-header-icon,#touch-settings-toggle,#userInfo,#touch-problem-nav>.item>a,#touch-settings-panel #main-menu .item>a,#touch-settings-panel .touch-menu-expand,header .check-label,header .button,.care-toolbar .btn,.care-toolbar .user-details,.sidebar #main-menu .menu-item-contents,#touch-theme-menu button,.desk-settings-nav button){transition:background-color .14s ease,color .14s ease,box-shadow .14s ease,transform .14s ease!important}
@media(hover:hover){
html[data-touch-theme] body :is(.shop-chip,.status-tab,.scope-picker-trigger,.touch-header-icon,#touch-settings-toggle,#userInfo,#touch-problem-nav>.item>a,#touch-settings-panel #main-menu .item>a,#touch-settings-panel .touch-menu-expand,header .check-label,header .button,.care-toolbar .btn,.care-toolbar .user-details,.sidebar #main-menu .menu-item-contents,#touch-theme-menu button,.desk-settings-nav button):not(:disabled):not(.disabled):not([aria-disabled=true]):hover{background:color-mix(in srgb,var(--touch-control-ink,#3979d3) 13%,var(--touch-theme-surface,#fff))!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--touch-control-ink,#3979d3) 55%,transparent),0 4px 12px #00000020!important;transform:translateY(-1px)!important;filter:none!important}
html[data-touch-theme] body :is(.shop-chip,header .eshop-select .check-label,header .buttons-group .check-label):hover img{transform:scale(1.06)}
}
html[data-touch-theme] body :is(.shop-chip,.status-tab,.scope-picker-trigger,.touch-header-icon,#touch-settings-toggle,#userInfo,#touch-problem-nav>.item>a,#touch-settings-panel #main-menu .item>a,#touch-settings-panel .touch-menu-expand,header .check-label,header .button,.care-toolbar .btn,.care-toolbar .user-details,.sidebar #main-menu .menu-item-contents,#touch-theme-menu button,.desk-settings-nav button):focus-visible{outline:2px solid var(--touch-control-ink,#3979d3)!important;outline-offset:2px!important}
html[data-touch-theme] body :is(.shop-chip,.status-tab,.scope-picker-trigger,.touch-header-icon,#touch-settings-toggle,#userInfo,#touch-problem-nav>.item>a,#touch-settings-panel #main-menu .item>a,header .check-label,header .button,.care-toolbar .btn,.care-toolbar .user-details):active{transform:translateY(0)!important;box-shadow:inset 0 0 0 1px var(--touch-control-ink,#3979d3)!important}
html[data-touch-theme] body :is(.shop-chip,header .eshop-select .check-label,header .buttons-group .check-label) img{transition:transform .14s ease}
@media(prefers-reduced-motion:reduce){html[data-touch-theme] body :is(.shop-chip,.status-tab,.scope-picker-trigger,.touch-header-icon,#touch-settings-toggle,#userInfo,#touch-problem-nav>.item>a,#touch-settings-panel #main-menu .item>a,#touch-settings-panel .touch-menu-expand,header .check-label,header .button,.care-toolbar .btn,.care-toolbar .user-details,.sidebar #main-menu .menu-item-contents,#touch-theme-menu button,.desk-settings-nav button),html[data-touch-theme] body :is(.shop-chip,header .check-label) img{transition:none!important;transform:none!important}}

/* Slightly more compact order typography; retain readable secondary text. */
#mainOrderList{font-size:13px;line-height:1.45}
#mainOrderList .row .title{font-size:13px!important;line-height:1.4!important}
#mainOrderList .row .o-clientname>.title,#mainOrderList .row .o-i-name>.title,#mainOrderList .row .o-total>.title{font-size:14px!important;line-height:1.4!important}
#mainOrderList .row .o-id>.title{font-size:13px!important}
#mainOrderList .row .o-i-code>.title{font-size:13px!important}
#mainOrderList .row .o-i-quantity>.title{font-size:14px!important}
#mainOrderList .row .sub{font-size:12px!important;line-height:1.45!important}

/* Same interaction feedback as the shared Touch controls. */
html[data-touch-theme] .touch-date-dialog button,html[data-touch-theme] .touch-date-trigger{position:relative;transition:background-color .14s ease,color .14s ease,box-shadow .14s ease,transform .14s ease!important}
@media(hover:hover){html[data-touch-theme] .touch-date-dialog button:not(:disabled):hover,html[data-touch-theme] .touch-date-trigger:hover{background:color-mix(in srgb,var(--touch-control-ink,#3979d3) 13%,var(--touch-theme-surface,#fff))!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--touch-control-ink,#3979d3) 55%,transparent),0 4px 12px #00000020!important;transform:translateY(-1px)!important;z-index:1}html[data-touch-theme] .touch-date-dialog .range-edge:hover{background:#087f9b!important;color:#fff!important}}
html[data-touch-theme] .touch-date-dialog button:focus-visible,html[data-touch-theme] .touch-date-trigger:focus-visible,html[data-touch-theme] .touch-date-inputs input:focus-visible{outline:2px solid var(--touch-control-ink,#3979d3)!important;outline-offset:2px!important}
html[data-touch-theme] .touch-date-dialog button:active{transform:translateY(0)!important}
html[data-touch-theme] .touch-date-dialog .range-edge,html[data-touch-theme] .touch-date-dialog footer [data-apply]{background:#087f9b!important;color:#fff!important}
html[data-touch-theme=dark] .touch-date-dialog .in-range{background:#254653!important}
html[data-touch-theme=dark] .touch-date-dialog nav button[aria-pressed=true]{background:#254653!important;color:#c4eef5!important;box-shadow:inset 3px 0 #64c7dc}
@media(prefers-reduced-motion:reduce){html[data-touch-theme] .touch-date-dialog button,html[data-touch-theme] .touch-date-trigger{transition:none!important;transform:none!important}}

/* Neutral blue replaces the decorative pink order tint in light mode only. */
html[data-touch-theme=light] #mainOrderList .row:is(:nth-child(5n+2):not([style*="--row-wash"]),[data-eshopcode-ref="Jirno"]:not([style*="--row-wash"]),[style*="--row-wash:#fdf5f9"],[style*="--row-wash: #fdf5f9"]){--row-wash:#f1f5f9!important;--order-wash:#e0eaf3!important}
html[data-touch-theme=light] #mainOrderList .row[data-eshopcode-ref="Jirno"]+.row.comment{--order-wash:#e0eaf3!important}
html[data-touch-theme=light] #mainOrderList.order-block-view .row:is([style*="--block-wash:#faf2f7"],[style*="--block-wash: #faf2f7"]){--block-wash:#f1f5f9!important;--block-hover:#e0eaf3!important}

/* Customer-authored notes remain distinct from internal notes. */
html[data-touch-theme] body.menu-item-1 #body #content #mainOrderList#mainOrderList .commentsChat .comment.clientNote:not(.empty):not(.new){background:#fff0d9!important;color:#7a3e0a!important;border:1px solid #e7a14a!important;border-left:4px solid #e99529!important;border-radius:14px!important}
html[data-touch-theme=dark] body.menu-item-1 #body #content #mainOrderList#mainOrderList .commentsChat .comment.clientNote:not(.empty):not(.new){background:#533b25!important;color:#ffe0b5!important;border-color:#ba813d!important;border-left-color:#f3ae4c!important}

/* Personal pins use the normal row layout with a warm, readable highlight. */
html[data-touch-theme=light] body.menu-item-1 #mainOrderList#mainOrderList .row.person-pinned-order{--row-wash:#fff3e1!important;--order-wash:#ffe6bf!important;background-color:#fff3e1!important;color:#3e3429!important}
html[data-touch-theme=dark] body.menu-item-1 #mainOrderList#mainOrderList .row.person-pinned-order{--row-wash:#3c3025!important;--order-wash:#4b3927!important;background-color:#3c3025!important;color:#f2e8dc!important}
html[data-touch-theme] body.menu-item-1 #mainOrderList#mainOrderList .row.person-pinned-order>td{background-color:transparent!important;border-color:var(--touch-theme-border,#d8c3a5)!important}
html[data-touch-theme] body.menu-item-1 #mainOrderList#mainOrderList .row.person-pinned-order:is(:hover,.hovered){background-color:var(--order-wash)!important}
html[data-touch-theme] body.menu-item-1 #mainOrderList#mainOrderList .row.person-pinned-order.firstRow>td{border-top:1px solid #cd914f!important}

/* Strong personal-pin frame without changing row geometry. */
html[data-touch-theme] body.menu-item-1 #mainOrderList#mainOrderList .row.person-pinned-order.firstRow>td{border-top:2px solid #f29a2e!important}
html[data-touch-theme] body.menu-item-1 #mainOrderList#mainOrderList .row.person-pinned-order>td:first-child{border-left:2px solid #f29a2e!important}
html[data-touch-theme] body.menu-item-1 #mainOrderList#mainOrderList .row.person-pinned-order>td:last-child{border-right:2px solid #f29a2e!important}
html[data-touch-theme] body.menu-item-1 #mainOrderList#mainOrderList .row.person-pinned-order.lastRow>td{border-bottom:2px solid #f29a2e!important}

/* A single overlay follows the complete order, so cell seams cannot break corners. */
html[data-touch-theme] body.menu-item-1 #mainOrderList#mainOrderList .row.person-pinned-order.firstRow>td{border-top-width:1px!important;border-top-color:var(--touch-theme-border,#c7d6de)!important}
html[data-touch-theme] body.menu-item-1 #mainOrderList#mainOrderList .row.person-pinned-order>td:first-child{border-left-width:1px!important;border-left-color:var(--touch-theme-border,#c7d6de)!important}
html[data-touch-theme] body.menu-item-1 #mainOrderList#mainOrderList .row.person-pinned-order>td:last-child{border-right-width:1px!important;border-right-color:var(--touch-theme-border,#c7d6de)!important}
html[data-touch-theme] body.menu-item-1 #mainOrderList#mainOrderList .row.person-pinned-order.lastRow>td{border-bottom-width:1px!important;border-bottom-color:var(--touch-theme-border,#c7d6de)!important}
.person-pin-frame-host{position:relative!important}.person-pin-frame-layer{position:absolute;inset:0;pointer-events:none!important;z-index:8;overflow:visible}.person-pin-order-frame{position:absolute;box-sizing:border-box;border:2px solid #f29a2e;border-radius:20px;box-shadow:inset 0 0 0 1px #ffc47733,0 0 0 1px #f29a2e22;pointer-events:none!important}

html[data-touch-theme] body.menu-item-1 #body #content #mainOrderList#mainOrderList .o-total .touch-money-nowrap{display:inline-block!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important}
html[data-touch-theme] body.menu-item-1 #body #content #mainOrderList#mainOrderList .o-total>:is(.title,.sub){white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important}
html[data-touch-theme] body.menu-item-1 #body #content #mainOrderList#mainOrderList .o-total .touch-margin-preview{white-space:normal!important}

html[data-touch-theme] body.menu-item-1 #body #content #mainOrderList#mainOrderList .o-total .touch-margin-preview .touch-margin-label,html[data-touch-theme] body.menu-item-1 #body #content #mainOrderList#mainOrderList .o-total .touch-margin-preview .touch-money-nowrap{display:block!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}

/* Customer notes: centered orange bubbles, 20261110. */
html[data-touch-theme] body.menu-item-1 #body #content #mainOrderList#mainOrderList .commentsChat .comment.clientNote:not(.empty):not(.new){display:block!important;float:none!important;clear:both!important;width:max-content!important;max-width:calc(100% - 16px)!important;min-width:0!important;box-sizing:border-box!important;margin:8px auto!important;border:3px solid #eb8a16!important;border-radius:14px!important;box-shadow:0 0 0 1px #f5b45b44!important;white-space:normal!important;overflow-wrap:anywhere!important}
html[data-touch-theme=dark] body.menu-item-1 #body #content #mainOrderList#mainOrderList .commentsChat .comment.clientNote:not(.empty):not(.new){border-color:#ffae45!important;box-shadow:0 0 0 1px #ffae4533,0 2px 8px #0002!important}
