/* Customer app shell follows the compact card/navigation patterns of NexoraHRMS Mobile. */
body.customer-app{background:var(--canvas);color:var(--body);font-size:16px}
.customer-shell{width:100%;max-width:520px;min-height:100vh;min-height:100dvh;margin:0 auto;background:var(--canvas);box-shadow:var(--shadow);padding-bottom:calc(90px + env(safe-area-inset-bottom,0px));position:relative}
.customer-header{background:var(--surface);padding:22px 22px 18px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--border)}
.customer-header .brand{gap:10px;min-width:0;flex-shrink:1}.customer-header .brand strong{font-size:1rem;font-weight:800;letter-spacing:-.04em;overflow-wrap:anywhere}.customer-header .brand small{font-size:.65rem;color:var(--accent);letter-spacing:.08em;margin:0 0 2px}
.customer-header .brand-icon{width:38px;height:38px;flex-shrink:0;border-radius:12px;font-size:1.3rem;transform:rotate(-7deg)}.customer-header .brand-icon i{transform:rotate(7deg)}
.customer-header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.customer-avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--brand-soft);color:var(--accent);font-weight:750}
.icon-button{display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid var(--border);border-radius:13px;background:var(--surface);color:var(--body);font-size:1.15rem;position:relative}.icon-button:hover{background:var(--brand-soft);text-decoration:none}
.notification-button [data-notification-count]:not(:empty){position:absolute;top:-5px;right:-7px;border-radius:var(--radius-card);background:var(--primary);color:var(--surface);font-size:.65rem;padding:1px 4px;font-weight:700;max-width:55px;overflow:hidden}
.customer-content.page{width:100%;max-width:none;padding:0 22px 22px;min-height:0;overflow-wrap:anywhere}.customer-content>*{min-width:0}.customer-content .alert{margin-top:20px}
.customer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 0 0;margin-bottom:2px}.customer-toolbar>span{font-size:.8rem;color:var(--muted)}
.customer-bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:100;width:100%;max-width:520px;margin:0 auto;background:var(--surface);border-top:1px solid var(--border);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px));box-shadow:var(--shadow)}
.customer-nav-item{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-width:0;min-height:56px;border-radius:13px;padding:5px 3px;color:var(--muted);font-size:.75rem;font-weight:650}.customer-nav-item i{font-size:1.3rem;line-height:1.35}.customer-nav-item.is-active{color:var(--accent);background:var(--brand-soft)}.customer-nav-item:hover{text-decoration:none;background:var(--input-surface)}.customer-nav-item.is-active:hover{background:var(--brand-soft)}
.customer-footer{border:0;padding:8px 22px 24px;display:block;text-align:center;font-size:.75rem;color:var(--muted)}.customer-footer small{font-size:.7rem;margin-top:4px}
.skip-link{position:fixed;left:12px;top:-80px;z-index:200;background:var(--surface);padding:12px;border:2px solid var(--primary);border-radius:8px}.skip-link:focus{top:12px}
.customer-greeting{padding:26px 2px 0}.customer-greeting p{font-size:.85rem;color:var(--muted);margin-bottom:4px}.customer-greeting h1{font-size:1.65rem;letter-spacing:-.05em;font-weight:800;margin:0}.customer-greeting h1 span{color:var(--accent)}
.customer-welcome{background:var(--surface);border-radius:var(--radius-card);color:var(--body);padding:27px 25px;position:relative;overflow:hidden;margin-top:20px}.customer-welcome:before,.customer-welcome:after{content:"";position:absolute;border:1px solid var(--border);border-radius:50%;width:220px;height:220px;right:-105px;top:-90px}.customer-welcome:after{width:160px;height:160px;right:-65px;top:-45px;background:var(--input-surface)}.customer-welcome h2{color:var(--ink);font-size:1.9rem;line-height:1.2;font-weight:750;position:relative;max-width:310px;letter-spacing:-.045em}.customer-welcome .eyebrow{color:var(--accent);font-size:.7rem}.customer-welcome>p:not(.eyebrow){color:var(--muted);font-size:.9rem;max-width:340px;position:relative}.customer-welcome .btn{margin-top:6px;position:relative;z-index:1}.welcome-icon{position:absolute;right:18px;bottom:12px;font-size:4rem;color:var(--brand-soft);pointer-events:none}
.customer-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:28px 0 16px}.customer-section-heading h2{font-size:1.1rem;margin:0}.customer-section-heading>span{font-size:.7rem;color:var(--muted);text-align:right}
.customer-action-card{display:flex;align-items:center;gap:14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);padding:17px;margin-bottom:12px;color:var(--ink);box-shadow:var(--shadow)}.customer-action-card:hover{text-decoration:none;background:var(--input-surface);border-color:var(--primary)}.customer-action-card>span:nth-child(2){flex:1;min-width:0}.customer-action-card strong{font-size:.95rem;display:block}.customer-action-card small{font-size:.8rem;line-height:1.5;margin-top:4px}.customer-action-card>i{color:var(--muted);font-size:.85rem}.action-symbol{display:grid;place-items:center;width:48px;height:48px;flex-shrink:0;border-radius:15px;background:var(--brand-soft);color:var(--accent);font-size:1.35rem}.action-symbol.green{background:var(--brand-soft);color:var(--accent)}
.customer-note{display:flex;gap:12px;background:var(--brand-soft);border-radius:var(--radius-card);padding:18px;margin-top:24px;color:var(--body)}.customer-note>i{font-size:1.45rem;flex-shrink:0}.customer-note strong{font-size:.85rem}.customer-note p{font-size:.8rem;line-height:1.65;margin:5px 0 0}
.customer-app .page-heading{padding:24px 2px 17px;margin:0;gap:14px;align-items:flex-start;flex-direction:column}.customer-app .page-heading h1{font-size:1.75rem;line-height:1.2;margin:0 0 9px;font-weight:800}.customer-app .page-heading h2{font-size:1.35rem}.customer-app .page-heading p{font-size:.85rem;color:var(--muted)}.customer-app .eyebrow{font-size:.7rem}.customer-app h2{font-size:1.25rem}.customer-app h3{font-size:1.05rem}
.customer-app .panel{border-radius:var(--radius-card);padding:22px;margin-bottom:18px;box-shadow:var(--shadow)}.customer-app .columns,.customer-app .form-grid{grid-template-columns:minmax(0,1fr);gap:0}.customer-app .columns>.panel{width:100%}.customer-app .btn{border-radius:var(--radius-control);min-height:46px;padding:12px 16px;line-height:1.4;font-size:.9rem}.customer-app .field{font-size:.85rem;margin-bottom:17px}.customer-app .form-control,.customer-app .form-select{font-size:16px;min-height:48px;border-radius:var(--radius-control);background-color:var(--input-surface);padding:12px}.customer-app textarea.form-control{min-height:100px}
.customer-app .panel form>.btn{width:100%}.customer-app .filter-bar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:18px}.customer-app .filter-bar .field{min-width:0;width:100%;margin:0}.customer-app .filter-bar>.btn{grid-column:1/-1}.customer-app .inline-form{gap:12px;width:100%;align-items:flex-end}.customer-app .inline-form .field{min-width:0;flex:1}.customer-app .inline-form .btn{flex-shrink:0}
.customer-app .table-responsive{max-width:100%;border:1px solid var(--border);border-radius:12px}.customer-app .table{margin-bottom:0;font-size:.85rem}.customer-app .table td,.customer-app .table th{padding:12px 10px;min-width:95px}.customer-app .pagination-row{font-size:.85rem;gap:16px;flex-wrap:wrap;align-items:center;justify-content:space-between;margin:20px 0}.customer-app .badge-status{font-size:.75rem;max-width:100%;white-space:normal}.customer-app .badge-status.large{font-size:.85rem;padding:9px 14px}
.customer-order-card{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--surface);padding:20px;margin:0 0 16px;box-shadow:var(--shadow)}.customer-order-top{display:flex;align-items:center;gap:12px;margin-bottom:14px}.customer-order-top>div{min-width:0;flex:1}.customer-order-top h2{font-size:1.05rem;margin:0 0 4px}.customer-order-top small{font-size:.75rem}.customer-order-card dl{margin:18px 0;color:var(--body);font-size:.85rem}.customer-order-card dl>div{display:flex;justify-content:space-between;gap:14px;margin:10px 0}.customer-order-card dt{font-weight:500;flex-shrink:0}.customer-order-card dd{margin:0;text-align:right;color:var(--body)}.customer-order-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--border);padding-top:15px;gap:14px}.customer-order-bottom>strong{font-size:1.3rem}.empty-icon{display:block;font-size:2rem;margin-bottom:15px;color:var(--muted)}
.customer-app .store-header{border-radius:var(--radius-card);margin:20px 0 0}.customer-app .store-intro{padding:26px 23px}.customer-app .store-intro h1{font-size:1.8rem}.customer-app .store-intro p{font-size:.85rem;line-height:1.65}.customer-app .store-logo{height:58px;width:58px}.customer-app .food-grid{grid-template-columns:minmax(0,1fr);gap:18px;margin:6px 0 24px}.customer-app .food-card{border-radius:var(--radius-card)}.customer-app .food-card>img{height:200px}.customer-app .food-placeholder{height:110px}.customer-app .food-content{padding:21px}.customer-app .price-row{margin:16px 0}.customer-app .add-cart label{flex-shrink:0;max-width:90px}.customer-app .cart-line{margin-bottom:18px;padding:18px 0}.customer-app .cart-line .inline-form{display:grid;grid-template-columns:minmax(0,1fr) auto}.customer-app .cart-line .inline-form label{min-width:0}.customer-app .totals{font-size:.9rem}.customer-app .grand-total{font-size:1.2rem}.customer-app .notification{padding:17px 13px;border-radius:12px;margin-bottom:10px}.customer-app .notification p{font-size:.9rem}.customer-app .timeline{font-size:.9rem}
.customer-app .hero{display:block;min-height:0;padding:26px 0 0;margin:0}.customer-app .hero h1{font-size:2.3rem;line-height:1.12;margin:14px 0}.customer-app .hero .lead{font-size:.95rem;line-height:1.75}.customer-app .hero .actions{display:grid;gap:10px;margin:22px 0}.customer-app .hero-art{height:230px;border-radius:var(--radius-card);background-color:var(--brand-soft);margin:22px 0}.customer-app .plate{height:165px;width:165px;border-width:9px}.customer-app .plate strong{font-size:1.3rem}.customer-app .plate span{font-size:.75rem}.customer-app .rice{font-size:1.8rem}.customer-app .art-label{font-size:.6rem;margin-top:16px}.customer-app .steps{grid-template-columns:1fr;padding:12px 0 20px;gap:10px;border:0}.customer-app .steps article{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);padding:20px}.customer-app .steps .step-icon{font-size:1.5rem;margin:0 0 8px}.customer-app .steps h2{font-size:1.1rem}.customer-app .steps p{font-size:.85rem;margin:0}.customer-app .partner-banner{border-radius:var(--radius-card);padding:25px;flex-direction:column;align-items:stretch}.customer-app .partner-banner h2{font-size:1.35rem}.customer-app .partner-banner p{font-size:.9rem}
.customer-app .auth-panel{margin:20px 0;padding:24px;max-width:none}.customer-app .auth-panel h1{font-size:1.8rem}.customer-account-actions{display:grid;gap:12px}.customer-account-actions form{margin:0}.customer-account-actions .btn{width:100%}.customer-app .narrow{margin:24px 0}.customer-app :focus-visible{outline:3px solid var(--primary);outline-offset:3px}
@media(max-width:360px){.customer-header{padding:18px 16px}.customer-content.page{padding-left:16px;padding-right:16px}.customer-header-actions{gap:5px}.customer-header .brand strong{font-size:.88rem}.customer-header .brand-icon{width:33px;height:33px}.customer-app .panel{padding:18px}.customer-app .filter-bar{grid-template-columns:minmax(0,1fr)}.customer-welcome{padding:24px 20px}.customer-welcome h2{font-size:1.7rem}.customer-order-card{padding:17px}.customer-section-heading{align-items:flex-start}.customer-section-heading>span{max-width:70px}}
@media(prefers-reduced-motion:reduce){.customer-app *{scroll-behavior:auto;transition:none!important}}
