.trend-review-note{display:grid;gap:5px;background:#e9eddc;border:1px solid #d1dbc3;border-radius:12px;padding:16px 20px;margin:0 0 24px;font-size:.85rem;color:#3b4d31}.trend-review-note strong{font-size:.9rem}.trend-cards{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:25px}.trend-card{position:relative;display:flex;flex-direction:column;align-items:start;text-align:left;background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:24px;color:var(--ink);gap:10px;min-height:180px}.trend-card[aria-pressed=true]{border:2px solid var(--sage);background:#edf0e3;padding:23px}.trend-card strong{font:500 1.9rem/1.15 Georgia,serif;max-width:15ch}.trend-card>span:last-child{font-size:.85rem;color:var(--muted)}.trend-card .eyebrow{margin:0;font-size:.65rem}.trend-card-index{position:absolute;right:18px;top:15px;color:#a8b29b;font-size:.8rem}.trend-detail{padding:32px;scroll-margin-top:18px}.trend-detail>h2{font-family:Georgia,serif;font-size:2.6rem;font-weight:500;max-width:22ch}.trend-detail>p{max-width:70ch}.trend-facts{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:20px;border-block:1px solid var(--line);padding:18px 0;margin:22px 0}.trend-facts span{display:block;font-size:.7rem;font-weight:800;letter-spacing:.09em;color:var(--sage);text-transform:uppercase}.trend-facts strong{display:block;font-size:.95rem;margin-top:5px}.trend-controls{display:flex;gap:20px;align-items:end;flex-wrap:wrap;background:var(--sand);padding:20px;border-radius:12px}.trend-controls label{font-size:.85rem;font-weight:700;display:flex;flex-direction:column;gap:6px;min-width:0}.trend-yield-field{display:flex;align-items:center;gap:9px}.trend-controls input,.trend-controls select{font:inherit;font-size:1rem;min-height:48px;padding:9px 12px;border:1px solid #baa98f;border-radius:8px;background:var(--paper);color:var(--ink)}.trend-controls input{width:95px}.trend-controls select{max-width:100%}.trend-controls button{min-width:48px;min-height:46px;padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);font-weight:700}.trend-controls button[aria-pressed=true]{background:var(--ink);color:white}.trend-controls [role=group]{display:flex;gap:7px}.trend-controls+label{margin-left:auto}.trend-card:focus-visible,.trend-controls :focus-visible,.trend-detail button:focus-visible{outline:3px solid var(--gold);outline-offset:3px}#trend-error{color:#923d27;font-weight:700;min-height:1.6em}.trend-detail button{min-height:46px;white-space:normal}.trend-detail button:disabled{opacity:.45;cursor:default}.trend-source{margin-top:30px;padding-top:24px;border-top:1px solid var(--line);font-size:.85rem}.trend-source h3{font-size:1rem}.trend-source p{margin-bottom:10px}.trend-detail .bread-ingredient-list strong{max-width:45%;overflow-wrap:anywhere}.trend-detail #trend-rows{margin-top:22px}.trend-review-banner{padding:12px 0;font-size:.8rem;color:var(--sage)}#trend-copy-fallback{margin-top:15px}#trend-status{min-height:1.6em;color:var(--sage);font-size:.85rem}.trend-page .bread-note{font-size:.85rem}.trend-shell [hidden]{display:none!important}
@media(max-width:700px){.trend-facts{grid-template-columns:1fr 1fr}.trend-facts>div:last-child{grid-column:1/-1}.trend-card{padding:20px}.trend-card[aria-pressed=true]{padding:19px}.trend-card strong{font-size:1.5rem}.trend-detail{padding:22px}.trend-detail>h2{font-size:2rem}.trend-controls{padding:16px;gap:14px}.trend-controls>label:last-child{width:100%}.trend-controls select{width:100%}.trend-cards{gap:10px}.trend-card-index{display:none}}
@media(max-width:380px){.trend-cards{grid-template-columns:1fr}.trend-card{min-height:135px}.trend-detail{padding:18px}.trend-detail .bread-ingredient-list>div{gap:10px}.trend-detail .bread-ingredient-list strong{flex-shrink:1}}

.trend-card .trend-card-image{display:block;width:100%;height:190px;object-fit:contain;background:#fff;border-radius:10px}.trend-card{min-width:0}.trend-card strong{overflow-wrap:break-word}@media(max-width:700px){.trend-card .trend-card-image{height:135px}}@media(max-width:380px){.trend-card .trend-card-image{height:180px}}
.converter-workspace{min-width:0}.tool-tabs{display:flex;gap:5px;background:#e9e5d8;border-radius:12px;padding:5px;margin-bottom:12px}.tool-tabs button{flex:1;min-height:44px;border:0;border-radius:8px;background:transparent;font-weight:750;color:var(--ink)}.tool-tabs button[aria-selected=true]{background:var(--paper);box-shadow:0 2px 6px #34231c18}.tool-tabs button:focus-visible{outline:3px solid var(--gold)}.tool-panel h2{font-size:1.75rem;margin-bottom:20px}.tool-inputs{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:13px;margin-bottom:18px}.tool-inputs label{display:flex;flex-direction:column;gap:6px;font-size:.85rem;font-weight:700;min-width:0}.tool-inputs input,.tool-inputs select{width:100%;min-width:0;min-height:48px;border:1px solid var(--line);padding:9px;border-radius:9px;background:var(--paper);font-size:1rem;color:var(--ink)}.tool-result>div strong{font-size:clamp(2.7rem,5vw,4rem);overflow-wrap:anywhere}.tool-error{color:#9b3f29;font-size:.85rem;font-weight:700;min-height:1.6em;margin:8px 0}.butter-equivalents{margin:5px 0 12px}.butter-equivalents>div{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:8px 0}.butter-equivalents dt{font-size:.85rem;color:var(--muted)}.butter-equivalents dd{font-weight:750;margin:0}.measure-summary{font-size:.72rem;color:var(--sage);font-weight:700;margin:7px 0 11px}.converter-settings .settings-reset{min-height:44px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);padding:8px 12px}.collection-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.collection-tabs button{min-height:46px;border:1px solid var(--line);border-radius:9px;padding:9px 15px;background:var(--paper);font-weight:700;color:var(--ink)}.collection-tabs button[aria-pressed=true]{background:var(--ink);color:white}.v15-banner{font-size:.8rem;color:var(--sage);padding:10px 0}.tool-result p{line-height:1.5}.tool-inputs [aria-invalid=true]{border-color:#9b3f29}.tool-panel table caption{text-align:left;font-size:.8rem;margin-bottom:8px}.measure-help{font-size:.8rem;line-height:1.5;color:var(--muted)}@media(max-width:540px){.tool-panel h2{font-size:1.35rem}.tool-inputs{gap:10px}.tool-panel .result{padding:16px}.tool-tabs button{font-size:.85rem;padding:8px 4px}.converter-settings-body .quick-amounts>div{flex-wrap:wrap}.measure-summary{font-size:.7rem}.hero{gap:16px}.collection-tabs{margin-top:5px}.nav nav{gap:0 15px}.trend-review-note{font-size:.8rem}}

/* v16 narrow-screen review: keep values and controls within their containers. */
@media(max-width:540px){
 .tool-panel .result>div{flex-wrap:wrap;column-gap:8px;row-gap:2px}
 .tool-panel .result>div>strong{min-width:0;max-width:100%}
 .tool-panel .result>div>span{flex-shrink:0}
 #recipe-app input:not([type=checkbox]):not([type=file]),#recipe-app select,.fraction-fields input{font-size:1rem}
 .recipe-scale>div,.bread-presets{flex-wrap:wrap;max-width:100%}
 .recipe-scale button{flex-shrink:0}
 .recipe-row-target{min-width:0;overflow-wrap:anywhere}
 .butter-equivalents dd{min-width:0;overflow-wrap:anywhere;text-align:right}
 .converter-settings summary{line-height:1.4;padding-block:12px}
 .converter-settings select,.tool-inputs select{max-width:100%;text-overflow:ellipsis}
 .collection-tabs button{max-width:100%;white-space:normal}
 .tool-tabs button{touch-action:manipulation}
 .converter-workspace button:focus-visible,.converter-workspace select:focus-visible,.converter-workspace input:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
}
@media(max-width:380px){
 .tool-inputs{grid-template-columns:minmax(0,1fr)}
 .recipe-row{grid-template-columns:minmax(0,1fr)}
 .recipe-row-target{text-align:left;padding-left:34px}
 .recipe-row-tools{justify-content:flex-start;padding-left:34px;flex-wrap:wrap}
 .bread-ingredient-list>div{flex-wrap:wrap;gap:5px 12px}
 .bread-ingredient-list>div>span{flex-basis:100%}
 .bread-ingredient-list>div>strong{max-width:100%;text-align:left}
}

/* v18: readable editorial guidance without lengthening the input form. */
.depth-section{margin-top:32px;margin-bottom:32px;max-width:100%;line-height:1.75}.depth-section h2{font-size:clamp(1.55rem,3vw,2.15rem);line-height:1.25}.depth-section h3{line-height:1.35}.depth-section h4{margin:22px 0 6px;font-size:1rem}.depth-section p{max-width:75ch;overflow-wrap:anywhere}.depth-section details{border-top:1px solid #d9dacd;padding:14px 0}.depth-section summary{cursor:pointer;min-height:44px;display:list-item;font-weight:650;line-height:1.5}.depth-section select{width:100%;max-width:460px;min-height:48px;font-size:16px;margin:8px 0 20px}.depth-section .content-panel{padding:24px;margin-top:6px}@media(max-width:600px){.depth-section .content-panel{padding:18px}.depth-section{margin-top:24px}.depth-section summary{padding-right:8px}}

/* Recipe collection links: clear pointer, keyboard and selected states. */
.collection-tabs a.button{border:2px solid transparent;transition:background-color .16s ease,color .16s ease,box-shadow .16s ease;min-height:48px;white-space:normal;text-align:center}
@media(hover:hover){.collection-tabs a.button:hover{background:var(--sage);color:#fff;box-shadow:0 4px 12px #34231c26;text-decoration:none}}
.collection-tabs a.button:focus-visible{background:var(--sage);color:#fff;outline:3px solid var(--gold);outline-offset:3px}
.collection-tabs a.button:active{background:#4b6042;color:#fff;box-shadow:none}
.collection-tabs a.button[aria-current=page]{border-color:var(--gold)}
@media(prefers-reduced-motion:reduce){.collection-tabs a.button{transition:none}}
