/* The Herbal Library: the app's stylesheet, for the herb pages. Built from the app; edit the app, not this. */
[hidden] { display: none !important; }
#view:focus { outline: none; }

:root {
  --board: #FFFFFF;
  --sheet: #FFFFFF;
  --ink: #1C251B;
  --ink-2: #485445;
  --ink-3: #6F7A69;
  --rule: #D5D9D0;
  --moss: #5C6B5E;
  --moss-ink: #3E4A40;
  --moss-wash: #D3DDBF;
  --label: #EAE6E3;
  --tape: rgba(196, 198, 190, 0.55);
  --scrim: rgba(28, 37, 27, 0.62);
  --board-glass: rgba(255, 255, 255, 0.9);
  --plate-ground: #1E231E; --plate-ink: #F4F3EE; --plate-ink-2: rgba(236, 238, 232, 0.8);
  --flora-op: 0; --flora-blend: soft-light; 
  color-scheme: only light; 
  --wordmark-accent: #F2F3EE; 
  --on-photo: #F2F3EE; --on-photo-2: rgba(236, 238, 232, 0.8); --on-photo-accent: #D3DDBF;
  --grain: none;
  --warm: #7A6352;
  --cool: #4F7F86;
  --ok: #3D6A3E; --ok-wash: #DAE7D5;
  --food: #3F6A62; --food-wash: #D7E6E1;
  --care: #6F5B45; --care-wash: #E7E1D8;
  --avoid: #84483D; --avoid-wash: #E9DFDB;
  --late: #574C8C; --late-wash: #E2DDF0;
  --shadow: 0 1px 2px rgba(28, 37, 27, 0.08), 0 6px 18px -10px rgba(28, 37, 27, 0.25);
  --display: "IM Fell English", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --body: "Literata", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --mono: "Literata", "Iowan Old Style", Georgia, serif; 
  --type: "Courier Prime", "Courier New", ui-monospace, monospace; 
  --clin: "Literata", "Iowan Old Style", Georgia, serif;
}


* { box-sizing: border-box; }
body {
  background: var(--board) var(--grain);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 0 40px;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--board); }
a { color: var(--moss-ink); text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--moss); outline-offset: 2px; border-radius: 4px; }
.wrap { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.flora { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: url("img/flora-tall.jpg") center / cover no-repeat; opacity: var(--flora-op); mix-blend-mode: var(--flora-blend); }
@media (min-aspect-ratio: 1/1) { .flora { background-image: url("img/flora-wide.jpg"); } }


.masthead { position: relative; z-index: 1; }
.mast-inner { max-width: 760px; margin: 0 auto; }
.masthead .kicker { color: var(--on-photo-2); }
.masthead .wordmark { color: var(--on-photo); }
.masthead .wordmark h1, .masthead .wordmark .mast-title { font-size: clamp(36px, 8vw, 48px); }
.masthead .wordmark h1 em, .masthead .wordmark .mast-title em { color: var(--wordmark-accent); }
.masthead .preview { color: var(--on-photo-2); }
.masthead .seg { background: rgba(24, 17, 12, 0.45); border-color: rgba(236, 238, 232, 0.35); }
.masthead .seg button { color: var(--on-photo); text-shadow: none; }
.masthead .seg button[aria-pressed="true"] { background: var(--on-photo-accent); color: #1C251B; }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--board-glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding-block: 10px 10px; border-bottom: 1px solid var(--rule); }
.brand { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.btnrow { display: flex; gap: 8px; flex-wrap: wrap; }
.wordmark { display: flex; flex-direction: column; gap: 0; text-decoration: none; color: var(--ink); }
.kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.wordmark h1, .wordmark .mast-title { margin: 0; font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.05; letter-spacing: 0.005em; }
.preview { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.seg { display: inline-flex; border: 1px solid var(--rule); border-radius: 999px; padding: 2px; background: var(--sheet); }
.seg button { border: 0; background: transparent; padding: 4px 10px; border-radius: 999px; cursor: pointer; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--moss); color: var(--sheet); }
.preview .acct { margin-left: 4px; font-family: var(--mono); color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.masthead .preview .acct { color: var(--on-photo); }
.search { position: relative; }
.search input { width: 100%; font: inherit; font-size: 16px; padding: 11px 14px 11px 40px; border-radius: 10px; border: 1px solid var(--rule); background: var(--sheet); color: var(--ink); }
.search input::placeholder { color: var(--ink-3); }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-3); pointer-events: none; }
.results { position: absolute; z-index: 2; left: 0; right: 0; top: calc(100% + 6px); background: var(--sheet); border: 1px solid var(--rule); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; max-height: min(60vh, 460px); overflow-y: auto; }
.results h3 { margin: 6px 8px 4px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-weight: 400; }
.results a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.results a:hover, .results a:focus-visible { background: var(--moss-wash); }
.results .sub { color: var(--ink-3); font-style: italic; font-size: 14px; text-align: right; }
.results .none { padding: 10px; color: var(--ink-2); font-size: 15px; }
.tabs { display: flex; gap: 4px; margin-top: 12px; }
.tabs a { flex: 1; text-align: center; padding: 8px 6px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid transparent; }
.tabs a[aria-current="page"] { color: var(--moss-ink); background: var(--sheet); border-color: var(--rule); }

main { padding-top: 18px; outline: none; }
@media (prefers-reduced-motion: no-preference) { main.enter { animation: rise 0.22s ease-out; } }
@keyframes rise { from { opacity: 0.4; transform: translateY(4px); } to { opacity: 1; transform: none; } }


.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
h2.view-title, h1.view-title { font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1.1; margin: 4px 0 8px; text-wrap: balance; }
.lede { color: var(--ink-2); max-width: 62ch; margin: 0 0 14px; }


.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 16px; }
.chip { border: 1px solid var(--rule); background: var(--sheet); border-radius: 999px; padding: 5px 12px; font-family: var(--mono); font-size: 12px; cursor: pointer; color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--moss-wash); border-color: var(--moss); color: var(--moss-ink); }
.chip-locked { color: var(--ink-3); border-style: dashed; }


.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 620px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--sheet); border-radius: 6px; box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.card:hover .plate img { filter: saturate(1) brightness(1); }
.plate { position: relative; aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--rule);
  background: radial-gradient(120% 90% at 50% 35%, rgba(236, 238, 232, 0.07), rgba(0, 0, 0, 0) 60%), var(--plate-ground); }
.plate img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.92) brightness(0.97); }

.plate .shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(22, 17, 13, 0) 0%, rgba(22, 17, 13, 0) 40%, rgba(22, 17, 13, 0.46) 63%, rgba(22, 17, 13, 0.84) 100%); }
.plate::before { content: ""; position: absolute; inset: 9px 9px 9px 13px; z-index: 2; border: 1px solid rgba(236, 238, 232, 0.16); pointer-events: none; }
.plate .temp { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; z-index: 3; }
.pname { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 16px 18px 20px; display: flex; flex-direction: column; gap: 2px; color: var(--plate-ink); text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45); }
.pname .n { font-family: var(--display); font-size: clamp(22px, 5.6vw, 29px); line-height: 1.02; text-wrap: balance; }
.pname .l { font-family: var(--display); font-style: italic; font-size: clamp(13px, 3.4vw, 15px); line-height: 1.25; color: var(--plate-ink-2); }
.pname .src { margin-top: 7px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(236, 238, 232, 0.6); }
.t-warm { background: var(--warm); } .t-cool { background: var(--cool); } .t-neutral { background: var(--rule); }
.t-both { background: linear-gradient(var(--warm) 50%, var(--cool) 50%); }
.tape { position: absolute; width: 42px; height: 14px; background: var(--tape); z-index: 1; }
.tape.a { top: 6px; left: -8px; transform: rotate(-38deg); }
.tape.b { top: 6px; right: -8px; transform: rotate(38deg); }
.card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.card-name { font-family: var(--display); font-size: 21px; line-height: 1.1; }
.card-tag { font-size: 14px; color: var(--ink-2); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.en { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }


.back { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 13px; text-decoration: none; color: var(--ink-2); margin-bottom: 12px; }
.sheet { position: relative; background: var(--sheet); border-radius: 6px; box-shadow: var(--shadow); padding: 18px; }
.specimen { position: relative; max-width: 420px; margin: 0 auto; }
.specimen .plate { border: 1px solid var(--rule); border-radius: 2px; }
.specimen .pname { padding: 0 22px 52px 26px; }
.specimen .pname .n { font-size: clamp(38px, 9.5vw, 54px); }
.specimen .pname .l { font-size: clamp(18px, 4.8vw, 23px); }
.specimen .plate::before { inset: 12px 12px 12px 16px; }
.specimen .plate .shade { background: linear-gradient(180deg, rgba(22, 17, 13, 0) 0%, rgba(22, 17, 13, 0) 32%, rgba(22, 17, 13, 0.5) 56%, rgba(22, 17, 13, 0.86) 100%); }
.detlabel { position: relative; margin: -34px 0 0 auto; width: min(78%, 280px); background: var(--label); border: 1px solid var(--rule); padding: 10px 12px; font-family: var(--mono); font-size: 12px; line-height: 1.45; color: var(--ink); box-shadow: var(--shadow); z-index: 2; }
.detlabel .h { letter-spacing: 0.12em; text-transform: uppercase; font-size: 10px; color: var(--ink-3); border-bottom: 1px solid var(--rule); padding-bottom: 4px; margin-bottom: 6px; }
.detlabel i { font-family: var(--display); font-size: 15px; }
.platelink { display: block; margin-top: 10px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.title-block { margin-top: 18px; }
.title-block h2, .title-block h1 { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 10vw, 54px); line-height: 1; margin: 0; text-wrap: balance; }
.latin { font-family: var(--display); font-style: italic; font-size: 22px; color: var(--ink-2); margin-top: 4px; }
.aka { font-size: 14px; color: var(--ink-3); margin-top: 4px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pill { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 999px; padding: 4px 10px; border: 1px solid var(--rule); color: var(--ink-2); background: var(--sheet); }
.pill.warm { border-color: var(--warm); color: var(--warm); }
.pill.cool { border-color: var(--cool); color: var(--cool); }
.pill.low { border-color: var(--care); color: var(--care); }
.pill.risk { border-color: var(--avoid); color: var(--avoid); }
.lowtag { font-family: var(--clin); font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--care); border: 1px solid var(--care); border-radius: 4px; padding: 1px 5px; margin-left: 4px; vertical-align: 2px; white-space: nowrap; }
.srcnote { margin: 8px 0 0; }
.tagline { font-style: italic; font-size: 20px; line-height: 1.45; margin: 18px 0 8px; color: var(--ink); max-width: 60ch; text-wrap: pretty; }
.about { color: var(--ink-2); max-width: 64ch; margin: 0; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 16px 0 0; font-size: 14px; }
.facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.facts dd { margin: 0; color: var(--ink-2); min-width: 0; }

section.block { margin-top: 30px; }
section.block > h3 { font-family: var(--display); font-weight: 400; font-size: 26px; margin: 0 0 4px; display: flex; align-items: baseline; gap: 10px; }
section.block > h3 .n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--ink-3); text-transform: uppercase; }
.legend { font-size: 13px; color: var(--ink-3); margin: 0 0 10px; }
.evkey { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 13px; color: var(--ink-2); margin: 0 0 14px; }
.evkey .k { display: inline-flex; align-items: center; gap: 7px; }
.uses { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.uses li { padding: 12px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 4px; }
.uses .row1 { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.cond-link { font-family: var(--display); font-size: 20px; text-decoration: none; color: var(--moss-ink); }
.cond-link:hover { text-decoration: underline; }
.uses p { margin: 0; color: var(--ink-2); }
.ev { display: inline-flex; gap: 4px; }
.ev span { font-family: var(--mono); font-size: 11px; width: 22px; height: 22px; display: inline-grid; place-items: center; border: 1px solid var(--rule); border-radius: 4px; color: var(--ink-3); }
.ev span.on { border-color: var(--moss); color: var(--moss-ink); background: var(--moss-wash); }
.prep { display: grid; gap: 10px; margin-top: 10px; }
.prep .item { background: var(--sheet); border-left: 3px solid var(--moss); padding: 10px 12px; border-radius: 0 6px 6px 0; }
.prep .item b { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--moss-ink); margin-bottom: 2px; font-weight: 700; }
.prep .item p { margin: 0; color: var(--ink-2); }
.lock { margin-top: 12px; background: var(--sheet); border: 1px dashed var(--moss); border-radius: 10px; padding: 14px; display: grid; gap: 8px; }
.lock p { margin: 0; color: var(--ink-2); }
.lock .row { display: flex; gap: 8px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 14px; border-radius: 8px; border: 1px solid var(--moss); background: var(--moss); color: var(--sheet); text-decoration: none; font-family: var(--mono); font-size: 13px; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--moss-ink); }
.cautions { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.cautions li { padding-left: 18px; position: relative; color: var(--ink-2); }
.cautions li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 1px; background: var(--care); transform: rotate(45deg); }
.safety { display: grid; gap: 10px; margin-top: 10px; }
.safety .row { background: var(--sheet); border-radius: 8px; padding: 12px; display: grid; gap: 6px; }
.safety .who { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.safety .who b { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); font-weight: 400; }
.safety p { margin: 0; color: var(--ink-2); }
.status { font-family: var(--mono); font-size: 12px; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.s-ok { background: var(--ok-wash); color: var(--ok); }
.s-food { background: var(--food-wash); color: var(--food); }
.s-care { background: var(--care-wash); color: var(--care); }
.s-avoid { background: var(--avoid-wash); color: var(--avoid); }
.s-late { background: var(--late-wash); color: var(--late); }
.prose { max-width: 64ch; color: var(--ink); }
.prose.drop::first-letter { font-family: var(--display); float: left; font-size: 3.4em; line-height: 0.85; padding: 4px 8px 0 0; color: var(--moss); }
.twocol { display: grid; gap: 18px; }
@media (min-width: 620px) { .twocol { grid-template-columns: 1fr 1fr; } }
.twocol > div { min-width: 0; }
.twocol h4 { font-family: var(--display); font-weight: 400; font-size: 22px; margin: 0 0 4px; }
.twocol p { margin: 0; color: var(--ink-2); }
.twocol p.growlink { margin-top: 8px; }
.twocol p.growlink a { font-family: var(--mono); font-variant: small-caps; letter-spacing: 0.12em; font-size: 15px; color: var(--moss-ink); text-decoration: none; border-bottom: 1px solid var(--moss); padding-bottom: 1px; }
.twocol p.growlink a:hover { color: var(--moss); }

.cta { margin-top: 34px; border: 1px solid var(--ink); padding: 6px; background: var(--sheet); border-radius: 3px; }
.cta .in { position: relative; border: 1px solid var(--rule); padding: 24px 26px 24px 184px; min-height: 196px; display: flex; align-items: center; }
.cta .mini { position: absolute; left: 30px; top: 50%; width: 116px; transform: translateY(-50%) rotate(-3deg); transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
.cta:hover .mini { transform: translateY(calc(-50% - 6px)) rotate(-1.5deg) scale(1.03); }
.cta .mini .plate { aspect-ratio: 4 / 5; border: 1px solid var(--rule); border-radius: 2px; box-shadow: var(--shadow); }
.cta .mini .plate::before { inset: 6px 6px 6px 9px; }
.cta .mini .pname { padding: 0 8px 9px 10px; gap: 1px; }
.cta .mini .pname .n { font-size: 15px; }
.cta .mini .pname .l { font-size: 10px; }
.cta .mini .pname .src { display: none; }
.cta .copy { display: grid; gap: 8px; min-width: 0; }
.cta .copy .eyebrow { margin: 0; }
.cta .copy h3 { font-family: var(--display); font-weight: 400; font-size: 29px; line-height: 1.1; margin: 0; text-wrap: balance; }
.cta .copy p { margin: 0; color: var(--ink-2); max-width: 46ch; }
.cta .copy .btnrow { margin-top: 4px; }
@media (max-width: 560px) {
  .cta .in { padding: 22px 18px; display: grid; gap: 16px; justify-items: start; }
  .cta .mini { position: static; transform: rotate(-3deg); margin: 4px 0 2px 8px; }
  .cta:hover .mini { transform: rotate(-1.5deg) translateY(-4px); }
}
.pager { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; font-family: var(--mono); font-size: 13px; }
.pager a { text-decoration: none; color: var(--ink-2); }


.groups { display: grid; gap: 22px; }
.group h3 { font-family: var(--display); font-weight: 400; font-size: 24px; margin: 0 0 6px; }
.clist { list-style: none; margin: 0; padding: 0; background: var(--sheet); border-radius: 8px; box-shadow: var(--shadow); }
.clist li + li { border-top: 1px solid var(--rule); }
.clist a { display: flex; justify-content: space-between; gap: 10px; padding: 11px 14px; text-decoration: none; color: var(--ink); }
.clist a:hover { background: var(--moss-wash); }
.clist .cnt { font-family: var(--mono); font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.lk { width: 12px; height: 12px; vertical-align: -1px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mres.cgate { margin-top: 6px; min-height: 420px; }
.plist { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.plist li { background: var(--sheet); border-radius: 8px; box-shadow: var(--shadow); padding: 12px 14px; display: grid; gap: 6px; }
.plist .r1 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plist .pn { font-family: var(--display); font-size: 22px; text-decoration: none; color: var(--ink); }
.plist .pn:hover { color: var(--moss-ink); }
.plist .pl { font-family: var(--display); font-style: italic; color: var(--ink-3); font-size: 16px; }
.plist p { margin: 0; color: var(--ink-2); }
.meta-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.fit { font-family: var(--mono); font-size: 12px; border-radius: 999px; padding: 3px 10px; border: 1px solid currentColor; white-space: nowrap; }
.fit.f4 { color: var(--ok); } .fit.f2 { color: var(--moss-ink); } .fit.f0 { color: var(--ink-3); } .fit.fn { color: var(--care); }
.reasons { display: flex; flex-wrap: wrap; gap: 6px; }
.reasons span { font-size: 13px; padding: 2px 8px; border-radius: 6px; background: var(--moss-wash); color: var(--moss-ink); }
.reasons span.off { background: var(--care-wash); color: var(--care); }
.pair { font-size: 14px; color: var(--ink-2); font-style: italic; }
.dim { opacity: 0.55; }


.mform { background: var(--sheet); border-radius: 10px; box-shadow: var(--shadow); padding: 16px; display: grid; gap: 16px; }
.mform label.l, .mform legend { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); display: block; margin-bottom: 6px; padding: 0; }
.mform fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.mform select { width: 100%; font: inherit; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--rule); background: var(--board); color: var(--ink); }
.opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.opts button { border: 1px solid var(--rule); background: var(--board); border-radius: 8px; padding: 8px 6px; cursor: pointer; text-align: center; display: grid; gap: 2px; min-width: 0; }
.opts button b { font-family: var(--display); font-weight: 400; font-size: 18px; }
.opts button small { font-size: 12px; color: var(--ink-3); line-height: 1.3; }
.opts button[aria-pressed="true"] { border-color: var(--moss); background: var(--moss-wash); }
.also { display: flex; gap: 6px; flex-wrap: wrap; }
.mres { position: relative; margin-top: 16px; }
.mres.locked { min-height: 360px; }
.legend-inline { display: inline-flex; align-items: center; gap: 6px; }
.legend-inline i { display: inline-block; width: 4px; height: 12px; border-radius: 1px; }
.mres.locked .inner { filter: blur(5px); pointer-events: none; user-select: none; }
.mres.ftease { min-height: 520px; }
.mres.ftease .inner { filter: blur(4px); opacity: 0.85; }
.mres.ftease .gate { top: 120px; max-width: 460px; }
.mres .gate { position: absolute; inset: 20px 0 auto; margin: 0 auto; max-width: 420px; background: var(--sheet); border: 1px solid var(--moss); border-radius: 12px; box-shadow: var(--shadow); padding: 16px; display: grid; gap: 10px; z-index: 2; }
.mres .gate h4 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 24px; }
.mres .gate p { margin: 0; color: var(--ink-2); }
.empty { background: var(--sheet); border-radius: 8px; padding: 16px; color: var(--ink-2); }

footer.foot { margin-top: 44px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--ink-3); display: grid; gap: 6px; }
footer.foot a { color: var(--ink-2); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.consent { position: fixed; inset: 0; z-index: 50; background: var(--scrim); display: grid; place-items: center; overflow-y: auto;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.consent-card { width: 100%; max-width: 560px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 14px; box-shadow: var(--shadow); padding: 22px 20px 18px; display: grid; gap: 14px; }
.consent-card h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 8vw, 38px); line-height: 1.05; text-wrap: balance; }
.consent-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.consent-card li { padding-left: 16px; border-left: 3px solid var(--moss-wash); color: var(--ink-2); }
.consent-card li b { display: block; color: var(--ink); font-weight: 600; }
.agree { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 10px; background: var(--label); cursor: pointer; }
.agree input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--moss); flex: none; cursor: pointer; }
.consent-card .btn { justify-self: start; font-size: 14px; padding: 11px 16px; }
.consent-card .btn:disabled { opacity: 0.45; cursor: not-allowed; }

