/* Trim the usually-oversized gap block themes leave around the page title above our board.
   These are the class names most WordPress themes use for that area — harmless if your
   theme uses different ones, since an unmatched selector simply does nothing. */
.entry-header, .wp-block-post-title, .page-header {
  margin-top: 0 !important;
  padding-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
  padding-bottom: 0 !important;
}

#fas-board-root {
  --ink: #2E3524; --paper: #F5F6EF; --card: #FFFFFF;
  --beet: #A62653; --sage: #8FA878; --butter: #E4B93C; --sky: #6FA8C9; --lav: #9C8AC4;
  --line: #DDE0D2;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  padding-bottom: 40px;
  width: 100vw;
  max-width: 1600px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  padding-left: 16px;
  padding-right: 16px;
}
#fas-board-root * { box-sizing: border-box; }

.fas-filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 4px 4px; }
.fas-chip { flex: 0 0 auto; border: 1.5px solid var(--line); background: var(--card); border-radius: 999px; padding: 9px 15px; font-weight: 700; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.fas-avatarimg { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.fas-avatarimg-sm { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.fas-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.fas-subfilters { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 4px 12px; }
.fas-subfilters:empty { padding: 0; }
.fas-subchip { flex: 0 0 auto; border: 1.5px solid var(--line); background: transparent; color: #6b7060; border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 11.5px; cursor: pointer; }
.fas-subchip.active { background: var(--sage); color: #fff; border-color: var(--sage); }
.fas-mealfilters { padding-top: 0; padding-bottom: 14px; }
.fas-mealchip.active { background: var(--sky); border-color: var(--sky); }
.fas-personchip.active { background: var(--lav); border-color: var(--lav); }
.fas-tagchip { font-size: 11.5px; padding: 6px 12px; }
.fas-tagchip.active { background: var(--butter); border-color: var(--butter); color: var(--ink); }

.fas-sec { font-size: 20px; font-weight: 700; margin: 16px 4px 10px; }

.fas-planner { padding: 8px 4px; }
.fas-traytabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.fas-ttab { border: 1.5px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 700; cursor: pointer; }
.fas-ttab.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.fas-tray { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 2px 12px; }
.fas-rchip { flex: 0 0 auto; border-radius: 10px; padding: 8px 12px; font-size: 12.5px; font-weight: 700; color: #fff; background: var(--sage); cursor: pointer; }
.fas-rchip.fas-sel { outline: 3px solid var(--ink); outline-offset: 2px; }
.fas-days { display: flex; gap: 10px; overflow-x: auto; padding: 6px 2px 16px; }
.fas-day { flex: 0 0 168px; background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 12px 11px; }
.fas-day.fas-today { border-color: var(--ink); border-width: 2px; }
.fas-day h3 { font-size: 14.5px; margin: 0 0 2px; }
.fas-dsub { font-size: 10.5px; color: #9aa08e; font-weight: 700; text-transform: uppercase; margin-bottom: 9px; }
.fas-slot { border: 1.5px dashed var(--line); border-radius: 10px; min-height: 44px; margin-bottom: 7px; padding: 6px 8px; font-size: 12px; position: relative; }
.fas-sl { font-size: 8.5px; text-transform: uppercase; font-weight: 700; color: #9aa08e; display: block; }
.fas-sv { font-size: 12.5px; }
.fas-clr { position: absolute; top: 3px; right: 5px; background: none; border: none; color: #b6bca8; cursor: pointer; font-size: 12px; }

.fas-board { display: flex; gap: 12px; }
.fas-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.fas-tile { background: var(--card); border-radius: 16px; overflow: hidden; box-shadow: 0 1px 3px rgba(46,53,36,.08); cursor: pointer; }
.fas-tile-img { position: relative; }
.fas-art { height: 150px; background-size: cover; background-position: center; }
.fas-art-placeholder { display: flex; align-items: center; justify-content: center; font-size: 40px; background: var(--paper); }
.fas-editbtn { position: absolute; top: 8px; right: 8px; z-index: 2; background: rgba(46,53,36,.72); color: #fff; border: none; border-radius: 50%; width: 28px; height: 28px; font-size: 13px; cursor: pointer; }
.fas-freezebadge { position: absolute; top: 8px; left: 8px; z-index: 2; background: rgba(255,255,255,.9); border-radius: 50%; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.fas-freezecheck { background: var(--paper); border-radius: 10px; padding: 11px 12px; line-height: 1.4; }
#fas-viewfreeze { background: #E9F1F7; border: 1.5px solid var(--sky); color: var(--ink); border-radius: 12px; padding: 12px 14px; font-size: 14px; margin: 4px 0 16px; line-height: 1.4; }
.fas-info { padding: 11px 13px 13px; }
.fas-info h3 { font-size: 15.5px; margin: 0 0 6px; }
.fas-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.fas-tags span { font-size: 9.5px; font-weight: 700; text-transform: uppercase; padding: 3px 7px; border-radius: 999px; background: var(--paper); color: #6b7060; }
.fas-stars { margin-top: 7px; font-size: 13px; color: var(--butter); }
.fas-stars span { font-size: 11px; color: #9aa08e; margin-left: 4px; }
.fas-stars-empty { color: #DDE0D2; }

.fas-shop { padding: 16px 4px 0; }
.fas-addrow { display: flex; gap: 8px; margin-bottom: 12px; }
.fas-addrow input { flex: 1; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--paper); font-size: 14.5px; }
.fas-addrow button { background: var(--beet); color: #fff; border: none; border-radius: 10px; padding: 0 16px; font-weight: 700; cursor: pointer; }
.fas-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 4px; border-bottom: 1px dashed var(--line); }
.fas-item input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--sage); margin-top: 2px; flex: 0 0 auto; }
.fas-item span { flex: 1; font-size: 14.5px; line-height: 1.4; }
.fas-item small { display: block; font-size: 11px; color: #9aa08e; font-weight: 400; margin-top: 2px; }
.fas-clearbtn { display: block; width: 100%; margin-top: 10px; background: none; border: 1.5px solid var(--line); color: var(--ink); border-radius: 10px; padding: 10px; font-weight: 700; font-size: 13px; cursor: pointer; }
.fas-item.fas-done span { text-decoration: line-through; color: #9aa08e; }
.fas-item button { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); color: #6b7060; cursor: pointer; font-size: 12px; }
.fas-item button:hover { background: #FBEFF3; border-color: #E8B4C6; color: #8A1F44; }

.fas-addbtn { position: fixed; bottom: 18px; right: 18px; z-index: 60; background: var(--beet); color: #fff; border: none; border-radius: 999px; padding: 14px 20px; font-weight: 700; box-shadow: 0 4px 14px rgba(166,38,83,.4); cursor: pointer; }

.fas-overlay { position: fixed; inset: 0; background: rgba(46,53,36,.5); z-index: 70; display: none; align-items: flex-end; justify-content: center; }
.fas-overlay.fas-open { display: flex; }
.fas-modal { background: var(--card); border-radius: 22px 22px 0 0; width: 100%; max-width: 560px; padding: 22px 20px 30px; max-height: 88vh; overflow-y: auto; position: relative; }
.fas-modal-wide { max-width: 96vw; width: 96vw; max-height: 94vh; }
.fas-modalclose { position: absolute; top: 14px; right: 14px; background: var(--paper); border: none; border-radius: 50%; width: 32px; height: 32px; font-size: 15px; color: #6b7060; cursor: pointer; line-height: 1; }
#fas-viewtitle { padding-right: 48px; font-size: 30px; }
.fas-viewrate { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-size: 16px; font-weight: 700; color: var(--ink); }
.fas-viewstars button { background: none; border: none; font-size: 36px; color: #DDE0D2; cursor: pointer; padding: 0 3px; }
.fas-viewstars button:hover { color: var(--butter); }
.fas-viewgrid { display: flex; flex-wrap: wrap; gap: 26px; align-items: flex-start; margin-bottom: 8px; }
.fas-viewhero { width: 340px; max-width: 100%; height: 340px; object-fit: cover; border-radius: 14px; display: block; flex: 0 0 auto; }
.fas-viewhero-solo { width: 100%; max-height: 420px; object-fit: cover; border-radius: 14px; margin-bottom: 18px; display: block; }
.fas-viewtext { flex: 1 1 320px; min-width: 280px; margin-bottom: 8px; }
.fas-viewdesc { font-size: 15px; color: #4a5140; line-height: 1.55; margin-bottom: 8px; }
.fas-viewh3 { font-size: 17px; font-weight: 700; margin: 18px 0 8px; }
.fas-viewul, .fas-viewol { padding-left: 22px; margin-bottom: 4px; }
.fas-viewul li, .fas-viewol li { font-size: 14.5px; line-height: 1.6; margin-bottom: 4px; }
.fas-vieworiginal { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 14px; }
.fas-vieworiginal summary { cursor: pointer; font-weight: 700; font-size: 13px; color: #6b7060; }
#fas-viewpages { display: block; }
.fas-viewpagegrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; align-items: start; margin-top: 14px; }
.fas-viewpage { width: 100%; border-radius: 12px; margin-bottom: 0; display: block; }
.fas-modal h2 { font-size: 22px; margin: 0 0 10px; }
.fas-hint { font-size: 13px; color: #6b7060; margin-bottom: 14px; }
.fas-upzone { border: 2px dashed var(--line); border-radius: 14px; padding: 22px; text-align: center; cursor: pointer; margin-bottom: 14px; background: var(--paper); font-weight: 700; }
#fas-reread { display: block; width: 100%; background: none; border: 1.5px solid var(--sky); color: var(--ink); border-radius: 10px; padding: 10px; font-weight: 700; font-size: 13px; cursor: pointer; margin: -6px 0 14px; }
.fas-pages { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 8px; }
.fas-pagethumb { position: relative; border-radius: 10px; overflow: hidden; border: 1.5px solid var(--line); aspect-ratio: 3/4; cursor: pointer; }
.fas-pagethumb.fas-pageselected { border: 3px solid var(--beet); }
.fas-pagethumb img { width: 100%; height: 100%; object-fit: cover; }
.fas-pagethumb span { position: absolute; bottom: 4px; left: 4px; background: rgba(46,53,36,.75); color: #fff; font-size: 9px; padding: 2px 6px; border-radius: 99px; }
.fas-pagethumb button { position: absolute; top: 3px; right: 3px; background: rgba(46,53,36,.75); color: #fff; border: none; border-radius: 50%; width: 18px; height: 18px; font-size: 10px; cursor: pointer; z-index: 2; }
#fas-uperr { background: #FBEFF3; border: 1.5px solid #E8B4C6; color: #8A1F44; border-radius: 12px; padding: 11px 13px; font-size: 13px; margin-bottom: 12px; }
#fas-curphoto img { width: 100%; max-height: 260px; object-fit: cover; border-radius: 12px; margin-bottom: 8px; display: block; }
#fas-curphoto div { font-size: 12px; color: #6b7060; margin-bottom: 12px; }
#fas-delete { display: block; width: 100%; background: none; border: none; color: var(--beet); font-weight: 700; font-size: 13px; padding: 14px 0 2px; cursor: pointer; text-align: center; }
.fas-reading { display: none; font-size: 13px; color: var(--beet); font-weight: 700; margin-bottom: 12px; }
.fas-reading.fas-on { display: block; }
.fas-field { margin-bottom: 12px; }
.fas-field label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; color: #6b7060; margin-bottom: 5px; }
.fas-field input, .fas-field select, .fas-field textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px; background: var(--paper); font-size: 14.5px; font-family: inherit; }
.fas-mrow { display: flex; gap: 10px; margin: 16px 0; }
.fas-mrow button { flex: 1; border-radius: 12px; padding: 13px; font-weight: 700; cursor: pointer; }
.fas-planrow { display: flex; gap: 8px; }
.fas-planrow select { flex: 1; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--paper); }
.fas-planrow button { background: var(--sage); color: #fff; border: none; border-radius: 10px; padding: 0 16px; font-weight: 700; font-size: 13px; cursor: pointer; }
.fas-plannedtag { display: inline-flex; align-items: center; gap: 6px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 6px 5px 12px; font-size: 12px; font-weight: 700; margin: 0 6px 8px 0; }
.fas-plannedtag button { background: none; border: none; color: #9aa08e; cursor: pointer; font-size: 12px; padding: 2px; }
#fas-save, #fas-rvsave { background: var(--ink); color: #fff; border: none; }
#fas-cancel, #fas-rvclose { background: none; border: 1.5px solid var(--line); }

.fas-mealchecks { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.fas-mealcheck { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; }
.fas-mealcheck input { width: 16px; height: 16px; accent-color: var(--sage); }
.fas-starpick { display: flex; gap: 6px; margin-bottom: 12px; }
.fas-starpick button { background: none; border: none; font-size: 30px; cursor: pointer; color: #DDE0D2; }
.fas-starpick button.fas-on { color: var(--butter); }
.fas-rv-item { padding: 11px 0; border-bottom: 1px dashed var(--line); }

.fas-ver { text-align: center; font-size: 11px; color: #9aa08e; margin: 18px 0 0; }

/* plant diversity */
.fas-plants { background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 16px; margin: 4px 0 14px; }
.fas-plhead { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px; margin-bottom: 10px; }
.fas-plhead span { color: #6b7060; font-size: 12px; }
.fas-plhead label { margin-left: auto; font-size: 12px; color: #6b7060; }
.fas-plhead select, .fas-boostrow select { border: 1.5px solid var(--line); border-radius: 8px; padding: 4px 6px; background: var(--paper); font-size: 12.5px; }
.fas-plbar { height: 10px; background: var(--paper); border-radius: 99px; overflow: hidden; }
.fas-plbar div { height: 100%; background: var(--sage); border-radius: 99px; transition: width .3s; }
.fas-plcount { font-size: 14px; margin: 8px 0; }
.fas-plantlist summary { cursor: pointer; font-size: 12.5px; font-weight: 700; color: #6b7060; margin-bottom: 6px; }
.fas-plantchips, .fas-plantlist div { display: flex; flex-wrap: wrap; gap: 6px; }
.fas-plantchip { font-size: 11.5px; padding: 4px 10px; border-radius: 99px; background: #E6EFD9; color: #4f6b3c; font-weight: 600; }
.fas-plantpill { background: #E6EFD9 !important; color: #4f6b3c !important; }
.fas-plantbtn { border: 1.5px solid var(--sage); background: none; color: var(--ink); border-radius: 10px; padding: 9px 14px; font-weight: 700; font-size: 13px; cursor: pointer; margin: 8px 0 4px; }
.fas-plantbtn:disabled { opacity: .6; cursor: default; }
.fas-plantgo { background: var(--sage); color: #fff; }
.fas-linkbtn { background: none; border: none; color: var(--beet); font-weight: 700; font-size: 12.5px; cursor: pointer; padding: 4px 0; text-decoration: underline; }
.fas-plsug { display: flex; flex-direction: column; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.fas-plsug span { font-size: 12px; color: #6b7060; }
.fas-boost { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 4px; }
.fas-boostrow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.fas-boostrow label { font-size: 12.5px; color: #6b7060; }
.fas-boostcard { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; margin: 8px 0; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; font-size: 14px; }
.fas-boostcard small { display: block; color: #6b7060; font-size: 12px; margin-top: 2px; }
.fas-boostcard input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--sage); }
.fas-err { color: #8A1F44; }

/* diet warnings */
.fas-flagpill { background: #FBEFF3 !important; color: #8A1F44 !important; }
.fas-flagbox { background: #FFF7E6; border: 1.5px solid #F0D9A8; border-radius: 12px; padding: 10px 12px; margin: 8px 0 12px; }
.fas-flagrow { font-size: 13.5px; margin: 5px 0; line-height: 1.4; }
.fas-flagrow small { display: block; color: #6b7060; font-size: 12px; }

/* fibre + resistant starch */
.fas-fibrepill { background: #F3EBD9 !important; color: #7a5a1f !important; }
.fas-rspill { background: #E4EEF6 !important; color: #2f5f86 !important; }
.fas-viewmeta { font-size: 14px; margin: 4px 0 8px; }
.fas-starsline { color: #E4B93C; letter-spacing: 1px; }
.fas-rsblock { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.fas-rsrow { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.fas-rsday { font-size: 12px; padding: 4px 10px; border-radius: 99px; font-weight: 700; border: 1.5px solid var(--line); }
.fas-rsday.high { background: #E6EFD9; color: #4f6b3c; border-color: #C8DDB0; }
.fas-rsday.some { background: #FFF3D6; color: #8a6a1f; border-color: #F0D9A8; }
.fas-rsday.none { color: #9aa08e; }

/* suggestion details + herbal teas */
.fas-plextra { display: block; font-size: 12px; color: #6b7060; margin-top: 2px; line-height: 1.4; }
.fas-plnote { color: #8a6a1f; }
.fas-teacard { border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); padding: 10px 12px; margin: 8px 0; font-size: 13.5px; }
.fas-teacard p { margin: 4px 0; line-height: 1.45; }
.fas-teahead { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 15px; }
.fas-teahead span { font-size: 11.5px; color: #4f6b3c; font-weight: 700; }
.fas-teanote { color: #8a6a1f; }

.fas-plsub { display: block; font-size: 12px; color: #6b7060; margin-top: 2px; }

.fas-organpill { background: #F6E3DC !important; color: #8a3a22 !important; }
.fas-organrow { margin-top: 6px; }

.fas-sadd { display: block; font-size: 11px; color: #4f6b3c; margin-top: 3px; line-height: 1.3; padding-right: 14px; }
.fas-clradd { background: none; border: none; color: #9aa08e; cursor: pointer; font-size: 11px; padding: 0 2px; }

/* vegetable score + ferments */
.fas-vegpill { background: #E3F0DC !important; color: #3d6b2a !important; }
.fas-vegbar { position: relative; height: 12px; background: var(--paper); border-radius: 99px; overflow: hidden; margin: 6px 0; }
.fas-vegfill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--sage); border-radius: 99px; transition: width .3s; }
.fas-vegband { position: absolute; top: 0; bottom: 0; border-left: 2px solid #4f6b3c; border-right: 2px solid #4f6b3c; background: rgba(79,107,60,.12); }
.fas-fermentbarin { background: #FFF7E6; border: 1.5px solid #F0D9A8; border-radius: 12px; padding: 10px 14px; margin: 8px 0 4px; font-size: 13.5px; }
.fas-fermentrow { border-top: 1px dashed var(--line); padding: 10px 0 6px; }
.fas-fermenttop { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.fas-fcheck { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.fas-fcheck input { width: 18px; height: 18px; accent-color: var(--sage); }
.fas-fday { font-size: 12px; color: #4f6b3c; font-weight: 700; }
.fas-fdetails summary { cursor: pointer; font-size: 12.5px; font-weight: 700; color: #6b7060; }
.fas-fdetails { margin-top: 2px; }

.fas-starterbtns { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
