: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)}.recipes-app .screen{padding:0 0 96px}.screen-content{flex:1;padding:8px 16px 24px;min-width:0}.greeting{font-size:13px;color:var(--text-muted);font-weight:400}.greeting-title{font-size:24px;font-weight:600;line-height:1.2;color:var(--text-primary);letter-spacing:-.01em;margin-top:2px}.search-bar-wrap{display:flex;align-items:center;gap:10px;height:42px;box-sizing:border-box;padding:0 14px;background:var(--bg-card);border:1px solid var(--border);border-radius:12px;margin-top:16px}.search-bar-wrap:focus-within{border-color:var(--accent)}.search-bar-wrap>svg{color:var(--text-muted);flex:none}.search-input{flex:1;min-width:0;background:transparent;border:none;font-size:14px;color:var(--text-primary);font-family:inherit}.search-input:focus{outline:none}.search-input::placeholder{color:var(--text-faint)}.search-clear{background:none;border:none;padding:2px;color:var(--text-muted);cursor:pointer;width:auto;display:inline-flex;align-items:center}.lib-sticky .search-bar-wrap{margin:0}.section-cap{font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);font-weight:500;margin:24px 0 10px;display:flex;align-items:center;justify-content:space-between}.recipe-card{display:flex;gap:12px;padding:12px;background:var(--bg-card);border:1px solid var(--border);border-radius:12px;margin-bottom:10px;align-items:stretch;cursor:pointer;width:100%;text-align:left;font:inherit;color:inherit}.recipe-card:hover{background:var(--bg-hover)}.recipe-thumb{width:60px;height:60px;border-radius:8px;background:var(--bg-hover);flex:none;display:flex;align-items:center;justify-content:center;color:var(--text-faint);font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.04em;border:1px solid var(--border);overflow:hidden}.recipe-thumb img{width:100%;height:100%;object-fit:cover;display:block}@keyframes cook-wobble{0%,to{transform:rotate(0)}25%{transform:rotate(-7deg)}75%{transform:rotate(7deg)}}@keyframes cook-wobble-urgent{0%,to{transform:rotate(0)}25%{transform:rotate(-12deg)}75%{transform:rotate(12deg)}}.nav-icon-wrap.cook-active>svg{transform-origin:50% 60%;animation:cook-wobble 2.4s ease-in-out infinite;will-change:transform}.nav-icon-wrap.cook-urgent>svg{animation:cook-wobble-urgent .7s ease-in-out infinite;color:var(--status-started-text)}@media (prefers-reduced-motion: reduce){.nav-icon-wrap.cook-active>svg,.nav-icon-wrap.cook-urgent>svg{animation:none}}.recipe-hero-img{aspect-ratio:16 / 9;width:100%;border-radius:12px;overflow:hidden;margin-bottom:14px;background:var(--bg-hover);border:1px solid var(--border)}.recipe-hero-img img{width:100%;height:100%;object-fit:cover;display:block}.cover-slot{display:block;width:100%;aspect-ratio:16 / 9;border:1.5px dashed var(--border);border-radius:12px;background:var(--bg-card);color:var(--text-muted);cursor:pointer;font:inherit;padding:0;overflow:hidden;position:relative}.cover-slot:hover{background:var(--bg-hover);border-color:var(--accent)}.cover-slot.has-photo{border-style:solid;cursor:default}.cover-slot-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:13px}.cover-slot img{width:100%;height:100%;object-fit:cover;display:block}.cover-slot-actions{display:flex;gap:8px;margin-top:8px}.cover-slot-actions .meta-chip{cursor:pointer}.cover-cropper-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;background:#000000b8;display:flex;align-items:stretch;justify-content:center}.cover-cropper-panel{width:100%;max-width:560px;background:#000;display:flex;flex-direction:column;overflow:hidden}@media (min-width: 720px){.cover-cropper-overlay{padding:32px 16px;align-items:center}.cover-cropper-panel{height:min(720px,90vh);border-radius:16px;box-shadow:0 20px 60px #00000080}}.cover-cropper-header{display:flex;align-items:center;gap:10px;padding:10px 12px;background:var(--bg-card);border-bottom:1px solid var(--border)}.cover-cropper-header h1{flex:1;font-size:16px;font-weight:600;margin:0;color:var(--text-primary)}.cover-cropper-stage{position:relative;flex:1;background:#000;min-height:0}.cover-cropper-controls{padding:12px 16px;background:var(--bg-card);border-top:1px solid var(--border);display:flex;flex-direction:column;gap:10px}.cover-cropper-desc{font-size:12px;color:var(--text-muted)}.cover-cropper-controls input[type=range]{width:100%;accent-color:var(--accent)}.cover-cropper-error{font-size:13px;color:#d44}.recipe-meta{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;justify-content:center}.recipe-title-row{display:flex;align-items:center;gap:6px}.recipe-title{font-size:16px;font-weight:600;color:var(--text-primary);line-height:1.2}.recipe-fav-mark{color:var(--accent);display:inline-flex}.recipe-sub{font-size:13px;color:var(--text-muted);line-height:1.3;display:flex;gap:6px;align-items:center;flex-wrap:wrap}.recipe-sub .dot:before{content:"·";margin:0 2px}.recipe-rating{color:var(--accent);display:inline-flex;align-items:center;gap:2px;font-weight:500}.lib-content{padding-top:0}.lib-sticky{position:sticky;top:0;z-index:5;background:var(--bg);padding:14px 0 10px;margin:0 0 4px;border-bottom:1px solid var(--border-light)}.lib-greeting-row{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:12px}.lib-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px}.lib-title{font-size:22px;font-weight:600;line-height:1.2;letter-spacing:-.01em;color:var(--text-primary);margin:0}.add-recipe-btn{flex:none;width:auto;display:inline-flex;align-items:center;gap:6px;background:var(--accent);color:#fff;border:none;border-radius:10px;padding:8px 12px;font:inherit;font-size:13px;font-weight:600;line-height:1;cursor:pointer;white-space:nowrap}.add-recipe-btn>svg{display:block;flex:none}.add-recipe-btn>span{display:inline-flex;align-items:center;height:14px;line-height:14px}.add-recipe-btn:hover{filter:brightness(1.05)}.lib-sticky .search-bar-wrap{margin-top:0}.lib-search-sort-row{display:flex;gap:8px;align-items:center;margin-top:12px}.lib-search-sort-row .search-bar-wrap{flex:1;margin-top:0}.sort-btn-wrap{position:relative;flex:none}.sort-btn{width:42px;height:42px;background:var(--bg-card);border:1px solid var(--border);border-radius:10px;color:var(--text-secondary);display:flex;align-items:center;justify-content:center;cursor:pointer;font-family:inherit}.sort-btn.active{color:var(--accent);border-color:var(--accent);background:var(--accent-light)}.sort-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:99}.sort-popover{position:absolute;right:0;top:calc(100% + 6px);background:var(--bg-card);border:1px solid var(--border);border-radius:12px;box-shadow:0 4px 20px #0000001f,0 1px 4px #0000000f;z-index:100;min-width:176px;overflow:hidden}.sort-option{display:flex;align-items:center;gap:8px;padding:11px 14px;width:100%;background:transparent;border:none;font-size:14px;color:var(--text-primary);cursor:pointer;font-family:inherit;text-align:left;white-space:nowrap}.sort-option+.sort-option{border-top:1px solid var(--border-light)}.sort-option:hover{background:var(--bg-hover)}.sort-option.on{color:var(--accent);font-weight:600}.sort-option .check-icon{color:var(--accent);flex:none}.sort-option-gap{width:13px;height:13px;flex:none;display:inline-block}.filter-chips{display:flex;gap:6px;overflow-x:auto;padding:10px 0 2px;scrollbar-width:none}.filter-chips::-webkit-scrollbar{display:none}.filter-chip{flex:none;padding:6px 12px;border-radius:999px;border:1px solid var(--border-input);background:var(--bg-card);color:var(--text-secondary);font-size:13px;font-weight:500;cursor:pointer;white-space:nowrap;font-family:inherit;width:auto}.filter-chip.on{background:var(--accent);border-color:var(--accent);color:#fff}.lib-count{font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);font-weight:500;margin:16px 0 10px}.add-recipe-fab{flex:none;width:44px;height:44px;border-radius:22px;background:var(--accent);color:#fff;border:none;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-family:inherit;box-shadow:0 4px 12px #0000001a,0 1px 3px #0000000f;padding:0}.add-recipe-fab:hover{filter:brightness(1.05)}.sub-header{display:flex;align-items:center;justify-content:space-between;padding:10px 0;margin-bottom:4px;gap:8px}.sub-header h1{font-size:17px;font-weight:600;flex:1;text-align:center;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sub-header .icon-btn{flex:none}.sub-header .spacer{width:36px;flex:none}.icon-btn{background:none;border:none;padding:6px;width:auto;color:var(--text-primary);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;font:inherit}.icon-btn:hover{background:var(--bg-hover)}.icon-btn.muted{color:var(--text-muted)}.icon-btn.accent{color:var(--accent)}.text-link-btn{background:none;border:none;padding:6px 4px;color:var(--accent);font-weight:500;font-size:15px;width:auto;cursor:pointer;font-family:inherit}.text-link-btn:disabled{color:var(--text-faint)}.recipe-hero{display:flex;flex-direction:column;gap:8px;margin-top:4px}.recipe-hero h1{font-size:26px;font-weight:600;letter-spacing:-.01em;line-height:1.15}.recipe-hero .meta{display:flex;gap:10px;align-items:center;color:var(--text-muted);font-size:13px;flex-wrap:wrap}.recipe-hero .stars{color:var(--accent);display:inline-flex;gap:2px;align-items:center;font-weight:500}.recipe-hero .tag-row{display:flex;gap:6px;flex-wrap:wrap;margin-top:4px}.tag{font-size:11px;padding:3px 8px;border-radius:6px;background:var(--bg-hover);color:var(--text-secondary);font-weight:500}.cta-row{display:flex;gap:8px;margin-top:16px}.btn-primary{background:var(--accent);color:#fff;border:none;border-radius:10px;padding:13px;font-size:15px;font-weight:500;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:1;font-family:inherit;width:100%}.btn-primary:hover{filter:brightness(1.05)}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.btn-secondary{background:transparent;color:var(--text-primary);border:1px solid var(--border-input);border-radius:10px;padding:13px 16px;font-size:15px;font-weight:500;cursor:pointer;display:inline-flex;align-items:center;gap:6px;width:auto;font-family:inherit}.serv-stepper{display:flex;align-items:center;gap:8px;background:var(--bg-card);border:1px solid var(--border);border-radius:8px;padding:4px;width:fit-content}.serv-stepper button{width:28px;height:28px;border:none;background:transparent;color:var(--text-secondary);border-radius:6px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0}.serv-stepper button:hover{background:var(--bg-hover)}.serv-stepper .val{font-size:14px;font-weight:600;min-width:24px;text-align:center}.ing-list{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;overflow:hidden}.ing-row{display:flex;align-items:center;gap:12px;padding:11px 14px;font-size:14px}.ing-row+.ing-row{border-top:1px solid var(--border-light)}.ing-row .qty{font-family:ui-monospace,SFMono-Regular,monospace;font-size:13px;font-weight:600;color:var(--text-secondary);min-width:64px;flex:none}.ing-row .name{flex:1;color:var(--text-primary)}.ing-row.in-use{background:var(--accent-light)}.step-list{display:flex;flex-direction:column;gap:10px}.step-card{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;padding:14px;display:flex;gap:12px;align-items:flex-start;transition:border-color .15s,background .15s}.step-card.active{border-color:var(--accent);border-width:2px;padding:13px;background:var(--accent-light)}.step-card.done{opacity:.6}.step-card.done .step-text{text-decoration:line-through;color:var(--text-muted)}.step-num{width:26px;height:26px;border-radius:50%;border:1.5px solid var(--border-input);display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;color:var(--text-muted);flex:none;background:var(--bg-card);padding:0;font-family:inherit}button.step-num{cursor:pointer}.step-card.active .step-num{background:var(--accent);border-color:var(--accent);color:#fff}.step-card.done .step-num{background:var(--success-text);border-color:var(--success-text);color:#fff}.step-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}.step-text{font-size:15px;line-height:1.45;color:var(--text-primary)}.step-card.active .step-text{font-weight:500}.step-card.done .step-text{color:var(--text-muted)}.step-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--text-muted)}.step-meta .meta-pill{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;background:var(--bg-hover);border-radius:6px;font-weight:500}.step-card.active .step-meta .meta-pill{background:var(--bg-card)}.timer-strip{position:sticky;top:0;z-index:4;background:var(--bg);margin:0 -16px;padding:10px 16px 12px}.timer-strip .row{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory}.timer-pill{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:999px;border:1px solid var(--accent);background:var(--accent-light);color:var(--accent-text);font-family:ui-monospace,SFMono-Regular,monospace;font-size:13px;font-weight:600;white-space:nowrap;flex:none;cursor:pointer;scroll-snap-align:start;width:auto}.timer-pill.running{background:var(--accent);color:#fff;border-color:var(--accent)}.timer-pill.done{background:var(--success-bg);color:var(--success-text);border-color:var(--success-text);animation:timer-pulse 1.4s ease-in-out infinite}@keyframes timer-pulse{0%,to{box-shadow:0 0 #0000}50%{box-shadow:0 0 0 6px #6399221f}}.timer-pill .pill-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-weight:500;opacity:.85}.timer-pill .pill-name:after{content:" · ";opacity:.5}.timer-pill svg{color:currentColor}.timer-add{background:transparent;color:var(--text-muted);border:1px dashed var(--border-input)}.inline-timer-btn{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;border:1px solid var(--accent);background:transparent;color:var(--accent);font-family:ui-monospace,SFMono-Regular,monospace;font-size:13px;font-weight:600;cursor:pointer;width:auto}.inline-timer-btn.running{background:var(--accent);color:#fff}.inline-timer-btn svg{color:currentColor}.wake-indicator{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:var(--text-muted);letter-spacing:.02em}.wake-indicator .wake-dot{width:6px;height:6px;border-radius:50%;background:var(--success-text);animation:wake-pulse 2.2s ease-in-out infinite}@keyframes wake-pulse{0%,to{opacity:.4}50%{opacity:1}}.ing-accordion-toggle{width:100%;padding:12px 14px;background:var(--bg-card);border:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-family:inherit;color:inherit;border-radius:12px;font-size:14px;font-weight:500}.ing-accordion-toggle.open{border-radius:12px 12px 0 0}.ing-list.attached{border-top-left-radius:0;border-top-right-radius:0;border-top:none}.cook-meta-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:12px;color:var(--text-muted)}.stop-cook-btn{margin-top:16px;padding:10px;width:100%;background:transparent;border:none;color:var(--text-muted);font-size:13px;cursor:pointer;font-family:inherit}.focus-stage{flex:1;min-height:0;display:flex;flex-direction:column;padding:16px}.focus-progress{display:flex;gap:4px;align-items:center;padding:4px 0 12px}.focus-progress .seg{flex:1;height:3px;border-radius:2px;background:var(--bg-hover)}.focus-progress .seg.done,.focus-progress .seg.active{background:var(--accent)}.focus-step{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:16px;padding:0 8px}.focus-step .eyebrow{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);font-weight:500}.focus-step h2{font-size:24px;font-weight:500;line-height:1.3;color:var(--text-primary);letter-spacing:-.005em}.focus-step .meta{display:flex;gap:8px;align-items:center;color:var(--text-muted);font-size:13px}.focus-step .focus-note{font-size:13px;color:var(--text-muted);max-width:280px;text-align:center;font-style:italic}.focus-uses{display:flex;flex-direction:column;gap:4px;width:100%;max-width:320px;padding:10px 14px;background:var(--bg-card);border:1px solid var(--border);border-radius:12px}.focus-uses-row{display:flex;gap:10px;align-items:baseline;font-size:14px}.focus-uses-row .qty{flex:none;min-width:64px;color:var(--text-muted);font-variant-numeric:tabular-nums}.focus-uses-row .name{flex:1;color:var(--text-primary);text-align:left}.big-timer{display:flex;flex-direction:column;align-items:center;gap:8px;padding:18px 28px;border:2px solid var(--accent);border-radius:18px;background:var(--accent-light);cursor:pointer;font-family:inherit;width:auto}.big-timer .num{font-family:ui-monospace,SFMono-Regular,monospace;font-size:40px;font-weight:700;color:var(--accent-text);letter-spacing:-.02em;line-height:1}.big-timer.running{background:var(--accent)}.big-timer.running .num,.big-timer.running .lbl{color:#fff}.big-timer .lbl{font-size:12px;color:var(--text-muted)}.focus-controls{display:flex;gap:10px;padding:16px 0 8px}.cook-strip{position:fixed;left:50%;transform:translate(-50%);bottom:calc(max(16px,env(safe-area-inset-bottom)) + 80px);width:calc(100% - 32px);max-width:528px;z-index:49;display:flex;flex-direction:column;gap:6px;pointer-events:none}.cook-strip-row{background:var(--bg-card);border:1px solid var(--border);border-radius:14px;box-shadow:0 4px 16px #00000014,0 1px 3px #0000000f;pointer-events:auto;overflow:hidden}.cook-strip-main{display:flex;align-items:center;gap:10px;padding:10px 12px;width:100%;background:transparent;border:none;cursor:pointer;font:inherit;color:inherit;text-align:left}.cs-thumb{width:32px;height:32px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;flex:none}.cs-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.cs-title{font-size:13px;font-weight:600;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cs-sub{font-size:11px;color:var(--text-muted)}.cs-timer{font-family:ui-monospace,SFMono-Regular,monospace;font-size:12px;font-weight:600;padding:4px 8px;border-radius:8px;background:var(--accent-light);color:var(--accent-text);display:inline-flex;align-items:center;gap:4px;flex:none}.cs-timer.done{background:var(--success-bg);color:var(--success-text);animation:timer-pulse 1.4s ease-in-out infinite}.cs-chev{color:var(--text-muted);flex:none;display:inline-flex}.sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--overlay);z-index:200;animation:fade-in .18s ease;display:flex;align-items:flex-end;justify-content:center}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.sheet{position:relative;width:100%;max-width:560px;background:var(--bg);border-radius:20px 20px 0 0;max-height:85vh;display:flex;flex-direction:column;animation:slide-up .22s cubic-bezier(.2,.8,.2,1);border-top:1px solid var(--border)}@keyframes slide-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}.sheet-handle{width:36px;height:4px;border-radius:2px;background:var(--border-input);margin:8px auto 4px}.sheet-head{display:flex;align-items:center;justify-content:space-between;padding:8px 16px 14px;border-bottom:1px solid var(--border-light)}.sheet-head h2{font-size:17px;font-weight:600}.sheet-body{padding:16px;overflow-y:auto;flex:1}.wiz-progress{display:flex;gap:4px;padding:0 0 16px}.wiz-progress .seg{flex:1;height:3px;border-radius:2px;background:var(--bg-hover)}.wiz-progress .seg.on{background:var(--accent)}.wiz-step-label{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);font-weight:500}.wiz-title{font-size:22px;font-weight:600;margin-top:4px;letter-spacing:-.01em}.wiz-sub{font-size:14px;color:var(--text-muted);margin-top:6px;line-height:1.45}.field-label{font-size:12px;font-weight:500;color:var(--text-muted);letter-spacing:.02em;margin-bottom:6px;display:block}.field-input,.field-textarea{width:100%;background:var(--bg-input);border:1px solid var(--border-input);border-radius:10px;padding:11px 12px;font-size:15px;color:var(--text-primary);font-family:inherit}.field-input:focus,.field-textarea:focus{outline:none;border-color:var(--accent)}.field-textarea{resize:vertical;min-height:80px;line-height:1.45}.editable-row{display:flex;gap:8px;align-items:center;padding:8px;background:var(--bg-card);border:1px solid var(--border);border-radius:10px;margin-bottom:6px}.editable-row .drag{color:var(--text-faint);cursor:grab;flex:none;display:inline-flex;align-items:center}.editable-row .move-controls{display:flex;flex-direction:column;flex:none}.editable-row .move-controls button{background:none;border:none;padding:1px 4px;color:var(--text-faint);cursor:pointer;width:auto;display:inline-flex;align-items:center;justify-content:center}.editable-row .move-controls button:disabled{opacity:.25;cursor:default}.editable-row .move-controls button:not(:disabled):hover{color:var(--text-primary)}.editable-row .qty-input{width:78px;flex:none;background:var(--bg-input);border:1px solid var(--border-input);border-radius:8px;padding:7px 8px;font-family:ui-monospace,SFMono-Regular,monospace;font-size:13px;color:var(--text-primary)}.editable-row .name-input{flex:1;min-width:0;background:transparent;border:none;padding:7px 0;font-size:14px;color:var(--text-primary)}.editable-row .name-input:focus{outline:none}.editable-row .remove-btn{background:none;border:none;padding:4px;color:var(--text-faint);cursor:pointer;width:auto}.editable-row .remove-btn:hover{color:var(--danger)}.add-row-btn{display:flex;align-items:center;gap:6px;padding:10px 12px;width:100%;background:transparent;border:1px dashed var(--border-input);border-radius:10px;color:var(--text-muted);font-size:14px;font-weight:500;cursor:pointer;font-family:inherit}.add-row-btn:hover{color:var(--accent);border-color:var(--accent)}.step-edit-card{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;padding:12px;margin-bottom:8px;display:flex;flex-direction:column;gap:8px}.step-edit-head{display:flex;align-items:center;gap:8px}.step-edit-num{width:26px;height:26px;border-radius:50%;background:var(--bg-hover);display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;color:var(--text-muted);flex:none}.step-edit-meta-row{display:flex;gap:6px;flex-wrap:wrap}.meta-chip{display:inline-flex;align-items:center;gap:4px;padding:5px 10px;border-radius:999px;border:1px solid var(--border-input);background:var(--bg-card);color:var(--text-secondary);font-size:12px;font-weight:500;cursor:pointer;width:auto;font-family:inherit}.meta-chip.on{background:var(--accent-light);border-color:var(--accent);color:var(--accent-text)}.meta-chip.add{color:var(--text-muted);border-style:dashed}.uses-picker{display:flex;flex-wrap:wrap;gap:6px;padding:8px;margin-top:4px;background:var(--bg-input);border:1px solid var(--border);border-radius:10px}.tag-chip-row{display:flex;gap:6px;flex-wrap:wrap}.source-intro{margin-top:8px;margin-bottom:16px}.source-intro h2{font-size:22px;font-weight:600;letter-spacing:-.01em}.source-intro p{font-size:14px;color:var(--text-muted);margin-top:6px;line-height:1.45}.source-hero{background:var(--accent-light);border:1.5px dashed var(--accent);border-radius:16px;padding:24px 16px;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;cursor:pointer;width:100%;font:inherit;color:inherit}.source-hero .iconwrap{width:48px;height:48px;border-radius:12px;background:var(--accent);color:#fff;display:inline-flex;align-items:center;justify-content:center}.source-hero h2{font-size:18px;font-weight:600;color:var(--accent-text)}.source-hero p{font-size:13px;color:var(--text-secondary);margin:0;line-height:1.4}.source-list{display:flex;flex-direction:column;gap:8px;margin-top:12px}.source-row{display:flex;align-items:center;gap:12px;padding:12px 14px;background:var(--bg-card);border:1px solid var(--border);border-radius:12px;cursor:pointer;width:100%;text-align:left;font-family:inherit;color:inherit}.source-row:hover{background:var(--bg-hover)}.source-row .icowrap{width:36px;height:36px;border-radius:8px;background:var(--bg-hover);color:var(--text-secondary);display:inline-flex;align-items:center;justify-content:center;flex:none}.source-row .body{flex:1;min-width:0}.source-row .body .t{font-size:15px;font-weight:500;color:var(--text-primary)}.source-row .body .s{font-size:12px;color:var(--text-muted);margin-top:1px}.extracting{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:60px 24px;text-align:center}.extracting .pulse{width:64px;height:64px;border-radius:16px;background:var(--accent-light);color:var(--accent);display:inline-flex;align-items:center;justify-content:center;animation:extracting-pulse 1.6s ease-in-out infinite}@keyframes extracting-pulse{0%,to{transform:scale(1);box-shadow:0 0 #0000002e}50%{transform:scale(1.04);box-shadow:0 0 0 12px #0000}}.extracting h2{font-size:18px;font-weight:600}.extracting p{font-size:13px;color:var(--text-muted)}.extracting .check-list{display:flex;flex-direction:column;gap:8px;text-align:left;width:100%;max-width:280px;margin-top:8px}.extracting .check-row{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--text-secondary)}.extracting .check-row.done{color:var(--text-muted)}.extracting .check-row.done .marker{background:var(--success-text);border-color:var(--success-text);color:#fff}.extracting .check-row .marker{width:18px;height:18px;border-radius:50%;border:1.5px solid var(--border-input);display:inline-flex;align-items:center;justify-content:center;flex:none}.extract-banner{background:var(--success-bg);border:1px solid var(--success-text);border-radius:10px;padding:10px 12px;font-size:13px;color:var(--success-text);display:flex;gap:8px;align-items:center;margin-bottom:12px}.streak-card{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;padding:14px 16px;display:flex;align-items:center;gap:14px}.streak-num{font-size:28px;font-weight:700;color:var(--accent);letter-spacing:-.02em;line-height:1}.streak-body{flex:1;min-width:0}.streak-body .t{font-size:14px;font-weight:500;color:var(--text-primary)}.streak-body .s{font-size:12px;color:var(--text-muted);margin-top:2px}.history-toolbar{display:flex;justify-content:space-between;align-items:center;margin-top:18px;margin-bottom:8px;gap:8px;flex-wrap:wrap}.history-toolbar-label{font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);font-weight:500}.history-card{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;padding:12px 14px;margin-bottom:8px}.history-head{display:flex;gap:10px;align-items:flex-start;margin-bottom:6px}.history-head .meta{flex:1}.history-head h3{font-size:15px;font-weight:600;line-height:1.2}.history-head .sub{font-size:12px;color:var(--text-muted);margin-top:3px;display:flex;gap:4px;align-items:center}.history-head .stars{color:var(--accent);display:inline-flex;gap:1px;align-items:center;font-weight:500;font-size:12px}.history-recook{background:var(--accent-light);color:var(--accent-text);border:1px solid transparent;border-radius:8px;padding:6px 10px;font-size:12px;font-weight:500;cursor:pointer;display:inline-flex;align-items:center;gap:4px;width:auto;font-family:inherit;flex:none}.history-recook:hover{background:var(--accent);color:#fff}.history-note{font-size:13px;color:var(--text-secondary);background:var(--bg-subtle);padding:8px 10px;border-radius:8px;line-height:1.4;font-style:italic}.view-toggle{display:inline-flex;gap:4px;background:var(--bg-subtle);border:1px solid var(--border);border-radius:10px;padding:3px}.view-toggle button{padding:6px 10px;background:transparent;border:none;color:var(--text-muted);font-size:12px;font-weight:500;cursor:pointer;border-radius:8px;width:auto;display:inline-flex;align-items:center;gap:4px;font-family:inherit}.view-toggle button.on{background:var(--bg-card);color:var(--text-primary);box-shadow:0 1px 2px #0000000a}.cal-month{font-size:14px;font-weight:600;margin:12px 0 8px;color:var(--text-primary)}.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;width:100%;min-width:0}.cal-cell.dow{font-size:10px;color:var(--text-muted);letter-spacing:.04em;text-transform:uppercase;font-weight:500;border-radius:0}.cal-cell{aspect-ratio:1;display:flex;align-items:center;justify-content:center;font-size:11px;color:var(--text-secondary);border-radius:6px;position:relative;min-width:0}.cal-cell.empty{color:var(--text-faint)}.cal-cell.cooked{background:var(--accent);color:#fff;font-weight:500}.cal-cell.cooked-soft{background:var(--accent-light);color:var(--accent-text);font-weight:500}.cal-cell.today{border:1.5px solid var(--accent)}.cal-legend{display:flex;gap:12px;align-items:center;margin-top:14px;font-size:12px;color:var(--text-muted);justify-content:center;flex-wrap:wrap}.cal-legend .swatch{display:inline-flex;gap:5px;align-items:center}.cal-legend .swatch i{width:10px;height:10px;border-radius:3px;display:inline-block}.cal-legend .swatch.soft i{background:var(--accent-light);border:1px solid var(--accent)}.cal-legend .swatch.full i{background:var(--accent)}.empty{text-align:center;padding:60px 20px;color:var(--text-muted);font-size:14px}.empty .glyph{font-size:36px;margin-bottom:12px}.empty h3{font-size:16px;color:var(--text-primary);font-weight:600;margin-bottom:4px}.selected-strip{display:flex;flex-direction:column;gap:6px}.selected-page{display:flex;align-items:center;gap:12px;padding:8px 10px;background:var(--bg-card);border:1px solid var(--border);border-radius:12px}.sp-thumb{width:44px;height:44px;border-radius:8px;background:var(--accent-light);display:inline-flex;align-items:center;justify-content:center;font-size:20px;flex:none;border:1px solid var(--border)}.sp-info{flex:1;min-width:0;display:flex;gap:10px;align-items:baseline}.sp-num{font-family:ui-monospace,SFMono-Regular,monospace;font-size:12px;font-weight:700;color:var(--accent);width:18px;flex:none}.sp-label{font-size:14px;font-weight:500;color:var(--text-primary)}.sp-actions{display:flex;gap:2px;flex:none}.sp-actions button{width:28px;height:28px;background:transparent;border:none;color:var(--text-muted);cursor:pointer;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;padding:0}.sp-actions button:hover:not(:disabled){background:var(--bg-hover);color:var(--text-primary)}.sp-actions button:disabled{color:var(--text-faint);cursor:not-allowed}.sp-actions button.remove:hover{color:var(--danger)}.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.photo-tile{aspect-ratio:1;background:var(--bg-card);border:1px solid var(--border);border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer;font-family:inherit;color:inherit;position:relative;text-align:center;padding:4px;width:auto}.photo-tile.on{border-color:var(--accent);border-width:2px;padding:3px}.pt-emoji{font-size:24px}.pt-label{font-size:11px;font-weight:600;color:var(--text-primary)}.pt-sub{font-size:10px;color:var(--text-muted);line-height:1.2;padding:0 4px}.pt-badge{position:absolute;top:6px;right:6px;width:20px;height:20px;border-radius:50%;background:var(--accent);color:#fff;font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;font-family:ui-monospace,monospace}.share-row{display:flex;align-items:center;gap:12px;padding:12px 14px;background:var(--bg-card);border:1px solid var(--border);border-radius:12px;margin-bottom:8px;width:100%;cursor:pointer;font-family:inherit;color:inherit;text-align:left}.share-row .icowrap{width:36px;height:36px;border-radius:8px;background:var(--bg-hover);color:var(--text-secondary);display:inline-flex;align-items:center;justify-content:center;flex:none}.share-row .body{flex:1;min-width:0;display:flex;flex-direction:column}.share-row .body .t{font-size:14px;font-weight:500;color:var(--text-primary)}.share-row .body .s{font-size:12px;color:var(--text-muted);margin-top:2px}.share-link-card{background:var(--bg-subtle);border:1px solid var(--border);border-radius:12px;padding:12px 14px;margin-bottom:12px;display:flex;align-items:center;gap:10px}.share-link-card .link{flex:1;min-width:0;font-family:ui-monospace,monospace;font-size:13px;color:var(--text-primary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.share-link-card button{background:var(--accent);color:#fff;border:none;border-radius:8px;padding:7px 12px;font-size:12px;font-weight:600;cursor:pointer;font-family:inherit;flex:none;display:inline-flex;align-items:center;gap:4px;width:auto}.visibility-row{display:flex;align-items:flex-start;gap:12px;padding:12px 14px;background:var(--bg-card);border:1px solid var(--border);border-radius:12px;margin-bottom:6px;cursor:pointer;font-family:inherit;color:inherit;text-align:left;width:100%}.visibility-row.on{border-color:var(--accent);border-width:2px;padding:11px 13px;background:var(--accent-light)}.visibility-row .radio{width:18px;height:18px;border-radius:50%;border:1.5px solid var(--border-input);flex:none;display:inline-flex;align-items:center;justify-content:center;margin-top:2px}.visibility-row.on .radio{border-color:var(--accent)}.visibility-row.on .radio:after{content:"";width:9px;height:9px;border-radius:50%;background:var(--accent)}.visibility-row .body{flex:1;display:flex;flex-direction:column}.visibility-row .body .t{font-size:14px;font-weight:600;color:var(--text-primary)}.visibility-row .body .s{font-size:12px;color:var(--text-muted);margin-top:2px;line-height:1.4}.visibility-row .vis-icon{color:var(--text-secondary);margin-top:1px;display:inline-flex}.timer-edit-row{display:inline-flex;align-items:center;gap:6px}.timer-edit-input{width:52px;background:var(--bg-input);border:1px solid var(--accent);border-radius:8px;padding:5px 8px;font-size:13px;font-weight:600;color:var(--text-primary);font-family:ui-monospace,SFMono-Regular,monospace;text-align:center}.timer-edit-input:focus{outline:none}.timer-unit{font-size:12px;color:var(--text-muted);font-weight:500}.heat-edit-input{width:96px;font-family:inherit;text-align:left}.step-note-edit{margin-top:8px;min-height:64px;font-size:13px;line-height:1.5}.step-note{margin-top:6px;padding:8px 10px;border-left:2px solid var(--accent);background:var(--bg-input);border-radius:0 8px 8px 0;font-size:13px;line-height:1.45;color:var(--text-secondary);font-style:italic}.history-stars{display:flex;gap:2px;margin-top:8px}.star-btn{background:none;border:none;padding:3px;color:var(--accent);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;width:auto;transition:transform .1s}.star-btn:hover{transform:scale(1.15)}.rating-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--overlay);z-index:300;display:flex;align-items:center;justify-content:center;padding:24px;animation:fade-in .18s ease}.rating-modal{background:var(--bg);border-radius:20px;padding:32px 24px 24px;width:100%;max-width:320px;text-align:center;box-shadow:0 8px 32px #00000029}.rating-modal h2{font-size:20px;font-weight:600;margin-bottom:6px}.rating-modal p{font-size:14px;color:var(--text-muted);margin-bottom:20px}.rating-stars-row{display:flex;justify-content:center;gap:6px;margin-bottom:20px}.rating-star-btn{background:none;border:none;color:var(--accent);cursor:pointer;width:auto;padding:4px;display:inline-flex;transition:transform .1s}.rating-star-btn:hover{transform:scale(1.2)}.danger-link-btn{background:none;border:none;padding:14px;color:var(--danger, #e05050);font-size:14px;font-weight:500;cursor:pointer;font-family:inherit;width:100%;margin-top:8px}.btn-danger{background:var(--danger, #e05050);color:#fff;border:none;border-radius:10px;padding:13px;font-size:15px;font-weight:500;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;width:100%;font-family:inherit}.confirm-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--overlay);z-index:300;display:flex;align-items:center;justify-content:center;padding:24px;animation:fade-in .18s ease}.confirm-modal{background:var(--bg);border-radius:16px;padding:24px;width:100%;max-width:320px;box-shadow:0 8px 32px #00000029}.confirm-modal p{font-size:15px;line-height:1.4;color:var(--text-primary);margin-bottom:20px}.confirm-modal-btns{display:flex;flex-direction:column;gap:8px}.app.recipes-app{padding:0}.app.recipes-app .screen{padding:0 0 96px}.sp-thumb img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.add-photos-btn{width:100%;margin-top:12px;padding:14px;background:var(--bg-card);border:1px dashed var(--border);border-radius:12px;color:var(--text-secondary);font-family:inherit;font-size:14px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}.add-photos-btn:hover{background:var(--bg-hover);color:var(--text-primary)}.url-input-screen,.text-input-screen{margin-top:18px;padding:0 16px}.text-input-screen .field-textarea{min-height:220px;font-family:inherit}.extracting.extract-error .pulse.error{background:var(--danger-bg, var(--bg-hover));color:var(--danger, var(--text-primary));animation:none}.extract-error-actions{display:flex;flex-direction:column;gap:8px;width:100%;max-width:280px;margin-top:8px}*{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}*{scrollbar-width:none;-ms-overflow-style:none}*::-webkit-scrollbar{display:none}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}.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{display:flex;align-items:center;justify-content:center}.screen-header{display:flex;align-items:center;gap:8px;margin-bottom:16px;min-height:32px}.screen-header h2{font-size:20px;font-weight:500;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.screen-header .header-action{flex-shrink:0}.empty-state{text-align:center;padding:40px 0;color:var(--text-faint);line-height:1.8}.empty-state-icon{color:var(--text-faint);opacity:.5;margin-bottom:12px}.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}.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}.card{background:var(--bg-card);border-radius:12px;padding:14px;margin-bottom:12px;border:1px solid var(--border)}.icon-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;border:none;background:none;color:var(--text-faint);cursor:pointer;padding:0;transition:background .12s,color .12s;flex-shrink:0}.icon-btn:hover{background:var(--bg-hover);color:var(--text-secondary)}.icon-btn.danger{color:var(--text-placeholder)}.icon-btn.danger:hover{background:var(--danger-bg);color:var(--danger)}.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:360px}.confirm-box p{font-size:15px;margin-bottom:4px;color:var(--text-primary)}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0009;z-index:200;display:flex;align-items:center;justify-content:center;padding:24px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-card{background:var(--bg-card);border:1px solid var(--border);border-radius:16px;padding:20px;width:100%;max-width:400px;display:flex;flex-direction:column;gap:10px}.modal-header{display:flex;align-items:center;justify-content:space-between}.close-btn{background:none;border:none;font-size:18px;color:var(--text-muted);width:auto;padding:4px 8px;cursor:pointer}.settings-section{margin-bottom:24px}.settings-label{font-size:12px;font-weight:500;color:var(--text-faint);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}.settings-user{display:flex;align-items:center;justify-content:space-between;padding:14px}.settings-user-info{flex:1;min-width:0}.settings-user-name{font-size:15px;font-weight:500;margin-bottom:2px}.settings-user-email{font-size:13px;color:var(--text-muted)}.settings-row{display:flex;align-items:center;justify-content:space-between;padding:12px 14px}.settings-row-name{font-size:15px;margin-bottom:2px}.settings-row-sub{font-size:12px;color:var(--text-faint)}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}.plan-badge{font-size:11px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;padding:3px 9px;border-radius:20px}.plan-badge-free{background:var(--bg-hover);color:var(--text-muted)}.plan-badge-plus{background:var(--accent);color:#fff}.plan-badge-pro{background:var(--text-primary);color:var(--bg)}.upgrade-option{padding:14px 16px}.upgrade-option-header{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:4px}.upgrade-option-name{font-weight:700;font-size:16px;color:var(--text-primary)}.upgrade-option-price{font-size:13px;color:var(--text-muted)}.upgrade-option-desc{font-size:13px;color:var(--text-muted);line-height:1.4;margin-bottom:10px}.upgrade-btn{width:100%;font-size:14px;padding:10px}.upgrade-modal{padding:0;gap:0;overflow:hidden}.upgrade-modal-header{font-size:16px;font-weight:600;padding:16px 16px 4px;color:var(--text-primary)}.upgrade-modal-footer{padding:8px 16px 16px}.upgrade-toast{position:fixed;bottom:76px;left:50%;transform:translate(-50%);padding:10px 18px;border-radius:20px;font-size:14px;font-weight:500;z-index:300;cursor:pointer;white-space:nowrap;box-shadow:0 4px 16px #00000026}.upgrade-toast.success{background:var(--accent);color:#fff}.upgrade-toast.neutral{background:var(--bg-card);color:var(--text-secondary);border:1px solid var(--border)}.upgrade-toast.fading{opacity:0;transform:translate(-50%) translateY(8px);transition:opacity .5s ease,transform .5s ease}.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)}.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:8px;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)}.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)}.legal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--overlay);z-index:200;display:flex;align-items:flex-end}.legal-doc{background:var(--bg-card);border-radius:16px 16px 0 0;width:100%;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)}.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-hover)}.onboarding-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--bg);z-index:100;display:flex;align-items:center;justify-content:center;padding:24px}.onboarding-card{display:flex;flex-direction:column;gap:12px;width:100%;max-width:360px;text-align:center}.onboarding-icon{font-size:56px;margin-bottom:8px}.onboarding-title{font-size:24px;font-weight:600}.onboarding-desc{font-size:15px;color:var(--text-muted);margin-bottom:8px}
