.screen{display:none;}
.screen.active{display:block;}
.mobile-drawer-brand .brand-logo{width:30px;height:30px;}
.brand-logo{width:26px;height:26px;flex-shrink:0;}
@media all and (display-mode: standalone){.screen, .app-main, body{--bar-h-safe:calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));}}
.page{max-width:480px;margin:0 auto;}
.cat-title,.cats-title,.auth-card-title,.ru-hero-title,.tier-page-title,.profile-name,
.ru-reader-topic{margin-top:0;margin-bottom:0;}
.catalogue-notice{font-size:11.5px;color:var(--mid);line-height:1.4;padding:10px 18px 4px;}
.catalogue-notice:empty{display:none;}
.pd-main .catalogue-notice{padding:14px 0 0;}
.nf-wrap{max-width:560px;margin:48px auto;padding:0 18px;text-align:center;}
.nf-title{font-family:var(--font-d);font-size:28px;line-height:1.2;color:var(--char);margin-bottom:12px;}
.nf-p{font-size:15px;color:var(--mid);line-height:1.6;margin-bottom:24px;}
.nf-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;}
.nf-btn{font-family:var(--font-b);font-size:14px;font-weight:700;padding:11px 18px;border-radius:4px;border:1px solid var(--forest);background:var(--forest);color:var(--white);cursor:pointer;}
.nf-btn-2{background:transparent;color:var(--forest);}
.nf-btn:focus-visible{outline:2px solid var(--terracotta);outline-offset:2px;}
.profile-hd{padding:26px 18px 20px;border-bottom:1px solid var(--border);text-align:center;}
.profile-av{width:60px;height:60px;border-radius:50%;background:var(--forest);color:var(--white);font-family:var(--font-d);font-size:22px;font-weight:700;display:flex;align-items:center;justify-content:center;margin:0 auto 10px;}
.profile-name{font-family:var(--font-d);font-size:19px;font-weight:700;}
.profile-tier{font-size:12px;color:var(--muted);margin-top:2px;}
.profile-join-btn{display:inline-block;margin-top:12px;background:var(--forest);color:var(--white);font-size:13px;font-weight:600;padding:8px 20px;border-radius:3px;border:none;cursor:pointer;}
.auth-card{background:var(--white);border:1px solid var(--border);border-radius:14px;padding:36px 28px;max-width:360px;margin:32px auto;box-shadow:0 8px 32px rgba(0,0,0,.06);}
.auth-card-hd{text-align:center;margin-bottom:24px;}
.auth-card-title{font-family:var(--font-d);font-weight:900;font-size:20px;color:var(--forest);margin-top:10px;}
.auth-card-sub{font-family:var(--font-b);font-size:13px;color:var(--muted);margin-top:4px;}
.auth-field-label{display:block;font-family:var(--font-b);font-size:12.5px;font-weight:700;color:var(--char);margin-bottom:6px;}
.auth-field{width:100%;padding:12px 14px;font-family:var(--font-b);font-size:16px;border:1.5px solid var(--border);border-radius:8px;background:var(--white);color:var(--char);outline:none;box-sizing:border-box;margin-bottom:16px;}
.auth-field:focus{border-color:var(--teal);}
.auth-pw{position:relative;margin-bottom:16px;}
.auth-pw .auth-field{padding-right:48px;margin-bottom:0;}
.auth-pw-eye{position:absolute;top:0;right:0;bottom:0;width:44px;margin:0;padding:0;border:none;background:none;cursor:pointer;color:var(--muted);display:flex;align-items:center;justify-content:center;border-radius:0 8px 8px 0;}
.auth-pw-eye:hover{color:var(--char);}
.auth-pw-eye:focus-visible{outline:2px solid var(--teal);outline-offset:-2px;}
.auth-pw-eye svg,.auth-pw-eye i{width:20px;height:20px;}
.auth-pw-eye .auth-pw-eye-open{display:none;}
.auth-pw-eye[aria-pressed="true"] .auth-pw-eye-open{display:block;}
.auth-pw-eye[aria-pressed="true"] .auth-pw-eye-closed{display:none;}
.auth-submit-btn[disabled]{opacity:.6;cursor:default;}
.auth-submit-btn{width:100%;background:var(--forest);color:var(--white);border:none;border-radius:8px;font-family:var(--font-b);font-weight:700;letter-spacing:.02em;text-transform:uppercase;cursor:pointer;}
.auth-submit-btn-signup{padding:11px 14px;font-size:13px;}
.auth-submit-btn-login{padding:15px 14px;font-size:16px;}
.auth-switch{text-align:center;margin-top:16px;font-family:var(--font-b);font-size:13px;color:var(--mid);}
.auth-switch span{color:var(--forest);font-weight:700;cursor:pointer;}
.auth-forgot{text-align:right;margin:-10px 0 16px;font-family:var(--font-b);font-size:12.5px;color:var(--forest);font-weight:600;cursor:pointer;}
.auth-error{display:none;background:rgba(181,58,47,.1);color:var(--red);border-radius:6px;padding:9px 12px;font-family:var(--font-b);font-size:13px;margin-bottom:14px;}
.auth-error.show{display:block;}
.welcome-toast{position:fixed;top:70px;left:50%;transform:translateX(-50%) translateY(-20px);background:var(--forest);color:var(--white);padding:13px 22px;border-radius:30px;font-family:var(--font-b);font-size:14px;font-weight:700;box-shadow:0 8px 24px rgba(0,0,0,.2);z-index:600;opacity:0;pointer-events:none;transition:opacity .3s ease,transform .3s ease;white-space:nowrap;}
.welcome-toast.show{opacity:1;transform:translateX(-50%) translateY(0);}
.mem-card{background:var(--forest);border-radius:8px;padding:17px;margin:16px 18px;}
.mem-eye{font-family:var(--font-m);font-size:9px;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.5);margin-bottom:7px;}
.mem-title{font-family:var(--font-d);font-size:19px;font-weight:900;color:var(--white);margin-bottom:3px;}
.mem-sub{font-size:12.5px;color:rgba(255,255,255,.65);margin-bottom:13px;}
.mem-perks{display:flex;flex-direction:column;gap:7px;margin-bottom:16px;}
.mem-perk{display:flex;align-items:flex-start;gap:7px;font-size:12.5px;color:rgba(255,255,255,.82);line-height:1.4;}
.mem-check{color:rgba(255,255,255,.55);flex-shrink:0;}
.mem-cta{display:block;width:100%;background:var(--white);color:var(--forest);text-align:center;padding:12px;font-size:14px;font-weight:700;border-radius:3px;border:none;cursor:pointer;}
.mem-card.mem-card-subtle{padding:12px 17px;}
.mem-active-row{display:flex;align-items:center;gap:8px;}
.mem-active-check{color:var(--white);font-size:15px;flex-shrink:0;}
.mem-active-text{font-size:13.5px;font-weight:700;color:var(--white);}
.billing-notice{margin-top:10px;padding:9px 11px;border-radius:3px;background:rgba(255,255,255,.12);color:var(--white);font-size:12.5px;line-height:1.45;}
.billing-notice[hidden]{display:none;}
.billing-notice-btn{display:inline-block;margin-top:7px;background:var(--white);color:var(--forest);padding:6px 11px;font-size:12px;font-weight:700;border:none;border-radius:3px;cursor:pointer;}
#chat-billing-notice{margin:0;border-radius:0;background:var(--cream2);color:var(--char);border-bottom:1px solid rgba(0,0,0,.08);}
#chat-billing-notice .billing-notice-btn{background:var(--forest);color:var(--white);}
.mem-active-manage{display:inline-block;margin-top:8px;background:transparent;color:rgba(255,255,255,.7);padding:0;font-size:12px;font-weight:600;border:none;cursor:pointer;text-decoration:underline;text-underline-offset:2px;}
.prof-sec{padding:16px 18px 0;}
.prof-sec-title{font-family:var(--font-m);font-size:9.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--teal);margin-bottom:9px;}
.prof-rows{display:flex;flex-direction:column;margin-bottom:22px;}
.prof-row{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--border);cursor:pointer;color:inherit;text-decoration:none;}
.prof-row-icon{width:16px;height:16px;stroke-width:1.75;margin-right:9px;vertical-align:middle;color:var(--forest);display:inline-block;object-fit:contain;fill:currentColor;}
.prof-contact-btn{display:flex;align-items:center;justify-content:center;gap:8px;background:var(--teal);color:var(--white);border:none;border-radius:8px;padding:13px 16px;font-family:var(--font-b);font-size:13.5px;font-weight:700;letter-spacing:.01em;cursor:pointer;text-decoration:none;margin-top:12px;}
.prof-contact-btn i{width:17px;height:17px;stroke-width:2;flex-shrink:0;}
.prof-contact-btn:active{transform:scale(.98);}
.prof-row:last-child{border-bottom:none;}
.prof-row-label{font-size:14px;color:var(--char);font-weight:500;display:flex;align-items:center;}
.prof-row-right{font-size:13px;color:var(--muted);}
.sp-md{height:22px;}
.sidebar-brand .brand-logo{width:22px;height:22px;flex-shrink:0;}
.auth-legal{margin-top:14px;text-align:center;font-family:var(--font-b);font-size:12px;line-height:1.5;color:var(--muted);}
.auth-legal a{color:var(--char);text-decoration:underline;text-underline-offset:2px;}
@media (min-width:1024px){.page{max-width:920px;margin:0 auto;padding-top:calc(var(--nav-h) + 8px);}}
.page{max-width:var(--page-max);}
body.nav-over .nav-brand .brand-logo circle:first-of-type{fill:#fff;}
body.nav-over .nav-brand .brand-logo text{fill:var(--terracotta);}
.brand-logo{width:30px;height:30px;}
.rt-mem-mark{width:52px;height:52px;
  background:var(--terracotta);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  margin-bottom:26px;}
.rt-mem-mark::after{content:'';
  width:30px;height:30px;
  background:var(--check-badge) center/contain no-repeat;}
.rt-mem-title{font-family:var(--font-d);
  font-size:clamp(36px,7vw,68px);
  font-weight:900;
  line-height:.98;
  letter-spacing:-.03em;
  margin-bottom:18px;
  text-wrap:balance;}
.rt-mem-sub{font-size:clamp(16px,2.1vw,20px);
  color:var(--mid);
  line-height:1.55;
  max-width:48ch;
  margin-bottom:38px;
  font-weight:300;}
.rt-mem-price{display:flex;
  align-items:baseline;
  gap:10px;
  padding:26px 0;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  margin-bottom:32px;}
.rt-mem-price-amt{font-family:var(--font-d);
  font-size:clamp(40px,7vw,60px);
  font-weight:900;
  letter-spacing:-.03em;
  line-height:1;
  color:var(--char);}
.rt-mem-price-note{font-family:var(--font-m);
  font-size:10.5px;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:var(--muted);}
.rt-mem-perks{list-style:none;margin:0 0 36px;padding:0;display:grid;gap:16px;}
.rt-mem-perk{display:flex;gap:14px;align-items:flex-start;}
.rt-mem-perk::before{content:'';
  width:21px;height:21px;flex-shrink:0;
  margin-top:1px;
  background:var(--check-badge) center/contain no-repeat;
  filter:drop-shadow(0 0 0 var(--terracotta));
  border-radius:50%;
  box-shadow:inset 0 0 0 1px var(--border);}
.rt-mem-perk-tx{font-size:16px;line-height:1.5;color:var(--char);}
.rt-mem-perk-tx b{font-weight:600;}
.rt-mem-perk-tx span{display:block;color:var(--muted);font-size:14px;margin-top:2px;}
.rt-mem-cta{width:100%;}
.rt-mem-fine{margin-top:18px;
  font-size:13px;
  color:var(--muted);
  text-align:center;}
.rt-mem-promise{margin-top:44px;
  padding:26px;
  background:var(--ink-deep);
  border-radius:3px;
  color:rgba(255,255,255,.76);}
.rt-mem-promise-hd{font-family:var(--font-m);
  font-size:10.5px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#fff;
  margin-bottom:10px;}
.rt-mem-promise-tx{font-size:15px;line-height:1.6;}
.mem-card{border-radius:3px;border:1px solid var(--border);}
.mem-title{font-family:var(--font-d);
  font-size:clamp(24px,4vw,34px);
  font-weight:900;
  letter-spacing:-.022em;
  line-height:1.06;}
.mem-cta{border-radius:2px;letter-spacing:.13em;text-transform:uppercase;font-size:12.5px;font-weight:700;}
.auth-card{border-radius:3px;
  border:1px solid var(--border);
  padding:clamp(30px,5vw,48px);
  box-shadow:0 20px 50px -30px rgba(20,17,15,.3);}
.auth-card-title{font-family:var(--font-d);
  font-size:clamp(27px,4.4vw,38px);
  font-weight:900;
  letter-spacing:-.024em;
  line-height:1.05;}
.auth-card-sub{color:var(--mid);font-size:15.5px;}
.auth-field{border-radius:2px;font-size:16px;transition:border-color .25s var(--ease);}
.auth-field:focus{border-color:var(--terracotta);outline:none;}
.auth-field-label{font-family:var(--font-m);
  font-size:10px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--muted);}