.clin h2.view-title, section.block.clin > h3, .clin .group h3, .clin .mres .gate h4, .clin .res-h, .consent-card.clin h2, .clin h1.view-title { font-family: var(--body); font-weight: 600; letter-spacing: -0.005em; }
.clin h2.view-title, .clin h1.view-title { font-size: clamp(26px, 6.4vw, 30px); line-height: 1.15; }
section.block.clin > h3 { font-size: 20px; }
.clin .group h3 { font-size: 18px; }
.clin .mres .gate h4, .clin .res-h { font-size: 20px; }
.consent-card.clin h2 { font-size: clamp(26px, 7vw, 32px); line-height: 1.1; }
.clin .eyebrow, .clin .kicker, section.block.clin > h3 .n, .clin .chip, .clin .status, .clin .fit, .clin .ev span, .clin .prep .item b,
.clin .safety .who b, .clin .mform label.l, .clin .mform legend, .clin .clist .cnt, .clin .btn, .clin .back, .clin .evkey, .clin .reasons span { font-family: var(--clin); }
.clin .eyebrow, .clin .kicker, .clin .prep .item b, .clin .safety .who b, .clin .mform label.l, .clin .mform legend, section.block.clin > h3 .n { letter-spacing: 0.08em; }
.clin .prep .item b { font-weight: 600; }
.clin .cond-link, .clin .plist .pn { font-family: var(--body); font-weight: 600; }
.clin .cond-link { font-size: 17px; }
.clin .plist .pn { font-size: 18px; }
.clin .plist .pl { font-family: var(--body); font-size: 14px; }
.consent-card.clin li b { font-family: var(--body); font-weight: 600; font-size: 16px; }

.prolock { margin-top: 12px; border: 1px dashed var(--rule); border-radius: 10px; padding: 12px 14px; background: var(--sheet); display: grid; gap: 10px; }

.lock, .prolock { border: 1px solid var(--moss) !important; border-left-width: 4px !important; background: linear-gradient(0deg, rgba(211, 221, 191, 0.28), rgba(211, 221, 191, 0.28)), var(--sheet); }
.lockhead { display: flex; align-items: center; gap: 7px; font-family: var(--clin); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--moss-ink); }
.lockhead .lk { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.lockhead.pro { color: var(--late); }
.prolock .probadge { display: none; }
.mres .gate { border-width: 1px 1px 1px 4px; }
.mres .gate .lockhead { margin-bottom: -2px; }
section.block > h3 .lk { width: 16px; height: 16px; fill: none; stroke: var(--ink-3); stroke-width: 2; align-self: center; }
nav.tabs a .tablock { display: inline-flex; margin-left: 5px; vertical-align: -1px; opacity: 0.7; }
nav.tabs a .tablock .lk { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; }

.prolock p { margin: 0; color: var(--ink-2); font-size: 15px; }
.prolock .row { display: flex; flex-wrap: wrap; gap: 8px; }
.probadge { display: inline-block; font-family: var(--clin); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sheet); background: var(--moss-ink); border-radius: 4px; padding: 2px 7px; vertical-align: 2px; }
.prodet { margin-top: 14px; border-top: 1px solid var(--rule); padding-top: 14px; display: grid; gap: 16px; }
.prohead { font-family: var(--clin); font-size: 13px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.proname { margin: 0; font-family: var(--body); font-weight: 600; font-size: 17px; color: var(--ink); }
.proname i { font-family: var(--body); font-weight: 400; color: var(--ink-3); }
.prodl { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px 16px; }
.prodl dt { font-family: var(--clin); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-top: 8px; }
.prodl dd { margin: 0; color: var(--ink-2); font-size: 15px; min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 620px) { .prodl { grid-template-columns: 160px minmax(0, 1fr); } .prodl dt { margin-top: 0; padding-top: 3px; padding-bottom: 8px; } .prodl dd { padding-bottom: 8px; } }
.prodl ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.prodl a { color: var(--moss-ink); }
.prog { margin: 14px 0 2px; padding-bottom: 5px; border-bottom: 1px solid var(--rule); font-family: var(--clin); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--moss-ink); }
.prorow > .prog:first-child, .prorow > .proname + .prog { margin-top: 4px; }
.conf { font-family: var(--clin); font-weight: 600; color: var(--ink); }
.ixlist { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.ixlist li { background: var(--sheet); border-radius: 8px; padding: 10px 12px; display: grid; gap: 4px; }
.ixlist .r1 { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.ixmed { font-family: var(--body); font-weight: 600; font-size: 16px; color: var(--ink); }
.ixlist p { margin: 0; color: var(--ink-2); }
.ixlist small { color: var(--ink-3); font-family: var(--clin); font-size: 12px; }
.ixlv { font-family: var(--clin); font-size: 12px; font-weight: 500; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.ixlv.avoid { background: var(--avoid-wash); color: var(--avoid); }
.ixlv.care { background: var(--care-wash); color: var(--care); }
.ixlv.monitor { background: var(--moss-wash); color: var(--moss-ink); }
.ixlv.space { background: var(--label); color: var(--ink-2); }
.ixrow { font-size: 15px; color: var(--ink-2); margin-top: 8px; display: grid; gap: 2px; min-width: 0; }
.ixrow + .ixrow { border-top: 1px solid var(--rule); padding-top: 8px; }
.ixh { display: flex; gap: 6px 8px; align-items: baseline; flex-wrap: wrap; }
.ixh b { font-family: var(--clin); font-weight: 600; color: var(--ink); }
.ixby { color: var(--ink-3); font-size: 14px; }
.ixw { margin: 2px 0 0; }
.ixmore summary { cursor: pointer; color: var(--moss-ink); font-size: 14px; margin-top: 4px; width: fit-content; }
.ixdl { margin: 4px 0 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 14px; }
.ixdl dt { font-family: var(--clin); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }
.ixdl dd { margin: 0; color: var(--ink-2); min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 620px) { .ixdl { grid-template-columns: 132px minmax(0, 1fr); } .ixdl dt { margin-top: 0; padding-top: 3px; } .ixdl dd { padding-bottom: 6px; } }
.ixdl ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.ixdl li, .plist .ixdl li { display: list-item; background: none; box-shadow: none !important; border-radius: 0 !important; padding: 0; font-size: 14.5px; }
.ixdl a { color: var(--moss-ink); }
.ixdl .cite { color: var(--ink-3); font-size: 13.5px; }
.medpick { display: grid; gap: 8px; margin: 4px 0 14px; min-width: 0; }
.medpick .l { font-family: var(--clin); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.medsearch { position: relative; max-width: 520px; }
.medsearch input { width: 100%; font: inherit; font-size: 17px; padding: 11px 14px; border: 1px solid var(--rule); border-radius: 8px; background: var(--sheet); color: var(--ink); }
.medsearch input:focus { outline: 2px solid var(--moss-wash); outline-offset: 0; border-color: var(--moss); }
.medsearch input::-webkit-search-cancel-button { filter: grayscale(1); opacity: 0.6; cursor: pointer; }
.medsug { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); list-style: none; margin: 0; padding: 4px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 8px; box-shadow: var(--shadow); max-height: 340px; overflow-y: auto; }
.medsug li { padding: 8px 10px; border-radius: 6px; cursor: pointer; display: grid; gap: 1px; }
.medsug li[aria-selected="true"], .medsug li:hover { background: var(--moss-wash); }
.medsug b { font-weight: 600; color: var(--ink); }
.medsug .alt { font-weight: 400; color: var(--ink-2); }
.medsug small { color: var(--ink-3); font-size: 13px; }
.medsug li.none { cursor: default; color: var(--ink-3); background: none; }
.medsel { display: grid; gap: 6px; }
.medsel:empty { display: none; }
.medtoks { display: flex; flex-wrap: wrap; gap: 6px; }
.medtok { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--moss); background: var(--moss-wash); color: var(--moss-ink); border-radius: 999px; padding: 5px 9px 5px 12px; font: inherit; font-size: 14.5px; cursor: pointer; text-align: left; }
.medtok span { color: var(--ink-3); font-size: 12.5px; }
.medtok .x { color: var(--moss-ink); font-size: 17px; line-height: 1; }
.mednotes { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 14.5px; display: grid; gap: 3px; }
.medpick .chips { margin: 0; }
.medoral { margin: 0; }
.rxctl { margin: 14px 0 18px; display: grid; gap: 6px; max-width: 420px; }
.rxctl label { font-family: var(--clin); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.rxctl select { width: 100%; font: inherit; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--rule); background: var(--board); color: var(--ink); }
.picker { position: relative; }
.pick-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; font-family: var(--body); font-size: 17px; line-height: 1.3; color: var(--ink); background: var(--sheet); border: 1px solid var(--rule); border-radius: 8px; padding: 12px 14px; cursor: pointer; }
.pick-btn:hover { border-color: var(--moss); }
.picker.open .pick-btn { border-color: var(--moss); box-shadow: 0 0 0 3px var(--moss-wash); }
.pick-val { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick-chev { flex: none; width: 9px; height: 9px; margin-right: 3px; border-right: 2px solid var(--moss-ink); border-bottom: 2px solid var(--moss-ink); transform: translateY(-3px) rotate(45deg); transition: transform 0.15s; }
.picker.open .pick-chev { transform: translateY(2px) rotate(-135deg); }
.pick-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; max-height: min(440px, 62vh); overflow-y: auto; overscroll-behavior: contain; background: var(--sheet); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 16px 36px -14px rgba(28, 37, 27, 0.38); padding: 4px 6px 8px; }
.pick-gh { font-family: var(--clin); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); padding: 12px 10px 4px; }
.pick-opt { display: block; width: 100%; text-align: left; font-family: var(--body); font-size: 16px; line-height: 1.35; color: var(--ink); background: none; border: 0; border-radius: 6px; padding: 8px 10px; cursor: pointer; }
.pick-opt:hover, .pick-opt:focus-visible { background: var(--moss-wash); outline: none; }
.pick-opt[aria-selected="true"] { background: var(--moss-wash); font-weight: 600; }
.pick-opt[aria-selected="true"]::after { content: ""; display: inline-block; width: 5px; height: 10px; margin-left: 10px; border-right: 2px solid var(--moss-ink); border-bottom: 2px solid var(--moss-ink); transform: translateY(-2px) rotate(45deg); }
.res-h .n { font-family: var(--clin); font-weight: 500; font-size: 13px; color: var(--ink-3); margin-left: 6px; }
.rxsec + .rxsec { margin-top: 18px; }
.clear-names { color: var(--ink-2); margin: 6px 0 0; }
@media (max-width: 440px) { .tabs a { font-size: 11.5px; letter-spacing: 0.02em; padding: 8px 2px; } }
.clin .opts button b { font-family: var(--clin); font-weight: 600; font-size: 16px; }
.consent-card .fine { margin: 0; font-size: 13px; color: var(--ink-3); }
.linkish { border: 0; background: none; padding: 0; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }
html.locked, html.locked body { overflow: hidden; }
.vphoto { margin: 4px 0 22px; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 7; max-width: 100%; box-shadow: var(--shadow); background: var(--moss-wash); }
.vphoto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pphoto { margin: 10px 0 16px; }
.pphoto img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 8px; display: block; box-shadow: var(--shadow); }
.pphoto figcaption { font-size: 13px; color: var(--ink-3); margin-top: 6px; font-style: italic; }
.consent-photo { margin: -22px -20px 2px; height: 108px; background: var(--moss-wash) url("img/consent.jpg") center / cover no-repeat; border-radius: 14px 14px 0 0; }
.card, .sheet, .plist li, .mform, .clist, .consent-card, .lock, .empty, .prep .item, .cta { background-image: var(--grain); }




