/* New staging application: screen interiors, navigation and forms. */
@media screen{
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout){--ci-cream:#f6eee2;--ci-cream2:#ecdfcb;--ci-surface:#fffaf2;--ci-surface-strong:#fffdf8;--ci-border:#dfd0ba;--ci-dark:#352922;--ci-red:#7b2423;--ci-header:#7b2423;--ci-header-text:#fff7e8;--ci-gold:#92703c;--ci-gold-light:#e7d3b1;--ci-gold-pale:#ecdfcb;--ci-surface-accent:#ecdfcb;--ci-success:#39714d;--warm-muted:#71665a;--warm-radius:22px;--n-accent:#7b2423;--n-ink:#352922;--n-muted:#71665a;--n-line:#dfd0ba;--n-bg:#f6eee2;color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,Thonburi,'Noto Sans Thai',sans-serif}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) body,html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #app{background:var(--n-bg)!important;color:var(--n-ink)!important;font-family:inherit!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #app{height:auto!important;min-height:100dvh!important;overflow:visible!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout),html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) body{overflow-x:clip!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #toast{max-width:calc(100vw - 32px)!important;min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) *{box-sizing:border-box}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) button,html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) input,html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) select,html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) textarea{font-family:inherit!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) button,html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) summary{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) button:focus-visible,html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) summary:focus-visible,html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) input:focus-visible,html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) select:focus-visible{outline:3px solid #92703c!important;outline-offset:3px}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #design-staging-banner{position:relative!important;inset:auto!important;min-height:28px;padding:6px 12px!important;background:#ecdfcb!important;color:#76552e!important;border:0!important;font-size:10px!important;line-height:1.4!important;text-align:center!important;z-index:901}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .topbar{position:relative!important;top:auto!important;min-height:66px!important;padding:12px 24px!important;background:transparent!important;border:0!important;box-shadow:none!important;gap:12px}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .app-logo{font-size:16px!important;color:#7b2423!important;gap:9px!important;font-weight:750!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .app-logo img{height:32px!important;width:32px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .app-logo span{font-size:16px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .user-pill{background:#fffaf2!important;color:var(--n-ink)!important;border:1px solid var(--n-line)!important;border-radius:50px!important;min-height:42px!important;box-shadow:none!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #user-pill{max-width:100%!important;min-width:0!important;height:auto!important;padding:9px 12px!important;gap:8px!important;white-space:normal!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #user-display{display:block!important;min-width:0!important;max-width:none!important;overflow:visible!important;text-overflow:clip!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.5!important;font-size:14px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #user-pill #user-av{display:none!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .topbar{height:auto!important;flex-wrap:wrap!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .topbar-right{position:relative!important;min-width:0!important;max-width:100%!important;flex-wrap:wrap!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #user-dropdown{top:calc(100% + 8px)!important;right:0!important;width:260px!important;min-width:0!important;max-width:calc(100vw - 40px)!important}
@media(max-width:736px){
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .topbar .app-logo{flex:0 1 auto}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .topbar-right{flex:1 1 160px!important;justify-content:flex-end!important}
}
@media(max-width:360px){
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .topbar-right{flex-basis:100%!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #user-pill{width:100%!important;justify-content:space-between!important}
}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #shop-navigation,html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .nav-tabs,html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .mapp-page-title,html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .mapp-record-label,html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #mobile-nav>div,html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .app-nav-indicator{display:none!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #app>.view{width:100%!important;flex:none!important;max-width:1220px!important;margin:0 auto!important;padding:4px 28px 70px!important;overflow:visible!important;background:transparent!important;border-radius:0!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) [hidden]{display:none!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #mobile-nav .mob-tab[style*="display: none"]{display:none!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .stock-table tr[data-native-row][hidden]{display:none!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-stock-empty{padding:30px 16px;border-radius:20px;background:#fffaf2;color:var(--n-muted);font-size:14px;text-align:center}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-pagehead{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin:12px 0 24px;padding:0!important;border:0!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-pagehead h1{font-size:34px!important;line-height:1.35!important;letter-spacing:-.9px!important;font-weight:760!important;margin:3px 0 0;color:var(--n-ink)!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-page-sub{font-size:13px!important;line-height:1.6!important;color:var(--n-muted)!important;margin:0}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-headtools{display:flex;gap:8px;flex-shrink:0;padding-bottom:3px}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-action{min-height:46px;padding:10px 17px;border:0;border-radius:14px;background:#fffaf2;color:var(--n-accent);font-size:15px;font-weight:650;cursor:pointer;display:inline-flex;justify-content:center;align-items:center;gap:10px;white-space:nowrap}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-primary{background:var(--n-accent)!important;color:var(--ci-header-text)!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-secondary{background:#ecdfcb!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-pressed{transform:scale(.975)!important;transition:transform 140ms ease-out!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-workrail{display:none}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) :is(.card,.finance-card,.cost-card,.emp-card,.edp-card,.uix-section-card,.sales-month-card,.iai-ai-box,.iai-level-card,.iai-kpi,.employee-installments,#fixed-cost-panel){border:0!important;border-radius:22px!important;background:#fffaf2!important;box-shadow:none!important;padding:22px!important;margin-bottom:18px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .card-title{font-size:17px!important;font-weight:700!important;color:var(--n-ink)!important;letter-spacing:-.2px;line-height:1.5!important;margin-bottom:17px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .mc{background:#fffaf2!important;border:0!important;border-radius:18px!important;padding:17px!important;box-shadow:none!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .mc-label{color:var(--n-muted)!important;font-size:13px!important;line-height:1.5!important;font-weight:500!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .mc-val{font-size:27px!important;font-weight:730!important;letter-spacing:-.7px;line-height:1.5!important;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .mc-sub{font-size:12px!important;line-height:1.6!important;color:var(--n-muted)!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:46px!important;border:1px solid var(--n-line)!important;border-radius:12px!important;padding:11px 12px!important;background:#faf4ea!important;color:var(--n-ink)!important;font-size:16px!important;line-height:1.4!important;max-width:100%;box-shadow:none!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) :is(.btn-save,.btn-arf-save,.btn-add-row,.btn-add-menu,.btn-add-user,.pu-save-btn,.btn-payslip){min-height:46px!important;border-radius:13px!important;background:var(--n-accent)!important;color:var(--ci-header-text)!important;border:0!important;padding:11px 16px!important;font-size:14px!important;font-weight:650!important;box-shadow:none!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) :is(.btn-cancel,.btn-arf-cancel){min-height:46px!important;border-radius:13px!important;background:#eee5d8!important;color:var(--n-ink)!important;border:0!important;padding:11px 16px!important;font-size:14px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .warm-detail{border:0!important;border-radius:14px!important;background:#faf4ea!important;color:var(--n-muted)!important;padding:10px 13px!important;margin:12px 0!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .warm-detail>summary{font-size:13px!important;line-height:1.6!important;min-height:28px!important;color:var(--n-muted)!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .warm-detail[open]{background:#ecdfcb!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) :is(.warm-segments,#stock-section-tabs,.uix-users-nav){background:#eadfce!important;border:0!important;border-radius:14px!important;padding:4px!important;gap:3px!important;box-shadow:none!important;display:flex!important;flex-wrap:nowrap!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) :is(.warm-segments,#stock-section-tabs) button{min-width:0!important;min-height:42px!important;flex:1!important;border:0!important;border-radius:11px!important;font-size:14px!important;line-height:1.3!important;padding:9px 6px!important;white-space:nowrap!important;color:var(--n-muted)!important;box-shadow:none!important;background:transparent!important;transition:background-color 240ms ease,color 240ms ease!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) :is(.warm-segments button[aria-pressed=true],#stock-section-tabs>button[style*="var(--ci-red)"]){background:#fffaf2!important;color:var(--n-ink)!important;box-shadow:0 2px 5px #3529220c!important;font-weight:700!important}
/* Stock: a real ingredient worklist, not a horizontally scrolling spreadsheet. */
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #n-stock-context{display:flex;gap:8px;align-items:center;margin-bottom:14px}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #n-stock-context>details{margin:0!important;flex:1;background:transparent!important;padding:0!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #stock-date-nav{background:#fffaf2!important;border:0!important;border-radius:16px!important;padding:12px!important;justify-content:flex-start!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #stock-section-tabs{margin-bottom:18px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .warm-stock-list{background:transparent!important;padding:0!important;border-radius:0!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .warm-stock-list>.card-title{display:none!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .warm-stock-search{display:grid!important;grid-template-columns:minmax(0,1fr) 100px auto!important;gap:8px!important;margin:0 0 14px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .warm-stock-search input{min-width:0!important;width:100%!important;background:#fffaf2!important;border:0!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .warm-stock-search select{width:100%!important;min-width:0!important;font-size:13px!important;background:#fffaf2!important;border:0!important;padding:8px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .warm-stock-search button{min-height:44px;border:0!important;background:transparent!important;color:var(--n-accent)!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .warm-stock-list>[data-warm-detail=round-tools]{margin-top:0!important;background:transparent!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .stock-table{width:100%!important;min-width:0!important;border:0!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .stock-table td{border-color:var(--n-line)!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #warm-stock-tools{margin-top:24px!important;background:#fffaf2!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .warm-round-primary{width:100%!important;min-height:52px!important;border:0!important;background:var(--n-accent)!important;color:var(--ci-header-text)!important;border-radius:16px!important;font-size:15px!important;margin:16px 0!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .warm-holiday-action{border:0!important;background:transparent!important;color:var(--n-muted)!important;margin-top:8px!important}
/* Finance: calm balance hierarchy, explicitly separate entry actions. */
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #fin-export-bar{background:transparent!important;border:0!important;padding:0!important;margin-bottom:16px!important;min-height:44px}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #fin-export-bar button{height:44px!important;min-width:44px!important;border:0!important;background:#fffaf2!important;border-radius:13px!important;color:var(--n-ink)!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #warm-finance-tabs{margin:0 0 16px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-finance-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-finance-actions button{min-height:52px;border-radius:16px}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-income{background:#e4f3ec;color:#176a49}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-expense{background:#fffaf2;color:#a43b30}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #fin-drag-container{gap:16px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .fin-drag-handle{display:none!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .warm-bank{background:#fffaf2!important;border:0!important;border-radius:24px!important;padding:26px!important;margin-bottom:0!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #fin-profit-total{font-size:42px!important;line-height:1.5!important;letter-spacing:-1.2px!important;font-weight:740!important;color:var(--n-ink)!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #fin-drag-container>[data-block=profit]{width:100%!important;grid-column:1/-1!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #fin-drag-container>[data-block=forecast] .finance-card{background:#f1e4d1!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #fin-monthend-band{display:flex!important;flex-direction:column!important;gap:12px!important;border:0!important;border-radius:22px!important;background:#fffaf2!important;padding:20px!important;grid-column:1/-1!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #fin-monthend-band>div{border-radius:0!important;background:transparent!important;padding:6px 12px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #fin-reserve-band{background:#fffaf2!important;border:0!important;border-radius:22px!important;padding:22px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #fin-drag-container [data-block=tables]>.card{border-radius:20px!important;padding:18px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .warm-ledger-actions{gap:8px!important;flex-wrap:wrap!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .warm-ledger-total{font-size:28px!important;letter-spacing:-.7px}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #warm-ledger-tabs{margin-bottom:18px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .warm-ledger-add{min-height:44px!important;border-radius:12px!important;padding:10px 14px!important;background:var(--n-accent)!important;color:var(--ci-header-text)!important;border:0!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .warm-finance-scope{font-size:13px!important;color:var(--n-muted)!important;line-height:1.6!important}
/* Today: operational launchpad, then quiet reports. */
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-work-launcher{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:24px}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-work-launcher button{justify-content:flex-start;white-space:normal;min-height:118px;align-items:flex-start;padding:20px;border-radius:22px;gap:12px;position:relative}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-work-launcher svg{width:26px;height:26px;flex-shrink:0;margin-top:4px}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-work-launcher strong{font-size:19px;display:block;color:var(--n-ink);line-height:1.5}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-work-launcher small{font-size:12px;color:var(--n-muted);display:block;line-height:1.6;margin-top:5px}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-work-launcher button>span:last-child{position:absolute;bottom:12px;right:18px;font-size:23px}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #dash-widgets-area>div:first-child:not(.dash-widget){display:none!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #dash-widgets-area{display:grid!important;grid-template-columns:1fr 1fr!important;gap:16px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .dash-widget{margin:0!important;min-width:0}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .dash-widget>.card{height:100%;margin:0!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #dw-fin_summary{background:#fffaf2!important;border-radius:22px;padding:20px}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #mapp-dashboard-manage{font-size:12px!important;min-height:44px!important;border:0!important;background:transparent!important;margin-top:-10px!important}
/* Employees: payroll first, grouped people directory, redesigned detail. */
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .emp-page-header{display:none!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #emp-summary-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin-bottom:24px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #emp-summary-grid>.mc:first-child,html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #emp-summary-grid>.mc:nth-child(2){display:none!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #emp-summary-grid>.mc:last-child{background:#f1e4d1!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .emp-card-item{border:0!important;border-bottom:1px solid var(--n-line)!important;border-radius:0!important;background:#fffaf2!important;box-shadow:none!important;padding:18px!important;min-height:92px!important;margin:0!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .emp-card-item:first-of-type{border-radius:20px 20px 0 0!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .emp-card-item:last-of-type{border-radius:0 0 20px 20px!important;border-bottom:0!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .emp-card-item.active{background:#ecdfcb!important;border-left:3px solid var(--n-accent)!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .emp-card-avatar{border-radius:15px!important;background:#f1e4d1!important;color:var(--n-accent)!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .emp-card-name{font-size:16px!important;color:var(--n-ink)!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .emp-card-sub{font-size:12px!important;line-height:1.6!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-employees .emp-main-layout{display:block!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #emp-list-panel{max-height:none!important;overflow:visible!important;width:100%!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #emp-detail-area{width:100%!important;min-width:0!important;margin:0 0 14px!important;padding:12px 0!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #emp-detail-area[hidden]{display:none!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-employee-chevron{flex:0 0 24px;font-size:24px;color:var(--n-accent);text-align:center;transition:transform 280ms ease}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-employee-expanded .n-employee-chevron{transform:rotate(180deg)}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .emp-card-item[role=button]:focus-visible{outline:2px solid var(--ci-gold);outline-offset:2px}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-employee-collapse{width:100%;min-height:44px;justify-content:center;background:var(--ci-gold-pale);color:var(--n-accent);margin-bottom:12px}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .emp-log-heading{gap:10px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .emp-log-month-nav{display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;gap:6px!important;flex-basis:100%!important;width:100%!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .emp-log-month-nav button{min-width:44px!important;min-height:44px!important;background:#f6eee2!important;border:0!important;border-radius:12px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .emp-salary-card{background:#f1e4d1!important;color:var(--n-ink)!important;border:0!important;border-radius:24px!important;padding:22px!important}
/* Purchasing: receipt-like list, not a stack of cards. */
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .purchase-page-wrap{max-width:none!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .purchase-date-nav{background:#fffaf2!important;border:0!important;border-radius:16px!important;padding:10px!important;gap:5px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .purchase-date-nav button{min-width:44px!important;min-height:44px!important;border:0!important;border-radius:11px!important;background:#f6eee2!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .purchase-summary{background:transparent!important;border:0!important;gap:10px!important;padding:0!important;margin:20px 0!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .psum-card{background:#fffaf2!important;border:0!important;border-radius:18px!important;padding:16px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .purchase-add-btn{background:var(--n-accent)!important;color:var(--ci-header-text)!important;border:0!important;border-radius:16px!important;min-height:52px!important;font-size:15px!important;margin-bottom:22px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #purchase-list{background:#fffaf2;border-radius:22px;overflow:hidden;padding:0 18px}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .pi-section{padding:20px 0 10px!important;margin:0!important;font-size:13px!important;color:var(--n-muted)!important;background:transparent!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .pi-card{border:0!important;border-bottom:1px solid var(--n-line)!important;border-radius:0!important;box-shadow:none!important;margin:0!important;padding:16px 0!important;gap:8px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .pi-cat-bar{display:none!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .pi-name{font-size:16px!important;line-height:1.5!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .pi-meta{font-size:12px!important;color:var(--n-muted)!important;line-height:1.6!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .pi-total{font-size:20px!important;color:var(--n-ink)!important;font-variant-numeric:tabular-nums}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .pi-act-btn{min-width:36px!important;min-height:44px!important;border:0!important;border-radius:10px!important;background:#f6eee2!important}
/* Recipes, sales, analysis and system settings each get new interior layouts. */
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .cost-page-toolbar{display:none!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .mux-cost-tools{background:transparent!important;padding:0!important;margin-bottom:20px!important;gap:10px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #cost-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .cost-card{display:grid!important;grid-template-columns:1fr auto!important;gap:8px 14px!important;padding:22px!important;margin:0!important;align-items:center}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .cost-card-name{grid-column:1/-1;font-size:19px!important;font-weight:700!important;color:var(--n-ink)!important;line-height:1.5!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .cost-card-cost{font-size:30px!important;color:var(--n-ink)!important;letter-spacing:-.7px}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .cost-card-cost:before{content:'ต้นทุน / ชาม';display:block;font-size:12px;color:var(--n-muted);letter-spacing:0;font-weight:400;margin:4px 0}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .cost-card-sell{font-size:14px!important;color:var(--n-muted)!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .cost-bar-bg,html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .cost-meta,html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .cost-ingredient-list,html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .cost-card-actions{grid-column:1/-1}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .cost-bar-bg{height:5px!important;border-radius:4px!important;background:#ecdfcb!important;margin-top:12px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .cost-bar-fill{background:#92703c!important;border-radius:4px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .cost-meta{font-size:13px!important;color:var(--n-muted)!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .cost-ingredient-row{font-size:13px!important;padding:8px 0!important;color:var(--n-muted)!important;border-bottom:1px solid var(--n-line)}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .cost-card-actions button{min-height:44px!important;border:0!important;border-radius:12px!important;font-size:13px!important;background:#ecdfcb!important;color:var(--n-accent)!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .cost-card-actions .cost-delete-button{color:#a13c38!important;background:#f9eae3!important;min-width:50px}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #sales-container .card,html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #sales-container .sales-month-card{border-radius:22px!important;padding:22px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .sales-month-kpis,html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .sales-month-stats{gap:12px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #sales-container table{min-width:0!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #sales-container th,html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #sales-container td{font-size:13px!important;padding:14px 8px!important;border-color:var(--n-line)!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #sales-container th{background:#f6eee2!important;color:var(--n-muted)!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-settings-hub{background:transparent!important;border:0!important;padding:0!important;margin-bottom:20px!important;border-radius:0!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .uix-hero-copy{display:none!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .uix-hero-kpis{background:#fffaf2!important;border-radius:20px!important;padding:18px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .uix-users-nav>button{min-height:44px!important;border:0!important;border-radius:11px!important;padding:8px 12px!important;font-size:14px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #users-table{border:0!important;min-width:0!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #users-table tr{border-bottom:1px solid var(--n-line)!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #users-table td{padding:16px 8px!important;border-color:var(--n-line)!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .uix-section-title{font-size:18px!important;color:var(--n-ink)!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .uix-section-desc{font-size:13px!important;line-height:1.6!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .uix-perm-matrix{font-size:13px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-insights .iai-page-header{display:none!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-insights :is(.iai-kpi,.iai-level-card){border-radius:18px!important}
/* All dialogs use the new form/sheet system, preserving the original handlers. */
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) :is(.modal-overlay,.pu-overlay,.mapp-sheet-layer){background:rgba(53,41,34,.32)!important;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);z-index:900!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) :is(.modal,.pu-sheet,.mapp-sheet){background:#fffaf2!important;color:var(--n-ink)!important;border:0!important;border-radius:28px!important;padding:24px!important;box-shadow:0 18px 80px #35292224!important;max-height:90dvh!important;overflow-y:auto!important;overscroll-behavior:contain}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .modal h2,html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .pu-sheet-title,html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .mapp-sheet-title{font-size:22px!important;font-weight:730!important;color:var(--n-ink)!important;line-height:1.5!important;margin-bottom:20px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .mfg{margin-bottom:17px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .mfg label,html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .pu-field label{font-size:13px!important;color:var(--n-muted)!important;line-height:1.6!important;margin-bottom:7px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .modal-footer{gap:10px!important;padding-top:18px!important;border-top:1px solid var(--n-line)!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .modal-footer button{flex:1;min-height:48px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .mapp-sheet-row{border:0!important;border-bottom:1px solid var(--n-line)!important;border-radius:0!important;background:#fffaf2!important;padding:14px 4px!important;min-height:76px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .mapp-sheet-row-icon{border-radius:14px!important;background:#ecdfcb!important;color:var(--n-accent)!important;width:42px!important;height:42px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .mapp-sheet-row strong{font-size:16px!important;color:var(--n-ink)!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .mapp-sheet-row small{font-size:12px!important;color:var(--n-muted)!important;line-height:1.5!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .mapp-section-label{font-size:12px!important;color:var(--n-muted)!important;padding:20px 4px 8px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .mapp-sheet-layer.is-open .mapp-sheet{animation:n-sheet-open 440ms cubic-bezier(.22,.61,.36,1)}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .modal-overlay.open .modal{animation:n-sheet-open 440ms cubic-bezier(.22,.61,.36,1)}
@keyframes n-sheet-open{from{transform:translateY(100%)}to{transform:translateY(0)}}
/* Stateful controls share a sliding selection, rather than flashing backgrounds. */
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-sliding-segments{position:relative!important;isolation:isolate}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-sliding-segments>button{z-index:1;position:relative;background:transparent!important;box-shadow:none!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-segment-glider{position:absolute;left:0;top:4px;background:#fffaf2;z-index:0;border-radius:11px;box-shadow:0 2px 5px #3529220c;pointer-events:none;transition:transform 360ms cubic-bezier(.22,.61,.36,1),width 360ms cubic-bezier(.22,.61,.36,1)}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .uix-users-hero-copy{display:none!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .uix-users-summary{display:grid!important;grid-template-columns:repeat(3,1fr)!important;background:#fffaf2!important;border-radius:20px!important;margin-bottom:16px!important;padding:8px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .uix-users-summary>div{background:transparent!important;border-radius:0!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .uix-users-nav{display:flex!important;flex-wrap:nowrap!important;gap:4px!important;background:#eadfce!important;padding:4px!important;border-radius:14px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .uix-users-nav>button{min-width:0!important;flex:1!important;border:0!important;border-radius:11px!important;min-height:44px!important;padding:8px 4px!important;font-size:13px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #sales-month-dash{padding:0!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #sales-month-dash>.sales-month-card{margin:0 0 18px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #emp-summary-grid{grid-template-columns:1fr 1fr!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #emp-summary-grid>.mc:first-child,html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #emp-summary-grid>.mc:nth-child(2){display:block!important;background:transparent!important;padding:0 4px 6px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #emp-summary-grid>.mc:nth-child(-n+2) .mc-val{display:inline;font-size:19px!important;margin-right:5px}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #emp-summary-grid>.mc:nth-child(-n+2) .mc-sub{display:inline}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #emp-summary-grid>.mc:last-child{grid-column:1/-1}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-person-back{display:none;margin-bottom:18px;background:#ecdfcb}
@media(min-width:1000px){
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #app{padding-left:232px!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-workrail{display:flex;position:fixed;left:0;top:28px;bottom:0;width:232px;padding:38px 20px;background:#fffaf2;border-right:1px solid var(--n-line);flex-direction:column;gap:5px;z-index:650}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-rail-brand{font-size:24px;color:#7b2423;font-weight:750;padding:0 12px}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-rail-note{font-size:12px;color:var(--n-muted);padding:0 12px;margin-bottom:30px}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-workrail button{justify-content:flex-start;border-radius:12px;background:transparent;color:var(--n-muted);min-height:48px}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-workrail button.is-active{background:#ecdfcb;color:var(--n-accent)}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #fin-drag-container{display:grid!important;grid-template-columns:1fr 1fr!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #fin-drag-container>[data-block=tables],html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #fin-drag-container>[data-block=charts],html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #fin-reserve-band{grid-column:1/-1}
}
@media(min-width:737px){html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #mobile-nav{display:none!important}}
@media(min-width:737px) and (max-width:999px){html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-workrail{display:flex;gap:5px;padding:6px 24px;overflow-x:auto;background:#fffaf2}html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-rail-brand,html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-rail-note{display:none}html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-workrail .n-action{font-size:13px;padding:7px 12px;min-height:42px}html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-workrail .is-active{background:#ecdfcb}}
@media(max-width:736px){
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #mobile-nav{width:100vw!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .stock-table tr[data-native-row=stock]{grid-template-rows:32px 34px 40px!important;min-height:142px!important;padding:14px 16px!important;align-content:start!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .warm-stock-value{display:inline-flex!important;min-height:0!important;height:auto!important;align-items:center!important;justify-content:flex-end!important;vertical-align:middle!important;width:auto!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .topbar{padding:12px 20px 4px!important;min-height:58px!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #app>.view{padding:8px 20px calc(110px + env(safe-area-inset-bottom))!important;max-width:none!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-pagehead{margin:8px 0 22px}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-pagehead h1{font-size:32px!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-page-sub{font-size:12px!important;max-width:260px}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-headtools .n-action{padding:8px 13px;font-size:13px;border-radius:13px}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #mobile-nav{position:fixed!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;height:calc(76px + env(safe-area-inset-bottom))!important;min-height:76px!important;padding:8px 12px calc(8px + env(safe-area-inset-bottom))!important;gap:4px!important;background:rgba(255,250,242,.94)!important;border:0!important;border-top:1px solid #dfd0ba!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);z-index:700!important;isolation:isolate}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #mobile-nav .mob-tab{grid-column:auto!important;min-width:0!important;min-height:58px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;padding:6px!important;border:0!important;border-radius:16px!important;background:transparent!important;color:#877767!important;box-shadow:none!important;transition:background-color 280ms ease,color 280ms ease!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #mobile-nav .mob-tab:first-of-type{order:2}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #mobile-nav #mobt-dashboard{order:0}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #mobile-nav #mobt-stock{order:1}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #mobile-nav #mobt-finance{order:2}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #mobile-nav #mobt-more{order:3}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #mobile-nav .mob-tab.active,html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #mobile-nav .mob-tab.n-selected{color:var(--n-accent)!important;background:#ecdfcb!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #mobile-nav .mob-tab svg{width:24px!important;height:24px!important;stroke-width:1.7!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #mobile-nav .tab-label{font-size:11px!important;font-weight:600!important;line-height:1.3!important;white-space:nowrap!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .mapp-sheet-layer{align-items:flex-end!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) :is(.modal,.pu-sheet,.mapp-sheet){border-radius:28px 28px 0 0!important;width:100%!important;max-width:none!important;padding:22px 20px calc(24px + env(safe-area-inset-bottom))!important;max-height:90dvh!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .modal-overlay{align-items:flex-end!important;padding:0!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .modal{margin:0!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) :is(.card,.finance-card,.edp-card,.uix-section-card,.sales-month-card,.iai-ai-box,.employee-installments){padding:20px!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .stock-table:is(#stock-table-morning,#stock-table-evening){display:block!important;border-collapse:separate!important;border-spacing:0!important;overflow:visible!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .stock-table:is(#stock-table-morning,#stock-table-evening)>tbody{display:block!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .stock-table:is(#stock-table-morning,#stock-table-evening) tr:first-child{display:none!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .stock-table tr[data-native-row=stock]{display:grid!important;grid-template-columns:minmax(0,1fr) 64px 44px!important;grid-template-rows:auto auto auto!important;gap:4px 10px!important;background:#fffaf2!important;border:0!important;border-bottom:1px solid var(--n-line)!important;padding:18px 16px!important;margin:0!important;border-radius:0!important;min-height:126px!important;overflow:visible!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .stock-table tr[data-native-row=stock]:nth-child(2){border-radius:20px 20px 0 0!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .stock-table tr[data-native-row=stock]:last-child{border-radius:0 0 20px 20px!important;border-bottom:0!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .stock-table tr[data-native-row=stock]>td{display:block!important;position:static!important;border:0!important;padding:0!important;min-height:0!important;width:auto!important;min-width:0!important;text-align:left!important;background:transparent!important;font-size:13px!important;line-height:1.5!important;white-space:normal!important;overflow:visible!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .stock-table tr[data-native-row=stock]>td:before{content:none!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .stock-table tr[data-native-row=stock]>td:nth-child(1){grid-column:1/3;grid-row:1;font-size:17px!important;font-weight:650!important;align-self:center;color:var(--n-ink)!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .stock-table tr[data-native-row=stock]>td:nth-child(1) .warm-stock-category{display:none!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .stock-table tr[data-native-row=stock]>td:nth-child(2),html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .stock-table tr[data-native-row=stock]>td:nth-child(7){display:none!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .stock-table tr[data-native-row=stock]>td:nth-child(3){grid-column:1;grid-row:3;color:var(--n-muted)!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .stock-table tr[data-native-row=stock]>td:nth-child(3):before{content:attr(data-native-label) ' '!important;display:inline!important;font-size:12px;color:var(--n-muted);position:static!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .stock-table tr[data-native-row=stock]>td:nth-child(4){grid-column:2/4;grid-row:3;text-align:right!important;color:var(--n-accent)!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #stock-table-morning tr[data-native-row=stock]>td:nth-child(4):before{content:'ซื้อเพิ่ม '!important;display:inline!important;font-size:12px;color:var(--n-muted);position:static!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .stock-table tr[data-native-row=stock]>td:nth-child(5){grid-column:2/4;grid-row:2;text-align:right!important;font-size:25px!important;font-weight:700!important;color:var(--n-ink)!important;letter-spacing:-.7px}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .stock-table tr[data-native-row=stock]>td:nth-child(5):after{content:' g';font-size:12px;font-weight:400;letter-spacing:0;color:var(--n-muted)}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .stock-table tr[data-native-row=stock]>td:nth-child(6){grid-column:1;grid-row:2;align-self:center}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .stock-table tr[data-native-row=stock]>td:last-child{grid-column:3;grid-row:1;justify-self:end}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .warm-quantity{background:#ecdfcb!important;color:var(--n-accent)!important;border:0!important;border-radius:10px!important;padding:5px 9px!important;min-width:44px!important;min-height:36px!important;font-size:inherit!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .status-pill{font-size:11px!important;padding:4px 8px!important;border:0!important;border-radius:7px!important;font-weight:500!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .stock-table [data-warm-detail=row-tools]{padding:0!important;margin:0!important;background:transparent!important;border:0!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .stock-table [data-warm-detail=row-tools]>summary{min-width:36px!important;min-height:36px!important;display:flex!important;justify-content:center;align-items:center;color:var(--n-muted)!important;background:#f6eee2!important;border:0!important;border-radius:10px!important;font-size:20px!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .stock-table .btn-act-group{z-index:100!important;background:#fffaf2!important;border:1px solid var(--n-line)!important;border-radius:16px!important;box-shadow:0 8px 30px #35292220!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #stock-table-evening .warm-quantity{font-size:22px!important;min-height:44px!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock #stock-table-evening tr[data-native-row=stock]>td:nth-child(4){font-size:12px!important;color:var(--n-muted)!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock #stock-table-evening tr[data-native-row=stock]>td:nth-child(4):before{content:'ใช้ไป '!important;display:inline!important;position:static!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #fin-drag-container{display:block!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #fin-profit-total{font-size:38px!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #fin-monthend-band{padding:18px!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #fin-monthend-band>details{grid-column:1/-1}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #fin-monthend-band>div{padding:0!important;min-width:0}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #fin-monthend-band>div>div{font-size:13px!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #fin-monthend-band>div>div:nth-child(2){font-size:24px!important;letter-spacing:-.6px}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-work-launcher{grid-template-columns:1fr!important;gap:10px}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-work-launcher button{min-height:92px;padding:18px;align-items:center}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-work-launcher button>span:last-child{top:28px;bottom:auto}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #dash-widgets-area{display:block!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .dash-widget{margin-bottom:18px!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #dw-fin_summary .mc{padding:8px 4px!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #dash-widgets-area .mc-val{font-size:21px!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #emp-summary-grid{grid-template-columns:1fr 1fr!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #emp-summary-grid>.mc:last-child{grid-column:1/-1}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .emp-main-layout{display:block!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #emp-detail-area{margin-top:24px}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #cost-grid{grid-template-columns:1fr!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-finance .stock-table,html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .emp-log-table{min-width:0!important;width:100%!important;display:table!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-finance .stock-table th{font-size:11px!important;white-space:normal!important;background:#f6eee2!important;padding:10px 5px!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-finance .stock-table td{font-size:13px!important;white-space:normal!important;padding:13px 6px!important;border-color:var(--n-line)!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-finance .stock-table tr[data-native-ledger]>td:nth-child(4){white-space:nowrap!important;font-size:15px!important;font-weight:650!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .emp-log-table th{font-size:11px!important;padding:10px 5px!important;white-space:normal!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .emp-log-table td{font-size:12px!important;padding:12px 5px!important;white-space:normal!important;border-color:var(--n-line)!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .emp-log-table td:last-child{min-width:30px!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .warm-fixed-summary{padding:14px!important;border:0!important;border-radius:18px!important;background:#f1e4d1!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .warm-fixed-summary .finance-fixed-totals{grid-template-columns:1fr 1fr!important;gap:8px!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .warm-fixed-summary .finance-fixed-totals>div{background:#fffaf2!important;border-radius:12px!important;padding:12px!important;min-width:0}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .pi-card{flex-wrap:wrap!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .pi-body{min-width:120px!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .pi-right{margin-left:auto}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-users .uix-hero-kpis{grid-template-columns:repeat(3,1fr)!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-users .uix-section-card{padding:16px!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-users .uix-users-table-wrap{overflow-x:auto!important}
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-insights .iai-kpi-grid{grid-template-columns:1fr 1fr!important}
}
@media(max-width:360px){html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #app>.view{padding-inline:14px!important}html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-pagehead h1{font-size:29px!important}html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-page-sub{font-size:11px!important}html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-headtools .n-action{padding-inline:10px!important}html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .mc-val{font-size:23px!important}}
/* Subtle dividers distinguish values without enclosing every card in a grid. */
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout){--n-divider:#d5bea0}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) :is(.warm-average,#dw-fin_summary) div>.mc+.mc,
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #dw-weekly_summary .card>div[style*="grid-template-columns"]>div+div,
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .uix-users-summary>div+div{box-shadow:inset 1px 0 var(--n-divider)!important;border-radius:0!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) :is(#income-table,#expense-table,.emp-log-table,.sales-category-table,#stock-report-table) :is(th+th,td+td){border-inline-start:1px solid var(--n-divider)!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #fin-monthend-band>.fin-monthend-figures{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;min-width:0!important;max-width:100%!important;gap:12px!important;padding:0!important;box-shadow:none!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #fin-monthend-band .fin-monthend-figure{width:100%!important;min-width:0!important;align-items:flex-start!important;justify-content:flex-start!important;padding:14px 12px!important;gap:8px!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #fin-monthend-band .fin-monthend-figure small{font-size:13px!important;line-height:1.5!important;text-align:left!important}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #fin-monthend-band .fin-monthend-figure strong{display:block!important;max-width:100%!important;font-size:clamp(18px,4.9vw,26px)!important;line-height:1.3!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;letter-spacing:-.4px;font-variant-numeric:tabular-nums}
html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #fin-monthend-band>.warm-detail{width:100%!important;margin:4px 0 0!important}
@media(max-width:360px){
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #fin-monthend-band>.fin-monthend-figures{grid-template-columns:minmax(0,1fr)!important}
}
@media(min-width:737px){
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .stock-table :is(th+th,td+td){border-inline-start:1px solid var(--n-divider)!important}
}
@media(max-width:736px){
 html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) #view-stock .stock-table tr[data-native-row=stock]>td:is(:nth-child(4),:nth-child(5)){border-inline-start:1px solid var(--n-divider)!important;padding-inline-start:10px!important}
}
@media(prefers-reduced-motion:reduce){html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) *,html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) *:before,html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}html.native-app.native-app.native-app:not(#legacy-ui):not(#legacy-layout) .n-pressed{transform:none!important}}
}

