.profile-page{min-height:100vh;background:#10140f;color:#f1f3ea;padding:0 22px 56px}.profile-top{max-width:1180px;margin:auto;height:78px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(241,243,234,.13)}.profile-top .brand{color:#f1f3ea;text-decoration:none;font-size:19px;font-weight:700;gap:10px}.profile-mark{width:29px;height:29px;display:grid;place-items:center;background:#edb43e;color:#17170e;border-radius:8px;font-family:'Martian Mono',monospace;font-size:14px}.profile-step,.profile-kicker{font:10px 'Martian Mono',monospace;letter-spacing:.12em;color:#a1a994}.profile-step i{color:#edb43e;font-style:normal}.profile-back{color:#d8ddce;text-decoration:none;font-size:13px}.profile-layout{max-width:1180px;margin:54px auto 0;display:grid;grid-template-columns:minmax(240px,.72fr) minmax(0,1.28fr);gap:clamp(32px,7vw,104px);align-items:start}.profile-intro{position:sticky;top:36px;padding-top:38px}.profile-intro .eyebrow{color:#edb43e;font:10px 'Martian Mono',monospace;text-transform:uppercase;letter-spacing:.11em}.profile-intro h1{font-size:clamp(52px,6vw,78px);line-height:.97;letter-spacing:-.065em;margin:20px 0}.profile-intro h1 em{font-style:normal;color:#edb43e}.profile-intro>p:not(.eyebrow){color:#b9c0af;line-height:1.7;max-width:330px}.profile-progress{display:flex;align-items:center;gap:9px;margin-top:38px;flex-wrap:wrap}.profile-progress span{font:9px 'Martian Mono',monospace;color:#9ba390;display:flex;align-items:center;gap:6px}.profile-progress b{color:#edb43e}.profile-progress i{height:1px;width:15px;background:#51594a}.profile-side-note{display:flex;align-items:center;gap:13px;border-top:1px solid rgba(241,243,234,.13);margin-top:60px;padding-top:18px}.profile-lock{width:34px;height:34px;border:1px solid #59634f;border-radius:50%;display:grid;place-items:center;color:#edb43e;font-size:21px}.profile-side-note b,.profile-side-note small{display:block}.profile-side-note b{font-size:12px}.profile-side-note small{color:#9ba390;font-size:11px;margin-top:4px}.profile-card{background:#f7f5eb;color:#20251a;border-radius:10px;padding:clamp(22px,4vw,42px);box-shadow:0 25px 90px rgba(0,0,0,.22)}.profile-card-head{display:flex;justify-content:space-between;align-items:flex-end;padding-bottom:22px;border-bottom:1px solid #d8d8cb}.profile-card-head h2{font-size:30px;letter-spacing:-.04em;margin:8px 0 0}.profile-required{font-size:11px;color:#69715e}.profile-section{border:0;border-bottom:1px solid #deded2;padding:24px 0;margin:0;min-width:0}.profile-section legend{float:left;width:100%;padding:0;margin:0 0 19px;font-size:15px;font-weight:700}.profile-section legend span{display:inline-grid;place-items:center;width:26px;height:26px;margin-right:9px;border-radius:50%;background:#e8eddd;color:#58733c;font:10px 'Martian Mono',monospace}.profile-section legend+*{clear:both}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.profile-field{min-width:0}.profile-field label{display:block;margin-bottom:7px;font-size:12px;font-weight:700}.profile-field label b{color:#b77d16}.profile-field input,.profile-field select{width:100%;height:46px;border:1px solid #d5d7ca;border-radius:6px;padding:0 12px;background:#fffef9;color:#20251a;font:14px 'Instrument Sans',sans-serif;outline:none}.profile-field input:focus,.profile-field select:focus{border-color:#809956;box-shadow:0 0 0 3px rgba(128,153,86,.15)}.profile-field input::placeholder{color:#9b9f91}.profile-field select:disabled{color:#9b9f91;background:#eeeee6}.profile-field small{display:block;font-size:10px;color:#777e6d;line-height:1.45;margin-top:6px}.profile-address .profile-field:last-child{grid-column:1/-1}.profile-help{font-size:12px;color:#717766;margin:0 0 16px;line-height:1.5}.profile-location{margin-top:15px;padding:13px;display:flex;align-items:center;gap:12px;background:#ecefe4;border:1px solid #dde2d1;border-radius:7px}.profile-location-icon{height:36px;width:36px;display:grid;place-items:center;border-radius:50%;background:#dce6cc;color:#506c35;font-size:23px}.profile-location-copy{flex:1;min-width:0}.profile-location-copy b,.profile-location-copy small{display:block}.profile-location-copy b{font-size:12px}.profile-location-copy small{font-size:10px;line-height:1.4;color:#737a6c;margin-top:4px}.profile-location-btn{border:1px solid #718751;background:transparent;border-radius:5px;padding:9px 11px;color:#42562d;font-weight:700;font-size:11px;white-space:nowrap}.profile-consent{padding:20px 0 6px}.profile-consent label{display:flex;align-items:flex-start;gap:11px;cursor:pointer}.profile-consent input{position:absolute;opacity:0;width:1px;height:1px}.profile-check{flex:0 0 19px;height:19px;border:1px solid #a7ad9b;border-radius:4px;background:#fffef9;margin-top:1px}.profile-consent input:checked+.profile-check{background:#54743a;border-color:#54743a;box-shadow:inset 0 0 0 4px #fffef9}.profile-consent input:focus-visible+.profile-check{outline:3px solid #edb43e}.profile-consent b,.profile-consent small{display:block}.profile-consent b{font-size:12px}.profile-consent small{font-size:10px;line-height:1.55;color:#717766;margin-top:4px}.profile-notice{display:flex;gap:10px;padding:12px;background:#f0ecdd;border-radius:5px;margin:16px 0 18px}.profile-notice>span{width:18px;height:18px;flex:0 0 18px;border:1px solid #9b8a59;border-radius:50%;text-align:center;font:12px Georgia;color:#756338}.profile-notice p{font-size:10px;line-height:1.55;color:#686a5d;margin:0}.profile-notice b{display:block;color:#444638;margin-bottom:3px}.profile-submit{width:100%;height:49px;border:0;border-radius:5px;background:#dca52e;color:#201b0c;font-weight:700;font-size:13px;display:flex;align-items:center;justify-content:center;gap:10px}.profile-submit span{font-size:18px}.profile-result{font-size:12px;color:#755f27;text-align:center;line-height:1.45}.profile-footer{text-align:center;color:#757a6c;font-size:11px;margin:18px 0 0}.profile-footer a{color:#4e6834;font-weight:700}@media(max-width:760px){.profile-page{padding:0 14px 35px}.profile-top{height:64px}.profile-step{display:none}.profile-layout{display:block;margin:24px auto 0}.profile-intro{position:static;padding:0 5px 18px}.profile-intro h1{font-size:48px;margin:13px 0}.profile-intro>p:not(.eyebrow){font-size:13px;margin:0;max-width:420px}.profile-progress{margin-top:20px;gap:6px}.profile-progress span{font-size:8px}.profile-progress i{width:8px}.profile-side-note{display:none}.profile-card{padding:20px 17px;border-radius:8px}.profile-card-head h2{font-size:25px}.profile-section{padding:20px 0}.profile-grid{grid-template-columns:1fr;gap:13px}.profile-address .profile-field:last-child{grid-column:auto}.profile-location{align-items:flex-start;flex-wrap:wrap}.profile-location-copy{padding-top:3px}.profile-location-btn{margin-left:48px}.profile-field input,.profile-field select{height:48px;font-size:16px}.profile-submit{height:52px}.profile-back{font-size:11px}}
/* Phone authentication and private profile */
.auth-card{margin-bottom:18px}.auth-card[hidden],#profile-card[hidden],[hidden]{display:none!important}.auth-modes{display:grid;grid-template-columns:1fr 1fr;background:#e8e9dd;border-radius:6px;padding:4px;margin:20px 0}.auth-mode{border:0;border-radius:4px;padding:11px 8px;background:transparent;color:#66705e;font:700 12px 'Instrument Sans',sans-serif}.auth-mode.is-active{background:#fffef9;color:#31441f;box-shadow:0 1px 5px #00000016}.auth-card .profile-field{margin:14px 0}.auth-card .profile-submit{margin-top:16px}.auth-forgot{display:block;margin:12px auto 0;border:0;background:none;color:#526c38;text-decoration:underline;font:600 11px 'Instrument Sans',sans-serif}.auth-intro{font-size:12px;color:#66705e;line-height:1.55}.auth-setup-note{background:#f0ecdd;padding:12px;border-radius:5px;font-size:11px;line-height:1.5;color:#635e4c}.auth-setup-note a{color:#4e6834;font-weight:700}.auth-status.is-error{color:#a1392b}.profile-account-phone{font-size:11px;color:#737a6c;margin:4px 0 0}.auth-signout{border:1px solid #c7caba;background:transparent;color:#465339;border-radius:5px;padding:9px 11px;font-size:11px;font-weight:700;white-space:nowrap}.auth-signout:hover{background:#eaede3}

/* Profile-first phone signup */
.auth-reset-note{margin:14px 0 0;padding:11px 12px;background:#f0ecdd;border-radius:5px;color:#686a5d;font-size:10px;line-height:1.55}
.profile-actions{display:flex;gap:8px;align-items:center}
.auth-back{border:1px solid #c7caba;background:transparent;color:#465339;border-radius:5px;padding:9px 11px;font-size:11px;font-weight:700;white-space:nowrap}
.auth-back:hover{background:#eaede3}
.signup-credentials{padding-bottom:22px}
.signup-credentials[hidden]{display:none!important}
.signup-credentials:disabled{opacity:1}
@media(max-width:760px){.profile-actions{gap:5px}.auth-back,.auth-signout{padding:8px;font-size:10px}}

.profile-farms{margin-top:28px;padding-top:24px;border-top:1px solid #d8d8cb}
.profile-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:12px}
.profile-section-head h3{font-size:23px;margin:7px 0 4px;letter-spacing:-.03em}
.profile-section-head .profile-help{margin:0}
.profile-section-head button{margin-top:10px}
.profile-form-actions{display:grid;gap:10px;margin-top:14px}
.farm-list{display:grid;gap:10px;margin-top:16px}
.farm-item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px;background:#ecefe4;border:1px solid #dde2d1;border-radius:6px}
.farm-item-details b,.farm-item-details small{display:block}
.farm-item-details b{font-size:13px}
.farm-item-details small{margin-top:5px;color:#737a6c;font-size:10px;line-height:1.5}
.farm-item-actions{display:flex;gap:6px}
.profile-farms[hidden],#farm-form[hidden]{display:none!important}
@media(max-width:760px){.profile-section-head{align-items:flex-start;flex-direction:column}.profile-section-head button{margin:0}.farm-item{align-items:flex-start;flex-direction:column}.farm-item-actions{width:100%}}

.profile-overview{margin:22px 0 8px;padding:20px;background:#e9eddf;border:1px solid #d9dfce;border-radius:8px}
.overview-welcome{display:flex;justify-content:space-between;align-items:center;gap:16px}
.overview-welcome h3{font-size:25px;letter-spacing:-.04em;margin:7px 0 3px}
.overview-welcome p{margin:0;color:#737a6c;font-size:12px}
.overview-add{width:auto;padding:0 16px;white-space:nowrap}
.overview-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px}
.overview-stats article{padding:12px;background:#f7f5eb;border-radius:6px}
.overview-stats article>span{display:block;color:#737a6c;font-size:10px}
.overview-stats article>b{display:block;margin-top:5px;font:700 22px 'Archivo',sans-serif;color:#31441f}
.overview-stats small{font-size:11px;color:#737a6c}
.profile-overview[hidden]{display:none!important}
@media(max-width:760px){.profile-overview{padding:15px}.overview-welcome{align-items:flex-start;flex-direction:column}.overview-add{width:100%}.overview-stats{gap:6px}.overview-stats article{padding:9px}.overview-stats article>span{font-size:9px}.overview-stats article>b{font-size:18px}}

/* Second-stage farm data workspace */
.profile-edit-details{border-bottom:1px solid #deded2}
.profile-edit-summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:15px 0;cursor:pointer}
.profile-edit-summary::-webkit-details-marker{display:none}
.profile-edit-summary span b,.profile-edit-summary span small{display:block}
.profile-edit-summary span b{font-size:12px;color:#3e4b31}
.profile-edit-summary span small{font-size:10px;color:#7a806e;margin-top:4px}
.profile-edit-summary>i{font-style:normal;color:#607542;font-size:18px;transition:transform .2s}
.profile-edit-details[open] .profile-edit-summary>i{transform:rotate(180deg)}
.farm-stage-nav{display:grid;grid-template-columns:repeat(3,1fr);margin:18px 0 22px;border:1px solid #dce0d4;border-radius:7px;overflow:hidden;background:#eeefe7}
.farm-stage-item{display:flex;align-items:center;gap:9px;padding:11px 12px;color:#68705e;text-decoration:none;font-size:11px}
.farm-stage-item+.farm-stage-item{border-left:1px solid #dce0d4}
.farm-stage-item>span{width:25px;height:25px;flex:0 0 25px;display:grid;place-items:center;border-radius:50%;background:#dfe3d8;color:#67715d;font:10px 'Martian Mono',monospace}
.farm-stage-item.is-current{background:#e4ead8;color:#344b25}
.farm-stage-item.is-current>span{background:#56743b;color:#fff}
.farm-stage-item.is-next{opacity:.65}
.farm-stage-item.is-next>span{background:transparent;border:1px solid #bfc6b6}
.farm-stage-lead{display:flex;align-items:center;gap:14px;margin:0 0 18px;padding:16px;background:#e9eddf;border:1px solid #dce3d1;border-radius:8px}
.farm-stage-number{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:12px;background:#d6e1c8;color:#4d6735;font:600 15px 'Martian Mono',monospace}
.farm-stage-lead h4{font-size:18px;letter-spacing:-.03em;margin:5px 0 3px;color:#2e3c25}
.farm-stage-lead p{margin:0;color:#737a6c;font-size:11px;line-height:1.5}
.profile-section-head h3{margin:7px 0 5px;font-size:25px;letter-spacing:-.04em}
.profile-farms .profile-section{padding:21px 0}
.profile-location{box-shadow:0 4px 15px #27331a08}
.farm-empty{display:grid;justify-items:center;text-align:center;gap:8px;padding:30px 18px;margin-top:14px;background:#f1f1e9;border:1px dashed #bfc7b4;border-radius:8px}
.farm-empty-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#e0e8d5;color:#52713a;font-size:25px}
.farm-empty>b{margin-top:2px;font-size:15px;color:#34412a}
.farm-empty>p{max-width:330px;margin:0;color:#747a6c;font-size:11px;line-height:1.55}
.farm-empty-action{width:auto;height:42px;margin-top:5px;padding:0 18px}
@media(max-width:760px){
 .farm-stage-nav{margin:14px 0 18px}
 .farm-stage-item{justify-content:center;flex-direction:column;gap:5px;padding:9px 3px;font-size:9px;text-align:center}
 .farm-stage-item>span{width:23px;height:23px;flex-basis:23px}
 .farm-stage-lead{padding:13px;gap:11px}
 .farm-stage-lead h4{font-size:16px}
 .farm-stage-lead p{font-size:10px}
 .profile-section-head h3{font-size:23px}
 .farm-empty{padding:25px 15px}
}