.kicker, .preview, .seg button, .results h3, .tabs a, .eyebrow, .chip, .pname .src, .en, .back, .platelink, .pill, .lowtag, .facts dt, section.block > h3 .n, .ev span, .prep .item b, .safety .who b, .status, .pager, .clist .cnt, .fit, .mform label.l, .mform legend, .probadge, .prodl dt, .prog, .rxctl label, .pick-gh, .evkey, .medpick .l, .ixdl dt {
  text-transform: none !important; font-variant-caps: all-small-caps; letter-spacing: 0.07em !important; }
.detlabel, .detlabel .h { font-family: var(--type); }
.chip, .pill, .lowtag, .probadge, .status, .ixlv, .medtok { border-radius: 3px !important; }
.medsearch input, .medsug { border-radius: 3px !important; }
.card, .sheet, .mform, .clist, .plist li, .prep .item, .lock, .prolock, .consent-card, .vphoto, .pick-btn, .pick-list, .search input, .tabs a { border-radius: 3px !important; }
.card, .sheet, .plist li, .mform, .clist { box-shadow: 0 0 0 1px var(--rule) !important; }

.tabs a { font-size: 15px !important; } .chip { font-size: 14.5px !important; } .eyebrow, .kicker { font-size: 14px !important; }
.pill { font-size: 14px !important; } .en { font-size: 13px !important; } .facts dt, .prodl dt, .prog, .status, .clist .cnt, .fit, .pick-gh { font-size: 13.5px !important; }
.mform label.l, .mform legend, .rxctl label, .medpick .l { font-size: 14px !important; } .ixdl dt { font-size: 13.5px !important; } .seg button, .preview { font-size: 14px !important; } .back { font-size: 14.5px !important; }
.platelink { font-size: 13px !important; } .pname .src { font-size: 11.5px !important; } .prep .item b, .safety .who b { font-size: 14px !important; }
.probadge { font-size: 12.5px !important; } .lowtag { font-size: 12px !important; } .ev span, .evkey { font-size: 13px !important; }

.tabs a { min-width: 0; }
@media (max-width: 440px) {
  .tabs { gap: 2px; }
  .tabs a { flex: 1 1 auto; font-size: 12.5px !important; letter-spacing: 0.01em; padding: 8px 3px; }
}
.faddbar { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.fadd { font-size: 14px; }
.fadd.in { background: var(--moss-wash); border-color: var(--moss-wash); color: var(--moss-ink); }
.fadd .lk { width: 13px; height: 13px; }
.fadd-lock { margin-top: 10px; }
.faddrow { margin-top: 8px; }
.btn.small { padding: 6px 11px; font-size: 13px; }
body.has-ftray { padding-bottom: 104px; }
.ftray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; justify-content: center; pointer-events: none;
  padding: 0 max(10px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(10px, env(safe-area-inset-left, 0px)); }
.ftray > * { pointer-events: auto; width: 100%; max-width: 760px; }
.fbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 14px; margin: 0 0 10px; padding: 10px 16px 11px;
  border: 1px solid var(--moss-ink); border-radius: 12px; background: var(--moss-ink); color: var(--sheet); font-family: var(--body); text-decoration: none;
  box-shadow: 0 10px 26px -12px rgba(28, 37, 27, 0.55); }
