
:root{
  --bhs-forest:#103a31;--bhs-forest-950:#071d18;--bhs-forest-900:#0a2a23;--bhs-forest-800:#0f352c;--bhs-forest-700:#17473b;
  --bhs-gold:#cfa54f;--bhs-gold-700:#b9852e;--bhs-gold-100:#f7efd9;
  --bhs-paper:#f5f7f6;--bhs-surface:#ffffff;--bhs-surface-2:#eef3f0;--bhs-line:#d8e1dc;
  --bhs-ink:#18231f;--bhs-muted:#6d7a75;--bhs-muted-2:#8b9792;--bhs-ok:#237451;--bhs-bad:#a4473e;
  --bhs-shadow:0 22px 70px rgba(7,29,24,.11);--bhs-radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--bhs-paper)}
body{margin:0;background:var(--bhs-paper);color:var(--bhs-ink);font-family:"Montserrat",Arial,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
button,input,select{font:inherit}.hidden{display:none!important}
button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid rgba(207,165,79,.32);outline-offset:2px}
a{color:inherit;text-decoration:none}.icon{width:18px;height:18px;display:block;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.logo{display:flex;align-items:center;gap:11px;font-weight:900;letter-spacing:-1.2px}.logo-word{font-size:21px}.logo-word span{color:var(--bhs-gold)}
.logo-mark{width:31px;height:31px;border:1px solid rgba(207,165,79,.75);display:grid;place-items:center;transform:rotate(45deg);color:var(--bhs-gold);font-size:11px;font-weight:900}.logo-mark span{transform:rotate(-45deg)}
.btn{border:1px solid transparent;border-radius:11px;min-height:44px;padding:11px 16px;font-weight:750;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.16s ease}
.btn:hover{transform:translateY(-1px)}.btn:disabled{opacity:.55;cursor:not-allowed;transform:none}
.btn.primary{background:var(--bhs-forest);color:#fff;box-shadow:0 8px 24px rgba(16,58,49,.18)}
.btn.gold{background:var(--bhs-gold);color:#17372f;box-shadow:0 8px 24px rgba(207,165,79,.2)}
.btn.soft{background:#fff;color:var(--bhs-forest);border-color:var(--bhs-line)}
.btn.ghost{background:transparent;color:inherit;border-color:rgba(255,255,255,.16)}
.btn.danger{background:#fff5f3;color:var(--bhs-bad);border-color:#eed7d3}
.field label,label{display:block;font-size:11px;font-weight:750;color:#47554f;margin:0 0 7px}
input,select{width:100%;min-height:45px;padding:12px 13px;border:1px solid #cad6d0;border-radius:10px;background:#fff;color:var(--bhs-ink)}
input:focus,select:focus{border-color:var(--bhs-forest);box-shadow:0 0 0 3px rgba(16,58,49,.08)}
.msg{font-size:11.5px;line-height:1.5;border:1px solid var(--bhs-line);background:#f2f5f3;color:var(--bhs-muted);padding:11px 12px;border-radius:10px;margin-top:12px}.msg.bad{background:#fff4f2;border-color:#efd7d3;color:var(--bhs-bad)}

/* Marketing */
.marketing{min-height:100vh;background:var(--bhs-paper)}
.marketing-head{position:sticky;top:0;z-index:40;background:rgba(7,29,24,.96);backdrop-filter:blur(18px);color:#fff;border-bottom:1px solid rgba(255,255,255,.08)}
.marketing-head-inner{max-width:1240px;margin:auto;padding:16px 24px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.marketing-nav{display:flex;align-items:center;gap:6px}.marketing-nav a,.marketing-nav button{font-size:11px;font-weight:650;color:#b8cbc3;padding:9px 11px;border-radius:9px;background:none;border:0;cursor:pointer}.marketing-nav a:hover,.marketing-nav button:hover{color:#fff;background:rgba(255,255,255,.055)}
.marketing-menu-btn{display:none;background:none;border:0;color:#fff;padding:7px}
.hero-v2{background:var(--bhs-forest-950);color:#fff;position:relative;overflow:hidden}
.hero-v2:before{content:"";position:absolute;inset:0;opacity:.1;background-image:linear-gradient(rgba(255,255,255,.22) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.22) 1px,transparent 1px);background-size:64px 64px}
.hero-v2-inner{position:relative;z-index:2;max-width:1240px;margin:auto;padding:58px 24px 66px;display:grid;grid-template-columns:minmax(0,1.06fr) minmax(360px,.74fr);gap:70px;align-items:center}
.hero-kicker{font-size:12px;color:#a8c0b6;font-weight:650;margin-bottom:14px}
.hero-title{font-size:clamp(44px,5.4vw,74px);line-height:.98;letter-spacing:-4px;margin:0 0 22px;max-width:760px;font-weight:850}
.hero-copy{font-size:16px;line-height:1.72;color:#c7d7d1;max-width:660px;margin:0}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:27px}
.hero-proof{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:34px;border-top:1px solid rgba(255,255,255,.1);border-bottom:1px solid rgba(255,255,255,.1)}
.hero-proof div{padding:15px 16px 15px 0;border-right:1px solid rgba(255,255,255,.1)}.hero-proof div+div{padding-left:16px}.hero-proof div:last-child{border-right:0}
.hero-proof b{display:block;font-size:11px;margin-bottom:4px}.hero-proof span{font-size:9.5px;line-height:1.45;color:#89a69a}
.contract-stack{position:relative;min-height:500px}
.contract-paper{position:absolute;background:#fff;color:var(--bhs-ink);box-shadow:0 26px 70px rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.55);border-radius:4px}
.contract-paper.back{width:82%;height:400px;right:0;top:36px;transform:rotate(4deg);opacity:.65}
.contract-paper.front{width:88%;min-height:430px;right:7%;top:0;padding:28px}
.contract-headline{font-size:15px;color:var(--bhs-forest);font-weight:800;margin-bottom:20px}.contract-line{height:6px;border-radius:4px;background:#e5ebe8;margin:9px 0}.contract-line.short{width:58%}.contract-line.med{width:77%}
.contract-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}.contract-meta div{padding:12px;background:#f4f7f5;border:1px solid #e0e7e3}.contract-meta span{display:block;font-size:8px;color:#87938e}.contract-meta b{font-size:10px;color:#27342f}
.contract-seal{position:absolute;right:24px;bottom:24px;width:98px;height:98px;border:1px solid var(--bhs-gold);border-radius:50%;display:grid;place-items:center;text-align:center;color:var(--bhs-gold-700);font-weight:800;font-size:9px;line-height:1.2;transform:rotate(-8deg)}
.login-panel{background:#fff;color:var(--bhs-ink);border-radius:18px;padding:28px;box-shadow:var(--bhs-shadow);border:1px solid #e8eeeb;margin-top:18px}
.login-panel h2{font-size:22px;letter-spacing:-.7px;color:var(--bhs-forest-900);margin:0 0 6px}.login-panel p{font-size:11.5px;color:var(--bhs-muted);line-height:1.55;margin:0 0 18px}
.login-panel .btn{width:100%;margin-top:16px}
.marketing-body{max-width:1240px;margin:auto;padding:60px 24px 78px}.section-head{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:end;margin-bottom:28px}.section-head h2{font-size:32px;line-height:1.08;letter-spacing:-1.5px;color:var(--bhs-forest-900);margin:0}.section-head p{font-size:13px;color:var(--bhs-muted);line-height:1.7;margin:0}
.feature-ledger{border-top:1px solid var(--bhs-line)}.feature-row{display:grid;grid-template-columns:160px 1fr 1fr;gap:26px;padding:23px 0;border-bottom:1px solid var(--bhs-line);align-items:start}.feature-row b{font-size:12px;color:var(--bhs-forest)}.feature-row strong{font-size:16px;color:var(--bhs-ink);letter-spacing:-.3px}.feature-row p{margin:0;font-size:11.5px;line-height:1.65;color:var(--bhs-muted)}

/* App */
.app-shell{min-height:100vh;display:grid;grid-template-columns:272px minmax(0,1fr);background:var(--bhs-paper)}
.sidebar{position:sticky;top:0;height:100vh;background:var(--bhs-forest-950);color:#fff;padding:22px 18px;border-right:1px solid rgba(255,255,255,.08)}
.sidebar-brand{padding:2px 7px 22px;border-bottom:1px solid rgba(255,255,255,.08)}
.sidebar-tenant{margin:14px 7px 22px;padding:13px 14px;background:rgba(255,255,255,.045);border-left:2px solid var(--bhs-gold);font-size:10.5px}.sidebar-tenant b{display:block;font-size:12px;margin-bottom:4px}.sidebar-tenant span{color:#89a399}
.nav-group-label{font-size:9px;color:#628177;font-weight:700;padding:0 11px;margin:20px 0 7px}
.app-nav-btn{width:100%;min-height:42px;display:flex;align-items:center;gap:11px;border:0;background:transparent;color:#aabeb6;border-radius:9px;padding:10px 11px;margin:2px 0;font-size:11.5px;font-weight:650;cursor:pointer;text-align:left}.app-nav-btn:hover{background:rgba(255,255,255,.055);color:#fff}.app-nav-btn.active{background:#fff;color:var(--bhs-forest-900);box-shadow:0 8px 22px rgba(0,0,0,.12)}.app-nav-btn.active .nav-dot{background:var(--bhs-gold);border-color:var(--bhs-gold)}
.nav-dot{width:8px;height:8px;border:1px solid #658278;transform:rotate(45deg);flex:0 0 auto}
.sidebar-footer{position:absolute;left:18px;right:18px;bottom:17px;border-top:1px solid rgba(255,255,255,.08);padding-top:9px}
.app-main{min-width:0;padding:32px 38px 80px}
.app-mobile-head{display:none}
.page-head{max-width:1450px;margin:0 auto 26px;display:flex;align-items:center;justify-content:space-between;gap:20px}.page-head h1{margin:0;font-size:29px;letter-spacing:-1.2px;color:var(--bhs-forest-900)}.page-head p{font-size:11.5px;color:var(--bhs-muted);margin:6px 0 0}
.page-content{max-width:1450px;margin:auto}
.metrics-strip{display:grid;grid-template-columns:1.15fr repeat(3,1fr);background:#fff;border:1px solid var(--bhs-line);border-radius:16px;overflow:hidden;margin-bottom:22px}.metric{padding:19px 21px;min-height:112px;border-right:1px solid var(--bhs-line);position:relative}.metric:last-child{border-right:0}.metric:first-child{background:var(--bhs-forest);color:#fff}.metric small{display:block;font-size:10px;color:var(--bhs-muted);font-weight:650;line-height:1.4}.metric:first-child small{color:#b5cac1}.metric strong{display:block;font-size:33px;letter-spacing:-1.5px;margin-top:12px;color:var(--bhs-forest-900)}.metric:first-child strong{color:#fff}.metric:after{content:"";position:absolute;right:17px;top:17px;width:7px;height:7px;border-radius:50%;background:#cfd8d4}.metric:first-child:after{background:var(--bhs-gold)}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,.75fr);gap:20px}.panel{background:#fff;border:1px solid var(--bhs-line);border-radius:16px;overflow:hidden}.panel-head{padding:17px 19px;border-bottom:1px solid var(--bhs-line);display:flex;align-items:center;justify-content:space-between;gap:14px}.panel-head h2{font-size:14px;letter-spacing:-.25px;margin:0;color:var(--bhs-forest-900)}.panel-body{padding:18px}
.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick-action{border:1px solid var(--bhs-line);background:#fff;border-radius:12px;padding:15px;text-align:left;cursor:pointer;color:var(--bhs-ink)}.quick-action:hover{border-color:#b5c5be;background:#fbfcfb}.quick-action svg{color:var(--bhs-forest);margin-bottom:18px}.quick-action b{display:block;font-size:11.5px;margin-bottom:3px}.quick-action span{font-size:9.5px;color:var(--bhs-muted);line-height:1.4}
.security-note{margin-top:14px;border-left:3px solid var(--bhs-gold);background:#f8f4ea;padding:14px}.security-note b{font-size:11px;color:#785a1f}.security-note p{font-size:9.8px;color:#786f5e;line-height:1.55;margin:5px 0 0}
.doc-list{display:grid}.doc-row{display:grid;grid-template-columns:minmax(220px,1.8fr) .75fr .75fr .6fr .85fr auto;gap:14px;align-items:center;padding:14px 18px;border-bottom:1px solid #edf1ef}.doc-row:last-child{border-bottom:0}.doc-row:hover{background:#fbfcfb}.doc-title b{display:block;font-size:11.5px}.doc-title small{display:block;color:#8b9792;font-size:9px;margin-top:4px}.doc-cell{font-size:10px;color:#596760}.doc-actions{display:flex;gap:7px}.doc-actions .btn{min-height:35px;padding:7px 10px;font-size:9.5px}
.status{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:6px 9px;background:#eef3f0;color:var(--bhs-forest);font-size:9px;font-weight:750}.status:before{content:"";width:6px;height:6px;border-radius:50%;background:#849991}.status.completed{background:#e9f5ee;color:var(--bhs-ok)}.status.completed:before{background:var(--bhs-ok)}.status.cancelled{background:#fff1ef;color:var(--bhs-bad)}.status.cancelled:before{background:var(--bhs-bad)}
.empty{padding:46px 24px;text-align:center;color:var(--bhs-muted);font-size:11px}.empty:before{content:"";display:block;width:28px;height:34px;border:1px solid #c8d2cd;box-shadow:6px 6px 0 #edf1ef;margin:0 auto 13px}
.toolbar{display:flex;gap:10px;align-items:center;padding:15px 17px;border-bottom:1px solid var(--bhs-line);background:#fbfcfb}.toolbar .search{max-width:360px}.toolbar select{width:auto;min-width:160px}
.integration-card{display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;padding:22px}.integration-icon{width:54px;height:54px;border-radius:13px;background:var(--bhs-forest);color:var(--bhs-gold);display:grid;place-items:center;font-weight:900}.integration-card h3{font-size:13px;margin:0;color:var(--bhs-forest-900)}.integration-card p{font-size:10.5px;line-height:1.6;color:var(--bhs-muted);margin:5px 0}.scope-list{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.scope{font-size:8.8px;padding:5px 7px;border-radius:999px;background:#eff4f1;color:#52655d}
.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.account-card{padding:21px}.account-card h3{font-size:13px;margin:0 0 16px;color:var(--bhs-forest-900)}.account-line{display:grid;grid-template-columns:120px 1fr;gap:14px;padding:10px 0;border-bottom:1px solid #edf1ef;font-size:10.5px}.account-line:last-child{border-bottom:0}.account-line span:first-child{color:var(--bhs-muted)}.account-line b{font-weight:650}

/* Mobile drawer/bottom nav */
.mobile-drawer{display:none}.mobile-backdrop{display:none}.bottom-nav{display:none}body:not(.signed-in) .bottom-nav{display:none!important}

/* Wizard */
.modal{position:fixed;inset:0;z-index:100;background:rgba(4,18,15,.64);backdrop-filter:blur(5px);display:flex;justify-content:flex-end}
.modal-card{width:min(820px,94vw);height:100%;overflow:auto;background:#fff;border-radius:22px 0 0 22px;box-shadow:-30px 0 80px rgba(0,0,0,.25);padding:28px 30px 36px}
.modal-head{display:flex;justify-content:space-between;gap:16px;align-items:center;padding-bottom:15px;border-bottom:1px solid var(--bhs-line)}.modal-head h2{font-size:22px;letter-spacing:-.7px;margin:0;color:var(--bhs-forest-900)}.close{border:1px solid var(--bhs-line);background:#fff;border-radius:10px;padding:9px 12px;font-weight:650;cursor:pointer;color:#57655f}
.wizard-steps{display:grid;grid-template-columns:repeat(3,1fr);margin:20px 0 24px;border-bottom:1px solid var(--bhs-line)}.wizard-step{padding:0 0 12px;font-size:10px;color:#8a9691;font-weight:700;position:relative}.wizard-step.active{color:var(--bhs-forest)}.wizard-step.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--bhs-gold)}
.wizard-page{display:none}.wizard-page.active{display:block}
.dropzone{border:1.5px dashed #b6c6be;border-radius:14px;background:#f8faf9;padding:28px;text-align:center;cursor:pointer}.dropzone.drag{border-color:var(--bhs-gold);background:#fbf7ee}.dropzone b{display:block;font-size:12px;color:var(--bhs-forest);margin-bottom:5px}.dropzone span{font-size:10px;color:var(--bhs-muted)}.dropzone input{display:none}
.file-list{margin-top:12px;display:grid;gap:7px}.file-item{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--bhs-line);border-radius:10px;padding:10px 12px}.file-item b{font-size:10.5px}.file-item span{font-size:9px;color:var(--bhs-muted)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.signer-list{display:grid;gap:10px}.signer-card{border:1px solid var(--bhs-line);border-radius:13px;padding:14px;background:#fbfcfb}.signer-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px}.signer-card-head b{font-size:11px}.signer-fields{display:grid;grid-template-columns:1.25fr 1.25fr .85fr 1fr .55fr;gap:9px}.signer-fields label{font-size:9.5px}.signer-card .check{display:flex;align-items:flex-start;gap:8px;margin-top:11px;font-size:9.5px;color:var(--bhs-muted)}.signer-card .check input{width:auto;min-height:auto;margin-top:2px}
.wizard-summary{border:1px solid var(--bhs-line);border-radius:13px;background:#fbfcfb;padding:16px;margin-top:16px}.wizard-summary h4{font-size:11px;margin:0 0 11px}.summary-line{display:flex;justify-content:space-between;gap:18px;font-size:10px;padding:7px 0;border-bottom:1px solid #edf1ef}.summary-line:last-child{border-bottom:0}.summary-line span{color:var(--bhs-muted)}
.modal-foot{position:sticky;bottom:-36px;background:#fff;margin:24px -30px -36px;padding:14px 30px 22px;border-top:1px solid var(--bhs-line);display:flex;justify-content:space-between;gap:10px}.modal-foot-right{display:flex;gap:9px}

@media(max-width:1050px){
  .hero-v2-inner{grid-template-columns:1fr;gap:38px}.contract-stack{min-height:420px;max-width:620px}.contract-paper.front{left:0;right:auto;width:78%}.contract-paper.back{left:12%;right:auto;width:74%}
  .app-shell{grid-template-columns:230px minmax(0,1fr)}.app-main{padding:28px 24px 76px}.dashboard-grid{grid-template-columns:1fr}.doc-row{grid-template-columns:minmax(200px,1.5fr) .7fr .7fr .55fr auto}.doc-row .created-cell{display:none}
}
@media(max-width:760px){
  body{font-size:13px}.marketing-head-inner{padding:13px 16px}.marketing-nav{display:none}.marketing-menu-btn{display:block}.hero-v2-inner{padding:34px 16px 42px;display:block}.hero-kicker{font-size:10px;margin-bottom:10px}.hero-title{font-size:38px;letter-spacing:-2.6px;line-height:1.02}.hero-copy{font-size:13px;line-height:1.65}.hero-actions{margin-top:20px}.hero-actions .btn{flex:1}.hero-proof{grid-template-columns:1fr;margin-top:24px}.hero-proof div,.hero-proof div+div{padding:12px 0;border-right:0;border-bottom:1px solid rgba(255,255,255,.09)}.hero-proof div:last-child{border-bottom:0}.contract-stack{display:none}.login-panel{margin-top:26px}.contract-paper.front{width:92%;padding:22px}.contract-paper.back{width:84%;height:330px}.contract-seal{width:78px;height:78px;font-size:8px}.login-panel{margin-top:28px;padding:22px 18px}.marketing-body{padding:40px 16px 52px}.section-head{grid-template-columns:1fr;gap:12px}.section-head h2{font-size:27px}.feature-row{grid-template-columns:1fr;gap:8px;padding:18px 0}
  .app-shell{display:block}.sidebar{display:none}.app-main{padding:76px 14px 88px}.app-mobile-head{display:flex;position:fixed;left:0;right:0;top:0;height:60px;z-index:55;background:rgba(7,29,24,.97);color:#fff;align-items:center;justify-content:space-between;padding:0 14px;border-bottom:1px solid rgba(255,255,255,.08);backdrop-filter:blur(16px)}.app-mobile-head .logo-mark{display:none}.app-mobile-head .logo-word{font-size:18px}.mobile-tenant{font-size:9px;color:#9ab1a7;margin-top:2px}.mobile-menu-trigger{border:0;background:rgba(255,255,255,.07);color:#fff;width:38px;height:38px;border-radius:10px;display:grid;place-items:center}
  .page-head{margin-bottom:17px;align-items:flex-start}.page-head h1{font-size:23px}.page-head p{font-size:10px}.page-head>.btn{display:none}.metrics-strip{grid-template-columns:1fr 1fr}.metric{min-height:98px;padding:16px}.metric:nth-child(2){border-right:0}.metric:nth-child(-n+2){border-bottom:1px solid var(--bhs-line)}.metric strong{font-size:28px}.dashboard-grid{gap:14px}.quick-grid{grid-template-columns:1fr 1fr}.panel-head{padding:15px}.panel-body{padding:14px}.toolbar{display:grid;grid-template-columns:1fr 120px;padding:12px}.toolbar .search,.toolbar select{max-width:none;width:100%;min-width:0}
  .doc-list{gap:10px;padding:10px;background:#f6f8f7}.doc-row{display:grid;grid-template-columns:1fr auto;gap:9px 12px;padding:14px;border:1px solid var(--bhs-line);border-radius:13px;background:#fff}.doc-row:hover{background:#fff}.doc-title{grid-column:1}.status-cell{grid-column:2;grid-row:1}.origin-cell,.signatures-cell,.created-cell{display:block!important;grid-column:1/-1;font-size:9.5px}.origin-cell:before{content:"Origem: ";color:#929d98}.signatures-cell:before{content:"Assinaturas: ";color:#929d98}.created-cell:before{content:"Criado em: ";color:#929d98}.doc-actions{grid-column:1/-1}.doc-actions .btn{flex:1}
  .integration-card{grid-template-columns:auto 1fr;padding:17px}.integration-card>.btn{grid-column:1/-1;width:100%}.account-grid{grid-template-columns:1fr}
  .mobile-backdrop{display:block;position:fixed;inset:0;background:rgba(2,12,10,.52);z-index:69}.mobile-drawer{display:block;position:fixed;top:0;right:0;bottom:0;width:min(310px,88vw);background:var(--bhs-forest-950);color:#fff;z-index:70;padding:22px 16px;box-shadow:-20px 0 60px rgba(0,0,0,.28)}.mobile-drawer-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:16px;border-bottom:1px solid rgba(255,255,255,.08)}.mobile-drawer .app-nav-btn{font-size:12px}.mobile-drawer-close{border:0;background:rgba(255,255,255,.08);color:#fff;width:36px;height:36px;border-radius:10px}
  .bottom-nav{position:fixed;z-index:60;left:10px;right:10px;bottom:10px;height:64px;border:1px solid rgba(255,255,255,.08);background:rgba(7,29,24,.96);backdrop-filter:blur(18px);border-radius:17px;display:grid;grid-template-columns:repeat(5,1fr);box-shadow:0 16px 42px rgba(0,0,0,.25);padding:5px}.bottom-nav button{border:0;background:transparent;color:#8fa79d;border-radius:12px;display:grid;place-items:center;gap:2px;font-size:8px;font-weight:650}.bottom-nav button.active{color:#fff;background:rgba(255,255,255,.07)}.bottom-nav button.new-doc{background:var(--bhs-gold);color:#17372f}.bottom-nav .icon{width:19px;height:19px}
  .modal{align-items:flex-end}.modal-card{width:100%;height:auto;max-height:94vh;border-radius:18px 18px 0 0;padding:20px 16px 28px}.modal-head h2{font-size:19px}.wizard-steps{margin-top:16px}.wizard-step{font-size:9px}.form-grid{grid-template-columns:1fr}.signer-fields{grid-template-columns:1fr}.modal-foot{bottom:-28px;margin:20px -16px -28px;padding:12px 16px 18px}.modal-foot .btn{flex:1}.modal-foot-right{flex:2}
}
@media(max-width:430px){
  .hero-title{font-size:34px;letter-spacing:-2.2px}.hero-actions{display:grid;grid-template-columns:1fr}.contract-stack{min-height:330px}.contract-paper.front{width:96%}.contract-paper.back{width:89%;height:300px}.login-panel h2{font-size:20px}.metrics-strip{grid-template-columns:1fr 1fr}.quick-grid{grid-template-columns:1fr}.account-line{grid-template-columns:1fr;gap:4px}.bottom-nav{left:7px;right:7px;bottom:7px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
