/* PlantMapper app — styles for the Nov 2026 tools (app-tools.js) and the
   upgraded Garden Bed Planner. Uses the app tokens from app-studio.css. */

.pmt-card { background: var(--app-surface); border: 1px solid var(--app-line); border-radius: var(--app-radius); box-shadow: var(--app-shadow); padding: 18px 20px; margin-bottom: 16px; }
.pmt-card h3 { margin: 0 0 12px; font-size: 1.05rem; color: var(--app-ink); display: flex; align-items: baseline; gap: 8px; }
.pmt-card h3 small { font-weight: 500; color: var(--app-muted); font-size: .82rem; }
.pmt-card h3 + h3, .pmt-card .pmt-chips + h3 { margin-top: 18px; }
.pmt-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.pmt-cols-wide { grid-template-columns: minmax(300px, 420px) 1fr; }
.pmt-cols > * { min-width: 0; }
.pmt-sticky { position: sticky; top: 76px; }
@media (max-width: 900px) { .pmt-cols, .pmt-cols-wide { grid-template-columns: 1fr; } .pmt-sticky { position: static; } }

.pmt-muted { color: var(--app-muted); }
.pmt-small { color: var(--app-muted); font-size: .8rem; margin-top: 12px; }
.pmt-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.pmt-row-end { justify-content: flex-end; }
.pmt-spacer { flex: 1; }
.pmt-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 12px; }
.pmt-toolbar input, .pmt-toolbar select { flex: 1; min-width: 160px; }