.fbar:focus-visible { outline: 2px solid var(--moss-wash); outline-offset: 2px; }
.fb-top { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.fb-k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--moss-wash); flex: none; }
.fb-name { font-family: var(--display); font-size: 20px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.fb-right { display: flex; align-items: baseline; gap: 12px; white-space: nowrap; }
.fb-total { font-size: 15px; }
.fb-go { font-family: var(--mono); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; color: var(--moss-wash); }
.fb-list { grid-column: 1 / -1; font-size: 14px; font-style: italic; color: var(--on-photo-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

#fview .fp-name { display: block; width: 100%; font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1.15; margin: 4px 0 8px; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; padding: 2px 0 6px; background: transparent; color: var(--ink); }
#fview .fp-name::placeholder { color: var(--ink-3); }
#fview .fp-name:focus { outline: none; border-bottom-color: var(--moss); }
.fp-saved { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; }
.fp-saved .chip[aria-pressed="true"], .fsize .chip[aria-pressed="true"] { background: var(--moss-ink); border-color: var(--moss-ink); color: var(--sheet); }
#fp-gate { margin-top: 10px; }
.fsec { margin-top: 26px; }
.fr-b { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--moss); background: var(--sheet); color: var(--moss-ink); font-size: 20px; line-height: 1; cursor: pointer; padding: 0; }
.fr-b:active { background: var(--moss-wash); }
.fr-in { width: 60px; height: 36px; text-align: center; font-family: var(--body); font-size: 17px; border: 1px solid var(--rule); border-radius: 8px; background: var(--sheet); color: var(--ink); padding: 0 4px; }
.fr-in:focus { outline: 2px solid var(--moss-wash); border-color: var(--moss); }
.fr-x { border: 0; background: none; color: var(--ink-3); font-family: var(--body); font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px 2px; }
.fp-how { margin: 4px 0 0; }
.fp-l { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin: 6px 0 6px; }
.fsize { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fsize-own { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); }
.fsize-own input { width: 72px; height: 34px; text-align: center; font-family: var(--body); font-size: 15px; border: 1px solid var(--rule); border-radius: 999px; background: var(--sheet); color: var(--ink); padding: 0 8px; }
.fsize-own input:focus { outline: 2px solid var(--moss-wash); border-color: var(--moss); }
.ftable { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15.5px; }
.ftable th, .ftable td { padding: 8px 6px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: baseline; }
.ftable thead th { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); border-bottom-color: var(--moss-ink); }
.ftable th:first-child, .ftable td:first-child { padding-left: 0; }
.ftable th:last-child, .ftable td:last-child { padding-right: 0; }
.ftable .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ftable .ft-n { color: var(--ink); }
.ftable td i { color: var(--ink-3); font-size: 14px; }
.ftable tfoot th, .ftable tfoot td { border-top: 1px solid var(--moss-ink); border-bottom: 0; font-weight: 600; }
.ftable tfoot th { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
#fp-notes { display: block; width: 100%; margin-top: 6px; font-family: var(--body); font-size: 15px; line-height: 1.45; border: 1px solid var(--rule); border-radius: 8px; padding: 8px 10px; background: var(--sheet); color: var(--ink); resize: vertical; }
#fp-notes:focus { outline: 2px solid var(--moss-wash); border-color: var(--moss); }
.fp-cau { margin-top: 26px; }
section.fp-cau h4 { font-family: var(--display); font-weight: 400; font-size: 22px; margin: 0 0 6px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.fc-row { display: grid; grid-template-columns: 138px minmax(0, 1fr); gap: 4px 12px; padding: 7px 0; border-top: 1px dashed var(--rule); font-size: 14.5px; }
.fc-row > b { font-weight: 600; font-size: 13.5px; color: var(--ink-2); }
.fc-row > div { display: flex; flex-wrap: wrap; gap: 6px 12px; min-width: 0; }
.fc-g { display: inline-flex; align-items: baseline; gap: 4px 8px; flex-wrap: wrap; min-width: 0; }
.fp-acts { margin-top: 22px; align-items: center; }
.fp-status { font-size: 14px; color: var(--moss-ink); }
.fp-empty { color: var(--ink-3); font-style: italic; margin: 8px 0 0; }
.fp-copybox { display: block; width: 100%; margin-top: 10px; font-family: var(--body); font-size: 14px; border: 1px solid var(--rule); border-radius: 8px; padding: 8px 10px; }
@media (max-width: 440px) {
  .fc-row { grid-template-columns: 1fr; }
  .fb-name { font-size: 18px; }
  #fview .fp-name { font-size: 28px; }
  .ftable { font-size: 15px; }
  .ftable th, .ftable td { padding: 8px 4px; }
}
@media (prefers-reduced-motion: no-preference) {
  .fbar.pulse { animation: fpulse 0.55s ease; }
  @keyframes fpulse { 0% { transform: translateY(8px); } 60% { transform: translateY(-2px); } 100% { transform: none; } }
}

#fview .fhead .eyebrow { margin-bottom: 2px; }
#fview .lede { margin-bottom: 0; }
.fsheet { margin-top: 22px; padding: 24px 22px 22px; }
.fsheet-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@media (min-width: 700px) { .fsheet-grid { grid-template-columns: 300px minmax(0, 1fr); gap: 22px; } }
.fbottle-wrap { margin: 0; min-width: 0; }
.fbottle { display: block; width: 100%; max-width: 380px; height: auto; margin: 0 auto; }
.fbottle .fb-n { font-family: var(--body); font-size: 13.5px; fill: var(--ink); }
.fbottle .fb-p { font-family: var(--body); font-size: 12px; fill: var(--ink-3); }
.fbottle .fb-tag-k { font-family: var(--body); font-size: 7.4px; letter-spacing: 0.2em; text-transform: uppercase; fill: var(--ink-3); }
.fbottle .fb-tag-n { font-family: var(--display); font-size: 16px; fill: var(--ink); }
.fbottle .fb-tag-s { font-family: var(--body); font-size: 7.8px; letter-spacing: 0.18em; text-transform: uppercase; fill: var(--moss-ink); }
.fbottle .fb-tag-e { font-family: var(--body); font-style: italic; font-size: 11.5px; fill: var(--ink-3); }
.fsheet-side { min-width: 0; }
.fsheet-side .fp-l { margin-top: 2px; }
.fsheet-side .fp-empty { margin-top: 6px; }
.flabel { background: #FBF8F1; border: 1px solid var(--moss-ink); outline: 1px solid var(--moss-ink); outline-offset: 3px; padding: 4px 14px 6px; margin: 18px 4px 4px; }
.flabel .ftable { margin-top: 0; }
.flabel .ftable tbody tr:last-child td { border-bottom: 0; }
.sw { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 8px; vertical-align: 1px; flex: none; }
.fp-acts { margin-top: 26px; flex-wrap: wrap; row-gap: 8px; }
.fp-device { margin: 8px 0 0; }
.fl-list { list-style: none; margin: 6px 0 0; padding: 0; }
.fl-item { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 14px; padding: 12px 0; border-top: 1px solid var(--rule); }
.fl-item:last-child { border-bottom: 1px solid var(--rule); }
.fl-main { min-width: 0; flex: 1 1 240px; display: grid; gap: 2px; }
.fl-name { font-family: var(--display); font-size: 21px; line-height: 1.15; overflow-wrap: anywhere; }
.fl-herbs { font-size: 14.5px; font-style: italic; color: var(--ink-2); overflow-wrap: anywhere; }
.fl-meta { font-size: 13px; color: var(--ink-3); }
.fl-acts { display: flex; gap: 8px; align-items: center; }
.fl-open { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--moss-ink); }
.fl-new { margin-top: 12px; }
@media (max-width: 440px) {
  .fsheet { padding: 20px 12px 16px; }
  .flabel { padding: 2px 10px 4px; }
}
.fbottle .fb-tag-n.sm { font-size: 13.5px; }
.ftable .ft-h { display: inline-flex; align-items: baseline; }
.ftable .ft-h .sw { align-self: center; }
.ftable td.ft-bottle { white-space: normal; }
.ftable .nw { white-space: nowrap; }
.ftable .ft-l { display: block; padding-left: 17px; font-size: 13px; line-height: 1.3; }
@media (max-width: 440px) {
  .fwide { display: none; }
  .ftable { font-size: 14.5px; }
  .ftable th, .ftable td { padding: 8px 3px; }
  .ftable thead th, .ftable tfoot th { letter-spacing: 0.06em; }
}

.fmini { display: inline-flex; align-items: center; border: 1px solid var(--moss); background: var(--sheet); color: var(--moss-ink); border-radius: 999px; padding: 3px 10px; font-family: var(--body); font-size: 13px; font-style: normal; line-height: 1.35; cursor: pointer; white-space: nowrap; }
.fmini:hover { background: var(--moss-wash); }
.fmini.in { background: var(--moss-wash); border-color: var(--moss-wash); }
.fmini.inline { padding: 0 8px; font-size: 12.5px; vertical-align: 1px; }
.faddrow { margin-top: 2px; }
.cardwrap { position: relative; display: flex; flex-direction: column; min-width: 0; }
.cardwrap > .card { flex: 1; }
.fmini.fcard { position: absolute; top: 8px; right: 8px; z-index: 2; background: rgba(255, 255, 255, 0.94); border-color: rgba(255, 255, 255, 0.94); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22); }
.fmini.fcard.in { background: var(--moss-wash); border-color: var(--moss-wash); }
.results .sr-p { display: flex; align-items: center; gap: 6px; }
.results .sr-p > a { flex: 1; min-width: 0; }
.results .sr-p .fmini { margin-right: 6px; }
.pair .pn-s { color: var(--ink-2); }
.still { margin: 14px 0 0; }
.fnext { margin: 14px 2px 0; font-size: 14.5px; color: var(--ink-2); }
.fnext a, .fck-quiet a, .fck-ctx a { color: var(--moss-ink); text-underline-offset: 3px; }
.fck-g { margin-top: 8px; }
.fck-g + .fck-g { margin-top: 20px; }
section.fsec .fck-g h4 { font-family: var(--display); font-weight: 400; font-size: 21px; margin: 0 0 2px; }
.fck { list-style: none; margin: 6px 0 0; padding: 0; }
.fck-i { padding: 8px 0; border-top: 1px dashed var(--rule); font-size: 15.5px; line-height: 1.45; }
.fck-i b { font-weight: 600; }
.fck-i .status, .fck-i .ixlv { margin-right: 4px; }
.fck-ctx, .fck-quiet { font-size: 14.5px; color: var(--ink-3); margin: 2px 0 0; }
.fck-ok { margin: 6px 0 0; font-size: 15.5px; color: var(--ok); }

.ffor { margin: 14px 0 0; font-size: 15.5px; color: var(--ink-2); }
.ffor .eyebrow { margin-right: 6px; }
.fintake { margin-top: 18px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 3px; padding: 18px 18px 16px; }
section.fintake h3 { font-family: var(--display); font-weight: 400; font-size: 24px; margin: 0 0 2px; }
.fintake .legend { margin: 0 0 6px; }
.fq { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 6px 14px; align-items: baseline; padding: 10px 0; border-top: 1px dashed var(--rule); }
.fq-l { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.fq-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.fq-opts .chip[aria-pressed="true"] { background: var(--moss-ink); border-color: var(--moss-ink); color: var(--sheet); }
.fq-wait { margin: 10px 0 0; font-size: 14.5px; font-style: italic; color: var(--ink-3); }
.fq-done { margin-top: 12px; }
.fsheet-side .fp-how { margin: 10px 4px 0; }
.fl-foot { display: flex; justify-content: flex-end; padding: 6px 0 2px; }
.fl-foot .linkish { font-size: 14px; }
.fedit .c-herb { width: auto; }
.fedit .ft-n { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }
.fedit th.c-parts, .fedit td.c-parts { text-align: center; white-space: nowrap; }
.fedit .fstep { display: inline-flex; align-items: center; gap: 3px; }
.fedit .fstep .fr-b { width: 26px; height: 28px; font-size: 16px; border-radius: 6px; }
.fedit .fstep .fr-in { width: 42px; height: 28px; font-size: 15px; border-radius: 6px; padding: 0 2px; }
.fedit td.c-x, .fedit th.c-x { width: 1%; padding-left: 2px; padding-right: 0; text-align: right; }
.fedit .fr-x { border: 0; background: none; color: var(--ink-3); font-size: 19px; line-height: 1; padding: 2px 4px; cursor: pointer; text-decoration: none; }
.fedit .fr-x:hover, .fedit .fr-x:focus-visible { color: var(--avoid); }
.fedit tfoot td.t-parts { font-weight: 600; }
@media (max-width: 440px) {
  .fq { grid-template-columns: 1fr; }
  .fedit thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .fedit, .fedit tbody, .fedit tfoot { display: block; width: 100%; }
  .fedit tr.fr { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "herb herb herb x" "parts . ml pc"; align-items: center; column-gap: 12px; row-gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .fedit tbody tr.fr:last-child { border-bottom: 0; }
  .fedit tr.fr > td { display: block; padding: 0; border: 0; }
  .fedit .c-herb { grid-area: herb; } .fedit .c-parts { grid-area: parts; text-align: left; } .fedit .c-ml { grid-area: ml; } .fedit .c-pc { grid-area: pc; } .fedit td.c-x { grid-area: x; align-self: start; }
  .fedit .c-ml::after { content: " mL"; color: var(--ink-3); font-size: 13px; }
  .fedit tfoot tr { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 10px 0 4px; border-top: 1px solid var(--moss-ink); }
  .fedit tfoot th, .fedit tfoot td { display: block; padding: 0; border: 0; }
  .fedit tfoot .c-x { display: none; }
}


.mhp{display:none}
@media print{
  @page{margin:.45in .55in .5in}
  html.mhp-on,html.mhp-on body{background:#fff!important;margin:0!important;padding:0!important;min-height:0!important;height:auto!important;overflow:visible!important}
  html.mhp-on body>*:not(.mhp){display:none!important}
  html.mhp-on .mhp{display:block!important}
}
.mhp{color:#263228;font:400 10.5pt/1.42 "EB Garamond",Garamond,Georgia,"Times New Roman",serif;text-align:left;-webkit-print-color-adjust:exact;print-color-adjust:exact;font-variant-numeric:oldstyle-nums;letter-spacing:0;word-spacing:0;text-transform:none}
.mhp *,.mhp *::before,.mhp *::after{box-sizing:border-box}

.mhp :where(h1,h2,h3,h4,p,ol,ul,li,figure,figcaption,dl,dt,dd,table){margin:0;padding:0;border:0;background:none;box-shadow:none;max-width:none;font:inherit;color:inherit;letter-spacing:inherit;text-transform:none;text-align:inherit}
.mhp :where(ol,ul){list-style:none}
.mhp b,.mhp strong{font-weight:500}
.mhp i,.mhp em{font-style:italic}
.mhp img{display:block;max-width:100%;height:auto;border:0}
.mhp svg{display:block}
.mhp .mhp-n,.mhp .mhp-amt,.mhp .mhp-fv{font-variant-numeric:lining-nums tabular-nums}


.mhp-top{display:flex;justify-content:space-between;align-items:baseline;gap:12pt;padding-bottom:5pt;border-bottom:2.25pt double #4b5e52;font-size:7.5pt;line-height:1.2;letter-spacing:.22em;text-transform:uppercase;color:#4b5e52}
.mhp-top .mhp-tool{font-family:"IM Fell English","EB Garamond",Georgia,serif;font-size:11pt;letter-spacing:.02em;text-transform:none;font-style:italic;color:#263228}
.mhp-top .mhp-dot{display:inline-block;margin:0 .5em;color:#9aa394}


.mhp-head{display:grid;grid-template-columns:minmax(0,1fr);gap:0 .3in;align-items:center;padding:12pt 0 8pt}
.mhp-head.mhp-has-art{grid-template-columns:minmax(0,1fr) auto}
.mhp-k{font-size:7.5pt;line-height:1.3;letter-spacing:.22em;text-transform:uppercase;color:#5f6a5c}
.mhp-t{font-family:"IM Fell English","EB Garamond",Georgia,serif!important;font-weight:400!important;font-size:33pt!important;line-height:1.02!important;letter-spacing:0!important;margin:5pt 0 4pt!important;color:#1f2a21!important;text-wrap:balance}
.mhp-sub{font-size:12.5pt;line-height:1.3;font-style:italic;color:#3d4a3f}
.mhp-tags{display:grid;grid-template-columns:auto minmax(0,1fr);gap:3pt 10pt;margin-top:11pt!important;padding-top:9pt!important;border-top:.5pt solid #cfd3c8!important;font-size:9.5pt;line-height:1.35}
.mhp-tags dt{font-size:7pt;letter-spacing:.2em;text-transform:uppercase;color:#5f6a5c;padding-top:1.5pt!important}
.mhp-art{justify-self:end;text-align:center}
.mhp-art figcaption{margin-top:4pt!important;font-size:7.5pt;font-style:italic;color:#5f6a5c}
.mhp-plate{width:1.75in;padding:5pt;border:.5pt solid #9aa394;outline:.5pt solid #9aa394;outline-offset:2pt;background:#fff}
.mhp-plate img{width:100%}
.mhp-bottle{width:1.75in}
.mhp-bottle svg{width:100%;height:auto}
.mhp .mhp-emblem{width:1.8in;filter:invert(1) brightness(.55) sepia(.35) hue-rotate(50deg);opacity:.9}


.mhp-sec{margin-top:11pt}
.mhp-h{display:flex;align-items:center;gap:8pt;margin-bottom:5pt!important;font-size:7.5pt!important;line-height:1.2!important;letter-spacing:.22em!important;text-transform:uppercase!important;color:#4b5e52!important;font-weight:400!important;font-family:"EB Garamond",Georgia,serif!important}
.mhp-h::after{content:"";flex:1;border-top:.5pt solid #9aa394}
.mhp-h,.mhp-mo h3{break-after:avoid;page-break-after:avoid}
.mhp-h small{font-size:inherit;letter-spacing:.08em;text-transform:none;font-style:italic;color:#5f6a5c}


.mhp-rows{border-top:.75pt solid #4b5e52}
.mhp-r,.mhp-total{display:grid;grid-template-columns:.84in .52in minmax(0,1fr);align-items:center;gap:0 9pt;padding:3pt 0;border-bottom:.5pt solid #dfe2d9;break-inside:avoid}
.mhp-q{display:flex;align-items:baseline;justify-content:flex-end;gap:3pt;white-space:nowrap}
.mhp-q .mhp-n{font-family:"EB Garamond",Garamond,Georgia,serif;font-weight:500;font-size:19pt;line-height:1;color:#1f2a21;font-variant-numeric:lining-nums tabular-nums}
.mhp-q small{font-size:7.5pt;letter-spacing:.12em;text-transform:uppercase;color:#5f6a5c}
.mhp .mhp-ic{width:.52in;height:.52in;max-width:none;object-fit:contain}
.mhp-ic.mhp-none{display:block}
.mhp-line{display:flex;align-items:baseline;gap:6pt;min-width:0}
.mhp-who{min-width:0}
.mhp-nm{display:flex;align-items:center;gap:5pt;font-size:12.5pt;line-height:1.2;font-weight:500}
.mhp-sw{display:inline-block;flex:none;width:6.5pt;height:6.5pt;border-radius:1.5pt}
.mhp-la{display:block;font-size:9.5pt;line-height:1.3;color:#3d4a3f}
.mhp-la i{font-style:italic}
.mhp-pp{color:#5f6a5c}
.mhp-ld{flex:1;min-width:.25in;border-bottom:1.1pt dotted #9aa394;transform:translateY(-3pt)}
.mhp-amt{white-space:nowrap;text-align:right;font-size:12pt;line-height:1.2}
.mhp-amt small{display:block;font-size:8pt;color:#5f6a5c;letter-spacing:.02em}
.mhp-total{border-bottom:0;border-top:.75pt solid #4b5e52;margin-top:-.5pt;padding-top:6pt}
.mhp-sni{font-weight:400;font-style:italic;color:#5f6a5c}
.mhp-tag{font-size:7.5pt;letter-spacing:.18em;text-transform:uppercase;color:#4b5e52;margin-right:4pt}
.mhp-total .mhp-tl{font-style:italic;font-size:10.5pt;color:#3d4a3f}
.mhp-how{margin-top:5pt!important;font-size:8.5pt;font-style:italic;color:#5f6a5c}


.mhp-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(1.3in,1fr));border-top:.75pt solid #4b5e52;border-bottom:.5pt solid #cfd3c8}
.mhp-f{padding:6pt 10pt 7pt;border-left:.5pt solid #cfd3c8}
.mhp-f:first-child{border-left:0;padding-left:0}
.mhp-fk{display:block;font-size:7pt;letter-spacing:.2em;text-transform:uppercase;color:#5f6a5c}
.mhp-fv{display:block;font-family:"EB Garamond",Garamond,Georgia,serif;font-size:17pt;line-height:1.15;color:#1f2a21;margin-top:2pt;font-variant-numeric:lining-nums}
.mhp-fs{display:block;font-size:8.5pt;font-style:italic;color:#5f6a5c;line-height:1.25}


.mhp-steps{counter-reset:mhp}
.mhp-steps>li{counter-increment:mhp;position:relative;padding:3pt 0 3pt .42in!important;font-size:10.5pt;line-height:1.45;break-inside:avoid}
.mhp-steps>li::before{content:counter(mhp);position:absolute;left:0;top:1pt;width:.28in;text-align:right;font-family:"EB Garamond",Garamond,Georgia,serif;font-weight:500;font-size:14pt;line-height:1.2;color:#5c6b5e;font-variant-numeric:lining-nums}
.mhp-steps b,.mhp-steps .amt{font-weight:500;color:#1f2a21}
.mhp-steps .alt{color:#5f6a5c;font-size:9.5pt}
.mhp-phase+.mhp-phase{margin-top:7pt}
.mhp-phase h3{font-size:9pt!important;font-style:italic;color:#4b5e52;margin:0 0 2pt .42in!important}


.mhp-p{font-size:10.5pt;line-height:1.45;max-width:6.6in}
.mhp-p+.mhp-p{margin-top:4pt!important}
.mhp-pre{white-space:pre-line}
.mhp-notes p{font-size:10pt}
.mhp-flag{position:relative;padding:4pt 8pt 4pt 11pt!important;border-left:2pt solid #8d4f3a!important;font-size:10pt;line-height:1.4;break-inside:avoid}
.mhp-flag.mhp-care{border-left-color:#b08a3e!important}
.mhp-flag+.mhp-flag,.mhp-p+.mhp-flag,.mhp-flag+.mhp-p{margin-top:5pt!important}
.mhp-checks{display:grid;gap:3pt}
.mhp-checks>li{display:block;position:relative;padding:2pt 0 2pt 15pt!important;border-bottom:.5pt dashed #dfe2d9!important;font-size:9.5pt;line-height:1.35;break-inside:avoid}
.mhp-checks .fal{position:absolute;left:0;top:3.5pt;display:inline-flex;align-items:center;justify-content:center;width:9pt;height:9pt;border-radius:50%;font-size:6.5pt;line-height:1;font-style:normal}
.mhp-checks .fal svg{width:7pt;height:7pt}


.mhp-log{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6pt 14pt;margin-top:2pt}
.mhp-log>div{display:flex;align-items:baseline;gap:5pt;font-size:8pt;letter-spacing:.16em;text-transform:uppercase;color:#5f6a5c;white-space:nowrap}
.mhp-log>div::after{content:"";flex:1;border-bottom:.5pt solid #6f7a69;transform:translateY(-1pt);min-width:.4in}


.mhp-cutwrap{margin-top:12pt;break-inside:avoid;display:flex;align-items:center;gap:14pt}
.mhp-cut{flex:none;width:3.4in;padding:6pt;border:.75pt dashed #9aa394}
.mhp-lab{border:2.25pt double #4b5e52;padding:7pt 10pt 8pt;text-align:center}
.mhp-lab .mhp-lb{font-size:6pt;letter-spacing:.3em;text-transform:uppercase;color:#4b5e52}
.mhp-lab .mhp-lo{display:block;width:30%;margin:3pt auto 0;border-top:.5pt solid #9aa394}
.mhp-lab .mhp-ln{font-family:"IM Fell English","EB Garamond",Georgia,serif;font-size:17pt;line-height:1.08;margin:3pt 0 2pt;color:#1f2a21;text-wrap:balance}
.mhp-lab .mhp-ll{font-size:8.5pt;font-style:italic;line-height:1.3;color:#3d4a3f;text-wrap:balance}
.mhp-lab .mhp-lk{margin-top:4pt;font-size:6.5pt;letter-spacing:.24em;text-transform:uppercase;color:#4b5e52}
.mhp-lab .mhp-lm{display:flex;gap:8pt;margin-top:6pt;font-size:6.5pt;letter-spacing:.18em;text-transform:uppercase;color:#5f6a5c;text-align:left}
.mhp-lab .mhp-lm span{flex:1;display:flex;gap:4pt}
.mhp-lab .mhp-lm span::after{content:"";flex:1;border-bottom:.5pt solid #6f7a69;transform:translateY(-1pt)}
.mhp-cuthow{font-size:8.5pt;font-style:italic;color:#5f6a5c;line-height:1.35;max-width:2.6in}
.mhp-cuthow svg{width:14pt;height:14pt;margin-bottom:3pt;color:#5f6a5c}


.mhp-foot{margin-top:12pt;padding-top:6pt;border-top:.5pt solid #9aa394;font-size:7.5pt;line-height:1.4;color:#5f6a5c;break-inside:avoid}
.mhp-foot p+p{margin-top:2pt!important}
.mhp-foot i{font-style:italic}


.mhp-beds{display:grid;gap:12pt}
.mhp-bed{display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 16pt;align-items:start;break-inside:avoid;padding-bottom:10pt;border-bottom:.5pt solid #dfe2d9}
.mhp-bed:last-child{border-bottom:0;padding-bottom:0}
.mhp-bed.mhp-wide{grid-template-columns:minmax(0,1fr);gap:8pt 0}
.mhp-bedtx{min-width:0}
.mhp-plot{position:relative;overflow:hidden;background:#f4f0e8;border:2.5pt solid #8a7357;outline:.5pt solid #5a4a36;outline-offset:0}
.mhp-plot .mhp-sq{position:absolute;inset:0;background-image:linear-gradient(to right,rgba(90,74,54,.22) .5pt,transparent .5pt),linear-gradient(to bottom,rgba(90,74,54,.22) .5pt,transparent .5pt)}
.mhp-pl{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:visible}
.mhp .mhp-pl img{width:82%;height:72%;max-width:none;object-fit:contain}
.mhp-pl span{display:block;margin-top:-1pt;padding:0 2pt;background:#fffdf8;border:.4pt solid #b9ae9a;font-size:6pt;line-height:1.2;white-space:nowrap;color:#263228}
.mhp-pl.mhp-sm span{font-size:5pt}
.mhp-bedname{font-family:"IM Fell English","EB Garamond",Georgia,serif;font-size:16pt;line-height:1.1;color:#1f2a21}
.mhp-bedmeta{font-size:9pt;font-style:italic;color:#5f6a5c;margin:1pt 0 5pt!important}
.mhp-list{columns:2;column-gap:14pt;font-size:9.5pt;line-height:1.35}
.mhp-list li{break-inside:avoid;display:flex;gap:4pt;padding:1.5pt 0!important;border-bottom:.5pt dotted #cfd3c8!important}
.mhp-list li i{color:#5f6a5c}
.mhp-list li .mhp-x{margin-left:auto;color:#5f6a5c;font-variant-numeric:lining-nums}
.mhp-cal{columns:2;column-gap:22pt;column-rule:.5pt solid #dfe2d9}
.mhp-mo{break-inside:avoid-column;margin-bottom:8pt!important}
.mhp-mo h3{font-family:"IM Fell English","EB Garamond",Georgia,serif!important;font-size:13pt!important;line-height:1.2;border-bottom:.5pt solid #9aa394!important;margin-bottom:2pt!important;color:#1f2a21!important}
.mhp-mo li{display:grid;grid-template-columns:.32in minmax(0,1fr) auto;gap:0 6pt;align-items:baseline;padding:1.5pt 0!important;border-bottom:.5pt dotted #dfe2d9!important;font-size:9.5pt;line-height:1.3;break-inside:avoid}
.mhp-mo .mhp-d{font-variant-numeric:lining-nums tabular-nums;text-align:right;color:#4b5e52}
.mhp-mo .mhp-w{font-size:7pt;letter-spacing:.16em;text-transform:uppercase;color:#5f6a5c;white-space:nowrap}
.mhp-frost{display:flex;flex-wrap:wrap;gap:4pt 18pt;font-size:9.5pt;margin-top:2pt!important}
.mhp-frost b{font-weight:500}


.mf .mf-who { margin-top: 14px; }
.mf .mf-h { margin: 0; font-family: var(--display); font-weight: 400; font-size: 24px; }
.mf-for { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 12px 14px; background: var(--sheet); box-shadow: 0 0 0 1px var(--rule); border-radius: 3px; }
.mf-for .mf-for-t { color: var(--ink); }
.mf-yn { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.mf-meds { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.mf-meds .picker { min-width: 230px; flex: 0 1 280px; }
.medchip { display: inline-flex; align-items: center; gap: 2px; padding: 3px 4px 3px 11px; border: 1px solid var(--moss); background: var(--moss-wash); border-radius: 999px; font-size: 14px; color: var(--moss-ink); }
.medchip .x { border: 0; background: none; font-size: 17px; line-height: 1; padding: 0 6px; cursor: pointer; color: var(--moss-ink); }
.mf-done { margin: 2px 0 0; }
.mf-done .fq-wait { margin: 0; font-style: italic; color: var(--ink-2); }
.mfgrid { display: grid; gap: 26px; margin-top: 22px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.mf-add label.l { font-family: var(--mono); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); display: block; margin-bottom: 6px; }
.mf-add input { width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 3px; background: var(--sheet); color: var(--ink); }
.mf-addlist { list-style: none; margin: 8px 0 0; padding: 0; }
.mf-addlist li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 7px 2px; border-bottom: 1px dashed var(--rule); }
.mf-plants .mres { margin-top: 18px; }
.mf-wait { margin: 12px 0 0; padding: 12px 14px; background: var(--sheet); box-shadow: 0 0 0 1px var(--rule); border-radius: 3px; color: var(--ink-2); }
.mf-wait > p { margin: 0; font-style: italic; }
.mf-wait .mfw { display: grid; gap: 8px; margin-top: 10px; }
.mf-wait .mfw:empty { display: none; }
.mf-wait .mfw-q { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.mf-wait .mfw-l { min-width: 8.2em; font-family: var(--body); font-variant-caps: all-small-caps; letter-spacing: .07em; font-size: 14px; color: var(--ink-3); }
.mf-wait .linkish { font-size: 14.5px; }

@media (max-width: 759px) {
  .mfgrid > .mf-left { display: contents; }
  .mfgrid > .mf-left > .mf-who { order: 1; }
  .mfgrid > .mf-formula { order: 2; }
  .mfgrid > .mf-left > .mf-plants { order: 3; }
  .mf-who .mf-done .fq-wait { display: none; }   
}
#mf-formula, #mf-who { scroll-margin-top: calc(var(--toph, 120px) + 14px); }
.mf-formula .fsheet-grid { grid-template-columns: minmax(0, 1fr) !important; }
.mf-formula .fbottle-wrap { max-width: 340px; margin: 0 auto; }
.fundo { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 16px); opacity: 0; pointer-events: none; z-index: 60;
  background: var(--moss-ink); color: #F2F3EE; padding: 10px 16px; border-radius: 999px; font-size: 15px; display: flex; gap: 12px; align-items: baseline; transition: opacity .2s ease, transform .2s ease; max-width: calc(100vw - 32px); }
.fundo.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.fundo .linkish { color: #F2F3EE; }
body.has-ftray .fundo { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
@media (prefers-reduced-motion: reduce) { .fundo { transition: none; } }
.mf .vphoto { max-width: 760px; aspect-ratio: 16 / 6; }
.mf .mf-who { max-width: 760px; }
@media (max-width: 600px) {
  .tabs { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; gap: 2px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs a { flex: 0 0 auto !important; white-space: nowrap; padding: 9px 10px !important; font-size: 12.5px !important; }
}
.pgctl { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: 6px; }
.pgctl input { flex: 1 1 220px; font: inherit; font-size: 16px; padding: 9px 12px; border: 1px solid var(--rule); border-radius: 3px; background: var(--sheet); color: var(--ink); }


:root { --board: #F3EFE7; --board-glass: rgba(243, 239, 231, 0.93); }
.masthead.mht { margin: 0 calc(-1 * max(16px, env(safe-area-inset-right, 0px))) 0 calc(-1 * max(16px, env(safe-area-inset-left, 0px))); max-width: none; padding: 0; background: #545B46; color: #EAE6E3; text-align: center; text-shadow: none; overflow: hidden; isolation: isolate; }
.mht-photo { position: absolute; inset: 0; background: url("img/hero.jpg") no-repeat; background-size: cover; background-position: center 50%; filter: contrast(1.03); }
.mht-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.46) 0%, rgba(0, 0, 0, 0.24) 30%, rgba(0, 0, 0, 0.16) 48%, rgba(0, 0, 0, 0.18) 60%, rgba(0, 0, 0, 0.34) 76%, rgba(0, 0, 0, 0.52) 100%); }
.mht .mast-inner { position: relative; max-width: none; margin: 10px max(10px, env(safe-area-inset-right, 0px)) 10px max(10px, env(safe-area-inset-left, 0px)); border: 1px solid #E6E0D1; outline: 1px solid #E6E0D1; outline-offset: 3px; padding: 30px 18px 24px; }
.mht .kicker, .mht .wordmark h1, .mht-tag, .mht .wordmark .mast-title { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); }
.mht .wordmark { display: block; color: #F6F3EE; text-decoration: none; }
.mht .kicker { display: block; font-family: var(--display); font-size: 14px !important; letter-spacing: 0.26em !important; text-transform: uppercase !important; font-variant-caps: normal !important; color: #E6E0D1; }
.mht .wordmark h1, .mht .wordmark .mast-title { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 7vw, 64px); line-height: 1.04; letter-spacing: 0.01em; margin: 6px 0 0; color: #F6F3EE; }
.mht .wordmark h1 em, .mht .wordmark .mast-title em { color: #F6F3EE; }
.mht .mht-db { display: block; margin-top: 4px; font-family: var(--display); font-style: normal; font-size: 16px; line-height: 1.25; letter-spacing: 0.36em; text-indent: 0.36em; text-transform: uppercase; color: #E6E0D1; }
@media (max-width: 600px) { .mht .mht-db { font-size: 13px; letter-spacing: 0.3em; text-indent: 0.3em; } }
.mht-slot { height: 121px; margin: 6px auto 0; }
.mht-credit { max-width: none; margin: 4px auto 0; padding: 0 2px; text-align: right; font-size: 13.5px; font-style: italic; color: var(--ink-3); }
.mht-tag { font-family: "EB Garamond", var(--body); font-style: italic; font-size: 19px; line-height: 1.4; letter-spacing: 0.02em; color: #E6E0D1; margin: 6px auto 0; max-width: 46em; text-wrap: balance; }
.mht .preview { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; background: rgba(0, 0, 0, 0.18); border: 1px solid #E6E0D1; border-radius: 999px; padding: 4px 6px 4px 14px; font-family: "EB Garamond", var(--body); color: #E6E0D1; flex-wrap: wrap; justify-content: center; }
.mht .preview { font-variant-caps: normal !important; letter-spacing: normal !important; }
.mht .preview > span { font-variant-caps: small-caps !important; text-transform: none !important; letter-spacing: 0.12em !important; font-size: 15px !important; font-weight: 500; }
.mht .seg { background: rgba(0, 0, 0, 0.25); border: 0; padding: 2px; }
.mht .seg button { font-family: "EB Garamond", var(--body); font-size: 15px !important; font-variant-caps: normal !important; letter-spacing: normal !important; padding: 5px 12px; color: #EAE6E3; text-shadow: none; }
.mht .seg button[aria-pressed="true"] { background: #E6E0D1; color: #324236; }
@media (min-width: 1400px) { .mht .preview { position: absolute; top: 14px; right: 16px; margin: 0; } }
.mht .preview .acct { color: #EAE6E3; font-family: "EB Garamond", var(--body); font-size: 15px; }
@media (max-width: 600px) {
  .mht .mast-inner { padding: 26px 12px 20px; }
  .mht-tag { font-size: 17px; }
  .mht .seg button { padding: 5px 9px; }
}

.top { border-bottom: 1px solid #4B5E52; }
.top .tabs { justify-content: center; flex-wrap: wrap; gap: 4px 26px; margin-top: 10px; padding-top: 4px; border-top: 1px solid #4B5E52; }
.top .tabs a { flex: 0 0 auto !important; font-family: var(--display) !important; font-size: 21px !important; text-transform: none !important; font-variant-caps: normal !important; letter-spacing: 0.01em !important; color: #5F6A5C; padding: 6px 2px !important; border: 0 !important; border-bottom: 2px solid transparent !important; border-radius: 0 !important; background: none !important; white-space: nowrap; }
.top .tabs a[aria-current="page"] { color: #324236; border-bottom-color: #5C6B5E !important; }
.top .search svg { display: none; }
.top .search input { -webkit-appearance: none; appearance: none; height: auto; margin: 0; padding: 2px 0 8px; border: 0; border-bottom: 1px solid #5C6B5E; border-radius: 0 !important; background: transparent; box-shadow: none; font-family: "EB Garamond", Georgia, serif; font-size: 28px; font-weight: 400; line-height: 1.3; color: #1C251B; }
.top .search input::placeholder { font-style: italic; color: #6F7A69; opacity: 1; }
.top .search input:focus, .top .search input:focus-visible { outline: none; border-bottom-color: #1C251B; box-shadow: 0 1px 0 #1C251B; }
.top .search input::-webkit-search-decoration { -webkit-appearance: none; }
.top .search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; width: 28px; height: 28px; margin: 0 0 0 10px; border-radius: 50%; background: rgba(0, 0, 0, 0.05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 2.5l7 7M9.5 2.5l-7 7' stroke='%231C251B' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 11px 11px no-repeat; cursor: pointer; }
.top .tabs { margin-top: 8px; border-top: 0; }
@media (max-width: 600px) { .top .search input { font-size: 22px; } }
@media (max-width: 600px) {
  .top .tabs { flex-wrap: nowrap; justify-content: flex-start; gap: 2px 20px; overflow-x: auto; }
  .top .tabs a { font-size: 18px !important; }
}
.foot-credit { margin-top: 8px; font-size: 13px; font-style: italic; color: var(--ink-3); }


.mf .mf-who { max-width: none; margin-top: 0; }
.mfgrid { margin-top: 18px; }
.flock { min-height: 540px; margin-top: 0; }
.flock .fsheet { margin-top: 14px; }
.flock .fp-name { color: var(--ink-3); }
.mf-more { margin-top: 14px; justify-content: center; }
@media (min-width: 760px) {
  .mf { width: min(1200px, calc(100vw - 32px)); margin-left: calc((100% - min(1200px, calc(100vw - 32px))) / 2); }
  .mf > .eyebrow, .mf > .view-title, .mf > .lede { max-width: 760px; }
  .mfgrid { grid-template-columns: minmax(0, 1fr) minmax(320px, min(40%, 440px)); gap: 24px; }
  .mf-live .mf-formula { position: sticky; top: calc(var(--toph, 120px) + 12px); max-height: calc(100vh - var(--toph, 120px) - 24px); overflow-y: auto; scrollbar-width: thin; padding: 0 6px 12px 2px; }
  .mf .mf-who.folded { position: sticky; top: calc(var(--toph, 120px) + 10px); z-index: 4; }
}
@media (min-width: 1180px) { .mfgrid { gap: 34px; } }

.top::before { content: ""; position: absolute; inset: 0 0 -1px; z-index: -1; pointer-events: none; box-shadow: 0 0 0 100vmax var(--board-glass); clip-path: inset(0 -100vmax); }

.mf-formula { container-type: inline-size; }
@container (max-width: 460px) {
  .fedit thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .fedit, .fedit tbody, .fedit tfoot { display: block; width: 100%; }
  .fedit tr.fr { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "herb herb herb x" "parts . ml pc"; align-items: center; column-gap: 12px; row-gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .fedit tbody tr.fr:last-child { border-bottom: 0; }
  .fedit tr.fr > td { display: block; padding: 0; border: 0; }
  .fedit .c-herb { grid-area: herb; } .fedit .c-parts { grid-area: parts; text-align: left; } .fedit .c-ml { grid-area: ml; } .fedit .c-pc { grid-area: pc; } .fedit td.c-x { grid-area: x; align-self: start; }
  .fedit .c-ml::after { content: " mL"; color: var(--ink-3); font-size: 13px; }
  .fedit tfoot tr { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 10px 0 4px; border-top: 1px solid var(--moss-ink); }
  .fedit tfoot th, .fedit tfoot td { display: block; padding: 0; border: 0; }
  .fedit tfoot .c-x { display: none; }
}


.fprep { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 10px 0 0; }
.fprep .fp-l { margin: 0 4px 0 0; }
.fprep .chip[aria-pressed="true"] { background: var(--moss-ink); border-color: var(--moss-ink); color: var(--sheet); }
.fwarn { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 10px 12px; border: 1px solid #C9A463; border-left-width: 4px; border-radius: 3px; background: #FBF4E6; }
.fwarn p { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.fwarn b { color: var(--ink); }
.fal { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 17px; height: 17px; border-radius: 50%; margin-left: 6px; font-family: var(--body); font-size: 12px; font-weight: 700; line-height: 1; color: #FFFFFF; vertical-align: 2px; cursor: help; }
.fwarn .fal { margin: 1px 0 0; }
.fwarn.ftry-note { border-color: var(--moss); background: linear-gradient(0deg, rgba(211, 221, 191, 0.3), rgba(211, 221, 191, 0.3)), var(--sheet); }
.fp-demo { pointer-events: none; }
.fal.l3 { background: #A63A2B; }
.fal.l2 { background: #B7842A; }
.fal.l1 { background: #E5E9DF; color: #4F5C4B; box-shadow: inset 0 0 0 1px #A9B4A2; }
.fbottle .fbal { font-family: var(--body); font-weight: 700; font-size: 14px; }
.fbottle .fbal.l3 { fill: #A63A2B; } .fbottle .fbal.l2 { fill: #B7842A; } .fbottle .fbal.l1 { fill: #7B8774; }
.fbottle .fg-liquid { isolation: isolate; } .fbottle .fg-mul { mix-blend-mode: multiply; } .fbottle .fg-dodge { mix-blend-mode: color-dodge; }
.fbottle .fb-tag-s.sm { font-size: 6.8px; letter-spacing: .1em; }
.fbottle .fb-leaf { mix-blend-mode: hard-light; }

.hreq, .hreq-ok, .hreq-err { font-size: 14.5px; }
.hreq-ok { color: var(--moss-ink); font-style: italic; }
.hreq-err { color: var(--avoid); }
.results .none .sr-req { display: block; margin-top: 8px; }
.mf-none { margin-top: 8px; display: grid; gap: 6px; }
.mf-none .legend { margin: 0; }
.mf-none-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.ftable .ft-sn { font-style: italic; }
.ftable .ft-req { display: block; margin-top: 2px; }
.ftable .ft-swap { display: block; margin-top: 2px; font-size: 13px; color: var(--moss-ink); }
.ftable tr.fsubs td { padding: 4px 0 12px; border-bottom: 1px solid var(--rule); }
.fsubs-in { background: var(--sheet); box-shadow: 0 0 0 1px var(--rule); border-radius: 3px; padding: 10px 12px; display: grid; gap: 8px; }
.fsubs-h { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.fsubs-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fsubs-l li { display: grid; gap: 1px; }
.fsubs-b { justify-self: start; font: inherit; font-family: var(--body); font-size: 16px; color: var(--moss-ink); background: none; border: 0; padding: 0; text-align: left; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fsubs-b:hover { color: var(--ink); }
.fsubs-why { font-size: 13.5px; color: var(--ink-3); }
.fsubs-in .legend { margin: 0; }
.fck-i .fal { margin: 0 8px 0 0; vertical-align: 1px; }
.fck-i.al3 { color: var(--ink); }
.ft-prep { display: block; font-size: 12.5px; font-style: italic; color: #7B6A3C; margin-top: 2px; }
.lowtag.prepo { border-color: #C9A463; color: #7B6A3C; }
.mf-aside { margin: 14px 0 0; font-size: 14.5px; font-style: italic; color: var(--ink-2); }
.fl-foot { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.fsuggest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; }
.fsuggest .legend { margin: 0; font-size: 14px; }
.fullentry { display: inline-block; margin-top: 4px; font-size: 14px; color: var(--moss-ink); text-underline-offset: 3px; }
.mf-medfind { flex: 1 1 100%; margin-top: 6px; }
.mf-medfind input { width: 100%; font: inherit; font-size: 15px; padding: 8px 10px; border: 1px solid var(--rule); border-radius: 3px; background: var(--sheet); color: var(--ink); }
.mf-medres { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.mf-medres .medhit { color: var(--ink-3); font-style: italic; text-transform: none; letter-spacing: 0; }
.mf-medres .legend { margin: 0; }
.fedit[data-mode="wt"] .c-ml::after { content: " oz" !important; }
.fck-more { margin-top: 10px; border: 1px solid var(--rule); border-radius: 3px; background: var(--sheet); }
.fck-more summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 0; padding: 9px 12px; font-size: 15px; color: var(--ink-2); }
.fck-more summary::-webkit-details-marker { display: none; }
.fck-more summary::after { content: "Show"; margin-left: auto; font-size: 13.5px; color: var(--moss-ink); text-decoration: underline; text-underline-offset: 3px; }
.fck-more[open] summary::after { content: "Hide"; }
.fck-more summary .fal { margin: 0 8px 0 0; }
.fck-more .fck-n { margin-left: 6px; font-size: 13px; color: var(--ink-3); }
.fck-more .fck { margin: 0; padding: 0 12px 10px; }

.mf .mform { padding: 12px 14px; gap: 11px; }
.mf .mf-h { font-size: 21px; }
.mf .mform label.l, .mf .mform legend { font-size: 12px !important; margin-bottom: 4px; }
.mf .opts { gap: 5px; }
.mf .opts button { padding: 5px 6px; border-radius: 6px; gap: 0; }
.mf .opts button b { font-size: 14.5px; }
.mf .opts button small { font-size: 11.5px; line-height: 1.25; }
.mf .mform select, .mf .mform .pick-btn { padding-top: 7px; padding-bottom: 7px; }
.mf .mf-yn { gap: 10px 24px; }


.pgsec { margin-top: 10px; border: 1px solid var(--rule); border-left: 4px solid var(--rule); border-radius: 3px; background: var(--sheet); }
.pgsec.s-avoid { border-left-color: var(--avoid); } .pgsec.s-late { border-left-color: var(--late); } .pgsec.s-care { border-left-color: var(--care); }
.pgsec.s-food { border-left-color: var(--food); } .pgsec.s-ok { border-left-color: var(--ok); }
.pgsec > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; }
.pgsec > summary::-webkit-details-marker { display: none; }
.pgsec > summary::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: rotate(45deg); margin: 0 4px 4px 0; transition: transform .15s ease; }
.pgsec[open] > summary::after { transform: rotate(225deg); margin: 4px 4px 0 0; }
.pgsec > summary .res-h { margin: 0 !important; }
.pgsec > .plist { margin: 0; padding: 0 12px 12px; }
#f-builder.f-wait { filter: blur(3px); opacity: .7; pointer-events: none; user-select: none; }
#mf-formula .mf-wait { position: relative; z-index: 2; }

.fal.ok { background: var(--ok); color: #FFFFFF; }
.fal.ok svg { display: block; }
.fck-i.k-clear { color: var(--ok); }
.fck-more.bal { border-color: #BCD1B5; background: #F3F8F0; }
.fck-more.bal summary { color: var(--ok); }
.fck-more.bal .fck-n { color: var(--ok); }
.lowtag.topo { border-color: #A9B0A6; color: #6E766C; }
.ft-prep.topo { color: #A63A2B; font-style: normal; font-weight: 600; }
.ftopo { display: inline-block; font-size: 14px; line-height: 1.4; color: var(--ink-3); border: 1px solid #C4CAC1; border-radius: 3px; padding: 7px 11px; background: #F2F3EF; }
.ftopo b { font-family: var(--clin); font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #5F675D; margin-right: 6px; }
.fnar { display: none; }
@media (max-width: 440px) { .fnar { display: inline; } }
.fmini.topo { border-color: #A9B0A6; color: #5F675D; background: #F2F3EF; }
.fmini.topo.in { background: var(--moss-wash); border-color: var(--moss-wash); color: var(--moss-ink); }
.faddbar .ftopo + .btn { margin-left: 8px; vertical-align: middle; }
.ftopo-ask { margin: 10px 0 0; padding: 10px 12px; border: 1px solid #C98A7E; border-left: 4px solid #A63A2B; border-radius: 3px; background: #FBF1EE; }
.ftopo-ask p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.ftopo-ask p b { color: var(--ink); }
.ftopo-ask .row { display: flex; flex-wrap: wrap; gap: 8px; }
.plist li.dim:has(.ftopo-ask) { opacity: 1; }
.mf-addlist li .ftopo-ask { flex: 1 1 100%; }
.mf-addlist li .fmini.topo { margin-left: 6px; }

.pgwhy { margin: 2px 0 0; border-top: 1px dashed var(--rule); }
.pgwhy > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 8px 0 2px; font-size: 14px; color: var(--moss-ink); text-decoration: underline; text-underline-offset: 3px; }
.pgwhy > summary::-webkit-details-marker { display: none; }
.pgwhy > summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: 0 0 3px 2px; }
.pgwhy[open] > summary::after { transform: rotate(225deg); margin: 3px 0 0 2px; }
.pgwhy > p { margin: 6px 0 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.pgsrc { margin-top: 10px; }
.pgsrc .eyebrow { display: block; margin-bottom: 2px; }
.pgsrc ul { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }
.pgsrc a { color: var(--moss-ink); text-underline-offset: 3px; }
.plist li .pgsrc li { display: list-item; background: none !important; background-image: none !important; border: 0; border-radius: 0 !important; box-shadow: none !important; padding: 0; margin: 0 0 3px; }
.plist li.pgfocus { box-shadow: 0 0 0 2px var(--moss-ink), var(--shadow); }
#pgres .plist > li { scroll-margin-top: 150px; }
.fullwhy { white-space: nowrap; font-size: 14px; color: var(--moss-ink); text-underline-offset: 3px; }

.finv { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--rule); }
.finv .fp-l, .iv-bar .fp-l { margin: 0; }
.chip.iswitch { min-width: 52px; }
.chip.iswitch[aria-pressed="true"] { background: var(--moss-ink); border-color: var(--moss-ink); color: var(--sheet); }
.finv .linkish { font-size: 14px; }
.mf-shelf { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 10px 0 6px; }
.mf-shelf .legend { margin: 0; }
.finv-sum { flex: 1 1 100%; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.finv-sum:empty { display: none; }
.finv-sum.warn { color: #84483D; }
.ftable .ft-stock { display: block; padding-left: 17px; font-size: 12.5px; line-height: 1.35; margin-top: 2px; color: var(--ok); }
.ftable .ft-stock.short { color: #8A5A1E; font-weight: 600; }
.ftable .ft-stock.none { color: #84483D; font-weight: 600; }
.ftable .ft-stock.low { color: #8A5A1E; }
.lowtag.lowstock { border-color: #C9A463; color: #8A5A1E; }
.lowtag.skiptag { border-color: #B9C0B4; color: var(--ink-3); }
.itable .chip.iv-skip { display: inline-block; margin: 6px 0 0; font-size: 11px; padding: 3px 9px; }
.itable tr.skip .ft-n { color: var(--ink-3); }
.iv-addherb { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 12px 0 0; }
.iv-addherb .legend { margin: 0; }
.itable .iv-del { font-size: inherit; font-style: normal; }
.finv .ilow-link { color: #8A5A1E; }
.fp-device.warn { color: #84483D; }
.itable .iv-type { display: inline-block; margin-left: 6px; padding: 1px 8px; border: 1px solid var(--moss); border-radius: 3px; background: var(--moss-wash); color: var(--moss-ink); font-size: 13px; font-weight: 600; line-height: 1.5; vertical-align: 1px; overflow-wrap: anywhere; }
.itable tr.iv-typed .ft-n { font-weight: 500; }
.itable .iv-addtype { font-size: inherit; font-style: normal; color: var(--moss-ink); }
.itable tr.iv-typeadd td { background: var(--moss-wash); padding: 12px 14px; }
.iv-tform { display: flex; flex-direction: column; gap: 10px; }
.iv-tform .iv-th { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--moss-ink); }
.iv-tsug { display: flex; flex-wrap: wrap; gap: 6px; }
.iv-tsug .chip { background: var(--sheet); }
.iv-trow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.iv-trow input { flex: 1 1 180px; min-width: 0; height: 38px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 999px; font-family: var(--body); font-size: 16px; background: var(--sheet); color: var(--ink); }
.iv-tform #iv-tstatus { margin: 0; }
.iv-tform #iv-tstatus:empty { display: none; }
.ftable .ft-type { display: flex; align-items: center; gap: 8px; padding-left: 17px; margin-top: 4px; }
.ftable .ft-type-l { font-size: 12.5px; color: var(--ink-3); }
.ftable .ft-type select { width: auto; max-width: 100%; min-width: 0; padding: 4px 8px; font-family: var(--body); font-size: 16px; border-radius: 6px; background-color: var(--sheet); color: var(--ink); }
.lowtag.nostock { border-color: #B9C0B4; color: var(--ink-3); }
.fmini.nostock, .btn.fadd.nostock { opacity: 0.55; }
.plist li.nostock:hover, .plist li.nostock:focus-within { opacity: 0.85; }
.mf-addlist li.nostock > span { opacity: 0.6; }
#itake-box:empty { display: none; }
.itake { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--rule); border-left: 4px solid var(--moss); border-radius: 3px; background: var(--sheet); }
.itake > p { margin: 0 0 8px; }
#itake-body > p { margin: 8px 0 0; }
.itake .row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.itake-n { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); margin: 0 0 4px; }
.itake-n input { width: 64px; height: 34px; text-align: center; border: 1px solid var(--rule); border-radius: 999px; font-family: var(--body); font-size: 15px; background: var(--sheet); color: var(--ink); }
.itake-t { margin-top: 6px; }
.itake-t tr.short td { color: #84483D; }
.itake-warn { margin: 8px 0 0; color: #84483D; }
.iv-bar, .iv-ctl, .iv-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 14px 0 0; }
.iv-bar .legend { margin: 0; flex: 1 1 260px; }
.iv-ctl input[type="search"] { flex: 1 1 220px; min-width: 0; height: 38px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 999px; font-family: var(--body); font-size: 16px; background: var(--sheet); color: var(--ink); }
.iv-show { display: flex; flex-wrap: wrap; gap: 6px; }
.iv-n { display: inline-block; min-width: 1.2em; margin-left: 4px; font-variant-numeric: tabular-nums; }
.itable td { vertical-align: middle; }
.itable .ft-l { padding-left: 0; }
.itable .iv-in { width: 88px; height: 36px; text-align: right; padding: 0 10px; border: 1px solid var(--rule); border-radius: 6px; font-family: var(--body); font-size: 16px; background: var(--sheet); color: var(--ink); font-variant-numeric: tabular-nums; }
.itable .iv-in:focus { outline: 2px solid var(--moss-wash); border-color: var(--moss); }
.itable .iv-in[aria-invalid="true"] { border-color: #A63A2B; background: #FBEDEA; }
.itable tr.out .ft-n { color: #84483D; }
.itable tr.low .ft-n { color: #7B5420; }
.itable td.k-low .iv-in { border-color: #C9A463; background: #FBF4E6; }
.itable td.k-out .iv-in { border-color: #C9A79F; background: #FBEDEA; }
.itable.lvl .iv-in::placeholder { color: var(--ink-3); opacity: 1; }
.itable.lvl thead th.num { white-space: normal; }
.iv-edit { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 12px 0 0; }
.iv-edit .fp-l { margin: 0; }
.iv-levels { margin: 12px 0 0; padding: 12px 14px; border: 1px solid var(--rule); border-left: 4px solid #C9A463; border-radius: 3px; background: var(--sheet); }
.iv-levels p { margin: 0; line-height: 1.9; }
.iv-levels .legend { margin: 6px 0 0; line-height: 1.45; }
.iv-levels .iv-lv { width: 72px; height: 34px; text-align: right; padding: 0 8px; border: 1px solid var(--rule); border-radius: 6px; font-family: var(--body); font-size: 16px; background: var(--sheet); color: var(--ink); font-variant-numeric: tabular-nums; }
.iv-levels .iv-lv:focus { outline: 2px solid var(--moss-wash); border-color: var(--moss); }
.iv-levels .iv-lv[aria-invalid="true"] { border-color: #A63A2B; background: #FBEDEA; }
.iv-shared { margin: 14px 0 0; padding: 10px 14px; border-left: 4px solid var(--moss); background: var(--moss-wash); border-radius: 3px; font-size: 15px; line-height: 1.45; color: var(--moss-ink); }
.iv-team { margin-top: 22px; }
.iv-team h3 { margin: 0 0 4px; }
.iv-add { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.iv-add input { flex: 1 1 200px; min-width: 0; height: 38px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 999px; font-family: var(--body); font-size: 16px; background: var(--sheet); color: var(--ink); }
#iv-team-status { margin: 8px 0 0; }
#iv-team-status:empty { display: none; }
.iv-people { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.iv-people li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.iv-who { display: flex; flex-direction: column; min-width: 0; }
.iv-pn { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.iv-pe, .iv-ps { font-size: 13.5px; color: var(--ink-3); overflow-wrap: anywhere; }
.itable tr.iv-focus td { background: var(--moss-wash); }
.istock { margin: 10px 0 0; font-size: 14.5px; color: var(--ink-2); }
.istock b { font-weight: 600; color: var(--ink); }
.iv-copybox { display: block; width: 100%; margin-top: 10px; font-family: var(--body); font-size: 14px; border: 1px solid var(--rule); border-radius: 8px; padding: 8px 10px; }
@media (max-width: 440px) { .itable .iv-in { width: 72px; padding: 0 8px; } }

.sitebar { position: relative; z-index: 6; margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px))); padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: 8px; background: #FFFFFF; border-bottom: 1px solid var(--rule); }
.sitebar .sb-in { max-width: 760px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px; }
.sitebar .sb-home { display: block; line-height: 0; border-radius: 2px; }
.sitebar .sb-home img { display: block; width: auto; height: 40px; max-width: none; }
.sitebar .sb-links { display: flex; align-items: center; gap: 18px; font-family: var(--body); font-size: 15px; line-height: 1.2; }
.sitebar .sb-links a { color: var(--ink); text-decoration: none; white-space: nowrap; }
.sitebar .sb-links a:hover { color: var(--moss-ink); text-decoration: underline; }
.sitebar .sb-links .sb-cta { padding: 8px 14px; border: 1px solid var(--moss); border-radius: 2px; background: var(--moss); color: #FFFFFF; }
.sitebar .sb-links .sb-cta:hover { background: var(--moss-ink); border-color: var(--moss-ink); color: #FFFFFF; text-decoration: none; }
.preview { flex-wrap: wrap; row-gap: 8px; max-width: 100%; }
.preview .acct { white-space: nowrap; }
@media (max-width: 520px) { .sitebar { padding-block: 6px; } .sitebar .sb-in { gap: 6px 12px; } .sitebar .sb-home img { height: 34px; } .sitebar .sb-links { gap: 12px; font-size: 14px; } .sitebar .sb-links .sb-cta { padding: 7px 10px; } }

.pview { margin: 2px 0 14px; }
.pback { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; }
.pback .bk-open { text-decoration: underline; text-decoration-color: rgba(62, 74, 64, 0.35); text-underline-offset: 4px; }
.pview .chip { text-decoration: none; }
.pview .chip[aria-current="page"] { background: var(--moss-ink); border-color: var(--moss-ink); color: #F3EFE7; }
.bk-view { --bkpaper: #ECE2CC; --bkink: #2B2418; --bkink2: #5A4A35; --bkrule: rgba(110, 90, 60, 0.34); }
.bk-wrap { --bkw: min(1040px, calc(var(--bkcw, 100vw) - 32px)); width: var(--bkw); margin-left: calc((100% - var(--bkw)) / 2); }
.bk { position: relative; margin: 8px 34px 0 0; }
.bk-wrap.is-solo .bk, .bk-wrap.is-solo .bk-nav, .bk-wrap.is-solo .bk-hint { margin-right: 0; }
.bk-board { position: relative; padding: 13px 13px 15px; border-radius: 7px; background: #2E3A2C url("img/book/cloth.webp");
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(0, 0, 0, 0.28), 0 22px 44px -22px rgba(30, 24, 14, 0.6), 0 6px 14px -6px rgba(30, 24, 14, 0.4); }
.bk-spread { position: relative; container-type: inline-size; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); perspective: 2600px;
  box-shadow: 0 1px 0 1px #D7C9A8, 0 2px 0 2px #EADFC6, 0 3px 0 3px #D2C2A0, 0 4px 0 4px #E7DBC1, 0 5px 0 5px #CDBC98; border-radius: 2px; }
.bk-spread.solo { grid-template-columns: minmax(0, 1fr); }

.bk-page { position: relative; min-width: 0; min-height: 66.667cqi; display: flex; flex-direction: column; padding: 30px 38px 30px;
  background-color: var(--bkpaper); background-image: url("img/book/paper.webp"); color: var(--bkink); }
.bk-page.bk-solo { min-height: 0; padding: 22px max(22px, calc((100% - 560px) / 2)) 30px; }

.bk-page::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.bk-l::before { background: linear-gradient(to left, rgba(58, 38, 14, 0.34) 0, rgba(58, 38, 14, 0.12) 2.6%, rgba(255, 248, 228, 0.16) 6%, rgba(0, 0, 0, 0) 13%),
  linear-gradient(to right, rgba(110, 78, 34, 0.16), rgba(0, 0, 0, 0) 7%), radial-gradient(120% 90% at 55% 45%, rgba(0, 0, 0, 0) 62%, rgba(120, 86, 38, 0.16) 100%); }
.bk-r::before { background: linear-gradient(to right, rgba(58, 38, 14, 0.34) 0, rgba(58, 38, 14, 0.12) 2.6%, rgba(255, 248, 228, 0.16) 6%, rgba(0, 0, 0, 0) 13%),
  linear-gradient(to left, rgba(110, 78, 34, 0.16), rgba(0, 0, 0, 0) 7%), radial-gradient(120% 90% at 45% 45%, rgba(0, 0, 0, 0) 62%, rgba(120, 86, 38, 0.16) 100%); }
.bk-solo::before { background: linear-gradient(to right, rgba(58, 38, 14, 0.3) 0, rgba(58, 38, 14, 0.1) 3%, rgba(255, 248, 228, 0.14) 7%, rgba(0, 0, 0, 0) 14%),
  radial-gradient(130% 90% at 50% 40%, rgba(0, 0, 0, 0) 64%, rgba(120, 86, 38, 0.16) 100%); }
.bk-spread:not(.solo)::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; z-index: 4; background: linear-gradient(rgba(40, 26, 10, 0.18), rgba(40, 26, 10, 0.42) 50%, rgba(40, 26, 10, 0.18)); pointer-events: none; }
.bk-page > * { position: relative; }   
.bk-run { display: flex; justify-content: space-between; gap: 10px; font-family: "EB Garamond", Georgia, serif; font-size: 12.5px; letter-spacing: 0.22em; text-transform: uppercase; color: #7A6A52;
  border-bottom: 1px solid var(--bkrule); padding-bottom: 6px; margin-bottom: 18px; }
.bk-run span:only-child { margin: 0 auto; }
.bk-plate { margin: auto 0; display: grid; gap: 14px; justify-items: center; }
.bk-pl { width: min(86%, 400px); aspect-ratio: 4 / 5; padding: 9px; border: 1px solid rgba(90, 70, 45, 0.5); box-shadow: 0 0 0 3px rgba(0, 0, 0, 0), 0 0 0 4px rgba(90, 70, 45, 0.22); }
.bk-pl img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; filter: sepia(0.14) saturate(0.9) contrast(1.02); }
.bk-plate figcaption { font-family: "EB Garamond", Georgia, serif; font-size: 15px; line-height: 1.35; text-align: center; color: var(--bkink2); max-width: 34ch; }
.bk-plate figcaption i { color: var(--bkink); }
.bk-src { display: block; margin-top: 3px; font-size: 13px; font-style: italic; }
.bk-src a { color: inherit; text-decoration-color: rgba(90, 70, 45, 0.4); }
.bk-name { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.04; margin: 0; color: var(--bkink); text-wrap: balance; }
.bk-latin { font-family: "EB Garamond", Georgia, serif; font-style: italic; font-size: 20px; line-height: 1.3; color: var(--bkink2); margin: 5px 0 0; }
.bk-aka { font-family: "EB Garamond", Georgia, serif; font-size: 15px; line-height: 1.35; color: #6E5E46; margin: 4px 0 0; }
.bk-en { font-family: "EB Garamond", Georgia, serif; font-variant: small-caps; letter-spacing: 0.08em; font-size: 15.5px; color: #6B5A42; margin: 10px 0 0; }
.bk-en span + span::before { content: "·"; margin: 0 0.5em; }
.bk-flags { margin: 4px 0 0; font-family: "EB Garamond", Georgia, serif; font-style: italic; font-size: 15px; color: #84483D; }
.bk-flags span + span::before { content: "·"; margin: 0 0.45em; font-style: normal; }
.bk-orn { display: block; width: 120px; height: 10px; margin: 16px auto 14px; color: #8A7655; flex: none; }
.bk-tag { font-family: "EB Garamond", Georgia, serif; font-style: italic; font-size: 19.5px; line-height: 1.4; color: #3A3022; margin: 0 auto 12px; text-align: center; text-wrap: balance; max-width: 30em; }
.bk-about { font-family: "EB Garamond", Georgia, serif; font-size: 17.5px; line-height: 1.52; color: #2F271B; margin: 0; text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
.bk-about::first-letter { font-family: var(--display); float: left; font-size: 3.35em; line-height: 0.82; padding: 5px 7px 0 0; color: #4F5E51; }
.bk-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 3px 14px; margin: 18px 0 0; padding-top: 10px; border-top: 1px solid var(--bkrule);
  font-family: "EB Garamond", Georgia, serif; font-size: 15px; line-height: 1.4; }
.bk-facts dt { font-variant: small-caps; letter-spacing: 0.08em; color: #7A6A52; }
.bk-facts dd { margin: 0; color: #3A3022; min-width: 0; }
.bk-letter { position: absolute; z-index: 1; bottom: 16px; font-family: var(--display); font-size: 15px; color: #8A7655; }
.bk-l .bk-letter { left: 38px; } .bk-r .bk-letter, .bk-solo .bk-letter { right: 38px; }
.bk-solo .bk-letter { right: 22px; bottom: 12px; }
.bk-solo .bk-plate { margin: 0 0 18px; }
.bk-solo .bk-pl { width: min(72%, 300px); }
.bk-solo .bk-run { margin-bottom: 14px; }

.bk-corner { position: absolute; z-index: 5; bottom: 0; width: 64px; height: 64px; border: 0; padding: 0; background: none; cursor: pointer; }
.bk-corner.next { right: 0; } .bk-corner.prev { left: 0; }
.bk-corner::after { content: ""; position: absolute; bottom: 0; width: 0; height: 0; transition: width 0.18s ease, height 0.18s ease; }
.bk-corner.next::after { right: 0; background: linear-gradient(135deg, rgba(0, 0, 0, 0) 50%, #E2D5B8 50%, #F2E9D6 72%, #D9CBAA); box-shadow: -2px -2px 5px rgba(60, 40, 15, 0.22); }
.bk-corner.prev::after { left: 0; background: linear-gradient(225deg, rgba(0, 0, 0, 0) 50%, #E2D5B8 50%, #F2E9D6 72%, #D9CBAA); box-shadow: 2px -2px 5px rgba(60, 40, 15, 0.22); }
.bk-corner:hover::after, .bk-corner:focus-visible::after { width: 30px; height: 30px; }
.bk-corner:focus-visible { outline: 2px solid var(--moss); outline-offset: -4px; }

.bk-leaf { position: absolute; top: 0; bottom: 0; width: 50%; z-index: 6; transform-style: preserve-3d; transition: transform 0.78s cubic-bezier(0.36, 0.08, 0.22, 1); pointer-events: none; }
.bk-leaf.fwd { left: 50%; transform-origin: left center; }
.bk-leaf.back { left: 0; transform-origin: right center; }
.bk-leaf.solo { left: 0; width: 100%; transform-origin: left center; transition-duration: 0.9s; transition-timing-function: cubic-bezier(0.5, 0.05, 0.3, 1); }
.bk-leaf.fwd.go, .bk-leaf.solo.go { transform: rotateY(-180deg); }
.bk-leaf.back.go { transform: rotateY(180deg); }
.bk-leaf.solo.in { transform: rotateY(-180deg); }
.bk-leaf.solo.in.go { transform: rotateY(0deg); }
.bk-face { position: absolute; inset: 0; aspect-ratio: auto; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.bk-face.bk-back { transform: rotateY(180deg); }
.bk-face::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; }
.bk-leaf.go .bk-face::after { animation: bkShade 0.78s cubic-bezier(0.36, 0.08, 0.22, 1); }
.bk-leaf.solo.go .bk-face::after { animation-duration: 0.9s; }
.bk-front::after { background: linear-gradient(to left, rgba(40, 26, 10, 0.5), rgba(40, 26, 10, 0.08) 60%, rgba(255, 250, 235, 0.18)); }
.bk-back::after { background: linear-gradient(to right, rgba(40, 26, 10, 0.5), rgba(40, 26, 10, 0.08) 60%, rgba(255, 250, 235, 0.18)); }
@keyframes bkShade { 0% { opacity: 0; } 45% { opacity: 1; } 55% { opacity: 1; } 100% { opacity: 0; } }

.bk-tabs { position: absolute; top: 30px; bottom: 34px; right: -34px; width: 34px; display: flex; flex-direction: column; gap: 2px; z-index: 0; }
.bk-tab { flex: 1 1 0; min-height: 0; max-height: 30px; display: grid; place-items: center; padding: 0 0 0 6px; border: 0; border-radius: 0 7px 7px 0; cursor: pointer;
  background: #DCCFB2 url("img/book/paper.webp"); color: #4A3D2A; font-family: var(--display); font-size: 14px; line-height: 1;
  box-shadow: inset 4px 0 6px -4px rgba(40, 26, 10, 0.5), 1px 1px 0 rgba(60, 45, 25, 0.25); transition: transform 0.15s ease; }
.bk-tab:hover { transform: translateX(2px); }
.bk-tab[aria-current="true"] { background: #4F5E51; color: #F3EFE7; transform: translateX(3px); }
.bk-tab:disabled { color: rgba(74, 61, 42, 0.32); cursor: default; transform: none; }
.bk-tab:focus-visible { outline: 2px solid var(--moss); outline-offset: 1px; }
.bk-tabs.row { position: static; width: auto; flex-direction: row; gap: 3px; margin: 0 0 10px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 4px; }
.bk-tabs.row::-webkit-scrollbar { display: none; }
.bk-tabs.row .bk-tab { flex: 0 0 26px; height: 30px; max-height: none; padding: 4px 0 0; border-radius: 7px 7px 0 0; box-shadow: inset 0 4px 6px -4px rgba(40, 26, 10, 0.45), 1px 0 0 rgba(60, 45, 25, 0.2); }
.bk-tabs.row .bk-tab[aria-current="true"], .bk-tabs.row .bk-tab:hover { transform: translateY(-2px); }

.bk-nav { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; margin: 18px 34px 0 0; }
.bk-nav button { justify-self: start; border: 0; background: none; padding: 6px 2px; cursor: pointer; font-family: "EB Garamond", Georgia, serif; font-size: 17px; color: var(--moss-ink); text-decoration: underline; text-decoration-color: rgba(62, 74, 64, 0.35); text-underline-offset: 4px; }
.bk-nav .bk-next { justify-self: end; }
.bk-nav button:hover { text-decoration-color: currentColor; }
.bk-where { font-family: var(--display); font-size: 19px; color: var(--ink-2); text-align: center; }
.bk-hint { margin: 6px 34px 0 0; text-align: center; font-size: 13.5px; font-style: italic; color: var(--ink-3); }
.bk-under { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--rule); }
.bk-under h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 26px; }
.bk-under .faddbar { margin: 0; }
.bk-under > a { font-size: 15px; }

.pbar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 28px; margin: 2px 0 16px; }
.pbar .pview { margin: 0; }
.psearch { position: relative; z-index: 7; flex: 0 1 380px; min-width: min(100%, 240px); }
.psearch svg { position: absolute; left: 0; top: 50%; transform: translateY(-62%); width: 17px; height: 17px; color: #6F7A69; pointer-events: none; }
.psearch input { -webkit-appearance: none; appearance: none; width: 100%; box-sizing: border-box; margin: 0; padding: 4px 0 7px 27px; border: 0; border-bottom: 1px solid #5C6B5E; border-radius: 0 !important; background: transparent; box-shadow: none; font-family: "EB Garamond", Georgia, serif; font-size: 20px; font-weight: 400; line-height: 1.3; color: #1C251B; }
.psearch input::placeholder { font-style: italic; color: #6F7A69; opacity: 1; }
.psearch input:focus, .psearch input:focus-visible { outline: none; border-bottom-color: #1C251B; box-shadow: 0 1px 0 #1C251B; }
.psearch input::-webkit-search-decoration { -webkit-appearance: none; }
.psearch input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; margin: 0 0 0 8px; border-radius: 50%; background: rgba(0, 0, 0, 0.05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 2.5l7 7M9.5 2.5l-7 7' stroke='%231C251B' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 10px 10px no-repeat; cursor: pointer; }
.psearch .results { top: calc(100% + 6px); }
.psearch .results button { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 16px; text-align: left; color: var(--ink); cursor: pointer; }
.psearch .results button:hover, .psearch .results button:focus-visible { background: var(--moss-wash); outline: none; }
.pq-none { margin: 4px 0 20px; color: var(--ink-2); font-size: 16px; }
.pq-none .sr-req { display: block; margin-top: 6px; }
@media (max-width: 600px) { .psearch { flex: 1 1 100%; } }
#bookRest { min-height: 40vh; }

@container (max-width: 960px) {
  .bk-page { padding: 28px 32px 28px; }
  .bk-tag { font-size: 18.5px; margin-bottom: 10px; }
  .bk-about { font-size: 16.5px; line-height: 1.5; }
  .bk-facts { font-size: 14.5px; margin-top: 14px; }
  .bk-orn { margin: 12px auto 11px; }
}
@media (max-width: 719px) {
  .bk-board { padding: 9px 9px 11px; border-radius: 6px; }
  .bk-name { font-size: 34px; }
  .bk-about { font-size: 17px; }
  .bk-corner { width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) { .bk-leaf { transition: none; } .bk-tab { transition: none; } }


.mh-band.mh-band.mh-band { position: relative; display: block; box-sizing: border-box; overflow: hidden; isolation: isolate;
  margin: 0 calc(-1 * max(16px, env(safe-area-inset-right, 0px))) 0 calc(-1 * max(16px, env(safe-area-inset-left, 0px)));
  max-width: none; padding: 0; border: 0; border-radius: 0; background: #545B46; color: #EAE6E3; text-align: center; }
.mh-band.mh-band .mh-photo { position: absolute; inset: 0; background-repeat: no-repeat; }
.mh-band.mh-band .mh-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.46) 0%, rgba(0, 0, 0, 0.24) 30%, rgba(0, 0, 0, 0.16) 48%, rgba(0, 0, 0, 0.18) 60%, rgba(0, 0, 0, 0.34) 76%, rgba(0, 0, 0, 0.52) 100%); }
.mh-band.mh-band .mh-frame { position: relative; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; min-height: 414px; max-width: none;
  margin: 10px max(10px, env(safe-area-inset-right, 0px)) 10px max(10px, env(safe-area-inset-left, 0px));
  border: 1px solid #E6E0D1; outline: 1px solid #E6E0D1; outline-offset: 3px; padding: 30px 18px 24px; }
.mh-band.mh-band .mh-frame > * { flex: 0 0 auto; max-width: 100%; }
.mh-band.mh-band .mh-kicker { display: block; margin: 0; font-family: "IM Fell English", "EB Garamond", Georgia, serif; font-weight: 400; font-size: 14px; line-height: 1.55;
  letter-spacing: 0.26em; text-transform: uppercase; font-variant-caps: normal; color: #E6E0D1; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); }
.mh-band.mh-band .mh-title { margin: 6px 0 0; padding: 0; font-family: "IM Fell English", "EB Garamond", Georgia, serif; font-weight: 400; font-style: normal; font-size: clamp(40px, 7vw, 64px);
  line-height: 1.04; letter-spacing: 0.01em; color: #F6F3EE; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); text-wrap: balance; }
.mh-band.mh-band .mh-title a { color: inherit; text-decoration: none; }
.mh-band.mh-band .mh-slot { flex: 1 0 auto; align-self: stretch; position: relative; height: auto; min-height: 48px; max-width: none; margin: 6px 0 0; }

.mh-band.mh-band .mh-slot img.shears { position: absolute; inset: 0; margin: auto; display: block; width: auto; height: auto; max-width: min(340px, 70%); max-height: calc(100% - 8px);
  filter: invert(1) brightness(1.15) contrast(1.15) drop-shadow(0 0 10px rgba(0, 0, 0, 0.35)); opacity: 1; }
.mh-band.mh-band .mh-tag { margin: 6px auto 0; max-width: 46em; font-family: "EB Garamond", Georgia, serif; font-style: italic; font-weight: 400; font-size: 19px; line-height: 1.4;
  letter-spacing: 0.02em; color: #E6E0D1; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); text-wrap: balance; }
.mh-band.mh-band .mh-pills { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin: 12px 0 0; }
.mh-band.mh-band .mh-pills > * { margin: 0; }

.mht-credit.mht-credit, #photoHero .credit { max-width: none; margin: 4px 2px 0; padding: 0; font-family: "EB Garamond", Georgia, serif; font-size: 14px; line-height: 1.45; font-style: italic; color: #6F7A69; text-align: right; }
.mh-band.mh-band .mh-pill { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; row-gap: 6px; box-sizing: border-box; max-width: 100%;
  background: rgba(0, 0, 0, 0.18); border: 1px solid #E6E0D1; border-radius: 999px; padding: 4px 6px 4px 14px;
  font-family: "EB Garamond", Georgia, serif; font-size: 15px; font-style: normal; line-height: 1.2; letter-spacing: normal; font-variant-caps: normal; color: #E6E0D1; text-shadow: none; }
.mh-band.mh-band .mh-pill > span:first-child { font-family: "EB Garamond", Georgia, serif; font-variant-caps: small-caps; text-transform: none; letter-spacing: 0.12em; font-size: 15px; font-weight: 500; color: #E6E0D1; white-space: nowrap; }
.mh-band.mh-band .mh-pill .seg { display: inline-flex; flex-wrap: nowrap; background: rgba(0, 0, 0, 0.25); border: 0; border-radius: 999px; padding: 2px; gap: 2px; margin: 0; }
.mh-band.mh-band .mh-pill .seg button, .mh-band.mh-band .mh-pill .seg a { display: block; border: 0; background: transparent; border-radius: 999px; margin: 0; padding: 5px 12px;
  font-family: "EB Garamond", Georgia, serif; font-size: 15px; font-weight: 400; line-height: 1.2; letter-spacing: normal; font-variant-caps: normal; text-transform: none; color: #EAE6E3;
  text-decoration: none; text-shadow: none; white-space: nowrap; cursor: pointer; }
.mh-band.mh-band .mh-pill .seg a:hover, .mh-band.mh-band .mh-pill .seg button:hover { background: rgba(230, 224, 209, 0.16); }
.mh-band.mh-band .mh-pill .seg button[aria-pressed="true"], .mh-band.mh-band .mh-pill .seg a[aria-current="page"] { background: #E6E0D1; color: #324236; }
.mh-band.mh-band .mh-pill .seg a:focus-visible, .mh-band.mh-band .mh-pill .seg button:focus-visible, .mh-band.mh-band .mh-pill .acct:focus-visible { outline: 2px solid #E6E0D1; outline-offset: 2px; }
.mh-band.mh-band .mh-pill .acct { margin: 0 8px 0 0; font-family: "EB Garamond", Georgia, serif; font-size: 15px; color: #EAE6E3; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (min-width: 1400px) {
  .mh-band.mh-band .mh-frame { min-height: 368px; }
  .mh-band.mh-band .mh-pills { margin: 0; }
  .mh-band.mh-band .mh-pills > .mh-ways { position: absolute; top: 14px; left: 16px; }
  .mh-band.mh-band .mh-pills > :not(.mh-ways) { position: absolute; top: 14px; right: 16px; }
}
@media (max-width: 600px) {
  .mh-band.mh-band .mh-frame { min-height: 446px; padding: 26px 12px 20px; }
  .mh-band.mh-band .mh-tag { font-size: 17px; }
  .mh-band.mh-band .mh-pills { flex-direction: column; gap: 10px; }
  .mh-band.mh-band .mh-ways { flex-direction: column; gap: 6px; padding: 0; border: 0; border-radius: 0; background: none; }
  .mh-band.mh-band .mh-ways .seg { border: 1px solid #E6E0D1; background: rgba(0, 0, 0, 0.3); padding: 3px; }
  .mh-band.mh-band .mh-pill .seg button, .mh-band.mh-band .mh-pill .seg a { padding: 5px 10px; }
}
@media (max-width: 370px) {
  .mh-band.mh-band .mh-pill .seg button, .mh-band.mh-band .mh-pill .seg a { padding: 5px 7px; font-size: 14px; }
  .mh-band.mh-band .mh-pill { padding-left: 10px; }
}

.mh-band.mh-band .mht-db { margin-top: 4px; }
.mht-credit { margin-top: 4px; }

html.consult .sitebar, html.consult .masthead, html.consult .mht-credit, html.consult .foot, html.consult .flora { display: none !important; }
html.consult .wrap { padding-top: 8px; }

html.consult .top { padding-block: 4px 0; }
html.consult .top .search input { font-size: 21px; padding: 0 0 4px; }
html.consult .top .tabs { margin-top: 2px; gap: 2px 18px; }
html.consult .top .tabs a { font-size: 17px !important; padding: 4px 2px !important; }
html.consult .mf > .lede { display: none; }
html.consult .mf > .view-title { font-size: 26px; margin-bottom: 0; }
.cplan { border: 1px solid var(--rule); border-radius: 12px; padding: 10px 12px 8px; margin: 0 0 14px; background: #FBFAF6; }
.cplan header { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.cplan h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 19px; }
.cplan .legend { margin: 0; font-size: 13px; }
.cplan ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 5px; }
.cp-i { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1px 10px; align-items: baseline; padding: 6px 9px; border-radius: 8px; border-left: 3px solid var(--rule); background: #fff; }
.cp-i.cov { border-left-color: var(--ok); background: var(--ok-wash); }
.cp-i.gap { border-left-color: #C9A24A; background: #FBF3E2; }
.cp-i.nolib { color: var(--ink-3); }
.cp-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.cp-t { font-weight: 600; }
.cp-h { grid-column: 2 / 4; font-size: 13.5px; color: var(--ink-2); }
.cp-f { grid-column: 3; grid-row: 1; align-self: baseline; font-size: 13px; white-space: nowrap; }
.cp-miss { font-size: 13px; color: var(--avoid); margin: 8px 0 2px; }
.ft-cov { display: block; font-size: 12px; color: var(--ok); line-height: 1.3; margin-top: 1px; }
.fl-saved { margin-top: 12px; font-size: 14px; }
.fl-saved summary { cursor: pointer; color: var(--moss-ink); }
.fl-saved ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.fl-saved .fl-herbs { color: var(--ink-3); font-size: 13px; }
