/* Public navigation: centered actual nav items, with brand and actions independently aligned. */
.header{position:static!important;top:auto!important;box-shadow:0 2px 16px rgba(17,57,42,.045)}
.header .headerinner{display:grid;grid-template-columns:minmax(205px,1fr) auto minmax(225px,1fr);gap:18px;align-items:center}
.header .brand{justify-self:start}
.header .nav{justify-self:center;background:transparent;border:0;border-radius:0;gap:4px;padding:0;min-width:0}
.header .nav a{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;font-size:13px;font-weight:750;color:#49675b;padding:11px 13px;min-height:43px;border-radius:9px;transition:background-color .16s,color .16s;box-shadow:none!important}
.header .nav a:hover{background:#eef6ef;color:#125a42}
.header .nav a.navactive,.header .nav a.navactive:hover{background:#e5f4e9;color:#125b41;box-shadow:none!important}
.header .nav a.navactive::after{content:'';position:absolute;left:25%;right:25%;bottom:3px;height:2px;background:#1c7656;border-radius:2px}
.header .headeractions{justify-self:end;gap:12px}
.header .headeractions .textbutton{font-size:12px}
@media(max-width:1100px){.header .headerinner{display:flex;justify-content:space-between}.header .nav{display:none}.header .mobiletoggle{display:block;background:#edf7f1;color:#176046;border:0;border-radius:12px;min-width:43px;height:43px;font-size:22px;flex:none}.header .mobilenav:not([hidden]){display:flex;flex-direction:column;gap:5px}}
@media(max-width:600px){.header .headerinner{gap:11px}.header .headeractions{margin-left:auto}.header .headeractions .textbutton{display:none}}
/* No sticky or pinned page elements, including dashboard navigation and bottom dock. */
.sellerbox,.filters,.sellerrail,.farmcontact,.adminrail,.app-shell .appnavigation,.app-shell .apptopbar{position:static!important;top:auto!important}
.app-shell .appnavigation{height:auto;min-height:100%;align-self:stretch}
.app-shell .appnavscroll{overflow:visible;flex:1}
.app-shell .appmobiledock{position:static!important;bottom:auto!important;box-shadow:none}
@media(max-width:880px){
  /* A drawer is a temporary overlay, not a sticky navigation bar. */
  .app-shell .appnavigation{position:fixed!important;top:0!important;height:100dvh;min-height:0}
  .app-shell .appcontent{padding-bottom:28px}
  .app-shell .appmobiledock{position:static!important;width:100%;border-top:1px solid #e2eae6}
}
/* Notices: centered with deliberate type width and clear nonoverflowing long text. */
.notice.successnotice,.notice[role=alert],.app-shell .appflash,.auth-shell .appflash{max-width:min(620px,calc(100% - 20px));margin:17px auto 20px;text-align:center;border-radius:14px;padding:15px 20px;overflow-wrap:anywhere;line-height:1.55}
.app-shell .appflash ul,.auth-shell .appflash ul,.notice[role=alert] ul{max-width:52ch;text-align:left;margin:10px auto 0;padding-left:24px}
.noticeitem .noticeicon{display:inline-flex;align-items:center;justify-content:center;text-align:center;flex:none}
.noticebody{min-width:0;overflow-wrap:anywhere}
.noticebody .noticeitemtop strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
.noticebody .noticesummary{overflow-wrap:anywhere;max-width:72ch;line-height:1.6}
.noticeexpand{margin:6px 0 12px;max-width:75ch}
.noticeexpand summary{display:inline-block;cursor:pointer;color:#146a50;font-weight:800;font-size:12px}
.noticeexpand p{background:#f4f9f5;border-radius:10px;padding:12px 14px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;margin:7px 0 0}
.noticepanelhead,.noticetop{overflow-wrap:anywhere}
/* Registration / account select fields. */
.auth-shell .registerlocation{margin:20px 0 18px;padding:17px;background:#f6faf7;border:1px solid #e0eae3;border-radius:14px}
.auth-shell .registerlocation h2{font-size:17px;color:#214b37;margin:0 0 5px}
.auth-shell .registerlocation>p{font-size:12px;line-height:1.55;color:#6c8675;margin:0 0 14px}
.auth-shell .registerlocationgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.auth-shell .legalacceptance{display:grid;gap:11px;margin:14px 0 23px}
.auth-shell .legalacceptance .checkline{display:flex;align-items:flex-start;gap:10px;line-height:1.6;font-size:12px;color:#526b5b}
.auth-shell .legalacceptance input[type=checkbox]{width:17px;height:17px;flex:none;margin-top:2px;accent-color:#16765d}
.auth-shell .legalacceptance a,.auth-shell .authtrust a{font-weight:800;text-decoration:underline;text-underline-offset:2px;color:#17684e}
@media(max-width:560px){.auth-shell .registerlocationgrid{grid-template-columns:1fr}.header .brandwords strong{font-size:18px}}
/* Legal and policy pages. No sticky table-of-contents. */
.legallayout{padding-top:35px;padding-bottom:85px}
.legallayout .breadcrumbs{margin-bottom:30px}
.legalhero{max-width:860px;margin-bottom:34px}
.legalhero h1{font-size:clamp(31px,4.2vw,54px);color:#163e2e;margin:12px 0}
.legalhero p{font-size:16px;color:#667f72;line-height:1.8;max-width:720px}
.legalupdated{font-size:12px;color:#6c7e74;font-weight:700}
.legalgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:25px 0 38px}
.legalcard{display:flex;flex-direction:column;min-width:0;gap:11px;padding:24px;border:1px solid #e0eae2;background:#fff;border-radius:16px;transition:box-shadow .16s,transform .16s}
.legalcard:hover{transform:translateY(-2px);box-shadow:0 12px 29px rgba(17,65,46,.09)}
.legalnumber{font-size:12px;color:#388866;font-weight:900;letter-spacing:.08em}
.legalcard h2{font-size:21px;color:#173d30;margin:0}
.legalcard p{color:#657c6e;font-size:13px;line-height:1.7;margin:0;flex:1}
.legalmore{font-size:12px;font-weight:800;color:#15704e;margin-top:6px}
.legalcontent{display:grid;grid-template-columns:minmax(180px,240px) minmax(0,1fr);gap:clamp(25px,5vw,72px)}
.legaltoc{align-self:start;display:flex;flex-direction:column;gap:8px;padding:20px;background:#f3f9f4;border:1px solid #e1eee5;border-radius:15px}
.legaltoc strong{font-size:14px;color:#244f3b;margin-bottom:8px}
.legaltoc a{font-size:12px;line-height:1.55;color:#567462;padding:5px 0}
.legaltoc a:hover{text-decoration:underline;color:#146448}
.legaltext{max-width:780px;min-width:0;overflow-wrap:anywhere}
.legaltext section{padding:3px 0 23px;margin-bottom:25px;border-bottom:1px solid #e8efe9}
.legaltext h2{font-size:clamp(19px,2vw,25px);color:#234934;margin-bottom:12px}
.legaltext p{color:#5b6f62;font-size:14px;line-height:1.9}
.legalcontact{margin-top:25px;padding:22px;background:#f1f8f1;border:1px solid #dceadd;border-radius:15px}
.legalcontact h2{font-size:19px;color:#17442f}
.legalcontact p{font-size:13px;color:#5d7666;line-height:1.8}
.legalcontact>a{display:block;width:max-content;max-width:100%;font-size:13px;font-weight:800;color:#176b4b;overflow-wrap:anywhere;margin:8px 0}
.legalwarning{color:#9b563d!important}
.legalback{display:inline-block;margin-top:18px;font-size:13px;font-weight:800;color:#136b4b}
.footerbottom a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:920px){.legalgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.legalcontent{grid-template-columns:1fr}.legaltoc{display:none}}
@media(max-width:570px){.legalgrid{grid-template-columns:1fr}.legallayout{padding-top:18px;padding-bottom:45px}.legalhero p{font-size:14px}}

/* Short status chips and dashboards: badge content is centered and never runs outside the card. */
.app-shell .adminstatus,.app-shell .promostatus,.app-shell .paypill,.app-shell .listingstatus,.app-shell .profiletag,.app-shell .workpill,.app-shell .systemstatus,.app-shell .adminpill,.app-shell .dashnotice,.app-shell .metricnotice,.approvedbadge,.detailstatus,.coverpill{max-width:100%;overflow-wrap:anywhere;text-align:center;justify-content:center}
.app-shell .dashnotice,.app-shell .metricnotice{line-height:1.55}
.noticeexpand>strong{display:block;line-height:1.6;margin-top:9px;color:#244c37;overflow-wrap:anywhere}

/* Navigation correction: true visual centering, active text only, normal document scroll. */
.topstrip,.header{position:static!important;inset:auto!important;transform:none!important;will-change:auto!important}
.header .headerinner{display:flex;position:relative;justify-content:space-between;align-items:center}
.header .brand{flex:0 0 auto;position:relative;z-index:2}
.header .nav{display:flex;align-items:center;gap:3px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max-content;max-width:calc(100% - 400px);margin:0;padding:0;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0}
.header .nav a,.header .nav a:focus,.header .nav a:hover,.header .nav a.navactive,.header .nav a.navactive:hover{
  padding:10px 11px;border-radius:0!important;background:transparent!important;box-shadow:none!important;border:0!important;text-decoration:none!important
}
.header .nav a{color:#506b5b!important}
.header .nav a:hover{color:#20745b!important}
.header .nav a.navactive,.header .nav a[aria-current="page"]{color:#0c7d4d!important;font-weight:900}
.header .nav a.navactive::after,.header .nav a[aria-current="page"]::after{content:none!important;display:none!important}
.header .headeractions{margin-left:auto;position:relative;z-index:2}
.header .mobilenav a.navactive,.header .mobilenav a[aria-current="page"]{background:transparent!important;color:#0c7d4d!important;font-weight:900}
.header .mobilenav a:not(.mobilepost):hover{background:transparent!important;color:#20745b!important}
@media(max-width:1250px){.header .nav{display:none!important}.header .mobiletoggle{display:block}.header .mobilenav:not([hidden]){display:flex;flex-direction:column;gap:5px}}
@media(min-width:1251px){.header .headeractions .noticebell,.header .headeractions a[href*="saved"]{display:none}}
/* Secure account setup, system controls and content editor. */
.securityworkspace{padding:38px 0 88px;max-width:940px}.securityheading{margin:20px 0 26px}.securityheading h1{font-size:clamp(29px,3vw,44px);color:#173c2d;margin:10px 0}.securityheading p{max-width:680px;color:#657c6f}
.securitypanel{max-width:820px}.securitypanel h2{font-size:23px}.securitypanel form{display:grid;max-width:620px;gap:17px;margin-top:22px}.securitypanel label,.adminquicktest label,.legaleditsection label,.legalpassword,.legalreset label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:700;color:#315544}
.securitypanel input,.adminquicktest input,.legaleditsection input,.legaleditsection textarea,.legalpassword input,.legalreset input,.settingfields select{width:100%;max-width:100%;border:1px solid #ccdad2;border-radius:9px;padding:12px 14px;background:#fff;color:#234838;min-width:0;font:inherit}
.securitykey{background:#f0f6f0;padding:17px;border:1px solid #d5e9d8;border-radius:13px;margin:20px 0;overflow-wrap:anywhere}.securitykey code{font-size:18px;letter-spacing:.09em;user-select:all}.recoverygrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 28px}.recoverygrid code{background:#edf5ed;border-radius:9px;padding:11px 14px;font-size:15px;text-align:center;letter-spacing:1px}
.accountsecuritylink{margin:5px 0 24px;white-space:normal}.adminservice{margin:0 0 20px;max-width:1000px}.adminservice form{margin-top:10px}.adminservice .checkline{flex-direction:row;align-items:center;gap:10px;grid-column:1/-1;line-height:1.5}.adminservice .checkline input{width:18px;min-width:18px}.adminservice .settingfields{margin-top:20px}.adminservice .settinghint{overflow-wrap:anywhere;line-height:1.6;color:#677f71;font-size:12px}.adminquicktest{display:flex;align-items:end;gap:16px;border-top:1px solid #e5ede7;padding-top:20px}.adminquicktest label{max-width:420px;flex:1}
.healthgrid,.legaladmingrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:20px 0}.healthgrid>div{display:flex;flex-direction:column;gap:5px;padding:15px;border:1px solid #e3ebe5;border-radius:10px;background:#f9fbf9}.healthgrid span{font-size:12px;color:#718978}.healthgrid strong{font-size:15px;color:#214e38}.legaladmincard{display:flex;flex-direction:column;gap:9px;padding:20px;border-radius:13px;border:1px solid #dce9df;background:#fff}.legaladmincard strong{font-size:17px;color:#174c35}.legaladmincard span{font-size:12px;color:#177553}.legaleditor .settingfields{margin-bottom:18px}.legaleditsection{border-top:1px solid #e5eee7;padding:19px 0;display:grid;gap:15px}.legaleditsection>strong{color:#1b5640}.legaleditsection textarea{resize:vertical;min-height:100px}.legalpassword,.legalreset{max-width:390px;margin:20px 0}.legalreset{display:flex;align-items:end;gap:13px;max-width:660px}.legalreset label{flex:1}
@media(max-width:660px){.adminquicktest,.legalreset{flex-direction:column;align-items:stretch}.healthgrid,.legaladmingrid,.recoverygrid{grid-template-columns:1fr}.securitykey code{font-size:13px}}
.legaledithead{display:flex;align-items:center;justify-content:space-between;gap:15px}.legaledithead .button{font-size:11px;padding:8px 11px}.legaleditor>#addlegalsection{margin:12px 0 22px}.legaleditsection label input,.legaleditsection label textarea{display:block}
