@import url(https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Gochi+Hand&display=swap);#root,body,html{margin:0;min-height:100vh;padding:0}#root:has(.dashboard-page),body:has(.dashboard-page),html:has(.dashboard-page){background-color:#f5f0e8!important}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.rbf-header{box-shadow:0 2px 8px #00000026;position:-webkit-sticky;position:sticky;top:0;z-index:100}.header-top-bar{background-color:#2d1516;border-bottom:1px solid #ffffff1a}.header-top-container{align-items:center;display:flex;height:56px;justify-content:space-between;margin:0 auto;max-width:1400px;padding:0 2rem}.header-brand{align-items:center;display:flex;gap:.875rem}.header-logo{height:40px;width:auto}.header-brand-text{display:flex;flex-direction:column;line-height:1.2}.header-title{color:#faf9f6;font-size:1.1rem;font-weight:600}.header-subtitle{color:#e73c3e;font-size:.7rem;font-weight:500;letter-spacing:1.5px;text-transform:uppercase}.header-user{align-items:center;display:flex;gap:1rem}.user-welcome{color:#faf9f6cc;font-size:.85rem}.user-welcome strong{color:#faf9f6;font-weight:600}.btn-portal-switch{background-color:initial;border:1px solid #4caf50;border-radius:4px;color:#4caf50;cursor:pointer;font-size:.8rem;font-weight:500;padding:.4rem .875rem;transition:all .2s ease}.btn-portal-switch:hover{background-color:#4caf5026;border-color:#66bb6a;color:#66bb6a}.btn-customer-portal{border-color:#9c27b0;color:#ce93d8}.btn-customer-portal:hover{background-color:#9c27b026;border-color:#ba68c8;color:#e1bee7}.btn-wellness{border-color:#2a9d8f;color:#2a9d8f}.btn-wellness:hover{background-color:#2a9d8f26;border-color:#52b788;color:#52b788}.btn-logout{background-color:initial;border:1px solid #faf9f680;border-radius:4px;color:#faf9f6e6;cursor:pointer;font-size:.8rem;font-weight:500;padding:.4rem .875rem;transition:all .2s ease}.btn-logout:hover{background-color:#faf9f61a;border-color:#faf9f6;color:#faf9f6}.header-nav-bar{background-color:#3f2021}.header-nav-container{margin:0 auto;max-width:1400px;padding:0 2rem}.header-nav{align-items:center;display:flex;gap:.25rem;height:46px}.nav-link{border-radius:4px;color:#faf9f6d9;font-size:.875rem;font-weight:500;padding:.5rem 1rem;position:relative;text-decoration:none;transition:all .2s ease}.nav-link:hover{background-color:#faf9f614;color:#faf9f6}.nav-link.active{background-color:#faf9f61f;color:#faf9f6}.nav-link.active:after{background-color:#e73c3e;border-radius:2px 2px 0 0;bottom:0;content:"";height:2px;left:.5rem;position:absolute;right:.5rem}.nav-link-highlight{background-color:#e73c3e!important;color:#fff!important;font-weight:600}.nav-link-highlight:hover{background-color:#d02c2e!important;box-shadow:0 2px 4px #e73c3e4d;transform:translateY(-1px)}.nav-link-pending{background-color:#ff9800!important;color:#fff!important;font-weight:600}.nav-link-pending:hover{background-color:#f57c00!important;box-shadow:0 2px 4px #ff98004d;transform:translateY(-1px)}.nav-link-tax-docs{background-color:#2196f3!important;color:#fff!important;font-weight:600}.nav-link-tax-docs:hover{background-color:#1976d2!important;box-shadow:0 2px 4px #2196f34d;transform:translateY(-1px)}.nav-badge-tax{background-color:#0003}.nav-dropdown{position:relative}.nav-dropdown-trigger{background:none;border:none;cursor:pointer;font-family:inherit}.nav-dropdown-menu{background-color:#2d1516;border-radius:4px;box-shadow:0 4px 12px #0000004d;left:0;min-width:160px;padding:.5rem 0;position:absolute;top:100%;z-index:200}.nav-dropdown-item{color:#faf9f6d9;display:block;font-size:.875rem;padding:.625rem 1rem;text-decoration:none;transition:all .2s ease}.nav-dropdown-item:hover{background-color:#faf9f61a;color:#faf9f6}.nav-dropdown-item.active{background-color:#faf9f626;color:#faf9f6}.nav-dropdown-divider{background-color:#faf9f626;height:1px;margin:.5rem 0}.nav-badge-dropdown{margin-left:6px}.nav-dropdown-pending{background-color:#ff980026}.nav-dropdown-pending:hover{background-color:#ff980040}.nav-dropdown-tax{background-color:#2196f326}.nav-dropdown-tax:hover{background-color:#2196f340}.nav-badge{align-items:center;background-color:#e73c3e;border-radius:9px;color:#fff;display:inline-flex;font-size:.7rem;font-weight:700;height:18px;justify-content:center;margin-left:6px;min-width:18px;padding:0 5px;position:relative;top:-1px}.hamburger-btn{background:#0000;border:none;cursor:pointer;display:none;flex-direction:column;height:20px;justify-content:space-between;padding:0;width:28px;z-index:110}.hamburger-line{background-color:#faf9f6;border-radius:2px;display:block;height:3px;width:100%}.mobile-menu-close,.mobile-menu-overlay{display:none}@media (max-width:1200px){.header-nav{gap:.125rem}.nav-link{font-size:.825rem;padding:.5rem .75rem}}@media (max-width:1024px){.header-title{font-size:1rem}.header-subtitle{display:none}.nav-link{font-size:.8rem;padding:.4rem .6rem}}@media (max-width:768px){.header-nav-container,.header-top-container{padding:0 1rem}.header-top-container{height:56px}.header-logo{height:32px}.header-title{font-size:.9rem}.user-welcome{display:none}.hamburger-btn{display:flex;margin-left:.75rem}.header-nav-bar{background-color:#3f2021;height:calc(100vh - 56px);left:0;overflow-x:hidden;overflow-y:auto;position:fixed;top:56px;transform:translateX(-100%);transition:transform .3s ease;width:100vw;z-index:100}.header-nav-bar.mobile-open{transform:translateX(0)}.header-nav-container{max-width:100%;padding:1rem 1.5rem;width:100%}.header-nav{flex-direction:column;gap:.25rem;height:auto;width:100%}.nav-link{align-items:center;border-radius:8px;box-sizing:border-box;display:flex;font-size:1rem;min-height:48px;padding:1rem 1.25rem;white-space:normal;width:100%}.nav-link:hover{background-color:#faf9f61f}.nav-link.active{background-color:#faf9f626}.nav-link.active:after{display:none}.nav-link-highlight{margin-bottom:.5rem;margin-top:.5rem}.mobile-menu-overlay{background-color:#00000080;bottom:0;display:block;left:0;position:fixed;right:0;top:56px;z-index:99}.mobile-menu-close{align-items:center;background:#ffffff26;border:none;border-radius:8px;color:#faf9f6;cursor:pointer;display:flex;font-size:1.5rem;height:44px;justify-content:center;padding:0;position:absolute;right:1rem;top:1rem;width:44px;z-index:110}.mobile-menu-close:hover{background:#ffffff40}.btn-logout,.btn-portal-switch{font-size:.75rem;min-height:44px;padding:.4rem .75rem}.nav-dropdown{width:100%}.nav-dropdown-trigger{align-items:center;border-radius:8px;display:flex;font-size:1rem;justify-content:space-between;min-height:48px;padding:1rem 1.25rem;text-align:left;width:100%}.nav-dropdown-menu{background-color:#0003;border-radius:0 0 8px 8px;box-shadow:none;margin-top:0;padding:.5rem 0;position:static}.nav-dropdown-item{align-items:center;display:flex;font-size:.95rem;min-height:44px;padding:.875rem 1.25rem .875rem 2.5rem}}.mobile-portal-section{display:none}@media (max-width:768px){.mobile-portal-section{border-top:1px solid #faf9f626;display:flex;flex-direction:column;margin-top:1.5rem;padding-top:1rem}.mobile-portal-divider{color:#faf9f680;font-size:.75rem;font-weight:600;letter-spacing:1px;padding:.5rem 1.25rem .75rem;text-transform:uppercase}.mobile-portal-link{border-left:3px solid #0000}.mobile-portal-link.portal-customer{border-left-color:#ce93d8;color:#ce93d8}.mobile-portal-link.portal-customer:hover{background-color:#9c27b026;color:#e1bee7}.mobile-portal-link.portal-mill{border-left-color:#4caf50;color:#81c784}.mobile-portal-link.portal-mill:hover{background-color:#4caf5026;color:#a5d6a7}.mobile-portal-link.portal-store{border-left-color:#2196f3;color:#64b5f6}.mobile-portal-link.portal-store:hover{background-color:#2196f326;color:#90caf9}.mobile-portal-link.portal-wellness{border-left-color:#2a9d8f;color:#52b788}.mobile-portal-link.portal-wellness:hover{background-color:#2a9d8f26;color:#76e4b8}.mobile-logout-btn{background-color:#f4433626;border:1px solid #f4433666;color:#ef9a9a;cursor:pointer;font-family:inherit;justify-content:center;margin-top:1rem;text-align:center}.mobile-logout-btn:hover{background-color:#f4433640;color:#ffcdd2}}@media (max-width:480px){.btn-portal-switch,.header-brand-text{display:none}.btn-logout{font-size:.7rem;padding:.35rem .5rem}}.alert-message{background:#fff;border-left:4px solid #6b7280;border-radius:8px;box-shadow:0 1px 3px #0000001a;margin-bottom:8px;padding:12px;transition:all .2s ease}.alert-message:hover{box-shadow:0 2px 6px #00000026}.alert-message.unread{background:#fefce8}.alert-message.completed{opacity:.8}.alert-message.order-modification{border-left-color:#f59e0b}.alert-message.low-inventory{border-left-color:#ef4444}.alert-message.new-order{border-left-color:#3b82f6}.alert-message.urgent-order{border-left-color:#dc2626}.alert-message.production-issue{border-left-color:#8b5cf6}.alert-header{gap:8px}.alert-icon{flex-shrink:0;height:24px;width:24px}.alert-icon svg{height:100%;width:100%}.alert-icon.order-modification{color:#f59e0b}.alert-icon.low-inventory{color:#ef4444}.alert-icon.new-order{color:#3b82f6}.alert-icon.urgent-order{color:#dc2626}.alert-icon.production-issue{color:#8b5cf6}.alert-meta{align-items:center;display:flex;flex:1 1;gap:8px}.alert-type-badge{background:#f3f4f6;border-radius:4px;color:#374151;font-size:11px;font-weight:600;letter-spacing:.5px;padding:2px 6px;text-transform:uppercase}.alert-time{color:#9ca3af;font-size:12px;margin-left:auto}.alert-content{margin-bottom:8px}.alert-title{color:#111827;font-size:14px;font-weight:600;margin:0 0 4px}.alert-message-text{color:#4b5563;font-size:13px;line-height:1.4;margin:0;max-height:100px;overflow-y:auto;white-space:pre-line}.alert-result{align-items:center;border-radius:6px;display:flex;font-size:13px;font-weight:500;gap:6px;padding:8px}.alert-result svg{height:16px;width:16px}.alert-result.approved{background:#d1fae5;color:#065f46}.alert-result.rejected{background:#fee2e2;color:#991b1b}.alert-result.acknowledged{background:#dbeafe;color:#1e40af}.alert-actions{display:flex;flex-wrap:wrap;gap:8px}.alert-btn{border:none;border-radius:6px;cursor:pointer;font-size:13px;font-weight:500;padding:6px 12px;transition:all .15s ease}.alert-btn:disabled{cursor:not-allowed;opacity:.6}.alert-btn.view{background:#f3f4f6;color:#374151}.alert-btn.view:hover:not(:disabled){background:#e5e7eb}.alert-btn.acknowledge,.alert-btn.approve{background:#10b981;color:#fff}.alert-btn.acknowledge:hover:not(:disabled),.alert-btn.approve:hover:not(:disabled){background:#059669}.alert-btn.reject{background:#ef4444;color:#fff}.alert-btn.reject:hover:not(:disabled){background:#dc2626}.alerts-section{border-bottom:1px solid #e5e7eb;padding:12px}.alerts-section-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:12px}.alerts-section-title{align-items:center;color:#374151;display:flex;font-size:13px;font-weight:600;gap:6px}.alerts-badge{background:#ef4444;border-radius:10px;color:#fff;font-size:11px;font-weight:600;min-width:18px;padding:2px 6px;text-align:center}.alerts-toggle{background:none;border:none;border-radius:4px;color:#6b7280;cursor:pointer;font-size:12px;padding:4px 8px}.alerts-toggle:hover{background:#f3f4f6;color:#374151}.alerts-list{max-height:400px;overflow-y:auto}.no-alerts{color:#9ca3af;font-size:13px;padding:20px;text-align:center}@media (max-width:768px){.alert-btn{font-size:14px;min-height:44px;padding:10px 16px}.alert-actions{gap:8px}.alert-btn.acknowledge,.alert-btn.approve,.alert-btn.reject,.alert-btn.view{flex:1 1;min-width:80px}.alerts-toggle{min-height:44px;padding:8px 12px}}@media (prefers-color-scheme:dark){.alert-message{background:#1f2937;box-shadow:0 1px 3px #0000004d}.alert-message.unread{background:#292524}.alert-title{color:#f9fafb}.alert-message-text{color:#d1d5db}.alert-btn.view,.alert-type-badge{background:#374151;color:#e5e7eb}.alert-btn.view:hover:not(:disabled){background:#4b5563}}.chat-bubble-button{align-items:center;background:linear-gradient(135deg,#2d5a27,#1a3d16);border:none;border-radius:50%;bottom:20px;box-shadow:0 4px 12px #2d5a2766;color:#fff;cursor:pointer;display:flex;height:56px;justify-content:center;position:fixed;right:20px;transition:transform .2s,box-shadow .2s;width:56px;z-index:1000}.chat-bubble-button:hover{box-shadow:0 6px 16px #2d5a2780;transform:scale(1.05)}.chat-bubble-badge{align-items:center;background:#ef4444;border-radius:10px;box-shadow:0 2px 4px #0003;color:#fff;display:flex;font-size:11px;font-weight:600;height:20px;justify-content:center;min-width:20px;padding:0 6px;position:absolute;right:-4px;top:-4px}.chat-bubble-badge.has-alerts{animation:pulse-alert 2s ease-in-out infinite;background:linear-gradient(135deg,#ef4444,#f59e0b)}@keyframes pulse-alert{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.chat-panel{background:#fff;border-radius:12px;bottom:90px;box-shadow:0 8px 32px #00000026;display:flex;flex-direction:column;height:500px;overflow:hidden;position:fixed;right:20px;width:360px;z-index:1001}.chat-panel-header{align-items:center;background:#2d5a27;color:#fff;display:flex;min-height:52px;padding:12px 16px}.chat-header-title{flex:1 1;font-size:16px;font-weight:600}.chat-header-user{align-items:center;display:flex;flex:1 1;gap:8px}.chat-header-name{font-size:15px;font-weight:600}.chat-header-avatar{object-fit:cover}.chat-header-avatar,.chat-header-avatar-placeholder{border-radius:50%;height:32px;margin-right:8px;width:32px}.chat-header-avatar-placeholder{align-items:center;background:#fff3;color:#fff;display:flex;font-size:14px;font-weight:600;justify-content:center}.chat-header-actions{align-items:center;display:flex;gap:8px;margin-left:auto}.status-select{background:#fff3;border:1px solid #ffffff4d;border-radius:4px;color:#fff;cursor:pointer;font-size:12px;padding:4px 8px}.status-select option{color:#333}.chat-back-button,.chat-close-button,.settings-button{align-items:center;background:#0000;border:none;color:#fff;cursor:pointer;display:flex;justify-content:center;opacity:.8;padding:4px;transition:opacity .2s}.chat-back-button:hover,.chat-close-button:hover,.settings-button:hover{opacity:1}.chat-back-button{margin-right:8px}.chat-close-button{margin-left:auto}.chat-panel-body{display:flex;flex:1 1;flex-direction:column;overflow:hidden}.status-dot{border-radius:50%;flex-shrink:0;height:10px;width:10px}.status-dot.online{background:#22c55e;box-shadow:0 0 0 2px #22c55e4d}.status-dot.away{background:#eab308;box-shadow:0 0 0 2px #eab3084d}.status-dot.busy{background:#f97316;box-shadow:0 0 0 2px #f973164d}.status-dot.offline{background:#9ca3af}.online-users-panel{height:100%;overflow-y:auto}.users-list{display:flex;flex-direction:column}.user-item{align-items:center;background:#0000;border:none;border-bottom:1px solid #eee;cursor:pointer;display:flex;gap:12px;padding:12px 16px;text-align:left;transition:background .2s;width:100%}.user-item:hover{background:#f9fafb}.user-item.has-unread{background:#f0fdf4}.user-avatar{align-items:center;background:#e5e7eb;border-radius:50%;display:flex;flex-shrink:0;height:40px;justify-content:center;position:relative;width:40px}.user-avatar .status-dot{border:2px solid #fff;bottom:0;height:12px;position:absolute;right:0;width:12px}.avatar-letter{color:#4b5563;font-size:16px;font-weight:600}.avatar-img{border-radius:50%;height:40px;object-fit:cover;width:40px}.user-info{flex:1 1;min-width:0}.user-name-row{align-items:center;display:flex;gap:6px}.user-name{color:#111827;font-size:14px;font-weight:500}.portal-badge{font-size:12px}.unread-badge{background:#ef4444;border-radius:10px;color:#fff;font-size:11px;font-weight:600;margin-left:auto;padding:2px 6px}.last-message{align-items:center;display:flex;justify-content:space-between;margin-top:2px}.message-preview{color:#6b7280;font-size:13px;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-preview.unread{color:#111827;font-weight:500}.you-prefix{color:#9ca3af}.message-time{color:#9ca3af;flex-shrink:0;font-size:11px}.user-status-text{margin-top:2px}.status-text{font-size:12px}.status-text.online{color:#22c55e}.status-text.offline{color:#9ca3af}.no-users-message{color:#6b7280;padding:40px 20px;text-align:center}.chat-window{display:flex;flex-direction:column;height:100%}.chat-window.loading{align-items:center;color:#6b7280;justify-content:center}.messages-container{display:flex;flex:1 1;flex-direction:column;gap:4px;overflow-y:auto;padding:16px}.no-messages{align-items:center;color:#9ca3af;display:flex;flex:1 1;font-size:14px;justify-content:center}.message-timestamp{color:#9ca3af;font-size:11px;margin:12px 0 8px;text-align:center}.message-row{align-items:flex-end;display:flex;gap:8px;margin-bottom:4px}.message-row.mine{justify-content:flex-end}.message-row.theirs{justify-content:flex-start}.message-avatar{object-fit:cover}.message-avatar,.message-avatar-placeholder{border-radius:50%;flex-shrink:0;height:28px;width:28px}.message-avatar-placeholder{align-items:center;background:#e5e7eb;color:#6b7280;display:flex;font-size:12px;font-weight:600;justify-content:center}.message{display:flex;flex-direction:column;max-width:80%}.message.sent{align-items:flex-end;align-self:flex-end}.message.received{align-items:flex-start;align-self:flex-start}.message-bubble{word-wrap:break-word;border-radius:16px;font-size:14px;line-height:1.4;padding:8px 12px}.message.sent .message-bubble{background:#2d5a27;border-bottom-right-radius:4px;color:#fff}.message.received .message-bubble{background:#e5e7eb;border-bottom-left-radius:4px;color:#111827}.message-status{align-items:center;color:#9ca3af;display:flex;font-size:12px;margin-top:2px}.message-status .seen{color:#22c55e}.message-input-container{align-items:flex-end;background:#f9fafb;border-top:1px solid #eee;display:flex;gap:8px;padding:12px 16px}.message-input{border:1px solid #d1d5db;border-radius:20px;flex:1 1;font-family:inherit;font-size:16px;line-height:1.4;max-height:120px;min-height:40px;overflow-y:auto;padding:10px 16px;resize:none}.message-input:focus{border-color:#2d5a27;outline:none}.send-button{align-items:center;background:#2d5a27;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;flex-shrink:0;height:40px;justify-content:center;transition:background .2s;width:40px}.send-button:hover:not(:disabled){background:#1a3d16}.send-button:disabled{background:#9ca3af;cursor:not-allowed}.loading-spinner,.sending-spinner{animation:spin .8s linear infinite;border:2px solid #e5e7eb;border-radius:50%;border-top-color:#2d5a27;height:20px;width:20px}.sending-spinner{border-color:#fff #ffffff4d #ffffff4d;height:16px;width:16px}.modal-overlay{z-index:1002}.notification-settings-modal{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;max-width:90vw;width:400px}.modal-close{padding:4px}.modal-close:hover{color:#111827}.modal-body.loading{align-items:center;display:flex;justify-content:center;min-height:150px}.setting-group{margin-bottom:20px}.setting-group:last-child{margin-bottom:0}.setting-label{color:#111827;font-size:14px;font-weight:500;margin-bottom:8px}.setting-description{color:#6b7280;font-size:12px;margin:0}.sound-options{display:flex;gap:8px}.sound-option{align-items:center;background:#fff;border:2px solid #e5e7eb;border-radius:8px;cursor:pointer;display:flex;flex:1 1;flex-direction:column;gap:4px;padding:12px;transition:border-color .2s,background .2s}.sound-option:hover{border-color:#2d5a27}.sound-option.selected{background:#f0fdf4;border-color:#2d5a27}.sound-icon{font-size:20px}.toggle-setting{align-items:center;display:flex;gap:16px;justify-content:space-between}.toggle-info{flex:1 1}.toggle-switch{background:#e5e7eb;border:none;cursor:pointer}.toggle-switch.on{background:#2d5a27}.toggle-slider{background:#fff;border-radius:50%;box-shadow:0 2px 4px #0003;height:22px;left:2px;position:absolute;top:2px;transition:transform .2s;width:22px}.toggle-switch.on .toggle-slider{transform:translateX(22px)}.cancel-button{background:#fff;border:1px solid #d1d5db;border-radius:6px;color:#374151;cursor:pointer;font-weight:500;padding:10px 20px;transition:background .2s}.cancel-button:hover{background:#f3f4f6}.save-button{background:#2d5a27;border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:500;padding:10px 20px;transition:background .2s}.save-button:hover:not(:disabled){background:#1a3d16}.save-button:disabled{background:#9ca3af;cursor:not-allowed}.user-item-ai{background:linear-gradient(135deg,#eff6ff,#dbeafe);border-left:3px solid #3b82f6}.user-item-ai:hover{background:linear-gradient(135deg,#dbeafe,#bfdbfe)}.user-item-ai .user-avatar{background:linear-gradient(135deg,#3b82f6,#2563eb)}.user-item-ai .avatar-letter{color:#fff;font-size:18px}.ai-badge{background:#3b82f6;border-radius:10px;color:#fff;font-size:10px;font-weight:600;letter-spacing:.5px;padding:2px 6px;text-transform:uppercase}.status-text.ai{color:#3b82f6;font-style:italic}.message-bubble.ai-bubble,.message.ai-message .message-bubble{background:linear-gradient(135deg,#eff6ff,#dbeafe);border-left:3px solid #3b82f6;color:#1e40af}.ai-message-icon{margin-right:4px}.chat-link{border-radius:4px;color:#2563eb;cursor:pointer;font-weight:500;margin:0 1px;padding:1px 4px;text-decoration:none;transition:all .15s ease}.chat-link:hover{background:#2563eb14;color:#1d4ed8;text-decoration:underline}.message.sent .chat-link{color:#bbf7d0}.message.sent .chat-link:hover{background:#ffffff26;color:#fff}.message-bubble.ai-bubble .chat-link,.message.ai-message .chat-link{background:#1e40af14;border-radius:4px;color:#1e40af;display:inline-block;margin:2px 0;padding:2px 8px}.message-bubble.ai-bubble .chat-link:hover,.message.ai-message .chat-link:hover{background:#1e40af26;color:#1e3a8a;text-decoration:none}.chat-link[href^="/"]:after{content:""}.message-bubble.ai-bubble .chat-link+.chat-link{margin-left:4px}@media (max-width:480px){.chat-panel{border-radius:0;bottom:0;height:100%;left:0;position:fixed;right:0;top:0;width:100%}.chat-bubble-button{bottom:16px;height:52px;right:16px;width:52px}.notification-settings-modal{margin:16px;width:calc(100% - 32px)}.message-input{font-size:16px;min-height:44px}.message-input-container{padding:8px 12px}}.portal-header{border-bottom:3px solid #e73c3e;padding:1rem 0;position:-webkit-sticky;position:sticky;top:0;z-index:100}.portal-header-container{align-items:center;display:flex;justify-content:space-between;margin:0 auto;max-width:1400px;padding:0 2rem}.portal-header-left{align-items:center;display:flex;gap:3rem}.portal-header-branding{align-items:center;display:flex;gap:1rem}.portal-header-logo{height:50px;object-fit:contain;width:auto}.portal-header-brand-text{line-height:1.3}.portal-header-company{color:#fff;font-size:1.1rem;font-weight:700;margin-bottom:.1rem}.portal-header-portal-label{color:#c3ad8b;font-size:.8rem;font-weight:500}.portal-header-location-switcher{border-left:1px solid #fff3;margin-left:1.5rem;padding-left:1.5rem}.portal-header-location-switcher button{background:#0000;color:#faf9f6}.portal-header-location-switcher button:hover{background:#ffffff1a}.portal-header-location-switcher .portal-location-dropdown{background:#fff;color:#333}.portal-header-nav{display:flex;gap:.25rem}.portal-nav-link{font-size:.95rem;font-weight:500;opacity:.9;transition:all .2s}.portal-nav-link.active,.portal-nav-link:hover{background-color:#e73c3e33;opacity:1}.portal-nav-link.active{border-bottom:2px solid #e73c3e;color:#fff}.portal-nav-dropdown{position:relative}.portal-nav-dropdown-trigger{align-items:center;background:none;border:none;cursor:pointer;display:flex;gap:.35rem}.portal-dropdown-arrow{font-size:.7rem;transition:transform .2s}.portal-dropdown-arrow.open{transform:rotate(180deg)}.portal-dropdown-menu{background-color:#3f2021;border:1px solid #c3ad8b4d;border-radius:4px;box-shadow:0 4px 12px #0000004d;left:0;margin-top:.5rem;min-width:180px;padding:.5rem 0;position:absolute;top:100%;z-index:200}.portal-dropdown-item{color:#faf9f6;display:block;font-size:.9rem;padding:.75rem 1rem;text-decoration:none;transition:all .2s}.portal-dropdown-item:hover{background-color:#e73c3e33}.portal-dropdown-item.active{background-color:#e73c3e4d;border-left:3px solid #e73c3e}.portal-header-right{align-items:center;display:flex;gap:1.5rem}.portal-header-user-info{line-height:1.4;text-align:right}.portal-header-welcome{color:#c3ad8b;font-size:.75rem;margin-bottom:.1rem}.portal-header-username{color:#fff;font-size:1rem;font-weight:600}.portal-header-customer{color:#508590;font-size:.85rem;font-weight:500}.portal-btn-logout{background-color:#e73c3e;border:none;border-radius:4px;box-shadow:0 2px 4px #e73c3e4d;color:#fff;cursor:pointer;font-size:.9rem;font-weight:500;min-height:44px;padding:.6rem 1.25rem;transition:all .2s ease}.portal-btn-logout:hover{background-color:#d32f2f}.portal-hamburger-btn{background:#0000;border:none;cursor:pointer;display:none;flex-direction:column;height:20px;justify-content:space-between;padding:0;width:28px;z-index:110}.portal-hamburger-line{background-color:#faf9f6;border-radius:2px;display:block;height:3px;transition:all .3s ease;width:100%}.portal-hamburger-btn.open .portal-hamburger-line:first-child{transform:translateY(8.5px) rotate(45deg)}.portal-hamburger-btn.open .portal-hamburger-line:nth-child(2){opacity:0}.portal-hamburger-btn.open .portal-hamburger-line:nth-child(3){transform:translateY(-8.5px) rotate(-45deg)}.portal-mobile-overlay{display:none}@media (max-width:1400px){.portal-nav-link{font-size:.9rem;padding:.5rem .75rem}}@media (max-width:1200px){.portal-header-left{gap:1.5rem}.portal-nav-link{font-size:.8rem;padding:.4rem .5rem}.portal-header-company{font-size:.95rem}.portal-header-user-info{display:none}.portal-btn-logout,.portal-btn-switch{font-size:.8rem;padding:.4rem .75rem}}@media (max-width:1000px){.portal-header-left{gap:1rem}.portal-nav-link{font-size:.8rem;padding:.375rem .5rem}.portal-header-company{font-size:.9rem}.portal-header-user-info{display:none}.portal-btn-logout,.portal-btn-switch{font-size:.8rem;padding:.4rem .75rem}}@media (max-width:960px){.portal-header-container{padding:0 1.5rem}.portal-header-logo{height:45px}.portal-header-company{font-size:.95rem}.portal-header-portal-label{font-size:.75rem}.portal-hamburger-btn{display:flex;margin-left:1rem}.portal-header-nav{background-color:#3f2021;bottom:0;flex-direction:column;gap:.5rem;left:0;overflow-y:auto;padding:80px 1.5rem 1.5rem;position:fixed;right:0;top:0;transform:translateX(-100%);transition:transform .3s ease;z-index:100}.portal-header-nav.mobile-open{transform:translateX(0)}.portal-nav-link{align-items:center;border-radius:8px;display:flex;font-size:1rem;min-height:48px;padding:.875rem 1.25rem}.portal-nav-link.active{background-color:#e73c3e33;border-bottom:none}.portal-nav-dropdown{width:100%}.portal-nav-dropdown-trigger{justify-content:space-between;width:100%}.portal-dropdown-menu{background-color:#0003;border:none;border-radius:0 0 8px 8px;box-shadow:none;margin-top:0;padding:0;position:static}.portal-dropdown-item{font-size:.95rem;padding:.875rem 2rem}.portal-header-user-info{display:block}.portal-btn-logout{font-size:.85rem;padding:.5rem 1rem}.portal-mobile-overlay{background-color:#00000080;bottom:0;display:block;left:0;position:fixed;right:0;top:0;z-index:99}}@media (max-width:768px){.portal-header-container{flex-wrap:wrap;padding:0 1rem}.portal-header-logo{height:40px}.portal-header-company{font-size:.9rem}.portal-header-portal-label{font-size:.7rem}.portal-hamburger-btn{display:flex;margin-left:1rem}.portal-header-nav{background-color:#3f2021;bottom:0;flex-direction:column;gap:.5rem;left:0;overflow-y:auto;padding:80px 1rem 1rem;position:fixed;right:0;top:0;transform:translateX(-100%);transition:transform .3s ease;z-index:100}.portal-header-nav.mobile-open{transform:translateX(0)}.portal-nav-link{align-items:center;border-radius:8px;display:flex;font-size:1rem;min-height:48px;padding:1rem 1.25rem}.portal-nav-link.active{background-color:#e73c3e33;border-bottom:none}.portal-nav-dropdown{width:100%}.portal-nav-dropdown-trigger{justify-content:space-between;width:100%}.portal-dropdown-menu{background-color:#0003;border:none;border-radius:0 0 8px 8px;box-shadow:none;margin-top:0;padding:0;position:static}.portal-dropdown-item{font-size:.95rem;padding:1rem 2rem}.portal-header-user-info{display:none}.portal-btn-logout{font-size:.8rem;padding:.5rem .75rem}.portal-mobile-overlay{background-color:#00000080;bottom:0;display:block;left:0;position:fixed;right:0;top:0;z-index:99}}@media (max-width:480px){.portal-header-brand-text{display:none}.portal-header-right{gap:.75rem}}.portal-header-actions{align-items:center;display:flex;gap:.5rem}.portal-btn-switch{align-items:center;background:#0000;border:1px solid #ffffff4d;border-radius:6px;color:#faf9f6;cursor:pointer;display:flex;font-size:.85rem;gap:.35rem;padding:.5rem .75rem;transition:all .2s ease}.portal-btn-switch:hover{background:#ffffff1a;border-color:#ffffff80}.portal-btn-switch .switch-icon{font-size:1rem}@media (max-width:768px){.portal-btn-switch .switch-text{display:none}.portal-btn-switch{padding:.5rem}}.account-switcher-overlay{align-items:center;background:#0009;bottom:0;display:flex;justify-content:center;left:0;padding:1rem;position:fixed;right:0;top:0;z-index:1000}.account-switcher-modal{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-width:420px;padding:2rem;position:relative;width:100%}.account-switcher-close{background:none;border:none;color:#666;cursor:pointer;font-size:1.5rem;line-height:1;padding:.25rem .5rem;position:absolute;right:1rem;top:1rem}.account-switcher-close:hover{color:#333}.account-switcher-title{color:#333;font-size:1.4rem;font-weight:700;margin:0 0 .5rem}.account-switcher-subtitle{color:#666;font-size:.95rem;margin:0 0 1.25rem}.account-switcher-list{display:flex;flex-direction:column;gap:.75rem}.account-switcher-option{align-items:center;background:#fff;border:2px solid #e0e0e0;border-radius:12px;cursor:pointer;display:flex;gap:1rem;padding:1rem;text-align:left;transition:all .2s;width:100%}.account-switcher-option:hover:not(:disabled):not(.current){background:#fdf5f5;border-color:#722f37}.account-switcher-option.current{background:#f1f8f2;border-color:#4caf50;cursor:default}.account-switcher-option:disabled{cursor:not-allowed;opacity:.7}.account-switcher-icon{align-items:center;background:#f5f5f5;border-radius:12px;display:flex;font-size:2rem;height:48px;justify-content:center;width:48px}.account-switcher-option.current .account-switcher-icon{background:#e8f5e9}.account-switcher-info{flex:1 1}.account-switcher-label{align-items:center;color:#333;display:flex;font-size:1rem;font-weight:600;gap:.5rem;margin-bottom:.25rem}.current-badge{background:#4caf50;border-radius:10px;color:#fff;font-size:.7rem;font-weight:600;padding:.15rem .5rem;text-transform:uppercase}.account-switcher-desc{color:#666;font-size:.85rem}.account-switcher-arrow{color:#999;font-size:1.25rem}.account-switcher-loading{color:#666;margin-top:1rem;text-align:center}.account-switcher-error{background:#ffebee;border-radius:8px;color:#c62828;font-size:.875rem;margin-top:1rem;padding:.75rem 1rem}.mill-header{background-color:#1a4d1a;border-bottom:3px solid #4caf50;box-shadow:0 2px 8px #0003;color:#faf9f6;padding:1rem 0;position:-webkit-sticky;position:sticky;top:0;z-index:100}.mill-header-container{align-items:center;display:flex;justify-content:space-between;margin:0 auto;max-width:1400px;padding:0 2rem}.mill-header-left{align-items:center;display:flex;gap:3rem}.mill-header-branding{align-items:center;display:flex;gap:1rem}.mill-header-logo{height:50px;object-fit:contain;width:auto}.mill-header-brand-text{line-height:1.3}.mill-header-company{color:#fff;font-size:1.1rem;font-weight:700;margin-bottom:.1rem}.mill-header-portal-label{color:#81c784;font-size:.8rem;font-weight:500;letter-spacing:1px;text-transform:uppercase}.mill-header-nav{display:flex;gap:.25rem}.mill-nav-link{border-radius:4px;color:#faf9f6;font-size:.95rem;font-weight:500;opacity:.9;padding:.5rem 1rem;text-decoration:none;transition:all .2s}.mill-nav-link:hover{background-color:#4caf5033;opacity:1}.mill-nav-link.active{background-color:#4caf504d;border-bottom:2px solid #4caf50;color:#fff;opacity:1}.mill-header-right{align-items:center;display:flex;gap:1.5rem}.mill-header-user-info{line-height:1.4;text-align:right}.mill-header-welcome{color:#81c784;font-size:.75rem;letter-spacing:.5px;margin-bottom:.1rem;text-transform:uppercase}.mill-header-username{color:#fff;font-size:1rem;font-weight:600}.mill-header-role{color:#a5d6a7;font-size:.8rem;font-weight:500}.mill-btn-portal-switch{background-color:initial;border:1px solid #81c784;border-radius:4px;color:#81c784;cursor:pointer;font-size:.85rem;font-weight:500;min-height:44px;padding:.5rem 1rem;transition:all .2s ease}.mill-btn-portal-switch:hover{background-color:#81c78426;border-color:#a5d6a7;color:#a5d6a7}.mill-btn-logout{background-color:#4caf50;border:none;border-radius:4px;box-shadow:0 2px 4px #4caf504d;color:#fff;cursor:pointer;font-size:.9rem;font-weight:500;min-height:44px;padding:.6rem 1.25rem;transition:all .2s ease}.mill-btn-logout:hover{background-color:#43a047}.mill-hamburger-btn{background:#0000;border:none;cursor:pointer;display:none;flex-direction:column;height:20px;justify-content:space-between;padding:0;width:28px;z-index:110}.mill-hamburger-line{background-color:#faf9f6;border-radius:2px;display:block;height:3px;transition:all .3s ease;width:100%}.mill-hamburger-btn.open .mill-hamburger-line:first-child{transform:translateY(8.5px) rotate(45deg)}.mill-hamburger-btn.open .mill-hamburger-line:nth-child(2){opacity:0}.mill-hamburger-btn.open .mill-hamburger-line:nth-child(3){transform:translateY(-8.5px) rotate(-45deg)}.mill-mobile-overlay{display:none}@media (max-width:1024px){.mill-header-left{gap:2rem}.mill-nav-link{font-size:.9rem;padding:.4rem .75rem}.mill-header-company{font-size:1rem}}@media (max-width:768px){.mill-header-container{flex-wrap:wrap;padding:0 1rem}.mill-header-logo{height:40px}.mill-header-company{font-size:.9rem}.mill-header-portal-label{font-size:.7rem}.mill-hamburger-btn{display:flex;margin-left:1rem}.mill-header-nav{background-color:#1a4d1a;bottom:0;flex-direction:column;gap:.5rem;left:0;overflow-y:auto;padding:80px 1rem 1rem;position:fixed;right:0;top:0;transform:translateX(-100%);transition:transform .3s ease;z-index:100}.mill-header-nav.mobile-open{transform:translateX(0)}.mill-nav-link{align-items:center;border-radius:8px;display:flex;font-size:1rem;min-height:48px;padding:1rem 1.25rem}.mill-nav-link.active{background-color:#4caf504d;border-bottom:none}.mill-header-user-info{display:none}.mill-btn-portal-switch{font-size:.75rem;padding:.4rem .6rem}.mill-btn-logout{font-size:.8rem;padding:.5rem .75rem}.mill-mobile-overlay{background-color:#00000080;bottom:0;display:block;left:0;position:fixed;right:0;top:0;z-index:99}}.mill-mobile-menu{display:none}@media (max-width:768px){.mill-mobile-menu{background-color:#1a4d1a;bottom:0;display:flex;flex-direction:column;left:0;overflow-y:auto;padding:80px 1rem 1rem;position:fixed;right:0;top:0;z-index:100}.mill-header-nav{display:none}.mill-mobile-nav{display:flex;flex-direction:column;gap:.5rem}.mill-mobile-nav-link{align-items:center;border-radius:8px;color:#faf9f6;display:flex;font-size:1rem;font-weight:500;min-height:48px;padding:1rem 1.25rem;text-decoration:none;transition:all .2s}.mill-mobile-nav-link.active,.mill-mobile-nav-link:hover{background-color:#4caf504d}.mill-mobile-divider{background-color:#81c7844d;height:1px;margin:1rem 0}.mill-mobile-portal-section{display:flex;flex-direction:column;gap:.5rem}.mill-mobile-section-label{color:#81c784;font-size:.75rem;letter-spacing:1px;margin-bottom:.5rem;padding:0 1.25rem;text-transform:uppercase}.mill-mobile-portal-link{align-items:center;border-radius:8px;display:flex;font-size:.95rem;font-weight:500;min-height:44px;padding:.875rem 1.25rem;text-decoration:none;transition:all .2s}.mill-portal-admin{background-color:#9c27b026;color:#9c27b0}.mill-portal-admin:hover{background-color:#9c27b040}.mill-portal-store{background-color:#2196f326;color:#2196f3}.mill-portal-store:hover{background-color:#2196f340}.mill-portal-customer{background-color:#ff980026;color:#ff9800}.mill-portal-customer:hover{background-color:#ff980040}.mill-mobile-logout-btn{background-color:#4caf50;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1rem;font-weight:500;margin-top:auto;min-height:48px;padding:1rem 1.25rem;width:100%}.mill-mobile-logout-btn:hover{background-color:#43a047}}@media (max-width:480px){.mill-btn-logout,.mill-btn-portal-switch,.mill-header-brand-text{display:none}.mill-header-right{gap:.75rem}}.install-prompt{align-items:center;bottom:0;box-shadow:0 -2px 10px #0003;color:#fff;display:flex;justify-content:space-between;left:0;padding:12px 16px;position:fixed;right:0;z-index:9999}.install-prompt-content{align-items:center;display:flex;gap:12px}.install-prompt-icon{font-size:24px}.install-prompt-text{display:flex;flex-direction:column;gap:2px}.install-prompt-text strong{font-size:14px}.install-prompt-text span{font-size:12px;opacity:.9}.install-prompt-actions{align-items:center;display:flex;gap:8px}.install-btn{background:#fff;border:none;border-radius:20px;color:#333;cursor:pointer;font-weight:600;padding:8px 16px}.install-btn:hover{background:#f0f0f0}.dismiss-btn{background:#0000;color:#fff;font-size:18px;opacity:.8;padding:4px 8px}.dismiss-btn:hover{opacity:1}@media (min-width:768px){.install-prompt{padding:16px 24px}.install-prompt-text strong{font-size:16px}.install-prompt-text span{font-size:14px}.install-btn{padding:10px 24px}}.portal-selector-overlay{align-items:center;animation:fadeIn .2s ease;background:#000000b3;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:9999}.portal-selector-modal{animation:slideUp .3s ease;background:#fff;border-radius:20px;box-shadow:0 10px 40px #0000004d;max-width:400px;padding:32px;text-align:center;width:90%}.portal-selector-modal h2{color:#333;font-size:24px;margin:0 0 8px}.portal-selector-modal p{color:#666;font-size:16px;margin:0 0 24px}.portal-options{display:flex;flex-direction:column;gap:12px}.portal-option{align-items:center;background:#fff;border:2px solid #e0e0e0;border-radius:16px;cursor:pointer;display:flex;gap:16px;padding:20px 24px;transition:all .2s}.portal-option:hover{background:#f0faf9;border-color:#2a9d8f;box-shadow:0 4px 12px #2a9d8f26;transform:translateY(-2px)}.portal-option:active{transform:translateY(0)}.portal-icon{font-size:32px;line-height:1}.portal-name{color:#333;font-size:18px;font-weight:600}.portal-close-btn{background:#0000;border:none;color:#999;cursor:pointer;font-size:14px;margin-top:16px;padding:10px 20px;transition:color .2s}.portal-close-btn:hover{color:#666}@media (max-width:480px){.portal-selector-modal{border-radius:16px;padding:24px}.portal-selector-modal h2{font-size:20px}.portal-option{padding:16px 20px}.portal-icon{font-size:28px}.portal-name{font-size:16px}}.verify-email-container{align-items:center;background:linear-gradient(135deg,#f5f5f5,#e0e0e0);display:flex;justify-content:center;min-height:100vh;padding:20px}.verify-email-card{background:#fff;border-radius:12px;box-shadow:0 4px 20px #0000001a;max-width:450px;padding:40px;width:100%}.verify-email-header{margin-bottom:30px;text-align:center}.verify-email-logo{height:auto;margin-bottom:20px;width:120px}.verify-email-header h1{color:#333;font-size:24px;font-weight:600;margin:0 0 8px}.verify-email-subtitle{color:#8b0000;font-size:14px;margin:0}.verify-email-verified{align-items:center;background:#e8f5e9;border-radius:8px;color:#2e7d32;display:flex;font-size:14px;gap:10px;margin-bottom:24px;padding:12px 16px}.check-icon{align-items:center;background:#2e7d32;border-radius:50%;color:#fff;display:inline-flex;font-size:12px;height:20px;justify-content:center;width:20px}.verify-email-form{display:flex;flex-direction:column;gap:20px}.verify-email-field{display:flex;flex-direction:column;gap:6px}.verify-email-field label{color:#333;font-size:14px;font-weight:500}.verify-email-field input{border:1px solid #ddd;border-radius:8px;font-size:16px;padding:12px 16px;transition:border-color .2s,box-shadow .2s}.verify-email-field input:focus{border-color:#8b0000;box-shadow:0 0 0 3px #8b00001a;outline:none}.field-hint{color:#666;font-size:12px}.verify-email-button{background:#8b0000;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:16px;font-weight:500;margin-top:10px;padding:14px 24px;transition:background .2s}.verify-email-button:hover:not(:disabled){background:#6b0000}.verify-email-button:disabled{background:#ccc;cursor:not-allowed}.verify-email-error-message{background:#ffebee;border-radius:8px;color:#c62828;font-size:14px;padding:12px 16px}.verify-email-loading{padding:40px 20px;text-align:center}.spinner{border:3px solid #f0f0f0;border-top-color:#8b0000;margin:0 auto 20px}.verify-email-loading p{color:#666;font-size:16px;margin:0}.verify-email-success{padding:20px;text-align:center}.success-icon{background:#4caf50;color:#fff;display:inline-flex;font-size:30px;margin-bottom:20px}.verify-email-success h2{color:#333;margin:0 0 12px}.verify-email-success p{color:#666;line-height:1.5;margin:0}.verify-email-error{padding:20px;text-align:center}.error-icon{background:#f44336;display:inline-flex;font-size:30px;height:60px;margin-bottom:20px;width:60px}.verify-email-error h2{color:#333;margin:0 0 12px}.verify-email-error p{color:#666;line-height:1.5;margin:0 0 24px}@media (max-width:480px){.verify-email-card{padding:30px 20px}.verify-email-header h1{font-size:20px}}:root{--rbf-primary:#8b0000;--rbf-primary-dark:#6b0000;--rbf-primary-light:brown;--rbf-secondary:#f5f0e8;--rbf-accent:#4a5d23;--rbf-warning:#f59e0b;--rbf-danger:#dc2626;--rbf-text:#2d2013;--rbf-text-light:#6b5b4d;--rbf-border:#d4c4b0;--rbf-card-bg:#fff;--rbf-shadow:#2d201314;--rbf-shadow-hover:#2d201326}.dashboard-page{background-color:#f5f0e8;box-sizing:border-box;margin:0;max-width:none;min-height:calc(100vh - 120px);padding:24px 32px;width:100%}body:has(.dashboard-page),html:has(.dashboard-page){background-color:#f5f0e8!important}.App:has(.dashboard-page){background-color:#f5f0e8!important}.dashboard-loading{align-items:center;color:#6b5b4d;color:var(--rbf-text-light);display:flex;flex-direction:column;justify-content:center;min-height:400px}.loading-spinner{border:4px solid var(--rbf-border);border-top-color:var(--rbf-primary)}.dashboard-error{align-items:center;color:#dc2626;color:var(--rbf-danger);display:flex;flex-direction:column;justify-content:center;min-height:400px}.dashboard-error button{margin-top:16px}.dashboard-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:24px}.header-content h1{color:#2d2013;color:var(--rbf-text);font-size:28px;font-weight:700;margin:0}.header-subtitle{color:#6b5b4d;color:var(--rbf-text-light);font-size:14px;margin:4px 0 0}.btn-refresh{font-size:14px;padding:8px 16px}.metrics-row{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(2,1fr);margin-bottom:24px;width:100%}@media (min-width:1024px){.metrics-row{grid-template-columns:repeat(4,1fr)}}.metric-card{align-items:flex-start;background:var(--rbf-card-bg);border:1px solid #0000;border-radius:12px;box-shadow:0 2px 8px #2d201314;box-shadow:0 2px 8px var(--rbf-shadow);cursor:pointer;display:flex;gap:16px;min-width:0;padding:20px;transition:all .2s ease;width:100%}.metric-card:hover{border-color:#8b0000;border-color:var(--rbf-primary);box-shadow:0 4px 16px #2d201326;box-shadow:0 4px 16px var(--rbf-shadow-hover);transform:translateY(-2px)}.metric-icon{flex-shrink:0;height:48px;width:48px}.metric-icon svg{height:24px;width:24px}.orders-icon{background:#8b00001a;color:#8b0000;color:var(--rbf-primary)}.production-icon{background:#f59e0b1a;color:#f59e0b;color:var(--rbf-warning)}.revenue-icon{background:#4a5d231a;color:#4a5d23;color:var(--rbf-accent)}.customers-icon{background:#3b82f61a;color:#3b82f6}.metric-content{display:flex;flex:1 1;flex-direction:column;gap:4px;min-width:0}.metric-label{color:#6b5b4d;color:var(--rbf-text-light);font-size:13px;letter-spacing:.5px;text-transform:uppercase;white-space:nowrap}.metric-value{color:#2d2013;color:var(--rbf-text);font-size:32px;font-weight:700;line-height:1.1}.metric-change{font-size:13px;font-weight:500}.metric-change.positive{color:#4a5d23;color:var(--rbf-accent)}.metric-change.negative{color:#dc2626;color:var(--rbf-danger)}.metric-subtext{color:#6b5b4d;color:var(--rbf-text-light);font-size:13px}.metric-card.expandable{position:relative}.metric-card .expand-icon{color:#6b5b4d;color:var(--rbf-text-light);font-size:10px;opacity:.6;position:absolute;right:12px;top:12px}.metric-card.expanded{border-color:#8b0000;border-color:var(--rbf-primary);box-shadow:0 4px 16px #2d201326;box-shadow:0 4px 16px var(--rbf-shadow-hover)}.metric-card.attention{border-left:4px solid #f59e0b}.metric-card.attention.has-items{background:linear-gradient(135deg,#fffbeb,#fff 50%)}.metric-card.success{border-left:4px solid #22c55e}.metric-card.success.has-items{background:linear-gradient(135deg,#f0fdf4,#fff 50%)}.pending-icon{background:#f59e0b26;color:#d97706}.ready-icon{background:#22c55e26;color:#16a34a}.metric-preview{background:#fff;border-radius:12px;box-shadow:0 2px 8px #2d201314;box-shadow:0 2px 8px var(--rbf-shadow);grid-column:1/-1;margin-bottom:8px;margin-top:-12px;padding:16px}.preview-list{list-style:none;margin:0 0 12px;padding:0}.preview-list li{align-items:center;border-radius:6px;cursor:pointer;display:flex;justify-content:space-between;padding:8px 12px;transition:background-color .15s}.preview-list li:hover{background:#f3f4f6}.preview-name{color:#2d2013;color:var(--rbf-text);font-weight:500}.preview-date{color:#6b5b4d;color:var(--rbf-text-light);font-size:.875rem}.btn-preview-action{background:#8b0000;background:var(--rbf-primary);border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.875rem;font-weight:500;padding:10px 16px;transition:background-color .15s;width:100%}.btn-preview-action:hover{background:#6b0000;background:var(--rbf-primary-dark)}.alerts-row{grid-gap:20px;display:grid;gap:20px;grid-template-columns:1fr;margin-bottom:24px;width:100%}@media (min-width:768px){.alerts-row{grid-template-columns:repeat(2,1fr)}}@media (min-width:1024px){.alerts-row{grid-template-columns:repeat(4,1fr)}}.alert-card{background:#fff;background:var(--rbf-card-bg);border-left:4px solid #0000;border-radius:12px;box-shadow:0 2px 8px #2d201314;box-shadow:0 2px 8px var(--rbf-shadow);min-width:0;overflow:hidden;width:100%}.alert-card.warning{border-left-color:#f59e0b;border-left-color:var(--rbf-warning)}.alert-card.info{border-left-color:#3b82f6}.alert-card.neutral{border-left-color:#6b5b4d;border-left-color:var(--rbf-text-light)}.alert-card.success{border-left-color:#4a5d23;border-left-color:var(--rbf-accent)}.alert-header{align-items:center;border-bottom:1px solid #d4c4b0;border-bottom:1px solid var(--rbf-border);padding:16px}.alert-title{align-items:center;display:flex;gap:8px}.alert-icon{font-size:18px}.alert-title h3{font-size:14px;margin:0}.alert-count,.alert-title h3{color:#2d2013;color:var(--rbf-text);font-weight:600}.alert-count{background:#f5f0e8;background:var(--rbf-secondary);border-radius:12px;font-size:12px;padding:2px 8px}.alert-card.warning .alert-count{background:#f59e0b26;color:#b45309}.alert-card.success .alert-count{background:#4a5d2326;color:#4a5d23;color:var(--rbf-accent)}.btn-link{color:var(--rbf-primary);font-size:13px;font-weight:500;padding:0;text-decoration:none}.btn-link:hover{text-decoration:underline}.alert-content{min-height:120px;padding:12px 16px}.no-items{color:#6b5b4d;color:var(--rbf-text-light);font-size:14px;margin:0;padding:20px 0;text-align:center}.alert-list{list-style:none;margin:0;padding:0}.alert-list li{align-items:center;border-bottom:1px solid #d4c4b0;border-bottom:1px solid var(--rbf-border);cursor:pointer;display:flex;justify-content:space-between;margin:0 -16px;padding:10px 16px;transition:background-color .15s}.alert-list li:last-child{border-bottom:none}.alert-list li:hover{background:#f5f0e8;background:var(--rbf-secondary)}.item-name{color:#2d2013;color:var(--rbf-text);font-size:14px}.item-detail{color:#6b5b4d;color:var(--rbf-text-light);font-size:13px}.recent-orders-section{background:#fff;background:var(--rbf-card-bg);border-radius:12px;box-shadow:0 2px 8px #2d201314;box-shadow:0 2px 8px var(--rbf-shadow);margin-bottom:24px;overflow:hidden}.section-header{border-bottom:1px solid #d4c4b0;border-bottom:1px solid var(--rbf-border);padding:20px 24px}.section-title{gap:10px}.section-icon{font-size:20px}.section-title h2{color:#2d2013;color:var(--rbf-text);font-size:18px;font-weight:600;margin:0}.orders-table-container{overflow-x:auto}.orders-table th{background:#f5f0e8;background:var(--rbf-secondary);color:#6b5b4d;color:var(--rbf-text-light);font-size:12px}.orders-table td,.orders-table th{border-bottom:1px solid #d4c4b0;border-bottom:1px solid var(--rbf-border);padding:14px 24px}.orders-table td{color:#2d2013;color:var(--rbf-text);font-size:14px}.orders-table tbody tr{transition:background-color .15s}.orders-table tbody tr:hover{background:#f5f0e8;background:var(--rbf-secondary)}.orders-table tbody tr:last-child td{border-bottom:none}.order-number{color:var(--rbf-primary)}.no-orders,.order-date{color:#6b5b4d;color:var(--rbf-text-light)}.no-orders{padding:40px 24px!important}.status-badge{border-radius:6px;letter-spacing:.3px;padding:4px 10px}.status-pending{background:#f59e0b}.status-confirmed{background:#06b6d4}.status-production{background:#8b5cf6}.status-ready{background:#22c55e}.status-shipped{background:#6366f1}.status-delivered{background:#10b981}.status-cancelled{background:#ef4444}.quick-links-section{background:#fff;background:var(--rbf-card-bg);border-radius:12px;box-shadow:0 2px 8px #2d201314;box-shadow:0 2px 8px var(--rbf-shadow);padding:24px}.quick-links-section h2{color:#2d2013;color:var(--rbf-text);font-size:18px;font-weight:600;margin:0 0 20px}.quick-links-grid{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(6,1fr)}.quick-link-btn{border:none;border-radius:8px;cursor:pointer;font-size:14px;font-weight:500;padding:14px 20px;text-align:center;transition:all .2s ease}.quick-link-btn.primary{background:#8b0000;background:var(--rbf-primary);color:#fff}.quick-link-btn.primary:hover{background:#6b0000;background:var(--rbf-primary-dark);transform:translateY(-1px)}.quick-link-btn.secondary{background:#f5f0e8;background:var(--rbf-secondary);border:1px solid #d4c4b0;border:1px solid var(--rbf-border);color:#2d2013;color:var(--rbf-text)}.quick-link-btn.secondary:hover{background:#d4c4b0;background:var(--rbf-border);transform:translateY(-1px)}.btn-primary{background:var(--rbf-primary)}.btn-primary:hover{background:var(--rbf-primary-dark)}.btn-secondary{background:#f5f0e8;background:var(--rbf-secondary);border:1px solid var(--rbf-border);color:var(--rbf-text)}.btn-secondary:hover{background:var(--rbf-border)}@media (max-width:1200px){.dashboard-page{padding:20px}.quick-links-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width:640px){.dashboard-page{padding:16px}.dashboard-header{align-items:flex-start;flex-direction:column;gap:12px}.header-content h1{font-size:24px}.btn-refresh{min-height:48px;width:100%}.alerts-row,.metrics-row{gap:12px}.metric-card{min-height:80px;padding:16px}.metric-value{font-size:28px}.alert-card{margin-bottom:0}.alert-header{flex-wrap:wrap;gap:.5rem}.alert-content{min-height:100px}.alert-list li{min-height:48px;padding-bottom:12px;padding-top:12px}.btn-link{min-height:44px;padding:.5rem 0}.section-header{align-items:stretch;flex-direction:column;gap:1rem;padding:16px}.section-header .btn{min-height:48px;width:100%}.orders-table-container{margin:0 -16px}.orders-table{min-width:500px}.orders-table td,.orders-table th{padding:12px 16px;white-space:nowrap}.orders-table td:nth-child(3),.orders-table th:nth-child(3){display:none}.quick-links-section{padding:16px}.quick-links-grid{gap:10px;grid-template-columns:1fr 1fr}.quick-link-btn{font-size:.9rem;min-height:52px;padding:12px 16px}}@media (max-width:480px){.dashboard-page{padding:12px}.quick-links-grid{grid-template-columns:1fr}.orders-table td:nth-child(5),.orders-table th:nth-child(5){display:none}.metric-card{flex-direction:column;gap:8px;text-align:center}.metric-icon{margin:0 auto}.metric-content{align-items:center}}.modal-content{box-shadow:0 4px 6px #0000001a}.customer-modal{max-width:800px}.modal-header h2{color:#111827}.close-button{align-items:center;background:none;border:none;border-radius:4px;color:#6b7280;cursor:pointer;display:flex;font-size:2rem;height:32px;justify-content:center;padding:0;transition:background-color .2s;width:32px}.close-button:hover{background-color:#f3f4f6}.form-row{margin-bottom:16px}.form-row.three-cols{grid-template-columns:1fr 1fr 1fr}.form-group.required label:after{color:#ef4444;content:" *"}.form-group input,.form-group select,.form-group textarea{color:#111827;font-size:.875rem;padding:8px 12px}.btn-primary,.btn-secondary{font-size:.875rem;padding:10px 20px}.btn-primary{background-color:#3b82f6}.btn-primary:hover:not(:disabled){background-color:#2563eb}.btn-primary:disabled{background-color:#9ca3af}.btn-secondary{background-color:#f3f4f6}.btn-secondary:hover{background-color:#e5e7eb}.error-message{background-color:#fef2f2;margin-bottom:16px;padding:12px}.form-section-header{border-bottom:1px solid #e5e7eb;color:#374151;font-size:1rem;font-weight:600;margin:1.5rem 0 1rem;padding-bottom:.5rem}@media (max-width:768px){.modal-overlay{align-items:flex-start;padding:0}.modal-content{border-radius:0;height:100%;max-height:100%;max-width:100%;width:100%}.modal-header{padding:max(16px,env(safe-area-inset-top)) 16px 16px}.modal-header h2{font-size:1.25rem}.close-button{height:44px;width:44px}.modal-body{flex:1 1;overflow-y:auto;padding:16px}.modal-footer{padding:12px 16px max(12px,env(safe-area-inset-bottom))}.form-row,.form-row.three-cols{gap:12px;grid-template-columns:1fr}.form-group input,.form-group select,.form-group textarea{font-size:16px;min-height:48px;padding:12px}.form-group label{font-size:1rem}.btn-primary,.btn-secondary{flex:1 1;font-size:1rem;min-height:48px;padding:12px 20px}}@media (max-width:480px){.modal-header{padding:max(12px,env(safe-area-inset-top)) 12px 12px}.modal-header h2{font-size:1.125rem}.modal-body{padding:12px}.form-group{margin-bottom:12px}.form-section-header{font-size:.9rem;margin:1rem 0 .75rem}}.order-entry-page{background-color:#faf9f6;min-height:calc(100vh - 70px);padding:1rem}.page-header{text-align:center}.page-header h1{color:#3f2021}.page-subtitle{color:#e73c3e;font-weight:600}.order-entry-container{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr;margin:0 auto;max-width:1400px}@media (min-width:768px){.order-entry-page{padding:1.5rem}.page-header h1{font-size:2rem}.page-subtitle{font-size:1rem}.order-entry-container{gap:1.5rem}}@media (min-width:1024px){.order-entry-page{padding:2rem}.page-header{margin-bottom:2rem}.page-header h1{font-size:2.5rem}.page-subtitle{font-size:1.125rem}.order-entry-container{gap:2rem;grid-template-columns:1fr 450px}}.order-form-column{background:#fff;border:1px solid #c3ad8b;border-radius:8px;box-shadow:0 4px 6px #3f20210d;padding:1rem}@media (min-width:768px){.order-form-column{padding:1.5rem}}@media (min-width:1024px){.order-form-column{padding:2rem}}.order-form{display:flex;flex-direction:column;gap:1.5rem}.form-section{border-bottom:2px solid #c3ad8b;padding-bottom:1.5rem}.form-section:last-of-type{border-bottom:none}.section-title{border-bottom:2px solid #e73c3e;display:inline-block;font-size:1.25rem;margin-bottom:1rem;padding-bottom:.5rem}.section-header-row{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.alert-error{background-color:#fef2f2;border:1px solid #fca5a5;color:#e73c3e}.customer-select-row{align-items:stretch;display:flex;flex-direction:column;gap:.75rem}@media (min-width:768px){.customer-select-row{align-items:flex-start;flex-direction:row}}.customer-select-row .form-select{flex:1 1}.btn-sm{min-height:44px;padding:12px 16px;white-space:nowrap}@media (min-width:768px){.btn-sm{min-height:0;min-height:auto;padding:10px 16px}}.customer-info{background-color:#faf9f6;border:2px solid #c3ad8b;border-radius:8px;box-shadow:0 2px 4px #3f20210d;margin-top:1rem;padding:1.25rem}.customer-info-header{align-items:center;border-bottom:2px solid #c3ad8b;display:flex;justify-content:space-between;margin-bottom:1rem;padding-bottom:.75rem}.customer-info-header h4{color:#3f2021;font-size:1.125rem;font-weight:700;margin:0}.customer-type-badge{background-color:#508590;color:#fff;font-size:.75rem;font-weight:600;padding:.25rem .75rem;text-transform:capitalize}.customer-info-section{margin-bottom:1rem}.customer-info-section:last-child{margin-bottom:0}.customer-info-section strong{color:#3f2021;display:block;font-size:.875rem;font-weight:600;margin-bottom:.25rem}.customer-address{background-color:#fff;border:1px solid #c3ad8b;border-radius:4px;color:#3f2021;font-size:.875rem;line-height:1.5;margin-top:.25rem;padding:.5rem}.customer-address div{margin:.125rem 0}.customer-info-section p{color:#3f2021;font-size:.875rem;margin:.25rem 0}.customer-info strong{color:#3f2021;font-weight:600}.radio-group{display:flex;gap:1.5rem;margin-top:.5rem}.radio-label{color:#3f2021;font-size:.9rem}.radio-label input[type=radio]{accent-color:#e73c3e;height:18px;width:18px}.radio-label input[type=radio]:disabled{cursor:not-allowed;opacity:.5}.checkbox-label{color:#3f2021;font-size:.9rem;font-weight:500;gap:.75rem}.checkbox-label input[type=checkbox]{accent-color:#e73c3e;height:20px;width:20px}.form-actions{border-top:2px solid #c3ad8b;flex-direction:column}@media (min-width:768px){.form-actions{flex-direction:row;gap:1rem;justify-content:space-between}}.form-actions .btn{flex:1 1;font-weight:600;min-height:48px;padding:14px 24px}.order-summary-column{height:-webkit-fit-content;height:fit-content;position:static}@media (min-width:1024px){.order-summary-column{position:-webkit-sticky;position:sticky;top:90px}}.order-summary-card{background:#fff;border:2px solid #e73c3e;border-radius:8px;box-shadow:0 6px 10px #e73c3e1a;padding:1.5rem}.summary-title{border-bottom:2px solid #e73c3e;color:#3f2021;font-size:1.5rem;font-weight:700;margin-bottom:1.5rem;padding-bottom:1rem;text-align:center}.summary-section{background-color:#faf9f6;border-radius:6px;margin-bottom:1rem;padding:.75rem}.summary-section p{color:#3f2021;font-size:.875rem;margin:.5rem 0}.summary-section strong{color:#508590;font-weight:600}.summary-divider{background:linear-gradient(90deg,#c3ad8b,#508590,#c3ad8b);height:2px;margin:1.5rem 0}.summary-pricing{background-color:#f8f9fa;border:1px solid #c3ad8b;border-radius:6px;padding:1rem}.price-row{align-items:center;color:#3f2021;display:flex;font-size:.9rem;justify-content:space-between;padding:.5rem 0}.price-row.discount{color:#6c8062;font-weight:500}.price-row.total{border-top:3px double #3f2021;color:#e73c3e;font-size:1.125rem;font-weight:700;margin-top:.75rem;padding-top:.75rem}.materials-title{color:#3f2021;font-size:1rem;font-weight:600;margin-bottom:1rem}.materials-list{display:flex;flex-direction:column;gap:.75rem}.material-item{background-color:#faf9f6;border:1px solid #c3ad8b;border-radius:6px;padding:.75rem}.material-item.available{border-left:4px solid #6c8062}.material-item.low-stock{background-color:#fef2f2;border-left:4px solid #e73c3e}.material-name{color:#3f2021;font-size:.875rem;margin-bottom:.25rem}.material-stock{color:#666;font-size:.8rem}.materials-more{color:#508590;font-weight:500;margin-top:.5rem}.materials-more,.materials-warning{font-size:.875rem;text-align:center}.materials-warning{background-color:#fef2f2;border:1px solid #e73c3e;border-radius:6px;color:#e73c3e;font-weight:600;margin-top:1rem;padding:.75rem}.summary-empty{color:#666;font-style:italic;padding:3rem 1rem;text-align:center}.material-details{margin-top:.5rem}.material-details p{color:#666;font-size:.8rem;margin:.25rem 0}.line-item-card{background:#faf9f6;border:2px solid #c3ad8b;border-radius:8px;margin-bottom:1rem;padding:1rem}@media (min-width:768px){.line-item-card{margin-bottom:1.5rem;padding:1.5rem}}.line-item-header{align-items:stretch;border-bottom:2px solid #508590;display:flex;flex-direction:column;gap:.75rem;margin-bottom:1rem;padding-bottom:.75rem}@media (min-width:768px){.line-item-header{align-items:center;flex-direction:row;justify-content:space-between}}.line-item-header h4{color:#3f2021;font-size:1rem;font-weight:600;margin:0}@media (min-width:768px){.line-item-header h4{font-size:1.125rem}}.btn-remove{background:#0000;border:1px solid #e73c3e;border-radius:4px;color:#e73c3e;cursor:pointer;font-size:.875rem;font-weight:500;min-height:44px;padding:12px 16px;transition:all .2s}@media (min-width:768px){.btn-remove{min-height:0;min-height:auto;padding:6px 12px}}.btn-remove:hover{background:#e73c3e;color:#fff}.form-row{grid-template-columns:1fr}@media (min-width:768px){.form-row{grid-template-columns:1fr 1fr}}.form-group label{color:#3f2021}.form-input,.form-select{background:#fff;border:2px solid #c3ad8b;color:#3f2021;font-size:16px;min-height:44px;padding:12px 14px}.form-input:focus,.form-select:focus{border-color:#508590}.form-input:disabled,.form-select:disabled{background:#f5f5f5;cursor:not-allowed;opacity:.6}.form-textarea{border:2px solid #c3ad8b;border-radius:6px;color:#3f2021;font-family:inherit;font-size:16px;min-height:88px;padding:12px 14px}.form-textarea:focus{border-color:#508590;outline:none}.calculated-value{background:#f0f9ff;border:2px solid #508590;border-radius:6px;color:#508590;font-size:.9rem;font-weight:600;padding:10px 12px}.material-status{border-radius:6px;font-size:.875rem;font-weight:500;margin-top:.75rem;padding:.75rem}.material-status.available{background:#f0fdf4;border:1px solid #6c8062;color:#6c8062}.material-status.unavailable{background:#fef2f2;border:1px solid #e73c3e;color:#e73c3e}@media (max-width:640px){.radio-group{flex-direction:column;gap:.75rem}.checkbox-label,.radio-label{min-height:44px;padding:.5rem 0}.checkbox-label input[type=checkbox],.radio-label input[type=radio]{height:22px;width:22px}.order-summary-card{padding:1rem}.summary-actions{flex-direction:column}.email-order-btn,.print-order-btn{min-height:48px}.entry-type-toggle{flex-direction:column}.toggle-btn{min-height:48px;width:100%}}.print-only-order{display:none}.summary-actions{display:flex;gap:.5rem;margin-top:1rem}.email-order-btn{background-color:#508590;border:none;border-radius:6px;color:#fff;cursor:pointer;flex:1 1;font-size:1rem;font-weight:600;padding:12px;transition:background-color .2s}.email-order-btn:hover{background-color:#3f6d7a}.print-order-btn{background-color:#3f2021;border:none;border-radius:6px;color:#fff;cursor:pointer;flex:1 1;font-size:1rem;font-weight:600;padding:12px;transition:background-color .2s}.print-order-btn:hover{background-color:#e73c3e}@media print{body{margin:0;padding:0}.form-section,.materials-list,.materials-title,.materials-warning,.no-print,.order-form-column,.order-summary-card>:not(.print-only-order),.page-header,.summary-actions,.summary-divider,.summary-pricing,.summary-section,.summary-title,button:not(.print-only-order button),header,nav{display:none!important}.print-only-order{background:#fff;color:#000;display:block!important;font-size:11pt;line-height:1.4;margin:0;min-height:11in;padding:.5in;width:8.5in}.order-summary-card{background:#fff;border:none;box-shadow:none;margin:0;padding:0}.print-header{margin-bottom:20pt;text-align:center}.company-info h1{color:#3f2021;font-size:18pt;font-weight:700;letter-spacing:.5pt;margin:0 0 8pt}.company-info p{color:#000;font-size:10pt;margin:2pt 0}.print-divider{border-top:1pt solid #c3ad8b;margin:15pt 0}.print-title{color:#3f2021;font-size:14pt;font-weight:700;margin:10pt 0;text-align:center}.print-order-info{margin-bottom:10pt}.print-order-info p{font-size:10pt;margin:4pt 0}.rush-indicator{color:#e73c3e;font-size:11pt}.print-customer-section{grid-gap:20pt;display:grid;gap:20pt;grid-template-columns:1fr 1fr;margin:15pt 0}.print-bill-to h3,.print-ship-to h3{color:#3f2021;font-size:11pt;font-weight:700;margin:0 0 8pt;text-transform:uppercase}.print-bill-to p,.print-ship-to p{font-size:10pt;margin:3pt 0}.print-order-table{border-collapse:collapse;margin:15pt 0;width:100%}.print-order-table th{background-color:#f5f5f5;border-bottom:2pt solid #3f2021;font-size:10pt;font-weight:700;padding:8pt;text-align:left}.print-order-table td{border-bottom:1pt solid #e0e0e0;font-size:10pt;padding:10pt 8pt}.print-order-table .text-right{text-align:right}.print-item-name{font-weight:700;margin-bottom:4pt}.print-item-details{color:#666;font-size:9pt;margin:2pt 0}.print-totals{margin:15pt 0 15pt auto;width:60%}.print-total-row{display:flex;font-size:10pt;justify-content:space-between;padding:5pt 10pt}.print-final-total{border-top:2pt solid #3f2021;font-size:12pt;margin-top:8pt;padding-top:8pt}.print-special-instructions h3{color:#3f2021;font-size:11pt;font-weight:700;margin:0 0 8pt}.print-special-instructions p{background-color:#f9f9f9;border-left:3pt solid #c3ad8b;font-size:10pt;margin:0;padding:8pt}.print-entered-by{color:#666;font-size:9pt;margin:10pt 0;text-align:right}.print-footer{border-top:1pt solid #c3ad8b;margin-top:20pt;padding-top:15pt;text-align:center}.print-footer p{font-size:10pt;margin:4pt 0}.print-footer p:first-child{color:#3f2021;font-size:11pt;font-weight:700}.print-footer em{color:#666;font-style:italic}.print-only-order{page-break-after:auto}.print-order-table,.print-order-table tr{page-break-inside:avoid}.print-order-table tr{page-break-after:auto}@page{size:letter;margin:.5in}}.entry-type-toggle{display:flex;gap:.5rem;justify-content:center;margin-top:1rem}.toggle-btn{background:#fff;border:2px solid #3f2021;border-radius:6px;color:#3f2021;font-size:1rem;font-weight:600;padding:.5rem 1.5rem;transition:all .2s ease}.toggle-btn:hover{background:#faf9f6}.toggle-btn.active{background:#3f2021;color:#fff}.quotes-table{border-collapse:collapse;margin:1rem 0;width:100%}.quotes-table thead{background-color:#3f2021;color:#fff}.quotes-table th{font-size:.9rem;font-weight:600;padding:.75rem;text-align:left;text-transform:uppercase}.quotes-table td{border-bottom:1px solid #dee2e6;font-size:.95rem;padding:.75rem}.quotes-table tbody tr:hover{background-color:#f8f9fa}.status-draft{background-color:#fff3cd;color:#856404}.status-sent{background-color:#d1ecf1;color:#0c5460}.status-accepted{background-color:#d1e7dd;color:#0f5132}.status-expired{background-color:#e7e7e7;color:#333}.status-cancelled{background-color:#f8d7da;color:#842029}.btn-success{border-radius:6px;cursor:pointer;font-weight:600;padding:.75rem 1.5rem;transition:background-color .15s ease}.btn-success:disabled{background-color:#94d3a2;cursor:not-allowed}.feed-availability-container{margin:0 auto;max-width:1200px;padding:20px}.feed-availability-header{margin-bottom:20px}.feed-availability-header h2{color:#333;font-size:24px;margin:0 0 10px}.customer-type-badge{background-color:#e3f2fd;border-radius:4px;color:#1976d2;display:inline-block;font-size:14px;font-weight:500;margin-bottom:10px;padding:5px 12px;text-transform:uppercase}.feed-availability-description{color:#666;font-size:14px;margin:10px 0}.alert{margin-bottom:20px}.alert-error{border-left:4px solid #c62828}.feed-availability-error,.feed-availability-loading{color:#666;font-size:16px;padding:40px;text-align:center}.feed-availability-filters{align-items:center;display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}.filter-select,.search-input{border:1px solid #ddd;border-radius:4px;font-size:14px;padding:8px 12px}.btn-collapse,.btn-expand{background-color:#f5f5f5;border:1px solid #ddd;border-radius:4px;cursor:pointer;font-size:14px;padding:8px 16px;transition:background-color .2s}.btn-collapse:hover,.btn-expand:hover{background-color:#e0e0e0}.bulk-actions-bar{background-color:#f8f9fa;border:1px solid #e0e0e0;border-radius:6px;gap:12px;justify-content:space-between;margin-bottom:20px;padding:12px 16px}.bulk-actions-bar,.feed-counts{align-items:center;display:flex;flex-wrap:wrap}.feed-counts{gap:10px}.count-badge{color:#333;font-size:14px;font-weight:500}.count-badge-secondary{color:#666;font-weight:400}.bulk-buttons{display:flex;flex-wrap:wrap;gap:8px}.btn-bulk{border:1px solid #0000;border-radius:4px;cursor:pointer;font-size:13px;font-weight:500;padding:8px 16px;transition:all .2s}.btn-bulk:disabled{cursor:not-allowed;opacity:.6}.btn-bulk-select{background-color:#4caf50;border-color:#43a047;color:#fff}.btn-bulk-select:hover:not(:disabled){background-color:#43a047}.btn-bulk-deselect{background-color:#f5f5f5;border-color:#ddd;color:#666}.btn-bulk-deselect:hover:not(:disabled){background-color:#e0e0e0;border-color:#bbb}.no-feeds-message{background-color:#fafafa;border-radius:4px;color:#666;font-style:italic;padding:30px;text-align:center}.feeds-section{background-color:#fff;border:1px solid #ddd;border-radius:8px;margin-bottom:30px;padding:20px}.custom-feeds-section{border-left:4px solid #ff9800}.standard-feeds-section{border-left:4px solid #2196f3}.section-title{font-size:18px;gap:8px;margin:0 0 10px}.section-description{color:#666;margin:0 0 15px}.animal-type-group{border:1px solid #e0e0e0;border-radius:4px;margin-bottom:15px;overflow:hidden}.animal-type-header{align-items:center;background-color:#f5f5f5;cursor:pointer;display:flex;font-weight:500;gap:10px;padding:12px 16px;transition:background-color .2s}.animal-type-header:hover{background-color:#eee}.expand-icon{color:#666;width:12px}.animal-type-name{color:#333;font-size:15px}.feeds-list{padding:10px}.feed-item{border-bottom:1px solid #f0f0f0;padding:8px 12px}.feed-item:last-child{border-bottom:none}.feed-checkbox-label{align-items:center;cursor:pointer;display:flex;gap:12px;padding:4px 0}.feed-checkbox-label input[type=checkbox]{cursor:pointer;height:18px;width:18px}.feed-checkbox-label input[type=checkbox]:disabled{cursor:not-allowed;opacity:.5}.feed-name{color:#333;flex:1 1;font-size:14px}.feed-grade{background-color:#f5f5f5}.feed-animal-type,.feed-grade{border-radius:3px;color:#666;font-size:13px;padding:2px 8px}.feed-animal-type{background-color:#e3f2fd}.feed-line-badge{border-radius:3px;font-weight:500;padding:2px 8px;text-transform:uppercase}.feed-line-badge.five-star{background-color:#fff8e1;border:1px solid #ffe082;color:#f57c00}.feed-line-badge.plus{background-color:#e8f5e9;border:1px solid #a5d6a7;color:#2e7d32}.feed-line-badge.essentials{background-color:#e3f2fd;border:1px solid #90caf9;color:#1565c0}.feed-line-badge.standard{background-color:#f5f5f5;border:1px solid #e0e0e0;color:#616161}.feed-status-badge{border-radius:3px;font-size:12px;font-weight:500;padding:2px 8px}.feed-status-badge.not-available{background-color:#ffebee;color:#c62828}.feed-status-badge.hidden{background-color:#fff3e0;color:#e65100}.feed-not-available{opacity:.6}.feed-not-available .feed-name{color:#999;text-decoration:line-through}.feed-availability-actions{align-items:center;border-top:1px solid #ddd;display:flex;flex-wrap:wrap;gap:15px;justify-content:space-between;margin-top:30px;padding-top:20px}.quick-actions{gap:10px}.btn-secondary{background-color:#f5f5f5;border-radius:4px}.btn-secondary:hover{background-color:#e0e0e0;border-color:#bbb}.btn-primary{background-color:#1976d2;border-radius:4px;transition:background-color .2s}.btn-primary:hover{background-color:#1565c0}.btn-primary:disabled{background-color:#90caf9}.btn-save{min-width:180px}@media (max-width:768px){.feed-availability-filters{align-items:stretch;flex-direction:column}.filter-select,.search-input{width:100%}.bulk-actions-bar{align-items:stretch;flex-direction:column}.feed-counts{justify-content:center}.bulk-buttons{flex-direction:column}.btn-bulk{width:100%}.feed-availability-actions{align-items:stretch;flex-direction:column}.quick-actions{flex-direction:column}.btn-primary,.btn-secondary{width:100%}}.store-logo-section{padding:1.5rem}.store-logo-header{margin-bottom:1.5rem}.store-logo-header h3{color:#111827;font-size:1.125rem;margin:0 0 .5rem}.store-logo-description{color:#6b7280;font-size:.875rem;margin:0}.store-logo-unavailable{background:#f9fafb;border:1px dashed #d1d5db;border-radius:8px;padding:2rem;text-align:center}.store-logo-unavailable h3{color:#374151;margin:0 0 .5rem}.store-logo-unavailable p{color:#6b7280;font-size:.875rem;margin:0}.store-logo-error{background:#fef2f2;border:1px solid #fecaca;border-radius:6px;color:#dc2626;font-size:.875rem;margin-bottom:1rem;padding:.75rem 1rem}.store-logo-dropzone{background:#fafafa;border:2px dashed #d1d5db;border-radius:12px;cursor:pointer;padding:3rem 2rem;text-align:center;transition:all .2s ease}.store-logo-dropzone:hover{background:#f3f4f6;border-color:#9ca3af}.store-logo-dropzone.dragging{background:#fef2f2;border-color:#b91c1c}.store-logo-dropzone.uploading{cursor:not-allowed;opacity:.7}.dropzone-content{align-items:center;display:flex;flex-direction:column;gap:.75rem}.dropzone-icon{color:#9ca3af}.dropzone-text{color:#374151;font-size:1rem;margin:0}.dropzone-hint{color:#9ca3af;font-size:.8rem;margin:0}.upload-spinner{animation:spin .8s linear infinite;border:3px solid #e5e7eb;border-radius:50%;border-top-color:#b91c1c;height:32px;width:32px}.store-logo-preview-section{display:flex;flex-direction:column;gap:1.5rem}.store-logo-preview-card{background:#f9fafb;border-radius:12px;padding:1.5rem;text-align:center}.store-logo-preview-label{color:#6b7280;font-size:.75rem;font-weight:600;letter-spacing:.05em;margin-bottom:1rem;text-transform:uppercase}.store-logo-preview-container{align-items:center;border-radius:12px;box-shadow:0 2px 8px #0000001a;display:inline-flex;height:120px;justify-content:center;padding:12px;width:120px}.store-logo-preview-image{max-height:100%;max-width:100%;object-fit:contain}.store-logo-settings{background:#f9fafb;border-radius:8px;padding:1rem}.store-logo-setting label{color:#374151;display:block;font-size:.875rem;font-weight:500;margin-bottom:.5rem}.color-picker-row{align-items:center;display:flex;gap:.75rem}.color-picker{border:2px solid #e5e7eb;border-radius:8px;cursor:pointer;height:40px;padding:0;width:40px}.color-input{border:1px solid #e5e7eb;border-radius:6px;font-family:monospace;font-size:.875rem;padding:.5rem;width:100px}.setting-hint{font-size:.75rem;margin:.5rem 0 0}.store-logo-actions{display:flex;gap:.75rem}.btn-outline{background:#fff;border-radius:6px;cursor:pointer;font-size:.875rem;padding:.5rem 1rem;transition:all .2s}.btn-outline:hover{background:#f9fafb;border-color:#9ca3af}.btn-danger{background:#fef2f2;border:1px solid #fecaca;color:#dc2626;font-size:.875rem;padding:.5rem 1rem;transition:all .2s}.btn-danger:hover{background:#fee2e2}.store-logo-card-preview{border-top:1px solid #e5e7eb;margin-top:2rem;padding-top:2rem}.store-logo-card-preview h4{color:#374151;font-size:1rem;margin:0 0 .5rem}.preview-description{color:#6b7280;font-size:.8rem;margin:0 0 1rem}.card-preview-mini{background:linear-gradient(135deg,#1f2937,#111827);border-radius:16px;margin:0 auto;max-width:280px;padding:1rem}.card-preview-header{align-items:center;display:flex;gap:.5rem;justify-content:center;margin-bottom:.75rem}.preview-logo-rb{width:60px}.preview-logo-divider{color:#9ca3af;font-size:.875rem}.preview-logo-store-wrapper{border-radius:6px}.preview-logo-placeholder,.preview-logo-store-wrapper{align-items:center;display:flex;height:40px;justify-content:center;padding:4px;width:40px}.preview-logo-placeholder{background:#ffffff1a;border:1px dashed #ffffff4d;border-radius:6px;color:#ffffff80;font-size:.6rem;text-align:center}.card-preview-badge{background:#b91c1c;border-radius:9999px;color:#fff;display:inline-block;display:block;font-size:.5rem;font-weight:700;letter-spacing:.1em;margin:0 auto .75rem;padding:.125rem .5rem;text-align:center;width:-webkit-fit-content;width:fit-content}.card-preview-qr{display:flex;justify-content:center;margin-bottom:.75rem}.qr-placeholder-mini{background:#fff;border-radius:8px;height:80px;width:80px}.card-preview-member{color:#fff;font-size:.8rem;font-weight:600;text-align:center}.card-preview-store{color:#9ca3af;font-size:.7rem;margin-top:.25rem;text-align:center}.public-info-section{padding:1rem}.public-info-unavailable{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:2rem;text-align:center}.public-info-unavailable h3{color:#374151;margin:0 0 .5rem}.public-info-unavailable p{color:#6b7280;margin:0}.public-info-loading{color:#6b7280;padding:2rem;text-align:center}.public-info-header{margin-bottom:1.5rem}.public-info-header h3{color:#1f2937;font-size:1.25rem;margin:0 0 .5rem}.public-info-description{color:#6b7280;font-size:.875rem;margin:0}.public-info-error{background:#fee2e2;color:#991b1b}.public-info-error,.public-info-success{border-radius:8px;margin-bottom:1rem;padding:.75rem 1rem}.public-info-success{background:#d1fae5;color:#065f46}.public-info-form{display:flex;flex-direction:column;gap:1.5rem}.form-section{background:#f9fafb;border:1px solid #e5e7eb}.form-section h4{color:#374151;font-size:1rem;font-weight:600}.bridge-club-toggle-section{background:#fef3c7;border-color:#f59e0b}.toggle-label{align-items:flex-start;cursor:pointer;gap:.75rem}.toggle-checkbox{display:none}.toggle-switch{background:#d1d5db;border-radius:13px;flex-shrink:0;height:26px;position:relative;transition:background .2s;width:48px}.toggle-switch:after{background:#fff;border-radius:50%;box-shadow:0 1px 3px #0003;content:"";height:20px;left:3px;position:absolute;top:3px;transition:transform .2s;width:20px}.toggle-checkbox:checked+.toggle-switch{background:#10b981}.toggle-checkbox:checked+.toggle-switch:after{transform:translateX(22px)}.toggle-text{display:flex;flex-direction:column;gap:.25rem}.toggle-text strong{color:#1f2937}.toggle-text small{color:#6b7280;font-size:.8125rem}.form-group:last-child{margin-bottom:0}.form-input{background:#fff;border:1px solid #d1d5db;border-radius:6px;box-sizing:border-box;color:#1f2937;font-size:.9375rem;padding:.625rem .875rem;transition:border-color .2s,box-shadow .2s;width:100%}.form-input:focus{border-color:#b91c1c;box-shadow:0 0 0 3px #b91c1c1a;outline:none}.form-input::placeholder{color:#9ca3af}.form-hint{font-size:.75rem;margin-top:.25rem}.form-row{flex-wrap:wrap}.form-row .form-group{flex:1 1;min-width:150px}.form-row .form-group-small{flex:0 0 100px;min-width:100px}.form-actions{align-items:center;padding-top:.5rem}.form-actions .btn{font-size:1rem;padding:.75rem 1.5rem}.unsaved-indicator{color:#f59e0b;font-size:.875rem;font-weight:500}.checkbox-grid{grid-gap:.75rem;display:grid;gap:.75rem}.checkbox-grid-2{grid-template-columns:repeat(2,1fr)}.checkbox-label{border-radius:6px;padding:.5rem;transition:background-color .15s}.checkbox-label:hover{background-color:#00000008}.checkbox-label input[type=checkbox]{accent-color:#059669}.checkbox-text{color:#374151;font-size:.9375rem}.form-section-hint{color:#6b7280;font-size:.8125rem;margin:0 0 .75rem}.location-selector{align-items:flex-start;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:1.5rem}.location-tabs{display:flex;flex-wrap:wrap;gap:.5rem}.location-tab{align-items:center;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:6px;color:#374151;cursor:pointer;display:flex;font-size:.9375rem;gap:.5rem;padding:.5rem 1rem;transition:all .15s}.location-tab:hover{background:#e5e7eb}.location-tab.active{background:#1f2937;border-color:#1f2937;color:#fff}.location-tab .primary-badge{background:#dbeafe;border-radius:4px;color:#1d4ed8;font-size:.6875rem;font-weight:600;padding:.125rem .375rem;text-transform:uppercase}.location-tab.active .primary-badge{background:#fff3;color:#fff}.location-tab .visible-badge{color:#10b981;font-size:.8125rem;font-weight:700}.location-tab.active .visible-badge{color:#34d399}.btn-sync{flex-shrink:0;font-size:.875rem;padding:.5rem .75rem}.coordinates-display{background:#e5e7eb;border-radius:4px;color:#4b5563;font-family:monospace;font-size:.8125rem;margin-top:.5rem;padding:.5rem .75rem}@media (max-width:640px){.form-section,.public-info-section{padding:.75rem}.form-row{flex-direction:column;gap:0}.form-row .form-group,.form-row .form-group-small{flex:none;min-width:auto}.form-actions{align-items:stretch;flex-direction:column}.form-actions .btn{width:100%}.checkbox-grid-2{grid-template-columns:1fr}.checkbox-label{padding:.625rem .5rem}.location-selector{align-items:stretch}.location-selector,.location-tabs{flex-direction:column}.location-tab{justify-content:flex-start;width:100%}.btn-sync{width:100%}}.locations-tab{padding:1rem}.locations-tab .detail-section{background:#fff;border-radius:8px;padding:1.5rem}.locations-tab .section-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.locations-tab .section-header h3{color:#333;margin:0}.org-summary{align-items:center;background:#f8f9fa;border-radius:6px;display:flex;gap:1rem;margin-bottom:1rem;padding:.75rem 1rem}.org-name{color:#333;font-weight:600}.org-stats{color:#666;font-size:.9rem}.enable-multi-location-card{background:#f8f9fa;border:2px dashed #dee2e6;border-radius:8px;padding:2rem;text-align:center}.enable-icon{font-size:3rem;margin-bottom:1rem}.enable-description{color:#666;font-size:1.1rem;margin-bottom:1.5rem}.enable-benefits{margin-left:auto;margin-right:auto;margin-top:1.5rem;max-width:300px;text-align:left}.enable-benefits p{color:#333;font-weight:600;margin-bottom:.5rem}.enable-benefits ul{color:#666;margin:0;padding-left:1.5rem}.enable-benefits li{margin-bottom:.25rem}.locations-list{display:flex;flex-direction:column;gap:1rem}.location-card{background:#fff;border:1px solid #e0e0e0;padding:1rem;transition:box-shadow .2s}.location-card:hover{box-shadow:0 2px 8px #0000001a}.location-card.inactive{background:#fafafa;opacity:.7}.location-header{align-items:flex-start}.location-info{flex:1 1}.location-name{align-items:center;color:#333;display:flex;font-size:1.1rem;gap:.5rem;margin-bottom:.5rem}.location-icon{font-size:1.2rem}.primary-badge{background:#e3f2fd;color:#1976d2}.inactive-badge,.primary-badge{border-radius:4px;font-size:.7rem;font-weight:500;padding:.15rem .5rem}.inactive-badge{background:#ffebee;color:#c62828}.location-address,.location-city,.location-phone{color:#666;font-size:.9rem;margin-bottom:.25rem}.location-members{color:#8b0000;font-size:.85rem;font-weight:500;margin-top:.5rem}.location-actions{display:flex;gap:.5rem}.btn-icon{border-radius:4px;font-size:1.1rem;padding:.25rem .5rem;transition:background-color .2s}.btn-icon:hover{background:#f0f0f0}.btn-icon.btn-delete:hover{background:#ffebee}.btn-set-primary{background:none;border:1px solid #1976d2;border-radius:4px;color:#1976d2;cursor:pointer;font-size:.8rem;padding:.25rem .5rem;transition:all .2s;white-space:nowrap}.btn-set-primary:hover{background:#e3f2fd;border-color:#1565c0;color:#1565c0}.error-message{background:#ffebee;border-radius:4px;color:#c62828}.loading-state{padding:2rem}.location-modal{max-width:600px;width:100%}.location-modal .modal-header{align-items:center;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;margin-bottom:1.5rem;padding-bottom:1rem}.location-modal .modal-header h3{margin:0}.location-modal .btn-close{background:none;border:none;color:#666;cursor:pointer;font-size:1.5rem;line-height:1;padding:0}.location-modal .btn-close:hover{color:#333}.location-modal .form-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr 1fr}.location-modal .form-field{display:flex;flex-direction:column}.location-modal .form-field.full-width{grid-column:1/-1}.location-modal .form-field label{color:#333;font-size:.9rem;font-weight:500;margin-bottom:.25rem}.location-modal .form-field input,.location-modal .form-field select{border:1px solid #ddd;border-radius:4px;font-size:1rem;padding:.625rem .75rem}.location-modal .form-field input:focus,.location-modal .form-field select:focus{border-color:#8b0000;box-shadow:0 0 0 2px #8b00001a;outline:none}.location-modal .field-hint{color:#666;font-size:.8rem;margin-top:.25rem}.location-modal .modal-actions{border-top:1px solid #e0e0e0;display:flex;gap:.75rem;justify-content:flex-end;margin-top:1.5rem;padding-top:1rem}@media (max-width:768px){.locations-tab .section-header{gap:1rem}.locations-tab .section-header,.org-summary{align-items:flex-start;flex-direction:column}.org-summary{gap:.25rem}.location-header{flex-direction:column;gap:1rem}.location-actions{align-self:flex-end}.location-modal .form-grid{grid-template-columns:1fr}.location-modal .form-field.full-width{grid-column:1}}.staff-section{background:#fff;border-radius:8px;margin-top:1.5rem;padding:1.5rem}.staff-section h3{color:#333;margin:0 0 1rem}.staff-list{display:flex;flex-direction:column;gap:.75rem}.staff-card{align-items:center;background:#fafafa;border:1px solid #e0e0e0;border-radius:6px;display:flex;justify-content:space-between;padding:1rem}.staff-card.inactive{opacity:.6}.staff-info{flex:1 1}.staff-header{align-items:center;display:flex;gap:.5rem;margin-bottom:.25rem}.staff-icon{font-size:1.1rem}.staff-name{color:#333;font-weight:600}.staff-email,.staff-role{color:#666;font-size:.9rem}.staff-email{margin-bottom:.25rem}.staff-access{color:#555;font-size:.85rem}.staff-access .access-all{color:#2e7d32;font-weight:500}.staff-actions{margin-left:1rem}.no-staff-message{background:#f8f9fa;border-radius:6px;color:#666;font-style:italic;padding:1rem;text-align:center}.staff-access-modal{max-width:500px;width:100%}.staff-access-modal .form-field{margin-bottom:1.25rem}.staff-access-modal .form-field label{color:#333;display:block;font-weight:500;margin-bottom:.5rem}.staff-access-modal .form-field select{border:1px solid #ddd;border-radius:4px;font-size:1rem;padding:.625rem .75rem;width:100%}.location-checkboxes{background:#f8f9fa;border:1px solid #e0e0e0;border-radius:4px;display:flex;flex-direction:column;gap:.5rem;max-height:200px;overflow-y:auto;padding:.75rem}.checkbox-label{padding:.25rem 0}.checkbox-label input[type=checkbox]:disabled{cursor:not-allowed}.checkbox-label span{color:#333;font-size:.95rem}.org-owner-checkbox{background:#e3f2fd;border-radius:4px;margin-top:.5rem;padding:.75rem}.org-owner-checkbox span{font-weight:500}@media (max-width:768px){.staff-card{align-items:flex-start;flex-direction:column;gap:.75rem}.staff-actions{align-self:flex-end;margin-left:0}.staff-header{flex-wrap:wrap}}.mobile-cards-container{display:none}.mobile-card-list{display:flex;flex-direction:column;gap:1rem;padding:.5rem}.mobile-card{background:#fff;border-left:4px solid #8b0000;border-radius:8px;box-shadow:0 1px 3px #0000001a;padding:1rem}.mobile-card.clickable{cursor:pointer;transition:box-shadow .2s,transform .2s}.mobile-card.clickable:hover{box-shadow:0 4px 8px #00000026}.mobile-card.clickable:active{transform:scale(.99)}.mobile-card-header{align-items:flex-start;display:flex;gap:.5rem;justify-content:space-between;margin-bottom:.75rem}.mobile-card-title-group{flex:1 1;min-width:0}.mobile-card-title{color:#2c3e50;font-size:1rem;font-weight:600;margin:0;word-break:break-word}.mobile-card-subtitle{color:#666;display:block;font-size:.85rem;margin-top:.25rem}.mobile-card-badge{flex-shrink:0}.mobile-card-fields{grid-gap:.5rem 1rem;border-bottom:1px solid #eee;border-top:1px solid #eee;display:grid;gap:.5rem 1rem;grid-template-columns:repeat(2,1fr);padding:.75rem 0}.mobile-card-field{display:flex;flex-direction:column;gap:.15rem}.mobile-card-field.full-width{grid-column:1/-1}.mobile-card-label{color:#888;font-size:.7rem;font-weight:500;letter-spacing:.5px;text-transform:uppercase}.mobile-card-value{color:#2c3e50;font-size:.9rem;font-weight:500}.mobile-card-value.highlight{color:#8b0000;font-weight:600}.mobile-card-value.mono{font-family:Courier New,monospace}.mobile-card-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.75rem}.mobile-card-actions .btn,.mobile-card-actions button{flex:1 1;font-size:.9rem;min-height:44px;min-width:80px;padding:.75rem 1rem;text-align:center}.mobile-card.status-pending{border-left-color:#ffc107}.mobile-card.status-active,.mobile-card.status-confirmed{border-left-color:#17a2b8}.mobile-card.status-completed,.mobile-card.status-success{border-left-color:#28a745}.mobile-card.status-cancelled,.mobile-card.status-error,.mobile-card.status-inactive{border-left-color:#dc3545}.mobile-card.status-low{background-color:#fff8e1;border-left-color:#ffc107}.mobile-card.status-out{background-color:#ffebee;border-left-color:#dc3545}@media (max-width:768px){.mobile-cards-container{display:block}.customers-table-container,.desktop-table-container,.formulas-table-container,.inventory-table-container,.orders-table-container,.table-container:not(.mobile-cards-container),.user-table-container{display:none!important}}@media (min-width:769px){.mobile-cards-container{display:none!important}.customers-table-container,.desktop-table-container,.formulas-table-container,.inventory-table-container,.orders-table-container,.table-container,.user-table-container{display:block}}.customers-page{margin:0 auto;max-width:1400px;padding:2rem}.btn-new-customer{font-size:1rem;font-weight:600;padding:.75rem 1.5rem;white-space:nowrap}.customers-container{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden}.search-box{max-width:400px}.search-input{border:1px solid #ced4da;border-radius:4px}.search-input:focus{border-color:#8b0000;box-shadow:0 0 0 3px #8b00001a}.filter-group{min-width:200px}.filter-select{width:100%}.customers-table{border-collapse:collapse;width:100%}.customers-table thead{background-color:#8b0000;color:#fff}.customers-table th{font-size:.9rem;font-weight:600;letter-spacing:.5px;padding:1rem;text-align:left;text-transform:uppercase}.customers-table tbody tr{border-bottom:1px solid #dee2e6;cursor:pointer;transition:background-color .15s ease}.customers-table tbody tr:hover{background-color:#f8f9fa}.customers-table td{font-size:.95rem;padding:1rem}.customer-email{color:#666}.customer-fullscreen-view{background:#fff;bottom:0;display:flex;flex-direction:column;height:100%;left:0;overflow:hidden;position:fixed;right:0;top:0;width:100%;z-index:100}.customer-view-header{align-items:center;background:#b91c1c;color:#fff;display:flex;flex-shrink:0;gap:12px;justify-content:space-between;padding:12px 16px}.customer-view-header h1{flex:1 1;font-size:1.125rem;font-weight:600;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-view-header-actions{align-items:center;display:flex;flex-shrink:0;gap:8px}.btn-header-edit{background:#fff3;border:1px solid #fff6;border-radius:4px;color:#fff;cursor:pointer;font-size:.875rem;font-weight:500;padding:8px 16px}.btn-header-edit:hover{background:#ffffff4d}.btn-header-cancel{background:#0000;border:1px solid #ffffff80;border-radius:4px;color:#fff;cursor:pointer;font-size:.875rem;font-weight:500;padding:8px 16px}.btn-header-cancel:hover{background:#ffffff1a}.btn-header-save{background:#22c55e;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.875rem;font-weight:600;padding:8px 16px}.btn-header-save:hover:not(:disabled){background:#16a34a}.btn-header-save:disabled{background:#9ca3af;cursor:not-allowed}.btn-header-close{background:#0000;border:none;color:#fff;cursor:pointer;font-size:1.5rem;line-height:1;opacity:.8;padding:4px 8px}.btn-header-close:hover{opacity:1}.customer-view-tabs{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;background:#f9fafb;border-bottom:1px solid #e5e7eb;display:flex;flex-shrink:0;flex-wrap:nowrap;gap:0;overflow-x:auto;scrollbar-width:none;width:100%}.customer-view-tabs::-webkit-scrollbar{display:none}.customer-view-tabs button{background:#0000;border:none;border-bottom:2px solid #0000;color:#6b7280;cursor:pointer;flex-shrink:0;font-size:14px;font-weight:500;min-height:48px;padding:12px 16px;transition:all .15s ease;white-space:nowrap}.customer-view-tabs button:hover{background:#f3f4f6;color:#b91c1c}.customer-view-tabs button.active{background:#fff;border-bottom-color:#b91c1c;color:#b91c1c}@media (max-width:640px){.customer-view-tabs{max-width:100vw;width:100%}.customer-view-tabs button{font-size:13px;min-height:44px;padding:10px 14px}}.customer-view-content{-webkit-overflow-scrolling:touch;flex:1 1;overflow-y:auto;padding:16px}@media (min-width:768px){.customer-view-header{padding:16px 24px}.customer-view-header h1{font-size:1.25rem}.customer-view-tabs button{flex-shrink:0;font-size:15px;padding:14px 20px}.customer-view-content{margin:0 auto;max-width:1000px;padding:24px;width:100%}}.status-active{background-color:#10b981}.status-active,.status-inactive{border-radius:20px;color:#fff;display:inline-block;font-size:.75rem;letter-spacing:.5px;padding:.25rem .75rem;text-transform:uppercase}.status-inactive{background-color:#ef4444}.notes-block{background-color:#f8f9fa;border-radius:4px;color:#2c3e50;line-height:1.6;padding:1rem;white-space:pre-wrap}.modal-footer{background:#fff;flex-shrink:0;padding:1rem 1rem max(1rem,env(safe-area-inset-bottom))}@media (min-width:768px){.modal-footer{padding:1.5rem}}.portal-section{background-color:#f8f9fa;border:2px solid #dee2e6;border-radius:8px;padding:1.5rem}.section-header{margin-bottom:1.5rem}.section-header h3{border-bottom:none;margin-bottom:0;padding-bottom:0}.btn-primary:hover{background-color:#600}.btn-sm{font-size:.875rem}.portal-users-list{display:flex;flex-direction:column;gap:1rem}.portal-user-card{background:#fff;border:1px solid #dee2e6;border-radius:6px;box-shadow:0 1px 3px #0000000d;padding:1.25rem}.portal-user-header{align-items:flex-start;border-bottom:1px solid #e9ecef;display:flex;justify-content:space-between;margin-bottom:1rem;padding-bottom:.75rem}.portal-user-info{flex:1 1}.portal-user-email{color:#2c3e50;font-size:1rem;font-weight:600;margin-bottom:.25rem}.portal-user-name{color:#6c757d;font-size:.875rem}.portal-user-status{margin-left:1rem}.status-badge.status-active{background-color:#10b981;border:none;color:#fff}.status-badge.status-inactive{background-color:#ef4444;border:none;color:#fff}.portal-user-role{align-items:center;background-color:#f8f9fa;border-radius:4px;display:flex;gap:.75rem;margin-bottom:1rem;padding:.75rem}.role-label{color:#495057;font-size:.875rem;font-weight:600}.role-select{background:#fff;border:1px solid #ced4da;border-radius:4px;cursor:pointer;font-size:.875rem;min-width:220px;padding:.5rem .75rem}.role-select:focus{border-color:#1a472a;box-shadow:0 0 0 2px #1a472a1a;outline:none}.permissions-group{flex:1 1;min-width:200px}.permissions-group-header{border-bottom:1px solid #e9ecef;color:#1a472a;font-size:.75rem;font-weight:600;letter-spacing:.5px;margin-bottom:.5rem;padding-bottom:.25rem;text-transform:uppercase}.portal-user-meta{color:#6c757d;display:flex;font-size:.875rem;gap:1.5rem;margin-bottom:1rem}.meta-item strong{color:#495057}.portal-user-permissions{background-color:#f8f9fa;border-radius:4px;display:flex;flex-wrap:wrap;gap:1.5rem;margin-bottom:1rem;padding:.75rem}.permission-checkbox{align-items:center;color:#495057;cursor:pointer;display:flex;font-size:.9rem;gap:.5rem}.permission-checkbox input[type=checkbox]{cursor:pointer;height:18px;width:18px}.permission-checkbox:hover{color:#2c3e50}.portal-user-actions{display:flex;flex-wrap:wrap;gap:.75rem}.btn-action{border-radius:4px;padding:.5rem 1rem;transition:all .15s ease}.btn-reset{background-color:#007bff;color:#fff}.btn-reset:hover{background-color:#0056b3}.btn-toggle{background-color:#ffc107;color:#212529}.btn-toggle:hover{background-color:#e0a800}.btn-delete{background-color:#dc3545;color:#fff}.btn-delete:hover{background-color:#c82333}.no-portal-users{background:#fff;border:2px dashed #dee2e6;border-radius:4px;padding:2rem;text-align:center}.no-portal-users p{color:#6c757d;margin:.5rem 0}.text-muted{font-size:.875rem}.info-message{background-color:#e7f3ff;border:1px solid #b8daff;border-radius:4px;padding:1rem}.info-message strong{color:#004085;display:block;margin-bottom:.5rem}.info-message p{color:#004085;font-size:.95rem;margin:0}@media (max-width:768px){.customers-page{padding:1rem}.page-header-content{align-items:stretch;flex-direction:column;gap:1rem}.page-header h1{font-size:1.5rem}.btn-new-customer{min-height:48px;width:100%}.filter-row{align-items:stretch;flex-direction:column;gap:.75rem}.search-box{max-width:none}.filter-select,.search-input{font-size:16px;min-height:48px}.results-count{margin-left:0;padding:.5rem 0;text-align:center}.desktop-table-container{display:none!important}.mobile-cards-container{display:block!important}.customers-container{overflow:visible}.no-data-card{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;color:#666;padding:2rem;text-align:center}.btn-view{min-height:44px;padding:.5rem .75rem}.detail-grid{grid-template-columns:1fr}.section-header{align-items:flex-start;flex-direction:column;gap:1rem}.section-header .btn-primary{min-height:48px;width:100%}.portal-user-header{flex-direction:column;gap:.75rem}.portal-user-status{margin-left:0}.portal-user-meta{flex-direction:column;gap:.5rem}.portal-user-permissions{flex-direction:column;gap:.75rem}.portal-user-actions{flex-direction:column}.btn-action{min-height:48px;width:100%}}.payment-terms-pill{background-color:#e9ecef;border-radius:12px;color:#495057;display:inline-block;font-size:.75rem;font-weight:600;padding:.25rem .5rem;white-space:nowrap}.payment-terms-pill.has-terms{background-color:#d4edda;color:#155724}.payment-terms-badge{background-color:#3b82f6;border-radius:20px;color:#fff;display:inline-block;font-size:.75rem;font-weight:600;letter-spacing:.5px;padding:.25rem .75rem;text-transform:uppercase}.balance-over-limit{color:#dc3545;font-weight:600}.over-limit-warning{color:#dc3545;font-size:.85rem;font-weight:700}.milk-run-section{background-color:#f8f9fa;border:2px solid #dee2e6;border-radius:8px;padding:1.5rem}.milk-run-info{margin-bottom:1.5rem}.milk-run-info .info-text{background-color:#e7f3ff;border-left:4px solid #007bff;border-radius:4px;color:#6c757d;font-size:.95rem;line-height:1.5;margin:0;padding:1rem}.milk-run-form{background:#fff;border:1px solid #dee2e6;border-radius:6px;padding:1.5rem}.milk-run-form .form-group{margin-bottom:1.25rem}.milk-run-form .form-group:last-of-type{margin-bottom:0}.milk-run-form label{color:#495057;display:block;font-size:.9rem;font-weight:600;margin-bottom:.5rem}.milk-run-form .checkbox-label{align-items:center;cursor:pointer;display:flex;font-size:1rem;font-weight:600;gap:.75rem}.milk-run-form .checkbox-label input[type=checkbox]{cursor:pointer;height:20px;width:20px}.milk-run-form .form-hint{color:#6c757d;font-size:.85rem;margin:.5rem 0 0}.milk-run-form .form-select{background-color:#fff;border:1px solid #ced4da;border-radius:4px;font-size:1rem;padding:.75rem 1rem;width:100%}.milk-run-form .form-select:focus{border-color:#8b0000;box-shadow:0 0 0 3px #8b00001a;outline:none}.milk-run-form .form-textarea{border:1px solid #ced4da;border-radius:4px;font-family:inherit;font-size:1rem;padding:.75rem 1rem;resize:vertical;width:100%}.milk-run-form .form-textarea:focus{border-color:#8b0000;box-shadow:0 0 0 3px #8b00001a;outline:none}.milk-run-form .form-actions{border-top:1px solid #dee2e6;display:flex;gap:.75rem;justify-content:flex-end;margin-top:1.5rem;padding-top:1rem}.milk-run-display{background:#fff;border:1px solid #dee2e6;border-radius:6px;padding:1.5rem}.milk-run-display .detail-item.full-width{grid-column:1/-1;margin-top:1rem}.milk-run-display .coordinates-info{border-top:1px solid #dee2e6;color:#6c757d;margin-top:1rem;padding-top:1rem}.milk-run-benefits{background-color:#d4edda;border:1px solid #c3e6cb;border-radius:6px;margin-top:1.5rem;padding:1rem}.milk-run-benefits h4{color:#155724;font-size:1rem;margin:0 0 .75rem}.milk-run-benefits ul{margin:0;padding-left:1.5rem}.milk-run-benefits li{color:#155724;font-size:.9rem;margin-bottom:.5rem}.milk-run-benefits li:last-child{margin-bottom:0}.edit-form{animation:fadeIn .2s ease}.edit-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(2,1fr)}.edit-field{display:flex;flex-direction:column;gap:.5rem}.edit-field.full-width{grid-column:1/-1}.edit-field label{color:#666;font-size:.85rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.edit-input{background-color:#fff;border:1px solid #ced4da;border-radius:4px;font-family:inherit;font-size:16px;padding:.75rem 1rem;transition:border-color .15s ease,box-shadow .15s ease;width:100%}.edit-input:focus{border-color:#8b0000;box-shadow:0 0 0 3px #8b00001a;outline:none}.edit-input::placeholder{color:#adb5bd}.edit-input.status-select.status-active{background-color:#d4edda;border-color:#28a745;color:#155724}.edit-input.status-select.status-inactive{background-color:#f8d7da;border-color:#dc3545;color:#721c24}.edit-textarea{line-height:1.5;min-height:100px;resize:vertical}.pagination-controls{background:#f8f9fa;border-radius:8px;gap:.75rem;margin-top:1rem}.pagination-controls button{font-size:.875rem;min-width:80px;padding:.5rem 1rem}.pagination-controls button:disabled{cursor:not-allowed;opacity:.5}.pagination-info{color:#495057;white-space:nowrap}@media (max-width:768px){.pagination-controls{flex-wrap:wrap;gap:.5rem}.pagination-controls button{font-size:.8rem;min-width:60px;padding:.4rem .75rem}.pagination-info{order:-1;padding:.5rem 0;text-align:center;width:100%}.edit-grid{gap:1rem;grid-template-columns:1fr}.edit-field.full-width{grid-column:1}.edit-input{min-height:48px;padding:.875rem 1rem}}@media (min-width:640px) and (max-width:1024px){.edit-grid{grid-template-columns:repeat(2,1fr)}}.pending-registrations-page{margin:0 auto;max-width:1400px;padding:2rem}.page-header-content{gap:2rem}.registrations-container{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden}.filters-section{background-color:#f8f9fa;border-bottom:1px solid #dee2e6;padding:1.5rem}.filter-group{gap:.75rem}.filter-group label{color:#495057}.filter-select{background-color:#fff;border:1px solid #ced4da;border-radius:4px;font-size:1rem;min-width:150px;padding:.75rem 1rem}.filter-select:focus{border-color:#8b0000;box-shadow:0 0 0 3px #8b00001a}.results-count{color:#666;font-size:.9rem;margin-left:auto}.registrations-table{border-collapse:collapse;width:100%}.registrations-table thead{background-color:#8b0000;color:#fff}.registrations-table th{font-size:.9rem;font-weight:600;letter-spacing:.5px;padding:1rem;text-align:left;text-transform:uppercase}.registrations-table tbody tr{border-bottom:1px solid #dee2e6;transition:background-color .15s ease}.registrations-table tbody tr:hover{background-color:#f8f9fa}.registrations-table td{font-size:.95rem;padding:1rem}.business-name{color:#2c3e50;font-weight:600}.email{color:#666}.no-data{padding:3rem;text-align:center}.btn-view{background-color:#8b0000;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.9rem;padding:.5rem 1rem;transition:background-color .15s ease}.btn-view:hover{background-color:#600}.status-pending{border:none}.status-approved{background-color:#10b981;border:none;color:#fff}.status-rejected{background-color:#ef4444;border:none;color:#fff}.status-expired{background-color:#6b7280;border:none;color:#fff}.step-badge{border-radius:20px;display:inline-block;font-size:.7rem;font-weight:600;letter-spacing:.3px;padding:.35rem .75rem;white-space:nowrap}.step-ready{background-color:#10b981;border:none;color:#fff}.step-password{background-color:#f59e0b;border:none;color:#fff}.step-email{background-color:#3b82f6;border:none;color:#fff}.step-other{background-color:#6b7280;border:none;color:#fff}.waiting-message{color:#666;font-size:.85rem;font-style:italic;padding:.5rem}.row-warning{background-color:#fff3cd!important}.row-expired{background-color:#f8d7da!important}.modal-content{max-width:700px}.registration-detail-modal{max-width:800px}.reject-modal{max-width:500px}.reject-header{background-color:#dc3545}.modal-close:hover{opacity:.8}.registration-status-banner{align-items:center;background-color:#f8f9fa;border-radius:6px;display:flex;justify-content:space-between;margin-bottom:1.5rem;padding:1rem}.submitted-date{color:#666;font-size:.9rem}.detail-section{margin-bottom:2rem}.detail-section:last-child{margin-bottom:0}.detail-section h3{border-bottom:2px solid #8b0000;color:#8b0000;font-size:1.1rem;margin-bottom:1rem}.detail-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.detail-item label{font-size:.9rem}.detail-item span{color:#2c3e50;font-size:1rem}.address-block,.referral-block{color:#2c3e50;line-height:1.6}.referral-block{background-color:#f8f9fa;border-radius:4px;padding:1rem}.rejection-section h3{border-bottom-color:#dc3545;color:#dc3545}.rejection-block{background-color:#f8d7da;border:1px solid #f5c6cb;border-radius:4px;color:#721c24;line-height:1.6;padding:1rem}.reviewed-info{color:#666;font-size:.875rem;font-style:italic;margin-top:.75rem}.reject-confirmation{color:#495057;font-size:1rem;margin-bottom:1.5rem}.reject-confirmation strong{color:#2c3e50}.form-group label{color:#495057}.form-group textarea{border:1px solid #ced4da;border-radius:4px;font-size:1rem}.form-group textarea:focus{border-color:#8b0000;box-shadow:0 0 0 3px #8b00001a;outline:none}.btn-approve{background-color:#28a745}.btn-approve:hover:not(:disabled){background-color:#218838}.btn-reject{background-color:#dc3545;color:#fff}.btn-reject:hover:not(:disabled){background-color:#c82333}@media (max-width:768px){.pending-registrations-page{padding:1rem}.page-header-content{gap:1rem}.filter-group,.filter-row,.page-header-content{align-items:stretch;flex-direction:column}.filter-select{min-height:48px;width:100%}.results-count{margin-left:0;padding:.5rem 0;text-align:center}.table-container{margin:0 -1rem}.registrations-table{font-size:.85rem;min-width:700px}.registrations-table td,.registrations-table th{padding:.75rem .5rem;white-space:nowrap}.btn-view{min-height:44px;padding:.5rem .75rem}.detail-grid{grid-template-columns:1fr}.registration-status-banner{flex-direction:column;gap:.75rem;text-align:center}.modal-overlay{align-items:stretch;padding:0}.modal-content{border-radius:0;display:flex;flex-direction:column;height:100vh;margin:0;max-height:100%;max-width:100%;width:100vw}.modal-header{border-radius:0;flex-shrink:0}.modal-body{flex:1 1;overflow-y:auto;padding:1rem}.modal-footer{background:#fff;border-top:1px solid #dee2e6;flex-direction:column-reverse;flex-shrink:0;gap:.75rem;padding:1rem}.modal-footer .btn{margin:0;min-height:48px;width:100%}.modal-footer .btn-approve{order:1}.modal-footer .btn-reject{order:2}.modal-footer .btn-secondary{order:3}.waiting-message{background:#f8f9fa;border-radius:4px;padding:.75rem;text-align:center;width:100%}}.store-club-members-page{margin:0 auto;max-width:1400px;padding:1rem}.page-header-content{align-items:center;display:flex;gap:1rem;justify-content:space-between}.page-header h1{color:#b91c1c;margin:0 0 .25rem}.page-subtitle{font-size:.9rem}.stat-card{border:1px solid #e5e7eb}.stat-card:hover{box-shadow:0 4px 12px #0000001a}.stat-card:active{transform:translateY(0)}.stat-card.active{border-color:#b91c1c;box-shadow:0 2px 8px #b91c1c26}.stat-value.pending{color:#b91c1c}.filters-section{background:#f8f9fa;border-radius:8px;margin-bottom:1rem}.search-row{align-items:center;gap:1rem}.results-count{white-space:nowrap}.members-list{display:flex;flex-direction:column;gap:.75rem}.member-card{background:#fff;border:1px solid #e5e7eb;border-left:4px solid #b91c1c;border-radius:8px;cursor:pointer;padding:1rem;transition:box-shadow .15s ease}.member-card:hover{box-shadow:0 4px 12px #00000014}.member-card-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:.5rem}.member-name{font-size:1rem;margin:0}.member-status{border-radius:20px;display:inline-block;font-size:.7rem;font-weight:600;letter-spacing:.5px;padding:.25rem .625rem;text-transform:uppercase}.member-status.approved{background:#d1fae5;color:#065f46}.member-status.pending{background:#fef3c7;color:#92400e}.member-contact{display:flex;flex-direction:column;gap:.25rem;margin-bottom:.5rem}.member-email,.member-phone{color:#6b7280;font-size:.875rem}.member-meta{color:#9ca3af;flex-wrap:wrap;font-size:.8rem}.member-meta span{align-items:center;display:flex;gap:.25rem}.member-fullscreen-view{background:#f5f5f5;bottom:0;display:flex;flex-direction:column;left:0;overflow:hidden;position:fixed;right:0;top:0;z-index:1000}.member-view-header{align-items:center;background:#b91c1c;color:#fff;display:flex;flex-shrink:0;justify-content:space-between;min-height:60px;padding:1rem}.member-header-left{flex:1 1;min-width:0}.member-header-left h1{font-size:1.25rem;font-weight:600;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-header-status{font-size:.75rem;margin-top:.125rem;opacity:.9}.header-actions button{font-size:.875rem;padding:.5rem .875rem}.btn-edit{background:#fff3}.btn-edit:hover{background:#ffffff4d}.btn-save{background:#22c55e}.btn-save:disabled{cursor:not-allowed;opacity:.6}.btn-cancel{background:#fff3}.member-view-tabs{background:#fff;border-bottom:1px solid #e5e7eb;display:flex;flex-shrink:0;overflow-x:auto}.member-view-tabs button{background:none;border:none;border-bottom:2px solid #0000;color:#6b7280;cursor:pointer;flex-shrink:0;font-size:.9rem;font-weight:500;padding:1rem 1.25rem;transition:color .15s,border-color .15s;white-space:nowrap}.member-view-tabs button:hover{color:#b91c1c}.member-view-tabs button.active{border-bottom-color:#b91c1c;color:#b91c1c}.member-view-tabs .tab-count{background:#e5e7eb;border-radius:10px;color:#6b7280;font-size:.75rem;margin-left:.375rem;padding:.125rem .5rem}.member-view-tabs button.active .tab-count{background:#fecaca;color:#b91c1c}.member-view-content{-webkit-overflow-scrolling:touch;flex:1 1;overflow-y:auto;padding:1rem}.detail-section h3{margin:0 0 1rem}.detail-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.detail-item{gap:.25rem}.detail-item p,.detail-item span{color:#1f2937;font-size:.95rem;margin:0}.address-block{color:#1f2937;line-height:1.5}.edit-form{display:flex;flex-direction:column;gap:1rem}.form-section{box-shadow:0 1px 3px #0000000d;padding:1rem}.form-section h3{border-bottom:1px solid #fecaca;font-size:.8rem;letter-spacing:.5px;margin:0 0 1rem;padding-bottom:.5rem;text-transform:uppercase}.form-grid{grid-gap:1rem;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.form-group{gap:.375rem}.form-group label{color:#6b7280;font-size:.75rem;letter-spacing:.5px;text-transform:uppercase}.form-group input,.form-group select,.form-group textarea{background:#fff;font-size:16px}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#b91c1c;box-shadow:0 0 0 3px #b91c1c1a}.password-section{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;margin-top:.5rem;padding:1rem}.password-section h4{color:#374151;font-size:.8rem;font-weight:600;margin:0 0 .75rem}.password-actions{display:flex;flex-direction:column;gap:.75rem}.btn-reset-password{background:#fff;border:1px solid #d1d5db;border-radius:6px;color:#374151;cursor:pointer;font-size:.9rem;font-weight:500;padding:.75rem 1rem;transition:all .15s;width:100%}.btn-reset-password:hover{background:#f9fafb;border-color:#b91c1c;color:#b91c1c}.password-input-group{display:flex;gap:.5rem}.password-input-group input{border:1px solid #d1d5db;border-radius:6px;flex:1 1;font-size:16px;padding:.75rem}.password-input-group input:focus{border-color:#b91c1c;outline:none}.btn-set-password{background:#b91c1c;border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:500;padding:.75rem 1rem;white-space:nowrap}.btn-set-password:disabled{cursor:not-allowed;opacity:.6}.animals-list{display:flex;flex-direction:column;gap:.75rem}.animal-card{box-shadow:0 1px 3px #0000000d;gap:1rem;padding:1rem}.animal-icon{align-items:center;background:#f3f4f6;border-radius:8px;display:flex;font-size:2rem;height:50px;justify-content:center;width:50px}.animal-name{font-size:1rem;margin:0 0 .25rem;text-transform:capitalize}.animal-details{color:#6b7280;font-size:.875rem}.orders-list{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000000d;overflow:hidden}.orders-table td,.orders-table th{border-bottom:1px solid #e5e7eb;padding:.75rem 1rem}.orders-table td{font-size:.875rem}.orders-table tr:last-child td{border-bottom:none}.order-status-badge{border-radius:4px;display:inline-block;font-size:.7rem;font-weight:600;padding:.25rem .5rem;text-transform:uppercase}.member-view-footer{background:#fff;border-top:1px solid #e5e7eb;display:flex;flex-shrink:0;gap:.75rem;padding:1rem}.member-view-footer button{border-radius:8px;cursor:pointer;flex:1 1;font-size:.9rem;font-weight:600;padding:.875rem 1rem;transition:all .15s}.btn-approve{background:#22c55e}.btn-approve:hover{background:#16a34a}.btn-approve:disabled{cursor:not-allowed;opacity:.6}.btn-remove{background:#fff;border:1px solid #dc2626;color:#dc2626}.btn-remove:hover{background:#fef2f2}.btn-remove:disabled{cursor:not-allowed;opacity:.6}.alert-error{background:#fef2f2}@media (max-width:640px){.store-club-members-page{padding:.5rem}.page-header-content{align-items:flex-start;flex-direction:column;gap:.5rem}.page-header h1{font-size:1.5rem}.stats-grid{gap:.75rem;grid-template-columns:repeat(2,1fr)}.stat-card{padding:1rem}.stat-value{font-size:1.5rem}.stat-label{font-size:.65rem}.search-row{flex-direction:column;gap:.5rem}.results-count{align-self:flex-start}.member-card{padding:.875rem}.member-header-left h1{font-size:1.125rem}.header-actions button{font-size:.8rem;padding:.5rem .75rem}.member-view-tabs button{font-size:.85rem;padding:.875rem 1rem}.detail-grid,.form-grid{grid-template-columns:1fr}.password-input-group{flex-direction:column}.orders-table{font-size:.8rem}.orders-table td,.orders-table th{padding:.5rem .75rem}.member-view-footer{flex-direction:column}}.user-management{margin:0 auto;max-width:1400px;padding:1.5rem}.user-management-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1.5rem}.user-management-header h1{color:#3f2021;font-size:1.75rem;margin:0}.alert{padding:.75rem 1rem}.alert-error{background-color:#f8d7da;border:1px solid #f5c6cb;color:#721c24}.user-filters{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1.5rem}.search-box{min-width:250px}.search-box input{width:100%}.role-filter,.search-box input{border:1px solid #ddd;border-radius:4px;font-size:.95rem;padding:.5rem .75rem}.role-filter{min-width:150px}.checkbox-label{font-size:.95rem}.user-table-container{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;overflow-x:auto}.user-table{border-collapse:collapse;min-width:900px;width:100%}.user-table td,.user-table th{border-bottom:1px solid #eee;padding:.75rem 1rem;text-align:left}.user-table th{background-color:#3f2021;color:#fff;font-size:.85rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.user-table tbody tr:hover{background-color:#f9f9f9}.user-table tbody tr.inactive-row{background-color:#f5f5f5;opacity:.6}.no-results{padding:2rem!important}.role-badge{border-radius:4px;font-size:.8rem;font-weight:500;padding:.25rem .5rem}.role-badge.role-admin{background-color:#7b1fa2;color:#fff}.role-badge.role-office{background-color:#1976d2;color:#fff}.role-badge.role-production{background-color:#388e3c;color:#fff}.role-badge.role-mill_worker{background-color:#f57c00;color:#fff}.role-badge.role-warehouse{background-color:#5d4037;color:#fff}.role-badge.role-readonly{background-color:#9e9e9e;color:#fff}.portal-access-badges{display:flex;flex-wrap:wrap;gap:.25rem}.access-badge{border-radius:3px;display:inline-block;font-size:.7rem;font-weight:600;padding:.2rem .4rem;text-transform:uppercase}.access-badge.admin{background-color:#7b1fa2;color:#fff}.access-badge.mill{background-color:#1a4d1a;color:#fff}.access-badge.store{background-color:#388e3c;color:#fff}.access-badge.crm{background-color:#1976d2;color:#fff}.access-badge.none{background-color:#e0e0e0;color:#666}.status-badge.active{background-color:#c8e6c9;color:#2e7d32}.status-badge.inactive{background-color:#ffcdd2;color:#c62828}.btn{min-height:44px}.btn-sm{min-height:32px;padding:.35rem .6rem}.btn-primary:hover{background-color:#5a3132}.btn-warning{background-color:#f0ad4e;color:#212529}.btn-warning:hover{background-color:#ec971f}.btn-danger:hover{background-color:#c82333}.btn-success:hover{background-color:#218838}.modal{box-shadow:0 4px 20px #0003;overflow-y:auto}.modal-sm{max-width:400px}.modal-header{background-color:#3f2021;padding:1rem 1.5rem}.close-btn{color:#fff;font-size:1.5rem;line-height:1}.close-btn:hover{opacity:.8}.modal-footer{background-color:#f8f9fa;border-radius:0 0 8px 8px}.form-group label{font-size:.9rem}.form-group input,.form-group select{border:1px solid #ddd;font-size:.95rem;min-height:44px;padding:.5rem .75rem}.form-group input:focus,.form-group select:focus{border-color:#3f2021;box-shadow:0 0 0 2px #3f20211a}.form-group input:disabled{background-color:#f5f5f5;cursor:not-allowed}.checkbox-group{flex-wrap:wrap;gap:1.5rem;padding:.5rem 0}.loading{font-size:1.1rem;justify-content:center}.desktop-table-container{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;overflow-x:auto}@media (max-width:768px){.user-management{padding:1rem}.user-management-header{align-items:stretch;flex-direction:column;gap:1rem}.user-management-header h1{font-size:1.5rem}.user-filters{align-items:stretch;flex-direction:column;gap:.75rem}.search-box{min-width:100%}.role-filter,.search-box input{font-size:16px;min-height:48px;width:100%}.desktop-table-container{display:none!important}.mobile-cards-container{display:block!important}.no-data-card{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;color:#666;padding:2rem;text-align:center}.form-row{grid-template-columns:1fr}.action-buttons{flex-direction:column}.action-buttons .btn-sm{text-align:center;width:100%}.modal-overlay{align-items:stretch;justify-content:stretch;padding:0}.modal{border-radius:0;bottom:0;display:flex;flex-direction:column;left:0;margin:0;max-height:none;max-width:none;position:fixed;right:0;top:0;width:100%;z-index:1001}.modal-header{border-radius:0;flex-shrink:0}.modal-body{-webkit-overflow-scrolling:touch;flex:1 1;overflow-y:auto;padding:1rem}.modal-footer{border-radius:0;flex-direction:column;flex-shrink:0;gap:.5rem}.modal-footer .btn{min-height:48px;width:100%}.close-btn{align-items:center;display:flex;justify-content:center;min-height:44px;min-width:44px}.checkbox-group{flex-direction:column;gap:.75rem}}@media (max-width:480px){.user-table td,.user-table th{font-size:.85rem;padding:.5rem}.portal-access-badges{flex-direction:column;gap:.2rem}}.modal-header-danger,.modal-header-danger .close-btn,.modal-header-danger h2{color:#fff}.delete-warning{padding:1rem 0;text-align:center}.delete-warning p{color:#333;margin:0 0 1rem}.delete-user-info{background:#f8f9fa;border-radius:4px;margin:1rem 0;padding:1rem}.delete-user-info strong{color:#333;display:block;font-size:1.1rem}.delete-user-info span{color:#666;font-size:.9rem}.delete-warning-text{color:#dc3545;font-size:.9rem;font-weight:500}.btn-outline-danger{background-color:initial;border:1px solid #dc3545;color:#dc3545}.btn-outline-danger:hover{background-color:#dc3545;color:#fff}.invoice-modal-overlay{align-items:center;background-color:#0009;bottom:0;display:flex;justify-content:center;left:0;padding:1rem;position:fixed;right:0;top:0;z-index:1000}.invoice-modal{background:#fff;border-radius:8px;box-shadow:0 4px 20px #0000004d;display:flex;flex-direction:column;max-height:90vh;max-width:700px;overflow:hidden;width:100%}.invoice-modal-header{align-items:center;background-color:#2d1516;color:#fff;display:flex;justify-content:space-between;padding:1rem 1.5rem}.invoice-modal-header h2{font-size:1.25rem;font-weight:600;margin:0}.invoice-modal-close{align-items:center;background:none;border:none;border-radius:4px;color:#fff;cursor:pointer;display:flex;font-size:1.5rem;height:32px;justify-content:center;padding:0;transition:background-color .2s;width:32px}.invoice-modal-close:hover{background-color:#ffffff1a}.invoice-modal-body{flex:1 1;overflow-y:auto;padding:1.5rem}.invoice-modal-body hr{border:none;border-top:1px solid #e5e7eb;margin:1rem 0}.invoice-section{margin-bottom:.5rem}.invoice-section h3{color:#374151;font-size:.875rem;font-weight:600;letter-spacing:.5px;margin:0 0 .75rem;text-transform:uppercase}.customer-info{background-color:#f9fafb;border-radius:6px;padding:.75rem 1rem}.customer-info strong{color:#111827;font-size:1rem}.customer-info p{color:#6b7280;font-size:.875rem;margin:.25rem 0 0}.invoice-items-table{border-collapse:collapse;font-size:.875rem;width:100%}.invoice-items-table th{border-bottom:2px solid #e5e7eb;color:#374151;font-weight:600;padding:.5rem;text-align:left}.invoice-items-table td:last-child,.invoice-items-table th:last-child{text-align:right}.invoice-items-table td{border-bottom:1px solid #f3f4f6;color:#4b5563;padding:.5rem}.invoice-subtotal{color:#374151;display:flex;font-weight:600;gap:2rem;justify-content:flex-end;padding:.75rem .5rem}.shipping-method-display{background-color:#fef3c7;border-radius:4px;font-size:.875rem;margin-bottom:1rem;padding:.5rem .75rem}.invoice-form-row{align-items:center;display:flex;gap:1rem;margin-bottom:.75rem}.invoice-form-row label{color:#374151;font-size:.875rem;font-weight:500;min-width:140px}.currency-input{align-items:center;display:flex;flex:1 1;max-width:150px}.currency-symbol{background-color:#f3f4f6;border:1px solid #d1d5db;border-radius:4px 0 0 4px;border-right:none;color:#6b7280;padding:.5rem .75rem}.currency-input input{border:1px solid #d1d5db;border-radius:0 4px 4px 0;flex:1 1;font-size:.875rem;padding:.5rem}.invoice-form-row input[type=date],.invoice-form-row input[type=text],.invoice-form-row textarea{border:1px solid #d1d5db;border-radius:4px;flex:1 1;font-size:.875rem;padding:.5rem}.invoice-form-row textarea{resize:vertical}.input-error{border-color:#ef4444!important}.shipping-warning{background-color:#fef3c7;border:1px solid #f59e0b;border-radius:6px;margin:1rem 0;padding:1rem}.warning-icon{margin-right:.5rem}.warning-actions{display:flex;gap:.5rem;margin-top:.75rem}.btn-warning-continue{background-color:#f59e0b;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.875rem;padding:.5rem 1rem}.btn-warning-continue:hover{background-color:#d97706}.btn-warning-cancel{background-color:#fff;border:1px solid #d1d5db;border-radius:4px;color:#374151;cursor:pointer;font-size:.875rem;padding:.5rem 1rem}.invoice-tax-section{background-color:#f9fafb;border-radius:6px;margin:.5rem 0;padding:1rem}.tax-info{color:#6b7280;display:flex;font-size:.875rem;justify-content:space-between;margin-bottom:.75rem}.tax-exempt-yes{color:#059669;font-weight:600}.tax-exempt-no{color:#dc2626}.invoice-total{border-top:2px solid #e5e7eb;color:#111827;display:flex;font-size:1.25rem;justify-content:space-between;padding-top:.5rem}.invoice-error{background-color:#fef2f2;border:1px solid #fecaca;border-radius:6px;color:#dc2626;font-size:.875rem;margin-top:1rem;padding:.75rem 1rem}.invoice-modal-footer{background-color:#f9fafb;border-top:1px solid #e5e7eb;padding:1rem 1.5rem}.footer-help{color:#6b7280;font-size:.75rem;margin-bottom:1rem}.footer-help p{margin:.25rem 0}.footer-actions{display:flex;gap:.75rem;justify-content:flex-end}.btn-secondary{background-color:#fff;padding:.625rem 1.25rem}.btn-secondary:hover{background-color:#f3f4f6}.btn-draft{background-color:#6b7280;border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:500;padding:.625rem 1.25rem;transition:all .2s}.btn-draft:hover{background-color:#4b5563}.btn-draft:disabled{cursor:not-allowed;opacity:.6}.btn-send{background-color:#059669;border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:500;padding:.625rem 1.25rem;transition:all .2s}.btn-send:hover:not(:disabled){background-color:#047857}.btn-send:disabled{cursor:not-allowed;opacity:.6}@media (max-width:640px){.invoice-modal{border-radius:0;max-height:100vh}.invoice-form-row{align-items:stretch;flex-direction:column;gap:.5rem}.invoice-form-row label{min-width:auto}.currency-input{max-width:none}.footer-actions{flex-direction:column}.footer-actions button{min-height:48px;width:100%}input,select,textarea{font-size:16px!important}}.orders-page{margin:0 auto;max-width:1400px;padding:2rem}.btn-new-order{background-color:#8b0000;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:1rem;font-weight:500;padding:.75rem 1.5rem;transition:background-color .15s ease}.btn-new-order:hover{background-color:#600}.orders-tabs{-webkit-overflow-scrolling:touch;background:#f3f4f6;border-radius:8px;display:flex;gap:.25rem;margin-bottom:1rem;overflow-x:auto;padding:.25rem}.tab-button{align-items:center;background:#0000;border-radius:6px;color:#4b5563;display:flex;font-size:.9rem;gap:.5rem;min-height:44px;transition:all .15s ease;white-space:nowrap}.tab-button:hover{background:#e5e7eb;color:#1f2937}.tab-button.active{background:#fff;box-shadow:0 1px 3px #0000001a;color:#8b0000}.tab-badge{align-items:center;background:#e5e7eb;border-radius:999px;color:#4b5563;display:inline-flex;height:1.5rem;justify-content:center;min-width:1.5rem;padding:0 .4rem}.tab-button.active .tab-badge{background:#8b0000;color:#fff}.tab-badge.badge-warning{background:#f59e0b;color:#fff}.filters-section{border-bottom:1px solid #e5e7eb;padding:1rem}.filter-row{align-items:center;display:flex;flex-wrap:wrap;gap:1rem}.btn-filter-toggle{background:#f3f4f6;border:1px solid #d1d5db;border-radius:6px;color:#374151;cursor:pointer;font-size:.875rem;font-weight:500;min-height:44px;padding:.5rem 1rem;transition:all .15s ease}.btn-filter-toggle:hover{background:#e5e7eb}.btn-filter-toggle.active{background:#dbeafe;border-color:#3b82f6;color:#1d4ed8}.results-count{color:#6b7280;flex:1 1;font-size:.875rem}.filters-panel{grid-gap:1rem;border-top:1px solid #e5e7eb;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));margin-top:1rem;padding-top:1rem}.filter-group{gap:.375rem}.filter-group label{color:#374151;font-size:.8rem}.filter-input{border:1px solid #d1d5db;border-radius:6px;font-size:.9rem;min-height:44px;padding:.625rem .75rem}.filter-input:focus{border-color:#8b0000;box-shadow:0 0 0 3px #8b00001a;outline:none}.filter-checkbox{align-items:center;flex-direction:row}.filter-checkbox label{align-items:center;cursor:pointer;display:flex;gap:.5rem}.filter-checkbox input[type=checkbox]{height:18px;width:18px}.filter-actions{align-items:flex-end;gap:.5rem}.filter-actions .btn{border-radius:6px;cursor:pointer;font-weight:500;min-height:44px;padding:.625rem 1rem}.filter-actions .btn-primary{background:#8b0000;border:none;color:#fff}.filter-actions .btn-primary:hover{background:#600}.filter-actions .btn-secondary{background:#f3f4f6;border:1px solid #d1d5db;color:#374151}.filter-actions .btn-secondary:hover{background:#e5e7eb}.pagination-controls{background:#f9fafb;border-top:1px solid #e5e7eb;gap:.5rem;padding:1rem}.btn-pagination{background:#fff;border:1px solid #d1d5db;border-radius:6px;color:#374151;cursor:pointer;font-size:.875rem;font-weight:500;min-height:40px;padding:.5rem 1rem;transition:all .15s ease}.btn-pagination:hover:not(:disabled){background:#f3f4f6;border-color:#9ca3af}.btn-pagination:disabled{cursor:not-allowed;opacity:.5}.pagination-info{font-size:.875rem;font-weight:500;padding:0 1rem}.loading-overlay{align-items:center;background:#fffc;bottom:0;color:#6b7280;display:flex;font-weight:500;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:10}.status-draft{background-color:#9ca3af;color:#fff}.orders-container{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden;position:relative}.orders-table{border-collapse:collapse;width:100%}.orders-table thead{background-color:#8b0000;color:#fff}.orders-table th{font-size:.9rem;letter-spacing:.5px;padding:1rem;text-align:left}.orders-table tbody tr{border-bottom:1px solid #dee2e6;cursor:pointer;transition:background-color .15s ease}.orders-table tbody tr:hover{background-color:#f8f9fa}.orders-table td{font-size:.95rem;padding:1rem}.customer-name{color:#2c3e50;font-weight:500}.order-total{color:#28a745}.status-pending{background-color:#f59e0b;color:#fff}.status-confirmed{background-color:#06b6d4;color:#fff}.status-production{background-color:#8b5cf6;color:#fff}.status-ready{background-color:#22c55e;color:#fff}.status-shipped{background-color:#6366f1;color:#fff}.status-delivered{background-color:#10b981;color:#fff}.status-cancelled{background-color:#ef4444;color:#fff}.status-default{background-color:#6b7280;color:#fff}.order-detail-modal .modal-footer{background:#f9fafb;border-top:1px solid #e5e7eb;display:flex;flex-wrap:wrap;gap:.75rem;padding:1rem 1.5rem}.order-detail-modal .modal-footer .btn{border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:500;padding:.625rem 1rem;transition:all .15s ease;white-space:nowrap}.order-detail-modal .modal-footer .btn-confirm{background:#059669;border:none;color:#fff}.order-detail-modal .modal-footer .btn-confirm:hover{background:#047857}.order-detail-modal .modal-footer .btn-edit{background:#3b82f6;border:none;color:#fff}.order-detail-modal .modal-footer .btn-edit:hover{background:#2563eb}.order-detail-modal .modal-footer .btn-cancel-order{background:#dc2626;border:none;color:#fff}.order-detail-modal .modal-footer .btn-cancel-order:hover{background:#b91c1c}.order-detail-modal .modal-footer .btn-invoice,.order-detail-modal .modal-footer .btn-view-invoice{background:#8b5cf6;border:none;color:#fff}.order-detail-modal .modal-footer .btn-invoice:hover,.order-detail-modal .modal-footer .btn-view-invoice:hover{background:#7c3aed}.order-detail-modal .modal-footer .btn-primary{background:#8b0000;border:none;color:#fff}.order-detail-modal .modal-footer .btn-primary:hover{background:#600}.order-detail-modal .modal-footer .btn-secondary{background:#6b7280;border:none;color:#fff}.order-detail-modal .modal-footer .btn-secondary:hover{background:#4b5563}.items-table{margin-top:.5rem}.items-table thead{background-color:#f8f9fa}.items-table th{border-bottom:2px solid #dee2e6;color:#666;font-size:.85rem;letter-spacing:.5px;padding:.75rem;text-align:left;text-transform:uppercase}.items-table tbody tr{border-bottom:1px solid #dee2e6}.items-table td{font-size:.9rem;padding:.75rem}.total-breakdown{background-color:#f8f9fa;border-radius:4px;margin-left:auto;max-width:400px;padding:1.5rem}.total-row{font-size:1rem;padding:.5rem 0}.total-final{border-top:2px solid #8b0000;color:#8b0000;font-size:1.25rem;font-weight:700;margin-top:.5rem;padding-top:1rem}.pending-alert{align-items:center;background-color:#fff3cd;border:2px solid #856404;border-radius:8px;box-shadow:0 2px 4px #8564041a;display:flex;gap:1rem;margin-bottom:1.5rem;padding:1.25rem}.alert-icon{font-size:2rem}.alert-content strong{color:#856404;display:block;font-size:1.1rem;margin-bottom:.25rem}.alert-content p{color:#856404;font-size:.95rem;margin:0}.btn-confirm{background-color:#28a745;border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:600;margin-right:10px;padding:10px 20px}.btn-confirm:hover:not(:disabled){background-color:#218838}.btn-confirm:disabled{background-color:#6c757d;cursor:not-allowed}.btn-edit{background-color:#007bff;border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:600;margin-right:10px;padding:10px 20px}.btn-edit:hover{background-color:#0056b3}.btn-cancel-order{background-color:#dc3545;border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:600;margin-right:10px;padding:10px 20px}.btn-cancel-order:hover{background-color:#c82333}.btn-secondary:hover{background-color:#5a6268}.invoice-badge{border-radius:4px;display:inline-block;font-size:.8rem;font-weight:600;padding:.25rem .5rem;white-space:nowrap}.invoice-badge.invoice-none{background-color:initial;color:#9ca3af}.btn-invoice{background-color:#059669;border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:600;margin-right:10px;padding:10px 20px}.btn-invoice:hover{background-color:#047857}.btn-view-invoice{background-color:#6366f1;border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:600;margin-right:10px;padding:10px 20px}.btn-view-invoice:hover{background-color:#4f46e5}.alert-success{background-color:#f0fdf4;border:1px solid #86efac;border-radius:8px;color:#166534;margin-bottom:1.5rem;padding:1rem}.invoice-prompt-modal{animation:slideUp .2s ease-out;background:#fff;border-radius:12px;box-shadow:0 4px 20px #0000004d;max-width:420px;overflow:hidden;width:100%}.invoice-prompt-header{align-items:center;background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff;display:flex;gap:.75rem;padding:1.25rem 1.5rem}.invoice-prompt-icon{font-size:1.5rem}.invoice-prompt-header h3{font-size:1.25rem;font-weight:600;margin:0}.invoice-prompt-body{padding:1.5rem}.invoice-prompt-body p{color:#374151;line-height:1.5;margin:0 0 .75rem}.invoice-prompt-body p:last-child{font-size:1.05rem;margin-bottom:0}.invoice-prompt-footer{display:flex;flex-direction:column;gap:.75rem;padding:0 1.5rem 1.5rem}.btn-invoice-prompt-create{background:linear-gradient(135deg,#2d5a27,#4a7c42);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:.875rem 1.5rem;transition:transform .15s,box-shadow .15s}.btn-invoice-prompt-create:hover{box-shadow:0 4px 12px #2d5a274d;transform:translateY(-1px)}.btn-invoice-prompt-skip{background:#0000;border:none;border-radius:6px;color:#6b7280;cursor:pointer;font-size:.9rem;font-weight:500;padding:.625rem 1rem;transition:background-color .15s}.btn-invoice-prompt-skip:hover{background-color:#f3f4f6}@media (max-width:768px){.orders-page{padding:1rem}.page-header h1{font-size:1.5rem}.page-subtitle{font-size:.9rem}.filter-row{align-items:stretch;flex-direction:column;gap:.75rem}.filter-select{font-size:16px;min-height:44px;width:100%}.btn-new-order{min-height:48px;width:100%}.orders-container{border-radius:8px;margin:0;overflow:visible}.desktop-table-container{display:none!important}.mobile-cards-container{display:block!important}.items-table{font-size:.8rem;min-width:500px}.items-table td,.items-table th{padding:.5rem .25rem}.total-breakdown{max-width:none}.pending-alert{flex-direction:column;padding:1rem;text-align:center}.pending-alert .alert-content strong{font-size:.9rem}.order-detail-modal.modal-overlay{align-items:stretch!important;background:#00000080!important;justify-content:stretch!important;padding:0!important;z-index:1000!important}.order-detail-modal .order-detail-content.modal-content,.order-detail-modal.modal-overlay{bottom:0!important;display:flex!important;height:100%!important;left:0!important;margin:0!important;position:fixed!important;right:0!important;top:0!important;width:100%!important}.order-detail-modal .order-detail-content.modal-content{background:#fff!important;border-radius:0!important;flex-direction:column!important;max-height:none!important;max-width:none!important;overflow:hidden!important;z-index:1001!important}.order-detail-modal .modal-header{align-items:center;background:#8b2635;border-radius:0;color:#fff;display:flex;flex-shrink:0;justify-content:space-between;padding:1rem}.order-detail-modal .modal-header h2{color:#fff;font-size:1.25rem;margin:0}.order-detail-modal .modal-header .status-badge{margin-left:.5rem}.order-detail-modal .modal-close{align-items:center;background:#0000;border:none;color:#fff;cursor:pointer;display:flex;font-size:1.5rem;justify-content:center;min-height:44px;min-width:44px;padding:.5rem}.order-detail-modal .modal-body{-webkit-overflow-scrolling:touch;flex:1 1;overflow-y:auto;padding:1rem}.order-detail-modal .detail-section{-webkit-overflow-scrolling:touch;overflow-x:auto}.order-detail-modal .detail-grid{gap:.75rem;grid-template-columns:1fr}.order-detail-modal .modal-footer{background:#fff;border-top:1px solid #eee;flex-direction:column;flex-shrink:0;gap:.5rem;padding:1rem}.order-detail-modal .btn-cancel-order,.order-detail-modal .btn-confirm,.order-detail-modal .btn-edit,.order-detail-modal .btn-secondary,.order-detail-modal .modal-footer .btn{margin-bottom:0;margin-right:0;min-height:48px;width:100%}.no-data-card{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;color:#666;padding:2rem;text-align:center}}.print-only-order-detail{display:none}.btn-primary{background-color:#3f2021;margin-right:10px}.btn-primary:hover{background-color:#e73c3e}@media print{body{margin:0;padding:0}.btn,.filters-section,.modal-body,.modal-footer,.modal-header,.no-print,.orders-container,.page-header,.pending-alert,.table-container,header,nav{display:none!important}.modal-overlay{background:#0000!important;display:block!important;position:static!important}.print-only-order-detail{background:#fff;color:#000;display:block!important;font-size:11pt;line-height:1.4;margin:0;min-height:11in;padding:.5in;width:8.5in}.modal-content{border:none!important;box-shadow:none!important;display:block!important;margin:0!important;max-height:none!important;max-width:100%!important;overflow:visible!important;padding:0!important;position:static!important;transform:none!important}.print-header{margin-bottom:20pt;text-align:center}.company-info h1{color:#3f2021;font-size:18pt;font-weight:700;letter-spacing:.5pt;margin:0 0 8pt}.company-info p{color:#000;font-size:10pt;margin:2pt 0}.print-divider{border-top:1pt solid #c3ad8b;margin:15pt 0}.print-title{color:#3f2021;font-size:14pt;font-weight:700;margin:10pt 0;text-align:center}.print-order-info{margin-bottom:10pt}.print-order-info p{font-size:10pt;margin:4pt 0}.rush-indicator{color:#e73c3e;font-size:11pt}.print-customer-section{grid-gap:20pt;display:grid;gap:20pt;grid-template-columns:1fr 1fr;margin:15pt 0}.print-bill-to h3,.print-ship-to h3{color:#3f2021;font-size:11pt;font-weight:700;margin:0 0 8pt;text-transform:uppercase}.print-bill-to p,.print-ship-to p{font-size:10pt;margin:3pt 0}.print-order-table{border-collapse:collapse;margin:15pt 0;width:100%}.print-order-table th{background-color:#f5f5f5;border-bottom:2pt solid #3f2021;font-size:10pt;font-weight:700;padding:8pt;text-align:left}.print-order-table td{border-bottom:1pt solid #e0e0e0;font-size:10pt;padding:10pt 8pt}.print-order-table .text-right{text-align:right}.print-item-name{font-weight:700;margin-bottom:4pt}.print-item-details{color:#666;font-size:9pt;margin:2pt 0}.print-totals{margin:15pt 0 15pt auto;width:60%}.print-total-row{display:flex;font-size:10pt;justify-content:space-between;padding:5pt 10pt}.print-final-total{border-top:2pt solid #3f2021;font-size:12pt;margin-top:8pt;padding-top:8pt}.print-special-instructions h3{color:#3f2021;font-size:11pt;font-weight:700;margin:0 0 8pt}.print-special-instructions p{background-color:#f9f9f9;border-left:3pt solid #c3ad8b;font-size:10pt;margin:0;padding:8pt}.print-entered-by{color:#666;font-size:9pt;margin:10pt 0;text-align:right}.print-footer{border-top:1pt solid #c3ad8b;margin-top:20pt;padding-top:15pt;text-align:center}.print-footer p{font-size:10pt;margin:4pt 0}.print-footer p:first-child{color:#3f2021;font-size:11pt;font-weight:700}.print-footer em{color:#666;font-style:italic}.print-only-order-detail{page-break-after:auto}.print-order-table,.print-order-table tr{page-break-inside:avoid}.print-order-table tr{page-break-after:auto}@page{size:letter;margin:.5in}}.bulk-action-bar{align-items:center;background:#fef3c7;border:1px solid #f59e0b;border-radius:8px;display:flex;justify-content:space-between;margin-bottom:1rem;padding:1rem}.bulk-count{color:#92400e;font-weight:600}.bulk-actions{display:flex;gap:.75rem}.btn-bulk-confirm{background-color:#22c55e;border:none;border-radius:4px;color:#fff;cursor:pointer;font-weight:500;padding:.5rem 1rem}.btn-bulk-confirm:hover{background-color:#16a34a}.btn-bulk-delete{background-color:#ef4444;border:none;border-radius:4px;color:#fff;cursor:pointer;font-weight:500;padding:.5rem 1rem}.btn-bulk-delete:hover{background-color:#dc2626}.btn-bulk-clear{background-color:#6b7280;border:none;border-radius:4px;color:#fff;cursor:pointer;font-weight:500;padding:.5rem 1rem}.btn-bulk-clear:hover{background-color:#4b5563}.checkbox-column{text-align:center;width:40px}.checkbox-column input[type=checkbox]{cursor:pointer;height:18px;width:18px}.row-selected{background-color:#dbeafe!important}.row-selected:hover{background-color:#bfdbfe!important}.formulas-page{margin:0 auto;max-width:1400px;padding:2rem}.alert{border-radius:6px;font-size:14px}.alert-error{background:#fee2e2;border:1px solid #fecaca;color:#991b1b}.formulas-container{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden}.formulas-table{border-collapse:collapse;width:100%}.formulas-table thead{background-color:#8b0000;color:#fff}.formulas-table th{font-size:.9rem;font-weight:600;letter-spacing:.5px;padding:1rem;text-align:left;text-transform:uppercase}.formulas-table tbody tr{border-bottom:1px solid #dee2e6;cursor:pointer;transition:background-color .15s ease}.formulas-table tbody tr:hover{background-color:#f8f9fa}.formulas-table td{font-size:.95rem;padding:1rem}.formula-name{color:#2c3e50;font-weight:600}.grade-badge{border-radius:12px;display:inline-block;font-size:.85rem;font-weight:600;letter-spacing:.5px;padding:.35rem .75rem;text-transform:uppercase}.grade-essential{background-color:#e7f3ff;color:#004085}.grade-plus{background-color:#fff3cd;color:#856404}.grade-five_star{background-color:#d4edda;color:#155724}.forms-list{color:#666;font-size:.9rem}.detail-section{margin-bottom:24px}.detail-section h3{border-bottom:1px solid #e5e7eb;color:#374151;font-size:16px;margin:0 0 12px;padding-bottom:8px}.detail-grid{grid-gap:12px;gap:12px}.detail-item{display:flex;flex-direction:column;gap:4px}.detail-item label{color:#6b7280;font-size:12px;font-weight:600}.detail-item span{color:#1f2937;font-size:14px}.description-block{background-color:#f8f9fa;border-radius:4px;color:#2c3e50;line-height:1.6;margin-top:1rem;padding:1rem}.pricing-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(2,1fr);margin-top:1rem}.pricing-item{align-items:center;background-color:#f8f9fa;border-radius:4px;display:flex;justify-content:space-between;padding:.75rem}.pricing-item label{color:#666;font-size:.9rem;font-weight:600}.pricing-item span{color:#2c3e50;font-family:Courier New,monospace;font-weight:600}.ingredients-table{border-collapse:collapse;margin-top:.5rem;width:100%}.ingredients-table thead{background-color:#f8f9fa}.ingredients-table th{border-bottom:2px solid #dee2e6;color:#666;font-size:.85rem;font-weight:600;letter-spacing:.5px;padding:.75rem;text-align:left;text-transform:uppercase}.ingredients-table tbody tr{border-bottom:1px solid #dee2e6}.ingredients-table td{font-size:.9rem;padding:.75rem}.formula-fullscreen-view{background:#fff;bottom:0;display:flex;flex-direction:column;height:100%;left:0;overflow:hidden;position:fixed;right:0;top:0;width:100%;z-index:1000}.formula-view-header{align-items:center;background:#b91c1c;color:#fff;display:flex;flex-shrink:0;justify-content:space-between;padding:16px}.formula-header-info{align-items:center;display:flex;flex:1 1;gap:12px;min-width:0}.formula-header-info h2{font-size:1.25rem;font-weight:600;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.formula-header-info .grade-badge{flex-shrink:0}.formula-header-actions{align-items:center;display:flex;flex-shrink:0;gap:8px}.formula-view-close{background:#0000;border:none;color:#fff;cursor:pointer;font-size:24px;line-height:1;padding:4px 8px}.formula-view-close:hover{opacity:.8}.formula-view-content{-webkit-overflow-scrolling:touch;flex:1 1;overflow-y:auto;padding:16px}.formula-error{margin:0 0 16px}.formula-edit-form{padding:0}.formula-edit-form .form-group{margin-bottom:16px}.formula-edit-form label{color:#6b7280;display:block;font-size:12px;font-weight:600;margin-bottom:6px;text-transform:uppercase}.formula-edit-form input,.formula-edit-form select,.formula-edit-form textarea{border:1px solid #d1d5db;border-radius:6px;box-sizing:border-box;font-size:16px;padding:12px;width:100%}.formula-edit-form input:focus,.formula-edit-form select:focus,.formula-edit-form textarea:focus{border-color:#b91c1c;box-shadow:0 0 0 2px #b91c1c1a;outline:none}.formula-edit-form textarea{min-height:100px;resize:vertical}.checkbox-group{display:flex;gap:16px}.checkbox-label{align-items:center;font-size:14px;gap:8px}.checkbox-label.inline{font-size:14px;font-weight:500}.checkbox-label input[type=checkbox]{cursor:pointer;height:18px;width:18px}.status-active{color:#059669;font-weight:600}.status-inactive{color:#dc2626;font-weight:600}.btn{padding:10px 16px}.btn-sm{padding:8px 12px}.btn-primary{background:#fff;color:#b91c1c}.btn-primary:hover{background:#f3f4f6}.btn-primary:disabled{opacity:.6}.btn-secondary{background:#fff3}.btn-secondary:hover{background:#ffffff4d}.btn-new-formula{background:#b91c1c;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:12px 20px;transition:background .15s ease}.btn-new-formula:hover{background:#991b1b}.form-section{margin-top:24px;padding-top:24px}.form-section h3{color:#b91c1c;font-size:16px;margin:0 0 8px}.section-description{color:#6b7280;font-size:14px;margin:0 0 16px}.availability-options{display:flex;flex-direction:column;gap:12px}.radio-option{align-items:flex-start;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;display:flex;gap:12px;padding:12px;transition:all .15s ease}.radio-option:hover{background:#f9fafb}.radio-option:has(input:checked){background:#fef2f2;border-color:#b91c1c}.radio-option input[type=radio]{accent-color:#b91c1c;cursor:pointer;height:18px;margin-top:2px;width:18px}.radio-content{display:flex;flex-direction:column;gap:2px}.radio-title{color:#111827;font-size:14px;font-weight:600}.radio-description{color:#6b7280;font-size:13px}.ingredients-edit{margin-top:16px}.ingredient-header-row{border-bottom:2px solid #e5e7eb;color:#6b7280;font-size:12px;font-weight:600;padding:8px 0;text-transform:uppercase}.ingredient-edit-row,.ingredient-header-row{grid-gap:8px;display:grid;gap:8px;grid-template-columns:2fr 1fr 1fr 40px}.ingredient-edit-row{align-items:center;border-bottom:1px solid #f3f4f6;padding:12px 0}.ingredient-edit-row select{background:#fff}.ingredient-edit-row .percentage-input,.ingredient-edit-row select{border:1px solid #d1d5db;border-radius:4px;font-size:14px;padding:10px;width:100%}.ingredient-edit-row .percentage-input{text-align:right}.ingredient-edit-row .cost-display{color:#6b7280;font-family:Courier New,monospace;font-size:14px;text-align:right}.btn-remove-ingredient{align-items:center;background:#fee2e2;border:none;border-radius:4px;color:#dc2626;cursor:pointer;display:flex;font-size:16px;height:32px;justify-content:center;transition:background .15s ease;width:32px}.btn-remove-ingredient:hover{background:#fecaca}.btn-add-ingredient{background:#f3f4f6;border:1px dashed #9ca3af;border-radius:6px;color:#374151;cursor:pointer;font-size:14px;margin-top:16px;padding:12px 16px;transition:background .15s ease;width:100%}.btn-add-ingredient:hover{background:#e5e7eb}.total-percentage{border-radius:6px;font-weight:600;margin-top:16px;padding:12px;text-align:right}.total-percentage.valid{background:#d1fae5;color:#065f46}.total-percentage.warning{background:#fef3c7;color:#92400e}.total-percentage .warning-text{font-size:12px;font-weight:400}@media (max-width:768px){.formulas-page{padding:1rem}.page-header{flex-direction:column;gap:4px;text-align:center}.page-header h1{font-size:1.5rem}.page-subtitle{font-size:.875rem}.filter-row{align-items:stretch;flex-direction:column;gap:.75rem}.filter-group,.search-box{max-width:none;min-width:auto}.filter-select,.search-input{font-size:16px;min-height:48px}.results-count{margin-left:0;text-align:center}.desktop-table-container{display:none!important}.mobile-cards-container{display:block!important}.formulas-container{overflow:visible}.no-data-card{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;color:#666;padding:2rem;text-align:center}.pricing-grid{grid-template-columns:1fr}.ingredients-table{font-size:.8rem}.ingredients-table td,.ingredients-table th{padding:.5rem .25rem}.ingredient-edit-row,.ingredient-header-row{gap:4px;grid-template-columns:1.5fr 1fr .8fr 36px}.ingredient-edit-row .percentage-input,.ingredient-edit-row select{font-size:14px;padding:10px 6px}.ingredient-edit-row .cost-display{font-size:12px}.btn-remove-ingredient{font-size:14px;height:28px;width:28px}.btn-new-formula{margin-top:12px;width:100%}.formula-header-info h2{font-size:1.1rem}.formula-header-info .grade-badge{font-size:.75rem;padding:.25rem .5rem}}.inventory-page{margin:0 auto;max-width:1400px;padding:2rem}.stock-summary{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:2rem}.summary-card{border-left:4px solid #28a745;box-shadow:0 2px 4px #0000001a}.summary-card.warning{border-left-color:#ffc107}.summary-card.danger{border-left-color:#dc3545}.summary-label{font-size:.9rem;margin-bottom:.5rem}.summary-value{color:#2c3e50;font-size:2.5rem}.inventory-container{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden}.checkbox-filter{cursor:pointer;display:flex;gap:.5rem;-webkit-user-select:none;user-select:none}.checkbox-filter input[type=checkbox]{cursor:pointer;height:18px;width:18px}.checkbox-filter span{color:#2c3e50;font-size:.95rem}.inventory-table{border-collapse:collapse;width:100%}.inventory-table thead{background-color:#8b0000;color:#fff}.inventory-table th{font-size:.9rem;font-weight:600;letter-spacing:.5px;padding:1rem;text-align:left;text-transform:uppercase}.inventory-table tbody tr{border-bottom:1px solid #dee2e6;cursor:pointer;transition:background-color .15s ease}.inventory-table tbody tr:hover{background-color:#f8f9fa}.inventory-table tbody tr.status-low{background-color:#fff8e1}.inventory-table tbody tr.status-out{background-color:#ffebee}.inventory-table td{font-size:.95rem;padding:1rem}.material-name{color:#2c3e50;font-weight:600}.qty-column{font-family:Courier New,monospace;text-align:right}.qty-column.available{color:#2c3e50;font-weight:700}.cost-column{color:#28a745;font-family:Courier New,monospace;font-weight:600;text-align:right}.stock-badge{border-radius:12px;display:inline-block;font-size:.75rem;font-weight:700;letter-spacing:.5px;padding:.35rem .75rem;text-transform:uppercase}.stock-badge.status-ok{background-color:#d4edda;color:#155724}.stock-badge.status-low{background-color:#fff3cd;color:#856404}.stock-badge.status-out{background-color:#f8d7da;color:#721c24}.modal-header>div{align-items:center;display:flex;gap:1rem}.qty-value{color:#2c3e50;font-family:Courier New,monospace;font-size:1.05rem;font-weight:600}.qty-value.highlight{color:#8b0000;font-size:1.15rem;font-weight:700}.cost-value{color:#28a745;font-family:Courier New,monospace;font-size:1.1rem;font-weight:700}.alert-box{border-radius:4px;margin-top:1.5rem;padding:1rem 1.5rem}.alert-box.warning{background-color:#fff3cd;border-left:4px solid #ffc107}.alert-box.danger{background-color:#f8d7da;border-left:4px solid #dc3545}.alert-box strong{display:block;font-size:1.05rem;margin-bottom:.5rem}.alert-box p{color:#2c3e50;line-height:1.5;margin:0}.desktop-table-container{display:block}@media (max-width:768px){.inventory-page{padding:1rem}.page-header h1{font-size:1.5rem}.stock-summary{gap:1rem;grid-template-columns:1fr}.summary-card{padding:1rem}.summary-value{font-size:2rem}.filter-row{align-items:stretch;flex-direction:column;gap:.75rem}.search-box{max-width:none}.search-input{font-size:16px;min-height:48px}.checkbox-filter{justify-content:flex-start;min-height:48px;padding:.5rem 0}.checkbox-filter input[type=checkbox]{height:22px;width:22px}.results-count{margin-left:0;text-align:center}.inventory-container{border-radius:8px;margin:0;overflow:visible}.desktop-table-container{display:none!important}.mobile-cards-container{display:block!important}.no-data-card{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;color:#666;padding:2rem;text-align:center}.detail-grid{grid-template-columns:1fr}.modal-overlay{align-items:stretch;background:#00000080;justify-content:stretch;padding:0;z-index:1000}.modal-content,.modal-overlay{bottom:0;display:flex;left:0;position:fixed;right:0;top:0}.modal-content{background:#fff;border-radius:0;flex-direction:column;margin:0;max-height:none;max-width:none;width:100%;z-index:1001}.modal-header{align-items:center;background:#8b2635;color:#fff;display:flex;flex-shrink:0;justify-content:space-between;padding:1rem}.modal-header h2{color:#fff;font-size:1.1rem}.modal-close{background:#0000;border:none;color:#fff;cursor:pointer;font-size:1.5rem;min-height:44px;min-width:44px;padding:.5rem}.modal-body{-webkit-overflow-scrolling:touch;flex:1 1;overflow-y:auto;padding:1rem}.modal-footer{background:#fff;border-top:1px solid #ddd;flex-shrink:0;padding:1rem}.modal-footer .btn{margin:.25rem 0;min-height:48px;width:100%}}.gospel-overlay{align-items:center;animation:gospelFadeIn .2s ease;background:#0009;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:10001}@keyframes gospelFadeIn{0%{opacity:0}to{opacity:1}}.gospel-modal{animation:gospelSlideUp .3s ease;background:linear-gradient(180deg,#fffdf9,#f9f5f0);border-radius:20px;box-shadow:0 24px 80px #00000040;max-height:90vh;max-width:560px;overflow-y:auto;padding:48px 40px;position:relative;width:100%}@keyframes gospelSlideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.gospel-close{background:#fffc;border:none;border-radius:50%;color:#8b7355;cursor:pointer;font-size:26px;height:36px;line-height:1;position:absolute;right:20px;top:20px;transition:all .2s;width:36px}.gospel-close:hover{background:#fff;color:#6d5a42}.gospel-content{text-align:center}.gospel-step-indicator{display:flex;gap:8px;justify-content:center;margin-bottom:32px}.gospel-step-dot{background:#e0d6c8;border-radius:50%;height:10px;transition:all .3s;width:10px}.gospel-step-dot.active{background:#508590;transform:scale(1.2)}.gospel-step-dot.completed{background:#7fa8b0}.gospel-title{color:#3d3428;font-family:Georgia,Times New Roman,serif;font-size:32px;font-weight:600;line-height:1.2;margin:0 0 24px}.gospel-body{color:#5a4d3c;font-size:17px;line-height:1.8;margin:0 0 28px;text-align:left}.gospel-body-small{color:#6d5a42;font-size:15px;line-height:1.7;margin:0 0 24px;text-align:left}.gospel-verses{margin:32px 0}.gospel-verse{background:#fff;border-left:4px solid #508590;border-radius:0 12px 12px 0;margin:0 0 16px;padding:20px 24px;text-align:left}.gospel-verse:last-child{margin-bottom:0}.gospel-verse p{color:#3d3428;font-family:Georgia,serif;font-size:17px;font-style:italic;line-height:1.7;margin:0 0 10px}.gospel-verse cite{color:#508590;font-size:14px;font-style:normal;font-weight:600}.gospel-prayer-box{background:#fff;border:2px solid #508590;border-radius:16px;margin:28px 0;padding:28px 24px;text-align:left}.gospel-prayer-box p{color:#3d3428;font-family:Georgia,serif;font-size:18px;font-style:italic;line-height:1.8;margin:0}.gospel-navigation{align-items:center;display:flex;gap:16px;justify-content:space-between;margin-top:32px}.gospel-navigation-stacked{align-items:stretch;flex-direction:column}.gospel-response-buttons{display:flex;flex-direction:column;gap:10px}.gospel-btn{align-items:center;border:none;border-radius:10px;cursor:pointer;display:inline-flex;font-size:16px;font-weight:600;justify-content:center;padding:14px 28px;text-decoration:none;transition:all .2s}.gospel-btn-primary{background:#508590;color:#fff}.gospel-btn-primary:hover:not(:disabled){background:#3d6a73}.gospel-btn-primary:disabled{cursor:not-allowed;opacity:.6}.gospel-btn-secondary{background:#0000;color:#8b7355;padding:12px 20px}.gospel-btn-secondary:hover{background:#00000008;color:#6d5a42}.gospel-btn-outline{background:#0000;border:2px solid #508590;color:#508590}.gospel-btn-outline:hover{background:#50859014}.gospel-church-links{display:flex;flex-direction:column;gap:12px;margin:24px 0}.gospel-church-link{background:#fff;border:2px solid #e0d6c8;border-radius:12px;display:block;padding:16px 20px;text-align:left;text-decoration:none;transition:all .2s}.gospel-church-link:hover{background:#f9f5f0;border-color:#508590}.gospel-church-name{color:#3d3428;font-size:16px;font-weight:600;margin-bottom:4px}.gospel-church-url{color:#508590;font-size:14px}.gospel-success-icon{margin-bottom:20px}.gospel-cross-large{color:#508590;font-size:56px}.gospel-form-group{margin:24px 0}.gospel-textarea{background:#fff;border:2px solid #e0d6c8;border-radius:12px;box-sizing:border-box;font-family:inherit;font-size:16px;line-height:1.6;min-height:140px;padding:16px;resize:vertical;transition:border-color .2s;width:100%}.gospel-textarea:focus{border-color:#508590;outline:none}.gospel-textarea::placeholder{color:#a99f8f}@media (max-width:640px){.gospel-modal{border-radius:16px;padding:32px 24px}.gospel-title{font-size:26px}.gospel-body,.gospel-prayer-box p,.gospel-verse p{font-size:16px}.gospel-navigation{flex-direction:column;gap:12px}.gospel-navigation:not(.gospel-navigation-stacked){flex-direction:column-reverse}.gospel-btn,.gospel-response-buttons{width:100%}}.prayer-request-container{display:flex;justify-content:center;margin-bottom:1rem;margin-top:.5rem;padding:1.5rem 1rem}.prayer-request-button{align-items:center;background:#f5f0e8;border:none;border-radius:9999px;box-shadow:0 2px 8px #8b735526;color:#6d5a42;cursor:pointer;display:inline-flex;font-size:15px;font-weight:500;gap:8px;padding:12px 28px;transition:all .2s ease}.prayer-request-button:hover{background:#ede5d8;box-shadow:0 4px 12px #8b735533;transform:translateY(-1px)}.prayer-cross-icon{font-size:14px;line-height:1}.prayer-button-text{line-height:1}.prayer-modal-overlay{align-items:center;animation:fadeIn .2s ease;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:10000}.prayer-modal{animation:slideUp .3s ease;background:#fffdf9;border-radius:16px;box-shadow:0 20px 60px #0003;max-height:90vh;max-width:480px;overflow-y:auto;padding:32px;position:relative;width:100%}.prayer-modal-close{background:#f5f0e8;border:none;border-radius:50%;color:#8b7355;cursor:pointer;font-size:24px;height:32px;line-height:1;position:absolute;right:16px;top:16px;transition:background .2s;width:32px}.prayer-modal-close:hover{background:#e8e0d4}.prayer-modal-header{margin-bottom:20px;text-align:center}.prayer-cross-icon-large{color:#508590;display:inline-block;font-size:28px;margin-bottom:8px}.prayer-modal-header h2{color:#3d3428;font-family:Georgia,serif;font-size:24px;font-weight:600;margin:0}.prayer-modal-intro{margin-bottom:24px}.prayer-modal-intro p{color:#6d5a42;font-size:15px;line-height:1.6;margin:0}.prayer-error{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#b91c1c;font-size:14px;padding:12px 16px}.prayer-error,.prayer-form-group{margin-bottom:16px}.prayer-label{color:#3d3428;display:block;font-size:14px;font-weight:500;margin-bottom:6px}.prayer-textarea{background:#fff;border:2px solid #e8e0d4;border-radius:10px;font-family:inherit;font-size:15px;line-height:1.5;min-height:120px;padding:14px;resize:vertical;transition:border-color .2s;width:100%}.prayer-textarea:focus{border-color:#508590;outline:none}.prayer-textarea::placeholder{color:#a99f8f}.prayer-input{background:#fff;border:2px solid #e8e0d4;border-radius:8px;box-sizing:border-box;font-family:inherit;font-size:15px;padding:12px 14px;transition:border-color .2s;width:100%}.prayer-input:focus{border-color:#508590;outline:none}.prayer-radio-group{display:flex;flex-direction:column;gap:10px}.prayer-radio-label{align-items:center;cursor:pointer;display:flex;gap:10px}.prayer-radio-label input[type=radio]{accent-color:#508590;height:18px;width:18px}.prayer-radio-text{color:#3d3428;font-size:15px}.prayer-checkbox-label{align-items:center;cursor:pointer;display:flex;gap:10px}.prayer-checkbox-label input[type=checkbox]{accent-color:#508590;height:18px;width:18px}.prayer-checkbox-text{color:#6d5a42;font-size:14px}.prayer-name-section{background:#f9f5f0;border-radius:10px;margin-bottom:16px;padding:16px}.prayer-name-section .prayer-form-group:last-child{margin-bottom:0}.prayer-btn{align-items:center;border:none;border-radius:8px;cursor:pointer;display:inline-flex;font-size:15px;font-weight:600;justify-content:center;padding:14px 24px;transition:all .2s}.prayer-btn-primary{background:#508590;color:#fff;width:100%}.prayer-btn-primary:hover:not(:disabled){background:#3d6a73}.prayer-btn-primary:disabled{cursor:not-allowed;opacity:.6}.prayer-btn-link{background:#0000;color:#508590;font-weight:500;padding:8px 0}.prayer-btn-link:hover{color:#3d6a73;text-decoration:underline}.prayer-gospel-link{margin-top:24px;text-align:center}.prayer-divider{background:#e8e0d4;height:1px;margin-bottom:20px}.prayer-gospel-link p{color:#8b7355;font-size:14px;margin:0 0 8px}.prayer-confirmation{padding:20px 0;text-align:center}.prayer-confirmation-icon{margin-bottom:16px}.prayer-cross-large{color:#508590;font-size:48px}.prayer-confirmation h2{color:#3d3428;font-family:Georgia,serif;font-size:28px;font-weight:600;margin:0 0 16px}.prayer-confirmation>p{color:#6d5a42;font-size:16px;line-height:1.6;margin:0 0 16px}.prayer-confirmation-verse{background:#f9f5f0;border-radius:8px;color:#8b7355;font-size:14px;line-height:1.6;margin-bottom:24px!important;padding:16px}.prayer-confirmation-verse em{font-style:italic}@media (max-width:640px){.prayer-modal{border-radius:12px;padding:24px}.prayer-modal-header h2{font-size:20px}.prayer-textarea{min-height:100px}}:root{--primary-color:var(--rbf-red);--secondary-color:var(--rbf-teal);--text-dark:var(--rbf-brown);--text-light:var(--rbf-cream);--border-color:var(--rbf-tan);--success-color:var(--rbf-green);--background:var(--rbf-cream)}.portal-container{background-color:#faf9f6;background-color:var(--background);font-family:Open Sans,sans-serif;min-height:100vh}.portal-title{color:#3f2021;color:var(--text-dark);font-weight:700}.portal-subtitle{color:#508590;color:var(--rbf-teal);font-size:.95rem}.portal-tagline{color:#c3ad8b;color:var(--rbf-tan);font-size:.9rem;font-style:italic}.btn-rbf-primary{background-color:#e73c3e;background-color:var(--rbf-red);border:none;border-radius:4px;color:#fff;color:var(--rbf-white);cursor:pointer;font-weight:500;padding:.75rem 1.5rem;transition:all .2s ease}.btn-rbf-primary:hover{background-color:#d32f31;box-shadow:0 4px 8px #e73c3e4d;transform:translateY(-1px)}.btn-rbf-secondary{background-color:#508590;background-color:var(--rbf-teal);border:none;border-radius:4px;color:#fff;color:var(--rbf-white);cursor:pointer;font-weight:500;padding:.75rem 1.5rem;transition:all .2s ease}.btn-rbf-secondary:hover{background-color:#3f6c76;box-shadow:0 4px 8px #5085904d;transform:translateY(-1px)}.btn-rbf-success{background-color:#6c8062;background-color:var(--rbf-green);border:none;border-radius:4px;color:#fff;color:var(--rbf-white);cursor:pointer;font-weight:500;padding:.75rem 1.5rem;transition:all .2s ease}.btn-rbf-success:hover{background-color:#5a6e54;box-shadow:0 4px 8px #6c80624d;transform:translateY(-1px)}.rbf-card{background-color:#fff;background-color:var(--rbf-white);border:2px solid #c3ad8b;border:2px solid var(--rbf-tan);border-radius:8px;box-shadow:0 2px 4px #3f20211a;padding:1.5rem}.rbf-card-header{background-color:#3f2021;background-color:var(--rbf-brown);border-radius:8px 8px 0 0;color:#faf9f6;color:var(--rbf-cream);margin:-1.5rem -1.5rem 1.5rem;padding:1rem 1.5rem}.rbf-stat-card{background-color:#fff;background-color:var(--rbf-white);border:2px solid #c3ad8b;border:2px solid var(--rbf-tan);border-radius:8px;padding:1.5rem;text-align:center;transition:all .2s ease}.rbf-stat-card:hover{box-shadow:0 4px 12px #3f202126;transform:translateY(-2px)}.rbf-stat-value{color:#e73c3e;color:var(--rbf-red);font-size:2.5rem;font-weight:700;margin:.5rem 0}.rbf-stat-label{color:#3f2021;color:var(--text-dark);font-size:.95rem;letter-spacing:.5px;text-transform:uppercase}.rbf-input{background-color:#fff;background-color:var(--rbf-white);border:2px solid #c3ad8b;border:2px solid var(--rbf-tan);border-radius:4px;font-size:1rem;padding:.75rem;transition:border-color .2s ease;width:100%}.rbf-input:focus{border-color:#e73c3e;border-color:var(--rbf-red);box-shadow:0 0 0 3px #e73c3e1a;outline:none}.rbf-label{color:#3f2021;color:var(--text-dark);display:block;font-size:.95rem;font-weight:600;margin-bottom:.5rem}.portal-header{background-color:#3f2021;background-color:var(--rbf-brown);box-shadow:0 2px 8px #0003;padding:1rem 2rem}.portal-header,.portal-nav-link{color:#faf9f6;color:var(--rbf-cream)}.portal-nav-link{border-radius:4px;padding:.5rem 1rem;text-decoration:none;transition:all .2s ease}.portal-nav-link:hover{background-color:#faf9f61a;color:#fff;color:var(--rbf-white)}.portal-nav-link-active{border-bottom:3px solid #e73c3e;border-bottom:3px solid var(--rbf-red);color:#fff;color:var(--rbf-white)}.portal-footer{background-color:#3f2021;background-color:var(--rbf-brown);color:#faf9f6;color:var(--rbf-cream);margin-top:3rem;padding:2rem;text-align:center}.portal-footer-company{color:#fff;color:var(--rbf-white);font-size:1.125rem;font-weight:700;margin-bottom:.5rem}.portal-footer-address{margin-bottom:.25rem}.portal-footer-address,.portal-footer-contact{color:#faf9f6;color:var(--rbf-cream);font-size:.9rem}.portal-footer-contact{margin-bottom:1rem}.portal-footer-tagline{color:#c3ad8b;color:var(--rbf-tan);font-size:1rem;font-weight:500;margin-top:1rem}.portal-footer-motto{color:#6c8062;color:var(--rbf-green);font-size:.95rem;font-style:italic;margin-top:.5rem}.rbf-table{background-color:#fff;background-color:var(--rbf-white);border-collapse:collapse;width:100%}.rbf-table thead{background-color:#3f2021;background-color:var(--rbf-brown);color:#faf9f6;color:var(--rbf-cream)}.rbf-table th{font-size:.875rem;font-weight:600;letter-spacing:.5px;padding:1rem;text-align:left;text-transform:uppercase}.rbf-table td{border-bottom:1px solid #c3ad8b;border-bottom:1px solid var(--rbf-tan);padding:1rem}.rbf-table tbody tr:hover{background-color:#c3ad8b1a}.rbf-status-pending{background-color:#fef3c7;color:#92400e}.rbf-status-confirmed,.rbf-status-pending{border-radius:12px;display:inline-block;font-size:.875rem;font-weight:500;padding:.35rem .75rem}.rbf-status-confirmed{background-color:#dbeafe;color:#1e40af}.rbf-status-completed{background-color:#d1fae5;color:#065f46}.rbf-status-completed,.rbf-status-success{border-radius:12px;display:inline-block;font-size:.875rem;font-weight:500;padding:.35rem .75rem}.rbf-status-success{background-color:#6c806233;border:1px solid #6c8062;border:1px solid var(--rbf-green);color:#6c8062;color:var(--rbf-green)}.text-rbf-red{color:#e73c3e;color:var(--rbf-red)}.text-rbf-teal{color:#508590;color:var(--rbf-teal)}.text-rbf-brown{color:#3f2021;color:var(--rbf-brown)}.text-rbf-green{color:#6c8062;color:var(--rbf-green)}.bg-rbf-cream{background-color:#faf9f6;background-color:var(--rbf-cream)}.bg-rbf-brown{background-color:#3f2021;background-color:var(--rbf-brown)}.border-rbf-tan{border-color:#c3ad8b;border-color:var(--rbf-tan)}.portal-table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.portal-table-desktop{display:table;width:100%}.portal-cards-mobile{display:none}.portal-mobile-card{background:#fff;background:var(--rbf-white);border:2px solid #c3ad8b;border:2px solid var(--rbf-tan);border-radius:8px;box-shadow:0 2px 4px #3f20211a;margin-bottom:1rem;padding:1rem}.portal-mobile-card-header{align-items:flex-start;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:space-between;margin-bottom:.75rem}.portal-mobile-card-title{color:#3f2021;color:var(--text-dark);font-size:1rem;font-weight:600}.portal-mobile-card-row{border-bottom:1px solid #c3ad8b4d;display:flex;font-size:.9rem;justify-content:space-between;padding:.5rem 0}.portal-mobile-card-row:last-child{border-bottom:none}.portal-mobile-card-label{color:#508590;color:var(--secondary-color);font-weight:500}.portal-mobile-card-value{color:#3f2021;color:var(--text-dark);text-align:right}.portal-mobile-card-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}.portal-mobile-card-actions a,.portal-mobile-card-actions button{flex:1 1;min-width:100px;text-align:center}@media screen and (max-width:768px){.portal-table-desktop{display:none!important}.portal-cards-mobile{display:block!important}.portal-container{padding:.5rem}.portal-page-header{padding:1rem}.portal-page-title{font-size:1.5rem}.portal-actions-grid,.portal-stats-grid{grid-template-columns:1fr!important}.portal-btn-mobile-full{margin-bottom:.5rem;width:100%}.portal-modal-content{margin:1rem;max-height:95vh!important;max-width:none!important;width:95%!important}.portal-modal-body,.portal-modal-header{padding:1rem!important}.portal-details-grid{gap:1rem!important;grid-template-columns:1fr!important}.portal-progress-container{-webkit-overflow-scrolling:touch;overflow-x:auto;padding-bottom:.5rem}.portal-progress-bar{min-width:500px}.rbf-table td,.rbf-table th{font-size:.8rem;padding:.5rem}.portal-header{padding:.75rem 1rem}.portal-section{margin-bottom:1rem;padding:1rem}.portal-footer{padding:1.5rem 1rem}}@media screen and (max-width:480px){.portal-page-title{font-size:1.25rem}.rbf-stat-value{font-size:1.75rem}.rbf-stat-label{font-size:.75rem}.portal-mobile-card{padding:.75rem}.portal-mobile-card-row{flex-direction:column;gap:.25rem;text-align:left}.portal-mobile-card-value{font-weight:600;text-align:left}.portal-mobile-card-actions{flex-direction:column}.portal-mobile-card-actions a,.portal-mobile-card-actions button{width:100%}.portal-section-title{font-size:1rem}}.hide-mobile{display:block}@media screen and (max-width:768px){.hide-mobile{display:none!important}}.show-mobile{display:none}@media screen and (max-width:768px){.show-mobile{display:block!important}}.text-responsive{font-size:1rem}@media screen and (max-width:768px){.text-responsive{font-size:.875rem}}@media screen and (max-width:480px){.text-responsive{font-size:.8rem}}.btn-touch-friendly{min-height:44px;min-width:44px;padding:.75rem 1rem}.table-scroll-wrapper{-webkit-overflow-scrolling:touch;border:2px solid #c3ad8b;border:2px solid var(--rbf-tan);border-radius:8px;overflow-x:auto;width:100%}.table-scroll-wrapper table{min-width:600px}.tax-exemption-page{margin:0 auto;max-width:1200px;padding:2rem}.page-header h1{margin-bottom:.5rem}.alert-warning{background-color:#fff8e6;border:1px solid #ffc107;border-left-width:4px;color:#664d03}.alert-danger,.alert-warning{font-weight:500;margin-top:1rem}.alert-danger{background-color:#f8d7da;border:1px solid #f5c6cb;border-left:4px solid #dc3545;color:#721c24}.active-certificate-section{margin-bottom:2rem}.active-certificate-section h2{color:#2c3e50;font-size:1.5rem;margin-bottom:1rem}.active-certificate{border:2px solid #28a745;box-shadow:0 4px 8px #28a7451a}.certificate-card{background:#fff;border:1px solid #dee2e6;border-radius:8px;margin-bottom:1rem;padding:1.5rem}.certificate-header{align-items:flex-start;border-bottom:2px solid #dee2e6;display:flex;justify-content:space-between;margin-bottom:1.5rem;padding-bottom:1rem}.certificate-header div{align-items:center;display:flex;gap:1rem}.certificate-header h3{color:#2c3e50;font-size:1.2rem;margin:0}.certificate-header-small{align-items:center;display:flex;justify-content:space-between;margin-bottom:.75rem}.certificate-header-small div{align-items:center;display:flex;gap:.75rem}.status-badge{font-weight:700;padding:.35rem .75rem}.status-active{background-color:#28a745}.status-expiring{background-color:#f0ad4e}.status-expired{background-color:#dc3545}.status-superseded{background-color:#6c757d}.certificate-details{display:flex;flex-direction:column;gap:.75rem}.detail-row{align-items:flex-start;gap:1rem}.detail-row strong{color:#6c757d;font-size:.9rem;min-width:180px}.detail-row span{color:#2c3e50;font-size:1rem}.text-warning{color:#856404!important;font-weight:600}.upload-section{background-color:#f8f9fa;border:2px dashed #dee2e6;border-radius:8px;margin:2rem 0;padding:1.5rem}.section-header{gap:2rem}.section-header h2{color:#2c3e50;font-size:1.3rem;margin-bottom:.25rem}.text-muted{font-size:.9rem}.certificate-history{margin-top:2rem}.certificate-history h2{color:#2c3e50;font-size:1.5rem;margin-bottom:1rem}.certificates-list{display:flex;flex-direction:column;gap:.75rem}.certificate-meta{color:#6c757d;display:flex;flex-wrap:wrap;font-size:.875rem;gap:1.5rem}.no-certificates{background:#fff;border:2px dashed #dee2e6;border-radius:8px;padding:3rem 2rem;text-align:center}.no-certificates p{color:#6c757d;margin:.5rem 0}.btn-link{color:#8b0000;font-size:.9rem;padding:.25rem .5rem}.btn-link:hover{color:#600}.modal-header h2{font-size:1.5rem}.modal-body{padding:2rem}.modal-footer{padding:1.5rem}.upload-form{width:100%}.form-group input[type=date],.form-group input[type=file],.form-group input[type=text],.form-group select,.form-group textarea{border:1px solid #ced4da;border-radius:4px;font-size:1rem;padding:.75rem;transition:border-color .15s ease;width:100%}.form-group input[type=file]{padding:.5rem}.form-text{font-size:.875rem}.upload-section{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:1fr 1fr;margin-bottom:2rem}.download-form-card,.upload-form-card{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;padding:1.5rem}.download-form-card{border-left:4px solid #8b0000}.upload-form-card{border-left:4px solid #6c757d}.download-form-card h3,.upload-form-card h3{color:#2c3e50;font-size:1.1rem;margin:0 0 .75rem}.download-form-card p,.upload-form-card p{color:#6c757d;font-size:.95rem;line-height:1.5;margin:0 0 1rem}.button-group{display:flex;gap:.75rem}.modal-large{max-width:700px}.form-row-3{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr 1fr 1fr}.form-section-title{border-bottom:2px solid #8b0000;color:#2c3e50;font-size:1.1rem;margin-top:1.5rem}.form-section-title:first-of-type{margin-top:.5rem}.form-description{background:#f8f9fa;border-left:4px solid #8b0000;border-radius:4px;color:#6c757d;margin-bottom:1.5rem;padding:1rem}.online-form{width:100%}.signature-instructions{color:#6c757d;font-size:.9rem;margin-bottom:.75rem}.signature-pad-container{background:#fff;border:2px solid #ced4da;border-radius:4px;overflow:hidden}.signature-pad{cursor:crosshair;display:block;height:150px;touch-action:none;width:100%}.signature-clear{font-size:.85rem;margin-top:.5rem;padding:0}.certification-notice{background:#fff8e6;border:1px solid #ffc107;border-radius:4px;margin-top:1.5rem;padding:1rem}.certification-notice p{color:#664d03;font-size:.9rem;line-height:1.5;margin:0}.exemption-info-box{background:#e8f5e9;border:2px solid #4caf50;border-radius:8px;margin-bottom:1.5rem;padding:1rem 1.25rem}.exemption-info-box h4{color:#2e7d32;font-size:1rem;margin:0 0 .75rem}.exemption-info-box p{color:#1b5e20;font-size:.95rem;margin:.5rem 0}.exemption-info-box .exemption-category{border-top:1px solid #a5d6a7;margin-top:.75rem;padding-top:.75rem}.entity-type-options{display:flex;flex-wrap:wrap;gap:.75rem 1.5rem;margin-top:.5rem}.radio-label{align-items:center;cursor:pointer;display:flex;font-size:.95rem;font-weight:400;gap:.5rem}.radio-label input[type=radio]{cursor:pointer;margin:0;width:auto}.entity-other-input{border:1px solid #ced4da;border-radius:4px;font-size:.9rem;margin-left:.5rem;padding:.35rem .5rem;width:140px}.entity-other-input:focus{border-color:#8b0000;box-shadow:0 0 0 2px #8b00001a;outline:none}.date-readonly{background-color:#f8f9fa;color:#495057;cursor:not-allowed}@media (max-width:768px){.tax-exemption-page{padding:1rem}.upload-section{grid-template-columns:1fr}.certificate-header{flex-direction:column;gap:1rem}.section-header{align-items:flex-start;flex-direction:column}.button-group{flex-direction:column;width:100%}.button-group .btn{width:100%}.form-row,.form-row-3{grid-template-columns:1fr}.certificate-meta{flex-direction:column;gap:.5rem}.detail-row{flex-direction:column;gap:.25rem}.detail-row strong{min-width:auto}.modal-large{margin:.5rem;max-width:100%}.signature-pad-container{max-width:100%;overflow-x:auto}}.member-detail-page{background-color:#faf9f6;background-color:var(--rbf-cream,#faf9f6);min-height:100vh}.member-detail-content{margin:0 auto;max-width:1200px;padding:1.5rem}.member-detail-error,.member-detail-loading{align-items:center;display:flex;flex-direction:column;gap:1rem;justify-content:center;min-height:400px}.loading-spinner{border:4px solid #c3ad8b;border:4px solid var(--rbf-tan,#c3ad8b);border-top-color:var(--rbf-red,#e73c3e)}.member-detail-error .error-icon{align-items:center;background:#e73c3e;background:var(--rbf-red,#e73c3e);border-radius:50%;color:#fff;display:flex;font-size:2rem;font-weight:700;height:64px;justify-content:center;width:64px}.member-detail-header{background:#fff;border:1px solid #c3ad8b;border:1px solid var(--rbf-tan,#c3ad8b);border-radius:12px;box-shadow:0 2px 8px #3f202114;margin-bottom:1.5rem;padding:1.5rem}.back-button{color:#508590;color:var(--rbf-teal,#508590);font-size:.95rem;margin-bottom:1rem;padding:.5rem 0}.back-button:hover{color:#3f2021;color:var(--rbf-brown,#3f2021)}.member-header-info{display:flex;gap:1.25rem;margin-bottom:1.5rem}.member-avatar{background:linear-gradient(135deg,#e73c3e,#c73234);background:linear-gradient(135deg,var(--rbf-red,#e73c3e),#c73234);flex-shrink:0;font-size:1.5rem;font-weight:700;height:72px;width:72px}.member-header-text h1{color:#3f2021;color:var(--rbf-brown,#3f2021);font-size:1.5rem;margin:0 0 .25rem}.member-code{color:#508590;color:var(--rbf-teal,#508590);font-size:.95rem;font-weight:600;margin-bottom:.5rem}.member-contact,.member-location{color:#666;font-size:.9rem}.member-header-stats{display:flex;flex-wrap:wrap;gap:1.5rem;margin-bottom:1.5rem}.loyalty-card{background:#f8f5f0;border-radius:8px;flex:1 1;min-width:200px;padding:1rem 1.25rem}.loyalty-title{color:#3f2021;color:var(--rbf-brown,#3f2021);font-weight:600;margin-bottom:.75rem}.loyalty-progress{align-items:center;display:flex;gap:.75rem}.loyalty-dots{display:flex;gap:4px}.loyalty-dot{background:#e0ddd8;border:2px solid #ccc9c4;border-radius:50%;height:16px;width:16px}.loyalty-dot.filled{background:#e73c3e;background:var(--rbf-red,#e73c3e);border-color:#c73234}.loyalty-text{color:#666;font-size:.9rem}.rewards-badge{animation:pulse 2s infinite;background:#e73c3e;background:var(--rbf-red,#e73c3e);border-radius:6px;color:#fff;display:inline-block;font-size:.85rem;margin-top:.75rem;padding:.5rem .75rem}.bags-until{color:#666;font-size:.85rem;margin-top:.5rem}.quick-stats{display:flex;flex:1 1;gap:1rem}.quick-stat{background:#fff;border:1px solid #c3ad8b;border:1px solid var(--rbf-tan,#c3ad8b);border-radius:8px;flex:1 1;min-width:100px;padding:.75rem 1rem;text-align:center}.quick-stat .stat-value{color:#3f2021;color:var(--rbf-brown,#3f2021);display:block;font-size:1.1rem;font-weight:700}.quick-stat .stat-label{color:#888;display:block;font-size:.75rem;margin-top:.25rem}.quick-actions{display:flex;flex-wrap:wrap;gap:1rem}.detail-section{border:1px solid #c3ad8b;border:1px solid var(--rbf-tan,#c3ad8b);border-radius:12px;box-shadow:0 2px 8px #3f202114;margin-bottom:1.5rem;padding:1.5rem}.section-title{color:#3f2021;color:var(--rbf-brown,#3f2021);font-size:1.15rem;margin:0 0 1.25rem}.section-icon{font-size:1.25rem}.powered-by{background:#5085901a;border-radius:4px;color:#508590;color:var(--rbf-teal,#508590);font-size:.75rem;font-weight:400;margin-left:auto;padding:.25rem .5rem}.feed-bins-section{border:2px solid #c3ad8b;border:2px solid var(--rbf-tan,#c3ad8b)}.section-alert{animation:alertPulse 2s infinite;background:#dc2626;border-radius:12px;color:#fff;font-size:.75rem;font-weight:600;margin-left:auto;padding:.25rem .75rem}@keyframes alertPulse{0%,to{opacity:1}50%{opacity:.7}}.section-hint{color:#888;font-size:.75rem;font-weight:400;margin-left:auto}.empty-hint{color:#aaa;font-size:.85rem;margin-top:.25rem}.feed-bins-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.feed-bin-card{background:#fafafa;border:2px solid #e0e0e0;border-radius:12px;padding:1.25rem;transition:border-color .2s,box-shadow .2s}.feed-bin-card.status-critical{animation:criticalBin 2s ease-in-out infinite;background:linear-gradient(135deg,#fef2f2,#fee2e2);border-color:#dc2626}@keyframes criticalBin{0%,to{box-shadow:0 0 0 0 #dc262600}50%{box-shadow:0 0 12px 2px #dc26264d}}.feed-bin-card.status-low{background:linear-gradient(135deg,#fffbeb,#fef3c7);border-color:#f59e0b}.feed-bin-card.status-ok{border-color:#3b82f6}.feed-bin-card.status-good{background:linear-gradient(135deg,#f0fdf4,#dcfce7);border-color:#10b981}.feed-bin-card.status-empty,.feed-bin-card.status-unknown{background:#f9fafb;border-color:#9ca3af}.bin-header{gap:.5rem;justify-content:space-between;margin-bottom:1rem}.bin-name-row{align-items:center;display:flex;gap:.5rem}.bin-category-icon{font-size:1.25rem}.bin-name{color:#3f2021;color:var(--rbf-brown,#3f2021);font-size:1.05rem}.bin-status-badge{border-radius:6px;color:#fff;font-size:.7rem;font-weight:700;padding:.3rem .6rem;text-transform:uppercase;white-space:nowrap}.bin-visual{background:#ffffff80;border-radius:8px;gap:1rem;margin-bottom:1rem;padding:.75rem}.bin-container{background:linear-gradient(180deg,#e5e5e5,#d4d4d4);border:2px solid #bbb;border-radius:6px 6px 12px 12px;height:90px;width:56px}.bin-fill{border-radius:0 0 10px 10px;transition:height .3s ease}.bin-stats-vertical{display:flex;flex-direction:column;gap:.25rem}.bin-percent{color:#3f2021;color:var(--rbf-brown,#3f2021);font-size:2rem;font-weight:800;line-height:1}.bin-days{color:#666;font-size:.9rem;font-weight:600}.bin-days.critical{color:#dc2626}.bin-days.low{color:#d97706}.bin-details{font-size:.85rem}.bin-detail-row{border-bottom:1px solid #0000000f;display:flex;justify-content:space-between;padding:.35rem 0}.bin-detail-row:last-child{border-bottom:none}.bin-detail-row .label{color:#888}.restock-prompt{align-items:center;border-radius:8px;display:flex;font-size:.9rem;font-weight:500;gap:.5rem;margin-top:1rem;padding:.75rem 1rem}.restock-prompt.critical{background:linear-gradient(135deg,#dc2626,#b91c1c);color:#fff}.restock-prompt.low{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff}.restock-icon{font-size:1.1rem}.restock-text{flex:1 1}.animals-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.animal-card{align-items:center;background:#f8f5f0;display:flex;gap:.75rem;padding:.75rem 1rem}.animal-icon{font-size:1.75rem}.animal-info{flex:1 1}.animal-name{align-items:center;color:#3f2021;color:var(--rbf-brown,#3f2021);display:flex;gap:.35rem}.rb-badge{background:#e73c3e;background:var(--rbf-red,#e73c3e);border-radius:3px;font-size:.6rem;font-weight:700;padding:.1rem .3rem}.animal-count{color:#666;font-size:.85rem}.animal-consumption,.animal-feed{color:#888;font-size:.8rem}.animal-stage{color:#888;font-weight:400}.purchase-card{border:1px solid #e0e0e0;border-radius:8px;overflow:hidden}.purchase-header{background:#f8f8f8;cursor:pointer;gap:1rem;padding:.75rem 1rem;transition:background .15s}.purchase-header:hover{background:#f0f0f0}.purchase-date{color:#3f2021;color:var(--rbf-brown,#3f2021);min-width:100px}.purchase-store{color:#666;flex:1 1}.purchase-summary{align-items:center;display:flex;gap:1rem}.rb-bags{background:#e73c3e1a;border-radius:4px;color:#e73c3e;color:var(--rbf-red,#e73c3e);font-size:.8rem;font-weight:600;padding:.25rem .5rem}.purchase-total{color:#3f2021;color:var(--rbf-brown,#3f2021)}.expand-icon{font-size:.75rem}.purchase-items{background:#fff;border-top:1px solid #e0e0e0;padding:.75rem 1rem}.purchase-items table{border-collapse:collapse;font-size:.85rem;width:100%}.purchase-items th{border-bottom:1px solid #eee;color:#888;font-weight:500;padding:.5rem;text-align:left}.purchase-items td{border-bottom:1px solid #f0f0f0;padding:.5rem}.purchase-items tr:last-child td{border-bottom:none}.purchase-items tr.rb-item{background:#e73c3e08}.rb-tag{background:#e73c3e;background:var(--rbf-red,#e73c3e);border-radius:2px;color:#fff;font-size:.6rem;font-weight:700;margin-left:.35rem;padding:.1rem .25rem}.purchase-card.this-store{background:#50859008;border-color:#508590;border-color:var(--rbf-teal,#508590)}.this-store-badge{background:#508590;background:var(--rbf-teal,#508590);border-radius:4px;color:#fff;font-size:.65rem;font-weight:600;margin-left:.5rem;padding:.15rem .4rem}.analytics-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.analytics-card{background:linear-gradient(135deg,#f8f5f0,#f0ebe4);border-radius:10px;padding:1.25rem}.analytics-card.highlight{background:linear-gradient(135deg,#508590,#3f6c76);background:linear-gradient(135deg,var(--rbf-teal,#508590),#3f6c76);color:#fff}.analytics-card.highlight .analytics-label{color:#fffc}.analytics-card.highlight .analytics-sub{color:#ffffffb3}.analytics-card.wide{grid-column:span 2}.analytics-value{color:#3f2021;color:var(--rbf-brown,#3f2021);font-size:1.25rem;margin-bottom:.25rem}.analytics-card.highlight .analytics-value{color:#fff}.analytics-label{color:#888;font-size:.8rem}.analytics-sub{color:#666;font-size:.75rem;margin-top:.25rem}.preferred-products{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;margin-top:.75rem}.product-chip{align-items:center;background:#fff;border:1px solid #c3ad8b;border:1px solid var(--rbf-tan,#c3ad8b);border-radius:20px;color:#3f2021;color:var(--rbf-brown,#3f2021);display:inline-flex;font-size:.8rem;gap:.35rem;padding:.35rem .65rem}.product-freq{background:#00000014;border-radius:8px;font-size:.7rem;font-weight:600;padding:.1rem .3rem}.other-products-grid{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.other-product-card{background:#f8f8f8;border:1px solid #e8e8e8;border-radius:8px;padding:1rem}.other-product-card .product-name{color:#3f2021;color:var(--rbf-brown,#3f2021);font-weight:600;margin-bottom:.5rem}.other-product-card .product-details{color:#888;display:flex;font-size:.8rem;justify-content:space-between}.other-product-card .product-last{color:#666;font-size:.8rem;margin-top:.35rem}.other-product-card .product-restock{background:#5085901a;border-radius:4px;color:#508590;color:var(--rbf-teal,#508590);font-size:.8rem;font-weight:500;margin-top:.35rem;padding:.25rem .5rem}.alert-banner{align-items:center;animation:slideUp .3s ease;background:linear-gradient(135deg,#dc2626,#b91c1c);border-radius:8px;bottom:80px;box-shadow:0 4px 20px #dc262666;color:#fff;left:50%;padding:.75rem 1.5rem;position:fixed;transform:translateX(-50%);z-index:100}.alert-banner .alert-icon{font-size:1.25rem}.alert-banner .alert-text{font-size:.9rem}.alert-banner strong{background:#fff3;border-radius:4px;margin-left:.35rem;padding:.15rem .4rem}@media (max-width:768px){.member-detail-content{padding:1rem}.member-header-info{align-items:center;text-align:center}.member-header-info,.member-header-stats{flex-direction:column}.quick-stats{flex-wrap:wrap}.quick-stat{min-width:calc(50% - .5rem)}.quick-actions{justify-content:center}.analytics-grid,.animals-grid,.feed-bins-grid,.other-products-grid{grid-template-columns:1fr}.analytics-card.wide{grid-column:span 1}.purchase-header{flex-wrap:wrap}.purchase-date{margin-bottom:.25rem;min-width:100%}.purchase-store{flex:initial}.alert-banner{bottom:70px;left:1rem;right:1rem;transform:none}@keyframes slideUp{0%{opacity:0;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}}.farm-team-page{margin:0 auto;max-width:1000px;padding:2rem}.team-list{display:flex;flex-direction:column;gap:1rem;margin-bottom:2rem}.team-member-card{align-items:center;background:#fff;border:1px solid #dee2e6;border-radius:8px;display:flex;justify-content:space-between;padding:1.25rem;transition:box-shadow .15s ease}.team-member-card:hover{box-shadow:0 2px 8px #00000014}.team-member-card.current-user{border-left:4px solid #8b0000}.member-info{align-items:center;gap:1rem}.member-avatar{align-items:center;background:#8b0000;border-radius:50%;color:#fff;display:flex;font-size:1.25rem;font-weight:600;height:48px;justify-content:center;text-transform:uppercase;width:48px}.member-details{display:flex;flex-direction:column;gap:.25rem}.member-name{align-items:center;color:#2c3e50;display:flex;gap:.5rem}.you-badge{background:#e8f5e9;border-radius:4px;color:#2e7d32;font-size:.75rem;font-weight:500;padding:.125rem .5rem}.member-email{color:#666;font-size:.9rem}.member-meta{align-items:center;display:flex;gap:1rem;margin-top:.25rem}.meta-item{color:#888;font-size:.8rem}.role-badge{border-radius:20px;display:inline-block;font-size:.75rem;font-weight:600;letter-spacing:.5px;padding:.25rem .75rem;text-transform:uppercase}.role-owner{background:#8b0000;color:#fff}.role-foreman{background:#3498db;color:#fff}.role-crew{background:#27ae60;color:#fff}.role-viewer{background:#95a5a6;color:#fff}.member-actions{display:flex;gap:.5rem}.btn-text{padding:.5rem}.permissions-summary{background:#f8f9fa;border-radius:8px;margin-top:2rem;padding:1.5rem}.permissions-summary h3{color:#2c3e50;font-size:1.1rem;margin-bottom:1rem}.permissions-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.permission-card{background:#fff;border:1px solid #dee2e6;border-radius:6px;padding:1rem}.permission-description{color:#666;font-size:.85rem;line-height:1.4;margin-top:.5rem}.empty-state p{margin:.5rem 0}.form-group input,.form-group select{border:1px solid #ced4da;border-radius:4px;font-size:1rem;padding:.75rem;transition:border-color .15s ease}.form-group input:focus,.form-group select:focus{border-color:#8b0000;box-shadow:0 0 0 3px #8b00001a}.form-group input:disabled,.form-group select:disabled{background-color:#e9ecef;cursor:not-allowed}.form-text{color:#6c757d;display:block;font-size:.85rem;margin-top:.25rem}.edit-member-info{color:#666;margin-bottom:1rem}@media (max-width:768px){.farm-team-page{padding:1rem}.page-header,.team-member-card{flex-direction:column;gap:1rem}.team-member-card{align-items:flex-start}.member-actions{justify-content:flex-start;width:100%}.form-row,.permissions-grid{grid-template-columns:1fr}}.farm-tasks-page{margin:0 auto;max-width:1000px;padding:2rem}.page-header-content h1{color:#8b0000;font-size:2rem;margin-bottom:.5rem}.page-subtitle{font-size:1rem}.filter-tabs{border-bottom:2px solid #dee2e6;padding-bottom:.5rem}.filter-tab{background:none;border:none;border-radius:4px 4px 0 0;color:#666;font-size:.95rem;gap:.5rem;padding:.5rem 1rem;transition:all .15s ease}.filter-tab:hover{background:#f8f9fa;color:#2c3e50}.filter-tab.active{border-bottom:2px solid #8b0000;color:#8b0000;font-weight:600;margin-bottom:-2px}.filter-tab .count{background:#e9ecef;border-radius:10px;font-size:.8rem;font-weight:600;padding:.125rem .5rem}.filter-tab.active .count{background:#8b0000;color:#fff}.tasks-list{display:flex;flex-direction:column;gap:1rem}.task-card{background:#fff;border:1px solid #dee2e6;border-radius:8px;padding:1.25rem;transition:box-shadow .15s ease}.task-card:hover{box-shadow:0 2px 8px #00000014}.task-card.overdue{border-left:4px solid #dc3545}.task-card.completed{background:#f8f9fa;opacity:.7}.task-header{margin-bottom:1rem}.task-title-row{align-items:flex-start;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between}.task-title{color:#2c3e50;font-size:1.1rem;font-weight:600;margin:0}.task-card.completed .task-title{color:#6c757d;text-decoration:line-through}.task-badges{display:flex;flex-shrink:0;gap:.5rem}.task-description{color:#666;font-size:.95rem;line-height:1.5;margin:.75rem 0 0}.priority-badge{font-size:.75rem;letter-spacing:.5px}.priority-badge,.status-badge{padding:.2rem .6rem}.status-pending{background:#fff3cd;color:#856404}.status-in-progress{background:#cce5ff;color:#004085}.status-completed{background:#d4edda;color:#155724}.status-cancelled{background:#e2e3e5;color:#383d41}.task-meta{border-top:1px solid #eee;color:#666;display:flex;flex-wrap:wrap;font-size:.9rem;gap:1.5rem;margin-bottom:1rem;padding-top:.75rem}.meta-item{gap:.5rem}.meta-label{color:#888;font-weight:500}.text-danger{color:#dc3545!important;font-weight:600}.task-actions{align-items:center;border-top:1px solid #eee;gap:.75rem;padding-top:.75rem}.btn-sm{padding:.4rem .75rem}.btn-success{background-color:#28a745}.btn-success:hover:not(:disabled){background-color:#218838}.btn-text{background:none;border:none;color:#8b0000;cursor:pointer;font-size:.9rem;padding:.4rem .5rem;transition:color .15s ease}.btn-text:hover{color:#600;text-decoration:underline}.btn-text.btn-danger{color:#dc3545}.btn-text.btn-danger:hover{color:#c82333}.empty-state{border:2px dashed #dee2e6;border-radius:8px;padding:3rem 2rem}.empty-state p{color:#666;margin:0 0 1rem}.alert{border-radius:4px;cursor:pointer;margin-bottom:1.5rem}.alert-error{background-color:#fee;border:1px solid #fcc;color:#c00}.alert-success{background-color:#d4edda;border:1px solid #c3e6cb;color:#155724}.btn{border-radius:4px;font-size:1rem;transition:all .15s ease}.btn-primary{background-color:#8b0000}.btn-primary:hover:not(:disabled){background-color:#600}.btn-primary:disabled{background-color:#ccc}.btn-secondary{background-color:#6c757d}.btn-secondary:hover:not(:disabled){background-color:#5a6268}.btn-danger{background-color:#dc3545}.btn-danger:hover:not(:disabled){background-color:#c82333}.modal-overlay{background-color:#00000080}.modal-content{border-radius:8px;box-shadow:0 10px 40px #0003;max-width:550px}.modal-small{max-width:400px}.modal-header{background-color:#8b0000;border-bottom:1px solid #dee2e6;border-radius:8px 8px 0 0;color:#fff;padding:1.5rem}.modal-header-danger{background-color:#dc3545}.modal-close{color:#fff;padding:.25rem .5rem;transition:opacity .15s ease}.modal-close:hover:not(:disabled){opacity:.8}.modal-close:disabled{cursor:not-allowed;opacity:.5}.modal-footer{border-top:1px solid #dee2e6}.form-group{margin-bottom:1.25rem}.form-group label{color:#2c3e50}.form-group input,.form-group select,.form-group textarea{border:1px solid #ced4da;font-family:inherit;font-size:1rem;padding:.75rem;transition:border-color .15s ease}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{box-shadow:0 0 0 3px #8b00001a}.form-group input:disabled,.form-group select:disabled,.form-group textarea:disabled{background-color:#e9ecef;cursor:not-allowed}.text-muted{color:#6c757d}.loading{color:#666;font-size:1.2rem;padding:3rem}@media (max-width:768px){.farm-tasks-page{padding:1rem}.page-header{flex-direction:column;gap:1rem}.filter-tabs{overflow-x:auto;padding-bottom:.75rem}.task-title-row{flex-direction:column;gap:.5rem}.task-badges{align-self:flex-start}.task-meta{flex-direction:column;gap:.5rem}.task-actions{flex-wrap:wrap}.form-row{grid-template-columns:1fr}}.crew-dashboard{margin:0 auto;max-width:800px;padding:1rem}.crew-dashboard-loading{align-items:center;color:#6b7280;display:flex;flex-direction:column;justify-content:center;padding:4rem 2rem}.crew-dashboard-loading .spin{animation:spin 1s linear infinite}.crew-header{align-items:flex-start;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;margin-bottom:1.5rem;padding-bottom:1rem}.crew-header-content h1{color:#111827;font-size:1.5rem;font-weight:700;margin:0 0 .25rem}.crew-header-date{align-items:center;color:#6b7280;display:flex;font-size:.875rem;gap:.5rem}.crew-refresh-btn{background:#f3f4f6;border:none;border-radius:.5rem;color:#6b7280;cursor:pointer;padding:.5rem;transition:all .15s}.crew-refresh-btn:hover{background:#e5e7eb;color:#374151}.crew-stats{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));margin-bottom:1.5rem}.crew-stat{align-items:center;background:#fff;border-radius:.75rem;box-shadow:0 1px 3px #0000001a;display:flex;gap:.75rem;padding:1rem}.crew-stat svg{color:#059669}.crew-stat-content{display:flex;flex-direction:column}.crew-stat-value{color:#111827;font-size:1.25rem;font-weight:700}.crew-stat-label{color:#6b7280;font-size:.75rem}.crew-stat-urgent{background:#fef2f2}.crew-stat-urgent svg{color:#ef4444}.crew-section{margin-bottom:1.5rem}.crew-section-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.75rem}.crew-section-header h2{align-items:center;color:#374151;display:flex;font-size:1rem;font-weight:600;gap:.5rem;margin:0}.crew-section-header h2 svg{color:#6b7280}.crew-section-link{align-items:center;color:#059669;display:flex;font-size:.875rem;font-weight:500;gap:.25rem;text-decoration:none}.crew-section-link:hover{color:#047857}.crew-section-count{background:#e5e7eb;border-radius:9999px;color:#4b5563;font-size:.75rem;font-weight:600;padding:.125rem .5rem}.crew-empty{align-items:center;background:#f9fafb;border-radius:.75rem;color:#9ca3af;display:flex;flex-direction:column;justify-content:center;padding:2rem;text-align:center}.crew-empty svg{margin-bottom:.5rem}.crew-empty p{font-size:.875rem;margin:0}.crew-task-list{display:flex;flex-direction:column;gap:.75rem}.crew-task-list-compact .crew-task-card{padding:.75rem 1rem}.crew-task-card{align-items:flex-start;background:#fff;border-radius:.75rem;box-shadow:0 1px 3px #0000001a;display:flex;gap:.75rem;padding:1rem;transition:box-shadow .15s}.crew-task-card:hover{box-shadow:0 2px 6px #00000026}.crew-task-card.in-progress{border-left:3px solid #3b82f6}.crew-task-priority{border-radius:2px;flex-shrink:0;height:100%;min-height:40px;width:4px}.crew-task-content{flex:1 1;min-width:0}.crew-task-title{color:#111827;font-weight:600;margin-bottom:.25rem}.crew-task-desc{color:#6b7280;font-size:.875rem;margin-bottom:.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crew-task-meta{align-items:center;display:flex;flex-wrap:wrap;font-size:.75rem;gap:.5rem}.crew-task-assignee,.crew-task-due,.crew-task-zone{align-items:center;color:#6b7280;display:flex;gap:.25rem}.crew-task-due.overdue{color:#ef4444;font-weight:600}.crew-task-badge{border-radius:9999px;color:#fff;font-size:.625rem;font-weight:600;padding:.125rem .375rem;text-transform:uppercase}.crew-task-actions{display:flex;flex-shrink:0;gap:.5rem}.crew-task-card-compact .crew-task-actions{display:none}.crew-btn{align-items:center;border:none;border-radius:.5rem;cursor:pointer;display:flex;font-size:.8125rem;font-weight:500;gap:.25rem;padding:.5rem .75rem;transition:all .15s}.crew-btn-start{background:#e5e7eb;color:#374151}.crew-btn-start:hover{background:#d1d5db}.crew-btn-complete{background:#059669;color:#fff}.crew-btn-complete:hover{background:#047857}.crew-btn-complete:disabled{cursor:not-allowed;opacity:.5}.crew-view-more{align-items:center;border-radius:.5rem;color:#059669;display:flex;font-size:.875rem;font-weight:500;gap:.25rem;justify-content:center;padding:.75rem;text-decoration:none;transition:background .15s}.crew-view-more:hover{background:#f0fdf4}.crew-session-list{display:flex;flex-direction:column;gap:.5rem}.crew-session-card{align-items:center;background:#fff;border-radius:.75rem;box-shadow:0 1px 3px #0000001a;display:flex;gap:.75rem;padding:1rem;text-decoration:none;transition:all .15s}.crew-session-card:hover{background:#f9fafb;box-shadow:0 2px 6px #00000026}.crew-session-content{flex:1 1;min-width:0}.crew-session-name{color:#111827;font-weight:600;margin-bottom:.125rem}.crew-session-info{color:#374151;font-size:.875rem}.crew-session-info,.crew-session-meta{align-items:center;display:flex;gap:.5rem}.crew-session-meta{color:#6b7280;font-size:.75rem;margin-top:.25rem}.crew-session-dot{color:#d1d5db}.crew-session-arrow{color:#9ca3af;flex-shrink:0}.crew-quick-actions{grid-gap:1rem;border-top:1px solid #e5e7eb;display:grid;gap:1rem;grid-template-columns:repeat(2,1fr);margin-top:2rem;padding-top:1.5rem}.crew-action-card{align-items:center;background:#f9fafb;border-radius:.75rem;color:#374151;display:flex;flex-direction:column;font-weight:500;gap:.5rem;justify-content:center;padding:1.5rem;text-decoration:none;transition:all .15s}.crew-action-card:hover{background:#f0fdf4;color:#059669}.crew-action-card svg{color:#059669}@media (max-width:640px){.crew-dashboard{padding:.75rem}.crew-header-content h1{font-size:1.25rem}.crew-stats{grid-template-columns:repeat(2,1fr)}.crew-task-card{flex-wrap:wrap}.crew-task-actions{justify-content:flex-end;margin-top:.5rem;width:100%}.crew-btn span{display:none}.crew-btn{padding:.5rem}}.portal-resources{margin:0 auto;max-width:1200px;padding:1.5rem}.resources-header{margin-bottom:2rem}.resources-header h1{margin:0 0 .5rem}.back-button{background:#f3f4f6;border-radius:6px;color:#374151;display:inline-flex;font-weight:500;gap:.375rem;margin-bottom:.75rem;padding:.5rem .75rem;transition:background-color .15s}.back-button:hover{background:#e5e7eb}.breadcrumbs{align-items:center;color:#6b7280;display:flex;font-size:.875rem;gap:.375rem;margin-bottom:.5rem}.breadcrumb-link{color:#3b82f6;cursor:pointer}.breadcrumb-link:hover{text-decoration:underline}.breadcrumb-sep{color:#d1d5db}.breadcrumb-current{color:#374151;font-weight:500}.featured-section{margin-bottom:2rem}.featured-section h2{align-items:center;color:#1f2937;display:flex;font-size:1.125rem;gap:.5rem;margin:0 0 1rem}.featured-section h2 svg{color:#fbbf24}.featured-scroll{-webkit-overflow-scrolling:touch;display:flex;gap:1rem;overflow-x:auto;padding-bottom:.5rem}.featured-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;flex-shrink:0;overflow:hidden;transition:all .15s;width:200px}.featured-card:hover{border-color:#3b82f6;box-shadow:0 4px 12px #3b82f626}.featured-thumbnail{aspect-ratio:16/9;background:#f3f4f6;position:relative;width:100%}.featured-thumbnail img{height:100%;object-fit:cover;width:100%}.featured-info{padding:.75rem}.featured-info h4{color:#1f2937;font-size:.875rem;font-weight:500;margin:0 0 .25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.featured-type{color:#6b7280;font-size:.75rem}.folders-section,.resources-section{margin-bottom:2rem}.folders-section h2,.resources-section h2{color:#1f2937;font-size:1.125rem;margin:0 0 1rem}.folders-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.folder-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;cursor:pointer;padding:1.25rem;transition:all .15s}.folder-card:hover{border-color:#3b82f6;box-shadow:0 4px 12px #3b82f61a;transform:translateY(-2px)}.folder-icon{align-items:center;border-radius:10px;display:flex;height:48px;justify-content:center;margin-bottom:.75rem;width:48px}.folder-card h3{color:#1f2937;font-size:1rem;font-weight:600;margin:0 0 .25rem}.folder-card p{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#6b7280;display:-webkit-box;font-size:.8125rem;line-height:1.4;margin:0 0 .5rem;overflow:hidden}.item-count{color:#9ca3af;font-size:.75rem}.resources-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.resource-card{background:#fff;border-radius:12px}.resource-thumbnail{aspect-ratio:16/9;background:#f3f4f6;cursor:pointer}.play-overlay{background:#0006;transition:background-color .15s}.resource-thumbnail:hover .play-overlay{background:#00000080}.file-type-badge{bottom:8px;right:8px}.resource-info{padding:1rem}.resource-info h4{font-size:1rem;margin:0 0 .375rem}.resource-description{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#6b7280;display:-webkit-box;font-size:.8125rem;line-height:1.4;margin:0 0 .5rem;overflow:hidden}.file-type{background:#dbeafe;border-radius:4px;color:#1d4ed8;font-weight:500;padding:.125rem .5rem}.file-size{color:#6b7280}.video-tag{background:#fee2e2;border-radius:4px;color:#991b1b;font-weight:500;padding:.125rem .5rem}.resource-actions{border-top:1px solid #f3f4f6;padding:.75rem 1rem}.resource-actions .btn{justify-content:center;width:100%}.btn{padding:.625rem 1rem}.empty-state{padding:4rem 2rem}.empty-state h3{color:#6b7280;margin:1rem 0 .5rem}.error-state,.loading-state{align-items:center;color:#6b7280;display:flex;height:300px;justify-content:center}.error-state{color:#991b1b}.video-modal-overlay{align-items:center;background:#000000d9;bottom:0;display:flex;justify-content:center;left:0;padding:1rem;position:fixed;right:0;top:0;z-index:1000}.video-modal{background:#1f2937;border-radius:12px;display:flex;flex-direction:column;max-height:90vh;max-width:900px;overflow:hidden;width:100%}.video-modal-header{align-items:center;border-bottom:1px solid #374151;display:flex;justify-content:space-between;padding:1rem 1.25rem}.video-modal-header h3{color:#fff;font-size:1.125rem;margin:0}.modal-close{background:#0000;color:#9ca3af;height:36px;width:36px}.modal-close:hover{background:#374151;color:#fff}.video-container{background:#000;padding-top:56.25%;position:relative;width:100%}.video-container iframe,.video-error{height:100%;left:0;position:absolute;top:0;width:100%}.video-error{align-items:center;color:#6b7280;display:flex;justify-content:center}.video-description{border-top:1px solid #374151;padding:1rem 1.25rem}.video-description p{color:#9ca3af;font-size:.875rem;line-height:1.5;margin:0}@media (max-width:768px){.portal-resources{padding:1rem}.resources-header h1{font-size:1.5rem}.folders-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.resources-grid{grid-template-columns:1fr}.featured-card{width:160px}}.pt-container{line-height:1.5}.pt-term{color:#059669;cursor:help;font-weight:500;position:relative;text-decoration:underline;-webkit-text-decoration-style:dotted;text-decoration-style:dotted;text-underline-offset:3px}.pt-term:hover{color:#047857}.pt-tooltip{background:#1f2937;border-radius:8px;box-shadow:0 4px 20px #00000040;color:#fff;font-size:13px;font-weight:400;left:50%;line-height:1.4;max-width:90vw;padding:12px 14px;pointer-events:none;position:absolute;text-decoration:none;transform:translateX(-50%);width:280px;z-index:1000}.pt-tooltip-top{bottom:calc(100% + 10px)}.pt-tooltip-bottom{top:calc(100% + 10px)}.pt-tooltip:after{border:8px solid #0000;content:"";left:50%;position:absolute;transform:translateX(-50%)}.pt-tooltip-top:after{border-top-color:#1f2937;top:100%}.pt-tooltip-bottom:after{border-bottom-color:#1f2937;bottom:100%}.pt-tooltip-header{color:#10b981;font-size:14px;font-weight:600;margin-bottom:6px}.pt-tooltip-definition{color:#e5e7eb;margin-bottom:8px}.pt-tooltip-aliases{border-top:1px solid #374151;color:#9ca3af;font-size:11px;font-style:italic;padding-top:8px}@media (max-width:768px){.pt-term{margin:-2px -4px;padding:2px 4px}.pt-tooltip{left:50%;max-width:320px;pointer-events:auto;position:fixed;transform:translateX(-50%);width:calc(100% - 32px)}.pt-tooltip-top{bottom:auto}.pt-tooltip-bottom,.pt-tooltip-top{top:50%;transform:translate(-50%,-50%)}.pt-tooltip:after{display:none}}.pi-container{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;margin:0 auto;max-width:700px;padding:20px}.pi-container.pi-modal{max-height:90vh;overflow-y:auto}.pi-header{border-bottom:1px solid #e5e7eb;margin-bottom:24px;padding-bottom:16px;text-align:center}.pi-header h2{color:#1f2937;font-size:24px;margin:0 0 8px}.pi-header p{color:#6b7280;margin:0}.pi-progress{display:flex;justify-content:space-between;margin-bottom:24px;padding:0 20px}.pi-progress-step{align-items:center;display:flex;flex:1 1;flex-direction:column;position:relative}.pi-progress-step:after{background:#e5e7eb;content:"";height:2px;left:50%;position:absolute;top:14px;width:100%}.pi-progress-step:last-child:after{display:none}.pi-progress-step.active:after{background:#10b981}.pi-step-number{align-items:center;background:#e5e7eb;border-radius:50%;color:#6b7280;display:flex;font-size:14px;font-weight:600;height:28px;justify-content:center;position:relative;width:28px;z-index:1}.pi-progress-step.active .pi-step-number{background:#10b981;color:#fff}.pi-progress-step.current .pi-step-number{box-shadow:0 0 0 3px #10b98133}.pi-step-label{color:#6b7280;font-size:12px;margin-top:6px}.pi-progress-step.active .pi-step-label{color:#10b981}.pi-step{padding:16px 0}.pi-step h3{color:#1f2937;font-size:18px;margin:0 0 16px}.pi-step h4{color:#374151;font-size:16px;margin:20px 0 12px}.pi-hint{color:#6b7280;font-size:14px;margin-bottom:16px}.pi-livestock-grid{grid-gap:10px;display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));margin-bottom:24px}.pi-livestock-btn{background:#fff;border:2px solid #e5e7eb;border-radius:8px;color:#374151;cursor:pointer;font-size:14px;padding:12px 16px;transition:all .2s}.pi-livestock-btn:hover{background:#f0fdf4;border-color:#10b981}.pi-livestock-btn.selected{background:#10b981;border-color:#10b981;color:#fff}.pi-photo-section{background:#f9fafb;border-radius:8px;margin-top:24px;padding:16px}.pi-photo-upload{text-align:center}.pi-photo-upload input[type=file]{display:none}.pi-upload-btn{align-items:center;background:#fff;border:2px dashed #d1d5db;border-radius:8px;color:#374151;cursor:pointer;display:inline-flex;gap:8px;padding:14px 24px;transition:all .2s}.pi-upload-btn:hover{background:#f0fdf4;border-color:#10b981}.pi-camera-icon{font-size:20px}.pi-photo-preview{text-align:center}.pi-photo-preview img{border-radius:8px;margin-bottom:12px;max-height:300px;max-width:100%}.pi-remove-photo{background:#fee2e2;border:none;border-radius:6px;color:#dc2626;cursor:pointer;font-size:14px;padding:8px 16px}.pi-remove-photo:hover{background:#fecaca}.pi-photo-types-grid{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(3,1fr);margin-top:16px}@media (max-width:600px){.pi-photo-types-grid{grid-template-columns:repeat(2,1fr)}}.pi-photo-type-card{background:#fff;border:2px solid #e5e7eb;border-radius:10px;overflow:hidden;transition:all .2s}.pi-photo-type-card.active{border-color:#10b981;box-shadow:0 0 0 3px #10b98133}.pi-photo-type-card.has-photo{border-color:#10b981}.pi-photo-type-upload{align-items:center;background:none;border:none;cursor:pointer;display:flex;flex-direction:column;min-height:100px;padding:16px 8px;transition:background .2s;width:100%}.pi-photo-type-upload:hover{background:#f0fdf4}.pi-photo-type-icon{font-size:28px;margin-bottom:8px}.pi-photo-type-name{color:#374151;font-size:13px;font-weight:500;text-align:center}.pi-photo-type-instruction{color:#6b7280;font-size:11px;line-height:1.3;margin-top:6px;text-align:center}.pi-photo-type-input-wrapper{background:#f0fdf4;border-top:1px solid #d1fae5;padding:8px}.pi-photo-type-input{display:none}.pi-photo-type-capture-btn{background:#10b981;border:none;border-radius:6px;color:#fff;cursor:pointer;display:block;font-size:13px;font-weight:500;padding:10px;text-align:center;width:100%}.pi-photo-type-capture-btn:hover{background:#059669}.pi-photo-type-preview{position:relative}.pi-photo-type-preview img{height:80px;object-fit:cover;width:100%}.pi-photo-type-overlay{align-items:center;background:#10b9811a;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.pi-photo-type-check{background:#10b981;border-radius:50%;font-size:16px;font-weight:700;height:28px;width:28px}.pi-photo-type-check,.pi-photo-type-remove{align-items:center;color:#fff;display:flex;justify-content:center}.pi-photo-type-remove{background:#dc2626e6;border:none;border-radius:50%;cursor:pointer;font-size:12px;height:22px;opacity:0;position:absolute;right:4px;top:4px;transition:opacity .2s;width:22px}.pi-photo-type-preview:hover .pi-photo-type-remove{opacity:1}.pi-photo-type-label{background:#f9fafb;color:#374151;font-size:11px;font-weight:500;padding:6px;text-align:center}.pi-photos-summary{align-items:center;background:#ecfdf5;border-radius:8px;display:flex;gap:8px;margin-top:16px;padding:10px 14px}.pi-photos-count{color:#059669;font-weight:600}.pi-photos-types{color:#6b7280;font-size:13px}.pi-checklist-category{background:#f9fafb;border-radius:8px;margin-bottom:20px;padding:16px}.pi-checklist-category h4{color:#1f2937;font-size:15px;margin:0 0 12px}.pi-checklist-options{display:flex;flex-direction:column;gap:8px}.pi-checkbox-label{align-items:flex-start;border-radius:6px;cursor:pointer;display:flex;gap:10px;padding:8px;transition:background .2s}.pi-checkbox-label:hover{background:#e5e7eb}.pi-checkbox-label input[type=checkbox]{accent-color:#10b981;height:18px;margin-top:2px;width:18px}.pi-checkbox-text{color:#374151;font-size:14px}.pi-form-group{margin-bottom:16px}.pi-form-group label{color:#374151;display:block;font-weight:500;margin-bottom:6px}.pi-input{max-width:120px}.pi-input,.pi-textarea{border:1px solid #d1d5db;border-radius:6px;font-size:14px;padding:10px 12px;width:100%}.pi-textarea{font-family:inherit;resize:vertical}.pi-input:focus,.pi-select:focus,.pi-textarea:focus{border-color:#10b981;box-shadow:0 0 0 3px #10b9811a;outline:none}.pi-select{background:#fff;border:1px solid #d1d5db;border-radius:6px;cursor:pointer;font-size:14px;padding:10px 12px;width:100%}.pi-field-hint{color:#6b7280;font-size:12px;margin-bottom:0;margin-top:4px}.pi-summary{background:#f0fdf4;border-radius:8px;margin:20px 0;padding:16px}.pi-summary h4{color:#166534;margin:0 0 12px}.pi-summary ul{margin:0;padding-left:20px}.pi-summary li{color:#374151;font-size:14px;margin-bottom:4px}.pi-nav{border-top:1px solid #e5e7eb;display:flex;justify-content:space-between;margin-top:24px;padding-top:16px}.pi-btn{border:none;border-radius:8px;cursor:pointer;font-size:14px;font-weight:500;padding:12px 24px;transition:all .2s}.pi-btn:disabled{cursor:not-allowed;opacity:.5}.pi-btn-primary{background:#10b981;color:#fff}.pi-btn-primary:hover:not(:disabled){background:#059669}.pi-btn-secondary{background:#f3f4f6;color:#374151}.pi-btn-secondary:hover:not(:disabled){background:#e5e7eb}.pi-btn-analyze{align-items:center;display:flex;gap:8px}.pi-error{background:#fee2e2;border-radius:8px;color:#dc2626;font-size:14px;margin-bottom:16px;padding:12px 16px}.pi-loading{color:#6b7280;padding:40px;text-align:center}.pi-spinner{animation:pi-spin .8s linear infinite;border:2px solid #e5e7eb;border-radius:50%;border-top-color:#10b981;display:inline-block;height:20px;margin-right:8px;width:20px}@keyframes pi-spin{to{transform:rotate(1turn)}}.pi-results-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:20px}.pi-results-header h3{margin:0}.pi-confidence-badge{border-radius:20px;font-size:13px;font-weight:500;padding:6px 12px}.confidence-high{background:#d1fae5;color:#065f46}.confidence-medium-high{background:#fef3c7;color:#92400e}.confidence-medium{background:#fed7aa;color:#9a3412}.confidence-low{background:#fee2e2;color:#991b1b}.confidence-very-low{background:#f3f4f6;color:#6b7280}.pi-primary-suspect{background:#f0fdf4;border:1px solid #10b981;border-radius:12px;margin-bottom:20px;padding:20px}.pi-suspect-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:16px}.pi-suspect-header-left{align-items:flex-start;display:flex;gap:16px}.pi-suspect-image{border:2px solid #d1fae5;border-radius:8px;flex-shrink:0;height:90px;object-fit:cover;width:120px}.pi-suspect-title h4{color:#6b7280;font-size:13px;letter-spacing:.5px;margin:0 0 4px;text-transform:uppercase}.pi-suspect-name{color:#1f2937;font-size:24px;font-weight:700;margin-bottom:4px}.pi-suspect-category{color:#6b7280;font-size:14px;text-transform:capitalize}.pi-match-badge{border-radius:20px;font-size:12px;font-weight:600;padding:6px 12px;white-space:nowrap}.pi-match-badge.match-best{background:#10b981;color:#fff}.pi-match-badge.match-strong{background:#d1fae5;color:#065f46}.pi-match-badge.match-possible{background:#fef3c7;color:#92400e}.pi-match-badge.match-unlikely{background:#f3f4f6;color:#6b7280}.pi-evidence-match{background:#fff;border-radius:6px;color:#059669;font-size:13px;font-weight:500;margin-bottom:12px;padding:8px 12px}.pi-score{color:#10b981;font-size:18px;font-weight:700}.pi-suspect-info,.pi-suspect-reasoning{background:#fff;border-radius:6px;color:#374151;font-size:14px;margin-bottom:8px;padding:8px 12px}.pi-legal-note{align-items:flex-start;background:#fef3c7;border-radius:6px;color:#92400e;display:flex;font-size:13px;gap:8px;margin-top:12px;padding:12px}.pi-legal-icon{font-size:16px}.pi-prevention-section{border-top:1px solid #d1fae5;margin-top:20px;padding-top:16px}.pi-prevention-section h5{color:#1f2937;font-size:15px;margin:0 0 12px}.pi-prevention-list{margin:0;padding-left:20px}.pi-prevention-list li{color:#374151;font-size:14px;margin-bottom:10px}.pi-other-suspects{margin-bottom:20px}.pi-other-suspects h4{color:#1f2937;font-size:16px;margin:0 0 8px}.pi-other-intro{color:#6b7280;font-size:13px;margin:0 0 12px}.pi-other-suspect-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;margin-bottom:8px;overflow:hidden;transition:border-color .2s}.pi-other-suspect-card.expanded{border-color:#10b981}.pi-other-suspect-header{align-items:center;background:none;border:none;cursor:pointer;display:flex;justify-content:space-between;padding:12px 14px;text-align:left;transition:background .2s;width:100%}.pi-other-suspect-header:hover{background:#f3f4f6}.pi-other-suspect-left{align-items:center;display:flex;gap:12px}.pi-other-suspect-thumb{border:1px solid #d1d5db;border-radius:4px;flex-shrink:0;height:36px;object-fit:cover;width:48px}.pi-other-suspect-right{align-items:center;display:flex;gap:12px}.pi-expand-icon{color:#6b7280;font-size:12px;transition:transform .2s}.pi-expand-icon.expanded{transform:rotate(180deg)}.pi-other-suspect-content{background:#fff;border-top:1px solid #e5e7eb;padding:0 14px 14px}.pi-other-suspect-content .pi-legal-note,.pi-other-suspect-content .pi-suspect-info{margin-top:12px}.pi-other-suspect-content .pi-prevention-section{border-top:1px solid #e5e7eb;margin-top:16px;padding-top:12px}.pi-other-suspect-content .pi-prevention-section h5{font-size:14px;margin:0 0 10px}.pi-other-name{color:#374151;font-size:15px;font-weight:500}.pi-other-score{color:#6b7280;font-size:14px}.pi-photo-analysis{background:#f9fafb;border-radius:8px;margin-bottom:20px;padding:16px}.pi-photo-analysis h4{color:#6b7280;font-size:14px;margin:0 0 12px}.pi-wounds-list{font-size:14px}.pi-wound-item{border-bottom:1px solid #e5e7eb;padding:8px 0}.pi-wound-item:last-child{border-bottom:none}.pi-photo-notes{color:#6b7280;font-size:13px;font-style:italic;margin-top:12px}.pi-save-section{background:#f9fafb;border-radius:8px;margin-top:20px;padding:16px;text-align:center}.pi-save-section p{color:#6b7280;margin:0 0 12px}.pi-saved-message{background:#d1fae5;border-radius:8px;color:#065f46;font-weight:500;margin-top:20px;padding:12px;text-align:center}@media (max-width:600px){.pi-container{border-radius:0;padding:16px}.pi-header h2{font-size:20px}.pi-livestock-grid{grid-template-columns:repeat(2,1fr)}.pi-progress{padding:0}.pi-step-label{display:none}.pi-nav{flex-direction:column;gap:12px}.pi-btn{text-align:center;width:100%}.pi-suspect-name{font-size:20px}.pi-suspect-header{flex-direction:column;gap:12px}.pi-suspect-header-left{align-items:flex-start;flex-direction:column;width:100%}.pi-suspect-image{height:140px;width:100%}.pi-match-badge.match-best{align-self:flex-start}.pi-other-suspect-thumb{height:30px;width:40px}.pi-other-suspect-right{gap:8px}}.portal-predator-id-page{margin:0 auto;max-width:800px;padding:20px}.portal-predator-id-header{margin-bottom:16px}.portal-back-btn{align-items:center;background:#f3f4f6;border:none;border-radius:6px;color:#374151;cursor:pointer;display:inline-flex;font-size:14px;gap:6px;padding:8px 16px;transition:background .2s}.portal-back-btn:hover{background:#e5e7eb}.portal-set-password{align-items:center;background:linear-gradient(135deg,#f5f7fa,#c3cfe2);display:flex;justify-content:center;min-height:100vh;padding:20px}.set-password-card{background:#fff;border-radius:16px;box-shadow:0 10px 40px #0000001a;max-width:420px;padding:40px;text-align:center;width:100%}.set-password-header{margin-bottom:32px}.set-password-logo{height:60px;margin-bottom:20px}.set-password-header h1{color:#1f2937;font-size:1.75rem;margin:0 0 8px}.set-password-subtitle{color:#6b7280;font-size:.95rem;line-height:1.5;margin:0}.email-display{align-items:center;background:#f3f4f6;border-radius:8px;display:flex;gap:8px;justify-content:center;margin-bottom:24px;padding:12px 16px}.email-label{color:#6b7280;font-size:.875rem}.email-value{color:#1f2937;font-weight:600}.set-password-form{text-align:left}.form-group label{margin-bottom:8px}.form-group input{padding:12px 16px}.form-group input:focus{border-color:#e73c3e}.field-hint{margin-top:4px}.error-message{text-align:center}.success-message{color:#059669;font-size:1rem}.success-icon{color:#059669;font-size:2rem;height:60px;margin:0 auto 16px;width:60px}.btn-primary{padding:14px 24px;transition:background .2s;width:100%}.btn-primary:hover:not(:disabled){background:#c73235}.btn-primary:disabled{background:#9ca3af}.set-password-footer{border-top:1px solid #e5e7eb;margin-top:24px;padding-top:24px}.set-password-footer p{color:#6b7280;font-size:.875rem;margin:0}.set-password-footer a{color:#e73c3e;font-weight:600;text-decoration:none}.set-password-footer a:hover{text-decoration:underline}.loading-spinner{animation:spin .8s linear infinite;border:3px solid #f3f4f6;border-top-color:#e73c3e;margin:0 auto 16px}@media (max-width:480px){.set-password-card{padding:24px}.set-password-header h1{font-size:1.5rem}}:root{--prod-primary:#8b0000;--prod-primary-dark:#6b0000;--prod-secondary:beige;--prod-accent:#4a5d23;--prod-warning:#f59e0b;--prod-danger:#dc2626;--prod-text:#2d2013;--prod-text-light:#6b5b4d;--prod-border:#d4c4b0;--prod-card-bg:#fff;--prod-shadow:#2d201314}.production-page{background-color:beige;background-color:var(--prod-secondary);min-height:calc(100vh - 64px);padding:24px 32px}.production-loading{align-items:center;color:#6b5b4d;color:var(--prod-text-light);display:flex;flex-direction:column;justify-content:center;min-height:400px}.loading-spinner{border:4px solid #d4c4b0;border:4px solid var(--prod-border);border-top-color:var(--prod-primary);height:48px;margin-bottom:16px;width:48px}.production-header{margin-bottom:24px}.production-header .header-content h1{color:#2d2013;color:var(--prod-text);font-size:28px;font-weight:700;margin:0}.production-header .header-subtitle{color:#6b5b4d;color:var(--prod-text-light);font-size:14px;margin:4px 0 0}.view-tabs{background:#fff;background:var(--prod-card-bg);border-radius:10px;box-shadow:0 2px 8px #2d201314;box-shadow:0 2px 8px var(--prod-shadow);gap:4px;margin-bottom:24px;padding:6px;width:-webkit-fit-content;width:fit-content}.view-tabs .tab{background:#0000;border:none;border-radius:6px;color:#6b5b4d;color:var(--prod-text-light);cursor:pointer;font-size:14px;font-weight:500;padding:10px 20px;transition:all .2s ease}.view-tabs .tab:hover{background:beige;background:var(--prod-secondary);color:#2d2013;color:var(--prod-text)}.view-tabs .tab.active{background:#8b0000;background:var(--prod-primary);color:#fff}.status-summary{gap:16px;margin-bottom:24px}.summary-card{border-left:4px solid #0000;border-radius:10px;box-shadow:0 2px 8px #2d201314;box-shadow:0 2px 8px var(--prod-shadow);padding:16px 20px}.summary-card.planned{border-left-color:#6b5b4d;border-left-color:var(--prod-text-light)}.summary-card.in-production{border-left-color:#f59e0b;border-left-color:var(--prod-warning)}.summary-card.completed{border-left-color:#4a5d23;border-left-color:var(--prod-accent)}.summary-card.packaging{border-left-color:#3b82f6}.summary-count{color:#2d2013;color:var(--prod-text);font-size:32px}.summary-label{font-size:13px;letter-spacing:.5px}.date-section{margin-bottom:32px}.date-header{border-bottom:2px solid #d4c4b0;border-bottom:2px solid var(--prod-border);color:#2d2013;color:var(--prod-text);font-size:18px;font-weight:600;margin:0 0 16px;padding-bottom:8px}.batches-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(340px,1fr))}.batch-card{background:var(--prod-card-bg);border-left:4px solid #6b5b4d;border-left:4px solid var(--prod-text-light);border-radius:12px;box-shadow:0 2px 8px #2d201314;box-shadow:0 2px 8px var(--prod-shadow);overflow:hidden;transition:all .2s ease}.batch-card:hover{box-shadow:0 4px 16px #2d201326;transform:translateY(-2px)}.batch-card.status-planned{border-left-color:#6b5b4d;border-left-color:var(--prod-text-light)}.batch-card.status-in-production{border-left-color:#f59e0b;border-left-color:var(--prod-warning)}.batch-card.status-completed{border-left-color:#4a5d23;border-left-color:var(--prod-accent)}.batch-card.status-packaged{border-left-color:#3b82f6}.batch-card.status-shipped{border-left-color:#10b981}.batch-card-header{border-bottom:1px solid #d4c4b0;border-bottom:1px solid var(--prod-border);padding:16px}.batch-info{gap:4px}.batch-number{color:var(--prod-primary)}.batch-formula{color:#2d2013;color:var(--prod-text);font-size:16px;font-weight:500}.batch-form{border-radius:4px;display:inline-block;font-size:11px;font-weight:600;padding:2px 8px;text-transform:uppercase;width:-webkit-fit-content;width:fit-content}.batch-form.form-mash{background:#8b451326;color:#8b4513}.batch-form.form-pellet{background:#4a5d2326;color:#4a5d23;color:var(--prod-accent)}.batch-form.form-crumble{background:#3b82f626;color:#1d4ed8}.batch-status{border-radius:6px;font-size:12px;font-weight:600;padding:4px 10px;text-transform:uppercase}.batch-status.status-planned{background:#6b5b4d26;color:#6b5b4d;color:var(--prod-text-light)}.batch-status.status-in-production{background:#f59e0b26;color:#b45309}.batch-status.status-completed{background:#4a5d2326;color:#4a5d23;color:var(--prod-accent)}.batch-status.status-packaged{background:#3b82f626;color:#1d4ed8}.batch-status.status-shipped{background:#10b98126;color:#047857}.batch-card-body{align-items:center;display:flex;justify-content:space-between;padding:16px}.batch-weight{align-items:baseline;display:flex;gap:4px}.weight-value{color:#2d2013;color:var(--prod-text);font-size:28px;font-weight:700}.batch-orders,.weight-unit{color:#6b5b4d;color:var(--prod-text-light);font-size:14px}.batch-card-footer{align-items:center;background:beige;background:var(--prod-secondary);display:flex;justify-content:space-between;padding:12px 16px}.ship-dates{color:#6b5b4d;color:var(--prod-text-light);font-size:13px}.batch-actions .btn{font-size:13px;padding:6px 12px}.no-batches{background:#fff;background:var(--prod-card-bg);border-radius:12px;box-shadow:0 2px 8px #2d201314;box-shadow:0 2px 8px var(--prod-shadow);padding:60px 20px;text-align:center}.no-batches p{color:#6b5b4d;color:var(--prod-text-light);margin-bottom:20px}.modal-content{background:var(--prod-card-bg);max-width:800px}.modal-header{border-bottom:1px solid #d4c4b0;border-bottom:1px solid var(--prod-border)}.modal-header h2{color:#2d2013;color:var(--prod-text);font-size:20px}.modal-close{font-size:28px}.modal-footer{border-top:1px solid #d4c4b0;border-top:1px solid var(--prod-border)}.batch-detail-modal{max-width:700px}.batch-detail-header{margin-bottom:20px}.batch-detail-header h3{color:#2d2013;color:var(--prod-text);font-size:20px;margin:0 0 8px}.batch-status-large{border-radius:8px;font-size:14px;font-weight:600;padding:6px 14px}.batch-detail-info{background:beige;background:var(--prod-secondary);border-radius:8px;margin-bottom:20px;padding:16px}.info-row{border-bottom:1px solid #d4c4b0;border-bottom:1px solid var(--prod-border);padding:8px 0}.info-label{color:#6b5b4d;color:var(--prod-text-light);font-size:14px}.info-value{font-size:14px}.batch-allocations h4,.info-value{color:#2d2013;color:var(--prod-text)}.batch-allocations h4{font-size:16px;margin:0 0 12px}.allocations-table{border-collapse:collapse;width:100%}.allocations-table td,.allocations-table th{border-bottom:1px solid #d4c4b0;border-bottom:1px solid var(--prod-border);padding:10px 12px;text-align:left}.allocations-table th{background:beige;background:var(--prod-secondary);color:#6b5b4d;color:var(--prod-text-light);font-size:12px;font-weight:600;text-transform:uppercase}.allocations-table td{color:#2d2013;color:var(--prod-text);font-size:14px}.allocations-table a{color:#8b0000;color:var(--prod-primary);font-weight:500;text-decoration:none}.allocations-table a:hover{text-decoration:underline}.allocations-table tfoot td{font-weight:600}.allocations-table tfoot td,.batch-notes{background:beige;background:var(--prod-secondary)}.batch-notes{border-radius:8px;margin-top:20px;padding:16px}.batch-notes h4{color:#6b5b4d;color:var(--prod-text-light);font-size:14px;margin:0 0 8px}.batch-notes p{color:#2d2013;color:var(--prod-text);font-size:14px;margin:0}.generate-modal{max-width:600px}.generate-info p{color:#2d2013;color:var(--prod-text);margin:0 0 16px}.generate-info ul{color:#6b5b4d;color:var(--prod-text-light);margin:0 0 20px;padding-left:20px}.generate-info li{margin-bottom:8px}.generate-actions{display:flex;gap:12px;justify-content:flex-end}.generate-results h3{color:#2d2013;color:var(--prod-text);margin:0 0 16px}.result-summary{background:beige;background:var(--prod-secondary);border-radius:8px;margin-bottom:16px;padding:16px}.result-summary p{color:#2d2013;color:var(--prod-text);font-size:14px;margin:0 0 8px}.result-summary p:last-child{margin-bottom:0}.result-batches h4{color:#2d2013;color:var(--prod-text);font-size:14px;margin:0 0 12px}.result-batches ul{margin:0;padding-left:20px}.result-batches li{color:#6b5b4d;color:var(--prod-text-light);font-size:14px;margin-bottom:6px}.no-batches-message{color:#4a5d23;color:var(--prod-accent);font-weight:500}.result-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:20px}.btn{border-radius:8px;font-size:14px}.btn-sm{font-size:13px;padding:6px 12px}.btn-primary{background:var(--prod-primary)}.btn-primary:hover{background:#6b0000;background:var(--prod-primary-dark)}.btn-secondary{background:beige;background:var(--prod-secondary);border:1px solid #d4c4b0;border:1px solid var(--prod-border);color:#2d2013;color:var(--prod-text)}.btn-secondary:hover{background:#d4c4b0;background:var(--prod-border)}.btn-success{background:#4a5d23;background:var(--prod-accent)}.btn-success:hover{background:#3d4d1c}.alert{margin-bottom:16px;padding:12px 16px}.alert-error{background:#dc26261a;border:1px solid #dc26264d;color:#dc2626;color:var(--prod-danger)}@media (max-width:1200px){.batches-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:768px){.production-page{padding:16px}.production-header{align-items:flex-start;flex-direction:column;gap:16px}.production-header .header-content h1{font-size:24px}.header-actions{flex-direction:column;width:100%}.header-actions .btn{min-height:48px;width:100%}.view-tabs{overflow-x:auto;scrollbar-width:none;width:100%}.view-tabs::-webkit-scrollbar{display:none}.view-tabs .tab{min-height:48px;white-space:nowrap}.status-summary{flex-wrap:wrap;gap:12px}.summary-card{flex:1 1 45%;min-height:80px}.batches-grid{grid-template-columns:1fr}.modal-content{border-radius:0;margin:0;max-height:100vh}.modal-footer{flex-direction:column}.modal-footer .btn{min-height:48px;width:100%}.btn{min-height:48px}.btn-sm{min-height:44px}input,select,textarea{font-size:16px!important}}@media (max-width:480px){.summary-card{flex:1 1 100%}.batch-card-footer{flex-direction:column;gap:10px}.batch-actions,.batch-actions .btn{width:100%}}.batch-page-header{margin-bottom:24px}.back-btn{margin-bottom:12px}.batch-title{align-items:center;display:flex;gap:16px}.batch-title h1{color:#2d2013;color:var(--prod-text);font-size:28px;font-weight:700;margin:0}.batch-detail-error{padding:60px 20px;text-align:center}.batch-detail-error p{color:#dc2626;color:var(--prod-danger);margin-bottom:20px}.batch-detail-layout{grid-gap:24px;display:grid;gap:24px;grid-template-columns:1fr 380px}.batch-actions-column,.batch-info-column{display:flex;flex-direction:column;gap:20px}.detail-card{background:#fff;background:var(--prod-card-bg);border-radius:12px;box-shadow:0 2px 8px #2d201314;box-shadow:0 2px 8px var(--prod-shadow);padding:24px}.detail-card h2{font-size:22px;margin:0 0 4px}.detail-card h2,.detail-card h3{color:#2d2013;color:var(--prod-text)}.detail-card h3{font-size:16px;margin:0 0 16px}.detail-card-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:20px}.detail-info-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(2,1fr)}.info-item{gap:4px}.info-item .info-label{color:#6b5b4d;color:var(--prod-text-light);font-size:12px;letter-spacing:.5px;text-transform:uppercase}.info-item .info-value{color:#2d2013;color:var(--prod-text);font-size:14px;font-weight:500}.info-item .info-value.large{font-size:24px;font-weight:700}.orders-list{overflow-x:auto}.batch-notes-text{color:#2d2013;color:var(--prod-text);font-size:14px;margin:0;white-space:pre-wrap}.status-progress{display:flex;flex-direction:column;gap:0}.progress-step{color:#6b5b4d;color:var(--prod-text-light);gap:12px;padding:12px 0}.progress-step:not(:last-child):after{bottom:-12px;left:11px;top:36px;width:2px}.progress-step:not(:last-child):after,.step-dot{background:#d4c4b0;background:var(--prod-border)}.step-dot{border-radius:50%;flex-shrink:0;height:24px;position:relative;width:24px;z-index:1}.progress-step.active .step-dot{background:#f59e0b;background:var(--prod-warning);box-shadow:0 0 0 4px #f59e0b33}.progress-step.active{color:#2d2013;color:var(--prod-text);font-weight:500}.progress-step.completed .step-dot,.progress-step.completed:not(:last-child):after{background:#4a5d23;background:var(--prod-accent)}.action-card{border:2px solid #8b0000;border:2px solid var(--prod-primary)}.action-card p{color:#6b5b4d;color:var(--prod-text-light);margin:0 0 16px}.btn-large{font-size:16px;padding:14px 20px;width:100%}.completion-form{display:flex;flex-direction:column;gap:16px}.form-group label{color:#2d2013;color:var(--prod-text)}.form-input,.form-select,.form-textarea{border:1px solid #d4c4b0;border:1px solid var(--prod-border);border-radius:8px;color:#2d2013;color:var(--prod-text)}.form-input:focus,.form-select:focus,.form-textarea:focus{border-color:#8b0000;border-color:var(--prod-primary);box-shadow:0 0 0 3px #8b00001a}.weight-match-indicator{align-items:center;border-radius:8px;display:flex;font-size:14px;font-weight:500;gap:8px;padding:12px}.weight-match-indicator.exact{background:#4a5d231a;color:#4a5d23;color:var(--prod-accent)}.weight-match-indicator.excess{background:#3b82f61a;color:#1d4ed8}.weight-match-indicator.short{background:#f59e0b1a;color:#b45309}.match-icon{font-size:18px;font-weight:700}.completed-card{background:#4a5d230d;border:1px solid #4a5d23;border:1px solid var(--prod-accent)}.completed-info p{color:#2d2013;color:var(--prod-text);font-size:14px;margin:0 0 8px}.completed-info p:last-child{margin-bottom:16px}@media (max-width:1024px){.batch-detail-layout{grid-template-columns:1fr}.batch-actions-column{order:-1}}@media (max-width:768px){.detail-info-grid{grid-template-columns:1fr}.batch-title{align-items:flex-start;flex-direction:column;gap:8px}}.batch-mixing-page{margin:0 auto;max-width:1400px}.batch-mixing-header{margin-bottom:24px}.batch-mixing-title{margin-top:16px}.batch-mixing-title h1{align-items:center;color:#2d2013;color:var(--prod-text);display:flex;font-size:1.75rem;gap:12px;margin:0 0 8px}.batch-icon{font-size:1.5rem}.batch-mixing-subtitle{align-items:center;display:flex;flex-wrap:wrap;gap:8px}.badge{font-size:.8rem;padding:4px 12px}.badge-grade{background-color:#fef3c7;color:#92400e}.badge-animal{background-color:#dbeafe;color:#1e40af}.badge-form{background-color:#e0e7ff;color:#3730a3}.badge-pellet{background-color:#f3e8ff;color:#7c3aed}.badge-status{border-radius:12px;font-size:.8rem;font-weight:600;padding:4px 12px}.badge-status.status-planned{background-color:#e0e7ff;color:#3730a3}.badge-status.status-in_production{background-color:#fef3c7;color:#92400e}.badge-status.status-completed{background-color:#d1fae5;color:#065f46}.mixing-summary-cards{grid-template-columns:repeat(3,1fr)}.summary-card{background:var(--prod-card-bg);border:2px solid #d4c4b0;border:2px solid var(--prod-border)}.summary-card.highlight-green{background:linear-gradient(135deg,#f0fdf4,#dcfce7);border-color:#4a5d23;border-color:var(--prod-accent)}.summary-card.highlight-yellow{background:linear-gradient(135deg,#fffbeb,#fef3c7);border-color:#f59e0b;border-color:var(--prod-warning)}.summary-label{color:#6b5b4d;color:var(--prod-text-light);font-size:.85rem;font-weight:600}.summary-value{color:#2d2013;color:var(--prod-text)}.mixing-progress-container{margin-bottom:24px}.mixing-progress-bar{background:#d4c4b0;background:var(--prod-border);border-radius:12px;height:24px;overflow:hidden}.mixing-progress-fill{background:linear-gradient(90deg,#4a5d23,#6b8e23);background:linear-gradient(90deg,var(--prod-accent) 0,#6b8e23 100%);border-radius:12px;height:100%;transition:width .3s ease}.mixing-progress-label{color:#6b5b4d;color:var(--prod-text-light);font-size:.9rem;font-weight:500;margin-top:8px;text-align:center}.mixing-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:24px}.mixing-actions .btn-large{font-size:1.1rem;padding:12px 32px}.mixing-section{background:#fff;background:var(--prod-card-bg);border:2px solid #d4c4b0;border:2px solid var(--prod-border);border-radius:12px;margin-bottom:24px;padding:24px}.mixing-section h2{border-bottom:2px solid #d4c4b0;border-bottom:2px solid var(--prod-border);color:#2d2013;color:var(--prod-text);font-size:1.25rem;margin:0 0 16px;padding-bottom:12px}.mixing-table-container{overflow-x:auto}.mixing-table{border-collapse:collapse;width:100%}.mixing-table td,.mixing-table th{border-bottom:1px solid #d4c4b0;border-bottom:1px solid var(--prod-border);padding:12px 16px;text-align:left}.mixing-table th{background:beige;background:var(--prod-secondary);color:#2d2013;color:var(--prod-text);font-size:.85rem;font-weight:600;text-transform:uppercase}.mixing-table tbody tr:hover{background:#8b000008}.ingredient-row.added{background:#4a5d2314}.ingredient-row.stock-low{background:#f59e0b14}.ingredient-row.stock-out{background:#dc262614}.ingredient-name{color:#2d2013;color:var(--prod-text);font-weight:500}.ingredient-percent{color:#6b5b4d;color:var(--prod-text-light)}.ingredient-input,.ingredient-needed,.ingredient-stock{font-family:Monaco,Consolas,monospace}.ingredient-input{border:2px solid #d4c4b0;border:2px solid var(--prod-border);border-radius:6px;font-size:1rem;padding:8px 12px;width:100px}.ingredient-input:focus{border-color:#8b0000;border-color:var(--prod-primary);outline:none}.ingredient-status{align-items:center;display:flex;gap:8px}.stock-icon{font-size:1rem;font-weight:700}.stock-icon.sufficient{color:#4a5d23;color:var(--prod-accent)}.stock-icon.low{color:#f59e0b;color:var(--prod-warning)}.stock-icon.out{color:#dc2626;color:var(--prod-danger)}.added-check{color:#4a5d23;color:var(--prod-accent);font-weight:700}.totals-row{background:beige;background:var(--prod-secondary);font-weight:600}.totals-row td{font-size:1rem}.stock-legend{border-top:1px solid #d4c4b0;border-top:1px solid var(--prod-border);color:#6b5b4d;color:var(--prod-text-light);display:flex;font-size:.85rem;gap:24px;margin-top:16px;padding-top:16px}.stock-legend span{align-items:center;display:flex;gap:6px}.success-toast{align-items:center;animation:slideIn .3s ease-out;background:linear-gradient(135deg,#059669,#047857);border-radius:12px;box-shadow:0 8px 24px #05966966;color:#fff;display:flex;font-size:1rem;font-weight:500;gap:12px;padding:16px 24px;position:fixed;right:20px;top:20px;z-index:1100}.success-toast .success-icon{align-items:center;background:#fff3;border-radius:50%;display:flex;font-size:1.5rem;height:32px;justify-content:center;width:32px}.adjustment-notice{align-items:center;background:#fef3c7;border:1px solid #f59e0b;border-radius:8px;color:#92400e;display:flex;font-size:.9rem;gap:10px;margin-bottom:16px;padding:12px 16px}.adjustment-notice .notice-icon{color:#f59e0b;font-size:1.2rem}.ingredient-row.adjusted{background:linear-gradient(90deg,#3b82f614,#3b82f60a);border-left:3px solid #3b82f6}.ingredient-row.adjusted td:first-child{padding-left:13px}.ingredient-input.input-adjusted{background:#3b82f60d;border-color:#3b82f6}.ingredient-actions{border-top:2px solid #d4c4b0;border-top:2px solid var(--prod-border);display:flex;gap:12px;justify-content:flex-end;margin-top:20px;padding-top:20px}.ingredient-actions .btn-large{font-size:1.1rem;font-weight:600;padding:14px 36px}.ingredient-actions .btn-primary{background:linear-gradient(135deg,#8b0000,#6b0f0f);background:linear-gradient(135deg,var(--prod-primary) 0,#6b0f0f 100%);box-shadow:0 4px 12px #8b000040}.ingredient-actions .btn-primary:hover:not(:disabled){box-shadow:0 6px 16px #8b00004d;transform:translateY(-1px)}.summary-card.highlight-blue{background:linear-gradient(135deg,#eff6ff,#dbeafe);border-color:#3b82f6}.mixing-summary-cards{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin-bottom:24px}.order-allocation-card{align-items:center;background:beige;background:var(--prod-secondary);border-radius:8px;display:flex;justify-content:space-between;margin-bottom:12px;padding:16px}.order-info{flex-direction:column;gap:4px}.order-number{color:#8b0000;color:var(--prod-primary)}.customer-name{color:#6b5b4d;color:var(--prod-text-light);font-size:.9rem}.order-details{align-items:center;gap:12px}.allocated-weight{font-size:1.1rem;font-weight:600}.package-type{color:#6b5b4d;color:var(--prod-text-light)}.post-milling-cards{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(3,1fr)}.post-milling-card{background:beige;background:var(--prod-secondary);border-radius:8px;padding:16px;text-align:center}.post-milling-label{color:#6b5b4d;color:var(--prod-text-light);font-size:.85rem;margin-bottom:4px}.post-milling-value{color:#2d2013;color:var(--prod-text);font-size:1.5rem;font-weight:700}.modal-content{box-shadow:0 25px 50px -12px #00000040}.modal-header{border-bottom:2px solid #d4c4b0;border-bottom:2px solid var(--prod-border);padding:20px 24px}.modal-header h3{color:#2d2013;color:var(--prod-text)}.modal-close{color:#6b5b4d;color:var(--prod-text-light)}.modal-close:hover{color:#2d2013;color:var(--prod-text)}.modal-body{padding:24px}.modal-footer{border-top:2px solid #d4c4b0;border-top:2px solid var(--prod-border);padding:16px 24px}.completion-summary{background:beige;background:var(--prod-secondary);border-radius:8px;margin-bottom:16px;padding:16px}.completion-summary p{margin:8px 0}.text-warning{color:#f59e0b;color:var(--prod-warning)}.text-danger{color:var(--prod-danger)}.completion-warning{background:#fef3c7;border:1px solid #f59e0b;border:1px solid var(--prod-warning);border-radius:8px;margin-top:16px;padding:16px}.completion-warning p{font-weight:600;margin:0 0 8px}.completion-warning ul{margin:0;padding-left:20px}.completion-warning li{margin:4px 0}.help-text{color:#6b5b4d;color:var(--prod-text-light);font-size:.85rem;margin:8px 0}@media (max-width:768px){.mixing-summary-cards,.post-milling-cards{grid-template-columns:1fr}.mixing-actions{flex-direction:column}.mixing-actions .btn{width:100%}.order-allocation-card{align-items:flex-start;flex-direction:column;gap:12px}.batch-mixing-subtitle{flex-wrap:wrap}}.batch-search-page{margin:0 auto;max-width:1400px;padding:2rem}.page-header{margin-bottom:2rem}.page-header h1{font-size:2rem;margin:0 0 .5rem}.page-subtitle{font-size:1.1rem;margin:0}.search-filters-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;margin-bottom:2rem;padding:1.5rem}.filters-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:1rem}.filter-group label{color:#333;font-size:.9rem}.form-input,.form-select{border:1px solid #ddd;border-radius:6px;font-size:1rem;padding:.75rem;transition:border-color .2s}.form-input:focus,.form-select:focus{border-color:#2e7d32;box-shadow:0 0 0 2px #2e7d321a;outline:none}.filter-actions{border-top:1px solid #eee;display:flex;gap:1rem;justify-content:flex-end;padding-top:1rem}.btn{font-size:.95rem;padding:.75rem 1.5rem}.btn-sm{font-size:.85rem;padding:.5rem 1rem}.btn-primary{background-color:#2e7d32}.btn-primary:hover{background-color:#1b5e20}.btn-primary:disabled{background-color:#a5d6a7}.btn-secondary{background-color:#546e7a}.btn-secondary:hover{background-color:#37474f}.btn-outline{background-color:initial;border:1px solid #2e7d32;color:#2e7d32}.btn-outline:hover{background-color:#e8f5e9}.alert{border-radius:8px;margin-bottom:1rem;padding:1rem}.alert-error{background-color:#ffebee;border:1px solid #ef9a9a;color:#c62828}.results-section{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;padding:1.5rem}.results-section h2{color:#333;font-size:1.3rem;margin:0 0 1rem}.results-table-container{overflow-x:auto}.results-table{border-collapse:collapse;width:100%}.results-table td,.results-table th{border-bottom:1px solid #eee;padding:.75rem 1rem;text-align:left}.results-table th{background-color:#f5f7f5;color:#333;font-weight:600;white-space:nowrap}.results-table tbody tr:hover{background-color:#f9fdf9}.batch-number-cell{color:#1a4d1a;font-family:monospace;font-weight:600}.weight-cell{white-space:nowrap}.orders-cell{text-align:center}.status-badge{font-size:.85rem}.status-completed{background-color:#e8f5e9;color:#2e7d32}.status-in-progress{background-color:#fff3e0;color:#e65100}.status-planned{background-color:#e3f2fd;color:#1565c0}.status-cancelled{background-color:#ffebee;color:#c62828}.empty-state{box-shadow:0 2px 8px #00000014;color:#666}.modal-overlay{padding:2rem}.modal{max-height:none;max-width:600px}.modal-large{max-width:900px}.modal-header h3{color:#1a4d1a;font-size:1.25rem}.modal-body{max-height:70vh}.modal-footer{gap:1rem}.trace-section{margin-bottom:2rem}.trace-section:last-child{margin-bottom:0}.trace-section h4{border-bottom:2px solid #e8f5e9;color:#333;font-size:1.1rem;margin:0 0 1rem;padding-bottom:.5rem}.trace-info-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.trace-info-item{display:flex;flex-direction:column;gap:.25rem}.trace-info-item.full-width{grid-column:1/-1}.trace-info-item .label{color:#666;font-size:.85rem;font-weight:500}.trace-info-item .value{color:#333;font-weight:500}.trace-table-container{overflow-x:auto}.trace-table{border-collapse:collapse;font-size:.9rem;width:100%}.trace-table td,.trace-table th{border-bottom:1px solid #eee;padding:.6rem .75rem;text-align:left}.trace-table th{background-color:#f5f7f5;color:#333;font-weight:600;white-space:nowrap}.trace-table tbody tr.not-added{background-color:#fff8e1}.trace-table .sku-cell{color:#666;font-family:monospace;font-size:.85rem}.trace-table .variance-highlight{color:#e65100;font-weight:600}.trace-table .order-number-cell{font-weight:600}.no-data{color:#666;font-style:italic;padding:1rem 0}.print-status{border-radius:4px;display:inline-block;font-size:.8rem;font-weight:500;padding:.2rem .5rem}.print-status.success{background-color:#e8f5e9;color:#2e7d32}.print-status.failed{background-color:#ffebee;color:#c62828}.print-status.pending{background-color:#fff3e0;color:#e65100}@media (max-width:768px){.batch-search-page{padding:1rem}.filters-grid{grid-template-columns:1fr}.filter-actions{flex-direction:column}.filter-actions .btn{width:100%}.modal-overlay{padding:1rem}.trace-info-grid{grid-template-columns:1fr}}.results-header{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:space-between;margin-bottom:1rem}.results-header h2{color:#1a4d1a;font-size:1.3rem;margin:0}.pagination-info{color:#666;font-size:.9rem}.pagination-controls{align-items:center;border-top:1px solid #eee;display:flex;gap:1rem;justify-content:center;margin-top:1.5rem;padding-top:1rem}.page-indicator{color:#666;font-size:.95rem;font-weight:500}.pagination-controls .btn{min-width:100px}@media print{.modal-overlay{background:none;padding:0;position:static}.modal{border:none;box-shadow:none;max-width:none}.modal-close,.modal-footer{display:none}.trace-section{page-break-inside:avoid}.pagination-controls{display:none}}.admin-reports{margin:0 auto;max-width:1600px;padding:2rem}.admin-reports-header{margin-bottom:2rem}.admin-reports-header h1{color:#3f2021;font-size:1.75rem;margin:0 0 .5rem}.admin-reports-subtitle{color:#666;margin:0}.admin-reports-loading{align-items:center;color:#666;display:flex;flex-direction:column;height:400px;justify-content:center}.admin-reports-loading .spinner{animation:spin 1s linear infinite;border:3px solid #e0e0e0;border-radius:50%;border-top-color:#508590;height:40px;width:40px}.admin-reports-filters{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;display:flex;flex-wrap:wrap;gap:1.5rem;margin-bottom:1.5rem;padding:1.25rem}.filter-group label{font-weight:600}.date-range{align-items:center;display:flex;gap:.5rem}.date-range span{color:#999}.filter-group input,.filter-group select{border:1px solid #ddd;border-radius:4px;font-size:.9rem;padding:.5rem .75rem}.filter-group input:focus,.filter-group select:focus{border-color:#508590;outline:none}.search-group{flex-grow:1}.search-input-wrapper{display:flex;gap:.5rem}.search-input-wrapper input{flex-grow:1}.btn-search{background-color:#508590;border-radius:4px;font-weight:500;padding:.5rem 1rem}.btn-search:hover{background-color:#3d6970}.search-results-panel{background:#fff;border-radius:8px;box-shadow:0 2px 8px #00000026;margin-bottom:1.5rem;padding:1.5rem;position:relative}.search-results-panel h3{color:#3f2021;margin:0 0 1rem}.search-results-panel .btn-close{background:none;border:none;color:#666;cursor:pointer;font-size:.9rem;position:absolute;right:1rem;top:1rem}.search-results-table{border-collapse:collapse;width:100%}.search-results-table td,.search-results-table th{border-bottom:1px solid #eee;padding:.75rem;text-align:left}.search-results-table th{color:#666;font-size:.85rem;font-weight:600}.admin-reports-tabs{border-bottom:2px solid #eee;display:flex;gap:.5rem;margin-bottom:1.5rem;padding-bottom:0}.tab-btn{color:#666;font-size:.95rem}.tab-btn:hover{color:#508590}.tab-btn.active{border-bottom-color:#508590;color:#508590}.summary-cards{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));margin-bottom:1.5rem}.summary-card{align-items:flex-start;gap:1rem;padding:1.25rem}.card-icon{align-items:center;border-radius:8px;color:#fff;display:flex;font-size:.75rem;font-weight:700;height:48px;justify-content:center;width:48px}.orders-icon{background-color:#508590}.lbs-icon{background-color:#6b8e23}.revenue-icon{background-color:#e73c3e}.customers-icon{background-color:#c3ad8b}.avg-icon{background-color:#3f2021}.card-content{flex-grow:1}.card-value{color:#3f2021;font-size:1.5rem;font-weight:700;line-height:1.2}.card-label{color:#666;font-size:.85rem;margin-top:.25rem}.card-change{font-size:.8rem;font-weight:600;margin-top:.25rem}.card-change.positive{color:#2e7d32}.card-change.negative{color:#c62828}.charts-row{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));margin-bottom:1.5rem}.chart-card{border-radius:8px;box-shadow:0 1px 3px #0000001a}.chart-card.wide{grid-column:span 2}@media (max-width:900px){.chart-card.wide{grid-column:span 1}}.chart-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.chart-card h3{color:#3f2021;margin:0}.chart-legend{display:flex;font-size:.8rem;gap:1rem}.legend-item{gap:.5rem}.legend-item:before{border-radius:2px;content:"";height:12px;width:12px}.legend-item.current:before{background-color:#508590}.legend-item.previous:before{background-color:#c3ad8b}.bar-chart{align-items:flex-end;display:flex;gap:4px;height:200px;padding-top:20px}.monthly-chart{overflow-x:auto}.chart-bar-group{align-items:center;display:flex;flex:1 1;flex-direction:column;min-width:50px}.bar-container{align-items:flex-end;display:flex;gap:2px;height:160px;justify-content:center;width:100%}.bar{border-radius:3px 3px 0 0;cursor:pointer;transition:height .3s ease;width:20px}.bar.current{background-color:#508590}.bar.previous{background-color:#c3ad8b}.bar:hover{opacity:.8}.bar-label{color:#666;margin-top:.5rem}.pie-chart-container{gap:1rem}.animal-row,.pie-chart-container{display:flex;flex-direction:column}.animal-row{gap:.5rem}.animal-info{align-items:center;gap:.5rem}.animal-color{border-radius:3px;height:12px;width:12px}.animal-name{font-size:.9rem}.animal-stats{color:#666;display:flex;font-size:.8rem;justify-content:space-between}.animal-percentage{font-weight:600}.animal-bar-bg{background-color:#f0f0f0;border-radius:4px;height:8px;overflow:hidden}.animal-bar-fill{border-radius:4px;height:100%;transition:width .3s ease}.horizontal-bar-chart{display:flex;flex-direction:column;gap:.75rem}.h-bar-row{grid-gap:.75rem;align-items:center;display:grid;gap:.75rem;grid-template-columns:24px 150px 1fr 100px}.h-bar-rank{color:#508590;font-size:.9rem;font-weight:700;text-align:center}.h-bar-name{color:#333;font-size:.85rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.h-bar-wrapper{background-color:#f0f0f0;border-radius:4px;height:20px;overflow:hidden}.h-bar-fill{background-color:#508590;border-radius:4px;height:100%;transition:width .3s ease}.h-bar-fill.product{background-color:#6b8e23}.h-bar-value{color:#3f2021;font-size:.85rem;font-weight:600;text-align:right}.btn-export-small{background-color:#f0f0f0;border:none;border-radius:4px;color:#666;cursor:pointer;font-size:.8rem;padding:.35rem .75rem}.btn-export-small:hover{background-color:#e0e0e0}.table-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.table-header h3{color:#3f2021;margin:0}.btn-export{background-color:#508590;border-radius:4px}.btn-export:hover{background-color:#3d6970}.data-table-wrapper{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;overflow-x:auto}.data-table{min-width:800px}.data-table td,.data-table th{padding:1rem}.data-table th{background-color:#fafafa;font-size:.85rem;position:-webkit-sticky;position:sticky;top:0}.data-table tbody tr:hover{background-color:#f8f9fa}.customer-name-cell,.product-name-cell{color:#3f2021;font-weight:500}.number-cell{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;text-align:right}.type-badge{background-color:#f0f0f0;color:#666;display:inline-block}.status-badge,.type-badge{font-size:.8rem;padding:.25rem .5rem}.status-badge.pending{background-color:#fff3e0}.status-badge.confirmed{background-color:#e3f2fd;color:#1565c0}.status-badge.production{background-color:#fff8e1;color:#f57f17}.status-badge.ready{background-color:#e8f5e9;color:#2e7d32}.status-badge.shipped{background-color:#e1f5fe;color:#0277bd}.status-badge.delivered{background-color:#e8f5e9;color:#1b5e20}.forecast-section{margin-bottom:2rem}.forecast-section h3{color:#3f2021;margin:0 0 1rem}.section-header{align-items:baseline;gap:1rem}.section-subtitle{color:#666;font-size:.85rem}.forecast-cards{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.forecast-card{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;padding:1.5rem}.forecast-label{color:#666;font-size:.85rem;margin-bottom:.5rem}.forecast-value{color:#3f2021;font-size:1.75rem;font-weight:700}.forecast-value.trend{font-size:1.5rem}.forecast-value.positive{color:#2e7d32}.forecast-value.negative{color:#c62828}.forecast-sub{color:#999;font-size:.8rem;margin-top:.5rem}.inactive-customers-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.inactive-customer-card{background:#fff;border-left:4px solid #e73c3e;border-radius:8px;box-shadow:0 1px 3px #0000001a;padding:1rem 1.25rem}.inactive-customer-name{color:#3f2021;font-weight:600;margin-bottom:.5rem}.inactive-customer-info{color:#666;display:flex;font-size:.85rem;justify-content:space-between}.days-inactive{color:#e73c3e;font-weight:600}@media (max-width:768px){.admin-reports{padding:1rem}.admin-reports-filters{flex-direction:column}.date-range{flex-wrap:wrap}.charts-row{grid-template-columns:1fr}.h-bar-row{grid-template-columns:24px 120px 1fr 80px}.summary-cards{grid-template-columns:repeat(2,1fr)}input,select,textarea{font-size:16px!important;min-height:44px}.tab-btn{min-height:44px}.btn-export,.btn-export-small,.btn-search{min-height:48px;padding:.75rem 1rem}.search-results-panel .btn-close{min-height:44px;min-width:44px;padding:.5rem}}@media (max-width:480px){.summary-cards{grid-template-columns:1fr}.admin-reports-tabs{overflow-x:auto}.tab-btn{font-size:.85rem;padding:.5rem 1rem;white-space:nowrap}}.milk-runs-container{background:#f5f5f5;display:flex;gap:24px;height:calc(100vh - 64px);padding:24px}.milk-runs-list-panel{display:flex;flex-direction:column;flex-shrink:0;gap:16px;overflow-y:auto;width:400px}.list-section{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a}.section-header{border-bottom:1px solid #eee;padding:16px}.section-header h3{align-items:center;color:#333;display:flex;font-size:14px;font-weight:600;gap:8px;margin:0}.section-badge{background:#1976d2;border-radius:10px;color:#fff;font-size:11px;font-weight:500;padding:2px 8px}.section-badge.suggestions{background:#ff9800}.section-header .collapse-icon{color:#666;transition:transform .2s}.section-header .collapse-icon.collapsed{transform:rotate(-90deg)}.section-content{max-height:300px;overflow-y:auto}.section-content.collapsed{display:none}.run-card{border-bottom:1px solid #f0f0f0;cursor:pointer;padding:12px 16px;transition:background .2s}.run-card:last-child{border-bottom:none}.run-card:hover{background:#f9f9f9}.run-card.selected{background:#e3f2fd;border-left:3px solid #1976d2}.run-card-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:8px}.run-region{color:#333;font-size:14px;font-weight:600}.run-status{border-radius:4px;font-size:11px;font-weight:500;padding:2px 8px;text-transform:uppercase}.run-status.planning{background:#e3f2fd;color:#1565c0}.run-status.quoting{background:#fff3e0;color:#ef6c00}.run-status.booked{background:#e8f5e9;color:#2e7d32}.run-status.in_transit{background:#f3e5f5;color:#7b1fa2}.run-status.completed{background:#e0e0e0;color:#616161}.run-status.cancelled{background:#ffebee;color:#c62828}.run-meta{color:#666;display:flex;font-size:12px;gap:16px}.run-meta span{align-items:center;display:flex;gap:4px}.run-date{color:#888;font-size:12px;margin-top:4px}.suggestion-card{border-bottom:1px solid #f0f0f0;padding:12px 16px}.suggestion-card:last-child{border-bottom:none}.suggestion-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.suggestion-region{color:#333;font-size:14px;font-weight:600}.suggestion-confidence{border-radius:4px;font-size:11px;font-weight:500;padding:2px 8px}.suggestion-confidence.high{background:#e8f5e9;color:#2e7d32}.suggestion-confidence.medium{background:#fff3e0;color:#ef6c00}.suggestion-confidence.low{background:#ffebee;color:#c62828}.suggestion-details{color:#666;font-size:12px;margin-bottom:8px}.suggestion-savings{color:#2e7d32;font-weight:500}.suggestion-actions{display:flex;gap:8px}.suggestion-actions button{border-radius:4px;cursor:pointer;flex:1 1;font-size:12px;font-weight:500;padding:6px 12px;transition:all .2s}.btn-accept{background:#1976d2;border:none;color:#fff}.btn-accept:hover{background:#1565c0}.btn-decline{background:#fff;border:1px solid #ddd;color:#666}.btn-decline:hover{background:#f5f5f5}.broker-card{border-bottom:1px solid #f0f0f0;padding:12px 16px}.broker-card:last-child{border-bottom:none}.broker-name{color:#333;font-size:14px;font-weight:600}.broker-contact{color:#666;font-size:12px}.broker-status{font-size:11px;margin-top:4px}.broker-status.active{color:#2e7d32}.broker-status.inactive{color:#9e9e9e}.empty-state{color:#888;font-size:13px;padding:24px}.milk-runs-detail-panel{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;display:flex;flex:1 1;flex-direction:column;overflow:hidden}.detail-placeholder{align-items:center;color:#888;display:flex;flex:1 1;flex-direction:column;justify-content:center}.detail-placeholder svg{font-size:64px;margin-bottom:16px;opacity:.5}.detail-placeholder p{font-size:14px;margin:0}.detail-header{border-bottom:1px solid #eee;padding:20px 24px}.detail-title h2{color:#333;font-size:20px;font-weight:600;margin:0 0 4px}.detail-subtitle{color:#666;font-size:13px}.detail-actions button{border-radius:4px;cursor:pointer;font-size:13px;font-weight:500;padding:8px 16px;transition:all .2s}.btn-primary{background:#1976d2}.btn-primary:hover{background:#1565c0}.btn-primary:disabled{background:#bdbdbd}.btn-secondary:hover{background:#f5f5f5}.btn-success{background:#2e7d32;border:none}.btn-success:hover{background:#1b5e20}.btn-danger{background:#c62828}.btn-danger:hover{background:#b71c1c}.detail-tabs{border-bottom:1px solid #eee;display:flex;padding:0 24px}.detail-tabs button{background:none;border:none;color:#666;cursor:pointer;font-size:13px;font-weight:500;padding:12px 16px;position:relative}.detail-tabs button.active{color:#1976d2}.detail-tabs button.active:after{background:#1976d2;bottom:0;content:"";height:2px;left:0;position:absolute;right:0}.detail-content{flex:1 1;overflow-y:auto;padding:24px}.overview-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(2,1fr)}.overview-card{background:#f9f9f9;padding:16px}.overview-card h4{color:#666;font-size:13px;font-weight:600;margin:0 0 12px}.overview-stat{color:#333;font-size:28px;font-weight:600;margin-bottom:4px}.overview-label{color:#888;font-size:12px}.capacity-bar{margin-top:12px}.capacity-bar-track{background:#e0e0e0;border-radius:4px;height:8px;overflow:hidden}.capacity-bar-fill{background:#1976d2;height:100%;transition:width .3s}.capacity-bar-fill.warning{background:#ff9800}.capacity-bar-fill.danger{background:#c62828}.capacity-label{color:#888;display:flex;font-size:11px;justify-content:space-between;margin-top:4px}.stops-list{display:flex;flex-direction:column;gap:12px}.stop-card{align-items:flex-start;background:#f9f9f9;border-radius:8px;display:flex;gap:16px;padding:16px}.stop-number{align-items:center;background:#1976d2;border-radius:50%;color:#fff;display:flex;flex-shrink:0;font-size:14px;font-weight:600;height:32px;justify-content:center;width:32px}.stop-number.delivered{background:#2e7d32}.stop-details{flex:1 1}.stop-customer{color:#333;font-size:14px;font-weight:600;margin-bottom:4px}.stop-address{color:#666;font-size:12px;margin-bottom:8px}.stop-orders{display:flex;flex-wrap:wrap;gap:4px}.stop-order-tag{background:#e3f2fd;border-radius:4px;color:#1565c0;font-size:11px;padding:2px 8px}.stop-actions{display:flex;flex-direction:column;gap:4px}.stop-actions button{border-radius:4px;cursor:pointer;font-size:11px;padding:4px 8px}.add-stop-btn{background:none;border:2px dashed #ddd;border-radius:8px;color:#666;cursor:pointer;font-size:13px;padding:12px;transition:all .2s}.add-stop-btn:hover{border-color:#1976d2;color:#1976d2}.quotes-list{display:flex;flex-direction:column;gap:12px}.quote-card{align-items:center;background:#f9f9f9;border-radius:8px;display:flex;justify-content:space-between;padding:16px}.quote-card.best{background:#f1f8e9;border:2px solid #2e7d32}.quote-broker{color:#333;font-size:14px;font-weight:600}.quote-details{color:#666;font-size:12px;margin-top:4px}.quote-price{color:#333;font-size:24px;font-weight:600}.quote-best-badge{background:#2e7d32;border-radius:4px;color:#fff;font-size:11px;margin-left:8px;padding:2px 8px}.quote-pending{color:#888;font-size:12px;font-style:italic}.quote-actions{margin-top:8px}.request-quotes-section{background:#fff3e0;border-radius:8px;margin-top:24px;padding:16px;text-align:center}.request-quotes-section p{color:#666;font-size:13px;margin:0 0 12px}.modal{border-radius:8px;max-height:80vh}.modal-header{border-bottom:1px solid #eee;padding:16px 20px}.modal-header h3{font-size:16px;font-weight:600}.modal-close{font-size:20px}.modal-body{padding:20px}.modal-footer{border-top:1px solid #eee;gap:8px;padding:16px 20px}.form-group input,.form-group select,.form-group textarea{border-radius:4px}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#1976d2}.form-group textarea{min-height:80px}.broker-list-modal{display:flex;flex-direction:column;gap:12px}.broker-item{align-items:center;background:#f9f9f9;border-radius:4px;display:flex;justify-content:space-between;padding:12px}.broker-item-info h4{font-size:14px;margin:0 0 4px}.broker-item-info p{color:#666;font-size:12px;margin:0}.broker-item-actions{display:flex;gap:8px}.add-broker-form{border-top:1px solid #eee;margin-top:16px;padding-top:16px}.add-broker-form h4{font-size:14px;margin:0 0 12px}.loading-spinner{align-items:center;display:flex;justify-content:center;padding:40px}.spinner{border:3px solid #e0e0e0;border-top-color:#1976d2;height:32px;width:32px}@media (max-width:1024px){.milk-runs-container{flex-direction:column;height:auto}.milk-runs-list-panel{width:100%}.overview-grid{grid-template-columns:1fr}}@media (max-width:768px){.milk-runs-container{gap:12px;padding:12px}.detail-header{flex-direction:column;gap:12px;padding:16px}.detail-actions{flex-direction:column;width:100%}.detail-actions button{min-height:48px;width:100%}.detail-tabs{overflow-x:auto;padding:0 12px}.detail-tabs button{min-height:44px;white-space:nowrap}.detail-content{padding:16px}.modal{border-radius:0;margin:0;max-height:100vh;max-width:100%}.modal-footer{flex-direction:column}.modal-footer button{min-height:48px;width:100%}input,select,textarea{font-size:16px!important}.broker-item-actions button,.stop-actions button,.suggestion-actions button{min-height:44px;padding:10px 16px}.add-stop-btn,.broker-card,.run-card,.suggestion-card{min-height:48px}}.mill-page{background-color:#f5f7f5;min-height:calc(100vh - 80px);padding:1rem}@media (min-width:769px){.mill-page{padding:2rem}}.mill-loading{align-items:center;display:flex;flex-direction:column;gap:1rem;justify-content:center;min-height:400px}.mill-loading-spinner{animation:mill-spin 1s linear infinite;border:4px solid #e0e0e0;border-radius:50%;border-top-color:#2e7d32;height:48px;width:48px}@keyframes mill-spin{to{transform:rotate(1turn)}}.mill-dashboard-header{align-items:center;border-bottom:2px solid #e0e0e0;display:flex;justify-content:space-between;margin-bottom:2rem;padding-bottom:1.5rem}.mill-dashboard-header h1{color:#1a4d1a;font-size:2rem;font-weight:700;margin:0}.mill-dashboard-header .header-subtitle{color:#666;font-size:1rem;margin:.25rem 0 0}.header-actions{gap:1rem}.mill-btn{align-items:center;border:none;border-radius:6px;cursor:pointer;display:inline-flex;font-size:.95rem;font-weight:600;justify-content:center;min-height:44px;padding:.75rem 1.5rem;transition:all .2s}.mill-btn-sm{font-size:.85rem;min-height:44px;padding:.5rem 1rem}.mill-btn-primary{background-color:#2e7d32;color:#fff}.mill-btn-primary:hover{background-color:#1b5e20}.mill-btn-secondary{background-color:#546e7a;color:#fff}.mill-btn-secondary:hover{background-color:#37474f}.mill-btn-success{background-color:#43a047;color:#fff}.mill-btn-success:hover{background-color:#2e7d32}.mill-btn:disabled{cursor:not-allowed;opacity:.6}.mill-view-tabs{background-color:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;display:flex;gap:.5rem;margin-bottom:1.5rem;padding:.5rem}.mill-tab{background:none;border:none;border-radius:6px;color:#666;cursor:pointer;font-size:.95rem;font-weight:500;padding:.75rem 1.5rem;transition:all .2s}.mill-tab:hover{background-color:#e8f5e9;color:#2e7d32}.mill-tab.active{background-color:#2e7d32;color:#fff}.mill-status-summary{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(4,1fr);margin-bottom:2rem}.mill-summary-card{background:#fff;border-left:4px solid;border-radius:12px;box-shadow:0 2px 8px #00000014;padding:1.5rem;text-align:center}.mill-summary-card.planned{border-left-color:#90a4ae}.mill-summary-card.in-production{border-left-color:#4caf50}.mill-summary-card.completed{border-left-color:#2196f3}.mill-summary-card.packaging{border-left-color:#ff9800}.mill-summary-count{color:#333;display:block;font-size:2.5rem;font-weight:700}.mill-summary-label{color:#666;display:block;font-size:.9rem;letter-spacing:.5px;margin-top:.25rem;text-transform:uppercase}.mill-batches-container{display:flex;flex-direction:column;gap:2rem}.mill-date-section{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;padding:1.5rem}.mill-date-header{border-bottom:2px solid #e8f5e9;font-size:1.25rem;margin:0 0 1rem;padding-bottom:.75rem}.mill-batches-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}.mill-batch-card{background:#fafafa;border:2px solid #e0e0e0;border-radius:10px;cursor:pointer;padding:1rem;transition:all .2s}.mill-batch-card:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.mill-batch-card.status-planned{border-left:4px solid #90a4ae}.mill-batch-card.status-in-production{background:#e8f5e9;border-left:4px solid #4caf50}.mill-batch-card.status-completed{background:#e3f2fd;border-left:4px solid #2196f3}.mill-batch-card.status-packaged{background:#fff3e0;border-left:4px solid #ff9800}.mill-batch-card-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:.75rem}.mill-batch-info{flex-direction:column;gap:.25rem}.mill-batch-number{font-size:1.1rem}.mill-batch-formula{font-size:.9rem}.mill-batch-form{border-radius:4px;display:inline-block;font-size:.75rem;font-weight:600;padding:.2rem .5rem;text-transform:uppercase;width:-webkit-fit-content;width:fit-content}.mill-batch-form.form-mash{background:#ffecb3;color:#f57c00}.mill-batch-form.form-pellet{background:#c8e6c9;color:#2e7d32}.mill-batch-form.form-crumble{background:#bbdefb;color:#1565c0}.mill-batch-status{border-radius:20px;font-size:.8rem;font-weight:600;padding:.35rem .75rem;text-transform:uppercase}.mill-batch-status.status-planned{background:#eceff1;color:#546e7a}.mill-batch-status.status-in-production{background:#c8e6c9;color:#2e7d32}.mill-batch-status.status-completed{background:#bbdefb;color:#1565c0}.mill-batch-status.status-packaged{background:#ffe0b2;color:#e65100}.mill-batch-card-body{align-items:center;border-bottom:1px solid #e0e0e0;border-top:1px solid #e0e0e0;display:flex;justify-content:space-between;margin:.5rem 0;padding:.75rem 0}.mill-batch-weight{align-items:baseline;display:flex;gap:.25rem}.mill-batch-weight .weight-value{color:#1a4d1a;font-size:1.5rem;font-weight:700}.mill-batch-orders,.mill-batch-weight .weight-unit{color:#666;font-size:.9rem}.mill-batch-card-footer{align-items:center;display:flex;justify-content:space-between;margin-top:.5rem}.ship-dates{color:#666;font-size:.85rem}.mill-batch-actions{display:flex;gap:.5rem}.mill-no-batches{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;padding:3rem;text-align:center}.mill-no-batches p{color:#666;font-size:1.1rem;margin-bottom:1.5rem}.mill-alert{border-radius:8px;margin-bottom:1.5rem;padding:1rem 1.5rem}.mill-alert-error{background:#ffebee;border:1px solid #ef5350;color:#c62828}.mill-modal-overlay{align-items:center;background:#00000080;display:flex;inset:0;justify-content:center;padding:2rem;position:fixed;z-index:1000}.mill-modal-content{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;max-height:90vh;max-width:600px;overflow-y:auto;width:100%}.mill-batch-detail-modal{max-width:700px}.mill-modal-header{align-items:center;background:#f5f7f5;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;padding:1.5rem}.mill-modal-header h2{color:#1a4d1a;font-size:1.5rem;margin:0}.mill-modal-close{background:none;border:none;color:#666;cursor:pointer;font-size:1.75rem;line-height:1;padding:0}.mill-modal-close:hover{color:#333}.mill-modal-body{padding:1.5rem}.mill-modal-footer{background:#fafafa;border-top:1px solid #e0e0e0;display:flex;gap:1rem;justify-content:flex-end;padding:1.5rem}.mill-batch-detail-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:1.5rem}.mill-batch-detail-header h3{color:#333;font-size:1.25rem;margin:0 0 .5rem}.mill-batch-status-large{border-radius:20px;font-size:.9rem;font-weight:600;padding:.5rem 1rem;text-transform:uppercase}.mill-batch-detail-info{background:#f5f7f5;border-radius:8px;margin-bottom:1.5rem;padding:1rem}.mill-info-row{border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;padding:.5rem 0}.mill-info-row:last-child{border-bottom:none}.mill-info-label{color:#666;font-weight:500}.mill-info-value{color:#333;font-weight:600}.mill-batch-allocations{margin-top:1.5rem}.mill-batch-allocations h4{color:#1a4d1a;font-size:1.1rem;margin:0 0 1rem}.mill-allocations-table{border-collapse:collapse;font-size:.9rem;width:100%}.mill-allocations-table td,.mill-allocations-table th{border-bottom:1px solid #e0e0e0;padding:.75rem;text-align:left}.mill-allocations-table th{background:#f5f7f5;color:#666;font-size:.8rem;font-weight:600;text-transform:uppercase}.mill-allocations-table tfoot td{background:#f5f7f5;border-top:2px solid #e0e0e0}.mill-batch-notes{background:#fff8e1;border-left:4px solid #ffc107;border-radius:8px;margin-top:1.5rem;padding:1rem}.mill-batch-notes h4{color:#f57c00;margin:0 0 .5rem}.mill-batch-notes p{color:#666;margin:0}.mill-generate-modal{max-width:550px}.mill-generate-info p{color:#666;font-size:1rem;margin:0 0 1rem}.mill-generate-info ul{color:#666;margin:0 0 1.5rem;padding-left:1.5rem}.mill-generate-info li{margin-bottom:.5rem}.mill-generate-actions{display:flex;gap:1rem;justify-content:flex-end}.mill-generate-results h3{color:#1a4d1a;margin:0 0 1rem}.mill-result-summary{background:#e8f5e9;border-radius:8px;margin-bottom:1rem;padding:1rem}.mill-result-summary p{color:#2e7d32;margin:.25rem 0}.mill-result-batches{margin-bottom:1.5rem}.mill-result-batches h4{color:#333;margin:0 0 .75rem}.mill-result-batches ul{margin:0;padding-left:1.5rem}.mill-result-batches li{color:#666;margin-bottom:.5rem}.mill-no-batches-message{background:#fafafa;border-radius:8px;color:#666;font-style:italic;padding:1rem;text-align:center}.mill-result-actions{border-top:1px solid #e0e0e0;display:flex;gap:1rem;justify-content:flex-end;margin-top:1.5rem;padding-top:1rem}.mill-page-header{margin-bottom:2rem}.mill-page-header h1{color:#1a4d1a;font-size:2rem;margin:0}.mill-page-subtitle{color:#666;font-size:1rem;margin:.25rem 0 0}.mill-section{margin-bottom:2rem}.mill-section-title{border-bottom:2px solid #e0e0e0;padding-bottom:.75rem}.section-icon{font-size:.75rem}.section-icon.in-progress{color:#4caf50}.section-icon.planned{color:#90a4ae}.mill-batch-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.mill-batch-card.clickable{cursor:pointer}.mill-batch-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:.5rem}.mill-batch-number{color:#1a4d1a;font-size:1rem;font-weight:700}.mill-status-badge{border-radius:12px;font-size:.75rem;font-weight:600;padding:.25rem .75rem;text-transform:uppercase}.mill-status-badge.status-planned{background:#eceff1;color:#546e7a}.mill-status-badge.status-in-progress{background:#c8e6c9;color:#2e7d32}.mill-batch-formula{color:#333;font-size:1rem;font-weight:500;margin-bottom:.5rem}.mill-batch-meta{align-items:center;display:flex;gap:.75rem;margin-bottom:.75rem}.mill-feed-form{border-radius:4px;font-size:.75rem;font-weight:600;padding:.2rem .5rem;text-transform:uppercase}.mill-feed-form.form-mash{background:#ffecb3;color:#f57c00}.mill-feed-form.form-pellet{background:#c8e6c9;color:#2e7d32}.mill-feed-form.form-crumble{background:#bbdefb;color:#1565c0}.mill-batch-weight{color:#1a4d1a;font-weight:600}.mill-batch-info{border-bottom:1px solid #e0e0e0;border-top:1px solid #e0e0e0;display:flex;gap:1.5rem;margin-bottom:1rem;padding:.5rem 0}.info-label{color:#666;font-size:.75rem;text-transform:uppercase}.info-value{color:#333;font-weight:600}.mill-btn-block{width:100%}.mill-empty-state{background:#fff;border:2px dashed #e0e0e0;border-radius:12px;padding:3rem;text-align:center}.mill-empty-state p{color:#666;margin-bottom:1rem}.mill-packaging-list{display:flex;flex-direction:column;gap:1.5rem}.mill-packaging-batch{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;overflow:hidden}.mill-packaging-batch.all-packaged{opacity:.7}.packaging-batch-header{align-items:flex-start;background:#f5f7f5;border-bottom:2px solid #e8f5e9;display:flex;justify-content:space-between;padding:1.5rem}.batch-info .batch-number{color:#1a4d1a;font-size:1.25rem;font-weight:700;margin:0 0 .5rem}.batch-details{align-items:center;gap:.75rem}.formula-name{color:#333;font-weight:500}.batch-weight{color:#1a4d1a;font-weight:600}.batch-completed{color:#666;font-size:.85rem;margin-top:.5rem}.batch-progress{text-align:right}.progress-text{color:#666;font-size:.9rem;margin-bottom:.5rem}.progress-bar{background:#e0e0e0;margin-bottom:.75rem;width:150px}.progress-fill{background:linear-gradient(90deg,#4caf50,#2e7d32);transition:width .3s ease}.packaging-orders{padding:1rem}.mill-table{border-collapse:collapse;width:100%}.mill-table td,.mill-table th{border-bottom:1px solid #e0e0e0;padding:.75rem 1rem;text-align:left}.mill-table th{background:#f9f9f9;color:#666;font-size:.8rem;font-weight:600;text-transform:uppercase}.mill-table tbody tr:hover{background:#f5f7f5}.mill-table .row-packaged{background:#e8f5e9}.order-number{color:#1a4d1a}.bags-count,.order-number{font-weight:600}.bulk-badge{background:#e0e0e0;border-radius:4px;font-size:.75rem;padding:.2rem .5rem}.status-badge.pending{background:#fff3e0;color:#e65100}.status-badge.packaged{background:#c8e6c9;color:#2e7d32}.actions-cell{gap:.5rem}.mill-btn-outline{background:#fff;border:1px solid #546e7a;color:#546e7a}.mill-btn-outline:hover{background:#eceff1}.source-cell{min-width:120px}.source-breakdown{flex-wrap:wrap;gap:.5rem}.source-breakdown,.source-item{align-items:center;display:flex}.source-item{background:#f5f7f5;border-radius:6px;font-size:.8rem;gap:.25rem;padding:.25rem .5rem}.source-icon{align-items:center;border-radius:4px;display:inline-flex;font-size:.9rem;height:24px;justify-content:center;width:24px}.source-qty{color:#374151;font-weight:500}.multi-source-badge{background:#dbeafe;border-radius:4px;color:#1d4ed8;font-size:.7rem;font-weight:600;padding:.15rem .4rem}.source-pending{align-items:center;color:#6b7280;display:flex;font-size:.85rem;gap:.25rem}.orders-container{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem}.order-card{border:1px solid #e0e0e0;overflow:hidden}.order-card-even{background:#fff}.order-card-odd{background:#f8faf8}.order-card-header{background:linear-gradient(135deg,#1a4d1a,#2e7d32);color:#fff;flex-wrap:wrap;justify-content:space-between;padding:.75rem 1rem}.order-card-title{align-items:center;display:flex;flex-wrap:wrap;gap:1rem}.order-number-link{color:#fff;font-size:1rem;font-weight:700;letter-spacing:.5px;text-decoration:none}.order-number-link:hover{text-decoration:underline}.order-card-header .order-customer{color:#fff;font-weight:500}.order-card-meta{align-items:center;color:#ffffffe6;display:flex;font-size:.85rem;gap:.5rem}.order-meta-divider{opacity:.5}.order-total-weight{font-weight:600}.order-card .order-items-table{border-collapse:collapse;font-size:.9rem;width:100%}.order-card .order-items-table th{background:#f5f7f5;border-bottom:1px solid #e0e0e0;color:#555;font-size:.75rem;font-weight:600;padding:.6rem .75rem;text-align:left;text-transform:uppercase}.order-card .order-items-table td{border-bottom:1px solid #f0f0f0;padding:.6rem .75rem;vertical-align:middle}.order-card .order-items-table tr:last-child td{border-bottom:none}.order-card .order-items-table tr:hover{background:#00000005}.mill-date-header{align-items:center;border-bottom:2px solid #2e7d32;color:#1a4d1a;display:flex;font-size:1.1rem;font-weight:600;gap:1rem;margin:1.5rem 0 1rem;padding-bottom:.5rem}.date-summary{color:#666;font-size:.9rem;font-weight:400}.source-badge{border-radius:4px;display:inline-block;font-size:12px;font-weight:500;margin-bottom:2px;margin-right:4px;padding:2px 8px;white-space:nowrap}.source-feed-bank{background:#ede9fe;color:#7c3aed}.source-store{background:#ccfbf1;color:#0d9488}.source-byoc{background:#dcfce7;color:#16a34a}.source-production{background:#ffedd5;color:#ea580c}.sources-list{display:flex;flex-wrap:wrap;gap:4px}.item-status{border-radius:4px;display:inline-block;font-size:11px;font-weight:600;letter-spacing:.3px;padding:3px 10px;text-transform:uppercase}.item-status-ready{background:#dcfce7;color:#166534}.item-status-needs{background:#ffedd5;color:#c2410c}.item-status-partial{background:#fef9c3;color:#a16207}.item-status-progress{background:#dbeafe;color:#1e40af}.package-count{color:#666;display:block;font-size:.8rem;font-weight:400}.formula-cell strong{color:#1a4d1a}.quantity-cell strong{color:#333}.mill-toast{align-items:center;animation:slideIn .3s ease-out;border-radius:8px;display:flex;font-weight:500;gap:.75rem;padding:1rem 1.5rem;position:fixed;right:20px;top:20px;z-index:1100}.mill-toast-success{background:linear-gradient(135deg,#059669,#047857);box-shadow:0 4px 12px #05966966;color:#fff}.toast-icon{font-size:1.25rem}.mill-shipping-list{display:flex;flex-direction:column;gap:2rem}.shipping-date-group{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;padding:1.5rem}.date-header{align-items:center;border-bottom:2px solid #e0e0e0;color:#333;display:flex;font-size:1.25rem;gap:.75rem;margin:0 0 1rem;padding-bottom:.75rem}.date-header.today{border-bottom-color:#4caf50;color:#2e7d32}.date-header.past-due{border-bottom-color:#ef5350;color:#c62828}.past-due-badge,.today-badge{border-radius:4px;font-size:.7rem;font-weight:700;padding:.25rem .5rem}.today-badge{background:#c8e6c9;color:#2e7d32}.past-due-badge{background:#ffcdd2;color:#c62828}.order-count{color:#666;font-size:.9rem;font-weight:400;margin-left:auto}.shipping-orders-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(min(350px,100%),1fr))}.shipping-order-card{background:#fafafa;border:2px solid #e0e0e0;border-radius:10px;padding:1rem}.shipping-order-card.ready{background:#f1f8e9;border-left:4px solid #4caf50}.shipping-order-card.packaging{background:#fff8e1;border-left:4px solid #ff9800}.order-number-section{align-items:center;display:flex;gap:.5rem}.order-number-section .order-number{font-size:1.1rem}.status-pill{border-radius:10px;font-size:.7rem;font-weight:600;padding:.2rem .5rem;text-transform:uppercase}.status-pill.packaging{background:#ffe0b2;color:#e65100}.status-pill.ready-to-ship{background:#c8e6c9;color:#2e7d32}.delivery-method{color:#666;font-size:.85rem}.shipping-pipeline-summary{background:#fff;border:1px solid #e0e0e0;border-radius:10px;display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1.5rem;padding:1rem}.pipeline-stat{align-items:center;border-radius:8px;display:flex;flex-direction:column;min-width:80px;padding:.5rem 1rem}.pipeline-stat .pipeline-value{color:#333;font-size:1.5rem;font-weight:700}.pipeline-stat .pipeline-label{color:#666;font-size:.75rem;text-transform:uppercase}.pipeline-stat.ready{background:#e8f5e9}.pipeline-stat.ready .pipeline-value{color:#2e7d32}.pipeline-stat.packaging{background:#fff3e0}.pipeline-stat.packaging .pipeline-value{color:#ef6c00}.pipeline-stat.milling{background:#e3f2fd}.pipeline-stat.milling .pipeline-value{color:#1565c0}.pipeline-stat.store{background:#f3e5f5}.pipeline-stat.store .pipeline-value{color:#7b1fa2}.fulfillment-progress{margin:.5rem 0 .75rem}.fulfillment-bar{background:#e0e0e0;border-radius:4px;display:flex;height:8px;overflow:hidden}.fulfillment-segment{height:100%;transition:width .3s ease}.fulfillment-segment.ready{background:#4caf50}.fulfillment-segment.packaging{background:#ff9800}.fulfillment-segment.milling{background:#2196f3}.fulfillment-segment.store{background:#9c27b0}.fulfillment-legend{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:.25rem}.fulfillment-legend .legend-item{align-items:center;color:#666;display:flex;font-size:.7rem;gap:.25rem}.fulfillment-legend .legend-item:before{border-radius:2px;content:"";display:inline-block;height:8px;width:8px}.fulfillment-legend .legend-item.ready:before{background:#4caf50}.fulfillment-legend .legend-item.packaging:before{background:#ff9800}.fulfillment-legend .legend-item.milling:before{background:#2196f3}.fulfillment-legend .legend-item.store:before{background:#9c27b0}.customer-info{border-bottom:1px solid #e0e0e0;margin-bottom:1rem;padding-bottom:.75rem}.customer-name{color:#333}.customer-phone,.delivery-address{color:#666;font-size:.85rem;margin-top:.25rem}.order-items{margin-bottom:.75rem}.order-item{align-items:center;border-bottom:1px dashed #e0e0e0;display:flex;justify-content:space-between}.item-formula{flex:1 1}.item-quantity{font-weight:600;margin:0 1rem}.pellet-badge{background:#e0f7fa;border-radius:4px;color:#00838f;font-size:.65rem;margin-left:.5rem;padding:.15rem .4rem}.item-package{color:#666;font-size:.85rem}.order-total{border-top:2px solid #e0e0e0;font-size:1rem;margin-bottom:.75rem;padding:.5rem 0}.order-notes{background:#fff8e1;border-radius:4px;font-size:.85rem;margin-bottom:.75rem;padding:.5rem}.inventory-stats{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(3,1fr);margin-bottom:1.5rem}.stat-card{border-left:4px solid #4caf50}.stat-card.warning{border-left-color:#ff9800}.stat-card.danger{border-left-color:#f44336}.stat-value{color:#1a4d1a}.stat-label{font-size:.85rem}.inventory-filters{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1.5rem}.search-box{flex:1 1;min-width:200px}.search-input{border:2px solid #e0e0e0;font-size:16px;min-height:44px}.search-input:focus{border-color:#4caf50}.filter-group{align-items:center;gap:.5rem}.filter-group label{color:#666;font-size:.85rem}.filter-select{border:2px solid #e0e0e0;font-size:16px;min-height:44px;padding:.5rem 1rem}.inventory-table-container{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;overflow:hidden}.inventory-table th{background:#f5f7f5}.inventory-table tr.stock-low{background:#fff8e1}.inventory-table tr.stock-out{background:#ffebee}.ingredient-cell{min-width:200px}.ingredient-name{color:#333;font-weight:600}.ingredient-sku{color:#999;font-size:.8rem}.quantity-cell{white-space:nowrap}.quantity-value{color:#1a4d1a;font-size:1.1rem;font-weight:700}.quantity-unit{color:#666;font-size:.85rem;margin-left:.25rem}.status-badge.stock-ok{background:#c8e6c9;color:#2e7d32}.status-badge.stock-low{background:#fff3e0;color:#e65100}.status-badge.stock-out{background:#ffcdd2;color:#c62828}.status-badge.status-available{background:#c8e6c9;color:#2e7d32}.status-badge.status-retail{background:#e3f2fd;color:#1565c0}.status-badge.status-reserved{background:#fff3e0;color:#e65100}.status-badge.status-used{background:#e0e0e0;color:#616161}.stat-card.success{border-left-color:#43a047}.stat-card.success .stat-value{color:#2e7d32}.stat-card.info{border-left-color:#1976d2}.stat-card.info .stat-value{color:#1565c0}.mill-section{margin-top:2rem}.mill-section h2{color:#1a4d1a;font-size:1.5rem;margin:0 0 .5rem}.no-results{color:#666;padding:3rem}.material-info{background:#f5f7f5;border-radius:8px;margin-bottom:1rem;padding:1rem}.material-info h4{color:#1a4d1a;margin:0 0 .5rem}.material-info p{color:#666;margin:0}.form-input,.form-select,.form-textarea{border:2px solid #e0e0e0;font-size:16px;min-height:44px;padding:.75rem}.form-input:focus,.form-select:focus,.form-textarea:focus{border-color:#4caf50}.help-text{color:#666;font-size:.8rem;margin-top:.25rem}.preview-result{background:#e8f5e9;border-radius:6px;color:#2e7d32;padding:.75rem 1rem}.ship-summary{background:#f5f7f5;border-radius:8px;margin-bottom:1rem;padding:1rem}.ship-summary p{margin:.25rem 0}.mill-modal{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;max-height:90vh;max-width:500px;overflow-y:auto;width:100%}.mill-modal-lg{max-width:700px}.mill-modal-xl{max-width:950px}.mill-modal-large{max-width:800px;width:95%}.label-print-info{background:#f5f7f5;border-radius:8px;margin-bottom:1.5rem;padding:1rem}.label-print-info .info-row{display:flex;gap:.5rem;margin-bottom:.5rem}.label-print-info .info-row:last-child{margin-bottom:0}.label-print-info .info-label{color:#666;font-weight:600;min-width:80px}.label-print-info .info-value{color:#333}.label-print-form{margin-bottom:1.5rem}.label-print-form .form-group{margin-bottom:1rem}.label-print-form .form-group label{color:#333;display:block;font-weight:600;margin-bottom:.5rem}.label-print-form .form-input,.label-print-form .form-select{border:1px solid #ddd;border-radius:6px;font-size:16px;min-height:44px;padding:.75rem;width:100%}.label-print-form .form-input:focus,.label-print-form .form-select:focus{border-color:#2e7d32;box-shadow:0 0 0 2px #2e7d321a;outline:none}.quantity-input-row{align-items:center;display:flex;gap:1rem}.quantity-input-row .form-input{flex-shrink:0;width:120px}.print-progress{background:#e3f2fd;border-radius:8px;margin-bottom:1rem;padding:1rem}.print-progress .print-count{color:#1976d2;display:block;font-weight:600;margin-bottom:.5rem}.print-progress .progress-bar{background:#bbdefb;border-radius:4px;height:8px;overflow:hidden}.print-progress .progress-bar .progress-fill{background:#1976d2;border-radius:4px;height:100%;transition:width .3s ease}.label-actions{display:flex;flex-wrap:wrap;gap:1rem}.label-actions .mill-btn{flex:1 1;min-width:150px}.label-preview{border-top:1px solid #e0e0e0;margin-top:1.5rem;padding-top:1.5rem}.label-preview h4{color:#333;margin:0 0 1rem}.label-preview-image{border:1px solid #ddd;border-radius:8px;box-shadow:0 2px 8px #0000001a;height:auto;max-width:100%}.label-modal-backdrop{align-items:center;background:#00000080;display:flex;inset:0;justify-content:center;padding:2rem;position:fixed;z-index:1000}.label-modal-container{background:#fffdf8;border-radius:12px;box-shadow:0 20px 60px #0000004d;display:flex;flex-direction:column;max-height:80vh;max-width:700px;overflow:hidden;width:100%}.label-modal-header{align-items:center;background:#f5f7f5;border-bottom:1px solid #e0e0e0;display:flex;flex-shrink:0;justify-content:space-between;padding:1.25rem 1.5rem}.label-modal-header h2{color:#1a4d1a;font-size:1.4rem;margin:0}.label-modal-close{align-items:center;background:none;border:none;border-radius:50%;color:#666;cursor:pointer;display:flex;font-size:1.75rem;height:36px;justify-content:center;line-height:1;padding:0;transition:all .2s;width:36px}.label-modal-close:hover{background:#e0e0e0;color:#333}.label-modal-content{flex:1 1;overflow-y:auto;padding:1.5rem}.label-modal-footer{background:#fafafa;border-top:1px solid #e0e0e0;display:flex;flex-shrink:0;gap:1rem;justify-content:flex-end;padding:1rem 1.5rem}.label-order-info{background:#f5f7f5;border-radius:8px;margin-bottom:1.5rem;padding:1rem}.label-order-info .info-row{display:flex;gap:.5rem;margin-bottom:.5rem}.label-order-info .info-row:last-child{margin-bottom:0}.label-order-info .info-label{color:#666;font-weight:600;min-width:100px}.label-order-info .info-value{color:#333}.label-template-section{margin-bottom:1.5rem}.label-template-section label{color:#333;display:block;font-weight:600;margin-bottom:.5rem}.label-template-display{align-items:center;background:#e8f5e9;border:1px solid #c8e6c9;border-radius:6px;display:flex;gap:.75rem;padding:.75rem 1rem}.label-template-display .template-icon{font-size:1.25rem}.label-template-display .template-name{color:#2e7d32;font-weight:600}.label-template-warning{align-items:center;background:#fff3e0;border:1px solid #ffe0b2;border-radius:6px;color:#e65100;display:flex;gap:.75rem;padding:.75rem 1rem}.label-template-warning .warning-icon{font-size:1.25rem}.label-template-warning .warning-text{font-weight:500}.label-quantity-section{margin-bottom:1.5rem}.label-quantity-section label{color:#333;display:block;font-weight:600;margin-bottom:.5rem}.label-quantity-section .quantity-row{align-items:center;display:flex;gap:1rem}.label-quantity-section .quantity-input{border:2px solid #e0e0e0;border-radius:6px;font-size:16px;min-height:44px;padding:.75rem;text-align:center;width:100px}.label-quantity-section .quantity-input:focus{border-color:#4caf50;outline:none}.label-quantity-section .quantity-hint{color:#666;font-size:.9rem}.label-print-progress{background:#e3f2fd;border-radius:8px;margin-bottom:1.5rem;padding:1rem}.label-print-progress .progress-label{color:#1565c0;display:block;font-weight:600;margin-bottom:.5rem}.label-print-progress .progress-bar-container{background:#bbdefb;border-radius:4px;height:8px;overflow:hidden}.label-print-progress .progress-bar-fill{background:linear-gradient(90deg,#1976d2,#1565c0);border-radius:4px;height:100%;transition:width .3s ease}.label-action-buttons{display:flex;flex-wrap:wrap;gap:1rem}.label-action-buttons .mill-btn{flex:1 1;min-width:150px}.label-preview-section{border-top:1px solid #e0e0e0;margin-top:1.5rem;padding-top:1.5rem}.label-preview-section h4{color:#333;font-size:1rem;margin:0 0 1rem}.label-preview-section .preview-image{border:1px solid #ddd;border-radius:8px;box-shadow:0 2px 8px #0000001a;height:auto;max-width:100%}.label-modal-loading,.label-template-loading{align-items:center;color:#666;display:flex;flex-direction:column;font-style:italic;gap:.5rem;justify-content:center;padding:1rem}.label-modal-loading .spinner{animation:mill-spin 1s linear infinite;border:3px solid #e0e0e0;border-radius:50%;border-top-color:#2e7d32;height:40px;width:40px}.label-template-display .template-form{color:#666;font-size:.9rem}.label-print-progress .progress-bar-small{background:#e0e0e0;border-radius:3px;height:6px;margin-top:.5rem;overflow:hidden}.label-print-progress .progress-bar-small .progress-fill{background:linear-gradient(90deg,#4caf50,#2e7d32);border-radius:3px;height:100%;transition:width .3s ease}.label-preview-section .label-preview-img{border:1px solid #ddd;border-radius:8px;box-shadow:0 2px 8px #0000001a;height:auto;max-width:100%}@media (max-width:768px){.mill-page{padding:1rem}.mill-dashboard-header{align-items:flex-start;flex-direction:column;gap:1rem}.mill-dashboard-header h1{font-size:1.5rem}.header-actions{display:flex;flex-direction:column;gap:.75rem;width:100%}.header-actions .mill-btn{min-height:44px;width:100%}.mill-status-summary{gap:.75rem;grid-template-columns:repeat(2,1fr)}.mill-summary-card{padding:1rem}.mill-summary-count{font-size:2rem}.mill-view-tabs{flex-wrap:wrap;padding:.25rem}.mill-tab{font-size:.9rem;min-height:44px;padding:.6rem 1rem}.mill-batch-grid,.mill-batches-grid{grid-template-columns:1fr}.mill-batch-card-header{align-items:flex-start;flex-direction:column;gap:.5rem}.mill-batch-card-footer{align-items:flex-start;flex-direction:column;gap:.75rem}.mill-batch-actions{display:flex;flex-direction:column;gap:.5rem;width:100%}.mill-batch-actions .mill-btn{min-height:44px;width:100%}.mill-modal-overlay{padding:1rem}.mill-modal,.mill-modal-content,.mill-modal-lg,.mill-modal-xl{margin:0;max-height:90vh;max-width:100%;width:100%}.mill-modal-header{padding:1rem}.mill-modal-header h2,.mill-modal-header h3{font-size:1.2rem}.mill-modal-body{padding:1rem}.mill-modal-footer{flex-direction:column-reverse;gap:.75rem;padding:1rem}.mill-modal-footer .mill-btn{min-height:44px;width:100%}.inventory-table,.mill-allocations-table,.mill-table,.orders-table table{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;white-space:nowrap}.mill-page-header{margin-bottom:1.5rem}.mill-page-header h1{font-size:1.5rem}.mill-page-subtitle{font-size:.9rem}.mill-section-title{font-size:1.1rem}.packaging-batch-header{flex-direction:column;gap:1rem;padding:1rem}.batch-info .batch-number{font-size:1.1rem}.batch-details{flex-wrap:wrap;gap:.5rem}.batch-progress{text-align:left;width:100%}.progress-bar{width:100%}.packaging-orders{-webkit-overflow-scrolling:touch;overflow-x:auto;padding:.5rem}.mill-table{min-width:600px}.mill-table td,.mill-table th{font-size:.85rem;padding:.5rem .75rem}.mill-table .actions-cell{flex-direction:column;gap:.25rem}.mill-table .mill-btn-sm{font-size:.75rem;min-height:44px;padding:.4rem .6rem;width:100%}.label-modal-backdrop{padding:1rem}.label-modal-container{max-height:90vh}.label-modal-header{padding:1rem}.label-modal-header h3{font-size:1.2rem}.label-modal-content{padding:1rem}.label-action-buttons{flex-direction:column}.label-action-buttons .mill-btn{min-height:44px;min-width:0;min-width:auto;width:100%}.label-quantity-section .quantity-row{align-items:stretch;flex-direction:column}.label-quantity-section .quantity-input{width:100%}.label-actions{flex-direction:column}.label-actions .mill-btn{min-height:44px;width:100%}.quantity-input-row{align-items:stretch;flex-direction:column}.quantity-input-row .form-input{width:100%}.shipping-orders-grid{grid-template-columns:1fr}.order-actions{flex-direction:column;gap:.5rem}.order-actions .mill-btn{min-height:44px;width:100%}.mill-modal-body>div[style*=grid-template-columns],div[style*="grid-template-columns: 1fr 1fr 1fr auto"]{grid-template-columns:1fr!important}.inventory-stats{grid-template-columns:1fr}.stat-card{padding:1rem}.stat-value{font-size:1.5rem}.inventory-filters{align-items:stretch;flex-direction:column}.search-box{min-width:0;min-width:auto;width:100%}.filter-group{align-items:stretch;flex-direction:column;width:100%}.filter-select{width:100%}.mill-store-alerts-grid{grid-template-columns:1fr}.mill-orders-page .mill-page-header{align-items:flex-start;flex-direction:column;gap:1rem}.modifications-button{justify-content:center;min-height:44px;width:100%}.status-summary{flex-direction:column}.status-card{width:100%}.orders-grid{grid-template-columns:1fr}.orders-layout{flex-direction:column}.modifications-panel{max-height:400px;width:100%}.view-tabs{gap:.5rem}.view-tab{min-height:44px}.orders-table{-webkit-overflow-scrolling:touch;overflow-x:auto}.orders-table table{min-width:600px}}@media (max-width:480px){.mill-page{overflow-x:hidden;padding:.75rem}.mill-dashboard-header h1,.mill-page-header h1{font-size:1.25rem}.header-subtitle,.mill-page-subtitle{font-size:.85rem}.mill-status-summary{gap:.5rem;grid-template-columns:1fr}.mill-summary-card{padding:.75rem}.mill-summary-count{font-size:1.75rem}.mill-summary-label{font-size:.75rem}.mill-view-tabs{flex-direction:column;padding:.25rem}.mill-tab{padding:.75rem;text-align:center;width:100%}.mill-btn{min-height:44px;padding:.75rem 1rem}.mill-btn-sm{font-size:.85rem;min-height:44px;padding:.6rem .75rem}.mill-batch-card{padding:.75rem}.mill-batch-number{font-size:.95rem}.mill-batch-formula{font-size:.85rem}.mill-batch-weight .weight-value{font-size:1.25rem}.packaging-batch-header{padding:.75rem}.batch-info .batch-number{font-size:1rem}.batch-details{flex-direction:column;font-size:.85rem}.mill-feed-form{font-size:.65rem;padding:.15rem .4rem}.shipping-order-card{max-width:100%;overflow-wrap:break-word;padding:.75rem;word-break:break-word}.order-number-section .order-number{font-size:1rem}.customer-name{font-size:.9rem}.order-item{align-items:flex-start;flex-direction:column;gap:.25rem}.item-package,.item-quantity{margin:0}.mill-allocations-table,.mill-table{font-size:.8rem;min-width:600px}.mill-table td,.mill-table th{padding:.5rem}.label-modal-header h3,.mill-modal-header h2,.mill-modal-header h3{font-size:1.1rem}.label-action-buttons .mill-btn,.label-modal-footer .mill-btn,.mill-modal-footer .mill-btn{font-size:.9rem;padding:.75rem 1rem}.stat-card{padding:.75rem}.stat-value{font-size:1.5rem}.stat-label{font-size:.75rem}.mill-store-alert-card{padding:.75rem}.alert-title{font-size:.9rem}.alert-message{font-size:.8rem}.order-card{padding:.75rem}.view-tab{font-size:.85rem;padding:.75rem 1rem}.mill-section-title,.section-title{font-size:1rem}.filter-select,.form-input,.form-select,.form-textarea,.search-input{font-size:16px;min-height:44px}.label-order-info .info-row{flex-direction:column;gap:.25rem}.label-order-info .info-label{min-width:0;min-width:auto}.mill-info-row{align-items:flex-start;flex-direction:column}.mill-batch-detail-header{flex-direction:column;gap:.75rem}.mill-generate-actions{flex-direction:column}.mill-generate-actions .mill-btn{min-height:44px;width:100%}.date-header{flex-wrap:wrap}.date-header,.mill-date-header{font-size:1.1rem}.mill-batches-container{gap:1.5rem}.mill-section{margin-bottom:1.5rem}}.mill-store-alerts-section{background:#fff;border-left:4px solid #ff9800;border-radius:12px;box-shadow:0 2px 8px #0000001a;margin-bottom:2rem;margin-top:2rem;padding:1.5rem}.mill-section-title{align-items:center;color:#333;display:flex;font-size:1.25rem;gap:.5rem;margin:0 0 1rem}.store-alert-icon{font-size:1.5rem}.mill-store-alerts-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.mill-store-alert-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:1rem;position:relative}.mill-store-alert-card.priority-high{background:#fff5f5;border-left:4px solid #f44336}.mill-store-alert-card.priority-medium{background:#fffaf5;border-left:4px solid #ff9800}.mill-store-alert-card.priority-low{background:#f5fff5;border-left:4px solid #4caf50}.mill-store-alert-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.5rem}.mill-store-alert-header .alert-type{color:#666;font-size:.75rem;font-weight:500;text-transform:uppercase}.mill-store-alert-header .alert-priority{border-radius:4px;font-size:.7rem;font-weight:600;padding:.125rem .5rem}.alert-priority.priority-high{background:#f44336;color:#fff}.alert-priority.priority-medium{background:#ff9800;color:#fff}.alert-priority.priority-low{background:#4caf50;color:#fff}.mill-store-alert-card .alert-title{color:#333;font-size:1rem;font-weight:600;margin:0 0 .5rem}.mill-store-alert-card .alert-message{color:#666;font-size:.875rem;line-height:1.4;margin:0 0 .75rem}.alert-product-info{background:#00000008;border-radius:4px;display:flex;flex-direction:column;gap:.25rem;margin-bottom:.5rem;padding:.5rem}.alert-product-info .product-name{color:#1a4d1a;font-size:.875rem;font-weight:600}.alert-product-info .product-levels{color:#888;font-size:.75rem}.alert-time{color:#999;font-size:.7rem;text-align:right}.mill-orders-page .mill-page-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1.5rem}.mill-orders-page .mill-page-header h1{color:#1a4d1a;font-size:1.75rem;margin:0}.modifications-button{align-items:center;background:#fff3e0;border:2px solid #f59e0b;border-radius:8px;color:#92400e;cursor:pointer;display:flex;font-weight:600;gap:.5rem;padding:.75rem 1rem;transition:all .2s}.modifications-button.active,.modifications-button:hover{background:#f59e0b;color:#fff}.modifications-badge{background:#ef4444;border-radius:10px;color:#fff;font-size:.8rem;padding:.15rem .5rem}.view-tabs{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.5rem}.view-tab{background:#fff;border:2px solid #e0e0e0;border-radius:8px;color:#666;cursor:pointer;font-weight:500;padding:.6rem 1.25rem;transition:all .2s}.view-tab:hover{border-color:#2e7d32;color:#2e7d32}.view-tab.active{background:#2e7d32;border-color:#2e7d32;color:#fff}.status-summary{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1.5rem}.status-card{background:#fff;border-left:4px solid #9ca3af;border-radius:8px;box-shadow:0 1px 3px #0000001a;min-width:100px;padding:1rem 1.25rem}.status-count{color:#1a4d1a;font-size:1.75rem;font-weight:700}.status-label{color:#666;font-size:.75rem;letter-spacing:.5px}.orders-layout{display:flex;gap:1.5rem}.orders-main{flex:1 1;min-width:0}.attention-section{margin-bottom:2rem}.section-title{align-items:center;color:#333;display:flex;font-size:1.1rem;gap:.5rem}.section-title.attention-title{color:#dc2626}.orders-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.order-card{border:2px solid #e0e0e0;border-radius:10px;box-shadow:0 2px 8px #00000014}.order-card.attention{background:#fffbeb;border-color:#f59e0b}.order-card.on-hold{background:#fef2f2;border-color:#ef4444}.order-card-header{align-items:center;display:flex;gap:.5rem;margin-bottom:.5rem}.order-card .order-number{color:#1a4d1a;font-size:1rem;font-weight:600}.rush-badge{background:#dc2626;border-radius:4px;color:#fff;font-size:.65rem;font-weight:700;padding:.15rem .4rem}.rush-badge.small{font-size:.6rem;margin-left:.25rem}.hold-badge{background:#ef4444;border-radius:4px;color:#fff;font-size:.65rem;font-weight:700;padding:.15rem .4rem}.hold-badge.small{font-size:.6rem;margin-left:.25rem}.order-customer{color:#333;font-weight:500;margin-bottom:.5rem}.order-details{color:#666;display:flex;font-size:.85rem;margin-bottom:.75rem}.order-details,.order-footer{justify-content:space-between}.order-footer{border-top:1px solid #e0e0e0}.order-status{font-size:.85rem;font-weight:600}.view-order-btn{background:#f3f4f6;border:1px solid #e0e0e0;border-radius:6px;color:#374151;cursor:pointer;font-size:.8rem;padding:.4rem .75rem;transition:all .2s}.view-order-btn:hover{background:#e5e7eb}.all-orders-section{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;padding:1.5rem}.orders-table{overflow-x:auto}.orders-table table{border-collapse:collapse;width:100%}.orders-table td,.orders-table th{border-bottom:1px solid #e0e0e0;padding:.75rem 1rem;text-align:left}.orders-table th{color:#6b7280;font-size:.75rem;font-weight:600;text-transform:uppercase}.orders-table th,.orders-table tr:hover{background:#f9fafb}.orders-table tr.on-hold{background:#fef2f2}.order-number-cell{align-items:center;color:#1a4d1a;display:flex;font-weight:600;gap:.25rem}.orders-table .status-badge{border-radius:12px;color:#fff;font-size:.75rem;font-weight:600;padding:.25rem .75rem}.table-action-btn{background:#2e7d32;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.8rem;padding:.35rem .75rem;transition:background .2s}.table-action-btn:hover{background:#1b5e20}.no-orders{color:#9ca3af;padding:3rem}.modifications-panel{background:#fff;border-radius:12px;box-shadow:0 4px 12px #0000001a;display:flex;flex-direction:column;flex-shrink:0;max-height:calc(100vh - 200px);width:380px}.panel-header{background:#f59e0b;border-bottom:1px solid #e0e0e0;border-radius:12px 12px 0 0;padding:1rem 1.25rem}.panel-header h3{color:#fff;font-size:1rem;margin:0}.panel-close{align-items:center;background:#fff3;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;height:32px;justify-content:center;transition:background .2s;width:32px}.panel-close:hover{background:#ffffff4d}.modifications-list{flex:1 1;overflow-y:auto;padding:1rem}.modification-card{background:#fefce8;border:1px solid #fef08a;border-radius:8px;margin-bottom:1rem;padding:1rem}.modification-card:last-child{margin-bottom:0}.mod-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.5rem}.mod-order{color:#1a4d1a;font-weight:600}.mod-time{color:#9ca3af;font-size:.75rem}.mod-customer{color:#333;font-weight:500;margin-bottom:.25rem}.mod-type{color:#f59e0b;font-size:.8rem;font-weight:600;margin-bottom:.5rem}.mod-description{color:#4b5563;font-size:.85rem;line-height:1.4;margin-bottom:.5rem}.mod-by{color:#9ca3af;font-size:.75rem;margin-bottom:.75rem}.mod-actions{display:flex;flex-wrap:wrap;gap:.5rem}.mod-btn{border:none;border-radius:6px;cursor:pointer;font-size:.8rem;font-weight:500;padding:.4rem .75rem;transition:all .2s}.mod-btn:disabled{cursor:not-allowed;opacity:.6}.mod-btn.approve{background:#10b981;color:#fff}.mod-btn.approve:hover:not(:disabled){background:#059669}.mod-btn.reject{background:#ef4444;color:#fff}.mod-btn.reject:hover:not(:disabled){background:#dc2626}.mod-btn.view{background:#f3f4f6;color:#374151}.mod-btn.view:hover{background:#e5e7eb}.loading-container{color:#666;gap:1rem}@media (max-width:1024px){.orders-layout{flex-direction:column}.modifications-panel{max-height:400px;width:100%}}@media (max-width:768px){.mill-orders-page .mill-page-header{align-items:flex-start;flex-direction:column;gap:1rem}.status-summary{flex-direction:column}.status-card{width:100%}.orders-grid{grid-template-columns:1fr}}.crm-page{margin:0 auto;max-width:1600px;padding:1.5rem}.crm-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1.5rem}.crm-header h1{color:#1a1a1a;font-size:1.75rem;margin:0}.crm-header-actions{display:flex;gap:.75rem}.crm-stats{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:1.5rem}.stat-card{border-left:4px solid #3b82f6}.stat-card.stat-new{border-left-color:#10b981}.stat-card.stat-pipeline{border-left-color:#8b5cf6}.stat-card.stat-converted{border-left-color:#f59e0b}.stat-card.stat-overdue{border-left-color:#ef4444}.stat-card h3{color:#6b7280;font-size:.85rem;font-weight:500;margin:0 0 .5rem;text-transform:uppercase}.stat-card .stat-value{color:#1a1a1a;font-size:2rem}.crm-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:1fr 1fr}@media (max-width:1200px){.crm-grid{grid-template-columns:1fr}}.crm-card{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;overflow:hidden}.crm-card-header{align-items:center;background:#f9fafb;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:1rem 1.25rem}.crm-card-header h2{color:#374151;font-size:1rem;font-weight:600;margin:0}.crm-card-body{padding:1rem 1.25rem}.task-list{list-style:none;margin:0;padding:0}.task-item{align-items:flex-start;border-bottom:1px solid #f3f4f6;display:flex;gap:.75rem;padding:.75rem 0}.task-item:last-child{border-bottom:none}.task-checkbox{cursor:pointer;height:18px;margin-top:2px;width:18px}.task-content{flex:1 1}.task-title{color:#1a1a1a;font-weight:500;margin-bottom:.25rem}.task-meta{color:#6b7280;font-size:.8rem}.task-item.overdue .task-meta{color:#ef4444}.task-due{color:#6b7280;font-size:.8rem;white-space:nowrap}.task-due.overdue{color:#ef4444;font-weight:500}.followup-list{list-style:none;margin:0;padding:0}.followup-item{align-items:center;border-bottom:1px solid #f3f4f6;cursor:pointer;display:flex;justify-content:space-between;padding:.75rem 0;transition:background .2s}.followup-item:hover{background:#f9fafb;margin:0 -1.25rem;padding:.75rem 1.25rem}.followup-item:last-child{border-bottom:none}.followup-business{color:#1a1a1a;font-weight:500}.followup-contact,.followup-date{color:#6b7280;font-size:.85rem}.followup-date{text-align:right}.followup-date.overdue{color:#ef4444;font-weight:500}.activity-feed{list-style:none;margin:0;padding:0}.activity-item{padding:.75rem 0}.activity-icon{align-items:center;background:#e5e7eb;border-radius:50%;display:flex;flex-shrink:0;font-size:.9rem;height:32px;justify-content:center;width:32px}.activity-icon.call{background:#dbeafe}.activity-icon.email{background:#fef3c7}.activity-icon.visit{background:#d1fae5}.activity-icon.meeting{background:#ede9fe}.activity-icon.note{background:#f3f4f6}.activity-content{flex:1 1;min-width:0}.activity-subject{color:#1a1a1a;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity-lead{color:#3b82f6;font-size:.85rem}.activity-meta{color:#9ca3af;font-size:.8rem}.leads-table-container{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;overflow:hidden}.leads-table{border-collapse:collapse;width:100%}.leads-table td,.leads-table th{border-bottom:1px solid #e5e7eb;padding:.875rem 1rem;text-align:left}.leads-table th{color:#6b7280;font-size:.8rem;font-weight:600;text-transform:uppercase}.leads-table tbody tr:hover,.leads-table th{background:#f9fafb}.leads-table tbody tr{cursor:pointer}.status-badge.new{background:#dbeafe;color:#1e40af}.status-badge.researching{background:#e0e7ff;color:#3730a3}.status-badge.contacted{background:#fef3c7;color:#92400e}.status-badge.meeting_scheduled{background:#ede9fe;color:#5b21b6}.status-badge.sampled{background:#fce7f3;color:#9d174d}.status-badge.negotiating{background:#ffedd5;color:#9a3412}.status-badge.won{background:#d1fae5;color:#065f46}.status-badge.lost{background:#fee2e2;color:#991b1b}.status-badge.on_hold{background:#f3f4f6;color:#4b5563}.priority-badge{display:inline-block;padding:.15rem .5rem;text-transform:uppercase}.priority-badge.low{background:#f3f4f6;color:#6b7280}.priority-badge.medium{background:#dbeafe;color:#1d4ed8}.priority-badge.high{background:#fef3c7;color:#b45309}.priority-badge.urgent{background:#fee2e2;color:#dc2626}.filters-bar{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;gap:.75rem;padding:1rem}.filter-group{display:flex;flex-direction:column;gap:.25rem}.filter-group label{color:#6b7280;font-size:.75rem;font-weight:500;text-transform:uppercase}.filter-input,.filter-select{border-radius:6px;font-size:.9rem;min-width:150px;padding:.5rem .75rem}.filter-input:focus,.filter-select:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f633;outline:none}.lead-detail{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:350px 1fr}@media (max-width:1024px){.lead-detail{grid-template-columns:1fr}}.lead-main,.lead-sidebar{display:flex;flex-direction:column;gap:1rem}.lead-info-card{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;padding:1.25rem}.lead-info-card h3{border-bottom:1px solid #e5e7eb;color:#374151;font-size:.9rem;font-weight:600;margin:0 0 1rem;padding-bottom:.5rem}.info-row{border-bottom:1px solid #f3f4f6}.info-row:last-child{border-bottom:none}.info-label{font-size:.85rem}.info-value{color:#1a1a1a;font-size:.9rem;text-align:right}.info-value a{color:#3b82f6;text-decoration:none}.info-value a:hover{text-decoration:underline}.quick-actions{grid-gap:.5rem;display:grid;gap:.5rem;grid-template-columns:repeat(2,1fr)}.quick-action-btn{align-items:center;background:#fff;border:1px solid #d1d5db;border-radius:6px;color:#374151;cursor:pointer;display:flex;font-size:.85rem;gap:.5rem;justify-content:center;padding:.75rem;transition:all .2s}.quick-action-btn:hover{background:#f3f4f6;border-color:#9ca3af}.quick-action-btn.primary{background:#3b82f6;border-color:#3b82f6;color:#fff}.quick-action-btn.primary:hover{background:#2563eb}.timeline{padding-left:2rem}.timeline:before{background:#e5e7eb;bottom:0;content:"";left:.5rem;position:absolute;top:0;width:2px}.timeline-dot{background:#fff;border:2px solid #3b82f6;border-radius:50%;height:12px;left:-1.5rem;position:absolute;top:.25rem;width:12px}.timeline-dot.call{border-color:#3b82f6}.timeline-dot.email{border-color:#f59e0b}.timeline-dot.visit{border-color:#10b981}.timeline-dot.meeting{border-color:#8b5cf6}.timeline-dot.note{border-color:#6b7280}.timeline-dot.sample_sent{border-color:#ec4899}.timeline-content{background:#fff}.timeline-header{margin-bottom:.5rem}.timeline-type{align-items:center;display:flex;gap:.5rem}.timeline-type-icon{font-size:1rem}.timeline-type-label{color:#374151;font-weight:600}.timeline-date{color:#9ca3af;font-size:.8rem}.timeline-subject{color:#1a1a1a;font-weight:500;margin-bottom:.5rem}.timeline-notes{white-space:pre-wrap}.timeline-outcome{font-style:italic;margin-top:.5rem}.timeline-user{color:#9ca3af;font-size:.8rem;margin-top:.5rem}.pipeline-container{display:flex;gap:1rem;overflow-x:auto;padding-bottom:1rem}.pipeline-column{background:#f3f4f6;border-radius:8px;display:flex;flex-direction:column;flex-shrink:0;max-width:300px;min-width:280px}.pipeline-column-header{align-items:center;border-bottom:2px solid;color:#374151;display:flex;font-weight:600;justify-content:space-between;padding:1rem}.pipeline-column-header .count{background:#fff;border-radius:9999px;color:#6b7280;font-size:.8rem;padding:.25rem .5rem}.pipeline-column.new .pipeline-column-header{border-color:#3b82f6}.pipeline-column.researching .pipeline-column-header{border-color:#6366f1}.pipeline-column.contacted .pipeline-column-header{border-color:#f59e0b}.pipeline-column.meeting_scheduled .pipeline-column-header{border-color:#8b5cf6}.pipeline-column.sampled .pipeline-column-header{border-color:#ec4899}.pipeline-column.negotiating .pipeline-column-header{border-color:#f97316}.pipeline-cards{flex:1 1;max-height:calc(100vh - 300px);overflow-y:auto;padding:.5rem}.pipeline-card{background:#fff;border-radius:6px;box-shadow:0 1px 2px #0000001a;cursor:pointer;margin-bottom:.5rem;padding:.875rem;transition:box-shadow .2s}.pipeline-card:hover{box-shadow:0 4px 6px #0000001a}.pipeline-card-business{color:#1a1a1a;font-weight:600;margin-bottom:.25rem}.pipeline-card-contact{color:#6b7280;margin-bottom:.5rem}.pipeline-card-footer{font-size:.8rem}.pipeline-card-date{color:#9ca3af}.pipeline-card-date.overdue{color:#ef4444}.pipeline-card-avatar{align-items:center;background:#e5e7eb;border-radius:50%;color:#6b7280;display:flex;font-size:.7rem;font-weight:600;height:24px;justify-content:center;width:24px}.crm-form{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;padding:1.5rem}.form-section-title{border-bottom:1px solid #e5e7eb;color:#374151;font-size:1rem;font-weight:600;margin-bottom:1rem;padding-bottom:.5rem}.form-row{margin-bottom:1rem}.form-group{gap:.35rem}.form-group label .required{color:#ef4444}.form-group input,.form-group select,.form-group textarea{font-size:.95rem;padding:.625rem .75rem}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{box-shadow:0 0 0 2px #3b82f633}.form-group textarea{min-height:100px}.form-actions{gap:.75rem;padding-top:1.5rem}.btn{font-size:.9rem;padding:.625rem 1.25rem;transition:all .2s}.btn-secondary{border:1px solid #d1d5db}.btn-success{background:#10b981;color:#fff}.btn-success:hover{background:#059669}.btn-danger{background:#ef4444}.btn-danger:hover{background:#dc2626}.btn-outline{background:#0000;border:1px solid #d1d5db;color:#374151}.btn-outline:hover{background:#f3f4f6}.btn-sm{font-size:.8rem}.crm-modal-overlay{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.crm-modal{background:#fff;border-radius:12px;max-height:90vh;max-width:600px;overflow:auto;width:90%}.crm-modal-header{align-items:center;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:1.25rem 1.5rem}.crm-modal-header h3{font-size:1.25rem;font-weight:600;margin:0}.crm-modal-close{background:none;border:none;color:#6b7280;cursor:pointer;font-size:1.5rem}.crm-modal-body{padding:1.5rem}.crm-modal-footer{background:#f9fafb;border-top:1px solid #e5e7eb;display:flex;gap:.75rem;justify-content:flex-end;padding:1rem 1.5rem}.empty-state-icon{font-size:3rem;margin-bottom:1rem;opacity:.5}.empty-state h3{color:#374151;margin:0 0 .5rem}.loading{padding:2rem}.crm-subnav{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;display:flex;gap:.5rem;margin-bottom:1.5rem;padding:.5rem}.crm-subnav-link{border-radius:6px;color:#6b7280;font-weight:500;padding:.5rem 1rem;text-decoration:none;transition:all .2s}.crm-subnav-link:hover{background:#f3f4f6;color:#374151}.crm-subnav-link.active{background:#3b82f6;color:#fff}.crm-subnav-link-highlight{background:#ff9800!important;color:#fff!important;font-weight:600}.crm-subnav-link-highlight:hover{background:#f57c00!important;color:#fff!important}.lead-detail-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:1fr 400px}@media (max-width:1200px){.lead-detail-grid{grid-template-columns:1fr}}.lead-activity-section,.lead-info-section{display:flex;flex-direction:column;gap:1rem}.back-link:hover{color:#3b82f6}.lead-meta{align-items:center;color:#6b7280;display:flex;font-size:.9rem;gap:.5rem;margin-top:.5rem}.meta-separator{color:#d1d5db}.info-card{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;padding:1.25rem}.info-card h3{border-bottom:1px solid #e5e7eb;color:#374151;font-size:.9rem;font-weight:600;margin:0 0 1rem;padding-bottom:.5rem}.info-grid{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:repeat(2,1fr)}.info-item{display:flex;flex-direction:column;gap:.25rem}.info-item.full-width{grid-column:1/-1}.info-item label{color:#6b7280;font-size:.75rem;font-weight:500;text-transform:uppercase}.info-item a,.info-item span{color:#1a1a1a;font-size:.95rem}.info-item a{color:#3b82f6;text-decoration:none}.info-item a:hover{text-decoration:underline}.notes-section{border-top:1px solid #e5e7eb;margin-top:1rem;padding-top:1rem}.notes-section label{color:#6b7280;display:block;font-size:.75rem;font-weight:500;margin-bottom:.5rem;text-transform:uppercase}.notes-section p{color:#374151;font-size:.95rem;margin:0;white-space:pre-wrap}.text-danger{color:#ef4444!important}.activity-card{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;padding:1.25rem}.activity-card h3{color:#374151;font-size:.9rem;font-weight:600;margin:0 0 1rem}.empty-state.small{padding:1.5rem}.empty-state.small p{font-size:.9rem}.activity-timeline{list-style:none;margin:0;padding:0}.timeline-item{border-bottom:1px solid #f3f4f6;display:flex;gap:.75rem;margin-bottom:1rem;padding-bottom:1rem}.timeline-item:last-child{border-bottom:none;margin-bottom:0}.timeline-icon{align-items:center;background:#f3f4f6;border-radius:50%;display:flex;flex-shrink:0;font-size:1rem;height:36px;justify-content:center;width:36px}.timeline-content{flex:1 1;min-width:0}.timeline-header{align-items:flex-start;display:flex;gap:.5rem;justify-content:space-between;margin-bottom:.25rem}.timeline-header strong{color:#1a1a1a}.timeline-type{background:#e5e7eb;border-radius:4px;color:#4b5563;font-size:.75rem;padding:.15rem .5rem;white-space:nowrap}.timeline-notes{color:#4b5563;font-size:.9rem;margin:.5rem 0}.timeline-outcome{color:#059669;font-size:.85rem;margin:.5rem 0}.timeline-meta{color:#9ca3af;font-size:.8rem}.task-priority{border-radius:4px;font-size:.7rem;font-weight:600;margin-right:.5rem;padding:.15rem .4rem;text-transform:uppercase}.task-priority.low{background:#f3f4f6;color:#6b7280}.task-priority.medium{background:#dbeafe;color:#1d4ed8}.task-priority.high{background:#fef3c7;color:#b45309}.task-priority.urgent{background:#fee2e2;color:#dc2626}.task-description{color:#6b7280;font-size:.85rem;margin-top:.25rem}.converted-banner{background:#d1fae5;border-radius:6px;color:#065f46;font-size:.9rem;margin-bottom:1rem;padding:.75rem 1rem}.modal{overflow:auto}.modal-close:hover{color:#1a1a1a}.modal-info{background:#f0f9ff;border:1px solid #bae6fd;border-radius:6px;color:#0369a1;font-size:.9rem;margin-bottom:1rem;padding:.75rem}.checkbox-group label{align-items:center;cursor:pointer;display:flex;gap:.5rem}.checkbox-group input[type=checkbox]{height:18px;width:18px}.lead-form{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;padding:1.5rem}.lead-form .form-section{margin-bottom:2rem}.lead-form .form-section h3{border-bottom:2px solid #e5e7eb;color:#374151;font-size:1rem;font-weight:600;margin:0 0 1rem;padding-bottom:.5rem}.lead-form .form-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(3,1fr)}@media (max-width:900px){.lead-form .form-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:600px){.lead-form .form-grid{grid-template-columns:1fr}}.lead-form .form-grid .full-width{grid-column:1/-1}.error-message{font-size:.9rem}.pipeline-header{align-items:center;background:#fff;border-top:3px solid;color:#374151;display:flex;font-size:.85rem;font-weight:600;justify-content:space-between;padding:.75rem 1rem}.pipeline-count{background:#e5e7eb;border-radius:9999px;color:#6b7280;font-size:.8rem;font-weight:500;padding:.15rem .5rem}.pipeline-column.drop-target{background:#dbeafe}.pipeline-card.dragging{opacity:.5}.pipeline-card-header strong{color:#1a1a1a;display:block;font-size:.95rem}.pipeline-card-meta{color:#6b7280;font-size:.8rem;margin-top:.25rem}.pipeline-card-contact{color:#4b5563;font-size:.85rem;margin-top:.5rem}.pipeline-card-footer{align-items:center;border-top:1px solid #f3f4f6;display:flex;justify-content:space-between;margin-top:.75rem;padding-top:.5rem}.pipeline-assigned,.pipeline-followup{color:#6b7280;font-size:.75rem}.pipeline-followup.overdue{color:#ef4444;font-weight:500}.pipeline-empty{color:#9ca3af;font-size:.9rem;padding:2rem 1rem;text-align:center}.pipeline-summary{display:flex;gap:1rem;margin-top:1.5rem}.summary-card{border-radius:8px;flex:1 1;padding:1rem}.summary-card h4{color:#6b7280;font-size:.8rem;margin:0 0 .5rem;text-transform:uppercase}.summary-count{font-size:1.5rem;font-weight:700}.summary-card.won{border-top:3px solid #10b981}.summary-card.won .summary-count{color:#10b981}.summary-card.lost{border-top:3px solid #ef4444}.summary-card.lost .summary-count{color:#ef4444}.summary-card.on-hold{border-top:3px solid #6b7280}.summary-card.on-hold .summary-count{color:#6b7280}.checkbox-filter{align-items:center;flex-direction:row!important;gap:.5rem!important}.checkbox-filter label{align-items:center;cursor:pointer;display:flex;font-size:.9rem!important;gap:.5rem;text-transform:none!important}.checkbox-filter input[type=checkbox]{height:16px;width:16px}.tasks-container{display:flex;flex-direction:column;gap:1.5rem}.task-group{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;overflow:hidden}.task-group-header{align-items:center;background:#f9fafb;border-bottom:1px solid #e5e7eb;color:#374151;display:flex;font-weight:600;justify-content:space-between;padding:.75rem 1rem}.task-group-header.overdue{background:#fef2f2;color:#dc2626}.task-group-count{color:#6b7280;font-size:.8rem;font-weight:400}.tasks-list{list-style:none;margin:0;padding:0}.task-row{align-items:flex-start;border-bottom:1px solid #f3f4f6;display:flex;gap:.75rem;padding:1rem;transition:background .2s}.task-row:last-child{border-bottom:none}.task-row:hover{background:#f9fafb}.task-row.overdue{background:#fef2f2}.task-row.completed{opacity:.6}.task-row.completed .task-title{text-decoration:line-through}.task-checkbox-wrapper{padding-top:.125rem}.task-main{cursor:pointer;flex:1 1;min-width:0}.task-links{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:.5rem}.task-link{color:#3b82f6;cursor:pointer;font-size:.8rem}.task-link:hover{text-decoration:underline}.task-meta-col{color:#6b7280;flex-shrink:0;font-size:.85rem;min-width:80px;text-align:right}.task-actions{display:flex;gap:.25rem}.btn-icon{background:none;border:none;cursor:pointer;font-size:.9rem;opacity:.6;padding:.25rem;transition:opacity .2s}.btn-icon:hover{opacity:1}.error-state{padding:3rem;text-align:center}.error-state h3{color:#374151;margin:0 0 1rem}@media (max-width:768px){.crm-page{padding:1rem}.crm-header{align-items:flex-start;flex-direction:column;gap:1rem}.crm-header-actions{width:100%}.crm-header-actions .btn{min-height:48px;width:100%}.crm-grid{display:flex;flex-direction:column;gap:1rem}.crm-card{width:100%}.crm-stats{gap:.75rem;grid-template-columns:1fr 1fr}.stat-card{padding:1rem}.stat-card .stat-value{font-size:1.5rem}.filters-bar{flex-direction:column;gap:.75rem}.filter-input,.filter-select{min-height:48px;width:100%}input,select,textarea{font-size:16px!important;min-height:44px}.leads-table-container{-webkit-overflow-scrolling:touch;overflow-x:auto}.leads-table{min-width:600px}.lead-detail,.quick-actions{grid-template-columns:1fr}.quick-actions{gap:.5rem}.quick-action-btn{min-height:48px}.form-row{grid-template-columns:1fr}.pipeline-container{padding-bottom:2rem}.crm-subnav,.pipeline-container{-webkit-overflow-scrolling:touch}.crm-subnav{gap:.25rem;overflow-x:auto}.crm-subnav-link{align-items:center;display:flex;min-height:44px;padding:.5rem .75rem;white-space:nowrap}.crm-modal-overlay,.modal-overlay{align-items:stretch;justify-content:stretch;padding:0}.crm-modal,.modal{border-radius:0;bottom:0;display:flex;flex-direction:column;left:0;margin:0;max-height:none;max-width:none;position:fixed;right:0;top:0;width:100%}.crm-modal-header,.modal-header{background:#8b2635;border-radius:0;color:#fff;flex-shrink:0}.crm-modal-header h3,.modal-header h2{color:#fff}.crm-modal-close,.modal-close{color:#fff;min-height:44px;min-width:44px}.crm-modal-body,.modal-body{-webkit-overflow-scrolling:touch;flex:1 1;overflow-y:auto}.crm-modal-footer,.modal-footer{border-radius:0;flex-direction:column;flex-shrink:0;gap:.5rem}.crm-modal-footer .btn,.modal-footer .btn{min-height:48px;width:100%}}.monday-task-page{margin:0 auto;max-width:1000px}.monday-header{margin-bottom:2rem}.monday-title-section h1{color:#8b0000;font-size:1.75rem;margin:0 0 .25rem}.week-label{color:#6b7280;font-size:.95rem;margin:0}.verse-card{background:linear-gradient(135deg,#f8f4e8,#fff9e6);border-left:4px solid #c4a35a;border-radius:0 8px 8px 0;margin-top:1.5rem;padding:1.25rem}.verse-text{color:#555;font-size:1rem;font-style:italic;line-height:1.6;margin:0 0 .5rem}.verse-reference{color:#8b0000;font-size:.9rem;font-weight:600;margin:0}.monday-stats{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(3,1fr);margin-bottom:2rem}.monday-stats .stat-card{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;padding:1.25rem;text-align:center}.monday-stats .stat-value{color:#8b0000;font-size:2rem;font-weight:700}.monday-stats .stat-label{color:#6b7280;font-size:.85rem;letter-spacing:.5px;text-transform:uppercase}.birthdays-section{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;margin-bottom:2rem;padding:1.25rem}.birthdays-section h3{color:#374151;font-size:1rem;margin:0 0 1rem}.birthday-cards{display:flex;flex-wrap:wrap;gap:.75rem}.birthday-card{align-items:center;background:#fce7f3;border:1px solid #f9a8d4;border-radius:8px;display:flex;gap:.75rem;padding:.75rem 1rem}.birthday-icon{font-size:1.5rem}.birthday-info{display:flex;flex-direction:column}.birthday-info strong{color:#831843;font-size:.9rem}.birthday-info span{color:#9d174d;font-size:.8rem}.birthday-info small{color:#be185d;font-size:.75rem}.monday-tasks .section-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.monday-tasks .section-header h2{color:#374151;font-size:1.25rem;margin:0}.task-list-container{display:flex;flex-direction:column;gap:1rem}.contact-task-card{background:#fff;border-left:4px solid #6c757d;border-radius:8px;box-shadow:0 1px 3px #0000001a;overflow:hidden}.contact-task-card.overdue{background:#fef2f2}.contact-task-card .task-main{cursor:pointer;padding:1rem}.contact-task-card .task-header-row{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:.5rem}.contact-task-card .task-title-section{align-items:center;display:flex;gap:.75rem}.contact-task-card .task-title-section h4{color:#1a1a1a;font-size:1.1rem;margin:0}.task-type-badge{border-radius:4px;color:#fff;font-size:.7rem;font-weight:600;padding:.2rem .5rem;text-transform:uppercase;white-space:nowrap}.task-meta-section{align-items:center;display:flex;gap:.5rem}.priority-badge{border-radius:4px;font-size:.7rem;font-weight:600;padding:.2rem .5rem}.due-date{color:#6b7280;font-size:.8rem}.due-date.overdue{color:#dc3545;font-weight:600}.contact-task-card .task-title{color:#4b5563;font-size:.95rem;margin:0 0 .5rem}.task-contact-row{align-items:center;display:flex;flex-wrap:wrap;gap:1rem}.contact-link{align-items:center;background:#eff6ff;border-radius:4px;color:#3b82f6;display:inline-flex;font-size:.85rem;gap:.25rem;padding:.25rem .5rem;text-decoration:none}.contact-link:hover{background:#dbeafe}.contact-link.phone{background:#ecfdf5;color:#059669}.contact-link.phone:hover{background:#d1fae5}.contact-link.email{background:#fef3c7;color:#b45309}.contact-link.email:hover{background:#fde68a}.location{color:#6b7280;font-size:.85rem}.task-expanded{background:#f9fafb;border-top:1px solid #e5e7eb;padding:1rem}.expanded-section{margin-bottom:1rem}.expanded-section:last-child{margin-bottom:0}.expanded-section label{color:#6b7280;display:block;font-size:.75rem;font-weight:600;margin-bottom:.25rem;text-transform:uppercase}.expanded-section p{color:#374151;font-size:.9rem;margin:0}.expanded-section.talking-points{background:#fff7ed;border:1px solid #fed7aa;border-radius:6px;padding:.75rem}.expanded-section.talking-points label{color:#c2410c}.expanded-section.talking-points p{color:#9a3412}.contact-task-card .task-actions{border-top:1px solid #e5e7eb;display:flex;gap:.5rem;margin-top:1rem;padding-top:1rem}.complete-task-modal{max-width:500px}.task-info-summary{background:#f3f4f6;border-radius:6px;margin-bottom:1.5rem;padding:1rem}.task-info-summary strong{color:#1a1a1a;display:block;font-size:1.1rem;margin-bottom:.25rem}.task-info-summary p{color:#6b7280;font-size:.9rem;margin:.25rem 0 0}.modal-content{overflow:auto}.modal-content .modal-header{align-items:center;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:1rem 1.25rem}.modal-content .modal-header h3{font-size:1.25rem;margin:0}.modal-actions{border-top:1px solid #e5e7eb;justify-content:flex-end;padding-top:1rem}.no-contact-page .page-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:2rem}.no-contact-page .header-title h1{color:#374151;font-size:1.5rem;margin:0 0 .25rem}.no-contact-page .header-title p{color:#6b7280;font-size:.95rem;margin:0}.urgency-stats{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(4,1fr);margin-bottom:1.5rem}.urgency-stat{background:#fff;border:2px solid #0000;border-radius:8px;box-shadow:0 1px 3px #0000001a;cursor:pointer;padding:1.25rem;text-align:center;transition:all .2s}.urgency-stat:hover{box-shadow:0 4px 6px #0000001a;transform:translateY(-2px)}.urgency-stat.active{background:#f9fafb;border-color:currentColor}.urgency-stat.total{cursor:default}.urgency-stat.total:hover{transform:none}.urgency-stat .stat-value{font-size:2rem;font-weight:700}.urgency-stat .stat-label{color:#6b7280;font-size:.8rem;margin-top:.25rem}.list-controls{justify-content:space-between;margin-bottom:1rem}.list-controls,.sort-control{align-items:center;display:flex}.sort-control{gap:.5rem}.sort-control label{color:#6b7280;font-size:.9rem}.sort-control select{border:1px solid #d1d5db;border-radius:6px;font-size:.9rem;padding:.5rem 1rem}.no-contact-list{display:flex;flex-direction:column;gap:1rem}.no-contact-card{align-items:flex-start;background:#fff;border-left:4px solid #6c757d;border-radius:8px;box-shadow:0 1px 3px #0000001a;display:flex;gap:1rem;justify-content:space-between;padding:1.25rem}.customer-main-info{flex:1 1;min-width:0}.customer-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:.5rem}.customer-header h3{color:#1a1a1a;font-size:1.1rem;margin:0}.customer-badges{display:flex;gap:.5rem}.urgency-badge{color:#fff;font-weight:600}.type-badge,.urgency-badge{border-radius:4px;font-size:.7rem;padding:.2rem .5rem}.type-badge{background:#e5e7eb;color:#4b5563;font-weight:500}.customer-contact-info{color:#4b5563;display:flex;font-size:.9rem;gap:1rem;margin-bottom:.5rem}.last-contact-info{color:#6b7280;display:flex;flex-wrap:wrap;font-size:.85rem;gap:.75rem;margin-bottom:.5rem}.days-badge{background:#fee2e2;border-radius:4px;color:#dc2626;font-weight:500;padding:.15rem .5rem}.no-contact-card .talking-points{background:#fefce8;border-radius:4px;color:#4b5563;font-size:.85rem;margin-top:.5rem;padding:.5rem .75rem}.customer-actions{display:flex;flex-direction:column;gap:.5rem}.action-btn{font-size:.85rem;gap:.25rem}.action-btn.phone{background:#ecfdf5;border-color:#a7f3d0;color:#059669}.action-btn.phone:hover{background:#d1fae5}.action-btn.email{background:#eff6ff;border-color:#bfdbfe;color:#2563eb}.action-btn.email:hover{background:#dbeafe}.action-btn.log-contact{background:#8b0000;border-color:#8b0000;color:#fff}.action-btn.log-contact:hover{background:#6b0000}.quick-contact-modal{max-width:500px}.customer-quick-info{background:#f3f4f6;border-radius:6px;margin-bottom:1.5rem;padding:1rem}.customer-quick-info p{font-size:.9rem;margin:.25rem 0}.customer-quick-info a{color:#3b82f6}.talking-points-box{background:#fefce8;border:1px solid #fde047;border-radius:4px;margin-top:.75rem;padding:.75rem}.talking-points-box strong{color:#854d0e;display:block;font-size:.8rem;margin-bottom:.25rem}.talking-points-box p{color:#a16207;font-size:.85rem;margin:0}.contact-type-buttons{display:flex;flex-wrap:wrap;gap:.5rem}.contact-type-btn{align-items:center;background:#fff;border:2px solid #e5e7eb;border-radius:8px;cursor:pointer;display:flex;flex-direction:column;gap:.25rem;padding:.75rem 1rem;transition:all .2s}.contact-type-btn:hover{background:#eff6ff;border-color:#3b82f6}.contact-type-btn.active{background:#3b82f6;border-color:#3b82f6;color:#fff}.contact-type-btn span{font-size:.75rem;font-weight:500;text-transform:uppercase}.empty-state .empty-icon{font-size:3rem;margin-bottom:1rem}@media (max-width:768px){.monday-stats{grid-template-columns:repeat(3,1fr)}.urgency-stats{grid-template-columns:repeat(2,1fr)}.no-contact-card{flex-direction:column}.customer-actions{flex-direction:row;flex-wrap:wrap;width:100%}.action-btn{flex:1 1;min-width:100px}.contact-task-card .task-header-row{flex-direction:column;gap:.5rem}.task-meta-section{align-self:flex-start}}.bridge-club-admin-page{margin:0 auto;max-width:1400px;padding:1.5rem}.admin-tabs{border-bottom:2px solid #e5e7eb;display:flex;gap:.5rem;margin-bottom:1.5rem}.tab-btn:hover{color:#1f2937}.tab-btn.active{border-bottom-color:#b91c1c;color:#b91c1c}.overview-section{display:flex;flex-direction:column;gap:1.5rem}.summary-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.summary-card{box-shadow:0 2px 8px #0000001a;padding:1.5rem;text-align:center;transition:transform .2s ease,box-shadow .2s ease}.summary-card.clickable{cursor:pointer}.summary-card.clickable:hover{box-shadow:0 4px 16px #00000026;transform:translateY(-2px)}.summary-card.highlight-blue{background:#dbeafe;border:2px solid #3b82f6}.summary-card.highlight-gold{background:#fef3c7;border:2px solid #f59e0b}.summary-card.highlight-green{background:#d1fae5;border:2px solid #10b981}.summary-value{color:#1f2937;font-size:1.75rem}.summary-card.highlight-green .summary-value{color:#065f46}.summary-card.highlight-blue .summary-value{color:#1e40af}.summary-card.highlight-gold .summary-value{color:#92400e}.summary-label{color:#6b7280;font-size:.875rem;margin-top:.25rem}.card{border-radius:12px;box-shadow:0 2px 8px #0000001a}.card h3{color:#1f2937;font-size:1.125rem;margin:0 0 1rem}.top-stores-list{display:flex;flex-direction:column;gap:.5rem}.store-row{align-items:center;background:#f9fafb;border-radius:8px;display:flex;gap:1rem;padding:.75rem}.rank{color:#6b7280;font-weight:600;width:32px}.store-name{font-weight:500}.member-count{color:#374151;font-size:.875rem}.revenue{color:#059669;font-weight:600}.product-row{gap:1rem}.filters-bar{gap:1rem;margin-bottom:1rem}.search-input{font-size:.875rem;min-width:200px}.search-input:focus{border-color:#b91c1c;box-shadow:0 0 0 3px #b91c1c1a}.filter-input,.filter-select{background:#fff;border:1px solid #d1d5db;border-radius:8px;font-size:.875rem;padding:.75rem 1rem}.data-table th{border-bottom:2px solid #e5e7eb;color:#6b7280;font-size:.75rem;letter-spacing:.05em;padding:.75rem}.data-table td{border-bottom:1px solid #f3f4f6;padding:.75rem;vertical-align:middle}.data-table tr:hover{background:#f9fafb}.no-store{color:#9ca3af;font-style:italic}.loyalty-display{display:flex;gap:2px}.punch-dot{height:10px;width:10px}.loyalty-text{color:#6b7280;font-size:.75rem;margin-top:.25rem}.purchase-amount{color:#059669;font-weight:500}.no-results{color:#6b7280;padding:2rem;text-align:center}.no-data-message,.stores-section{box-shadow:0 2px 8px #0000001a}.stores-section{background:#fff;border-radius:12px;padding:1.5rem}.store-name-cell{color:#1f2937;font-weight:600}.member-count-cell{font-weight:500}.revenue-cell{color:#059669;font-weight:600}.desktop-only{display:block}.mobile-only{display:none}.mobile-cards{display:flex;flex-direction:column;gap:1rem}.mobile-store-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;padding:1rem}.mobile-store-header{border-bottom:1px solid #e5e7eb;display:flex;flex-direction:column;gap:.25rem;margin-bottom:.75rem;padding-bottom:.75rem}.mobile-store-name{color:#1f2937;font-size:1rem;font-weight:600}.mobile-store-location{color:#6b7280;font-size:.875rem}.mobile-store-stats{grid-gap:.5rem;display:grid;gap:.5rem;grid-template-columns:repeat(3,1fr)}.mobile-stat{align-items:center;display:flex;flex-direction:column;text-align:center}.mobile-stat-value{color:#1f2937;font-size:1.125rem;font-weight:600}.mobile-stat-value.mobile-revenue{color:#059669}.mobile-stat-label{color:#6b7280;font-size:.75rem;text-transform:uppercase}.mobile-member-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 2px 8px #0000001a;padding:1rem}.mobile-member-header{align-items:center;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;margin-bottom:.75rem;padding-bottom:.75rem}.mobile-member-name{color:#1f2937;font-size:1rem;font-weight:600}.mobile-member-number{background:#f3f4f6;border-radius:4px;color:#9ca3af;font-size:.75rem;padding:.25rem .5rem}.mobile-member-details{display:flex;flex-direction:column;gap:.5rem;margin-bottom:.75rem}.mobile-member-row{align-items:center;display:flex;gap:.5rem}.mobile-label{flex-shrink:0;text-align:center;width:24px}.mobile-value{color:#374151;font-size:.875rem;word-break:break-word}.mobile-member-stats{grid-gap:.75rem;border-bottom:1px solid #f3f4f6;border-top:1px solid #f3f4f6;display:grid;gap:.75rem;grid-template-columns:1fr 1fr;margin-bottom:.75rem;padding:.75rem 0}.mobile-member-stat{text-align:center}.mobile-member-stat .loyalty-display{justify-content:center;margin-bottom:.25rem}.mobile-member-footer{align-items:center;display:flex;gap:.5rem;justify-content:space-between}.mobile-last-active{color:#6b7280;font-size:.75rem}.mobile-member-footer .reset-password-btn{flex-shrink:0}@media (max-width:768px){.bridge-club-admin-page{max-width:100%;overflow-x:hidden;padding:1rem}.filters-bar{flex-direction:column}.filter-input,.filter-select,.search-input{font-size:16px;min-height:48px;width:100%}.summary-grid{gap:.75rem;grid-template-columns:repeat(2,1fr)}.summary-card{padding:1rem}.summary-value{font-size:1.5rem}.summary-label{font-size:.75rem}.desktop-only{display:none}.mobile-only{display:block}.tab-btn{min-height:44px;padding:.5rem 1rem;white-space:nowrap}.admin-tabs{-webkit-overflow-scrolling:touch;overflow-x:auto}.store-row{flex-wrap:wrap;gap:.5rem;padding:.75rem}.store-row .rank{font-size:.875rem;width:auto}.store-row .store-name{flex:0 0 auto;max-width:calc(100% - 50px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.store-row .store-location{flex:0 0 100%;font-size:.8rem;order:1;padding-left:0}.store-row .member-count,.store-row .revenue{flex:0 0 auto;font-size:.8rem;order:2}.card{max-width:100%}.card,.top-stores-card{overflow:hidden}.top-stores-list{max-width:100%}.members-section{overflow-x:hidden;padding:1rem}.mobile-store-stats{gap:.75rem;grid-template-columns:1fr 1fr}.mobile-stat{background:#f9fafb;border-radius:6px;padding:.5rem}.mobile-stat:last-child{grid-column:span 2}.mobile-stat-value{font-size:1rem;word-break:break-word}}.action-btn{padding:.5rem .75rem}.reset-password-btn{background:#fef3c7;border:1px solid #f59e0b;color:#92400e}.reset-password-btn:hover{background:#fde68a}.modal-content{box-shadow:0 20px 60px #0000004d;max-width:480px}.modal-header h2{color:#1f2937;font-weight:600}.modal-close{padding:.25rem}.modal-footer{padding:1rem 1.5rem}.modal-close-btn{background:#f3f4f6;border-radius:8px;color:#374151;font-size:.875rem;font-weight:500;padding:.75rem 1.5rem}.modal-close-btn:hover{background:#e5e7eb}.member-info-box{background:#f9fafb;border-radius:12px;display:flex;flex-direction:column;gap:.25rem;margin-bottom:1.5rem;padding:1rem}.member-info-box strong{color:#1f2937;font-size:1.125rem}.member-email-display{color:#374151;font-size:.875rem}.member-number-display{color:#9ca3af;font-size:.75rem}.reset-description{color:#6b7280;font-size:.875rem;margin-bottom:1rem}.reset-options{display:flex;flex-direction:column;gap:.75rem}.reset-option-btn{align-items:center;background:#fff;border:2px solid #e5e7eb;border-radius:12px;cursor:pointer;display:flex;gap:1rem;padding:1rem;text-align:left;transition:all .2s}.reset-option-btn:hover:not(:disabled){background:#fef2f2;border-color:#b91c1c}.reset-option-btn:disabled{cursor:not-allowed;opacity:.5}.option-icon{flex-shrink:0;font-size:1.5rem}.option-text{display:flex;flex-direction:column;gap:.25rem}.option-text strong{color:#1f2937;font-size:.9rem}.option-text span{color:#6b7280;font-size:.8rem}.reset-loading{color:#6b7280;font-style:italic;padding:1rem;text-align:center}.reset-result{margin-top:1rem}.result-error,.result-success{padding:1.5rem;text-align:center}.result-icon{display:block;font-size:2rem;margin-bottom:.75rem}.result-error p,.result-success p{color:#374151;margin:0 0 1rem}.try-again-btn{background:#b91c1c;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.875rem;padding:.5rem 1rem}.try-again-btn:hover{background:#991b1b}.temp-password-box{background:#f0fdf4;border:2px solid #22c55e;border-radius:12px;margin:1rem 0;padding:1rem}.temp-password-box label{color:#6b7280;display:block;font-size:.75rem;letter-spacing:.05em;margin-bottom:.5rem;text-transform:uppercase}.password-display{align-items:center;display:flex;gap:.5rem;justify-content:center}.password-display code{background:#fff;border:1px solid #e5e7eb;border-radius:6px;color:#166534;font-family:Courier New,monospace;font-size:1.25rem;font-weight:600;padding:.5rem 1rem}.copy-btn{background:#22c55e;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.875rem;font-weight:500;padding:.5rem 1rem}.copy-btn:hover{background:#16a34a}.security-note{color:#6b7280;font-size:.8rem;font-style:italic;margin-top:1rem!important}.email-sent-note{color:#059669;font-size:.875rem;margin-top:.5rem!important}@media (max-width:480px){.modal-content{margin:.5rem;max-height:85vh}.modal-body,.modal-header{padding:1rem}.reset-option-btn{padding:.875rem}.password-display{flex-direction:column;gap:.75rem}.password-display code{font-size:1rem;word-break:break-all}}.action-buttons{gap:.5rem}.mobile-action-buttons{display:flex;gap:.5rem}.delete-btn{background:#fef2f2;border:1px solid #fca5a5;color:#991b1b}.delete-btn:hover{background:#fee2e2;border-color:#f87171}.delete-member-modal{max-width:440px}.delete-warning{background:#fef2f2;border:1px solid #fca5a5;border-radius:12px;padding:1rem}.warning-text{color:#991b1b;font-size:1rem;font-weight:600;margin:0 0 .75rem}.warning-subtext{color:#7f1d1d;font-size:.875rem;margin:0 0 .5rem}.delete-list{color:#374151;font-size:.875rem;margin:0 0 .75rem;padding-left:1.25rem}.delete-list li{margin-bottom:.25rem}.warning-final{font-weight:600;margin:0}.delete-error,.warning-final{color:#991b1b;font-size:.875rem}.delete-error{background:#fee2e2;border-radius:8px;margin-top:1rem;padding:.75rem 1rem}.delete-footer{display:flex;gap:.75rem;justify-content:flex-end}.delete-confirm-btn{background:#dc2626;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:.875rem;font-weight:600;padding:.75rem 1.5rem;transition:background .2s}.delete-confirm-btn:hover:not(:disabled){background:#b91c1c}.delete-confirm-btn:disabled{cursor:not-allowed;opacity:.6}@media (max-width:480px){.delete-member-modal{margin:.5rem}.delete-footer{flex-direction:column-reverse}.delete-footer button{width:100%}.mobile-member-footer{align-items:stretch;flex-direction:column;gap:.75rem}.mobile-action-buttons{justify-content:stretch}.mobile-action-buttons .action-btn{flex:1 1;text-align:center}}.bridge-club-page{background-color:#f5f5f5;min-height:calc(100vh - 120px);padding:1.5rem 2rem}.loading-container{align-items:center;display:flex;flex-direction:column;justify-content:center;min-height:400px}.loading-spinner{border:3px solid #e0e0e0;border-top-color:#8b0000}.page-header{align-items:flex-start;flex-wrap:wrap;gap:1rem}.header-content h1{color:#1a472a;font-size:1.75rem;margin:.5rem 0 .25rem}.header-content p{color:#666;margin:0}.back-button{align-items:center;background:none;border:none;color:#8b0000;cursor:pointer;display:flex;font-size:.875rem;gap:.25rem;padding:0}.back-button:hover{text-decoration:underline}.period-selector select{background:#fff;border:1px solid #ddd;border-radius:6px;cursor:pointer;font-size:.875rem;padding:.5rem 1rem}.error-banner{align-items:center;background:#fef2f2;border:1px solid #fee2e2;color:#dc2626;display:flex;justify-content:space-between;margin-bottom:1.5rem;padding:1rem}.error-banner button{background:#dc2626;border:none;border-radius:4px;color:#fff;cursor:pointer;padding:.5rem 1rem}.stats-row{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(4,1fr);margin-bottom:1.5rem;width:100%}.stat-card{border-radius:10px;min-width:0;width:100%}.stat-card.highlight{background:linear-gradient(135deg,#1a472a,#2d5f3e);color:#fff}.stat-card.highlight .stat-label{color:#ffffffe6}.stat-value{color:#1a472a;font-size:1.75rem;line-height:1.2}.stat-card.highlight .stat-value{color:#fff}.stat-label{letter-spacing:.5px}.filters-row{align-items:center;display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:1.5rem}.filters-row input,.filters-row select{background:#fff;border:1px solid #ddd;border-radius:6px;font-size:.875rem;padding:.5rem .75rem}.filters-row input[type=date]{min-width:140px}.filters-row .search-input{flex:1 1;max-width:300px;min-width:200px}.btn-export{background:#1a472a;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.875rem;font-weight:500;padding:.5rem 1rem;transition:background .2s}.btn-export:hover{background:#143820}.section-tabs{border-bottom:2px solid #e0e0e0;display:flex;gap:.5rem;margin-bottom:1rem;padding-bottom:0}.tab-button{background:none;border:none;border-bottom:2px solid #0000;color:#666;cursor:pointer;font-size:.875rem;font-weight:500;margin-bottom:-2px;padding:.75rem 1.25rem;transition:all .2s}.tab-button:hover{color:#1a472a}.tab-button.active{border-bottom-color:#1a472a;color:#1a472a}.section-content{background:#fff;border-radius:10px;box-shadow:0 2px 4px #00000014;padding:1.5rem}.section-header{margin-bottom:1rem}.section-header h2{color:#333;font-size:1.25rem;margin:0 0 .25rem}.section-header p{color:#666;font-size:.875rem;margin:0}.table-container{overflow-x:auto}.data-table{border-collapse:collapse}.data-table th{background:#f9f9f9;border-bottom:2px solid #e0e0e0;color:#666;font-size:.8rem;letter-spacing:.5px;padding:.875rem 1rem;text-align:left;text-transform:uppercase}.data-table td{border-bottom:1px solid #eee;font-size:.875rem;padding:.875rem 1rem}.data-table tr:hover{background:#f9f9f9;cursor:pointer}.data-table .empty-row{color:#999;padding:2rem;text-align:center}.data-table .empty-row:hover{background:#fff;cursor:default}.data-table .center{text-align:center}.data-table .currency{font-family:SF Mono,monospace;text-align:right}.data-table .rank{color:#8b0000;font-weight:600}.member-info{display:flex;flex-direction:column;gap:.125rem}.member-name{color:#333;font-weight:500}.member-email{color:#999;font-size:.75rem}.status-badge{border-radius:20px;font-size:.75rem;padding:.25rem .625rem}.badge-success{background:#dcfce7;color:#166534}.badge-warning{background:#fef3c7;color:#92400e}.badge-danger{background:#fee2e2;color:#dc2626}.badge-neutral{background:#f3f4f6;color:#6b7280}.status-badge.pending{background:#fef3c7;color:#92400e}.status-badge.applied{background:#dcfce7;color:#166534}.action-btn{font-size:.813rem}.action-btn.apply-btn{background:#059669;color:#fff}.action-btn.apply-btn:hover{background:#047857}.action-btn.apply-btn:disabled{background:#9ca3af;cursor:not-allowed}.reward-code{background:#f3f4f6;border-radius:4px;color:#374151;font-family:SF Mono,monospace;font-size:.8rem;padding:.25rem .5rem}.progress-bar-container{background:#e0e0e0;border-radius:12px;height:24px;min-width:120px;overflow:hidden;position:relative}.progress-bar{background:linear-gradient(90deg,#1a472a,#2d5f3e);border-radius:12px;height:100%;transition:width .3s ease}.progress-text{color:#333;font-size:.75rem;font-weight:600;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.highlight-text{color:#8b0000;font-weight:600}.text-danger{color:#dc2626}.charts-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(2,1fr);margin-bottom:1.5rem}.chart-card{background:#fff;border-radius:10px;box-shadow:0 2px 4px #00000014;padding:1.5rem}.chart-card.full-width{grid-column:1/-1}.chart-card h3{color:#333;font-size:1rem;margin:0 0 1rem}.no-data{align-items:center;color:#999;display:flex;font-size:.875rem;height:200px;justify-content:center}.modal-content{box-shadow:0 20px 40px #00000026;max-width:600px}.modal-header{padding:1.25rem 1.5rem}.modal-header h2{color:#333;font-size:1.25rem;margin:0}.modal-close{color:#666;font-size:1.5rem;line-height:1;padding:0}.modal-close:hover{color:#333}.modal-body{padding:1.5rem}.detail-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(2,1fr);margin-bottom:1.5rem}.detail-item label{color:#666;display:block;font-size:.75rem;letter-spacing:.5px;margin-bottom:.25rem;text-transform:uppercase}.detail-item span{color:#333;font-size:.9375rem}.detail-item .total-amount{color:#1a472a;font-size:1.25rem;font-weight:600}.items-section,.receipt-section{margin-top:1.5rem}.items-section h3,.receipt-section h3{color:#666;font-size:.875rem;margin-bottom:.75rem}.items-table{border-collapse:collapse;width:100%}.items-table td,.items-table th{border-bottom:1px solid #eee;font-size:.8125rem;padding:.625rem;text-align:left}.items-table th{background:#f9f9f9;font-weight:600}.receipt-image{border:1px solid #e0e0e0;border-radius:8px;max-width:100%}@media (max-width:1200px){.stats-row{grid-template-columns:repeat(2,1fr)}.charts-grid{grid-template-columns:1fr}}@media (max-width:768px){.bridge-club-page{padding:1rem}.stats-row{grid-template-columns:1fr 1fr}.filters-row{align-items:stretch;flex-direction:column}.filters-row .search-input,.filters-row input,.filters-row select{max-width:none;width:100%}.page-header{flex-direction:column}.section-tabs{-webkit-overflow-scrolling:touch;overflow-x:auto}.tab-button{padding:.625rem 1rem;white-space:nowrap}.detail-grid{grid-template-columns:1fr}.modal-content{margin:1rem;max-height:calc(100vh - 2rem)}}@media (max-width:480px){.stats-row{grid-template-columns:1fr}.stat-value{font-size:1.5rem}}.laura-insights-page{margin:0 auto;max-width:1400px;padding:24px}.insights-header{align-items:center;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;margin-bottom:24px}.header-title{gap:16px}.laura-icon{color:#3b82f6}.header-title h1{font-size:28px}.header-title p{color:#6b7280;font-size:14px;margin:4px 0 0}.run-analysis-btn{align-items:center;background:#3b82f6;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;min-height:44px;padding:12px 20px;transition:background .2s}.run-analysis-btn:hover:not(:disabled){background:#2563eb}.run-analysis-btn:disabled{cursor:not-allowed;opacity:.7}.spinning{animation:spin 1s linear infinite}.insights-summary{display:flex;gap:16px;margin-bottom:24px;overflow-x:auto;padding-bottom:8px}.summary-card{background:#fff;border:2px solid #0000;border-radius:12px;box-shadow:0 1px 3px #0000001a;cursor:pointer;flex-direction:column;min-width:100px;padding:16px 24px;transition:all .2s}.summary-card:hover{box-shadow:0 4px 6px #0000001a;transform:translateY(-2px)}.summary-card.active{border-color:#3b82f6}.summary-card.total{background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff;cursor:default}.summary-card.total:hover{transform:none}.summary-card.urgent{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;cursor:default}.summary-card.urgent:hover{transform:none}.summary-card.new{background:linear-gradient(135deg,#10b981,#059669);color:#fff;cursor:default}.summary-card.new:hover{transform:none}.summary-number{font-size:28px;font-weight:700}.summary-label{margin-top:4px;opacity:.9}.insights-filter{align-items:center;color:#6b7280;display:flex;gap:8px;margin-bottom:16px}.insights-filter select{background:#fff;border:1px solid #e5e7eb;border-radius:6px;font-size:14px;min-height:40px;padding:8px 12px}.insights-container{grid-gap:24px;display:grid;gap:24px;grid-template-columns:1fr 400px}@media (max-width:1024px){.insights-container{grid-template-columns:1fr}.insight-detail{bottom:0;box-shadow:-4px 0 20px #00000026;max-width:500px;position:fixed;right:0;top:0;width:100%;z-index:100}}@media (max-width:640px){.laura-insights-page{padding:16px}.insights-header{align-items:flex-start;flex-direction:column}.header-title h1{font-size:22px}.run-analysis-btn{justify-content:center;width:100%}.insights-summary{flex-wrap:nowrap}.summary-card{min-width:80px;padding:12px 16px}.summary-number{font-size:22px}.insight-detail{max-width:100%}}.insights-list{display:flex;flex-direction:column;gap:16px}.insight-card{background:#fff;border-left:4px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 3px #0000001a;cursor:pointer;padding:16px;transition:all .2s}.insight-card:hover{box-shadow:0 4px 6px #0000001a}.insight-card.selected{border-left-color:#3b82f6;box-shadow:0 0 0 2px #3b82f633}.insight-card.priority-urgent{border-left-color:#ef4444}.insight-card.priority-attention{border-left-color:#f59e0b}.insight-card.priority-suggestion{border-left-color:#3b82f6}.insight-card.priority-info{border-left-color:#6b7280}.insight-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.insight-category{align-items:center;color:#6b7280;display:flex;font-size:12px;font-weight:500;gap:6px;text-transform:uppercase}.insight-priority{border-radius:10px;color:#fff;font-size:10px;font-weight:600;padding:2px 8px;text-transform:uppercase}.insight-title{color:#111827;font-size:16px;font-weight:600;margin:0 0 8px}.insight-summary{color:#4b5563;font-size:14px;line-height:1.5;margin:0}.insight-value{display:flex;flex-wrap:wrap;font-size:13px;gap:16px;margin-top:12px}.insight-value .savings{color:#059669;font-weight:500}.insight-value .revenue{color:#2563eb;font-weight:500}.insight-actions{display:flex;gap:8px;margin-top:12px}.action-btn{font-size:12px;padding:6px 12px}.action-btn.primary{background:#3b82f6;border-color:#3b82f6}.action-btn.primary:hover{background:#2563eb}.action-btn.dismiss:hover{background:#fef2f2;border-color:#ef4444;color:#ef4444}.insight-detail{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;max-height:calc(100vh - 200px);overflow:hidden;overflow-y:auto}.detail-header{align-items:flex-start;background:#fff;padding:20px;position:-webkit-sticky;position:sticky;top:0;z-index:1}.detail-header h2{color:#111827;font-size:18px;margin:0;padding-right:16px}.detail-header button{background:none;border:none;border-radius:4px;color:#6b7280;cursor:pointer;flex-shrink:0;padding:4px}.detail-header button:hover{background:#f3f4f6;color:#111827}.detail-meta{background:#f9fafb;display:flex;flex-wrap:wrap;font-size:12px;gap:12px;padding:12px 20px}.meta-category{align-items:center;color:#6b7280;display:flex;font-weight:500;gap:4px;text-transform:uppercase}.meta-priority{border-radius:10px;color:#fff;font-weight:600;padding:2px 8px;text-transform:uppercase}.meta-date{color:#9ca3af}.detail-section{border-bottom:1px solid #e5e7eb;padding:20px}.detail-section h4{color:#374151;font-size:14px;font-weight:600;margin:0 0 12px}.analysis-text{background:none;color:#4b5563;font-family:inherit;font-size:13px;line-height:1.6;margin:0;white-space:pre-wrap}.detail-section.recommendation{background:#eff6ff}.detail-section.recommendation h4{color:#1e40af}.detail-section.recommendation p{color:#1e40af;font-size:14px;line-height:1.5;margin:0}.detail-actions{display:flex;flex-wrap:wrap;gap:8px;padding:20px}.detail-action-btn{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;display:flex;font-size:14px;gap:6px;min-height:44px;padding:10px 16px;transition:all .2s}.detail-action-btn:hover{background:#f3f4f6}.detail-action-btn.primary{background:#3b82f6;border-color:#3b82f6;color:#fff}.detail-action-btn.primary:hover{background:#2563eb}.detail-action-btn.dismiss:hover{background:#fef2f2;border-color:#ef4444;color:#ef4444}.no-insights{color:#6b7280;padding:60px 20px;text-align:center}.no-insights svg{margin-bottom:16px;opacity:.3}.no-insights h3{color:#374151;margin:0 0 8px}.no-insights p{font-size:14px;margin:0}.loading{color:#6b7280;padding:40px;text-align:center}.laura-learning-page{margin:0 auto;max-width:1400px;padding:24px}.header-content{gap:16px}.header-content,.header-icon{align-items:center;display:flex}.header-icon{background:linear-gradient(135deg,#8b5cf6,#6366f1);border-radius:50%;flex-shrink:0;height:64px;justify-content:center;overflow:hidden;width:64px}.header-icon img{height:100%;object-fit:cover;object-position:top;width:100%}.header-text h1{color:#111827;font-size:1.75rem;font-weight:700;margin:0}.header-text p{color:#6b7280;font-size:.9375rem;margin:4px 0 0}.learning-tabs{background:#f3f4f6;border-radius:12px;display:flex;gap:4px;margin-bottom:24px;padding:4px}.learning-tabs .tab{align-items:center;background:#0000;border:none;border-radius:8px;color:#6b7280;cursor:pointer;display:flex;flex:1 1;font-size:.9375rem;font-weight:500;gap:8px;justify-content:center;padding:12px 20px;transition:all .2s}.learning-tabs .tab:hover{color:#374151}.learning-tabs .tab.active{background:#fff;box-shadow:0 1px 3px #0000001a;color:#8b5cf6}.tab-badge{background:#8b5cf6;border-radius:10px;color:#fff;font-size:.75rem;font-weight:600;padding:2px 8px}.tab.active .tab-badge{background:#ede9fe;color:#8b5cf6}.tab-content{min-height:400px}.loading-state{padding:80px 20px}.loading-state p{font-size:.9375rem;margin-top:16px}.spinner{border:2px solid #e5e7eb;border-top-color:#8b5cf6}.spinner.large{border-width:3px;height:40px;width:40px}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));margin-bottom:32px}.stat-card{box-shadow:0 1px 3px #0000001a;gap:12px}.stat-icon{align-items:center;border-radius:12px;display:flex;height:48px;justify-content:center;width:48px}.stat-icon.memories-icon{background:#ede9fe;color:#8b5cf6}.stat-icon.anticipations-icon{background:#dbeafe;color:#3b82f6}.stat-icon.traffic-icon{background:#d1fae5;color:#10b981}.stat-icon.partners-icon{background:#fef3c7;color:#f59e0b}.stat-content{display:flex;flex-direction:column}.stat-value{color:#111827;line-height:1}.stat-label{font-size:.875rem}.stat-badge{align-self:flex-start;border-radius:12px;color:#fff;font-size:.75rem;font-weight:500;padding:4px 10px}.stat-badge.success{background:#10b981}.quick-actions{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;margin-bottom:32px;padding:20px}.quick-actions h3{color:#374151;font-size:1rem;font-weight:600;margin:0 0 16px}.action-buttons{flex-wrap:wrap}.action-btn{font-size:.875rem;gap:8px;padding:10px 20px}.action-btn:disabled{cursor:not-allowed;opacity:.6}.action-btn.primary{background:#8b5cf6}.action-btn.primary:hover:not(:disabled){background:#7c3aed}.action-btn.secondary{background:#f3f4f6;color:#374151}.action-btn.secondary:hover:not(:disabled){background:#e5e7eb}.action-btn.success{background:#10b981;color:#fff}.action-btn.success:hover:not(:disabled){background:#059669}.action-btn.danger{background:#ef4444;color:#fff}.action-btn.danger:hover:not(:disabled){background:#dc2626}.action-btn.small{font-size:.8125rem;padding:6px 12px}.memory-breakdown{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;margin-bottom:32px;padding:20px}.memory-breakdown h3{color:#374151;font-size:1rem;font-weight:600;margin:0 0 16px}.breakdown-grid{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.breakdown-item{border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;padding:12px;transition:all .2s}.breakdown-item:hover{background:#faf5ff;border-color:#8b5cf6}.breakdown-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.breakdown-label{color:#374151;font-size:.875rem;font-weight:500}.breakdown-count{color:#8b5cf6;font-size:.875rem;font-weight:600}.confidence-bar{background:#e5e7eb;border-radius:3px;height:6px;margin-bottom:4px;overflow:hidden}.confidence-bar.large{border-radius:5px;height:10px}.confidence-fill{border-radius:inherit;height:100%;transition:width .3s ease}.confidence-label{color:#6b7280;font-size:.75rem}.today-visitors{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:20px}.today-visitors h3{color:#374151;font-size:1rem;font-weight:600;margin:0 0 16px}.visitors-list{display:flex;flex-direction:column;gap:8px}.visitor-item{background:#f9fafb;border-radius:8px;gap:12px;padding:10px 12px}.visitor-avatar,.visitor-item{align-items:center;display:flex}.visitor-avatar{background:linear-gradient(135deg,#8b5cf6,#6366f1);border-radius:50%;color:#fff;flex-shrink:0;font-size:1rem;font-weight:600;height:40px;justify-content:center;width:40px}.visitor-avatar.small{font-size:.875rem;height:32px;width:32px}.visitor-info{display:flex;flex:1 1;flex-direction:column}.visitor-name{color:#111827;font-size:.9375rem;font-weight:500}.visitor-time{color:#6b7280;font-size:.8125rem}.visitor-confidence{font-size:.875rem;font-weight:600}.see-all-btn{background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#8b5cf6;cursor:pointer;font-size:.875rem;margin-top:16px;padding:10px;transition:all .2s;width:100%}.see-all-btn:hover{background:#faf5ff;border-color:#8b5cf6}.tab-filters{margin-bottom:20px}.filter-select{border:1px solid #d1d5db;border-radius:8px;font-size:.9375rem;min-width:200px;padding:10px 16px}.memories-layout{grid-gap:24px;display:grid;gap:24px;grid-template-columns:1fr 400px}@media (max-width:1024px){.memories-layout{grid-template-columns:1fr}}.memories-list{display:flex;flex-direction:column;gap:12px}.memory-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;cursor:pointer;padding:16px;transition:all .2s}.memory-card:hover{border-color:#8b5cf6;box-shadow:0 2px 8px #8b5cf61a}.memory-card.selected{background:#faf5ff;border-color:#8b5cf6}.memory-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.memory-type{color:#8b5cf6;font-size:.75rem;font-weight:500;letter-spacing:.5px;text-transform:uppercase}.memory-confidence{border-radius:12px;color:#fff;font-size:.75rem;font-weight:600;padding:4px 10px}.memory-title{color:#111827;font-size:1rem;font-weight:600;margin:0 0 8px}.memory-description{color:#6b7280;font-size:.875rem;line-height:1.5;margin:0}.memory-meta{color:#9ca3af;display:flex;font-size:.75rem;gap:16px;margin-top:12px}.memory-detail{background:#fff;border:1px solid #e5e7eb;border-radius:12px;max-height:calc(100vh - 200px);overflow-y:auto;position:-webkit-sticky;position:sticky;top:24px}.detail-header{align-items:center;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:16px 20px}.detail-header h3{color:#111827;font-size:1.125rem;font-weight:600;margin:0}.close-btn{border-radius:8px;color:#6b7280;padding:8px;transition:all .2s}.close-btn:hover{background:#f3f4f6;color:#374151}.detail-content{padding:20px}.detail-section{margin-bottom:20px}.detail-section label{color:#6b7280;display:block;font-size:.75rem;font-weight:500;letter-spacing:.5px;margin-bottom:6px;text-transform:uppercase}.detail-section p,.detail-section span{color:#111827;font-size:.9375rem;margin:0}.confidence-display{align-items:center;display:flex;gap:12px}.confidence-display .confidence-bar{flex:1 1}.detail-stats{background:#f9fafb;border-radius:8px;display:flex;gap:20px;margin-bottom:20px;padding:16px}.detail-stats .stat{align-items:center;display:flex;flex:1 1;flex-direction:column}.detail-stats .stat-num{color:#111827;font-size:1.5rem;font-weight:700}.detail-stats .stat-label{color:#6b7280;font-size:.75rem}.pattern-data{background:#1f2937;border-radius:8px;color:#a5b4fc;font-size:.75rem;margin:0;max-height:200px;overflow-x:auto;padding:12px}.detail-actions{border-top:1px solid #e5e7eb;margin-top:20px;padding-top:20px}.action-prompt{color:#374151;font-size:.875rem;font-weight:500;margin:0 0 12px}.detail-actions .action-buttons{display:flex;gap:8px}.status-tabs{background:#f3f4f6;border-radius:8px;display:flex;gap:4px;padding:4px;width:-webkit-fit-content;width:fit-content}.status-tab{background:#0000;border:none;border-radius:6px;color:#6b7280;cursor:pointer;font-size:.875rem;font-weight:500;padding:8px 16px;transition:all .2s}.status-tab:hover{color:#374151}.status-tab.active{background:#fff;box-shadow:0 1px 2px #0000000d;color:#8b5cf6}.anticipations-list{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}.anticipation-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:16px}.anticipation-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.anticipation-type{color:#3b82f6;font-size:.75rem;font-weight:500;letter-spacing:.5px;text-transform:uppercase}.anticipation-status{border-radius:12px;font-size:.75rem;font-weight:500;padding:4px 10px}.anticipation-status.status-prepared{background:#fef3c7;color:#b45309}.anticipation-status.status-presented{background:#dbeafe;color:#1d4ed8}.anticipation-status.status-accepted{background:#d1fae5;color:#047857}.anticipation-status.status-rejected{background:#fee2e2;color:#b91c1c}.anticipation-status.status-expired{background:#f3f4f6;color:#6b7280}.anticipation-title{color:#111827;font-size:1rem;font-weight:600;margin:0 0 8px}.anticipation-description{color:#6b7280;font-size:.875rem;line-height:1.5;margin:0 0 12px}.anticipation-customer{color:#8b5cf6;font-size:.8125rem;margin-bottom:8px}.anticipation-reasoning{background:#f9fafb;border-radius:6px;color:#4b5563;font-size:.8125rem;margin-bottom:12px;padding:8px 12px}.anticipation-meta{color:#9ca3af;display:flex;flex-direction:column;font-size:.75rem;gap:4px;margin-bottom:12px}.anticipation-actions{display:flex;gap:8px}.traffic-stats{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(3,1fr);margin-bottom:32px}@media (max-width:768px){.traffic-stats{grid-template-columns:1fr}}.traffic-stat-card{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:24px;text-align:center}.traffic-stat-card h4{color:#6b7280;font-size:.875rem;font-weight:500;margin:0 0 8px}.big-number{color:#8b5cf6;display:block;font-size:3rem;font-weight:700;line-height:1}.traffic-section{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;margin-bottom:24px;padding:20px}.traffic-section h3{color:#374151;font-size:1rem;font-weight:600;margin:0 0 16px}.visitors-table{overflow-x:auto}.visitors-table table{border-collapse:collapse;width:100%}.visitors-table td,.visitors-table th{border-bottom:1px solid #e5e7eb;padding:12px;text-align:left}.visitors-table th{color:#6b7280;font-size:.75rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.visitors-table td{color:#111827;font-size:.9375rem}.visitor-cell{align-items:center;display:flex;gap:10px}.confidence-badge{color:#fff;display:inline-block;font-weight:600;padding:4px 10px}.weekly-chart{align-items:flex-end;display:flex;gap:12px;height:200px;justify-content:space-around}.chart-bar-wrapper{align-items:center;display:flex;flex:1 1;flex-direction:column;height:100%}.chart-bar{align-items:flex-start;background:linear-gradient(180deg,#8b5cf6,#a78bfa);border-radius:6px 6px 0 0;display:flex;justify-content:center;margin-top:auto;max-width:60px;min-height:4px;transition:height .3s ease;width:100%}.bar-value{color:#fff;font-size:.75rem;font-weight:600;padding:4px}.bar-label{color:#6b7280;font-size:.75rem;font-weight:500;margin-top:8px}.empty-state{padding:60px 20px}.empty-state.small{padding:40px 20px}.empty-state svg{color:#d1d5db}.empty-state p{font-size:.9375rem}@media (max-width:640px){.laura-learning-page{padding:16px}.header-content{flex-direction:column;text-align:center}.learning-tabs{flex-wrap:wrap}.learning-tabs .tab{flex:1 1 45%}.memories-layout{grid-template-columns:1fr}.memory-detail{border-radius:0;bottom:0;left:0;max-height:100vh;position:fixed;right:0;top:0;z-index:100}.anticipations-list,.breakdown-grid{grid-template-columns:1fr}.action-buttons{flex-direction:column}.action-btn{justify-content:center;width:100%}}.prayer-admin{margin:0 auto;max-width:1400px;min-height:calc(100vh - 100px);padding:24px}.prayer-admin-loading{align-items:center;color:#666;display:flex;flex-direction:column;justify-content:center;padding:80px 20px}.prayer-admin-loading-icon{animation:pulse 1.5s ease-in-out infinite;color:#508590;height:48px;width:48px}.prayer-admin-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:24px}.prayer-admin-title{align-items:center;display:flex;gap:12px}.prayer-admin-title-icon{color:#508590;height:32px;width:32px}.prayer-admin-title h1{color:#1f2937;font-size:28px;font-weight:600;margin:0}.prayer-admin-refresh{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#374151;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;padding:10px 16px;transition:all .2s}.prayer-admin-refresh:hover{background:#f9fafb;border-color:#d1d5db}.prayer-admin-stats{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:24px}.prayer-stat-card{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;flex:1 1;min-width:140px;padding:20px}.prayer-stat-value{font-size:32px;font-weight:700;line-height:1;margin-bottom:6px}.prayer-stat-label{color:#6b7280;font-size:13px;font-weight:500}.prayer-stat-new .prayer-stat-value{color:#f59e0b}.prayer-stat-prayed .prayer-stat-value{color:#10b981}.prayer-stat-followed .prayer-stat-value{color:#6366f1}.prayer-stat-week .prayer-stat-value{color:#3b82f6}.prayer-stat-awaiting .prayer-stat-value{color:#ef4444}.prayer-admin-filters{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:24px}.prayer-filter-search{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:8px;display:flex;flex:1 1;gap:10px;min-width:200px;padding:10px 14px}.prayer-filter-search input{border:none;flex:1 1;font-size:14px;outline:none}.prayer-filter-search svg{color:#9ca3af}.prayer-filter-select{background:#fff;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;font-size:14px;min-width:140px;padding:10px 14px}.prayer-admin-content{grid-gap:24px;display:grid;gap:24px;grid-template-columns:1fr 400px}@media (max-width:1024px){.prayer-admin-content{grid-template-columns:1fr}}.prayer-admin-list{display:flex;flex-direction:column;gap:12px}.prayer-admin-empty{align-items:center;background:#fff;border-radius:12px;color:#9ca3af;display:flex;flex-direction:column;justify-content:center;padding:60px 20px}.prayer-admin-empty p{margin:16px 0 0}.prayer-request-card{background:#fff;border:2px solid #0000;border-radius:12px;box-shadow:0 1px 3px #0000001a;cursor:pointer;padding:16px;transition:all .2s}.prayer-request-card:hover{box-shadow:0 4px 12px #0000001a}.prayer-request-card.selected{border-color:#508590}.prayer-request-header{display:flex;gap:8px;margin-bottom:12px}.prayer-request-portal,.prayer-request-status{border-radius:12px;color:#fff;display:inline-block;font-size:11px;font-weight:600;letter-spacing:.5px;padding:4px 10px;text-transform:uppercase}.prayer-request-from{align-items:center;color:#374151;display:flex;font-size:14px;font-weight:600;gap:6px;margin-bottom:8px}.prayer-request-preview{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#6b7280;display:-webkit-box;font-size:14px;line-height:1.5;margin:0 0 12px;overflow:hidden}.prayer-request-meta{align-items:center;color:#9ca3af;display:flex;font-size:12px;gap:6px}.prayer-request-followup-icon{color:#3b82f6;margin-left:auto}.prayer-admin-detail{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;max-height:calc(100vh - 150px);overflow-y:auto;padding:24px;position:-webkit-sticky;position:sticky;top:24px}.prayer-detail-close{background:#f3f4f6;border:none;border-radius:6px;color:#6b7280;cursor:pointer;padding:6px;position:absolute;right:16px;top:16px}.prayer-detail-close:hover{background:#e5e7eb}.prayer-detail-header{display:flex;gap:8px;margin-bottom:16px}.prayer-detail-from{align-items:center;color:#1f2937;display:flex;flex-wrap:wrap;font-size:16px;font-weight:600;gap:8px;margin-bottom:8px}.prayer-detail-email{color:#6b7280;font-size:14px;font-weight:400}.prayer-detail-date{align-items:center;color:#6b7280;display:flex;font-size:13px;gap:6px;margin-bottom:20px}.prayer-detail-text{background:#f9fafb;border-radius:8px;margin-bottom:20px;padding:16px}.prayer-detail-text h3{color:#6b7280;font-size:13px;font-weight:600;letter-spacing:.5px;margin:0 0 10px;text-transform:uppercase}.prayer-detail-text p{color:#374151;font-size:15px;line-height:1.7;margin:0;white-space:pre-wrap}.prayer-detail-prayed{align-items:center;background:#ecfdf5;border-radius:8px;color:#059669;display:flex;font-size:14px;gap:8px;margin-bottom:20px;padding:12px}.prayer-detail-actions{margin-bottom:20px}.prayer-action-group{margin-bottom:16px}.prayer-action-group label{color:#6b7280;display:block;font-size:13px;font-weight:500;margin-bottom:6px}.prayer-select{border:1px solid #e5e7eb;border-radius:8px;font-size:14px;margin-bottom:10px;padding:10px 12px;width:100%}.prayer-btn-mark-prayed{align-items:center;background:#10b981;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;justify-content:center;padding:12px;transition:background .2s;width:100%}.prayer-btn-mark-prayed:hover:not(:disabled){background:#059669}.prayer-btn-mark-prayed:disabled{cursor:not-allowed;opacity:.6}.prayer-btn-follow-up{align-items:center;background:#fff;border:2px solid #3b82f6;border-radius:8px;color:#3b82f6;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;justify-content:center;padding:12px;transition:all .2s;width:100%}.prayer-btn-follow-up:hover{background:#eff6ff}.prayer-follow-up-form{margin-top:12px}.prayer-follow-up-form textarea{border:1px solid #e5e7eb;border-radius:8px;box-sizing:border-box;font-family:inherit;font-size:14px;margin-bottom:10px;padding:12px;resize:vertical;width:100%}.prayer-follow-up-actions{display:flex;gap:10px}.prayer-btn-cancel{background:#f3f4f6;border:none;border-radius:8px;cursor:pointer;flex:1 1;font-size:14px;font-weight:500;padding:10px}.prayer-btn-cancel:hover{background:#e5e7eb}.prayer-btn-send{background:#3b82f6;border:none;border-radius:8px;color:#fff;cursor:pointer;flex:1 1;font-size:14px;font-weight:600;padding:10px}.prayer-btn-send:hover:not(:disabled){background:#2563eb}.prayer-btn-send:disabled{cursor:not-allowed;opacity:.6}.prayer-detail-notes{margin-bottom:20px}.prayer-detail-notes h4{color:#6b7280;font-size:13px;font-weight:600;margin:0 0 10px}.prayer-detail-notes textarea{border:1px solid #e5e7eb;border-radius:8px;box-sizing:border-box;font-family:inherit;font-size:14px;margin-bottom:10px;padding:12px;resize:vertical;width:100%}.prayer-btn-save-notes{background:#508590;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:13px;font-weight:500;padding:8px 16px}.prayer-btn-save-notes:hover:not(:disabled){background:#3d6a73}.prayer-detail-linked{background:#f9fafb;border-radius:8px;padding:14px}.prayer-detail-linked h4{color:#6b7280;font-size:13px;font-weight:600;margin:0 0 8px}.prayer-detail-linked p{color:#374151;font-size:14px;margin:0}@media (max-width:768px){.prayer-admin{padding:16px}.prayer-admin-header{align-items:flex-start;flex-direction:column;gap:16px}.prayer-admin-stats{gap:12px}.prayer-stat-card{min-width:calc(50% - 6px);padding:16px}.prayer-stat-value{font-size:24px}.prayer-admin-filters{flex-direction:column}.prayer-filter-search{min-width:0;min-width:auto}.prayer-admin-detail{border-radius:0;bottom:0;left:0;max-height:none;position:fixed;right:0;top:0;z-index:100}}.admin-resources{margin:0 auto;max-width:1600px;padding:1.5rem}.resources-header{margin-bottom:1.5rem}.resources-header h1{color:#1f2937;font-size:1.75rem;margin:0 0 .25rem}.resources-header p{color:#6b7280;margin:0}.resources-layout{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:280px 1fr;min-height:calc(100vh - 200px)}.folders-panel{background:#fff;border:1px solid #e5e7eb;border-radius:8px;display:flex;flex-direction:column;overflow:hidden}.panel-header{background:#f9fafb;padding:1rem}.panel-header h2{color:#374151;font-size:1rem}.folder-tree{flex:1 1;overflow-y:auto;padding:.5rem 0}.folder-item{align-items:center;cursor:pointer;display:flex;gap:.5rem;padding:.5rem .75rem .5rem .5rem;transition:background-color .15s}.folder-item:hover{background:#f3f4f6}.folder-item.selected{background:#dbeafe}.folder-expand-btn{align-items:center;background:none;border:none;color:#9ca3af;cursor:pointer;display:flex;flex-shrink:0;height:18px;justify-content:center;padding:0;width:18px}.folder-expand-btn:hover{color:#6b7280}.folder-expand-spacer{flex-shrink:0;width:18px}.folder-name{color:#374151;flex:1 1;font-size:.875rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.folder-count{background:#f3f4f6;border-radius:10px;color:#9ca3af;flex-shrink:0;font-size:.75rem;padding:.125rem .375rem}.contents-panel{background:#fff;border:1px solid #e5e7eb;border-radius:8px;display:flex;flex-direction:column;padding:1.5rem}.folder-header{align-items:flex-start;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;margin-bottom:1rem;padding-bottom:1rem}.folder-info h2{color:#1f2937;font-size:1.25rem;margin:0 0 .25rem}.folder-description{color:#6b7280;font-size:.875rem;margin:0 0 .5rem}.visibility-badges{display:flex;flex-wrap:wrap;gap:.375rem}.visibility-badge{background:#dbeafe;border-radius:12px;color:#1d4ed8;font-size:.6875rem;font-weight:500;padding:.125rem .5rem}.folder-actions{display:flex;gap:.5rem}.resources-toolbar{display:flex;gap:.75rem;margin-bottom:1rem}.resources-grid{grid-gap:1rem;display:grid;flex:1 1;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.resource-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;display:flex;flex-direction:column;overflow:hidden;transition:box-shadow .15s}.resource-card:hover{box-shadow:0 4px 12px #00000014}.resource-thumbnail{align-items:center;aspect-ratio:16/10;background:#e5e7eb;display:flex;justify-content:center;position:relative;width:100%}.resource-thumbnail img{height:100%;object-fit:cover;width:100%}.video-thumbnail{height:100%;position:relative;width:100%}.video-thumbnail img{height:100%;object-fit:cover;width:100%}.play-overlay{align-items:center;background:#0000004d;bottom:0;color:#fff;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.resource-icon-placeholder{color:#9ca3af}.featured-badge{background:#fbbf24;color:#78350f;padding:.125rem .375rem;top:.5rem}.featured-badge,.file-type-badge{border-radius:4px;font-size:.625rem;font-weight:600;position:absolute;right:.5rem;text-transform:uppercase}.file-type-badge{background:#000000b3;bottom:.5rem;color:#fff;letter-spacing:.5px;padding:2px 6px}.resource-image-preview{height:100%;object-fit:cover;width:100%}.resource-info{flex:1 1;padding:.75rem}.resource-info h4{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#1f2937;display:-webkit-box;font-size:.875rem;font-weight:500;line-height:1.3;margin:0 0 .25rem;overflow:hidden}.resource-meta{color:#6b7280;display:flex;font-size:.75rem;gap:.5rem}.resource-type{display:inline-block}.resource-size:before{content:"•";margin-right:.5rem}.download-count{align-items:center;color:#9ca3af;display:flex;font-size:.6875rem;gap:.25rem;margin-top:.375rem}.resource-actions{background:#fff;border-top:1px solid #e5e7eb;display:flex;gap:.375rem;padding:.5rem .75rem}.btn-icon{padding:.375rem!important}.empty-state{color:#9ca3af;justify-content:center;padding:2rem}.empty-state.full-width{grid-column:1/-1}.empty-state p{margin:.5rem 0 1rem}.no-folder-selected{align-items:center;color:#9ca3af;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center}.no-folder-selected h3{color:#6b7280;margin:1rem 0 .5rem}.no-folder-selected p{margin:0}.loading-state{height:300px}.modal{background:#fff;border-radius:12px;display:flex;flex-direction:column;max-height:90vh;max-width:500px;overflow:hidden;width:100%}.modal.modal-sm{max-width:400px}.modal-header{border-bottom:1px solid #e5e7eb;padding:1rem 1.25rem}.modal-header h3{color:#1f2937;font-size:1.125rem}.modal-close{background:none;border:none;border-radius:6px;color:#6b7280}.modal-close:hover{background:#f3f4f6;color:#1f2937}.modal-body{flex:1 1;overflow-y:auto;padding:1.25rem}.modal-footer{background:#f9fafb;border-top:1px solid #e5e7eb;gap:.75rem;padding:1rem 1.25rem}.form-group label{margin-bottom:.375rem}.form-group input[type=text],.form-group input[type=url],.form-group select,.form-group textarea{background:#fff;border:1px solid #d1d5db;border-radius:6px;color:#1f2937;font-size:.9375rem;padding:.625rem .75rem;width:100%}.form-section{border-top:1px solid #e5e7eb;margin-top:1.25rem;padding-top:1rem}.form-section h4{color:#1f2937;font-size:.9375rem;margin:0 0 1rem}.visibility-group{margin-bottom:1rem}.visibility-group h5{color:#6b7280;font-size:.75rem;font-weight:600;letter-spacing:.05em;margin:0 0 .5rem;text-transform:uppercase}.checkbox-label{align-items:flex-start;color:#374151;cursor:pointer;display:flex;font-size:.875rem;gap:.5rem;padding:.375rem 0}.checkbox-label input[type=checkbox]{accent-color:#3b82f6;flex-shrink:0;height:16px;margin-top:.125rem;width:16px}.checkbox-label small{color:#9ca3af;display:block;font-size:.75rem}.checkbox-label.standalone{margin-top:.75rem}.visibility-shortcuts{display:flex;gap:.5rem;margin-top:.75rem}.visibility-override{grid-gap:.25rem;background:#f9fafb;border-radius:6px;display:grid;gap:.25rem;grid-template-columns:1fr 1fr;margin-top:.5rem;padding:.75rem}.file-upload-area{position:relative}.file-upload-area input[type=file]{cursor:pointer;height:100%;opacity:0;position:absolute;width:100%;z-index:1}.file-upload-label{align-items:center;background:#f9fafb;border:2px dashed #d1d5db;border-radius:8px;color:#6b7280;cursor:pointer;display:flex;flex-direction:column;justify-content:center;padding:2rem;text-align:center;transition:all .15s}.file-upload-label:hover{background:#eff6ff;border-color:#3b82f6}.file-upload-label span{font-size:.875rem;margin-top:.5rem}.file-upload-label small{color:#9ca3af;font-size:.75rem;margin-top:.25rem}.current-file,.selected-file{background:#dbeafe;border-radius:6px;color:#1d4ed8;font-size:.8125rem;margin-top:.5rem;padding:.5rem .75rem}.current-file{background:#f3f4f6;color:#6b7280}.youtube-preview{background:#000;border-radius:8px;margin-top:.75rem;overflow:hidden;position:relative}.youtube-preview img{display:block;width:100%}.youtube-preview .play-overlay{background:#0006}.video-id-check{background:#000000b3;bottom:0;color:#22c55e;font-size:.75rem;left:0;padding:.5rem;position:absolute;right:0;text-align:center}.btn{font-weight:500;padding:.5rem 1rem;transition:all .15s}.btn-sm{font-size:.8125rem;padding:.375rem .75rem}.btn-primary{background:#3b82f6}.btn-primary:hover{background:#2563eb}.btn-secondary:hover{background:#e5e7eb}.btn-danger{background:#fee2e2;color:#991b1b}.btn-danger:hover{background:#fecaca}.btn:disabled{opacity:.6}@media (max-width:900px){.resources-layout{grid-template-columns:1fr}.folders-panel{max-height:250px}}@media (max-width:600px){.admin-resources{padding:1rem}.folder-header{flex-direction:column;gap:1rem}.folder-actions{width:100%}.folder-actions .btn{flex:1 1}.resources-toolbar{flex-direction:column}.form-row,.resources-grid{grid-template-columns:1fr}}.store-header{background-color:#1a4d1a;border-bottom:3px solid #4caf50;box-shadow:0 2px 8px #0003;color:#faf9f6;padding:1rem 0;position:-webkit-sticky;position:sticky;top:0;z-index:100}.store-header-container{align-items:center;display:flex;justify-content:space-between;margin:0 auto;max-width:1400px;padding:0 1rem}.store-header-left{align-items:center;display:flex;gap:2rem}.store-header-branding{align-items:center;display:flex;gap:.75rem}.store-header-logo{height:45px;object-fit:contain;width:auto}.store-header-brand-text{line-height:1.3}.store-header-company{color:#fff;font-size:1rem;font-weight:700;margin-bottom:.1rem}.store-header-portal-label{color:#81c784;font-size:.75rem;font-weight:500;letter-spacing:1px;text-transform:uppercase}.store-header-nav{display:flex;gap:.25rem}.store-nav-link{border-radius:4px;color:#faf9f6;font-size:.9rem;font-weight:500;opacity:.9;padding:.5rem .875rem;text-decoration:none;transition:all .2s}.store-nav-link:hover{background-color:#4caf5033;opacity:1}.store-nav-link.active{background-color:#4caf504d;border-bottom:2px solid #4caf50;color:#fff;opacity:1}.store-header-right{align-items:center;display:flex;gap:1rem}.store-header-user-info{line-height:1.4;text-align:right}.store-header-welcome{color:#81c784;font-size:.7rem;letter-spacing:.5px;margin-bottom:.1rem;text-transform:uppercase}.store-header-username{color:#fff;font-size:.9rem;font-weight:600}.store-btn-portal-switch{background-color:initial;border:1px solid #81c784;border-radius:4px;color:#81c784;cursor:pointer;font-size:.8rem;font-weight:500;min-height:44px;padding:.4rem .75rem;transition:all .2s ease}.store-btn-portal-switch:hover{background-color:#81c78426;border-color:#a5d6a7;color:#a5d6a7}.store-btn-logout{background-color:#4caf50;border:none;border-radius:4px;box-shadow:0 2px 4px #4caf504d;color:#fff;cursor:pointer;font-size:.85rem;font-weight:500;min-height:44px;padding:.5rem 1rem;transition:all .2s ease}.store-btn-logout:hover{background-color:#43a047}.store-hamburger-btn{background:#0000;border:none;cursor:pointer;display:none;flex-direction:column;height:20px;justify-content:space-between;padding:0;width:28px;z-index:110}.store-hamburger-line{background-color:#faf9f6;border-radius:2px;display:block;height:3px;transition:all .3s ease;width:100%}.store-hamburger-btn.open .store-hamburger-line:first-child{transform:translateY(8.5px) rotate(45deg)}.store-hamburger-btn.open .store-hamburger-line:nth-child(2){opacity:0}.store-hamburger-btn.open .store-hamburger-line:nth-child(3){transform:translateY(-8.5px) rotate(-45deg)}.store-mobile-overlay{display:none}@media (max-width:1024px){.store-header-left{gap:1.5rem}.store-nav-link{font-size:.85rem;padding:.4rem .6rem}}@media (max-width:768px){.store-header-container{flex-wrap:wrap;padding:0 1rem}.store-header-logo{height:36px}.store-header-company{font-size:.85rem}.store-header-portal-label{font-size:.65rem}.store-hamburger-btn{display:flex;margin-left:1rem}.store-header-nav{background-color:#1a4d1a;bottom:0;flex-direction:column;gap:.5rem;left:0;overflow-y:auto;padding:80px 1rem 1rem;position:fixed;right:0;top:0;transform:translateX(-100%);transition:transform .3s ease;z-index:100}.store-header-nav.mobile-open{transform:translateX(0)}.store-nav-link{align-items:center;border-radius:8px;display:flex;font-size:1rem;min-height:48px;padding:1rem 1.25rem}.store-nav-link.active{background-color:#4caf504d;border-bottom:none}.store-header-user-info{display:none}.store-btn-portal-switch{font-size:.75rem;padding:.4rem .6rem}.store-btn-logout{font-size:.8rem;padding:.5rem .75rem}.store-mobile-overlay{background-color:#00000080;bottom:0;display:block;left:0;position:fixed;right:0;top:0;z-index:99}}.store-mobile-menu{display:none}@media (max-width:768px){.store-mobile-menu{background-color:#1a4d1a;bottom:0;display:flex;flex-direction:column;left:0;overflow-y:auto;padding:80px 1rem 1rem;position:fixed;right:0;top:0;z-index:100}.store-header-nav{display:none}.store-mobile-nav{display:flex;flex-direction:column;gap:.5rem}.store-mobile-nav-link{align-items:center;border-radius:8px;color:#faf9f6;display:flex;font-size:1rem;font-weight:500;min-height:48px;padding:1rem 1.25rem;text-decoration:none;transition:all .2s}.store-mobile-nav-link.active,.store-mobile-nav-link:hover{background-color:#4caf504d}.store-mobile-divider{background-color:#81c7844d;height:1px;margin:1rem 0}.store-mobile-portal-section{display:flex;flex-direction:column;gap:.5rem}.store-mobile-section-label{color:#81c784;font-size:.75rem;letter-spacing:1px;margin-bottom:.5rem;padding:0 1.25rem;text-transform:uppercase}.store-mobile-portal-link{align-items:center;border-radius:8px;display:flex;font-size:.95rem;font-weight:500;min-height:44px;padding:.875rem 1.25rem;text-decoration:none;transition:all .2s}.store-portal-admin{background-color:#9c27b026;color:#9c27b0}.store-portal-admin:hover{background-color:#9c27b040}.store-portal-mill{background-color:#4caf5026;color:#4caf50}.store-portal-mill:hover{background-color:#4caf5040}.store-portal-customer{background-color:#ff980026;color:#ff9800}.store-portal-customer:hover{background-color:#ff980040}.store-mobile-logout-btn{background-color:#4caf50;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1rem;font-weight:500;margin-top:auto;min-height:48px;padding:1rem 1.25rem;width:100%}.store-mobile-logout-btn:hover{background-color:#43a047}}@media (max-width:480px){.store-btn-logout,.store-btn-portal-switch,.store-header-brand-text{display:none}.store-header-right{gap:.5rem}}.store-club-orders-page{margin:0 auto;max-width:1200px;padding:1rem}.page-title{color:#1f2937;font-size:1.75rem;font-weight:700;margin:0 0 1.5rem}.error-message{background:#fef2f2;border:1px solid #fecaca;padding:1rem}.loading-state{color:#6b7280}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin-bottom:1.5rem}.stat-card{border-left:4px solid #e5e7eb;box-shadow:0 2px 4px #00000014;cursor:pointer;transition:all .2s ease}.stat-card:hover{box-shadow:0 4px 12px #0000001f;transform:translateY(-2px)}.stat-card.active{background:linear-gradient(135deg,#fef2f2,#fff);border-left-color:#b91c1c!important}.stat-card.pending{border-left-color:#ffc107}.stat-card.ready{border-left-color:#4caf50}.stat-card.today{border-left-color:#2196f3}.stat-card.lockers{border-left-color:#9c27b0;cursor:default}.stat-value{color:#1f2937;margin-bottom:.25rem}.stat-label{font-size:.8rem;font-weight:500}.filter-tabs{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.5rem}.filter-tab{align-items:center;background:#fff;border:2px solid #e5e7eb;border-radius:8px;color:#374151;cursor:pointer;display:flex;font-size:.875rem;font-weight:500;justify-content:center;min-height:44px;padding:.75rem 1rem;transition:all .2s}.filter-tab:hover{border-color:#b91c1c;color:#b91c1c}.filter-tab.active{background:#508590;border-color:#508590;color:#fff}.orders-list{display:flex;flex-direction:column;gap:1rem}.empty-state{background:#f5f5f5;color:#6b7280;padding:3rem}.order-card{background:#fff;border-radius:12px;box-shadow:0 2px 4px #00000014;cursor:pointer;padding:1rem;transition:box-shadow .15s ease}.order-card:hover{box-shadow:0 4px 12px #0000001f}.order-header{align-items:flex-start;justify-content:space-between;margin-bottom:.75rem}.order-number{color:#1f2937;font-size:1.125rem;font-weight:700}.order-time{color:#6b7280;font-size:.8rem;margin-left:.75rem}.status-badge{border-radius:4px;color:#fff;font-size:.7rem;letter-spacing:.5px;padding:.25rem .75rem}.order-body{margin-bottom:.75rem}.member-info{color:#1f2937;font-size:.9375rem;margin-bottom:.5rem}.order-meta{align-items:center;color:#6b7280;flex-wrap:wrap;font-size:.875rem;gap:1rem}.locker-badge,.pickup-type{font-weight:500}.locker-badge{background:#e3f2fd;border-radius:4px;color:#1565c0;font-size:.75rem;padding:.125rem .5rem}.order-total{color:#b91c1c;font-weight:700}.order-actions{border-top:1px solid #f3f4f6;display:flex;flex-wrap:wrap;gap:.5rem;padding-top:.75rem}.btn-action{align-items:center;border-radius:6px;display:inline-flex;font-size:.875rem;justify-content:center;min-height:44px;padding:.625rem 1rem;transition:all .15s}.btn-action.primary{background:#fff;border:1px solid #508590;color:#508590}.btn-action.primary:hover{background:#f0f7f8}.btn-action.secondary{background:#fff;border:1px solid #d1d5db;color:#6b7280}.btn-action.secondary:hover{background:#f9fafb}.btn-action.success{background:#4caf50;border:none;color:#fff}.btn-action.success:hover{background:#43a047}.btn-action.warning{background:#ff9800;border:none;color:#fff}.btn-action.warning:hover{background:#f57c00}.order-fullscreen-view{background:#f5f5f5;bottom:0;display:flex;flex-direction:column;left:0;overflow:hidden;position:fixed;right:0;top:0;z-index:1000}.order-view-header{align-items:center;background:#b91c1c;color:#fff;display:flex;flex-shrink:0;justify-content:space-between;min-height:60px;padding:1rem}.order-header-left{flex:1 1;min-width:0}.order-header-left h1{font-size:1.25rem;font-weight:600;margin:0}.order-header-status{font-size:.75rem;margin-top:.125rem;opacity:.9}.header-actions{flex-shrink:0}.header-actions button{border:none;border-radius:6px;cursor:pointer;font-size:.8rem;font-weight:500;padding:.5rem .75rem;transition:opacity .15s}.btn-print{background:#fff3;color:#fff}.btn-print:hover{background:#ffffff4d}.btn-close{background:none;color:#fff;font-size:1.5rem;line-height:1;padding:.25rem .5rem}.btn-close:hover{opacity:.8}.order-view-content{-webkit-overflow-scrolling:touch;flex:1 1;overflow-y:auto;padding:1rem}.detail-section{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000000d;margin-bottom:1rem;padding:1rem}.detail-section h3{border-bottom:1px solid #fecaca;color:#b91c1c;font-size:.8rem;font-weight:600;letter-spacing:.5px;margin:0 0 .75rem;padding-bottom:.5rem;text-transform:uppercase}.customer-name{font-size:1rem;font-weight:600;margin-bottom:.25rem}.customer-contact{color:#6b7280;font-size:.875rem}.items-list{background:#f9fafb;border-radius:8px;padding:1rem}.item-row{border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:.5rem 0}.item-row:last-child{border-bottom:none}.total-row{border-top:2px solid #d1d5db;font-size:1.125rem;font-weight:700;margin-top:.5rem;padding-top:.75rem}.locker-info{background:#e8f5e9;border-radius:8px;padding:1rem}.locker-info p{margin:0 0 .5rem}.locker-info p:last-child{margin-bottom:0}.locker-select{align-items:center;display:flex;gap:1rem}.locker-select label{color:#374151;font-weight:500}.locker-select select{background:#fff;border:1px solid #d1d5db;border-radius:8px;flex:1 1;font-size:16px;min-height:44px;padding:.75rem}.locker-select select:focus{border-color:#b91c1c;outline:none}.notes-text{color:#374151;line-height:1.5}.order-view-footer{background:#fff;border-top:1px solid #e5e7eb;display:flex;flex-shrink:0;flex-wrap:wrap;gap:.75rem;padding:1rem}.order-view-footer button{border-radius:8px;cursor:pointer;flex:1 1;font-size:.9rem;font-weight:600;min-height:48px;min-width:120px;padding:.875rem 1rem;transition:all .15s}.btn-mark-paid{background:#ff9800;border:none;color:#fff}.btn-mark-paid:hover{background:#f57c00}.btn-mark-ready{background:#4caf50;border:none;color:#fff}.btn-mark-ready:hover{background:#43a047}.btn-mark-picked-up{background:#508590;border:none;color:#fff}.btn-mark-picked-up:hover{background:#3d6b73}.order-view-footer button:disabled{cursor:not-allowed;opacity:.6}@media (max-width:640px){.store-club-orders-page{padding:.5rem}.page-title{font-size:1.5rem;margin-bottom:1rem}.stats-grid{gap:.75rem;grid-template-columns:repeat(2,1fr)}.stat-card{padding:1rem}.stat-value{font-size:1.5rem}.stat-label{font-size:.7rem}.filter-tabs{gap:.375rem}.filter-tab{font-size:.8rem;padding:.5rem .75rem}.order-card{padding:.875rem}.order-number{font-size:1rem}.order-time{display:block;margin-left:0;margin-top:.25rem}.order-meta{font-size:.8rem;gap:.5rem}.order-actions{gap:.375rem}.btn-action{font-size:.8rem;padding:.5rem .75rem}.order-header-left h1{font-size:1.125rem}.header-actions button{font-size:.75rem;padding:.5rem .625rem}.locker-select{align-items:stretch;gap:.5rem}.locker-select,.order-view-footer{flex-direction:column}.order-view-footer button{min-width:0;min-width:auto}}.store-checkin-page{margin:0 auto;max-width:800px;padding:1rem}.checkin-loading{align-items:center;display:flex;flex-direction:column;gap:1rem;justify-content:center;min-height:50vh}.checkin-loading .loading-spinner{animation:spin 1s linear infinite;border:4px solid #f0f0f0;border-radius:50%;border-top-color:#508591;height:40px;width:40px}.checkin-loading p{color:#666;font-size:1rem}.checkin-scan-view{padding:1rem 0}.scan-header{margin-bottom:1.5rem;text-align:center}.scan-header h2{color:#333;font-size:1.5rem;margin:0 0 .5rem}.scan-header p{color:#666;margin:0}.scan-area{align-items:center;background:#f5f5f5;border:2px dashed #ccc;border-radius:12px;display:flex;flex-direction:column;justify-content:center;margin-bottom:2rem;min-height:300px;padding:1rem;text-align:center}.qr-scanner-container{max-width:400px;width:100%}#qr-reader{border:none!important;padding:0!important}#qr-reader__scan_region{min-height:250px}#qr-reader__dashboard_section_csr button{background:#508591!important;border:none!important;border-radius:8px!important;color:#fff!important;cursor:pointer!important;font-size:1rem!important;margin:.5rem!important;padding:.75rem 1.5rem!important}#qr-reader__dashboard_section_csr button:hover{background:#3d6a74!important}#qr-reader__dashboard_section_swaplink{color:#508591!important;text-decoration:underline!important}#qr-reader__camera_selection{border:1px solid #ccc!important;border-radius:6px!important;margin-bottom:.5rem!important;padding:.5rem!important}.scanner-error{background:#ffebee;border-radius:8px;color:#c62828;font-size:.9rem;margin-top:1rem;padding:.75rem 1rem}.scan-placeholder{color:#888}.scan-icon{font-size:3rem;margin-bottom:1rem}.scan-hint{color:#999;font-size:.875rem}.enable-scanner-btn{background:#508591;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1rem;margin-top:1rem;min-height:44px;padding:.75rem 1.5rem}.enable-scanner-btn:hover{background:#3d6a74}.manual-lookup{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;padding:1.5rem}.manual-lookup h3{color:#666;font-size:1rem;letter-spacing:.5px;margin:0 0 1rem;text-transform:uppercase}.lookup-field{margin-bottom:1rem}.lookup-field label{color:#333;display:block;font-size:.875rem;font-weight:500;margin-bottom:.5rem}.lookup-input-group{display:flex;gap:.5rem}.lookup-input{border:1px solid #ddd;border-radius:8px;flex:1 1;font-size:16px;min-height:44px;padding:.75rem 1rem}.lookup-input:focus{border-color:#508591;box-shadow:0 0 0 2px #50859133;outline:none}.lookup-btn{background:#508591;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1rem;font-weight:500;min-height:44px;padding:.75rem 1.5rem;transition:background .2s}.lookup-btn:hover:not(:disabled){background:#3d6d77}.lookup-btn:disabled{cursor:not-allowed;opacity:.6}.lookup-divider{color:#999;font-size:.875rem;margin:1rem 0;text-align:center}.search-error{background:#ffebee;border-radius:8px;color:#c62828;font-size:.875rem;margin-top:1rem;padding:.75rem 1rem}.recent-checkins{margin-top:2rem}.recent-checkins h3{color:#666;font-size:1rem;letter-spacing:.5px;margin:0 0 1rem;text-transform:uppercase}.recent-list{display:flex;flex-direction:column;gap:.5rem}.recent-item{align-items:center;background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;display:flex;justify-content:space-between;padding:.75rem 1rem}.recent-info{display:flex;flex-direction:column;gap:.125rem}.recent-name{color:#333;font-weight:500}.recent-time{color:#999;font-size:.75rem}.recent-items{color:#666;font-size:.875rem}.checkin-profile-view{padding-bottom:2rem}.profile-header-card{background:linear-gradient(135deg,#c41e24,#a01a1f);border-radius:16px;color:#fff;margin-bottom:1.5rem;padding:1.5rem}.profile-header-main{margin-bottom:1rem}.profile-name{font-size:1.75rem;font-weight:700;margin:0 0 .25rem}.profile-location{margin:0;opacity:.9}.profile-header-meta{align-items:center;display:flex;font-size:.875rem;justify-content:space-between;margin-bottom:1rem;opacity:.9}.profile-phone,.profile-since{display:block}.profile-visit-status{display:flex;justify-content:center}.visit-badge{background:#fff3;border-radius:20px;font-size:.875rem;font-weight:500;padding:.5rem 1rem}.visit-badge.first-visit{background:#ffc107;color:#333}.profile-section{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;margin-bottom:1rem;padding:1.25rem}.section-title{color:#666;font-size:.875rem;letter-spacing:.5px;text-transform:uppercase}.animals-grid{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}.animal-item{align-items:center;background:#f8f9fa;border-radius:8px;display:flex;gap:.75rem;padding:.75rem}.animal-emoji{font-size:1.5rem}.animal-info{display:flex;flex-direction:column}.animal-count{color:#333;font-size:1.125rem;font-weight:600}.animal-type{color:#666;font-size:.75rem;text-transform:capitalize}.feed-status-list{gap:.75rem}.feed-status-item{background:#f8f9fa;border-radius:8px;justify-content:space-between;padding:.75rem}.feed-status-item.status-ok{border-left:4px solid #4caf50}.feed-status-item.status-warning{background:#fff3e0;border-left:4px solid #ff9800}.feed-status-item.status-critical{background:#ffebee;border-left:4px solid #f44336}.feed-status-item.status-unknown{border-left:4px solid #9e9e9e}.feed-status-info{display:flex;flex-direction:column;gap:.125rem}.feed-animal{color:#333;font-weight:500}.feed-product{color:#666;font-size:.75rem}.feed-status-level{align-items:center;display:flex;gap:.5rem}.feed-progress{background:#e0e0e0;border-radius:3px;height:6px;overflow:hidden;width:60px}.feed-progress-bar{background:#4caf50;border-radius:3px;height:100%}.status-warning .feed-progress-bar{background:#ff9800}.status-critical .feed-progress-bar{background:#f44336}.feed-days{color:#333;font-size:.75rem;font-weight:500;min-width:60px;text-align:right}.feed-unknown{color:#999;font-size:.75rem}.notes-input-group{display:flex;gap:.5rem;margin-bottom:1rem}.notes-input{border-radius:8px;flex:1 1;font-family:inherit;font-size:16px;min-height:88px;padding:.75rem;resize:none}.notes-input:focus{border-color:#508591;outline:none}.notes-save-btn{background:#508591;border:none;border-radius:8px;color:#fff;cursor:pointer;font-weight:500;min-height:44px;padding:.75rem 1rem;white-space:nowrap}.notes-save-btn:disabled{cursor:not-allowed;opacity:.6}.notes-list{display:flex;flex-direction:column;gap:.75rem}.note-item{background:#f8f9fa;border-radius:8px;padding:.75rem}.note-text{color:#333;line-height:1.4;margin:0 0 .5rem}.note-meta{color:#999;display:flex;font-size:.75rem;justify-content:space-between}.purchases-list{gap:.5rem}.purchase-item{border-bottom:1px solid #f0f0f0;padding:.5rem 0}.purchase-item:last-child{border-bottom:none}.purchase-info{display:flex;flex-direction:column;gap:.125rem}.purchase-product{color:#333;font-weight:500}.purchase-date{color:#999;font-size:.75rem}.purchase-qty{color:#666;font-size:.875rem}.profile-actions{margin-top:1.5rem}.action-btn{display:flex;gap:.5rem;min-height:48px;padding:1rem;transition:all .2s}.action-btn.primary{background:#c41e24}.action-btn.primary:hover{background:#a01a1f}.action-btn.secondary{background:#508591;color:#fff}.action-btn.secondary:hover{background:#3d6d77}.action-btn.outline{background:#fff;border:2px solid #ddd;color:#666}.action-btn.outline:hover{border-color:#999}.checkin-receipt-view{padding-bottom:2rem}.receipt-header{align-items:center;display:flex;gap:1rem;margin-bottom:1.5rem}.back-btn{color:#508591}.receipt-header h2{color:#333;flex:1 1;font-size:1.25rem;margin:0}.receipt-member{color:#666;font-size:.875rem}.receipt-scanning{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:4rem 2rem;text-align:center}.scanning-spinner{border:4px solid #f0f0f0;border-top-color:#508591;margin-bottom:1rem}.receipt-date-field{margin-bottom:1.5rem}.receipt-date-field label{color:#333;display:block;font-size:.875rem;font-weight:500;margin-bottom:.5rem}.date-input{border-radius:8px;min-height:44px;padding:.75rem;width:100%}.receipt-items{margin-bottom:1.5rem}.receipt-items h3{color:#666;font-size:.875rem;letter-spacing:.5px;margin:0 0 1rem;text-transform:uppercase}.receipt-item{display:flex;gap:.5rem;margin-bottom:.75rem}.item-name-input{flex:2 1}.item-name-input,.item-price-input,.item-qty-input{border:1px solid #ddd;border-radius:8px;font-size:16px;min-height:44px;padding:.75rem}.item-price-input,.item-qty-input{text-align:center;width:70px}.item-remove-btn{background:#ffebee;border:none;border-radius:8px;color:#c62828;cursor:pointer;font-size:1.25rem;min-height:44px;width:44px}.item-remove-btn:hover{background:#ffcdd2}.add-item-btn{background:#f5f5f5;border:2px dashed #ccc;border-radius:8px;color:#666;cursor:pointer;font-size:.9375rem;min-height:44px;padding:.75rem;transition:all .2s;width:100%}.add-item-btn:hover{background:#eee;border-color:#999}.receipt-total{margin-bottom:2rem}.receipt-total label{color:#333;display:block;font-size:.875rem;font-weight:500;margin-bottom:.5rem}.total-input-group{align-items:center;display:flex;gap:.5rem}.currency-symbol{color:#333;font-size:1.25rem}.total-input{border:1px solid #ddd;border-radius:8px;flex:1 1;font-size:1.25rem;font-weight:600;min-height:44px;padding:.75rem}.receipt-actions{margin-top:2rem}.save-btn{background:#4caf50;border:none;border-radius:12px;color:#fff;cursor:pointer;font-size:1.125rem;font-weight:600;min-height:48px;padding:1rem;transition:background .2s;width:100%}.save-btn:hover:not(:disabled){background:#43a047}.save-btn:disabled{cursor:not-allowed;opacity:.6}.checkin-saved-view{flex-direction:column;padding:4rem 2rem;text-align:center}.checkin-saved-view,.saved-icon{align-items:center;display:flex;justify-content:center}.saved-icon{background:#4caf50;border-radius:50%;color:#fff;font-size:3rem;height:80px;margin-bottom:1.5rem;width:80px}.checkin-saved-view h2{color:#333;font-size:1.75rem;margin:0 0 .5rem}.saved-message{color:#666;margin:0 0 2rem}.next-customer-btn{background:#508591;border:none;border-radius:12px;color:#fff;cursor:pointer;font-size:1.125rem;font-weight:600;min-height:48px;padding:1rem 2rem;transition:background .2s}.next-customer-btn:hover{background:#3d6d77}@media (max-width:640px){.store-checkin-page{padding:.75rem}.profile-header-card{border-radius:0;margin-left:-.75rem;margin-right:-.75rem;padding:1.25rem}.profile-name{font-size:1.5rem}.animals-grid{grid-template-columns:repeat(2,1fr)}.lookup-input-group{flex-direction:column}.lookup-btn{width:100%}.receipt-item{flex-wrap:wrap}.item-name-input{flex:none;width:100%}.item-price-input,.item-qty-input{flex:1 1}}.store-bridge-club-page{background:#f5f5f5;min-height:100vh}.store-bridge-club-main{margin:0 auto;max-width:1200px;padding:1.5rem}.page-header h1{color:#1a4d1a;font-size:1.75rem}.page-subtitle{color:#666}.error-banner{background:#fee2e2;border-radius:8px;color:#991b1b;margin-bottom:1rem;padding:.75rem 1rem}.bridge-club-tabs{border-bottom:2px solid #e5e7eb;display:flex;gap:.5rem;margin-bottom:1.5rem;padding-bottom:0}.tab-btn{background:none;border-bottom:2px solid #0000;color:#6b7280;font-size:1rem;margin-bottom:-2px;padding:.75rem 1.5rem}.tab-btn:hover{color:#1a4d1a}.tab-btn.active{border-bottom-color:#1a4d1a;color:#1a4d1a}.loading-state{color:#666;padding:3rem;text-align:center}.members-section{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;padding:1.5rem}.search-bar{margin-bottom:1rem}.search-input{border-radius:8px;font-size:1rem;padding:.75rem 1rem;width:100%}.search-input:focus{border-color:#1a4d1a;box-shadow:0 0 0 3px #1a4d1a1a}.members-count{color:#6b7280;font-size:.875rem;margin-bottom:1rem}.members-table-container{overflow-x:auto}.members-table{border-collapse:collapse;width:100%}.members-table th{border-bottom:2px solid #e5e7eb;color:#6b7280;font-size:.875rem;font-weight:600;padding:.75rem;text-align:left}.members-table td{border-bottom:1px solid #f3f4f6;padding:.75rem;vertical-align:middle}.members-table tr:hover{background:#f9fafb}.member-name{color:#1f2937;font-weight:600}.member-number{color:#9ca3af;font-size:.75rem}.member-email{color:#374151;font-size:.875rem}.member-phone{color:#9ca3af;font-size:.75rem}.loyalty-punches{display:flex;gap:3px}.punch-dot{background:#e5e7eb;border:1px solid #d1d5db;border-radius:50%;height:12px;width:12px}.punch-dot.filled{background:#b91c1c;border-color:#991b1b}.loyalty-count{color:#6b7280;font-size:.75rem;margin-top:.25rem}.animal-count,.last-visit,.purchase-count{color:#374151;font-size:.875rem}.no-members{color:#6b7280;padding:2rem;text-align:center}.no-data-message{background:#fff;box-shadow:0 1px 3px #0000001a;padding:3rem 1.5rem}.no-data-message h3{color:#374151;margin:0 0 .5rem}.no-data-message p{color:#6b7280}.checkin-section{margin:0 auto;max-width:500px}.checkin-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;padding:1.5rem}.checkin-card h2{color:#1f2937;margin:0 0 .5rem}.checkin-card p{color:#6b7280;margin:0 0 1.5rem}.checkin-search{display:flex;gap:.75rem}.checkin-input{border:1px solid #d1d5db;border-radius:8px;flex:1 1;font-size:1rem;padding:.75rem 1rem}.checkin-input:focus{border-color:#1a4d1a;outline:none}.checkin-search-btn{background:#1a4d1a;border:none;border-radius:8px;color:#fff;cursor:pointer;font-weight:600;padding:.75rem 1.5rem}.checkin-search-btn:disabled{cursor:not-allowed;opacity:.6}.checkin-error{background:#fee2e2;color:#991b1b}.checkin-error,.checkin-success{border-radius:8px;margin-top:1rem;padding:.75rem 1rem}.checkin-success{background:#d1fae5;color:#065f46}.checkin-result{border-top:1px solid #e5e7eb;margin-top:1.5rem;padding-top:1.5rem}.result-name{color:#1f2937;font-size:1.25rem;font-weight:700}.result-number{color:#6b7280;font-size:.875rem}.result-details{background:#f9fafb;border-radius:8px;margin-bottom:1rem;padding:1rem}.result-row{display:flex;justify-content:space-between;padding:.375rem 0}.result-row .label{color:#6b7280}.result-loyalty{padding:1rem 0;text-align:center}.loyalty-dots-large{display:flex;gap:8px;justify-content:center;margin-bottom:.75rem}.punch-dot-large{background:#e5e7eb;border:2px solid #d1d5db;border-radius:50%;height:24px;width:24px}.punch-dot-large.filled{background:#b91c1c;border-color:#991b1b}.reward-available{background:#d1fae5;border-radius:8px;color:#065f46;font-weight:600;padding:.5rem 1rem}.checkin-actions{display:flex;flex-direction:column;gap:.75rem;margin-top:1.5rem}.checkin-btn{background:#b91c1c;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:1rem;width:100%}.checkin-btn:hover{background:#991b1b}.checkin-btn-secondary{background:#f3f4f6;border:1px solid #d1d5db;border-radius:8px;color:#374151;cursor:pointer;font-size:.875rem;font-weight:500;padding:.875rem;transition:all .2s;width:100%}.checkin-btn-secondary:hover{background:#e5e7eb;border-color:#9ca3af}.receipt-scanner-inline{padding-top:1rem}.receipt-scanner-inline .scanner-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.receipt-scanner-inline .scanner-header h3{color:#1f2937;font-size:1.125rem;margin:0}.receipt-scanner-inline .member-badge{align-items:center;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;color:#166534;display:flex;flex-wrap:wrap;font-weight:600;gap:.5rem;margin-bottom:1rem;padding:.75rem 1rem}.receipt-scanner-inline .member-badge .member-code{color:#15803d;font-size:.75rem;font-weight:400}.receipt-scanner-inline .member-badge .loyalty-badge{background:#b91c1c;border-radius:4px;color:#fff;font-size:.75rem;font-weight:600;margin-left:auto;padding:.25rem .5rem}.receipt-scanner-inline .extracted-data h4{color:#374151;font-size:1rem;margin:0 0 1rem}.analytics-section{display:flex;flex-direction:column;gap:1.5rem}.analytics-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.analytics-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;padding:1.5rem;text-align:center}.analytics-card.highlight{background:#d1fae5;border:2px solid #10b981}.analytics-value{color:#1a4d1a;font-size:2rem;font-weight:700}.analytics-card.highlight .analytics-value{color:#065f46}.analytics-label{color:#6b7280;font-size:.875rem;margin-top:.25rem}.top-products-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;padding:1.5rem}.top-products-card h3{color:#1f2937;margin:0 0 1rem}.products-list{display:flex;flex-direction:column;gap:.5rem}.product-row{align-items:center;background:#f9fafb;border-radius:8px;display:flex;padding:.75rem}.product-rank{color:#6b7280;font-weight:600;width:40px}.product-name{color:#1f2937;flex:1 1;font-weight:500}.product-count{color:#6b7280;font-size:.875rem}.card-preview-section{margin:0 auto;max-width:600px}.card-preview-intro{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;margin-bottom:1.5rem;padding:1.5rem}.card-preview-intro h2{color:#1a4d1a;margin:0 0 .5rem}.card-preview-intro p{color:#6b7280;line-height:1.5;margin:0}.no-logo-hint{color:#b91c1c;font-weight:500}.card-preview-wrapper{display:flex;justify-content:center;margin-bottom:1.5rem}.preview-card-full{background:linear-gradient(135deg,#1f2937,#111827);border-radius:20px;box-shadow:0 10px 40px #0000004d;color:#fff;padding:1.5rem;width:320px}.preview-header{align-items:center;display:flex;flex-direction:column;margin-bottom:1rem}.preview-logo-single{height:auto;margin-bottom:.75rem;width:120px}.preview-logos{align-items:center;display:flex;gap:.75rem;justify-content:center;margin-bottom:.75rem}.preview-logo-rb{height:auto;width:90px}.preview-logo-plus{color:#9ca3af;font-size:1rem}.preview-logo-store-wrap{align-items:center;border-radius:8px;display:flex;height:50px;justify-content:center;padding:4px;width:50px}.preview-logo-store{max-height:100%;max-width:100%;object-fit:contain}.preview-badge{background:#b91c1c;border-radius:9999px;color:#fff;font-size:.7rem;font-weight:700;letter-spacing:.1em;padding:.25rem 1rem}.preview-qr{margin-bottom:1rem}.preview-qr,.preview-qr-box{display:flex;justify-content:center}.preview-qr-box{align-items:center;background:#fff;border-radius:12px;color:#9ca3af;font-size:.875rem;height:140px;width:140px}.preview-member-info{margin-bottom:.75rem;text-align:center}.preview-member-name{font-size:1.125rem;font-weight:600}.preview-member-since{color:#9ca3af;font-size:.75rem}.preview-member-code{color:#d1d5db;font-family:monospace;font-size:1rem;font-weight:700;letter-spacing:.15em;margin-bottom:1rem;text-align:center}.preview-loyalty{background:#ffffff1a;border-radius:12px;margin-bottom:1rem;padding:.75rem;text-align:center}.preview-loyalty-dots{display:flex;gap:.4rem;justify-content:center;margin-bottom:.5rem}.preview-dot{border:2px solid #ffffff80;border-radius:50%;height:16px;width:16px}.preview-dot.filled{background:#b91c1c;border-color:#b91c1c}.preview-loyalty-text{color:#d1d5db;font-size:.75rem}.preview-footer{border-top:1px solid #ffffff1a;padding-top:.75rem;text-align:center}.preview-footer-title{color:#9ca3af;font-size:.65rem;font-weight:600;letter-spacing:.1em;margin-bottom:.25rem}.preview-footer-store{color:#d1d5db;font-size:.75rem}.card-preview-notes{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;padding:1.5rem}.card-preview-notes h3{color:#1f2937;margin:0 0 1rem}.card-preview-notes ul{color:#6b7280;margin:0;padding-left:1.5rem}.card-preview-notes li{line-height:1.5;margin-bottom:.5rem}.receipt-success-banner{background:linear-gradient(135deg,#065f46,#047857);border-radius:12px;box-shadow:0 4px 12px #00000026;color:#fff;padding:2rem;text-align:center}.receipt-success-banner .success-icon{align-items:center;background:#fff;border-radius:50%;color:#065f46;display:flex;font-size:2rem;height:60px;justify-content:center;margin:0 auto 1rem;width:60px}.receipt-success-banner .success-message{font-size:1.125rem;line-height:1.5;margin-bottom:1.5rem}.new-checkin-btn{background:#fff;border:none;border-radius:8px;color:#065f46;cursor:pointer;font-weight:600;padding:.75rem 1.5rem;transition:all .2s}.new-checkin-btn:hover{background:#f0fdf4;transform:translateY(-1px)}.post-checkin{text-align:center}.post-checkin-options{border-top:1px solid #e5e7eb;margin-top:1.5rem;padding-top:1.5rem}.post-checkin-options h3{color:#1f2937;margin:0 0 .5rem}.post-checkin-options p{color:#6b7280;margin:0 0 1.5rem}.post-checkin-buttons{display:flex;flex-direction:column;gap:.75rem}.scan-receipt-btn{background:#b91c1c;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:1rem 1.5rem;transition:all .2s}.scan-receipt-btn:hover{background:#991b1b}.skip-btn{background:#f3f4f6;border:none;border-radius:8px;color:#6b7280;font-size:.875rem;padding:.75rem 1.5rem}.skip-btn:hover{background:#e5e7eb;color:#374151}.receipt-scanner{max-width:600px}.scanner-header{margin-bottom:1rem}.scanner-header h2{margin:0}.close-scanner-btn{background:none;border:none;color:#9ca3af;cursor:pointer;font-size:1.5rem;line-height:1;padding:.25rem .5rem}.close-scanner-btn:hover{color:#6b7280}.member-badge{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;color:#166534;font-size:.875rem;margin-bottom:1.5rem;padding:.75rem 1rem}.member-badge .member-code{color:#15803d;display:block;font-size:.75rem;margin-top:.25rem}.upload-area{border-radius:12px;padding:2rem;text-align:center;transition:all .2s}.file-input{display:none}.upload-label{cursor:pointer;display:block}.upload-text{color:#1f2937;font-size:1.125rem;margin-bottom:.5rem}.upload-hint{color:#6b7280}.receipt-preview{display:flex;flex-direction:column;gap:1rem}.preview-image-container{background:#f3f4f6;border-radius:8px;overflow:hidden;position:relative}.preview-image{display:block;max-height:300px;object-fit:contain;width:100%}.change-image-btn{background:#000000b3;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.75rem;padding:.5rem .75rem;position:absolute;right:.5rem;top:.5rem}.change-image-btn:hover{background:#000000d9}.scanning-indicator{align-items:center;background:#f3f4f6;border-radius:8px;display:flex;gap:.75rem;justify-content:center;padding:1rem}.spinner{animation:spin 1s linear infinite;border:3px solid #e5e7eb;border-top-color:#b91c1c;height:24px;width:24px}.receipt-error{background:#fee2e2;border-radius:8px;color:#991b1b;padding:.75rem 1rem}.extracted-data{background:#f9fafb;border-radius:8px;padding:1rem}.extracted-data h3{color:#374151;font-size:1rem;margin:0 0 1rem}.receipt-summary{background:#fff;border-radius:6px;margin-bottom:1rem;padding:.75rem}.summary-row{display:flex;font-size:.875rem;justify-content:space-between;padding:.25rem 0}.summary-row span:first-child{color:#6b7280}.items-list{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.item-row{background:#fff;border-radius:6px;padding:.75rem}.item-row.red-bridge-item{background:#fef2f2;border:1px solid #fecaca}.item-name{align-items:center;display:flex;flex-wrap:wrap;font-weight:500;gap:.5rem}.rb-badge{background:#b91c1c;color:#fff;font-weight:600;padding:.125rem .5rem;text-transform:uppercase}.item-details{font-size:.875rem;justify-content:space-between;margin-top:.375rem}.receipt-totals{border-top:1px solid #e5e7eb;margin-bottom:1rem;padding-top:.75rem}.total-row{display:flex;font-size:.875rem;justify-content:space-between;padding:.25rem 0}.total-row span:first-child{color:#6b7280}.total-row.total-final{color:#1f2937;font-size:1rem;font-weight:700;padding-top:.5rem}.loyalty-earned{background:#d1fae5;border-radius:8px;color:#065f46;font-weight:600;margin-bottom:1rem;padding:.75rem;text-align:center}.submit-receipt-btn{background:#1a4d1a;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:1rem;transition:all .2s;width:100%}.submit-receipt-btn:hover:not(:disabled){background:#14391a}.submit-receipt-btn:disabled{cursor:not-allowed;opacity:.6}@media (max-width:768px){.store-bridge-club-main{padding:1rem}.members-table td,.members-table th{font-size:.813rem;padding:.5rem}.members-table td:nth-child(2),.members-table td:nth-child(4),.members-table th:nth-child(2),.members-table th:nth-child(4){display:none}.checkin-search{flex-direction:column}.analytics-grid{grid-template-columns:repeat(2,1fr)}.preview-card-full{width:280px}.checkin-section,.receipt-scanner{max-width:100%}.upload-area{padding:1.5rem}.upload-icon{font-size:2.5rem}}.redeem-section{margin:0 auto;max-width:800px}.redeem-stats{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin-bottom:1.5rem}.stat-card{box-shadow:0 2px 8px #00000014;padding:1.25rem}.stat-value{color:#059669;font-size:2rem}.stat-label{font-size:.813rem}.stat-subtext{color:#059669;font-size:.7rem;margin-top:.25rem}.stat-card.credit-card{background:linear-gradient(135deg,#ecfdf5,#d1fae5);border:2px solid #10b981}.stat-card.credit-card .credit-value{color:#047857}.redeem-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;margin-bottom:1.5rem;padding:1.5rem}.redeem-card h2{color:#1f2937;margin:0 0 .5rem}.redeem-card>p{color:#6b7280;margin:0 0 1.5rem}.redeem-success-banner{background:linear-gradient(135deg,#065f46,#047857);border-radius:12px;color:#fff;padding:2rem;text-align:center}.redeem-success-banner .success-icon{align-items:center;background:#fff;border-radius:50%;color:#065f46;display:flex;font-size:2rem;height:60px;justify-content:center;margin:0 auto 1rem;width:60px}.redeem-success-banner .success-message{font-size:1.125rem;line-height:1.5;margin-bottom:1.5rem}.new-redeem-btn{background:#fff;border:none;border-radius:8px;color:#065f46;cursor:pointer;font-weight:600;padding:.75rem 1.5rem;transition:all .2s}.new-redeem-btn:hover{background:#f0fdf4;transform:translateY(-1px)}.code-entry{margin-top:1rem}.code-input-group{display:flex;gap:.75rem}.code-input{border:2px solid #e5e7eb;border-radius:8px;flex:1 1;font-family:SF Mono,Monaco,monospace;font-size:1rem;letter-spacing:.05em;padding:.875rem 1rem;text-transform:uppercase;transition:border-color .2s}.code-input:focus{border-color:#059669;outline:none}.code-input::placeholder{color:#9ca3af;font-family:inherit;letter-spacing:normal;text-transform:none}.validate-btn{background:#059669;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:.875rem 1.5rem;transition:all .2s;white-space:nowrap}.validate-btn:hover:not(:disabled){background:#047857}.validate-btn:disabled{cursor:not-allowed;opacity:.6}.redeem-error{background:#fee2e2;font-size:.875rem;margin-top:1rem;padding:.75rem 1rem}.validation-result{border-radius:12px;margin-top:1.5rem;padding:1.5rem}.validation-result.valid{background:#f0fdf4;border:2px solid #bbf7d0}.validation-header{gap:.5rem;margin-bottom:1rem}.valid-icon,.validation-header{align-items:center;display:flex}.valid-icon{background:#059669;border-radius:50%;color:#fff;height:32px;justify-content:center;width:32px}.valid-icon,.valid-text{font-size:1.25rem;font-weight:700}.valid-text{color:#059669}.reward-badge-large,.reward-details{margin-bottom:1.5rem}.reward-badge-large{background:linear-gradient(135deg,#dc2626,#b91c1c);border-radius:12px;color:#fff;font-size:1.25rem;font-weight:700;padding:1rem 1.5rem;text-align:center}.member-info-card{background:#fff;border-radius:8px;margin-bottom:1rem;padding:1rem}.member-name-large{color:#1f2937;font-size:1.25rem;font-weight:700;margin-bottom:.75rem}.member-details-row{border-bottom:1px solid #f3f4f6;display:flex;font-size:.875rem;justify-content:space-between;padding:.5rem 0}.member-details-row:last-of-type{border-bottom:none}.member-details-row .label{color:#6b7280}.your-customer-badge{background:#dbeafe;border-radius:6px;color:#1d4ed8;font-size:.813rem;font-weight:600;margin-top:.75rem;padding:.5rem .75rem;text-align:center}.reward-code-display{align-items:center;background:#fff;border-radius:8px;display:flex;justify-content:space-between;margin-bottom:.5rem;padding:.75rem 1rem}.code-label{font-size:.875rem}.code-value{color:#059669;font-family:SF Mono,Monaco,monospace;letter-spacing:.05em}.reward-expiry{color:#6b7280;font-size:.813rem;text-align:center}.confirm-actions{flex-direction:column;gap:.75rem}.confirm-redeem-btn{background:linear-gradient(135deg,#059669,#047857);border:none;border-radius:8px;box-shadow:0 4px 12px #0596694d;color:#fff;cursor:pointer;font-size:1rem;font-weight:700;padding:1rem 1.5rem;transition:all .2s}.confirm-redeem-btn:hover:not(:disabled){box-shadow:0 6px 16px #05966966;transform:translateY(-1px)}.confirm-redeem-btn:disabled{cursor:not-allowed;opacity:.6;transform:none}.cancel-btn{border:none;color:#6b7280;font-size:.875rem;padding:.75rem 1.5rem}.cancel-btn:hover{color:#374151}.history-section{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;padding:1.5rem}.history-section h3{color:#1f2937;margin:0 0 1rem}.no-history{color:#9ca3af;font-size:.875rem;padding:2rem 1rem;text-align:center}.history-table-container{overflow-x:auto}.history-table{border-collapse:collapse;font-size:.875rem;width:100%}.history-table td,.history-table th{border-bottom:1px solid #f3f4f6;padding:.75rem 1rem;text-align:left}.history-table th{background:#f9fafb;color:#6b7280;font-size:.75rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase}.history-member-name{color:#1f2937;font-weight:600}.history-member-code{color:#9ca3af;font-size:.75rem}.history-code{color:#059669;font-family:SF Mono,Monaco,monospace;font-size:.75rem}.history-reward{color:#b91c1c;font-weight:500}@media (max-width:640px){.redeem-stats{grid-template-columns:1fr}.code-input-group{flex-direction:column}.validate-btn{width:100%}.history-table td:nth-child(3),.history-table td:nth-child(5),.history-table th:nth-child(3),.history-table th:nth-child(5){display:none}}.bridge-club-login-page{align-items:center;background:linear-gradient(135deg,var(--rbf-red) 0,#7f1d1d 100%);display:flex;justify-content:center;min-height:100vh;padding:1rem}.login-container{background:#fff;border-radius:16px;box-shadow:0 10px 40px #0003;max-width:400px;padding:2rem;width:100%}.login-header{margin-bottom:2rem;text-align:center}.login-logo{height:auto;margin-bottom:1rem;width:120px}.login-title{color:#1f2937;font-size:1.75rem;font-weight:700;margin:0}.login-tagline{color:#6b7280;font-size:.875rem;font-style:italic;margin-top:.25rem}.login-form{margin-bottom:1.5rem}.form-group input{-webkit-appearance:none;appearance:none;background-color:#fff!important;border:2px solid #9ca3af!important;box-sizing:border-box;color:#1f2937!important;font-size:16px;padding:.875rem 1rem;transition:border-color .2s,box-shadow .2s}.form-group input::placeholder{color:#6b7280!important;opacity:1}.form-group input::-webkit-input-placeholder{color:#6b7280!important;opacity:1}.form-group input:focus{border-color:var(--rbf-red);box-shadow:0 0 0 3px #e73c3e1a}.login-error{background:#fee2e2;border-radius:8px;color:var(--rbf-red);font-size:.875rem;margin-bottom:1rem;padding:.75rem 1rem}.login-button{background:var(--rbf-red);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:1rem;transition:background .2s;width:100%}.login-button:hover:not(:disabled){background:#c73235}.login-button:disabled{cursor:not-allowed;opacity:.7}.login-footer{border-top:1px solid #e5e7eb;padding-top:1.5rem;text-align:center}.login-footer p{color:#6b7280;font-size:.875rem;margin-bottom:.5rem}.signup-link{color:var(--rbf-red);font-weight:600;text-decoration:none}.signup-link:hover{text-decoration:underline}.login-benefits{border-top:1px solid #e5e7eb;margin-top:1.5rem;padding-top:1.5rem}.login-benefits h3{color:#374151;font-size:.875rem;font-weight:600;margin-bottom:.75rem;text-align:center}.login-benefits ul{list-style:none;margin:0;padding:0}.login-benefits li{color:#6b7280;font-size:.875rem;padding:.5rem 0}.login-loading{align-items:center;display:flex;justify-content:center;min-height:200px}.login-spinner{animation:spin .8s linear infinite;border:3px solid #ffffff4d;border-radius:50%;border-top-color:#fff;height:40px;width:40px}.verification-required{padding:1rem 0;text-align:center}.verification-icon{font-size:3rem;margin-bottom:1rem}.verification-message{color:#374151;font-size:1rem;margin-bottom:.5rem}.verification-email{background:#f3f4f6;border-radius:8px;color:#1f2937;font-size:1rem;font-weight:600;margin-bottom:1.5rem;padding:.75rem 1rem}.resend-button{background:var(--rbf-red);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;margin-bottom:1rem;padding:1rem;transition:background .2s;width:100%}.resend-button:hover:not(:disabled){background:#c73235}.resend-button:disabled{cursor:not-allowed;opacity:.7}.resend-error{background:#fee2e2;border-radius:8px;color:var(--rbf-red);font-size:.875rem;margin-bottom:1rem;padding:.75rem 1rem}.verification-success{background:#d1fae5;border-radius:12px;margin-bottom:1rem;padding:1.5rem}.verification-success .success-icon{color:#059669;display:block;font-size:2rem;margin-bottom:.5rem}.verification-success p{color:#065f46;margin:0}.verification-success .check-spam{font-size:.875rem;margin-top:.5rem;opacity:.8}.back-to-login{background:none;border:none;color:#6b7280;cursor:pointer;font-size:.875rem;margin-top:.5rem;padding:.5rem}.back-to-login:hover{color:#374151;text-decoration:underline}.account-selector-overlay{align-items:center;background:#0009;bottom:0;display:flex;justify-content:center;left:0;padding:1rem;position:fixed;right:0;top:0;z-index:1000}.account-selector-modal{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-width:420px;padding:2rem;position:relative;width:100%}.account-selector-close{background:none;border:none;color:#666;cursor:pointer;font-size:1.5rem;line-height:1;padding:.25rem .5rem;position:absolute;right:1rem;top:1rem}.account-selector-close:hover{color:#333}.account-selector-title{color:#333;font-size:1.4rem;font-weight:700;margin:0 0 .75rem}.account-selector-subtitle{color:#666;font-size:.95rem;line-height:1.5;margin:0 0 1.25rem}.account-selector-list{display:flex;flex-direction:column;gap:.75rem}.account-selector-option{align-items:center;background:#fff;border:2px solid #e0e0e0;border-radius:12px;cursor:pointer;display:flex;gap:1rem;padding:1rem;text-align:left;transition:all .2s;width:100%}.account-selector-option:hover:not(:disabled){background:#fef2f2;border-color:var(--rbf-red)}.account-selector-option:disabled{cursor:not-allowed;opacity:.7}.account-selector-icon{align-items:center;background:#f5f5f5;border-radius:12px;display:flex;font-size:2rem;height:48px;justify-content:center;width:48px}.account-selector-info{flex:1 1}.account-selector-label{color:#333;font-size:1rem;font-weight:600;margin-bottom:.25rem}.account-selector-desc{color:#666;font-size:.85rem}.account-selector-arrow{color:#999;font-size:1.25rem}.account-selector-loading{color:#666;margin-top:1rem;text-align:center}.account-selector-error{background:#fee2e2;border-radius:8px;color:var(--rbf-red);font-size:.875rem;margin-top:1rem;padding:.75rem 1rem}:root{--rbf-white:#fff;--font-primary:"Open Sans",sans-serif;--font-accent:"Gochi Hand",cursive}.bridge-club-layout{background-color:#faf9f6;background-color:var(--rbf-cream);display:flex;flex-direction:column;font-family:Open Sans,sans-serif;font-family:var(--font-primary);min-height:100vh}.bridge-club-header{align-items:center;background:#3f2021;background:var(--rbf-brown);box-shadow:0 2px 4px #00000026;color:#fff;display:grid;grid-template-columns:50px 1fr 70px;max-width:100%;padding:12px 16px;position:-webkit-sticky;position:sticky;top:0;z-index:100}.bridge-club-header .header-logo{align-items:center;display:flex;justify-content:flex-start}.bridge-club-header .header-logo img{height:40px;width:auto}.bridge-club-header .header-center{min-width:0;text-align:center}.bridge-club-header .header-title{font-size:clamp(14px,4vw,18px);font-weight:700;letter-spacing:.025em;line-height:1.2;margin:0;white-space:nowrap}.bridge-club-header .header-subtitle{font-size:clamp(8px,2.5vw,11px);font-weight:400;margin:2px 0 0;opacity:.85;white-space:nowrap}.bridge-club-header .header-tagline{font-size:clamp(7px,2.2vw,10px);font-style:italic;margin:2px 0 0;opacity:.75;white-space:nowrap}.bridge-club-header .header-logout{background:#fff3;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.75rem;justify-self:end;padding:6px 12px;transition:background .2s;white-space:nowrap}.bridge-club-header .header-logout:hover{background:#ffffff4d}.bridge-club-header .header-placeholder{width:70px}@media (max-width:380px){.bridge-club-header{grid-template-columns:40px 1fr 60px;padding:10px 12px}.bridge-club-header .header-logo img{height:32px}.bridge-club-header .header-logout{font-size:.7rem;padding:5px 8px}}@media (max-width:320px){.bridge-club-header .header-tagline{display:none}}.bridge-club-main{box-sizing:border-box;flex:1 1;margin:0 auto;max-width:1200px;padding:1rem 1rem 80px;width:100%}.bridge-club-nav{background:#fff;bottom:0;box-shadow:0 -2px 8px #0000001a;display:flex;justify-content:space-around;left:0;padding:.5rem 0 calc(.5rem + env(safe-area-inset-bottom, 0));position:fixed;right:0;z-index:100}.nav-item{color:#666;font-size:.75rem;justify-content:center;min-width:60px;padding:.5rem 1rem;text-decoration:none;transition:color .2s}.nav-icon-img,.nav-item svg{height:24px;margin-bottom:.25rem;width:24px}.nav-icon-img{object-fit:contain}.nav-emoji{font-size:1.25rem;margin-bottom:.25rem}.nav-item.active,.nav-item:hover{color:#e73c3e;color:var(--rbf-red)}.bridge-club-main>*{animation:fadeIn .2s ease-out}.bridge-club-page{margin:0 auto;max-width:800px}.bridge-club-page-title{color:#1f2937;font-size:1.5rem;font-weight:700;margin-bottom:1rem}.bridge-club-card{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;margin-bottom:1rem;padding:1rem}.bridge-club-btn{align-items:center;border:none;border-radius:8px;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:600;justify-content:center;padding:.75rem 1.5rem;text-decoration:none;transition:all .2s}.bridge-club-btn-primary{background:#e73c3e;background:var(--rbf-red);color:#fff}.bridge-club-btn-primary:hover{background:#c73235}.bridge-club-btn-secondary{background:#f3f4f6;color:#374151}.bridge-club-btn-secondary:hover{background:#e5e7eb}.bridge-club-btn-full{width:100%}.bridge-club-form-group{margin-bottom:1rem}.bridge-club-form-label{color:#374151;display:block;font-size:.875rem;font-weight:600;margin-bottom:.5rem}.bridge-club-form-input{border:1px solid #d1d5db;border-radius:8px;box-sizing:border-box;font-size:16px;padding:.75rem 1rem;width:100%}.bridge-club-form-input:focus{border-color:#e73c3e;border-color:var(--rbf-red);box-shadow:0 0 0 3px #e73c3e1a;outline:none}.bridge-club-form-select{background:#fff;border:1px solid #d1d5db;border-radius:8px;box-sizing:border-box;font-size:16px;padding:.75rem 1rem;width:100%}.bridge-club-form-error{color:#dc2626;font-size:.875rem;margin-top:.25rem}.bridge-club-loading{color:#6b7280;min-height:200px}.bridge-club-badge{border-radius:9999px;display:inline-block;font-size:.75rem;font-weight:600;padding:.25rem .75rem}.bridge-club-badge-success{background:#d1fae5;color:#065f46}.bridge-club-badge-warning{background:#fef3c7;color:#92400e}.bridge-club-badge-error{background:#fee2e2;color:#e73c3e;color:var(--rbf-red)}.bridge-club-badge-info{background:#dbeafe;color:#1e40af}.bridge-club-empty{color:#6b7280;padding:3rem 1rem;text-align:center}.bridge-club-empty-icon{font-size:3rem;margin-bottom:1rem}.bridge-club-empty-title{color:#374151;font-size:1.125rem;font-weight:600;margin-bottom:.5rem}.bridge-club-empty-text{font-size:.875rem;margin-bottom:1rem}@media (min-width:768px){.bridge-club-header{grid-template-columns:60px 1fr 100px;padding:16px 24px}.bridge-club-header .header-logo img{height:48px}.bridge-club-header .header-title{font-size:22px}.bridge-club-header .header-subtitle{font-size:13px}.bridge-club-header .header-tagline{font-size:11px}.bridge-club-header .header-logout{font-size:.85rem;padding:8px 16px}.bridge-club-main{padding:1.5rem 2rem 90px}.bridge-club-nav{border-radius:16px 16px 0 0;box-shadow:0 -4px 20px #0000001a;left:50%;margin:0 auto;max-width:600px;padding:.75rem 1rem;transform:translateX(-50%)}.nav-item{font-size:.8rem;min-width:70px;padding:.625rem 1.25rem}.nav-item svg{height:28px;width:28px}.nav-emoji{font-size:1.5rem}.bridge-club-card{border-radius:16px;padding:1.25rem}.bridge-club-page{max-width:680px}.bridge-club-page-title{font-size:1.75rem}}@media (min-width:1024px){.bridge-club-header{grid-template-columns:70px 1fr 120px;padding:20px 32px}.bridge-club-header .header-logo img{height:52px}.bridge-club-header .header-title{font-size:26px}.bridge-club-main{padding:2rem 3rem 100px}.bridge-club-nav{max-width:700px}.nav-item{min-width:80px;padding:.75rem 1.5rem}.bridge-club-page{max-width:800px}.bridge-club-card{padding:1.5rem}}.header-actions{gap:.5rem;justify-content:flex-end}.header-switch{align-items:center;background:#0000;border:1px solid #ffffff4d;border-radius:6px;color:#fff;cursor:pointer;display:flex;font-size:1rem;height:32px;justify-content:center;transition:all .2s ease;width:32px}.header-switch:hover{background:#ffffff1a;border-color:#ffffff80}.bc-account-switcher-overlay{align-items:center;background:#0009;bottom:0;display:flex;justify-content:center;left:0;padding:1rem;position:fixed;right:0;top:0;z-index:1000}.bc-account-switcher-modal{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-width:420px;padding:2rem;position:relative;width:100%}.bc-account-switcher-close{background:none;border:none;color:#666;cursor:pointer;font-size:1.5rem;line-height:1;padding:.25rem .5rem;position:absolute;right:1rem;top:1rem}.bc-account-switcher-close:hover{color:#333}.bc-account-switcher-title{color:#333;font-size:1.4rem;font-weight:700;margin:0 0 .5rem}.bc-account-switcher-subtitle{color:#666;font-size:.95rem;margin:0 0 1.25rem}.bc-account-switcher-list{display:flex;flex-direction:column;gap:.75rem}.bc-account-switcher-option{align-items:center;background:#fff;border:2px solid #e0e0e0;border-radius:12px;cursor:pointer;display:flex;gap:1rem;padding:1rem;text-align:left;transition:all .2s;width:100%}.bc-account-switcher-option:hover:not(:disabled):not(.current){background:#fef2f2;border-color:#e73c3e;border-color:var(--rbf-red)}.bc-account-switcher-option.current{background:#f1f8f2;border-color:#4caf50;cursor:default}.bc-account-switcher-option:disabled{cursor:not-allowed;opacity:.7}.bc-account-switcher-icon{align-items:center;background:#f5f5f5;border-radius:12px;display:flex;font-size:2rem;height:48px;justify-content:center;width:48px}.bc-account-switcher-option.current .bc-account-switcher-icon{background:#e8f5e9}.bc-account-switcher-info{flex:1 1}.bc-account-switcher-label{align-items:center;color:#333;display:flex;font-size:1rem;font-weight:600;gap:.5rem;margin-bottom:.25rem}.bc-current-badge{background:#4caf50;border-radius:10px;color:#fff;font-size:.7rem;font-weight:600;padding:.15rem .5rem;text-transform:uppercase}.bc-account-switcher-desc{color:#666;font-size:.85rem}.bc-account-switcher-arrow{color:#999;font-size:1.25rem}.bc-account-switcher-loading{color:#666;margin-top:1rem;text-align:center}.bc-account-switcher-error{background:#fee2e2;border-radius:8px;color:#e73c3e;color:var(--rbf-red);font-size:.875rem;margin-top:1rem;padding:.75rem 1rem}.alerts-banner{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.alert-banner{align-items:flex-start;border-radius:12px;display:flex;gap:.75rem;padding:.75rem 1rem;text-decoration:none;transition:transform .15s,box-shadow .15s}.alert-banner:active{transform:scale(.98)}.alert-weather{background:#fef3c7;border-left:4px solid #f59e0b}.alert-weather.alert-extreme,.alert-weather.alert-severe{background:#fee2e2;border-left-color:#dc2626}.alert-feed{background:#fff7ed;border-left:4px solid #f97316}.alert-feed.alert-critical,.alert-feed.alert-empty{background:#fef2f2;border-left-color:#dc2626}.alert-banner-icon{flex-shrink:0;font-size:1.25rem;margin-top:.125rem}.alert-banner-content{flex:1 1;min-width:0}.alert-banner-title{color:#92400e;font-size:.7rem;font-weight:700;letter-spacing:.5px;margin-bottom:.125rem;text-transform:uppercase}.alert-feed.alert-critical .alert-banner-title,.alert-feed.alert-empty .alert-banner-title,.alert-weather.alert-extreme .alert-banner-title,.alert-weather.alert-severe .alert-banner-title{color:#991b1b}.alert-banner-message{color:#1f2937;font-size:.875rem;line-height:1.3}.alert-banner-animals{color:#6b7280;font-size:.75rem;margin-top:.25rem}.alert-banner-dismiss{background:none;border:none;color:#9ca3af;cursor:pointer;font-size:1.25rem;line-height:1;padding:0 .25rem}.alert-banner-dismiss:hover{color:#6b7280}.alert-banner-action{color:#b91c1c;font-size:.875rem;font-weight:500;white-space:nowrap}.feed-status-card{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;margin-bottom:1rem;padding:1rem}.feed-status-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.75rem}.feed-status-header-left{align-items:center;display:flex;gap:.5rem}.feed-status-icon{font-size:1.125rem}.feed-status-title{color:#1f2937;font-size:.9rem;font-weight:600}.feed-status-link{color:#b91c1c;font-size:.8rem;font-weight:500;text-decoration:none}.feed-status-list{display:flex;flex-direction:column;gap:.625rem}.feed-status-item{align-items:center;border-bottom:1px solid #f3f4f6;display:flex;gap:.625rem;padding:.5rem 0}.feed-status-item:last-child{border-bottom:none;padding-bottom:0}.feed-bin-emoji{flex-shrink:0;font-size:1rem;text-align:center;width:1.5rem}.feed-bin-info{flex:1 1;min-width:0}.feed-bin-name{color:#374151;display:block;font-size:.8rem;font-weight:500;margin-bottom:.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.feed-bin-bar-container{padding-right:.5rem}.feed-bin-bar{background:#e5e7eb;border-radius:3px;height:6px;overflow:hidden}.feed-bin-bar-fill{border-radius:3px;height:100%;transition:width .3s ease}.feed-status-good .feed-bin-bar-fill{background:#10b981}.feed-status-ok .feed-bin-bar-fill{background:#3b82f6}.feed-status-low .feed-bin-bar-fill{background:#f59e0b}.feed-status-critical .feed-bin-bar-fill{background:#dc2626}.feed-status-unknown .feed-bin-bar-fill{background:#9ca3af}.feed-bin-status{align-items:flex-end;display:flex;flex-direction:column;flex-shrink:0;gap:.25rem}.feed-bin-days{font-size:.8rem;font-weight:600;min-width:2.5rem;text-align:right}.feed-status-good .feed-bin-days{color:#059669}.feed-status-ok .feed-bin-days{color:#2563eb}.feed-status-low .feed-bin-days{color:#d97706}.feed-status-critical .feed-bin-days{color:#dc2626}.feed-status-unknown .feed-bin-days{color:#6b7280}.feed-status-empty{background:#f9fafb;border:2px dashed #e5e7eb}.feed-status-empty-content{padding:1rem 0;text-align:center}.feed-status-empty-content p{color:#6b7280;font-size:.875rem;margin:0 0 .5rem}.feed-status-setup-link{color:#b91c1c;font-size:.875rem;font-weight:500;text-decoration:none}.feed-alert-low{background:#fff8e1!important;border-left:3px solid #ffa000;border-radius:0 8px 8px 0;margin-left:-.25rem;padding-left:.75rem!important}.feed-alert-low .feed-bin-days{color:#f57c00!important;font-weight:700}.feed-alert-low .feed-bin-bar-fill{background:#ffa000!important}.feed-alert-critical{animation:criticalPulse 2s ease-in-out infinite;background:#ffebee!important;border-left:3px solid #d32f2f;border-radius:0 8px 8px 0;margin-left:-.25rem;padding-left:.75rem!important}.feed-alert-critical .feed-bin-days{color:#d32f2f!important;font-weight:700}.feed-alert-critical .feed-bin-bar-fill{background:#d32f2f!important}.feed-badge{border-radius:4px;font-size:.625rem;font-weight:700;letter-spacing:.5px;padding:.125rem .375rem;text-transform:uppercase}.feed-badge-low{background:#ffa000;color:#fff}.feed-badge-critical{animation:badgePulse 1.5s ease-in-out infinite;background:#d32f2f;color:#fff}@keyframes criticalPulse{0%,to{background:#ffebee;box-shadow:none}50%{background:#ffcdd2;box-shadow:0 0 8px #d32f2f4d}}@keyframes badgePulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.9;transform:scale(1.05)}}.feed-calc-toggle{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 3px #00000014;cursor:pointer;display:flex;gap:.5rem;justify-content:center;padding:.875rem 1rem;transition:background .15s,box-shadow .15s;width:100%}.feed-calc-toggle:hover{background:#f9fafb;box-shadow:0 2px 4px #0000001a}.feed-calc-toggle:active{transform:scale(.99)}.feed-calc-toggle-icon{font-size:1.1rem}.feed-calc-toggle-text{color:#1f2937;font-size:.9rem;font-weight:600}.feed-calc-toggle-arrow{color:#6b7280;font-size:.7rem;margin-left:.25rem}.feed-calculator{background:#fff;border-radius:12px;box-shadow:0 1px 3px #00000014;margin-bottom:1rem;padding:1rem}.feed-calc-header{align-items:center;display:flex;gap:.5rem;margin-bottom:.75rem}.feed-calc-icon{font-size:1.25rem}.feed-calc-title{color:#1f2937;flex:1 1;font-size:.9rem;font-weight:600}.feed-calc-close{align-items:center;background:none;border:none;border-radius:4px;color:#6b7280;cursor:pointer;display:flex;font-size:1.25rem;height:28px;justify-content:center;line-height:1;padding:0;width:28px}.feed-calc-close:hover{background:#f3f4f6;color:#1f2937}.feed-calc-loading{color:#6b7280;font-size:.85rem;padding:1rem;text-align:center}.calc-mode-toggle{display:flex;gap:.5rem;margin-bottom:1rem}.mode-btn{background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#6b7280;cursor:pointer;flex:1 1;font-size:.8rem;font-weight:500;padding:.5rem;transition:all .15s}.mode-btn.active{background:#059669;border-color:#059669;color:#fff}.mode-btn:not(.active):hover{background:#f9fafb}.calc-no-data{color:#6b7280;padding:1rem;text-align:center}.calc-no-data p{font-size:.85rem;margin:0 0 .25rem}.calc-hint{color:#9ca3af;font-size:.75rem}.trip-planner{display:flex;flex-direction:column;gap:1rem}.trip-days-input label{color:#4b5563;display:block;font-size:.8rem;font-weight:500;margin-bottom:.5rem}.days-input-row{align-items:center;display:flex;gap:.5rem}.days-input-row input{border:1px solid #e5e7eb;border-radius:8px;color:#1f2937;font-size:1.1rem;font-weight:600;padding:.5rem;text-align:center;width:80px}.days-input-row input:focus{border-color:#059669;outline:none}.days-label{color:#6b7280;font-size:.9rem}.inventory-section h4{color:#4b5563;font-size:.8rem;font-weight:600;margin:0 0 .5rem}.inventory-item{align-items:center;border-radius:8px;display:flex;justify-content:space-between;margin-bottom:.375rem;padding:.625rem}.inventory-item.covered{background:#f0fdf4}.inventory-item.shortfall{background:#fef3c7}.inventory-info{display:flex;flex-direction:column;gap:.125rem}.inventory-name{color:#1f2937;font-size:.85rem;font-weight:500}.inventory-amount{color:#6b7280;font-size:.75rem}.inventory-status{font-size:.75rem;font-weight:600}.inventory-status.ok{color:#059669}.inventory-status.needs{color:#d97706}.show-more-btn{background:#0000;border:1px dashed #d1d5db;border-radius:6px;color:#6b7280;cursor:pointer;font-size:.8rem;margin-top:.25rem;padding:.5rem;transition:background .15s,color .15s;width:100%}.show-more-btn:hover{background:#f9fafb;border-color:#059669;color:#059669}.all-covered{align-items:center;background:#f0fdf4;border-radius:8px;color:#166534;display:flex;font-size:.9rem;font-weight:500;gap:.5rem;justify-content:center;padding:1rem}.covered-icon{font-size:1.25rem}.shopping-list-btn{background:linear-gradient(135deg,#059669,#047857);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:.9rem;font-weight:600;padding:.75rem;transition:transform .15s;width:100%}.shopping-list-btn:active{transform:scale(.98)}.shopping-list{display:flex;flex-direction:column;gap:.75rem}.shopping-header{align-items:center;display:flex;justify-content:space-between}.shopping-header h4{color:#1f2937;font-size:.9rem;font-weight:600;margin:0}.back-btn{color:#059669;font-size:.8rem;font-weight:500}.shopping-item{background:#f9fafb;border-radius:8px;padding:.75rem}.shopping-item-header{align-items:center;display:flex;gap:.375rem;margin-bottom:.25rem}.shopping-feed-type{color:#1f2937;font-size:.85rem;font-weight:600}.shopping-bin-name{color:#6b7280;font-size:.75rem}.shopping-item-details{align-items:center;color:#4b5563;display:flex;font-size:.8rem;gap:.5rem}.shopping-bags{color:#059669;font-weight:500}.shopping-total{background:#e5e7eb;border-radius:8px;color:#1f2937;font-size:.9rem;font-weight:600;padding:.75rem;text-align:center}.shopping-actions{display:flex;gap:.5rem;justify-content:center}.action-btn{color:#4b5563;font-size:.8rem;padding:.5rem 1rem;transition:background .15s}.quick-calc{padding:.25rem 0}.quick-calc-form{gap:.75rem}.quick-calc-form,.quick-field{display:flex;flex-direction:column}.quick-field{gap:.25rem}.quick-field label{color:#4b5563;font-size:.75rem;font-weight:500}.quick-field input,.quick-field select{background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#1f2937;font-size:.9rem;padding:.5rem}.quick-field input:focus,.quick-field select:focus{border-color:#059669;box-shadow:0 0 0 2px #0596691a;outline:none}.quick-calc-btn{background:linear-gradient(135deg,#059669,#047857);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:.9rem;font-weight:600;margin-top:.5rem;padding:.75rem;transition:transform .15s,opacity .15s}.quick-calc-btn:disabled{cursor:not-allowed;opacity:.5}.quick-calc-btn:not(:disabled):active{transform:scale(.98)}.quick-results{text-align:center}.result-header{color:#1f2937;font-size:1rem;font-weight:600}.result-grid{grid-gap:.5rem;display:grid;gap:.5rem;grid-template-columns:repeat(3,1fr);margin-bottom:1rem}.result-item{background:#f0fdf4;border-radius:8px;padding:.75rem .5rem}.result-value{color:#059669;display:block;font-size:1.25rem;font-weight:700}.result-label{color:#166534;display:block;font-size:.7rem;margin-top:.125rem}.result-duration{align-items:center;background:#fef3c7;border-radius:8px;display:flex;gap:.5rem;justify-content:center;margin-bottom:1rem;padding:.75rem}.duration-icon{font-size:1.25rem}.duration-text{color:#92400e;font-size:.85rem}.duration-text strong{font-weight:700}.quick-reset-btn{background:none;border:1px solid #d1d5db;border-radius:8px;color:#4b5563;cursor:pointer;font-size:.85rem;padding:.5rem 1rem;transition:background .15s}.quick-reset-btn:hover{background:#f9fafb}.weather-widget{background:#fff;border-radius:12px;box-shadow:0 1px 3px #00000014;margin-bottom:1rem;padding:1rem}.weather-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.75rem}.weather-header-left{gap:.5rem}.weather-icon-header{font-size:1.25rem}.weather-title{color:#1f2937;font-size:.9rem}.weather-location{color:#6b7280;font-size:.75rem;margin-left:.25rem}.weather-expand-btn{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:6px;color:#6b7280;cursor:pointer;display:flex;font-size:1rem;height:28px;justify-content:center;width:28px}.weather-expand-btn:hover{background:#f9fafb}.weather-today{align-items:center;display:flex;gap:.75rem;padding:.5rem 0}.weather-today-icon{font-size:2rem}.weather-today-temps{display:flex;flex-direction:column;min-width:3rem}.weather-high{color:#1f2937;font-size:1.25rem;font-weight:700}.weather-low{color:#6b7280;font-size:.9rem}.weather-today-conditions{display:flex;flex:1 1;flex-direction:column;gap:.125rem}.weather-conditions-text{color:#4b5563;font-size:.85rem}.weather-precip{color:#3b82f6;font-size:.75rem}.weather-forecast{border-top:1px solid #f3f4f6;display:flex;gap:.5rem;margin-top:.75rem;padding-top:.75rem}.weather-forecast-day{align-items:center;background:#f9fafb;border-radius:8px;display:flex;flex:1 1;flex-direction:column;gap:.25rem;padding:.5rem}.forecast-name{color:#6b7280;font-size:.7rem;font-weight:600;text-transform:uppercase}.forecast-icon{font-size:1.25rem}.forecast-temps{font-size:.75rem;gap:.25rem}.forecast-high{color:#1f2937;font-weight:600}.forecast-low{color:#9ca3af}.weather-wind-warning{background:#fef3c7;border-radius:8px;color:#92400e;font-size:.75rem;margin-top:.75rem;padding:.5rem .75rem}.weather-loading,.weather-no-data{min-height:80px}.weather-loading-text{color:#9ca3af;font-size:.85rem;padding:1rem 0;text-align:center}.weather-no-data-content{padding:.5rem 0;text-align:center}.weather-no-data-content p{color:#6b7280;font-size:.85rem;margin:0 0 .5rem}.weather-setup-link{color:#059669;font-size:.8rem;font-weight:500;text-decoration:none}.weather-setup-link:hover{text-decoration:underline}.animal-alerts{display:flex;flex-direction:column;gap:.5rem;margin-top:.75rem}.animal-alert{align-items:flex-start;border-radius:8px;display:flex;font-size:.8rem;gap:.5rem;line-height:1.4;padding:.625rem .75rem}.animal-alert.info{background:#e0f2fe;color:#075985}.animal-alert.warning{background:#fef3c7;color:#92400e}.animal-alert-icon{flex-shrink:0;font-size:1rem}.animal-alert-message{flex:1 1}.animal-alert-more{color:inherit;font-size:.7rem;margin-left:.5rem;opacity:.7;white-space:nowrap}.weather-widget.weather-expanded{padding-bottom:1.25rem}.weather-expand-hint{color:#9ca3af;font-size:.65rem;margin-left:auto}.weather-expanded-content{border-top:1px solid #e5e7eb;margin-top:1rem;padding-top:1rem}.weather-loading-detailed{color:#9ca3af;font-size:.85rem;padding:2rem 0;text-align:center}.weather-current-details{margin-bottom:1.25rem}.weather-current-details h4{color:#374151;font-size:.8rem;font-weight:600;letter-spacing:.025em;margin:0 0 .75rem;text-transform:uppercase}.weather-details-grid{grid-gap:.5rem;display:grid;gap:.5rem;grid-template-columns:repeat(2,1fr)}.weather-detail-item{background:#f9fafb;border-radius:6px;display:flex;flex-direction:column;gap:.125rem;padding:.5rem .75rem}.detail-label{font-size:.7rem;letter-spacing:.025em;text-transform:uppercase}.detail-value{font-size:.9rem;font-weight:600}.weather-sun-times{border-top:1px dashed #e5e7eb;color:#6b7280;display:flex;font-size:.8rem;gap:1.5rem;justify-content:center;margin-top:.75rem;padding-top:.75rem}.weather-hourly{margin-bottom:1.25rem}.weather-hourly h4{color:#374151;font-size:.8rem;font-weight:600;letter-spacing:.025em;margin:0 0 .75rem;text-transform:uppercase}.hourly-scroll{-webkit-overflow-scrolling:touch;display:flex;gap:.5rem;overflow-x:auto;padding:.25rem 0;scrollbar-color:#d1d5db #0000;scrollbar-width:thin}.hourly-scroll::-webkit-scrollbar{height:4px}.hourly-scroll::-webkit-scrollbar-track{background:#0000}.hourly-scroll::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:2px}.hourly-item{align-items:center;background:#f9fafb;border-radius:8px;display:flex;flex-direction:column;flex-shrink:0;gap:.25rem;min-width:60px;padding:.5rem .75rem}.hourly-time{color:#6b7280;font-size:.7rem;font-weight:500}.hourly-icon{font-size:1.25rem}.hourly-temp{color:#1f2937;font-size:.9rem;font-weight:600}.hourly-precip{color:#3b82f6;font-size:.65rem}.weather-daily{margin-bottom:1.25rem}.weather-daily h4{color:#374151;font-size:.8rem;font-weight:600;letter-spacing:.025em;margin:0 0 .75rem;text-transform:uppercase}.daily-list{display:flex;flex-direction:column;gap:.375rem}.daily-row{align-items:center;background:#f9fafb;border-radius:8px;display:flex;gap:.5rem;padding:.5rem .75rem}.daily-name{color:#374151;font-size:.8rem;font-weight:600;min-width:40px}.daily-icon{font-size:1.1rem}.daily-conditions{color:#6b7280;flex:1 1;font-size:.75rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.daily-temps{display:flex;font-size:.8rem;gap:.5rem}.daily-high{color:#1f2937;font-weight:600}.daily-low{color:#9ca3af}.daily-precip{color:#3b82f6;font-size:.7rem;min-width:35px;text-align:right}.weather-animal-alerts-detailed{margin-bottom:1.25rem}.weather-animal-alerts-detailed h4{color:#374151;font-size:.8rem;font-weight:600;letter-spacing:.025em;margin:0 0 .75rem;text-transform:uppercase}.animal-alert-card{border-radius:10px;margin-bottom:.5rem;overflow:hidden;transition:box-shadow .2s}.animal-alert-card:last-child{margin-bottom:0}.animal-alert-card.cold_warning{background:#eff6ff;border:1px solid #bfdbfe}.animal-alert-card.heat_warning{background:#fef3c7;border:1px solid #fde68a}.animal-alert-card.storm_warning{background:#fce7f3;border:1px solid #fbcfe8}.animal-alert-card.expanded{box-shadow:0 2px 8px #0000001a}.animal-alert-header{align-items:center;cursor:pointer;display:flex;gap:.625rem;padding:.75rem}.animal-alert-header:hover{opacity:.9}.animal-alert-card .animal-alert-icon{flex-shrink:0;font-size:1.5rem}.animal-alert-info{display:flex;flex:1 1;flex-direction:column;gap:.125rem;min-width:0}.animal-alert-title{color:#1f2937;font-size:.85rem;font-weight:600}.animal-alert-subtitle{color:#6b7280;font-size:.75rem}.animal-alert-expand{color:#9ca3af;font-size:.65rem}.animal-alert-content{padding:0 .75rem .75rem}.animal-checklist{display:flex;flex-direction:column;gap:.375rem}.checklist-item{align-items:flex-start;background:#fff9;border-radius:6px;cursor:pointer;display:flex;gap:.5rem;padding:.5rem .625rem;transition:background .15s}.checklist-item:hover{background:#ffffffe6}.checklist-item.checked{opacity:.6}.checklist-item.checked .checklist-task{text-decoration:line-through}.checklist-item input[type=checkbox]{cursor:pointer;flex-shrink:0;height:16px;margin:2px 0 0;width:16px}.checklist-task{color:#374151;flex:1 1;font-size:.8rem;line-height:1.4}.priority-badge{align-items:center;background:#ef4444;border-radius:50%;color:#fff;display:flex;flex-shrink:0;font-size:.65rem;font-weight:700;height:16px;justify-content:center;width:16px}.checklist-item.high .checklist-task{font-weight:500}.animal-feed-tip{align-items:flex-start;background:linear-gradient(135deg,#ecfdf5,#d1fae5);border:1px solid #a7f3d0;border-radius:8px;display:flex;gap:.5rem;margin-top:.75rem;padding:.625rem .75rem}.feed-tip-icon{flex-shrink:0;font-size:1rem}.animal-feed-tip span:last-child{color:#065f46;font-size:.8rem;line-height:1.4}.weather-general-tips{margin-bottom:.5rem}.weather-general-tips h4{color:#374151;font-size:.8rem;font-weight:600;letter-spacing:.025em;margin:0 0 .75rem;text-transform:uppercase}.weather-general-tips ul{list-style:none;margin:0;padding:0}.weather-general-tips li{color:#4b5563;font-size:.8rem;line-height:1.4;padding:.375rem 0 .375rem 1.25rem;position:relative}.weather-general-tips li:before{color:#059669;content:"•";font-weight:700;left:.25rem;position:absolute}@media (max-width:480px){.weather-details-grid{grid-template-columns:1fr}.daily-conditions{display:none}.hourly-item{min-width:55px;padding:.4rem .5rem}}:root{--rbf-red:#e73c3e;--rbf-teal:#508590;--rbf-brown:#3f2021;--rbf-tan:#c3ad8b;--rbf-green:#6c8062;--rbf-cream:#faf9f6}.feedback-toggle{align-items:center;background:#faf9f6;background:var(--rbf-cream);border:1px solid #c3ad8b;border:1px solid var(--rbf-tan);border-radius:8px;color:#3f2021;color:var(--rbf-brown);cursor:pointer;display:flex;font-size:.9rem;font-weight:500;gap:.5rem;justify-content:center;margin-top:.5rem;padding:.875rem 1rem;transition:background .15s,transform .15s;width:100%}.feedback-toggle:hover{background:#ebe3d3}.feedback-toggle:active{transform:scale(.98)}.feedback-toggle-icon{font-size:1.1rem}.feedback-box{background:#fff;border:1px solid #c3ad8b;border:1px solid var(--rbf-tan);border-radius:12px;box-shadow:0 2px 8px #00000014;margin-top:.5rem;overflow:hidden}.feedback-header{align-items:center;background:#faf9f6;background:var(--rbf-cream);border-bottom:1px solid #c3ad8b;border-bottom:1px solid var(--rbf-tan);display:flex;justify-content:space-between;padding:1rem}.feedback-header h4{color:#3f2021;color:var(--rbf-brown);font-size:1rem;font-weight:600;margin:0}.feedback-close-x{align-items:center;background:none;border:none;color:#3f2021;color:var(--rbf-brown);cursor:pointer;display:flex;font-size:1.5rem;height:28px;justify-content:center;line-height:1;opacity:.6;padding:0;width:28px}.feedback-close-x:hover{opacity:1}.feedback-form{padding:1rem}.feedback-field{margin-bottom:1rem}.feedback-field label{color:#3f2021;color:var(--rbf-brown);display:block;font-size:.8rem;font-weight:600;margin-bottom:.375rem}.feedback-email,.feedback-type{background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#3f2021;color:var(--rbf-brown);font-size:.9rem;padding:.625rem .75rem;transition:border-color .15s;width:100%}.feedback-email:focus,.feedback-type:focus{border-color:#e73c3e;border-color:var(--rbf-red);box-shadow:0 0 0 2px #e73c3e1a;outline:none}.feedback-hint{color:#6b7280;display:block;font-size:.75rem;margin-top:.25rem}.feedback-message{border:1px solid #e5e7eb;border-radius:8px;color:#3f2021;color:var(--rbf-brown);font-family:inherit;font-size:.9rem;min-height:100px;padding:.75rem;resize:vertical;transition:border-color .15s;width:100%}.feedback-message:focus{border-color:#e73c3e;border-color:var(--rbf-red);box-shadow:0 0 0 2px #e73c3e1a;outline:none}.feedback-message::placeholder{color:#9ca3af}.feedback-char-count{display:flex;justify-content:flex-end;margin-top:.25rem}.feedback-char-count span{color:#9ca3af;font-size:.75rem}.feedback-char-count span.warning{color:#e73c3e;color:var(--rbf-red)}.feedback-error{background:#fef2f2;border-radius:6px;color:#dc2626;font-size:.85rem;margin-bottom:1rem;padding:.625rem .75rem}.feedback-footer{display:flex;gap:.75rem;justify-content:flex-end;padding-top:.5rem}.feedback-cancel-btn{background:#fff;border:1px solid #d1d5db;border-radius:8px;color:#4b5563;cursor:pointer;font-size:.875rem;font-weight:500;padding:.625rem 1rem;transition:background .15s}.feedback-cancel-btn:hover{background:#f9fafb}.feedback-cancel-btn:disabled{cursor:not-allowed;opacity:.5}.feedback-submit-btn{background:#e73c3e;background:var(--rbf-red);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:.875rem;font-weight:600;padding:.625rem 1.25rem;transition:background .15s,transform .15s}.feedback-submit-btn:hover:not(:disabled){background:#c73235}.feedback-submit-btn:active:not(:disabled){transform:scale(.98)}.feedback-submit-btn:disabled{cursor:not-allowed;opacity:.5}.feedback-success-box{padding:1.5rem}.feedback-success{padding:1rem 0;text-align:center}.feedback-success .success-icon{align-items:center;background:#6c8062;background:var(--rbf-green);border-radius:50%;color:#fff;display:inline-flex;font-size:1.5rem;font-weight:700;height:48px;justify-content:center;margin-bottom:1rem;width:48px}.feedback-success h4{color:#3f2021;color:var(--rbf-brown);font-size:1.25rem;margin:0 0 .5rem}.feedback-success p{color:#6b7280;font-size:.9rem;margin:0}.feedback-close-btn{background:#faf9f6;background:var(--rbf-cream);border:1px solid #c3ad8b;border:1px solid var(--rbf-tan);border-radius:8px;color:#3f2021;color:var(--rbf-brown);cursor:pointer;font-size:.9rem;font-weight:500;margin-top:1rem;padding:.75rem;transition:background .15s;width:100%}.feedback-close-btn:hover{background:#ebe3d3}.bridge-club-dashboard{margin:0 auto;max-width:600px;padding-bottom:2rem}.dashboard-alerts-container{box-sizing:border-box;margin-bottom:0;padding:0 16px;position:relative;width:100%}.dashboard-alerts-container .alerts-banner{margin-bottom:0}.welcome-section{padding:16px 16px 8px}.welcome-header{align-items:center;display:flex;gap:12px}.welcome-profile-pic{border:2px solid #e73c3e;border:2px solid var(--rbf-red,#e73c3e);border-radius:50%;flex-shrink:0;height:48px;object-fit:cover;width:48px}.welcome-profile-initials{align-items:center;background:linear-gradient(135deg,#e73c3e,#c73235);background:linear-gradient(135deg,var(--rbf-red,#e73c3e) 0,#c73235 100%);border-radius:50%;color:#fff;display:flex;flex-shrink:0;font-size:18px;font-weight:700;height:48px;justify-content:center;width:48px}.welcome-text{flex:1 1;min-width:0}.welcome-greeting{color:#3f2021;color:var(--rbf-brown,#3f2021);font-size:22px;font-weight:700;margin:0}.welcome-subtitle{color:#6c8062;color:var(--rbf-green,#6c8062);font-size:14px;margin:4px 0 0}.rewards-compact{background:linear-gradient(135deg,var(--rbf-red) 0,#c73235 100%);border-radius:12px;box-shadow:0 2px 8px #e73c3e4d;color:#fff;margin-bottom:1rem;padding:.875rem 1rem;text-decoration:none}.rewards-compact,.rewards-left{align-items:center;display:flex}.rewards-left{flex:1 1;gap:.5rem}.rewards-info{display:flex;flex-direction:column}.rewards-number{font-size:1.5rem;font-weight:800;line-height:1}.rewards-label{font-size:.65rem;font-weight:600;letter-spacing:.5px;opacity:.9;text-transform:uppercase}.rewards-badge{background:#fbbf24;border-radius:9999px;color:#92400e;font-size:.65rem;font-weight:700;margin-left:.5rem;padding:.2rem .5rem}.rewards-divider{background:#ffffff4d;height:40px;margin:0 .875rem;width:1px}.rewards-right{flex:1 1}.progress-label{display:block;font-size:.75rem;margin-bottom:.375rem}.progress-bar-mini{background:#ffffff4d;border-radius:4px;height:8px;overflow:hidden}.progress-fill-mini{background:#fff;border-radius:4px;height:100%;transition:width .5s ease}.quick-actions-compact{margin-bottom:1rem}.quick-actions-compact h2{color:#1f2937;font-size:.9rem;font-weight:600;margin:0 0 .625rem}.actions-grid-compact{grid-gap:.5rem;display:grid;gap:.5rem;grid-template-columns:repeat(3,1fr)}.actions-grid-compact.actions-row .action-tile{padding:1rem .5rem}.actions-grid-compact.actions-row .action-tile-icon{font-size:1.5rem;margin-bottom:.375rem}.actions-grid-compact.actions-row .action-tile-label{font-size:.75rem}.action-tile{align-items:center;background:#fff;border-radius:10px;box-shadow:0 1px 2px #00000014;display:flex;flex-direction:column;justify-content:center;padding:.75rem .5rem;text-decoration:none;transition:transform .15s,box-shadow .15s}.action-tile:active{transform:scale(.95)}.action-tile-icon{font-size:1.25rem;margin-bottom:.25rem}.action-tile-label{color:#4b5563;font-size:.7rem;font-weight:500}.store-compact{align-items:center;background:#fff;border-radius:10px;box-shadow:0 1px 2px #00000014;display:flex;gap:.75rem;margin-bottom:1rem;padding:.75rem 1rem}.store-compact-clickable{cursor:pointer;text-decoration:none;transition:transform .15s,box-shadow .15s}.store-compact-clickable:active{transform:scale(.98)}.store-compact-clickable:hover{box-shadow:0 2px 8px #0000001f}.store-logo-container{border-radius:8px;height:44px;width:44px}.store-logo{max-height:100%;max-width:100%}.store-emoji{font-size:1.5rem}.store-info-compact{display:flex;flex:1 1;flex-direction:column;min-width:0}.store-name-compact{color:#1f2937;font-size:.875rem;font-weight:600}.store-location-compact{color:#6b7280;font-size:.75rem}.store-directions-icon{flex-shrink:0;font-size:1.25rem;opacity:.6}.store-link-card{align-items:center;background:#fff;border:2px dashed #e5e7eb;border-radius:10px;display:flex;gap:.75rem;margin-bottom:1rem;padding:.75rem 1rem;text-decoration:none}.store-link-text{color:#6b7280;flex:1 1;font-size:.875rem}.store-link-arrow{color:var(--rbf-red);font-size:1.25rem}.resources-card{align-items:center;background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;display:flex;gap:1rem;margin:0 1rem 1rem;padding:1rem;text-decoration:none;transition:transform .15s,box-shadow .15s}.resources-card:active{transform:scale(.98)}.resources-card-icon{flex-shrink:0;font-size:2rem}.resources-card-content{flex:1 1}.resources-card-content h3{color:#1f2937;font-size:1rem;font-weight:600;margin:0}.resources-card-content p{color:#6b7280;font-size:.8125rem;margin:.25rem 0 0}.resources-card-arrow{color:#e73c3e;color:var(--rbf-red,#e73c3e);flex-shrink:0;font-size:1.25rem}.tip-compact{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;display:flex;gap:.75rem;margin-bottom:1rem;padding:.75rem 1rem}.tip-avatar-compact{flex-shrink:0;font-size:1.75rem}.tip-content-compact{flex:1 1;min-width:0}.tip-author-compact{color:#166534;display:block;font-size:.7rem;font-weight:600;margin-bottom:.125rem}.tip-text-compact{color:#374151;font-size:.8rem;line-height:1.4;margin:0}.promo-card{background:#fff;border:2px solid #e73c3e;border:2px solid var(--rbf-red,#e73c3e);border-radius:12px;box-shadow:0 2px 8px #0000001a;margin-bottom:1rem;overflow:hidden}.promo-image-container{cursor:pointer;overflow:hidden;position:relative}.promo-image-container:focus .promo-image-zoom-hint,.promo-image-container:hover .promo-image-zoom-hint{opacity:1}.promo-image{height:160px;object-fit:cover;transition:transform .2s ease;width:100%}.promo-image-container:hover .promo-image{transform:scale(1.02)}.promo-image-zoom-hint{align-items:center;background:#000000b3;border-radius:4px;bottom:8px;color:#fff;display:flex;font-size:.7rem;gap:4px;opacity:.8;padding:4px 8px;position:absolute;right:8px;transition:opacity .2s ease}.zoom-icon{font-size:.75rem}.zoom-text{font-weight:500}.promo-content{padding:1rem}.promo-badge{background:linear-gradient(135deg,#e73c3e,#c73235);background:linear-gradient(135deg,var(--rbf-red,#e73c3e) 0,#c73235 100%);border-radius:9999px;color:#fff;display:inline-block;font-size:.7rem;font-weight:700;letter-spacing:.5px;margin-bottom:.5rem;padding:.25rem .75rem;text-transform:uppercase}.promo-title{color:#1f2937;font-size:1.125rem;font-weight:700;margin:0 0 .5rem}.promo-message{color:#4b5563;font-size:.875rem;line-height:1.5;margin:0}.prayer-link{align-items:center;background:#faf5ff;border:1px solid #e9d5ff;border-radius:10px;color:#7c3aed;display:flex;font-size:.875rem;font-weight:500;gap:.5rem;justify-content:center;padding:.75rem 1rem;text-decoration:none}.bridge-club-error{padding:2rem;text-align:center}.bridge-club-error p{color:#6b7280;margin-bottom:1rem}.bridge-club-error button{background:var(--rbf-red);border:none;border-radius:8px;color:#fff;cursor:pointer;font-weight:500;padding:.5rem 1rem}.bridge-club-loading{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:3rem}.bridge-club-spinner{animation:spin .8s linear infinite;border:3px solid #f3f4f6;border-radius:50%;border-top:3px solid var(--rbf-red);height:40px;width:40px}.bridge-club-loading p{color:#6b7280;font-size:.875rem;margin-top:1rem}@media (max-width:360px){.actions-grid-compact{gap:.375rem;grid-template-columns:repeat(3,1fr)}.action-tile{padding:.625rem .375rem}.action-tile-icon{font-size:1.125rem}.action-tile-label{font-size:.65rem}.rewards-compact{flex-direction:column;gap:.5rem}.rewards-divider{height:1px;margin:0;width:100%}.rewards-left,.rewards-right{justify-content:center;text-align:center;width:100%}}.promo-image-modal-overlay{align-items:center;animation:fadeIn .2s ease;background:#000000e6;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:9999}.promo-image-modal{align-items:center;display:flex;flex-direction:column;max-height:90vh;max-width:90vw;position:relative}.promo-modal-close{background:none;border:none;color:#fff;cursor:pointer;font-size:2rem;line-height:1;opacity:.8;padding:.5rem;position:absolute;right:0;top:-40px;transition:opacity .2s}.promo-modal-close:hover{opacity:1}.promo-modal-image{border-radius:8px;box-shadow:0 4px 20px #0000004d;max-height:calc(90vh - 60px);max-width:100%;object-fit:contain}.promo-modal-caption{color:#fff;font-size:1rem;margin-top:12px;max-width:100%;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap}.fullscreen-card{animation:fadeIn .3s ease-out;background:linear-gradient(180deg,#1f2937,#111827 50%,#0f172a);bottom:0;justify-content:flex-start;left:0;overflow-y:auto;padding:1rem;position:fixed;right:0;top:0;z-index:9999}.fullscreen-card,.fullscreen-card-loading{align-items:center;display:flex;flex-direction:column}.fullscreen-card-loading{color:#fff;gap:1rem}.fullscreen-card-loading p{color:#9ca3af;font-size:1rem}.fullscreen-close-btn{align-items:center;background:#ffffff1a;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;height:44px;justify-content:center;position:absolute;right:1rem;top:1rem;transition:background .2s ease;width:44px;z-index:10}.fullscreen-close-btn:hover{background:#fff3}.fullscreen-close-btn:active{background:#ffffff4d}.fullscreen-card-content{align-items:center;animation:slideUp .4s ease-out;display:flex;flex-direction:column;max-width:320px;width:100%}.fullscreen-logo{height:auto;margin-bottom:.375rem;width:120px}.fullscreen-logos-container{align-items:center;display:flex;gap:.75rem;justify-content:center;margin-bottom:.375rem}.fullscreen-logo-cobrand{height:60px;object-fit:contain;width:auto}.fullscreen-logos-separator{color:#ffffff80;font-size:1.25rem;font-weight:300}.fullscreen-store-logo-container{align-items:center;border-radius:8px;display:flex;height:60px;justify-content:center;overflow:hidden;padding:4px;width:60px}.fullscreen-store-logo{max-height:100%;max-width:100%;object-fit:contain}.fullscreen-badge{background:#b91c1c;border-radius:9999px;color:#fff;font-size:.7rem;font-weight:700;letter-spacing:.15em;margin-bottom:.5rem;padding:.3rem 1rem}.fullscreen-qr-container{background:#fff;border-radius:16px;box-shadow:0 4px 20px #0000004d;margin-bottom:.75rem;padding:1rem}.fullscreen-qr{display:block}.qr-placeholder{align-items:center;color:#6b7280;display:flex;height:220px;justify-content:center;width:220px}.fullscreen-member-photo{margin-bottom:.5rem}.fullscreen-profile-pic{object-fit:cover}.fullscreen-profile-initials,.fullscreen-profile-pic{border:3px solid #ffffff4d;border-radius:50%;box-shadow:0 2px 12px #0000004d;height:64px;width:64px}.fullscreen-profile-initials{align-items:center;background:linear-gradient(135deg,#b91c1c,#991b1b);color:#fff;display:flex;font-size:24px;font-weight:700;justify-content:center}.fullscreen-member-name{color:#fff;font-size:1.5rem;font-weight:600;margin-bottom:.125rem;text-align:center}.fullscreen-member-since{color:#9ca3af;font-size:.875rem;margin-bottom:.375rem;text-align:center}.fullscreen-member-code{color:#d1d5db;font-family:monospace;font-size:1.125rem;font-weight:700;letter-spacing:.1em;margin-bottom:.625rem;text-align:center}.fullscreen-loyalty{background:#ffffff14;border-radius:12px;margin-bottom:.5rem;padding:.625rem 1rem;text-align:center;width:100%}.fullscreen-loyalty-header{color:#fbbf24;font-size:.8125rem;font-weight:600;letter-spacing:.05em;margin-bottom:.375rem;text-transform:uppercase}.fullscreen-loyalty-dots{display:flex;gap:.5rem;justify-content:center;margin-bottom:.375rem}.fullscreen-loyalty-dot{border:2px solid #fff6;border-radius:50%;height:20px;transition:all .3s ease;width:20px}.fullscreen-loyalty-dot.filled{background:#b91c1c;border-color:#b91c1c;box-shadow:0 0 8px #b91c1c80}.fullscreen-loyalty-text{color:#d1d5db;font-size:.875rem}.fullscreen-store{color:#9ca3af;font-size:.875rem;text-align:center}.fullscreen-rewards-banner{align-items:center;animation:rewardPulse 2s ease-in-out infinite;background:linear-gradient(135deg,#f59e0b,#d97706);border-radius:12px;display:flex;flex-direction:column;gap:.25rem;margin-bottom:.75rem;padding:1rem;text-align:center;width:100%}@keyframes rewardPulse{0%,to{box-shadow:0 0 20px #f59e0b66}50%{box-shadow:0 0 30px #f59e0bb3}}.rewards-emoji{font-size:1.5rem}.rewards-big-count{color:#fff;font-size:2.5rem;font-weight:800;line-height:1}.rewards-big-label{color:#fff;font-size:1rem;font-weight:700}.rewards-redeem-hint{color:#ffffffe6;font-size:.75rem}.fullscreen-instructions{animation:pulse 2s ease-in-out infinite;color:#fbbf24;font-size:.875rem;margin-bottom:.5rem;padding:.5rem 1rem;text-align:center}@supports (padding-top:env(safe-area-inset-top)){.fullscreen-card{padding-bottom:max(1rem,env(safe-area-inset-bottom));padding-top:max(1rem,calc(env(safe-area-inset-top) + .5rem))}.fullscreen-close-btn{top:max(.5rem,env(safe-area-inset-top))}}@media (max-height:700px){.fullscreen-logo{margin-bottom:.5rem;width:120px}.fullscreen-logos-container{gap:.5rem;margin-bottom:.25rem}.fullscreen-logo-cobrand{height:50px}.fullscreen-store-logo-container{height:50px;width:50px}.fullscreen-badge{font-size:.7rem;margin-bottom:1rem;padding:.25rem 1rem}.fullscreen-qr-container{margin-bottom:1rem;padding:.75rem}.fullscreen-member-name{font-size:1.25rem}.fullscreen-loyalty{padding:.75rem 1rem}.fullscreen-loyalty-dot{height:16px;width:16px}}@media (orientation:landscape) and (max-height:500px){.fullscreen-card-content{flex-direction:row;flex-wrap:wrap;gap:1.5rem;justify-content:center;max-width:100%}.fullscreen-logo{width:100px}.fullscreen-logos-container{gap:.5rem}.fullscreen-logo-cobrand{height:40px}.fullscreen-store-logo-container{height:40px;width:40px}.fullscreen-badge,.fullscreen-qr-container{margin-bottom:0}.fullscreen-instructions,.fullscreen-loyalty,.fullscreen-member-code,.fullscreen-member-name,.fullscreen-member-photo,.fullscreen-member-since,.fullscreen-store{display:none}}.fullscreen-code-swipeable{align-items:center;cursor:pointer;display:flex;flex-direction:column;margin-bottom:.5rem;-webkit-user-select:none;user-select:none}.code-view-dots{display:flex;gap:.75rem;margin-bottom:.25rem;margin-top:.75rem}.code-dot{background:#ffffff59;border:none;border-radius:50%;cursor:pointer;height:10px;padding:0;transition:all .2s ease;width:10px}.code-dot.active{background:#fff;transform:scale(1.25)}.code-dot:hover{background:#ffffffb3}.code-type-label{color:#fff;font-size:.875rem;font-weight:500;margin-top:.25rem;opacity:.9;text-align:center}.code-view-label{color:#fff;font-size:.8rem;margin-top:.5rem;text-align:center}.swipe-hint{color:#fffc;font-size:.75rem;margin-top:.25rem;text-align:center}.fullscreen-barcode-container{align-items:center;animation:fadeSlide .2s ease-out;background:#fff;border-radius:16px;box-shadow:0 4px 20px #0000004d;display:flex;flex-direction:column;min-width:280px;padding:1rem 1.5rem}.fullscreen-barcode-container svg{max-width:100%}.barcode-placeholder{align-items:center;color:#6b7280;display:flex;height:100px;justify-content:center;width:250px}@keyframes fadeSlide{0%{opacity:0;transform:translateX(10px)}to{opacity:1;transform:translateX(0)}}.fullscreen-qr-container{animation:fadeSlide .2s ease-out}@media (max-width:380px){.fullscreen-barcode-container{min-width:250px;padding:.75rem 1rem}.swipe-hint{font-size:.65rem}}.feed-page{margin:0 auto;max-width:600px}.page-subtitle{margin:.25rem 0 0}.error-message{cursor:pointer}.pending-banner{align-items:center;background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #f59e0b;border-radius:12px;cursor:pointer;display:flex;gap:.75rem;margin-bottom:1rem;padding:1rem}.pending-banner:hover{box-shadow:0 4px 12px #f59e0b33;transform:translateY(-1px)}.pending-icon{font-size:1.5rem}.pending-text{display:flex;flex:1 1;flex-direction:column}.pending-text strong{color:#92400e;font-size:.9375rem}.pending-text span{color:#a16207;font-size:.75rem}.pending-arrow{color:#92400e;font-size:1.25rem}.bins-summary{display:flex;gap:1rem;margin-bottom:1rem}.summary-stat{background:#fff;border-radius:10px;box-shadow:0 1px 3px #0000001a;flex:1 1;padding:.75rem 1rem;text-align:center}.summary-stat .stat-value{color:#1f2937;display:block;font-size:1.5rem;font-weight:700}.summary-stat .stat-label{color:#6b7280;font-size:.75rem}.summary-warning .stat-value{color:#f59e0b}.create-bin-btn{background:#fff;border:2px dashed #d1d5db;border-radius:12px;color:#6b7280;cursor:pointer;font-size:.9375rem;font-weight:600;margin-bottom:1rem;padding:1rem;transition:all .2s;width:100%}.create-bin-btn:hover{background:#fef2f2;border-color:#b91c1c;color:#b91c1c}.empty-state p{margin:0 auto 1.5rem}.empty-state .btn-primary{background:#b91c1c;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:.9375rem;font-weight:600;padding:.75rem 1.5rem}.bins-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(2,1fr);margin-bottom:1rem}@media (max-width:480px){.bins-grid{grid-template-columns:1fr}}.bin-card{background:#fff;border-left:4px solid #10b981;border-radius:12px;box-shadow:0 1px 3px #0000001a;cursor:pointer;padding:1rem;transition:transform .2s,box-shadow .2s}.bin-card:hover{box-shadow:0 4px 12px #00000026;transform:translateY(-2px)}.bin-card.bin-good{border-left-color:#10b981}.bin-card.bin-ok{border-left-color:#0891b2}.bin-card.bin-low{border-left-color:#f59e0b}.bin-card.bin-critical{border-left-color:#dc2626}.bin-card.bin-empty{border-left-color:#6b7280}.bin-card.bin-unknown{border-left-color:#9ca3af}.bin-header{align-items:flex-start;display:flex;gap:.75rem;margin-bottom:.75rem}.bin-emoji{font-size:1.5rem}.bin-info{flex:1 1}.bin-name{color:#1f2937;font-size:.9375rem;font-weight:600;line-height:1.2;margin:0 0 .25rem}.bin-status{border-radius:9999px;font-size:.6875rem;font-weight:600;padding:.125rem .5rem}.status-good{background:#d1fae5;color:#065f46}.status-ok{background:#cffafe;color:#0e7490}.status-low{background:#fef3c7;color:#92400e}.status-critical{background:#fee2e2;color:#991b1b}.status-empty,.status-unknown{background:#f3f4f6;color:#6b7280}.bin-visual-row{align-items:flex-start;display:flex;gap:.75rem;margin-bottom:.75rem;min-height:70px}.bin-visual{align-items:center;display:flex;flex-shrink:0;gap:.5rem}.bin-container{background:#e5e7eb;border:2px solid #d1d5db;border-radius:4px 4px 8px 8px;border-top:1px solid #d1d5db;flex-shrink:0;height:55px;overflow:hidden;position:relative;width:36px}.bin-fill{border-radius:0 0 6px 6px;bottom:0;left:0;position:absolute;right:0;transition:height .5s ease}.bin-level-text{display:flex;flex-direction:column}.level-amount{color:#1f2937;font-size:1.125rem;font-weight:700;line-height:1}.level-unit{color:#6b7280;font-size:.6875rem}.bin-product-name{word-wrap:break-word;color:#4b5563;flex:1 1;font-size:.8125rem;-webkit-hyphens:auto;hyphens:auto;line-height:1.3;overflow-wrap:break-word}.current-product{color:#6b7280;font-size:.6875rem;line-height:1.2;margin-top:.25rem;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bin-stats{display:flex;gap:1rem;margin-bottom:.5rem}.bin-stat{display:flex;flex-direction:column}.bin-stat .stat-label{color:#6b7280;font-size:.6875rem}.bin-stat .stat-value{color:#1f2937;font-size:.8125rem;font-weight:600}.bin-stat .stat-value.critical{color:#dc2626}.bin-animals{display:flex;flex-wrap:wrap;gap:.25rem;margin-bottom:.5rem}.animal-chip{background:#eff6ff;border-radius:4px;color:#1e40af;font-size:.6875rem;padding:.125rem .375rem}.bin-actions{display:flex;justify-content:flex-end}.btn-add-feed{background:#dbeafe;border:none;border-radius:6px;color:#1e40af;cursor:pointer;font-size:.75rem;font-weight:500;padding:.375rem .75rem}.btn-add-feed:hover{background:#bfdbfe}.feed-tip{background:#f0fdf4;border-radius:12px;display:flex;gap:.75rem;margin-top:1rem;padding:1rem}.tip-icon{flex-shrink:0;font-size:1.25rem}.feed-tip p{color:#374151;font-size:.875rem;line-height:1.5;margin:0}.modal-overlay{padding:1rem;z-index:100}.modal-content{max-height:80vh;max-width:360px;padding:1.5rem}.modal-content.modal-large{max-width:480px}.modal-content h3{color:#1f2937;font-size:1.125rem;margin:0 0 1rem}.modal-content h4{color:#1f2937;font-size:.9375rem;margin:0 0 .5rem}.form-group input{border:1px solid #d1d5db}.category-grid{grid-gap:.5rem;display:grid;gap:.5rem;grid-template-columns:repeat(5,1fr)}.category-btn{align-items:center;background:#f3f4f6;border:2px solid #0000;border-radius:8px;cursor:pointer;display:flex;flex-direction:column;padding:.5rem .25rem;transition:all .2s}.category-btn:hover{background:#e5e7eb}.category-btn.selected{background:#fef2f2;border-color:#b91c1c}.cat-emoji{font-size:1.25rem}.cat-label{color:#6b7280;font-size:.625rem;margin-top:.25rem}.category-btn.selected .cat-label{color:#b91c1c}.form-type-grid{grid-gap:.5rem;display:grid;gap:.5rem;grid-template-columns:repeat(3,1fr)}.form-type-btn{align-items:center;background:#f3f4f6;border:2px solid #0000;border-radius:8px;cursor:pointer;display:flex;flex-direction:column;padding:.75rem .5rem;transition:all .2s}.form-type-btn:hover{background:#e5e7eb}.form-type-btn.selected{background:#fef2f2;border-color:#b91c1c}.form-icon{font-size:1.25rem}.form-label{color:#6b7280;font-size:.75rem;margin-top:.25rem}.form-type-btn.selected .form-label{color:#b91c1c;font-weight:600}.form-help{margin-bottom:0;margin-top:.5rem}.form-help,.optional-label{color:#9ca3af;font-size:.75rem}.optional-label{font-weight:400}.form-type-badge{align-items:center;background:#f3f4f6;border-radius:4px;color:#6b7280;display:inline-flex;font-size:.625rem;font-weight:500;gap:.25rem;padding:.125rem .375rem;text-transform:uppercase}.modal-actions{display:flex;gap:.75rem;margin-top:1.5rem}.modal-actions .btn-primary,.modal-actions .btn-secondary{border:none;border-radius:8px;cursor:pointer;flex:1 1;font-size:.875rem;font-weight:600;padding:.75rem 1rem}.modal-actions .btn-secondary{background:#f3f4f6;color:#374151}.modal-actions .btn-secondary:hover{background:#e5e7eb}.btn-primary,.modal-actions .btn-primary{background:#b91c1c;color:#fff}.btn-primary:hover,.modal-actions .btn-primary:hover{background:#991b1b}.btn-primary:disabled,.modal-actions .btn-primary:disabled{cursor:not-allowed;opacity:.7}.allocations-list{display:flex;flex-direction:column;gap:1rem}.allocation-item{background:#f9fafb;border-radius:8px;padding:.75rem}.alloc-info{margin-bottom:.5rem}.alloc-product{color:#1f2937;display:block;font-size:.875rem;font-weight:600}.alloc-details{color:#6b7280;font-size:.75rem}.rb-badge{background:#fef2f2;border-radius:4px;color:#b91c1c;display:inline-block;font-size:.625rem;margin-left:.5rem;padding:.0625rem .375rem}.alloc-actions{display:flex;flex-wrap:wrap;gap:.5rem}.alloc-actions select{border:1px solid #d1d5db;border-radius:6px;flex:1 1;font-size:.75rem;min-width:120px;padding:.375rem}.btn-suggested{background:#d1fae5;border:none;border-radius:6px;color:#065f46;cursor:pointer;font-size:.75rem;padding:.375rem .75rem}.btn-suggested:hover{background:#a7f3d0}.btn-new-bin{background:#dbeafe;border:none;border-radius:6px;color:#1e40af;cursor:pointer;font-size:.75rem;padding:.375rem .75rem}.btn-new-bin:hover{background:#bfdbfe}.btn-skip{background:#f3f4f6;border:none;border-radius:6px;color:#6b7280;cursor:pointer;font-size:.75rem;padding:.375rem .75rem}.btn-skip:hover{background:#e5e7eb}.no-pending{color:#6b7280;padding:2rem;text-align:center}.detail-stats{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:repeat(2,1fr);margin-bottom:1.25rem}.detail-stat{background:#f9fafb;border-radius:8px;padding:.75rem}.detail-stat .label{color:#6b7280;display:block;font-size:.75rem;margin-bottom:.25rem}.detail-stat .value{color:#1f2937;font-size:1rem;font-weight:600}.detail-stat .value.status-critical{color:#dc2626}.detail-stat .value.status-low{color:#f59e0b}.detail-stat .value.status-ok{color:#0891b2}.detail-stat .value.status-good{color:#10b981}.adjust-section{background:#f9fafb;border-radius:8px;margin-bottom:1.25rem;padding:.75rem}.adjust-form{display:flex;gap:.5rem}.adjust-form input{border:1px solid #d1d5db;border-radius:6px;flex:1 1;font-size:.875rem;padding:.5rem}.adjust-form .btn-primary{font-size:.875rem;padding:.5rem 1rem}.animals-section{margin-bottom:1.25rem}.btn-link-animal{background:#dbeafe;border:none;border-radius:6px;color:#1e40af;cursor:pointer;font-size:.75rem;padding:.375rem .75rem}.btn-link-animal:hover{background:#bfdbfe}.no-animals{color:#6b7280;font-size:.875rem;font-style:italic}.animal-links-list{display:flex;flex-direction:column;gap:.5rem}.animal-link-item{align-items:center;background:#f9fafb;border-radius:6px;display:flex;gap:.75rem;padding:.5rem .75rem}.animal-link-item .animal-name{color:#1f2937;flex:1 1;font-weight:500}.animal-consumption{color:#6b7280;font-size:.75rem}.btn-unlink{background:#fee2e2;border:none;border-radius:4px;color:#991b1b;cursor:pointer;font-size:.6875rem;padding:.25rem .5rem}.btn-unlink:hover{background:#fecaca}.activity-section{margin-bottom:1rem}.activity-list{gap:.5rem}.activity-item{padding:.5rem 0}.activity-change{font-size:.875rem;font-weight:600;min-width:60px}.activity-change.positive{color:#10b981}.activity-change.negative{color:#dc2626}.activity-desc{color:#374151;flex:1 1;font-size:.8125rem}.activity-date{color:#9ca3af}.btn-add-feed-modal{background:#dbeafe;border:none;border-radius:8px;color:#1e40af;cursor:pointer;flex:1 1;font-size:.875rem;font-weight:600;padding:.75rem 1rem}.btn-add-feed-modal:hover{background:#bfdbfe}.animal-select-list{display:flex;flex-direction:column;gap:.5rem}.animal-select-btn{border:1px solid #e5e7eb;border-radius:8px;gap:.75rem;padding:.75rem;transition:all .2s}.animal-select-btn:hover{border-color:#d1d5db}.animal-select-btn .animal-emoji{font-size:1.25rem}.animal-select-btn .animal-name{color:#1f2937;font-weight:500}.modal-add-feed{max-width:420px}.loading-products{color:#6b7280;font-size:.875rem;padding:2rem;text-align:center}.product-search{margin-bottom:.75rem}.product-dropdown{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;max-height:240px;overflow-y:auto}.product-group{border-bottom:1px solid #e5e7eb}.product-group:last-child{border-bottom:none}.product-group-header{align-items:center;background:#f3f4f6;color:#374151;display:flex;font-size:.75rem;font-weight:600;gap:.5rem;letter-spacing:.025em;padding:.5rem .75rem;position:-webkit-sticky;position:sticky;text-transform:uppercase;top:0;z-index:1}.product-group-header .rb-badge{background:#fef2f2;border-radius:3px;color:#b91c1c;font-size:.625rem;padding:.125rem .25rem}.product-option{align-items:center;background:#fff;border:none;border-bottom:1px solid #f3f4f6;cursor:pointer;display:flex;justify-content:space-between;padding:.625rem .75rem;text-align:left;transition:background .15s;width:100%}.product-option:last-child{border-bottom:none}.product-option:hover{background:#f0fdf4}.product-option.selected{background:#dcfce7;border-left:3px solid #10b981}.product-option .product-name{color:#1f2937;font-size:.875rem}.product-option .product-size{background:#f3f4f6;border-radius:4px;color:#6b7280;font-size:.75rem;padding:.125rem .375rem}.product-option.other-option{background:#faf5ff;border-top:2px solid #e5e7eb}.product-option.other-option:hover{background:#f3e8ff}.product-option.other-option.selected{background:#e9d5ff;border-left:3px solid #9333ea}.product-option.other-option .product-size{background:#e9d5ff;color:#7e22ce}.amount-hint{color:#10b981;display:block;font-size:.75rem;margin-top:.25rem}.btn-link-quick{align-items:center;background:#dbeafe;border:none;border-radius:6px;cursor:pointer;display:flex;font-size:.875rem;height:28px;justify-content:center;transition:all .2s;width:28px}.btn-link-quick:hover{background:#bfdbfe;transform:scale(1.1)}.animal-select-left{align-items:center;display:flex;flex:1 1;gap:.5rem}.animal-bin-info{background:#f3f4f6;border-radius:4px;color:#6b7280;font-size:.75rem;padding:.125rem .5rem}.animal-bin-info.other-bin{background:#fef3c7;color:#92400e}.check-icon{color:#10b981;font-size:1rem}.animal-select-btn.already-linked{background:#f3f4f6;cursor:default;opacity:.6}.animal-select-btn.already-linked:hover{background:#f3f4f6;border-color:#e5e7eb}.animal-select-btn.in-other-bin{background:#fffbeb;border-color:#fcd34d}.animal-select-btn.in-other-bin:hover{background:#fef3c7;border-color:#f59e0b}.delete-bin-section{border-top:1px solid #fee2e2;margin-top:1.5rem;padding-top:1rem}.delete-bin-section h4{color:#991b1b;font-size:.875rem;margin-bottom:.5rem}.delete-bin-section p{color:#6b7280;font-size:.75rem;margin-bottom:.75rem}.btn-delete-bin{background:#fee2e2;border:1px solid #fecaca;border-radius:8px;color:#991b1b;cursor:pointer;font-size:.875rem;font-weight:500;padding:.625rem 1rem;transition:all .2s;width:100%}.btn-delete-bin:hover{background:#fecaca;border-color:#f87171}.delete-bin-link{border-top:1px solid #f3f4f6;margin-top:1rem;padding-top:.75rem;text-align:center}.btn-delete-text{background:none;border:none;color:#9ca3af;cursor:pointer;font-size:.75rem;padding:.25rem .5rem;transition:color .2s}.btn-delete-text:hover{color:#dc2626}.btn-danger{background:#dc2626!important;color:#fff!important}.btn-danger:hover{background:#b91c1c!important}.modal-confirm{max-width:340px}.confirm-message{color:#374151;font-size:.9375rem;line-height:1.5;margin-bottom:.75rem}.confirm-message strong{color:#1f2937}.confirm-warning{align-items:flex-start;background:#fef3c7;border-radius:8px;color:#92400e;display:flex;font-size:.8125rem;gap:.5rem;margin-bottom:1rem;padding:.75rem}.confirm-warning .warning-icon{flex-shrink:0}.modal-feeding{max-width:400px}.feeding-bin-context{border-bottom:1px solid #e5e7eb;color:#6b7280;font-size:.8125rem;margin-bottom:1rem;padding-bottom:.75rem}.feeding-toggle-section{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.toggle-option{align-items:flex-start;background:#f9fafb;border:2px solid #0000;border-radius:8px;cursor:pointer;display:flex;gap:.75rem;padding:.75rem;transition:all .2s}.toggle-option:hover{background:#f3f4f6}.toggle-option input[type=radio]{accent-color:#b91c1c;flex-shrink:0;height:18px;margin-top:.125rem;width:18px}.toggle-option:has(input:checked){background:#fef2f2;border-color:#b91c1c}.toggle-label{color:#1f2937;display:flex;flex-direction:column;font-size:.9375rem;font-weight:500;gap:.25rem}.toggle-value{color:#6b7280;font-size:.8125rem;font-weight:400}.custom-amount-section{background:#f9fafb;border-radius:8px;margin-bottom:1rem;padding:1rem}.form-row{gap:.75rem;margin-bottom:.75rem}.form-row .amount-input{flex:1 1;margin-bottom:0}.form-row .unit-select{margin-bottom:0;width:120px}.form-group select{background:#fff;border:1px solid #d1d5db;border-radius:8px;cursor:pointer;font-size:1rem;padding:.75rem;width:100%}.form-group.scoop-size{margin-bottom:.75rem}.field-hint{color:#9ca3af;display:block;font-size:.75rem;margin-top:.25rem}.lbs-preview{align-items:center;background:#e0f2fe;border-radius:6px;display:flex;justify-content:space-between;margin-top:.5rem;padding:.75rem}.preview-label{color:#0369a1;font-size:.8125rem}.preview-value{color:#0284c7;font-size:1rem;font-weight:700}.form-group textarea{border:1px solid #d1d5db;border-radius:8px;font-size:.9375rem;padding:.75rem;width:100%}.form-group textarea::placeholder{color:#9ca3af}.animal-link-item-expanded{background:#f9fafb;border-radius:8px;margin-bottom:.5rem;padding:.75rem}.animal-link-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.375rem}.animal-link-header .animal-name{color:#1f2937;font-size:.9375rem;font-weight:600}.animal-link-actions{display:flex;gap:.5rem}.btn-edit-feeding{background:#dbeafe;border:none;border-radius:5px;color:#1e40af;cursor:pointer;font-size:.6875rem;font-weight:500;padding:.25rem .625rem;transition:background .2s}.btn-edit-feeding:hover{background:#bfdbfe}.animal-consumption-info{align-items:baseline;display:flex;flex-wrap:wrap;font-size:.8125rem;gap:.375rem}.consumption-amount{color:#1f2937;font-weight:600}.consumption-source{color:#6b7280;font-size:.75rem}.consumption-converted{color:#0891b2;font-size:.75rem}.feeding-notes-display{background:#eff6ff;border-radius:4px;color:#3b82f6;font-size:.75rem;font-style:italic;margin-top:.375rem;padding:.375rem .5rem}.purchases-page{margin:0 auto;max-width:600px}.page-header{margin-bottom:1.5rem}.page-header h1{color:#1f2937;font-size:1.5rem;font-weight:700}.upload-btn{background:#e73c3e;background:var(--rbf-red,#e73c3e);border:none;border-radius:8px;color:#fff;font-size:.875rem;font-weight:600;padding:.625rem 1rem;text-decoration:none}.empty-state{background:#fff;box-shadow:0 1px 3px #0000001a;padding:3rem 1rem}.empty-icon{font-size:3rem;margin-bottom:1rem}.empty-state h3{color:#1f2937;font-size:1.125rem;margin-bottom:.5rem}.empty-state p{color:#6b7280;font-size:.875rem;margin-bottom:1.5rem;margin-left:auto;margin-right:auto;max-width:280px}.btn-primary{background:var(--rbf-red,#e73c3e);padding:.875rem 2rem}.purchases-list{display:flex;flex-direction:column;gap:.75rem}.purchase-card{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:1rem}.purchase-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.5rem}.purchase-date{color:#1f2937;font-weight:600}.purchase-total{color:#1f2937;font-size:1.125rem;font-weight:700}.purchase-store{color:#6b7280;font-size:.875rem;margin-bottom:.75rem}.purchase-items{border-bottom:1px solid #f3f4f6;border-top:1px solid #f3f4f6;padding:.75rem 0}.purchase-item{align-items:center;display:flex;justify-content:space-between;padding:.25rem 0}.item-name{color:#374151;font-size:.875rem}.item-name.red-bridge{color:#e73c3e;color:var(--rbf-red,#e73c3e);font-weight:500}.item-qty{color:#6b7280;font-size:.875rem}.more-items{color:#9ca3af;font-size:.75rem;margin-top:.25rem}.purchase-loyalty{align-items:center;background:#ecfdf5;border-radius:8px;display:flex;gap:.5rem;margin-top:.75rem;padding:.5rem .75rem}.purchase-loyalty.redeemed{background:#fef3c7}.loyalty-icon{font-size:1rem}.purchase-loyalty span:last-child{color:#065f46;font-size:.875rem;font-weight:500}.purchase-loyalty.redeemed span:last-child{color:#92400e;font-weight:600}.purchase-meta{align-items:center;display:flex;font-size:.75rem;justify-content:space-between;margin-top:.75rem}.verification-badge{border-radius:4px;padding:.25rem .5rem}.verification-badge.auto_verified,.verification-badge.verified{background:#d1fae5;color:#065f46}.verification-badge.pending{background:#fef3c7;color:#92400e}.verification-badge.rejected{background:#fee2e2;color:#991b1b}.submission-type{color:#6b7280}.celebration-overlay{animation:fadeIn .3s ease-out;background:linear-gradient(180deg,#1f2937,#111827 50%,#0f172a);justify-content:flex-start;overflow-y:auto;padding:2rem 1rem 1rem;position:fixed;z-index:9999}.celebration-canvas{height:100%;width:100%}.celebration-balloons,.celebration-canvas{left:0;pointer-events:none;position:absolute;top:0}.celebration-balloons{bottom:0;overflow:hidden;right:0}.balloon{animation:floatUp 8s ease-in infinite;border-radius:50% 50% 50% 50%/60% 60% 40% 40%;bottom:-100px;height:50px;position:absolute;width:40px}.balloon:after{background:linear-gradient(180deg,currentColor,#0000);bottom:-20px;content:"";height:30px;left:50%;position:absolute;transform:translateX(-50%);width:2px}.balloon-red{background:linear-gradient(135deg,#ef4444,#dc2626);color:#dc2626}.balloon-gold{background:linear-gradient(135deg,#fcd34d,#f59e0b);color:#f59e0b}.balloon-emerald{background:linear-gradient(135deg,#34d399,#059669);color:#059669}.balloon-blue{background:linear-gradient(135deg,#60a5fa,#3b82f6);color:#3b82f6}.balloon-purple{background:linear-gradient(135deg,#a78bfa,#8b5cf6);color:#8b5cf6}.balloon-pink{background:linear-gradient(135deg,#f472b6,#ec4899);color:#ec4899}@keyframes floatUp{0%{opacity:1;transform:translateY(0) rotate(0deg)}to{opacity:0;transform:translateY(-120vh) rotate(20deg)}}.celebration-modal{animation:slideUp .4s ease-out;background:#0000;border-radius:0;max-width:380px;padding:1rem;position:relative;text-align:center;width:100%;z-index:10}.celebration-sound-toggle{background:#ffffff1a;border:none;border-radius:50%;cursor:pointer;font-size:20px;left:1rem;padding:8px;position:fixed;top:1rem;transition:background-color .2s;z-index:20}.celebration-sound-toggle:hover{background:#fff3}.celebration-close{align-items:center;background:#ffffff1a;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:28px;height:44px;justify-content:center;line-height:1;padding:8px;position:fixed;right:1rem;top:1rem;transition:all .2s;width:44px;z-index:20}.celebration-close:hover{background:#fff3;color:#fff}.celebration-title{align-items:center;display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-bottom:8px}.celebration-emoji{animation:bounce .6s ease-in-out infinite alternate;font-size:32px}.celebration-emoji:last-child{animation-delay:.3s}.celebration-text{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#dc2626,#f59e0b 50%,#059669);-webkit-background-clip:text;background-clip:text;font-size:28px;font-weight:800;letter-spacing:1px;text-transform:uppercase}.celebration-subtitle{color:#fff;font-size:20px;font-weight:600;margin-bottom:16px}.celebration-thanks{color:#9ca3af;font-size:15px;line-height:1.5;margin-bottom:24px}.celebration-reward{background:linear-gradient(135deg,#dc2626,#b91c1c);border-radius:16px;color:#fff;margin-bottom:24px;padding:20px}.reward-badge{background:#fbbf24;border-radius:20px;color:#78350f;display:inline-block;font-size:14px;font-weight:700;letter-spacing:1px;margin-bottom:12px;padding:4px 16px;text-transform:uppercase}.reward-text{font-size:18px;font-weight:600;line-height:1.4;margin:0}.celebration-code-section{background:#ffffff14;border:2px dashed #ffffff4d;border-radius:16px;margin-bottom:24px;padding:20px}.code-label{color:#d1d5db;font-size:14px;margin-bottom:16px}.code-display{align-items:center;display:flex;flex-direction:column;gap:12px}.code-qr{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;padding:8px}.code-text{background:#ecfdf5;border-radius:8px;color:#059669;font-family:SF Mono,Monaco,Inconsolata,monospace;font-size:20px;font-weight:700;letter-spacing:2px;padding:8px 16px}.code-expiry{color:#9ca3af;font-size:13px;margin-bottom:0;margin-top:12px}.celebration-actions{display:flex;flex-direction:column;gap:12px}.celebration-btn{border-radius:12px;cursor:pointer;font-size:16px;font-weight:600;min-height:48px;padding:14px 24px;transition:all .2s;width:100%}.celebration-btn.btn-primary{background:linear-gradient(135deg,#059669,#047857);border:none;box-shadow:0 4px 14px #05966966;color:#fff}.celebration-btn.btn-primary:hover{box-shadow:0 6px 20px #05966980;transform:translateY(-2px)}.celebration-btn.btn-primary:active{transform:translateY(0)}.celebration-btn.btn-secondary{background:#ffffff1a;border:2px solid #ffffff4d;color:#fff}.celebration-btn.btn-secondary:hover{background:#fff3;border-color:#fff6}@media (max-width:480px){.celebration-modal{margin:16px;padding:24px 16px;width:calc(100% - 32px)}.celebration-text{font-size:22px}.celebration-emoji{font-size:24px}.code-text,.reward-text{font-size:16px}.balloon{height:38px;width:30px}}@supports (padding-top:env(safe-area-inset-top)){.celebration-overlay{padding-bottom:max(1rem,env(safe-area-inset-bottom));padding-top:max(2rem,calc(env(safe-area-inset-top) + 1rem))}.celebration-close,.celebration-sound-toggle{top:max(1rem,env(safe-area-inset-top))}}.upload-page{margin:0 auto;max-width:500px}.hidden-input{display:none}.upload-step{text-align:center}.upload-header{margin-bottom:2rem}.upload-header h1{color:#1f2937;font-size:1.5rem;font-weight:700;margin-bottom:.5rem}.upload-header p{color:#6b7280;font-size:.875rem}.upload-area{background:#fff;border:2px dashed #d1d5db;border-radius:16px;cursor:pointer;margin-bottom:1.5rem;padding:3rem 2rem;transition:border-color .2s,background .2s}.upload-area:hover{background:#fef2f2;border-color:#b91c1c}.upload-icon{display:block;font-size:3rem;margin-bottom:1rem}.upload-text{color:#374151;display:block;font-size:1rem;font-weight:600;margin-bottom:.25rem}.upload-hint{color:#9ca3af;display:block;font-size:.875rem}.upload-tips{background:#f9fafb;border-radius:12px;padding:1rem 1.5rem;text-align:left}.upload-tips h3{color:#374151;font-size:.875rem;font-weight:600;margin-bottom:.5rem}.upload-tips ul{margin:0;padding-left:1.25rem}.upload-tips li{color:#6b7280;font-size:.875rem;margin-bottom:.25rem}.scanning-step{text-align:center}.receipt-preview{border-radius:12px;margin:0 auto 1.5rem;max-width:300px;overflow:hidden;position:relative}.receipt-preview img{display:block;width:100%}.scanning-overlay{align-items:center;background:#0009;bottom:0;color:#fff;display:flex;flex-direction:column;justify-content:center;left:0;position:absolute;right:0;top:0}.scanning-animation{animation:spin .8s linear infinite;border:3px solid #ffffff4d;border-radius:50%;border-top-color:#fff;height:60px;margin-bottom:1rem;width:60px}.scanning-text{color:#6b7280;font-size:.875rem;margin:0 auto;max-width:300px}.confirm-step h1{color:#1f2937;font-size:1.5rem;font-weight:700;margin-bottom:1.5rem}.mini-preview{align-items:center;background:#fff;border-radius:8px;cursor:pointer;display:flex;gap:.75rem;margin-bottom:1rem;padding:.75rem}.mini-preview img{border-radius:4px;height:60px;object-fit:cover;width:60px}.mini-preview span{color:#b91c1c;font-size:.875rem;font-weight:500}.receipt-info{background:#fff;border-radius:12px;margin-bottom:1rem;padding:1rem}.info-row{align-items:center;display:flex;justify-content:space-between;padding:.5rem 0}.info-row:not(:last-child){border-bottom:1px solid #f3f4f6}.info-label{color:#6b7280;font-size:.875rem}.info-value{color:#1f2937;font-size:.875rem;font-weight:500}.date-input{border:1px solid #d1d5db;font-size:16px;padding:.5rem}.items-section{margin-bottom:1.5rem}.items-section h3{color:#1f2937;font-size:1rem;font-weight:600;margin-bottom:.25rem}.items-note{color:#10b981;font-size:.75rem;margin-bottom:.75rem}.item-card{background:#fff;border-radius:12px;margin-bottom:.75rem;padding:1rem}.item-card.red-bridge{border-left:4px solid #b91c1c}.item-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.5rem}.item-name{color:#1f2937;flex:1 1}.remove-btn{background:none;border:none;color:#9ca3af;cursor:pointer;font-size:1.25rem;padding:0}.remove-btn:hover{color:#dc2626}.item-details{display:flex;gap:1rem}.item-field{display:flex;flex-direction:column;gap:.25rem}.item-field label{color:#6b7280;font-size:.75rem}.item-field input{border:1px solid #d1d5db;border-radius:6px;font-size:16px;padding:.5rem;width:80px}.item-price,.item-qty{color:#6b7280;font-size:.875rem}.matched-product{color:#10b981;font-size:.75rem;margin-top:.5rem}.receipt-total{background:#fff;color:#1f2937;font-size:1.125rem;font-weight:600;justify-content:space-between;margin-bottom:1rem}.loyalty-preview,.receipt-total{align-items:center;border-radius:12px;display:flex;padding:1rem}.loyalty-preview{background:#d1fae5;gap:.75rem;margin-bottom:1.5rem}.loyalty-icon{font-size:1.5rem}.loyalty-text{color:#065f46;font-weight:600}.confirm-actions{display:flex;gap:1rem}.btn-primary{background:#b91c1c}.success-step{padding:2rem 0;text-align:center}.success-icon{align-items:center;background:#d1fae5;border-radius:50%;color:#10b981;display:flex;font-size:2.5rem;height:80px;justify-content:center;margin:0 auto 1.5rem;width:80px}.success-step h1{color:#1f2937;font-size:1.5rem;font-weight:700;margin-bottom:1rem}.credit-banner{align-items:center;background:#fef3c7;border-radius:12px;display:flex;gap:.75rem;justify-content:center;margin-bottom:1rem;padding:1rem}.credit-icon{font-size:1.5rem}.credit-text{color:#92400e;font-weight:600}.success-message{color:#6b7280;font-size:.875rem;margin-bottom:2rem}.success-actions{display:flex;gap:1rem}.suggested-animals-section{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;margin:1rem 0;padding:1rem;text-align:left}.suggested-animals-section h3{color:#166534;font-size:1rem;font-weight:600;margin-bottom:.75rem}.suggested-animal-card{align-items:flex-start;background:#fff;border-radius:8px;display:flex;gap:.75rem;margin-bottom:.5rem;padding:.875rem}.suggestion-icon{flex-shrink:0;font-size:1.5rem}.suggestion-content{flex:1 1}.suggestion-message{color:#374151;font-size:.875rem;margin-bottom:.25rem}.suggestion-feed{color:#6b7280;font-size:.75rem}.btn-add-animal{background:#16a34a;font-size:.75rem;font-weight:600;padding:.5rem 1rem;white-space:nowrap}.btn-add-animal:hover{background:#15803d}.alternatives-section{background:#fff7ed;border:1px solid #fed7aa;border-radius:12px;margin:1rem 0;padding:1rem;text-align:left}.alternatives-section h3{color:#9a3412;font-size:1rem;font-weight:600;margin-bottom:.25rem}.alternatives-intro{color:#6b7280;font-size:.75rem;margin-bottom:.75rem}.alternative-item{background:#fff;border-radius:8px;margin-bottom:.5rem;padding:.75rem}.non-rb-product{color:#6b7280;font-size:.8rem;margin-bottom:.5rem}.alternative-list{display:flex;flex-direction:column;gap:.375rem}.alternative-card{align-items:center;background:#fef3c7;border-radius:6px;display:flex;gap:.5rem;padding:.5rem}.alt-name{color:#374151;flex:1 1;font-size:.8rem;font-weight:600}.alt-grade{background:#b91c1c;border-radius:4px;color:#fff;font-size:.65rem;padding:.15rem .4rem}.alt-price{color:#6b7280;font-size:.7rem}.discounts-section{background:#ecfdf5;border:1px solid #a7f3d0;border-radius:12px;margin-bottom:1rem;padding:1rem}.discounts-section h3{color:#065f46;font-size:.875rem;font-weight:600;margin-bottom:.75rem}.discount-item{align-items:center;border-bottom:1px solid #d1fae5;display:flex;justify-content:space-between;padding:.5rem 0}.discount-item:last-of-type{border-bottom:none}.discount-desc{color:#374151;font-size:.8rem}.discount-amount{color:#059669;font-size:.875rem;font-weight:600}.discount-total{border-top:2px solid #10b981;display:flex;justify-content:space-between;margin-top:.5rem;padding-top:.5rem}.discount-total span:first-child{color:#065f46;font-weight:600}.savings-amount{color:#059669;font-weight:700}.free-bag-alert{border-radius:12px;display:flex;gap:.75rem;margin-bottom:1rem;padding:1rem}.free-bag-alert.eligible{background:#fef3c7;border:1px solid #fcd34d}.free-bag-alert.warning{background:#fff7ed;border:1px solid #fdba74}.free-bag-icon{flex-shrink:0;font-size:1.5rem}.free-bag-content{flex:1 1}.free-bag-content strong{color:#92400e;display:block;margin-bottom:.25rem}.free-bag-content p{color:#78350f;font-size:.8rem;margin:0 0 .5rem}.free-bag-status{border-radius:4px;display:inline-block;font-size:.75rem;padding:.25rem .5rem}.free-bag-status.valid{background:#d1fae5;color:#065f46}.free-bag-status.warning{background:#fef3c7;color:#92400e}.receipt-rb-total{align-items:center;background:#fef2f2;border-radius:8px;color:#b91c1c;display:flex;font-size:.9rem;justify-content:space-between;margin-bottom:1rem;padding:.75rem 1rem}.receipt-rb-total span:last-child{font-weight:600}.bin-allocation-section{background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px;margin-bottom:1rem;padding:1rem}.bin-allocation-section h3{color:#1e40af;font-size:.875rem;font-weight:600;margin-bottom:.75rem}.bin-match-item{align-items:center;background:#fff;border-radius:8px;display:flex;gap:.75rem;margin-bottom:.5rem;padding:.75rem}.bin-match-item:last-child{margin-bottom:0}.bin-match-item.matched{border-left:3px solid #10b981}.bin-match-item.unmatched{border-left:3px solid #f59e0b}.bin-match-icon{font-size:1.25rem}.bin-match-content{flex:1 1}.bin-match-product{color:#374151;display:block;font-size:.875rem;font-weight:500}.bin-match-action{color:#059669;display:block;font-size:.75rem;margin-top:.125rem}.bin-match-action.create{color:#d97706}@media (min-width:768px){.upload-page{max-width:600px;padding:0 1.5rem}.upload-area{padding:4rem 3rem}.confirm-step{padding:0 1rem}.items-section{grid-gap:.75rem;display:grid;gap:.75rem}.item-card{padding:1.25rem}.item-details{flex-wrap:wrap;gap:1.25rem}.item-field input{width:100px}.confirm-actions{padding:1rem 0}.success-actions{margin:0 auto;max-width:400px}.receipt-preview{max-width:400px}.alternative-list{grid-gap:.5rem;display:grid;gap:.5rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}}@media (min-width:1024px){.upload-page{max-width:700px}.items-section h3{font-size:1.125rem}.item-card{padding:1.5rem}}@media (max-width:767px){.upload-page{padding:0 1rem}.upload-header h1{font-size:1.25rem}.upload-area{padding:2rem 1.5rem}.confirm-step h1{font-size:1.25rem}.item-card{padding:.875rem}.item-details{flex-direction:column;gap:.5rem}.item-field{align-items:center;flex-direction:row;justify-content:space-between}.item-field input{text-align:right;width:100px}.confirm-actions{flex-direction:column}.confirm-actions button{width:100%}.success-actions{flex-direction:column}.success-actions button{width:100%}.discount-item{align-items:flex-start;flex-direction:column;gap:.25rem}.free-bag-alert{padding:.75rem}.free-bag-icon{font-size:1.25rem}.free-bag-content strong{font-size:.9rem}.bin-match-item{padding:.625rem}.bin-match-icon{font-size:1rem}}.profile-picture-upload{align-items:center;display:flex;flex-direction:column;gap:12px}.profile-picture-container{height:100px;position:relative;width:100px}.profile-picture{object-fit:cover}.profile-picture,.profile-picture-placeholder{border:3px solid #c3ad8b;border:3px solid var(--rbf-tan,#c3ad8b);border-radius:50%;height:100px;width:100px}.profile-picture-placeholder{background:linear-gradient(135deg,#508590,#3d6970);background:linear-gradient(135deg,var(--rbf-teal,#508590) 0,#3d6970 100%);font-size:36px;font-weight:700}.profile-picture-placeholder,.upload-overlay{align-items:center;color:#fff;display:flex;justify-content:center}.upload-overlay{background:#3f2021;background:var(--rbf-brown,#3f2021);border:2px solid #fff;border-radius:50%;bottom:0;cursor:pointer;font-size:14px;height:32px;position:absolute;right:0;transition:background .2s;width:32px}.upload-overlay:hover{background:#e73c3e;background:var(--rbf-red,#e73c3e)}.upload-overlay:disabled{cursor:not-allowed;opacity:.6}.remove-picture-btn{background:none;border:none;color:#e73c3e;color:var(--rbf-red,#e73c3e);cursor:pointer;font-size:13px;text-decoration:underline}.remove-picture-btn:hover{color:#c62828}.upload-error{color:#e73c3e;color:var(--rbf-red,#e73c3e);font-size:13px;margin:0;text-align:center}.profile-page{margin:0 auto;max-width:600px}.profile-page h1{color:#1f2937;font-size:1.5rem;font-weight:700;margin-bottom:1.5rem}.profile-card{background:#fff;border-radius:16px;box-shadow:0 1px 3px #0000001a;margin-bottom:1rem;padding:1.5rem}.profile-header{gap:1rem;margin-bottom:1.5rem}.profile-info{flex:1 1}.profile-name{color:#1f2937;display:block;font-size:1.25rem;font-weight:600}.profile-email{color:#6b7280;display:block;font-size:.875rem}.profile-details{display:flex;flex-direction:column;gap:.75rem}.detail-row{align-items:center;border-bottom:1px solid #f3f4f6;justify-content:space-between;padding:.5rem 0}.detail-row:last-child{border-bottom:none}.detail-label{color:#6b7280;font-size:.875rem}.detail-value{color:#1f2937;font-size:.875rem;font-weight:500}.detail-value.code{background:#f3f4f6;border-radius:4px;font-family:monospace;padding:.25rem .5rem}.edit-btn{background:#508590;background:var(--rbf-teal,#508590);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;margin-bottom:1.5rem;padding:.875rem;width:100%}.edit-btn:hover{background:#3d6970}.edit-form{background:#fff;border-radius:16px;box-shadow:0 1px 3px #0000001a;padding:1.5rem}.edit-form,.form-section{margin-bottom:1.5rem}.form-section h3{color:#1f2937;font-size:1rem;font-weight:600;margin-bottom:1rem}.form-group input,.form-group select{padding:.75rem 1rem}.form-group input:focus,.form-group select:focus{border-color:#508590;border-color:var(--rbf-teal,#508590);box-shadow:0 0 0 3px #50859026}.toggle-group{margin-bottom:1rem}.toggle-group label{align-items:center;cursor:pointer;display:flex;gap:.75rem}.toggle-group input[type=checkbox]{height:20px;width:20px}.toggle-group span{color:#374151;font-size:.875rem;font-weight:500}.toggle-desc{color:#6b7280;font-size:.75rem;margin:.25rem 0 0 2rem}.form-actions{border-top:1px solid #e5e7eb;gap:1rem;margin-top:1.5rem;padding-top:1rem}.btn-secondary{background:#f3f4f6;border:none;border-radius:8px;color:#374151;font-weight:600}.btn-primary,.btn-secondary{flex:1 1;font-size:1rem;padding:.875rem}.btn-primary{background:#508590;background:var(--rbf-teal,#508590)}.btn-primary:hover{background:#3d6970}.btn-primary:disabled{opacity:.7}.stats-card{background:#fff;border-radius:16px;box-shadow:0 1px 3px #0000001a;margin-bottom:1.5rem;padding:1.5rem}.stats-card h3{color:#1f2937;font-size:1rem;font-weight:600;margin-bottom:1rem}.stats-grid{grid-gap:1rem;gap:1rem;text-align:center}.stat-item{background:#f9fafb;border-radius:8px;padding:.75rem}.stat-value{color:#508590;color:var(--rbf-teal,#508590);display:block;font-size:1.5rem}.stat-label{display:block;font-size:.75rem;margin-top:.25rem}.profile-actions{flex-direction:column;gap:.75rem}.action-btn{background:#fff;border:1px solid #d1d5db;border-radius:8px;font-size:1rem;font-weight:500;padding:.875rem;width:100%}.action-btn:hover{background:#f9fafb}.action-btn.logout{border-color:#fecaca;color:#dc2626}.action-btn.logout:hover{background:#fef2f2}.legal-section{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;margin-bottom:1rem;padding:1rem}.legal-section h3{border-bottom:1px solid #e5e7eb;color:#1f2937;font-size:1rem;font-weight:600;margin:0 0 .75rem;padding-bottom:.5rem}.legal-link-row{align-items:center;border-bottom:1px solid #f3f4f6;color:#374151;display:flex;padding:.75rem 0;text-decoration:none;transition:background .2s}.legal-link-row:last-of-type{border-bottom:none}.legal-link-row:hover{background:#f9fafb;margin:0 -1rem;padding-left:1rem;padding-right:1rem}.legal-icon{flex-shrink:0;font-size:1.25rem;margin-right:.75rem}.legal-text{flex:1 1;font-size:.9375rem;font-weight:500}.legal-arrow{color:#9ca3af;font-size:1rem}.legal-agreed-date{color:#6b7280;font-size:.8rem;font-style:italic;margin:.75rem 0 0;padding-top:.5rem;text-align:center}.store-finder-page{margin:0 auto;max-width:600px}.store-finder-page h1{color:#1f2937;font-size:1.5rem;font-weight:700;margin-bottom:.25rem}.page-subtitle{color:#6b7280;font-size:.875rem;margin-bottom:1.5rem}.error-message{color:#991b1b}.success-message{background:#d1fae5;border-radius:8px;color:#065f46;margin-bottom:1rem;padding:.75rem 1rem}.search-form{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;margin-bottom:1.5rem;padding:1rem}.search-row{display:flex;gap:.75rem}.state-select{background:#fff;min-width:120px}.city-input,.state-select{border:1px solid #d1d5db;border-radius:8px;font-size:16px;padding:.75rem}.city-input{flex:1 1}.search-btn{background:#b91c1c;border-radius:8px;font-weight:600;padding:.75rem 1.25rem}.current-store{background:#f0fdf4;border:1px solid #86efac;border-radius:12px;margin-bottom:1.5rem;padding:1rem}.current-label{color:#166534;display:block;font-size:.75rem;font-weight:600;margin-bottom:.5rem;text-transform:uppercase}.current-store-info{display:flex;flex-direction:column}.current-store-info .store-name{color:#1f2937;font-weight:600}.current-store-info .store-location{color:#6b7280;font-size:.875rem}.loading-stores{padding:3rem;text-align:center}.loading-stores p{color:#6b7280;margin-top:1rem}.no-stores{background:#fff;padding:3rem}.stores-list h3{color:#6b7280;font-size:.875rem;font-weight:600;margin-bottom:1rem}.store-card{align-items:flex-start;border-radius:12px;box-shadow:0 1px 3px #0000001a;display:flex;gap:.75rem;justify-content:space-between;margin-bottom:.75rem;padding:1rem}.store-card.linked{background:#f0fdf4;border:2px solid #10b981}.store-info{display:flex;flex-direction:column;gap:.25rem}.store-address,.store-phone{color:#9ca3af}.store-phone{font-size:.75rem}.linked-badge{color:#10b981}.linked-badge,.select-btn{font-size:.875rem;font-weight:600}.select-btn{background:#b91c1c;border:none;border-radius:6px;color:#fff;cursor:pointer;padding:.5rem 1.25rem}.select-btn:disabled{cursor:not-allowed;opacity:.7}.store-actions{align-items:flex-end;flex-direction:column;flex-shrink:0}.action-btn{display:inline-block;min-width:75px;padding:.375rem .75rem;text-align:center}.directions-btn{background:#2d5a3d;color:#fff}.directions-btn:hover{background:#234a31}.call-btn{background:#e8f5e9;border:1px solid #2d5a3d;color:#2d5a3d}.call-btn:hover{background:#c8e6c9}@media (max-width:480px){.store-card{align-items:stretch;flex-direction:column}.store-actions{border-top:1px solid #e5e7eb;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;margin-top:.75rem;padding-top:.75rem}.action-btn{flex:1 1;min-width:auto}}.bc-resources{margin:0 auto;max-width:600px;padding:1rem}.bc-resources-header{margin-bottom:1.5rem}.bc-resources-header h1{color:#1f2937;font-size:1.5rem;margin:0 0 .5rem}.bc-resources-header p{color:#6b7280;font-size:.875rem;margin:0}.bc-back-button{align-items:center;background:#f3f4f6;border:none;border-radius:6px;color:#374151;cursor:pointer;display:inline-flex;font-size:.875rem;font-weight:500;gap:.375rem;margin-bottom:.75rem;padding:.5rem .75rem}.bc-back-button:active{background:#e5e7eb}.bc-breadcrumbs{align-items:center;color:#6b7280;display:flex;flex-wrap:wrap;font-size:.8125rem;gap:.375rem;margin-bottom:.5rem}.bc-breadcrumb-link{color:#e73c3e;color:var(--rbf-red,#e73c3e);cursor:pointer}.bc-breadcrumb-separator{color:#d1d5db}.bc-breadcrumb-current{color:#374151;font-weight:500}.bc-error-state,.bc-loading-state{color:#6b7280;padding:3rem 1rem;text-align:center}.bc-error-state{color:#dc2626}.bc-featured-section,.bc-folders-section,.bc-resources-section{margin-bottom:1.5rem}.bc-featured-section h2,.bc-folders-section h2,.bc-resources-section h2{align-items:center;color:#374151;display:flex;font-size:1rem;font-weight:600;gap:.5rem;margin:0 0 .75rem}.bc-featured-scroll{-webkit-overflow-scrolling:touch;display:flex;gap:.75rem;overflow-x:auto;padding-bottom:.5rem}.bc-featured-scroll::-webkit-scrollbar{display:none}.bc-featured-card{background:#fff;border-radius:10px;box-shadow:0 1px 3px #0000001a;cursor:pointer;flex-shrink:0;overflow:hidden;width:140px}.bc-featured-card:active{transform:scale(.98)}.bc-featured-thumbnail{align-items:center;aspect-ratio:16/9;background:#f3f4f6;display:flex;justify-content:center;position:relative}.bc-featured-thumbnail img{height:100%;object-fit:cover;width:100%}.bc-featured-info{padding:.625rem}.bc-featured-info h4{color:#1f2937;font-size:.8125rem;font-weight:500;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bc-featured-type{color:#9ca3af;font-size:.6875rem;text-transform:uppercase}.bc-folders-grid{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:repeat(2,1fr)}.bc-folder-card{background:#fff;border-radius:10px;box-shadow:0 1px 3px #0000001a;cursor:pointer;padding:1rem;transition:transform .15s}.bc-folder-card:active{transform:scale(.98)}.bc-folder-icon{align-items:center;border-radius:8px;display:flex;height:40px;justify-content:center;margin-bottom:.625rem;width:40px}.bc-folder-card h3{color:#1f2937;font-size:.9375rem;font-weight:600;margin:0 0 .25rem}.bc-folder-card p{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#6b7280;display:-webkit-box;font-size:.75rem;margin:0 0 .375rem;overflow:hidden}.bc-item-count{color:#9ca3af;font-size:.6875rem}.bc-resources-grid{display:flex;flex-direction:column;gap:.75rem}.bc-resource-card{background:#fff;border-radius:10px;box-shadow:0 1px 3px #0000001a;display:flex;overflow:hidden}.bc-resource-thumbnail{align-items:center;background:#f3f4f6;cursor:pointer;display:flex;flex-shrink:0;justify-content:center;min-height:80px;position:relative;width:100px}.bc-resource-thumbnail img{height:100%;object-fit:cover;width:100%}.bc-resource-icon-placeholder{color:#9ca3af}.bc-play-overlay{align-items:center;background:#0006;bottom:0;color:#fff;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.bc-file-type-badge{background:#000000b3;border-radius:3px;bottom:4px;color:#fff;font-size:.5625rem;font-weight:600;padding:2px 4px;position:absolute;right:4px;text-transform:uppercase}.bc-resource-info{flex:1 1;min-width:0;padding:.75rem}.bc-resource-info h4{color:#1f2937;font-size:.875rem;font-weight:500;margin:0 0 .25rem}.bc-resource-description{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#6b7280;display:-webkit-box;font-size:.75rem;margin:0 0 .375rem;overflow:hidden}.bc-resource-meta{display:flex;font-size:.6875rem;gap:.5rem}.bc-file-size,.bc-file-type,.bc-video-tag{background:#f3f4f6;border-radius:4px;color:#6b7280;padding:2px 6px}.bc-video-tag{background:#fef3c7;color:#92400e}.bc-resource-actions{align-items:center;display:flex;padding-right:.75rem}.bc-btn{align-items:center;border:none;border-radius:6px;cursor:pointer;display:inline-flex;font-size:.75rem;font-weight:500;gap:.375rem;padding:.5rem .75rem}.bc-btn-primary{background:#e73c3e;background:var(--rbf-red,#e73c3e);color:#fff}.bc-btn-primary:active{opacity:.9}.bc-empty-state{color:#6b7280;padding:3rem 1rem;text-align:center}.bc-empty-state svg{color:#d1d5db;margin-bottom:1rem}.bc-empty-state h3{color:#374151;font-size:1.125rem;margin:0 0 .5rem}.bc-empty-state p{font-size:.875rem;margin:0}.bc-video-modal-overlay{align-items:center;background:#000c;bottom:0;display:flex;justify-content:center;left:0;padding:1rem;position:fixed;right:0;top:0;z-index:1000}.bc-video-modal{background:#fff;border-radius:12px;max-width:560px;overflow:hidden;width:100%}.bc-video-modal h3{color:#1f2937;font-size:1rem;margin:0;padding:1rem 3rem 1rem 1rem}.bc-video-close{background:none;border:none;color:#6b7280;cursor:pointer;padding:.25rem;position:absolute;right:.75rem;top:.75rem}.bc-video-container{background:#000;padding-bottom:56.25%;position:relative}.bc-video-container iframe{border:none;height:100%;left:0;position:absolute;top:0;width:100%}.bc-tools-section{margin-bottom:1.5rem}.bc-tools-section h2{align-items:center;color:#1f2937;display:flex;font-size:1rem;gap:.5rem;margin:0 0 1rem}.bc-tools-grid{display:flex;flex-direction:column;gap:.75rem}.bc-tool-card{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:10px;cursor:pointer;display:flex;gap:1rem;padding:1rem;transition:all .2s}.bc-tool-card:hover{border-color:#d1d5db;box-shadow:0 2px 8px #0000000f}.bc-tool-card:active{background:#f9fafb}.bc-tool-icon{align-items:center;border-radius:10px;display:flex;flex-shrink:0;height:52px;justify-content:center;width:52px}.bc-tool-info h3{color:#1f2937;font-size:1rem;font-weight:600;margin:0 0 .25rem}.bc-tool-info p{color:#6b7280;font-size:.8125rem;line-height:1.4;margin:0}@media (max-width:360px){.bc-folders-grid{grid-template-columns:1fr}}.flock-health-assistant{margin:0 auto;max-width:900px;padding:1rem}.flock-health-assistant .header{margin-bottom:1.5rem;text-align:center}.flock-health-assistant .header h2{color:#2d5016;margin-bottom:.5rem}.flock-health-assistant .header p{color:#666;font-size:.95rem}.water-alert-banner{align-items:flex-start;border-radius:8px;display:flex;gap:1rem;margin-bottom:1.5rem;padding:1rem}.water-alert-banner.alert-critical{background:linear-gradient(135deg,#fee2e2,#fecaca);border:2px solid #dc2626}.water-alert-banner.alert-high{background:linear-gradient(135deg,#fef3c7,#fde68a);border:2px solid #d97706}.water-alert-banner.alert-moderate{background:linear-gradient(135deg,#dbeafe,#bfdbfe);border:2px solid #2563eb}.water-alert-banner .alert-icon{font-size:2rem}.water-alert-banner .alert-content{flex:1 1}.water-alert-banner .alert-content strong{display:block;margin-bottom:.25rem}.water-alert-banner .weather-summary{color:#666;display:block;font-size:.85rem;margin-top:.25rem}.tab-navigation{border-bottom:2px solid #e5e7eb;display:flex;gap:.5rem;margin-bottom:1.5rem;padding-bottom:.5rem}.tab-btn{background:#f3f4f6;border:none;border-radius:8px 8px 0 0;color:#4b5563;cursor:pointer;font-weight:500;padding:.75rem 1.25rem;transition:all .2s}.tab-btn:hover{background:#e5e7eb}.tab-btn.active{background:#2d5016;color:#fff}.error-message{border:1px solid #dc2626;color:#dc2626}.analysis-form{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;padding:1.5rem}.analysis-form h3{color:#1f2937;margin-bottom:.5rem}.form-hint{color:#6b7280;font-size:.9rem}.appearance-category,.form-hint,.sign-category,.symptom-category{margin-bottom:1.5rem}.sign-category h4,.symptom-category h4{color:#374151;font-size:.95rem;margin-bottom:.75rem}.appearance-buttons,.sign-buttons,.symptom-buttons{display:flex;flex-wrap:wrap;gap:.5rem}.appearance-btn,.sign-btn,.symptom-btn{background:#fff;border:2px solid #d1d5db;border-radius:20px;cursor:pointer;font-size:.9rem;padding:.5rem 1rem;transition:all .2s}.appearance-btn:hover,.sign-btn:hover,.symptom-btn:hover{background:#f0fdf4;border-color:#2d5016}.appearance-btn.selected,.sign-btn.selected,.symptom-btn.selected{background:#2d5016;border-color:#2d5016;color:#fff}.appearance-btn.category-normal{border-color:#22c55e}.appearance-btn.category-diet{border-color:#f59e0b}.appearance-btn.category-concern,.appearance-btn.category-urgent{border-color:#dc2626}.optional-fields{border-top:1px solid #e5e7eb;margin-top:1.5rem;padding-top:1rem}.optional-fields h4{color:#6b7280;font-size:.9rem;margin-bottom:.75rem}.field-row{display:flex;flex-wrap:wrap;gap:1rem}.field-row label{color:#4b5563;display:flex;flex-direction:column;font-size:.9rem;gap:.25rem}.field-row input{border:1px solid #d1d5db;border-radius:6px;padding:.5rem;width:120px}.analyze-btn{background:#2d5016;border:none;border-radius:8px;color:#fff;cursor:pointer;display:block;font-size:1rem;font-weight:600;margin-top:1.5rem;padding:1rem;transition:background .2s;width:100%}.analyze-btn:hover:not(:disabled){background:#1e3a0f}.analyze-btn:disabled{background:#9ca3af;cursor:not-allowed}.form-buttons{display:flex;gap:1rem;margin-top:1.5rem}.form-buttons .analyze-btn{flex:1 1;margin-top:0}.cancel-btn{background:#f3f4f6;border:1px solid #d1d5db;border-radius:8px;color:#4b5563;cursor:pointer;font-size:1rem;font-weight:500;padding:1rem 2rem;transition:all .2s}.cancel-btn:hover{background:#e5e7eb;border-color:#9ca3af}.analysis-result{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;padding:1.5rem}.result-header{justify-content:space-between;margin-bottom:1rem}.result-header h3{color:#1f2937;margin:0}.reset-btn{background:#f3f4f6;border:1px solid #d1d5db;border-radius:6px;cursor:pointer;font-size:.9rem;padding:.5rem 1rem}.reset-btn:hover{background:#e5e7eb}.disclaimer{background:#fef3c7;border-radius:6px;color:#92400e;font-size:.85rem;margin-bottom:1rem;padding:.75rem}.reportable-warning{background:#fee2e2;border:2px solid #dc2626;border-radius:8px;margin-bottom:1rem;padding:1rem}.reportable-warning strong{color:#dc2626;display:block;margin-bottom:.5rem}.water-alerts-section{margin-bottom:1.5rem}.water-alert{border-radius:8px;margin-bottom:.75rem;padding:1rem}.water-alert.critical{background:#fee2e2;border-left:4px solid #dc2626}.water-alert.high{background:#fef3c7;border-left:4px solid #d97706}.water-alert.moderate{background:#dbeafe;border-left:4px solid #2563eb}.water-alert.reminder{background:#f0fdf4;border-left:4px solid #22c55e}.water-alert .alert-header{align-items:center;display:flex;gap:.5rem;margin-bottom:.5rem}.water-alert .alert-level{font-weight:700}.water-alert .alert-title{color:#374151;font-weight:500}.water-alert .alert-message{color:#4b5563;margin-bottom:.75rem}.water-alert .alert-actions{margin:0;padding-left:1.5rem}.water-alert .alert-actions li{margin-bottom:.25rem}.symptom-correlation{border-top:1px solid #0000001a;margin-top:.75rem;padding-top:.75rem}.symptom-correlation ul{margin:.5rem 0 0 1.5rem;padding:0}.important-note{background:#fef3c7;border-radius:4px;font-size:.9rem;margin-top:.5rem;padding:.5rem}.water-requirements-card{background:#dbeafe;border:1px solid #93c5fd;border-radius:8px;margin-bottom:1rem;padding:1rem}.water-requirements-card h4{color:#1e40af;margin:0 0 .75rem}.requirements-grid{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.req-item{background:#fff;border-radius:6px;padding:.5rem;text-align:center}.req-label{color:#6b7280;display:block;font-size:.75rem}.req-value{color:#1e40af;display:block;font-size:1.1rem;font-weight:600}.check-first-message{background:#f0fdf4;border:1px solid #22c55e;border-radius:8px;margin-bottom:1rem;padding:1rem}.causes-section{margin-bottom:1.5rem}.causes-section h4{border-bottom:2px solid #e5e7eb;margin-bottom:.75rem;padding:.5rem 0}.causes-section.environmental h4{border-color:#22c55e;color:#16a34a}.causes-section.metabolic h4{border-color:#f59e0b;color:#d97706}.causes-section.disease h4{border-color:#dc2626;color:#dc2626}.cause-card{background:#f9fafb;border-left:4px solid #d1d5db;border-radius:8px;margin-bottom:.75rem;padding:1rem}.cause-card.confidence-high{background:#f0fdf4;border-left-color:#22c55e}.cause-card.confidence-medium{background:#fffbeb;border-left-color:#f59e0b}.cause-card.confidence-low{border-left-color:#9ca3af}.cause-header{align-items:center;display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:.5rem}.cause-name{color:#1f2937;font-weight:600}.confidence-badge{background:#e5e7eb;border-radius:12px;font-size:.75rem;padding:.2rem .5rem}.confidence-badge.high{background:#dcfce7;color:#166534}.confidence-badge.medium{background:#fef3c7;color:#92400e}.cause-description{color:#4b5563;margin-bottom:.75rem}.matching-signs{color:#6b7280;font-size:.85rem;margin-bottom:.5rem}.mitigations{margin-top:.75rem}.mitigations ul{margin:.5rem 0 0 1.5rem;padding:0}.mitigations li{color:#374151;margin-bottom:.25rem}.when-to-worry{background:#fef3c7;border-radius:4px;font-size:.9rem;margin-top:.75rem;padding:.5rem}.not-contagious-badge{background:#dcfce7;color:#166534;display:inline-block;margin-top:.5rem}.contagious-badge,.not-contagious-badge{border-radius:12px;font-size:.75rem;padding:.2rem .5rem}.contagious-badge{background:#fee2e2;color:#dc2626}.reportable-badge{background:#dc2626;border-radius:12px;color:#fff;font-size:.75rem;font-weight:700;padding:.2rem .5rem}.vet-needed{background:#dbeafe;border-radius:4px;font-size:.9rem;margin-top:.75rem;padding:.5rem}.indicator-card{background:#f9fafb;border-left:4px solid #d1d5db;border-radius:8px;margin-bottom:.75rem;padding:1rem}.indicator-card.category-normal{background:#f0fdf4;border-left-color:#22c55e}.indicator-card.category-diet{background:#fffbeb;border-left-color:#f59e0b}.indicator-card.category-management{background:#eff6ff;border-left-color:#3b82f6}.indicator-card.category-concern,.indicator-card.category-urgent{background:#fef2f2;border-left-color:#dc2626}.indicator-header{align-items:center;display:flex;gap:.75rem;margin-bottom:.5rem}.indicator-appearance{color:#1f2937;font-weight:600}.category-badge{border-radius:12px;padding:.2rem .5rem;text-transform:capitalize}.category-badge.normal{background:#dcfce7;color:#166534}.category-badge.diet{background:#fef3c7;color:#92400e}.category-badge.concern,.category-badge.urgent{background:#fee2e2;color:#dc2626}.indicator-action{color:#374151;margin-top:.5rem}.when-concerning{color:#d97706;font-size:.9rem;margin-top:.5rem}.normal-indicator{background:#dcfce7;border-radius:8px;color:#166534;font-weight:500;margin-bottom:1rem;padding:1rem;text-align:center}.urgency-indicator{border-radius:8px;font-weight:600;margin-bottom:1rem;padding:.75rem 1rem}.urgency-indicator.urgency-high{background:#fee2e2;color:#dc2626}.urgency-indicator.urgency-moderate{background:#fef3c7;color:#d97706}.symptom-analysis-card{background:#f9fafb;border-radius:8px;margin-bottom:1rem;padding:1rem}.symptom-analysis-card h4{border-bottom:2px solid #e5e7eb;color:#1f2937;margin:0 0 1rem;padding-bottom:.5rem}.check-first-section{margin-bottom:1rem}.check-first-section h5{color:#16a34a;font-size:.95rem;margin:0 0 .75rem}.check-first-item{background:#fff;border-left:3px solid #22c55e;border-radius:6px;margin-bottom:.5rem;padding:.75rem}.cause-header-line{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.5rem}.likelihood-badge{background:#dcfce7;color:#166534}.likelihood-badge,.weather-match-badge{border-radius:10px;font-size:.7rem;font-weight:600;padding:.15rem .4rem}.weather-match-badge{background:#fef3c7;color:#92400e}.weather-note{background:#fef3c7;border-radius:4px;padding:.5rem}.other-signs,.weather-note{font-size:.85rem;margin-bottom:.5rem}.other-signs{color:#6b7280}.other-signs span{font-weight:500}.cause-action{color:#374151;margin:.5rem 0}.mitigations-list{margin:.5rem 0 0 1.25rem;padding:0}.mitigations-list li{font-size:.9rem;margin-bottom:.25rem}.when-not-this{color:#6b7280;font-size:.85rem;margin:.5rem 0 0}.illness-section{border-top:1px solid #e5e7eb;margin-top:1rem;padding-top:1rem}.illness-section h5{color:#dc2626;font-size:.95rem;margin:0 0 .75rem}.illness-item{background:#fef2f2;border-left:3px solid #dc2626;border-radius:6px;margin-bottom:.5rem;padding:.75rem}.disease-header{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.5rem}.disease-action{color:#374151;margin:.5rem 0}.vet-trigger{background:#dbeafe;border-radius:6px;padding:.75rem}.investigate-further,.vet-trigger{margin-top:1rem}.investigate-further ul{margin:.5rem 0 0 1.5rem;padding:0}@media (max-width:640px){.tab-navigation{flex-direction:column}.tab-btn{border-radius:6px;text-align:left}.field-row{flex-direction:column}.field-row input{width:100%}.requirements-grid{grid-template-columns:repeat(2,1fr)}.cause-header,.cause-header-line,.disease-header,.indicator-header{align-items:flex-start;flex-direction:column}.form-buttons{flex-direction:column}.cancel-btn{padding:.75rem 1rem}}.onboarding-page{background:linear-gradient(135deg,var(--rbf-red) 0,#7f1d1d 100%);display:flex;flex-direction:column;min-height:100vh}.onboarding-header{align-items:center;color:#fff;display:flex;justify-content:space-between;padding:1rem}.back-btn{color:#fff;font-size:1rem;padding:.5rem}.progress-dots{display:flex;gap:.5rem}.dot{background:#ffffff4d;border-radius:50%;height:8px;transition:background .3s;width:8px}.dot.active{background:#fff}.onboarding-content{background:#fff;border-radius:24px 24px 0 0;flex:1 1;overflow-y:auto;padding:2rem 1.5rem}.onboarding-welcome{text-align:center}.welcome-logo{height:auto;margin-bottom:1.5rem;width:140px}.onboarding-welcome h1{color:#1f2937;font-size:1.75rem;font-weight:700;margin-bottom:.25rem}.welcome-tagline{color:#6b7280;font-style:italic;margin-bottom:2rem}.benefits-list{margin-bottom:2rem;text-align:left}.benefit-item{align-items:center;background:#f9fafb;border-radius:12px;gap:1rem;margin-bottom:.75rem;padding:1rem}.benefit-title{color:#1f2937;display:block;font-size:.875rem;font-weight:600}.benefit-desc{color:#6b7280;display:block;font-size:.75rem}.welcome-btn{background:var(--rbf-red);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;margin-bottom:1.5rem;padding:1rem;width:100%}.login-link{color:#6b7280;font-size:.875rem}.login-link a{color:var(--rbf-red);font-weight:600;text-decoration:none}.onboarding-form h2{color:#1f2937;font-size:1.5rem;font-weight:700;margin-bottom:.5rem}.form-subtitle{color:#6b7280;font-size:.875rem;margin-bottom:1.5rem}.error-message{background:#fee2e2;border-radius:8px;color:var(--rbf-red);font-size:.875rem;margin-bottom:1rem;padding:.75rem 1rem}.form-row{grid-gap:1rem;gap:1rem}.form-group label{font-size:.875rem;font-weight:600}.form-group input,.form-group select{border:1px solid #d1d5db;border-radius:8px;box-sizing:border-box;font-size:16px;padding:.875rem 1rem;width:100%}.form-group input:focus,.form-group select:focus{border-color:var(--rbf-red);box-shadow:0 0 0 3px #e73c3e1a;outline:none}.form-group input.input-error{background-color:#fffbeb;border-color:#f59e0b}.email-validation{margin-top:.5rem}.email-suggestion{align-items:center;background:#fef3c7;border:1px solid #f59e0b;border-radius:8px;display:flex;gap:.75rem;padding:.75rem}.suggestion-text{color:#92400e;flex:1 1;font-size:.875rem}.suggestion-btn{background:#f59e0b;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.875rem;font-weight:500;padding:.375rem .75rem;white-space:nowrap}.suggestion-btn:hover{background:#d97706}.validation-error{color:#dc2626;display:block;font-size:.875rem;margin-top:.25rem}.stores-list{margin-bottom:1rem}.no-stores{background:#f9fafb;border-radius:12px;padding:2rem;text-align:center}.store-option{align-items:center;background:#fff;border:2px solid #e5e7eb;border-radius:12px;cursor:pointer;display:flex;gap:1rem;margin-bottom:.75rem;padding:1rem;transition:border-color .2s}.store-option.selected{background:#fef2f2;border-color:var(--rbf-red)}.store-radio{align-items:center;border:2px solid #d1d5db;border-radius:50%;display:flex;height:20px;justify-content:center;width:20px}.store-option.selected .store-radio{border-color:var(--rbf-red)}.radio-check{background:var(--rbf-red);border-radius:50%;height:10px;width:10px}.store-info{flex:1 1}.store-name{color:#1f2937;display:block;font-weight:600}.store-location{display:block}.skip-store,.store-location{color:#6b7280;font-size:.875rem}.skip-store{background:#0000;border:1px dashed #d1d5db;border-radius:8px;cursor:pointer;padding:.75rem;width:100%}.skip-store.active{background:#fef2f2;border-color:var(--rbf-red);color:var(--rbf-red)}.onboarding-complete{text-align:center}.complete-icon{font-size:4rem;margin-bottom:1rem}.onboarding-complete h2{color:#1f2937;font-size:1.5rem;font-weight:700;margin-bottom:.5rem}.onboarding-complete>p{color:#6b7280;margin-bottom:2rem}.next-steps{background:#f9fafb;border-radius:12px;padding:1.5rem;text-align:left}.next-steps h3{color:#374151;font-size:.875rem;font-weight:600;margin-bottom:1rem}.step-item{align-items:flex-start;display:flex;gap:1rem;margin-bottom:1rem}.step-item:last-child{margin-bottom:0}.step-number{background:var(--rbf-red);color:#fff;flex-shrink:0;font-size:.75rem;font-weight:700;height:24px;width:24px}.step-text{color:#374151;font-size:.875rem;line-height:1.4}.onboarding-footer{background:#fff;padding:1rem 1.5rem calc(1rem + env(safe-area-inset-bottom, 0))}.next-btn{background:var(--rbf-red);border-radius:8px;font-size:1rem;padding:1rem;width:100%}.next-btn:disabled{cursor:not-allowed;opacity:.7}.email-highlight{color:var(--rbf-red);font-size:1.1rem;font-weight:600;margin-bottom:2rem}.email-note{color:#6b7280;font-size:.8rem;font-style:italic;margin-top:1.5rem}.consent-group{border-top:1px solid #e5e7eb;margin-top:1.5rem;padding-top:1rem}.consent-label{align-items:flex-start;cursor:pointer;display:flex;font-weight:400;gap:.75rem}.consent-checkbox{accent-color:var(--rbf-red);cursor:pointer;flex-shrink:0;height:20px;margin-top:2px;width:20px}.consent-text{color:#4b5563;font-size:.875rem;line-height:1.5}.consent-text a{color:var(--rbf-red);font-weight:500;text-decoration:underline}.consent-text a:hover{color:#991b1b}.bridge-club-legal-page{background:linear-gradient(135deg,#f8f9fa,#e9ecef);min-height:100vh;padding:20px}.legal-container{background:#fff;border-radius:12px;box-shadow:0 4px 20px #00000014;margin:0 auto;max-width:800px;padding:40px}.legal-header{align-items:center;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;margin-bottom:30px;padding-bottom:20px}.back-link{color:#c41e3a;color:var(--rbf-red,#c41e3a);font-size:.95rem;transition:color .2s}.back-link:hover{color:#a01830}.legal-logo{height:50px;width:auto}.legal-container h1{color:#1f2937;font-size:2rem;margin-bottom:10px;text-align:center}.legal-effective{color:#6b7280;font-size:.9rem;margin-bottom:5px;text-align:center}.legal-version{color:#9ca3af;font-size:.8rem;margin-bottom:30px;text-align:center}.legal-content{color:#374151;line-height:1.7}.legal-content section{margin-bottom:30px}.legal-content h2{border-bottom:2px solid #c41e3a;border-bottom:2px solid var(--rbf-red,#c41e3a);color:#1f2937;font-size:1.25rem;margin-bottom:15px;padding-bottom:8px}.legal-content h3{color:#374151;font-size:1.05rem;margin:20px 0 10px}.legal-content p{margin-bottom:12px}.legal-content ul{margin:15px 0;padding-left:25px}.legal-content li{margin-bottom:8px}.legal-content li strong{color:#1f2937}.legal-content address{background:#f9fafb;border-left:3px solid #c41e3a;border-left:3px solid var(--rbf-red,#c41e3a);border-radius:8px;font-style:normal;margin-top:15px;padding:15px 20px}.legal-footer{border-top:1px solid #e5e7eb;margin-top:40px;padding-top:20px;text-align:center}.legal-link{color:#c41e3a;color:var(--rbf-red,#c41e3a);font-weight:500;text-decoration:none}.legal-link:hover{text-decoration:underline}@media (max-width:640px){.legal-container{margin:10px;padding:25px 20px}.legal-container h1{font-size:1.5rem}.legal-content h2{font-size:1.1rem}.legal-header{flex-direction:column;gap:15px}.back-link{align-self:flex-start}}.log-modal-overlay{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;padding:1rem;position:fixed;right:0;top:0;z-index:1000}.log-modal{background:#fff;border-radius:16px;box-shadow:0 10px 40px #0003;max-height:90vh;max-width:400px;overflow-y:auto;width:100%}.log-modal-header{align-items:center;border-bottom:1px solid #f3f4f6;display:flex;gap:.5rem;padding:1rem 1rem .75rem}.log-modal-icon{font-size:1.5rem}.log-modal-header h2{color:#1f2937;flex:1 1;font-size:1.125rem;font-weight:600;margin:0}.log-modal-close{background:none;border:none;color:#6b7280;cursor:pointer;font-size:1.5rem;line-height:1;padding:0}.log-modal form{padding:1rem}.form-group{margin-bottom:1rem}.form-group label{font-size:.85rem;margin-bottom:.5rem}.form-group input{border:1px solid #e5e7eb;border-radius:8px;font-size:1rem;padding:.75rem;transition:border-color .15s;width:100%}.form-group input:focus{border-color:#059669;box-shadow:0 0 0 3px #0596691a;outline:none}.form-group input:disabled{background:#f9fafb;color:#9ca3af}.animal-select-grid{grid-gap:.5rem;display:grid;gap:.5rem;grid-template-columns:repeat(2,1fr)}.animal-select-btn{align-items:center;background:#f9fafb;border:2px solid #0000;border-radius:10px;cursor:pointer;display:flex;flex-direction:column;padding:.75rem .5rem;transition:all .15s}.animal-select-btn:hover{background:#f3f4f6}.animal-select-btn.selected{background:#f0fdf4;border-color:#059669}.animal-select-icon{font-size:1.5rem;margin-bottom:.25rem}.animal-select-name{color:#1f2937;font-size:.8rem;font-weight:500;text-align:center}.animal-select-weight{color:#6b7280;font-size:.7rem}.quick-buttons{display:flex;gap:.5rem;margin-top:.5rem}.quick-btn{background:#f3f4f6;border:none;border-radius:6px;color:#4b5563;cursor:pointer;flex:1 1;font-size:.8rem;font-weight:500;padding:.5rem;transition:background .15s}.quick-btn:hover{background:#e5e7eb}.harvest-warning{background:#fef3c7;border:1px solid #fcd34d;border-radius:8px;display:flex;gap:.5rem;margin-bottom:1rem;padding:.75rem}.harvest-warning span{flex-shrink:0;font-size:1rem}.harvest-warning p{color:#92400e;font-size:.8rem;margin:0}.log-error{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#991b1b;font-size:.85rem;margin-bottom:1rem;padding:.75rem}.log-success{padding:2rem 1rem;text-align:center}.success-icon{display:block;font-size:3rem;margin-bottom:.5rem}.success-points{color:#059669;font-size:1.5rem;font-weight:700;margin:0 0 .25rem}.success-message{color:#4b5563;font-size:.9rem;margin:0}.log-modal-actions{display:flex;gap:.75rem;margin-top:1rem}.btn-cancel{background:#f3f4f6;border-radius:8px;color:#4b5563;flex:1 1;font-size:.9rem;font-weight:500;padding:.75rem;transition:background .15s}.btn-cancel:hover{background:#e5e7eb}.btn-submit{background:linear-gradient(135deg,#059669,#047857);border:none;border-radius:8px;color:#fff;cursor:pointer;flex:2 1;font-size:.9rem;font-weight:600;padding:.75rem;transition:transform .15s,opacity .15s}.btn-submit:hover:not(:disabled){transform:translateY(-1px)}.btn-submit:disabled{cursor:not-allowed;opacity:.5}.btn-harvest{background:linear-gradient(135deg,#dc2626,#b91c1c)}.log-loading{color:#6b7280;padding:2rem;text-align:center}.log-empty{padding:1.5rem;text-align:center}.log-empty p{color:#4b5563;margin:0}.log-empty-hint{color:#9ca3af!important;font-size:.85rem;margin-top:.5rem!important}.method-toggle{display:flex;gap:.5rem}.method-btn{background:#f3f4f6;border:2px solid #0000;border-radius:6px;color:#4b5563;cursor:pointer;flex:1 1;font-size:.8rem;font-weight:500;padding:.5rem;transition:all .15s}.method-btn.active{background:#f0fdf4;border-color:#059669;color:#059669}.tape-calculator{background:#f9fafb;border-radius:10px;margin-bottom:.5rem;padding:1rem}.tape-hint{color:#6b7280;font-size:.75rem;line-height:1.4;margin-bottom:.75rem}.btn-calculate{background:#508590;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.85rem;font-weight:600;margin-top:.5rem;padding:.625rem;transition:background .15s;width:100%}.btn-calculate:hover:not(:disabled){background:#3d6a72}.btn-calculate:disabled{cursor:not-allowed;opacity:.5}.calculated-result{background:#e8f5e9;border-radius:6px;color:#2e7d32;font-size:.9rem;margin-top:.75rem;padding:.75rem;text-align:center}.calculated-result strong{font-size:1.1rem}@media (max-width:360px){.animal-select-grid{grid-template-columns:1fr}.quick-buttons{flex-wrap:wrap}.quick-btn{flex-basis:calc(50% - 0.25rem);flex-grow:0;flex-shrink:0}}.farm-challenge-hub{margin:0 auto;max-width:600px;padding-bottom:2rem}.hub-header{align-items:center;display:flex;gap:.5rem;margin-bottom:1rem}.hub-icon{font-size:1.5rem}.hub-header h1{color:#1f2937;font-size:1.25rem;font-weight:700;margin:0}.points-card{background:linear-gradient(135deg,#059669,#047857);border-radius:16px;box-shadow:0 4px 12px #0596694d;color:#fff;margin-bottom:1.5rem;padding:1.5rem;text-align:center}.points-main{margin-bottom:.25rem}.points-balance{font-size:3rem;font-weight:800;line-height:1}.points-label{font-size:1rem;margin-left:.25rem;opacity:.9}.points-value-row{margin-bottom:1rem}.dollar-value{font-size:.9rem;opacity:.85}.points-stats{display:flex;gap:.75rem;justify-content:center;margin-bottom:1rem}.stat-pill{align-items:center;background:#fff3;border-radius:9999px;display:flex;font-size:.8rem;gap:.25rem;padding:.375rem .75rem}.redeem-btn{background:#fff;border-radius:9999px;color:#059669;display:inline-block;font-size:.9rem;font-weight:600;padding:.625rem 1.5rem;text-decoration:none;transition:transform .15s}.redeem-btn:active{transform:scale(.95)}.quick-log-section{margin-bottom:1.5rem}.quick-log-section h2{color:#1f2937;font-size:.9rem;font-weight:600;margin:0 0 .75rem}.quick-log-grid{grid-gap:.5rem;display:grid;gap:.5rem;grid-template-columns:repeat(4,1fr)}.log-btn{align-items:center;background:#fff;border-radius:12px;box-shadow:0 2px 4px #00000014;display:flex;flex-direction:column;justify-content:center;padding:1rem .5rem;transition:transform .15s,box-shadow .15s}.log-btn:active{transform:scale(.95)}.log-btn-icon{font-size:1.75rem;margin-bottom:.375rem}.log-btn-label{color:#4b5563;font-size:.75rem;font-weight:500}.recent-activity-section{background:#fff;border-radius:12px;box-shadow:0 1px 3px #00000014;margin-bottom:1rem;padding:1rem}.section-header{margin-bottom:.75rem}.section-header h2{color:#1f2937;font-size:.9rem;font-weight:600}.see-all{color:#059669;font-size:.8rem;font-weight:500;text-decoration:none}.activity-list{display:flex;flex-direction:column}.activity-item{align-items:center;border-bottom:1px solid #f3f4f6;display:flex;gap:.75rem;padding:.625rem 0}.activity-item:last-child{border-bottom:none}.activity-icon{font-size:1.25rem;text-align:center;width:2rem}.activity-info{flex:1 1;min-width:0}.activity-title{color:#1f2937;display:block;font-size:.85rem;font-weight:500}.activity-animal,.activity-date{color:#6b7280;display:block;font-size:.75rem}.activity-points{color:#059669;font-size:.9rem;font-weight:600}.activity-empty{color:#6b7280;font-size:.85rem;padding:1.5rem;text-align:center}.quick-links{display:flex;gap:.5rem}.quick-link{background:#fff;border-radius:10px;box-shadow:0 1px 3px #00000014;color:#4b5563;flex:1 1;font-size:.85rem;font-weight:500;gap:.5rem;padding:.75rem}.farm-challenge-join{margin:0 auto;max-width:600px;text-align:center}.join-header{margin-bottom:1.5rem}.join-icon{display:block;font-size:3rem;margin-bottom:.5rem}.join-header h1{color:#1f2937;font-size:1.5rem;font-weight:700;margin:0}.join-benefits{background:#fff;border-radius:16px;box-shadow:0 2px 8px #00000014;margin-bottom:1.5rem;padding:1.5rem}.join-tagline{color:#4b5563;font-size:1rem;margin:0 0 1.5rem}.benefit-list{margin-bottom:1.5rem;text-align:left}.benefit-item{align-items:flex-start;display:flex;gap:.75rem;margin-bottom:1rem}.benefit-item:last-child{margin-bottom:0}.benefit-icon{flex-shrink:0;font-size:1.5rem}.benefit-item strong{color:#1f2937;display:block;font-size:.9rem}.benefit-item p{color:#6b7280;font-size:.8rem;margin:0}.points-info{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;padding:1rem}.points-conversion{align-items:center;display:flex;gap:.5rem;justify-content:center;margin-bottom:.5rem}.points-value{color:#059669;font-size:1.25rem;font-weight:700}.points-equals{color:#6b7280}.points-dollar{color:#059669;font-size:1.25rem;font-weight:700}.points-info p{color:#166534;font-size:.8rem;margin:0}.join-btn{background:linear-gradient(135deg,#059669,#047857);border-radius:12px;box-shadow:0 4px 12px #0596694d;color:#fff;display:inline-block;font-size:1rem;font-weight:600;padding:1rem 2rem;text-decoration:none;transition:transform .15s}.join-btn:active{transform:scale(.95)}.join-btn:disabled{cursor:not-allowed;opacity:.6}.streak-info{border-top:1px solid #e5e7eb;margin-top:1.5rem;padding-top:1.5rem}.streak-info h3{color:#1f2937;font-size:.9rem;font-weight:600;margin:0 0 .75rem;text-align:center}.streak-tiers{grid-gap:.5rem;display:grid;grid-template-columns:repeat(2,1fr)}.streak-tier{flex-direction:column;gap:.125rem;padding:.5rem}.streak-tier.highlight{background:#fef3c7}.streak-weeks{color:#6b7280;font-size:.75rem}.streak-bonus{font-size:.85rem;font-weight:600}.streak-tier.highlight .streak-bonus{color:#d97706}.join-error{background:#fef2f2;border-radius:8px;color:#991b1b;font-size:.85rem;margin-bottom:1rem;padding:.75rem;text-align:center}.join-error p{margin:0}.farm-challenge-error,.farm-challenge-loading{padding:3rem 1rem;text-align:center}.spinner{border:3px solid #f3f4f6;border-top-color:#059669;height:40px;margin:0 auto 1rem;width:40px}.farm-challenge-error button{background:#059669;border:none;border-radius:8px;color:#fff;cursor:pointer;font-weight:500;padding:.5rem 1rem}.back-link{color:#059669}.back-link,.history-summary{font-size:.9rem;font-weight:500}.history-summary{color:#4b5563;margin-bottom:1rem}.history-list .activity-item{background:#fff;border-radius:10px;box-shadow:0 1px 3px #0000001a;margin-bottom:.5rem;padding:1rem}.activity-details{color:#4b5563;display:block;font-size:.8rem}.activity-points-detail{align-items:flex-end;display:flex;flex-direction:column;gap:.25rem}.activity-multiplier{background:#f0fdf4;border-radius:4px;color:#059669;font-size:.7rem;padding:.125rem .375rem}.pagination{align-items:center;display:flex;gap:1rem;justify-content:center;margin-top:1.5rem;padding:1rem 0}.pagination-btn{background:#059669;border:none;border-radius:8px;color:#fff;cursor:pointer;font-weight:500;padding:.5rem 1rem}.pagination-btn:disabled{background:#e5e7eb;color:#9ca3af;cursor:not-allowed}.pagination-info{color:#6b7280;font-size:.85rem}.redeem-balance{margin-bottom:1.5rem}.section-title{color:#1f2937;font-size:1rem;font-weight:600;margin:0 0 1rem}.redeem-tiers{display:flex;flex-direction:column;gap:.75rem}.redeem-tier{align-items:center;background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;display:flex;justify-content:space-between;padding:1rem}.redeem-tier.locked{opacity:.7}.tier-info{display:flex;flex-direction:column;gap:.25rem}.tier-value{color:#059669;font-size:1.25rem;font-weight:700}.tier-description{color:#4b5563;font-size:.85rem}.tier-points{color:#6b7280;font-size:.8rem}.tier-btn{border:none;border-radius:8px;cursor:pointer;flex-shrink:0;font-size:.85rem;font-weight:600;padding:.5rem 1rem}.tier-btn.btn-primary{background:linear-gradient(135deg,#059669,#047857);color:#fff}.tier-btn.btn-disabled{background:#e5e7eb;color:#9ca3af;cursor:not-allowed}.redeem-success{background:#fff;border-radius:16px;margin-bottom:1rem;padding:2rem 1rem;text-align:center}.redeem-success .success-icon{display:block;font-size:3rem;margin-bottom:.5rem}.redeem-success h3{color:#1f2937;margin:0 0 .5rem}.success-value{color:#059669;font-size:1.5rem;font-weight:700;margin:0 0 1rem}.success-code{background:#f3f4f6;border-radius:8px;margin-bottom:1rem;padding:1rem}.code-label{color:#6b7280;display:block;font-size:.75rem;margin-bottom:.25rem}.code-value{color:#1f2937;font-family:monospace;font-size:1.5rem;font-weight:700;letter-spacing:.1em}.success-note{color:#6b7280;font-size:.85rem;margin:0 0 1rem}.redeem-error{background:#fef2f2;border-radius:8px;color:#991b1b;font-size:.85rem;margin:1rem 0;padding:.75rem}.redeem-info{background:#f9fafb;border-radius:12px;margin-top:1.5rem;padding:1rem}.redeem-info h3{color:#1f2937;font-size:.9rem;font-weight:600;margin:0 0 .75rem}.redeem-info ul{color:#4b5563;font-size:.85rem;margin:0;padding-left:1.25rem}.redeem-info li{margin-bottom:.5rem}.btn-primary{background:linear-gradient(135deg,#059669,#047857);border-radius:8px;display:inline-block;font-weight:600;padding:.75rem 1.5rem}@media (max-width:360px){.quick-log-grid{grid-template-columns:repeat(2,1fr)}.log-btn-icon{font-size:1.5rem}.points-balance{font-size:2.5rem}}.opt-in-page{margin:0 auto;max-width:600px;padding-bottom:2rem}.opt-in-header{margin-bottom:1.5rem;text-align:center}.opt-in-icon{display:block;font-size:3rem;margin-bottom:.5rem}.opt-in-header h1{color:#1f2937;font-size:1.5rem;font-weight:700;margin:0}.opt-in-content{display:flex;flex-direction:column;gap:1.25rem}.opt-in-section{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:1.25rem}.opt-in-section h2{color:#1f2937;font-size:1rem;font-weight:600;margin:0 0 .75rem}.opt-in-section p{color:#4b5563;font-size:.9375rem;line-height:1.6;margin:0}.opt-in-section p+p{margin-top:.75rem}.points-breakdown{display:flex;flex-direction:column;gap:.75rem}.points-item{align-items:flex-start;background:#f9fafb;border-radius:8px;display:flex;gap:.75rem;padding:.75rem}.points-item.highlight{background:#fef3c7;border:1px solid #f59e0b}.points-icon{flex-shrink:0;font-size:1.25rem}.points-details{display:flex;flex-direction:column}.points-details strong{color:#1f2937;font-size:.875rem}.points-details span{color:#6b7280;font-size:.8125rem}.rules-list{display:flex;flex-direction:column;gap:.5rem;list-style:none;margin:0;padding:0}.rules-list li{color:#4b5563;font-size:.9375rem;padding-left:1.5rem;position:relative}.rules-list li:before{color:#b91c1c;content:"•";left:.5rem;position:absolute}.rules-list li strong{color:#1f2937}.section-intro{color:#374151!important;font-weight:500;margin-bottom:.75rem!important}.streak-tiers{display:flex;flex-direction:column;gap:.5rem}.streak-tier{align-items:center;background:#f9fafb;border-radius:8px;display:flex;justify-content:space-between;padding:.75rem}.streak-tier.highlight{background:#dcfce7;border:1px solid #10b981}.streak-days{color:#1f2937;font-size:.9375rem;font-weight:600}.streak-bonus{color:#059669;font-size:.875rem;font-weight:500}.streak-tier.highlight .streak-bonus{color:#047857}.streak-note{color:#6b7280!important;font-size:.8125rem!important;font-style:italic;margin-top:.75rem!important;text-align:center}.consistency-list{display:flex;flex-direction:column;gap:.75rem;list-style:none;margin:0;padding:0}.consistency-list li{background:#f9fafb;border-radius:8px;color:#4b5563;font-size:.9375rem;line-height:1.5;padding:.75rem}.consistency-list li:last-child{background:#f0fdf4;border:1px solid #10b981;color:#047857}.consistency-list li strong{color:#059669}.data-note{background:#fef3c7;border-left:3px solid #f59e0b;border-radius:8px;color:#92400e!important;font-size:.875rem!important;padding:.75rem}.redemption-info{text-align:center}.redemption-rate{align-items:center;background:#f0fdf4;border-radius:8px;display:flex;gap:.75rem;justify-content:center;margin-bottom:.75rem;padding:1rem}.rate-points{color:#1f2937;font-size:1.125rem;font-weight:600}.rate-equals{color:#9ca3af;font-size:1.25rem}.rate-value{color:#059669;font-size:1.125rem;font-weight:700}.redemption-info p{color:#6b7280;font-size:.875rem}.opt-in-error{background:#fee2e2;border-radius:8px;color:#991b1b;margin-top:1rem;padding:.75rem 1rem;text-align:center}.opt-in-error p{font-size:.875rem;margin:0}.opt-in-actions{display:flex;flex-direction:column;gap:.75rem;margin-top:1.5rem;padding:0 1rem}.btn-opt-in{background:#b91c1c;border:none;border-radius:12px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:1rem 1.5rem;transition:background .2s;width:100%}.btn-opt-in:hover{background:#991b1b}.btn-opt-in:disabled{cursor:not-allowed;opacity:.7}.btn-maybe-later{background:#0000;border:1px solid #d1d5db;border-radius:12px;color:#6b7280;cursor:pointer;font-size:.9375rem;font-weight:500;padding:.875rem 1.5rem;transition:all .2s;width:100%}.btn-maybe-later:hover{background:#f3f4f6;color:#374151}.btn-maybe-later:disabled{cursor:not-allowed;opacity:.5}.farm-challenge-loading{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:4rem 1rem}.farm-challenge-loading .spinner{animation:spin .8s linear infinite;border:3px solid #e5e7eb;border-radius:50%;border-top-color:#b91c1c;height:40px;width:40px}.farm-challenge-loading p{color:#6b7280;margin-top:1rem}.leaflet-image-layer,.leaflet-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane,.leaflet-pane>canvas,.leaflet-pane>svg,.leaflet-tile,.leaflet-tile-container,.leaflet-zoom-box{left:0;position:absolute;top:0}.leaflet-container{overflow:hidden}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile{-webkit-user-drag:none;-webkit-user-select:none;user-select:none}.leaflet-tile::selection{background:#0000}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{height:1600px;-webkit-transform-origin:0 0;width:1600px}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-height:none!important;max-width:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer{max-height:none!important;max-width:none!important;padding:0;width:auto}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{box-sizing:border-box;height:0;width:0;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{height:1px;width:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{pointer-events:visiblePainted;pointer-events:auto;position:relative;z-index:800}.leaflet-bottom,.leaflet-top{pointer-events:none;position:absolute;z-index:1000}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{clear:both;float:left}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-pan-anim .leaflet-tile,.leaflet-zoom-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-control,.leaflet-popup-pane{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:grabbing}.leaflet-image-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-image-layer.leaflet-interactive,.leaflet-marker-icon.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{background:#ffffff80;border:2px dotted #38f}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{border-radius:4px;box-shadow:0 1px 5px #000000a6}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;color:#000;display:block;height:26px;line-height:26px;text-align:center;text-decoration:none;width:26px}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:focus,.leaflet-bar a:hover{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom:none;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.leaflet-bar a.leaflet-disabled{background-color:#f4f4f4;color:#bbb;cursor:default}.leaflet-touch .leaflet-bar a{height:30px;line-height:30px;width:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{background:#fff;border-radius:5px;box-shadow:0 1px 5px #0006}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);height:36px;width:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{height:44px;width:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{background:#fff;color:#333;padding:6px 10px 6px 6px}.leaflet-control-layers-scrollbar{overflow-x:hidden;overflow-y:scroll;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{border-top:1px solid #ddd;height:0;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{color:#333;line-height:1.4;padding:0 5px}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:focus,.leaflet-control-attribution a:hover{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;height:.6669em;vertical-align:initial!important;width:1em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{background:#fffc;border:2px solid #777;border-top:none;box-sizing:border-box;line-height:1.1;padding:2px 5px 1px;text-shadow:1px 1px #fff;white-space:nowrap}.leaflet-control-scale-line:not(:first-child){border-bottom:none;border-top:2px solid #777;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers{box-shadow:none}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-layers{background-clip:padding-box;border:2px solid #0003}.leaflet-popup{margin-bottom:20px;position:absolute;text-align:center}.leaflet-popup-content-wrapper{border-radius:12px;padding:1px;text-align:left}.leaflet-popup-content{font-size:13px;font-size:1.08333em;line-height:1.3;margin:13px 24px 13px 20px;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{height:20px;left:50%;margin-left:-20px;margin-top:-1px;overflow:hidden;pointer-events:none;position:absolute;width:40px}.leaflet-popup-tip{height:17px;margin:-10px auto 0;padding:1px;pointer-events:auto;transform:rotate(45deg);width:17px}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;box-shadow:0 3px 14px #0006;color:#333}.leaflet-container a.leaflet-popup-close-button{background:#0000;border:none;color:#757575;font:16px/24px Tahoma,Verdana,sans-serif;height:24px;position:absolute;right:0;text-align:center;text-decoration:none;top:0;width:24px}.leaflet-container a.leaflet-popup-close-button:focus,.leaflet-container a.leaflet-popup-close-button:hover{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678,M12=0.70710678,M21=-0.70710678,M22=0.70710678);margin:0 auto;width:24px}.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{background-color:#fff;border:1px solid #fff;border-radius:3px;box-shadow:0 1px 3px #0006;color:#222;padding:6px;pointer-events:none;position:absolute;-webkit-user-select:none;user-select:none;white-space:nowrap}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before,.leaflet-tooltip-top:before{background:#0000;border:6px solid #0000;content:"";pointer-events:none;position:absolute}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{border-top-color:#fff;bottom:0;margin-bottom:-12px}.leaflet-tooltip-bottom:before{border-bottom-color:#fff;margin-left:-6px;margin-top:-12px;top:0}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{margin-top:-6px;top:50%}.leaflet-tooltip-left:before{border-left-color:#fff;margin-right:-12px;right:0}.leaflet-tooltip-right:before{border-right-color:#fff;left:0;margin-left:-12px}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.store-locator{background:#f9fafb;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;height:100vh;height:100dvh;overflow:hidden}.store-locator-header{background:linear-gradient(135deg,#059669,#047857);box-shadow:0 2px 8px #00000026;color:#fff;flex-shrink:0;padding:1.25rem 1rem;position:relative;text-align:center;z-index:10}.store-locator-header h1{font-size:1.5rem;font-weight:700;letter-spacing:-.02em;margin:0 0 .25rem}.store-locator-header p{font-size:.9rem;margin:0;opacity:.9}.store-locator-controls{background:#fff;border-bottom:1px solid #e5e7eb;box-shadow:0 1px 3px #0000000d;display:flex;flex-direction:column;flex-shrink:0;gap:.75rem;padding:1rem}.zip-search{display:flex;gap:.5rem;width:100%}.zip-search input{border:2px solid #e5e7eb;border-radius:10px;flex:1 1;font-size:1rem;min-height:48px;padding:.75rem 1rem;transition:border-color .2s,box-shadow .2s}.zip-search input:focus{border-color:#059669;box-shadow:0 0 0 3px #05966926;outline:none}.zip-search input::placeholder{color:#9ca3af}.zip-search button{background:linear-gradient(135deg,#059669,#047857);border:none;border-radius:10px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;min-height:48px;padding:.75rem 1.5rem;transition:transform .2s,box-shadow .2s;white-space:nowrap}.zip-search button:hover:not(:disabled){box-shadow:0 4px 12px #0596694d;transform:translateY(-1px)}.zip-search button:active:not(:disabled){transform:translateY(0)}.zip-search button:disabled{background:#d1d5db;cursor:not-allowed}.zip-search .location-btn{align-items:center;background:linear-gradient(135deg,#ecfdf5,#d1fae5);border:2px solid #a7f3d0;border-radius:10px;color:#047857;cursor:pointer;display:flex;flex-shrink:0;font-size:1.25rem;justify-content:center;min-height:48px;min-width:48px;padding:.75rem;transition:all .2s ease}.zip-search .location-btn:hover:not(:disabled){background:linear-gradient(135deg,#d1fae5,#a7f3d0);box-shadow:0 4px 12px #05966933;transform:translateY(-1px)}.zip-search .location-btn:disabled{background:#f3f4f6;border-color:#e5e7eb;cursor:wait}.category-filter{width:100%}.category-filter select{background:#fff;border:2px solid #e5e7eb;border-radius:10px;cursor:pointer;font-size:1rem;min-height:48px;padding:.75rem 1rem;transition:border-color .2s;width:100%}.category-filter select:focus{border-color:#059669;box-shadow:0 0 0 3px #05966926;outline:none}.brand-filter{width:100%}.brand-filter select{background:#fff;border:2px solid #e5e7eb;border-radius:10px;cursor:pointer;font-size:1rem;min-height:48px;padding:.75rem 1rem;transition:border-color .2s;width:100%}.brand-filter select:focus{border-color:#059669;box-shadow:0 0 0 3px #05966926;outline:none}.location-hint{background:#f3f4f6;border-radius:8px;color:#6b7280;font-size:.875rem;margin:0;padding:.625rem .875rem;text-align:center}.store-locator-content{display:flex;flex:1 1;flex-direction:column;min-height:0;overflow:hidden}.store-locator-map{border-bottom:3px solid #059669;flex-shrink:0;height:40vh;max-height:320px;min-height:220px;position:relative}.store-locator-list{-webkit-overflow-scrolling:touch;background:linear-gradient(180deg,#f3f4f6,#e5e7eb);flex:1 1;min-height:0;overflow-y:auto;padding:1rem}.store-count{border-radius:8px;font-size:.875rem;margin:0 0 1rem;padding:.5rem .75rem}.store-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 2px 8px #0000000f;cursor:pointer;margin-bottom:1rem;overflow:hidden;padding:1.25rem;position:relative;transition:all .25s ease}.store-card:before{background:#059669;content:"";height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .25s;width:4px}.store-card:hover{border-color:#d1d5db;box-shadow:0 8px 24px #0000001f;transform:translateY(-3px)}.store-card:hover:before{opacity:1}.store-card.selected{border-color:#059669;box-shadow:0 0 0 3px #05966933,0 8px 24px #0000001a}.store-card.selected:before{opacity:1}.store-card-header{align-items:center;display:flex;gap:1rem;margin-bottom:1rem}.store-logo-container{align-items:center;background:linear-gradient(135deg,#ecfdf5,#d1fae5);border:2px solid #a7f3d0;border-radius:12px;box-shadow:0 2px 4px #0000000d;display:flex;flex-shrink:0;height:52px;justify-content:center;overflow:hidden;width:52px}.store-logo{height:85%;object-fit:contain;width:85%}.store-logo-placeholder{align-items:center;display:flex;font-size:1.5rem;justify-content:center;line-height:1}.store-brand-logos{display:flex;flex-shrink:0;gap:.5rem}.brand-logo{background:#fff;border:2px solid #e5e7eb;border-radius:10px;box-shadow:0 2px 4px #0000000d;height:44px;object-fit:contain;padding:4px;width:44px}.store-card-info{flex:1 1;min-width:0}.store-name{word-wrap:break-word;font-size:1.05rem;margin:0 0 .375rem}.store-distance{align-items:center;background:linear-gradient(135deg,#059669,#047857);border-radius:20px;box-shadow:0 2px 4px #0596694d;color:#fff;display:inline-flex;font-size:.8rem;font-weight:700;gap:.25rem;padding:.25rem .75rem}.headquarters-star{font-size:1.1em;margin-right:.375rem;vertical-align:middle}.headquarters-badge{align-items:center;background:linear-gradient(135deg,#fef3c7,#fde68a);border:1.5px solid #f59e0b;border-radius:8px;box-shadow:0 2px 4px #f59e0b33;color:#92400e;display:inline-flex;font-size:.75rem;font-weight:700;letter-spacing:.02em;margin-bottom:.75rem;padding:.5rem .875rem}.store-address{margin:0 0 .75rem;padding-left:0}.store-address p{color:#4b5563;font-size:.9rem;line-height:1.5;margin:0}.store-hours{align-items:center;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;color:#374151;display:inline-flex;font-size:.8rem;gap:.5rem;margin:0 0 .75rem;padding:.5rem .75rem}.hours-icon{font-size:.9rem}.store-categories{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1rem}.category-badge{align-items:center;background:linear-gradient(135deg,#ecfdf5,#d1fae5);border:1px solid #a7f3d0;border-radius:20px;color:#047857;display:inline-flex;font-size:.75rem;font-weight:600;gap:.25rem;padding:.375rem .75rem}.store-animal-types{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 .75rem}.animal-type-badge{align-items:center;background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border:1px solid #7dd3fc;border-radius:20px;color:#0369a1;display:inline-flex;font-size:.75rem;font-weight:600;gap:.25rem;padding:.375rem .75rem}.store-actions{border-top:2px solid #f3f4f6;display:flex;flex-wrap:nowrap;gap:.5rem;padding-top:1rem}.btn{border-radius:10px;flex:1 1;gap:.375rem;min-height:48px;min-width:48px;padding:.75rem;transition:all .2s ease;white-space:nowrap}.btn-icon{flex-shrink:0;font-size:1.25rem;line-height:1}.btn-text{display:none}.btn-directions{background:linear-gradient(135deg,#059669,#047857);box-shadow:0 2px 6px #0596694d;color:#fff}.btn-directions:hover{box-shadow:0 4px 12px #05966966;transform:translateY(-2px)}.btn-call{background:linear-gradient(135deg,#ecfdf5,#d1fae5);border:2px solid #a7f3d0;color:#047857}.btn-call:hover{background:linear-gradient(135deg,#d1fae5,#a7f3d0);box-shadow:0 4px 12px #05966933;transform:translateY(-2px)}.btn-website{background:#f9fafb;border:2px solid #e5e7eb;color:#374151}.btn-website:hover{background:#f3f4f6;border-color:#d1d5db;box-shadow:0 4px 12px #00000014;transform:translateY(-2px)}.error,.loading,.no-stores{border-radius:16px;margin:1rem;padding:3rem 1.5rem}.loading{gap:1rem}.loading:before{border:4px solid #e5e7eb;height:48px;width:48px}.no-stores{color:#6b7280}.map-popup{font-size:.875rem}.map-type-toggle{background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 2px 8px #00000026;display:flex;overflow:hidden;position:absolute;right:10px;top:10px;z-index:1000}.map-toggle-btn{background:#fff;border:none;color:#374151;cursor:pointer;font-size:.8rem;font-weight:600;min-height:36px;padding:.5rem 1rem;transition:all .2s}.map-toggle-btn:first-child{border-right:1px solid #e5e7eb}.map-toggle-btn:hover:not(.active){background:#f3f4f6}.map-toggle-btn.active{background:linear-gradient(135deg,#059669,#047857);color:#fff}@media (min-width:768px){.store-locator-header{padding:1.5rem 2rem}.store-locator-header h1{font-size:1.75rem}.store-locator-header p{font-size:1rem}.store-locator-controls{align-items:center;flex-direction:row;gap:1rem;padding:1rem 1.5rem}.zip-search{flex:0 0 auto;width:auto}.zip-search input{flex:none;width:150px}.category-filter{flex:0 0 auto;width:auto}.category-filter select{min-width:180px;width:auto}.brand-filter{flex:0 0 auto;width:auto}.brand-filter select{min-width:180px;width:auto}.location-hint{background:#0000;flex:1 1;padding:0;text-align:left}.store-locator-content{flex-direction:row}.store-locator-map{border-bottom:none;border-right:3px solid #059669;flex:1 1;height:auto;max-height:none;min-height:0}.store-locator-list{flex-shrink:0;min-height:0;overflow-y:auto;padding:1.25rem;width:400px}.store-card{padding:1.25rem}.store-name{font-size:1.1rem}.store-actions{flex-wrap:nowrap;gap:.625rem}.btn{flex:0 1 auto;gap:.5rem;padding:.75rem 1rem}.btn-text{display:inline}.btn-icon{font-size:1.1rem}}@media (min-width:1024px){.store-locator-header{padding:1.75rem 3rem}.store-locator-header h1{font-size:2rem}.store-locator-controls{padding:1.25rem 2rem}.store-locator-list{padding:1.5rem;width:440px}.store-card{padding:1.5rem}.store-logo-container{height:56px;width:56px}.store-name{font-size:1.125rem}.store-address p{font-size:.925rem}}@media (min-width:1280px){.store-locator-list{width:500px}.store-card{padding:1.75rem}.store-logo-container{height:60px;width:60px}}.store-locator-embed{background:#fff;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;height:100vh;height:100dvh}.embed-controls{align-items:center;background:#f8f9fa;border-bottom:1px solid #e0e0e0;display:flex;flex-shrink:0;flex-wrap:wrap;gap:8px;padding:10px 12px}.zip-input{border:1px solid #ddd;border-radius:6px;flex:1 1;font-size:14px;max-width:140px;min-width:100px;padding:8px 12px;transition:border-color .2s,box-shadow .2s}.zip-input:focus{border-color:#059669;box-shadow:0 0 0 2px #05966926;outline:none}.zip-input::placeholder{color:#999}.location-btn{align-items:center;background:#fff;border:1px solid #ddd;border-radius:6px;cursor:pointer;display:flex;font-size:18px;justify-content:center;line-height:1;min-height:38px;min-width:38px;padding:8px 10px;transition:background .2s,border-color .2s}.location-btn:hover:not(:disabled){background:#f0f0f0;border-color:#ccc}.location-btn:disabled{cursor:wait;opacity:.6}.search-btn{background:#059669;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;min-height:38px;padding:8px 16px;transition:background .2s;white-space:nowrap}.search-btn:hover:not(:disabled){background:#047857}.search-btn:disabled{background:#ccc;cursor:not-allowed}.filter-select{border:1px solid #ddd;cursor:pointer;min-width:130px;transition:border-color .2s}.filter-select:focus{border-color:#059669;outline:none}.embed-content{display:flex;flex:1 1;min-height:0;overflow:hidden}.embed-map{flex:1 1;min-height:0;position:relative}.embed-list{background:#f9fafb;border-left:1px solid #e5e7eb;max-width:420px;min-width:320px;overflow-x:hidden;overflow-y:auto;padding:10px;width:40%}.store-count{background:#fff;border-radius:6px;box-shadow:0 1px 2px #0000000d;color:#374151;display:inline-block;font-size:.8rem;font-weight:600;margin:0 0 10px;padding:6px 10px}.embed-store-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 1px 3px #0000000d;cursor:pointer;margin-bottom:8px;padding:12px;transition:all .2s ease}.embed-store-card:hover{border-color:#059669;box-shadow:0 4px 12px #0000001a;transform:translateY(-1px)}.embed-store-card.selected{border-color:#059669;box-shadow:0 0 0 2px #05966933}.embed-store-card.is-hq{border-color:#f59e0b;border-width:2px}.card-row-1{align-items:flex-start;display:flex;gap:8px;justify-content:space-between;margin-bottom:4px}.store-name{color:#111827;flex:1 1;font-size:.875rem;font-weight:700;line-height:1.3;margin:0;min-width:0;word-break:break-word}.hq-icon{font-size:1em;margin-right:4px}.distance-badge{align-items:center;background:#059669;border-radius:12px;color:#fff;display:inline-flex;flex-shrink:0;font-size:.7rem;font-weight:700;justify-content:center;line-height:1;padding:3px 8px;white-space:nowrap}.hq-badge-row{margin-bottom:6px}.hq-badge{background:#fef3c7;border:1px solid #fcd34d;border-radius:4px;color:#92400e;display:inline-block;font-size:.65rem;font-weight:700;letter-spacing:.02em;padding:3px 8px}.store-address{color:#6b7280;font-size:.75rem;line-height:1.4;margin:0 0 8px}.animal-emojis{border-bottom:1px solid #f3f4f6;display:flex;flex-wrap:wrap;gap:4px;margin-bottom:8px;padding-bottom:8px}.emoji-badge{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:50%;font-size:1rem;line-height:1;width:26px}.emoji-badge,.emoji-more{align-items:center;display:inline-flex;height:26px;justify-content:center}.emoji-more{background:#f3f4f6;border-radius:13px;color:#6b7280;font-size:.65rem;font-weight:600;padding:0 6px}.card-actions{display:flex;gap:6px}.action-btn{align-items:center;background:#f9fafb;border:1px solid #e5e7eb;border-radius:6px;color:#374151;display:inline-flex;font-size:.75rem;gap:4px;justify-content:center;min-height:32px;padding:8px 12px;text-decoration:none;transition:all .15s ease;white-space:nowrap}.action-btn:hover{background:#f3f4f6;border-color:#d1d5db}.action-btn.primary{background:#059669;border:none;flex:1 1}.action-btn.primary:hover{background:#047857;box-shadow:0 2px 8px #0596694d}.action-btn.icon-only{font-size:1rem;min-width:32px;padding:8px}.action-btn span{font-size:.9rem;line-height:1}.error,.loading,.no-stores{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000000f;color:#6b7280;font-size:.875rem;margin:8px;padding:2rem 1rem;text-align:center}.loading{align-items:center;display:flex;flex-direction:column;gap:.75rem}.loading:before{animation:spin .8s linear infinite;border:3px solid #e5e7eb;border-radius:50%;border-top-color:#059669;content:"";height:32px;width:32px}.error{background:#fef2f2;border:1px solid #fecaca;color:#dc2626}.map-popup{font-size:13px;line-height:1.5}.custom-store-marker{background:#0000!important;border:none!important}.store-marker{background:#fff;border:2px solid #059669;border-radius:6px;box-shadow:0 2px 8px #0000004d;display:inline-flex;gap:2px;padding:3px;transition:transform .2s,box-shadow .2s;width:auto}.store-marker:hover{box-shadow:0 4px 12px #0006;transform:scale(1.1)}.headquarters-marker{align-items:center;background:#0000;border:none;display:flex;justify-content:center;padding:0}.hq-star{filter:drop-shadow(0 3px 6px rgba(245,158,11,.6));font-size:36px;line-height:1;transition:transform .2s,filter .2s}.headquarters-marker:hover .hq-star{filter:drop-shadow(0 4px 8px rgba(245,158,11,.8));transform:scale(1.15)}.marker-logo{border-radius:2px;display:block;flex-shrink:0;height:20px;object-fit:contain;width:20px}.marker-fallback{display:block;font-size:16px;line-height:20px}.user-location-marker{background:#0000}.user-marker-dot{background:#3b82f6;border:3px solid #fff;border-radius:50%;box-shadow:0 2px 8px #3b82f680;height:20px;position:relative;width:20px}.user-marker-dot:after{animation:pulse-ring 2s ease-out infinite;background:#3b82f64d;border-radius:50%;content:"";height:30px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:30px}@media (max-width:599px){.embed-controls{gap:6px;padding:8px 10px}.zip-input{flex:1 1;max-width:none;min-width:80px}.filter-select{flex:1 1;min-width:100px}.embed-content{flex-direction:column}.embed-map{flex:none;height:250px;min-height:200px}.embed-list{border-left:none;border-top:1px solid #e5e7eb;flex:1 1;max-width:none;min-height:0;min-width:0;width:100%}.embed-store-card{padding:10px}.store-name{font-size:.8rem}.store-address{font-size:.7rem}.emoji-badge{font-size:.9rem;height:24px;width:24px}.action-btn{font-size:.7rem;padding:6px 10px}.action-btn.icon-only{min-width:28px;padding:6px}}@media (min-width:600px) and (max-width:899px){.embed-map{flex:1 1}.embed-list{max-width:360px;min-width:280px;width:50%}}@media (min-width:900px){.embed-controls{padding:12px 16px}.embed-map{flex:60 1}.embed-list{flex:40 1;max-width:440px;min-width:340px;padding:12px;width:auto}.embed-store-card{padding:14px}.store-name{font-size:.9rem}.store-address{font-size:.8rem}.emoji-badge{font-size:1.1rem;height:28px;width:28px}.action-btn{font-size:.8rem;padding:8px 14px}.action-btn.primary{min-width:110px;padding:8px 16px}.action-btn.icon-only{min-width:32px;padding:8px}}@media (max-width:400px){.embed-controls{padding:6px 8px}.filter-select,.location-btn,.search-btn,.zip-input{font-size:16px;min-height:36px;padding:6px 10px}.store-count{font-size:.75rem}.embed-store-card{margin-bottom:6px;padding:8px}.card-row-1{gap:6px}.store-name{font-size:.75rem}.distance-badge{font-size:.65rem;padding:2px 6px}.store-address{font-size:.65rem;margin-bottom:6px}.animal-emojis{gap:3px;margin-bottom:6px;padding-bottom:6px}.emoji-badge{font-size:.85rem;height:22px;width:22px}.emoji-more{font-size:.6rem;height:22px;padding:0 5px}.card-actions{gap:4px}.action-btn{font-size:.65rem;min-height:28px;padding:6px 8px}.action-btn.icon-only{min-width:28px;padding:6px}}.planner-admin{margin:0 auto;max-width:1400px;padding:20px}.planner-admin-loading{color:#666;padding:40px;text-align:center}.admin-header{align-items:center;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;margin-bottom:24px}.admin-header h1{color:#8b0000;margin:0}.header-actions{flex-wrap:wrap;gap:12px}.btn-secondary{background:#f8f9fa;border:1px solid #ddd;text-decoration:none;transition:all .2s}.btn-secondary:hover{background:#e9ecef;border-color:#8b0000;color:#8b0000}.stats-grid{grid-gap:16px;gap:16px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));margin-bottom:30px}.stat-card{box-shadow:0 2px 8px #0000001a;padding:20px;position:relative}.stat-card.highlight-warning{border-left:4px solid #ffc107}.stat-value{color:#8b0000;font-size:36px}.stat-label{color:#666;margin-top:4px}.stat-badge{border-radius:10px;font-size:11px;padding:2px 8px;position:absolute;right:10px;top:10px}.stat-badge.danger{background:#dc3545;color:#fff}.alerts-section{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;margin-bottom:30px;padding:20px}.alerts-section h2{color:#333;font-size:18px;margin:0 0 16px}.alerts-list{display:flex;flex-direction:column;gap:12px}.alert-card{background:#f8f9fa;border-left:4px solid #ffc107;border-radius:8px;padding:16px}.alert-card.verification_overdue{border-left-color:#dc3545}.alert-card.order_modified{border-left-color:#17a2b8}.alert-card.large_order{border-left-color:#28a745}.alert-header{display:flex;justify-content:space-between;margin-bottom:8px}.alert-type{color:#333}.alert-status{color:#666;font-size:12px}.alert-body{margin-bottom:12px}.alert-customer{color:#8b0000;font-size:14px;font-weight:500}.alert-message{color:#666;font-size:14px;margin:4px 0 0}.alert-footer{align-items:center;display:flex;justify-content:space-between}.alert-date{color:#999;font-size:12px}.btn-resolve{background:#28a745;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:13px;padding:6px 16px}.btn-resolve:hover{background:#218838}.quick-actions-section{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;padding:20px}.quick-actions-section h2{color:#333;font-size:18px;margin:0 0 16px}.actions-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.action-card{align-items:center;color:#333;display:flex;flex-direction:column;padding:24px;text-align:center;text-decoration:none;transition:all .2s}.action-card:hover{background:#e9ecef;transform:translateY(-2px)}.action-icon{font-size:32px;margin-bottom:12px}.action-title{font-weight:600;margin-bottom:4px}.action-desc{color:#666;font-size:13px}.batches-admin-page,.orders-admin-page,.plans-admin-page{margin:0 auto;max-width:1400px;padding:20px}.btn-primary{padding:10px 24px;text-decoration:none}.filters-bar{flex-wrap:wrap;gap:12px;margin-bottom:20px}.filters-bar input,.filters-bar select{border:1px solid #ddd;border-radius:4px;padding:8px 12px}.data-table{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;overflow:hidden;width:100%}.data-table table{border-collapse:collapse;width:100%}.data-table td,.data-table th{border-bottom:1px solid #eee;padding:12px 16px;text-align:left}.data-table th{color:#333;font-weight:600}.data-table th,.data-table tr:hover{background:#f8f9fa}.status-badge{border-radius:12px;font-weight:500}.status-badge.draft{background:#e2e3e5;color:#383d41}.status-badge.active{background:#d4edda;color:#155724}.status-badge.pending{background:#fff3cd;color:#856404}.status-badge.verified{background:#cce5ff;color:#004085}.status-badge.overdue{background:#f8d7da;color:#721c24}.actions-cell{display:flex;gap:8px}.btn-small{border:none;border-radius:4px;cursor:pointer;font-size:12px;padding:4px 12px}.btn-small.edit{background:#e9ecef;color:#333}.btn-small.view{background:#cce5ff;color:#004085}.btn-small.danger{background:#f8d7da;color:#721c24}.dashboard-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));margin-bottom:30px}.dashboard-card{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;padding:20px}.dashboard-card .card-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.dashboard-card .card-header h2{color:#333;font-size:18px;margin:0}.stat-sublabel{color:#999;font-size:12px;margin-top:4px}.planner-error{background:#f8d7da;color:#721c24;margin:20px 0;padding:16px}.link-primary{color:#8b0000;font-weight:500;text-decoration:none}.link-primary:hover{text-decoration:underline}.data-table.compact td,.data-table.compact th{font-size:14px;padding:8px 12px}.create-plan-admin-page,.profiles-admin-page,.tips-admin-page{margin:0 auto;max-width:1400px;padding:20px}.profiles-list,.tips-list{display:flex;flex-direction:column;gap:16px}.profile-card,.tip-card{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.profile-card.inactive,.tip-card.inactive{opacity:.7}.profile-header{align-items:center;cursor:pointer;display:flex;padding:16px 20px;transition:background .2s}.profile-header:hover{background:#f8f9fa}.profile-main-info{align-items:center;display:flex;flex:1 1;gap:16px}.profile-main-info h3{color:#333;margin:0}.profile-category,.profile-system{background:#e9ecef;border-radius:12px;color:#666;font-size:12px;padding:4px 10px}.profile-stats{display:flex;gap:20px;margin-right:20px}.profile-stats .stat{color:#666;font-size:13px}.profile-stats .stat strong{color:#333}.expand-icon{font-size:12px}.profile-details{background:#f8f9fa;border-top:1px solid #eee;padding:20px}.profile-description{color:#666;margin:0 0 16px}.stages-section h4{color:#333;margin:0 0 12px}.stages-table{background:#fff;border-collapse:collapse;border-radius:4px;overflow:hidden;width:100%}.stages-table td,.stages-table th{border-bottom:1px solid #eee;padding:10px 12px;text-align:left}.stages-table th{background:#f0f0f0;font-size:13px;font-weight:600}.no-stages{color:#999;font-style:italic}.profile-actions{display:flex;gap:10px;margin-top:16px}.tip-header{align-items:flex-start;border-bottom:1px solid #eee;display:flex;justify-content:space-between;padding:16px 20px}.tip-header h3{color:#333;margin:0}.tip-badges{display:flex;gap:8px}.category-badge,.condition-badge,.severity-badge{border-radius:12px;font-size:11px;padding:4px 10px}.condition-badge{background:#e3f2fd;color:#1565c0}.condition-badge.heat{background:#ffebee;color:#c62828}.condition-badge.cold{background:#e3f2fd;color:#1565c0}.condition-badge.wet{background:#e0f7fa;color:#00838f}.condition-badge.storm{background:#fce4ec;color:#ad1457}.severity-badge{background:#fff3e0;color:#e65100}.severity-badge.severe{background:#ffebee;color:#c62828}.severity-badge.extreme{background:#b71c1c;color:#fff}.category-badge{background:#f3e5f5;color:#7b1fa2}.tip-content{padding:16px 20px}.tip-advice{color:#333;line-height:1.5;margin:0 0 12px}.tip-section{background:#f8f9fa;border-radius:4px;font-size:14px;margin-top:10px;padding:10px}.tip-section.emergency{background:#fff3cd;border-left:3px solid #ffc107}.tip-footer{align-items:center;background:#f8f9fa;border-top:1px solid #eee;display:flex;justify-content:space-between;padding:12px 20px}.status-indicator{border-radius:10px;font-size:12px;padding:4px 10px}.status-indicator.active{background:#d4edda;color:#155724}.status-indicator.inactive{background:#f8d7da;color:#721c24}.tip-actions{display:flex;gap:8px}.btn-small.success{background:#d4edda;color:#155724}.btn-small.warning{background:#fff3cd;color:#856404}.modal-content{background:#fff;border-radius:12px;max-height:90vh;max-width:500px;overflow-y:auto;padding:24px;width:90%}.modal-content.large{max-width:700px}.modal-content h2{color:#333}.form-section{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;margin-bottom:20px;padding:24px}.form-section h2{color:#333;font-size:18px;margin:0 0 20px}.form-group{margin-bottom:16px}.form-group.checkbox label{align-items:center;cursor:pointer;display:flex;gap:8px}.form-group.checkbox input{width:auto}.form-row{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.form-actions{border-top:1px solid #eee;padding-top:20px}.batch-entry{margin-bottom:16px}.batch-header h4{color:#333;margin:0}.error-message{background:#f8d7da;border-radius:6px;color:#721c24;margin-bottom:20px;padding:12px 16px}.empty-table-message{color:#666;padding:40px;text-align:center}.sublabel{color:#999;font-size:11px;margin-top:2px}.feed-line-badge{border-radius:10px;font-size:11px;padding:3px 8px}.feed-line-badge.essentials{background:#e9ecef;color:#495057}.feed-line-badge.plus{background:#e3f2fd;color:#1565c0}.feed-line-badge.five_star{background:#fff3cd;color:#856404}.status-badge.planned{background:#e2e3e5;color:#383d41}.status-badge.harvested{background:#d4edda;color:#155724}.status-badge.cancelled{background:#f8d7da;color:#721c24}@media (max-width:768px){.admin-header{align-items:flex-start;flex-direction:column}.stats-grid{grid-template-columns:repeat(2,1fr)}.data-table{overflow-x:auto}.dashboard-grid{grid-template-columns:1fr}.profile-header{align-items:flex-start;flex-direction:column;gap:12px}.profile-stats{flex-wrap:wrap}.form-row{grid-template-columns:1fr}input,select,textarea{font-size:16px!important}}.planner-dashboard{margin:0 auto;max-width:1400px;padding:20px}.planner-header{margin-bottom:24px}.planner-header h1{color:#8b0000;font-size:28px;margin:0 0 8px}.planner-header p{color:#666;margin:0}.planner-error,.planner-loading{color:#666;padding:40px;text-align:center}.planner-error{background:#fee;border-radius:8px;color:#dc3545}.quick-voice-section{align-items:center;background:linear-gradient(135deg,#fef2f2,#fee2e2);border:2px solid #fecaca;border-radius:12px;display:flex;flex-direction:column;gap:12px;margin-bottom:24px;padding:24px}.voice-log-hint{color:#6b7280;font-size:14px;margin:0;text-align:center}.weather-alerts-banner{background:linear-gradient(135deg,#fff3cd,#ffeeba);border:1px solid #ffc107;border-radius:8px;margin-bottom:20px;padding:16px}.weather-alerts-banner h3{color:#856404;margin:0 0 12px}.weather-alert{align-items:center;background:#fff;border-radius:4px;display:flex;gap:16px;margin-bottom:8px;padding:8px 12px}.weather-alert.severity-high{border-left:4px solid #dc3545}.weather-alert.severity-medium{border-left:4px solid #ffc107}.weather-alert.severity-low{border-left:4px solid #17a2b8}.alert-type{font-weight:600;text-transform:capitalize}.alert-date{color:#666;font-size:14px}.alert-desc{color:#333;flex:1 1}.view-forecast-link{color:#8b0000;display:inline-block;font-weight:500;margin-top:8px;text-decoration:none}.view-forecast-link:hover{text-decoration:underline}.verification-banner{background:linear-gradient(135deg,#d4edda,#c3e6cb);border:2px solid #28a745;border-radius:8px;margin-bottom:20px;padding:16px}.verification-banner h3{color:#155724;margin:0 0 8px}.verification-banner p{color:#155724;margin:0 0 12px}.pending-orders-list{display:flex;flex-direction:column;gap:8px}.pending-order-card{align-items:center;background:#fff;border-radius:4px;display:flex;justify-content:space-between;padding:12px 16px}.pending-order-card.overdue{border:2px solid #dc3545}.order-info{align-items:center;display:flex;gap:24px}.ship-date{font-weight:600}.deadline{color:#666}.pending-order-card.overdue .deadline{color:#dc3545;font-weight:600}.total-bags{color:#666}.btn-verify{align-items:center;background:#8b0000;border-radius:4px;color:#fff;display:inline-flex;font-weight:500;justify-content:center;min-height:44px;padding:8px 16px;text-decoration:none}.btn-verify:hover{background:#6d0000}.planner-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:1fr}@media (min-width:992px){.planner-grid{grid-template-columns:repeat(2,1fr)}}.planner-card{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;padding:20px}.card-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.card-header h2{color:#333;font-size:18px;margin:0}.view-all{color:#8b0000;font-size:14px;text-decoration:none}.view-all:hover{text-decoration:underline}.empty-message{color:#666;padding:20px;text-align:center}.batches-list{display:flex;flex-direction:column;gap:16px;width:100%}.batch-row{gap:4px}.batch-info{justify-content:space-between}.batch-details,.batch-profile{color:#666;font-size:14px}.batch-details{display:flex;gap:16px}.batch-week{color:#333;font-weight:500}.batch-feed{color:#28a745}.batch-harvest{color:#666;font-size:13px}.deliveries-list{display:flex;flex-direction:column;gap:12px}.delivery-row{align-items:center;background:#f8f9fa;border-radius:4px;display:flex;justify-content:space-between;padding:12px}.delivery-date{display:flex;flex-direction:column}.days-until{color:#666;font-size:12px}.delivery-info{align-items:center;display:flex;flex-direction:column}.plan-name{color:#666;font-size:14px}.delivery-status{border-radius:4px;font-size:12px;padding:2px 8px}.delivery-status.status-active{background:#d4edda;color:#155724}.delivery-status.status-verified{background:#cce5ff;color:#004085}.delivery-status.status-pending{background:#fff3cd;color:#856404}.delivery-bags{color:#333;font-weight:600}.plans-list{display:flex;flex-direction:column;gap:12px}.plan-info{align-items:center;display:flex;gap:12px}.plan-name{font-weight:600}.plan-year{color:#666;font-size:14px}.plan-stats{align-items:flex-end;display:flex;flex-direction:column;gap:4px}.batch-count{color:#666;font-size:14px}.plan-status{border-radius:4px;font-size:12px;padding:2px 8px}.plan-status.status-active{background:#d4edda;color:#155724}.quick-links-card h2{color:#333;font-size:18px;margin:0 0 16px}.quick-links{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(2,1fr)}.quick-link{align-items:center;background:#f8f9fa;border-radius:8px;color:#333;display:flex;flex-direction:column;justify-content:center;min-height:44px;padding:16px;text-decoration:none;transition:all .2s}.quick-link:hover{background:#e9ecef;transform:translateY(-2px)}.link-icon{font-size:24px;margin-bottom:8px}.batches-page,.orders-page,.weather-page{margin:0 auto;max-width:1200px;padding:20px}.page-header{justify-content:space-between;margin-bottom:24px}.page-header h1{color:#8b0000;margin:0}.back-link{color:#666}.back-link:hover{color:#8b0000}.no-address-message{background:#fff;border-radius:12px;box-shadow:0 2px 12px #0000001a;margin:40px auto;max-width:500px;padding:48px;text-align:center}.no-address-icon{font-size:64px;margin-bottom:20px}.no-address-message h2{color:#333;font-size:24px;margin:0 0 16px}.no-address-message p{color:#666;line-height:1.6;margin:0 0 12px}.no-address-message .helper-text{color:#888;font-size:14px;margin-bottom:24px}.no-address-message .btn-primary{background:#8b0000;border-radius:6px;color:#fff;display:inline-block;font-weight:600;padding:12px 32px;text-decoration:none;transition:background .2s}.no-address-message .btn-primary:hover{background:#6b0000}.filter-bar{display:flex;gap:12px;margin-bottom:20px}.filter-bar select{border:1px solid #ddd;border-radius:4px;padding:8px 12px}.batch-card-link{display:block;width:100%}.batch-card-link:hover .batch-card{box-shadow:0 4px 12px #00000026}.batch-card{background:#fff;border:1px solid #e0e0e0;box-shadow:0 2px 8px #0000001a;box-sizing:border-box;padding:20px;width:100%}.batch-card-footer{border-top:1px solid #f0f0f0;margin-top:12px;padding-top:12px;text-align:right}.view-details-hint{color:#508590;font-size:13px;font-weight:500}.batch-card-header{align-items:flex-start;margin-bottom:16px}.batch-card-header h3{color:#8b0000;margin:0}.batch-card-header .batch-number-secondary{color:#888;display:block;font-family:monospace;font-size:12px;font-weight:400;margin-top:2px}.batch-status-badge{border-radius:4px;font-size:14px;padding:4px 12px}.batch-meta{display:flex;flex-wrap:wrap;gap:16px 24px}.batch-meta .meta-item{min-width:100px}.meta-item{flex-direction:column}.meta-label{color:#666;font-size:12px;text-transform:uppercase}.meta-value{color:#333;font-weight:500}@media (max-width:768px){.batches-page{padding:16px}.page-header{align-items:flex-start;flex-direction:column;gap:12px}.batch-card{padding:16px}.batch-card-header{flex-direction:column;gap:8px}.batch-card-header h3{font-size:16px}.batch-meta{gap:12px 16px}.batch-meta .meta-item{min-width:80px}}.weather-section{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;margin-bottom:20px;padding:20px}.weather-section h2{color:#333;margin:0 0 16px}.forecast-grid{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}.forecast-day{background:#f8f9fa;border-radius:8px;padding:12px;text-align:center}.forecast-date{font-weight:600;margin-bottom:8px}.forecast-temps{display:flex;font-size:14px;gap:8px;justify-content:center}.temp-high{color:#dc3545}.temp-low{color:#007bff}.forecast-conditions{color:#666;font-size:12px;margin-top:4px}.tips-list{display:flex;flex-direction:column;gap:12px}.tip-card{background:#f8f9fa;border-left:4px solid #8b0000;border-radius:8px;padding:16px}.tip-card h4{color:#333;margin:0 0 8px}.tip-advice{color:#666;margin-bottom:8px}.tip-feed-note{background:#e8f5e9;border-radius:4px;color:#2e7d32;font-size:14px;padding:8px 12px}.verification-page{margin:0 auto;max-width:800px;padding:20px}.verification-card{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;padding:24px}.verification-header{border-bottom:1px solid #eee;margin-bottom:24px;padding-bottom:24px;text-align:center}.verification-header h1{color:#8b0000;margin:0 0 8px}.order-meta{color:#666;display:flex;gap:24px;justify-content:center;margin-top:16px}.order-lines{margin-bottom:24px}.order-lines h3{margin:0 0 16px}.order-line{align-items:center;background:#f8f9fa;border-radius:4px;display:flex;justify-content:space-between;margin-bottom:8px;padding:12px 16px}.line-product{font-weight:500}.line-quantity{align-items:center;display:flex;gap:12px}.quantity-input{border:1px solid #ddd;border-radius:4px;padding:8px;text-align:center;width:80px}.verification-actions{display:flex;flex-direction:column;gap:12px}.notes-input{border:1px solid #ddd;border-radius:4px;min-height:80px;padding:12px;resize:vertical;width:100%}.btn-group{display:flex;gap:12px;justify-content:center}.btn-approve{background:#28a745;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:16px;padding:12px 32px}.btn-approve:hover{background:#218838}.btn-save-changes{background:#ffc107;border:none;border-radius:4px;color:#333;cursor:pointer;font-size:16px;padding:12px 32px}.btn-save-changes:hover{background:#e0a800}.create-plan-wizard{margin:0 auto;max-width:800px;padding:20px}.wizard-header{margin-bottom:32px;text-align:center}.wizard-header h1{color:#8b0000;font-size:28px;margin:0 0 8px}.wizard-subtitle{color:#666;font-size:16px;margin:0}.wizard-progress{display:flex;gap:8px;justify-content:center;margin-bottom:32px}.progress-step{align-items:center;display:flex;flex:1 1;flex-direction:column;gap:4px;max-width:150px;position:relative}.progress-step:not(:last-child):after{background:#ddd;content:"";height:2px;left:60%;position:absolute;right:-40%;top:16px;z-index:0}.progress-step.completed:not(:last-child):after{background:#28a745}.step-number{align-items:center;background:#ddd;border-radius:50%;color:#666;display:flex;font-weight:600;height:32px;justify-content:center;width:32px;z-index:1}.progress-step.active .step-number{background:#8b0000;color:#fff}.progress-step.completed .step-number{background:#28a745;color:#fff}.step-label{color:#666;font-size:12px;text-align:center}.progress-step.active .step-label{color:#8b0000;font-weight:500}.wizard-error{background:#fee;border:1px solid #dc3545;border-radius:8px;color:#dc3545;margin-bottom:20px;padding:12px 16px;text-align:center}.wizard-step{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;margin-bottom:24px;padding:24px}.wizard-step h2{color:#333;font-size:20px;margin:0 0 20px}.animal-type-grid{display:flex;flex-direction:column;gap:24px}.animal-category h3{border-bottom:1px solid #eee;color:#666;font-size:14px;margin:0 0 12px;padding-bottom:8px;text-transform:uppercase}.animal-type-options{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.animal-type-card{align-items:flex-start;background:#fff;border:2px solid #ddd;border-radius:8px;cursor:pointer;display:flex;flex-direction:column;padding:16px;text-align:left;transition:all .2s}.animal-type-card.selected,.animal-type-card:hover{background:#fdf5f5;border-color:#8b0000}.animal-type-card.selected{box-shadow:0 0 0 3px #8b00001a}.animal-name{color:#333;font-weight:600;margin-bottom:4px}.duration-badge,.recurring-badge{border-radius:10px;font-size:11px;margin-top:4px;padding:2px 8px}.recurring-badge{background:#e8f5e9;color:#2e7d32}.duration-badge{background:#e3f2fd;color:#1565c0}.animal-badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}.animal-desc{color:#666;font-size:12px;line-height:1.3;margin-top:6px}.feed-estimate{color:#28a745;font-size:13px;font-weight:500;margin-top:6px}.selected-animal{background:#f8f9fa;border-radius:8px;color:#8b0000;margin-bottom:20px;padding:12px 16px}.form-grid{grid-gap:20px;gap:20px}@media (max-width:600px){.form-grid{grid-template-columns:1fr}}.form-group input,.form-group select,.form-group textarea{border:1px solid #ddd;font-size:15px;transition:border-color .2s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#8b0000}.form-hint{color:#28a745}.plan-setup-form{margin:0 auto;max-width:600px}.plan-setup-form .form-group{margin-bottom:24px}.plan-setup-form .form-group:last-child{margin-bottom:0}.plan-setup-form input,.plan-setup-form textarea{border:1px solid #ddd;border-radius:8px;font-size:16px;padding:12px 14px;transition:border-color .2s,box-shadow .2s;width:100%}.plan-setup-form input:focus,.plan-setup-form textarea:focus{border-color:#8b0000;box-shadow:0 0 0 3px #8b00001a;outline:none}.plan-setup-form label{color:#333;display:block;font-size:15px;font-weight:600;margin-bottom:8px}.plan-setup-form .form-hint{color:#666;font-size:13px}.estimate-card{background:linear-gradient(135deg,#e8f5e9,#c8e6c9);border-radius:8px;margin-bottom:24px;padding:20px}.estimate-card h3{color:#2e7d32;margin:0 0 16px}.estimate-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(3,1fr)}.estimate-item{text-align:center}.estimate-value{color:#1b5e20;display:block;font-size:28px;font-weight:700}.estimate-label{color:#388e3c;font-size:13px}.estimate-note{color:#666;font-size:13px;margin:16px 0 0;text-align:center}.review-card{background:#fff;border:1px solid #ddd;border-radius:8px;padding:24px}.review-card h3{color:#8b0000;font-size:20px;margin:0 0 20px}.review-card h3,.review-section{border-bottom:1px solid #eee;padding-bottom:16px}.review-section{margin-bottom:20px}.review-section:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.review-section h4{color:#666;font-size:12px;margin:0 0 12px;text-transform:uppercase}.review-row{display:flex;justify-content:space-between;padding:6px 0}.review-label{color:#666}.review-value{color:#333;font-weight:500}.review-stages{margin-top:8px}.stage-item{background:#f8f9fa;border-radius:4px;display:flex;font-size:14px;gap:16px;margin-bottom:4px;padding:8px 12px}.stage-weeks{color:#666}.stage-feed{color:#28a745;font-weight:500}.review-note{background:#fff3cd;border:1px solid #ffc107;border-radius:8px;margin-top:20px;padding:16px}.review-note p{color:#856404;font-size:14px;margin:0}.wizard-nav{align-items:center;display:flex;justify-content:space-between;padding-top:16px}.nav-spacer{flex:1 1}.btn-primary,.btn-secondary{border:none;border-radius:6px;cursor:pointer;font-size:15px;font-weight:500;min-height:44px;padding:12px 24px;transition:all .2s}.btn-primary{background:#8b0000}.btn-primary:hover{background:#6d0000}.btn-secondary{background:#e9ecef}.btn-secondary:hover{background:#dee2e6}.btn-secondary:disabled{color:#999;cursor:not-allowed}.btn-create{font-size:16px;padding:14px 32px}.wizard-cancel{margin-top:16px;text-align:center}.btn-link{background:none;border:none;color:#666;cursor:pointer;font-size:14px;text-decoration:underline}.btn-link:hover{color:#8b0000}.btn-create-plan{align-items:center;background:#8b0000;border-radius:6px;color:#fff;display:inline-flex;font-size:14px;font-weight:500;gap:8px;padding:10px 16px;text-decoration:none;transition:background .2s}.btn-create-plan:hover{background:#6d0000}.empty-with-action{padding:24px 20px;text-align:center}.empty-with-action p{color:#666;margin:0 0 16px}.step-hint{color:#666;font-size:14px;margin:-8px 0 20px}.batch-entry{background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;margin-bottom:12px;padding:16px}.batch-header{align-items:center;border-bottom:1px solid #dee2e6;display:flex;justify-content:space-between;margin-bottom:12px;padding-bottom:8px}.batch-number{color:#8b0000;font-size:14px;font-weight:600}.btn-remove-batch{background:none;border:1px solid #dc3545;border-radius:4px;color:#dc3545;cursor:pointer;font-size:12px;padding:4px 12px;transition:all .2s}.btn-remove-batch:hover{background:#dc3545;color:#fff}.batch-fields{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(2,1fr)}@media (max-width:600px){.batch-fields{grid-template-columns:1fr}}.batch-field{display:flex;flex-direction:column;gap:4px}.batch-field label{color:#666;font-size:12px;font-weight:500}.batch-field input,.batch-field select{border:1px solid #ddd;border-radius:4px;font-size:14px;padding:8px 10px}.batch-field input:focus,.batch-field select:focus{border-color:#8b0000;outline:none}.batch-field-wide{grid-column:1/-1}.field-hint{color:#888;font-size:11px;margin-top:2px}.batch-info{flex-wrap:wrap;gap:16px;margin-top:12px}.batch-info-item{background:#e8f5e9;border-radius:12px;color:#28a745;font-size:12px;padding:4px 10px}.no-batches-message{background:#f8f9fa;border:2px dashed #ddd;border-radius:8px;padding:24px;text-align:center}.no-batches-message p{color:#666;margin:0}.add-batch-section{align-items:center;border-top:1px solid #eee;display:flex;gap:16px;margin-top:16px;padding:16px 0}.btn-add-batch{background:#28a745;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;padding:10px 20px;transition:background .2s}.btn-add-batch:hover{background:#218838}.add-batch-hint{color:#666;font-size:13px}.add-batch-hint strong{color:#8b0000}.plan-name-section{border-top:1px solid #eee;margin-top:24px;padding-top:20px}.estimate-subtitle{color:#388e3c;font-size:14px;margin:-8px 0 16px;text-align:center}.review-batches-table{overflow-x:auto}.review-batches-table table{border-collapse:collapse;font-size:14px;width:100%}.review-batches-table td,.review-batches-table th{border-bottom:1px solid #eee;padding:10px 12px;text-align:left}.review-batches-table th{background:#f8f9fa;color:#666;font-size:12px;font-weight:600;text-transform:uppercase}.review-batches-table tr:last-child td{border-bottom:none}.review-batches-table td:first-child{color:#999;text-align:center;width:40px}.review-step{max-width:100%}.review-step .review-section{border-bottom:1px solid #eee;margin-bottom:28px;padding-bottom:24px}.review-step .review-section:last-child{border-bottom:none;margin-bottom:0}.review-step .review-section h2{color:#8b0000;font-size:22px;margin:0 0 16px}.review-step .review-section h3{color:#333;font-size:17px;margin:0 0 12px}.section-hint{color:#666;font-size:14px;margin:-4px 0 16px}.plan-summary-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(3,1fr)}@media (max-width:768px){.plan-summary-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:480px){.plan-summary-grid{grid-template-columns:1fr}}.summary-item{background:#f8f9fa;border-radius:8px;padding:12px 16px}.summary-label{color:#666;display:block;font-size:12px;margin-bottom:4px;text-transform:uppercase}.summary-value{color:#333;display:block;font-size:15px;font-weight:600}.batch-timeline-table{overflow-x:auto}.batch-timeline-table table{border-collapse:collapse;font-size:14px;width:100%}.batch-timeline-table td,.batch-timeline-table th{border-bottom:1px solid #eee;padding:10px 12px;text-align:left}.batch-timeline-table th{background:#8b0000;color:#fff;font-size:12px;font-weight:600;text-transform:uppercase}.batch-timeline-table tbody tr:hover{background:#f8f9fa}.projected-orders-list{display:flex;flex-direction:column;gap:16px}.projected-order-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;overflow:hidden}.projected-order-card .order-header{align-items:center;background:#f8f9fa;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;padding:12px 16px}.order-title{color:#8b0000;font-weight:600}.order-date{color:#666;font-size:14px}.order-lines-table{border-collapse:collapse;font-size:14px;width:100%}.order-lines-table td,.order-lines-table th{border-bottom:1px solid #f0f0f0;padding:10px 16px;text-align:left}.order-lines-table th{background:#fafafa;color:#666;font-size:11px;font-weight:600;text-transform:uppercase}.order-lines-table .for-batch-cell{color:#666;font-size:13px}.order-lines-table .order-total-row{background:#f8f9fa}.order-lines-table .order-total-row td{border-bottom:none}.order-lines-table .supersack-qty,.season-totals-table .supersack-qty{color:#1565c0;font-weight:500;white-space:nowrap}.order-lines-table .supersack-qty{font-size:12px}.pallet-breakdown{background:linear-gradient(135deg,#f5f5f5,#fafafa);border-top:1px solid #e0e0e0;padding:12px 16px}.pallet-header{align-items:center;display:flex;font-size:14px;gap:8px;margin-bottom:12px}.pallet-icon{font-size:16px}.pallet-count{color:#1565c0;font-weight:600}.pallets-saved{color:#2e7d32;font-size:12px;font-weight:500}.pallet-list{display:flex;flex-direction:column;gap:8px}.pallet-item{background:#fff;border:1px solid #e0e0e0;border-radius:6px;padding:10px 12px}.pallet-label{align-items:center;color:#333;display:flex;font-size:13px;font-weight:500;justify-content:space-between;margin-bottom:6px}.pallet-weight{color:#666;font-size:12px;font-weight:400}.pallet-weight .utilization{color:#888;margin-left:4px}.pallet-contents{display:flex;flex-wrap:wrap;gap:6px}.pallet-content-item{background:#e3f2fd;border-radius:4px;color:#1565c0;font-size:11px;font-weight:500;padding:4px 8px}.more-orders-note{background:#fff3cd;border-radius:8px;color:#856404;padding:16px;text-align:center}.more-orders-note p{margin:0}.delivery-schedule-info{align-items:center;background:linear-gradient(135deg,#e3f2fd,#bbdefb);border-radius:8px;display:flex;flex-wrap:wrap;font-size:14px;gap:8px;margin-bottom:16px;padding:12px 16px}.delivery-schedule-info .schedule-label{color:#1565c0;font-weight:500}.delivery-schedule-info .schedule-days{color:#0d47a1;font-weight:600}.delivery-schedule-info .schedule-carrier{color:#1976d2;font-size:13px}.shipping-optimization-info{background:linear-gradient(135deg,#e8f5e9,#c8e6c9);border:1px solid #a5d6a7;border-radius:8px;margin-bottom:16px;padding:16px}.shipping-optimization-info .opt-header{align-items:center;display:flex;gap:8px;margin-bottom:8px}.shipping-optimization-info .opt-icon{font-size:20px}.shipping-optimization-info .opt-title{color:#2e7d32;font-size:15px;font-weight:600}.shipping-optimization-info .opt-details p{color:#33691e;font-size:14px;margin:0 0 8px}.shipping-optimization-info .opt-details p:last-child{margin-bottom:0}.shipping-optimization-info .opt-note{color:#558b2f;font-size:13px}.shipping-optimization-info .opt-note a{color:#2e7d32;text-decoration:underline}.order-dates{align-items:center;display:flex;font-size:13px;gap:8px}.order-dates .ship-date{color:#666}.order-dates .date-arrow{color:#999}.order-dates .delivery-date{color:#2e7d32;font-weight:500}.order-dates .delivery-note{color:#666;font-size:12px;font-weight:400;margin-left:4px}.delivery-disclaimers{display:flex;flex-direction:column;gap:12px;margin-top:24px}.disclaimer-box{border-left:4px solid;border-radius:8px;display:flex;gap:12px;padding:16px}.disclaimer-box.milk-run{background:linear-gradient(135deg,#fff8e1,#ffecb3);border-color:#ffa000}.disclaimer-box.ltl{background:linear-gradient(135deg,#e3f2fd,#bbdefb);border-color:#1976d2}.disclaimer-box.pickup{background:linear-gradient(135deg,#e8f5e9,#c8e6c9);border-color:#388e3c}.disclaimer-box.freshness{background:linear-gradient(135deg,#fce4ec,#f8bbd9);border-color:#c2185b}.disclaimer-icon{flex-shrink:0;font-size:24px}.disclaimer-content{flex:1 1}.disclaimer-content strong{color:#333;display:block;margin-bottom:4px}.disclaimer-content p{color:#555;font-size:14px;line-height:1.5;margin:0}.review-disclaimer{background:linear-gradient(135deg,#e3f2fd,#bbdefb);border-left:4px solid #1976d2;border-radius:8px;display:flex;gap:12px;margin-top:20px;padding:16px}.review-disclaimer.feed-quantity-disclaimer{background:linear-gradient(135deg,#fff8e1,#ffecb3);border-left-color:#ff9800}.review-disclaimer .disclaimer-icon{flex-shrink:0;font-size:20px}.review-disclaimer .disclaimer-content{flex:1 1}.review-disclaimer .disclaimer-content strong{color:#5d4037;display:block;margin-bottom:4px}.review-disclaimer .disclaimer-content p{color:#6d4c41;font-size:14px;line-height:1.5;margin:0}.season-totals-table{overflow-x:auto}.season-totals-table table{border-collapse:collapse;font-size:14px;width:100%}.season-totals-table td,.season-totals-table th{border-bottom:1px solid #eee;padding:12px 16px;text-align:left}.season-totals-table th{background:#f8f9fa;color:#666;font-size:12px;font-weight:600;text-transform:uppercase}.season-totals-table .grand-total-row{background:linear-gradient(135deg,#e8f5e9,#c8e6c9)}.season-totals-table .grand-total-row td{border-bottom:none;color:#1b5e20}.important-notes{background:#fff3cd;border:1px solid #ffc107;border-radius:8px;margin-top:20px;padding:20px!important}.important-notes h3{color:#856404!important;margin-bottom:12px!important}.important-notes ul{margin:0;padding-left:20px}.important-notes li{color:#856404;line-height:1.5;margin-bottom:8px}.important-notes li:last-child{margin-bottom:0}.preview-error,.preview-loading{color:#666;padding:40px;text-align:center}.preview-error{background:#fee;border-radius:8px;color:#dc3545}.plan-status-badge{border-radius:12px;display:inline-block;font-size:12px;font-weight:500;padding:4px 10px;text-transform:capitalize}.plan-status-badge.status-draft{background:#fff3cd;color:#856404}.plan-status-badge.status-active{background:#d4edda;color:#155724}.plan-status-badge.status-completed{background:#e2e3e5;color:#383d41}.plan-row{align-items:center;background:#f8f9fa;border-radius:4px;display:flex;gap:12px;justify-content:space-between;padding:12px}.plan-name-link{color:#8b0000;font-weight:600;text-decoration:none}.plan-name-link:hover{text-decoration:underline}.plan-actions{display:flex;gap:8px}.btn-edit-plan{background:#e9ecef;border-radius:4px;color:#333;font-size:13px;padding:4px 12px}.btn-edit-plan:hover{background:#dee2e6}.btn-activate-plan{background:#28a745;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:13px;font-weight:500;padding:4px 12px}.btn-activate-plan:hover{background:#218838}.btn-delete-plan{background:#dc3545;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:13px;font-weight:500;padding:4px 12px}.btn-delete-plan:hover{background:#c82333}.btn-delete-plan:disabled{background:#6c757d;cursor:not-allowed}.btn-generate-orders{background:#1976d2;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:13px;font-weight:500;padding:4px 12px}.btn-generate-orders:hover{background:#1565c0}.btn-generate-orders:disabled{background:#90caf9;cursor:not-allowed}.batch-row{background:#f8f9fa;border-radius:4px;display:flex;flex-direction:column;gap:6px;padding:12px}.batch-main-info{align-items:center;display:flex;gap:12px}.batch-profile{color:#333;font-weight:600}.batch-qty{color:#666;font-size:14px}.batch-breed{color:#888;font-size:13px;font-style:italic}.batch-status-info{align-items:center;display:flex}.batch-status-badge{border-radius:12px;display:inline-block;font-size:12px;padding:3px 10px}.batch-status-badge.planned{background:#cce5ff;color:#004085}.batch-status-badge.active{background:#d4edda;color:#155724}.batch-status-badge.harvested{background:#e2e3e5;color:#383d41}.delivery-status.status-draft{background:#fff3cd;color:#856404}.delivery-status.status-converted{background:#d1ecf1;color:#0c5460}.edit-plan-page{margin:0 auto;max-width:1200px;padding:20px}.edit-plan-header{align-items:flex-start;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;margin-bottom:24px}.edit-plan-header .header-left{display:flex;flex-direction:column;gap:8px}.edit-plan-header h1{color:#333;font-size:24px;gap:12px;margin:0}.btn-back,.edit-plan-header h1{align-items:center;display:flex}.btn-back{background:none;border:none;color:#8b0000;cursor:pointer;font-size:14px;gap:4px;padding:0}.btn-back:hover{text-decoration:underline}.btn-activate-plan.btn-large{font-size:16px;font-weight:600;padding:12px 24px}.edit-plan-success{background:#d4edda;border:1px solid #c3e6cb;border-radius:6px;color:#155724}.edit-plan-error,.edit-plan-success{margin-bottom:20px;padding:12px 16px}.edit-plan-error{background:#f8d7da;border:1px solid #f5c6cb;border-radius:6px;color:#721c24}.edit-plan-warning{background:#fff3cd;border:1px solid #ffc107;border-radius:6px;color:#856404;margin-bottom:20px;padding:12px 16px}.edit-plan-warning strong{display:block;margin-bottom:8px}.edit-plan-warning p{font-size:.9rem;margin:4px 0}.recalc-summary{font-size:.9rem;margin-top:8px;opacity:.9}.recalc-change{opacity:.7}.edit-section{background:#fff;border:1px solid #e0e0e0;border-radius:8px;margin-bottom:20px;padding:20px}.edit-section h2{border-bottom:1px solid #eee;color:#333;font-size:18px;margin:0 0 16px;padding-bottom:12px}.edit-section h3{color:#555;font-size:16px;margin:0 0 12px}.section-header{flex-wrap:wrap;gap:12px;margin-bottom:16px}.section-header h2{border:none;padding:0}.section-actions{border-top:1px solid #eee;margin-top:16px;padding-top:16px}.add-batch-controls{align-items:center;display:flex;gap:12px}.animal-type-select{border:1px solid #ddd;border-radius:4px;font-size:14px;min-width:200px;padding:8px 12px}.edit-batches-list{display:flex;flex-direction:column;gap:16px}.edit-batch-card{background:#f9f9f9;border:1px solid #e0e0e0;border-radius:8px;padding:16px}.edit-batch-card.editing{background:#fff;border-color:#8b0000}.batch-card-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:12px}.batch-card-header .batch-number{color:#333;font-weight:600}.batch-edit-form{margin-top:12px}.batch-edit-actions{border-top:1px solid #eee;display:flex;gap:12px;margin-top:16px;padding-top:12px}.btn-save-batch{background:#28a745;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:14px;padding:8px 16px}.btn-save-batch:hover:not(:disabled){background:#218838}.btn-save-batch:disabled{background:#94d3a2;cursor:not-allowed}.btn-cancel{background:#6c757d;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:14px;padding:8px 16px}.btn-cancel:hover:not(:disabled){background:#5a6268}.batch-view{align-items:flex-start;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between}.batch-info-grid{grid-gap:16px;display:grid;flex:1 1;gap:16px;grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}.batch-info-item{display:flex;flex-direction:column;gap:2px}.batch-info-item .label{color:#666;font-size:12px;text-transform:uppercase}.batch-info-item .value{color:#333;font-size:14px;font-weight:500}.batch-view-actions{display:flex;gap:8px}.btn-edit-batch{background:#8b0000;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:13px;padding:6px 12px}.btn-edit-batch:hover{background:#6d0000}.btn-delete-batch{background:#dc3545;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:13px;padding:6px 12px}.btn-delete-batch:hover:not(:disabled){background:#c82333}.btn-delete-batch:disabled{background:#e77681;cursor:not-allowed}.edit-batch-card .batch-status-badge{border-radius:4px;font-size:12px;font-weight:500;padding:4px 8px;text-transform:capitalize}.edit-batch-card .batch-status-badge.status-planned{background:#e3f2fd;color:#1565c0}.edit-batch-card .batch-status-badge.status-active{background:#e8f5e9;color:#2e7d32}.edit-batch-card .batch-status-badge.status-completed{background:#ede7f6;color:#5e35b1}.edit-batch-card .batch-status-badge.status-cancelled{background:#ffebee;color:#c62828}.info-section{background:#f5f5f5}.info-list{color:#555;margin:0;padding-left:20px}.info-list li{line-height:1.5;margin-bottom:8px}.info-list li strong{color:#333}.edit-section .form-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}.edit-section .form-group{display:flex;flex-direction:column;gap:6px}.edit-section .form-group.full-width{grid-column:1/-1}.edit-section .form-group label{color:#333;font-size:14px;font-weight:500}.edit-section .form-group input,.edit-section .form-group select,.edit-section .form-group textarea{border:1px solid #ddd;border-radius:4px;font-size:14px;padding:10px 12px}.edit-section .form-group input:focus,.edit-section .form-group select:focus,.edit-section .form-group textarea:focus{border-color:#8b0000;outline:none}@media (max-width:768px){.add-batch-controls,.edit-plan-header{flex-direction:column}.add-batch-controls{align-items:stretch}.batch-view{flex-direction:column}.batch-info-grid{grid-template-columns:repeat(2,1fr)}}.farmhand-dashboard .planner-header h1{color:#2e7d32;font-size:32px}.farmhand-dashboard .tagline{color:#555;font-size:16px;font-weight:500;margin:4px 0 2px}.farmhand-dashboard .subtagline{color:#777;font-size:14px;margin:0}.empty-message.friendly,.empty-with-action.friendly,.no-batches-message.friendly,.no-orders-message.friendly{background:#f8f9fa;border-radius:8px;padding:24px;text-align:center}.empty-with-action.friendly .helper-text{color:#666;font-size:14px;margin:8px 0 16px}.feed-selection-step{margin:0 auto;max-width:900px}.feed-estimate-summary{background:linear-gradient(135deg,#e8f5e9,#c8e6c9);border:1px solid #a5d6a7;border-radius:12px;margin-bottom:32px;padding:24px;text-align:center}.estimate-intro{color:#2e7d32;font-size:16px;margin:0 0 8px}.estimate-total{align-items:center;display:flex;flex-direction:column;gap:4px;margin:16px 0}.estimate-amount{color:#1b5e20;font-size:36px;font-weight:700}.estimate-label{color:#4caf50;font-size:14px}.estimate-encouragement{color:#388e3c;font-size:15px;margin:12px 0 0}.feed-selection-batches{display:flex;flex-direction:column;gap:24px}.feed-selection-card{background:#fff;border:1px solid #e0e0e0;border-radius:12px;padding:20px}.feed-card-header{align-items:center;border-bottom:1px solid #eee;display:flex;flex-wrap:wrap;gap:12px;margin-bottom:20px;padding-bottom:12px}.feed-card-header .batch-label{color:#333;font-size:18px;font-weight:600}.feed-card-header .batch-qty{background:#f5f5f5;border-radius:16px;color:#666;font-size:14px;padding:4px 10px}.feed-card-header .batch-breed-badge{background:#fee;border-radius:16px;color:#8b0000;font-size:13px;padding:4px 10px}.feed-options-section{margin-bottom:20px}.feed-section-label{color:#555;display:block;font-size:14px;font-weight:600;margin-bottom:10px}.feed-line-options,.packaging-options{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.feed-option-card{align-items:flex-start;background:#f9f9f9;border:2px solid #e0e0e0;border-radius:8px;cursor:pointer;display:flex;flex-direction:column;padding:16px;text-align:left;transition:all .2s ease}.feed-option-card:hover{background:#fff;border-color:#8b0000}.feed-option-card.selected{background:#fff5f5;border-color:#8b0000}.feed-option-card .option-label{color:#333;font-size:15px;font-weight:600;margin-bottom:4px}.feed-option-card .option-desc{color:#666;font-size:12px}.feed-option-card.selected .option-label{color:#8b0000}.custom-weight-input{background:#f5f5f5;border-radius:6px;margin-top:12px;padding:12px}.custom-weight-input label{color:#555;display:block;font-size:13px;margin-bottom:6px}.custom-weight-input input{border:1px solid #ddd;border-radius:4px;font-size:14px;padding:8px 12px;width:120px}.feed-card-footer{border-top:1px solid #eee;margin-top:16px;padding-top:12px}.feed-estimate-note{color:#666;font-size:13px}.pricing-note{background:#fff3e0;border:1px solid #ffcc80;border-radius:8px;margin-top:24px;padding:16px}.pricing-note p{color:#e65100;font-size:14px;margin:0}.feed-batch-card{background:#fff;border:1px solid #e0e0e0;border-radius:12px;margin-bottom:24px;overflow:hidden}.feed-batch-header{align-items:center;background:linear-gradient(135deg,#8b0000,brown);color:#fff;display:flex;justify-content:space-between;padding:16px 20px}.feed-batch-header .batch-title{align-items:center;display:flex;flex-wrap:wrap;gap:12px}.feed-batch-header .batch-number{font-size:13px;font-weight:500;opacity:.9}.feed-batch-header .batch-name{font-size:18px;font-weight:600}.feed-batch-header .batch-breed{background:#4ade80;border-radius:12px;color:#14532d;font-size:13px;font-weight:600;padding:4px 12px}.feed-batch-header .batch-summary{align-items:flex-end;display:flex;flex-direction:column;gap:4px}.feed-batch-header .batch-count{color:#fff;font-size:15px;font-weight:600;text-shadow:0 1px 2px #0003}.feed-batch-header .batch-total-feed{color:#fff;font-size:17px;font-weight:700;text-shadow:0 1px 2px #0003}.planning-duration-section{background:#f8f9fa;border-bottom:1px solid #e0e0e0;padding:16px 20px}.planning-duration-section .section-label{color:#555;display:block;font-size:13px;font-weight:600;margin-bottom:10px}.duration-buttons{display:flex;flex-wrap:wrap;gap:8px}.duration-btn{background:#fff;border:2px solid #ddd;border-radius:20px;color:#555;cursor:pointer;font-size:14px;font-weight:500;padding:8px 16px;transition:all .2s ease}.duration-btn:hover{border-color:#8b0000;color:#8b0000}.duration-btn.selected{background:#8b0000;border-color:#8b0000;color:#fff}.quick-apply-section{background:#fafafa;border-bottom:1px solid #e0e0e0;padding:12px 20px}.quick-apply-row{align-items:center;display:flex;flex-wrap:wrap;gap:12px}.quick-apply-row .section-label{color:#666;font-size:13px;font-weight:500;margin:0}.quick-apply-controls{display:flex;gap:8px}.quick-select{background:#fff;border:1px solid #ddd;border-radius:6px;color:#333;cursor:pointer;font-size:13px;padding:6px 12px}.quick-select:hover{border-color:#8b0000}.feed-phases{padding:20px}.feed-phase-card{background:#f9f9f9;border:1px solid #e8e8e8;border-radius:10px;margin-bottom:16px;padding:16px}.feed-phase-card:last-child{margin-bottom:0}.feed-phase-card.layer-phase{background:linear-gradient(135deg,#fff8e1,#ffecb3);border-color:#ffc107}.feed-phase-card.recurring-phase{background:linear-gradient(135deg,#e8f5e9,#c8e6c9);border-color:#4caf50}.beef-phases-section{margin-bottom:16px}.beef-info-header{background:#f5f5f5;border-radius:6px;color:#666;font-size:14px;margin-bottom:12px;padding:8px 12px}.feed-phase-card.beef-grower-phase{background:linear-gradient(135deg,#e3f2fd,#bbdefb);border-color:#2196f3}.feed-phase-card.beef-finisher-phase{background:linear-gradient(135deg,#fce4ec,#f8bbd9);border-color:#e91e63}.beef-growout-section{background:#f8f9fa;border-left:4px solid #795548;border-radius:8px;margin-top:16px;padding:16px}.beef-estimate{background:#7955481a;border-radius:6px;color:#5d4037;font-size:14px;line-height:1.6;margin-top:12px;padding:10px 12px}.harvest-date-section{background:#fff8e1;border:1px solid #ffe082;border-radius:8px;margin-top:16px;padding:16px}.harvest-date-section .section-label{color:#f57c00;display:block;font-size:14px;font-weight:600;margin-bottom:8px}.harvest-date-section .section-help{color:#ef6c00;font-size:13px;line-height:1.4;margin-bottom:12px}.harvest-date-section .growth-fields{align-items:flex-end;display:flex;gap:12px}.btn-clear-harvest{background:#fff;border:1px solid #ffb74d;border-radius:6px;color:#f57c00;cursor:pointer;font-size:13px;padding:8px 16px;white-space:nowrap}.btn-clear-harvest:hover{background:#fff3e0;border-color:#ff9800}.feed-note{background:#ffffffb3;border-radius:6px;color:#555;font-size:13px;margin-top:12px;padding:10px 12px}.feed-note strong{color:#333}.phase-header{align-items:flex-start;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;margin-bottom:16px;padding-bottom:12px}.phase-info{display:flex;flex-direction:column;gap:4px}.phase-name{color:#333;font-size:16px;font-weight:600}.phase-weeks{color:#666;font-size:13px}.phase-quantity{align-items:flex-end;display:flex;flex-direction:column;gap:2px}.phase-lbs{color:#1b5e20;font-size:18px;font-weight:600}.phase-rate{color:#666;font-size:12px}.phase-feed-name{color:#555;font-size:13px;font-weight:500;margin-top:2px}.phase-daily-info{background:#f5f5f5;border-radius:4px;color:#666;font-size:12px;margin-top:8px;padding:6px 12px;text-align:center}.feed-phase-card.no-phases{background:#fff3e0;border-color:#ffb74d}.feed-phase-card.no-phases .phase-name{color:#e65100}.available-feeds-list{display:flex;flex-direction:column;gap:4px}.available-feed-item{align-items:center;background:#fff;border:1px solid #e0e0e0;border-radius:4px;display:flex;font-size:13px;justify-content:space-between;padding:6px 10px}.available-feed-item .feed-name{color:#333;font-weight:500}.available-feed-item .feed-forms{color:#888;font-size:11px;text-transform:uppercase}.selected-feed-display{background:#f5f5f5;border:1px solid #e0e0e0;border-radius:6px;padding:8px 12px}.selected-feed-display .feed-name{color:#333;font-weight:600}.form-pills{display:flex;flex-wrap:wrap;gap:6px}.form-pill{background:#fff;border:2px solid #ddd;border-radius:6px;color:#555;cursor:pointer;font-size:14px;font-weight:500;padding:8px 16px;transition:all .15s ease}.form-pill:hover{border-color:#8b0000;color:#8b0000}.form-pill.selected{background:#8b0000;border-color:#8b0000;color:#fff}.form-single{background:#f9f9f9;border:1px solid #e0e0e0;border-radius:6px;color:#666;font-size:14px;font-style:italic;padding:8px 12px}.loading-feed-phases{color:#666;font-style:italic;padding:20px;text-align:center}.phase-options{display:flex;flex-wrap:wrap;gap:24px}.phase-option-group{flex:1 1;min-width:200px}.phase-option-group>label{color:#555;display:block;font-size:12px;font-weight:600;letter-spacing:.5px;margin-bottom:8px;text-transform:uppercase}.feed-line-pills,.packaging-pills{display:flex;flex-wrap:wrap;gap:6px}.feed-pill,.pkg-pill{background:#fff;border:2px solid #ddd;border-radius:20px;color:#555;cursor:pointer;font-size:13px;font-weight:500;padding:6px 14px;transition:all .2s ease}.feed-pill:hover,.pkg-pill:hover{border-color:#8b0000;color:#8b0000}.feed-pill.selected,.pkg-pill.selected{background:#8b0000;border-color:#8b0000;color:#fff}.layer-feed-note{background:#ffffffb3;border-radius:6px;color:#795548;margin-top:12px;padding:10px 12px}.layer-feed-note strong{color:#5d4037}@media (max-width:768px){.feed-batch-header{flex-direction:column;gap:12px}.feed-batch-header,.feed-batch-header .batch-summary{align-items:flex-start}.phase-header{flex-direction:column;gap:8px}.phase-quantity{align-items:flex-start}.phase-options{flex-direction:column;gap:16px}.quick-apply-row{align-items:flex-start;flex-direction:column;gap:8px}.quick-apply-controls{width:100%}.quick-select{flex:1 1}.feed-line-pills,.packaging-pills{flex-direction:column}.feed-pill,.pkg-pill{text-align:center;width:100%}}.whats-next{background:#e3f2fd!important;border-color:#90caf9!important}.whats-next h3{color:#1565c0}.whats-next-list{list-style:none;margin:0;padding:0}.whats-next-list li{border-bottom:1px solid #bbdefb;color:#333;padding:10px 0 10px 28px;position:relative}.whats-next-list li:last-child{border-bottom:none}.whats-next-list li:before{color:#2196f3;content:"✓";font-weight:700;left:0;position:absolute}.farmhand-wizard .wizard-header h1{color:#2e7d32}.farmhand-wizard .wizard-subtitle{color:#555}.ai-guidance-bubble,.create-plan-wizard [class*=flex][class*=items-start][class*=gap-3]{align-items:flex-start;display:flex;gap:12px}.ai-guidance-bubble{background:#f0f9ff;border:1px solid #bae6fd;border-radius:12px;margin-bottom:20px;max-width:100%;padding:12px 16px}.ai-guidance-bubble.type-tip{background:#f0f9ff;border-color:#bae6fd}.ai-guidance-bubble.type-suggestion{background:#f0fdf4;border-color:#bbf7d0}.ai-guidance-bubble.type-warning{background:#fffbeb;border-color:#fde68a}.ai-guidance-bubble.type-celebration{background:#faf5ff;border-color:#e9d5ff}.ai-guidance-bubble.type-question{background:#f9fafb;border-color:#e5e7eb}.ai-guidance-bubble img,.create-plan-wizard .mb-4 img,[class*=rounded-xl] img{border:2px solid #fff!important;border-radius:50%!important;box-shadow:0 2px 4px #0000001a!important;flex-shrink:0!important;height:48px!important;max-width:48px!important;min-width:48px!important;object-fit:cover!important;object-position:top!important;width:48px!important}.ai-guidance-bubble .content{flex:1 1;min-width:0}.ai-guidance-bubble .speaker-name{align-items:center;color:#1f2937;display:flex;font-weight:600;gap:6px;margin-bottom:4px;text-transform:capitalize}.ai-guidance-bubble .message{color:#4b5563;font-size:14px;line-height:1.5;white-space:pre-line}.ai-guidance-bubble.loading{opacity:.7}.ai-guidance-bubble.loading .content{display:flex;flex-direction:column;gap:8px}.ai-guidance-bubble.loading .skeleton{animation:shimmer 1.5s infinite;background:linear-gradient(90deg,#e5e7eb 25%,#f3f4f6 50%,#e5e7eb 75%);background-size:200% 100%;border-radius:4px;height:16px}.ai-guidance-bubble.loading .skeleton.short{width:40%}.ai-guidance-bubble.loading .skeleton.long{width:80%}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media (max-width:768px){.feed-line-options,.packaging-options{grid-template-columns:1fr}.estimate-amount{font-size:28px}.feed-card-header{align-items:flex-start;flex-direction:column}}.feeding-method-section{background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;margin-top:16px;padding:16px}.feeding-method-label{color:#333;display:block;font-size:14px;font-weight:600;margin-bottom:12px}.feeding-method-options{display:flex;flex-direction:column;gap:12px}.feeding-option{align-items:flex-start;background:#fff;border:2px solid #ddd;border-radius:8px;cursor:pointer;display:flex;gap:12px;padding:14px;transition:all .2s ease}.feeding-option:hover{border-color:#8b0000}.feeding-option.selected{background:#fff5f5;border-color:#8b0000}.feeding-option input[type=radio]{accent-color:#8b0000;margin-top:3px}.feeding-option .option-content{display:flex;flex-direction:column;gap:4px}.feeding-option .option-title{color:#333;font-size:14px;font-weight:600}.feeding-option.selected .option-title{color:#8b0000}.feeding-option .option-desc{color:#666;font-size:13px;line-height:1.4}.feeding-caution{background:#fff3cd;border:1px solid #ffc107;border-radius:6px;color:#856404;font-size:13px;line-height:1.5;margin-top:12px;padding:12px 14px}.feeding-caution strong{color:#664d03}.body-weight-section,.growth-curve-section{background:#e3f2fd;border:1px solid #90caf9;border-radius:8px;margin-top:16px;padding:16px}.body-weight-section .section-label,.growth-curve-section .section-label{color:#1565c0;display:block;font-size:14px;font-weight:600;margin-bottom:8px}.body-weight-section .section-help,.growth-curve-section .section-help{color:#1976d2;font-size:13px;line-height:1.4;margin-bottom:12px}.growth-fields{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.growth-fields .batch-field{display:flex;flex-direction:column;gap:4px}.growth-fields .batch-field label{color:#0d47a1;font-size:12px;font-weight:600}.growth-fields .batch-field input{background:#fff;border:1px solid #90caf9;border-radius:6px;font-size:14px;padding:8px 12px}.growth-fields .batch-field input:focus{border-color:#1976d2;box-shadow:0 0 0 2px #1976d233;outline:none}.growth-fields .field-hint{color:#5c6bc0;font-size:11px;margin-top:2px}.body-weight-estimate{background:#bbdefb;border-radius:6px;color:#0d47a1;font-size:13px;margin-top:12px;padding:8px 12px}.planning-duration-section{background:#e8f5e9!important;border:2px solid #2e7d32;border-radius:10px;padding:16px!important}.planning-duration-options{display:flex;flex-wrap:wrap;gap:12px}.duration-option{background:#fff;border:2px solid #c8e6c9;border-radius:8px;color:#2e7d32;cursor:pointer;flex:1 1;font-size:15px;font-weight:600;min-width:100px;padding:12px 16px;text-align:center;transition:all .2s ease}.duration-option:hover{background:#f1f8e9;border-color:#4caf50}.duration-option.selected{background:#2e7d32;border-color:#2e7d32;color:#fff}.estimate-breakdown{margin:16px 0;text-align:left}.layer-breakdown{background:#ffffffb3;border-radius:6px;color:#1b5e20;font-size:13px;line-height:1.5;padding:10px 14px}.layer-breakdown strong{color:#0d3d0d}.layer-feed-note{background:#e3f2fd;border:1px solid #90caf9;border-radius:8px;color:#1565c0;font-size:13px;line-height:1.6;margin-top:16px;padding:14px 16px}.layer-feed-note strong{color:#0d47a1}.batches-review-list{display:flex;flex-direction:column;gap:16px}.batch-review-card{background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;padding:16px}.batch-review-card.recurring{background:#f1f8e9;border-color:#4caf50}.batch-review-header{align-items:center;display:flex;flex-wrap:wrap;gap:12px;margin-bottom:12px}.batch-review-header .batch-number{color:#333;font-size:16px;font-weight:600}.batch-review-card.recurring .batch-review-header .batch-number{color:#2e7d32}.batch-review-header .batch-detail{color:#666;font-size:14px}.batch-layer-details{background:#fff9;border-radius:6px;padding:12px}.layer-detail-row{color:#333;font-size:14px;margin-bottom:6px}.layer-detail-row:last-child{margin-bottom:0}.layer-detail-row.estimates{border-top:1px solid #c8e6c9;color:#2e7d32;font-weight:500;margin-top:10px;padding-top:10px}.batch-bodyweight-details,.batch-growth-details,.batch-standard-details{color:#555;display:flex;flex-wrap:wrap;font-size:14px;gap:20px}.batch-growth-details{background:#e3f2fd;border:1px solid #90caf9;border-radius:6px;padding:8px 12px}.batch-bodyweight-details{background:#fff3e0;border:1px solid #ffcc80;border-radius:6px;padding:8px 12px}.mixed-plan-section{border-top:2px solid #eee;margin-top:24px;padding-top:20px}.mixed-plan-section h4{color:#555;font-size:14px;letter-spacing:.5px;margin:0 0 12px;text-transform:uppercase}.mixed-plan-totals{background:#f8f9fa;border-radius:8px;margin-top:16px;padding:16px}.mixed-plan-totals .total-row{border-bottom:1px solid #eee;display:flex;justify-content:space-between;padding:8px 0}.mixed-plan-totals .total-row:last-child{border-bottom:none;color:#1b5e20;font-weight:600}.order-lines-table tr.layer-order{background:#f1f8e9}.order-lines-table .layer-season-badge{border-radius:10px;display:inline-block;font-size:11px;font-weight:500;margin-left:8px;padding:2px 8px}.order-lines-table .layer-season-badge.summer{background:#fff3e0;color:#e65100}.order-lines-table .layer-season-badge.winter{background:#e3f2fd;color:#1565c0}.order-lines-table .feeding-info{color:#666;display:block;font-size:11px;margin-top:4px}@media (max-width:600px){.feeding-method-options{gap:8px}.feeding-option{padding:12px}.planning-duration-options{flex-direction:column}.duration-option{min-width:auto}.batch-standard-details{flex-direction:column;gap:8px}}.danger-zone{background:#fff5f5;border:2px solid #dc3545;margin-top:24px}.danger-zone h3{color:#dc3545;margin-top:0}.danger-zone p{color:#666;margin-bottom:16px}.btn-danger{background:#dc3545;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;padding:10px 20px;transition:background .2s}.btn-danger:hover:not(:disabled){background:#c82333}.btn-danger:disabled{cursor:not-allowed;opacity:.6}.modal-overlay{padding:20px}.delete-confirm-modal{background:#fff;border-radius:12px;box-shadow:0 4px 20px #0003;max-width:450px;padding:24px;width:100%}.delete-confirm-modal h2{color:#dc3545;font-size:22px;margin:0 0 16px}.delete-confirm-modal p{color:#333;line-height:1.5;margin:0 0 12px}.delete-confirm-modal ul{color:#666;margin:0 0 16px;padding-left:20px}.delete-confirm-modal li{margin-bottom:6px}.delete-confirm-modal .warning-text{background:#fff5f5;border-left:3px solid #dc3545;border-radius:6px;color:#dc3545;font-weight:600;margin-top:16px;padding:10px}.delete-confirm-modal .modal-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:20px}.delete-confirm-modal .btn-secondary{background:#6c757d;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;padding:10px 20px;transition:background .2s}.delete-confirm-modal .btn-secondary:hover:not(:disabled){background:#5a6268}.delete-confirm-modal .btn-secondary:disabled{cursor:not-allowed;opacity:.6}.bulk-edit-section{background:#f0f9ff;border:1px solid #bae6fd;border-radius:8px;margin-bottom:1rem;padding:1rem}.bulk-edit-section h4{color:#0369a1;font-size:16px;margin:0 0 .5rem}.bulk-edit-description{color:#666;font-size:14px;margin-bottom:1rem}.bulk-edit-controls{align-items:flex-end;display:flex;flex-wrap:wrap;gap:1rem}.bulk-edit-field{display:flex;flex-direction:column;gap:4px}.bulk-edit-field label{color:#666;font-size:12px}.bulk-edit-field select{background:#fff;border:1px solid #ccc;border-radius:6px;font-size:14px;min-width:140px;padding:8px 12px}.btn-bulk-apply{background:#3b82f6;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;padding:8px 16px;transition:background .2s}.btn-bulk-apply:hover:not(:disabled){background:#2563eb}.btn-bulk-apply:disabled{cursor:not-allowed;opacity:.5}@media (max-width:768px){.bulk-edit-controls{align-items:stretch;flex-direction:column}.bulk-edit-field select{width:100%}.btn-bulk-apply{margin-top:.5rem;width:100%}}.plan-actions-grid{grid-gap:1rem;display:grid;gap:1rem}.action-card{background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;padding:1rem}.action-card h4{color:#333;font-size:16px;margin:0 0 .5rem}.action-card p{color:#666;font-size:14px;line-height:1.5;margin:0 0 1rem}.action-card .btn-secondary{background:#6c757d;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;padding:10px 20px;transition:background .2s}.action-card .btn-secondary:hover:not(:disabled){background:#5a6268}.action-card .btn-secondary:disabled{cursor:not-allowed;opacity:.5}.confirm-input-group{background:#f8f9fa;border-radius:6px;margin:1rem 0;padding:1rem}.confirm-input-group label{color:#333;display:block;font-size:14px;margin-bottom:8px}.confirm-input-group input{border:2px solid #dc3545;border-radius:6px;box-sizing:border-box;font-size:14px;padding:10px 12px;width:100%}.confirm-input-group input:focus{border-color:#c82333;box-shadow:0 0 0 3px #dc354526;outline:none}.projection-method-section{border-top:1px solid #e0e0e0;margin-top:2rem;padding-top:1.5rem}.projection-method-section h3{color:#333;font-size:1.1rem;margin:0 0 .25rem}.projection-method-section .section-hint{color:#666;font-size:.9rem;margin:0 0 1rem}.projection-method-card{border:2px solid #e0e0e0;border-radius:8px;cursor:pointer;margin-bottom:12px;padding:16px;transition:border-color .2s,background-color .2s}.projection-method-card:hover:not(.disabled){border-color:silver}.projection-method-card.selected{background-color:#faf5f5;border-color:#8b0000}.projection-method-card.disabled{background-color:#f9f9f9;cursor:not-allowed;opacity:.7}.projection-method-card .method-header{align-items:center;display:flex;gap:8px;margin-bottom:8px}.projection-method-card .method-header input[type=radio]{accent-color:#8b0000;height:18px;margin:0;width:18px}.projection-method-card .method-header label{color:#333;cursor:inherit;font-size:1rem;font-weight:600}.projection-method-card.disabled .method-header label{color:#666}.projection-method-card .method-description{color:#555;font-size:.9rem;line-height:1.5;margin:0;padding-left:26px}.projection-method-card.disabled .method-description{color:#777}.recommended-badge{background-color:#28a745}.coming-soon-badge,.recommended-badge{border-radius:12px;color:#fff;font-size:11px;font-weight:600;letter-spacing:.5px;padding:2px 8px;text-transform:uppercase}.coming-soon-badge{background-color:#f0ad4e}.help-us-box{background-color:#e8f4f8;border-left:4px solid #17a2b8;border-radius:0 6px 6px 0;margin-left:26px;margin-top:12px;padding:12px 16px}.help-us-box strong{color:#0c5460;display:block;font-size:.95rem;margin-bottom:8px}.help-us-box p{color:#0c5460;font-size:.85rem;line-height:1.5;margin:0 0 8px}.help-us-box p:last-child{margin-bottom:0}.batch-detail-page{margin:0 auto;max-width:900px;padding:16px}.batch-detail-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:16px}.batch-detail-header .header-left{flex:1 1}.batch-detail-header .back-link{color:#508590;display:inline-block;font-size:14px;margin-bottom:8px;text-decoration:none}.batch-detail-header .back-link:hover{text-decoration:underline}.batch-detail-header h1{color:#333;font-size:24px;margin:0}.batch-detail-header .customer-batch-id{color:#666;font-size:14px}.batch-detail-header .batch-number-secondary{color:#888;font-family:monospace;font-size:13px;font-weight:400}.batch-name-display{align-items:center;display:flex;gap:8px}.batch-name-display h1{margin:0}.btn-edit-name{background:none;border:none;border-radius:4px;cursor:pointer;font-size:16px;opacity:.6;padding:4px 8px;transition:opacity .15s,background .15s}.btn-edit-name:hover{background:#0000000d;opacity:1}.batch-name-edit{display:flex;flex-direction:column;gap:8px;margin:8px 0}.batch-name-input{border:2px solid #8b0000;border-radius:6px;font-size:18px;font-weight:600;max-width:100%;padding:8px 12px;width:300px}.batch-name-input:focus{box-shadow:0 0 0 3px #8b000026;outline:none}.batch-name-edit-actions{display:flex;gap:8px}.btn-save-name{background:#8b0000;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;padding:6px 16px;transition:background .15s}.btn-save-name:hover:not(:disabled){background:#6b0000}.btn-save-name:disabled{cursor:not-allowed;opacity:.6}.btn-cancel-name{background:#f3f4f6;border:1px solid #d1d5db;border-radius:4px;color:#374151;cursor:pointer;font-size:14px;font-weight:500;padding:6px 16px;transition:background .15s}.btn-cancel-name:hover:not(:disabled){background:#e5e7eb}.btn-cancel-name:disabled{cursor:not-allowed;opacity:.6}.batch-status-badge{border-radius:16px;font-size:13px;font-weight:500;padding:6px 12px}.batch-status-badge.status-active{background:#d4edda;color:#155724}.batch-status-badge.status-planned{background:#fff3cd;color:#856404}.batch-status-badge.status-harvested{background:#d6d8db;color:#383d41}.batch-meta-bar{background:#f8f9fa;border-radius:8px;display:flex;flex-wrap:wrap;gap:16px;margin-bottom:16px;padding:12px 16px}.batch-meta-bar .meta-item{display:flex;flex-direction:column;gap:2px}.batch-meta-bar .meta-label{color:#666;font-size:11px;letter-spacing:.5px;text-transform:uppercase}.batch-meta-bar .meta-value{color:#333;font-size:14px;font-weight:500}.batch-tabs{-webkit-overflow-scrolling:touch;border-bottom:2px solid #dee2e6;display:flex;gap:0;margin-bottom:0;overflow-x:auto}.batch-tab{background:none;border:none;border-bottom:2px solid #0000;color:#666;cursor:pointer;font-size:14px;font-weight:500;margin-bottom:-2px;min-height:44px;padding:12px 20px;white-space:nowrap}.batch-tab:hover{background:#f8f9fa;color:#333}.batch-tab.active{border-bottom-color:#e73c3e;color:#e73c3e}.batch-tab-content{padding:20px 0}.batch-overview{padding:0}.overview-error,.overview-loading{color:#666;padding:40px;text-align:center}.overview-error{color:#dc3545}.overview-stats-row{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(3,1fr);margin-bottom:24px}.stat-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:16px;text-align:center}.stat-card .stat-value{color:#333;font-size:24px}.stat-card .stat-label{color:#666;font-size:12px;letter-spacing:.5px;margin-top:4px}.stat-card .stat-sub{color:#999;font-size:11px;margin-top:2px}.stat-card.mortality .stat-value{color:#dc3545}.overview-section{margin-bottom:24px}.overview-section h3{border-bottom:1px solid #e0e0e0;color:#333;font-size:16px;margin:0 0 12px;padding-bottom:8px}.breeding-grid,.production-grid{display:flex;flex-wrap:wrap;gap:12px}.breeding-item,.production-item{align-items:center;background:#f8f9fa;border-radius:8px;display:flex;gap:12px;min-width:140px;padding:12px 16px}.breed-icon,.prod-icon{font-size:24px}.breed-data,.prod-data{display:flex;flex-direction:column}.breed-value,.prod-value{color:#333;font-size:18px;font-weight:600}.breed-label,.prod-label{color:#666;font-size:12px}.production-section{background:#f8f9fa;border-radius:8px;padding:16px}.production-header{align-items:center;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;margin-bottom:16px;padding-bottom:12px}.production-header h3{border-bottom:none;margin:0;padding-bottom:0}.period-select{background:#fff;border:1px solid #ddd;border-radius:6px;color:#333;cursor:pointer;font-size:14px;min-width:140px;padding:8px 12px}.period-select:hover{border-color:#8b0000}.period-select:focus{border-color:#8b0000;box-shadow:0 0 0 2px #8b00001a;outline:none}.custom-date-picker{background:#fff;border:1px solid #e0e0e0;border-radius:6px;display:flex;gap:16px;margin-bottom:16px;padding:12px}.date-input-group{align-items:center;display:flex;gap:8px}.date-input-group label{color:#666;font-size:13px;font-weight:500}.date-input{border:1px solid #ddd;border-radius:6px;color:#333;font-size:14px;padding:8px 12px}.date-input:focus{border-color:#8b0000;box-shadow:0 0 0 2px #8b00001a;outline:none}.enhanced-production-metrics{display:flex;flex-direction:column;gap:12px}.metrics-row{display:flex;flex-wrap:wrap;gap:12px}.metric-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;min-width:100px;padding:12px 16px;text-align:center}.metric-card.primary{align-items:center;background:linear-gradient(135deg,#fff5f5,#ffe0e0);border-color:#fecaca;display:flex;gap:12px;min-width:160px;text-align:left}.metric-card .metric-icon{font-size:28px}.metric-card .metric-content{display:flex;flex-direction:column}.metric-card .metric-value{color:#333;font-size:20px;font-weight:700}.metric-card.primary .metric-value{color:#8b0000;font-size:24px}.metric-card .metric-label{color:#666;font-size:11px;letter-spacing:.3px;text-transform:uppercase}.trend-indicator{align-items:center;background:#fff;border-left:3px solid #6b7280;border-radius:6px;display:flex;font-size:13px;gap:6px;padding:8px 12px}.trend-indicator.up{background:#f0fdf4;border-left-color:#22c55e;color:#166534}.trend-indicator.down{background:#fef2f2;border-left-color:#ef4444;color:#991b1b}.trend-indicator.flat{background:#f9fafb;border-left-color:#6b7280;color:#4b5563}.trend-indicator .trend-detail{color:#9ca3af;font-size:12px;margin-left:8px}.quality-breakdown{background:#fff;border-radius:6px;display:flex;font-size:13px;gap:16px;padding:8px 12px}.quality-breakdown .quality-item{color:#6b7280}.harvest-grid{display:flex;flex-wrap:wrap;gap:16px}.harvest-item{background:#f8f9fa;border-radius:8px;min-width:100px;padding:12px 16px;text-align:center}.harvest-item.highlight{background:#d4edda}.harvest-value{color:#333;font-size:18px;font-weight:600}.harvest-label{color:#666;font-size:12px}.overview-section.financial{background:#f8f9fa;border-radius:8px;padding:16px}.overview-section.financial h3{border-bottom:none;padding-bottom:0}.financial-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(3,1fr)}.financial-column{background:#fff;border-radius:8px;padding:12px}.financial-column h4{color:#666;font-size:13px;letter-spacing:.5px;margin:0 0 12px;text-transform:uppercase}.financial-row{display:flex;font-size:14px;justify-content:space-between;padding:6px 0}.financial-row .fin-label{color:#666}.financial-row .fin-value{color:#333;font-weight:500}.financial-row.total{border-top:1px solid #e0e0e0;font-weight:600;margin-top:4px;padding-top:8px}.financial-row.total .fin-label,.financial-row.total .fin-value{font-weight:600}.financial-row.net.profit .fin-value{color:#28a745}.financial-row.net.loss .fin-value{color:#dc3545}.financial-row.spacer{visibility:hidden}.empty-overview{color:#666;padding:40px;text-align:center}.empty-overview p{margin:8px 0}.log-entry-form{padding:0}.form-error{background:#fee;color:#dc3545;margin-bottom:16px}.entry-type-grid{grid-gap:8px;display:grid;gap:8px;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));margin-bottom:20px}.entry-type-btn{align-items:center;background:#fff;border:2px solid #e0e0e0;border-radius:8px;cursor:pointer;display:flex;flex-direction:column;gap:4px;justify-content:center;min-height:70px;padding:12px 8px;transition:all .15s ease}.entry-type-btn:hover{background:#f8f9fa;border-color:#508590}.entry-type-btn.selected{background:#fff5f5;border-color:#e73c3e}.entry-type-btn .type-icon{font-size:24px}.entry-type-btn .type-label{color:#333;font-size:11px;font-weight:500;text-align:center}.entry-form-fields{background:#f8f9fa;border-radius:8px;margin-bottom:16px;padding:16px}.entry-form-fields h4{color:#333;font-size:16px;margin:0 0 16px}.form-row{display:flex;gap:12px;margin-bottom:12px}.form-group{flex:1 1;margin-bottom:12px}.form-group.half{flex:1 1;margin-bottom:0}.form-group label{color:#333;font-size:13px}.form-input,.form-select,.form-textarea{background:#fff;border:1px solid #d0d0d0;box-sizing:border-box;font-size:14px}.form-input:focus,.form-select:focus,.form-textarea:focus{border-color:#508590;box-shadow:0 0 0 2px #50859033}.form-textarea{min-height:80px;resize:vertical}.form-hint{color:#666}.voice-entry-section{margin-bottom:16px}.voice-entry-section h4{color:#333;font-size:14px;margin:0 0 12px}.form-actions{border-top:1px solid #e0e0e0;justify-content:flex-end;padding-top:16px}.confirmation-overlay{align-items:center;background:#00000080;display:flex;inset:0;justify-content:center;padding:16px;position:fixed;z-index:1000}.confirmation-dialog{background:#fff;border-radius:12px;max-width:400px;overflow:hidden;width:100%}.confirmation-dialog h3{background:#f8f9fa;color:#333;font-size:18px;margin:0;padding:16px}.confirmation-content{padding:16px}.confirmation-summary{background:#f8f9fa;border-radius:6px;font-size:14px;line-height:1.6;padding:12px}.confirmation-summary p{margin:4px 0}.confirmation-warning{background:#fff3cd;border-radius:6px;color:#856404;font-size:13px;margin-top:12px;padding:10px 12px}.confirmation-actions{background:#f8f9fa;display:flex;gap:12px;justify-content:flex-end;padding:16px}.log-entry-history{padding:0}.history-error,.history-loading{color:#666;padding:40px;text-align:center}.history-error{color:#dc3545}.history-filter-bar{align-items:center;display:flex;gap:12px;justify-content:space-between;margin-bottom:16px}.filter-select{background:#fff;border:1px solid #d0d0d0;border-radius:6px;font-size:14px;min-width:160px;padding:8px 12px}.entry-count{color:#666;font-size:13px}.history-entry{background:#fff;border:1px solid #e0e0e0;border-radius:8px;cursor:pointer;transition:all .15s ease}.history-entry.expanded,.history-entry:hover{border-color:#508590}.entry-header{justify-content:space-between;padding:12px 16px}.entry-header,.entry-left{align-items:center;display:flex;gap:12px}.entry-left{flex:1 1;min-width:0}.entry-icon{flex-shrink:0;font-size:24px}.entry-info{flex:1 1;min-width:0}.entry-type{color:#333;font-size:14px;font-weight:500}.entry-summary{color:#666;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.entry-right{align-items:center;display:flex;flex-shrink:0;gap:8px}.entry-date{color:#666;font-size:13px}.locked-indicator{font-size:14px}.expand-icon{color:#999;transition:transform .2s ease}.expand-icon.rotated{transform:rotate(180deg)}.entry-details{border-top:1px solid #f0f0f0;padding:0 16px 16px 52px}.detail-row{display:flex;font-size:13px;gap:8px;padding:6px 0}.detail-row.meta{border-top:1px solid #f0f0f0;margin-top:8px;padding-top:8px}.detail-label{color:#666;min-width:100px}.detail-value{color:#333;flex:1 1}.empty-history{color:#666;padding:40px;text-align:center}.empty-history p{margin:8px 0}.animal-tracking-table{padding:0}.animals-error,.animals-loading{color:#666;padding:40px;text-align:center}.animals-error{color:#dc3545}.animals-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.animals-header h3{color:#333;font-size:18px;margin:0}.btn-add-animal{background:#508590;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;min-height:44px;padding:10px 16px}.btn-add-animal:hover{background:#3d6970}.empty-animals{background:#f8f9fa;border-radius:8px;padding:40px;text-align:center}.empty-animals p{color:#666;margin:8px 0}.empty-animals .btn-primary{margin-top:16px}.animals-list{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.animal-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;cursor:pointer;transition:all .15s ease}.animal-card:hover{border-color:#508590;box-shadow:0 2px 8px #00000014}.animal-card-header{align-items:flex-start;border-bottom:1px solid #f0f0f0;display:flex;justify-content:space-between;padding:12px 16px}.animal-id-name{display:flex;flex-direction:column;gap:2px}.animal-id{color:#333;font-size:16px;font-weight:600}.animal-name{color:#666;font-size:13px}.animal-status-badge{border-radius:12px;color:#fff;font-size:11px;font-weight:500;letter-spacing:.5px;padding:4px 10px;text-transform:uppercase}.animal-card-body{padding:12px 16px}.animal-meta-row{display:flex;gap:16px;margin-bottom:8px}.meta-item{align-items:center;color:#666;display:flex;font-size:13px;gap:4px}.meta-icon{font-size:14px}.meta-item.breed{color:#508590;font-weight:500}.animal-weight{align-items:baseline;display:flex;gap:8px;margin-bottom:8px}.weight-value{color:#333;font-size:18px;font-weight:600}.weight-date{color:#999;font-size:12px}.animal-parentage{color:#666;display:flex;font-size:12px;gap:16px}.animal-card-footer{border-top:1px solid #f0f0f0;padding:8px 16px;text-align:right}.edit-hint{color:#999;font-size:12px}.modal-overlay{align-items:center;background:#00000080;inset:0;padding:16px}.animal-modal{background:#fff;border-radius:12px;max-height:90vh;max-width:500px;overflow-y:auto;width:100%}.modal-header{align-items:center;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;padding:16px}.modal-header h3{color:#333;font-size:18px;margin:0}.close-btn{border-radius:4px;color:#666}.close-btn:hover{background:#f0f0f0}.modal-body{padding:16px}.modal-footer{border-top:1px solid #e0e0e0;display:flex;gap:12px;justify-content:flex-end;padding:16px}.btn-primary{background:#e73c3e;border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;min-height:44px;padding:10px 20px}.btn-primary:hover{background:#d32c2e}.btn-primary:disabled{background:#ccc;cursor:not-allowed}.btn-secondary{background:#fff;border:1px solid #d0d0d0;border-radius:6px;color:#333;cursor:pointer;font-size:14px;font-weight:500;min-height:44px;padding:10px 20px}.btn-secondary:hover{background:#f8f9fa}@media (max-width:768px){.batch-detail-page{padding:12px}.batch-detail-header{flex-direction:column;gap:12px}.batch-detail-header .header-right{align-self:flex-start}.batch-meta-bar{gap:12px}.batch-meta-bar .meta-item{min-width:calc(50% - 6px)}.batch-tabs{gap:0}.batch-tab{font-size:13px;padding:10px 14px}.overview-stats-row{gap:8px;grid-template-columns:1fr}.stat-card{align-items:center;display:flex;justify-content:space-between;padding:12px 16px}.stat-card .stat-value{font-size:20px}.stat-card .stat-label{margin:0;order:-1}.stat-card .stat-sub{bottom:4px;position:absolute;right:16px}.financial-grid{gap:12px;grid-template-columns:1fr}.production-header{align-items:flex-start;flex-direction:column;gap:12px}.period-select{width:100%}.custom-date-picker{flex-direction:column;gap:8px}.date-input-group{width:100%}.date-input-group input{flex:1 1}.metrics-row{flex-direction:column}.metric-card{align-items:center;display:flex;justify-content:space-between;text-align:left;width:100%}.metric-card.primary{justify-content:flex-start}.trend-indicator{font-size:12px}.trend-indicator .trend-detail{display:none}.entry-type-grid{gap:6px;grid-template-columns:repeat(3,1fr)}.entry-type-btn{min-height:60px;padding:10px 6px}.entry-type-btn .type-icon{font-size:20px}.entry-type-btn .type-label{font-size:10px}.form-row{flex-direction:column;gap:0}.form-group.half{margin-bottom:12px}.animals-list{grid-template-columns:1fr}.entry-header{flex-wrap:wrap}.entry-left{width:100%}.entry-right{justify-content:flex-end;padding-top:8px;width:100%}.entry-details{padding-left:16px}}.batch-location-section{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;margin:20px 0;padding:20px}.batch-location-section h3{color:#333;font-size:18px;margin:0 0 16px}.location-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.location-header h3{margin:0}.view-map-link{align-items:center;color:#8b0000;display:flex;font-weight:500;gap:4px;text-decoration:none}.view-map-link:hover{text-decoration:underline}.location-error,.location-loading{color:#666;padding:20px;text-align:center}.location-error{color:#dc3545}.location-empty{color:#666;padding:24px;text-align:center}.location-empty p{margin:0 0 16px}.location-grid{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.location-card{align-items:flex-start;background:#f8f9fa;border-radius:8px;display:flex;gap:12px;padding:12px;transition:transform .2s,box-shadow .2s}.location-card:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.location-card-icon{flex-shrink:0;font-size:24px;line-height:1}.location-card-icon.direction-arrow{align-items:center;background:#e0e7ff;border-radius:50%;display:flex;font-size:18px;height:32px;justify-content:center;width:32px}.location-card-icon.direction-arrow span{display:inline-block;transition:transform .3s ease}.location-card-content{flex:1 1;min-width:0}.location-card-label{color:#666;font-size:11px;letter-spacing:.5px;margin-bottom:2px;text-transform:uppercase}.location-card-value{color:#333;font-size:16px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.location-card-sub{color:#888;font-size:12px;margin-top:2px}.zone-card{background:linear-gradient(135deg,#ecfdf5,#d1fae5)}.equipment-card{background:linear-gradient(135deg,#f5f3ff,#ede9fe)}.days-card{background:linear-gradient(135deg,#fff7ed,#ffedd5)}.direction-card{background:linear-gradient(135deg,#eff6ff,#dbeafe)}.movements-card{background:linear-gradient(135deg,#fef2f2,#fee2e2)}.location-notes{background:#f8f9fa;border-radius:8px;color:#555;font-size:14px;margin-top:16px;padding:12px}.notes-label{color:#333;font-weight:600}.movement-entry{align-items:flex-start;background:#fff;border:1px solid #e5e7eb;border-radius:8px;display:flex;gap:12px;margin-bottom:8px;padding:12px 16px}.movement-entry:hover{background:#fafafa;border-color:#d1d5db}.movement-icon{align-items:center;background:#f3f4f6;border-radius:50%;display:flex;flex-shrink:0;font-size:20px;height:32px;justify-content:center;width:32px}.movement-icon.zone_change{background:#dcfce7}.movement-icon.position_update{background:#dbeafe}.movement-icon.direction_update{background:#fef3c7}.movement-icon.rotation_update{background:#e0e7ff}.movement-content{flex:1 1;min-width:0}.movement-title{color:#333;font-weight:600;margin-bottom:4px}.movement-detail{align-items:center;color:#666;display:flex;flex-wrap:wrap;font-size:13px;gap:4px}.movement-arrow{color:#9ca3af}.movement-meta{color:#888;font-size:12px;margin-top:4px}.movement-notes{color:#666;font-size:12px;font-style:italic;margin-top:4px}@media (max-width:600px){.batch-location-section{margin:16px 0;padding:16px}.location-grid{grid-template-columns:repeat(2,1fr)}.location-card{gap:8px;padding:10px}.location-card-icon{font-size:20px}.location-card-value{font-size:14px}.location-header{align-items:flex-start;flex-direction:column;gap:8px}}.weather-toggle-section{margin-bottom:12px}.weather-toggle-btn{align-items:center;background:linear-gradient(135deg,#e8f4f6,#d4eef1);border:1px solid #b8dce2;border-radius:8px;color:#3d6970;cursor:pointer;display:flex;font-size:14px;font-weight:500;justify-content:space-between;padding:12px 16px;transition:all .15s ease;width:100%}.weather-toggle-btn:hover{background:linear-gradient(135deg,#d4eef1,#c0e5ea);border-color:#508590}.weather-toggle-btn.active{background:linear-gradient(135deg,#508590,#3d6970);border-color:#3d6970;color:#fff}.toggle-arrow{transition:transform .2s ease}.toggle-arrow.expanded{transform:rotate(180deg)}.weather-entry-row{background:linear-gradient(90deg,#f0f9fa 0,#fff 30%);border-left:3px solid #508590}.weather-entry-row:hover{background:linear-gradient(90deg,#e8f4f6 0,#fff 30%)}.weather-icon{color:#508590}.movement-entry-row{background:linear-gradient(90deg,#f5f0fa 0,#fff 30%);border-left:3px solid #7b5ba0}.movement-entry-row:hover{background:linear-gradient(90deg,#efe8f5 0,#fff 30%)}.movement-icon{color:#7b5ba0}.weather-summary-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;margin-bottom:16px;overflow:hidden}.weather-summary-header{align-items:center;background:linear-gradient(135deg,#e8f4f6,#d4eef1);border:none;cursor:pointer;display:flex;justify-content:space-between;padding:16px;transition:background .15s ease;width:100%}.weather-summary-header:hover{background:linear-gradient(135deg,#d4eef1,#c0e5ea)}.weather-summary-header.expanded{border-bottom:1px solid #b8dce2}.weather-header-left{align-items:center;display:flex;gap:12px}.weather-icon-large{font-size:28px}.weather-header-info{align-items:flex-start;display:flex;flex-direction:column}.weather-title{color:#333;font-size:16px;font-weight:600}.weather-subtitle{color:#666;font-size:13px}.weather-toggle-icon{color:#508590;font-size:12px;transition:transform .2s ease}.weather-toggle-icon.expanded{transform:rotate(180deg)}.weather-summary-content{padding:16px}.weather-stats-row{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(3,1fr);margin-bottom:16px}.weather-stat{align-items:center;background:#f8f9fa;border-radius:8px;display:flex;gap:10px;padding:12px}.weather-stat .stat-icon{font-size:24px}.weather-stat .stat-data{display:flex;flex-direction:column}.weather-stat .stat-value{color:#333;font-size:18px;font-weight:600}.weather-stat .stat-label{color:#666;font-size:12px}.weather-range-row{border-bottom:1px solid #f0f0f0;border-top:1px solid #f0f0f0;display:flex;gap:24px;margin-bottom:12px;padding:12px 0}.range-item{display:flex;font-size:14px;gap:8px}.range-label{color:#666}.range-value{color:#333;font-weight:500}.weather-extremes{display:flex;flex-wrap:wrap;gap:8px}.extreme-badge{align-items:center;border-radius:16px;display:inline-flex;font-size:13px;font-weight:500;gap:6px;padding:6px 12px}.extreme-badge.cold{background:#e3f2fd;color:#1565c0}.extreme-badge.hot{background:#ffebee;color:#c62828}@media (max-width:600px){.weather-stats-row{grid-template-columns:1fr}.weather-range-row{flex-direction:column;gap:8px}}.ai-guidance-container{align-items:flex-start;background:#f0f9ff;border:1px solid #bae6fd;border-radius:12px;display:flex;gap:12px;margin-bottom:16px;padding:12px 16px}.ai-guidance-tip{background:#f0f9ff;border-color:#bae6fd}.ai-guidance-suggestion{background:#f0fdf4;border-color:#bbf7d0}.ai-guidance-warning{background:#fffbeb;border-color:#fde68a}.ai-guidance-celebration{background:#faf5ff;border-color:#e9d5ff}.ai-guidance-question{background:#f9fafb;border-color:#e5e7eb}.ai-guidance-avatar{border:2px solid #fff!important;border-radius:50%!important;box-shadow:0 2px 4px #0000001a!important;flex-shrink:0!important;height:48px!important;max-width:48px!important;min-width:48px!important;object-fit:cover!important;object-position:top!important;width:48px!important}.ai-guidance-avatar-placeholder{background:#e5e7eb;border-radius:50%;flex-shrink:0;height:48px;min-width:48px;width:48px}.ai-guidance-content{flex:1 1;min-width:0}.ai-guidance-header{align-items:center;display:flex;gap:6px;margin-bottom:4px}.ai-guidance-speaker{color:#1f2937;font-size:14px;font-weight:600;text-transform:capitalize}.ai-guidance-icon{font-size:14px}.ai-guidance-message{color:#4b5563;font-size:14px;line-height:1.5;margin:0;white-space:pre-line}.ai-guidance-action{background:#fff;border:1px solid #d1d5db;border-radius:6px;color:#374151;cursor:pointer;font-size:13px;font-weight:500;margin-top:8px;padding:6px 12px;transition:all .2s}.ai-guidance-action:hover{background:#f9fafb;border-color:#9ca3af}.ai-guidance-loading{background:#f9fafb;border-color:#e5e7eb}.ai-guidance-loading .ai-guidance-content{display:flex;flex-direction:column;gap:8px}.ai-guidance-skeleton{animation:ai-shimmer 1.5s infinite;background:linear-gradient(90deg,#e5e7eb 25%,#f3f4f6 50%,#e5e7eb 75%);background-size:200% 100%;border-radius:4px;height:16px}.ai-guidance-skeleton.short{width:30%}.ai-guidance-skeleton.long{width:70%}@keyframes ai-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media (max-width:480px){.ai-guidance-container{padding:10px 12px}.ai-guidance-avatar,.ai-guidance-avatar-placeholder{height:40px!important;max-width:40px!important;min-width:40px!important;width:40px!important}.ai-guidance-message{font-size:13px}}.view-plan-page{margin:0 auto;max-width:1000px;min-height:100vh;padding:1.5rem}.error-container,.loading-container{align-items:center;display:flex;flex-direction:column;justify-content:center;min-height:300px;text-align:center}.loading-spinner{border:3px solid #e5e7eb;border-top-color:#3b82f6}.btn-back{background-color:#3b82f6;border-radius:6px;color:#fff;margin-top:1rem;padding:10px 20px;text-decoration:none}.plan-header{margin-bottom:2rem}.back-link{display:inline-block;margin-bottom:.5rem}.header-row{align-items:flex-start;justify-content:space-between}.header-row,.header-title{display:flex;flex-wrap:wrap;gap:1rem}.header-title{align-items:center}.header-title h1{color:#111827;font-size:1.75rem;margin:0}.status-badge{border-radius:9999px;display:inline-block;font-size:12px;font-weight:600;padding:4px 12px;text-transform:uppercase}.status-badge.active{background-color:#d1fae5;color:#065f46}.status-badge.draft{background-color:#fef3c7;color:#92400e}.status-badge.paused{background-color:#e5e7eb;color:#374151}.status-badge.completed{background-color:#dbeafe;color:#1e40af}.btn-edit-plan{background-color:#3b82f6;border-radius:6px;color:#fff;font-weight:500;padding:10px 20px;text-decoration:none;transition:background-color .2s;white-space:nowrap}.btn-edit-plan:hover{background-color:#2563eb}.plan-overview{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(4,1fr);margin-bottom:2rem}.overview-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:1rem}.overview-card h4{color:#6b7280;font-size:12px;letter-spacing:.5px;margin:0 0 .5rem;text-transform:uppercase}.overview-card .big-text{color:#111827;font-size:1.5rem;font-weight:700;margin:0}.overview-card .sub-text{color:#9ca3af;font-size:13px;margin:.25rem 0 0}.progress-bar{background-color:#e5e7eb;margin-top:.5rem}.progress-fill{background-color:#10b981}.batches-summary{background:#fff;border:1px solid #e5e7eb;border-radius:8px;margin-bottom:2rem;padding:1.5rem}.batches-summary h3{color:#111827;font-size:1.125rem;margin:0 0 1rem}.batch-cards{display:flex;flex-wrap:wrap;gap:1rem}.batch-card-link{color:inherit;flex:1 1;max-width:300px;min-width:200px;text-decoration:none}.batch-card-link:hover .batch-card{background:#f0f7f8;border-color:#508590;box-shadow:0 2px 8px #50859026}.batch-card-link:hover .batch-arrow{transform:translateX(4px)}.batch-card{align-items:center;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;display:flex;gap:.75rem;padding:1rem;transition:all .15s ease}.batch-arrow{color:#9ca3af;font-size:1.25rem;margin-left:auto;transition:transform .15s ease}.batch-icon{font-size:2rem;line-height:1}.batch-info{display:flex;flex-direction:column;gap:2px}.batch-info strong{color:#111827;font-size:14px}.batch-info span{color:#6b7280;font-size:13px}.batch-feed{color:#9ca3af!important;font-size:12px!important}.order-timeline{background:#fff;border:1px solid #e5e7eb;border-radius:8px;margin-bottom:2rem;padding:1.5rem}.order-timeline h3{color:#111827;font-size:1.125rem;margin:0 0 .25rem}.timeline-subtitle{color:#6b7280;font-size:14px;margin:0 0 1.5rem}.no-orders{color:#6b7280;padding:2rem;text-align:center}.no-orders p{margin:.5rem 0}.timeline{padding-left:2.5rem;position:relative}.timeline-item{padding-bottom:1.5rem;position:relative}.timeline-item:last-child{padding-bottom:0}.timeline-connector{background:#e5e7eb;height:calc(100% + 1rem);left:-1.75rem;position:absolute;top:-1.25rem;width:2px}.timeline-marker{align-items:center;background:#fff;border:2px solid #e5e7eb;border-radius:50%;display:flex;font-size:12px;height:28px;justify-content:center;left:-2.5rem;position:absolute;top:0;width:28px;z-index:1}.timeline-item.completed .timeline-marker{background:#10b981;border-color:#10b981;color:#fff}.timeline-item.completed .timeline-content{opacity:.7}.timeline-item.in-transit .timeline-marker{background:#3b82f6;border-color:#3b82f6}.timeline-item.processing .timeline-marker{background:#f59e0b;border-color:#f59e0b}.timeline-item.confirmed .timeline-marker{background:#10b981;border-color:#10b981;color:#fff}.timeline-item.next .timeline-marker{background:#8b5cf6;border-color:#8b5cf6;box-shadow:0 0 0 4px #8b5cf633;color:#fff}.timeline-item.next .timeline-content{background:#f5f3ff;border-color:#8b5cf6}.timeline-item.upcoming .timeline-marker{background:#fff;border:2px solid #d1d5db;color:#9ca3af}.timeline-item.overdue .timeline-marker{background:#ef4444;border-color:#ef4444;color:#fff}.timeline-item.overdue .timeline-content{background:#fef2f2;border-color:#fca5a5}.timeline-content{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;padding:1rem;transition:all .2s}.timeline-content:hover{border-color:#d1d5db;box-shadow:0 2px 4px #0000000d}.timeline-content.expanded{background:#fff}.order-header{align-items:center;display:flex;flex-wrap:wrap;gap:.75rem}.order-date{color:#111827;font-weight:600}.next-badge{background:#8b5cf6;color:#fff;font-size:11px;font-weight:700;letter-spacing:.5px}.next-badge,.status-tag{border-radius:4px;padding:2px 8px}.status-tag{font-size:12px;font-weight:500}.status-tag.completed{background:#d1fae5;color:#065f46}.status-tag.in-transit{background:#dbeafe;color:#1e40af}.status-tag.processing{background:#fef3c7;color:#92400e}.status-tag.confirmed{background:#d1fae5;color:#065f46}.status-tag.next{background:#ede9fe;color:#5b21b6}.status-tag.upcoming{background:#f3f4f6;color:#374151}.status-tag.overdue{background:#fee2e2;color:#991b1b}.expand-icon{color:#9ca3af;font-size:10px;margin-left:auto}.order-number{color:#6b7280;font-size:14px;margin:.5rem 0}.order-items{border-top:1px solid #e5e7eb;margin-top:.75rem;padding-top:.75rem}.order-item{grid-gap:.5rem;border-bottom:1px solid #f3f4f6;display:grid;font-size:14px;gap:.5rem;grid-template-columns:1fr auto;padding:.5rem 0}.order-item:last-child{border-bottom:none}.item-formula{color:#111827;font-weight:500}.item-details{color:#6b7280;text-align:right}.item-batch{color:#9ca3af;font-size:12px;grid-column:1/-1}.item-packaging{color:#6b7280;font-size:13px}.order-footer{align-items:center;border-top:1px solid #e5e7eb;display:flex;flex-wrap:wrap;font-size:14px;gap:1rem;margin-top:.75rem;padding-top:.75rem}.order-weight{color:#6b7280}.order-total{color:#059669;font-weight:600}.view-order-link{color:#3b82f6;font-weight:500;margin-left:auto;text-decoration:none}.view-order-link:hover{text-decoration:underline}@media (max-width:900px){.plan-overview{grid-template-columns:repeat(2,1fr)}}@media (max-width:600px){.view-plan-page{padding:1rem}.plan-overview{grid-template-columns:1fr}.header-row{align-items:stretch;flex-direction:column}.btn-edit-plan{text-align:center}.batch-card-link{max-width:100%;min-width:100%}.batch-card{width:100%}.order-item{gap:.25rem;grid-template-columns:1fr}.item-details{text-align:left}.order-footer{align-items:flex-start;flex-direction:column;gap:.5rem}.view-order-link{margin-left:0}.timeline{padding-left:2rem}.timeline-marker{font-size:10px;height:24px;left:-2rem;width:24px}.timeline-connector{left:-1.5rem}}.mapboxgl-map{-webkit-tap-highlight-color:rgb(0 0 0/0);font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative}.mapboxgl-canvas{left:0;position:absolute;top:0}.mapboxgl-map:-webkit-full-screen{height:100%;width:100%}.mapboxgl-canary{background-color:salmon}.mapboxgl-canvas-container.mapboxgl-interactive,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass{cursor:grab;-webkit-user-select:none;user-select:none}.mapboxgl-canvas-container.mapboxgl-interactive.mapboxgl-track-pointer{cursor:pointer}.mapboxgl-canvas-container.mapboxgl-interactive:active,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass:active{cursor:grabbing}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate .mapboxgl-canvas{touch-action:pan-x pan-y}.mapboxgl-canvas-container.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:pinch-zoom}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:none}.mapboxgl-ctrl-bottom,.mapboxgl-ctrl-bottom-left,.mapboxgl-ctrl-bottom-right,.mapboxgl-ctrl-left,.mapboxgl-ctrl-right,.mapboxgl-ctrl-top,.mapboxgl-ctrl-top-left,.mapboxgl-ctrl-top-right{pointer-events:none;position:absolute;z-index:2}.mapboxgl-ctrl-top-left{left:0;top:0}.mapboxgl-ctrl-top{left:50%;top:0;transform:translateX(-50%)}.mapboxgl-ctrl-top-right{right:0;top:0}.mapboxgl-ctrl-right{right:0;top:50%;transform:translateY(-50%)}.mapboxgl-ctrl-bottom-right{bottom:0;right:0}.mapboxgl-ctrl-bottom{bottom:0;left:50%;transform:translateX(-50%)}.mapboxgl-ctrl-bottom-left{bottom:0;left:0}.mapboxgl-ctrl-left{left:0;top:50%;transform:translateY(-50%)}.mapboxgl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.mapboxgl-ctrl-top-left .mapboxgl-ctrl{float:left;margin:10px 0 0 10px}.mapboxgl-ctrl-top .mapboxgl-ctrl{float:left;margin:10px 0}.mapboxgl-ctrl-top-right .mapboxgl-ctrl{float:right;margin:10px 10px 0 0}.mapboxgl-ctrl-bottom-right .mapboxgl-ctrl,.mapboxgl-ctrl-right .mapboxgl-ctrl{float:right;margin:0 10px 10px 0}.mapboxgl-ctrl-bottom .mapboxgl-ctrl{float:left;margin:10px 0}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl,.mapboxgl-ctrl-left .mapboxgl-ctrl{float:left;margin:0 0 10px 10px}.mapboxgl-ctrl-group{background:#fff;border-radius:4px}.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px #0000001a}@media (-ms-high-contrast:active){.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px ButtonText}}.mapboxgl-ctrl-group button{background-color:initial;border:0;box-sizing:border-box;cursor:pointer;display:block;height:29px;outline:none;overflow:hidden;padding:0;width:29px}.mapboxgl-ctrl-group button+button{border-top:1px solid #ddd}.mapboxgl-ctrl button .mapboxgl-ctrl-icon{background-position:50%;background-repeat:no-repeat;display:block;height:100%;width:100%}@media (-ms-high-contrast:active){.mapboxgl-ctrl-icon{background-color:initial}.mapboxgl-ctrl-group button+button{border-top:1px solid ButtonText}}.mapboxgl-ctrl-attrib-button:focus,.mapboxgl-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl button:disabled{cursor:not-allowed}.mapboxgl-ctrl button:disabled .mapboxgl-ctrl-icon{opacity:.25}.mapboxgl-ctrl-group button:first-child{border-radius:4px 4px 0 0}.mapboxgl-ctrl-group button:last-child{border-radius:0 0 4px 4px}.mapboxgl-ctrl-group button:only-child{border-radius:inherit}.mapboxgl-ctrl button:not(:disabled):hover{background-color:#0000000d}.mapboxgl-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23999' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-buildings-toggle .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 30 30'%3E%3Cpath fill='currentColor' d='M3.334 11.667a1.667 1.667 0 1 0 3.333 0v-5h5a1.667 1.667 0 1 0 0-3.334H3.334zM26.667 11.667a1.667 1.667 0 1 1-3.334 0v-5h-5a1.667 1.667 0 1 1 0-3.334h8.334zM13.334 25c0 .92-.747 1.667-1.667 1.667H3.334v-8.334a1.667 1.667 0 1 1 3.333 0v5h5c.92 0 1.667.746 1.667 1.667M18.334 26.667a1.667 1.667 0 1 1 0-3.334h5v-5a1.667 1.667 0 1 1 3.333 0v8.334z'/%3E%3C/svg%3E");background-size:26px 26px}.mapboxgl-ctrl button.mapboxgl-ctrl-buildings-toggle.mapboxgl-ctrl-level-button-selected .mapboxgl-ctrl-icon{filter:invert(1) brightness(1)}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23aaa' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23e58978' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23e54e33' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-waiting .mapboxgl-ctrl-icon{animation:mapboxgl-spin 2s linear infinite}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23999' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23e58978' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23e54e33' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23666' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E")}}@keyframes mapboxgl-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}a.mapboxgl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd' viewBox='0 0 88 23'%3E%3Cdefs%3E%3Cpath id='a' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25M6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.4 4.4 0 0 1 3.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2z'/%3E%3Cpath id='b' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19s1.77-4.19 3.94-4.19c1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23zm26.375-.19a4.24 4.24 0 0 0-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.23 4.23 0 0 0 4.17 3.3c2.35 0 4.26-1.87 4.26-4.19s-1.9-4.17-4.27-4.17M60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23m53.615 0h-1.61q-.06 0-.12-.03c-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.2.2 0 0 1-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 0 1 .3-.17h1.6q.06 0 .12.03c.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 0 1-.3.17m-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51s1.08-2.52 2.42-2.52c1.33 0 2.42 1.12 2.42 2.51s-1.08 2.51-2.42 2.52m-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51s-1.07 2.52-2.39 2.53m-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51 1.08-2.52 2.4-2.52c1.33 0 2.39 1.11 2.41 2.48zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51-1.09 2.51-2.42 2.51'/%3E%3C/defs%3E%3Cmask id='c'%3E%3Crect width='100%25' height='100%25' fill='%23fff'/%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/mask%3E%3Cg stroke='%23000' stroke-width='3' opacity='.3'%3E%3Ccircle cx='11.5' cy='11.5' r='9.25' mask='url(%23c)'/%3E%3Cuse xlink:href='%23b' mask='url(%23c)'/%3E%3C/g%3E%3Cg fill='%23fff' opacity='.9'%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/g%3E%3C/svg%3E");background-repeat:no-repeat;cursor:pointer;display:block;height:23px;margin:0 0 -4px -4px;overflow:hidden;width:88px}a.mapboxgl-ctrl-logo.mapboxgl-compact{width:23px}@media (-ms-high-contrast:active){a.mapboxgl-ctrl-logo{background-color:initial;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd' viewBox='0 0 88 23'%3E%3Cdefs%3E%3Cpath id='a' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25M6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.4 4.4 0 0 1 3.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2z'/%3E%3Cpath id='b' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19s1.77-4.19 3.94-4.19c1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23zm26.375-.19a4.24 4.24 0 0 0-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.23 4.23 0 0 0 4.17 3.3c2.35 0 4.26-1.87 4.26-4.19s-1.9-4.17-4.27-4.17M60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23m53.615 0h-1.61q-.06 0-.12-.03c-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.2.2 0 0 1-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 0 1 .3-.17h1.6q.06 0 .12.03c.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 0 1-.3.17m-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51s1.08-2.52 2.42-2.52c1.33 0 2.42 1.12 2.42 2.51s-1.08 2.51-2.42 2.52m-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51s-1.07 2.52-2.39 2.53m-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51 1.08-2.52 2.4-2.52c1.33 0 2.39 1.11 2.41 2.48zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51-1.09 2.51-2.42 2.51'/%3E%3C/defs%3E%3Cmask id='c'%3E%3Crect width='100%25' height='100%25' fill='%23fff'/%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/mask%3E%3Cg stroke='%23000' stroke-width='3'%3E%3Ccircle cx='11.5' cy='11.5' r='9.25' mask='url(%23c)'/%3E%3Cuse xlink:href='%23b' mask='url(%23c)'/%3E%3C/g%3E%3Cg fill='%23fff'%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/g%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){a.mapboxgl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd' viewBox='0 0 88 23'%3E%3Cdefs%3E%3Cpath id='a' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25M6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.4 4.4 0 0 1 3.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2z'/%3E%3Cpath id='b' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19s1.77-4.19 3.94-4.19c1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23zm26.375-.19a4.24 4.24 0 0 0-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.23 4.23 0 0 0 4.17 3.3c2.35 0 4.26-1.87 4.26-4.19s-1.9-4.17-4.27-4.17M60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23m53.615 0h-1.61q-.06 0-.12-.03c-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.2.2 0 0 1-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 0 1 .3-.17h1.6q.06 0 .12.03c.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 0 1-.3.17m-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51s1.08-2.52 2.42-2.52c1.33 0 2.42 1.12 2.42 2.51s-1.08 2.51-2.42 2.52m-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51s-1.07 2.52-2.39 2.53m-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51 1.08-2.52 2.4-2.52c1.33 0 2.39 1.11 2.41 2.48zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51-1.09 2.51-2.42 2.51'/%3E%3C/defs%3E%3Cmask id='c'%3E%3Crect width='100%25' height='100%25' fill='%23fff'/%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/mask%3E%3Cg fill='%23fff' stroke='%23fff' stroke-width='3'%3E%3Ccircle cx='11.5' cy='11.5' r='9.25' mask='url(%23c)'/%3E%3Cuse xlink:href='%23b' mask='url(%23c)'/%3E%3C/g%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/svg%3E")}}.mapboxgl-ctrl.mapboxgl-ctrl-attrib{background-color:#ffffff80;margin:0;padding:0 5px}@media screen{.mapboxgl-ctrl-attrib.mapboxgl-compact{background-color:#fff;border-radius:12px;box-sizing:initial;margin:10px;min-height:20px;padding:2px 24px 2px 0;position:relative}.mapboxgl-ctrl-attrib.mapboxgl-compact-show{padding:2px 28px 2px 8px;visibility:visible}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show,.mapboxgl-ctrl-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show,.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show{border-radius:12px;padding:2px 8px 2px 28px}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner{display:none}.mapboxgl-ctrl-attrib-button{background-color:#ffffff80;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E");border:0;border-radius:12px;box-sizing:border-box;cursor:pointer;display:none;height:24px;outline:none;position:absolute;right:0;top:0;width:24px}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-left .mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-top-left .mapboxgl-ctrl-attrib-button{left:0}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-attrib.mapboxgl-compact-show .mapboxgl-ctrl-attrib-inner{display:block}.mapboxgl-ctrl-attrib.mapboxgl-compact-show .mapboxgl-ctrl-attrib-button{background-color:#0000000d}.mapboxgl-ctrl-bottom-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;right:0}.mapboxgl-ctrl-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{right:0}.mapboxgl-ctrl-top-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{right:0;top:0}.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{left:0;top:0}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;left:0}.mapboxgl-ctrl-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{left:0}}@media screen and (-ms-high-contrast:active){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}@media screen and (-ms-high-contrast:black-on-white){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}.mapboxgl-ctrl-attrib a{color:#000000bf;text-decoration:none}.mapboxgl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.mapboxgl-ctrl-attrib .mapbox-improve-map{font-weight:700;margin-left:2px}.mapboxgl-attrib-empty{display:none}.mapboxgl-ctrl-scale{background-color:#ffffffbf;border:2px solid #333;border-top:#333;box-sizing:border-box;color:#333;font-size:10px;padding:0 5px;white-space:nowrap}.mapboxgl-popup{display:flex;left:0;pointer-events:none;position:absolute;top:0;will-change:transform}.mapboxgl-popup-anchor-top,.mapboxgl-popup-anchor-top-left,.mapboxgl-popup-anchor-top-right{flex-direction:column}.mapboxgl-popup-anchor-bottom,.mapboxgl-popup-anchor-bottom-left,.mapboxgl-popup-anchor-bottom-right{flex-direction:column-reverse}.mapboxgl-popup-anchor-left{flex-direction:row}.mapboxgl-popup-anchor-right{flex-direction:row-reverse}.mapboxgl-popup-tip{border:10px solid #0000;height:0;width:0;z-index:1}.mapboxgl-popup-anchor-top .mapboxgl-popup-tip{align-self:center;border-bottom-color:#fff;border-top:none}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip{align-self:flex-start;border-bottom-color:#fff;border-left:none;border-top:none}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip{align-self:flex-end;border-bottom-color:#fff;border-right:none;border-top:none}.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip{align-self:center;border-bottom:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip{align-self:flex-start;border-bottom:none;border-left:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip{align-self:flex-end;border-bottom:none;border-right:none;border-top-color:#fff}.mapboxgl-popup-anchor-left .mapboxgl-popup-tip{align-self:center;border-left:none;border-right-color:#fff}.mapboxgl-popup-anchor-right .mapboxgl-popup-tip{align-self:center;border-left-color:#fff;border-right:none}.mapboxgl-popup-close-button{background-color:initial;border:0;border-radius:0 3px 0 0;cursor:pointer;position:absolute;right:0;top:0}.mapboxgl-popup-close-button:hover{background-color:#0000000d}.mapboxgl-popup-content{background:#fff;border-radius:3px;box-shadow:0 1px 2px #0000001a;padding:10px 10px 15px;pointer-events:auto;position:relative}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-content{border-top-left-radius:0}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-content{border-top-right-radius:0}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-content{border-bottom-left-radius:0}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-content{border-bottom-right-radius:0}.mapboxgl-popup-track-pointer{display:none}.mapboxgl-popup-track-pointer *{pointer-events:none;-webkit-user-select:none;user-select:none}.mapboxgl-map:hover .mapboxgl-popup-track-pointer{display:flex}.mapboxgl-map:active .mapboxgl-popup-track-pointer{display:none}.mapboxgl-marker{left:0;opacity:1;position:absolute;top:0;transition:opacity .2s;will-change:transform}.mapboxgl-user-location-dot,.mapboxgl-user-location-dot:before{background-color:#1da1f2;border-radius:50%;height:15px;width:15px}.mapboxgl-user-location-dot:before{animation:mapboxgl-user-location-dot-pulse 2s infinite;content:"";position:absolute}.mapboxgl-user-location-dot:after{border:2px solid #fff;border-radius:50%;box-shadow:0 0 3px #00000059;box-sizing:border-box;content:"";height:19px;left:-2px;position:absolute;top:-2px;width:19px}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading{height:0;width:0}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:after,.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:before{border-bottom:7.5px solid #4aa1eb;content:"";position:absolute}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:before{border-left:7.5px solid #0000;transform:translateY(-28px) skewY(-20deg)}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:after{border-right:7.5px solid #0000;transform:translate(7.5px,-28px) skewY(20deg)}@keyframes mapboxgl-user-location-dot-pulse{0%{opacity:1;transform:scale(1)}70%{opacity:0;transform:scale(3)}to{opacity:0;transform:scale(1)}}.mapboxgl-user-location-dot-stale{background-color:#aaa}.mapboxgl-user-location-dot-stale:after{display:none}.mapboxgl-user-location-accuracy-circle{background-color:#1da1f233;border-radius:100%;height:1px;width:1px}.mapboxgl-crosshair,.mapboxgl-crosshair .mapboxgl-interactive,.mapboxgl-crosshair .mapboxgl-interactive:active{cursor:crosshair}.mapboxgl-boxzoom{background:#fff;border:2px dotted #202020;height:0;left:0;opacity:.5;position:absolute;top:0;width:0}@media print{.mapbox-improve-map{display:none}}.mapboxgl-scroll-zoom-blocker,.mapboxgl-touch-pan-blocker{align-items:center;background:#000000b3;color:#fff;display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;height:100%;justify-content:center;left:0;opacity:0;pointer-events:none;position:absolute;text-align:center;top:0;transition:opacity .75s ease-in-out;transition-delay:1s;width:100%}.mapboxgl-scroll-zoom-blocker-show,.mapboxgl-touch-pan-blocker-show{opacity:1;transition:opacity .1s ease-in-out}.mapboxgl-canvas-container.mapboxgl-touch-pan-blocker-override.mapboxgl-scrollable-page,.mapboxgl-canvas-container.mapboxgl-touch-pan-blocker-override.mapboxgl-scrollable-page .mapboxgl-canvas{touch-action:pan-x pan-y}.mapboxgl-ctrl-separator{background-color:#e0e0e0;height:1px}.mapboxgl-ctrl button.mapboxgl-ctrl-level-button{color:#333;font-size:18px;font-weight:700;height:50px;width:50px}.mapboxgl-ctrl button.mapboxgl-ctrl-level-button:first-child{border-top-left-radius:8px;border-top-right-radius:8px}.mapboxgl-ctrl button.mapboxgl-ctrl-level-button:last-child{border-bottom-left-radius:8px;border-bottom-right-radius:8px}.mapboxgl-ctrl button.mapboxgl-ctrl-level-button:hover{background-color:#f5f5f5}.mapboxgl-ctrl button.mapboxgl-ctrl-level-button-selected{background-color:#4a5568;color:#fff}.mapboxgl-ctrl button.mapboxgl-ctrl-level-button-selected:hover{background-color:#2d3748}.mapbox-gl-draw_ctrl-bottom-left,.mapbox-gl-draw_ctrl-top-left{border-radius:0 4px 4px 0;margin-left:0}.mapbox-gl-draw_ctrl-bottom-right,.mapbox-gl-draw_ctrl-top-right{border-radius:4px 0 0 4px;margin-right:0}.mapbox-gl-draw_ctrl-draw-btn{border-color:#000000e6;color:#ffffff80;height:30px;width:30px}.mapbox-gl-draw_ctrl-draw-btn.active,.mapbox-gl-draw_ctrl-draw-btn.active:hover{background-color:#0000000d}.mapbox-gl-draw_ctrl-draw-btn{background-position:50%;background-repeat:no-repeat}.mapbox-gl-draw_point{background-image:url('data:image/svg+xml;utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="20" height="20">%3Cpath d="m10 2c-3.3 0-6 2.7-6 6s6 9 6 9 6-5.7 6-9-2.7-6-6-6zm0 2c2.1 0 3.8 1.7 3.8 3.8 0 1.5-1.8 3.9-2.9 5.2h-1.7c-1.1-1.4-2.9-3.8-2.9-5.2-.1-2.1 1.6-3.8 3.7-3.8z"/>%3C/svg>')}.mapbox-gl-draw_polygon{background-image:url('data:image/svg+xml;utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="20" height="20">%3Cpath d="m15 12.3v-4.6c.6-.3 1-1 1-1.7 0-1.1-.9-2-2-2-.7 0-1.4.4-1.7 1h-4.6c-.3-.6-1-1-1.7-1-1.1 0-2 .9-2 2 0 .7.4 1.4 1 1.7v4.6c-.6.3-1 1-1 1.7 0 1.1.9 2 2 2 .7 0 1.4-.4 1.7-1h4.6c.3.6 1 1 1.7 1 1.1 0 2-.9 2-2 0-.7-.4-1.4-1-1.7zm-8-.3v-4l1-1h4l1 1v4l-1 1h-4z"/>%3C/svg>')}.mapbox-gl-draw_line{background-image:url('data:image/svg+xml;utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="20" height="20">%3Cpath d="m13.5 3.5c-1.4 0-2.5 1.1-2.5 2.5 0 .3 0 .6.2.9l-3.8 3.8c-.3-.1-.6-.2-.9-.2-1.4 0-2.5 1.1-2.5 2.5s1.1 2.5 2.5 2.5 2.5-1.1 2.5-2.5c0-.3 0-.6-.2-.9l3.8-3.8c.3.1.6.2.9.2 1.4 0 2.5-1.1 2.5-2.5s-1.1-2.5-2.5-2.5z"/>%3C/svg>')}.mapbox-gl-draw_trash{background-image:url('data:image/svg+xml;utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="20" height="20">%3Cpath d="M10,3.4 c-0.8,0-1.5,0.5-1.8,1.2H5l-1,1v1h12v-1l-1-1h-3.2C11.5,3.9,10.8,3.4,10,3.4z M5,8v7c0,1,1,2,2,2h6c1,0,2-1,2-2V8h-2v5.5h-1.5V8h-3 v5.5H7V8H5z"/>%3C/svg>')}.mapbox-gl-draw_uncombine{background-image:url('data:image/svg+xml;utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="20" height="20">%3Cpath d="m12 2c-.3 0-.5.1-.7.3l-1 1c-.4.4-.4 1 0 1.4l1 1c.4.4 1 .4 1.4 0l1-1c.4-.4.4-1 0-1.4l-1-1c-.2-.2-.4-.3-.7-.3zm4 4c-.3 0-.5.1-.7.3l-1 1c-.4.4-.4 1 0 1.4l1 1c.4.4 1 .4 1.4 0l1-1c.4-.4.4-1 0-1.4l-1-1c-.2-.2-.4-.3-.7-.3zm-7 1c-1 0-1 1-.5 1.5.3.3 1 1 1 1l-1 1s-.5.5 0 1 1 0 1 0l1-1 1 1c.5.5 1.5.5 1.5-.5v-4zm-5 3c-.3 0-.5.1-.7.3l-1 1c-.4.4-.4 1 0 1.4l4.9 4.9c.4.4 1 .4 1.4 0l1-1c.4-.4.4-1 0-1.4l-4.9-4.9c-.1-.2-.4-.3-.7-.3z"/>%3C/svg>')}.mapbox-gl-draw_combine{background-image:url('data:image/svg+xml;utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="20" height="20">%3Cpath d="M12.1,2c-0.3,0-0.5,0.1-0.7,0.3l-1,1c-0.4,0.4-0.4,1,0,1.4l4.9,4.9c0.4,0.4,1,0.4,1.4,0l1-1 c0.4-0.4,0.4-1,0-1.4l-4.9-4.9C12.6,2.1,12.3,2,12.1,2z M8,8C7,8,7,9,7.5,9.5c0.3,0.3,1,1,1,1l-1,1c0,0-0.5,0.5,0,1s1,0,1,0l1-1l1,1 C11,13,12,13,12,12V8H8z M4,10c-0.3,0-0.5,0.1-0.7,0.3l-1,1c-0.4,0.4-0.4,1,0,1.4l1,1c0.4,0.4,1,0.4,1.4,0l1-1c0.4-0.4,0.4-1,0-1.4 l-1-1C4.5,10.1,4.3,10,4,10z M8,14c-0.3,0-0.5,0.1-0.7,0.3l-1,1c-0.4,0.4-0.4,1,0,1.4l1,1c0.4,0.4,1,0.4,1.4,0l1-1 c0.4-0.4,0.4-1,0-1.4l-1-1C8.5,14.1,8.3,14,8,14z"/>%3C/svg>')}.mapboxgl-map.mouse-pointer .mapboxgl-canvas-container.mapboxgl-interactive{cursor:pointer}.mapboxgl-map.mouse-move .mapboxgl-canvas-container.mapboxgl-interactive{cursor:move}.mapboxgl-map.mouse-add .mapboxgl-canvas-container.mapboxgl-interactive{cursor:crosshair}.mapboxgl-map.mouse-move.mode-direct_select .mapboxgl-canvas-container.mapboxgl-interactive{cursor:grab;cursor:-webkit-grab}.mapboxgl-map.mode-direct_select.feature-vertex.mouse-move .mapboxgl-canvas-container.mapboxgl-interactive{cursor:move}.mapboxgl-map.mode-direct_select.feature-midpoint.mouse-pointer .mapboxgl-canvas-container.mapboxgl-interactive{cursor:cell}.mapboxgl-map.mode-direct_select.feature-feature.mouse-move .mapboxgl-canvas-container.mapboxgl-interactive{cursor:move}.mapboxgl-map.mode-static.mouse-pointer .mapboxgl-canvas-container.mapboxgl-interactive{cursor:grab;cursor:-webkit-grab}.mapbox-gl-draw_boxselect{background:#0000001a;border:2px dotted #fff;height:0;left:0;opacity:.5;pointer-events:none;position:absolute;top:0;width:0}.timeline-scrubber{display:flex;flex:1 1;flex-direction:column;gap:.5rem;padding:0 1rem}.timeline-current-date{color:#f3f4f6;color:var(--text-primary,#f3f4f6);font-size:.875rem;font-weight:500;text-align:center}.timeline-track-container{padding-top:1.5rem;position:relative}.timeline-months{display:flex;left:0;position:absolute;right:0;top:0}.timeline-month-label{color:#9ca3af;color:var(--text-secondary,#9ca3af);font-size:.625rem;position:absolute;transform:translateX(-50%);white-space:nowrap}.timeline-track{background:#2d2d2d;background:var(--bg-tertiary,#2d2d2d);border-radius:12px;cursor:pointer;height:24px;overflow:visible;position:relative}.timeline-progress{background:linear-gradient(90deg,#10b981,#059669);background:linear-gradient(90deg,var(--primary,#10b981),var(--primary-hover,#059669));border-radius:12px 0 0 12px;height:100%;left:0;position:absolute;top:0;transition:width .1s linear}.timeline-event-marker{align-items:center;border-radius:50%;cursor:pointer;display:flex;height:16px;justify-content:center;position:absolute;top:50%;transform:translate(-50%,-50%);transition:transform .2s;width:16px;z-index:2}.timeline-event-marker:hover{transform:translate(-50%,-50%) scale(1.3);z-index:3}.timeline-event-icon{font-size:.625rem;line-height:1}.timeline-event-marker.severity-critical{box-shadow:0 0 8px #ef444480}.timeline-event-marker.severity-warning{box-shadow:0 0 8px #f59e0b80}.timeline-event-marker.severity-info{box-shadow:0 0 8px #3b82f64d}.timeline-playhead{pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%);z-index:5}.timeline-playhead-handle{background:#f3f4f6;background:var(--text-primary,#f3f4f6);border-radius:2px;box-shadow:0 2px 8px #0000004d;height:32px;width:4px}@media (pointer:coarse){.timeline-track{height:32px}.timeline-event-marker{height:20px;width:20px}.timeline-playhead-handle{height:40px;width:6px}}@media (max-width:768px){.timeline-scrubber{padding:0;width:100%}.timeline-month-label{font-size:.5rem}}.history-map-viewer{height:100%;min-height:300px;position:relative;width:100%}.history-map-container{bottom:0;left:0;position:absolute;right:0;top:0}.history-map-date-overlay{color:#fff;font-size:.875rem;font-weight:500;left:50%;padding:.5rem 1rem;top:1rem;transform:translateX(-50%)}.history-map-date-overlay,.history-map-legend{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#000000bf;border-radius:8px;box-shadow:0 2px 8px #0000004d;position:absolute;z-index:10}.history-map-legend{bottom:1rem;padding:.75rem 1rem;right:1rem}.history-legend-title{color:#9ca3af;color:var(--text-secondary,#9ca3af);font-size:.75rem;font-weight:600;letter-spacing:.05em;margin-bottom:.5rem;text-transform:uppercase}.history-legend-items{display:flex;flex-direction:column;gap:.375rem}.history-legend-item{align-items:center;color:#fff;display:flex;font-size:.75rem;gap:.5rem}.history-legend-dot{border:2px solid #fff;border-radius:50%;height:10px;width:10px}.history-shelter-marker{align-items:center;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 8px #0000004d;cursor:pointer;display:flex;height:32px;justify-content:center;transition:transform .2s;width:32px}.history-shelter-marker:hover{transform:scale(1.1)}.history-shelter-marker svg{height:16px;width:16px}.history-event-popup{align-items:center;display:flex;gap:.5rem;padding:.25rem}.history-event-popup-icon{font-size:1.25rem}.history-event-popup-title{color:#1f2937;font-size:.875rem;font-weight:500}.mapboxgl-popup-content{border-radius:8px;box-shadow:0 4px 12px #00000026;padding:.5rem .75rem}.mapboxgl-popup-close-button{font-size:1.25rem;padding:.25rem .5rem}@media (max-width:768px){.history-map-date-overlay{font-size:.75rem;padding:.375rem .75rem;top:.5rem}.history-map-legend{bottom:.5rem;padding:.5rem .75rem;right:.5rem}.history-legend-item,.history-legend-title{font-size:.625rem}.history-legend-dot{height:8px;width:8px}}.event-popup{background:#242424;background:var(--bg-secondary,#242424);border-left:4px solid;border-radius:12px;bottom:100px;box-shadow:0 8px 24px #0000004d;cursor:pointer;max-width:360px;opacity:0;overflow:hidden;position:fixed;right:1.5rem;transform:translateX(100%);transition:all .3s ease-out;z-index:1000}.event-popup.visible{opacity:1;transform:translateX(0)}.event-popup.exiting{opacity:0;transform:translateX(100%)}.event-popup-content{align-items:flex-start;display:flex;gap:.75rem;padding:1rem}.event-popup-icon{flex-shrink:0;font-size:1.75rem;line-height:1}.event-popup-body{flex:1 1;min-width:0}.event-popup-title{color:#f3f4f6;color:var(--text-primary,#f3f4f6);font-size:.9375rem;font-weight:600;line-height:1.3;margin-bottom:.375rem}.event-popup-meta{align-items:center;color:#9ca3af;color:var(--text-secondary,#9ca3af);display:flex;font-size:.75rem;gap:.5rem}.event-popup-severity{border-radius:4px;font-weight:500;padding:.125rem .5rem;text-transform:capitalize}.event-popup-severity.severity-critical{background:#ef444433;color:#f87171}.event-popup-severity.severity-warning{background:#f59e0b33;color:#fbbf24}.event-popup-severity.severity-info{background:#3b82f633;color:#60a5fa}.event-popup-date{white-space:nowrap}.event-popup-close{align-items:center;background:none;border:none;border-radius:4px;color:#9ca3af;color:var(--text-secondary,#9ca3af);cursor:pointer;display:flex;flex-shrink:0;height:24px;justify-content:center;transition:all .2s;width:24px}.event-popup-close:hover{background:#3d3d3d;background:var(--bg-hover,#3d3d3d);color:#f3f4f6;color:var(--text-primary,#f3f4f6)}.event-popup-progress{animation:progress-shrink linear forwards;bottom:0;height:3px;left:0;position:absolute;transform-origin:left;width:100%}@keyframes progress-shrink{0%{width:100%}to{width:0}}@media (max-width:768px){.event-popup{bottom:80px;left:1rem;max-width:none;right:1rem;transform:translateY(100%)}.event-popup.visible{transform:translateY(0)}.event-popup.exiting{transform:translateY(100%)}}.history-timeline-view{background:#1a1a1a;background:var(--bg-primary,#1a1a1a);display:flex;flex-direction:column;height:100%}.history-timeline-empty,.history-timeline-error,.history-timeline-loading{align-items:center;color:#9ca3af;color:var(--text-secondary,#9ca3af);display:flex;flex-direction:column;height:100%;justify-content:center;padding:2rem;text-align:center}.history-timeline-spinner{animation:spin 1s linear infinite;border:3px solid #374151;border-top-color:#10b981;border:3px solid var(--border-color,#374151);border-radius:50%;border-top-color:var(--primary,#10b981);height:40px;margin-bottom:1rem;width:40px}.history-timeline-header{align-items:center;background:#242424;background:var(--bg-secondary,#242424);border-bottom:1px solid #374151;border-bottom:1px solid var(--border-color,#374151);display:flex;flex-wrap:wrap;gap:1rem;padding:1rem}.history-year-selector{align-items:center;display:flex;gap:.5rem}.history-year-btn{align-items:center;background:#2d2d2d;background:var(--bg-tertiary,#2d2d2d);border:1px solid #374151;border:1px solid var(--border-color,#374151);border-radius:6px;color:#f3f4f6;color:var(--text-primary,#f3f4f6);cursor:pointer;display:flex;height:32px;justify-content:center;transition:all .2s;width:32px}.history-year-btn:hover:not(:disabled){background:#3d3d3d;background:var(--bg-hover,#3d3d3d);border-color:#10b981;border-color:var(--primary,#10b981)}.history-year-btn:disabled{cursor:not-allowed;opacity:.5}.history-year-display{color:#f3f4f6;color:var(--text-primary,#f3f4f6);font-size:1.25rem;font-weight:600;min-width:60px;text-align:center}.history-batch-filter{flex:1 1;max-width:300px;min-width:200px}.history-select{background:#2d2d2d;background:var(--bg-tertiary,#2d2d2d);border:1px solid #374151;border:1px solid var(--border-color,#374151);border-radius:6px;color:#f3f4f6;color:var(--text-primary,#f3f4f6);cursor:pointer;font-size:.875rem;padding:.5rem .75rem;width:100%}.history-select:focus{border-color:#10b981;border-color:var(--primary,#10b981);outline:none}.history-filter-btn{align-items:center;background:#2d2d2d;background:var(--bg-tertiary,#2d2d2d);border:1px solid #374151;border:1px solid var(--border-color,#374151);border-radius:6px;color:#f3f4f6;color:var(--text-primary,#f3f4f6);cursor:pointer;display:flex;font-size:.875rem;gap:.5rem;padding:.5rem .75rem;transition:all .2s}.history-filter-btn.active,.history-filter-btn:hover{background:#3d3d3d;background:var(--bg-hover,#3d3d3d);border-color:#10b981;border-color:var(--primary,#10b981)}.history-filter-count{align-items:center;background:#10b981;background:var(--primary,#10b981);border-radius:10px;color:#fff;display:inline-flex;font-size:.75rem;font-weight:600;height:20px;justify-content:center;min-width:20px;padding:0 .375rem}.history-speed-selector{background:#2d2d2d;background:var(--bg-tertiary,#2d2d2d);border:1px solid #374151;border:1px solid var(--border-color,#374151);border-radius:6px;display:flex;gap:.25rem;padding:.25rem}.history-speed-btn{background:#0000;border:none;border-radius:4px;color:#9ca3af;color:var(--text-secondary,#9ca3af);cursor:pointer;font-size:.75rem;font-weight:500;padding:.25rem .5rem;transition:all .2s}.history-speed-btn:hover{color:#f3f4f6;color:var(--text-primary,#f3f4f6)}.history-speed-btn.active{background:#10b981;background:var(--primary,#10b981);color:#fff}.history-stats{color:#9ca3af;color:var(--text-secondary,#9ca3af);display:flex;font-size:.875rem;gap:1rem;margin-left:auto}.history-filter-panel{background:#242424;background:var(--bg-secondary,#242424);border-bottom:1px solid #374151;border-bottom:1px solid var(--border-color,#374151);padding:1rem}.history-filter-header{align-items:center;color:#f3f4f6;color:var(--text-primary,#f3f4f6);display:flex;font-weight:500;justify-content:space-between;margin-bottom:.75rem}.history-filter-header button{align-items:center;background:none;border:none;color:#9ca3af;color:var(--text-secondary,#9ca3af);cursor:pointer;display:flex;height:24px;justify-content:center;width:24px}.history-filter-options{display:flex;flex-wrap:wrap;gap:.75rem}.history-filter-option{align-items:center;background:#2d2d2d;background:var(--bg-tertiary,#2d2d2d);border:1px solid #374151;border:1px solid var(--border-color,#374151);border-radius:6px;color:#f3f4f6;color:var(--text-primary,#f3f4f6);cursor:pointer;display:flex;font-size:.875rem;gap:.5rem;padding:.375rem .75rem;transition:all .2s}.history-filter-option:hover{border-color:#10b981;border-color:var(--primary,#10b981)}.history-filter-option input{accent-color:#10b981;accent-color:var(--primary,#10b981)}.history-filter-option .history-filter-count{background:#3d3d3d;background:var(--bg-hover,#3d3d3d);color:#9ca3af;color:var(--text-secondary,#9ca3af);font-size:.75rem}.history-filter-clear{background:none;border:1px solid #374151;border:1px solid var(--border-color,#374151);border-radius:6px;color:#9ca3af;color:var(--text-secondary,#9ca3af);cursor:pointer;font-size:.875rem;margin-top:.75rem;padding:.5rem 1rem;transition:all .2s}.history-filter-clear:hover{border-color:#ef4444;border-color:var(--danger,#ef4444);color:#ef4444;color:var(--danger,#ef4444)}.history-map-container{flex:1 1;min-height:300px;position:relative}.history-playback-controls{align-items:center;background:#242424;background:var(--bg-secondary,#242424);border-top:1px solid #374151;border-top:1px solid var(--border-color,#374151);display:flex;gap:1rem;padding:1rem}.history-playback-buttons{align-items:center;display:flex;gap:.5rem}.history-control-btn{align-items:center;background:#2d2d2d;background:var(--bg-tertiary,#2d2d2d);border:1px solid #374151;border:1px solid var(--border-color,#374151);border-radius:50%;color:#f3f4f6;color:var(--text-primary,#f3f4f6);cursor:pointer;display:flex;height:36px;justify-content:center;transition:all .2s;width:36px}.history-control-btn:hover{background:#3d3d3d;background:var(--bg-hover,#3d3d3d)}.history-control-btn:hover,.history-play-btn{border-color:#10b981;border-color:var(--primary,#10b981)}.history-play-btn{background:#10b981;background:var(--primary,#10b981);height:48px;width:48px}.history-play-btn:hover{background:#059669;background:var(--primary-hover,#059669);border-color:#059669;border-color:var(--primary-hover,#059669)}.history-btn{align-items:center;border-radius:6px;cursor:pointer;display:inline-flex;font-size:.875rem;font-weight:500;gap:.5rem;padding:.5rem 1rem;transition:all .2s}.history-btn-primary{background:#10b981;background:var(--primary,#10b981);border:1px solid #10b981;border:1px solid var(--primary,#10b981);color:#fff}.history-btn-primary:hover{background:#059669;background:var(--primary-hover,#059669)}@media (max-width:768px){.history-timeline-header{gap:.75rem;padding:.75rem}.history-batch-filter{flex:1 1 100%;max-width:none;order:3}.history-stats{display:none}.history-playback-controls{flex-direction:column;gap:.75rem}.history-playback-buttons{justify-content:center;width:100%}}.farmmap-page{background:#f9fafb;height:calc(100vh - 64px)}.farmmap-loading,.farmmap-page{display:flex;flex-direction:column}.farmmap-loading{align-items:center;gap:1rem;height:100%;justify-content:center}.farmmap-spinner{animation:spin 1s linear infinite;border:3px solid #e5e7eb;border-radius:50%;border-top-color:#059669;height:40px;width:40px}.farmmap-error{color:#dc2626;gap:1rem}.farmmap-empty,.farmmap-error{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;padding:2rem;text-align:center}.farmmap-empty{gap:1.5rem;margin:0 auto;max-width:500px}.farmmap-empty-icon{color:#059669;opacity:.8}.farmmap-empty h2{color:#111827;font-size:1.5rem;font-weight:600;margin:0}.farmmap-empty p{color:#6b7280;margin:0}.farmmap-init-form{display:flex;flex-direction:column;gap:1rem;width:100%}.farmmap-init-fields{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr 1fr}.farmmap-field{display:flex;flex-direction:column;gap:.25rem}.farmmap-field label{color:#374151;font-size:.875rem;font-weight:500}.farmmap-field input{border:1px solid #d1d5db;border-radius:.5rem;font-size:1rem;min-height:44px;padding:.75rem}.farmmap-field input:focus{border-color:#059669;box-shadow:0 0 0 3px #0596691a;outline:none}.farmmap-init-actions{display:flex;gap:.75rem}.farmmap-init-options{align-items:center;display:flex;flex-direction:column;gap:1rem;width:100%}.farmmap-address-hint{background:#f3f4f6;border-radius:.375rem;color:#6b7280;font-size:.875rem;margin:0;padding:.5rem 1rem}.farmmap-header{align-items:center;background:#fff;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:1rem 1.5rem}.farmmap-header-content h1{color:#111827;font-size:1.25rem;font-weight:600;margin:0}.farmmap-header-stats{display:flex;gap:1rem;margin-top:.25rem}.farmmap-header-stats span{color:#6b7280;font-size:.875rem}.farmmap-tabs{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;background:#fff;border-bottom:1px solid #e5e7eb;display:flex;gap:.25rem;overflow-x:auto;padding:0 1rem;scrollbar-width:none}.farmmap-tabs::-webkit-scrollbar{display:none}.farmmap-tab{align-items:center;background:none;border:none;border-bottom:2px solid #0000;color:#6b7280;cursor:pointer;display:flex;font-size:.875rem;font-weight:500;gap:.5rem;min-height:44px;padding:.75rem 1rem;transition:all .15s;white-space:nowrap}.farmmap-tab:hover{color:#059669}.farmmap-tab.active{border-bottom-color:#059669;color:#059669}.farmmap-mobile-nav{background:#fff;border-bottom:1px solid #e5e7eb;display:none;position:relative}.farmmap-mobile-nav-toggle{align-items:center;background:#fff;border:none;color:#059669;cursor:pointer;display:flex;font-size:.9375rem;font-weight:600;gap:.5rem;padding:.875rem 1rem;text-align:left;width:100%}.farmmap-mobile-nav-toggle span{flex:1 1}.farmmap-mobile-nav-chevron{color:#6b7280;transition:transform .2s}.farmmap-mobile-nav-chevron.open{transform:rotate(180deg)}.farmmap-mobile-nav-backdrop{background:#0000004d;inset:0;position:fixed;z-index:99}.farmmap-mobile-nav-menu{background:#fff;border-bottom:1px solid #e5e7eb;box-shadow:0 4px 12px #00000026;left:0;max-height:70vh;overflow-y:auto;position:absolute;right:0;top:100%;z-index:100}.farmmap-mobile-nav-item{align-items:center;background:#fff;border:none;border-bottom:1px solid #f3f4f6;color:#374151;cursor:pointer;display:flex;font-size:.9375rem;font-weight:500;gap:.75rem;padding:1rem 1.25rem;text-align:left;transition:background .15s;width:100%}.farmmap-mobile-nav-item:last-child{border-bottom:none}.farmmap-mobile-nav-item:hover{background:#f9fafb}.farmmap-mobile-nav-item.active{background:#f0fdf4;color:#059669}.farmmap-mobile-nav-item span{flex:1 1}.farmmap-mobile-nav-check{color:#059669}.farmmap-content{flex:1 1;overflow:auto;padding:1rem}.farmmap-map-container{border-radius:.5rem;box-shadow:0 1px 3px #0000001a;height:100%;overflow:hidden;position:relative}.farmmap-reports{background:#fff;border-radius:.5rem;padding:2rem;text-align:center}.farmmap-reports h2{color:#111827;font-size:1.25rem;margin:0 0 .5rem}.farmmap-reports p{color:#6b7280;margin:0}.farmmap-btn{align-items:center;border:none;border-radius:.5rem;cursor:pointer;display:inline-flex;font-size:.875rem;font-weight:500;gap:.5rem;justify-content:center;min-height:44px;padding:.75rem 1.25rem;transition:all .15s}.farmmap-btn-primary{background:#059669;color:#fff}.farmmap-btn-primary:hover{background:#047857}.farmmap-btn-primary:disabled{background:#9ca3af;cursor:not-allowed}.farmmap-btn-secondary{background:#fff;border:1px solid #d1d5db;color:#374151}.farmmap-btn-secondary:hover{background:#f9fafb}.farmmap-btn-text{background:none;color:#6b7280;padding:.5rem}.farmmap-btn-text:hover{color:#374151}.farmmap-btn-lg{font-size:1rem;padding:1rem 2rem}.farmmap-btn-sm{font-size:.75rem;min-height:36px;padding:.5rem .75rem}.farmmap-btn-danger{background:#dc2626;color:#fff}.farmmap-btn-danger:hover{background:#b91c1c}.farmmap-card{background:#fff;border:1px solid #e5e7eb;border-radius:.5rem;padding:1rem}.farmmap-card-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.farmmap-card-title{color:#111827;font-size:1rem;font-weight:600;margin:0}.farmmap-list{display:flex;flex-direction:column;gap:.5rem}.farmmap-list-item{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:.5rem;display:flex;justify-content:space-between;padding:.75rem 1rem;transition:all .15s}.farmmap-list-item:hover{border-color:#059669}.farmmap-list-item-content{align-items:center;display:flex;gap:.75rem}.farmmap-list-item-color{border-radius:2px;height:12px;width:12px}.farmmap-list-item-name{color:#111827;font-weight:500}.farmmap-list-item-meta{color:#6b7280;font-size:.875rem}.farmmap-list-item-actions{display:flex;gap:.5rem}.farmmap-modal-overlay{align-items:center;background:#00000080;display:flex;inset:0;justify-content:center;padding:1rem;position:fixed;z-index:1000}.farmmap-modal{background:#fff;border-radius:.75rem;max-height:90vh;max-width:500px;overflow:auto;width:100%}.farmmap-modal-header{align-items:center;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:1rem 1.5rem}.farmmap-modal-title{color:#111827;font-size:1.125rem;font-weight:600;margin:0}.farmmap-modal-close{background:none;border:none;color:#6b7280;cursor:pointer;padding:.25rem}.farmmap-modal-close:hover{color:#374151}.farmmap-modal-body{padding:1.5rem}.farmmap-modal-footer{border-top:1px solid #e5e7eb;display:flex;gap:.75rem;justify-content:flex-end;padding:1rem 1.5rem}.farmmap-form-group{margin-bottom:1rem}.farmmap-form-group label{color:#374151;display:block;font-size:.875rem;font-weight:500;margin-bottom:.25rem}.farmmap-form-group input,.farmmap-form-group select,.farmmap-form-group textarea{border:1px solid #d1d5db;border-radius:.5rem;font-size:1rem;min-height:44px;padding:.75rem;width:100%}.farmmap-form-group input:focus,.farmmap-form-group select:focus,.farmmap-form-group textarea:focus{border-color:#059669;box-shadow:0 0 0 3px #0596691a;outline:none}.farmmap-form-group textarea{min-height:80px;resize:vertical}.farmmap-form-row{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr 1fr}.farmmap-badge{align-items:center;border-radius:9999px;display:inline-flex;font-size:.75rem;font-weight:500;padding:.25rem .5rem}.farmmap-badge-success{background:#d1fae5;color:#065f46}.farmmap-badge-warning{background:#fef3c7;color:#92400e}.farmmap-badge-danger{background:#fee2e2;color:#991b1b}.farmmap-badge-info{background:#dbeafe;color:#1e40af}.farmmap-empty-list{align-items:center;color:#6b7280;display:flex;flex-direction:column;justify-content:center;padding:2rem;text-align:center}.farmmap-empty-list p{font-size:.875rem;margin:.5rem 0 0}.farmmap-empty-list p:first-of-type,.farmmap-offline-btn{color:#374151;font-weight:500}.farmmap-offline-btn{align-items:center;background:#fff;border:1px solid #d1d5db;border-radius:.5rem;bottom:1rem;box-shadow:0 2px 4px #0000001a;cursor:pointer;display:flex;font-size:.75rem;gap:.375rem;padding:.5rem .75rem;position:absolute;right:1rem;transition:all .15s;z-index:10}.farmmap-offline-btn:hover{background:#f9fafb;border-color:#059669;color:#059669}.farmmap-offline-btn svg{flex-shrink:0}.farmmap-offline-modal .farmmap-modal-header h2{align-items:center;color:#111827;display:flex;font-size:1.125rem;font-weight:600;gap:.5rem;margin:0}.farmmap-offline-intro{color:#6b7280;font-size:.875rem;line-height:1.5;margin:0 0 1.5rem}.farmmap-offline-status{background:#f9fafb;border-radius:.5rem;margin-bottom:1.5rem;padding:1rem}.farmmap-offline-status-row{border-bottom:1px solid #e5e7eb;display:flex;font-size:.875rem;justify-content:space-between;padding:.5rem 0}.farmmap-offline-status-row:last-child{border-bottom:none}.farmmap-offline-status-row span:first-child{color:#6b7280}.farmmap-offline-status-row span:last-child{color:#111827;font-weight:500}.farmmap-offline-status-row .status-ready{color:#059669}.farmmap-offline-status-row .status-pending{color:#9ca3af}.farmmap-download-progress{margin-bottom:1.5rem}.farmmap-progress-bar{background:#e5e7eb;border-radius:9999px;height:8px;margin-bottom:.5rem;overflow:hidden}.farmmap-progress-fill{background:#059669;border-radius:9999px;height:100%;transition:width .3s ease}.farmmap-progress-text{color:#6b7280;font-size:.875rem;margin:0;text-align:center}.farmmap-offline-error{background:#fee2e2;border:1px solid #fecaca;border-radius:.5rem;color:#991b1b;font-size:.875rem;margin-bottom:1.5rem;padding:.75rem 1rem}.farmmap-offline-actions{display:flex;gap:.75rem;margin-bottom:1rem}.farmmap-offline-actions .farmmap-btn{flex:1 1}.farmmap-offline-note{align-items:center;background:#fef3c7;border-radius:.5rem;color:#92400e;display:flex;font-size:.875rem;gap:.5rem;margin:0;padding:.75rem 1rem}.farmmap-offline-note svg{flex-shrink:0}.farmmap-info-modal{max-width:480px}.farmmap-info-modal .farmmap-modal-header h2{align-items:center;color:#111827;display:flex;font-size:1.125rem;font-weight:600;gap:.5rem;margin:0}.farmmap-info-section{margin-bottom:1.5rem}.farmmap-info-title{color:#059669;font-size:1.25rem;font-weight:600;margin-bottom:.25rem}.farmmap-info-subtitle{color:#374151;font-size:1rem;font-weight:500}.farmmap-info-grid{grid-gap:1rem;background:#f9fafb;border-radius:.5rem;display:grid;gap:1rem;grid-template-columns:repeat(2,1fr);margin-bottom:1rem;padding:1rem}.farmmap-info-item{display:flex;flex-direction:column;gap:.25rem}.farmmap-info-label{color:#6b7280;font-size:.75rem;font-weight:500;letter-spacing:.025em;text-transform:uppercase}.farmmap-info-value{color:#111827;font-size:.875rem;font-weight:500}.farmmap-info-notes{margin-top:1rem}.farmmap-info-notes label{display:block;margin-bottom:.5rem}.farmmap-info-notes textarea{border:1px solid #d1d5db;border-radius:.375rem;font-family:inherit;font-size:.875rem;padding:.75rem;resize:vertical;width:100%}.farmmap-info-notes textarea:focus{border-color:#059669;box-shadow:0 0 0 2px #05966933;outline:none}.farmmap-modal-footer .farmmap-btn{align-items:center;display:inline-flex;gap:.375rem}@media (max-width:767px){.farmmap-page{height:calc(100vh - 56px)}.farmmap-header{align-items:flex-start;flex-direction:column;gap:.5rem;padding:.75rem 1rem}.farmmap-header-content h1{font-size:1.125rem}.farmmap-header-stats{flex-wrap:wrap;gap:.5rem}.farmmap-header-stats span{font-size:.75rem}.farmmap-tabs{display:none}.farmmap-mobile-nav{display:block}.farmmap-content{flex:1 1;min-height:0;padding:.5rem}.farmmap-map-container{border-radius:.375rem;height:100%}.farmmap-init-fields{grid-template-columns:1fr}.farmmap-init-actions{flex-direction:column}.farmmap-form-row{grid-template-columns:1fr}.farmmap-modal{border-radius:0;height:100%;margin:0;max-height:100%;max-width:100%}.farmmap-modal-footer{flex-direction:column-reverse}.farmmap-modal-footer .farmmap-btn{width:100%}.farmmap-list-item{align-items:flex-start;flex-direction:column;gap:.75rem}.farmmap-list-item-actions{justify-content:flex-end;width:100%}.farmmap-offline-btn{bottom:.5rem;font-size:.6875rem;padding:.375rem .625rem;right:.5rem}.farmmap-empty{gap:1rem;padding:1.5rem}.farmmap-empty h2{font-size:1.25rem}.farmmap-btn-lg{font-size:.9375rem;padding:.875rem 1.5rem}.farmmap-init-options{gap:.75rem}.farmmap-address-hint{font-size:.8125rem;padding:.375rem .75rem}}.shelter-popup .mapboxgl-popup-content{border-radius:8px;box-shadow:0 4px 12px #00000026;overflow:hidden;padding:0}.shelter-popup .mapboxgl-popup-tip{border-top-color:#fff}.farmmap-movement-panel{max-height:calc(100% - 5rem);overflow-y:auto;position:absolute;right:1rem;top:1rem;width:320px;z-index:10}.farmmap-movement-panel .farmmap-card{box-shadow:0 2px 8px #00000026;margin:0}@media (max-width:768px){.farmmap-movement-panel{margin-top:.5rem;max-height:none;position:static;width:100%}}.knowledge-container{margin:0 auto;max-width:1200px;padding:24px}.knowledge-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:24px}.header-left{display:flex;flex-direction:column;gap:4px}.back-link{color:#6b7280;font-size:14px;margin-bottom:8px;text-decoration:none}.back-link:hover{color:#374151}.knowledge-header h1{color:#111827;font-size:28px;font-weight:600;margin:0}.knowledge-subtitle{color:#6b7280;font-size:14px;margin:0}.pending-badge{background:#fef3c7;border-radius:20px;color:#92400e;font-size:14px;font-weight:600;padding:6px 12px}.knowledge-loading{color:#6b7280;padding:60px;text-align:center}.knowledge-stats-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(3,1fr);margin-bottom:32px}.knowledge-stat-card{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:24px;text-align:center}.stat-value{font-size:42px;margin-bottom:4px}.stat-label{color:#6b7280;font-size:14px;margin-bottom:12px}.stat-link{color:#3b82f6;font-size:13px;font-weight:500;text-decoration:none}.stat-link:hover{text-decoration:underline}.stat-pending .stat-value{color:#f59e0b}.stat-articles .stat-value{color:#10b981}.stat-documents .stat-value{color:#3b82f6}.knowledge-panels-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(2,1fr);margin-bottom:32px}.knowledge-panel{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;overflow:hidden}.panel-header{align-items:center;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:16px 20px}.panel-header h2{color:#111827;font-size:16px;font-weight:600;margin:0}.panel-link{color:#3b82f6;font-size:13px;text-decoration:none}.panel-link:hover{text-decoration:underline}.panel-content{padding:16px 20px}.panel-empty{color:#6b7280;padding:24px;text-align:center}.panel-empty-icon{display:block;font-size:32px;margin-bottom:8px}.question-list{list-style:none;margin:0;padding:0}.question-item{border-bottom:1px solid #f3f4f6;padding:12px 0}.question-item:last-child{border-bottom:none}.question-text{color:#111827;font-size:14px;margin:0 0 4px}.question-meta{color:#9ca3af;font-size:12px;margin:0}.article-list{list-style:none;margin:0;padding:0}.article-item{align-items:center;border-bottom:1px solid #f3f4f6;display:flex;justify-content:space-between;padding:12px 0}.article-item:last-child{border-bottom:none}.article-text{color:#111827;flex:1 1;font-size:14px;margin-right:12px}.article-usage{background:#f3f4f6;border-radius:12px;color:#6b7280;font-size:12px;padding:4px 8px}.knowledge-actions{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:24px}.knowledge-actions h2{font-size:16px;font-weight:600;margin:0 0 16px}.action-buttons{display:flex;gap:12px}.btn-action{border-radius:8px;display:inline-block;font-size:14px;font-weight:500;padding:12px 20px;text-decoration:none;transition:opacity .2s}.btn-action:hover{opacity:.9}.btn-action:disabled{opacity:.5}.btn-green{background:#10b981;color:#fff}.btn-blue{background:#3b82f6;color:#fff}.btn-gray{background:#e5e7eb;color:#374151}.pending-layout{grid-gap:24px;display:grid;gap:24px;grid-template-columns:1fr 1fr}.answer-form-panel,.questions-list-panel{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;overflow:hidden}.questions-scroll{max-height:600px;overflow-y:auto;padding:16px}.question-card{background:#f9fafb;border:2px solid #0000;border-radius:8px;cursor:pointer;margin-bottom:12px;padding:16px;transition:border-color .2s}.question-card:hover{border-color:#d1d5db}.question-card.selected{background:#eff6ff;border-color:#3b82f6}.question-card-text{color:#111827;font-size:14px;font-weight:500;margin:0 0 8px}.question-card-meta{color:#6b7280;font-size:12px;margin:0}.ai-response-details{font-size:13px;margin-top:12px}.ai-response-details summary{color:#6b7280;cursor:pointer}.ai-response-text{background:#fff;border-radius:4px;color:#374151;font-size:13px;margin:8px 0 0;padding:8px}.btn-ignore{background:#f3f4f6;border:none;border-radius:4px;color:#6b7280;cursor:pointer;font-size:12px;margin-top:12px;padding:6px 12px}.btn-ignore:hover{background:#e5e7eb}.selected-question-box{background:#f0fdf4;border-radius:8px;margin-bottom:20px;padding:16px}.selected-question-box label{color:#6b7280;font-size:12px;letter-spacing:.5px;text-transform:uppercase}.selected-question-box p{color:#111827;font-size:15px;font-weight:500;margin:8px 0 0}.confidence-note{color:#6b7280!important;font-size:13px!important;font-weight:400!important;margin-top:8px!important}.no-selection{color:#9ca3af;padding:60px 20px;text-align:center}.btn-create-article{background:#10b981;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:15px;font-weight:600;margin-top:16px;padding:14px;width:100%}.btn-create-article:disabled{cursor:not-allowed;opacity:.5}.form-group{margin-bottom:20px}.form-group label{color:#374151;display:block;font-size:14px;margin-bottom:6px}.form-group input,.form-group select,.form-group textarea{border:1px solid #d1d5db;border-radius:6px;box-sizing:border-box;font-size:14px;padding:10px 12px;width:100%}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.form-row{grid-gap:16px;display:grid;gap:16px;grid-template-columns:1fr 1fr}.form-hint{color:#9ca3af;display:block;font-size:12px;margin-top:4px}.form-error{background:#fef2f2;border-radius:6px;color:#dc2626;font-size:14px;margin-bottom:20px;padding:12px}.form-actions{gap:12px;margin-top:24px}.article-form{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;max-width:700px;padding:24px}.filters-bar{align-items:center;display:flex;gap:16px;margin-bottom:24px}.search-group{display:flex;flex:1 1;gap:8px}.search-input{border:1px solid #d1d5db;border-radius:6px;flex:1 1;font-size:14px;padding:10px 14px}.search-input:focus{border-color:#3b82f6;outline:none}.btn-search{background:#3b82f6;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;padding:10px 16px}.btn-search:hover{background:#2563eb}.category-select{border:1px solid #d1d5db;border-radius:6px;font-size:14px;min-width:180px;padding:10px 14px}.articles-list{display:flex;flex-direction:column;gap:16px}.article-card{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:20px}.article-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:12px}.article-question{color:#111827;flex:1 1;font-size:16px;font-weight:600;margin:0 16px 0 0}.article-badges{display:flex;flex-shrink:0;gap:8px}.badge{border-radius:12px;font-size:12px;font-weight:500;padding:4px 10px}.badge-usage{background:#e0e7ff;color:#4338ca}.badge-category{background:#f3f4f6;color:#374151}.article-answer{color:#4b5563;font-size:14px;line-height:1.5;margin:0 0 12px}.article-keywords{color:#6b7280;font-size:13px;margin:0 0 12px}.article-footer{align-items:center;border-top:1px solid #f3f4f6;display:flex;justify-content:space-between;padding-top:12px}.article-meta{color:#9ca3af;font-size:12px}.article-actions{display:flex;gap:8px}.btn-delete,.btn-edit,.btn-view{border:none;border-radius:4px;cursor:pointer;font-size:13px;padding:6px 12px;text-decoration:none}.btn-edit,.btn-view{background:#e0e7ff;color:#4338ca}.btn-delete{background:#fee2e2;color:#dc2626}.btn-edit:hover{background:#c7d2fe}.btn-delete:hover{background:#fecaca}.btn-cancel,.btn-save{border:none;border-radius:6px;cursor:pointer;font-size:14px;padding:8px 16px}.btn-save{background:#10b981;color:#fff}.btn-cancel{background:#e5e7eb;color:#374151}.article-edit-form{display:flex;flex-direction:column;gap:12px}.edit-answer-input,.edit-keywords-input,.edit-question-input{border:1px solid #d1d5db;border-radius:6px;font-size:14px;padding:10px 12px}.edit-answer-input{resize:vertical}.edit-actions{display:flex;gap:8px;justify-content:flex-end}.no-articles{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:60px;text-align:center}.no-articles p{color:#6b7280;margin:0 0 20px}.knowledge-empty{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:60px;text-align:center}.knowledge-empty h2{color:#111827;margin:0 0 8px}.knowledge-empty p{color:#6b7280;margin:0 0 24px}.documents-list{display:flex;flex-direction:column;gap:12px}.document-card{align-items:center;background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;display:flex;gap:16px;padding:20px}.document-icon{font-size:32px;text-align:center;width:48px}.document-info{flex:1 1}.document-title{color:#111827;font-size:16px;font-weight:600;margin:0 0 4px}.document-description{color:#4b5563;font-size:14px;margin:0 0 8px}.document-meta{color:#9ca3af;font-size:12px;margin:0}.document-actions{display:flex;gap:8px}.no-documents{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:60px;text-align:center}.no-documents p{color:#6b7280;margin:0}.no-documents .hint{color:#9ca3af;font-size:13px;margin-top:8px}.upload-form{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;margin-bottom:24px;padding:24px}.upload-form h3{font-size:18px;font-weight:600;margin:0 0 20px}@media (max-width:768px){.form-row,.knowledge-panels-grid,.knowledge-stats-grid,.pending-layout{grid-template-columns:1fr}.filters-bar{align-items:stretch;flex-direction:column}.document-card{align-items:flex-start;flex-direction:column}.document-actions{margin-top:12px}input,select,textarea{font-size:16px!important}}.laura-voice-assistant{align-items:center;display:flex;flex-direction:column;gap:8px;position:fixed;z-index:9999}.laura-voice-assistant,.laura-voice-assistant.laura-minimized{bottom:100px;right:30px}.laura-voice-assistant.laura-minimized .laura-orb{cursor:pointer;height:40px;width:40px}.laura-voice-assistant.laura-minimized .orb-inner{height:32px;width:32px}.laura-minimize-btn{align-items:center;background:#ffffffe6;border:1px solid #e2e8f0;border-radius:50%;cursor:pointer;display:flex;height:24px;justify-content:center;opacity:0;position:absolute;right:-8px;top:-8px;transition:opacity .2s;width:24px;z-index:10}.laura-voice-assistant:hover .laura-minimize-btn{opacity:1}.laura-minimize-btn svg{color:#64748b}.laura-minimize-btn:hover{background:#f1f5f9}.laura-orb{border-radius:50%;cursor:pointer;height:64px;position:relative;transition:transform .3s ease;width:64px}.laura-orb:hover{transform:scale(1.05)}.laura-orb:active{transform:scale(.95)}.orb-inner{align-items:center;display:flex;height:48px;justify-content:center;left:50%;top:50%;transform:translate(-50%,-50%);transition:background .3s,box-shadow .3s;width:48px;z-index:2}.orb-inner,.orb-pulse{border-radius:50%;position:absolute}.orb-pulse{bottom:0;left:0;right:0;top:0;z-index:1}.orb-pulse-2{animation-delay:.5s!important}.laura-orb-sleeping .orb-inner{background:linear-gradient(135deg,#3b82f6,#1e40af);box-shadow:0 0 20px #3b82f666}.laura-orb-sleeping .orb-pulse{animation:breathe 4s ease-in-out infinite;background:#3b82f633}@keyframes breathe{0%,to{opacity:.4;transform:scale(1)}50%{opacity:.2;transform:scale(1.1)}}.laura-orb-waking .orb-inner{background:linear-gradient(135deg,#fbbf24,#f59e0b);box-shadow:0 0 30px #fbbf2499}.laura-orb-waking .orb-pulse{animation:expand 1s ease-out infinite;background:#fbbf244d}@keyframes expand{0%{opacity:.6;transform:scale(1)}to{opacity:0;transform:scale(1.5)}}.laura-orb-listening .orb-inner{animation:pulse-inner 1.5s ease-in-out infinite;background:linear-gradient(135deg,#06b6d4,#0891b2);box-shadow:0 0 30px #06b6d499}.laura-orb-listening .orb-pulse{animation:pulse 1.5s ease-out infinite;background:#06b6d44d}@keyframes pulse-inner{0%,to{transform:translate(-50%,-50%) scale(1)}50%{transform:translate(-50%,-50%) scale(1.05)}}.laura-orb-processing .orb-inner{background:linear-gradient(135deg,#8b5cf6,#7c3aed);box-shadow:0 0 30px #8b5cf699}.laura-orb-processing .orb-pulse{animation:rotate 1.5s linear infinite;background:conic-gradient(from 0deg,#0000,#8b5cf666,#0000)}@keyframes rotate{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.laura-orb-speaking .orb-inner{background:linear-gradient(135deg,#10b981,#059669);box-shadow:0 0 30px #10b98199}.laura-orb-speaking .orb-pulse{animation:wave .8s ease-in-out infinite alternate;background:#10b9814d}@keyframes wave{0%{border-radius:50%;transform:scale(1) rotate(0deg)}to{border-radius:45% 55% 50% 50%;transform:scale(1.2) rotate(10deg)}}.laura-orb-disabled .orb-inner{background:linear-gradient(135deg,#9ca3af,#6b7280);box-shadow:0 0 10px #9ca3af4d}.laura-orb-disabled .orb-pulse{display:none}.mic-icon,.mic-off-icon,.speaker-icon{color:#fff;opacity:.9}.loading-dots{display:flex;gap:4px}.loading-dots span{animation:bounce 1s ease-in-out infinite;background:#fff;border-radius:50%;height:6px;width:6px}.loading-dots span:nth-child(2){animation-delay:.1s}.loading-dots span:nth-child(3){animation-delay:.2s}.laura-label{align-items:center;display:flex;flex-direction:column;gap:2px}.state-label{background:#fffffff2;border-radius:12px;box-shadow:0 2px 8px #0000001a;color:#64748b;font-size:11px;font-weight:500;padding:4px 10px;white-space:nowrap}.transcript-preview{background:#ffffffe6;border-radius:8px;color:#94a3b8;font-size:10px;max-width:150px;overflow:hidden;padding:2px 8px;text-overflow:ellipsis;white-space:nowrap}.conversation-badge{background:#6366f11a;border-radius:6px;color:#6366f1;font-size:9px;font-weight:500;padding:2px 6px}.laura-error{background:#fffffff2;border-radius:8px;color:#ef4444;cursor:pointer;font-size:10px;margin-top:4px;padding:4px 8px;text-decoration:underline}.laura-error:hover{background:#fef2f2}@media (max-width:768px){.laura-voice-assistant{bottom:80px;right:20px}.laura-orb{height:56px;width:56px}.orb-inner{height:42px;width:42px}.state-label{font-size:10px}}.chat-open .laura-voice-assistant{bottom:calc(100% + 20px)}.laura-voice-assistant{animation:fadeInUp .4s ease-out}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.wellness-footer{background:#1e1e2e;border-top:1px solid #ffffff1a;bottom:0;left:0;padding-bottom:env(safe-area-inset-bottom);position:fixed;right:0;z-index:1000}.footer-nav{justify-content:space-around;margin:0 auto;max-width:500px;padding:8px 16px}.footer-nav,.nav-item{align-items:center;display:flex}.nav-item{background:none;border:none;border-radius:12px;cursor:pointer;flex-direction:column;gap:2px;min-width:56px;padding:8px 12px;transition:background .2s}.nav-item:hover{background:#ffffff1a}.nav-item.active{background:#2a9d8f33}.nav-item.active .nav-icon,.nav-item.active .nav-label{color:#2a9d8f}.nav-icon{font-size:20px}.nav-label{color:#fff9;font-size:10px;letter-spacing:.5px;text-transform:uppercase}.mic-button{align-items:center;background:linear-gradient(135deg,#2a9d8f,#1f7a6f);border:none;border-radius:50%;box-shadow:0 4px 12px #2a9d8f66;cursor:pointer;display:flex;height:56px;justify-content:center;margin:-20px 8px 0;transition:transform .2s,box-shadow .2s;width:56px}.mic-button:hover{box-shadow:0 6px 16px #2a9d8f80;transform:scale(1.05)}.mic-button:active{transform:scale(.95)}.mic-button.recording{animation:pulse 1.5s infinite;background:linear-gradient(135deg,#ef4444,#dc2626);box-shadow:0 4px 12px #ef444466}.mic-icon{font-size:24px}@media (prefers-color-scheme:light){.wellness-footer{background:#fff;border-top:1px solid #e2e8f0}.nav-item:hover{background:#0000000d}.nav-label{color:#64748b}.nav-item.active{background:#2a9d8f1a}}.voice-log-modal-overlay{align-items:center;background:#000c;bottom:0;display:flex;justify-content:center;left:0;padding:1rem;position:fixed;right:0;top:0;z-index:2000}.voice-log-modal{animation:modalSlideUp .3s ease;background:#1e1e2e;border-radius:24px;max-width:380px;padding:2rem;position:relative;width:100%}@keyframes modalSlideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.modal-close-btn{align-items:center;background:#ffffff1a;border-radius:50%;color:#fff9;display:flex;font-size:1.2rem;height:32px;justify-content:center;right:1rem;top:1rem;transition:background .2s;width:32px}.modal-close-btn:hover{background:#fff3;color:#fff}.voice-log-content{align-items:center;display:flex;flex-direction:column;text-align:center}.voice-log-title{color:#fff;font-size:1.5rem;font-weight:700;margin:0 0 .5rem}.voice-log-hint{color:#ffffffb3;font-size:.95rem;margin:0 0 1.5rem;min-height:3rem}.voice-log-mic{align-items:center;background:linear-gradient(135deg,#2a9d8f,#1f7a6f);border:none;border-radius:50%;box-shadow:0 8px 24px #2a9d8f66;cursor:pointer;display:flex;font-size:2.5rem;height:100px;justify-content:center;margin-bottom:1.5rem;transition:all .2s ease;width:100px}.voice-log-mic:hover:not(:disabled){box-shadow:0 12px 32px #2a9d8f80;transform:scale(1.05)}.voice-log-mic:active:not(:disabled){transform:scale(.95)}.voice-log-mic:disabled{cursor:not-allowed;opacity:.7}.voice-log-mic.recording{animation:pulse-mic 1.5s infinite;background:linear-gradient(135deg,#ef4444,#dc2626);box-shadow:0 8px 24px #ef444466}.voice-log-mic.processing{background:linear-gradient(135deg,#64748b,#475569);box-shadow:0 8px 24px #64748b66}@keyframes pulse-mic{0%,to{box-shadow:0 8px 24px #ef444466;transform:scale(1)}50%{box-shadow:0 12px 40px #ef444499;transform:scale(1.02)}}.recording-pulse{animation:pulse-ring 1.5s infinite;background:#ef444433;border-radius:50%;height:120px;pointer-events:none;position:absolute;width:120px}.voice-log-result{border-radius:12px;margin-top:1rem;padding:1rem;width:100%}.voice-log-result.success{background:#4ade8026;border:1px solid #4ade804d}.voice-log-result.error{background:#ef444426;border:1px solid #ef44444d}.logged-items{display:flex;flex-direction:column;gap:.5rem}.logged-item{align-items:center;gap:.5rem;text-align:left}.item-icon{color:#4ade80;font-weight:700}.item-text{color:#fff;font-size:.9rem}.encouragement{border-top:1px solid #ffffff1a;color:#4ade80;font-size:.9rem;font-style:italic;margin-top:.75rem;padding-top:.75rem}.voice-log-error{background:#ef444426;border-radius:12px;flex-direction:column;gap:.75rem;padding:1rem;width:100%}.error-icon,.voice-log-error{align-items:center;display:flex}.error-icon{background:#ef4444;border-radius:50%;color:#fff;font-size:1.2rem;font-weight:700;height:36px;justify-content:center;width:36px}.error-text{color:#fca5a5;font-size:.9rem}.retry-btn{background:#ef4444;border-radius:8px;padding:.5rem 1.5rem;transition:background .2s}.retry-btn:hover{background:#dc2626}.example-phrases{background:#ffffff0d;border-radius:12px;padding:1rem;text-align:left;width:100%}.examples-title{color:#fff9;font-size:.8rem;letter-spacing:.5px;margin:0 0 .5rem;text-transform:uppercase}.example-phrases ul{list-style:none;margin:0;padding:0}.example-phrases li{border-bottom:1px solid #ffffff0d;color:#fffc;font-size:.85rem;padding:.4rem 0}.example-phrases li:last-child{border-bottom:none}@media (prefers-color-scheme:light){.voice-log-modal{background:#fff;box-shadow:0 25px 50px -12px #00000040}.modal-close-btn{background:#f1f5f9;color:#64748b}.modal-close-btn:hover{background:#e2e8f0;color:#1e293b}.voice-log-title{color:#1e293b}.voice-log-hint{color:#64748b}.item-text{color:#1e293b}.example-phrases{background:#f8fafc}.examples-title{color:#94a3b8}.example-phrases li{border-bottom-color:#e2e8f0;color:#475569}}.wellness-layout{background:linear-gradient(180deg,#1a1a2e,#16213e);display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}.wellness-main{-webkit-overflow-scrolling:touch;flex:1 1;overflow-y:auto;padding-bottom:80px}@media (prefers-color-scheme:light){.wellness-layout{background:#f8fafc}}.google-fit-sync{flex-direction:column}.google-fit-btn,.google-fit-sync{align-items:center;display:flex;gap:8px}.google-fit-btn{border-radius:10px;cursor:pointer;font-size:.85rem;font-weight:600;min-height:40px;padding:10px 16px;transition:all .2s}.google-fit-btn.connect{background:linear-gradient(135deg,#4285f4,#34a853);border:none;color:#fff}.google-fit-btn.connect:hover{box-shadow:0 4px 12px #4285f44d;transform:scale(1.02)}.google-fit-btn.sync{background:linear-gradient(135deg,#2a9d8f,#52b788);border:none;color:#fff}.google-fit-btn.sync:hover:not(:disabled){box-shadow:0 4px 12px #2a9d8f4d;transform:scale(1.02)}.google-fit-btn:disabled{cursor:not-allowed;opacity:.7}.google-fit-btn .spin{animation:spin 1s linear infinite}.sync-message{animation:fadeIn .3s ease-out;color:#2a9d8f;font-size:.8rem;text-align:center}.concept2-sync{align-items:center;display:flex;flex-direction:column;gap:8px;margin-top:8px}.lifetime-meters{background:#2a9d8f1a;border-radius:12px;color:#2a9d8f;font-size:.75rem;gap:4px;padding:4px 10px}.concept2-btn,.lifetime-meters{align-items:center;display:flex;font-weight:600}.concept2-btn{border-radius:10px;cursor:pointer;font-size:.85rem;gap:8px;min-height:40px;padding:10px 16px;transition:all .2s}.concept2-btn.connect{background:linear-gradient(135deg,#1a1a2e,#16213e);border:none;color:#fff}.concept2-btn.connect:hover{box-shadow:0 4px 12px #1a1a2e4d;transform:scale(1.02)}.concept2-btn.sync{background:linear-gradient(135deg,#264653,#2a9d8f);border:none;color:#fff}.concept2-btn.sync:hover:not(:disabled){box-shadow:0 4px 12px #2646534d;transform:scale(1.02)}.concept2-btn:disabled{cursor:not-allowed;opacity:.7}.concept2-btn .spin{animation:c2spin 1s linear infinite}@keyframes c2spin{to{transform:rotate(1turn)}}.concept2-sync .sync-message{animation:c2FadeIn .3s ease-out;color:#2a9d8f;font-size:.8rem;text-align:center}@keyframes c2FadeIn{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.toggle-workouts{background:none;border:none;color:#666;cursor:pointer;font-size:.75rem;padding:4px 8px;text-decoration:underline}.toggle-workouts:hover{color:#2a9d8f}.workouts-list{gap:6px;margin-top:8px;max-width:400px;width:100%}.workout-item{background:#f5fafa;border-radius:8px;font-size:.8rem;gap:10px;padding:10px 12px}.workout-type{background:#264653;border-radius:4px;color:#fff;font-size:.65rem;font-weight:700;min-width:32px;padding:4px 6px;text-align:center}.workout-info{align-items:center;display:flex;flex:1 1;gap:10px}.workout-distance{color:#264653;font-weight:600}.workout-time{align-items:center;color:#666;display:flex;gap:3px}.workout-pace{color:#2a9d8f;font-weight:500}.workout-meta{align-items:flex-end;display:flex;flex-direction:column;gap:2px}.workout-calories{align-items:center;color:#e76f51;display:flex;font-size:.7rem;gap:2px}.workout-date{color:#999;font-size:.7rem}.wellness-voice-logger.floating{bottom:100px;position:fixed;right:20px;z-index:1000}@media (max-width:640px){.wellness-voice-logger.floating{bottom:80px;right:16px}}.wellness-voice-logger.nav-button{align-items:center;display:flex;flex-direction:column;position:relative;z-index:10}.wellness-voice-logger.nav-button .voice-btn{box-shadow:0 4px 16px #2a9d8f66;height:56px;margin-top:-20px;width:56px}.wellness-voice-logger.nav-button .processing-indicator,.wellness-voice-logger.nav-button .recording-indicator,.wellness-voice-logger.nav-button .voice-error,.wellness-voice-logger.nav-button .voice-result{bottom:90px;left:50%;position:fixed;right:auto;transform:translateX(-50%)}.voice-btn{align-items:center;background:linear-gradient(135deg,#2a9d8f,#3ab7a8);border:none;border-radius:50%;box-shadow:0 4px 20px #2a9d8f66;color:#fff;cursor:pointer;display:flex;height:64px;justify-content:center;min-height:64px;min-width:64px;transition:all .2s;width:64px}.voice-btn:hover{box-shadow:0 6px 25px #2a9d8f80;transform:scale(1.05)}.voice-btn:active{transform:scale(.95)}.voice-btn.recording{animation:pulse-ring 1.5s infinite;background:linear-gradient(135deg,#e76f51,#f4a261)}.voice-btn.processing{cursor:wait;opacity:.7}@keyframes pulse-ring{0%{box-shadow:0 0 0 0 #e76f51b3}70%{box-shadow:0 0 0 20px #e76f5100}to{box-shadow:0 0 0 0 #e76f5100}}.processing-indicator,.recording-indicator{background:#fff;border-radius:20px;bottom:80px;box-shadow:0 2px 10px #0000001a;color:#333;font-size:.85rem;font-weight:600;padding:8px 16px;position:absolute;right:0;white-space:nowrap}.recording-indicator .pulse{animation:blink 1s infinite;background:#e76f51;border-radius:50%;display:inline-block;height:8px;margin-right:8px;width:8px}@keyframes blink{50%{opacity:.3}}.voice-result{background:#fff;border-radius:16px;bottom:80px;box-shadow:0 4px 20px #00000026;padding:16px;position:absolute;right:0;width:300px}@media (max-width:400px){.voice-result{right:-10px;width:calc(100vw - 40px)}}.voice-result.success{border-left:4px solid #2a9d8f}.voice-result.error{border-left:4px solid #e76f51}.dismiss-btn{align-items:center;background:none;border:none;color:#999;cursor:pointer;display:flex;justify-content:center;min-height:28px;min-width:28px;padding:4px;position:absolute;right:8px;top:8px}.dismiss-btn:hover{color:#666}.result-header{align-items:center;color:#2a9d8f;display:flex;font-weight:700;gap:8px;margin-bottom:8px;padding-right:24px}.result-transcript{color:#666;font-size:.85rem;font-style:italic;margin-bottom:12px}.result-logged{background:#f0fafa;border-radius:8px;margin-bottom:12px;padding:10px}.logged-item{display:flex;flex-direction:column;font-size:.85rem;padding:4px 0}.logged-item+.logged-item{border-top:1px solid #2a9d8f33;margin-top:4px;padding-top:8px}.item-name{color:#333;font-weight:600}.item-macros{color:#2a9d8f;font-size:.8rem}.result-totals{border-top:1px solid #eee;color:#666;font-size:.85rem;font-weight:500;padding-top:8px;text-align:center}.result-milestones{border-top:1px dashed #2a9d8f;margin-top:12px;padding-top:12px}.milestone-badge{align-items:center;animation:celebratePop .5s ease-out;background:linear-gradient(135deg,gold,orange);border-radius:20px;color:#333;display:inline-flex;font-size:.8rem;font-weight:700;gap:6px;padding:6px 12px}@keyframes celebratePop{0%{opacity:0;transform:scale(.5)}70%{transform:scale(1.1)}to{opacity:1;transform:scale(1)}}.voice-error{background:#fef2f2;border:1px solid #fecaca;border-left:4px solid #e76f51;border-radius:8px;bottom:80px;color:#b91c1c;display:flex;flex-direction:column;font-size:.85rem;gap:8px;max-width:280px;padding:12px 16px;position:absolute;right:0}.voice-error button{align-self:flex-end;background:none;border:1px solid #e76f51;border-radius:4px;color:#e76f51;cursor:pointer;font-size:.8rem;min-height:32px;padding:4px 12px}.voice-error button:hover{background:#e76f51;color:#fff}.coach-card{background:linear-gradient(135deg,#1a1a2e,#16213e);border:1px solid #6366f14d;border-radius:16px;margin-bottom:16px;overflow:hidden;padding:20px;position:relative}.coach-card:before{background:linear-gradient(90deg,#6366f1,#8b5cf6,#a855f7);content:"";height:3px;left:0;position:absolute;right:0;top:0}.coach-card.celebrating{animation:celebrate-pulse .5s ease-in-out 3}@keyframes celebrate-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}.celebration-overlay{align-items:center;animation:fade-in .3s ease-out;background:#22c55ef2;border-radius:16px;bottom:0;display:flex;flex-direction:column;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:10}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.celebration-overlay .celebration-emoji{animation:bounce .5s ease infinite;font-size:48px}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.celebration-overlay p{color:#fff;font-size:18px;font-weight:600;margin-top:12px}.coach-card.loading{align-items:center;display:flex;justify-content:center;min-height:200px}.coach-loading{text-align:center}.coach-loading .loading-emoji{animation:pulse 1.5s ease-in-out infinite;display:block;font-size:40px;margin-bottom:12px}.coach-loading p{color:#a5b4fc;font-size:14px}.coach-card.error{color:#fca5a5;text-align:center}.coach-card.error button{background:#6366f1;border:none;border-radius:8px;color:#fff;cursor:pointer;margin-top:12px;padding:8px 16px}.coach-header{align-items:center;cursor:pointer;display:flex;justify-content:space-between;margin-bottom:16px;transition:opacity .2s}.coach-header:hover{opacity:.9}.coach-card.collapsed .coach-header{margin-bottom:12px}.collapse-btn,.header-actions{align-items:center}.collapse-btn{background:#0000;border:1px solid #6366f14d;border-radius:50%;color:#a5b4fc;cursor:pointer;display:flex;height:32px;justify-content:center;transition:all .2s;width:32px}.collapse-btn:hover{background:#6366f133;border-color:#6366f1}.collapsed-summary{padding-top:4px}.challenge-preview{align-items:center;background:#6366f11a;border:1px solid #6366f133;border-radius:10px;display:flex;gap:10px;padding:10px 14px}.challenge-preview.completed{background:#22c55e1a;border-color:#22c55e40}.challenge-preview .challenge-icon{font-size:18px}.challenge-preview .challenge-brief{color:#c7d2fe;flex:1 1;font-size:14px}.challenge-preview.completed .challenge-brief{color:#86efac}.coach-title{align-items:center;display:flex;gap:8px}.coach-emoji{font-size:24px}.coach-title h3{color:#e0e7ff;font-size:18px;margin:0}.trend-badge{background:#6366f133;border-radius:12px;font-size:16px;padding:2px 8px}.trend-badge.on_track{background:#22c55e33}.trend-badge.ahead{background:#3b82f633}.trend-badge.behind{background:#f59e0b33}.trend-badge.stalled{background:#6b728033}.refresh-btn{background:#0000;border:1px solid #6366f14d;border-radius:50%;color:#a5b4fc;cursor:pointer;font-size:18px;height:36px;transition:all .2s;width:36px}.refresh-btn:hover:not(:disabled){background:#6366f133;border-color:#6366f1}.refresh-btn:disabled{cursor:not-allowed;opacity:.5}.coach-greeting{margin-bottom:12px}.coach-greeting p{color:#f0f4ff;font-size:16px;font-weight:500;margin:0}.coach-insight{background:#0003;border-radius:10px;margin-bottom:16px;padding:12px}.coach-insight p{color:#c7d2fe;font-size:14px;line-height:1.5;margin:0}.daily-challenge{background:linear-gradient(135deg,#6366f126,#8b5cf626);border:1px solid #6366f14d;border-radius:12px;margin-bottom:16px;padding:14px}.daily-challenge.completed{background:linear-gradient(135deg,#22c55e26,#10b98126);border-color:#22c55e4d}.challenge-header{align-items:center;gap:8px;margin-bottom:8px}.challenge-icon{font-size:20px}.challenge-header h4{color:#a5b4fc;flex:1 1;font-size:14px;margin:0}.completed-badge{background:#22c55e;border-radius:10px;color:#fff;font-size:11px;font-weight:600;padding:2px 8px}.challenge-text{color:#e0e7ff;font-size:15px;font-weight:500}.daily-challenge.completed .challenge-text{opacity:.7;text-decoration:line-through}.challenge-target{background:#6366f11a;border-radius:8px;color:#818cf8;display:inline-block;font-size:12px;padding:4px 10px}.challenge-reward{align-items:center;background:#fbbf2426;border-radius:8px;display:flex;gap:6px;margin-top:8px;padding:6px 10px;width:-webkit-fit-content;width:fit-content}.challenge-reward .reward-icon{font-size:16px}.challenge-reward .reward-text{color:#fbbf24;font-size:12px;font-weight:500}.mark-complete-btn{background:linear-gradient(135deg,#6366f1,#8b5cf6);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;margin-top:12px;padding:10px 16px;transition:all .2s;width:100%}.mark-complete-btn:hover:not(:disabled){box-shadow:0 4px 12px #6366f14d;transform:translateY(-1px)}.mark-complete-btn:disabled{cursor:not-allowed;opacity:.7}.push-message{align-items:flex-start;background:linear-gradient(135deg,#ef444426,#f9731626);border:1px solid #ef44444d;border-left:4px solid #ef4444;border-radius:10px;display:flex;gap:10px;margin-bottom:16px;padding:12px 14px}.push-message .push-icon{flex-shrink:0;font-size:20px}.push-message p{color:#fca5a5;font-size:14px;font-weight:500;line-height:1.4;margin:0}.exercise-suggestion{background:linear-gradient(135deg,#10b9811f,#06b6d41f);border:1px solid #10b98140;border-radius:12px;margin-bottom:16px;padding:14px}.exercise-header{align-items:center;display:flex;gap:8px;margin-bottom:8px}.exercise-header .exercise-icon{font-size:18px}.exercise-header h4{color:#6ee7b7;font-size:14px;margin:0}.exercise-name{color:#a7f3d0;font-size:15px;font-weight:600;margin:0 0 6px}.exercise-desc{color:#a7f3d0;font-size:13px;line-height:1.4;margin:0 0 10px;opacity:.85}.youtube-link{align-items:center;background:#ef4444e6;border-radius:8px;color:#fff;display:inline-flex;font-size:13px;font-weight:500;gap:6px;padding:8px 14px;text-decoration:none;transition:background .2s}.youtube-link:hover{background:#ef4444}.coach-motivation{margin-bottom:12px}.coach-motivation p{color:#fbbf24;font-size:14px;font-style:italic;margin:0}.coach-tip-section{margin-bottom:12px}.tip-toggle{background:#0000;border:none;border-radius:8px;color:#a5b4fc;cursor:pointer;font-size:13px;padding:6px 12px;transition:background .2s}.tip-content,.tip-toggle:hover{background:#6366f11a}.tip-content{border-radius:8px;margin-top:8px;padding:10px}.tip-content p{color:#c7d2fe;font-size:13px;margin:0}.coach-footer{border-top:1px solid #6366f133;padding-top:8px;text-align:right}.generated-time{color:#6b7280;font-size:11px}@media (max-width:480px){.coach-card{border-radius:12px;padding:16px}.coach-emoji{font-size:20px}.coach-title h3{font-size:16px}.coach-greeting p{font-size:15px}.coach-insight p,.coach-motivation p{font-size:13px}.challenge-text{font-size:14px}}.partner-message-modal-overlay{align-items:center;background:#0009;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1000}.partner-message-modal{background:#fff;border-radius:16px;display:flex;flex-direction:column;max-height:80vh;max-width:400px;overflow:hidden;position:relative;width:100%}.partner-message-modal h3{color:#264653;font-size:1.25rem;margin:0;padding:20px 20px 16px;text-align:center}.modal-close-btn{background:none;border:none;color:#6b7280;cursor:pointer;padding:4px;position:absolute;right:12px;top:12px}.modal-close-btn:hover{color:#374151}.modal-loading{padding:40px;text-align:center}.modal-loading p{color:#6b7280;margin-top:12px}.modal-error{background:#fef2f2;color:#dc2626;font-size:.875rem;padding:10px 20px;text-align:center}.category-tabs{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;padding:0 20px 16px}.category-tab{background:#f3f4f6;border:none;border-radius:20px;cursor:pointer;font-size:.8rem;padding:8px 14px;transition:all .2s}.category-tab:hover{background:#e5e7eb}.category-tab.active{background:#2a9d8f;color:#fff}.surprise-btn{align-items:center;background:linear-gradient(135deg,#e76f51,#f4a261);border:none;border-radius:12px;color:#fff;cursor:pointer;display:flex;font-size:1rem;font-weight:600;gap:8px;justify-content:center;margin:0 20px;padding:14px 20px;transition:transform .2s,box-shadow .2s}.surprise-btn:hover:not(:disabled){box-shadow:0 4px 12px #e76f514d;transform:translateY(-2px)}.surprise-btn:disabled{opacity:.7}.divider{align-items:center;color:#9ca3af;display:flex;font-size:.875rem;gap:12px;padding:16px 20px}.divider:after,.divider:before{background:#e5e7eb;content:"";flex:1 1;height:1px}.message-list{display:flex;flex:1 1;flex-direction:column;gap:8px;overflow-y:auto;padding:0 20px 16px}.message-option{background:#f9fafb;border:2px solid #0000;border-radius:10px;color:#374151;cursor:pointer;font-size:.9rem;padding:12px 14px;text-align:left;transition:all .2s}.message-option:hover{background:#f3f4f6;border-color:#e5e7eb}.message-option.selected{background:#d1fae5;border-color:#2a9d8f;color:#065f46}.send-btn{align-items:center;background:#2a9d8f;border:none;border-radius:12px;color:#fff;cursor:pointer;display:flex;font-size:1rem;font-weight:600;gap:8px;justify-content:center;margin:0 20px 20px;padding:14px 20px;transition:background .2s}.send-btn:hover:not(:disabled){background:#238b7e}.send-btn:disabled{opacity:.7}.settings-tab{padding:16px 16px 100px}.settings-section{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;margin-bottom:16px;padding:16px}.settings-section .section-header{align-items:center;color:#264653;display:flex;gap:10px;margin-bottom:16px}.settings-section .section-header h3{font-size:1.1rem;font-weight:600;margin:0}.push-unsupported{align-items:center;background:#fef3c7;border-radius:8px;color:#92400e;display:flex;font-size:.875rem;gap:10px;padding:12px}.notification-settings{display:flex;flex-direction:column;gap:12px}.setting-row{align-items:center;border-bottom:1px solid #f3f4f6;display:flex;justify-content:space-between;padding:10px 0}.setting-row:last-child{border-bottom:none}.setting-row.toggle-row{padding:8px 0}.setting-info{flex:1 1}.setting-label{color:#374151;display:block;font-size:.95rem}.setting-hint{color:#9ca3af;display:block;font-size:.8rem;margin-top:4px}.toggle-btn{background:none;border:none;cursor:pointer;padding:0}.toggle-track{background:#e5e7eb;border-radius:13px;display:block;height:26px;position:relative;transition:background .2s;width:48px}.toggle-btn.on .toggle-track{background:#2a9d8f}.toggle-thumb{background:#fff;border-radius:50%;box-shadow:0 1px 3px #0003;height:20px;left:3px;position:absolute;top:3px;transition:transform .2s;width:20px}.toggle-btn.on .toggle-thumb{transform:translateX(22px)}.test-notification-btn{align-items:center;background:#f3f4f6;border:none;border-radius:8px;color:#374151;cursor:pointer;display:flex;font-size:.875rem;gap:8px;justify-content:center;margin-top:8px;padding:10px 16px;transition:background .2s}.test-notification-btn:hover:not(:disabled){background:#e5e7eb}.test-notification-btn:disabled{opacity:.6}.goals-settings{display:flex;flex-direction:column;gap:16px}.goals-settings .setting-row{align-items:flex-start;border-bottom:none;flex-direction:column;gap:8px;padding:0}.goals-settings label{color:#374151;font-size:.95rem;font-weight:500}.goals-settings input{border:1px solid #e5e7eb;border-radius:8px;color:#374151;font-size:1rem;padding:10px 14px;width:100%}.goals-settings input:focus{border-color:#2a9d8f;box-shadow:0 0 0 3px #2a9d8f1a;outline:none}.range-inputs{align-items:center;display:flex;gap:10px;width:100%}.range-inputs input{flex:1 1}.range-inputs span{color:#9ca3af}.save-goals-btn{align-items:center;background:#2a9d8f;border:none;border-radius:10px;color:#fff;cursor:pointer;display:flex;font-size:1rem;font-weight:500;gap:8px;justify-content:center;margin-top:8px;padding:12px 20px;transition:background .2s}.save-goals-btn:hover:not(:disabled){background:#238b7e}.save-goals-btn:disabled{opacity:.7}.connected-services{display:flex;flex-direction:column;gap:16px}.service-row{align-items:center;border-bottom:1px solid #f3f4f6;display:flex;justify-content:space-between;padding:12px 0}.service-row:last-child{border-bottom:none}.service-info{display:flex;flex-direction:column;gap:2px}.service-name{color:#374151;font-size:.95rem;font-weight:500}.service-desc{color:#9ca3af;font-size:.8rem}.profile-settings{display:flex;flex-direction:column;gap:12px}.profile-row{align-items:center;border-bottom:1px solid #f3f4f6;display:flex;justify-content:space-between;padding:8px 0}.profile-row:last-child{border-bottom:none}.profile-label{color:#6b7280;font-size:.95rem}.profile-value{color:#374151;font-size:.95rem;font-weight:500}.settings-error{align-items:center;background:#fef2f2;border-radius:8px;color:#dc2626;display:flex;font-size:.875rem;gap:8px;margin-top:16px;padding:12px 16px}.spin{animation:spin 1s linear infinite}.level-up-overlay{align-items:center;animation:fadeIn .3s ease;background:#000000e6;bottom:0;display:flex;justify-content:center;left:0;pointer-events:none;position:fixed;right:0;top:0;z-index:9999}.level-up-modal{max-width:350px;opacity:0;padding:40px 30px;pointer-events:auto;text-align:center;transform:scale(.8);transition:all .5s cubic-bezier(.34,1.56,.64,1)}.level-up-modal.show{opacity:1;transform:scale(1)}.level-badge-large{align-items:center;animation:pulse-glow 2s infinite;background:linear-gradient(135deg,#f59e0b,#d97706);border-radius:50%;box-shadow:0 0 30px #f59e0b80,0 0 60px #f59e0b4d;display:flex;height:80px;justify-content:center;margin:0 auto 20px;width:80px}@keyframes pulse-glow{0%,to{box-shadow:0 0 30px #f59e0b80,0 0 60px #f59e0b4d}50%{box-shadow:0 0 50px #f59e0bb3,0 0 80px #f59e0b80}}.level-badge-large .level-number{color:#fff;font-size:36px;font-weight:800;text-shadow:0 2px 4px #0000004d}.avatar-transformation{height:200px;margin:20px auto;position:relative;width:200px}.new-avatar,.old-avatar{align-items:center;display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.new-avatar img,.old-avatar img{background:linear-gradient(135deg,#264653,#1a3a47);border-radius:50%;height:180px;max-height:100%;max-width:100%;object-fit:cover;object-position:top center;width:180px}.old-avatar{transition:all 1s ease;z-index:1}.old-avatar.fade-out{filter:blur(10px);opacity:0;transform:scale(.5) rotate(-10deg)}.new-avatar{filter:blur(20px) brightness(2);opacity:0;transform:scale(1.5);transition:all 1s cubic-bezier(.34,1.56,.64,1);z-index:2}.new-avatar.reveal{filter:blur(0) brightness(1);opacity:1;transform:scale(1)}.new-avatar.reveal img{animation:avatar-pulse 2s infinite;box-shadow:0 0 20px #4ade8080,0 0 40px #2a9d8f4d}@keyframes avatar-pulse{0%,to{box-shadow:0 0 20px #4ade8080,0 0 40px #2a9d8f4d}50%{box-shadow:0 0 30px #4ade80b3,0 0 60px #2a9d8f80}}.transformation-effect{align-items:center;display:flex;inset:0;justify-content:center;pointer-events:none;position:absolute;z-index:3}.sparkle{animation:sparkle-burst 1s ease-out forwards;font-size:60px}@keyframes sparkle-burst{0%{opacity:1;transform:scale(0)}50%{opacity:1;transform:scale(2)}to{opacity:0;transform:scale(3)}}.celebration-text{animation:text-fade-up .6s ease .4s both}@keyframes text-fade-up{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.level-up-title{color:#4ade80;font-size:32px;letter-spacing:3px;margin:0 0 10px;text-shadow:0 0 20px #4ade8080}.adventure-title{color:#fff;font-size:28px;font-weight:700;margin:0 0 5px}.adventure-subtitle{color:#f59e0b;font-size:16px;letter-spacing:2px;margin:0 0 15px;text-transform:uppercase}.adventure-description{color:#ffffffb3;font-size:14px;line-height:1.5;margin:0 0 25px;padding:0 10px}.continue-btn{animation:btn-appear .4s ease .6s both;background:linear-gradient(135deg,#2a9d8f,#1a7a6e);border:none;border-radius:25px;color:#fff;cursor:pointer;font-size:16px;font-weight:600;padding:14px 32px;transition:transform .2s,box-shadow .2s}@keyframes btn-appear{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.continue-btn:hover{box-shadow:0 4px 20px #2a9d8f66;transform:scale(1.05)}.continue-btn:active{transform:scale(.98)}@media (prefers-color-scheme:dark){.level-up-overlay{background:#000000f2}}.inbox-modal-overlay{align-items:flex-start;animation:fadeIn .2s ease;background:#000000b3;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1000}.inbox-modal{animation:slideDown .3s ease;background:#1a1a2e;border-radius:16px;box-shadow:0 20px 60px #00000080;margin-top:40px;max-height:80vh;max-width:420px;overflow:hidden;width:100%}@keyframes slideDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.inbox-header{background:linear-gradient(135deg,#ec4899,#f472b6);border-bottom:1px solid #ffffff1a;justify-content:space-between;padding:16px 20px}.inbox-header,.inbox-title{align-items:center;display:flex}.inbox-title{gap:10px}.inbox-title .heart-icon{color:#fff}.inbox-title h2{color:#fff;font-size:18px;font-weight:600;margin:0}.inbox-title .unread-badge{background:#fff;border-radius:10px;color:#ec4899;font-size:12px;font-weight:600;padding:2px 8px}.inbox-actions{align-items:center;display:flex;gap:8px}.inbox-actions .mark-all-btn{align-items:center;background:#fff3;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:12px;font-weight:500;gap:4px;padding:6px 12px;transition:background .2s}.inbox-actions .mark-all-btn:hover:not(:disabled){background:#ffffff4d}.inbox-actions .mark-all-btn:disabled{cursor:not-allowed;opacity:.7}.inbox-actions .close-btn{align-items:center;background:#fff3;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;justify-content:center;padding:6px;transition:background .2s}.inbox-actions .close-btn:hover{background:#ffffff4d}.inbox-content{max-height:calc(80vh - 70px);overflow-y:auto}.inbox-empty,.inbox-loading{align-items:center;color:#ffffff80;display:flex;flex-direction:column;justify-content:center;padding:60px 20px;text-align:center}.inbox-loading .spin{animation:spin 1s linear infinite;color:#ec4899}.inbox-empty p,.inbox-loading p{color:#ffffffb3;font-size:16px;margin:12px 0 4px}.inbox-empty span{font-size:13px}.inbox-empty svg{opacity:.5}.message-list{padding:8px}.message-item{border-radius:12px;display:flex;gap:12px;margin-bottom:8px;padding:14px;transition:background .2s}.message-item:last-child{margin-bottom:0}.message-item.unread{background:#ec48991a;border:1px solid #ec489933}.message-item.read{background:#ffffff0d;border:1px solid #0000}.message-icon{align-items:center;background:#ffffff1a;border-radius:50%;display:flex;flex-shrink:0;height:36px;justify-content:center;width:36px}.message-icon .unread-icon{color:#ec4899}.message-icon .read-icon{color:#fff6}.message-body{flex:1 1;min-width:0}.message-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:4px}.message-header .sender-name{color:#fff;font-size:14px;font-weight:600}.message-header .message-time{color:#ffffff80;font-size:12px}.message-text{color:#fffc;font-size:14px;line-height:1.4}.message-text .type-emoji{margin-right:6px}@media (prefers-color-scheme:light){.inbox-modal{background:#fff;box-shadow:0 20px 60px #00000026}.inbox-empty,.inbox-loading{color:#94a3b8}.inbox-empty p,.inbox-loading p{color:#475569}.message-item.unread{background:#ec48990d}.message-item.read{background:#f8fafc}.message-icon{background:#f1f5f9}.message-icon .read-icon{color:#94a3b8}.message-header .sender-name{color:#1e293b}.message-header .message-time{color:#94a3b8}.message-text{color:#475569}}.token-celebration-overlay{align-items:center;animation:fadeIn .3s ease;background:#000000d9;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:2000}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.token-celebration-content{align-items:center;display:flex;flex-direction:column;max-width:320px;padding:40px 32px;position:relative;text-align:center;width:90%}.confetti-container{bottom:0;left:0;overflow:hidden;pointer-events:none;position:fixed;right:0;top:0}.confetti{animation:confettiFall 3s ease-in forwards;border-radius:2px;height:10px;position:absolute;top:-10px;width:10px}@keyframes confettiFall{0%{opacity:1;transform:translateY(0) rotate(0deg)}to{opacity:0;transform:translateY(100vh) rotate(2turn)}}.sparkle-burst{left:50%;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%)}.sparkle{animation:sparkleBurst .8s ease-out forwards;background:linear-gradient(0deg,#0000,gold,#0000);height:30px;opacity:0;position:absolute;transform-origin:center 60px;width:4px}@keyframes sparkleBurst{0%{opacity:1;transform:rotate(0deg) translateY(0) scaleY(0);transform:rotate(var(--rotation,0deg)) translateY(0) scaleY(0)}50%{opacity:1;transform:rotate(0deg) translateY(-40px) scaleY(1);transform:rotate(var(--rotation,0deg)) translateY(-40px) scaleY(1)}to{opacity:0;transform:rotate(0deg) translateY(-80px) scaleY(.5);transform:rotate(var(--rotation,0deg)) translateY(-80px) scaleY(.5)}}.sparkle:first-child{--rotation:0deg;animation-delay:0s}.sparkle:nth-child(2){--rotation:30deg;animation-delay:.05s}.sparkle:nth-child(3){--rotation:60deg;animation-delay:.1s}.sparkle:nth-child(4){--rotation:90deg;animation-delay:.05s}.sparkle:nth-child(5){--rotation:120deg;animation-delay:0s}.sparkle:nth-child(6){--rotation:150deg;animation-delay:.05s}.sparkle:nth-child(7){--rotation:180deg;animation-delay:.1s}.sparkle:nth-child(8){--rotation:210deg;animation-delay:.05s}.sparkle:nth-child(9){--rotation:240deg;animation-delay:0s}.sparkle:nth-child(10){--rotation:270deg;animation-delay:.05s}.sparkle:nth-child(11){--rotation:300deg;animation-delay:.1s}.sparkle:nth-child(12){--rotation:330deg;animation-delay:.05s}.token-icon-container{animation:tokenSpinIn .6s cubic-bezier(.34,1.56,.64,1) forwards;margin-bottom:24px;position:relative}@keyframes tokenSpinIn{0%{opacity:0;transform:scale(0) rotate(-180deg)}to{opacity:1;transform:scale(1) rotate(0deg)}}.token-icon{animation:tokenPulse 1.5s ease-in-out infinite;display:block;filter:drop-shadow(0 0 20px rgba(255,215,0,.5));font-size:96px}@keyframes tokenPulse{0%,to{filter:drop-shadow(0 0 20px rgba(255,215,0,.5));transform:scale(1)}50%{filter:drop-shadow(0 0 30px rgba(255,215,0,.8));transform:scale(1.05)}}.celebration-title{animation:slideUp .5s ease .2s both;color:#fff;font-size:24px;font-weight:700;margin:0 0 8px}.celebration-subtitle{animation:slideUp .5s ease .3s both;color:#ffffffb3;font-size:16px;margin:0 0 28px}.awesome-btn{animation:slideUp .5s ease .4s both;background:linear-gradient(135deg,gold,orange);border:none;border-radius:30px;box-shadow:0 4px 20px #ffd70066;color:#1a1a2e;cursor:pointer;font-size:18px;font-weight:700;padding:14px 48px;transition:transform .2s,box-shadow .2s}.awesome-btn:hover{box-shadow:0 6px 30px #ffd70099;transform:scale(1.05)}.awesome-btn:active{transform:scale(.98)}.token-icon-container:before{animation:ringExpand 1s ease-out infinite;border:3px solid #ffd7004d;border-radius:50%;content:"";height:140px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:140px}@keyframes ringExpand{0%{opacity:1;transform:translate(-50%,-50%) scale(.8)}to{opacity:0;transform:translate(-50%,-50%) scale(1.4)}}@media (prefers-color-scheme:light){.token-celebration-overlay{background:#000c}}.wellness-portal-v2{padding-bottom:80px}.wellness-error,.wellness-loading,.wellness-portal-v2{background:linear-gradient(180deg,#1a1a2e,#16213e);min-height:100vh}.wellness-error,.wellness-loading{align-items:center;color:#fff;display:flex;flex-direction:column;justify-content:center;padding:2rem;text-align:center}.wellness-loading .spin{animation:spin 1s linear infinite;color:#2a9d8f}.wellness-error .error-icon{align-items:center;background:#ef4444;border-radius:50%;color:#fff;display:flex;font-size:2rem;font-weight:700;height:60px;justify-content:center;margin-bottom:1rem;width:60px}.retry-btn{background:#2a9d8f;border-radius:12px;font-size:1rem;font-weight:600;margin-top:1rem;padding:.75rem 2rem}.wellness-header-v2{align-items:center;background:linear-gradient(135deg,#1a3a4a,#2d5a6a);display:flex;gap:16px;justify-content:space-between;padding:20px}.wellness-header-v2 .header-left{align-items:center;display:flex;flex:1 1;gap:16px}.wellness-header-v2 .avatar-hero{flex-shrink:0;position:relative}.wellness-header-v2 .avatar-image{border:4px solid #e9c46a;border-radius:50%;box-shadow:0 4px 20px #e9c46a4d;height:90px;object-fit:cover;object-position:top center;width:90px}.wellness-header-v2 .avatar-fallback{align-items:center;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;display:flex;font-size:32px;font-weight:700;justify-content:center}.wellness-header-v2 .avatar-level-badge{background:#e9c46a;border-radius:12px;bottom:-8px;color:#1a3a4a;font-size:11px;font-weight:700;left:50%;padding:4px 12px;position:absolute;transform:translateX(-50%);white-space:nowrap}.wellness-header-v2 .level-info{margin-top:14px;min-width:90px;text-align:center}.wellness-header-v2 .level-name{color:#e9c46a;display:block;font-size:12px;font-weight:600;margin-bottom:6px}.wellness-header-v2 .level-progress-bar{background:#ffffff26;border-radius:3px;height:6px;margin-bottom:4px;overflow:hidden}.wellness-header-v2 .level-progress-fill{background:linear-gradient(90deg,#2a9d8f,#4ade80);border-radius:3px;height:100%;transition:width .5s ease}.wellness-header-v2 .level-progress-text{color:#94a3b8;display:block;font-size:10px}.wellness-header-v2 .header-info{flex:1 1}.wellness-header-v2 .header-info h1{color:#fff;font-size:22px;font-weight:600;margin:0 0 6px}.wellness-header-v2 .header-stats{display:flex;gap:16px}.wellness-header-v2 .stat-item{color:#94a3b8;font-size:14px}.wellness-header-v2 .header-right{position:relative;text-align:center}.wellness-header-v2 .trip-countdown{align-items:center;background:#ffffff1a;border-radius:12px;display:flex;flex-direction:column;padding:12px 16px}.wellness-header-v2 .days-number{color:#e9c46a;display:block;font-size:32px;font-weight:700}.wellness-header-v2 .days-label{color:#94a3b8;font-size:10px;letter-spacing:1px;text-transform:uppercase}@media (max-width:480px){.wellness-header-v2 .avatar-image{height:70px;width:70px}.wellness-header-v2 .header-info h1{font-size:18px}.wellness-header-v2 .days-number{font-size:24px}.wellness-header-v2 .header-stats{flex-direction:column;gap:2px}.wellness-header-v2 .stat-item{font-size:12px}}.wellness-header-v2 .message-badge{align-items:center;background:#fff3;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:12px;font-weight:600;height:28px;position:absolute;right:-8px;top:-8px;transition:transform .2s,background .2s;width:28px}.wellness-header-v2 .message-badge:hover{background:#ffffff4d;transform:scale(1.1)}.wellness-header-v2 .message-badge:active{transform:scale(.95)}.wellness-header-v2 .message-badge.has-messages{animation:pulse 2s infinite;background:#ef4444}.wellness-header-v2 .message-badge:before{content:"\2665";font-size:14px}.wellness-header-v2 .message-badge.has-messages:before{content:none}.encouragement-banner{background:#ffffff0d;border-bottom:1px solid #ffffff1a;padding:12px 20px}.encouragement-banner .verse-ref{color:#2a9d8f;display:block;font-size:11px;font-weight:600;margin-bottom:2px}.encouragement-banner .verse-text{color:#fffc;font-size:13px;font-style:italic;line-height:1.4;margin:0}.featured-cards{display:flex;flex-direction:row;gap:12px;padding:16px}.featured-card{background:linear-gradient(135deg,#1a3a4a,#2d5a6a);border:1px solid #2a9d8f4d;border-radius:16px;cursor:pointer;flex:1 1;min-width:0;padding:14px;transition:transform .2s,box-shadow .2s}.featured-card:hover{box-shadow:0 8px 24px #0000004d;transform:translateY(-2px)}.featured-card:active{transform:scale(.98)}.featured-card .card-header-row{align-items:center;display:flex;justify-content:space-between}.featured-card .card-title{align-items:center;display:flex;gap:10px}.featured-card .card-icon{font-size:24px}.featured-card .card-title span:last-child{color:#fff;font-size:16px;font-weight:600}.featured-card .card-header-row svg{color:#ffffff80;transition:transform .3s}.featured-card .expand-chevron.expanded{transform:rotate(90deg)}.journey-card .card-details{border-top:1px solid #ffffff1a;margin-top:14px;padding-top:14px}.journey-card .location-row{align-items:center;display:flex;gap:8px;margin-bottom:10px}.journey-card .location-row svg{color:#e9c46a;height:18px;width:18px}.journey-card .current-location{color:#e9c46a;font-size:15px;font-weight:600}.journey-card .progress-row{align-items:baseline;display:flex;gap:8px;margin-bottom:8px}.journey-card .miles-traveled{color:#fff;font-size:18px;font-weight:700}.journey-card .progress-percent{color:#fff9;font-size:14px}.journey-card .journey-progress-bar{background:#ffffff26;border-radius:4px;height:8px;margin-bottom:10px;overflow:hidden}.journey-card .journey-progress-fill{background:linear-gradient(90deg,#2a9d8f,#4ade80);border-radius:4px;height:100%;transition:width .5s ease}.journey-card .next-milestone{color:#ffffffb3;font-size:13px}.journey-card .next-milestone strong{color:#fff}.rewards-card .card-details{margin-top:12px}.rewards-card .token-count{align-items:center;display:flex;gap:8px;margin-bottom:10px}.rewards-card .token-count svg{color:gold}.rewards-card .token-number{color:gold;font-size:28px;font-weight:700}.rewards-card .token-label{color:#ffffffb3;font-size:14px}.rewards-card .token-inventory{border-top:1px solid #ffffff1a;display:flex;gap:16px;padding:10px 0}.rewards-card .token-type{color:#fffc;cursor:help;font-size:16px}.progress-section{padding:16px}.progress-section h2{color:#fff;font-size:18px;font-weight:600;margin:0 0 12px}.progress-grid{grid-gap:12px;display:grid;gap:12px;grid-template-columns:1fr 1fr}.progress-card{background:#ffffff14;border:1px solid #ffffff1a;border-radius:16px;cursor:pointer;padding:14px;transition:transform .2s,background .2s}.progress-card:hover{background:#ffffff1f;transform:translateY(-2px)}.progress-card:active{transform:scale(.98)}.progress-card .card-header{align-items:center;color:#ffffffb3;display:flex;gap:6px;margin-bottom:10px}.progress-card .card-header span{flex:1 1;font-size:14px;font-weight:500}.progress-card .card-header svg:last-child{opacity:.5}.progress-card .card-value{align-items:baseline;display:flex;gap:4px;margin-bottom:8px}.progress-card .card-value .value{color:#fff;font-size:24px;font-weight:700}.progress-card .card-value .target{color:#ffffff80;font-size:13px}.progress-card .progress-bar{background:#ffffff1a;border-radius:3px;height:6px;overflow:hidden}.progress-card .progress-fill{border-radius:3px;height:100%;transition:width .3s}.progress-card .progress-fill.calories{background:linear-gradient(90deg,#f97316,#fb923c)}.progress-card .progress-fill.protein{background:linear-gradient(90deg,#8b5cf6,#a78bfa)}.progress-card .progress-fill.steps{background:linear-gradient(90deg,#2a9d8f,#4ade80)}.progress-card.rowing-card .card-header,.progress-card.steps-card .card-header{flex-wrap:wrap}.quick-food-section{padding:16px}.quick-food-section h2{color:#fff;font-size:18px;font-weight:600;margin:0 0 12px}.quick-food-section .food-input-row{display:flex;gap:8px}.quick-food-section .food-text-input{background:#ffffff14;border:1px solid #fff3;border-radius:12px;color:#fff;flex:1 1;font-size:14px;outline:none;padding:12px 16px;transition:border-color .2s,background .2s}.quick-food-section .food-text-input::placeholder{color:#fff6}.quick-food-section .food-text-input:focus{background:#ffffff1f;border-color:#2a9d8f}.quick-food-section .food-text-input:disabled{opacity:.6}.quick-food-section .food-submit-btn{align-items:center;background:#2a9d8f;border:none;border-radius:12px;color:#fff;cursor:pointer;display:flex;height:48px;justify-content:center;transition:transform .2s,background .2s;width:48px}.quick-food-section .food-submit-btn:hover:not(:disabled){background:#1a7a6e}.quick-food-section .food-submit-btn:active:not(:disabled){transform:scale(.95)}.quick-food-section .food-submit-btn:disabled{cursor:not-allowed;opacity:.5}.quick-food-section .food-alt-methods{align-items:center;display:flex;gap:12px;margin-top:12px}.quick-food-section .alt-label{color:#ffffff80;font-size:13px}.quick-food-section .alt-btn{align-items:center;background:#0000;border:1px solid #fff3;border-radius:20px;color:#fffc;cursor:pointer;display:flex;font-size:13px;gap:6px;padding:8px 14px;transition:background .2s,border-color .2s}.quick-food-section .alt-btn:hover{background:#ffffff1a;border-color:#ffffff4d}.quick-food-section .alt-btn.voice svg{color:#f97316}.quick-food-section .alt-btn.camera svg{color:#3b82f6}.weight-section{padding:0 16px 16px}.weight-section .weight-card{background:#ffffff14;border:1px solid #ffffff1a;border-radius:16px;cursor:pointer;padding:16px}.weight-section .card-header{align-items:center;color:#ffffffb3;display:flex;gap:8px;margin-bottom:10px}.weight-section .card-header span{flex:1 1;font-size:14px;font-weight:500}.weight-section .weight-display{display:flex;flex-direction:column}.weight-section .current-weight{color:#fff;font-size:28px;font-weight:700}.weight-section .weight-to-goal{color:#4ade80;font-size:13px}.weight-section .body-comp-link{background:#2a9d8f26;border:1px solid #2a9d8f4d;border-radius:8px;color:#2a9d8f;cursor:pointer;font-size:13px;font-weight:500;margin-top:12px;padding:8px 12px;transition:background .2s;width:100%}.weight-section .body-comp-link:hover{background:#2a9d8f40}.partner-section{background:linear-gradient(135deg,#fce7f31f,#f9a8d41f);border:1px solid #ec489940;border-radius:16px;margin:16px;padding:16px}.partner-section .partner-header{align-items:center;display:flex;gap:8px;margin-bottom:16px}.partner-section .partner-icon{font-size:20px}.partner-section .partner-header h3{color:#f9a8d4;font-size:17px;font-weight:600;margin:0}.partner-section .partner-stats-grid{grid-gap:10px;display:grid;gap:10px;grid-template-columns:repeat(3,1fr);margin-bottom:14px}.partner-section .partner-stat-card{align-items:center;background:#ffffff14;border-radius:12px;display:flex;flex-direction:column;gap:4px;padding:12px 8px;text-align:center}.partner-section .partner-stat-card svg{color:#fff9;height:20px;width:20px}.partner-section .partner-stat-card.weight svg{color:#ec4899}.partner-section .partner-stat-card.streak svg{color:#fbbf24}.partner-section .partner-stat-card .stat-value{color:#fff;font-size:18px;font-weight:700}.partner-section .partner-stat-card .stat-label{color:#fff9;font-size:11px;text-transform:uppercase}.partner-section .partner-not-logged{background:#ec48991a;border-radius:10px;color:#ffffffb3;font-size:14px;margin-bottom:12px;padding:12px;text-align:center}.partner-section .partner-actions{display:flex;gap:10px}.partner-section .partner-btn{align-items:center;border:none;border-radius:10px;cursor:pointer;display:flex;flex:1 1;font-size:14px;font-weight:600;gap:6px;justify-content:center;padding:12px;transition:transform .2s,background .2s}.partner-section .partner-btn.encourage{background:linear-gradient(135deg,#ec4899,#db2777);color:#fff}.partner-section .partner-btn.message{background:#fff;border:1px solid #f9a8d4;color:#be185d}.partner-section .partner-btn:active{transform:scale(.95)}.quick-actions{padding:16px}.quick-actions .action-grid{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(4,1fr)}.quick-actions .action-btn{align-items:center;background:#ffffff14;border:1px solid #ffffff1a;border-radius:12px;color:#fff;cursor:pointer;display:flex;flex-direction:column;gap:6px;padding:12px 8px;transition:transform .2s,background .2s}.quick-actions .action-btn:hover{background:#ffffff1f}.quick-actions .action-btn:active{transform:scale(.95)}.quick-actions .action-btn .action-icon{font-size:24px}.quick-actions .action-btn span:last-child{font-size:11px;font-weight:500}.quick-actions .action-btn svg{color:#2a9d8f}.weight-tab{padding:20px;text-align:center}.weight-tab h2{color:#fff;margin:0 0 20px}.weight-tab .weight-current{align-items:center;color:#ffffff80;display:flex;flex-direction:column;gap:8px;margin-bottom:24px}.weight-tab .weight-value{color:#fff;font-size:48px;font-weight:700}.weight-tab .weight-date{color:#ffffff80;font-size:13px}.weight-tab .weight-progress{margin-bottom:24px}.weight-tab .weight-markers{color:#fff9;display:flex;font-size:12px;justify-content:space-between;margin-bottom:8px}.weight-tab .weight-progress-bar{background:#ffffff1a;border-radius:6px;height:12px;overflow:hidden}.weight-tab .weight-progress-fill{background:linear-gradient(90deg,#2a9d8f,#4ade80);border-radius:6px;height:100%}.weight-tab .log-weight-btn{align-items:center;background:#2a9d8f;border:none;border-radius:12px;color:#fff;cursor:pointer;display:inline-flex;font-size:16px;font-weight:600;gap:8px;padding:14px 28px}.goals-tab{padding:20px}.goals-tab h2{color:#fff;margin:0 0 16px}.goals-tab .goals-list{display:flex;flex-direction:column;gap:12px}.goals-tab .goal-item{align-items:center;background:#ffffff14;border-radius:12px;display:flex;gap:12px;padding:14px}.goals-tab .goal-icon{font-size:24px}.goals-tab .goal-info{display:flex;flex:1 1;flex-direction:column}.goals-tab .goal-title{color:#fff;font-weight:500}.goals-tab .goal-days{color:#ffffff80;font-size:12px}.goals-tab .goal-progress{background:#ffffff1a;border-radius:3px;height:6px;overflow:hidden;width:60px}.goals-tab .goal-progress-fill{background:#2a9d8f;height:100%}.goals-tab .no-goals{color:#ffffff80;padding:40px;text-align:center}.goals-tab .no-goals svg{margin-bottom:12px;opacity:.5}.bottom-nav{align-items:flex-end;background:#0f172a;border-top:1px solid #ffffff1a;bottom:0;display:flex;justify-content:space-around;left:0;padding:8px 0 12px;position:fixed;right:0;z-index:100}.bottom-nav .nav-btn{align-items:center;background:none;border:none;color:#ffffff80;cursor:pointer;display:flex;flex-direction:column;gap:2px;padding:4px 12px;transition:color .2s}.bottom-nav .nav-btn.active{color:#2a9d8f}.bottom-nav .nav-btn span{font-size:10px;font-weight:500}.bottom-nav .nav-center{margin-top:-24px}.bottom-nav .voice-log-nav-button{align-items:center;background:linear-gradient(135deg,#2a9d8f,#1a7a6e);border:3px solid #0f172a;border-radius:50%;box-shadow:0 4px 12px #2a9d8f66;color:#fff;cursor:pointer;display:flex;height:56px;justify-content:center;transition:transform .2s;width:56px}.bottom-nav .voice-log-nav-button:active{transform:scale(.95)}@media (prefers-color-scheme:light){.wellness-portal-v2{background:#f1f5f9}.wellness-error,.wellness-loading{background:#f1f5f9;color:#1e293b}.wellness-header-v2{background:linear-gradient(135deg,#2a9d8f,#1a7a6e)}.encouragement-banner{background:#fff;border-bottom:1px solid #e2e8f0}.encouragement-banner .verse-text{color:#475569}.featured-card{background:linear-gradient(135deg,#1a3a4a,#2d5a6a);box-shadow:0 4px 16px #00000026}.featured-card .card-title span:last-child{color:#fff}.journey-card .current-location{color:#e9c46a}.journey-card .miles-traveled{color:#fff}.rewards-card .token-number{color:gold}.progress-section h2{color:#1e293b}.progress-card{background:#fff;border:1px solid #e2e8f0;box-shadow:0 1px 3px #00000014}.progress-card:hover{background:#fafafa}.progress-card .card-header{color:#64748b}.progress-card .card-value .value{color:#1e293b}.progress-card .card-value .target{color:#94a3b8}.progress-card .progress-bar{background:#e2e8f0}.quick-food-section h2{color:#1e293b}.quick-food-section .food-text-input{background:#fff;border:1px solid #e2e8f0;color:#1e293b}.quick-food-section .food-text-input::placeholder{color:#94a3b8}.quick-food-section .food-text-input:focus{background:#fff}.quick-food-section .alt-label{color:#64748b}.quick-food-section .alt-btn{border-color:#e2e8f0;color:#475569}.quick-food-section .alt-btn:hover{background:#f1f5f9}.weight-section .weight-card{background:#fff;border:1px solid #e2e8f0}.weight-section .card-header{color:#64748b}.weight-section .current-weight{color:#1e293b}.partner-section{background:#fff;border:1px solid #ec489933}.partner-section .partner-header h3{color:#1e293b}.partner-section .partner-stat{color:#475569}.partner-section .partner-btn.message{background:#f1f5f9;color:#475569}.quick-actions .action-btn{background:#fff;border:1px solid #e2e8f0;color:#1e293b}.goals-tab h2,.weight-tab .weight-value,.weight-tab h2{color:#1e293b}.goals-tab .goal-progress,.weight-tab .weight-progress-bar{background:#e2e8f0}.goals-tab .goal-item{background:#fff}.goals-tab .goal-title{color:#1e293b}.bottom-nav{background:#fff;border-top:1px solid #e2e8f0}.bottom-nav .nav-btn{color:#94a3b8}.bottom-nav .nav-btn.active{color:#2a9d8f}.bottom-nav .voice-log-nav-button{border-color:#fff}}@media (max-width:380px){.wellness-header-v2 .header-avatar{height:48px;width:48px}.wellness-header-v2 .header-info h1{font-size:18px}.progress-grid{grid-template-columns:1fr}.quick-actions .action-grid{grid-template-columns:repeat(2,1fr)}}.page-header{align-items:center;background:#1e1e2e;border-bottom:1px solid #ffffff1a;display:flex;padding:16px;position:-webkit-sticky;position:sticky;top:0;z-index:100}.back-btn{background:none;border:none;color:#2a9d8f;cursor:pointer;font-size:16px;margin-left:-8px;padding:8px;transition:opacity .2s}.back-btn:hover{opacity:.8}.page-title{color:#fff;flex:1 1;font-size:18px;font-weight:600;margin:0;text-align:center}.header-actions{display:flex;gap:8px}.header-action-btn{background:#2a9d8f;border:none;border-radius:20px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:8px 16px;transition:background .2s}.header-action-btn:hover{background:#238b7e}@media (prefers-color-scheme:light){.page-header{background:#fff;border-bottom:1px solid #e2e8f0}.page-title{color:#1e293b}}.journey-page{background:linear-gradient(180deg,#1a1a2e,#16213e);min-height:100vh}.journey-content{padding:16px}.challenges-section{margin-top:20px}.challenges-section h3{color:#fff;font-size:18px;margin:0 0 12px}.challenges-list{display:flex;flex-direction:column;gap:8px}.challenge-item{align-items:center;background:#ffffff14;border:1px solid #ffffff1a;border-radius:12px;cursor:pointer;display:flex;gap:12px;padding:12px;transition:background .2s,transform .2s}.challenge-item:hover{background:#ffffff1f;transform:translateX(4px)}.challenge-item.completed{background:#2a9d8f26;border-color:#2a9d8f4d}.challenge-item.active{background:#ff980026;border-color:#ff98004d}.challenge-item.locked{opacity:.5}.challenge-emoji{font-size:24px}.challenge-info{display:flex;flex:1 1;flex-direction:column;gap:2px}.challenge-name{color:#fff;font-size:14px;font-weight:600}.challenge-landmark{color:#fff9;font-size:12px}.challenge-status-badge{align-items:center;border-radius:50%;display:flex;font-size:14px;height:28px;justify-content:center;width:28px}.challenge-status-badge.completed{background:#2a9d8f;color:#fff}.challenge-status-badge.active{background:#ff9800;color:#fff}.challenge-status-badge.available{background:#fff3;color:#fff}.challenge-status-badge.locked{background:#ffffff1a;color:#ffffff80}@media (prefers-color-scheme:light){.journey-page{background:#f8fafc}.challenges-section h3,.loading-state{color:#1e293b}.challenge-item{background:#fff;border:1px solid #e2e8f0}.challenge-item:hover{background:#f8fafc}.challenge-item.completed{background:#2a9d8f1a;border-color:#2a9d8f4d}.challenge-item.active{background:#ff98001a;border-color:#ff98004d}.challenge-name{color:#1e293b}.challenge-landmark{color:#64748b}.challenge-status-badge.available{background:#e2e8f0;color:#64748b}.challenge-status-badge.locked{background:#f1f5f9;color:#94a3b8}}.challenge-modal-overlay{align-items:center;background:#000000b3;bottom:0;display:flex;justify-content:center;left:0;overflow-y:auto;padding:1rem;position:fixed;right:0;top:0;z-index:1000}.challenge-modal{animation:modalSlideIn .3s ease;background:#fff;border-radius:16px;color:#333;max-height:90vh;max-width:400px;overflow-y:auto;position:relative;width:100%}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.modal-close{align-items:center;background:#f5f5f5;border:1px solid #ddd;border-radius:50%;color:#333;cursor:pointer;display:flex;font-size:1.2rem;font-weight:700;height:32px;justify-content:center;position:absolute;right:.75rem;top:.75rem;transition:all .2s ease;width:32px;z-index:10}.modal-close:hover{background:#e0e0e0;color:#000}.challenge-detail-view{padding:1.5rem}.challenge-header{align-items:flex-start;display:flex;gap:1rem;margin-bottom:1rem}.challenge-emoji{font-size:3rem;line-height:1}.challenge-header-text h2{color:#1a1a2e;font-size:1.3rem;font-weight:700;margin:0 0 .25rem}.challenge-header-text .landmark{color:#555;font-size:.9rem;margin:0 0 .25rem}.challenge-header-text .mile-marker{background:#4a7c4e26;border-radius:10px;color:#4a7c4e;color:var(--primary-color,#4a7c4e);font-size:.75rem;font-weight:600;padding:.2rem .5rem}.challenge-type-badge{align-items:center;background:#f0f0f0;border-radius:16px;display:inline-flex;gap:.4rem;margin-bottom:1rem;padding:.4rem .8rem}.type-icon{font-size:1rem}.type-label{color:#555;font-size:.8rem;font-weight:600}.challenge-description{color:#333;font-size:1rem;line-height:1.6;margin:0 0 1rem}.challenge-goal-section{background:#f8f8f8;border-radius:10px;margin-bottom:1rem;padding:.75rem}.challenge-goal-section h4{color:#666;font-size:.85rem;letter-spacing:.5px;margin:0 0 .35rem;text-transform:uppercase}.goal-text{color:#2a9d8f;font-size:1rem;font-weight:600;margin:0}.challenge-progress-section{background:#ff98001a;border:1px solid #ff98004d;border-radius:10px;margin-bottom:1rem;padding:.75rem}.progress-header{display:flex;font-size:.85rem;font-weight:600;justify-content:space-between;margin-bottom:.5rem}.progress-numbers{color:#f57c00}.progress-bar-large{background:#e0e0e0;border-radius:6px;height:12px;overflow:hidden}.progress-bar-large .progress-fill{background:linear-gradient(90deg,#ff9800,#f57c00);border-radius:6px;height:100%;transition:width .5s ease}.progress-bar-large .progress-fill.complete{background:linear-gradient(90deg,#4caf50,#388e3c)}.time-remaining-info{align-items:center;color:#f57c00;display:flex;font-size:.8rem;gap:.4rem;margin-top:.5rem}.rewards-preview{margin-bottom:1rem}.rewards-preview h4{color:#666;font-size:.85rem;letter-spacing:.5px;margin:0 0 .5rem;text-transform:uppercase}.rewards-list{display:flex;flex-wrap:wrap;gap:.5rem}.reward-item{align-items:center;background:#ffd70026;border-radius:16px;display:flex;font-size:.8rem;gap:.35rem;padding:.35rem .6rem}.reward-icon{font-size:1rem}.reward-name{color:#333;font-weight:600}.fun-fact-preview{background:#2196f31a;border-radius:10px;display:flex;gap:.5rem;margin-bottom:1rem;padding:.75rem}.fun-fact-icon{flex-shrink:0;font-size:1.25rem}.fun-fact-preview p{color:#1565c0;font-size:.9rem;font-style:italic;line-height:1.5;margin:0}.challenge-actions{margin-top:1.5rem}.btn-action{border:none;border-radius:12px;cursor:pointer;font-size:1rem;font-weight:600;padding:.9rem;transition:all .2s ease;width:100%}.btn-action.start{background:linear-gradient(135deg,#2196f3,#1976d2);color:#fff}.btn-action.start:hover{box-shadow:0 4px 12px #2196f366;transform:translateY(-2px)}.btn-action.complete{animation:pulse-complete 1.5s infinite;background:linear-gradient(135deg,#4caf50,#388e3c);color:#fff}@keyframes pulse-complete{0%,to{box-shadow:0 0 0 0 #4caf5066}50%{box-shadow:0 0 0 10px #4caf5000}}.btn-action.complete:hover{transform:translateY(-2px)}.btn-action.view-reward{background:linear-gradient(135deg,gold,#ffb300);color:#333}.btn-action.view-reward:hover{box-shadow:0 4px 12px #ffd70066;transform:translateY(-2px)}.btn-action:disabled{cursor:not-allowed;opacity:.6;transform:none!important}.in-progress-message,.locked-message{align-items:center;background:#f0f0f0;border-radius:10px;color:#555;display:flex;font-size:.9rem;font-weight:500;gap:.5rem;justify-content:center;padding:.75rem}.in-progress-icon,.locked-icon{font-size:1.25rem}.challenge-reward-view{padding:1.5rem;text-align:center}.reward-header{margin-bottom:1.5rem}.trophy-big{animation:trophy-bounce .6s ease;display:block;font-size:4rem;margin-bottom:.5rem}@keyframes trophy-bounce{0%,to{transform:scale(1)}50%{transform:scale(1.2)}}.reward-header h2{color:#1a1a2e;font-size:1.5rem;font-weight:700;margin:0 0 .25rem}.reward-header .landmark{color:#555;font-size:1rem;margin:0}.reward-media{background:#000;border-radius:12px;margin-bottom:1.5rem;overflow:hidden}.reward-image,.reward-video{display:block;max-height:300px;width:100%}.reward-image{object-fit:cover}.reward-placeholder{align-items:center;background:linear-gradient(135deg,#4a7c4e,#6bb36b);display:flex;height:200px;justify-content:center;width:100%}.placeholder-emoji{font-size:5rem}.reward-fun-fact{background:#2196f31a;border-radius:10px;display:flex;gap:.5rem;margin-bottom:1rem;padding:.75rem;text-align:left}.reward-fun-fact .fun-fact-icon{flex-shrink:0;font-size:1.25rem}.reward-fun-fact p{color:#1565c0;font-size:.9rem;font-style:italic;line-height:1.5;margin:0}.reward-token{align-items:center;background:#ffd70033;border-radius:20px;display:flex;gap:.5rem;justify-content:center;margin-bottom:1.5rem;padding:.6rem 1rem}.token-label{color:#555;font-size:.85rem}.token-type{color:#f57c00;font-weight:700;text-transform:uppercase}.btn-close-reward{background:linear-gradient(135deg,#4a7c4e,#388e3c);border:none;border-radius:12px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:.9rem;transition:all .2s ease;width:100%}.btn-close-reward:hover{box-shadow:0 4px 12px #4a7c4e66;transform:translateY(-2px)}@media (prefers-color-scheme:dark){.challenge-modal{background:#1e1e2e;color:#fff}.modal-close{background:#ffffff1a;border-color:#fff3;color:#ffffffb3}.modal-close:hover{background:#fff3;color:#fff}.challenge-header-text h2{color:#fff}.challenge-header-text .landmark{color:#ffffffb3}.challenge-type-badge{background:#ffffff1a}.type-label{color:#fff}.challenge-description{color:#ffffffd9}.challenge-goal-section{background:#ffffff0d}.challenge-goal-section h4{color:#fff9}.challenge-progress-section{background:#ff980026}.progress-header{color:#fff}.rewards-preview h4{color:#fff9}.reward-item{background:#ffd70026}.reward-name{color:#fff}.fun-fact-preview{background:#2196f326}.fun-fact-preview p{color:#64b5f6}.in-progress-message,.locked-message{background:#ffffff1a;color:#ffffffb3}.reward-header h2{color:#fff}.reward-header .landmark{color:#ffffffb3}.reward-fun-fact{background:#2196f326}.reward-fun-fact p{color:#64b5f6}.token-label{color:#ffffffb3}}.journey-section{margin:0 16px 20px}.journey-loading{color:#666;padding:24px;text-align:center}.journey-toggle{align-items:center;background:#2a9d8f;border:none;border-radius:12px;color:#fff;cursor:pointer;display:flex;font-size:16px;font-weight:600;justify-content:space-between;padding:14px 20px;transition:background .2s;width:100%}.journey-toggle:hover{background:#238b7e}.toggle-arrow{font-size:12px}.journey-card{background:linear-gradient(135deg,#1a3a34,#0d2520);border-radius:16px;color:#fff;margin-top:8px;padding:20px}.journey-header{align-items:center;display:flex;gap:12px;margin-bottom:16px}.car-icon{font-size:28px}.journey-header h2{color:#fff;font-size:20px;font-weight:600;margin:0;text-shadow:0 1px 2px #0003}.adventure-stage{background:linear-gradient(135deg,#4ade8033,#2a9d8f33);border-left:3px solid #4ade80;border-radius:10px;margin-bottom:12px;padding:10px 14px}.stage-title{color:#4ade80;display:block;font-size:16px;font-weight:700}.stage-subtitle{color:#ffffffb3;display:block;font-size:12px;margin-top:2px}.journey-progress-summary{align-items:center;display:flex;gap:16px;margin-bottom:20px}.miles-box{background:#ffffff1a;border-radius:12px;padding:12px 20px}.miles-current{color:#4ade80;font-size:32px;font-weight:700}.miles-total{color:#ffffffb3;font-size:16px}.percent-badge{background:#4ade8033;border-radius:20px;color:#4ade80;font-size:16px;font-weight:600;padding:8px 16px}.landmarks-scroll{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;display:flex;gap:12px;overflow-x:auto;padding:8px 0 16px;scroll-snap-type:x mandatory;scrollbar-width:none}.landmarks-scroll::-webkit-scrollbar{display:none}.landmark-card{border-radius:12px;cursor:pointer;flex:0 0 auto;padding:12px 8px;position:relative;scroll-snap-align:start;text-align:center;transition:transform .2s;width:90px}.landmark-card:active{transform:scale(.95)}.landmark-card.completed{background:linear-gradient(135deg,#4a5568,#2d3748);border:2px solid #f6ad55}.landmark-card.available{background:#2a9d8f33;border:2px dashed #2a9d8f}.landmark-card.active{animation:pulse 2s infinite;background:linear-gradient(135deg,#2a9d8f,#238b7e);border:2px solid #2a9d8f}.landmark-card.locked{background:#0003;border:1px solid #ffffff1a;opacity:.5}@keyframes pulse{0%,to{box-shadow:0 0 0 0 #2a9d8f66}50%{box-shadow:0 0 0 8px #2a9d8f00}}.landmark-icon{margin-bottom:8px;position:relative}.icon-emoji{display:block;font-size:32px}.trophy-overlay{font-size:14px;position:absolute;right:10px;top:-8px}.active-indicator{font-size:12px;position:absolute;right:5px;top:-5px}.landmark-name{color:#fff;display:block;font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.landmark-mile{color:#ffffffb3;display:block;font-size:11px;margin-top:2px}.journey-status{background:#0003;border-radius:12px;padding:16px}.current-location,.next-location{padding:8px 0}.status-label{color:#fff9;display:block;font-size:11px;font-weight:600;letter-spacing:1px;margin-bottom:6px;text-transform:uppercase}.location-row{align-items:center;display:flex;gap:12px}.location-icon{font-size:28px}.location-name{color:#fff;font-size:18px;font-weight:600}.journey-arrow{color:#2a9d8f;font-size:20px;padding:8px 0;text-align:center}.next-info{flex:1 1}.miles-to-go{color:#4ade80;display:block;font-size:16px;font-weight:600}.next-progress{margin-top:12px}.progress-label{color:#ffffffb3;font-size:13px}.journey-status .progress-bar{background:#ffffff1a;border-radius:4px;height:8px;margin-top:6px;overflow:hidden}.journey-status .progress-fill{background:linear-gradient(90deg,#4ade80,#22c55e);border-radius:4px;height:100%;transition:width .5s ease}.active-challenge-banner{align-items:center;background:linear-gradient(135deg,#ff9800,#f57c00);border-radius:12px;cursor:pointer;display:flex;gap:12px;margin-top:16px;padding:12px 16px;transition:transform .2s}.active-challenge-banner:active{transform:scale(.98)}.banner-icon{font-size:24px}.banner-content{flex:1 1}.banner-label{display:block;font-size:10px;opacity:.8;text-transform:uppercase}.banner-name{font-weight:600}.banner-arrow{font-size:20px}@media (prefers-color-scheme:dark){.journey-toggle{background:#238b7e}.journey-card{background:linear-gradient(135deg,#1a3a34,#0d2520)}}.coach-page{background:linear-gradient(180deg,#1a1a2e,#16213e);min-height:100vh}.coach-content{padding:16px}.greeting-section{margin-bottom:20px}.greeting-bubble{align-items:flex-start;background:#2a9d8f26;border:1px solid #2a9d8f4d;border-radius:16px;display:flex;gap:12px;padding:16px}.coach-avatar{font-size:32px}.greeting-text{color:#fff;font-size:15px;line-height:1.5;margin:0}.challenge-section{margin-bottom:24px}.challenge-section h3{color:#fff;font-size:18px;margin:0 0 12px}.challenge-card{align-items:flex-start;background:#ff980026;border:1px solid #ff98004d;border-radius:12px;display:flex;gap:12px;padding:16px}.challenge-card.completed{background:#2a9d8f26;border-color:#2a9d8f4d}.challenge-icon{font-size:24px}.challenge-details{flex:1 1}.challenge-text{color:#fff;font-size:14px;line-height:1.4;margin:0 0 8px}.challenge-badge{border-radius:12px;display:inline-block;font-size:12px;font-weight:600;padding:4px 12px}.challenge-badge.pending{background:#ff98004d;color:#fbbf24}.challenge-badge.completed{background:#2a9d8f4d;color:#4ade80}.coach-chat-section{margin-top:24px}.coach-chat-section h3{color:#fff;font-size:18px;margin:0 0 12px}@media (prefers-color-scheme:light){.coach-page{background:#f8fafc}.loading-state{color:#1e293b}.greeting-bubble{background:#2a9d8f1a;border-color:#2a9d8f33}.challenge-section h3,.greeting-text{color:#1e293b}.challenge-card{background:#ff98001a;border-color:#ff980033}.challenge-card.completed{background:#2a9d8f1a;border-color:#2a9d8f33}.challenge-text{color:#1e293b}.challenge-badge.pending{background:#ff980033;color:#d97706}.challenge-badge.completed{background:#2a9d8f33;color:#059669}.coach-chat-section h3{color:#1e293b}}.food-page{background:linear-gradient(180deg,#1a1a2e,#16213e);min-height:100vh}.food-content{padding:16px}.summary-section h3{color:#fff;font-size:18px;margin:0 0 12px}.nutrition-summary{background:#ffffff14;border:1px solid #ffffff1a;border-radius:12px;padding:16px}.nutrition-item{margin-bottom:16px}.nutrition-item:last-child{margin-bottom:0}.nutrition-header{display:flex;justify-content:space-between;margin-bottom:8px}.nutrition-label{color:#fffc;font-size:14px}.nutrition-value{color:#fff;font-size:14px;font-weight:600}.progress-bar{background:#ffffff1a;border-radius:4px;height:8px;overflow:hidden}.progress-fill{border-radius:4px;height:100%;transition:width .3s}.progress-fill.calories{background:linear-gradient(90deg,#f97316,#fbbf24)}.progress-fill.protein{background:linear-gradient(90deg,#2a9d8f,#4ade80)}.entries-section{margin-bottom:24px}.entries-section h3{color:#fff;font-size:18px;margin:0 0 12px}.empty-state p{margin:0 0 16px}.log-btn{transition:background .2s}.log-btn:hover{background:#238b7e}.entries-list{display:flex;flex-direction:column;gap:8px}.entry-item{align-items:center;background:#ffffff14;border:1px solid #ffffff1a;border-radius:10px;display:flex;justify-content:space-between;padding:12px}.entry-info{display:flex;flex-direction:column;gap:4px}.entry-name{color:#fff;font-weight:500}.entry-macros{color:#ffffff80;font-size:12px}.entry-actions{align-items:center;display:flex;gap:12px}.entry-calories{color:#fbbf24;font-size:14px;font-weight:600}.delete-btn{background:none;border:none;cursor:pointer;font-size:18px;opacity:.5;padding:4px;transition:opacity .2s}.delete-btn:hover{opacity:1}.delete-overlay{align-items:center;background:#000000d9;display:flex;inset:0;justify-content:center;padding:20px;position:fixed;z-index:300}.delete-modal{background:#1e1e2e;border-radius:16px;max-width:320px;padding:24px;text-align:center;width:100%}.delete-modal h3{color:#fff;font-size:20px;margin:0 0 12px}.delete-modal p{color:#fffc;font-size:14px;margin:0 0 8px}.delete-calories{color:#fbbf24;font-weight:600}.delete-actions{display:flex;gap:12px;margin-top:20px}.delete-actions .cancel-btn{background:#ffffff1a}.confirm-delete-btn,.delete-actions .cancel-btn{border:none;border-radius:12px;color:#fff;cursor:pointer;flex:1 1;font-size:16px;padding:14px}.confirm-delete-btn{background:#ef4444;font-weight:600}.confirm-delete-btn:disabled,.delete-actions .cancel-btn:disabled{cursor:not-allowed;opacity:.5}.scanner-overlay{align-items:flex-end;inset:0;z-index:200}.scanner-modal{animation:slideUp .3s ease;background:#1e1e2e;border-radius:20px 20px 0 0;overflow:hidden}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}.scanner-header{border-bottom:1px solid #ffffff1a;padding:16px}.scanner-header h3{color:#fff;font-size:18px}.close-btn{align-items:center;background:none;border:none;color:#fff9;cursor:pointer;display:flex;font-size:24px;height:32px;justify-content:center;padding:0;width:32px}.close-btn:hover{color:#fff}@media (prefers-color-scheme:light){.food-page{background:linear-gradient(180deg,#1a1a2e,#16213e)}}.scanner-overlay{align-items:center;background:#000c;bottom:0;display:flex;justify-content:center;left:0;padding:16px;position:fixed;right:0;top:0;z-index:1000}.scanner-modal{background:#fff;border-radius:20px;max-height:90vh;max-width:400px;overflow-y:auto;position:relative;width:100%}.scanner-header{align-items:center;border-bottom:1px solid #eee;display:flex;justify-content:space-between;padding:16px 20px}.scanner-header h3{color:#333;font-size:1.1rem;margin:0}.scanner-close{align-items:center;background:#f0f0f0;border:none;border-radius:50%;color:#666;cursor:pointer;display:flex;font-size:1.2rem;height:32px;justify-content:center;width:32px}.scanner-close:hover{background:#e0e0e0}.scanner-upload{padding:40px 24px;text-align:center}.scanner-icon{font-size:4rem;margin-bottom:16px}.scanner-upload p{color:#333;font-size:1rem;margin:0 0 8px}.scanner-hint{color:#888!important;font-size:.8rem!important;margin-bottom:24px!important}.scanner-capture-btn{background:linear-gradient(135deg,#2a9d8f,#238b7e);border:none;border-radius:30px;color:#fff;cursor:pointer;font-size:1.1rem;font-weight:600;padding:16px 32px;transition:transform .2s ease}.scanner-capture-btn:hover{transform:scale(1.05)}.scanner-capture-btn:active{transform:scale(.98)}.scanner-preview-container{padding:16px;position:relative}.scanner-preview{background:#f8f8f8;border-radius:12px;max-height:300px;object-fit:contain;width:100%}.step-label{color:#2a9d8f;font-size:.85rem;font-weight:600;margin-bottom:8px}.preview-actions{display:flex;gap:12px;margin-top:16px}.retake-btn{background:#0000001a;border:none;border-radius:20px;color:#666;cursor:pointer;flex:1 1;font-size:.9rem;font-weight:500;padding:12px 16px;transition:background .2s}.retake-btn:hover{background:#00000026}.next-btn{background:linear-gradient(135deg,#2a9d8f,#238b7e);border:none;border-radius:20px;color:#fff;cursor:pointer;flex:1 1;font-size:.9rem;font-weight:600;padding:12px 16px;transition:transform .2s}.next-btn:hover{transform:scale(1.02)}.submit-btn{background:linear-gradient(135deg,#2a9d8f,#238b7e);border:none;border-radius:20px;color:#fff;cursor:pointer;flex:1 1;font-size:.9rem;font-weight:600;padding:12px 16px;transition:transform .2s}.submit-btn:hover{transform:scale(1.02)}.dual-buttons{display:flex;flex-direction:column;gap:12px;margin-top:8px}.skip-btn{background:#0000;border:1px solid #ddd;border-radius:20px;color:#888;cursor:pointer;font-size:.9rem;padding:12px 24px;transition:all .2s}.skip-btn:hover{background:#0000000d;border-color:#ccc}.scanner-scanning{padding:40px 24px;text-align:center}.scanning-spinner{animation:spin 1s linear infinite;border:4px solid #e0e0e0;border-radius:50%;border-top-color:#2a9d8f;height:48px;margin:0 auto 16px;width:48px}.scanner-scanning p{color:#666;font-size:.95rem;margin:0}.scanner-error{padding:24px;text-align:center}.scanner-error p{color:#e74c3c;margin:0 0 16px}.retry-btn{background:#e74c3c;border:none;border-radius:20px;color:#fff;cursor:pointer;font-size:.95rem;padding:12px 24px}.scanned-results{padding:20px}.scanned-results h4{color:#333;font-size:1.1rem;margin:0 0 4px}.scanned-brand{color:#666;font-size:.85rem;margin:0 0 8px}.scanned-serving{background:#f0f0f0;border-radius:12px;color:#888;display:inline-block;font-size:.8rem;margin:0 0 16px;padding:4px 10px}.nutrition-grid{grid-gap:8px;display:grid;gap:8px;grid-template-columns:repeat(4,1fr);margin-bottom:16px}.nutrition-item{background:#f8f8f8;border-radius:12px;padding:12px 8px;text-align:center}.nutrition-item.main{background:linear-gradient(135deg,#2a9d8f,#238b7e);color:#fff}.nutrition-value{display:block;font-size:1.2rem;font-weight:700}.nutrition-item.main .nutrition-value{font-size:1.4rem}.nutrition-label{color:#666;display:block;font-size:.7rem;margin-top:2px;text-transform:uppercase}.nutrition-item.main .nutrition-label{color:#fffc}.sugar-info{align-items:center;background:#fff8e1;border-radius:20px;color:#f57c00;display:flex;font-size:.85rem;gap:6px;justify-content:center;margin-bottom:20px;padding:8px 12px}.sugar-icon{font-size:1rem}.scanner-actions{display:flex;gap:8px}.action-btn{border:none;border-radius:12px;cursor:pointer;flex:1 1;font-size:.9rem;font-weight:600;padding:14px 12px;transition:all .2s ease}.action-btn.secondary{background:#f0f0f0;color:#666}.action-btn.save{background:#e3f2fd;color:#1976d2}.action-btn.primary{background:linear-gradient(135deg,#2a9d8f,#238b7e);color:#fff}.action-btn:hover{transform:translateY(-2px)}.action-btn:active{transform:translateY(0)}@media (prefers-color-scheme:dark){.scanner-modal{background:#1a1a1a}.scanner-header{border-color:#333}.scanner-header h3{color:#eee}.scanner-close{background:#333;color:#ccc}.scanned-results h4,.scanner-upload p{color:#eee}.scanned-brand{color:#aaa}.scanned-serving{background:#333;color:#ccc}.nutrition-item{background:#2a2a2a}.nutrition-label{color:#aaa}.action-btn.secondary{background:#333;color:#ccc}.step-label{color:#4ade80}.retake-btn{background:#ffffff1a;color:#ccc}.retake-btn:hover{background:#ffffff26}.skip-btn{border-color:#444;color:#aaa}.skip-btn:hover{background:#ffffff0d;border-color:#555}}.progress-page{background:linear-gradient(180deg,#1a1a2e,#16213e);min-height:100vh}.progress-content{padding:16px}.overall-section{display:flex;justify-content:center;margin-bottom:24px;padding:20px 0}.progress-ring{height:160px;position:relative;width:160px}.progress-ring svg{height:100%;width:100%}.ring-center{align-items:center;display:flex;flex-direction:column;inset:0;justify-content:center;position:absolute}.ring-value{color:#fff;font-size:32px;font-weight:700}.ring-label{color:#fff9;font-size:14px}.metrics-section h3{color:#fff;font-size:18px;margin:0 0 16px}.metrics-list{display:flex;flex-direction:column;gap:12px}.metric-item{background:#ffffff14;border:1px solid #ffffff1a;border-radius:12px;gap:12px;padding:14px}.metric-icon,.metric-item{align-items:center;display:flex}.metric-icon{background:#ffffff1a;border-radius:10px;font-size:24px;height:40px;justify-content:center;width:40px}.metric-details{flex:1 1}.metric-header{display:flex;justify-content:space-between;margin-bottom:8px}.metric-label{color:#fffc;font-size:14px;font-weight:500}.metric-value{color:#fff;font-size:14px;font-weight:600}.metric-progress{background:#ffffff1a;border-radius:3px;height:6px;overflow:hidden}.metric-fill{border-radius:3px;height:100%;transition:width .3s}@media (prefers-color-scheme:light){.progress-page{background:#f8fafc}.loading-state,.ring-value{color:#1e293b}.ring-label{color:#64748b}.metrics-section h3{color:#1e293b}.metric-item{background:#fff;border:1px solid #e2e8f0}.metric-icon{background:#f1f5f9}.metric-label{color:#64748b}.metric-value{color:#1e293b}.metric-progress{background:#e2e8f0}}.rowing-page{background:linear-gradient(180deg,#1a1a2e,#16213e);min-height:100vh}.rowing-content{padding:16px}.stats-section{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(3,1fr);margin-bottom:24px}.stat-card{background:#ffffff14;border:1px solid #ffffff1a;padding:16px 8px}.stat-icon{font-size:24px}.stat-value{color:#fff;font-size:18px;font-weight:700}.stat-label{color:#fff9;font-size:11px;text-transform:uppercase}.last-workout-section{margin-bottom:24px}.last-workout-section h3{color:#fff;font-size:18px;margin:0 0 12px}.workout-card{background:#ffffff14;border:1px solid #ffffff1a;border-radius:12px;padding:16px}.workout-card.highlight{background:#2a9d8f26;border-color:#2a9d8f4d}.workout-date{color:#fff9;font-size:13px;margin-bottom:12px}.workout-details{display:flex;justify-content:space-around}.workout-stat{align-items:center;display:flex;flex-direction:column;gap:4px}.workout-value{color:#fff;font-size:20px;font-weight:700}.workout-label{color:#fff9;font-size:11px;text-transform:uppercase}.history-section h3{color:#fff;font-size:18px;margin:0 0 12px}.empty-state{border-radius:12px}.empty-icon{font-size:48px;margin-bottom:12px}.workouts-list{display:flex;flex-direction:column;gap:8px}.workout-item{align-items:center;background:#ffffff14;border:1px solid #ffffff1a;border-radius:10px;display:flex;justify-content:space-between;padding:12px}.workout-item-date{color:#fff;font-size:14px;font-weight:500}.workout-item-stats{align-items:center;color:#fff9;display:flex;font-size:13px;gap:8px}.workout-item-stats .divider{color:#ffffff4d}@media (prefers-color-scheme:light){.rowing-page{background:#f8fafc}.loading-state{color:#1e293b}.stat-card{background:#fff;border:1px solid #e2e8f0}.stat-value{color:#1e293b}.stat-label{color:#94a3b8}.last-workout-section h3{color:#1e293b}.workout-card{background:#fff;border:1px solid #e2e8f0}.workout-card.highlight{background:#2a9d8f1a;border-color:#2a9d8f33}.workout-date{color:#64748b}.workout-value{color:#1e293b}.workout-label{color:#94a3b8}.history-section h3{color:#1e293b}.empty-state{background:#f1f5f9;border-color:#cbd5e1}.empty-state p{color:#64748b}.workout-item{background:#fff;border:1px solid #e2e8f0}.workout-item-date{color:#1e293b}.workout-item-stats{color:#64748b}.workout-item-stats .divider{color:#cbd5e1}}.goals-page{background:linear-gradient(180deg,#1a1a2e,#16213e);min-height:100vh}.goals-content{padding:16px}.streaks-section{margin-bottom:24px}.streak-cards{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(2,1fr)}.streak-card{align-items:center;background:#ffffff14;border:1px solid #ffffff1a;border-radius:16px;display:flex;flex-direction:column;gap:4px;padding:20px 16px}.streak-card.primary{background:#ff980026;border-color:#ff98004d}.streak-icon{font-size:32px}.streak-value{color:#fff;font-size:36px;font-weight:700}.streak-label{color:#fff9;font-size:12px;text-transform:uppercase}.calendar-section{margin-bottom:24px}.calendar-section h3{color:#fff;font-size:18px;margin:0 0 12px}.week-calendar{grid-gap:8px;display:grid;gap:8px;grid-template-columns:repeat(7,1fr)}.day-cell{align-items:center;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:10px;display:flex;flex-direction:column;gap:4px;padding:10px 4px}.day-cell.today{background:#2a9d8f33;border-color:#2a9d8f66}.day-cell.completed{background:#2a9d8f26;border-color:#2a9d8f4d}.day-name{color:#fff9;font-size:11px;text-transform:uppercase}.day-status{color:#4ade80;font-size:16px;min-height:20px}.day-cell.today .day-status{color:#2a9d8f}.weekly-goals-section{margin-bottom:24px}.weekly-goals-section h3{color:#fff;font-size:18px;margin:0 0 12px}.goals-list{display:flex;flex-direction:column;gap:12px}.goal-item{background:#ffffff14;border:1px solid #ffffff1a;border-radius:12px;padding:14px}.goal-info{display:flex;justify-content:space-between;margin-bottom:10px}.goal-name{color:#fff;font-size:14px;font-weight:500}.goal-progress-text{color:#fff9;font-size:13px}.goal-progress-bar{background:#ffffff1a;border-radius:3px;height:6px;overflow:hidden}.goal-progress-fill{background:linear-gradient(90deg,#2a9d8f,#4ade80);border-radius:3px;height:100%;transition:width .3s}.stats-section h3{color:#fff;font-size:18px;margin:0 0 12px}.stats-grid{grid-gap:12px;gap:12px;grid-template-columns:repeat(2,1fr)}.stat-item{align-items:center;background:#ffffff14;border:1px solid #ffffff1a;border-radius:12px;display:flex;flex-direction:column;padding:16px}.stat-item .stat-value{color:#fff;font-size:28px;font-weight:700}.stat-item .stat-label{color:#fff9;font-size:12px;text-align:center}@media (prefers-color-scheme:light){.goals-page{background:#f8fafc}.loading-state{color:#1e293b}.streak-card{background:#fff;border:1px solid #e2e8f0}.streak-card.primary{background:#ff98001a;border-color:#ff980033}.streak-value{color:#1e293b}.streak-label{color:#94a3b8}.calendar-section h3{color:#1e293b}.day-cell{background:#f8fafc;border:1px solid #e2e8f0}.day-cell.today{background:#2a9d8f1a;border-color:#2a9d8f4d}.day-cell.completed{background:#2a9d8f1a;border-color:#2a9d8f33}.day-name{color:#94a3b8}.day-status{color:#059669}.weekly-goals-section h3{color:#1e293b}.goal-item{background:#fff;border:1px solid #e2e8f0}.goal-name{color:#1e293b}.goal-progress-text{color:#64748b}.goal-progress-bar{background:#e2e8f0}.stats-section h3{color:#1e293b}.stat-item{background:#fff;border:1px solid #e2e8f0}.stat-item .stat-value{color:#1e293b}.stat-item .stat-label{color:#94a3b8}}.rewards-page{background:linear-gradient(180deg,#1a1a2e,#16213e);min-height:100vh}.rewards-content{padding:16px}.summary-card{align-items:center;background:linear-gradient(135deg,#1a3a4a,#234555);border:1px solid #2a9d8f40;border-radius:16px;display:flex;gap:16px;padding:20px}.summary-icon{font-size:48px}.summary-info{display:flex;flex-direction:column}.summary-value{color:#fbbf24;font-size:36px;font-weight:700}.summary-label{color:#ffffffb3;font-size:14px}.tokens-section{margin-bottom:24px}.tokens-section h3{color:#fff;font-size:18px;margin:0 0 12px}.tokens-grid{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(2,1fr)}.token-card{align-items:center;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;display:flex;flex-direction:column;opacity:.6;padding:16px;text-align:center}.token-card.has-tokens{background:#ffd7001a;border-color:#ffd70033;opacity:1}.token-header{align-items:center;display:flex;gap:8px;margin-bottom:8px}.token-icon{font-size:28px}.token-count{color:#fbbf24;font-size:24px;font-weight:700}.token-name{color:#fff;font-size:14px;font-weight:600;margin-bottom:4px}.token-description{color:#ffffff80;font-size:11px;line-height:1.3}.token-legend-section{margin-bottom:24px}.token-legend-section h3{color:#fff;font-size:18px;margin:0 0 12px}.token-legend-grid{grid-gap:8px;display:grid;gap:8px;grid-template-columns:repeat(auto-fill,minmax(100px,1fr))}.legend-item{align-items:center;background:#ffffff0d;border-radius:8px;display:flex;gap:8px;padding:8px 12px}.legend-icon{font-size:20px}.legend-name{color:#fffc;font-size:12px}.earn-section{margin-bottom:24px}.earn-section h3{color:#fff;font-size:18px;margin:0 0 12px}.earn-accordion{display:flex;flex-direction:column;gap:8px}.accordion-item{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;overflow:hidden}.accordion-header{align-items:center;background:#0000;border:none;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:600;justify-content:space-between;padding:14px 16px;text-align:left;transition:background .2s;width:100%}.accordion-header:hover{background:#ffffff0d}.accordion-header.expanded{background:#2a9d8f26;border-bottom:1px solid #ffffff1a}.accordion-title{flex:1 1}.accordion-arrow{color:#ffffff80;font-size:10px;transition:transform .2s}.accordion-content{display:flex;flex-direction:column;gap:8px;padding:12px 16px}.rule-item{align-items:center;border-bottom:1px solid #ffffff0d;display:flex;gap:12px;padding:8px 0}.rule-item:last-child{border-bottom:none}.rule-icon{font-size:20px;text-align:center;width:28px}.rule-text{color:#fffc;font-size:13px}.rewards-footer{border-top:1px solid #ffffff1a;padding:20px 0;text-align:center}.rewards-footer p{color:#2a9d8f;font-size:14px;font-style:italic;margin:0}@media (prefers-color-scheme:light){.rewards-page{background:linear-gradient(180deg,#1a1a2e,#16213e)}}@media (max-width:480px){.token-legend-grid{grid-template-columns:repeat(2,1fr)}}.wins-page{background:linear-gradient(180deg,#1a1a2e,#16213e);min-height:100vh}.wins-content{padding:16px}.summary-section{margin-bottom:24px}.trophy-summary{align-items:center;background:linear-gradient(135deg,#ffd70033,#ff980026);border:1px solid #ffd7004d;border-radius:16px;display:flex;gap:16px;padding:24px}.trophy-icon-large{font-size:56px}.trophy-stats{display:flex;flex-direction:column}.trophy-count{color:#fbbf24;font-size:42px;font-weight:700}.trophy-label{color:#ffffffb3;font-size:14px}.empty-state{background:#ffffff0d;border:1px dashed #fff3;border-radius:16px;padding:48px 24px}.empty-icon{display:block;font-size:64px;margin-bottom:16px}.empty-state h3{font-size:20px}.empty-state p{color:#fff9;margin:0}.trophies-section{margin-bottom:24px}.trophy-category{margin-bottom:20px}.trophy-category h3{color:#fff;font-size:18px;margin:0 0 12px}.trophies-grid{display:flex;flex-direction:column;gap:10px}.trophy-card{align-items:center;background:#ffd7001a;border:1px solid #ffd70033;border-radius:12px;display:flex;gap:12px;padding:14px}.trophy-emoji{font-size:32px}.trophy-details{display:flex;flex:1 1;flex-direction:column;gap:2px}.trophy-name{color:#fff;font-size:15px;font-weight:600}.trophy-desc{color:#fff9;font-size:12px}.trophy-date{color:#fff6;font-size:11px}.available-section h3{color:#fff;font-size:18px;margin:0 0 12px}.available-list{display:flex;flex-direction:column;gap:10px}.available-item{align-items:center;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;display:flex;gap:12px;padding:14px}.available-item.locked{opacity:.6}.available-emoji{filter:grayscale(1);font-size:28px}.available-info{display:flex;flex:1 1;flex-direction:column;gap:2px}.available-name{color:#fff;font-size:14px;font-weight:600}.available-req{color:#ffffff80;font-size:12px}@media (prefers-color-scheme:light){.wins-page{background:#f8fafc}.loading-state{color:#1e293b}.trophy-summary{background:linear-gradient(135deg,#ffd70026,#ff98001a);border-color:#ffd70040}.trophy-count{color:#d97706}.trophy-label{color:#64748b}.empty-state{background:#f8fafc;border-color:#cbd5e1}.empty-state h3{color:#1e293b}.empty-state p{color:#64748b}.trophy-category h3{color:#1e293b}.trophy-card{background:#ffd7001a;border-color:#ffd70033}.trophy-name{color:#1e293b}.trophy-desc{color:#64748b}.trophy-date{color:#94a3b8}.available-section h3{color:#1e293b}.available-item{background:#f8fafc;border:1px solid #e2e8f0}.available-name{color:#1e293b}.available-req{color:#94a3b8}}.body-comp-page{background:linear-gradient(180deg,#1a1a2e,#16213e);min-height:100vh}.body-comp-page .loading-state{align-items:center;color:#94a3b8;display:flex;flex-direction:column;justify-content:center;min-height:60vh}.body-comp-page .loading-state .spin{animation:spin 1s linear infinite;color:#2a9d8f;margin-bottom:12px}.body-comp-page .header-actions{display:flex;gap:8px}.body-comp-page .add-btn,.body-comp-page .scan-btn{align-items:center;border:none;border-radius:8px;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:6px;padding:8px 12px;transition:transform .2s,opacity .2s}.body-comp-page .scan-btn{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff}.body-comp-page .scan-btn:disabled{cursor:not-allowed;opacity:.7}.body-comp-page .add-btn{background:#ffffff1a;color:#fff;padding:8px}.body-comp-page .add-btn:active,.body-comp-page .scan-btn:active{transform:scale(.95)}.body-comp-content{padding:16px}.date-timeline-container{margin-bottom:20px}.date-timeline{-ms-overflow-style:none;display:flex;gap:8px;overflow-x:auto;padding:8px 0;scrollbar-width:none}.date-timeline::-webkit-scrollbar{display:none}.date-item{align-items:center;background:#ffffff0d;border-radius:10px;cursor:pointer;display:flex;flex-direction:column;min-width:48px;padding:8px 6px;transition:all .2s}.date-item:hover{background:#ffffff1a}.date-item.has-data{background:#2a9d8f26;border:1px solid #2a9d8f4d}.date-item.selected{background:linear-gradient(135deg,#2a9d8f,#1a7a6e);transform:scale(1.05)}.date-item .date-day,.date-item .day-name{color:#fff9;font-size:10px;font-weight:500;text-transform:uppercase}.date-item.selected .date-day,.date-item.selected .day-name{color:#fff}.date-item .date-num,.date-item .day-num{color:#fff;font-size:18px;font-weight:700;margin:2px 0}.date-item .month{color:#ffffff80;font-size:9px;text-transform:uppercase}.date-item.selected .month{color:#fff}.date-item .data-dot{background:#2a9d8f;border-radius:50%;height:6px;margin-top:4px;width:6px}.date-item.selected .data-dot{background:#fff}.metrics-section{background:#0000;border-radius:14px;margin-bottom:16px}.metrics-section.partner{background:#0000}.section-header{align-items:center;background:linear-gradient(135deg,#1a3a4a,#2d4a5a);border:1px solid #2a9d8f4d;border-radius:12px;cursor:pointer;display:flex;justify-content:space-between;margin-bottom:12px;padding:14px 16px}.metrics-section.partner .section-header{background:linear-gradient(135deg,#2d2450,#3d3060);border-color:#8b5cf64d}.section-header:active{transform:scale(.99)}.section-header .header-summary{display:flex;flex-direction:column;gap:4px}.section-header h2{color:#fff;font-size:18px;font-weight:700;margin:0}.metrics-section.partner .section-header h2{color:#e0b0ff}.section-header .summary-text{color:#fff;font-size:16px;font-weight:600}.metrics-section.partner .section-header .summary-text{color:#ffffffd9}.section-header svg{color:#fff;flex-shrink:0;height:24px;width:24px}.no-data-text{color:#ffffff80;font-size:14px;padding:16px;text-align:center}.text-icon{background:#4dd4c433;border-radius:4px;color:#4dd4c4;font-size:11px;font-weight:700;padding:3px 6px}.metrics-section.partner .stat-card{background:linear-gradient(135deg,#2d2450,#3d3060);border-color:#8b5cf64d}.metrics-section.partner .stat-card .stat-icon svg{color:#c4b5fd}.metrics-section.partner .stat-card .stat-icon .text-icon{background:#c4b5fd33;color:#c4b5fd}.add-actions{display:flex;gap:10px;margin-top:4px}.add-actions .action-btn{align-items:center;background:#0000;border:2px dashed #fff3;border-radius:12px;color:#fffc;cursor:pointer;display:flex;flex:1 1;font-size:13px;font-weight:600;gap:8px;justify-content:center;padding:12px;transition:all .2s}.add-actions .action-btn:hover{background:#2a9d8f1a;border-color:#2a9d8f;color:#2a9d8f}.add-actions .action-btn svg{height:18px;width:18px}.current-stats h2,.history-section h2{color:#fff;font-size:18px;margin:0 0 16px}.stats-grid{grid-gap:10px;display:grid;gap:10px;grid-template-columns:repeat(3,1fr);margin-bottom:12px}.no-data-message{background:#ffffff08;border-radius:12px;color:#ffffff80;font-size:14px;margin-bottom:12px;padding:24px 16px;text-align:center}.no-data-message p{margin:0}.stat-card{align-items:center;background:linear-gradient(135deg,#1a3a4a,#234555);border:1px solid #2a9d8f40;border-radius:12px;display:flex;flex-direction:column;gap:4px;padding:12px 8px}.stat-card.primary{background:linear-gradient(135deg,#1a4a4a,#2a5555);border-color:#2a9d8f66}.stat-card .stat-icon{align-items:center;display:flex;justify-content:center;margin-bottom:2px}.stat-card .stat-icon svg{color:#4dd4c4;height:20px;width:20px}.stat-card .stat-icon .text-icon{background:#4dd4c433;border-radius:4px;color:#4dd4c4;font-size:11px;font-weight:700;padding:3px 6px}.stat-card .stat-info{align-items:center;display:flex;flex-direction:column}.stat-card .stat-value{color:#fff;font-size:20px;font-weight:700;line-height:1.2}.stat-card .stat-value small{color:#ffffffb3;font-size:12px;font-weight:500;margin-left:2px}.stat-card .stat-label{color:#fff9;font-size:10px;letter-spacing:.3px;text-align:center;text-transform:uppercase}.change-indicator{align-items:center;border-radius:8px;display:flex;font-size:10px;font-weight:600;gap:2px;margin-top:2px;padding:2px 6px}.change-indicator svg{height:10px;width:10px}.change-indicator.good{background:#22c55e33;color:#4ade80}.change-indicator.good svg{color:#4ade80}.change-indicator.bad{background:#ef444433;color:#f87171}.change-indicator.bad svg{color:#f87171}.change-indicator.neutral{background:#94a3b826;color:#94a3b8}.tape-section{border-top:1px solid #ffffff1a;margin-top:16px;padding-top:16px}.tape-section h4{color:#fffc;font-size:13px;font-weight:600;letter-spacing:.5px;margin:0 0 12px;text-transform:uppercase}.tape-grid{grid-gap:8px;display:grid;gap:8px;grid-template-columns:repeat(4,1fr);margin-bottom:12px}.tape-stat{align-items:center;background:linear-gradient(135deg,#1a3a4a,#234555);border:1px solid #2a9d8f33;border-radius:10px;display:flex;flex-direction:column;padding:8px 6px}.tape-stat .tape-label{color:#fff9;font-size:9px;letter-spacing:.3px;margin-bottom:2px;text-transform:uppercase}.tape-stat .tape-value{color:#fff;font-size:16px;font-weight:700}.tape-stat .tape-change{font-size:9px;font-weight:600;margin-top:2px}.tape-stat .tape-change.good{color:#4ade80}.tape-stat .tape-change.bad{color:#f87171}.add-data-buttons{display:flex;gap:10px;margin-top:16px}.add-scale-btn,.add-tape-btn{align-items:center;background:#0000;border:2px dashed #fff3;border-radius:12px;color:#ffffffb3;cursor:pointer;display:flex;flex:1 1;font-size:13px;font-weight:600;gap:6px;justify-content:center;padding:12px;transition:all .2s}.add-scale-btn:hover,.add-tape-btn:hover{background:#2a9d8f1a;border-color:#2a9d8f;color:#2a9d8f}.add-scale-btn svg,.add-tape-btn svg{height:18px;width:18px}.last-updated{color:#ffffff80;font-size:12px;margin-top:8px;text-align:center}.empty-state{align-items:center;color:#94a3b8;display:flex;flex-direction:column;padding:40px 20px;text-align:center}.empty-state svg{color:#ffffff4d;margin-bottom:16px}.empty-state h3{color:#fff;font-size:18px;margin:0 0 8px}.empty-state p{font-size:14px;margin-bottom:20px}.empty-state .cta-btn{align-items:center;background:linear-gradient(135deg,#2a9d8f,#1a7a6e);border:none;border-radius:12px;color:#fff;cursor:pointer;display:flex;font-size:15px;font-weight:600;gap:6px;padding:12px 24px}.history-section{margin-top:24px}.history-list{display:flex;flex-direction:column;gap:8px}.history-row{align-items:center;background:#ffffff0d;border-radius:10px;display:flex;font-size:14px;padding:12px 14px}.history-row .history-date{color:#ffffffb3;flex:1 1}.history-row .history-weight{color:#fff;font-weight:600;margin-right:16px}.history-row .history-bf{color:#2a9d8f;font-weight:500;margin-right:16px}.history-row .history-source{color:#fff6;font-size:12px;text-transform:capitalize}.modal-overlay{align-items:flex-start;background:#000c;bottom:0;display:flex;justify-content:center;left:0;overflow-y:auto;padding:40px 16px;position:fixed;right:0;top:0;z-index:1000}.modal-content{background:#1a1a2e;border-radius:16px;box-shadow:0 20px 60px #00000080;max-width:400px;padding:20px;width:100%}.modal-content.tape-modal{max-width:500px}.modal-content h2{color:#fff;font-size:18px;margin:0 0 20px;text-align:center}.form-grid{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(2,1fr)}.form-grid.three-col{grid-template-columns:repeat(3,1fr)}.form-group{display:flex;flex-direction:column;gap:6px}.form-group.full-width{grid-column:1/-1}.form-group label{color:#ffffffb3;font-size:12px;font-weight:500}.form-group input,.form-group textarea{background:#ffffff14;border:1px solid #ffffff26;border-radius:8px;color:#fff;font-size:14px;padding:10px 12px}.form-group textarea{font-family:inherit;min-height:60px;resize:vertical}.form-group input::placeholder,.form-group textarea::placeholder{color:#ffffff4d}.form-group input:focus,.form-group textarea:focus{border-color:#2a9d8f;outline:none}.form-section-title{color:#ffffff80;font-size:12px;grid-column:1/-1;letter-spacing:.5px;margin:16px 0 8px;text-transform:uppercase}.form-actions{display:flex;gap:10px;margin-top:20px}.form-actions .cancel-btn,.form-actions .save-btn{align-items:center;border:none;border-radius:10px;cursor:pointer;display:flex;flex:1 1;font-size:15px;font-weight:600;justify-content:center;padding:12px}.form-actions .cancel-btn{background:#ffffff1a;color:#fff}.form-actions .save-btn{background:linear-gradient(135deg,#2a9d8f,#1a7a6e);color:#fff}.form-actions .save-btn:disabled{cursor:not-allowed;opacity:.7}@media (max-width:400px){.form-grid{grid-template-columns:1fr}.form-grid.three-col,.stats-grid{grid-template-columns:repeat(2,1fr)}.stat-card{padding:10px 6px}.stat-card .stat-value{font-size:18px}.tape-grid{grid-template-columns:repeat(3,1fr)}.tape-stat{padding:6px 4px}.tape-stat .tape-value{font-size:14px}}@media (prefers-color-scheme:light){.body-comp-page{background:linear-gradient(180deg,#1a1a2e,#16213e)}}.food-scan-page{background:linear-gradient(180deg,#1a1a2e,#16213e);min-height:100vh;padding-bottom:20px}.food-scan-page .scan-content{padding:16px}.macros-page{background:linear-gradient(180deg,#1a1a2e,#16213e);min-height:100vh}.macros-content{padding:16px}.loading-state{align-items:center;color:#fff;display:flex;flex-direction:column;justify-content:center;min-height:60vh}.loading-spinner{animation:spin 1s linear infinite;border:3px solid #fff3;border-radius:50%;border-top-color:#2a9d8f;height:40px;margin-bottom:1rem;width:40px}.macros-summary h3{color:#fff;font-size:18px;margin:0 0 16px}.macros-grid{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(2,1fr)}.macro-card{background:#ffffff14;border:1px solid #ffffff1a;border-radius:12px;padding:16px}.macro-header{align-items:center;display:flex;gap:8px;margin-bottom:8px}.macro-icon{font-size:20px}.macro-name{color:#fff;font-size:14px;font-weight:600}.macro-values{align-items:baseline;display:flex;gap:4px;margin-bottom:8px}.macro-current{color:#fff;font-size:24px;font-weight:700}.macro-goal{color:#ffffff80;font-size:14px}.macro-progress{background:#ffffff26;border-radius:3px;height:6px;overflow:hidden}.macro-progress-fill{border-radius:3px;height:100%;transition:width .3s ease}.calorie-summary{align-items:center;background:#2a9d8f33;border:1px solid #2a9d8f4d;border-radius:12px;display:flex;justify-content:space-between;margin:20px 0;padding:16px}.calorie-label{color:#fffc;font-size:14px}.calorie-value{color:#4ade80;font-size:20px;font-weight:700}.meals-section{margin-top:24px}.meals-section h3{color:#fff;font-size:18px;margin:0 0 16px}.empty-meals{color:#fff9;padding:32px 16px;text-align:center}.empty-meals p{margin:0 0 16px}.log-btn{background:#2a9d8f;border:none;border-radius:24px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:12px 24px}.meals-list{display:flex;flex-direction:column;gap:12px}.meal-group{background:#ffffff14;border:1px solid #ffffff1a;border-radius:12px;padding:16px}.meal-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.meal-name{color:#fff;font-size:16px;font-weight:600}.meal-calories{color:#4ade80;font-size:14px;font-weight:600}.meal-macros{align-items:center;border-bottom:1px solid #ffffff1a;color:#fff9;display:flex;font-size:12px;gap:8px;margin-bottom:12px;padding-bottom:12px}.meal-macros .macro-sep{color:#ffffff4d}.macro-card.added-sugar,.macro-card.natural-sugar{position:relative}.sugar-free-badge{background:linear-gradient(135deg,#4ade80,#22c55e);border-radius:12px;color:#fff;font-size:10px;font-weight:700;padding:4px 8px;position:absolute;right:8px;top:8px}.meal-entries{display:flex;flex-direction:column;gap:8px}.meal-entry{align-items:center;display:flex;justify-content:space-between}.entry-name{color:#fffc;font-size:14px}.entry-cals{color:#ffffff80;font-size:13px}@media (prefers-color-scheme:light){.macros-page{background:linear-gradient(180deg,#1a1a2e,#16213e)}}:root{--color-primary:#e73c3e;--color-secondary:#508590;--color-dark:#3f2021;--color-light:#c3ad8b;--color-success:#6c8062;--color-background:#faf9f6;--color-white:#fff;--text-primary:#3f2021;--text-secondary:#666;--text-light:#faf9f6;--spacing-xs:0.25rem;--spacing-sm:0.5rem;--spacing-md:1rem;--spacing-lg:1.5rem;--spacing-xl:2rem;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--shadow-sm:0 1px 2px 0 #3f20210d;--shadow-md:0 4px 6px -1px #3f20211a;--shadow-lg:0 10px 15px -3px #3f20211a}body{background-color:#faf9f6;background-color:var(--color-background);font-family:Open Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;line-height:1.6}body,h1,h2,h3,h4,h5,h6{color:#3f2021;color:var(--text-primary)}h1,h2,h3,h4,h5,h6{font-weight:600;line-height:1.2;margin-bottom:1rem;margin-bottom:var(--spacing-md)}h1{font-size:2.25rem}h2{font-size:1.875rem}h3{font-size:1.5rem}h4{font-size:1.25rem}p{margin-bottom:1rem;margin-bottom:var(--spacing-md)}.btn{align-items:center;border:none;border-radius:6px;border-radius:var(--radius-md);cursor:pointer;display:inline-flex;font-size:.875rem;font-weight:600;gap:.5rem;justify-content:center;padding:10px 20px;text-decoration:none;transition:all .2s ease-in-out}.btn-primary{background-color:#e73c3e;background-color:var(--color-primary);color:#fff}.btn-primary:hover:not(:disabled){background-color:#d02c2e;box-shadow:0 4px 6px -1px #3f20211a;box-shadow:var(--shadow-md);transform:translateY(-1px)}.btn-secondary{background-color:#508590;background-color:var(--color-secondary);color:#fff}.btn-secondary:hover:not(:disabled){background-color:#457580;box-shadow:0 4px 6px -1px #3f20211a;box-shadow:var(--shadow-md);transform:translateY(-1px)}.btn-tertiary{background-color:initial;border:2px solid #6c8062;border:2px solid var(--color-success);color:#6c8062;color:var(--color-success)}.btn-tertiary:hover:not(:disabled){background-color:#6c8062;background-color:var(--color-success);color:#fff}.btn:disabled{cursor:not-allowed;opacity:.5}.card{background:#fff;border:1px solid #c3ad8b;border:1px solid var(--color-light);border-radius:8px;border-radius:var(--radius-lg);box-shadow:0 1px 2px 0 #3f20210d;box-shadow:var(--shadow-sm);padding:1.5rem;padding:var(--spacing-lg);transition:box-shadow .2s ease-in-out}.card:hover{box-shadow:0 4px 6px -1px #3f20211a;box-shadow:var(--shadow-md)}.card-header{border-bottom:2px solid #c3ad8b;border-bottom:2px solid var(--color-light);color:#3f2021;color:var(--text-primary);font-size:1.25rem;font-weight:600;margin-bottom:1rem;margin-bottom:var(--spacing-md);padding-bottom:.5rem;padding-bottom:var(--spacing-sm)}.form-group{margin-bottom:1.5rem;margin-bottom:var(--spacing-lg)}.form-label{color:#3f2021;color:var(--text-primary);display:block;font-size:.875rem;font-weight:600;margin-bottom:.5rem;margin-bottom:var(--spacing-sm)}.form-label.required:after{color:#e73c3e;color:var(--color-primary);content:" *"}.form-input,.form-select,.form-textarea{border:1px solid #c3ad8b;border:1px solid var(--color-light);border-radius:6px;border-radius:var(--radius-md);color:#3f2021;color:var(--text-primary);font-family:inherit;font-size:.875rem;padding:10px 12px;transition:all .2s ease-in-out;width:100%}.form-input:focus,.form-select:focus,.form-textarea:focus{border-color:#e73c3e;border-color:var(--color-primary);box-shadow:0 0 0 3px #e73c3e1a;outline:none}.form-input.error,.form-select.error,.form-textarea.error{border-color:#e73c3e;border-color:var(--color-primary)}.form-error{color:#e73c3e;color:var(--color-primary)}.form-error,.form-helper{font-size:.75rem;margin-top:.25rem;margin-top:var(--spacing-xs)}.form-helper{color:#666;color:var(--text-secondary)}.badge{align-items:center;border-radius:4px;border-radius:var(--radius-sm);display:inline-flex;font-size:.75rem;font-weight:600;letter-spacing:.5px;padding:.25rem .75rem;text-transform:uppercase}.badge-pending{background-color:#c3ad8b;background-color:var(--color-light);color:#3f2021;color:var(--text-primary)}.badge-active{background-color:#508590;background-color:var(--color-secondary);color:#fff}.badge-completed{background-color:#6c8062;background-color:var(--color-success);color:#fff}.badge-warning{background-color:#e73c3e;background-color:var(--color-primary);color:#fff}.spinner{animation:spin .8s linear infinite;border:3px solid #ffffff4d;border-radius:50%;border-top-color:#fff;display:inline-block;height:20px;width:20px}@keyframes spin{to{transform:rotate(1turn)}}.toast{animation:slideIn .3s ease-out;background:#fff;border-left:4px solid #6c8062;border-left:4px solid var(--color-success);border-radius:8px;border-radius:var(--radius-lg);box-shadow:0 10px 15px -3px #3f20211a;box-shadow:var(--shadow-lg);padding:1.5rem;padding:var(--spacing-lg);position:fixed;right:20px;top:20px;z-index:9999}.toast.error{border-left-color:#e73c3e;border-left-color:var(--color-primary)}@keyframes slideIn{0%{opacity:0;transform:translateX(100%)}to{opacity:1;transform:translateX(0)}}.text-primary{color:#e73c3e;color:var(--color-primary)}.text-secondary{color:#666;color:var(--text-secondary)}.text-success{color:#6c8062;color:var(--color-success)}.text-center{text-align:center}.text-right{text-align:right}.mb-sm{margin-bottom:.5rem;margin-bottom:var(--spacing-sm)}.mb-md{margin-bottom:1rem;margin-bottom:var(--spacing-md)}.mb-lg{margin-bottom:1.5rem;margin-bottom:var(--spacing-lg)}.mt-sm{margin-top:.5rem;margin-top:var(--spacing-sm)}.mt-md{margin-top:1rem;margin-top:var(--spacing-md)}.mt-lg{margin-top:1.5rem;margin-top:var(--spacing-lg)}.flex{display:flex}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-sm{gap:.5rem;gap:var(--spacing-sm)}.gap-md{gap:1rem;gap:var(--spacing-md)}.gap-lg{gap:1.5rem;gap:var(--spacing-lg)}.w-full{width:100%}.h-full{height:100%}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar-track{background:#faf9f6;background:var(--color-background)}::-webkit-scrollbar-thumb{background:#c3ad8b;background:var(--color-light);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#508590;background:var(--color-secondary)}@media (max-width:768px){.form-input,.form-select,.form-textarea,input[type=date],input[type=datetime-local],input[type=email],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],select,textarea{font-size:16px!important;min-height:44px}.btn,[role=button],a.btn,button{min-height:44px;min-width:44px}h1{font-size:1.75rem}h2{font-size:1.5rem}h3{font-size:1.25rem}h4{font-size:1.125rem}.toast{bottom:20px;left:10px;max-width:calc(100vw - 20px);right:10px;top:auto}.card{padding:1rem;padding:var(--spacing-md)}}@media (max-width:480px){h1{font-size:1.5rem}h2{font-size:1.25rem}h3{font-size:1.125rem}.btn{padding:10px 16px}.form-group{margin-bottom:1rem;margin-bottom:var(--spacing-md)}}@supports (padding:max(0px)){.modal-content,.page-container,.toast{padding-left:max(1rem,env(safe-area-inset-left));padding-left:max(var(--spacing-md),env(safe-area-inset-left));padding-right:max(1rem,env(safe-area-inset-right));padding-right:max(var(--spacing-md),env(safe-area-inset-right))}}.table-scroll-container{-webkit-overflow-scrolling:touch;margin:0 -1rem;margin:0 calc(var(--spacing-md)*-1);overflow-x:auto;padding:0 1rem;padding:0 var(--spacing-md)}.scroll-hidden::-webkit-scrollbar{display:none}.scroll-hidden{-ms-overflow-style:none;scrollbar-width:none}*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.App{min-height:100vh}.App:has(.dashboard-page){background-color:#f5f0e8}
/*# sourceMappingURL=main.21eb6c12.css.map*/