.auth-submit-btn{border-radius:2px;
  letter-spacing:.13em;
  text-transform:uppercase;
  font-weight:700;
  font-size:12.5px;
  padding:17px;
  background:var(--terracotta);
  transition:background .25s var(--ease);}
.auth-submit-btn:hover{background:var(--terracotta-dk);}
.profile-name{font-family:var(--font-d);
  font-size:clamp(24px,4vw,34px);
  font-weight:900;
  letter-spacing:-.022em;}
.prof-sec-title{font-family:var(--font-m);
  font-size:10.5px;
  letter-spacing:.17em;
  text-transform:uppercase;
  color:var(--muted);}
.prof-row{transition:background .2s var(--ease);}
.prof-row:hover{background:var(--cream2);}
.welcome-toast{border-radius:3px;}
@media (min-width:640px) and (max-width:1023px){.page{max-width:100%;padding-left:0;padding-right:0;}}
@media (min-width:1024px){.page{max-width:var(--page-max);padding-top:var(--nav-h);}}
@media (min-width:1024px){.sidebar-brand .brand-logo{width:26px;height:26px;}}
@media (min-width:1024px){#screen-home .page{min-height:200svh;}}
@media (min-width:1024px){.sidebar-brand .brand-logo{width:34px;height:34px;}}
.profile-hd{text-align:left;
  padding:clamp(36px,6vw,64px) var(--gut) 26px;}
.profile-av{width:72px;
  height:72px;
  font-size:28px;
  background:var(--terracotta);
  margin:0 0 16px;}
.profile-tier{font-family:var(--font-m);
  font-size:10.5px;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:var(--muted);}
.profile-join-btn{background:var(--terracotta);
  border-radius:2px;
  padding:13px 26px;
  font-size:11.5px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-top:16px;
  transition:background .25s var(--ease);}
.profile-join-btn:hover{background:var(--terracotta-dk);}
.mem-card{background:var(--ink-deep);border:none;border-radius:3px;padding:clamp(24px,4vw,40px);}
.mem-eye{color:var(--terracotta-lt);font-size:10px;letter-spacing:.16em;}
.mem-sub{color:rgba(255,255,255,.72);}
.mem-perk{color:rgba(255,255,255,.85);font-size:13.5px;}
.mem-check{color:var(--terracotta-lt);}
.prof-row{padding:15px 0;}
.prof-row:hover{background:transparent;}
.prof-row:hover .prof-row-label{color:var(--terracotta);}
.prof-row-label{font-size:14.5px;transition:color .25s var(--ease);}
.prof-row-right{font-family:var(--font-m);
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);}
.profile-hd{background-image:linear-gradient(to bottom,rgba(20,17,15,.30) 0%,rgba(20,17,15,.52) 100%),url('/images/profile-hero.jpg');
  background-size:cover;
  background-position:center 40%;
  width:calc(100vw - var(--sbw) - var(--sidebar-w));
  margin-left:calc(50% - (100vw - var(--sbw) - var(--sidebar-w))/2);
  max-width:none;
  padding:clamp(64px,10vw,130px) var(--gut) clamp(36px,6vw,64px);
  border-bottom:none;}
