:root{--paper:#f6f5ef;--white:#fffefa;--ink:#263b30;--body:#39453e;--muted:#777d74;--line:#dfE3d8;--green:#344d3f;--green-dark:#21372a;--green-light:#e8eee3;--sand:#ece7d9;--warm:#bc7c4c;--warning:#f5e9d3;--danger:#a34538;--shadow:0 14px 45px rgba(36,50,35,.07);--radius:20px;--sidebar:220px}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--body);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.55;-webkit-text-size-adjust:100%}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}button,input,select,textarea{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #aebc8d;outline-offset:3px}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3{color:var(--ink)}h1,h2,.serif{font-family:Georgia,"Times New Roman",serif;font-weight:400}h1{font-size:44px;line-height:1.13;letter-spacing:-1.4px;margin-bottom:12px}h2{font-size:31px;line-height:1.2;letter-spacing:-.7px}h3{font-size:18px;line-height:1.35;font-weight:600}p{margin-bottom:12px}small,.small{font-size:12px}img{max-width:100%;display:block}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}.skip-link{position:fixed;top:-100px;left:12px;z-index:500;background:white;padding:12px}.skip-link:focus{top:8px}.btn{min-height:46px;border-radius:11px;padding:11px 17px;font-weight:600;font-size:14px;display:inline-flex;align-items:center;justify-content:center;gap:9px;line-height:1.35;transition:background .16s,transform .16s;white-space:normal}.btn:hover{transform:translateY(-1px)}.btn.primary{background:var(--green);color:white}.btn.primary:hover{background:var(--green-dark)}.btn.secondary{border:1px solid var(--line);background:var(--white)}.btn.soft{background:var(--green-light);color:var(--green)}.btn.ghost{border:1px solid transparent}.btn.danger{color:var(--danger);background:#f9ece6}.btn.small{font-size:12px;min-height:40px;padding:9px 12px}.icon-btn{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;flex-shrink:0}.icon-btn:hover{background:var(--green-light)}.icon-btn.active{color:var(--warm);background:#fbf3e3}.btn.full{width:100%}.muted{color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:10px;font-weight:700;color:#75846c;margin:0 0 12px}.pill{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:600;border-radius:20px;background:var(--green-light);color:var(--green);padding:5px 10px;line-height:1.4}.pill.sand{background:var(--sand);color:#7c674a}.pill.warn{background:var(--warning);color:#866135}.pill.plain{background:transparent;padding:0}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#839671}.dot.offline{background:#c59055}.flex{display:flex;align-items:center;gap:12px}.between{display:flex;align-items:center;justify-content:space-between;gap:16px}.wrap{flex-wrap:wrap}.spacer{flex:1}.text-button{color:var(--green);font-weight:600;font-size:13px;padding:8px 0;min-height:40px}.text-button:hover{text-decoration:underline}.divider{height:1px;background:var(--line);margin:22px 0}.notice{border:1px solid #ddd4ba;background:#faf5e8;border-radius:12px;padding:13px 16px;font-size:13px;line-height:1.65;margin:16px 0;color:#786139}.notice.green{background:var(--green-light);border-color:#dce4d4;color:var(--green)}.notice.error{background:#fbeee8;border-color:#e5c3b7;color:#924d3b}.preline{white-space:pre-line;overflow-wrap:anywhere}.empty{padding:45px 25px;text-align:center;border:1px dashed #cdd5c6;border-radius:var(--radius);background:rgba(255,255,255,.35);color:var(--muted)}.empty h3{font-family:Georgia,serif;font-size:25px;font-weight:400;margin:14px 0 8px}.empty .icon{width:32px;height:32px;color:#8d9d7f}.panel{border:1px solid var(--line);background:var(--white);padding:24px;border-radius:var(--radius)}.panel h3{margin-bottom:12px}.stack>*+*{margin-top:16px}
/* Shell */
.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);border-right:1px solid var(--line);background:#f0f1e9;padding:35px 23px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;gap:12px;align-items:center;margin:0 0 43px}.brand-mark{width:43px;height:49px;border:1px solid #a8b49c;border-radius:21px 21px 8px 8px;display:flex;align-items:center;justify-content:center;color:var(--green)}.brand-mark .icon{width:27px;height:30px}.brand strong{display:block;font-family:Georgia,serif;font-size:22px;line-height:1.02;font-weight:400;letter-spacing:-.6px}.brand span{font-size:9px;letter-spacing:2.3px;color:#829177;text-transform:uppercase;display:block;margin-top:8px}.nav-label{font-size:9px;letter-spacing:1.8px;font-weight:600;color:#8c9387;margin:0 0 12px 12px}.nav{display:flex;flex-direction:column;gap:7px}.nav a{min-height:48px;border-radius:10px;display:flex;align-items:center;gap:13px;padding:12px;font-size:13px;color:#72806c;font-weight:500}.nav a:hover{background:#e6eadd}.nav a.active{background:var(--green);color:white}.nav a .icon{width:18px;height:18px}.sidebar-card{margin-top:auto;background:#e6eadc;border-radius:14px;padding:17px 15px}.sidebar-card .icon{margin-bottom:8px;color:#758761}.sidebar-card h4{margin:0 0 5px;font-size:12px;font-weight:600}.sidebar-card p{font-size:11px;color:#7b8570;line-height:1.6;margin-bottom:7px}.profile{border-top:1px solid #d8ddce;margin-top:23px;padding-top:20px;display:flex;gap:11px;align-items:center}.avatar{display:inline-flex;align-items:center;justify-content:center;width:35px;height:35px;border-radius:50%;background:#dee4d4;color:#6a7b5f;font-size:13px;font-family:Georgia,serif;flex-shrink:0}.profile strong{display:block;font-size:11px;font-weight:600}.profile small{font-size:10px;color:#829078}.main-shell{margin-left:var(--sidebar);min-height:100vh}.topbar{height:78px;border-bottom:1px solid var(--line);padding:0 40px;display:flex;align-items:center;gap:20px;background:rgba(246,245,239,.94);position:sticky;top:0;z-index:20;backdrop-filter:blur(12px)}.topbar-label{font-size:12px;color:#7a8473;display:flex;gap:9px;align-items:center}.topbar-label .icon{width:16px;height:16px}.topbar .btn{font-size:12px;min-height:40px}.connection{font-size:11px;display:flex;align-items:center;gap:7px;color:#78826f}.topbar-tools{margin-left:auto;display:flex;align-items:center;gap:13px}.mobile-brand{display:none}.content{max-width:1450px;margin:auto;padding:36px 40px 50px}.page-heading{margin-bottom:28px}.page-heading .muted{font-size:14px}.page-heading h1{margin-bottom:10px}.page-heading-actions{align-self:center;flex-shrink:0}.demo-bar,.offline-bar{background:var(--green-dark);color:#e6eddf;padding:9px 20px;text-align:center;font-size:12px}.offline-bar{background:#e8dbc0;color:#715835}.mobile-nav{display:none}.footer-note{font-size:11px;color:#949b8d;letter-spacing:.15px;margin:32px 0 0;display:flex;justify-content:space-between;gap:10px}
/* Home */
.hero{border-radius:22px;background:#e6e9dc;border:1px solid #dce2d2;min-height:280px;display:grid;grid-template-columns:1fr 44%;overflow:hidden;position:relative;margin-bottom:32px}.hero-copy{padding:30px 32px;position:relative;z-index:2}.hero .eyebrow{font-size:9px;margin-bottom:14px}.hero h2{font-size:36px;max-width:350px;margin-bottom:13px;line-height:1.12}.hero p{font-size:13px;max-width:345px;line-height:1.7;color:#717c68;margin-bottom:16px}.hero .meta-row{margin-bottom:19px}.hero-art{position:relative;align-self:stretch;min-height:260px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 60% 50%,#f0eee2 0%,#e6e9dc 65%)}.hero-art .food-art{width:100%;height:100%;max-height:320px}.hero-note{position:absolute;right:24px;bottom:23px;background:rgba(255,254,246,.87);border:1px solid #e0dec9;border-radius:11px;padding:10px 14px;font-size:11px;color:#7b795f;transform:rotate(-4deg)}.meta-row{display:flex;gap:16px;flex-wrap:wrap;align-items:center;font-size:11px;color:#78806f}.meta-row span{display:inline-flex;gap:6px;align-items:center}.meta-row .icon{width:14px;height:14px}.library-head{margin-bottom:16px}.library-head h2{font-size:26px;margin:0}.library-head .count{font-family:inherit;font-size:11px;color:#8a9480;margin-left:8px;vertical-align:middle;border:1px solid var(--line);padding:3px 7px;border-radius:20px}.search{position:relative;width:245px}.search input{padding-left:38px;font-size:12px;background:var(--white);height:42px;min-height:42px}.search .icon{position:absolute;left:12px;top:12px;width:17px;height:17px;color:#88937e}.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}.filter{border:1px solid var(--line);border-radius:30px;padding:7px 15px;font-size:11px;min-height:37px;color:#828978;background:var(--white)}.filter.active{background:var(--green);border-color:var(--green);color:white}.recipe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.recipe-card{background:var(--white);border:1px solid var(--line);border-radius:17px;overflow:hidden;position:relative;transition:transform .2s,box-shadow .2s;min-width:0}.recipe-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.card-image{height:166px;position:relative;display:block;overflow:hidden;background:#eae5d8}.card-image.photo img{height:100%;width:100%;object-fit:cover}.card-image .food-art{height:100%;width:100%}.recipe-card:nth-child(2n) .card-image{background:#e3e7da}.recipe-card:nth-child(3n) .card-image{background:#efe5d5}.card-fav{position:absolute;right:12px;top:12px;background:rgba(255,254,250,.92);width:33px;height:33px;z-index:2}.card-fav .icon{width:15px;height:15px}.card-body{padding:19px 18px 16px}.card-body .eyebrow{font-size:8px;letter-spacing:1.7px;margin-bottom:8px}.card-title{font-family:Georgia,serif;font-weight:400;font-size:23px;letter-spacing:-.4px;line-height:1.12;display:block;margin-bottom:10px;min-height:52px;color:var(--ink)}.card-title:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}.card-description{font-size:11px;color:#88907f;margin-bottom:16px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.7;min-height:37px}.card-bottom{border-top:1px solid #eceee5;padding-top:12px;display:flex;gap:10px;align-items:center;justify-content:space-between}.card-bottom .meta-row{font-size:10px;gap:11px}.card-bottom .pill{font-size:9px;padding:4px 7px}.home-tip{background:#f0ede2;border:1px solid #e4e0d1;border-radius:15px;padding:18px 21px;margin-top:25px;display:flex;gap:16px;align-items:center}.home-tip .icon{color:#958a65}.home-tip h4{font-size:12px;margin:0 0 4px}.home-tip p{font-size:11px;color:#8b8874;margin:0}.home-tip .btn{margin-left:auto;flex-shrink:0}
/* Recipes */
.breadcrumb{font-size:12px;display:flex;gap:9px;color:#8a927f;margin-bottom:20px}.recipe-heading h1{font-size:42px;max-width:770px}.recipe-heading .description{max-width:720px;font-size:15px;color:#7c8475;line-height:1.75}.recipe-heading .pills{display:flex;gap:9px;margin-bottom:16px}.recipe-actions{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0 28px}.recipe-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:25px;align-items:start}.ingredients-panel{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:24px;position:sticky;top:101px}.ingredients-panel h2{font-size:25px;margin:0}.scale-control{display:flex;align-items:center;gap:9px;margin:18px 0 10px}.scale-control label{font-size:11px;color:#8b927e;margin-right:auto}.scale-control input{width:66px;text-align:center;padding:8px 3px;min-height:36px;font-size:13px}.scale-control .btn{min-height:35px;padding:6px 10px;border:1px solid var(--line);font-size:16px;border-radius:8px}.ingredient-group{font-size:9px;letter-spacing:1.4px;color:#8a977e;font-weight:600;text-transform:uppercase;margin:22px 0 9px}.ingredient-row{padding:11px 0;border-bottom:1px solid #eff0e9;display:grid;grid-template-columns:21px 1fr;gap:10px;align-items:start}.ingredient-row input{margin:4px 0 0;width:18px;height:18px;accent-color:var(--green);min-height:0}.ingredient-main{display:flex;justify-content:space-between;gap:10px;font-size:13px;line-height:1.5}.ingredient-main strong{font-size:13px;font-weight:650;color:var(--green);white-space:nowrap}.ingredient-row.checked .ingredient-main{opacity:.5;text-decoration:line-through}.ingredient-alt{display:block;text-align:left;font-size:10px;color:#a0804c;padding:4px 0 0;line-height:1.55;min-height:28px}.ingredient-alt.active{color:var(--green);font-weight:600}.scale-note{font-size:11px;line-height:1.7;color:#8a927e}.step-list{display:flex;flex-direction:column;gap:15px}.step-card{padding:24px;border:1px solid var(--line);background:var(--white);border-radius:16px;display:grid;grid-template-columns:33px minmax(0,1fr);gap:15px}.step-no{background:var(--green-light);color:#7c8c6f;font-family:Georgia,serif;font-size:17px;width:33px;height:33px;border-radius:50%;display:flex;align-items:center;justify-content:center}.step-card h3{font-size:17px;margin:3px 0 12px}.step-card p{font-size:14px;line-height:1.8;color:#6a7566;margin:0}.step-card .btn{margin-top:14px;font-size:11px;min-height:36px}.recipe-source{font-size:11px;line-height:1.8;color:#8e9685;margin-top:24px}.recipe-notes{margin-top:23px;padding:24px;background:#e9edde;border-radius:16px}.recipe-notes h3{font-size:15px;margin-bottom:10px}.recipe-notes p{font-size:13px;line-height:1.9;margin:0;color:#737f64}.recipe-header-art{height:150px;border-radius:16px;overflow:hidden;margin-bottom:20px;background:#e9e5d8}.recipe-header-art .food-art,.recipe-header-art img{width:100%;height:100%;object-fit:cover}
/* Cooking */
.cooking .content{max-width:1600px;padding-top:26px}.cooking-top{margin-bottom:22px}.cooking-top h1{font-size:28px;margin:6px 0}.cooking-top .eyebrow{font-size:9px;margin:0}.cook-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:26px;align-items:start}.cook-stage{background:var(--white);border:1px solid var(--line);border-radius:22px;padding:32px;min-height:470px}.cook-stage h2{font-size:38px;margin:22px 0;max-width:750px}.cook-stage .step-text{font-size:21px;line-height:1.8;color:#53634f;margin-bottom:30px}.cook-stage .step-text.smaller{font-size:18px}.cook-stage .eyebrow{margin-bottom:5px}.cook-progress{display:flex;gap:6px;margin:18px 0 24px}.cook-progress button{flex:1;border-radius:6px;height:24px;padding:0;position:relative}.cook-progress button:after{content:'';position:absolute;top:9px;left:0;right:0;height:5px;border-radius:5px;background:#e8ebe0}.cook-progress button.done:after{background:#a7b598}.cook-progress button.active:after{background:var(--green)}.cook-controls{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:32px;padding-top:23px}.cook-controls .btn{min-height:54px;font-size:15px;padding:13px 20px}.cook-aside .ingredients-panel{position:static}.cook-stage .timer-button{min-height:55px;padding:15px 20px;font-size:16px}.timer-shelf{position:fixed;right:24px;bottom:22px;display:flex;flex-direction:column;gap:8px;z-index:45;max-width:370px;width:calc(100% - 48px)}.timer-chip{background:var(--green-dark);color:#f3f5ea;border:1px solid #506146;box-shadow:0 6px 25px #20321b33;border-radius:14px;padding:12px 13px 12px 17px;display:flex;align-items:center;gap:10px}.timer-chip.expired{background:#985838;color:white}.timer-chip strong{font-variant-numeric:tabular-nums;font-size:20px;white-space:nowrap}.timer-chip span{font-size:11px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:200px}.timer-chip .timer-label{flex:1;min-width:0}.timer-chip .icon-btn{width:32px;height:32px;border-radius:8px}.timer-chip .icon-btn:hover{background:#ffffff22}
/* Forms, modals */
label.field{display:block;font-size:12px;font-weight:600;color:#6d7b65}label.field>span{display:block;margin-bottom:7px}:where(input:not([type=checkbox]):not([type=radio])),select,textarea{display:block;width:100%;border:1px solid #dbe0d2;border-radius:10px;background:#fffefa;padding:11px 13px;color:var(--body);min-height:45px;outline-offset:1px;font-weight:400;font-size:14px}textarea{resize:vertical;min-height:100px;line-height:1.65}input::placeholder,textarea::placeholder{color:#a0a695}input[type=checkbox],input[type=radio]{accent-color:var(--green);width:18px;height:18px;vertical-align:middle}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-grid.thirds{grid-template-columns:repeat(3,minmax(0,1fr))}.form-grid .wide{grid-column:1 / -1}.field-help{display:block;font-size:11px;line-height:1.65;font-weight:400;color:#8d9582;margin-top:7px}.checkbox-label{display:flex;gap:10px;align-items:flex-start;font-size:12px;color:#7b856f;line-height:1.7}.checkbox-label input{flex-shrink:0;margin-top:2px}.modal-backdrop{position:fixed;inset:0;background:#14201870;z-index:100;display:flex;align-items:center;justify-content:center;padding:28px;backdrop-filter:blur(4px)}.modal{background:var(--paper);border:1px solid #e0e6d7;width:100%;max-width:660px;max-height:92dvh;border-radius:22px;box-shadow:0 25px 80px #14201840;display:flex;flex-direction:column;overflow:hidden}.modal.large{max-width:980px}.modal-head{padding:20px 25px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px;flex-shrink:0}.modal-head h2{font-size:27px;margin:0}.modal-body{padding:25px;overflow-y:auto;overscroll-behavior:contain}.modal-foot{padding:17px 25px;border-top:1px solid var(--line);display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;background:#f4f4ec}.editor-section{margin-top:27px;padding-top:23px;border-top:1px solid var(--line)}.editor-section h3{font-family:Georgia,serif;font-size:25px;font-weight:400}.edit-ingredient{padding:13px;border:1px solid var(--line);border-radius:12px;background:var(--white);margin:9px 0}.edit-ingredient .row{display:grid;grid-template-columns:minmax(120px,1fr) 80px 75px 110px 35px;gap:8px;align-items:end}.edit-ingredient label{font-size:10px}.edit-ingredient input,.edit-ingredient select{font-size:12px;min-height:40px;padding:8px}.edit-ingredient details{font-size:11px;color:#869177;margin-top:9px}.edit-ingredient details summary{cursor:pointer;min-height:25px}.edit-ingredient .extra{display:grid;grid-template-columns:1fr 85px 75px;gap:10px;margin-top:10px}.edit-step{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:16px;margin:12px 0}.edit-step .form-grid{grid-template-columns:1fr 130px}.edit-step textarea{margin-top:12px;min-height:110px;font-size:13px}.edit-step .between{margin-bottom:10px}.image-preview{width:110px;height:75px;object-fit:cover;border-radius:9px;border:1px solid var(--line)}.form-error{font-size:13px;color:var(--danger);white-space:pre-line;margin-top:12px}.settings-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px;align-items:start}.settings-grid .panel h2{font-size:26px;margin-bottom:18px}.settings-grid p{font-size:13px;line-height:1.75}.stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0}.stat{background:var(--green-light);border-radius:12px;padding:16px}.stat strong{font-size:26px;font-weight:400;font-family:Georgia,serif;display:block;color:var(--ink)}.stat span{font-size:11px;color:#7c8b6b}.pantry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.pantry-card{background:var(--white);border:1px solid var(--line);border-radius:16px;padding:22px;min-width:0}.pantry-card h3{font-size:17px;margin:10px 0}.pantry-qty{font-family:Georgia,serif;color:var(--green);font-size:31px;margin:13px 0}.pantry-qty small{font-family:inherit;font-size:18px;color:#8b967b}.pantry-card p{font-size:12px;color:#8b927f;line-height:1.7;overflow-wrap:anywhere}.trial-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.trial-card{background:var(--white);border:1px solid var(--line);border-radius:16px;padding:22px}.trial-card h3{font-family:Georgia,serif;font-size:25px;font-weight:400;margin:8px 0 13px}.trial-card p{font-size:13px;line-height:1.8}.trial-card img{max-height:230px;width:100%;object-fit:cover;border-radius:12px;margin:16px 0}.stars{font-size:14px;letter-spacing:3px;color:#ad8b45}.snapshot{font-size:12px;padding:12px;background:var(--green-light);border-radius:9px;margin-top:15px}.snapshot summary{cursor:pointer;font-weight:600}.snapshot ul{padding-left:19px}.auth-wrap{min-height:100dvh;display:grid;grid-template-columns:minmax(280px,1fr) minmax(420px,1fr)}.auth-story{background:#e7ebdf;padding:55px 60px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.auth-story .brand{margin-bottom:65px}.auth-story h1{font-size:57px;max-width:450px}.auth-story p{font-size:16px;color:#7a896d;max-width:385px;line-height:1.9}.auth-story .food-art{max-width:360px;max-height:240px;align-self:center}.auth-panel{display:flex;align-items:center;justify-content:center;padding:40px}.auth-card{width:100%;max-width:430px}.auth-card h2{font-size:36px;margin-bottom:10px}.auth-card>p{font-size:14px;color:#8b957e;margin-bottom:26px}.auth-card .field{margin-bottom:17px}.auth-card .btn.full{margin-top:20px;min-height:50px}.auth-card .notice{font-size:11px}.boot{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column}.boot-mark{font:60px Georgia,serif;color:var(--green);margin-bottom:20px}.boot h1{font-size:36px}.boot p{color:var(--muted)}.loader{width:25px;height:25px;border:2px solid #dae0d2;border-top-color:var(--green);border-radius:50%;animation:spin 1s linear infinite;margin-top:20px}@keyframes spin{to{transform:rotate(360deg)}}
/* Assistant */
.chat-shade{position:fixed;inset:0;background:#1d302527;z-index:79}.chat-drawer{position:fixed;right:0;top:0;bottom:0;width:440px;max-width:100%;background:var(--white);box-shadow:-10px 0 50px #23352118;z-index:80;display:flex;flex-direction:column;border-left:1px solid var(--line)}.chat-head{padding:23px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line)}.chat-mark{height:43px;width:43px;border:1px solid #dce3cf;background:var(--green-light);color:#738962;border-radius:14px;display:flex;align-items:center;justify-content:center}.chat-head h2{font-size:24px;margin:0}.chat-head p{margin:3px 0 0;color:#8f987f;font-size:10px}.chat-context{padding:14px 23px;background:#f2f5e9;border-bottom:1px solid var(--line);font-size:11px;color:#819070}.chat-context strong{display:block;color:#596e4c;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:3px 0 6px}.chat-context .checkbox-label{font-size:10px}.chat-context input{width:14px;height:14px}.chat-messages{flex:1;overflow-y:auto;padding:23px;overscroll-behavior:contain}.chat-intro{text-align:left;padding:10px 0 20px}.chat-intro h3{font-family:Georgia,serif;font-size:29px;font-weight:400;line-height:1.2;margin:10px 0 15px}.chat-intro p{font-size:13px;color:#879378;line-height:1.8}.suggestion{display:block;border:1px solid #e1e6d8;border-radius:10px;padding:12px 14px;text-align:left;width:100%;font-size:12px;color:#7b8a6b;margin:8px 0;background:#fcfcf5;min-height:43px}.suggestion:hover{background:var(--green-light)}.message{padding:14px 16px;border-radius:14px;background:#f0f3e8;font-size:13px;line-height:1.8;margin-bottom:15px;white-space:pre-wrap;overflow-wrap:anywhere}.message.user{background:var(--green);color:#f1f6ec;margin-left:24px;border-bottom-right-radius:4px}.message.assistant{border-bottom-left-radius:4px;margin-right:5px}.message-label{font-size:9px;color:#8f9d80;margin:0 0 7px;text-transform:uppercase;letter-spacing:1px}.message .notice{margin:12px 0 0;font-size:11px}.proposal{border:1px solid #d7dfcb;background:#fffdf4;border-radius:12px;padding:16px;margin-top:12px;white-space:normal}.proposal h4{font-family:Georgia,serif;font-size:21px;font-weight:400;color:var(--green);margin:7px 0 10px}.proposal .btn{font-size:11px;margin-top:6px}.chat-bottom{padding:17px 22px 20px;border-top:1px solid var(--line);background:#fffef8}.chat-form{display:flex;gap:8px;align-items:flex-end}.chat-form textarea{font-size:12px;min-height:48px;max-height:150px;resize:none;padding:13px;border-radius:12px}.chat-form .btn{height:48px;width:48px;padding:10px;flex-shrink:0}.chat-bottom p{font-size:9px;line-height:1.7;color:#99a08f;margin:10px 0 0}.chat-pending{display:flex;gap:9px;align-items:center;font-size:12px;color:#8e9d7b}.chat-pending .loader{width:15px;height:15px;margin:0}.chat-empty-warning{background:#f8efd9;border-radius:12px;padding:13px;font-size:11px;color:#8a7345;margin-bottom:15px}.chat-error{font-size:12px;color:#a05039;padding:12px;background:#faece4;border-radius:9px;margin-bottom:13px}.chat-head .icon-btn{margin-left:auto}#toast{position:fixed;left:50%;bottom:27px;transform:translate(-50%,25px);background:var(--green-dark);color:white;border-radius:11px;box-shadow:var(--shadow);padding:13px 20px;z-index:300;opacity:0;pointer-events:none;transition:.2s;font-size:13px;max-width:90%;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}
/* Tablet and mobile */
@media(min-width:1550px){.content{padding-top:44px}.hero{min-height:320px}.hero-copy{padding:38px 40px}.hero h2{font-size:43px;max-width:480px}.card-image{height:200px}.card-title{font-size:26px}}
@media(max-width:1200px){:root{--sidebar:190px}.sidebar{padding:30px 16px}.brand{gap:10px}.brand strong{font-size:20px}.content{padding:28px}.topbar{padding:0 28px}.recipe-grid{gap:16px}.card-body{padding:17px 15px}.card-title{font-size:22px}.hero-copy{padding:27px}.hero h2{font-size:34px}.recipe-layout{grid-template-columns:285px minmax(0,1fr);gap:20px}.ingredients-panel{padding:20px}.cook-layout{grid-template-columns:255px minmax(0,1fr);gap:20px}.cook-stage{padding:27px}.cook-stage h2{font-size:32px}.cook-stage .step-text{font-size:19px}.pantry-grid{grid-template-columns:1fr 1fr}.card-bottom .meta-row{gap:6px}.card-bottom{gap:4px}.card-bottom .pill{max-width:66px;text-align:center}.settings-grid{gap:18px}.recipe-heading h1{font-size:38px}}
@media(max-width:1000px){:root{--sidebar:172px}.sidebar{padding:28px 13px}.brand-mark{width:35px;height:42px}.brand strong{font-size:19px}.brand span{font-size:8px;letter-spacing:1.8px}.nav a{font-size:11px;gap:9px;padding:11px 9px}.sidebar-card{padding:15px 11px}.topbar{height:69px;padding:0 24px}.content{padding:27px 24px 45px}.topbar .connection{display:none}h1{font-size:37px}.hero{grid-template-columns:1fr 40%;min-height:270px}.hero-copy{padding:25px}.hero h2{font-size:32px}.hero p{font-size:12px}.hero-note{right:11px;bottom:18px;font-size:10px;padding:8px 10px}.hero-art .food-art{width:130%;max-width:none;flex-shrink:0}.recipe-grid{grid-template-columns:1fr 1fr}.recipe-card:first-child{display:block}.card-image{height:163px}.card-bottom .pill{max-width:none}.home-tip{align-items:flex-start}.home-tip .btn{font-size:10px}.recipe-layout{grid-template-columns:255px minmax(0,1fr);gap:17px}.ingredients-panel{padding:18px}.ingredient-main{font-size:12px}.ingredient-main strong{font-size:12px}.step-card{padding:19px;gap:10px;grid-template-columns:29px 1fr}.step-no{width:29px;height:29px}.step-card p{font-size:13px}.recipe-heading h1{font-size:35px}.settings-grid{grid-template-columns:1fr}.cook-layout{grid-template-columns:230px minmax(0,1fr);gap:16px}.cook-stage{padding:22px}.cook-stage .step-text{font-size:17px}.cook-stage h2{font-size:29px}.cook-controls .btn{font-size:13px;padding:11px 14px}.cook-stage .timer-button{font-size:14px}.cook-stage .step-text.smaller{font-size:16px}.topbar-label{font-size:11px}.page-heading-actions .btn{font-size:12px;padding:10px 13px}.trial-grid{grid-template-columns:1fr}.footer-note{flex-direction:column}.auth-story{padding:35px}.auth-story h1{font-size:46px}.auth-panel{padding:30px}}
@media(max-width:760px){:root{--sidebar:0px}.sidebar{display:none}.main-shell{margin-left:0;padding-bottom:76px}.topbar{height:64px;padding:0 19px;gap:10px}.topbar-label{display:none}.mobile-brand{display:flex;align-items:center;gap:7px;font-family:Georgia,serif;color:var(--green);font-size:18px;letter-spacing:-.6px}.mobile-brand .icon{width:22px;height:22px}.topbar-tools{gap:6px}.topbar-tools>.icon-btn{display:none}.topbar .btn{padding:8px 12px;font-size:11px;min-height:37px}.content{padding:28px 19px 30px}.page-heading{align-items:flex-start;margin-bottom:22px}.page-heading h1{font-size:35px;letter-spacing:-1.1px}.page-heading .muted{font-size:12px}.page-heading-actions .btn{min-height:40px;width:40px;padding:8px;font-size:0;border-radius:11px}.page-heading-actions .btn .icon{width:19px;height:19px}.eyebrow{font-size:9px;letter-spacing:1.7px}.hero{min-height:235px;grid-template-columns:1fr 35%;margin-bottom:28px;border-radius:18px}.hero-copy{padding:23px 0 23px 22px}.hero h2{font-size:30px;max-width:260px}.hero p{font-size:11px;line-height:1.7;max-width:240px}.hero .meta-row{font-size:9px;gap:9px;margin-bottom:14px}.hero .btn{font-size:11px;min-height:41px;padding:10px 13px}.hero .eyebrow{font-size:8px}.hero-art{min-height:210px;align-items:center;opacity:.85}.hero-art .food-art{width:210%;height:260px;transform:translateX(25%)}.hero-note{display:none}.library-head{gap:10px}.library-head h2{font-size:24px}.library-head .count{font-size:10px}.search{width:42px;flex:1;max-width:220px}.search input{min-width:0;font-size:11px;padding-left:31px}.search .icon{left:10px}.filters{gap:6px;flex-wrap:nowrap;overflow-x:auto;padding-bottom:7px;margin-bottom:15px;scrollbar-width:none}.filter{flex-shrink:0;font-size:10px;min-height:34px;padding:7px 12px}.recipe-grid{gap:13px}.card-image{height:140px}.card-body{padding:15px 13px}.card-title{font-size:21px;min-height:48px}.card-description{font-size:10px;min-height:34px;line-height:1.7}.card-body .eyebrow{font-size:7px;letter-spacing:1.3px}.card-bottom{display:block}.card-bottom .meta-row{gap:11px;font-size:9px}.card-bottom .pill{margin-top:8px;font-size:8px}.card-fav{width:30px;height:30px;right:8px;top:8px}.home-tip{padding:15px;gap:12px;flex-wrap:wrap}.home-tip h4{font-size:12px}.home-tip p{font-size:10px}.home-tip .btn{margin-left:30px;font-size:11px;min-height:34px;padding:8px 12px}.home-tip>.icon{width:18px;height:18px}.home-tip>div{flex:1;min-width:230px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:50;background:#fffef9f5;backdrop-filter:blur(14px);border-top:1px solid var(--line);padding:9px 5px calc(8px + env(safe-area-inset-bottom));justify-content:space-around}.mobile-nav a{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:9px;color:#8d977f;padding:3px 12px;min-width:60px}.mobile-nav a.active{color:var(--green);font-weight:700}.mobile-nav a .icon{width:19px;height:19px}.recipe-heading h1{font-size:34px}.recipe-heading .description{font-size:13px}.recipe-actions{gap:8px;margin:18px 0 23px}.recipe-actions .btn{font-size:12px;padding:10px 14px}.recipe-layout{grid-template-columns:1fr}.ingredients-panel{position:static;padding:21px}.ingredient-row{padding:12px 0}.ingredient-main,.ingredient-main strong{font-size:14px}.ingredient-alt{font-size:11px}.recipe-header-art{display:none}.scale-control input{width:70px}.step-card{padding:22px;grid-template-columns:30px 1fr;gap:14px}.step-card p{font-size:14px}.step-card h3{font-size:17px}.recipe-notes p{font-size:13px}.recipe-source{font-size:10px}.cooking-top{align-items:flex-start}.cooking-top h1{font-size:25px}.cooking-top .btn{font-size:11px;min-height:38px;padding:9px 11px}.cook-layout{grid-template-columns:1fr}.cook-aside{order:2}.cook-stage{padding:24px 22px;min-height:unset}.cook-stage h2{font-size:33px}.cook-stage .step-text,.cook-stage .step-text.smaller{font-size:19px;line-height:1.85}.cook-controls{gap:10px}.cook-controls .btn{min-height:52px;font-size:14px}.cooking .content{padding-top:24px}.cook-stage .timer-button{min-height:50px}.timer-shelf{bottom:88px;right:14px;max-width:330px;width:calc(100% - 28px)}.timer-chip{padding:10px 12px}.timer-chip strong{font-size:18px}.timer-chip span{font-size:10px;max-width:170px}.modal-backdrop{padding:10px}.modal{max-height:94dvh;border-radius:17px}.modal-head{padding:17px 18px}.modal-head h2{font-size:25px}.modal-body{padding:20px 18px}.modal-foot{padding:14px 18px}.form-grid,.form-grid.thirds{grid-template-columns:1fr 1fr;gap:14px}.form-grid .wide{grid-column:1/-1}.edit-ingredient .row{grid-template-columns:1fr 70px 65px 33px}.edit-ingredient .row .group-field{grid-column:1/4;grid-row:2}.edit-ingredient .row>.icon-btn{grid-column:4;grid-row:1}.edit-ingredient .extra{grid-template-columns:1fr 65px 55px}.edit-step .form-grid{grid-template-columns:1fr 95px}.edit-step{padding:13px}.edit-step textarea{font-size:12px}.edit-ingredient .row label{font-size:9px}.edit-ingredient .extra input{font-size:11px}.settings-grid{gap:18px}.settings-grid .panel{padding:22px}.pantry-grid{gap:13px}.pantry-card{padding:18px 15px}.pantry-card h3{font-size:15px}.pantry-qty{font-size:28px}.pantry-card .btn{font-size:11px;padding:8px 10px}.pantry-card .between{align-items:flex-start;gap:3px}.pantry-card .icon-btn{width:30px;height:30px}.pantry-card p{font-size:11px}.trial-card{padding:20px}.chat-drawer{width:100%;max-width:480px}.chat-head{padding:18px 20px}.chat-bottom{padding-bottom:calc(14px + env(safe-area-inset-bottom))}.chat-context{padding:12px 20px}.chat-messages{padding:20px}.auth-wrap{display:block}.auth-story{padding:25px 24px;display:block}.auth-story .brand{margin:0}.auth-story h1,.auth-story p,.auth-story .food-art{display:none}.auth-panel{padding:35px 24px}.auth-card{max-width:480px}.auth-card h2{font-size:34px}.auth-card>p{font-size:13px}.demo-bar,.offline-bar{font-size:10px;padding:8px 15px}.footer-note{font-size:10px;margin-bottom:5px}#toast{bottom:90px;width:max-content;max-width:90%;font-size:12px}}
@media(max-width:370px){.card-title{font-size:19px}.card-image{height:120px}.recipe-grid{gap:10px}.card-body{padding:13px 11px}.hero h2{font-size:28px}.hero-copy{padding-left:18px}.hero-art{opacity:.65}.topbar .btn{font-size:10px}.mobile-brand{font-size:17px}.form-grid.thirds{grid-template-columns:1fr}.pantry-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}.loader{border-color:var(--green)}}
@media print{body{background:white;font-size:12px}.sidebar,.topbar,.mobile-nav,.recipe-actions,.scale-control,.timer-shelf,.btn,.chat-drawer,.chat-shade,.demo-bar,.offline-bar,.footer-note,.ingredient-alt,.breadcrumb{display:none!important}.main-shell{margin:0;padding:0}.content{padding:0}.recipe-layout{display:block}.ingredients-panel{position:static;margin-bottom:20px}.recipe-header-art{display:none}.step-card{break-inside:avoid;margin-bottom:10px}.recipe-heading h1{font-size:30px}.ingredient-main{font-size:12px}.ingredient-row input{display:none}.ingredient-row{display:block}.recipe-notes{break-inside:avoid}.recipe-source{font-size:9px}}

/* Recipe personal notes */
.personal-notes{margin:24px 0 32px}.personal-notes h2{font-size:26px;margin:0}.personal-notes>p{font-size:14px}.personal-notes textarea{min-height:120px;font-size:16px}.notes-save-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px}.notes-save-row .btn{min-height:44px}.personal-notes .between{flex-wrap:wrap;gap:12px}@media(max-width:600px){.personal-notes{padding:20px}.notes-save-row{align-items:stretch}.notes-save-row .btn{flex:1}.notes-save-row [role=status]{flex-basis:100%}}

/* Adjustable dough hydration */
.hydration-control{margin:18px 0;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.hydration-control h3{font-size:16px;margin-bottom:12px}.hydration-summary{display:flex;align-items:center;gap:14px;margin-bottom:16px}.hydration-summary>strong{font:30px Georgia,serif;color:var(--green)}.hydration-summary>span{font-size:12px;color:var(--body)}.hydration-control .btn{margin-top:10px}.hydration-control .field-help{color:#68725f;line-height:1.65}.hydration-control input{font-size:16px}.scale-control input{font-size:16px}

.dose-apply{margin-top:10px}#doses-form .field-help{color:#68725f}#recipe-scale{min-width:0;text-align:center}
