/* A warm editorial theme: ivory surfaces, forest accents, honey actions. */
@font-face{font-family:"Yiwei Serif";src:url("visual-assets/yiwei-serif.woff2") format("woff2");font-weight:200 900;font-display:swap}
:root{--bg:#faf8f1;--paper:#fffefa;--ink:#203526;--muted:#69725f;--primary:#f3d58b;--soft:#f7efd9;--green:#3c5136;--line:#e5e5db;--peach:#f5ecd9;--editorial-serif:"Noto Serif SC","Songti SC","STSong","SimSun",serif}
.editorial-app{color:var(--ink);background:#eeece4;font-size:14px}
.editorial-app #app{background:var(--bg);box-shadow:none}
.editorial-app main{padding:22px 20px 108px}
.editorial-app .topbar{height:44px;margin-bottom:28px}
.editorial-app .topbar>span{display:flex;align-items:center;gap:10px;letter-spacing:0}
.editorial-brand-icon{width:30px;height:36px;display:grid;place-items:center;color:var(--green)}
.editorial-brand-icon svg{width:29px;height:33px;stroke-width:1.6;fill:#d7decc}
.editorial-app .topbar strong{display:block;font-family:var(--editorial-serif);font-size:24px;line-height:1.1;font-weight:700;letter-spacing:1px}
.editorial-app .topbar small{display:block;margin-top:6px;font-size:10px;font-weight:400;letter-spacing:3px;color:var(--muted)}
.editorial-app .topright .avatar{color:var(--ink);width:42px;height:42px;border:1px solid var(--line);border-radius:50%;background:#ffffff80}
.editorial-app .topright .avatar svg{width:23px;height:23px}
.editorial-app .server-strip{top:18px;right:71px;opacity:1}
.editorial-app .server-strip button{min-height:44px;font-size:11px;color:var(--muted)}
.editorial-home main{background:radial-gradient(ellipse at 96% 4%,#e8edda55,transparent 260px),radial-gradient(ellipse at 0 310px,#f7eacb66,transparent 240px)}
.editorial-app h1,.editorial-app h2{color:var(--ink)}
.editorial-app .home-intro h1,.editorial-app .section-heading h2,.editorial-app .ready-hero h1,.editorial-app .ready-heading h2,.editorial-app .v9-section-title,.editorial-app .mine-heading h1{font-family:var(--editorial-serif);font-weight:700;letter-spacing:0}
.editorial-app .home-intro{position:relative;margin:0 0 23px}
.editorial-app .home-intro h1{font-size:30px;line-height:1.45;margin:0 0 8px}
.editorial-app .home-intro p{font-size:13px;color:var(--muted);line-height:1.7;margin:0}
.editorial-app .editorial-intro h1{font-size:42px;line-height:1.22;letter-spacing:1px;margin:0 0 12px;max-width:275px}
.editorial-intro h1>span{color:#c4963d}
.editorial-side-note{position:absolute;right:7px;top:33px;font-family:var(--editorial-serif);font-size:12px;line-height:1.9;letter-spacing:2px;color:#78673f;transform:rotate(-7deg)}
.editorial-side-note:after{content:"";display:block;width:48px;height:2px;background:#d4af68;margin:8px auto 0;border-radius:100%}
.editorial-app .search{min-height:50px;border:1px solid #e4e2d7;border-radius:25px;background:#fffefad9;padding:10px 15px;gap:10px;box-shadow:0 3px 12px #3b3f2103}
.editorial-app .search>svg{width:21px;height:21px;color:var(--ink);flex-shrink:0}
.editorial-app .search input{font-size:14px;color:var(--ink);min-width:0}
.editorial-app .search input::placeholder{color:#69725f}
.editorial-clear{width:28px;height:28px;display:grid;place-items:center;flex-shrink:0;color:var(--muted)}
.editorial-clear svg{width:16px;height:16px}
.editorial-suggestions{display:flex;gap:7px;overflow:auto;scrollbar-width:none;margin:10px 0 8px;padding:0 1px}
.editorial-suggestions button{flex-shrink:0;min-height:35px;padding:6px 12px;border:1px solid var(--line);border-radius:20px;color:#68715e;background:#fbf8ef;font-size:12px}
.editorial-suggestions button[aria-pressed=true]{background:var(--green);color:white;border-color:var(--green)}
.editorial-app .section-heading{margin:24px 0 13px;gap:10px;align-items:center}
.editorial-app .section-heading h2{font-size:24px;line-height:1.35}
.editorial-app .section-heading>span{font-size:11px;color:var(--muted)}
.editorial-app .daily-heading{margin:18px 0 10px}
.editorial-app .daily-heading h2{display:flex;gap:7px;align-items:center;font-family:inherit;font-size:13px;font-weight:650;color:#6b6f55}
.editorial-app .daily-heading h2>svg{width:17px;height:17px;color:#a5843d}
.editorial-app .carousel-controls{gap:8px}
.editorial-app .carousel-controls button{width:34px;height:34px;min-height:34px;color:var(--ink);border:1px solid #e0dfd3;background:#fffef8;font-size:23px}
.editorial-app .daily-carousel{border-radius:22px}
.editorial-app .daily-card{height:250px;display:block;isolation:isolate;border:0;border-radius:22px;flex:0 0 100%;background:#555e3d}
.editorial-app .daily-art{position:absolute;inset:0;width:100%;height:100%;opacity:1}
.editorial-app .daily-art img{width:100%;height:100%;object-fit:cover;mask-image:none}
.editorial-app .daily-card:after{display:block;content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(180deg,#17200c12 0%,transparent 28%,#111b1066 60%,#0d180ee6 100%);pointer-events:none}
.editorial-app .daily-copy{position:absolute;bottom:0;left:0;inset:auto 0 0;margin:0;padding:20px 18px 18px;min-height:0;max-width:none;width:100%;background:transparent;border-radius:0;color:white;z-index:1}
.editorial-app .daily-copy h3{font-family:var(--editorial-serif);font-size:27px;font-weight:700;line-height:1.35;margin:0 0 8px;color:#fffefa;max-width:none;letter-spacing:0}
.editorial-app .daily-copy .editorial-dish-note{font-size:12px;color:#f6f2e5;line-height:1.6;margin:0 0 15px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-height:39px}
.editorial-daily-meta{display:flex;gap:12px;align-items:center;padding-right:101px;min-height:42px;font-size:11px;color:#faf8ee}
.editorial-daily-meta>span{display:inline-flex;gap:4px;align-items:center;white-space:nowrap}
.editorial-daily-meta svg{width:16px;height:16px}
.editorial-app .daily-cta{position:absolute;right:17px;bottom:18px;top:auto;padding:11px 14px;border-radius:24px;display:inline-flex;align-items:center;gap:8px;background:#f3d58b;color:#293322;font-size:13px;min-height:42px;margin:0;box-shadow:none}
.editorial-app .daily-cta svg{display:block;width:17px;height:17px}
.editorial-app .daily-tag{position:absolute;left:14px;top:14px;color:#35412b;background:#fff6dbe8;border:1px solid #fff4d1c9;border-radius:20px;padding:6px 10px;font-size:11px;letter-spacing:0;z-index:1;max-width:70%}
.editorial-app .daily-number{top:17px;right:15px;color:white;font-size:11px;letter-spacing:.5px;background:#2532226b;padding:4px 8px;z-index:1}
.editorial-app .daily-dots{margin:12px 0 23px;gap:6px}
.editorial-app .daily-dots button{width:6px;height:5px;background:#d9ddcf;position:relative}
.editorial-app .daily-dots button:before{content:"";position:absolute;inset:-10px -6px}
.editorial-app .daily-dots button[aria-current=true]{background:var(--green);width:20px}
.editorial-app .recipe-library-heading{margin:0 0 15px;scroll-margin-top:20px}
.recipe-library-heading p{font-size:12px;color:var(--muted);margin:5px 0 0}
.editorial-app .catalog-filter{background:transparent;border:0;padding:0;border-radius:0;margin-bottom:18px;scroll-margin-top:16px}
.editorial-app .catalog-modes{background:#efeee6;padding:4px;border-radius:24px;gap:3px;margin-bottom:13px}
.editorial-app .catalog-modes button{font-size:12px;font-weight:500;border-radius:21px;min-height:40px;padding:8px 5px;color:#69725f}
.editorial-app .catalog-modes button[aria-pressed=true]{background:var(--green);color:white;box-shadow:none}
.editorial-app .catalog-options{gap:7px}
.editorial-app .catalog-options button{min-height:38px;font-size:12px;padding:7px 12px;gap:6px;border-color:#e3e4d9;color:#666f5d;background:#fffef8}
.editorial-app .catalog-options button[aria-pressed=true]{background:#ebefdf;border-color:#a9b69c;color:#34462c;font-weight:650}
.editorial-app .catalog-options small{font-size:11px;opacity:1;color:#69725f}
.editorial-app .catalog-options:has([data-value="早餐"]){display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.editorial-app .catalog-options:has([data-value="早餐"]) button{justify-content:center;padding:7px 4px;gap:4px;font-size:11px;white-space:nowrap}
.editorial-app .catalog-options:has([data-value="早餐"]) small{font-size:10px}
.editorial-app .catalog-summary{margin-top:12px;padding-top:11px;border-color:var(--line)}
.editorial-app .catalog-summary span{font-size:11px;color:#69725f}
.editorial-app .catalog-quick{font-size:11px;min-height:34px;border-radius:18px;border-color:var(--line);color:#6f775f}
.editorial-app .catalog-quick[aria-pressed=true]{background:var(--soft);border-color:#d9bf85;color:#765c23}
.editorial-app .catalog-note{font-size:10px;color:#69725f;margin:8px 0 0}
.editorial-app .catalog-selected button,.editorial-app .catalog-clear{border-radius:16px;background:#edf0e5;color:#506043;font-size:11px}
.editorial-app .cards{gap:12px}
.editorial-app .recipe{border-radius:18px;background:#fffefa;border-color:#e8e7dd;box-shadow:0 3px 10px #36412b03;overflow:hidden;text-align:left}
.editorial-app .recipe-img{height:139px;background:#eeefdf}
.editorial-app .recipe-img img{width:100%;height:100%;object-fit:cover}
.editorial-app .recipe-img .badge{left:9px;top:9px;bottom:auto;padding:4px 7px;border-radius:13px;font-size:9px;background:#fff9e9ed;color:#596442;max-width:calc(100% - 18px)}
.editorial-app .recipe-body{padding:11px 12px 13px}
.editorial-app .recipe-body h3{font-family:var(--editorial-serif);font-size:16px;font-weight:700;line-height:1.45;margin:0 0 7px;color:var(--ink);min-height:23px}
.editorial-app .recipe-meta{font-size:10px;color:#69725f;gap:6px;line-height:1.6}
.editorial-app .recipe-meta svg{width:13px;height:13px}
.editorial-app .kitchen-link{background:#eef0e4;border:1px solid #e1e6d5;border-radius:18px;padding:17px 14px;font-size:12px;color:var(--ink);gap:10px}
.kitchen-link>span{display:flex;align-items:center;gap:9px}
.editorial-app .mobile-nav{background:#fffdf5f5;border-color:#e8e5d8;border-radius:22px 22px 0 0;box-shadow:0 -6px 20px #3e472203;padding:12px 10px max(17px,env(safe-area-inset-bottom))}
.editorial-app .mobile-nav button{position:relative;color:#69725f;font-size:11px;gap:5px;min-height:44px}
.editorial-app .mobile-nav svg{width:23px;height:23px}
.editorial-app .mobile-nav button.active{color:var(--ink);font-weight:650}
.editorial-app .mobile-nav button.active svg{background:transparent;border-radius:0;stroke:var(--green);fill:#dce3cc}
.editorial-app .mobile-nav button.active:after{content:"";position:absolute;bottom:-7px;width:4px;height:4px;border-radius:50%;background:var(--green)}
.editorial-app .primary{background:var(--primary);color:#303c25;border:1px solid #ebcc80;border-radius:25px;min-height:48px;font-size:14px;box-shadow:none}
.editorial-app .secondary{color:var(--ink);border-color:#dfe3d6;background:#fffefa;min-height:42px}
.editorial-app .textbtn,.editorial-app .back{color:#536443}
.editorial-app button:focus-visible,.editorial-app input:focus-visible,.editorial-app textarea:focus-visible,.editorial-app select:focus-visible,.editorial-app summary:focus-visible{outline:3px solid #8c9f79;outline-offset:3px}
.editorial-app .v9-resume{background:#eff1e7;border:1px solid #e2e7d7;padding:12px;border-radius:16px;margin:16px 0 0}
.editorial-app .v9-resume>svg{color:var(--green)}
.editorial-app .v9-resume strong{font-size:12px;color:var(--ink)}
.editorial-app .v9-resume small{font-size:10px;color:#69725f}
.editorial-app .v9-resume .textbtn{background:#fffef6;border:1px solid #dce2cf;color:#697658}
/* Carry the same spacing, surfaces and type through the kitchen. */
.editorial-app .v9-kitchen .home-intro h1{font-size:27px;max-width:320px}
.editorial-app .v9-lab-hero{border-radius:22px;padding:23px;margin-top:23px;border-color:#e7e3f0}
.editorial-app .v9-lab-hero h2{font-family:var(--editorial-serif);font-size:28px;line-height:1.4;font-weight:700;margin:12px 0 10px}
.editorial-app .v9-lab-hero p{font-size:12px;line-height:1.8;max-width:230px}
.editorial-app .v9-lab-hero .primary{border:0;background:#5149a0;color:white;font-size:13px;min-height:44px}
.editorial-app .v9-member{font-size:10px}
.editorial-app .stock-home-entry{border-radius:18px;background:#fffefa;padding:18px 17px;margin:16px 0 25px;border-color:var(--line)}
.editorial-app .stock-home-entry strong{font-family:var(--editorial-serif);font-size:20px;color:var(--ink)}
.editorial-app .stock-home-entry span{font-size:11px;color:#69725f;line-height:1.7}
.editorial-app .v9-breakfast .section-heading h2{font-size:21px}
.editorial-app .v9-breakfast-eyebrow{color:#8f804f;font-size:10px}
.editorial-app .v9-breakfast-cards button{border-color:var(--line);background:#fffefa;border-radius:14px}
.editorial-app .v9-breakfast-cards img{height:92px}
.editorial-app .v9-breakfast-cards strong{font-family:var(--editorial-serif);font-size:12px;padding:9px 8px 4px;color:var(--ink)}
.editorial-app .v9-breakfast-cards small{font-size:10px;color:#69725f}
.editorial-app .v9-breakfast>p{font-size:11px;color:#69725f;line-height:1.7}
.editorial-app .v9-kitchen-entries>button{background:#fffefa;border-color:var(--line);border-radius:18px;padding:17px 15px}
.editorial-app .v9-kitchen-entries h3{font-family:var(--editorial-serif);font-size:18px;line-height:1.4}
.editorial-app .v9-kitchen-entries p,.editorial-app .v9-kitchen-entries small{font-size:11px;line-height:1.7;color:#69725f}
.editorial-app .entry-symbol{background:#ecf0e3;color:#6e8657}
.editorial-app .entry-symbol.peach{background:#f6ead7;color:#b89155}
.editorial-app .kitchen-tabs{background:#efeee7;padding:4px;border-radius:22px}
.editorial-app .kitchen-tabs button{font-size:11px;min-height:38px;color:#69725f}
.editorial-app .kitchen-tabs .active{color:var(--ink);background:#fffef9;border-radius:18px;box-shadow:0 2px 6px #424a2110}
.editorial-app .stock-page h1,.editorial-app .lab-page h1{font-family:var(--editorial-serif);font-size:28px}
.editorial-app .lab-page input,.editorial-app .lab-page textarea,.editorial-app .lab-page select{background:#fffefa;border-color:#dfe3d7;color:var(--ink)}
.editorial-app .lab-style.active{background:#eeeaf8!important;border-color:#b5aad7!important}
.editorial-app .lab-result,.editorial-app .lab-plan{background:#f4f1fa;border-color:#e3ddec}
.editorial-app .stock-choice{background:#fffefa;border-color:#dfe4d6;color:#546342}
.editorial-app .stock-choice:has(input:checked){background:#edf1e3;border-color:#a8b595}
.editorial-app .stock-choice input,.editorial-app .ready-item input{accent-color:var(--green)}
.editorial-app .v9-match{background:#fffefa;border-color:var(--line)}
.editorial-app .v9-match strong{font-family:var(--editorial-serif);font-size:16px}
.editorial-app .v9-caption{color:#69725f;line-height:1.7}
/* Recipe preparation keeps generous, legible lists rather than tiny controls. */
.editorial-app.in-recipe-ready main{padding:18px 20px 109px}
.editorial-app .ready-nav{margin:0 0 18px}
.editorial-app .ready-hero{display:flex;flex-direction:column;align-items:stretch;gap:16px}
.editorial-app .ready-hero>img{width:100%;height:225px;border-radius:22px;object-fit:cover}
.editorial-app .ready-hero h1{font-size:31px;line-height:1.3;margin:8px 0 9px}
.editorial-app .ready-hero .eyebrow{color:#8a794e;font-size:11px}
.editorial-app .ready-hero p{font-size:12px;color:#69725f}
.editorial-app .ready-description{font-size:13px;color:#69725f;line-height:1.8;margin:14px 0 24px}
.editorial-app .ready-heading h2{font-size:23px}
.editorial-app .ready-heading>span{font-size:11px;background:#eaf0e1;border-radius:15px;color:#60714d;padding:6px 11px}
.editorial-app .ready-caption{font-size:12px;color:#69725f;line-height:1.7;margin:8px 0 14px}
.editorial-app .ready-ingredients{border-color:#dce2d0}
.editorial-app .ready-item{padding:13px 0;min-height:50px;border-color:#e4e6db;font-size:14px;color:#36472e}
.editorial-app .ready-item strong{font-size:13px;color:#586847}
.editorial-app .ready-item input{width:18px;height:18px}
.editorial-app .ready-allergens{background:#f5edda;color:#887248;font-size:11px;border-radius:12px;padding:11px 12px}
.editorial-app .ready-fold{border-color:var(--line);margin:10px 0}
.editorial-app .ready-fold summary{font-size:13px;min-height:48px}
.editorial-app .ready-note{font-size:11px;line-height:1.8;color:#69725f}
.editorial-app .ready-footer{background:#fffdf5f5;border-color:var(--line);padding:13px 20px max(18px,env(safe-area-inset-bottom));border-radius:22px 22px 0 0}
.editorial-app .ready-footer .primary{background:var(--primary);color:#303c25;font-size:15px;min-height:49px;box-shadow:none}
.editorial-app .ready-favorite{color:#596f48;font-size:12px}
/* Cooking layout and timer dimensions stay controlled by their existing engine. */
.editorial-app .v9-cook.normal{background:var(--bg)}
.editorial-app .v9-cook-header{color:var(--ink)}
.editorial-app .v9-method>span{background:#ecf0e3;color:#586c45;font-size:10px;border-radius:13px}
.editorial-app .v9-cook-copy h1{font-family:var(--editorial-serif);color:var(--ink);font-size:28px}
.editorial-app .v9-cook-copy>p{color:#5f6d53;font-size:13px}
.editorial-app .v9-doneness{color:#7a7c61;font-size:11px}
.editorial-app .step-photo{border-radius:17px;background:#edeede}
.editorial-app .step-amounts{background:#edf0e2;border:1px solid #e2e8d5;color:#566844}
.editorial-app .step-amounts strong{color:#3d5130}
.editorial-app .v9-ring circle:first-child{stroke:#e8ebdd}
.editorial-app #v9-ring-progress{stroke:#e6c879}
.editorial-app .v9-pause{background:var(--primary);color:var(--ink);box-shadow:none}
.editorial-app .v9-cue{background:#f4ecda;border:1px solid #ece1c7;color:#5b603f}
.editorial-app .v9-cue>svg{color:#b0914d}
.editorial-app .v9-progress i.done{background:#60764e}
.editorial-app .v9-tools button{border-color:#e1e5d8;background:#fffefa;color:#69725f}
.editorial-app .immersive .v9-cook-copy h1,.editorial-app .immersive .v9-cook-copy>p{color:#fffefa}
.editorial-app .immersive .step-amounts{background:#f4eedee8}
.editorial-app .mine-tabs{background:#efeee5;border-radius:23px;padding:4px}
.editorial-app .mine-tabs button{border-radius:20px;min-height:40px}
.editorial-app .mine-tabs .active{background:var(--green);color:white;box-shadow:none}
.editorial-app .history-card{background:#fffefa;border-color:var(--line);border-radius:18px}
.editorial-app .history-card h3{font-family:var(--editorial-serif);font-size:17px;color:var(--ink)}
.editorial-app .history-card p{color:#69725f;font-size:11px;line-height:1.7}
.editorial-app .v9-mine-settings{background:#fffefa;border-color:var(--line);color:#647751}
.editorial-app .flow-switch.on{background:var(--green)}
.editorial-app dialog{background:#fffdf7;border-color:var(--line);color:var(--ink)}
.editorial-app .v9-bottom-sheet{border-radius:24px 24px 0 0;background:#fffdf7}
.editorial-app .v9-setting small{color:#69725f;line-height:1.7}
.editorial-app .v9-setting strong{color:var(--ink)}
.editorial-app.phone-preview{background:#efede5}
.editorial-app.phone-preview #app{background:transparent}
@media(max-width:350px){.editorial-app main{padding-left:16px;padding-right:16px}.editorial-app .editorial-intro h1{font-size:37px}.editorial-side-note{font-size:11px;right:0}.editorial-app .daily-copy h3{font-size:24px}.editorial-daily-meta{gap:7px;font-size:10px;padding-right:95px}.editorial-app .daily-cta{font-size:12px;padding:10px 11px}.editorial-app .catalog-modes button{font-size:11px}}
@media(max-height:740px){.editorial-app .v9-cook-copy h1{font-size:23px}.editorial-app .v9-cook-copy>p{font-size:12px}}
@media(prefers-reduced-motion:reduce){.editorial-app *{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Reference composition, revision 2. The imagery behind text is decorative;
   recipe photos and daily recommendation data continue to come from the catalogue. */
:root{--editorial-serif:"Yiwei Serif","Noto Serif SC","Songti SC",serif;--ink:#192d1e;--bg:#faf8f0;--green:#35482c}
.editorial-home #app{background:linear-gradient(#faf8f026,#faf8f026),#faf8f0 url("visual-assets/botanical-daylight.webp") right top / 100% 360px no-repeat}
.editorial-home main{background:linear-gradient(180deg,transparent 260px,#faf8f000 340px,#faf8f0 470px);padding:22px 17px 102px}
.editorial-app .topbar{height:40px;margin-bottom:12px}
.editorial-app .topbar>span{gap:9px}
.editorial-brand-icon{width:31px;height:35px;color:#3c4c2e}
.editorial-brand-icon svg{width:31px;height:35px;fill:none;stroke:none}
.editorial-app .topbar strong{font-size:23px;font-weight:750;letter-spacing:1px}
.editorial-app .topbar small{font-size:9px;letter-spacing:3.2px;margin-top:5px;color:#686f61}
.editorial-app .topright .avatar{background:transparent;border:0;width:40px;height:40px}
.editorial-app .topright .avatar svg{width:25px;height:25px;stroke-width:1.4}
.editorial-app .server-strip{right:64px;top:22px}
.editorial-app .server-strip button{font-size:10px;min-height:40px;opacity:.7}
.editorial-app .editorial-intro{margin-bottom:10px}
.editorial-app .editorial-intro h1{font-size:39px;font-weight:800;line-height:1.1;letter-spacing:-1.2px;margin:0 0 5px;max-width:245px}
.editorial-app .editorial-intro p{font-family:var(--editorial-serif);font-size:13px;line-height:1.6;letter-spacing:1px;color:#515e49}
.editorial-side-note{right:10px;top:43px;font-family:"KaiTi","STKaiti","Yiwei Serif",serif;font-size:12px;font-weight:500;letter-spacing:2px;line-height:1.7;color:#73551e;transform:rotate(-8deg);text-shadow:0 0 7px #fffdf4,0 0 4px #fffdf4;background:radial-gradient(ellipse,#faf8f0c9,transparent 75%)}
.editorial-side-note:after{width:63px;height:3px;background:#cb9a42;margin:5px 0 0 15px;transform:rotate(-5deg)}
.editorial-app .search{min-height:44px;height:44px;padding:9px 16px;border-color:#e3ded180;background:#fffefaeb;box-shadow:0 4px 15px #75623409}
.editorial-app .search input{font-size:13px}
.editorial-app .search>svg{width:21px;height:21px;stroke-width:1.6}
.editorial-suggestions{margin:6px 0 8px;gap:7px}
.editorial-suggestions button{min-height:30px;padding:5px 12px;background:#f8f4e796;border-color:#ddd6c966;font-family:var(--editorial-serif);font-size:12px;color:#626952}
.editorial-feature{position:relative;isolation:isolate;border-radius:19px;box-shadow:0 10px 23px #78653613}
.editorial-feature-tools{position:absolute;inset:11px 12px auto;display:flex;justify-content:space-between;align-items:center;z-index:3;pointer-events:none}
.editorial-feature-label{display:flex;align-items:center;gap:6px;background:#f7d991ed;color:#3f351c;border:1px solid #ffeec197;border-radius:20px;padding:7px 12px;font-size:12px;font-weight:600}
.editorial-feature-label svg{width:14px;height:14px;stroke:#8b6828}
.editorial-feature-tools .carousel-controls{display:flex;gap:7px;pointer-events:auto}
.editorial-app .carousel-controls button{width:31px;height:31px;min-height:31px;border:1px solid #fff6de80;background:#fffdf0cb;backdrop-filter:blur(8px);font-size:23px;line-height:1}
.editorial-app .daily-carousel{border-radius:19px;gap:0}
.editorial-app .daily-card{height:216px;border-radius:19px;background:#d9d9c7}
.editorial-app .daily-card:after{background:linear-gradient(180deg,#20241416,transparent 27%,transparent 36%,#17211339 61%,#14200fbd 100%)}
.editorial-app .daily-art img{object-position:center 48%}
.editorial-app .daily-copy{padding:0 15px 13px}
.editorial-app .daily-copy h3{font-size:25px;line-height:1.27;font-weight:800;margin:0 0 5px;text-shadow:0 1px 5px #14200f60}
.editorial-app .daily-copy .editorial-dish-note{font-size:11px;line-height:1.6;margin:0 0 8px;-webkit-line-clamp:1;max-height:18px}
.editorial-daily-meta{min-height:36px;font-size:10px;gap:10px;padding-right:100px}
.editorial-daily-meta svg{width:14px;height:14px}
.editorial-app .daily-cta{right:14px;bottom:13px;min-height:36px;font-size:12px;padding:9px 13px;background:linear-gradient(120deg,#fbe3a5,#eec778);border:1px solid #ffe3a6a0}
.editorial-app .daily-number{right:87px;top:20px;padding:0;background:none;font-size:10px;border-radius:0;text-shadow:0 1px 5px #0007}
.editorial-app .daily-dots{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0;gap:5px}
.editorial-app .daily-dots button{width:4px;height:4px}
.editorial-app .daily-dots button[aria-current=true]{width:14px}
.editorial-app .recipe-library-heading{margin:18px 1px 8px;align-items:center}
.editorial-app .recipe-library-heading h2{font-size:24px;line-height:1.3;font-weight:800}
.recipe-library-heading p{font-size:11px;line-height:1.4;margin:3px 0 0;letter-spacing:.5px}
.editorial-app .recipe-library-heading>span{font-size:10px;white-space:nowrap}
.editorial-app .editorial-library-tools .catalog-summary{flex-direction:column;align-items:flex-end;justify-content:center;gap:2px;margin:0}
.editorial-app .editorial-library-tools .catalog-quick{border:1px solid #e4dfd0;background:#f8f4e9;min-height:25px;padding:3px 8px;font-size:10px}
.editorial-app .editorial-library-tools .catalog-quick[aria-pressed=true]{background:#e5ebd9;border-color:#aeba9c;color:#35482c}
.editorial-app .editorial-library-tools .catalog-summary span{font-size:9px;padding-right:5px}
.editorial-app .catalog-filter{margin-bottom:11px}
.editorial-app .catalog-modes{background:#eeeadea8;border:1px solid #e9e3d64d;padding:3px;gap:2px;margin-bottom:8px}
.editorial-app .catalog-modes button{min-height:33px;font-size:12px;padding:7px 5px;letter-spacing:.3px}
.editorial-app .catalog-modes button[aria-pressed=true]{background:#35482c;box-shadow:inset 0 1px 1px #70836480,0 2px 3px #20321c15}
.editorial-app .catalog-options{gap:5px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.editorial-app .catalog-options button{flex-shrink:0;min-height:32px;padding:6px 9px;font-size:11px;gap:4px;background:#f7f4e9;border:1px solid #e8e3d7;line-height:1.4}
.editorial-app .catalog-options small{font-size:9px;color:#7b826d}
.editorial-app .catalog-options button[aria-pressed=true]{background:#e7ecdc;border-color:#bac5a8}
.editorial-app .catalog-summary{padding-top:0;margin-top:5px;border-top:0;min-height:25px}
.editorial-app .catalog-summary span{font-size:10px}
.editorial-app .catalog-quick{min-height:25px;padding:3px 8px;font-size:10px;border-color:transparent;background:transparent}
.editorial-app .catalog-note{display:none}
.editorial-app .cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.editorial-app .recipe{border:0;border-radius:13px;box-shadow:none;background:#fffdf8}
.editorial-app .recipe-img{height:92px}
.editorial-app .recipe-img .badge{display:none}
.editorial-app .recipe-body{padding:8px 8px 10px}
.editorial-app .recipe-body h3{font-size:13px;line-height:1.45;min-height:38px;margin:0 0 5px;font-weight:750}
.editorial-app .recipe-meta{font-size:9px;gap:3px;flex-wrap:wrap}
.editorial-app .recipe-meta svg{display:none}
.editorial-app .mobile-nav{border-radius:24px 24px 0 0;background:#fffdf6f5;border-top:1px solid #eee9db80;box-shadow:0 -4px 20px #584b2406;padding:10px 10px max(16px,env(safe-area-inset-bottom));backdrop-filter:blur(16px)}
.editorial-app .mobile-nav button{font-size:12px;color:#747769;gap:4px;min-height:43px}
.editorial-app .mobile-nav svg{height:25px;width:25px;stroke-width:1.6}
.editorial-app .mobile-nav button.active svg{fill:#263f23;stroke:#263f23}
.editorial-app .mobile-nav button.active[data-value="home"] svg path:last-child{fill:#fffdf6;stroke:#fffdf6;stroke-width:1}
.editorial-app .mobile-nav button.active:not([data-value="home"]) svg{fill:none}
.editorial-app .mobile-nav button.active{color:#22381f}
@media(max-width:350px){.editorial-home main{padding:18px 14px 100px}.editorial-app .topbar strong{font-size:21px}.editorial-app .editorial-intro h1{font-size:35px}.editorial-app .editorial-intro p{font-size:11px;letter-spacing:.4px}.editorial-side-note{font-size:10px;letter-spacing:1px;right:0;top:30px}.editorial-app .daily-copy h3{font-size:23px}.editorial-app .daily-card{height:224px}.editorial-app .catalog-options button{padding:6px 7px}.editorial-app .cards{grid-template-columns:repeat(2,minmax(0,1fr))}.editorial-app .recipe-img{height:108px}.editorial-app .recipe-body h3{font-size:14px}.editorial-app .catalog-options:has([data-value="早餐"]){gap:3px}.editorial-app .catalog-options:has([data-value="早餐"]) button{font-size:10px}}
/* Reversible trial: two-column catalogue and persistent search. */
.editorial-home .fade{display:contents;animation:none;transform:none}
.editorial-search-shell{position:sticky;top:0;z-index:25;margin:0 -17px;padding:7px 17px;transition:background .15s,box-shadow .15s}
.editorial-search-shell.is-pinned{background:#faf8f0f5;backdrop-filter:blur(16px);box-shadow:0 5px 16px #403a2010}
.editorial-search-row{display:flex;align-items:center;gap:10px}
.editorial-search-row .search{flex:1;max-width:none;min-width:0}
.editorial-search-row .search input{width:100%;min-width:0;font-size:13px}
.editorial-search-row input::-webkit-search-cancel-button{display:none}
.editorial-cancel{flex-shrink:0;font-size:12px;padding:8px 0;min-height:40px}
.editorial-home #editorial-filters{scroll-margin-top:65px}
.editorial-home .recipe-library-heading{scroll-margin-top:68px}
.editorial-app .cards.editorial-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}
.preview-card{min-width:0;overflow:hidden;border-radius:16px;background:#fffefa;box-shadow:0 4px 14px #51432605;border:1px solid #eee9db55}
.preview-open{display:block;width:100%;text-align:left;padding:0;border-radius:0}
.preview-photo{position:relative;aspect-ratio:1.25;overflow:hidden;background:#e9ebdf;border-radius:15px 15px 11px 11px}
.preview-photo img{height:100%;width:100%;display:block;object-fit:cover}
.preview-tag{position:absolute;left:9px;top:9px;max-width:calc(100% - 18px);padding:5px 8px;background:#fffcece8;border-radius:14px;color:#4c573f;font-size:10px;line-height:1.4}
.preview-open h3{font-family:var(--editorial-serif);font-weight:750;letter-spacing:-.3px;font-size:16px;line-height:1.5;padding:8px 10px 1px;min-height:34px;margin:0;color:var(--ink)}
.preview-footer{display:flex;gap:6px;align-items:center;padding:1px 8px 8px 10px;color:#76796b;min-height:35px}
.preview-footer>span{display:inline-flex;align-items:center;gap:3px;white-space:nowrap;font-size:10px}
.preview-footer>span svg{width:12px;height:12px}
.preview-footer>span+span{border-left:1px solid #e5e1d5;padding-left:6px}
.preview-favorite{margin-left:auto;flex-shrink:0;display:grid;place-items:center;width:28px;min-height:32px;padding:0;color:#8a7f68}
.preview-favorite svg{height:20px;width:20px;stroke-width:1.5}
.preview-favorite[aria-pressed=true]{color:#526d3c}
.preview-favorite[aria-pressed=true] svg{fill:#dbe6cb;stroke:#526d3c}
.editorial-searching #app{background:#faf8f0}
.editorial-searching main{padding-top:0}
.editorial-searching .topbar,.editorial-searching .editorial-intro,.editorial-searching .editorial-suggestions,.editorial-searching .editorial-feature,.editorial-searching .daily-dots,.editorial-searching .server-strip,.editorial-searching .v9-resume{display:none}
.editorial-searching .recipe-library-heading{margin-top:17px}
.editorial-searching .recipe-library-heading h2{font-size:23px}
@media(max-width:350px){.editorial-search-shell{margin:0 -14px;padding-left:14px;padding-right:14px}.editorial-search-row .search{padding-left:11px;padding-right:10px;gap:7px}.editorial-search-row .search input{font-size:12px}.editorial-search-row .search>svg{width:18px;height:18px}.preview-open h3{font-size:14px;padding-left:8px;padding-right:8px}.preview-footer{padding-left:7px;padding-right:5px;gap:3px}.preview-footer>span{font-size:9px;gap:2px}.preview-footer>span+span{padding-left:3px}.preview-footer>span svg{width:10px;height:10px}.preview-favorite{width:24px}.preview-tag{font-size:9px}}
.editorial-home{overflow-anchor:none}
.editorial-app .editorial-search-row input:focus-visible{outline:none}
.editorial-search-row .search:focus-within{box-shadow:0 0 0 2px #aeba9c;border-color:#aeba9c}
.preview-card{display:flex;flex-direction:column}
.preview-footer{margin-top:auto}
@media(min-width:351px){.preview-footer>span{font-size:11px}}
/* Kitchen hub: composed content, shared soft daylight, responsive vertical rhythm. */
.editorial-kitchen-hub #app{background:#faf9f5}
.editorial-kitchen-hub main{height:100svh;min-height:100svh;box-sizing:border-box;padding:20px 18px 88px;display:flex;flex-direction:column;background:radial-gradient(ellipse at 3% 25%,#e4e6d954,transparent 260px),radial-gradient(ellipse at 96% 60%,#eedfc847,transparent 300px)}
.editorial-kitchen-hub .topbar{height:40px;flex-shrink:0;margin-bottom:18px}
.editorial-kitchen-hub .topbar .avatar{background:none;border:0}
.editorial-kitchen-hub main>.fade{flex:1;display:flex;flex-direction:column;min-width:0;min-height:0}
.editorial-app .kitchen-reference{flex:1;min-height:0;display:grid;grid-template-rows:auto auto minmax(198px,1.7fr) auto minmax(145px,1fr);min-width:0}
.editorial-app .kitchen-reference .home-intro{margin:0 3px 15px}
.editorial-app .kitchen-reference .home-intro h1{font-size:37px;line-height:1.2;letter-spacing:-.6px;font-weight:800;margin:0 0 7px;max-width:none;color:#102f25}
.editorial-app .kitchen-reference .home-intro p{font-size:13px;line-height:1.5;letter-spacing:.5px;color:#65695f}
.kitchen-pantry-card{border-radius:21px;border:1px solid #fff;padding:12px 14px 13px;background:#ffffffdf;box-shadow:0 6px 20px #47513706}
.kitchen-pantry-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.kitchen-pantry-title{display:flex;align-items:center;gap:8px;min-height:37px;text-align:left}
.kitchen-pantry-title h2{font-family:var(--editorial-serif);font-weight:800;font-size:24px;line-height:1.2;margin:0;letter-spacing:-.5px}
.kitchen-pantry-title>span{display:grid;place-items:center;background:#f8f2e7;border-radius:50%;width:23px;height:23px;color:#956125;font-family:system-ui;font-size:24px;line-height:1}
.kitchen-quick-add{display:flex;align-items:center;gap:5px;border-radius:24px;min-height:35px;padding:6px 12px;background:linear-gradient(125deg,#35684d,#164530);color:#fffdf4;font-size:12px;line-height:1.3;white-space:nowrap;box-shadow:inset 0 1px 2px #ffffff35,0 3px 8px #26433010}
.kitchen-quick-add>span{font-size:20px;font-weight:300}
.kitchen-pantry-summary{display:flex;align-items:center;gap:19px;margin:8px 0 9px}
.kitchen-pantry-summary>p{display:flex;align-items:baseline;gap:7px;margin:0;white-space:nowrap}
.kitchen-pantry-summary strong{font-family:var(--editorial-serif);font-size:43px;font-weight:650;line-height:1;color:#10372a}
.kitchen-pantry-summary p>span{font-family:var(--editorial-serif);font-size:16px;font-weight:700}
.kitchen-pantry-summary>div{border-left:1px solid #e9e7df;padding-left:19px;font-size:12px;color:#62675d;line-height:1.7}
.kitchen-pantry-summary small{display:block;font-size:11px;color:#848879}
.kitchen-pantry-items{display:flex;align-items:stretch;gap:6px}
.kitchen-pantry-items>button{display:flex;align-items:center;justify-content:center;gap:4px;flex:1;min-width:0;height:38px;padding:3px 7px;border-radius:13px;background:linear-gradient(145deg,#f9f8f5,#f3f2ee);color:#41493e;font-size:12px;line-height:1.3}
.kitchen-pantry-items>button>span:first-child{display:flex;flex-shrink:0}
.kitchen-pantry-items>button>span:last-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.pantry-ingredient{display:block;width:33px;height:33px;background-image:url('visual-assets/pantry-ingredients.webp');background-size:200% 200%;background-repeat:no-repeat}
.ingredient-tomato{background-position:0 0}.ingredient-eggs{background-position:100% 0}.ingredient-broccoli{background-position:0 100%}.ingredient-garlic{background-position:100% 100%}
.kitchen-pantry-items svg{width:23px;height:23px;color:#68824b}
.kitchen-pantry-items>.kitchen-pantry-more{flex:0 0 35px;border-radius:50%;font-size:21px;color:#7a7b71}
.kitchen-pantry-items>.kitchen-pantry-empty{justify-content:flex-start;color:#687860;background:#f3f5ec;padding:7px 10px}
.kitchen-pantry-empty>span{margin-left:auto}
.kitchen-lab-card{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;text-align:left;width:100%;min-height:198px;overflow:hidden;margin:14px 0 17px;padding:16px 16px 17px;border:1px solid #fff;border-radius:21px;background:#eceddf url('visual-assets/kitchen-lab-airy.webp') center/cover no-repeat;box-shadow:0 8px 20px #46513606}
.kitchen-lab-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:20px;background:#fffff4b0;color:#193b2c;font-size:11px;line-height:1.5;letter-spacing:.2px}
.editorial-app .kitchen-lab-card h2{font-family:var(--editorial-serif);font-size:32px;font-weight:800;line-height:1.2;letter-spacing:-.4px;color:#103429;margin:22px 0 8px;text-shadow:0 1px 10px #fbfaf170}
.kitchen-lab-card p{font-size:12px;line-height:1.65;color:#526452;letter-spacing:.1px;margin:0;max-width:none;position:relative;z-index:1;text-shadow:0 1px 7px #fffef5}
.kitchen-lab-cta{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:42px;border-radius:27px;padding:8px 21px;position:absolute;bottom:17px;left:16px;background:linear-gradient(125deg,#396b50,#15442e);color:#fffff6;font-family:var(--editorial-serif);font-size:19px;line-height:1.3;box-shadow:inset 0 1px 2px #ffffff36,0 5px 12px #284c3220}
.kitchen-lab-cta svg{width:24px;height:24px;stroke-width:1.5}
.editorial-app .kitchen-reference .v9-section-title{font-size:24px;font-weight:750;line-height:1.3;margin:0 2px 9px;letter-spacing:-.4px}
.editorial-app .kitchen-reference .v9-kitchen-entries{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.editorial-app .kitchen-reference .v9-kitchen-entries>button{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:flex-start;min-height:145px;overflow:hidden;padding:10px 13px;border:1px solid #fff;border-radius:20px;background:linear-gradient(130deg,#fffffff0,#fcfcf7bc);box-shadow:0 6px 20px #46513606;text-align:left}
.editorial-app .kitchen-reference .entry-symbol{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;margin:0 0 8px;border-radius:50%;background:#edf2e2;color:#52742c}
.editorial-app .kitchen-reference .entry-symbol.peach{background:#f6ead6;color:#976224}
.kitchen-reference .entry-symbol svg{width:28px;height:28px;stroke-width:1.5}
.editorial-app .kitchen-reference .v9-kitchen-entries h3{display:flex;align-items:center;justify-content:space-between;gap:2px;width:100%;font-family:var(--editorial-serif);font-size:19px;font-weight:750;letter-spacing:-.7px;line-height:1.25;white-space:nowrap;margin:0 0 6px}
.kitchen-reference .v9-kitchen-entries h3>span{display:grid;place-items:center;flex-shrink:0;border-radius:50%;width:21px;height:21px;background:#edf2e4;color:#36532a;font-family:system-ui;font-size:22px;line-height:1}
.kitchen-reference .v9-kitchen-entries>button:last-child h3>span{background:#f7ecdc;color:#95621f}
.editorial-app .kitchen-reference .v9-kitchen-entries p{font-size:11px;line-height:1.55;color:#62695d;margin:0;position:relative;z-index:1}
.editorial-app .kitchen-reference .kitchen-member-note{align-self:flex-start;font-size:10px;line-height:1.4;color:#95662c;background:#f8eddbd9;padding:3px 7px;border-radius:14px;margin-top:6px;position:relative;z-index:1}
.kitchen-corner-art{position:absolute;pointer-events:none;right:-17px;bottom:-16px;width:96px;height:62px;object-fit:cover;border-radius:50%;filter:blur(4px);opacity:.5;mask-image:radial-gradient(ellipse at 80% 80%,#000 5%,transparent 71%);z-index:-1;transform:rotate(-12deg)}
.v9-kitchen-entries>button:last-child .kitchen-corner-art{transform:rotate(12deg);opacity:.48}
@media(max-height:790px){
 .editorial-kitchen-hub main{padding-top:12px;padding-bottom:84px}
 .editorial-kitchen-hub .topbar{height:34px;margin-bottom:12px}
 .editorial-kitchen-hub .topbar strong{font-size:21px}
 .editorial-app .kitchen-reference{grid-template-rows:auto auto minmax(181px,1.7fr) auto minmax(127px,1fr)}
 .editorial-app .kitchen-reference .home-intro{margin-bottom:11px}
 .editorial-app .kitchen-reference .home-intro h1{font-size:32px;margin-bottom:5px}
 .kitchen-pantry-card{padding:9px 12px 10px}
 .kitchen-pantry-title h2{font-size:22px}
 .kitchen-pantry-summary{margin:5px 0 6px}
 .kitchen-pantry-summary strong{font-size:37px}
 .kitchen-lab-card{min-height:181px;padding:12px 14px;margin:11px 0 12px}
 .editorial-app .kitchen-lab-card h2{font-size:28px;margin:14px 0 6px}
 .kitchen-lab-card p{font-size:11px}
 .kitchen-lab-cta{bottom:12px;left:14px;min-height:37px;font-size:17px;padding:6px 19px}
 .editorial-app .kitchen-reference .v9-section-title{font-size:22px;margin-bottom:8px}
 .editorial-app .kitchen-reference .v9-kitchen-entries>button{min-height:127px;padding:10px 11px}
 .editorial-app .kitchen-reference .entry-symbol{width:32px;height:32px;margin-bottom:7px}
 .kitchen-reference .entry-symbol svg{width:24px;height:24px}
 .editorial-app .kitchen-reference .v9-kitchen-entries h3{font-size:17px;margin-bottom:5px}
 .editorial-app .kitchen-reference .kitchen-member-note{margin-top:5px;font-size:9px}
}
@media(max-width:350px){
 .editorial-kitchen-hub main{padding-left:14px;padding-right:14px}
 .kitchen-pantry-title{gap:5px}.kitchen-pantry-title h2{font-size:20px}
 .kitchen-quick-add{padding:6px 9px;font-size:11px}
 .kitchen-pantry-summary{gap:12px}.kitchen-pantry-summary>div{padding-left:12px;font-size:11px}
 .editorial-app .kitchen-reference .v9-kitchen-entries h3{font-size:15px;letter-spacing:-.5px}
 .kitchen-reference .v9-kitchen-entries h3>span{width:18px;height:18px;font-size:19px}
 .editorial-app .kitchen-reference .v9-kitchen-entries p{font-size:10px}
 .kitchen-lab-card p{font-size:10px;letter-spacing:0}
}
/* Journal: identity first, one content switch, separate history sections. */
.editorial-mine #app{background:#faf9f4}
.editorial-mine main{padding:20px 17px 105px;background:radial-gradient(ellipse at 0 20%,#eeeddf6b,transparent 420px)}
.editorial-mine .topbar{margin-bottom:4px}
.journal-settings-row{display:flex;justify-content:flex-end;margin:0 0 4px;min-height:32px}
.editorial-app .journal-settings-row .v9-mine-settings{margin:0;padding:6px 12px;min-height:32px;border-radius:20px;border:1px solid #eeece4;background:#ffffffd9;box-shadow:0 3px 10px #34442607;font-size:12px;gap:6px;color:#405b35}
.journal-settings-row .v9-mine-settings svg{width:17px;height:17px}
.journal-intro{margin:0 2px 16px}
.journal-intro h1{font-family:var(--editorial-serif);font-size:30px;font-weight:800;line-height:1.3;letter-spacing:-.5px;margin:0 0 7px;color:#16382d}
.journal-intro p{font-size:13px;color:#777c70;line-height:1.6;margin:0}
.editorial-app .journal-account{display:flex;align-items:center;gap:10px;margin:0 0 13px;padding:13px 12px;border:1px solid #eeeee6;border-radius:18px;background:#ffffffdd;box-shadow:0 5px 18px #444e3704}
.editorial-app .journal-account .account-avatar{width:43px;height:43px;flex-shrink:0;font-family:var(--editorial-serif);font-size:24px;border-radius:50%;background:linear-gradient(120deg,#fbf2d9,#f3e9cc);color:#a17e37}
.journal-account>div{flex:1;min-width:0}
.journal-account strong{display:block;font-size:15px;line-height:1.4;overflow-wrap:anywhere;color:#1c372d}
.journal-account small{font-size:11px;color:#777e70;margin-top:3px;line-height:1.5;overflow-wrap:anywhere}
.journal-account-button{display:inline-flex;align-items:center;gap:7px;flex-shrink:0;padding:8px 11px;min-height:36px;background:#f7f2e4;border-radius:22px;font-size:11px;color:#354b30;white-space:nowrap}
.journal-account-button.guest{background:linear-gradient(120deg,#f8df9c,#f2cf79);border:1px solid #edce86;color:#26331d}
.journal-account-button>span{font-size:18px;line-height:1}
.editorial-app .journal-tabs{display:flex;gap:4px;border:1px solid #d7dfcf;background:#f0f2e980;border-radius:25px;padding:3px;margin:0 0 20px}
.editorial-app .journal-tabs button{flex:1;min-height:38px;font-size:14px;color:#3d4d35;border-radius:22px}
.editorial-app .journal-tabs button.active{color:#fffff6;background:linear-gradient(120deg,#3b5032,#314829);box-shadow:inset 0 1px 1px #ffffff1f}
.journal-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:23px 2px 10px}
.journal-content>.journal-section-heading:first-child{margin-top:0}
.journal-section-heading h2{font-family:var(--editorial-serif);font-weight:750;font-size:23px;line-height:1.35;letter-spacing:-.4px;margin:0}
.journal-section-heading>span{font-size:12px;color:#848779;white-space:nowrap}
.journal-list{display:grid;gap:9px}
.journal-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:148px;padding:18px 12px 20px;background:#ffffffc9;border:1px solid #efeee7;border-radius:20px;box-shadow:0 5px 18px #444e3703}
.journal-illustration{width:102px;height:80px;flex-shrink:0;opacity:.9;margin-bottom:6px}
.journal-illustration>ellipse{stroke:none}
.journal-empty p{font-size:12px;line-height:1.65;color:#798170;text-align:center;margin:0}
.journal-row{display:flex;align-items:center;gap:9px;min-width:0;padding:10px;border-radius:17px;border:1px solid #ecece3;background:#ffffffde;box-shadow:0 4px 14px #34412e03}
.journal-photo{width:49px;height:53px;border-radius:10px;object-fit:cover;flex-shrink:0;background:#f0f0e6}
.journal-status-icon{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border-radius:50%;background:#faf0d9;color:#aa8737}
.journal-status-icon svg{width:17px;height:17px}
.journal-row-copy{flex:1;min-width:0}
.journal-row h3{font-family:var(--editorial-serif);font-size:16px;font-weight:750;line-height:1.45;margin:0 0 3px;color:#233b2e;overflow-wrap:anywhere}
.journal-row p,.journal-row small{display:block;font-size:11px;line-height:1.6;color:#818678;margin:0;overflow-wrap:anywhere}
.journal-actions{display:flex;flex-direction:column;gap:5px;flex:0 0 68px;white-space:nowrap}
.editorial-app .journal-actions button{width:100%;min-height:33px;font-size:12px;padding:5px 6px;border-radius:20px;line-height:1.4}
.editorial-app .journal-actions .primary{background:linear-gradient(120deg,#f9df9a,#f2d17f);border-color:#edcf85;color:#2e3b20}
.editorial-app .journal-actions .secondary{background:#f8f7ef;border-color:#eceadf}
.journal-row-link{display:flex;align-items:center;justify-content:center;gap:5px;min-height:34px;flex:0 0 auto;padding:6px 9px;border:1px solid #eceadf;border-radius:20px;background:#f8f7ef;color:#455936;font-size:11px;white-space:nowrap}
.journal-row-link>span{font-size:17px;line-height:1}
.journal-ended .journal-photo{width:40px;height:40px}
.journal-ended .journal-row{padding:8px 10px}
.journal-ended .journal-row h3{font-size:14px}
.journal-info{display:flex;align-items:flex-start;gap:9px;padding:12px;border:1px solid #e0e5d8;background:#f1f4eb9c;border-radius:16px;margin:12px 0 0;font-size:11px;color:#7c8570;line-height:1.8}
.journal-info>span:first-child{flex:0 0 17px;display:grid;place-items:center;width:17px;height:17px;margin-top:2px;background:#8ba07e;color:white;font-family:Georgia,serif;font-size:13px;font-weight:bold;border-radius:50%;line-height:1}
.journal-favorites{grid-template-columns:repeat(2,minmax(0,1fr))}
.journal-prefs{border-radius:20px;padding:18px 14px;background:#ffffffd9;border:1px solid #eceee4}
.journal-prefs>p{font-size:13px;color:#707a63;margin:0 0 14px;line-height:1.7}
.journal-prefs .foodchips{display:flex;gap:8px;flex-wrap:wrap}
.journal-prefs .chip{font-size:12px;padding:8px 13px;border-radius:20px;background:#fafaf4;border-color:#e0e5d8}
.journal-prefs .chip.active{background:#e8efdf;border-color:#aebda1;color:#3f5c31}
.journal-prefs>.journal-pref-note{font-size:11px;color:#858b7e;margin:16px 0 0}
/* Settings is a deliberate bottom sheet; account dialogs remain separate. */
.editorial-app dialog.v9-bottom-sheet{width:100%;max-width:430px;max-height:92dvh;overflow:auto;border:0;background:#fffef8;padding:26px 22px 24px;border-radius:26px 26px 0 0;box-shadow:0 -12px 45px #23342618}
.editorial-app dialog.v9-bottom-sheet:before{content:'';display:block;width:38px;height:4px;border-radius:4px;background:#d3d3ca;margin:-15px auto 20px}
.editorial-app .v9-bottom-sheet .dialog-head{margin:0 0 12px;align-items:center}
.editorial-app .v9-bottom-sheet .dialog-head h2{font-family:var(--editorial-serif);font-size:29px;font-weight:800;color:#173c2e;line-height:1.25}
.editorial-app .v9-bottom-sheet .dialog-head button{width:36px;height:36px;display:grid;place-items:center;color:#274735}
.editorial-app .v9-bottom-sheet .dialog-head svg{width:23px;height:23px}
.editorial-app .v9-sheet>p:first-child{font-size:13px;line-height:1.7;color:#82877a;margin:0 0 14px}
.editorial-app .v9-setting{padding:17px 0;gap:14px;border-top:1px solid #e5e8de;border-bottom:0}
.editorial-app .v9-setting strong{font-size:18px;font-weight:650;color:#244330}
.editorial-app .v9-setting small{font-size:11px;line-height:1.8;margin-top:5px;color:#858979}
.editorial-app .v9-setting .flow-switch{flex-shrink:0;width:47px;height:28px;background:#e2e2da;border:1px solid #d5d7cb;border-radius:20px;box-shadow:inset 0 1px 3px #46503a1a}
.editorial-app .v9-setting .flow-switch.on{background:#365535;border-color:#365535}
.editorial-app .v9-setting .flow-switch i{width:22px;height:22px;background:white;box-shadow:0 1px 3px #23301c26}
.editorial-app .v9-skip{font-size:14px;padding-top:19px;border-top:1px solid #e5e8de;margin:0 0 19px;line-height:1.6}
.editorial-app .v9-skip input{width:20px;height:20px;accent-color:#385634}
.editorial-app .v9-sheet>.v9-caption{font-size:11px;line-height:1.8;color:#8a8f80;padding-left:12px;border-left:3px solid #bac7ab;margin:0 0 17px}
.editorial-app .v9-bottom-sheet .dialog-actions{justify-content:flex-end;margin-top:15px}
.editorial-app .v9-bottom-sheet .dialog-actions .primary{width:auto;min-width:122px;padding:12px 23px;min-height:46px;font-size:16px;background:linear-gradient(125deg,#f6dea0,#f1cd75);border-color:#ecd391;color:#25361e}
/* Pantry chips keep their natural width and show ingredient detail. */
.kitchen-pantry-items{gap:7px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;padding-bottom:1px}
.kitchen-pantry-items>button{flex:0 0 auto;min-width:86px;max-width:128px;height:42px;padding:4px 9px;gap:7px;font-size:13px;border-radius:13px;background:#f4f3ef}
.kitchen-pantry-items .pantry-ingredient{width:37px;height:37px}
.kitchen-pantry-items>.kitchen-pantry-more{flex:0 0 36px;min-width:36px;max-width:36px;height:40px;padding:0;align-self:center}
.kitchen-pantry-items>.kitchen-pantry-empty{flex:1;max-width:none}
@media(max-width:350px){
 .journal-intro h1{font-size:26px}.journal-intro p{font-size:12px}
 .editorial-app .journal-account{gap:7px;padding:11px 9px}.journal-account strong{font-size:13px}.journal-account small{font-size:9px}.journal-account-button{font-size:10px;padding:7px 9px}.editorial-app .journal-account .account-avatar{width:35px;height:35px;font-size:21px}
 .journal-row{gap:7px;padding:9px}.journal-photo{width:43px;height:48px}.journal-status-icon{display:none}.journal-row h3{font-size:14px}.journal-row-link{font-size:10px;padding:6px 8px}
 .journal-section-heading h2{font-size:21px}.journal-empty{min-height:132px}
 .kitchen-pantry-items>button{height:40px;min-width:83px;padding:3px 8px;font-size:12px}.kitchen-pantry-items .pantry-ingredient{width:34px;height:34px}
 .editorial-app dialog.v9-bottom-sheet{padding-left:18px;padding-right:18px}.editorial-app .v9-setting strong{font-size:17px}
}
@media(max-width:350px) and (max-height:790px){.editorial-app.editorial-kitchen-hub main{padding-bottom:90px}.editorial-app.editorial-kitchen-hub .kitchen-reference .home-intro{margin-bottom:5px}}