.pmt-card input:not([type=checkbox]), .pmt-card select, .pmt-card textarea, .pmt-toolbar input, .pmt-toolbar select, .pmt-ask input, .gd-dims input, .gd-dims select {
  font: inherit; font-size: .92rem; color: var(--app-ink); background: #fbfcfa; border: 1px solid var(--app-line); border-radius: 10px; padding: 9px 11px; outline: none; }
.pmt-card textarea { width: 100%; resize: vertical; box-sizing: border-box; margin: 8px 0; }
.pmt-card input:focus, .pmt-card select:focus, .pmt-card textarea:focus, .pmt-ask input:focus, .pmt-toolbar input:focus, .gd-dims input:focus, .gd-dims select:focus { border-color: var(--app-accent); box-shadow: 0 0 0 3px var(--app-accent-soft); }
.pmt-form-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pmt-form-row > input:not(.pmt-num) { flex: 1; min-width: 150px; }
.pmt-num { width: 84px; }
.pmt-lbl { display: inline-flex; align-items: center; gap: 6px; color: var(--app-ink-soft); font-size: .88rem; margin-top: 10px; }
.pmt-title-input { font-size: 1.15rem !important; font-weight: 700; }

.pmt-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: .9rem; padding: 9px 16px; border-radius: 999px;
  background: linear-gradient(135deg, var(--app-accent), var(--app-accent-deep)); color: #fff; text-decoration: none; }
.pmt-btn:hover { filter: brightness(1.06); }
.pmt-btn-ghost { background: #fff; color: var(--app-accent-deep); border: 1px solid #cfdcc8; }
.pmt-btn-ghost:hover { background: var(--app-accent-soft); }
.pmt-file { cursor: pointer; }
.pmt-link { background: none; border: 0; padding: 4px 6px; cursor: pointer; font: inherit; font-size: .86rem; color: var(--app-accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.pmt-link-x { color: #a85641; }
.pmt-inline { color: var(--app-accent-deep); font-weight: 600; }
.pmt-mini { display: inline-flex; align-items: center; border: 1px solid #cfdcc8; background: #fff; color: var(--app-accent-deep); border-radius: 999px; padding: 4px 10px; font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; }
.pmt-mini:hover { background: var(--app-accent-soft); }
.pmt-mini.is-done { background: var(--app-accent-soft); color: var(--app-muted); cursor: default; }
.pmt-mini-x { color: #a85641; border-color: #ecd3cb; }
.pmt-x { border: 0; background: none; color: var(--app-muted); font-size: 1.2rem; line-height: 1; cursor: pointer; padding: 2px 6px; border-radius: 6px; }
.pmt-x:hover { background: #f6e6e1; color: #a85641; }

.pmt-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.pmt-chip { border: 1px solid #d6e2cf; background: #fff; color: var(--app-ink); border-radius: 999px; padding: 7px 12px; font: inherit; font-size: .84rem; cursor: pointer; }
.pmt-chip:hover { border-color: var(--app-accent); }
.pmt-chip.is-on { background: var(--app-accent-deep); border-color: var(--app-accent-deep); color: #fff; }
.pmt-chip-soft { background: #f7f9f5; }
.pmt-chips + .pmt-chips { margin-top: 10px; }

/* plant search dropdown */
.pmt-search { position: relative; }
.pmt-search input { width: 100%; box-sizing: border-box; }
.pmt-results { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); background: #fff; border: 1px solid var(--app-line); border-radius: 12px; box-shadow: var(--app-shadow-lg); max-height: 320px; overflow: auto; padding: 4px; }
.pmt-opt { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; background: none; padding: 7px 8px; border-radius: 8px; cursor: pointer; font: inherit; }
.pmt-opt:hover, .pmt-opt.is-active { background: var(--app-accent-soft); }
.pmt-opt span { flex: 1; display: flex; flex-direction: column; } .pmt-opt small { color: var(--app-muted); font-style: italic; font-size: .78rem; }
.pmt-opt em { font-style: normal; font-size: .75rem; color: var(--app-muted); }
.pmt-opt-msg { padding: 10px; color: var(--app-muted); font-size: .88rem; }

/* photo thumbs (filled by PlantPhotos) */
.pmt-thumb, .pmt-opt-thumb, .pmt-ans-thumb, .gd-plant-thumb { flex: none; display: inline-block; width: 40px; height: 40px; border-radius: 10px; background: #dfe8d8 center/cover no-repeat; overflow: hidden; }
.pmt-opt-thumb { width: 34px; height: 34px; border-radius: 8px; }
.pmt-ans-thumb { width: 84px; height: 84px; border-radius: 14px; }
.pmt-thumb img, .pmt-opt-thumb img, .pmt-ans-thumb img, .gd-plant-thumb img, .pmt-pcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pmt-chosen { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 8px; border-radius: 12px; background: var(--app-accent-soft); }
.pmt-chosen span { flex: 1; display: flex; flex-direction: column; } .pmt-chosen small { color: var(--app-muted); font-style: italic; }

/* health */
.pmt-cause { border: 1px solid var(--app-line); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.pmt-cause.is-top { border-color: #b9d3ad; background: #f6faf3; }
.pmt-cause p { margin: 6px 0 0; font-size: .9rem; color: var(--app-ink-soft); }
.pmt-cause-h { display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.pmt-meter { display: block; flex: none; width: 110px; height: 7px; border-radius: 99px; background: #e9eee5; overflow: hidden; }
.pmt-meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--app-accent), var(--app-accent-deep)); border-radius: 99px; }
.pmt-meter-lg { width: 100%; height: 9px; margin: 12px 0 4px; }
.pmt-note { background: #fbf6e7; border: 1px solid #efe1b6; border-radius: 12px; padding: 10px 12px; font-size: .88rem; margin: 10px 0; color: #5d4b1d; }

/* helper chat */
.pmt-chat { max-width: 860px; }
.pmt-log { background: var(--app-surface); border: 1px solid var(--app-line); border-radius: var(--app-radius); box-shadow: var(--app-shadow); padding: 16px; max-height: 60vh; min-height: 220px; overflow: auto; }
.pmt-msg { margin: 0 0 12px; max-width: 92%; }
.pmt-msg p { margin: 0 0 8px; } .pmt-msg p:last-child { margin-bottom: 0; }
.pmt-msg ul { margin: 6px 0 8px; padding-left: 20px; } .pmt-msg li { margin: 3px 0; }
.pmt-msg-me { margin-left: auto; background: var(--app-accent-deep); color: #fff; padding: 10px 14px; border-radius: 16px 16px 4px 16px; width: fit-content; }
.pmt-msg-bot { background: #f4f7f1; padding: 12px 14px; border-radius: 16px 16px 16px 4px; color: var(--app-ink); }
.pmt-msg-bot a { color: var(--app-accent-deep); }
.pmt-suggest { margin: 12px 0; }
.pmt-ask { display: flex; gap: 8px; } .pmt-ask input { flex: 1; font-size: 1rem !important; padding: 12px 14px !important; }
.pmt-answer-plant { display: flex; gap: 14px; align-items: flex-start; margin-top: 6px; }
.pmt-answer-plant > div { flex: 1; min-width: 0; } .pmt-answer-plant small { color: var(--app-muted); font-style: italic; }
.pmt-facts { list-style: none; padding: 0 !important; margin: 8px 0 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px 14px; font-size: .86rem; }
.pmt-facts b { display: inline-block; min-width: 54px; color: var(--app-muted); font-weight: 600; }
@media (max-width: 560px) { .pmt-answer-plant { flex-direction: column; } }

/* plant lists */
.pmt-plist { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; margin: 8px 0; }
.pmt-pitem { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--app-line); border-radius: 12px; padding: 6px 8px; min-width: 0; }
.pmt-pitem > span { flex: 1; display: flex; flex-direction: column; min-width: 0; } .pmt-pitem small { color: var(--app-muted); font-size: .76rem; }
.pmt-pitem a { color: var(--app-ink); font-weight: 600; text-decoration: none; } .pmt-pitem a:hover { text-decoration: underline; }
.pmt-heart { border: 0; background: none; font-size: 1.25rem; color: #c6677a; cursor: pointer; line-height: 1; padding: 2px 4px; }

.pmt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.pmt-pcard { background: var(--app-surface); border: 1px solid var(--app-line); border-radius: var(--app-radius); overflow: hidden; box-shadow: var(--app-shadow); display: flex; flex-direction: column; }
.pmt-pcard-img { display: block; width: 100%; height: 140px; background: #dfe8d8 center/cover no-repeat; }
.pmt-pcard-b { padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.pmt-pcard-b > b a { color: var(--app-ink); text-decoration: none; font-size: 1.02rem; }
.pmt-pcard-b > small { color: var(--app-muted); font-style: italic; }
.pmt-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0; }
.pmt-tags span { background: #f1f5ee; color: var(--app-ink-soft); border-radius: 999px; padding: 2px 9px; font-size: .74rem; }
.pmt-pcard-a { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.pmt-pcard-a select { font: inherit; font-size: .78rem; border: 1px solid #cfdcc8; border-radius: 999px; padding: 4px 8px; background: #fff; color: var(--app-accent-deep); }

.pmt-empty { text-align: center; background: var(--app-surface); border: 1px dashed #cfdcc8; border-radius: var(--app-radius); padding: 30px 20px; color: var(--app-ink-soft); }
.pmt-empty h3 { margin: 0 0 6px; color: var(--app-ink); }

/* seasonal */
.pmt-months { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 12px; }
.pmt-months button { flex: none; border: 1px solid #d6e2cf; background: #fff; border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 600; font-size: .86rem; cursor: pointer; color: var(--app-ink-soft); }
.pmt-months button.is-on { background: var(--app-accent-deep); border-color: var(--app-accent-deep); color: #fff; }
.pmt-jobs { list-style: none; margin: 0; padding: 0; }
.pmt-jobs li { display: flex; align-items: center; gap: 10px; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #eef2ea; font-size: .92rem; }
.pmt-jobs li:last-child { border-bottom: 0; }

/* shopping / steps / costs */
.pmt-shop ul, .pmt-steps, .pmt-costs { list-style: none; margin: 0; padding: 0; }
.pmt-shop li, .pmt-steps li, .pmt-costs li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #eef2ea; }
.pmt-shop li:last-child, .pmt-steps li:last-child, .pmt-costs li:last-child { border-bottom: 0; }
.pmt-shop-l, .pmt-steps li > span:nth-child(2), .pmt-costs li > span:nth-child(2) { flex: 1; min-width: 0; }
.pmt-shop li.is-done .pmt-shop-l, .pmt-steps li.is-done > span:nth-child(2) { text-decoration: line-through; color: var(--app-muted); }
.pmt-shop a { color: var(--app-ink); }
.pmt-tick { position: relative; display: inline-flex; width: 22px; height: 22px; flex: none; cursor: pointer; }
.pmt-tick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pmt-tick span { width: 22px; height: 22px; border-radius: 7px; border: 2px solid #b9cdb0; background: #fff; }
.pmt-tick input:checked + span { background: var(--app-accent-deep) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6L9 17l-5-5'/></svg>") center/14px no-repeat; border-color: var(--app-accent-deep); }
.pmt-tick input:focus-visible + span { box-shadow: 0 0 0 3px var(--app-accent-soft); }
.pmt-qty, .gd-qty { display: inline-flex; align-items: center; gap: 2px; background: #f4f7f1; border-radius: 999px; padding: 2px; flex: none; }
.pmt-qty button, .gd-qty button { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; cursor: pointer; font-size: 1rem; color: var(--app-accent-deep); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.pmt-qty b, .gd-qty b { min-width: 24px; text-align: center; font-size: .9rem; }
.pmt-price { min-width: 54px; text-align: right; color: var(--app-ink-soft); font-size: .88rem; }
.pmt-total { text-align: right; color: var(--app-ink-soft); margin: 4px 4px 16px; }

/* journal */
.pmt-month { margin: 18px 0 8px; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--app-muted); }
.pmt-entry { display: flex; gap: 14px; background: var(--app-surface); border: 1px solid var(--app-line); border-radius: var(--app-radius); padding: 14px; margin-bottom: 10px; box-shadow: var(--app-shadow); }
.pmt-entry img { width: 120px; height: 120px; object-fit: cover; border-radius: 12px; flex: none; }
.pmt-entry > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pmt-entry small { color: var(--app-muted); } .pmt-entry p { margin: 6px 0 0; color: var(--app-ink-soft); font-size: .92rem; }
.pmt-entry-a { display: flex; gap: 6px; margin-top: 6px; }
.pmt-prev { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; vertical-align: middle; }
@media (max-width: 560px) { .pmt-entry { flex-direction: column; } .pmt-entry img { width: 100%; height: 200px; } }

/* projects */
.pmt-templates { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.pmt-tpl { text-align: left; border: 1px solid #d6e2cf; background: #f9fbf7; border-radius: 14px; padding: 12px 14px; cursor: pointer; font: inherit; display: flex; flex-direction: column; gap: 3px; }
.pmt-tpl:hover { border-color: var(--app-accent); background: #fff; }
.pmt-tpl small { color: var(--app-muted); }
.pmt-proj { text-align: left; font: inherit; cursor: pointer; background: var(--app-surface); border: 1px solid var(--app-line); border-radius: var(--app-radius); padding: 16px; box-shadow: var(--app-shadow); display: flex; flex-direction: column; gap: 8px; }
.pmt-proj:hover { border-color: var(--app-accent); transform: translateY(-2px); }
.pmt-proj b { font-size: 1.05rem; } .pmt-proj small { color: var(--app-muted); } .pmt-proj .pmt-meter { width: 100%; }
.pmt-status { align-self: flex-start; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 9px; border-radius: 999px; background: #eef2ea; color: var(--app-ink-soft); }
.pmt-st-planning { background: #e8f0fb; color: #356089; } .pmt-st-in-progress { background: #fbf1dc; color: #8a6116; } .pmt-st-done { background: #e3f1dc; color: #3f6b41; }
.pmt-back { margin-bottom: 8px; }

/* guide card (Etsy) */
.pmt-guide { display: flex; gap: 12px; align-items: center; max-width: 460px; margin: 14px 0; padding: 10px 14px 10px 10px; border-radius: 14px; background: #fbf7f0; border: 1px solid #ecdcc4; text-decoration: none; color: var(--app-ink); }
.pmt-guide:hover { border-color: #d7b98a; background: #fff; }
.pmt-guide img { width: 54px; height: 76px; object-fit: cover; border-radius: 4px; box-shadow: 0 2px 6px rgba(0,0,0,.15); flex: none; }
.pmt-guide span { display: flex; flex-direction: column; gap: 1px; } .pmt-guide small { color: #9a6b2e; font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.pmt-guide b { font-size: .95rem; } .pmt-guide em { font-style: normal; color: var(--app-muted); font-size: .8rem; }

/* dashboard glance + backup */
.pmt-glance { background: var(--app-surface); border: 1px solid var(--app-line); border-radius: var(--app-radius-lg); box-shadow: var(--app-shadow); padding: 18px 20px; margin: 18px 0; }
.pmt-glance-h { display: flex; align-items: baseline; justify-content: space-between; } .pmt-glance-h h2 { margin: 0 0 12px; font-size: 1.15rem; } .pmt-glance-h span { color: var(--app-muted); }
.pmt-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.pmt-stat { display: flex; flex-direction: column; gap: 2px; text-decoration: none; background: #f6f9f3; border-radius: 14px; padding: 12px; color: var(--app-ink); }
.pmt-stat:hover { background: var(--app-accent-soft); } .pmt-stat b { font-size: 1.5rem; color: var(--app-accent-deep); } .pmt-stat span { font-size: .78rem; color: var(--app-ink-soft); }
.pmt-thismonth { margin-top: 12px; font-size: .9rem; color: var(--app-ink-soft); }
@media (max-width: 900px) { .pmt-stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .pmt-stats { grid-template-columns: repeat(2, 1fr); } }
.pmt-backup { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; background: #f3f7f0; border: 1px solid #dbe6d4; border-radius: var(--app-radius-lg); padding: 16px 20px; margin: 22px 0 8px; }
.pmt-backup h3 { margin: 0 0 4px; font-size: 1rem; } .pmt-backup p { margin: 0; color: var(--app-ink-soft); font-size: .88rem; max-width: 520px; } .pmt-backup .pmt-row { margin: 0; }
.pmt-foot-note { color: var(--app-muted); font-size: .8rem; text-align: center; margin: 10px 0 24px; }

.pmt-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 300; background: #1f2a23; color: #fff; padding: 10px 18px; border-radius: 999px; font-size: .9rem; box-shadow: var(--app-shadow-lg); transition: .25s; max-width: calc(100vw - 32px); text-align: center; }
.pmt-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Garden Bed Planner upgrades ---------- */
.gd-tool { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #cfdcc8; background: #fff; color: var(--app-accent-deep); border-radius: 999px; padding: 7px 13px; font: inherit; font-size: .84rem; font-weight: 600; cursor: pointer; text-decoration: none; }
.gd-tool svg { width: 16px; height: 16px; } .gd-tool:hover { background: var(--app-accent-soft); }
.gd-dims { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; font-size: .86rem; color: var(--app-ink-soft); }
.gd-dims label { display: inline-flex; align-items: center; gap: 5px; } .gd-dims input { width: 70px; padding: 6px 8px !important; } .gd-dims select { padding: 6px 8px !important; }
.gd-area { font-weight: 700; color: var(--app-accent-deep); }
.gd-prow { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid #eef2ea; }
.gd-prow-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gd-prow-name a { color: var(--app-ink); font-weight: 600; text-decoration: none; } .gd-prow-name small { color: var(--app-muted); font-size: .76rem; }
.gd-warn { font-style: normal; color: #a8661c; font-size: .76rem; }
.gd-pos { flex: none; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border-radius: 999px; }
.gd-pos-back { background: #e3ecdc; color: #3f6b41; } .gd-pos-middle { background: #eef2e0; color: #6b7a2e; } .gd-pos-front { background: #f8efdc; color: #8a6116; }
.gd-plants { display: block !important; }
.gd-total { font-size: .8rem; color: var(--app-muted); margin: 8px 0 0; }
.gd-plan { margin-top: 14px; } .gd-plan-svg { width: 100%; height: auto; display: block; }
.gd-bed-print { margin-left: auto; margin-right: 6px; border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.15); color: #fff; border-radius: 999px; padding: 4px 10px; font: inherit; font-size: .76rem; cursor: pointer; }
.gd-bed-print:hover { background: rgba(255,255,255,.3); }
.gp-extra { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 14px; }
.gp-extra .gp-saved { margin-left: auto; }
@media (max-width: 640px) { .gd-prow { flex-wrap: wrap; } .gd-prow-name { flex-basis: calc(100% - 60px); } }

/* ---------- printing ---------- */
@media print {
  body.pmt-print-bed .app-sidebar, body.pmt-print-bed .app-topbar, body.pmt-print-bed .mod-head, body.pmt-print-bed .gd-toolbar,
  body.pmt-print-bed .gd-bed:not(.is-printing), body.pmt-print-bed .gd-addplant, body.pmt-print-bed #gd-guide, body.pmt-print-bed .gd-bed-del,
  body.pmt-print-bed .gd-bed-print, body.pmt-print-bed .gd-plant-x, body.pmt-print-bed .gd-qty button { display: none !important; }
  body.pmt-printing .app-sidebar, body.pmt-printing .app-topbar, body.pmt-printing .mod-head, body.pmt-printing #sh-form, body.pmt-printing .pmt-row,
  body.pmt-printing .pmt-x, body.pmt-printing .pmt-qty button { display: none !important; }
  .pmt-toast { display: none !important; }
}

/* beds now hold a full planting list + plan, so give each bed the full width */
.gd-plot { flex-direction: column; align-items: stretch; }
.gd-size-s, .gd-size-m, .gd-size-l { width: 100%; max-width: 920px; }

/* the Plant Finder's toast peeked out at the bottom of the screen when empty */
#pf-toast { visibility: hidden; transition: transform .3s cubic-bezier(.2,.9,.3,1), visibility 0s linear .3s; }
#pf-toast.is-visible { visibility: visible; transition: transform .3s cubic-bezier(.2,.9,.3,1); }

/* ---- My Garden profile, status, budget, watering, progress (19 Nov) ---- */
.pmt-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px 16px; }
.pmt-field { display: flex; flex-direction: column; gap: 5px; font-size: .84rem; color: var(--app-ink-soft); font-weight: 600; }
.pmt-field input, .pmt-field select, .pmt-field textarea { font-weight: 400; margin: 0 !important; }
.pmt-wide { grid-column: 1 / -1; }
.pmt-check { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; cursor: pointer; }
.pmt-stchips { margin-bottom: 12px; }
.pmt-status-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; }
.pmt-st { font: inherit; font-size: .78rem !important; font-weight: 700; border-radius: 999px !important; padding: 4px 10px !important; border: 1px solid #d6e2cf; }
.pmt-st-wishlist { background: #fbf6e7; color: #8a6116; } .pmt-st-planned { background: #e8f0fb; color: #356089; }
.pmt-st-planted, .pmt-st-growing { background: #e3f1dc; color: #3f6b41; }
.pmt-status-row input[type=date] { font-size: .78rem !important; padding: 3px 6px !important; }
.pmt-budget .pmt-bnum { color: var(--app-ink-soft); font-size: .92rem; } .pmt-budget .pmt-bnum b { color: var(--app-ink); }
.pmt-budget.is-over .pmt-meter i { background: linear-gradient(90deg, #e3705f, #b8432f); } .pmt-budget.is-over .pmt-bnum b { color: #b8432f; }
.pmt-wgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.pmt-wcard { display: flex; flex-direction: column; gap: 3px; border: 1px solid var(--app-line); border-radius: 14px; padding: 12px; font-size: .86rem; color: var(--app-ink-soft); }
.pmt-wcard b { color: var(--app-ink); font-size: .95rem; } .pmt-wcard.is-due { border-color: #ecd3a8; background: #fdf8ee; } .pmt-wcard .pmt-row { margin-top: 6px; }
.pmt-wlist { list-style: none; margin: 0; padding: 0; }
.pmt-wlist li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 8px 0; border-bottom: 1px solid #eef2ea; font-size: .88rem; }
.pmt-wlist small { color: var(--app-muted); min-width: 150px; } .pmt-wlist em { color: var(--app-muted); flex-basis: 100%; font-style: normal; } .pmt-wlist .pmt-x { margin-left: auto; }
.pmt-sowplant { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed #dbe6d4; }
.pmt-sowplant h4 { margin: 0 0 6px; font-size: .9rem; } .pmt-sowplant ul { margin: 0; padding-left: 18px; font-size: .88rem; color: var(--app-ink-soft); }
.pmt-progress { margin-top: 14px; } .pmt-progress h3 { margin: 0 0 8px; font-size: .95rem; }
.pmt-prog { display: grid; grid-template-columns: 150px 1fr 120px; align-items: center; gap: 12px; padding: 5px 0; text-decoration: none; color: var(--app-ink-soft); font-size: .86rem; }
.pmt-prog .pmt-meter { width: 100%; } .pmt-prog b { color: var(--app-ink); font-weight: 600; text-align: right; }
@media (max-width: 560px) { .pmt-prog { grid-template-columns: 1fr 90px; } .pmt-prog .pmt-meter { grid-column: 1 / -1; order: 3; } .pmt-sowplant { grid-template-columns: 1fr; } }

/* PlantMapper USA — zone picker + invasive note */
.pmt-zonebar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; background: #f3f7f0; border: 1px solid #dbe6d4; border-radius: 12px; padding: 10px 14px; margin: 0 0 16px; font-size: .92rem; }
.pmt-zonebar label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.pmt-zonebar select { padding: 6px 10px; border-radius: 8px; border: 1px solid #c9d6c1; background: #fff; font: inherit; }
.pmt-zonebar .pmt-frost { color: var(--app-muted, #5d6b62); flex: 1 1 260px; }
.pmt-zonebar a { color: inherit; text-decoration: underline; }
.pmt-warn { background: #fff3e6; border: 1px solid #f0c99a; color: #7a4210; border-radius: 10px; padding: 8px 12px; margin: 8px 0; font-size: .9rem; }
