/* Compact workbench and recipe browsing; shared theme and 44px touch targets retained. */
.back-control{min-width:44px;min-height:44px;padding:8px 4px;background:none;border:0;color:var(--accent-deep);font-size:13px;white-space:nowrap}
select{appearance:none;-webkit-appearance:none;background-image:none;padding-right:12px}
summary{list-style:none;display:block}
summary::-webkit-details-marker{display:none}
summary::marker{content:''}
summary:before{content:'+';display:inline-block;width:20px;font-weight:500}
details[open]>summary:before{content:'−'}
.bottom-nav{align-items:center;display:grid;grid-template-columns:1fr 1fr 1fr;padding:5px 16px calc(7px + var(--safe-bottom))}
.bnav-plus{justify-self:center;transform:none;margin:0;min-height:48px}
.plus-box{width:44px;height:44px;border-radius:13px;box-shadow:none}
.bnav{font-size:11px;min-height:48px}
.compact-workbench{padding:12px 0 4px}
.workbench-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:60px;margin-bottom:14px}
.workbench-head>div{display:flex;align-items:baseline;gap:12px}
.workbench-brand{font-size:21px;font-weight:650;color:var(--accent-deep);letter-spacing:2px}
.workbench-head h1{margin:0;font-size:14px;font-weight:400;color:var(--muted)}
.workspace-entries{display:flex;flex-direction:column;gap:12px}
.compact-workbench .workspace-entry{display:block;flex:none;height:136px;width:100%;margin:0;border-radius:18px;text-align:left}
.compact-workbench .workspace-entry>small{left:20px;top:16px;font-size:10px;letter-spacing:.5px}
.compact-workbench .workspace-entry>b{left:20px;bottom:49px;font-size:24px;letter-spacing:1px;line-height:1.3}
.compact-workbench .workspace-entry>span{left:20px;bottom:20px;font-size:12px;max-width:60%;line-height:1.5}
.compact-workbench .bar-book-art{right:-2%;top:-10%;width:52%;height:120%;opacity:.38}
.compact-workbench .knowledge-entry .bar-book-art{opacity:.32}
.workbench-journal{display:flex;align-items:center;gap:14px;width:100%;min-height:70px;border:1px solid var(--surface);border-radius:16px;padding:12px 18px;text-align:left;background:var(--card);color:var(--accent-deep)}
.journal-icon{display:grid;place-items:center;width:40px;height:40px;flex:none}
.workbench-journal b{display:block;font-size:16px;font-weight:600}
.workbench-journal small{display:block;font-size:11px;color:var(--muted);margin-top:3px}
.workbench-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.workbench-shortcuts>button{min-height:52px;display:flex;align-items:center;gap:10px;border:1px solid var(--surface);border-radius:13px;padding:10px 14px;text-align:left;font-size:13px;color:var(--accent-deep)}
.library-page .library-top{padding:calc(6px + var(--safe-top)) 0 4px}
.library-page .search-pill{height:46px;border-radius:23px}
.library-page .search-pill input{padding:8px 4px}
.library-page .library-count{margin:2px 0 0;min-height:44px}
.library-page .source-tabs{gap:0;margin:0 0 4px;justify-content:space-between}
.library-page .source-tabs button{flex:1;min-height:44px;padding:8px 4px;font-size:12px}
.library-page .library-secondary{display:flex;justify-content:flex-end;margin:0}
.library-page .library-secondary .textlink{font-size:11px;padding:6px 0}
.library-page .library-controls{margin:0 0 8px;gap:6px}
.library-page .filter-chips{gap:4px}
.library-page .filter-chips>button{padding:7px 10px;font-size:11px;min-height:44px;border-radius:14px}
.library-page .sort-control{border-color:var(--surface);font-size:11px;border-radius:12px}
.library-page .recipe-grid{gap:8px}
.library-page .card{padding:10px 12px;border-radius:14px}
.library-page .keep-top{margin:-7px -7px -2px 0}
.library-page .kind-label{font-size:9px}
.library-page .card-title{font-size:15px;line-height:1.4;margin:0 0 6px}
.library-page .card-en{font-size:11px;line-height:1.4;margin:0 0 6px}
.library-page .card-snip{font-size:12px;line-height:1.5;margin:4px 0 8px;-webkit-line-clamp:2}
.library-page .keep-ings{font-size:11px;line-height:1.6;margin:6px 0 8px}
.library-page .keep-ings>div{display:flex;gap:6px}
.library-page .keep-ings b{font-size:11px;margin-left:0}
.library-page .card-tags{gap:4px}
.library-page .tag-pill{padding:2px 6px;font-size:9px}
.library-page .card-meta{font-size:10px;line-height:1.4;margin-top:8px;overflow-wrap:anywhere}
.library-page .library-note{margin:14px 0;font-size:11px;line-height:1.6}
@media(min-width:960px){.compact-workbench{padding-top:16px}.workbench-head{margin-bottom:16px}.compact-workbench .workspace-entry{height:144px}.compact-workbench .bar-book-art{width:44%;right:4%}.workbench-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr))}.library-page .recipe-grid:not(.list){grid-template-columns:repeat(3,minmax(0,1fr))}.library-page .card{padding:12px 14px}.library-page .card-title{font-size:16px}}
@media(max-width:360px){.compact-workbench .workspace-entry>span{max-width:68%;font-size:11px}.compact-workbench .bar-book-art{right:-12%;opacity:.25}.library-page .filter-chips>button{padding-inline:8px}.library-page .card{padding:9px}.library-page .card-title{font-size:14px}}

