.modal-overlay{-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.modal-content{transform:translateZ(0);-webkit-transform:translate3d(0,0,0);-webkit-tap-highlight-color:transparent}input[type=date],input[type=time],input[type=datetime-local]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:12px;font-size:16px;border-radius:8px;border:1px solid #ddd;background-color:#fff;width:100%}input[type=number]{-webkit-appearance:none;-moz-appearance:textfield;appearance:none;font-size:16px}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=text],input[type=email],input[type=tel],input[type=search],textarea,select{font-size:16px;-webkit-appearance:none;-moz-appearance:none;appearance:none}button{-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation}select{background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .7rem center;background-size:1.2em;padding-right:2.5rem}button,.btn,[role=button]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.navbar,.fixed-header{position:-webkit-sticky;position:sticky;top:0;z-index:100}@supports (padding: max(0px)){.modal-content{padding-bottom:max(1rem,env(safe-area-inset-bottom))}.navbar{padding-top:max(.5rem,env(safe-area-inset-top))}}body.modal-open{position:fixed;width:100%;overflow:hidden;-webkit-overflow-scrolling:auto}.news-container{-webkit-overflow-scrolling:touch;overflow-y:auto}.articles-grid{-webkit-overflow-scrolling:touch}.loading{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}.expense-form{-webkit-backface-visibility:hidden;backface-visibility:hidden}.expense-form input,.expense-form select{-webkit-user-select:text;user-select:text;-webkit-touch-callout:none}.expense-modal input,.expense-modal select,.expense-modal textarea{font-size:16px!important}.submit-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;touch-action:manipulation}.form-buttons{position:relative;z-index:10}:root{--color-primary: #007bff;--color-primary-hover: #0056b3;--color-primary-light: rgba(0, 123, 255, .1);--color-success: #28a745;--color-success-hover: #218838;--color-success-light: rgba(40, 167, 69, .1);--color-danger: #dc3545;--color-danger-hover: #c82333;--color-danger-light: rgba(220, 53, 69, .1);--color-warning: #ffc107;--color-warning-hover: #e0a800;--color-secondary: #6c757d;--color-secondary-hover: #5a6268;--color-text-primary: #2c3e50;--color-text-secondary: #6c757d;--color-text-muted: #999;--color-border: #dee2e6;--color-border-light: #e9ecef;--color-bg-light: #f8f9fa;--color-bg-white: #ffffff}.btn-primary{background:var(--color-primary);color:#fff;border:none;padding:12px 20px;border-radius:8px;cursor:pointer;font-weight:600;font-size:16px;transition:all .2s ease;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:.5rem}.btn-primary:hover{background:var(--color-primary-hover);transform:translateY(-1px);box-shadow:0 4px 12px #007bff4d}.btn-primary:active{transform:translateY(0)}.btn-success{background:var(--color-success);color:#fff;border:none;padding:12px 20px;border-radius:8px;cursor:pointer;font-weight:600;font-size:16px;transition:all .2s ease;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:.5rem}.btn-success:hover{background:var(--color-success-hover);transform:translateY(-1px);box-shadow:0 4px 12px #28a7454d}.btn-danger{background:var(--color-danger);color:#fff;border:none;padding:12px 20px;border-radius:8px;cursor:pointer;font-weight:600;font-size:16px;transition:all .2s ease;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:.5rem}.btn-danger:hover{background:var(--color-danger-hover);transform:translateY(-1px);box-shadow:0 4px 12px #dc35454d}.btn-secondary{background:var(--color-secondary);color:#fff;border:none;padding:12px 20px;border-radius:8px;cursor:pointer;font-weight:600;font-size:16px;transition:all .2s ease;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:.5rem}.btn-secondary:hover{background:var(--color-secondary-hover)}.btn-sm{padding:6px 12px;font-size:13px;min-height:36px;border-radius:4px}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px;color:var(--color-text-secondary)}.loading-spinner{width:24px;height:24px;border:3px solid var(--color-border);border-top-color:var(--color-primary);border-radius:50%;animation:spin .8s linear infinite;margin-bottom:12px}.loading-spinner-sm{width:16px;height:16px;border-width:2px}.loading-spinner-lg{width:40px;height:40px;border-width:4px}.loading-text{font-size:16px;color:var(--color-text-secondary)}.btn-loading{position:relative;pointer-events:none;opacity:.7}.btn-loading:after{content:"";position:absolute;width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite;margin-left:8px}.empty-state{text-align:center;padding:40px 20px;color:var(--color-text-muted)}.empty-state-icon{font-size:48px;margin-bottom:16px;opacity:.5}.empty-state-title{font-size:18px;font-weight:600;color:var(--color-text-secondary);margin-bottom:8px}.empty-state-description{font-size:14px;color:var(--color-text-muted);margin-bottom:20px;font-style:italic}.empty-state-action{margin-top:16px}.form-group{margin-bottom:1rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:600;color:var(--color-text-primary);font-size:14px}.form-group input,.form-group select,.form-group textarea{width:100%;padding:12px;border:1px solid var(--color-border);border-radius:8px;font-size:16px;transition:border-color .2s,box-shadow .2s;min-height:44px}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-light)}.form-group.has-error input,.form-group.has-error select,.form-group.has-error textarea,.input-error{border-color:var(--color-danger);box-shadow:0 0 0 3px var(--color-danger-light)}.form-error{color:var(--color-danger);font-size:12px;margin-top:4px;display:flex;align-items:center;gap:4px}.form-error:before{content:"!";display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;background:var(--color-danger);color:#fff;border-radius:50%;font-size:10px;font-weight:700}.form-group.has-success input,.form-group.has-success select{border-color:var(--color-success);box-shadow:0 0 0 3px var(--color-success-light)}.scroll-indicator{position:relative}.scroll-indicator:before,.scroll-indicator:after{content:"";position:absolute;top:0;bottom:0;width:24px;pointer-events:none;opacity:0;transition:opacity .2s;z-index:10}.scroll-indicator:before{left:0;background:linear-gradient(to right,rgba(44,62,80,.9),transparent)}.scroll-indicator:after{right:0;background:linear-gradient(to left,rgba(44,62,80,.9),transparent)}.scroll-indicator.can-scroll-left:before{opacity:1}.scroll-indicator.can-scroll-right:after{opacity:1}.reorder-buttons{display:none;flex-direction:column;gap:2px}.reorder-btn{background:var(--color-bg-light);border:1px solid var(--color-border);border-radius:4px;padding:4px 8px;cursor:pointer;font-size:12px;min-height:28px;min-width:28px;display:flex;align-items:center;justify-content:center;transition:all .2s}.reorder-btn:hover{background:var(--color-primary-light);border-color:var(--color-primary)}.reorder-btn:disabled{opacity:.3;cursor:not-allowed}@media (max-width: 768px){.reorder-buttons{display:flex}.drag-handle{display:none}}.toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%);background:var(--color-text-primary);color:#fff;padding:12px 24px;border-radius:8px;box-shadow:0 4px 12px #00000026;z-index:9999;animation:toastSlideIn .3s ease}.toast-success{background:var(--color-success)}.toast-error{background:var(--color-danger)}@keyframes toastSlideIn{0%{transform:translate(-50%) translateY(100%);opacity:0}to{transform:translate(-50%) translateY(0);opacity:1}}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f5f5f5;color:#333}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}h1,h2,h3,h4,h5,h6{margin-bottom:1rem}button{cursor:pointer;border:none;border-radius:4px;padding:.5rem 1rem;font-size:1rem;transition:all .3s ease}button:hover{opacity:.9}input,select,textarea{width:100%;padding:.5rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;font-family:inherit}input:focus,select:focus,textarea:focus{outline:none;border-color:#007bff}.navbar{background-color:#2c3e50;color:#fff;padding:1rem 0;box-shadow:0 2px 4px #0000001a;position:relative}.nav-container{max-width:1200px;margin:0 auto;padding:0 2rem;display:flex;flex-direction:column;align-items:center;text-align:center}.nav-user{position:absolute;top:.5rem;right:1rem;display:flex;align-items:center;gap:.5rem}.nav-user-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover}.nav-logout-btn{background:#ffffff1a;border:1px solid rgba(255,255,255,.3);color:#fff;padding:.25rem .5rem;border-radius:4px;font-size:.75rem;cursor:pointer;transition:background .2s}.nav-logout-btn:hover{background:#fff3}.nav-title{font-size:1.75rem;margin:0;margin-bottom:1rem}.nav-subtitle{font-size:1rem;opacity:.9;font-weight:400;margin-bottom:1rem}.nav-links{display:flex;list-style:none;gap:2rem;margin:0;padding:0}.nav-links li{display:flex;flex-shrink:0}.nav-links a{color:#fff;text-decoration:none;padding:.5rem 1rem;border-radius:4px;transition:background-color .3s ease;font-size:1rem;white-space:nowrap;display:inline-block}.nav-links a:hover{background-color:#ffffff1a}.nav-links a.active{background-color:#3498db}@media (max-width: 768px){.navbar{padding:.75rem 0}.nav-container{padding:0 1rem}.nav-title{font-size:1.1rem;margin-bottom:1.25rem;line-height:1.2}.nav-user{top:.25rem;right:.5rem}.nav-user-avatar{width:24px;height:24px}.nav-logout-btn{padding:.2rem .4rem;font-size:.7rem}.nav-subtitle{font-size:.9rem}.nav-links{gap:.75rem;width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none;flex-wrap:nowrap;justify-content:flex-start;padding:0 .5rem;margin:0 -.5rem;align-items:center;min-height:44px}.nav-links li{display:flex;flex-shrink:0;align-items:center}.nav-links::-webkit-scrollbar{display:none}.nav-links a{padding:.75rem 1rem;font-size:.875rem;min-height:44px;min-width:44px;display:flex;align-items:center;justify-content:center;border-radius:8px;flex-shrink:0;text-align:center;white-space:nowrap;-webkit-tap-highlight-color:rgba(0,0,0,.1);box-sizing:border-box;line-height:1}.nav-links a.active{background-color:#3498db;font-weight:600}}@media (max-width: 480px){.nav-container{padding:0 .5rem}.nav-title{font-size:1rem;margin-bottom:1rem}.nav-links{gap:.5rem;padding:0 .25rem;margin:0 -.25rem}.nav-links a{padding:.5rem .75rem;font-size:.875rem;line-height:1;min-height:44px;min-width:60px}}@media (max-width: 414px){.nav-links a{font-size:.875rem;padding:.6rem .5rem;min-height:44px;min-width:55px}}@media (max-width: 375px){.nav-title{font-size:.95rem}.nav-links{gap:.375rem;padding:0 .125rem;margin:0 -.125rem}.nav-links a{font-size:.875rem;padding:.5rem .4rem;min-height:44px;min-width:50px}}@media (max-width: 768px){.nav-links:after{content:"";flex-shrink:0;width:1px;height:1px}.nav-container{position:relative}.nav-container:after{content:"";position:absolute;right:0;top:50%;transform:translateY(-50%);height:100%;width:20px;background:linear-gradient(to right,transparent,rgba(44,62,80,.7));pointer-events:none;z-index:1}}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:1rem}.login-card{background:#fff;border-radius:16px;padding:2.5rem;box-shadow:0 10px 40px #0003;max-width:400px;width:100%;text-align:center}.login-card h1{margin:0 0 .5rem;color:#333;font-size:1.75rem;font-weight:700}.login-subtitle{color:#666;margin:0 0 2rem;font-size:1rem}.login-error{background:#fee2e2;color:#dc2626;padding:.75rem 1rem;border-radius:8px;margin-bottom:1.5rem;font-size:.9rem}.google-login-wrapper{display:flex;justify-content:center}.config-error{color:#666;margin-bottom:1rem}.config-list{text-align:left;background:#f3f4f6;padding:1rem 1rem 1rem 2rem;border-radius:8px;margin:0}.config-list li{margin-bottom:.5rem;color:#374151}.config-list li:last-child{margin-bottom:0}.config-list code{background:#e5e7eb;padding:.125rem .375rem;border-radius:4px;font-family:monospace;font-size:.85rem}@media (max-width: 480px){.login-container{padding:.5rem}.login-card{padding:1.5rem;border-radius:12px}.login-card h1{font-size:1.5rem}.login-subtitle{margin-bottom:1.5rem}}.error-boundary{min-height:400px;display:flex;align-items:center;justify-content:center;padding:2rem;background:#f8f9fa;border-radius:8px;margin:1rem}.error-boundary-content{max-width:500px;text-align:center;background:#fff;padding:2rem;border-radius:12px;box-shadow:0 4px 12px #0000001a}.error-icon{font-size:3rem;margin-bottom:1rem}.error-title{color:#dc3545;margin:0 0 1rem;font-size:1.5rem;font-weight:600}.error-message{color:#6c757d;margin-bottom:2rem;line-height:1.5;font-size:1rem}.error-actions{display:flex;gap:1rem;justify-content:center;margin-bottom:1rem}.btn-retry,.btn-reload{padding:.75rem 1.5rem;border:none;border-radius:8px;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s ease;min-height:44px;min-width:44px}.btn-retry{background:#007bff;color:#fff}.btn-retry:hover:not(:disabled){background:#0056b3;transform:translateY(-1px)}.btn-retry:disabled{background:#6c757d;cursor:not-allowed;opacity:.6}.btn-reload{background:#28a745;color:#fff}.btn-reload:hover{background:#218838;transform:translateY(-1px)}.btn-retry:active,.btn-reload:active{transform:translateY(0)}.retry-info{font-size:.875rem;color:#6c757d;margin:0;font-style:italic}.error-details{margin:1.5rem 0;text-align:left;background:#f8f9fa;border-radius:6px;padding:1rem}.error-details summary{cursor:pointer;font-weight:600;margin-bottom:1rem;color:#495057;-webkit-user-select:none;user-select:none}.error-details summary:hover{color:#007bff}.error-stack{font-size:.8rem;line-height:1.4}.error-stack strong{display:block;margin:1rem 0 .5rem;color:#495057}.error-stack pre{background:#fff;border:1px solid #dee2e6;border-radius:4px;padding:.75rem;margin:0;white-space:pre-wrap;overflow-x:auto;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.75rem;color:#dc3545}@media (max-width: 768px){.error-boundary{padding:1rem;margin:.5rem}.error-boundary-content{padding:1.5rem;max-width:100%}.error-icon{font-size:2.5rem}.error-title{font-size:1.25rem}.error-message{font-size:.9rem}.error-actions{flex-direction:column;gap:.75rem}.btn-retry,.btn-reload{width:100%;padding:1rem}.error-details{padding:.75rem}.error-stack pre{font-size:.7rem;padding:.5rem}}@media (max-width: 480px){.error-boundary{padding:.5rem;margin:0}.error-boundary-content{padding:1rem}.error-icon{font-size:2rem}.error-title{font-size:1.1rem}.error-message{font-size:.85rem;margin-bottom:1.5rem}}.error-boundary.loading{opacity:.7}.error-boundary.loading .error-boundary-content{pointer-events:none}@media (prefers-reduced-motion: reduce){.btn-retry:hover,.btn-reload:hover,.btn-retry:active,.btn-reload:active{transform:none}}@media (prefers-contrast: high){.error-boundary-content{border:2px solid #000}.btn-retry,.btn-reload{border:1px solid #000}}.toast-container{position:fixed;top:20px;right:20px;z-index:9999;display:flex;flex-direction:column;gap:.75rem;max-width:400px;pointer-events:none}.toast{display:flex;align-items:center;justify-content:space-between;padding:1rem;background:#fff;border-radius:8px;box-shadow:0 4px 12px #00000026;border-left:4px solid #007bff;transform:translate(100%);animation:slideIn .3s ease-out forwards;pointer-events:auto;min-height:44px}.toast-exit{animation:slideOut .3s ease-out forwards}@keyframes slideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes slideOut{0%{transform:translate(0);opacity:1}to{transform:translate(100%);opacity:0}}.toast-content{display:flex;align-items:center;gap:.75rem;flex:1;min-width:0}.toast-icon{font-size:1.2rem;flex-shrink:0}.toast-message{font-size:.9rem;line-height:1.4;color:#333;word-break:break-word}.toast-close{background:none;border:none;font-size:1.5rem;color:#6c757d;cursor:pointer;padding:0;margin-left:.5rem;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s ease;flex-shrink:0}.toast-close:hover{background:#0000001a;color:#333}.toast-close:active{transform:scale(.9)}.toast-success{border-left-color:#28a745;background:#f8fff9}.toast-error{border-left-color:#dc3545;background:#fff8f8}.toast-warning{border-left-color:#ffc107;background:#fffef8}.toast-info{border-left-color:#17a2b8;background:#f8fdff}@media (max-width: 768px){.toast-container{top:10px;right:10px;left:10px;max-width:none}.toast{padding:.875rem;border-radius:6px}.toast-message{font-size:.875rem}.toast-close{width:32px;height:32px;font-size:1.25rem}}@media (max-width: 480px){.toast-container{top:5px;right:5px;left:5px}.toast{padding:.75rem}.toast-content{gap:.5rem}.toast-message{font-size:.8rem}}@supports (padding: max(0px)){.toast-container{top:max(env(safe-area-inset-top),20px);right:max(env(safe-area-inset-right),20px)}@media (max-width: 768px){.toast-container{top:max(env(safe-area-inset-top),10px);right:max(env(safe-area-inset-right),10px);left:max(env(safe-area-inset-left),10px)}}}@media (prefers-reduced-motion: reduce){.toast{animation:none;transform:translate(0)}.toast-exit{animation:none;opacity:0}.toast-close:active{transform:none}}@media (prefers-contrast: high){.toast{border:1px solid #000;box-shadow:0 2px 8px #0000004d}.toast-close{border:1px solid #000}}.toast-close:focus{outline:2px solid #007bff;outline-offset:2px}.toast:nth-child(n+4){opacity:.7;transform:scale(.95) translateY(-10px)}.toast:nth-child(n+6){display:none}.toast-progress{position:absolute;bottom:0;left:0;height:3px;background:#0003;border-radius:0 0 8px 8px;animation:progress 5s linear forwards}@keyframes progress{0%{width:100%}to{width:0%}}.toast-success .toast-progress{background:#28a745}.toast-error .toast-progress{background:#dc3545}.toast-warning .toast-progress{background:#ffc107}.toast-info .toast-progress{background:#17a2b8}:root{--breakpoint-xs: 375px;--breakpoint-sm: 414px;--breakpoint-md: 768px;--breakpoint-lg: 1024px;--touch-target-min: 44px;--touch-target-comfortable: 48px;--safe-area-inset-top: env(safe-area-inset-top);--safe-area-inset-right: env(safe-area-inset-right);--safe-area-inset-bottom: env(safe-area-inset-bottom);--safe-area-inset-left: env(safe-area-inset-left);--font-size-xs: .875rem;--font-size-sm: 1rem;--font-size-md: 1.125rem;--font-size-lg: 1.25rem}.touch-target{min-height:var(--touch-target-min);min-width:var(--touch-target-min)}.touch-target-comfortable{min-height:var(--touch-target-comfortable);min-width:var(--touch-target-comfortable)}.btn-mobile{min-height:var(--touch-target-min);min-width:var(--touch-target-min);padding:.75rem 1rem;font-size:var(--font-size-xs);border-radius:8px;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;-webkit-tap-highlight-color:rgba(0,0,0,.1);transition:all .2s ease}.btn-mobile:active{transform:scale(.98)}.input-mobile{font-size:16px;padding:.75rem;border-radius:8px;border:1px solid #ced4da;min-height:var(--touch-target-min);box-sizing:border-box}.input-mobile:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 .2rem #007bff40}.card-mobile{border-radius:12px;padding:1rem;margin-bottom:1rem;box-shadow:0 2px 8px #0000001a;background:#fff;transition:transform .2s ease,box-shadow .2s ease}.card-mobile:active{transform:scale(.99);box-shadow:0 1px 4px #00000026}.safe-area-container{padding-top:var(--safe-area-inset-top);padding-right:var(--safe-area-inset-right);padding-bottom:var(--safe-area-inset-bottom);padding-left:var(--safe-area-inset-left)}.fixed-header{position:fixed;top:0;left:0;right:0;padding-top:var(--safe-area-inset-top);z-index:1000}.fixed-footer{position:fixed;bottom:0;left:0;right:0;padding-bottom:var(--safe-area-inset-bottom);z-index:1000}.grid-mobile{display:grid;gap:1rem;padding:1rem}@media (max-width: 480px){.grid-mobile{grid-template-columns:1fr;gap:.75rem;padding:.75rem}}@media (min-width: 481px) and (max-width: 768px){.grid-mobile{grid-template-columns:repeat(2,1fr)}}@media (min-width: 769px){.grid-mobile{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}}.modal-mobile{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:var(--safe-area-inset-top) var(--safe-area-inset-right) var(--safe-area-inset-bottom) var(--safe-area-inset-left)}.modal-content-mobile{background:#fff;border-radius:12px;max-width:90vw;max-height:90vh;overflow-y:auto;-webkit-overflow-scrolling:touch}@media (max-width: 480px){.modal-content-mobile{max-width:95vw;max-height:95vh;border-radius:12px 12px 0 0;margin-top:auto}}.text-mobile-xs{font-size:var(--font-size-xs)}.text-mobile-sm{font-size:var(--font-size-sm)}.text-mobile-md{font-size:var(--font-size-md)}.text-mobile-lg{font-size:var(--font-size-lg)}.hide-mobile{display:block}.show-mobile{display:none}@media (max-width: 768px){.hide-mobile{display:none}.show-mobile{display:block}}.scroll-snap-x{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}.scroll-snap-x>*{scroll-snap-align:start;flex-shrink:0}.form-mobile .form-group{margin-bottom:1rem}.form-mobile label{display:block;margin-bottom:.5rem;font-weight:600;font-size:var(--font-size-sm)}.form-mobile input,.form-mobile select,.form-mobile textarea{width:100%;font-size:16px;padding:.75rem;border-radius:8px;border:1px solid #ced4da;box-sizing:border-box}.loading-mobile{display:flex;align-items:center;justify-content:center;padding:2rem;font-size:var(--font-size-sm);color:#6c757d}.loading-spinner{width:20px;height:20px;border:2px solid #f3f3f3;border-top:2px solid #007bff;border-radius:50%;animation:spin 1s linear infinite;margin-right:.5rem}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.will-change-transform{will-change:transform}.will-change-scroll{will-change:scroll-position}.no-select{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none}.fast-tap{touch-action:manipulation}*{box-sizing:border-box}body{margin:0;padding:0;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;touch-action:manipulation;-webkit-text-size-adjust:none;text-rendering:optimizeLegibility}.App{min-height:100vh;display:flex;flex-direction:column;overflow-x:hidden}.db-banner{background:#fff3cd;color:#856404;border:1px solid #ffeeba;border-left:none;border-right:none;padding:.5rem 1rem;display:flex;justify-content:center;align-items:center;gap:.75rem;font-size:.9rem}.db-banner .db-banner-close,.db-banner-close{margin-left:.5rem;background:transparent;border:none;color:inherit;cursor:pointer;font-size:1rem}main{flex:1;max-width:1200px;margin:0 auto;padding:1rem;width:100%}@media (max-width: 768px){main{padding:.5rem}}@media (max-width: 480px){main{padding:.25rem}}@supports (padding: max(0px)){.App{padding-top:env(safe-area-inset-top);padding-left:max(env(safe-area-inset-left),0px);padding-right:max(env(safe-area-inset-right),0px);padding-bottom:env(safe-area-inset-bottom)}main{padding-bottom:max(env(safe-area-inset-bottom),1rem)}.navbar{padding-top:max(1rem,env(safe-area-inset-top))}}button,.clickable{min-height:44px;min-width:44px}.scrollable{-webkit-overflow-scrolling:touch}.credit-benefits{max-width:800px;margin:0 auto;padding:1rem}.credit-benefits h1{text-align:center;color:#333;margin-bottom:2rem}.template-section,.tracking-section,.yearly-section{background:#fff;border-radius:12px;padding:1.5rem;margin-bottom:2rem;box-shadow:0 2px 8px #0000001a}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.section-header h2{margin:0;color:#333}.edit-toggle-btn{background:#007bff;color:#fff;border:none;border-radius:8px;padding:.5rem 1rem;cursor:pointer;font-size:.9rem;transition:background-color .2s}.edit-toggle-btn:hover{background:#0056b3}.add-benefit-form{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem;padding:1rem;background:#f8f9fa;border-radius:8px}.add-benefit-form input{padding:.75rem;border:1px solid #ddd;border-radius:6px;font-size:1rem}.add-benefit-form button{background:#28a745;color:#fff;border:none;border-radius:6px;padding:.75rem;cursor:pointer;font-size:1rem;transition:background-color .2s}.add-benefit-form button:hover{background:#218838}.benefits-template{display:flex;flex-direction:column;gap:.75rem}.benefit-item{border:1px solid #e9ecef;border-radius:8px;padding:1rem;background:#fafafa}.benefit-display{display:flex;justify-content:space-between;align-items:flex-start}.benefit-name{font-weight:600;color:#333;margin-bottom:.25rem}.benefit-description{font-size:.9rem;color:#666;display:none;margin-top:.25rem;transition:opacity .2s ease-in-out;line-height:1.4;padding-top:.25rem;border-top:1px solid #e0e0e0;font-style:italic}@media (min-width: 769px){.benefit-item:hover .benefit-description,.yearly-benefit:hover .benefit-description,.monthly-benefit:hover .benefit-description{display:block;animation:fadeIn .2s ease-in-out}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@media (max-width: 768px){.benefit-description{display:none!important}}.benefit-actions{display:flex;gap:.5rem;flex-shrink:0}.benefit-actions button{background:transparent;border:1px solid #ddd;border-radius:4px;padding:.25rem .5rem;cursor:pointer;font-size:.8rem;transition:all .2s}.benefit-actions button:first-child:hover{background:#007bff;color:#fff;border-color:#007bff}.benefit-actions button:last-child:hover{background:#dc3545;color:#fff;border-color:#dc3545}.benefit-edit{display:flex;flex-direction:column;gap:.5rem}.benefit-edit input{padding:.5rem;border:1px solid #ddd;border-radius:4px;font-size:1rem}.month-selector,.year-selector{display:flex;justify-content:center;align-items:center;gap:1rem;margin-bottom:1rem}.month-selector button,.year-selector button{background:#007bff;color:#fff;border:none;border-radius:50%;width:40px;height:40px;cursor:pointer;font-size:1.2rem;display:flex;align-items:center;justify-content:center;transition:background-color .2s}.month-selector button:hover,.year-selector button:hover{background:#0056b3}.month-selector h2,.year-selector h2{margin:0;color:#333;min-width:160px;text-align:center}.completion-stats,.yearly-stats{text-align:center;font-size:1.1rem;color:#333;margin-bottom:1.5rem;padding:.75rem;background:linear-gradient(135deg,#28a745,#20c997);color:#fff;border-radius:8px;font-weight:600}.yearly-stats{background:linear-gradient(135deg,#6f42c1,#007bff)}.monthly-benefits,.yearly-benefits{display:flex;flex-direction:column;gap:1.5rem}.monthly-benefit{border:1px solid #e9ecef;border-radius:8px;padding:1rem;background:#fff;transition:all .2s}.monthly-benefit:hover{box-shadow:0 2px 8px #0000001a}.benefit-checkbox{display:flex;align-items:center;gap:.75rem;cursor:pointer;margin:0;width:100%;justify-content:flex-start}.benefit-checkbox input[type=checkbox]{margin:0;transform:scale(1.2);flex-shrink:0;width:18px;height:18px}.benefit-info{flex:1;min-width:0;overflow:hidden;display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:.5rem;text-align:left}.benefit-info .benefit-name{font-weight:600;color:#333;margin:0;word-wrap:break-word;overflow-wrap:break-word}.benefit-info .benefit-description{font-size:.9rem;color:#666;word-wrap:break-word;overflow-wrap:break-word;line-height:1.4}.empty-state{text-align:center;color:#666;font-style:italic;padding:2rem}.loading{text-align:center;padding:2rem;font-size:1.1rem;color:#666}.credit-card-group{margin-bottom:1.5rem}.credit-card-name{color:#007bff;font-size:1.2rem;font-weight:700;margin-bottom:1rem;padding-bottom:.5rem;border-bottom:2px solid #007bff}.credit-card-name-small{color:#007bff;font-size:1rem;font-weight:600;margin-bottom:.75rem;padding-bottom:.25rem;border-bottom:1px solid #007bff}.credit-card-benefits{display:flex;flex-direction:column;gap:.75rem}.yearly-benefit{border:1px solid #e9ecef;border-radius:8px;padding:1rem;background:#fff;transition:all .2s}.yearly-benefit:hover{box-shadow:0 2px 8px #0000001a}.yearly-benefit-content{display:flex;justify-content:space-between;align-items:center;width:100%}.yearly-benefit-content .benefit-checkbox{flex:1;min-width:0}.yearly-benefit-content .benefit-actions{flex-shrink:0;margin-left:1rem;align-self:flex-start}@media (max-width: 768px){.credit-benefits{padding:.5rem}.template-section,.tracking-section,.yearly-section{padding:1rem;margin-bottom:1rem}.section-header{flex-direction:column;align-items:stretch;gap:1rem}.edit-toggle-btn{align-self:center}.benefit-display{flex-direction:column;gap:.75rem}.benefit-actions{align-self:flex-start}.month-selector h2,.year-selector h2{font-size:1.2rem;min-width:120px}.add-benefit-form{padding:.75rem}.yearly-benefit-content{flex-direction:column;gap:.75rem}.yearly-benefit-content .benefit-actions{margin-left:0;align-self:flex-start}}@media (max-width: 480px){.credit-benefits h1{font-size:1.5rem;margin-bottom:1rem}.month-selector{gap:.5rem}.month-selector button{width:36px;height:36px;font-size:1rem}.month-selector h2{font-size:1.1rem;min-width:100px}.benefit-checkbox{gap:.5rem}.benefit-checkbox input[type=checkbox]{width:16px;height:16px;transform:scale(1.1)}.credit-card-name{font-size:1.1rem}.credit-card-name-small{font-size:.9rem}}
