/* Night Farmers 0.1.0 — scoped to the shortcode to avoid changing BX or WordPress UI */
#nf-community{--nf-ink:#172c2a;--nf-muted:#5d706c;--nf-gold:#ae7b45;--nf-bg:#fbfaf7;--nf-line:#e7e8e2;--nf-white:#fff;max-width:1260px;width:100%;margin:0 auto 50px;color:var(--nf-ink);font:inherit;line-height:1.6;background:var(--nf-white);isolation:isolate;overflow-wrap:anywhere}
#nf-community *{box-sizing:border-box}
#nf-community h1,#nf-community h2,#nf-community h3,#nf-community p{margin-top:0}
#nf-community h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(2rem,4vw,3.3rem);line-height:1.14;letter-spacing:-.035em;margin:.65rem 0 1rem}
#nf-community h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.45rem,2.7vw,2.15rem);line-height:1.2;margin:0 0 .7rem}
#nf-community h3{font-size:1.1rem;line-height:1.3;margin:0 0 .6rem;color:var(--nf-ink)}
#nf-community a{color:inherit;text-decoration:none}
#nf-community a:hover{text-decoration:none}
#nf-community .nf-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 24px;border:1px solid var(--nf-line);border-bottom:0;border-radius:18px 18px 0 0;background:#fff}
#nf-community .nf-brand{font-weight:800;letter-spacing:.035em;color:var(--nf-ink);font-size:1.12rem;white-space:nowrap}
#nf-community .nf-subbrand{font-size:.81rem;color:var(--nf-muted)}
#nf-community .nf-hero{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px;padding:39px 36px;background:radial-gradient(ellipse at 95% 5%,#efe5d5 0,transparent 42%),linear-gradient(115deg,#fdfcf9,#faf8f3);border:1px solid var(--nf-line)}
#nf-community .nf-hero p{color:var(--nf-muted);max-width:680px;margin-bottom:0}
#nf-community .nf-pill{border:1px solid #cfc6b3;border-radius:999px;padding:8px 16px;font-weight:650;font-size:.77rem;white-space:nowrap;background:#fff}
#nf-community .nf-kicker{text-transform:uppercase;letter-spacing:.13em;color:#946b42;font-weight:750;font-size:.68rem}
#nf-community .nf-tabs{display:flex;flex-wrap:nowrap;overflow:auto;gap:6px;padding:13px 20px;border:1px solid var(--nf-line);border-top:0;background:#fff;scrollbar-width:thin}
#nf-community .nf-tabs a{font-size:.88rem;font-weight:680;display:block;flex:1;text-align:center;white-space:nowrap;padding:10px 16px;border-radius:99px;color:#586b66}
#nf-community .nf-tabs a.selected{background:var(--nf-ink);color:#fff}
#nf-community .nf-tabs a:hover:not(.selected){background:#f2f4f0}
#nf-community .nf-section{padding:35px 26px;background:var(--nf-bg);border:1px solid var(--nf-line);border-top:0}
#nf-community .nf-muted{color:var(--nf-muted)}
#nf-community .nf-card{background:#fff;border:1px solid var(--nf-line);border-radius:17px;padding:22px;margin-bottom:14px;box-shadow:0 6px 22px rgba(14,44,38,.025)}
#nf-community .nf-card p{margin:.6rem 0 .8rem;color:#465a56}
#nf-community .nf-card p:last-child{margin-bottom:0}
#nf-community .nf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:18px}
#nf-community .nf-grid>.nf-card{margin:0}
#nf-community .nf-person{display:flex;flex-direction:column;align-items:flex-start;min-height:215px}
#nf-community .nf-person .nf-secondary{margin-top:auto}
#nf-community .nf-person small{color:var(--nf-muted);margin-bottom:16px}
#nf-community .nf-linkcard{display:flex;flex-direction:column;gap:5px}
#nf-community .nf-linkcard span{font-size:.84rem;color:var(--nf-muted)}
#nf-community .nf-guest{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:30px;padding:55px 35px;background:radial-gradient(circle at 0% 0%,#f7ead5,transparent 35%),linear-gradient(145deg,#fcfbf7,#f8f7f2);border:1px solid var(--nf-line)}
#nf-community .nf-guest h1{font-size:clamp(2.1rem,5vw,4rem)}
#nf-community .nf-guest p{max-width:580px;color:var(--nf-muted)}
#nf-community .nf-guest .nf-card{margin:0;padding:28px}
#nf-community .nf-pricing{display:flex;flex-direction:column;margin-top:24px;gap:5px}
#nf-community .nf-pricing strong{font-family:Georgia,serif;font-size:2.7rem;letter-spacing:-.04em}
#nf-community .nf-pricing small{font:600 .95rem system-ui,sans-serif;letter-spacing:0}
#nf-community .nf-pricing span{font-size:.82rem;color:var(--nf-muted)}
#nf-community .nf-form{display:flex;flex-direction:column;gap:15px;margin:16px 0}
#nf-community .nf-form label{font-weight:650;font-size:.83rem;color:#293d39;display:flex;flex-direction:column;gap:6px}
#nf-community .nf-form label.nf-check{flex-direction:row;align-items:flex-start;gap:9px;line-height:1.5}
#nf-community input:not([type=hidden]),#nf-community select,#nf-community textarea{font:inherit;border:1px solid #cfd8d3;background:#fff;border-radius:10px;padding:12px 13px;min-height:46px;color:var(--nf-ink);width:100%;outline:none;box-shadow:none}
#nf-community textarea{min-height:95px;resize:vertical}
#nf-community .nf-check input[type=checkbox]{height:17px;min-height:auto;width:17px;flex:0 0 17px;margin:3px 0 0}
#nf-community input:focus-visible,#nf-community select:focus-visible,#nf-community textarea:focus-visible,#nf-community a:focus-visible,#nf-community button:focus-visible{outline:3px solid #bf9966;outline-offset:3px}
#nf-community .nf-primary,#nf-community .nf-secondary,#nf-community .nf-search button{display:inline-flex;align-items:center;justify-content:center;font:inherit;font-size:.87rem;font-weight:750;line-height:1.3;cursor:pointer;border-radius:999px;min-height:43px;padding:11px 18px;border:1px solid transparent;text-align:center;width:max-content;max-width:100%}
#nf-community .nf-primary{background:var(--nf-ink);color:#fff}
#nf-community .nf-primary:hover{background:#31524b}
#nf-community .nf-secondary,#nf-community .nf-search button{background:#fff;color:var(--nf-ink);border-color:#bccbc4}
#nf-community .nf-secondary:hover,#nf-community .nf-search button:hover{background:#f3f7f3}
#nf-community .nf-textbutton{border:0;padding:4px;background:transparent;text-decoration:underline;color:#74513d;font-size:.8rem;cursor:pointer;width:max-content}
#nf-community .nf-banner{display:flex;gap:16px;justify-content:space-between;align-items:center;flex-wrap:wrap;background:#f4eee3;border:1px solid #e7d7c2;border-top:0;padding:18px 26px}
#nf-community .nf-banner strong{font-size:1rem}
#nf-community .nf-banner p{font-size:.85rem;max-width:650px;margin:3px 0 0;color:#625c51}
#nf-community .nf-banner form{max-width:330px;margin:0}
#nf-community .nf-disconnected{color:#765b3b;background:#fff;padding:8px 12px;border-radius:20px;font-size:.76rem;font-weight:700}
#nf-community .nf-alert{margin:12px 17px;padding:15px 19px;border-left:3px solid var(--nf-gold);background:#f9f0e3;border-radius:8px;font-size:.88rem;color:#4a3b2b}
#nf-community .nf-note{font-size:.77rem;color:#687770!important}
#nf-community .nf-smalllink{font-size:.82rem;text-decoration:underline}
#nf-community .nf-search{display:flex;gap:10px;margin:22px 0}
#nf-community .nf-search input{flex:1}
#nf-community .nf-inbox{display:grid;grid-template-columns:minmax(180px,.35fr) minmax(0,.65fr);gap:15px;margin-top:20px}
#nf-community .nf-threadlink{display:block;padding:11px 5px;border-top:1px solid var(--nf-line);font-size:.86rem}
#nf-community .nf-threadlink:hover{color:#946b42}
#nf-community .nf-msg{border-radius:12px;padding:12px;background:#f3f5f0;margin:10px 0;max-width:95%}
#nf-community .nf-msg.mine{background:#eaece6;margin-left:auto}
#nf-community .nf-msg small{font-size:.69rem;color:var(--nf-muted)}
#nf-community .nf-msg p{margin:5px 0!important;color:var(--nf-ink)}
#nf-community .nf-msg form{margin:4px 0 0}
#nf-community .nf-messages{max-height:570px;overflow:auto;border-top:1px solid var(--nf-line);margin-top:16px;padding-top:10px}
#nf-community .nf-price{font-weight:800;font-size:1.3rem;margin:18px 0}
#nf-community .nf-ticket{font-size:.85rem;color:#2b5548;background:#eef4ec;padding:12px;border-radius:10px;overflow-wrap:anywhere}
#nf-community .nf-footer{padding:18px 25px;border:1px solid var(--nf-line);border-top:0;border-radius:0 0 18px 18px;font-size:.73rem;color:#75817d;background:#fff}
@media(max-width:800px){
  #nf-community .nf-guest{grid-template-columns:1fr;padding:27px 19px;gap:24px}
  #nf-community .nf-grid{grid-template-columns:1fr}
  #nf-community .nf-account-grid{gap:14px}
  #nf-community .nf-inbox{grid-template-columns:1fr}
  #nf-community .nf-head{padding:15px 16px}
  #nf-community .nf-subbrand{display:none}
  #nf-community .nf-hero{padding:30px 20px}
  #nf-community .nf-section{padding:25px 15px}
  #nf-community .nf-tabs{padding:11px 9px;gap:2px}
  #nf-community .nf-tabs a{padding:10px 13px;font-size:.79rem}
  #nf-community .nf-banner{padding:16px;align-items:flex-start}
  #nf-community .nf-card{padding:17px}
  #nf-community .nf-search{flex-wrap:wrap}
  #nf-community .nf-search button{width:100%}
  #nf-community .nf-primary{width:100%}
}
@media(prefers-reduced-motion:reduce){#nf-community *,#nf-community *:before,#nf-community *:after{scroll-behavior:auto!important;transition:none!important}}

#nf-community .nf-global-notice{display:flex;align-items:center;gap:10px 22px;flex-wrap:wrap;background:#e9f0ea;border:1px solid #d4e0d8;padding:12px 23px;color:#244c3f;font-size:.82rem}
#nf-community .nf-global-notice strong{white-space:normal}
#nf-community .nf-global-notice span{flex:1;min-width:190px}
#nf-community .nf-global-notice a{font-weight:750;text-decoration:underline}

/* v0.2.0: Independent portable page shell, public landing and My Farm.
   All rules are isolated to Night Farmers pages; WordPress admin bar untouched. */
body.nf-independent{margin:0!important;padding:0!important;background:#f8faf8!important;color:#18312a;font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif}
body.nf-independent #nf-page-shell{min-height:100vh;max-width:100%;padding:clamp(10px,2vw,24px);box-sizing:border-box}
body.nf-independent #nf-community{margin:0 auto;max-width:1320px;box-shadow:0 12px 60px rgba(22,45,35,.035)}
body.nf-independent #nf-community .nf-head{border-radius:16px 16px 0 0}
#nf-community .nf-section-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 18px}
#nf-community .nf-home-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0 36px}
#nf-community .nf-home-actions .nf-card{margin:0}
#nf-community .nf-home-columns{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px,.9fr);gap:26px;margin-top:16px}
#nf-community .nf-home-meeting{padding:18px}
#nf-community .nf-home-meeting strong{color:#254c40}
#nf-community .nf-lounge-compose{max-width:850px}
#nf-community .nf-lounge-post{max-width:850px}
#nf-community .nf-lounge-post .nf-secondary{font-size:.76rem;min-height:34px;margin-top:8px}
#nf-community .nf-landing-hero{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(270px,.7fr);align-items:center;gap:clamp(22px,5vw,80px);padding:clamp(30px,5vw,80px);background:radial-gradient(circle at 2% 6%,#f4e9d6 0%,transparent 39%),linear-gradient(140deg,#fffefa 0%,#f2f5ef 100%);border:1px solid #e6eae4}
#nf-community .nf-landing-hero h1{font-size:clamp(2.25rem,5.1vw,5.2rem);line-height:1.1;letter-spacing:-.055em}
#nf-community .nf-landing-hero p{font-size:clamp(.96rem,1.65vw,1.09rem);color:#50665f;max-width:650px}
#nf-community .nf-landing-actions{display:flex;flex-wrap:wrap;gap:12px;margin:26px 0 20px}
#nf-community .nf-landing-price{background:white;border:1px solid #e4e6df;border-radius:19px;padding:clamp(20px,3vw,35px);box-shadow:0 16px 38px rgba(18,52,34,.045)}
#nf-community .nf-landing-price>strong{display:block;font:700 clamp(2.5rem,4vw,3.6rem)/1.25 Georgia,serif;letter-spacing:-.035em;margin:12px 0}
#nf-community .nf-landing-price strong small{font:500 .93rem system-ui;letter-spacing:0}
#nf-community .nf-landing-price h3{margin:18px 0 7px}
#nf-community .nf-landing-price .nf-note{font-size:.77rem}
#nf-community .nf-rule{height:1px;background:#e5eae2;margin:22px 0}
#nf-community .nf-landing-content{padding:clamp(30px,5vw,65px);border:1px solid #e6eae4;border-top:0;background:#fff}
#nf-community .nf-landing-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px}
#nf-community .nf-landing-cards .nf-card{margin:0;background:#fbfcf9}
#nf-community .nf-landing-meetups{padding:clamp(28px,5vw,56px);border:1px solid #e6eae4;border-top:0;background:#f6f8f4}
#nf-community .nf-landing-event{padding:18px 0;border-top:1px solid #dce5da;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
#nf-community .nf-landing-event strong{font-size:1.03rem;display:block}
#nf-community .nf-landing-event small{display:block;color:#5a6b63;margin-top:5px}
#nf-community .nf-landing-event span{font-size:.89rem;font-weight:700}
#nf-community .nf-landing-meetups .nf-secondary{margin-top:18px}
#nf-community .nf-landing-end{display:flex;flex-direction:column;align-items:center;text-align:center;padding:clamp(36px,5vw,70px) 20px;background:#1e3c32;color:#fff}
#nf-community .nf-landing-end h2{color:#fff}
#nf-community .nf-landing-end p{color:#e3ece5;max-width:580px}
#nf-community .nf-landing-end .nf-primary{background:#fbf3e7;color:#204233}
#nf-community .nf-landing-end .nf-primary:hover{background:#fff}
@media(max-width:850px){
 #nf-community .nf-home-actions{grid-template-columns:1fr}
 #nf-community .nf-home-columns{grid-template-columns:1fr}
 #nf-community .nf-landing-hero{grid-template-columns:1fr;gap:25px;padding:29px 19px}
 #nf-community .nf-landing-content,#nf-community .nf-landing-meetups{padding:31px 18px}
 #nf-community .nf-landing-cards{grid-template-columns:1fr}
 #nf-community .nf-landing-hero h1{font-size:clamp(2.2rem,8vw,3.7rem)}
}
@media(max-width:450px){
 body.nf-independent #nf-page-shell{padding:8px}
 #nf-community .nf-landing-actions>*{width:100%}
 #nf-community .nf-head .nf-smalllink{font-size:.75rem}
 #nf-community .nf-landing-hero h1{font-size:clamp(2.15rem,9vw,3.1rem)}
}
#nf-community .nf-team-inbox{display:block;margin:12px 0;padding:12px;border:1px solid #d9e6da;border-radius:10px;background:#f1f7ef;font-weight:750;color:#214b3d}
#nf-community .nf-team-inbox:hover{background:#e9f1e6}
#nf-community .nf-support-thread{max-width:900px}