.library-inline-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.library-inline-actions .textlink{font-size:11px;white-space:nowrap;padding-inline:0}

/* Brand color roles: caramel orange, milk white, cocoa and pistachio. Color declarations only. */
.workbench-brand,.workbench-journal,.workbench-shortcuts>button{color:var(--text)}
.journal-icon,.workbench-shortcuts>button .ui-icon{color:var(--accent)}
.compact-workbench .workspace-entry{background:linear-gradient(120deg,var(--peach),var(--peach-light));border-color:var(--peach-border);color:var(--text)}
.compact-workbench .workspace-entry>span{color:var(--muted)}
.compact-workbench .knowledge-entry{--wheat:#BDCE9F;--card:#F6F8F0;--accent-deep:var(--sage-ink);background:linear-gradient(120deg,var(--sage),#F1F5E9);border-color:var(--sage-border);color:var(--sage-ink)}
.compact-workbench .knowledge-entry>span{color:var(--sage-ink)}
.workbench-head>.workbench-welcome{display:block;min-width:0}
.workbench-welcome .weather-line{min-height:36px;padding:0;background:none;text-align:left;font-size:12px;color:var(--muted)}
.workbench-welcome h1{font-size:26px;font-weight:650;color:var(--text);line-height:1.4;margin:4px 0}
.workbench-welcome p{font-size:13px;line-height:1.7;color:var(--muted);margin:0 0 6px;overflow-wrap:anywhere}
.baking-news{margin-top:20px}.news-heading{display:flex;justify-content:space-between;align-items:center}.news-heading h2{font-size:17px;margin:0}.news-heading button{font-size:12px;min-height:44px}
.news-item{display:block;padding:14px 0;border-bottom:1px solid var(--surface);color:var(--text);text-decoration:none}.news-item>span{display:block;font-size:14px;line-height:1.65;overflow-wrap:anywhere}.news-item small{display:block;font-size:11px;color:var(--muted);margin-top:6px}.news-credit{font-size:10px;color:var(--muted);line-height:1.7}
.city-search{display:flex;gap:8px}.city-search input{min-width:0;flex:1;font-size:16px}.city-result{display:block;text-align:left;width:100%;padding:14px 0;border-bottom:1px solid var(--surface)}.city-result small{color:var(--muted)}
.create-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.create-options .create-option{min-width:0;gap:10px;padding:16px 12px}.create-options .create-option b{font-size:14px}
/* The horizontal scroller is contained inside the workbench. */
.baking-news,#news-feed{min-width:0;max-width:100%}.news-track{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;padding:2px 1px 8px;position:relative}.news-track::-webkit-scrollbar{display:none}
.news-card{flex:0 0 88%;min-width:0;scroll-snap-align:start;text-align:left;padding:20px;border:1px solid var(--surface);border-radius:18px;background:var(--card);color:var(--text);display:flex;flex-direction:column;min-height:230px}.news-card:nth-child(3n+2){background:var(--wheat-tint)}.news-card:nth-child(3n+3){background:var(--sage)}.news-card-top{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:11px}.news-card-top span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.news-card h3{font-size:17px;line-height:1.6;margin:14px 0 8px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.news-card p{font-size:12px;color:var(--muted);line-height:1.7;margin:0 0 16px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.news-card time{font-size:11px;color:var(--muted);margin-top:auto}.news-position{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted)}.news-dots{display:flex;flex-wrap:wrap;gap:0}.news-dots button{width:24px;height:36px;padding:0;background:none;position:relative}.news-dots button:before{content:'';display:block;width:5px;height:5px;margin:auto;border-radius:50%;background:var(--surface)}.news-dots button[aria-current=true]:before{width:14px;border-radius:4px;background:var(--accent)}.news-excerpt{font-size:16px;line-height:1.95;white-space:pre-wrap}.news-detail-meta{font-size:12px;color:var(--muted)}.news-detail h3{font-size:13px;color:var(--accent-deep)}
@media(min-width:760px){.news-card{flex-basis:75%}}
.knowledge-folder{border-top:1px solid var(--surface);margin:8px 0}.knowledge-folder>summary{padding:14px 4px;font-size:15px;font-weight:600;cursor:pointer}.knowledge-folder>summary small{float:right;color:var(--muted);font-size:12px}.knowledge-folder .record-link{min-height:48px;padding-block:10px}.note-reader{overflow-wrap:anywhere;line-height:1.85}.note-reader table{display:block;overflow-x:auto;max-width:100%;border-collapse:collapse}.note-reader td,.note-reader th{border:1px solid var(--surface);padding:8px}.note-reader blockquote{margin:16px 0;padding:10px 16px;border-left:3px solid var(--accent);background:var(--bg)}.note-reader ul,.note-reader ol{padding-left:22px}
