:root{--accent: #185FA5;--accent-light: #E6F1FB;--accent-text: #0C447C;--bg: #f5f5f5;--bg-card: #ffffff;--bg-input: #ffffff;--bg-input-subtle: #fafafa;--bg-subtle: #f9f9f9;--bg-hover: #f0f0f0;--bg-nav: #ffffff;--text-primary: #1a1a1a;--text-secondary: #444444;--text-muted: #888888;--text-faint: #aaaaaa;--text-placeholder:#bbbbbb;--border: #e8e8e8;--border-light: #f0f0f0;--border-input: #dddddd;--border-input-focus: #185FA5;--success-bg: #EAF3DE;--success-text: #27500A;--danger: #B94040;--danger-bg: #fdf0f0;--warning-bg: #FAEEDA;--warning-text: #633806;--status-started-bg: #FAEEDA;--status-started-text: #854F0B;--status-done-bg: #EAF3DE;--status-done-text: #27500A;--type-weighted-bg: #E6F1FB;--type-weighted-text: #0C447C;--type-body-bg: #EAF3DE;--type-body-text: #27500A;--type-timed-bg: #FAEEDA;--type-timed-text: #633806;--type-cardio-bg: #FCEBEB;--type-cardio-text: #791F1F;--type-interval-bg: #F0EAFB;--type-interval-text: #4A1F8C;--status-started: #EF9F27;--status-finished: #639922;--shadow-nav: 0 4px 24px rgba(0,0,0,.12), 0 1px 4px rgba(0,0,0,.08);--overlay: rgba(0,0,0,.4)}[data-theme=dark]{--accent-light: #16304d;--accent-text: #7ab8f5;--bg: #0f0f0f;--bg-card: #1c1c1e;--bg-input: #2c2c2e;--bg-input-subtle: #232325;--bg-subtle: #242426;--bg-hover: #2c2c2e;--bg-nav: #1c1c1e;--text-primary: #f2f2f7;--text-secondary: #c7c7cc;--text-muted: #8e8e93;--text-faint: #636366;--text-placeholder:#48484a;--border: #2c2c2e;--border-light: #232325;--border-input: #3a3a3c;--border-input-focus: #4da3f5;--success-bg: #1a2e0a;--success-text: #86c840;--danger: #C0544A;--danger-bg: #2a0f0f;--status-started-bg: #2e1e00;--status-started-text: #f0b050;--status-done-bg: #0d2010;--status-done-text: #7ec850;--type-weighted-bg: #0d2440;--type-weighted-text: #7ab8f5;--type-body-bg: #0d2010;--type-body-text: #7ec850;--type-timed-bg: #2e1e00;--type-timed-text: #f0b050;--type-cardio-bg: #2e0d0d;--type-cardio-text: #f07070;--type-interval-bg: #1e0d40;--type-interval-text: #b090f0;--shadow-nav: 0 4px 24px rgba(0,0,0,.5), 0 1px 4px rgba(0,0,0,.3);--overlay: rgba(0,0,0,.6)}[data-theme=forest]{--accent: #2D6A4F;--accent-light: #D8F3DC;--accent-text: #1B4332;--bg: #f4f7f4;--bg-card: #ffffff;--bg-input: #ffffff;--bg-input-subtle: #f9faf9;--bg-subtle: #f0f4f0;--bg-hover: #e8f0e8;--bg-nav: #ffffff;--text-primary: #1a1a1a;--text-secondary: #444444;--text-muted: #888888;--text-faint: #aaaaaa;--text-placeholder:#bbbbbb;--border: #dde8dd;--border-light: #eaf2ea;--border-input: #ccdacc;--border-input-focus: #2D6A4F;--status-started-bg: #FFF3CD;--status-started-text: #7D5A00;--status-done-bg: #D8F3DC;--status-done-text: #1B4332;--type-weighted-bg: #D8F3DC;--type-weighted-text: #1B4332;--type-body-bg: #D8F3DC;--type-body-text: #1B4332;--type-timed-bg: #FFF3CD;--type-timed-text: #7D5A00;--type-cardio-bg: #FCE4D6;--type-cardio-text: #7D2E00;--type-interval-bg: #EDE7F6;--type-interval-text: #4527A0;--shadow-nav: 0 4px 24px rgba(0,0,0,.1), 0 1px 4px rgba(0,0,0,.06);--overlay: rgba(0,0,0,.4)}[data-theme=into]{--accent: #E8961E;--accent-light: #2a2400;--accent-text: #E8961E;--bg: #1C1C1C;--bg-card: #383838;--bg-input: #383838;--bg-input-subtle: #303030;--bg-subtle: #282828;--bg-hover: #444444;--bg-nav: #383838;--text-primary: #ffffff;--text-secondary: #dddddd;--text-muted: #aaaaaa;--text-faint: #777777;--text-placeholder:#888888;--border: #505050;--border-light: #444444;--border-input: #606060;--border-input-focus: #E8961E;--success-bg: #1a2e0a;--success-text: #86c840;--danger-bg: #2e0a0a;--status-started-bg: #2a2000;--status-started-text: #E8961E;--status-done-bg: #0d2010;--status-done-text: #7ec850;--type-weighted-bg: #2a2000;--type-weighted-text: #E8961E;--type-body-bg: #0d2010;--type-body-text: #7ec850;--type-timed-bg: #2a2000;--type-timed-text: #E8961E;--type-cardio-bg: #2e0d0d;--type-cardio-text: #f07070;--type-interval-bg: #1e1a40;--type-interval-text: #a99ef8;--shadow-nav: 0 4px 24px rgba(0,0,0,.5), 0 1px 4px rgba(0,0,0,.3);--overlay: rgba(0,0,0,.6)}[data-theme=sunset]{--accent: #C75B2A;--accent-light: #FDEBD0;--accent-text: #943F18;--bg: #faf6f2;--bg-card: #ffffff;--bg-input: #ffffff;--bg-input-subtle: #fdf9f6;--bg-subtle: #f7f0ea;--bg-hover: #f2e8de;--bg-nav: #ffffff;--text-primary: #1a1a1a;--text-secondary: #444444;--text-muted: #888888;--text-faint: #aaaaaa;--text-placeholder:#bbbbbb;--border: #ecddd2;--border-light: #f4ece5;--border-input: #dcc8b8;--border-input-focus: #C75B2A;--status-started-bg: #FDEBD0;--status-started-text: #943F18;--status-done-bg: #D8F3DC;--status-done-text: #1B4332;--type-weighted-bg: #FDEBD0;--type-weighted-text: #943F18;--type-body-bg: #D8F3DC;--type-body-text: #1B4332;--type-timed-bg: #FFF3CD;--type-timed-text: #7D5A00;--type-cardio-bg: #FDEBD0;--type-cardio-text: #943F18;--type-interval-bg: #EDE7F6;--type-interval-text: #4527A0;--shadow-nav: 0 4px 24px rgba(0,0,0,.1), 0 1px 4px rgba(0,0,0,.06);--overlay: rgba(0,0,0,.4)}[data-theme=midnight]{--accent: #7C6FF5;--accent-light: #1e1a40;--accent-text: #a99ef8;--bg: #0a0a12;--bg-card: #14141e;--bg-input: #1e1e2e;--bg-input-subtle: #18182a;--bg-subtle: #16161f;--bg-hover: #1e1e2e;--bg-nav: #14141e;--text-primary: #e8e8f8;--text-secondary: #b0b0cc;--text-muted: #7070a0;--text-faint: #505070;--text-placeholder:#3a3a58;--border: #22223a;--border-light: #1a1a2e;--border-input: #2e2e4a;--border-input-focus: #7C6FF5;--success-bg: #1a2e0a;--success-text: #86c840;--danger-bg: #2e0a0a;--status-started-bg: #2e2200;--status-started-text: #f0c060;--status-done-bg: #0d2010;--status-done-text: #7ec850;--type-weighted-bg: #1e1a40;--type-weighted-text: #a99ef8;--type-body-bg: #0d2010;--type-body-text: #7ec850;--type-timed-bg: #2e2200;--type-timed-text: #f0c060;--type-cardio-bg: #2e0d0d;--type-cardio-text: #f07070;--type-interval-bg: #1e1a40;--type-interval-text: #a99ef8;--shadow-nav: 0 4px 24px rgba(0,0,0,.6), 0 1px 4px rgba(0,0,0,.4);--overlay: rgba(0,0,0,.6)}[data-theme=steel]{--accent: #e0729a;--accent-light: #2a0d1a;--accent-text: #f4a4bc;--bg: #111111;--bg-card: #1a1a1a;--bg-input: #242424;--bg-input-subtle: #202020;--bg-subtle: #1e1e1e;--bg-hover: #282828;--bg-nav: #1a1a1a;--text-primary: #f0f0f0;--text-secondary: #b8b8b8;--text-muted: #707070;--text-faint: #585858;--text-placeholder:#3a3a3a;--border: #2a2a2a;--border-light: #222222;--border-input: #363636;--border-input-focus: #e0729a;--success-bg: #0a2010;--success-text: #70c870;--danger: #c05050;--danger-bg: #2e0a0a;--status-started-bg: #2a1e00;--status-started-text: #d4a030;--status-done-bg: #0a2010;--status-done-text: #70c870;--type-weighted-bg: #2a0d1a;--type-weighted-text: #f4a4bc;--type-body-bg: #0a2010;--type-body-text: #70c870;--type-timed-bg: #2a1e00;--type-timed-text: #d4a030;--type-cardio-bg: #2a0d1a;--type-cardio-text: #f4a4bc;--type-interval-bg: #1a0d30;--type-interval-text: #a090f0;--shadow-nav: 0 4px 24px rgba(0,0,0,.6), 0 1px 4px rgba(0,0,0,.4);--overlay: rgba(0,0,0,.7)}[data-theme=lavender]{--accent: #7C6FF5;--accent-light: #EDE9FF;--accent-text: #4A3DB8;--bg: #f5f4fe;--bg-card: #ffffff;--bg-input: #ffffff;--bg-input-subtle: #faf9ff;--bg-subtle: #efedfe;--bg-hover: #e6e3fc;--bg-nav: #ffffff;--text-primary: #1a1730;--text-secondary: #3d3860;--text-muted: #7068a0;--text-faint: #b0a8d8;--text-placeholder:#c8c0e8;--border: #ddd8f8;--border-light: #eae8fc;--border-input: #cec8f0;--border-input-focus: #7C6FF5;--success-bg: #e8f8ec;--success-text: #2a7a3a;--danger: #dc3535;--danger-bg: #fdeaea;--status-started-bg: #fff8e0;--status-started-text: #9a6800;--status-done-bg: #e8f8ec;--status-done-text: #2a7a3a;--type-weighted-bg: #ede9ff;--type-weighted-text: #4A3DB8;--type-body-bg: #e8f8ec;--type-body-text: #2a7a3a;--type-timed-bg: #fff8e0;--type-timed-text: #9a6800;--type-cardio-bg: #fdeaea;--type-cardio-text: #b03030;--type-interval-bg: #ede9ff;--type-interval-text: #5040d0;--shadow-nav: 0 4px 24px rgba(124,111,245,.1), 0 1px 4px rgba(0,0,0,.06);--overlay: rgba(20,15,50,.4)}[data-theme=rose]{--accent: #C2547A;--accent-light: #FAE8EF;--accent-text: #8F2D4E;--bg: #fdf6f8;--bg-card: #ffffff;--bg-input: #ffffff;--bg-input-subtle: #fdf9fa;--bg-subtle: #faeef2;--bg-hover: #f5e4ea;--bg-nav: #ffffff;--text-primary: #2a1a1f;--text-secondary: #5c3a46;--text-muted: #9a7080;--text-faint: #c4a0b0;--text-placeholder:#d4b0c0;--border: #f0d8e0;--border-light: #f8edf0;--border-input: #e8c8d4;--border-input-focus: #C2547A;--status-started-bg: #FAE8EF;--status-started-text: #8F2D4E;--status-done-bg: #E8F5E9;--status-done-text: #2E7D32;--type-weighted-bg: #FAE8EF;--type-weighted-text: #8F2D4E;--type-body-bg: #E8F5E9;--type-body-text: #2E7D32;--type-timed-bg: #FFF3CD;--type-timed-text: #7D5A00;--type-cardio-bg: #FAE8EF;--type-cardio-text: #8F2D4E;--type-interval-bg: #EDE7F6;--type-interval-text: #4527A0;--shadow-nav: 0 4px 24px rgba(194,84,122,.12), 0 1px 4px rgba(0,0,0,.06);--overlay: rgba(42,26,31,.4)}[data-theme=pine]{--accent: #2ecc71;--accent-light: #0d2a18;--accent-text: #5ddfa0;--bg: #111111;--bg-card: #1a1a1a;--bg-input: #242424;--bg-input-subtle: #202020;--bg-subtle: #1e1e1e;--bg-hover: #282828;--bg-nav: #1a1a1a;--text-primary: #f0f0f0;--text-secondary: #b8b8b8;--text-muted: #707070;--text-faint: #585858;--text-placeholder:#3a3a3a;--border: #2a2a2a;--border-light: #222222;--border-input: #363636;--border-input-focus: #2ecc71;--success-bg: #0d2a18;--success-text: #2ecc71;--danger: #b04848;--danger-bg: #2a0a0a;--status-started-bg: #2a1e00;--status-started-text: #d4a030;--status-done-bg: #0d2a18;--status-done-text: #2ecc71;--type-weighted-bg: #0d2a18;--type-weighted-text: #5ddfa0;--type-body-bg: #0d2a18;--type-body-text: #5ddfa0;--type-timed-bg: #2a1e00;--type-timed-text: #d4a030;--type-cardio-bg: #2a0a0a;--type-cardio-text: #e07070;--type-interval-bg: #1a0d30;--type-interval-text: #9080e0;--shadow-nav: 0 4px 24px rgba(0,0,0,.6), 0 1px 4px rgba(0,0,0,.4);--overlay: rgba(0,0,0,.7)}*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}html{overflow-y:scroll;-ms-overflow-style:none;scrollbar-width:none}html::-webkit-scrollbar{display:none}html.theme-ready *{transition:background-color .2s ease,border-color .2s ease,color .15s ease}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:var(--bg);color:var(--text-primary);max-width:560px;margin:0 auto}*{scrollbar-width:none;-ms-overflow-style:none}*::-webkit-scrollbar{display:none}.app{display:flex;flex-direction:column;min-height:100vh;padding-top:env(safe-area-inset-top)}.screen{flex:1;padding:16px 16px 100px}.bottom-nav{position:fixed;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:calc(100% - 32px);max-width:528px;display:flex;background:var(--bg-nav);border-radius:20px;padding:8px;gap:4px;box-shadow:var(--shadow-nav);border:1px solid var(--border);z-index:50}.nav-btn{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px 4px;border:none;border-radius:14px;background:none;color:var(--text-placeholder);cursor:pointer;font-size:10px;font-family:inherit;transition:background .15s,color .15s;width:auto}.nav-btn:hover{background:var(--bg-hover);color:var(--text-muted)}.nav-btn.active{background:var(--accent);color:#fff;font-weight:500}.nav-icon-wrap{position:relative;display:flex;align-items:center;justify-content:center}.nav-badge{position:absolute;top:-2px;right:-4px;width:8px;height:8px;border-radius:50%;background:var(--accent);border:2px solid var(--bg);pointer-events:none}.login{display:flex;flex-direction:column;gap:10px;padding:40px 24px;max-width:360px;margin:0 auto;min-height:100vh;justify-content:center}.login-header{text-align:center;margin-bottom:8px}@keyframes squat{0%{transform:translateY(0) scaleY(1)}40%{transform:translateY(10px) scaleY(.7)}60%{transform:translateY(10px) scaleY(.7)}to{transform:translateY(0) scaleY(1)}}.login-header h1{font-size:24px;font-weight:500;margin-bottom:6px}.login-header p{font-size:14px;color:var(--text-muted)}.google-btn{display:flex;align-items:center;justify-content:center;gap:10px;background:var(--bg-card);color:var(--text-primary);border:1px solid var(--border-input);padding:11px;border-radius:8px;font-size:15px;font-weight:500;cursor:pointer;width:100%;transition:background .12s}.google-btn:hover{background:var(--bg-hover)}.login-switch{text-align:center;font-size:13px;color:var(--text-muted)}.login-success{background:var(--success-bg);color:var(--success-text);border-radius:8px;padding:12px 14px;font-size:14px;line-height:1.5}.login-legal{text-align:center;font-size:13px;color:var(--text-muted);line-height:1.5}input{padding:10px 12px;border:1px solid var(--border-input);border-radius:8px;font-size:15px;width:100%;background:var(--bg-input);color:var(--text-primary)}input:focus{outline:none;border-color:var(--border-input-focus)}input::placeholder{color:var(--text-faint)}button{padding:11px;border-radius:8px;border:1px solid var(--border-input);background:var(--accent);color:#fff;font-size:15px;font-weight:500;cursor:pointer;width:100%;font-family:inherit}button.secondary{background:none;color:var(--accent);border-color:var(--border-input)}button.danger{background:none;color:var(--danger);border-color:var(--danger)}.link-btn{background:none;border:none;color:var(--accent);font-size:13px;padding:0;cursor:pointer;text-decoration:underline;width:auto;display:inline;font-family:inherit}button.small{width:auto;padding:6px 14px;font-size:13px}.divider{text-align:center;color:var(--text-faint);font-size:13px}.error{color:var(--danger);font-size:13px}.loading{display:flex;align-items:center;justify-content:center;height:100vh;color:var(--text-muted)}.loading-small{font-size:13px;color:var(--text-faint);padding:8px 4px}:root{--color-calories: #185FA5;--color-protein: #4CAF82;--color-carbs: #E8A838;--color-fat: #E05C5C}button:disabled{opacity:.5;cursor:not-allowed}button:active:not(:disabled){opacity:.85}button.icon-btn{background:none;border:none;width:auto;padding:6px;color:var(--text-muted);cursor:pointer}button.icon-btn:hover{color:var(--text-primary)}button.icon-btn.danger:hover{color:var(--danger)}textarea{width:100%;padding:10px 12px;background:var(--bg-input);border:1px solid var(--border-input);border-radius:8px;font-size:15px;font-family:inherit;color:var(--text-primary)}textarea:focus{outline:none;border-color:var(--border-input-focus)}textarea::placeholder{color:var(--text-faint)}.card{background:var(--bg-card);border-radius:12px;padding:14px;margin-bottom:12px;box-shadow:0 1px 4px #0000000f,0 0 0 1px var(--border)}.screen-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.screen-header h2{font-size:22px;font-weight:600}.section-label{font-size:13px;color:var(--text-muted);margin:12px 0 6px;font-weight:500;text-transform:uppercase;letter-spacing:.04em}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes salad-bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}.login-icon{font-size:48px;display:inline-block;animation:salad-bounce 1.8s ease-in-out infinite;line-height:1}.auth-error{background:var(--danger-bg);color:var(--danger);border:1px solid var(--danger);border-radius:8px;padding:10px 12px;font-size:14px}.auth-info{background:var(--success-bg);color:var(--success);border:1px solid var(--success);border-radius:8px;padding:10px 12px;font-size:14px}.auth-divider{display:flex;align-items:center;gap:12px;color:var(--text-muted);font-size:13px}.auth-divider:before,.auth-divider:after{content:"";flex:1;height:1px;background:var(--border)}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--overlay);z-index:100;display:flex;align-items:flex-end;justify-content:center}.sheet{background:var(--bg-card);border-radius:16px 16px 0 0;width:100%;max-width:560px;max-height:90dvh;display:flex;flex-direction:column;padding:0 16px 24px}.sheet-header{display:flex;justify-content:space-between;align-items:center;padding:16px 0 12px;border-bottom:1px solid var(--border);margin-bottom:12px}.sheet-header h2{font-size:16px;font-weight:600}.sheet-body{flex:1;overflow-y:auto;padding-bottom:8px;padding-right:8px;margin-right:-8px}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--overlay);z-index:200;display:flex;align-items:center;justify-content:center;padding:24px}.modal{background:var(--bg-card);border-radius:16px;padding:20px;width:100%;max-width:360px}.modal h3{font-size:16px;font-weight:600;margin-bottom:8px}.modal p{font-size:14px;color:var(--text-secondary);margin-bottom:16px;line-height:1.5}.modal-actions{display:flex;flex-direction:column;gap:8px}.calorie-ring-wrap{display:flex;flex-direction:column;align-items:center;padding:4px 0;flex-shrink:0}.calorie-ring-label{margin-top:6px;text-align:center}.calorie-ring-num{font-size:20px;font-weight:700;color:var(--text-primary);line-height:1.1}.calorie-ring-sub{font-size:11px;color:var(--text-muted);margin-top:2px}.macro-bars{display:flex;flex-direction:column;gap:8px;flex:1}.macro-bar-item{display:flex;flex-direction:row;align-items:center;gap:8px}.macro-bar-label{font-size:11px;color:var(--text-muted);font-weight:500;width:48px;flex-shrink:0}.macro-bar-track{flex:1;height:6px;background:var(--border);border-radius:3px;overflow:hidden}.macro-bar-fill{height:100%;border-radius:3px;transition:width .4s ease}.macro-bar-values{font-size:11px;color:var(--text-secondary);width:58px;text-align:right;flex-shrink:0}.macro-bar-values strong{color:var(--text-primary)}.meal-type-section{margin-bottom:16px}.meal-type-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.meal-type-name{font-size:13px;font-weight:600;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.05em}.meal-type-kcal{font-size:13px;color:var(--text-muted)}.meal-food-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid var(--border)}.meal-food-row:last-child{border-bottom:none}.meal-food-name{font-size:14px;color:var(--text-primary);flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-right:8px}.meal-food-meta{font-size:13px;color:var(--text-muted);white-space:nowrap}.food-result-item{padding:12px 0;border-bottom:1px solid var(--border);cursor:pointer}.food-result-item:last-child{border-bottom:none}.food-result-item:active{opacity:.7}.food-result-name{font-size:15px;color:var(--text-primary);margin-bottom:2px}.food-result-macros{font-size:12px;color:var(--text-muted)}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield}.portion-chips{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.portion-chip{padding:6px 12px;border-radius:20px;background:var(--bg-input);border:1.5px solid var(--border);font-size:13px;color:var(--text-secondary);cursor:pointer;width:auto}.portion-chip.active{border-color:var(--accent);color:var(--accent);background:var(--accent-light)}.confidence-badge{display:inline-block;font-size:11px;font-weight:500;padding:2px 8px;border-radius:10px}.confidence-badge.high{color:var(--success-text);background:var(--success-bg)}.confidence-badge.medium{color:var(--warning-text);background:var(--warning-bg)}.confidence-badge.low{color:var(--danger-text);background:var(--danger-bg)}.source-badge{font-size:11px;color:var(--text-muted);background:var(--bg-input);border:1px solid var(--border);border-radius:8px;padding:2px 7px}.preset-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.preset-chip{flex:1 1 auto;min-width:fit-content;padding:8px 10px;border-radius:10px;background:var(--bg-input);border:1.5px solid var(--border);font-size:12px;font-weight:500;color:var(--text-secondary);text-align:center;cursor:pointer;width:auto}.preset-chip.active{border-color:var(--accent);color:var(--accent);background:var(--accent-light)}.history-day{margin-bottom:20px}.history-day-header{font-size:13px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:8px}.empty-state{text-align:center;padding:48px 0;color:var(--text-muted);line-height:1.8}.empty-state p+p{font-size:14px}.onboarding{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;padding:32px 24px;gap:24px;text-align:center}.onboarding-step{width:100%;max-width:360px}.onboarding h1{font-size:26px;font-weight:700;margin-bottom:8px}.onboarding p{color:var(--text-secondary);line-height:1.6;margin-bottom:24px}.onboarding-icon{font-size:56px;margin-bottom:8px;display:block}.step-dots{display:flex;gap:8px;justify-content:center}.step-dot{width:8px;height:8px;border-radius:50%;background:var(--border);transition:background .2s}.step-dot.active{background:var(--accent)}.settings-label{font-size:12px;font-weight:500;color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px;padding-left:4px}.settings-card{background:var(--bg-card);border-radius:12px;border:1px solid var(--border);overflow:hidden;margin-bottom:0}.settings-user{display:flex;align-items:center;justify-content:space-between;padding:14px}.settings-user-name{font-size:15px;font-weight:500;margin-bottom:2px;color:var(--text-primary)}.settings-user-email{font-size:13px;color:var(--text-secondary)}.settings-row{display:flex;align-items:center;justify-content:space-between;padding:12px 14px}.settings-row-name{font-size:15px;margin-bottom:2px;color:var(--text-primary)}.settings-row-sub{font-size:12px;color:var(--text-muted)}.settings-empty{display:flex;flex-direction:column;align-items:center;gap:4px;padding:24px;color:var(--text-muted);font-size:13px}.loading-small{font-size:13px;color:var(--text-muted);padding:8px 4px}.unit-toggle{display:flex;padding:8px;gap:6px}.unit-btn{flex:1;padding:8px;border-radius:8px;border:1px solid var(--border);background:none;font-size:14px;font-weight:500;color:var(--text-secondary);cursor:pointer;width:auto;transition:background .15s,color .15s,border-color .15s}.unit-btn.active{background:var(--accent);border-color:var(--accent);color:#fff}.settings-legal-btn{display:block;width:100%;padding:13px 14px;background:none;border:none;text-align:left;font-size:15px;color:var(--accent);cursor:pointer;border-radius:0;font-family:inherit}.settings-legal-btn:hover{background:var(--bg-input)}.confirm-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--overlay);z-index:200;display:flex;align-items:center;justify-content:center;padding:20px}.confirm-box{background:var(--bg-card);border-radius:12px;padding:24px;display:flex;flex-direction:column;gap:10px;width:100%;max-width:320px}.confirm-box p{font-size:15px;color:var(--text-primary);margin-bottom:4px}.settings-section{margin-bottom:20px}.legal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--overlay);z-index:200;display:flex;align-items:flex-end;justify-content:center}.legal-doc{background:var(--bg-card);border-radius:16px 16px 0 0;width:100%;max-width:560px;max-height:85vh;display:flex;flex-direction:column}.legal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 16px 0;flex-shrink:0}.legal-content{overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px;font-size:14px;line-height:1.6;color:var(--text-secondary)}.legal-content h3{font-size:14px;font-weight:600;color:var(--text-primary);margin-top:4px}.legal-content ul{padding-left:20px;display:flex;flex-direction:column;gap:4px}.legal-date{font-size:12px;color:var(--text-faint)}.close-btn{background:none;border:none;font-size:18px;color:var(--text-muted);width:auto;padding:4px 8px;cursor:pointer}.theme-circles{display:flex;flex-direction:column;padding:8px 12px 12px;border-top:1px solid var(--border-light);gap:4px}.theme-group-label{display:flex;align-items:center;gap:5px;font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--text-faint);padding:4px 2px 0}.theme-group-row{display:flex;flex-wrap:wrap;justify-content:center;align-items:center}.theme-circle-btn{display:flex;flex-direction:column;align-items:center;gap:6px;background:none;border:none;cursor:pointer;padding:6px 0;width:60px}.theme-circle{width:36px;height:36px;border-radius:50%;border:2px solid transparent;transition:box-shadow .15s}.theme-circle-btn.active .theme-circle{box-shadow:0 0 0 3px var(--bg-card),0 0 0 5px var(--accent)}.theme-circle-label{font-size:10px;font-weight:500;color:var(--text-muted);white-space:nowrap}.theme-circle-btn.active .theme-circle-label{color:var(--accent);font-weight:700}.lang-select{width:100%;padding:12px 36px 12px 14px;border:none;border-radius:0;background:var(--bg-card);color:var(--text-primary);font-size:15px;font-family:inherit;cursor:pointer;-moz-appearance:none;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}.lang-select:focus{outline:none}.lang-select option{background:var(--bg-card);color:var(--text-primary)}button.settings-row-btn{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;width:100%;background:none;border:none;border-radius:0;color:var(--text-primary);font-size:15px;font-weight:400;text-align:left;cursor:pointer;font-family:inherit}.theme-row-right{display:flex;align-items:center;gap:10px}.theme-circle-mini{width:22px;height:22px;border-radius:50%;border:2px solid transparent;flex-shrink:0}.theme-chevron{color:var(--text-faint);transition:transform .2s ease;flex-shrink:0}.theme-chevron.open{transform:rotate(180deg)}.consent-row{padding:14px}.consent-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.consent-toggle-label{flex:1}.consent-toggle-label .settings-row-name{margin-bottom:2px}.toggle-switch{position:relative;width:44px;height:26px;flex-shrink:0}.toggle-switch input{opacity:0;width:0;height:0;position:absolute}.toggle-track{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:13px;background:var(--border);cursor:pointer;transition:background .2s}.toggle-switch input:checked+.toggle-track{background:var(--accent)}.toggle-track:after{content:"";position:absolute;width:20px;height:20px;border-radius:50%;background:#fff;top:3px;left:3px;transition:transform .2s;box-shadow:0 1px 3px #00000026}.toggle-switch input:checked+.toggle-track:after{transform:translate(18px)}
