:root{--brand:#0b3b32;--brand2:#155547;--cream:#f7f2e8;--paper:#fffdf8;--rose:#b47f7f;--gold:#b58a36;--ink:#173129;--muted:#728078;--line:#e7e1d6;--danger:#a23b35;--green:#1f8c63;--shadow:0 12px 34px rgba(20,48,39,.09)}*{box-sizing:border-box}html{background:var(--cream)}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;background:var(--cream);color:var(--ink);-webkit-tap-highlight-color:transparent}button,select,textarea,input{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}.gate{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 10% 0,#fff8ee 0,transparent 45%),linear-gradient(150deg,#f7f2e8,#efe8da)}.gate-card{width:min(440px,100%);background:var(--paper);border:1px solid #eee4d6;border-radius:30px;padding:30px;box-shadow:var(--shadow)}.brand-lockup{display:flex;align-items:center;gap:12px;margin-bottom:26px}.brand-lockup>div:last-child{display:flex;flex-direction:column}.brand-lockup span{font-size:10px;font-weight:900;letter-spacing:.16em;color:var(--rose)}.brand-lockup b{font-size:19px}.appmark,.avatar,.profile-avatar,.member-avatar,.group-avatar,.mini-avatar{display:grid;place-items:center;background:var(--brand);color:#fff;font-weight:900}.appmark{width:66px;height:66px;border-radius:22px;font-size:30px}.gate h1{margin:6px 0 8px;font-size:30px;line-height:1.05}.gate p{color:var(--muted);line-height:1.55}.eyebrow{font-size:10px;font-weight:950;letter-spacing:.15em;color:var(--gold)}.gate label,.bottom-sheet label{display:block;font-size:12px;font-weight:850;margin:20px 0 7px}.gate select,.bottom-sheet textarea{width:100%;padding:14px;border:1px solid #dcd5ca;border-radius:15px;background:#fff}.gate button,.primary-action{width:100%;margin-top:12px;border:0;border-radius:16px;padding:15px;background:var(--brand);color:#fff;font-weight:900;box-shadow:0 8px 18px rgba(11,59,50,.15)}.privacy{margin-top:18px;background:#f4efe5;border-radius:14px;padding:12px;color:#5f6d66;font-size:12px}.err{color:#b42318;font-size:12px;margin-top:10px}.app-shell{min-height:100vh;padding-bottom:92px}.topbar{position:sticky;top:0;z-index:30;height:72px;padding:10px 14px;display:flex;align-items:center;gap:11px;background:rgba(255,253,248,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(14px)}.avatar{width:48px;height:48px;border-radius:50%;font-size:20px;box-shadow:0 5px 16px rgba(11,59,50,.18)}.headcopy{display:flex;flex-direction:column;min-width:0;flex:1}.headcopy>b{font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.headcopy span{font-size:11px;color:var(--muted)}.headcopy strong{color:var(--brand)}.install{border:0;background:#e9efe9;color:var(--brand);border-radius:12px;padding:9px 11px;font-size:11px;font-weight:900}.pinned-wrap{position:sticky;top:72px;z-index:25;display:flex;align-items:center;gap:10px;padding:10px 14px;background:#fff7e6;border-bottom:1px solid #ead8ad;box-shadow:0 4px 12px rgba(70,55,20,.04)}.pinned-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:10px;background:#f0dfb6}.pinned-copy{min-width:0;display:flex;flex:1;flex-direction:column}.pinned-copy b{font-size:12px}.pinned-copy span{font-size:11px;color:#756849;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pinned-wrap>button{border:0;background:transparent;font-size:24px;color:#846e38}main{max-width:820px;margin:auto;padding:14px}.tab{display:none}.tab.active{display:block}.hero{display:flex;align-items:stretch;gap:12px;background:linear-gradient(135deg,var(--brand),#174e42);color:#fff;border-radius:24px;padding:18px;margin-bottom:12px;box-shadow:0 12px 28px rgba(11,59,50,.16)}.hero>div:first-child{flex:1}.hero .eyebrow{color:#e5c77a}.hero h1{font-size:24px;line-height:1.05;margin:6px 0 7px}.hero p{margin:0;font-size:12px;line-height:1.5;color:#dce8e2}.term-mini{width:90px;border-left:1px solid rgba(255,255,255,.18);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.term-mini b{font-size:24px}.term-mini span{font-size:10px;color:#dce8e2}.notifications{display:flex;flex-direction:column;gap:8px}.notify{display:flex;gap:10px;background:#fff;border:1px solid #e3ddd2;border-radius:16px;padding:11px 12px;box-shadow:0 3px 12px rgba(20,48,39,.04)}.notify>span{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:#e8f4ee;color:var(--green);font-weight:900}.notify b{display:block;font-size:12px}.notify p{font-size:11px;color:var(--muted);margin:3px 0 0}.messages{display:flex;flex-direction:column;gap:8px;padding:6px 0 82px}.message-wrap{display:flex;align-items:flex-end;gap:7px}.message-wrap.mine{justify-content:flex-end}.message-wrap.system{justify-content:center}.mini-avatar{width:28px;height:28px;border-radius:50%;font-size:11px;flex:0 0 auto}.msg{max-width:82%;background:#fff;border:1px solid #eee7dc;border-radius:18px 18px 18px 6px;padding:10px 12px;box-shadow:0 3px 14px rgba(20,48,39,.04)}.mine .msg{background:#dcebe5;border-color:#d2e1db;border-radius:18px 18px 6px 18px}.msg.announcement{max-width:95%;width:100%;border:1px solid #e6d29f;border-left:5px solid var(--gold);background:#fff9ea;border-radius:18px}.msg-kicker{display:block;font-size:9px;font-weight:950;letter-spacing:.13em;color:#997321;margin-bottom:4px}.msg>b{font-size:11px;color:var(--brand);display:block}.msg>strong{font-size:13px;display:block}.msg p{margin:3px 0 4px;line-height:1.42;font-size:14px}.msg time{font-size:9px;color:#829087}.msg mark{background:#f5dfac;color:#654e1b;border-radius:5px;padding:0 2px}.composer{position:fixed;left:50%;transform:translateX(-50%);bottom:70px;z-index:20;width:min(792px,calc(100% - 20px));display:flex;align-items:flex-end;gap:8px;padding:9px;background:rgba(255,253,248,.98);border:1px solid #e5ddd2;border-radius:20px;box-shadow:0 12px 32px rgba(20,48,39,.13);backdrop-filter:blur(14px)}.composer textarea{flex:1;resize:none;border:0;outline:0;background:transparent;min-height:38px;max-height:120px;padding:9px 3px}.composer-plus,.send-btn{border:0;width:38px;height:38px;border-radius:13px;flex:0 0 auto;font-weight:950}.composer-plus{background:#f2ede4;color:var(--brand)}.send-btn{background:var(--brand);color:#fff}.mention-popover{position:absolute;left:8px;right:8px;bottom:58px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:16px;padding:8px;display:flex;gap:6px;overflow:auto}.mention-popover button{border:0;background:#f1eee7;border-radius:999px;padding:8px 10px;font-size:11px;white-space:nowrap}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 2px 14px}.section-head h2{font-size:24px;margin:4px 0 0}.tiny-chip,.count-badge{background:#e4ece8;color:var(--brand);padding:8px 10px;border-radius:999px;font-size:11px;font-weight:850;white-space:nowrap}.count-badge{min-width:34px;text-align:center}.term-chips{display:flex;gap:8px;overflow:auto;padding:0 0 12px;scrollbar-width:none}.term-chips::-webkit-scrollbar{display:none}.term-chip{border:1px solid #d9ded8;background:#fff;border-radius:16px;padding:10px 12px;text-align:left;min-width:128px;white-space:nowrap}.term-chip b{display:block;font-size:12px}.term-chip small{display:block;color:var(--muted);font-size:9px;margin-top:2px}.term-chip.active{background:var(--brand);border-color:var(--brand);color:#fff}.term-chip.active small{color:#dce8e2}.term-chip.closed{opacity:.45;text-decoration:line-through}.articles{display:grid;grid-template-columns:1fr;gap:10px}.food-card{position:relative;display:flex;align-items:center;gap:12px;background:var(--paper);border:1px solid #ebe3d7;border-radius:20px;padding:10px;box-shadow:0 5px 18px rgba(20,48,39,.04)}.food-pic{width:72px;height:72px;border-radius:16px;background:#e8eee8 center/cover no-repeat;display:grid;place-items:center;overflow:hidden;flex:0 0 auto}.food-pic span{font-size:25px;color:#46655c;font-weight:950}.food-copy{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.food-copy b{font-size:15px;line-height:1.2}.food-copy small{font-size:12px;color:var(--rose);font-weight:850}.add-food{width:42px;height:42px;border-radius:14px;border:0;background:var(--brand);color:#fff;font-size:24px;font-weight:300;flex:0 0 auto}.group-cart{display:flex;flex-direction:column;gap:8px}.group-row{display:flex;gap:10px;align-items:flex-start;background:#fff;border:1px solid #e9e1d6;border-radius:18px;padding:11px}.group-avatar{width:35px;height:35px;border-radius:12px;flex:0 0 auto}.grow{min-width:0;flex:1}.row-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.group-row b{font-size:12px}.group-row strong{display:block;font-size:14px;margin-top:2px}.group-row small{display:block;font-size:10px;color:var(--muted);margin-top:2px}.group-row em{display:block;font-size:10px;color:#6a625a;margin-top:3px}.group-price{font-size:12px;font-weight:900;white-space:nowrap;margin-top:22px}.status{font-size:9px;border-radius:999px;padding:5px 7px;background:#f1ebe5;color:#8a6d5e}.status.ok{background:#e1f2e9;color:#1c7756}.discount-line,.saved{color:var(--green)!important;font-weight:850}.my-card{background:#fff;border:1px solid #e7ded1;border-radius:24px;padding:16px;margin-top:14px;box-shadow:var(--shadow)}.my-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;border-bottom:1px solid #eee7dc;padding-bottom:11px;margin-bottom:6px}.my-head h3{margin:3px 0 0;font-size:18px}.my-total{font-size:18px;font-weight:950;color:var(--brand)}.my-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #f0eae0}.my-food{flex:1;min-width:0}.my-food b{display:block;font-size:14px}.my-food small,.my-food em,.my-food .saved{display:block;font-size:10px;color:var(--muted);margin-top:3px}.qty-control{display:grid;grid-template-columns:38px 28px 38px;align-items:center;justify-items:center;gap:3px;flex:0 0 auto}.qty-control button,.sheet-qty button{width:38px;height:38px;border:1px solid #d8dfda;background:#edf2ef;color:var(--brand);border-radius:13px;font-size:19px;font-weight:800}.qty-control b{font-size:16px}.loyalty-hint,.loyalty-preview{margin-top:12px;background:#f4f0df;border:1px solid #eadcab;border-radius:14px;padding:11px;font-size:11px;color:#655c3c;line-height:1.4}.members-list{display:flex;flex-direction:column;gap:8px}.member-card{display:flex;align-items:center;gap:11px;background:#fff;border:1px solid #e9e1d6;border-radius:18px;padding:11px}.member-avatar{position:relative;width:43px;height:43px;border-radius:50%;font-size:15px}.member-avatar i{position:absolute;right:0;bottom:1px;width:10px;height:10px;border:2px solid #fff;border-radius:50%;background:#bbb}.member-avatar i.online{background:#27a36f}.member-card b{display:block;font-size:14px}.member-card small{display:block;font-size:10px;color:var(--muted);margin-top:2px}.mention-btn{width:38px;height:38px;border:0;border-radius:13px;background:#eef2ef;color:var(--brand);font-weight:950}.profile-hero{text-align:center;padding:14px 0 16px}.profile-avatar{width:74px;height:74px;border-radius:26px;font-size:28px;margin:0 auto 8px;box-shadow:0 12px 24px rgba(11,59,50,.15)}.profile-hero h2{margin:0;font-size:23px}.profile-hero span{font-size:11px;color:var(--muted)}.wallet-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.wallet{border-radius:20px;padding:15px;display:flex;flex-direction:column;min-height:112px}.wallet.personal{background:var(--brand);color:#fff}.wallet.shared{background:#efe1cb;color:#5d4821}.wallet span{font-size:10px;font-weight:800}.wallet b{font-size:25px;margin-top:auto}.wallet small{font-size:9px;opacity:.8}.profile-card{background:#fff;border:1px solid #e8e1d6;border-radius:20px;padding:15px;margin-top:10px}.profile-card h3{font-size:14px;margin:0 0 10px}.limit-row{display:flex;justify-content:space-between;gap:8px;font-size:11px;margin:9px 0 5px}.limit-bar{height:7px;background:#ece8df;border-radius:999px;overflow:hidden}.limit-bar i{display:block;height:100%;background:var(--rose);border-radius:999px}.history-row{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #eee8de}.history-row:last-child{border:0}.history-row b{display:block;font-size:11px}.history-row small{font-size:9px;color:var(--muted)}.history-row time{font-size:9px;color:var(--muted);white-space:nowrap}.danger{width:100%;border:1px solid #e8c9c6;background:#fff1ef;color:var(--danger);border-radius:15px;padding:13px;margin-top:12px;font-weight:850}.bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:35;height:70px;background:rgba(255,253,248,.97);border-top:1px solid #e3dccf;display:grid;grid-template-columns:repeat(5,1fr);padding:5px 4px max(5px,env(safe-area-inset-bottom));backdrop-filter:blur(16px)}.bottom-nav button{position:relative;border:0;background:transparent;color:#7e8882;font-size:9px;padding:4px 2px}.bottom-nav svg{display:block;width:23px;height:23px;margin:0 auto 3px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}.bottom-nav button.active{color:var(--brand);font-weight:950}.bottom-nav button.active svg{stroke-width:2.2}.bottom-nav em{position:absolute;top:1px;left:55%;min-width:17px;height:17px;line-height:17px;padding:0 4px;border-radius:999px;background:var(--rose);color:#fff;font-size:8px;font-style:normal;font-weight:900}.assistant-fab{position:fixed;right:15px;bottom:82px;z-index:34;width:54px;height:54px;border:4px solid var(--cream);border-radius:18px;background:var(--brand);color:#fff;box-shadow:0 10px 25px rgba(11,59,50,.28);display:grid;place-items:center}.assistant-fab>span{font-size:21px;font-weight:950}.assistant-fab>i{position:absolute;right:-4px;top:-5px;width:19px;height:19px;border-radius:999px;background:var(--gold);color:#fff;font-size:11px;font-style:normal;display:grid;place-items:center;border:2px solid var(--cream)}.sheet-backdrop{position:fixed;inset:0;z-index:60;background:rgba(11,30,25,.35);opacity:0;transition:.18s}.sheet-backdrop.open{opacity:1}.bottom-sheet{position:fixed;left:50%;bottom:0;z-index:65;width:min(620px,100%);max-height:88vh;overflow:auto;transform:translate(-50%,105%);transition:transform .2s ease;background:var(--paper);border-radius:26px 26px 0 0;padding:22px 18px calc(20px + env(safe-area-inset-bottom));box-shadow:0 -20px 55px rgba(10,36,29,.2)}.bottom-sheet.open{transform:translate(-50%,0)}.sheet-handle{position:absolute;top:8px;left:50%;transform:translateX(-50%);width:44px;height:4px;border-radius:99px;background:#d8d1c7}.sheet-close{position:absolute;right:14px;top:12px;width:34px;height:34px;border:0;border-radius:12px;background:#f0ece4;font-size:22px}.bottom-sheet h2{margin:6px 40px 0 0;font-size:22px}.sheet-price{font-size:13px;color:var(--rose);font-weight:900;margin-top:4px}.bottom-sheet textarea{resize:vertical}.sheet-qty{display:flex;align-items:center;justify-content:center;gap:15px;margin:16px 0}.sheet-qty b{font-size:20px}.assistant-bubble,.assistant-answer{background:#e4eee9;border-radius:18px 18px 18px 6px;padding:12px;margin-top:12px;font-size:12px;line-height:1.5}.quick-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.quick-actions button{border:1px solid #d8ded9;background:#fff;border-radius:999px;padding:9px 11px;font-size:11px}.assistant-answer:empty{display:none}.empty-state{text-align:center;padding:35px 16px;color:var(--muted)}.empty-state span{display:block;font-size:29px;margin-bottom:5px}.empty-state b{display:block;color:var(--ink)}.empty-state p{font-size:11px}.empty-state.compact{padding:22px}.empty-mini{text-align:center;color:var(--muted);font-size:11px;padding:15px}.toast{position:fixed;left:50%;bottom:92px;z-index:100;transform:translate(-50%,20px);opacity:0;background:#173129;color:#fff;border-radius:999px;padding:10px 14px;font-size:11px;font-weight:800;transition:.2s;pointer-events:none;max-width:calc(100% - 28px);text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}@media(min-width:650px){.articles{grid-template-columns:1fr 1fr}.bottom-nav{left:50%;transform:translateX(-50%);max-width:820px;border-left:1px solid #e3dccf;border-right:1px solid #e3dccf;border-radius:18px 18px 0 0}.assistant-fab{right:calc((100vw - min(820px,100vw))/2 + 16px)}.composer{bottom:76px}}@media(max-width:380px){main{padding:10px}.hero{padding:15px}.hero h1{font-size:21px}.wallet-grid{grid-template-columns:1fr}.qty-control{grid-template-columns:34px 24px 34px}.qty-control button{width:34px;height:34px}.group-price{display:none}}

/* R6.6.95: asistent ne prekriva chat composer */
.chat-tab-active .assistant-fab{bottom:148px;right:16px}.custom-questions:empty{display:none}.custom-questions{padding-top:2px;border-top:1px dashed #ddd5c8}.custom-questions button{background:#f6f1e8;border-color:#e1d8c9}.assistant-answer{white-space:normal}
@media(min-width:650px){.chat-tab-active .assistant-fab{bottom:154px}}

/* ============================================================
   R6.6.96 — compact home / messenger-business UX
   ============================================================ */
body{background:#f7f4ec}.app-shell{padding-bottom:92px}.topbar{height:72px;background:linear-gradient(135deg,#063e35,#0a5a49);border:0;color:#fff;padding:10px 12px;box-shadow:0 2px 0 rgba(0,0,0,.05)}
.top-icon{position:relative;width:42px;height:42px;display:grid;place-items:center;border:0;border-radius:14px;background:transparent;color:#fff;font-size:24px;font-weight:700}.top-icon:active{background:rgba(255,255,255,.1)}.top-title{min-width:0;flex:1;text-align:center;display:flex;flex-direction:column;line-height:1.05}.top-title b{font-size:19px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-title span{font-size:10px;color:#d8ece5;margin-top:4px}.topbar .install{background:#f0c43c;color:#173129;border-radius:999px;padding:10px 13px}.bell em{position:absolute;right:5px;top:4px;width:9px;height:9px;background:#ee3e36;border:2px solid #0a5a49;border-radius:50%}
main{padding:12px 12px 18px}.home-tab{display:flex;flex-direction:column;gap:10px}.welcome-card{display:flex;align-items:stretch;gap:10px;background:linear-gradient(135deg,#fffdf8,#fff4dc);border:1px solid #eee2cb;border-radius:20px;padding:15px 15px;box-shadow:0 6px 20px rgba(29,65,53,.05)}.welcome-card>div:first-child{min-width:0;flex:1}.welcome-card h1{margin:0 0 4px;font-size:21px;line-height:1.1}.welcome-card p{margin:0;color:#50645d;font-size:12px;line-height:1.4}.welcome-card .term-mini{width:82px;border-left:1px solid #eadfcb}.welcome-card .term-mini b{font-size:20px;color:var(--brand)}.welcome-card .term-mini span{color:#6f7c75;font-size:9px}
.home-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.home-actions button{min-height:73px;border:1px solid #e4dfd6;border-radius:17px;background:#fff;padding:9px 5px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;box-shadow:0 3px 12px rgba(20,48,39,.035)}.home-actions button>span{width:31px;height:31px;border-radius:11px;display:grid;place-items:center;background:#f1f4ef;color:var(--brand);font-size:17px}.home-actions button>b{font-size:10px;line-height:1.15;text-align:center}
.home-pinned{border:1px solid #e8cf89;border-radius:17px;background:#fff7df;overflow:hidden}.home-pinned button{width:100%;border:0;background:transparent;padding:11px 12px;display:flex;align-items:flex-start;gap:9px;text-align:left}.home-pinned button>span{font-size:20px}.home-pinned button>div{min-width:0;flex:1}.home-pinned small{display:block;color:#8c6a27;font-size:9px;font-weight:850}.home-pinned b{display:block;font-size:13px;margin-top:2px}.home-pinned p{margin:3px 0 0;color:#6e6653;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-pinned i{font-style:normal;font-size:25px;color:#9b7734}
.today-card{display:flex;align-items:center;gap:10px;border:1px solid #cfe5d8;border-radius:17px;background:#eff8f2;padding:11px 12px}.today-icon{width:34px;height:34px;border-radius:12px;background:#def0e5;display:grid;place-items:center}.today-card small{display:block;font-size:9px;color:#6d7f77}.today-card b{display:block;font-size:12px;line-height:1.35}.today-card button{border:0;background:transparent;color:var(--brand);font-size:27px}.quick-offers,.conversation-card{border:1px solid #e4dfd6;border-radius:19px;background:#fff;padding:12px;box-shadow:0 5px 18px rgba(20,48,39,.035)}.card-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:9px}.card-title>b{font-size:14px}.card-title>button{border:0;background:transparent;color:#08705b;font-size:10px;font-weight:850}.offer-strip{display:flex;gap:9px;overflow:auto;scrollbar-width:none}.offer-strip::-webkit-scrollbar{display:none}.offer-strip>button{min-width:78px;max-width:78px;border:0;background:transparent;padding:0;text-align:left}.offer-thumb{display:grid;place-items:center;width:78px;height:61px;border-radius:13px;background:#eef0ea center/cover no-repeat;font-size:23px}.offer-strip b{display:block;font-size:9px;line-height:1.15;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.message-preview{display:flex;flex-direction:column;gap:7px}.preview-row{display:flex;gap:8px;align-items:flex-start}.preview-avatar{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#2c6383;color:#fff;font-size:11px;font-weight:900;flex:0 0 auto;background-position:center;background-size:cover}.preview-row>div:last-child{min-width:0;flex:1}.preview-row>div>div{display:flex;align-items:center;gap:5px}.preview-row b{font-size:11px}.preview-row time{font-size:8px;color:#a0aaa5}.preview-row p{font-size:10px;margin:2px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.preview-empty{font-size:10px;color:var(--muted);padding:5px 0}.inline-composer,.sheet-composer{position:relative;display:flex;align-items:flex-end;gap:7px;margin-top:10px;border:1px solid #e6e1d9;background:#faf9f5;border-radius:15px;padding:6px}.inline-composer textarea,.sheet-composer textarea{min-width:0;flex:1;resize:none;border:0;outline:0;background:transparent;padding:8px 3px;min-height:37px;max-height:110px;font-size:12px}.inline-composer .composer-plus,.inline-composer .send-btn,.sheet-composer .composer-plus,.sheet-composer .send-btn{width:37px;height:37px;border-radius:12px}.messages-full{display:flex;flex-direction:column;gap:8px;min-height:150px;max-height:56vh;overflow:auto;padding:8px 2px}.chat-sheet{padding-bottom:calc(14px + env(safe-area-inset-bottom))}
.menu-search{display:flex;align-items:center;gap:8px;background:#ecefeb;border-radius:14px;padding:0 12px;margin:0 0 10px}.menu-search>span{font-size:22px;color:#7b8781}.menu-search input{width:100%;border:0;outline:0;background:transparent;padding:12px 0;font-size:12px}.category-chips{display:flex;gap:7px;overflow:auto;padding:0 0 10px;scrollbar-width:none}.category-chips::-webkit-scrollbar{display:none}.category-chip{white-space:nowrap;border:1px solid #d7ded9;background:#fff;border-radius:999px;padding:8px 12px;font-size:10px;font-weight:750}.category-chip.active{background:var(--brand);border-color:var(--brand);color:#fff}.offer-list{display:flex;flex-direction:column;gap:8px}.offer-row{display:flex;align-items:center;gap:10px;border:1px solid #e9e2d8;background:#fff;border-radius:15px;padding:8px}.offer-row-pic{width:56px;height:48px;border-radius:10px;background:#eef0ea center/cover no-repeat;display:grid;place-items:center}.offer-row b{display:block;font-size:11px}.offer-row small{display:block;font-size:10px;font-weight:900;margin-top:2px}.offer-row>button{width:38px;height:38px;border:0;border-radius:12px;background:#f2c43d;font-size:20px;font-weight:900}.soft-action{width:100%;border:0;border-radius:14px;background:#edf5f0;color:var(--brand);padding:12px;font-weight:850;margin-top:10px}
.floating-cart{position:fixed;left:50%;transform:translateX(-50%);bottom:76px;z-index:33;width:min(790px,calc(100% - 22px));min-height:62px;border:0;border-radius:20px;background:linear-gradient(135deg,#074a3e,#086554);color:#fff;padding:10px 12px;display:flex;align-items:center;gap:9px;box-shadow:0 13px 30px rgba(0,56,46,.25);text-align:left}.floating-cart[hidden]{display:none}.floating-cart-icon{font-size:22px}.floating-cart-copy{min-width:0;flex:1;display:flex;flex-direction:column}.floating-cart-copy b{font-size:12px}.floating-cart-copy small{font-size:9px;color:#d8ebe5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.floating-cart strong{font-size:14px;white-space:nowrap}.floating-cart>i{width:34px;height:34px;border-radius:50%;background:#f2c43d;color:#173129;display:grid;place-items:center;font-style:normal;font-size:23px;font-weight:900}.has-floating-cart .assistant-fab{bottom:148px}.has-floating-cart .app-shell{padding-bottom:160px}
.nav-sheet{max-height:86vh}.nav-sheet-head{display:flex;align-items:center;gap:10px;padding:4px 2px 14px}.nav-avatar{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:var(--brand);color:#fff;font-size:18px;font-weight:950;background-position:center;background-size:cover}.nav-sheet-head>div:last-child{display:flex;flex-direction:column}.nav-sheet-head b{font-size:16px}.nav-sheet-head span{font-size:10px;color:var(--muted);margin-top:2px}.nav-list.nav-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.nav-list.nav-grid>button{min-height:74px;border:1px solid #e7e7e3;border-radius:17px;background:#f4f6f4;padding:11px;text-align:left;font-size:18px;display:block}.nav-list.nav-grid>button>span{display:block;font-size:11px;font-weight:900;color:var(--brand);margin-top:5px}.nav-list.nav-grid>button>small{display:block;font-size:9px;color:#748078;margin-top:2px;line-height:1.2}.nav-list.nav-grid>button>b{float:right;margin-top:-18px;background:#f2c43d;border-radius:999px;padding:3px 6px;font-size:9px}.wide-logout{width:100%;border:1px solid #efcaca;border-radius:14px;background:#fff5f4;color:#b43d34;padding:12px;font-weight:850;margin-top:12px}
.profile-photo-wrap{position:relative;width:86px;height:86px;margin:0 auto 10px}.profile-photo-wrap .profile-avatar{width:86px;height:86px;margin:0;border-radius:30px;background-position:center;background-size:cover;background-repeat:no-repeat}.photo-edit{position:absolute;right:-3px;bottom:-2px;width:34px;height:34px;border:3px solid var(--cream);border-radius:50%;background:#f2c43d;font-size:15px}.photo-actions{display:flex;justify-content:center;gap:8px;margin-top:10px}.photo-actions button{border:0;background:#e8efe9;color:var(--brand);border-radius:999px;padding:8px 11px;font-size:9px;font-weight:850}.photo-actions .link-danger{background:#fff0ef;color:var(--danger)}.has-photo{background-position:center!important;background-size:cover!important;background-repeat:no-repeat!important;color:transparent!important}
.share-sheet .sheet-lead{color:var(--muted);font-size:12px;line-height:1.5}.share-card{border:1px solid #e5e2d9;border-radius:20px;background:#fbfcf9;padding:15px}.share-card-icon{font-size:30px}.share-card h3{margin:6px 0 4px;font-size:18px}.share-card p{margin:0;color:#67756e;font-size:11px;line-height:1.45}.share-actions{display:flex;gap:8px;margin-top:13px}.primary-small,.secondary-small{flex:1;border:0;border-radius:13px;padding:11px 9px;font-size:10px;font-weight:900}.primary-small{background:var(--brand);color:#fff}.secondary-small{background:#e8efe9;color:var(--brand)}.share-hint{font-size:10px;color:#17805e;margin-top:9px;min-height:15px}.info-body{font-size:12px;line-height:1.55;color:#52645c}.notice-block{border:1px solid #e7e1d7;border-radius:15px;padding:11px;margin:8px 0;background:#fff}.notice-block b{font-size:12px}.notice-block p{font-size:10px;color:var(--muted);margin:4px 0 0}
@media(max-width:420px){.topbar .install{display:none}.welcome-card h1{font-size:19px}.home-actions{gap:6px}.home-actions button{min-height:68px}.home-actions button>b{font-size:9px}.floating-cart{bottom:75px}.nav-list.nav-grid>button{min-height:70px}.section-head h2{font-size:22px}}
/* Asistent nikad ne prekriva polje za poruku na početnoj. */
.home-tab-active .assistant-fab{bottom:148px}.home-tab-active.has-floating-cart .assistant-fab{bottom:151px}

/* ============================================================
   R6.6.97 — STATUS HOME + SVE SEKCIJE U POPUP-U
   ============================================================ */
.compact-shell{padding-bottom:86px}
.store-status-head{position:sticky;top:0;z-index:34;background:linear-gradient(180deg,#073f36,#08493e);color:#fff;border-bottom:1px solid rgba(255,255,255,.08);box-shadow:0 5px 18px rgba(7,63,54,.12);padding:8px 12px 10px}
.store-head-row{min-height:50px;display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:8px}
.store-status-head .top-icon{width:42px;height:42px;border:0;border-radius:13px;background:transparent;color:#fff;font-size:24px;display:grid;place-items:center;position:relative}
.store-status-head .bell{font-size:19px}
.store-status-head .bell em{position:absolute;right:5px;top:5px;width:9px;height:9px;border-radius:50%;background:#ef4c42;border:2px solid #073f36}
.store-identity{text-align:center;min-width:0;display:flex;flex-direction:column;align-items:center}
.store-identity b{font-size:20px;line-height:1.05;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.store-identity span{font-size:10px;color:#d7e7e2;margin-top:2px}
.status-term-pill{margin:3px auto 0;min-height:34px;border:0;border-radius:999px;background:rgba(255,255,255,.10);color:#fff;padding:7px 13px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;font-weight:850;box-shadow:inset 0 0 0 1px rgba(255,255,255,.05)}
.status-term-pill b{font-size:13px}
.hidden-install{display:none!important}
.admin-status-bar{min-height:38px;background:#fff3c8;border-bottom:1px solid #e7cf77;color:#674f16;padding:7px 13px;display:flex;align-items:center;gap:8px;position:relative;z-index:22;box-shadow:0 3px 10px rgba(80,61,10,.04)}
.admin-status-bar[hidden]{display:none}
.admin-status-bar>span{flex:0 0 auto}
.admin-status-bar>b{min-width:0;flex:1;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-status-bar>button{flex:0 0 auto;border:0;background:transparent;color:#876810;font-size:10px;font-weight:950;padding:4px 1px}
.home-main{max-width:820px;margin:auto;padding:11px 12px 18px}
.home-tab{display:block!important}
.welcome-compact{padding:2px 2px 1px}
.welcome-compact h1{margin:0;font-size:19px;line-height:1.12;color:var(--ink)}
.welcome-compact p{margin:3px 0 0;color:#5b6d65;font-size:12px;font-weight:700}
.compact-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:10px 0 11px}
.compact-actions button{min-height:58px!important;border-radius:15px!important;padding:6px 3px!important;gap:4px!important}
.compact-actions button>span{width:30px!important;height:30px!important;border-radius:10px!important;font-size:16px!important}
.compact-actions button>b{font-size:8.5px!important;line-height:1.08!important;max-width:62px}
.compact-block{margin-top:9px;padding:10px 11px!important;border-radius:16px!important}
.compact-block .card-title{margin-bottom:7px}
.compact-block .card-title>b{font-size:12px}
.compact-block .card-title>button{font-size:9px}
.compact-block .offer-strip{gap:8px}
.compact-block .offer-strip>button{min-width:68px;max-width:68px}
.compact-block .offer-thumb{width:68px;height:52px;border-radius:11px}
.compact-block .offer-strip b{font-size:8.5px}
.compact-block .message-preview{gap:5px}
.compact-block .preview-avatar{width:28px;height:28px}
.compact-block .preview-row p{font-size:9.5px}
.compact-block .inline-composer{margin-top:8px;padding:5px;border-radius:14px}
.compact-block .inline-composer textarea{min-height:33px;padding:6px 2px;font-size:11px}
.compact-block .inline-composer .composer-plus,.compact-block .inline-composer .send-btn{width:34px;height:34px;border-radius:11px}
.content-sheet{max-height:84vh;padding-top:25px;overscroll-behavior:contain}
.menu-sheet .articles{padding-bottom:10px}
.cart-sheet .my-card{margin-bottom:2px}
.members-sheet .members-list{padding-bottom:6px}
.profile-sheet{padding-bottom:calc(22px + env(safe-area-inset-bottom))}
.popup-nav button.active{background:#f2eee3;border-radius:14px}
.floating-cart{bottom:76px;min-height:58px;border-radius:18px;padding:9px 11px}
.floating-cart-copy b{font-size:11px}.floating-cart-copy small{font-size:8.5px}.floating-cart strong{font-size:13px}
.assistant-fab{bottom:84px;width:48px;height:48px;border-radius:16px}
.home-tab-active .assistant-fab{bottom:84px!important}
.home-tab-active.has-floating-cart .assistant-fab,.has-floating-cart .assistant-fab{bottom:144px!important}
.has-floating-cart .app-shell{padding-bottom:150px}
.sheet-backdrop{backdrop-filter:blur(1px)}
@media(max-width:420px){
  .store-status-head{padding-left:10px;padding-right:10px}
  .store-identity b{font-size:18px}
  .status-term-pill{font-size:10px;min-height:32px}
  .status-term-pill b{font-size:12px}
  .home-main{padding:10px 10px 16px}
  .welcome-compact h1{font-size:18px}
  .compact-actions{gap:6px}
  .compact-actions button{min-height:55px!important}
  .compact-actions button>b{font-size:8px!important}
  .content-sheet{max-height:86vh}
}
\n/* R6.6.98 — compact old-Store header + welcome assistant + real article photos */
.store-status-head{padding:4px 10px 6px}
.store-head-row{min-height:38px;grid-template-columns:36px 1fr 36px;gap:6px}
.store-status-head .top-icon{width:36px;height:36px;border-radius:11px;font-size:21px}
.store-status-head .bell{font-size:17px}
.store-identity b{font-size:16px;line-height:1}
.store-identity span{font-size:8.5px;margin-top:1px}
.status-term-pill{margin:0 auto;min-height:25px;padding:4px 10px;gap:5px;font-size:9px}
.status-term-pill b{font-size:10.5px}
.welcome-assistant-row{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:10px;align-items:center;margin:0 0 9px}
.welcome-assistant-row .welcome-compact{min-width:0}
.welcome-assistant{height:58px;border:1px solid #edd7b9;border-radius:15px;background:linear-gradient(145deg,#fff9ee,#f7ead6);color:var(--brand);display:grid;grid-template-columns:28px 1fr;grid-template-rows:1fr 1fr;align-items:center;text-align:left;padding:8px 10px;box-shadow:0 5px 15px rgba(40,51,43,.05)}
.welcome-assistant span{grid-row:1/3;width:28px;height:28px;border-radius:10px;background:#f3e8d8;display:grid;place-items:center;font-size:16px}
.welcome-assistant b{font-size:10px;line-height:1.05;align-self:end}
.welcome-assistant small{font-size:8.5px;color:#718079;align-self:start;margin-top:1px}
.three-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
.assistant-fab{display:none!important}
.food-pic img,.offer-thumb img,.offer-row-pic img{width:100%;height:100%;display:block;object-fit:cover;border-radius:inherit}
@media(max-width:420px){
 .store-status-head{padding:3px 9px 5px}
 .store-head-row{min-height:36px}
 .store-identity b{font-size:15px}
 .status-term-pill{min-height:24px}
 .welcome-assistant-row{grid-template-columns:minmax(0,1fr) 105px;gap:8px}
 .welcome-assistant{height:55px;padding:7px 8px}
}

/* R6.6.99: compact viewport + emoji picker */
html,body{min-height:100%;overscroll-behavior-y:none}
.compact-shell{min-height:0!important;padding-bottom:0!important}
.has-floating-cart .compact-shell{padding-bottom:0!important}
.home-main{padding-bottom:12px!important}
body.home-tab-active{padding-bottom:70px}
body.home-tab-active.has-floating-cart{padding-bottom:70px}
.inline-composer,.sheet-composer{position:relative}
.composer-emoji{width:34px;height:34px;border:0;border-radius:11px;background:#f1ede5;color:var(--brand);font-size:19px;font-weight:700;flex:0 0 auto;display:grid;place-items:center}
.emoji-popover{position:absolute;left:42px;bottom:45px;z-index:8;width:220px;max-width:calc(100vw - 76px);display:flex;flex-wrap:wrap;gap:5px;padding:8px;background:#fff;border:1px solid #ded7cc;border-radius:14px;box-shadow:0 12px 28px rgba(20,48,39,.16)}
.emoji-popover button{width:34px;height:34px;border:0;border-radius:9px;background:#f6f2ea;font-size:19px;padding:0}
@media(max-width:420px){.home-main{padding-bottom:8px!important}.store-status-head{padding-bottom:5px}.admin-status-bar{min-height:34px;padding:6px 10px}.admin-status-bar>b{font-size:10.5px}}

/* R6.6.104 · Store affiliate */
.gate-grid,.affiliate-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hp-field{position:absolute!important;left:-9999px!important;opacity:0!important;pointer-events:none!important}.gate textarea,.affiliate-form textarea{width:100%;resize:vertical}.gate-msg{min-height:22px;margin-top:8px;font-weight:800;color:#9b3b3b}.gate-msg.ok-msg{color:#1d7557}.affiliate-sheet{max-height:92vh;overflow:auto}.affiliate-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}.affiliate-stats>div{background:#f3f7f3;border:1px solid #dfe9e2;border-radius:14px;padding:11px}.affiliate-stats span{display:block;color:#6e7c76;font-size:11px}.affiliate-stats b{display:block;color:#0b4b40;font-size:18px;margin-top:2px}.affiliate-link-card{background:#fff8e8;border:1px solid #ead8aa;border-radius:16px;padding:12px;margin:12px 0}.affiliate-link-card code{display:block;word-break:break-all;background:#fff;border:1px solid #eadfc5;border-radius:10px;padding:9px;margin:6px 0 10px;font-size:11px;color:#355148}.affiliate-form{background:#fff;border:1px solid #e8e2d9;border-radius:18px;padding:13px;margin:12px 0}.affiliate-form h3,.affiliate-history h3{margin:0 0 8px}.affiliate-form label{display:block;font-size:12px;font-weight:800;color:#415a52;margin-top:7px}.affiliate-form input,.affiliate-form textarea{width:100%;border:1px solid #dfe3de;border-radius:11px;padding:10px;background:#fff}.affiliate-history{background:#fff;border:1px solid #e8e2d9;border-radius:18px;padding:13px}.affiliate-ref-row{display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid #eee7dc;padding:10px 0}.affiliate-ref-row:first-child{border-top:0}.affiliate-ref-row>div:last-child{text-align:right}.affiliate-ref-row b,.affiliate-ref-row strong{display:block}.affiliate-ref-row small{display:block;color:#7a847f;font-size:11px;margin-top:2px}.affiliate-note{font-size:11px;color:#7b837f;line-height:1.45;margin:10px 2px 0}.nav-grid button[data-nav=affiliate]{background:#fff8df;border-color:#ead79a}.nav-grid button[data-nav=affiliate]>b{background:#f2c84b;color:#5e4a08;padding:3px 7px;border-radius:999px;font-size:11px}@media(max-width:560px){.gate-grid,.affiliate-grid{grid-template-columns:1fr}.affiliate-stats{grid-template-columns:1fr 1fr}}

/* R6.6.106 · PIN / self-registration gate */
.gate-hint{font-size:12px;color:#6e7a75;margin:-3px 0 8px}.gate-separator{display:flex;align-items:center;gap:10px;margin:15px 0;color:#85908b;font-size:12px}.gate-separator:before,.gate-separator:after{content:"";height:1px;background:#e2e8e5;flex:1}.self-reg-box{border:1px solid #dfe8e4;border-radius:14px;background:#f8fbfa;margin-top:8px}.self-reg-box summary{cursor:pointer;padding:12px 13px;font-weight:800;color:#0a6253}.self-reg-box form{padding:0 12px 12px}.self-reg-box[open] summary{border-bottom:1px solid #e4eae7;margin-bottom:10px}

/* R6.7.00 design/profile */
body{background:var(--store-bg,#f6f1e5)}
.store-status-head,.floating-cart,.send-btn,.primary-action{background:var(--store-primary,#073f36)}
.bottom-sheet,.compact-block,.profile-card,.home-actions button,.welcome-assistant{border-radius:var(--store-radius,22px)}
.store-custom-logo{width:28px;height:28px;object-fit:cover;border-radius:8px;margin-right:7px;vertical-align:middle}
.home-actions button>span img,.welcome-assistant>span img{width:30px;height:30px;object-fit:cover;border-radius:9px}
.profile-data-form input{width:100%;box-sizing:border-box;padding:11px;border:1px solid #d8ddd9;border-radius:12px;margin:4px 0 9px}
.affiliate-submit-row{display:grid;grid-template-columns:1fr 1.25fr;gap:8px;margin-top:12px}.affiliate-submit-row .primary-action{margin:0}.affiliate-submit-row .secondary-small{min-height:48px}
.gate-link{display:inline-block;margin:7px 0 12px;color:#0a594a;font-weight:800}
@media(max-width:520px){.affiliate-submit-row{grid-template-columns:1fr}}

/* Store v2 R6.8 · prilozi, operativa i broj nepročitanih */
.bell em.count,.store-status-head .bell em.count{right:0;top:0;width:auto;min-width:18px;height:18px;line-height:14px;padding:0 4px;border-radius:999px;font-size:9px;font-style:normal;font-weight:950;text-align:center;color:#fff;background:#ef4c42;border:2px solid #073f36}
.addon-groups{display:flex;flex-direction:column;gap:10px;margin:8px 0 14px}.addon-group{border:1px solid #e5dfd6;border-radius:17px;padding:11px;background:#fff}.addon-group-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:7px}.addon-group-head b{font-size:13px}.addon-group-head small{font-size:9px;color:var(--muted);text-align:right}.addon-choice{display:flex;align-items:center;gap:9px;padding:9px 0;border-top:1px solid #f1ece5}.addon-choice:first-of-type{border-top:0}.addon-choice input{width:18px;height:18px;accent-color:var(--brand)}.addon-choice span{flex:1;font-size:12px}.addon-choice b{font-size:10px;color:var(--rose);white-space:nowrap}.addon-line{color:#7b5d2b!important;font-weight:800!important}.operation-shortcut{padding:0!important;overflow:hidden}.operation-shortcut>button{width:100%;display:flex;align-items:center;gap:11px;border:0;background:#fff;padding:13px 14px;text-align:left;color:var(--ink)}.operation-shortcut>button>span{width:38px;height:38px;border-radius:13px;background:#e4f1ea;display:grid;place-items:center}.operation-shortcut>button>div{flex:1;min-width:0}.operation-shortcut b{display:block;font-size:13px}.operation-shortcut small{display:block;font-size:10px;color:var(--muted);margin-top:2px}.operation-shortcut em{min-width:28px;height:28px;padding:0 7px;border-radius:999px;background:var(--rose);color:#fff;font-style:normal;font-size:11px;font-weight:950;display:grid;place-items:center}.operations-list{display:flex;flex-direction:column;gap:10px;margin-top:12px}.operation-card{background:#fff;border:1px solid #e7e0d7;border-radius:18px;padding:13px}.operation-head{display:flex;align-items:flex-start;justify-content:space-between;gap:9px;margin-bottom:8px}.operation-head b{display:block;font-size:15px}.operation-head small{display:block;color:var(--muted);font-size:9px}.operation-status{font-size:9px;padding:6px 8px;border-radius:999px;background:#f0ece5;color:#6d655b;font-weight:900;white-space:nowrap}.operation-status.awaiting_acceptance{background:#fff3c5;color:#785b00}.operation-status.accepted{background:#e8f1ff;color:#275d95}.operation-status.preparing{background:#fbe5c8;color:#945c16}.operation-status.ready{background:#dff3e6;color:#237345}.operation-item{padding:8px 0;border-top:1px solid #f1ece4}.operation-item b{display:block;font-size:12px}.operation-item small,.operation-item em{display:block;font-size:9px;color:var(--muted);margin-top:2px}.operation-card .primary-action{margin-top:10px}.operation-done{margin-top:9px;background:#e4f3e9;color:#1e7046;border-radius:13px;padding:10px;text-align:center;font-size:11px;font-weight:950}.system-preview{background:#f3f0e9;border-radius:13px;padding:8px}.preview-system-icon{width:28px;height:28px;border-radius:10px;background:#e4eee9;display:grid;place-items:center;flex:0 0 auto}
.primary-action.confirmed-state:disabled{opacity:.82;box-shadow:none;background:#476b61}.primary-action:disabled{opacity:.6}
