:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}:root{--primary: #2563eb;--primary-dark: #1e40af;--bg: #f8fafc;--card: #ffffff;--text: #0f172a;--text-muted: #64748b;--border: #e2e8f0;--danger: #ef4444;--success: #10b981}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;padding:0;width:100%;max-width:100vw;overflow-x:hidden;background-color:var(--bg);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;color:var(--text);line-height:1.5}#root{display:flex;justify-content:center;width:100%;min-height:100vh;overflow-x:hidden}.app-wrapper{width:100%;max-width:100vw;display:flex;flex-direction:column;align-items:center;overflow-x:hidden}.logo-area h1{margin:0;font-size:1.5rem;color:var(--primary);text-align:center}.inputs-row{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:20px}.input-stack{justify-content:space-between;min-height:115px}.input-group{display:flex;flex-direction:column;gap:4px}.input-group label{font-size:.75rem;font-weight:700;color:var(--text-muted);text-transform:uppercase;display:flex;align-items:center;gap:4px}.input-group input,.input-group select{padding:8px 12px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:var(--text);font-size:.95rem;font-weight:500;min-width:80px}.input-group input:focus,.input-group select:focus{border-color:var(--primary);outline:none}.day-toggles{display:flex;gap:4px;background:#f1f5f9;padding:4px;border-radius:20px;border:1px solid var(--border)}.day-toggle{width:24px;height:24px;border-radius:50%;border:none;background:transparent;color:var(--text-muted);font-size:.75rem;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}.day-toggle:hover{background:#e2e8f0;color:var(--text)}.day-toggle.active{background:var(--primary);color:#fff;box-shadow:0 2px 4px #2563eb4d}.wide-group{min-width:200px}@media(max-width:768px){.inputs-row{gap:24px 15px}.inputs-row .input-group,.inputs-row .input-stack{flex-basis:calc(50% - 10px);min-width:140px}.inputs-row .input-group.wide-group{flex-basis:100%}}.main-container{width:100%;max-width:1100px;padding:20px 15px;display:flex;flex-direction:column;gap:30px;box-sizing:border-box;margin-top:70px}.card-section{background:var(--card);border-radius:12px;padding:25px;border:1px solid var(--border);box-shadow:0 2px 5px #00000008}.section-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;flex-wrap:wrap;gap:10px}h2{margin:0;font-size:1.2rem;color:var(--text);font-weight:700}.section-subtitle{font-size:.95rem;color:var(--text);margin:20px 0 10px;display:flex;align-items:center;gap:8px;border-bottom:1px solid #f1f5f9;padding-bottom:5px}.weekly-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:15px}.day-card{background:#fff;border:1px solid var(--border);border-radius:8px;padding:12px;display:flex;flex-direction:column;gap:10px;min-height:200px}.work-day-bg{border-top:3px solid var(--primary)}.day-header{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #f1f5f9;padding-bottom:8px}.day-name{font-weight:700;color:var(--text)}.day-kcal{font-size:.85rem;color:var(--primary);font-weight:600}.day-input-area label{font-size:.7rem;color:var(--text-muted);font-weight:600}.day-input-area input{width:100%;padding:6px;border:1px solid #cbd5e1;border-radius:4px;font-size:.9rem;margin-top:2px;color:var(--text);box-sizing:border-box;background:#fff}.activity-list{display:flex;flex-direction:column;gap:8px;margin-top:10px;margin-bottom:10px}.activity-item{background:#eff6ff;border:1px solid #dbeafe;padding:10px 35px 10px 10px;border-radius:6px;font-size:.85rem;position:relative;min-height:40px;display:flex;flex-direction:column;justify-content:center}.activity-item span{display:block;font-weight:600;color:#1e3a8a;margin-bottom:2px;line-height:1.3;white-space:normal;overflow-wrap:break-word;word-break:break-word}.activity-item small{color:#60a5fa;font-weight:500}.btn-del{position:absolute;top:50%;right:8px;transform:translateY(-50%);background:transparent;border:none;color:#94a3b8;cursor:pointer;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background .2s,color .2s;font-size:1.2rem}.btn-del:hover{color:#ef4444;background:#ef44441a}.add-activity-footer{margin-top:auto;padding-top:10px;border-top:1px dashed var(--border)}.add-activity-footer select{width:100%;font-size:.75rem;margin-bottom:5px;padding:4px;border-radius:4px;border:1px solid #cbd5e1;background:#fff;color:#000}.add-row{display:flex;gap:5px}.add-row input{width:60px;font-size:.75rem;padding:4px;border:1px solid #cbd5e1;border-radius:4px;background:#fff;color:#000}.btn-add{flex:1;background:#10b981;color:#fff;border:none;border-radius:4px;cursor:pointer;display:flex;justify-content:center;align-items:center}.chart-wrapper{width:100%;height:300px;margin-top:10px}.stats-banner{margin-top:20px;background:#f8fafc;padding:15px;text-align:center;border-radius:8px;border:1px solid var(--border)}.stats-banner span{color:var(--text-muted);font-size:.9rem;margin-right:10px}.stats-banner strong{font-size:1.5rem;color:var(--primary);vertical-align:middle}.goal-tabs,.meal-freq-options{display:flex;gap:10px;margin-bottom:15px;flex-wrap:wrap}.tab{flex:1;padding:12px;border:2px solid var(--border);background:#fff;color:var(--text-muted);border-radius:8px;font-weight:700;cursor:pointer;transition:.2s;display:flex;align-items:center;justify-content:center;gap:5px}.tab.active{border-color:transparent;color:#fff}.tab.active.cut{background:#d97706}.tab.active.maintain{background:var(--primary)}.tab.active.bulk{background:#059669}.tab.small{padding:8px;flex:0 0 auto;min-width:40px}.meal-freq-options .tab.active{background:var(--text);border-color:var(--text)}.slider-row{margin-bottom:20px;display:flex;align-items:center;gap:15px}.slider-row input{flex:1}.macro-control-panel{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-bottom:20px}.macro-slider-group{background:#f8fafc;border:1px solid #e2e8f0;padding:15px;border-radius:10px;display:flex;flex-direction:column;gap:10px}.macro-slider-group.pro{border-top:4px solid #3b82f6}.macro-slider-group.fat{border-top:4px solid #eab308}.macro-slider-group.carb{border-top:4px solid #10b981}.macro-slider-group.disabled{opacity:.8;background:#f1f5f9}.macro-label-row{display:flex;justify-content:space-between;align-items:center;font-weight:700;font-size:.9rem}.macro-val{background:#fff;padding:2px 8px;border-radius:4px;border:1px solid #cbd5e1;font-family:monospace;color:var(--text)}.macro-slider-group input[type=range]{width:100%;cursor:pointer}.macro-result-card{margin-top:5px;background:#fff;border-radius:6px;padding:8px;text-align:center;border:1px solid #e2e8f0;display:flex;flex-direction:column}.macro-result-card strong{font-size:1.2rem;color:var(--text)}.macro-result-card small{color:var(--text-muted);font-size:.75rem}.live-kcal-box{background:#1e293b;color:#fff;padding:15px;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;margin-bottom:20px;text-align:center}.live-kcal-box strong{font-size:1.8rem;color:#38bdf8}.pref-grid{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:15px}.pref-chip{padding:8px 14px;border:1px solid var(--border);background:#fff;color:var(--text);border-radius:20px;cursor:pointer;font-size:.85rem;transition:.2s;display:flex;align-items:center;gap:6px}.pref-chip:hover{background:#f1f5f9}.pref-chip.selected{background:#dbeafe;border-color:var(--primary);color:var(--primary);font-weight:600}.food-inputs-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:15px}@media(max-width:600px){.food-inputs-grid{grid-template-columns:1fr}.sc-value{font-size:.8rem}}.food-select-wrapper{position:relative;display:flex;flex-direction:column;gap:5px}.multi-input-container{border:1px solid #cbd5e1;background:#fff;border-radius:6px;padding:8px;min-height:42px;display:flex;flex-wrap:wrap;gap:6px;align-items:center;cursor:text;position:relative}.multi-input-container:focus-within{border-color:var(--primary);box-shadow:0 0 0 2px #2563eb1a}.search-icon{color:#94a3b8;margin-left:auto}.multi-input-container input{border:none;outline:none;padding:0;margin:0;font-size:.9rem;flex:1;min-width:100px;color:var(--text);background:#fff}.food-chip{background:#eff6ff;color:#1e3a8a;border:1px solid #dbeafe;padding:2px 8px;border-radius:12px;font-size:.8rem;font-weight:600;display:flex;align-items:center;gap:4px}.food-chip button{background:none;border:none;color:#60a5fa;cursor:pointer;padding:0;display:flex;align-items:center}.food-chip button:hover{color:#ef4444}.food-dropdown{position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid #cbd5e1;border-radius:8px;box-shadow:0 4px 15px #0000001a;z-index:500;max-height:250px;overflow-y:auto;margin-top:5px;padding:0;list-style:none}.food-dropdown li{padding:10px 15px;cursor:pointer;border-bottom:1px solid #f1f5f9;display:flex;justify-content:space-between;align-items:center}.food-dropdown li:last-child{border-bottom:none}.food-dropdown li:hover{background:#f8fafc}.food-name{font-weight:600;color:var(--text);font-size:.9rem}.food-cat{font-size:.75rem;color:#94a3b8;background:#f1f5f9;padding:2px 6px;border-radius:4px}.no-results{padding:15px;color:#94a3b8;text-align:center;font-size:.85rem;font-style:italic}.btn-action{cursor:pointer;border:none;border-radius:6px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px;transition:.2s;background:#fff;color:var(--text)}.btn-action.secondary{background:#f1f5f9;color:var(--text);padding:8px 16px;border:1px solid var(--border)}.btn-action.secondary:hover{background:#e2e8f0}.btn-action.primary.big{width:100%;padding:16px;background:var(--text);color:#fff;font-size:1.1rem;margin-top:20px}.btn-action.primary.big:hover{background:#000}.prompt-box textarea{width:100%;min-height:300px;padding:15px;background:#f8fafc;border:1px solid var(--border);border-radius:8px;color:var(--text);font-family:monospace;font-size:.9rem;margin-bottom:15px;box-sizing:border-box}.app-footer{margin-top:40px;border-top:1px solid var(--border);padding-top:30px;display:flex;flex-direction:column;gap:30px}.support-section{background:linear-gradient(135deg,#fffbeb,#fff);border:1px solid #fcd34d;border-radius:12px;padding:25px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px}.support-section h3{margin:0;color:#b45309;font-size:1.1rem}.support-section p{margin:0;color:#78350f;font-size:.9rem;max-width:400px}.btn-coffee{margin-top:10px;background:#fd0;color:#000;font-weight:700;text-decoration:none;padding:12px 24px;border-radius:30px;display:flex;align-items:center;gap:8px;box-shadow:0 4px 6px #ffdd004d;transition:transform .2s,box-shadow .2s;font-family:Inter,sans-serif}.btn-coffee:hover{transform:translateY(-2px);box-shadow:0 6px 12px #fd06}.affiliates-section{background:#fff;border-radius:12px;padding:20px;border:1px solid var(--border)}.affiliates-header{margin-bottom:15px;text-align:center}.affiliates-header h4{margin:0 0 5px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:1rem;color:var(--text)}.affiliates-header small{color:var(--text-muted);font-size:.75rem}.partners-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}.partner-card{display:flex;align-items:center;justify-content:space-between;padding:12px;border:1px solid var(--border);border-radius:8px;text-decoration:none;background:#f8fafc;transition:all .2s ease;position:relative;overflow:hidden}.partner-card:hover{border-color:var(--hover-color);background:#fff;box-shadow:0 2px 8px #0000000d;transform:translateY(-1px)}.partner-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--hover-color);opacity:0;transition:opacity .2s}.partner-card:hover:before{opacity:1}.partner-info{display:flex;flex-direction:column}.partner-info strong{font-size:.9rem;color:var(--text)}.partner-info span{font-size:.65rem;color:var(--text-muted)}.ext-icon{color:#cbd5e1;transition:.2s}.partner-card:hover .ext-icon{color:var(--hover-color)}.legal-note{text-align:center;color:#94a3b8;font-size:.7rem;padding-bottom:20px}.gender-switch{display:flex;background:#f1f5f9;border-radius:6px;padding:2px;border:1px solid #cbd5e1;width:100%;min-width:120px}.gender-switch button{flex:1;border:none;background:transparent;padding:6px 0;font-size:.85rem;font-weight:600;color:var(--text-muted);border-radius:4px;cursor:pointer;transition:all .2s}.gender-switch button.active{background:#fff;color:var(--primary);box-shadow:0 1px 3px #0000001a;font-weight:700}.nav-tabs{display:flex;justify-content:center;align-items:center;flex-grow:1;border-top:none;margin-top:0;padding-top:0}.nav-tab{background:transparent;border:none;color:var(--text-muted);font-weight:600;font-size:.95rem;padding:10px 20px;cursor:pointer;border-bottom:3px solid transparent;display:flex;align-items:center;gap:8px;transition:all .2s}.nav-tab:hover{color:var(--text)}.nav-tab.active{background:var(--card);color:var(--primary);border-bottom:none;box-shadow:0 2px 4px #0000000d}@media(max-width:768px){.main-navbar{padding:6px 8px}.nav-inner{display:flex;flex-direction:row!important;flex-wrap:nowrap!important;justify-content:space-between;align-items:center;gap:4px;width:100%}.nav-text{display:none}.nav-inner .nav-back,.nav-inner .nav-tab,.nav-inner .nav-profile-btn{width:44px;height:44px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:8px;border:none}.nav-inner .nav-back svg,.nav-inner .nav-tab svg,.nav-inner .nav-profile-btn svg{margin:0;width:20px;height:20px}.nav-group{order:2;flex-grow:1;flex-direction:row!important;justify-content:center;overflow:hidden;width:auto;background:transparent;padding:0;gap:4px}.nav-tab{background:#f1f5f9;color:var(--text-muted)}.nav-tab.active{background:#eff6ff;color:var(--primary);box-shadow:none}.nav-back{order:1;background:#f1f5f9;color:var(--text)}.nav-profile-btn{order:3;background:var(--primary);color:#fff}}.item-thumb{width:32px;height:32px;border-radius:4px;object-fit:cover;margin-right:10px;background:#eee}.share-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.share-card-container{background:#1e293b;color:#fff;padding:30px;border-radius:20px;box-shadow:0 20px 40px -10px #0000004d;max-width:500px;margin:0 auto;font-family:Inter,sans-serif;border:1px solid #334155}.share-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;border-bottom:1px solid #334155;padding-bottom:15px}.share-card-header h4{margin:0;font-size:1.1rem;letter-spacing:1px;color:#fff}.share-card-header small{color:#94a3b8;font-size:.75rem}.share-badge{background:#3b82f6;color:#fff;padding:4px 10px;border-radius:6px;font-size:.7rem;font-weight:800;text-transform:uppercase}.share-stats-row{display:flex;justify-content:space-between;margin-bottom:30px;background:#ffffff0d;padding:15px;border-radius:12px}.share-stat{display:flex;flex-direction:column;align-items:center;flex:1}.share-stat span{font-size:.65rem;color:#94a3b8;text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px}.share-stat strong{font-size:1.4rem;font-weight:800;color:#38bdf8}.share-stat small{font-size:.7rem;color:#64748b}.share-chart-box{height:120px;position:relative;margin-bottom:30px;display:flex;align-items:flex-end}.share-chart-bars{display:flex;justify-content:space-between;width:100%;height:100%;align-items:flex-end;padding-bottom:20px}.sc-bar-group{display:flex;flex-direction:column;align-items:center;width:10%;height:100%;justify-content:flex-end;position:relative}.sc-bar{width:100%;border-radius:4px 4px 0 0;transition:height .5s}.sc-label{position:absolute;bottom:-20px;font-size:.65rem;color:#94a3b8;font-weight:600}.share-chart-line{position:absolute;left:0;right:0;height:1px;background:#ef4444;opacity:.5;border-top:1px dashed #ef4444}.share-schedule-list h5{color:#94a3b8;font-size:.75rem;margin-bottom:10px;text-transform:uppercase}.sc-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sc-day-item{background:#ffffff08;padding:8px 12px;border-radius:6px;display:flex;justify-content:space-between;align-items:flex-start;border:1px solid transparent;gap:10px;min-height:30px}.sc-day-item.active{border-color:#3b82f64d;background:#3b82f61a}.sc-day-name{font-size:.75rem;font-weight:700;color:#fff;flex-shrink:0;width:30px;padding-top:2px}.sc-day-act{font-size:.65rem;color:#cbd5e1;text-align:right;white-space:normal;word-break:break-word;line-height:1.3;flex-grow:1}.modal-overlay{position:fixed;inset:0;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:9999;display:flex;align-items:center;justify-content:center;padding:20px}.modal-box{background:#fff;width:100%;max-width:700px;max-height:85vh;border-radius:16px;display:flex;flex-direction:column;box-shadow:0 20px 50px #0003;animation:slideUp .3s ease-out;overflow:hidden}@keyframes slideUp{0%{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-header{padding:20px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center}.modal-header h3{margin:0;font-size:1.2rem;color:var(--text)}.modal-header button{background:none;border:none;cursor:pointer;color:var(--text-muted)}.modal-search{padding:15px 20px;background:#f8fafc;display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--border)}.modal-search input{border:none;background:transparent;font-size:1rem;width:100%;outline:none;color:var(--text)}.modal-grid{flex-grow:1;overflow-y:auto;min-height:200px;padding:20px;display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));grid-auto-rows:max-content;gap:15px;align-content:start}.ex-card-item{border:1px solid var(--border);border-radius:10px;overflow:hidden;cursor:pointer;transition:transform .2s,box-shadow .2s;background:#fff;display:flex;flex-direction:column;min-height:180px;height:100%;flex-shrink:0}.ex-card-item:hover{transform:translateY(-3px);box-shadow:0 4px 15px #00000014;border-color:#cbd5e1}.ex-card-item.selected{border-color:var(--primary);background:#eff6ff;box-shadow:0 0 0 2px var(--primary)}.ex-image-wrapper{width:100%;height:110px;min-height:110px;background:#f8fafc;position:relative;display:flex;align-items:center;justify-content:center;border-bottom:1px solid var(--border)}.ex-image-wrapper img{width:100%;height:100%;object-fit:cover}.ex-check{position:absolute;top:5px;right:5px;background:#fff;border-radius:50%;width:24px;height:24px;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 4px #0000001a;z-index:2}.ex-info{padding:10px;text-align:center;flex-grow:1;display:flex;flex-direction:column;justify-content:center}.ex-name{display:block;font-weight:600;font-size:.8rem;line-height:1.2;color:var(--text);margin-bottom:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ex-cat{display:inline-block;font-size:.65rem;color:var(--text-muted);background:#f1f5f9;padding:2px 6px;border-radius:4px}.modal-footer{padding:15px 20px;border-top:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;background:#fff}.modal-trigger-section{background:#f8fafc;border:1px solid var(--border);border-radius:8px;padding:15px}.trigger-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.trigger-header label{display:flex;align-items:center;gap:5px;margin:0}.trigger-list{display:flex;flex-wrap:wrap;gap:8px;min-height:30px}.empty-msg{font-size:.8rem;color:#cbd5e1;font-style:italic}.selected-count{font-size:.9rem;color:var(--primary);font-weight:600}@media screen and (max-width:500px){.selected-count{margin-right:20px}}.modal-actions{display:flex;gap:10px}.empty-state-modal{grid-column:1 / -1;text-align:center;padding:40px;color:var(--text-muted)}.dashboard-section{width:100%;animation:fadeIn .4s ease-out}.dashboard-intro{text-align:center;padding:1.2rem 1.4rem}.dashboard-intro h2{font-size:2rem;color:var(--text);margin-bottom:10px}.dashboard-intro p{color:var(--text-muted);font-size:1.1rem}.intro-title{display:flex;align-items:center;justify-content:center;gap:6px;font-size:1.4rem;flex-wrap:wrap;margin-bottom:20px}.intro-icon{color:#6366f1}.intro-text{margin-top:.6rem;font-size:1rem;line-height:1.45;display:flex;flex-direction:column;gap:.6rem}.intro-line{display:flex;align-items:flex-start;justify-content:center;gap:6px;text-align:center;flex-wrap:wrap}.intro-line-icon{margin-top:3px;color:inherit}@media(max-width:480px){.intro-title{font-size:1.2rem;gap:4px}.intro-text{font-size:.95rem}.intro-line{gap:4px}}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:25px}.dash-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:30px;text-align:center;cursor:pointer;transition:all .3s cubic-bezier(.25,.8,.25,1);display:flex;flex-direction:column;align-items:center;gap:15px;box-shadow:0 4px 6px #00000005}.dash-card:hover{transform:translateY(-8px);box-shadow:0 15px 30px #2563eb26;border-color:var(--primary)}.dash-icon{width:70px;height:70px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:10px;transition:transform .3s}.dash-card:hover .dash-icon{transform:scale(1.1) rotate(5deg)}.dash-icon.nut{background:#eff6ff;color:#3b82f6}.dash-icon.work{background:#f0fdf4;color:#10b981}.dash-icon.rec{background:#fff7ed;color:#f97316}.dash-card h3{margin:0;font-size:1.3rem;color:var(--text)}.dash-card p{margin:0;color:var(--text-muted);font-size:.95rem;line-height:1.5}.dash-cta{margin-top:auto;font-weight:700;color:var(--primary);font-size:.9rem;padding-top:15px}.main-navbar{width:100%;background:var(--card);border-bottom:1px solid var(--border);padding:10px 20px;top:0;z-index:100;box-shadow:0 4px 12px #00000008;position:fixed;transition:transform .3s cubic-bezier(.2,.8,.4,1);will-change:transform}.main-navbar.navbar-hidden{transform:translateY(-100%)}.nav-inner{max-width:1100px;margin:0 auto;display:flex;justify-content:space-between;align-items:center}.nav-tabs{display:flex;justify-content:space-between;align-items:center;margin-top:20px;padding-top:15px;border-top:1px solid var(--border);width:100%}.nav-group{display:flex;gap:5px}.nav-back{background:transparent;border:none;display:flex;align-items:center;gap:5px;color:var(--text-muted);font-weight:600;cursor:pointer;padding:8px 12px;border-radius:6px;transition:.2s}.nav-back:hover{background:#f1f5f9;color:var(--text)}.nav-profile-btn{background:var(--primary);color:#fff;border:none;border-radius:8px;padding:8px 14px;font-weight:600;font-size:.9rem;cursor:pointer;display:flex;align-items:center;gap:6px;transition:.2s}.nav-profile-btn:hover{background:var(--primary-dark)}@media(max-width:600px){.nav-tabs{flex-direction:column;gap:15px}.nav-group{width:100%;justify-content:center}.nav-back{width:100%;justify-content:center;border:1px solid var(--border)}}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.copy-toast-overlay{position:fixed;inset:0;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:10000;display:flex;align-items:center;justify-content:center;padding:20px;animation:fadeIn .2s ease-out}.copy-toast-box{background:var(--card);padding:30px 35px;border-radius:16px;text-align:center;box-shadow:0 10px 30px #0003;max-width:400px;animation:slideUp .3s ease-out}.copy-toast-box h4{margin:15px 0 5px;font-size:1.2rem;color:var(--text)}.copy-toast-box p{margin:0;font-size:.95rem;color:var(--text-muted);line-height:1.5}@keyframes slideDownToast{0%{top:-100px;opacity:0}to{top:20px;opacity:1}}@media(max-width:600px){.copy-toast{width:90%;top:10px;font-size:.85rem}}.modal-list{flex:1;overflow-y:auto;padding:10px 20px 20px;display:flex;flex-direction:column;gap:8px}.list-item{display:flex;justify-content:space-between;align-items:center;padding:12px;border-radius:8px;background:#f8fafc;border:1px solid var(--border);transition:background .2s}.list-item:hover{background:#f1f5f9}.list-item-info{display:flex;flex-direction:column}.list-item-name{font-weight:600;font-size:.9rem;color:var(--text)}.list-item-cat{font-size:.75rem;color:var(--text-muted)}.btn-action.small{padding:6px 12px;font-size:.8rem;flex-shrink:0}.add-activity-footer{margin-top:auto;padding-top:10px;border-top:1px dashed var(--border);display:flex}.add-activity-footer .btn-action{background:#fff;width:100%;font-size:.8rem;padding:10px;color:var(--text)}.modal-filters{display:flex;flex-wrap:wrap;padding:15px;gap:10px;background:#f8fafc;border-bottom:1px solid var(--border);overflow-y:auto;max-height:150px;flex-shrink:0}.filter-chip{padding:10px 18px;border-radius:20px;border:1px solid var(--border);background:#fff;color:var(--text);font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s;white-space:normal}.filter-chip:hover{background:#f1f5f9;border-color:#cbd5e1}.filter-chip.active{background:var(--primary);border-color:var(--primary);color:#fff;box-shadow:0 2px 4px #2563eb33}.onboarding-overlay{position:fixed;inset:0;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:9999;display:flex;align-items:center;justify-content:center;padding:15px;box-sizing:border-box}.onboarding-box{background:#fff;width:100%;max-width:650px;border-radius:16px;box-shadow:0 20px 50px #0003;animation:slideUp .3s ease-out;display:flex;flex-direction:column;overflow:hidden;max-height:85vh}.onboarding-progress{display:flex;justify-content:center;gap:8px;padding:20px 20px 15px;border-bottom:1px solid var(--border);flex-shrink:0}.step-dot{width:12px;height:12px;border-radius:50%;background:var(--border);transition:background .3s}.step-dot.active{background:var(--primary)}.onboarding-content-scrollable{flex-grow:1;overflow-y:auto;min-height:0}.onboarding-content{padding:20px 30px 30px;animation:fadeIn .3s ease-out}.onboarding-footer{margin-top:0;padding:20px 30px;border-top:1px solid var(--border);background:#f8fafc;display:flex;justify-content:flex-end;flex-shrink:0;gap:10px}.onboarding-footer.multi-button{justify-content:space-between}.onboarding-welcome{display:flex;flex-direction:column;align-items:center;margin-bottom:20px}.onboarding-content .inputs-row{margin-top:10px}.onboarding-content .input-group label{font-size:.85rem}.onboarding-footer .btn-action{padding:16px 24px;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px;white-space:nowrap;width:auto;margin-top:20px}.onboarding-footer .btn-action.primary.big{flex-grow:1}@media(max-width:600px){.onboarding-content{padding:25px 20px}.onboarding-content .inputs-row{flex-direction:column;gap:0}.onboarding-content .input-stack{gap:16px;width:100%}.onboarding-content .input-stack:last-child{margin-top:16px}.onboarding-footer{padding:15px 20px;flex-direction:column-reverse}.onboarding-footer .btn-action{width:100%;padding-top:16px;padding-bottom:16px;margin-top:0}}.settings-drawer-header{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;border-bottom:1px solid var(--border);background:var(--card);margin-top:75px}.settings-drawer-header h3{margin:0;font-size:1.1rem}.settings-drawer-header button{background:#fff;color:#0f172a;border:1px solid var(--border);cursor:pointer;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background .2s,transform .2s,box-shadow .2s}.settings-drawer-header button svg{width:24px!important;height:24px!important;flex-shrink:0}.settings-drawer-header button:hover{background:#f8fafc;border-color:#cbd5e1;box-shadow:0 2px 4px #0000000d;transform:scale(1.05)}.settings-drawer-header button:active{transform:scale(.95);background:#f1f5f9}.tool-intro-box{background:#eff6ff;border:1px solid #dbeafe;border-left:4px solid var(--primary);padding:16px 20px;border-radius:8px;margin-bottom:25px;display:flex;align-items:flex-start;gap:15px;animation:fadeIn .3s ease-out}.tool-intro-box svg{color:var(--primary);flex-shrink:0;margin-top:2px}.tool-intro-box p{margin:0;color:#334155;font-size:.9rem;line-height:1.5}.tool-intro-box p strong{color:#1e3a8a}.slider-group{width:100%}.slider-label-row{display:flex;justify-content:space-between;align-items:center;width:100%;margin-bottom:5px}.slider-label-row label{font-size:.85rem;font-weight:700;color:var(--text-muted);text-transform:uppercase;margin:0}.slider-value{font-size:1rem;font-weight:700;color:var(--primary);background:#eff6ff;padding:2px 10px;border-radius:6px;border:1px solid #dbeafe}.slider-description{text-align:center;font-size:.95rem;font-weight:600;color:var(--text);margin-top:10px;background:#f8fafc;padding:8px;border-radius:6px}.steps-slider{-webkit-appearance:none;width:100%;height:10px;border-radius:5px;background:#ddd;outline:none;padding:0;margin-top:10px;background:linear-gradient(to right,#ef4444 5%,#f59e0b 25%,#10b981 50%,#065f46)!important}.steps-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;border-radius:50%;background:#fff;border:2px solid var(--primary);cursor:pointer;margin-top:-5px;box-shadow:0 0 5px #0003}.steps-slider::-moz-range-track{width:100%;height:10px;border-radius:5px;background:linear-gradient(to right,#ef4444 5%,#f59e0b 25%,#10b981 50%,#065f46)!important;border:none}.steps-slider::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:#fff;border:2px solid var(--primary);cursor:pointer;box-shadow:0 0 5px #0003}.slider-help-text{font-size:.85rem;color:var(--text-muted);margin:-2px 0 12px;line-height:1.4}.slider-label-row label{display:flex;align-items:center;gap:6px}.prompt-header-box{display:flex;align-items:flex-start;gap:15px;background:#f8fafc;border:1px solid var(--border);padding:15px 20px;border-radius:12px;margin-bottom:20px}.prompt-icon{color:#f59e0b;background:#fffbeb;padding:8px;border-radius:50%;flex-shrink:0;margin-top:2px}.prompt-header-box h3{margin:0 0 4px;font-size:1.1rem;color:var(--text)}.prompt-header-box p{margin:0;font-size:.9rem;color:var(--text-muted);line-height:1.4}.prompt-box textarea{min-height:250px}