.profile-av{background:#fff;
  color:var(--terracotta);
  box-shadow:0 10px 30px -10px rgba(20,17,15,.45);}
.profile-name{color:#fff;text-shadow:0 1px 12px rgba(20,17,15,.4);}
.profile-tier{color:rgba(255,255,255,.88);}
@media (min-width:1024px){.profile-hd{padding-left:var(--gut-lg);padding-right:var(--gut-lg);}}
#screen-profile .mem-card,
#screen-profile .prof-sec,
#screen-profile .prof-contact-btn{width:min(780px,calc(100% - 2*var(--gut)));
  margin-left:auto;
  margin-right:auto;}
#screen-profile .mem-card,
#screen-profile .prof-sec{display:block;}
#screen-profile .prof-contact-btn{display:flex;
  background:var(--terracotta);
  border-radius:2px;
  font-size:11.5px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  padding:15px 16px;
  transition:background .25s var(--ease);}
#screen-profile .prof-contact-btn:hover{background:var(--terracotta-dk);}
#screen-profile .prof-contact-btn i,
#screen-profile .prof-contact-btn svg{width:15px;height:15px;}
#screen-profile .mem-card{margin-top:clamp(18px,3vw,28px);
  position:relative;
  box-shadow:0 18px 50px -24px rgba(20,17,15,.3);}
#screen-profile .prof-sec{background:var(--white);
  border:1px solid var(--border);
  border-radius:4px;
  padding:20px 24px 8px;
  margin-top:16px;
  margin-bottom:0;}
#screen-profile .prof-sec-title{margin-bottom:4px;}
#screen-profile .prof-row:first-of-type{border-top:none;}
#screen-profile .prof-contact-btn{margin-top:20px;margin-bottom:clamp(40px,7vw,80px);}
@media (min-width:1024px){#screen-farmers .fm-banner .fm-banner-brand .brand-logo{width:36px;height:36px;}}
body:has(#screen-farmers.active) #screen-farmers .page{padding-top:0;}
#screen-farmers .fm-banner-brand .brand-logo{width:30px;height:30px;display:block;}
