/* V33.1 · Verdant Ledger / standalone footer + voucher-ticket authentication */

/* Footer is isolated from legacy V27/V28 and V33.0 footer rules. */
.v331-footer{
  margin-top:80px;
  background:#173e2f;
  color:#f1f5eb;
  width:100%;
  min-width:0;
  overflow:hidden;
}
.v331-footer *{box-sizing:border-box}
.v331-footer-inner{width:min(1280px,calc(100% - 48px));margin:0 auto}
.v331-footer a{color:inherit}
.v331-footer-intro{
  padding:62px 0 46px;
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:28px;
  border-bottom:1px solid rgba(222,241,218,.2);
}
.v331-footer-kicker{
  font-size:11px;letter-spacing:2px;font-weight:800;color:#c0ddaa;
}
.v331-footer-intro h2{
  color:#f3f5e8;
  font-size:clamp(30px,3.5vw,47px);line-height:1.25;
  margin:12px 0 11px;letter-spacing:-1.5px;
}
.v331-footer-intro h2 em{font-style:normal;color:#d5e9ad}
.v331-footer-intro p{margin:0;font-size:13px;color:#abc4b2}
.v331-footer-cta{
  display:flex;align-items:center;justify-content:space-between;gap:42px;
  padding:13px 17px;border:1px solid #7aab80;border-radius:50px;
  font-size:13px;font-weight:800;white-space:nowrap;
}
.v331-footer-cta:hover{background:#295742}
.v331-footer-cta span{font-size:20px;line-height:1}
.v331-footer-directory{
  display:grid;grid-template-columns:minmax(230px,.9fr) minmax(0,1.45fr);
  gap:30px;padding:38px 0;border-bottom:1px solid rgba(222,241,218,.2);
}
.v331-footer-logo{display:inline-flex;align-items:center;gap:11px}
.v331-footer-logo span{
  width:43px;height:43px;border-radius:14px 14px 5px 14px;background:#e2eec9;
  display:grid;place-items:center;color:#255b40;font-size:23px;font-weight:900;
}
.v331-footer-logo strong{font-size:26px;color:#fffef4;letter-spacing:1px}
.v331-footer-identity p{font-size:12px;color:#a7c0ae;line-height:1.95;margin:16px 0 0}
.v331-footer-navlinks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.v331-footer-navlinks>div{display:flex;flex-direction:column;gap:10px;min-width:0}
.v331-footer-navlinks strong{font-size:14px;color:#eff6e9;margin-bottom:5px}
.v331-footer-navlinks a{font-size:12px;color:#b3c7b5}
.v331-footer-navlinks a:hover{color:#f2ffde;text-decoration:underline;text-underline-offset:4px}
.v331-footer-company{padding:34px 0 30px;border-bottom:1px solid rgba(222,241,218,.2)}
.v331-company-heading{
  display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:19px;
}
.v331-company-heading>div{min-width:0}
.v331-company-heading>div>span{display:block;font-size:10px;letter-spacing:1.4px;color:#a2c8a0;font-weight:850}
.v331-company-heading h3{color:#f8f8ec;font-size:20px;line-height:1.45;margin:6px 0 0;overflow-wrap:anywhere}
.v331-company-entity{
  font-size:11px;line-height:1;padding:10px 13px;border-radius:100px;
  background:#2a5740;color:#cce3be;flex:0 0 auto;
}
.v331-company-details{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;
}
.v331-company-details>div{
  padding:16px 17px;min-width:0;display:flex;flex-direction:column;gap:7px;
  background:#214a37;border:1px solid #3c624b;border-radius:13px;
}
.v331-company-details dt{font-size:11px;color:#a7c7aa;margin:0}
.v331-company-details dd{font-size:14px;line-height:1.6;color:#f0f5eb;font-weight:700;margin:0;min-width:0;overflow-wrap:anywhere;word-break:break-word}
.v331-company-details dd a{color:#e3edcd}
.v331-company-details dd a:hover{text-decoration:underline;text-underline-offset:3px}
.v331-company-details .v331-company-address{grid-column:1/-1}
.v331-footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 0 25px}
.v331-footer-copyright{font-size:11px;color:#a0bba7;line-height:1.6}
.v331-footer-legal{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px 18px}
.v331-footer-legal a{font-size:11px;color:#b6ccb8;white-space:nowrap}
.v331-footer-legal a:hover{text-decoration:underline;text-underline-offset:3px}
.v331-footer-legal .v331-footer-record{color:#dfedba}

/* Auth: a vertical paper ticket, not previous full-height split screen. */
body.v331-auth-page{
  min-height:100vh;
  padding:0!important;
  margin:0;
  background:
    radial-gradient(circle at 14% 15%,rgba(195,215,174,.24),transparent 32%),
    radial-gradient(circle at 90% 80%,rgba(229,199,148,.15),transparent 30%),
    #f6f7f0!important;
  color:#243d30;
}
.v331-auth-page .v331-auth-header{
  width:min(1120px,calc(100% - 42px));margin:0 auto;
  min-height:85px;display:flex;justify-content:space-between;gap:18px;align-items:center;
}
.v331-auth-brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none}
.v331-auth-brand>span{width:41px;height:41px;display:grid;place-items:center;background:#265740;color:#f2edc4;border-radius:13px 13px 5px 13px;font-size:22px;font-weight:900}
.v331-auth-brand strong{font-size:23px;letter-spacing:.5px;color:#204b36}
.v331-auth-brand small{font-size:10px;color:#7c957e;letter-spacing:1px;font-weight:800;margin-left:5px}
.v331-auth-back{font-size:12px;font-weight:750;color:#375f47;display:flex;gap:10px;align-items:center}
.v331-auth-back span{font-size:20px}
.v331-auth-main{max-width:740px;width:calc(100% - 36px);margin:8px auto 82px;text-align:center}
.v331-auth-pretitle{display:flex;justify-content:center;align-items:center;gap:12px;color:#789074;font-weight:850;font-size:10px;letter-spacing:2px;margin:8px 0 15px}
.v331-auth-line{display:inline-block;width:26px;height:1px;background:#aabea3}
.v331-auth-main>h1{font-size:clamp(36px,4.4vw,56px);line-height:1.23;letter-spacing:-2px;color:#214735;margin:0}
.v331-auth-main>h1 em{font-style:normal;color:#6b926b}
.v331-auth-subtitle{font-size:14px;line-height:1.8;color:#738475;margin:12px 0 29px}
.v331-ticket{width:min(520px,100%);margin:0 auto;text-align:left;position:relative;filter:drop-shadow(0 18px 32px rgba(21,71,42,.075))}
.v331-ticket-head{
  position:relative;border:1px solid #d1dbc9;border-bottom:0;
  border-radius:22px 22px 0 0;
  background:linear-gradient(112deg,#214c37 0%,#2c6248 100%);
  padding:26px 32px;min-height:155px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.v331-ticket-heading small{font-size:10px;font-weight:850;letter-spacing:1.6px;color:#c2deb7}
.v331-ticket-heading h2{font-size:27px;line-height:1.3;margin:8px 0 6px;color:#fffbea}
.v331-ticket-heading p{margin:0;color:#c4dac6;font-size:12px}
.v331-ticket-stamp{
  width:93px;height:93px;flex:0 0 93px;border-radius:50%;border:1px dashed #c3dfb5;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  color:#e1eec9;transform:rotate(10deg);
}
.v331-ticket-stamp span,.v331-ticket-stamp small{font-size:10px;font-weight:850;letter-spacing:1.5px}
.v331-ticket-stamp strong{font-size:36px;line-height:1;font-weight:950}
.v331-ticket-divider{
  height:29px;display:flex;align-items:center;background:#fffefa;position:relative;
  border-left:1px solid #d1dbc9;border-right:1px solid #d1dbc9;
}
.v331-ticket-divider::before,.v331-ticket-divider::after{
  content:"";width:26px;height:26px;border-radius:50%;position:absolute;top:1px;
  background:#f6f7f0;border:1px solid #d1dbc9;z-index:2;
}
.v331-ticket-divider::before{left:-14px}.v331-ticket-divider::after{right:-14px}
.v331-ticket-divider span{height:1px;flex:1;border-top:2px dashed #d9e0d3;margin:0 20px}
.v331-ticket-divider i{display:none}
.v331-ticket-body{background:#fffefa;padding:17px 36px 33px;border:1px solid #d1dbc9;border-top:0;border-radius:0 0 22px 22px}
.v331-auth-alert{padding:11px 13px;border:1px solid #efd0c8;border-radius:10px;background:#fff4ef;color:#9b4231;font-size:13px;margin:4px 0 14px}
.v331-auth-form{display:flex;flex-direction:column;gap:0;margin:0}
.v331-auth-form>label,.v331-password-label label{display:block;color:#3e5a47;font-size:13px;font-weight:850;margin:0 0 8px}
.v331-auth-form>label:not(:first-of-type){margin-top:17px}
.v331-auth-form>input,.v331-password-field input{
  display:block;width:100%;height:49px;min-width:0;border:1px solid #d4dfd1;border-radius:11px;
  background:#f7f9f3;color:#1f4030;font-size:14px;
  padding:0 14px;box-shadow:none;outline:0;
}
.v331-auth-form input:focus{border-color:#5e9673;box-shadow:0 0 0 3px rgba(74,136,92,.12)}
.v331-password-label{margin-top:17px}
.v331-password-field{position:relative}
.v331-password-field input{padding-right:70px}
.v331-password-field button{position:absolute;right:10px;top:50%;transform:translateY(-50%);background:none;border:0;padding:6px 8px;color:#437351;font-size:12px;font-weight:800;cursor:pointer}
.v331-auth-submit{
  display:flex;align-items:center;justify-content:center;gap:15px;
  width:100%;height:51px;margin-top:24px;
  color:#fffef5;background:#25553e;border:1px solid #25553e;border-radius:11px;
  font-weight:850;font-size:15px;cursor:pointer;
}
.v331-auth-submit:hover{background:#19442f}
.v331-auth-submit span{font-size:20px;font-weight:400}
.v331-auth-switch{display:flex;justify-content:center;gap:9px;margin-top:24px;align-items:center;font-size:12px;color:#798c7c}
.v331-auth-switch a{color:#2c6743;font-weight:850}
.v331-auth-switch a:hover{text-decoration:underline}
.v331-auth-footnote{width:min(520px,100%);margin:20px auto 0;display:flex;justify-content:space-between;gap:14px;align-items:center;color:#829582;font-size:11px}
.v331-auth-footnote a{color:#416c4d;font-weight:750}
.v331-consents{display:flex;flex-direction:column;gap:10px;margin-top:19px}
.v331-consents label{display:flex;align-items:flex-start;gap:10px;cursor:pointer;font-size:12px;color:#627964}
.v331-consents label input{margin-top:3px;width:16px;height:16px;accent-color:#2a6744;flex:0 0 auto}
.v331-consents a{color:#2b6543;text-decoration:underline;text-underline-offset:3px}
.v331-register-page .v331-ticket-head{min-height:135px}
.v331-register-page .v331-ticket-body{padding-top:13px}
/* Auth pages have no dock; keep floating support accessible but unobtrusive. */
.v331-auth-page .float-actions{right:16px!important;z-index:110!important}

@media(max-width:900px){
  .v331-footer-directory{grid-template-columns:1fr;gap:28px}
  .v331-footer-identity p br{display:none}
  .v331-footer-company{padding-top:28px}
  .v331-company-details{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v331-company-details .v331-company-address{grid-column:1 / -1}
  .v331-footer-bottom{flex-direction:column;align-items:flex-start;gap:10px}
  .v331-footer-legal{justify-content:flex-start}
}
@media(max-width:640px){
  .v331-footer{margin-top:50px}
  .v331-footer-inner{width:calc(100% - 28px)}
  .v331-footer-intro{padding:40px 0 29px;flex-direction:column;align-items:flex-start;gap:20px}
  .v331-footer-intro h2{font-size:29px;letter-spacing:-.7px}
  .v331-footer-intro p{font-size:12px}
  .v331-footer-directory{padding:27px 0;gap:24px}
  .v331-footer-navlinks{gap:9px}
  .v331-footer-navlinks strong{font-size:12px}
  .v331-footer-navlinks a{font-size:11px}
  .v331-footer-logo strong{font-size:22px}
  .v331-company-heading h3{font-size:17px}
  .v331-company-entity{display:none}
  .v331-company-details{grid-template-columns:1fr;gap:9px}
  .v331-company-details .v331-company-address{grid-column:auto}
  .v331-company-details>div{padding:13px 14px}
  .v331-company-details dd{font-size:13px}
  .v331-footer-bottom{padding:19px 0 28px}
  .v331-footer-legal{gap:11px 15px}
  .v331-auth-page .v331-auth-header{min-height:71px;width:calc(100% - 34px)}
  .v331-auth-brand strong{font-size:20px}
  .v331-auth-brand small{display:none}
  .v331-auth-main{width:calc(100% - 28px);margin:12px auto 60px}
  .v331-auth-main>h1{font-size:clamp(31px,8.5vw,40px);letter-spacing:-1.2px}
  .v331-auth-subtitle{font-size:12px;max-width:330px;margin:9px auto 22px}
  .v331-ticket-head{padding:22px 24px;min-height:126px}
  .v331-ticket-stamp{width:66px;height:66px;flex-basis:66px}
  .v331-ticket-stamp strong{font-size:25px}
  .v331-ticket-stamp span,.v331-ticket-stamp small{font-size:7px}
  .v331-ticket-heading h2{font-size:23px}
  .v331-ticket-heading small{font-size:9px}
  .v331-ticket-heading p{font-size:11px}
  .v331-ticket-body{padding:12px 22px 27px}
  .v331-auth-footnote{font-size:10px;flex-wrap:wrap;justify-content:center}
  .v331-auth-page .float-actions{top:auto!important;bottom:10px!important;right:10px!important;transform:none!important}
}
@media(max-width:380px){
  .v331-footer-navlinks{grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}
  .v331-auth-main{width:calc(100% - 20px)}
  .v331-ticket-head{padding:19px 20px}
  .v331-ticket-body{padding:11px 17px 24px}
  .v331-auth-pretitle{letter-spacing:1px;font-size:9px;gap:6px}
  .v331-auth-line{width:15px}
}
