/* Kirana Sahiya v0.6 — responsive interface, local assets only. */
:root{--green:#14634c;--green-dark:#0d4b39;--cream:#f4f7f5;--ink:#203d32;--muted:#6a7c73;--line:#e1e9e4;--radius:18px;--mobile-bar:72px;--safe-bottom:env(safe-area-inset-bottom,0px)}
html{scroll-behavior:smooth;scroll-padding-top:95px}body{font-size:14px;-webkit-text-size-adjust:100%;overflow-wrap:break-word}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,.button{min-height:44px;border-radius:11px;transition:background .15s,box-shadow .15s}input,select,textarea{min-height:46px;border-radius:10px}input[type=checkbox]{min-height:0;width:20px;height:20px}button:focus-visible,a:focus-visible,input:focus,select:focus,textarea:focus{outline:3px solid #8ac8b1;outline-offset:3px}a,button{touch-action:manipulation}.ui-icon{width:22px;height:22px;flex:0 0 22px;vertical-align:middle}.skip-link{position:fixed;left:20px;top:-100px;background:white;padding:14px 20px;border:2px solid var(--green);border-radius:10px;z-index:100}.skip-link:focus{top:12px}
.sidebar{width:250px;padding:30px 20px;border-right:1px solid var(--line);transition:transform .2s ease;overflow-y:auto;overscroll-behavior:contain}.brand{padding:2px 8px}.brandmark{background:#e1f0df;color:#14634c;letter-spacing:-1px}.sidebar nav{gap:5px}.sidebar nav a{font-size:13px;min-height:48px;border-radius:11px;padding:12px 14px;gap:12px}.sidebar nav a.selected{background:#e7f3ec;color:#126047;box-shadow:inset 3px 0 #238464}.sidebar nav a .ui-icon{width:21px;height:21px}.sidebar-profile{display:flex;align-items:center;gap:10px;font-size:13px;padding:12px 0;margin-bottom:12px}.sidebar-bottom{padding-top:24px}.sidebar-bottom .badge{font-weight:500;font-size:10px;background:#f3f6f1}.drawer-close{display:none}.workspace{margin-left:250px;min-width:0}.topbar{height:82px;padding:0 36px;gap:18px;position:sticky;top:0;z-index:25;background:#fff}.topbar-brand{display:flex;flex-direction:column;min-width:0;margin-right:auto}.topbar-brand strong{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:45vw}.topbar-brand small{font-size:11px;font-weight:400;color:var(--muted);margin-top:2px}.icon-button{width:44px;height:44px;min-height:44px;padding:10px;border-radius:12px;background:#f0f5f1;color:var(--green);flex-shrink:0}.signout-button{display:flex;align-items:center;gap:7px;min-height:44px}.signout-button .ui-icon{width:18px;height:18px;flex-basis:18px}.account>a{padding:8px 0}.content{padding:30px 36px 28px;max-width:1500px;min-width:0}.page-heading{margin-bottom:26px}.page-heading h1{font-size:28px;font-weight:750;letter-spacing:-.8px}.date-chip{border-radius:20px;background:#fff;font-size:11px;padding:9px 14px}.hero{background:linear-gradient(115deg,#125841,#1b7357);border-radius:22px;box-shadow:0 10px 25px #174d3610}.hero h2{font-weight:730}.hero-summary{background:#ffffff0b;border-color:#ffffff24}.hero .button{min-height:46px}.panel,.product,.stats article,.preset-card{box-shadow:0 3px 12px #1d4f3504}.panel{padding:24px}.section-heading h2{font-size:18px}.stats article{padding:22px 24px;position:relative;overflow:hidden}.stats article:before{content:'';position:absolute;left:0;top:22px;bottom:22px;width:3px;border-radius:0 3px 3px 0;background:#72b69a}.stats strong{font-size:29px;letter-spacing:-1px}.stats small{font-size:11px}.tabs{padding:5px;background:#eaf0eb;border-radius:13px;max-width:100%;gap:3px;scrollbar-width:none}.tabs a{min-height:40px;display:flex;align-items:center;padding:8px 17px;font-weight:600}.tabs a.selected{border-radius:9px;box-shadow:0 2px 5px #0f4c331a}.table-wrap{border-radius:11px;max-width:100%;overscroll-behavior-x:contain}th{background:#f4f7f4;letter-spacing:.7px}td{padding:17px 12px}.cell-content{display:contents}.badge{border-radius:20px;padding:6px 10px;font-size:10px}.table-action{display:inline-flex;align-items:center;min-height:40px}.pagination .button{min-height:44px}.form-panel{max-width:850px}.customer-summary>div{min-width:0}.customer-summary p{overflow-wrap:anywhere}.searchbar{gap:10px}.searchbar>input{flex:1}.shop-intro h2{font-size:30px}.shop-intro>div{min-width:0}.balance-chip{background:#e4efe6;flex-shrink:0}.product-grid{gap:18px}.product{padding:15px;border-radius:17px;display:flex;flex-direction:column}.product-art{margin-bottom:13px}.product h3{line-height:1.4;font-size:14px}.product-category{font-size:9px;line-height:1.6;overflow-wrap:anywhere}.product-controls{margin-top:auto;padding-top:14px}.product-controls input{width:66px;font-size:15px;min-height:42px}.product-controls button{font-size:12px;min-height:42px;padding:8px 12px}.product>small{margin-bottom:0}.product p{font-size:12px}.cart{border:1px solid #d8e7dc;box-shadow:0 5px 22px #194c3508;top:104px}.cart-total{padding-top:18px}.cart-total strong{font-size:26px}.cart-row .basket-quantity button{width:36px;height:36px;min-height:36px;background:#eef4ed;border:1px solid #e1eadf;color:var(--green);padding:0;font-size:19px}.cart-row .cart-amount>button{min-width:32px;min-height:36px;font-size:22px}.cart .section-heading .link-button{min-height:36px}.checkout-extra summary,.partial-box summary{min-height:44px;display:flex;align-items:center;gap:8px}.checkout-extra summary:before,.partial-box summary:before{content:'+';font-size:18px}.checkout-extra[open]>summary:before,.partial-box[open]>summary:before{content:'−'}.checkout-extra summary::marker,.partial-box summary::marker{content:''}.order-progress{background:#edf4ee;border:1px solid #e0eade;border-radius:14px;padding:18px}.easy-order-heading{margin-bottom:20px}.easy-actions button{min-height:46px}.bill-items{white-space:normal}.bill-items td,.bill-items th{padding:13px 10px}.bill-items th:nth-last-child(-n+2),.bill-items td:nth-last-child(-n+2){text-align:right}.bill-items td:first-child{max-width:300px}.footer{margin-top:24px;padding-bottom:10px}.nav-scrim{display:none}.mobile-basket-link{border:1px solid #ffffff28}.alert{overflow-wrap:anywhere}.auth-card{box-shadow:0 20px 70px #173d3010}.auth-card input{font-size:16px}.auth-card .brandmark{width:54px;height:54px;font-size:25px}
@media(min-width:1025px){body.nav-collapsed .sidebar{transform:translateX(-100%)}body.nav-collapsed .workspace{margin-left:0}.sidebar{top:0;bottom:0}.mobile-nav{display:none}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.topbar .icon-button{display:inline-flex}}
@media(min-width:1450px){.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.content{padding:36px 44px}.catalog-layout{grid-template-columns:minmax(0,1fr) 340px}.cart{padding:25px}}
@media(min-width:1025px) and (max-width:1199px){.sidebar{width:225px}.workspace{margin-left:225px}.content{padding:25px}.catalog-layout,.detail-grid{grid-template-columns:minmax(0,1fr) 285px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar{padding:0 25px}}
@media(max-width:1024px){
 .workspace,body.nav-collapsed .workspace{margin-left:0}.topbar{height:72px;padding:0 22px;gap:14px}.topbar-brand strong{max-width:48vw}.sidebar,body.nav-collapsed .sidebar{transform:translateX(-105%);width:min(310px,86vw);z-index:80;padding:30px 20px calc(24px + var(--safe-bottom));inset:0 auto 0 0;box-shadow:15px 0 55px #163c3020}.app.nav-open .sidebar{transform:translateX(0);top:0;bottom:0}.app.nav-open{overflow:hidden}.nav-scrim{display:block;position:fixed;inset:0;background:#12342a70;backdrop-filter:blur(2px);border:0;border-radius:0;z-index:75;padding:0}.nav-scrim:hover{background:#12342a70}.drawer-close{display:inline-flex;position:absolute;right:15px;top:17px;width:36px;height:36px;min-height:36px;padding:8px}.sidebar .brand{padding-top:27px}.sidebar .nav-caption{margin-top:27px}.content{padding:26px 24px calc(var(--mobile-bar) + var(--safe-bottom) + 35px)}.date-chip{display:none}.page-heading h1{font-size:27px}.mobile-nav{position:fixed;display:flex;align-items:stretch;justify-content:space-around;bottom:0;left:0;right:0;height:calc(var(--mobile-bar) + var(--safe-bottom));padding:6px 10px calc(6px + var(--safe-bottom));border-top:1px solid #dfe9e1;background:#fff;z-index:60;box-shadow:0 -5px 22px #153d2b07;gap:4px}.mobile-nav a,.mobile-nav button{display:flex;flex:1;min-width:0;min-height:56px;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-radius:12px;font-size:10px;line-height:1.3;font-weight:600;padding:6px 3px;background:transparent;color:#79877f;text-decoration:none}.mobile-nav .ui-icon{width:23px;height:23px;flex-basis:23px}.mobile-nav a.selected,.mobile-nav button[aria-expanded=true]{color:#126047;background:#eaf4eb}.mobile-nav button:hover,.mobile-nav a:hover{background:#f0f6f0;color:#126047}.mobile-basket-link{bottom:calc(var(--mobile-bar) + var(--safe-bottom) + 12px);z-index:55}.catalog-layout{grid-template-columns:minmax(0,1fr) 300px;gap:20px}.detail-grid{grid-template-columns:minmax(0,1fr) 300px;gap:20px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-summary{min-width:205px}.hero{padding:30px}.cart{top:94px}.preset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.preset-submit{bottom:calc(var(--mobile-bar) + var(--safe-bottom) + 12px)}.footer{display:block;font-size:11px}.footer small{display:block;margin:4px 0}.footer span{display:none}
}
@media(max-width:760px){
 :root{--mobile-bar:70px}.topbar{padding:0 16px;height:68px;gap:11px}.topbar-brand strong{font-size:14px;max-width:49vw}.topbar-brand small{font-size:10px}.account{gap:10px}.account>a{display:none}.signout-button{width:40px;padding:8px;border-radius:10px}.signout-button span{display:none}.signout-button .ui-icon{width:20px;height:20px}.content{padding:22px 16px calc(var(--mobile-bar) + var(--safe-bottom) + 28px)}.page-heading{margin-bottom:21px}.page-heading .eyebrow{font-size:9px;letter-spacing:1.3px}.page-heading h1{font-size:25px;line-height:1.2}.hero{display:block;padding:25px;border-radius:18px;margin-bottom:20px}.hero h2{font-size:29px;letter-spacing:-1px}.hero h2 br{display:none}.hero-summary{min-width:0;margin-top:22px;padding:16px;gap:7px}.hero .big-icon{display:none}.hero .actions{gap:8px}.hero .actions .button{flex:1;font-size:12px}.hero p{font-size:13px}.stats{gap:11px;margin-bottom:21px}.stats article{padding:17px 16px}.stats article:before{top:18px;bottom:18px;width:2px}.stats strong{font-size:25px;letter-spacing:-.6px;margin:6px 0}.stats article>span{font-size:11px}.stats small{font-size:10px;line-height:1.5}.stats.three{grid-template-columns:1fr}.panel{padding:19px 17px;border-radius:15px;margin-bottom:19px}.section-heading{margin-bottom:17px;gap:10px;flex-wrap:wrap}.section-heading h2{font-size:18px}.section-heading a{min-height:40px;display:inline-flex;align-items:center}.catalog-layout,.detail-grid{grid-template-columns:minmax(0,1fr);gap:18px}.catalog-layout{padding-bottom:65px}.cart{position:static}.shop-intro{display:block;margin-bottom:21px}.shop-intro h2{font-size:27px;margin:5px 0 8px}.shop-intro p{font-size:13px;margin-bottom:13px}.shop-intro .balance-chip{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:12px 15px;font-size:11px;border-radius:12px}.shop-intro .balance-chip strong{font-size:20px}.searchbar{flex-wrap:wrap;gap:9px;align-items:stretch}.searchbar input,.searchbar select,.searchbar button{font-size:14px;min-height:46px}.searchbar>input{flex:1 1 100%;width:100%;min-width:0}.searchbar>select{max-width:none;flex:1 1 55%;min-width:0}.searchbar>button{flex:0 0 auto;min-width:85px}.searchbar>label{flex:1 1 130px}.toolbar{gap:11px;align-items:stretch}.toolbar .tabs{flex:1 1 100%;width:100%}.toolbar>button{min-height:40px;align-self:flex-start}.tabs a{font-size:11px;padding:8px 12px;min-height:38px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product{padding:12px;border-radius:14px}.product .product-art{height:auto;aspect-ratio:1;margin-bottom:10px}.product-category{font-size:8px;letter-spacing:.5px;line-height:1.5}.product h3{font-size:13px;line-height:1.45;margin:6px 0;min-height:38px;overflow-wrap:anywhere}.product p strong{font-size:17px}.product small{font-size:10px}.product-controls{gap:6px;padding-top:12px}.product-controls input{width:48px;padding:7px 4px;text-align:center;font-size:16px;min-height:43px;border-radius:9px}.product-controls button{padding:7px 6px;min-height:43px;font-size:11px;border-radius:9px}.form-grid{grid-template-columns:1fr;gap:0}.wide{grid-column:auto}.form-panel{width:100%}label{font-size:13px;margin-bottom:17px}input,select,textarea{font-size:16px;padding:12px;min-height:48px}textarea{min-height:90px}input[type=checkbox]{min-height:0;width:22px;height:22px}.check{align-items:flex-start;gap:11px;line-height:1.65;min-height:32px}.check input{margin-top:1px}.checkout .check,.quick-handover .check{font-size:12px}.customer-summary{gap:12px;align-items:flex-start;margin-bottom:20px}.customer-summary p{font-size:12px;line-height:1.6}.avatar{width:52px;height:52px;border-radius:13px}.mini-list{grid-template-columns:1fr}.mini-list a{padding:14px}.balance-chip strong{white-space:normal}.easy-order-heading{align-items:flex-start;gap:12px}.easy-order-heading h2{font-size:24px;letter-spacing:-.5px}.easy-order-heading .button{font-size:11px;min-height:40px;padding:9px 13px;white-space:nowrap}.easy-order-heading p{font-size:12px}.easy-order-heading .eyebrow{font-size:10px}.order-progress{padding:14px 8px;gap:4px}.order-progress li{font-size:10px;flex-direction:column;gap:7px}.order-progress span{width:29px;height:29px}.bill-items td,.bill-items th{padding:12px 5px;font-size:11px;overflow-wrap:anywhere}.bill-items td small{font-size:9px}.bill-items td:nth-last-child(-n+2){white-space:nowrap}.bill-items input[type=checkbox]{width:23px;height:23px}.bill-items th{letter-spacing:0;font-size:9px}.bill-items th:first-child{min-width:0}.easy-actions{gap:9px}.easy-actions button{min-height:47px;font-size:12px}.handover-total{font-size:33px}.pickup-code{font-size:33px;letter-spacing:4px}.khata-hero{padding:23px}.khata-hero .avatar{width:56px;height:56px}.khata-hero h2{font-size:23px}.khata-hero .customer-summary{margin-bottom:19px}.amount-large{font-size:34px}.preset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.preset-body{padding:13px}.preset-title{font-size:13px}.preset-body input,.preset-body select{font-size:16px;min-height:43px}.preset-body .form-grid{grid-template-columns:1fr}.preset-body .form-grid label{margin-bottom:11px}.preset-photo{height:145px}.preset-photo>.grocery-image{height:145px;width:145px}.preset-photo>.image-placeholder{height:145px}.preset-submit{padding:14px 16px;gap:10px;bottom:calc(var(--mobile-bar) + var(--safe-bottom) + 10px);flex-wrap:wrap}.preset-submit button{flex:1;min-height:44px}.catalog-banner{display:block;padding:20px}.catalog-banner h2{font-size:22px}.catalog-banner .button{margin-top:17px;display:flex;font-size:12px}.auth{padding:22px 16px;justify-content:flex-start}.auth-card{padding:27px 23px;border-radius:19px}.auth-card h1{font-size:30px}.pagination{gap:14px}.footer{font-size:10px}.footer small{font-size:9px}.mobile-basket-link{left:16px;right:16px;display:flex;min-height:52px;align-items:center;padding:13px 17px;font-size:13px;border-radius:13px}.alert{padding:14px 15px;font-size:12px}
 .mobile-cards,.mobile-cards tbody{display:block;width:100%;white-space:normal}.mobile-cards thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.mobile-cards tbody tr{display:block;padding:17px;border:1px solid var(--line);border-radius:13px;background:#fff;margin-bottom:12px}.mobile-cards tbody tr:last-child{margin-bottom:0}.mobile-cards td{display:grid;grid-template-columns:85px minmax(0,1fr);gap:12px;padding:9px 0;border:0;font-size:12px;text-align:left;white-space:normal;min-width:0;align-items:start}.mobile-cards td:before{content:attr(data-label);font-size:11px;color:var(--muted);font-weight:500;line-height:1.6;padding-top:2px}.mobile-cards td .cell-content{display:block;min-width:0;overflow-wrap:anywhere}.mobile-cards td:first-child{padding-top:0;padding-bottom:12px;border-bottom:1px solid #eaf0e8;margin-bottom:5px;font-weight:650}.mobile-cards td:last-child{padding-bottom:0}.mobile-cards .status-form{margin:0 0 6px}.mobile-cards .status-form button{min-height:42px;padding:9px 12px}.mobile-cards td small{font-size:10px;max-width:none}.mobile-cards .table-action{min-height:40px}.table-wrap:has(.mobile-cards){overflow:visible;border-radius:0}.product-person{gap:10px}.product-person>span:last-child{max-width:none}.table-product-image{width:42px;height:42px;border-radius:9px}.person{gap:9px}.person .avatar{width:34px;height:34px}.table-wrap .mobile-cards th{background:transparent}.photo-caption{font-size:8px;max-width:calc(100% - 16px);line-height:1.4}.form-panel>form>button{width:100%}
}
@media(max-width:359px){.content{padding-left:12px;padding-right:12px}.topbar{padding:0 12px;gap:8px}.topbar-brand strong{max-width:46vw}.product-grid{gap:9px}.product{padding:10px}.product-controls{gap:4px}.product-controls input{width:42px}.product-controls button{font-size:10px;padding:6px 4px}.mobile-nav{padding-left:6px;padding-right:6px;gap:2px}.mobile-nav a,.mobile-nav button{font-size:9px}.stats strong{font-size:22px}.stats article{padding:15px 13px}.mobile-cards tbody tr{padding:13px}.mobile-cards td{grid-template-columns:72px minmax(0,1fr);gap:9px}.preset-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
@media print{.sidebar,.topbar,.mobile-nav,.nav-scrim,.drawer-close,.skip-link,.mobile-basket-link{display:none!important}.workspace{margin:0!important}.content{padding:0;max-width:none}.hero{background:white;box-shadow:none}.panel,.product,.stats article{box-shadow:none}.mobile-cards{display:table!important}.mobile-cards thead{display:table-header-group!important;position:static;width:auto;height:auto;clip:auto;overflow:visible}.mobile-cards tbody{display:table-row-group!important}.mobile-cards tbody tr{display:table-row!important;border:0;padding:0}.mobile-cards td{display:table-cell!important;border-bottom:1px solid #ddd!important;padding:10px!important}.mobile-cards td:before{display:none}.mobile-cards .cell-content{display:contents!important}.order-progress{display:none}.bill-items{font-size:12px}}
