:root{--bg: #1a1209;--bg-elevated: #2a1f14;--bg-input: #3d2e1f;--text: #faf6f0;--text-muted: #a89078;--accent: #39d353;--accent-dim: #22c55e;--accent-secondary: #f59e0b;--accent-secondary-dim: #d97706;--accent-on: #1a1209;--accent-glow: rgba(57, 211, 83, .35);--danger: #ef4444;--success: var(--accent-dim);--safe-top: env(safe-area-inset-top, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px);--nav-height: 64px;--header-height: 56px}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;-webkit-font-smoothing:antialiased;overscroll-behavior:none}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer;border:none;background:none;min-height:44px;min-width:44px}a{color:var(--accent)}.app-shell{display:flex;flex-direction:column;min-height:100%;padding-top:var(--safe-top);padding-bottom:calc(var(--nav-height) + var(--safe-bottom))}.app-shell.no-nav{padding-bottom:var(--safe-bottom)}.page-header{height:var(--header-height);display:flex;align-items:center;padding:0 16px;gap:12px;border-bottom:1px solid var(--bg-input);background:var(--bg-elevated);position:sticky;top:var(--safe-top);z-index:10}.page-header h1{font-size:1.125rem;font-weight:600;flex:1}.page-content{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch}.bottom-nav{position:fixed;bottom:0;left:0;right:0;height:calc(var(--nav-height) + var(--safe-bottom));padding-bottom:var(--safe-bottom);display:flex;background:var(--bg-elevated);border-top:1px solid var(--bg-input);z-index:20}.bottom-nav a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-decoration:none;color:var(--text-muted);font-size:.75rem}.bottom-nav-icon{width:22px;height:22px;flex-shrink:0}.bottom-nav a.active{color:var(--accent);position:relative}.bottom-nav a.active .bottom-nav-icon{color:var(--accent);filter:drop-shadow(0 0 6px var(--accent-glow))}.bottom-nav a.active:after{content:"";position:absolute;bottom:6px;left:25%;right:25%;height:3px;background:var(--accent-secondary);border-radius:2px}.list-item{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--bg-input);text-decoration:none;color:inherit;min-height:44px}.list-item:active{background:var(--bg-elevated)}.avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,var(--accent-dim) 0%,var(--accent-secondary-dim) 100%);display:flex;align-items:center;justify-content:center;font-weight:600;flex-shrink:0;color:var(--accent-on)}.chat-view{display:flex;flex-direction:column;height:calc(100dvh - var(--safe-top) - var(--safe-bottom));padding-top:var(--safe-top)}.messages-list{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:8px}.message-bubble{max-width:80%;padding:10px 14px;border-radius:18px;word-break:break-word;line-height:1.4}.message-bubble.sent{align-self:flex-end;background:var(--accent-dim);color:var(--accent-on);border-bottom-right-radius:4px}.message-bubble.received{align-self:flex-start;background:var(--bg-elevated);border-bottom-left-radius:4px}.message-bubble.expiring{border:1px dashed var(--danger)}.composer{display:flex;gap:8px;padding:12px 16px calc(12px + var(--safe-bottom));background:var(--bg-elevated);border-top:1px solid var(--bg-input)}.composer input{flex:1;background:var(--bg-input);border:none;border-radius:24px;padding:10px 16px;min-height:44px}.composer button.send{background:var(--accent);color:var(--accent-on);border-radius:50%;width:44px;height:44px;font-weight:700}.btn-primary{background:var(--accent);color:var(--accent-on);border-radius:12px;padding:12px 20px;font-weight:600;width:100%}.btn-secondary{background:var(--bg-input);border-radius:12px;padding:12px 20px;width:100%}.install-banner{background:var(--accent-secondary);color:var(--accent-on);padding:12px 16px;display:flex;align-items:center;gap:12px;font-size:.875rem}.install-banner button{background:var(--bg);color:var(--text);border-radius:8px;padding:8px 12px;font-size:.8125rem;min-height:36px}.offline-badge{background:var(--danger);color:#fff;text-align:center;padding:4px;font-size:.75rem}.settings-section{padding:16px}.settings-section h2{font-size:.875rem;color:var(--text-muted);margin-bottom:12px;text-transform:uppercase;letter-spacing:.05em}.form-field{margin-bottom:16px}.form-field label{display:block;font-size:.875rem;color:var(--text-muted);margin-bottom:6px}.form-field input{width:100%;background:var(--bg-input);border:none;border-radius:12px;padding:12px 16px;min-height:44px}.empty-state{text-align:center;padding:48px 24px;color:var(--text-muted)}.toggle-row{display:flex;align-items:center;justify-content:space-between;padding:12px 0;min-height:44px}.back-link{color:var(--text);text-decoration:none;font-size:1.25rem;line-height:1;min-width:44px}.nav-card-list{display:flex;flex-direction:column;gap:10px}.nav-card{display:flex;align-items:center;gap:14px;padding:14px 16px;background:var(--bg-elevated);border-radius:14px;text-decoration:none;color:inherit;border:1px solid var(--bg-input)}.nav-card:active{background:var(--bg-input)}.nav-card-icon{font-size:1.5rem;width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:var(--bg-input);border-radius:12px;flex-shrink:0}.nav-card-body{flex:1;display:flex;flex-direction:column;gap:2px}.nav-card-body strong{font-size:.9375rem}.nav-card-body span{font-size:.8125rem;color:var(--text-muted)}.nav-card-chevron{color:var(--text-muted);font-size:1.25rem}.commerce-page{padding:16px 16px 32px}.commerce-section{margin-top:24px}.commerce-section h2{font-size:.875rem;color:var(--text-muted);margin-bottom:12px;text-transform:uppercase;letter-spacing:.05em}.commerce-secondary-btn{margin-top:10px}.commerce-footnote{margin-top:16px;font-size:.75rem;color:var(--text-muted);line-height:1.5}.commerce-footnote code{font-size:.6875rem;background:var(--bg-elevated);padding:2px 6px;border-radius:4px}.status-card{background:linear-gradient(145deg,var(--bg-input) 0%,var(--bg-elevated) 55%,var(--bg) 100%);border:1px solid var(--bg-input);border-radius:18px;padding:20px}.status-card--active{box-shadow:0 8px 32px #39d35326;border-color:#39d35359}.status-pill{display:inline-block;font-size:.6875rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;background:#f59e0b33;color:var(--accent-secondary);padding:4px 10px;border-radius:999px;margin-bottom:12px}.status-card h2{font-size:1.25rem;margin-bottom:8px}.status-price{font-size:2.25rem;font-weight:700;line-height:1;margin-bottom:8px}.status-price span{font-size:1rem;font-weight:500;color:var(--text-muted)}.status-note{font-size:.875rem;color:var(--text-muted)}.benefit-list{list-style:none;display:flex;flex-direction:column;gap:10px}.benefit-list li{display:flex;align-items:flex-start;gap:10px;font-size:.9375rem;padding:10px 12px;background:var(--bg-elevated);border-radius:12px}.benefit-icon{color:var(--success);font-weight:700;flex-shrink:0}.step-list{display:flex;flex-direction:column;gap:12px}.step-item{display:flex;gap:14px;padding:14px;background:var(--bg-elevated);border-radius:14px;border:1px solid var(--bg-input)}.step-number{width:28px;height:28px;border-radius:50%;background:var(--accent-secondary);color:var(--accent-on);font-size:.8125rem;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}.step-item strong{display:block;font-size:.9375rem;margin-bottom:4px}.step-item p{font-size:.8125rem;color:var(--text-muted);line-height:1.4}.shop-hero{background:linear-gradient(135deg,var(--bg-elevated) 0%,#352818 100%);border:1px solid rgba(245,158,11,.25);border-radius:18px;padding:20px;margin-bottom:20px}.shop-hero h2{font-size:1.25rem;margin:8px 0}.shop-hero p{font-size:.875rem;color:var(--text-muted);line-height:1.5}.product-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.product-card{background:var(--bg-elevated);border:1px solid var(--bg-input);border-radius:16px;overflow:hidden;display:flex;flex-direction:column}.product-image{aspect-ratio:1;display:flex;align-items:center;justify-content:center;font-size:3rem;background:linear-gradient(160deg,var(--bg-input) 0%,var(--bg) 100%)}.product-body{padding:12px;display:flex;flex-direction:column;gap:6px;flex:1}.product-meta{display:flex;justify-content:space-between;align-items:center;gap:8px}.product-badge{font-size:.625rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--accent-secondary);background:#f59e0b2e;padding:3px 8px;border-radius:999px}.product-price{font-weight:700;font-size:.9375rem}.product-body h3{font-size:.875rem;font-weight:600}.product-body p{font-size:.75rem;color:var(--text-muted);flex:1}.product-btn{font-size:.8125rem;padding:10px;min-height:40px;margin-top:4px}.shop-info{margin-top:28px}.info-card{background:var(--bg-elevated);border:1px solid var(--bg-input);border-radius:14px;padding:4px 16px;margin-bottom:16px}.info-row{display:flex;justify-content:space-between;padding:12px 0;font-size:.875rem;border-bottom:1px solid var(--bg-input)}.info-row:last-child{border-bottom:none}.info-row--total{font-weight:700;font-size:1rem}button:disabled{opacity:.55;cursor:not-allowed}
