/* NAFEI business app: shared desktop and mobile visual system. */
@media screen{
body:not(.customer-mode){--green:#785238;--ink:#302a25;--muted:#8c8279;--line:#ece7e1;--bg:#f6f5f2;background:var(--bg);color:var(--ink);font-family:Inter,'Microsoft YaHei',sans-serif}
body:not(.customer-mode) aside{background:#fffdf9;border-right:1px solid var(--line)}
body:not(.customer-mode) .brand{font-size:23px;letter-spacing:-.5px}body:not(.customer-mode) .brand small{color:#a28c72}
body:not(.customer-mode) header{background:#ffffffed;border-bottom:1px solid var(--line);backdrop-filter:blur(18px);height:72px;padding:0 32px}
body:not(.customer-mode) header>div{gap:8px}body:not(.customer-mode) .avatar{background:#eee4d5;color:#795537;border-radius:12px;font-weight:700}
body:not(.customer-mode) main{max-width:1560px;margin:auto;padding:30px 36px 70px}
body:not(.customer-mode) .page-head{margin-bottom:24px;align-items:center}body:not(.customer-mode) .page-head h1{font-size:28px;letter-spacing:-.8px}body:not(.customer-mode) .eyebrow{color:#a18a72;letter-spacing:2px}
body:not(.customer-mode) .card{border:1px solid #ece7e1;border-radius:20px;background:#fff;box-shadow:0 4px 20px #442e1804;padding:24px;margin-bottom:18px}
body:not(.customer-mode) button{border-color:#e8e2d9;border-radius:11px;min-height:36px;color:#55483c;background:#fff;padding:9px 14px}body:not(.customer-mode) button:hover{background:#f5f0e9;border-color:#cdb89e}body:not(.customer-mode) button:focus-visible,body:not(.customer-mode) select:focus-visible,body:not(.customer-mode) input:focus-visible{outline:3px solid #b89b6a66;outline-offset:2px}
body:not(.customer-mode) button.primary{background:#785238;color:#fff;border-color:#785238;box-shadow:0 4px 10px #78523820}body:not(.customer-mode) button.primary:hover{background:#62412c}
body:not(.customer-mode) input,body:not(.customer-mode) select,body:not(.customer-mode) textarea{border:1px solid #e8e2d9;background:#fff;border-radius:11px;min-height:42px;color:#41382f;padding:10px 12px}
body:not(.customer-mode) .actions{flex-wrap:wrap;gap:12px;align-items:center}body:not(.customer-mode) .actions label{display:flex;align-items:center;gap:8px;font-size:12px;color:#877a6c}
body:not(.customer-mode) .table-wrap{border:1px solid #eee9e2;border-radius:14px;overflow:auto}body:not(.customer-mode) table{width:100%;border-collapse:collapse}body:not(.customer-mode) th{background:#faf8f4;color:#938474;font-size:11px;font-weight:600;padding:15px 14px;white-space:nowrap}body:not(.customer-mode) td{padding:16px 14px;border-bottom:1px solid #f0ece6;font-size:12px;vertical-align:middle}body:not(.customer-mode) tbody tr:last-child td{border-bottom:0}body:not(.customer-mode) tbody tr:hover{background:#fdfbf7}body:not(.customer-mode) td button{min-height:32px;padding:6px 10px}body:not(.customer-mode) td select{min-width:100px;font-size:12px}body:not(.customer-mode) .badge{background:#f0e9dd;color:#795738;border-radius:7px;padding:5px 8px}
body:not(.customer-mode) .workspace-nav-items button.active,body:not(.customer-mode) .workspace-quick-order,body:not(.customer-mode) #nav>button.active{background:#f1e9dc!important;color:#785238!important;border-color:transparent!important}body:not(.customer-mode) .workspace-nav-section summary{color:#8a7967}body:not(.customer-mode) .workspace-nav-section summary:hover{background:#f7f1e8}body:not(.customer-mode) .workspace-nav-search{background:#f7f5f1;border:0}
body:not(.customer-mode) .home-welcome{padding:20px 0 26px}body:not(.customer-mode) .home-welcome h1{font-size:30px;letter-spacing:-1px}body:not(.customer-mode) .home-welcome small{color:#aa8b62}body:not(.customer-mode) .home-metrics{gap:16px;margin-bottom:28px}body:not(.customer-mode) .home-metrics button{border:1px solid #eee7dd;border-radius:18px;padding:22px;background:#fff;text-align:left;box-shadow:0 4px 20px #442e1804}body:not(.customer-mode) .home-metrics b{color:#785238;font-size:32px}body:not(.customer-mode) .home-metrics span{color:#9c8a76}
body:not(.customer-mode) .home-feature-grid{gap:16px}body:not(.customer-mode) .home-feature-grid button{border:1px solid #ece7e1;border-radius:18px;padding:22px;box-shadow:0 4px 20px #442e1804}body:not(.customer-mode) .home-feature-grid button i{background:#f4eee3;color:#957143;border-radius:14px}body:not(.customer-mode) .home-feature-grid strong{font-size:15px}body:not(.customer-mode) .home-order-summary{background:#eee7db;border-radius:18px;padding:22px}body:not(.customer-mode) .home-section-title{font-size:16px;margin-top:28px}
body:not(.customer-mode) #assistant{background:#785238;box-shadow:0 6px 20px #78523830}body:not(.customer-mode) footer{border-color:var(--line);color:#ab9b8a}body:not(.customer-mode) #toast{background:#4b3526}
@media(min-width:1100px){body:not(.customer-mode) aside{width:232px}body:not(.customer-mode) .shell{margin-left:232px}}
@media(max-width:700px){body.mobile-merchant{--green:#785238;background:#f6f5f2}body:not(.customer-mode) header{height:60px!important;padding:0 14px;background:#fffdf9}body:not(.customer-mode) main{padding:18px 14px 110px!important}body:not(.customer-mode) .page-head{gap:12px;flex-wrap:wrap}body:not(.customer-mode) .page-head h1{font-size:24px}body:not(.customer-mode) .card{padding:16px;border-radius:18px}body:not(.customer-mode) .actions label{flex:1 1 100%;display:flex;justify-content:space-between}body:not(.customer-mode) .actions select{max-width:72%;flex:1}body:not(.customer-mode) .home-welcome{padding:10px 0 20px}body:not(.customer-mode) .home-welcome h1{font-size:25px}body:not(.customer-mode) .home-metrics{gap:8px}body:not(.customer-mode) .home-metrics button{padding:16px 10px;border-radius:15px}body:not(.customer-mode) .home-metrics b{font-size:25px}body:not(.customer-mode) .home-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body:not(.customer-mode) .home-feature-grid button{padding:16px;border-radius:16px}body:not(.customer-mode) .home-feature-grid strong{font-size:14px}body:not(.customer-mode) .home-feature-grid small{font-size:11px}body:not(.customer-mode) #merchant-bottom-nav{background:#fffdf9f5;border-top:1px solid #e9e1d7;box-shadow:0 -4px 20px #63432906}body:not(.customer-mode) #merchant-bottom-nav button.active{color:#785238;background:#f2e9dc}body:not(.customer-mode) .merchant-quick-grid svg{background:#f4eee3;color:#957143}body:not(.customer-mode) .table-wrap{overscroll-behavior-x:contain}body:not(.customer-mode) td,body:not(.customer-mode) th{padding:12px 10px}body:not(.customer-mode) dialog{padding:20px;border-radius:20px;max-height:85dvh;overflow:auto}}
@media(prefers-reduced-motion:reduce){body:not(.customer-mode) *{transition:none!important;scroll-behavior:auto!important}}
}