.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-bottom: 18px;
  padding: 3px;
  border: 1px solid #d4d8d1;
  border-radius: 4px;
  background: #e9ebe6;
}

.auth-tabs button {
  height: 34px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #737a74;
  font-size: 11px;
  font-weight: 900;
}

.auth-tabs button.active {
  background: #fff;
  color: #202521;
  box-shadow: 0 1px 4px #ccd1cb;
}

.form-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.onboarding-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 16px;
  padding: 20px 22px;
  border: 1px solid #cfe58e;
  border-radius: 6px;
  background: #eff9d4;
}

.onboarding-banner h2 {
  margin: 0;
  font-size: 20px;
}

.onboarding-banner p:last-child {
  margin: 7px 0 0;
  color: #65704b;
  font-size: 13px;
}

.onboarding-banner button {
  flex: 0 0 auto;
}

.stripe-requirements {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.stripe-requirements section {
  border-left: 3px solid rgba(255, 255, 255, .45);
  padding-left: 12px;
}

.stripe-requirements strong {
  display: block;
  font-size: 12px;
}

.stripe-requirements ul {
  margin: 4px 0 0;
  padding-left: 18px;
}

.stripe-requirements li {
  margin: 2px 0;
}

@media (max-width: 720px) {
  .form-split {
    grid-template-columns: 1fr;
  }

  .onboarding-banner {
    align-items: stretch;
    flex-direction: column;
  }
}
.payment-choice{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0;padding:0;border:0}.payment-choice legend{margin-bottom:7px;color:#4d534f;font-size:12px;font-weight:800}.payment-choice label{position:relative;display:block}.payment-choice input{position:absolute;opacity:0;pointer-events:none}.payment-choice span{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:54px;padding:0 13px;border:1px solid #cfd4cc;border-radius:4px;background:#fff;color:#343a36}.payment-choice small{max-width:150px;color:#7b827c;font-weight:700;line-height:1.25;text-align:right}.payment-choice .recommended-choice small{color:#536b17;font-weight:900}.payment-choice input:checked+span{border-color:#617a24;background:#f1f8df;box-shadow:0 0 0 2px rgba(185,242,39,.22)}.cost-warning{margin:-8px 0 14px;padding:12px 14px;border-left:3px solid #c38a14;background:#fff5d9;color:#66511e;font-size:12px;line-height:1.5}.cost-warning strong{display:block;color:#49390f}@media(max-width:720px){.payment-choice{grid-template-columns:1fr}.payment-choice span{min-height:58px}.payment-choice small{max-width:170px}}
.ach-benefit{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:start;gap:12px;padding:14px 15px;border:1px solid #c6dc8d;border-left:3px solid #789d1b;border-radius:5px;background:#f3f8e6;color:#46503f}.ach-benefit-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#17221c;color:#b9f227;font-size:17px;font-weight:950}.ach-benefit strong{display:block;color:#293320;font-size:13px}.ach-benefit p{margin:4px 0 0;font-size:12px;line-height:1.5}@media(max-width:720px){.ach-benefit{grid-template-columns:34px minmax(0,1fr);gap:10px;padding:13px}.ach-benefit-mark{width:34px;height:34px;font-size:15px}}

.stripe-status-line{display:flex;align-items:flex-start;gap:13px;margin:18px 0 22px}.stripe-status-line h2{margin:0 0 6px}.stripe-status-line p{margin:0;color:#6f7671;line-height:1.5}.status-dot{flex:0 0 auto;width:12px;height:12px;margin-top:7px;border-radius:50%;background:#c38a14;box-shadow:0 0 0 5px #fff1c8}.status-dot.ready{background:#7fa51d;box-shadow:0 0 0 5px #e8f5c7}.stripe-settings article{display:flex;flex-direction:column;align-items:flex-start}.stripe-settings .primary,.stripe-dashboard-link{margin-top:auto}.stripe-dashboard-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.setup-steps{display:grid;gap:18px;margin:16px 0 0;padding:0;list-style:none;counter-reset:setup}.setup-steps li{display:grid;grid-template-columns:28px 1fr;column-gap:10px;counter-increment:setup}.setup-steps li:before{display:grid;place-items:center;grid-row:1/3;width:26px;height:26px;border-radius:50%;background:#19231d;color:#b9f227;font-size:11px;font-weight:900;content:counter(setup)}.setup-steps strong{font-size:13px}.setup-steps span{margin-top:3px;color:#737a75;font-size:12px;line-height:1.45}.connection-note{display:grid;grid-template-columns:180px 1fr;gap:18px;margin-top:14px;padding:18px 20px;border:1px solid var(--line);border-radius:5px;background:#fff;color:#68706a;font-size:12px;line-height:1.55}.connection-note strong{color:#252a26;font-size:13px}@media(max-width:720px){.connection-note{grid-template-columns:1fr;gap:6px}}
.sync-note{border-left:3px solid #b9f227}

.app-loader{position:fixed;z-index:200;inset:0;display:grid;place-content:center;justify-items:center;gap:22px;background:#18251d;color:#fff;transition:opacity .32s ease,visibility .32s ease}.app-loader.loader-complete{opacity:0;visibility:hidden}.loader-brand{display:flex;align-items:center;gap:12px;font-size:16px;font-weight:950;line-height:1}.loader-brand b{display:block;margin-top:3px;color:#a9b4ac;font-size:10px}.loader-brand .brand-mark{animation:loader-mark .8s cubic-bezier(.2,.8,.2,1) both}.loader-track{width:190px;height:3px;overflow:hidden;background:#35423a}.loader-track i{display:block;width:45%;height:100%;background:#b9f227;animation:loader-run .9s ease-in-out infinite}.app-loader p{margin:0;color:#aab5ad;font-size:11px;font-weight:750;letter-spacing:.04em}

/* Responsive motion and feedback */
.app-ready .topbar,.app-ready .view:not([hidden]){animation:rise-in .38s cubic-bezier(.2,.75,.25,1) both}.view-enter{animation:view-in .26s ease-out both}.metrics article{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.metrics article:hover{transform:translateY(-3px);border-color:#b7c0b7;box-shadow:0 10px 24px rgba(22,31,25,.08)}button,.secondary,.primary{transition:transform .14s ease,box-shadow .14s ease,background-color .14s ease,opacity .14s ease}button:not(:disabled):active,.primary:not(:disabled):active,.secondary:not(:disabled):active{transform:translateY(1px) scale(.985)}.nav-item:before{position:absolute;left:0;width:3px;height:0;border-radius:0 3px 3px 0;background:#b9f227;content:"";transition:height .2s ease}.nav-item{position:relative}.nav-item.active:before{height:24px}.invoice-row{cursor:pointer;transition:background-color .14s ease,transform .14s ease}.invoice-row:hover{background:#f6f8f3}.invoice-row:focus-visible{outline:2px solid #8bb615;outline-offset:-2px}.row-action.action-success{background:#b9f227;color:#182019;transform:scale(1.12)}.invoice-status{transition:background-color .2s ease,color .2s ease}.status-dot.ready,.pulse{animation:status-breathe 2.4s ease-in-out infinite}.stripe-requirements section{animation:requirement-in .32s ease-out both}.stripe-requirements section:nth-child(2){animation-delay:.08s}.setup-steps li:before{transition:transform .18s ease}.setup-steps li:hover:before{transform:scale(1.08)}

.enhanced-empty{display:grid;justify-items:center;gap:8px;padding:46px 20px!important}.enhanced-empty .empty-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:6px;background:#17221c;color:#b9f227;font-size:13px;font-weight:950;box-shadow:0 8px 20px rgba(23,34,28,.16)}.enhanced-empty strong{font-size:16px}.enhanced-empty p{margin:0 0 8px;color:#778078;font-size:12px}.enhanced-empty .primary{height:36px}
.customer-empty{grid-column:1/-1;min-height:280px;border:1px solid var(--line);border-radius:6px;background:#fff}

.skeleton-table{display:grid;gap:10px;padding:18px}.skeleton-table i{height:48px;border-radius:4px;background:linear-gradient(90deg,#edf0eb 25%,#f7f8f5 45%,#edf0eb 65%);background-size:240% 100%;animation:skeleton 1.15s linear infinite}

.button-spinner{display:inline-block;width:13px;height:13px;margin-right:7px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;vertical-align:-2px;animation:spin .7s linear infinite}

.drawer-backdrop{position:fixed;z-index:80;inset:0;background:rgba(13,19,15,.35);opacity:0;backdrop-filter:blur(2px);transition:opacity .22s ease}.drawer-backdrop.open{opacity:1}.invoice-drawer{position:fixed;z-index:81;top:0;right:0;width:min(430px,100%);height:100dvh;padding:26px;background:#fff;box-shadow:-18px 0 48px rgba(10,18,12,.18);transform:translateX(105%);transition:transform .3s cubic-bezier(.2,.75,.2,1);overflow:auto}.invoice-drawer.open{transform:translateX(0)}.drawer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.drawer-head h2{margin:3px 0 0;font-size:24px}.drawer-amount{display:flex;align-items:center;justify-content:space-between;margin:30px 0 8px;padding-bottom:22px;border-bottom:1px solid #e4e8e2}.drawer-amount>span:first-child{font-size:34px;font-weight:950}.drawer-description{color:#667069;line-height:1.55}.payment-timeline{display:grid;margin:28px 0}.timeline-step{position:relative;display:grid;grid-template-columns:24px 1fr;gap:12px;min-height:66px;opacity:0;transform:translateY(5px);animation:timeline-in .28s ease forwards;animation-delay:var(--delay)}.timeline-step:not(:last-child):before{position:absolute;top:17px;bottom:-1px;left:7px;width:2px;background:#dfe4de;content:""}.timeline-step.complete:not(:last-child):before{background:#b9f227}.timeline-step i{position:relative;z-index:1;width:16px;height:16px;border:3px solid #d5dbd4;border-radius:50%;background:#fff}.timeline-step.complete i{border-color:#88ad24;background:#b9f227;box-shadow:0 0 0 4px #eff8d8}.timeline-step strong,.timeline-step small{display:block}.timeline-step small{margin-top:4px;color:#7a827c}.drawer-actions{display:grid;gap:9px}.drawer-actions .secondary{display:flex;align-items:center;justify-content:center;text-decoration:none}.invoice-arrival{animation:invoice-arrival .8s ease-out both}

.success-burst{position:fixed;z-index:100;left:50%;top:48%;pointer-events:none}.success-burst i{position:absolute;width:8px;height:14px;border-radius:2px;background:#b9f227;transform:rotate(calc(var(--i)*25deg)) translateY(-8px);animation:burst .9s cubic-bezier(.15,.7,.2,1) forwards}.success-burst i:nth-child(3n){background:#17221c}.success-burst i:nth-child(3n+1){background:#f2c84b}

.tour-shade{position:fixed;z-index:1000;inset:0;background:transparent;pointer-events:none}.tour-focus{position:relative!important;z-index:69!important;box-shadow:0 0 0 4px #b9f227,0 0 0 9999px rgba(5,8,6,.68),0 12px 42px rgba(0,0,0,.28)!important;animation:tour-focus-in .35s cubic-bezier(.2,.8,.2,1) both}.demo-tour{position:fixed;z-index:1002;width:360px;padding:22px;border:1px solid #46564b;border-radius:6px;background:#18251d;color:#fff;box-shadow:0 24px 70px rgba(0,0,0,.4);animation:tour-panel-in .32s cubic-bezier(.2,.8,.2,1) both}.tour-meta{display:flex;align-items:center;justify-content:space-between;gap:12px}.demo-tour .kicker{margin:0;color:#b9f227}.tour-meta span{color:#93a097;font-size:10px;font-weight:850;text-transform:uppercase}.demo-tour h2{margin:8px 0 0;font-size:23px;line-height:1.08}.demo-tour>p:not(.kicker){margin:12px 0 14px;color:#c2cbc4;font-size:13px;line-height:1.55}.demo-tour .tour-hint{margin:0 0 18px!important;padding:9px 11px;border-left:3px solid #b9f227;background:#223229;color:#eef3ef!important;font-size:11px!important;font-weight:750}.tour-progress{height:3px;margin:-22px -22px 20px;overflow:hidden;border-radius:6px 6px 0 0;background:#354239}.tour-progress:after{display:block;width:var(--progress);height:100%;background:#b9f227;content:"";transition:width .4s ease}.tour-controls{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px}.tour-controls .text-button{justify-self:start;color:#c4cec7}.tour-controls .primary{min-width:92px;min-height:40px}.tour-replay{min-height:36px;font-size:11px}.tour-cursor{position:fixed;z-index:1003;width:29px;height:35px;opacity:0;pointer-events:none;filter:drop-shadow(-1px 0 0 #111) drop-shadow(1px 0 0 #111) drop-shadow(0 1px 0 #111) drop-shadow(0 5px 8px rgba(0,0,0,.34));transition:left .68s cubic-bezier(.2,.75,.2,1),top .68s cubic-bezier(.2,.75,.2,1),opacity .18s ease,transform .12s ease}.tour-cursor:before{position:absolute;inset:0;background:#fff;clip-path:polygon(0 0,0 78%,21% 60%,36% 98%,49% 92%,34% 55%,68% 54%);content:""}.tour-cursor:after{position:absolute;top:-11px;left:-11px;width:27px;height:27px;border:2px solid #b9f227;border-radius:50%;opacity:0;content:"";transform:scale(.35)}.tour-cursor.is-visible{opacity:1}.tour-cursor.clicking{transform:scale(.86)}.tour-cursor.clicking:after{animation:tour-click .56s ease-out}.invoice-status.processing{background:#dceaf8;color:#365b7d}

.demo-safety-banner{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:0 0 20px;padding:15px 18px;border:1px solid rgba(255,227,63,.34);border-radius:14px;background:linear-gradient(115deg,rgba(255,227,63,.13),rgba(255,69,216,.07));box-shadow:0 12px 34px rgba(0,0,0,.16)}.demo-safety-banner>div{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:3px 10px}.demo-safety-banner span{grid-row:1/3;padding:7px 9px;border-radius:999px;background:#ffe33f;color:#111;font-size:10px;font-weight:950;letter-spacing:.08em}.demo-safety-banner strong{color:#f6f2e4;font-size:15px}.demo-safety-banner p{grid-column:2;margin:0;color:rgba(246,242,228,.66);font-size:12px;line-height:1.4}.demo-safety-banner .primary{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:42px;padding:0 18px;text-decoration:none}.demo-lock-dialog{width:min(520px,calc(100% - 28px));padding:0!important;border:1px solid rgba(255,227,63,.3)!important;border-radius:20px!important;background:#111117!important;color:#f6f2e4!important;box-shadow:0 30px 90px rgba(0,0,0,.65)!important}.demo-lock-dialog::backdrop{background:rgba(2,2,5,.8);backdrop-filter:blur(8px)}.demo-lock-body{display:grid;gap:16px;padding:30px}.demo-lock-badge{justify-self:start;padding:7px 10px;border-radius:999px;background:#ffe33f;color:#101010;font-size:10px;font-weight:950;letter-spacing:.1em}.demo-lock-body h2{margin:0;color:#f6f2e4;font-size:30px;line-height:1.02}.demo-lock-body>p{margin:0;color:rgba(246,242,228,.68);font-size:16px;line-height:1.55}.demo-lock-proof{display:grid;gap:8px;padding:15px;border:1px solid rgba(168,255,159,.18);border-radius:12px;background:rgba(168,255,159,.06);color:#a8ff9f;font-size:13px;font-weight:800}.demo-lock-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:2px}.demo-lock-actions .primary,.demo-lock-actions .secondary{display:flex;align-items:center;justify-content:center;min-height:48px;text-decoration:none}

@keyframes rise-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes view-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes requirement-in{from{opacity:0;transform:translateX(-6px)}to{opacity:1;transform:none}}@keyframes status-breathe{50%{transform:scale(1.08);box-shadow:0 0 0 7px rgba(185,242,39,.12)}}@keyframes skeleton{to{background-position:-240% 0}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes timeline-in{to{opacity:1;transform:none}}@keyframes invoice-arrival{0%{background:#e9fac0;transform:translateY(-8px)}100%{background:transparent;transform:none}}@keyframes burst{to{opacity:0;transform:rotate(calc(var(--i)*25deg)) translateY(-110px) rotate(180deg)}}
@keyframes loader-mark{0%{opacity:0;transform:scale(.78) rotate(-8deg)}70%{transform:scale(1.07)}100%{opacity:1;transform:none}}@keyframes loader-run{0%{transform:translateX(-110%)}100%{transform:translateX(330%)}}
@keyframes tour-shade-in{from{opacity:0}to{opacity:1}}@keyframes tour-panel-in{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}@keyframes tour-focus-in{0%{box-shadow:0 0 0 0 #b9f227,0 0 0 9999px rgba(5,8,6,.68),0 12px 42px rgba(0,0,0,0)}100%{box-shadow:0 0 0 4px #b9f227,0 0 0 9999px rgba(5,8,6,.68),0 12px 42px rgba(0,0,0,.28)}}@keyframes tour-click{0%{opacity:.9;transform:scale(.35)}100%{opacity:0;transform:scale(1.75)}}

@media(max-width:720px){.invoice-drawer{padding:20px}.drawer-amount>span:first-child{font-size:29px}.metrics article:hover{transform:none}.enhanced-empty{padding:34px 16px!important}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}.status-dot.ready,.pulse{animation:none}}

@media(max-width:720px){body{padding-bottom:70px}.app{display:block}.sidebar{position:fixed;z-index:60;right:0;bottom:0;left:0;top:auto;height:66px;padding:6px 8px calc(6px + env(safe-area-inset-bottom));border-top:1px solid #354139}.sidebar .brand,.sidebar-bottom{display:none}.sidebar nav{display:grid;grid-template-columns:repeat(4,1fr);gap:3px;height:100%;overflow:visible}.nav-item{display:grid;justify-items:center;align-content:center;gap:1px;min-width:0;height:54px;padding:0 3px;font-size:10px;text-align:center}.nav-item span{width:auto;font-size:17px;line-height:1}.nav-item.active{box-shadow:none}.nav-item.active:before{left:50%;top:0;width:24px;height:3px;transform:translateX(-50%)}.main{padding:0 14px 32px}.topbar{position:sticky;z-index:40;top:0;min-height:70px;background:rgba(241,242,238,.95);backdrop-filter:blur(12px)}.topbar h1{font-size:21px}.top-actions{gap:7px}.top-actions .primary{min-height:40px;padding:0 12px;font-size:12px}.welcome{padding:23px}.welcome h2{font-size:30px}.connect-state{width:100%;min-width:0}.metrics{gap:9px}.metrics article{min-height:128px;padding:15px}.login-copy{margin-top:62px}.login-copy h1{font-size:42px}.table-wrap{border-right:0;border-left:0;overscroll-behavior-x:contain}.table-wrap th,.table-wrap td{padding-right:12px;padding-left:12px}.table-wrap td{height:66px}.filters{max-width:100%;overflow:auto}.filter{min-width:58px}.onboarding-banner{padding:18px}.onboarding-banner .primary{width:100%}dialog{width:100%;max-height:calc(100dvh - 18px);margin:auto 0 0;border-radius:8px 8px 0 0;overflow:auto}dialog form{padding:22px 18px calc(20px + env(safe-area-inset-bottom))}.dialog-head{position:sticky;z-index:2;top:-22px;padding:18px 0 12px;background:#fff}.dialog-actions{position:sticky;bottom:-20px;padding:12px 0 20px;background:#fff}.fee-preview{align-items:flex-start;flex-direction:column}.toast{right:14px;bottom:82px;left:14px;text-align:center}}
@media(max-width:390px){.welcome h2{font-size:27px}.metrics{gap:8px}.metrics article{min-height:122px;padding:13px}.metrics strong{font-size:22px}.nav-item{font-size:9px}.top-actions .primary{padding:0 9px}}
@media(max-width:720px){
  .tour-replay{display:none}
  .demo-tour{right:8px;bottom:calc(72px + env(safe-area-inset-bottom));left:8px;width:auto;max-height:min(34dvh,270px);padding:14px 16px 15px;overflow:auto;border-radius:14px;box-shadow:0 18px 54px rgba(0,0,0,.5)}
  .tour-progress{height:2px;margin:-14px -16px 11px;border-radius:14px 14px 0 0}
  .tour-meta{gap:8px}
  .demo-tour .kicker,.tour-meta span{font-size:9px}
  .demo-tour h2{margin-top:5px;font-size:18px;line-height:1.08}
  .demo-tour>p:not(.kicker){margin:7px 0 11px;font-size:13px;line-height:1.42}
  .demo-tour .tour-hint{display:none}
  .tour-controls{grid-template-columns:1fr auto;gap:8px}
  body.dp .demo-tour .tour-controls button{height:44px;min-height:44px;padding:0 14px;font-size:11px}
  .tour-controls .primary{min-width:88px}
  .tour-focus{scroll-margin-top:86px;scroll-margin-bottom:250px}
  .tour-cursor{display:none!important}
}

/* Proposals, automation, and customer-facing identity */
textarea{font:inherit;letter-spacing:0}.form-grid textarea,.branding-fields input{width:100%;min-height:48px;padding:12px 14px;border:1px solid #cfd4cc;border-radius:4px;background:#fff;color:var(--ink);outline:none}.form-grid textarea{resize:vertical;line-height:1.45}.form-grid textarea:focus,.branding-fields input:focus{border-color:#617a24;box-shadow:0 0 0 3px rgba(185,242,39,.22)}.form-grid label>small,.optional{color:#8a918b;font-size:10px;font-weight:700}.proposal-dialog{width:min(820px,calc(100% - 30px))}.proposal-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.proposal-card{display:grid;gap:18px;padding:20px;border:1px solid var(--line);border-radius:5px;background:#fff;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.proposal-card:hover{transform:translateY(-2px);border-color:#bac3b9;box-shadow:0 12px 26px rgba(22,31,25,.08)}.proposal-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.proposal-card-head>small{color:#858d87;font-size:10px}.proposal-card h3{margin:0;font-size:19px}.proposal-card div>p:not(.kicker){display:-webkit-box;overflow:hidden;margin:8px 0 0;color:#737c75;font-size:12px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:2}.proposal-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.proposal-facts span{display:grid;gap:4px}.proposal-facts small{color:#89908b;font-size:9px;text-transform:uppercase}.proposal-facts strong{font-size:12px}.proposal-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.proposal-actions .secondary{display:inline-flex;align-items:center;justify-content:center;line-height:1;text-decoration:none;white-space:nowrap}.proposal-actions .text-button{margin-left:auto;font-size:11px}.proposal-empty{grid-column:1/-1;min-height:320px;border:1px solid var(--line);border-radius:6px;background:#fff}.delivery-note{display:grid;grid-column:1/-1;grid-template-columns:220px 1fr;gap:18px;padding:16px 18px;border-left:3px solid #c38a14;background:#fff5d9;color:#665c43;font-size:12px;line-height:1.5}.delivery-note strong{color:#3f351d}.proposal-filter{height:30px;padding:0 13px;border:0;border-radius:3px;background:transparent;color:#747b75;font-size:11px;font-weight:850}.proposal-filter.active{background:#fff;color:#202421;box-shadow:0 1px 4px #ccd1cb}.invoice-status.sent{background:#e7edf6;color:#4b617d}.invoice-status.viewed{background:#e8e1f3;color:#685180}.invoice-status.accepted{background:#e9f5cf;color:#51641a}.invoice-status.declined,.invoice-status.canceled,.invoice-status.expired{background:#eceeeb;color:#696f6b}.invoice-status.accepting{background:#fff0c8;color:#82631a}.automation-panel{overflow:hidden;border:1px solid #d7dcd5;border-radius:5px;background:#f8f9f6}.automation-panel summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px;cursor:pointer;list-style:none}.automation-panel summary::-webkit-details-marker{display:none}.automation-panel summary span{display:grid;gap:3px}.automation-panel summary small{color:#7a827c;font-weight:650}.automation-panel summary b{color:#60712f;font-size:11px}.automation-panel[open] summary{border-bottom:1px solid #dde1db;background:#f1f8df}.automation-body{display:grid;gap:12px;padding:12px}.automation-card{padding:16px;border:1px solid #dce1da;border-radius:5px;background:#fff}.automation-card.span-2{margin-top:2px}.toggle-row{display:flex!important;align-items:flex-start;justify-content:space-between;grid-template-columns:none!important;gap:18px!important}.toggle-row>span{display:grid;gap:4px}.toggle-row small{color:#7d857f;font-weight:600;line-height:1.4}.toggle-row>input{position:relative;flex:0 0 auto;width:42px!important;min-height:24px!important;height:24px!important;margin:0;padding:0!important;border:0!important;border-radius:999px!important;background:#cbd1ca!important;appearance:none;cursor:pointer;box-shadow:none!important;transition:background .18s ease}.toggle-row>input:before{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.2);content:"";transition:transform .18s ease}.toggle-row>input:checked{background:#799f1d!important}.toggle-row>input:checked:before{transform:translateX(18px)}.automation-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.automation-grid .span-3{grid-column:1/-1}.terms-confirm{display:flex!important;align-items:flex-start;grid-template-columns:none!important;gap:9px!important;padding:12px;border-left:3px solid #c38a14;background:#fff6dd;line-height:1.5}.terms-confirm input{width:16px!important;min-height:16px!important;height:16px!important;margin:2px 0 0;padding:0!important}.proposal-total-preview{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px;border:1px solid #dbe5be;background:#f1f8df;color:#55603a}.proposal-total-preview strong{color:#283314;font-size:20px}.branding-panel{display:grid;grid-template-columns:260px 1fr;gap:22px;padding:24px;border:1px solid var(--line);border-radius:5px;background:#fff}.brand-preview{display:flex;align-items:center;gap:14px;padding-right:22px;border-right:1px solid var(--line)}.brand-preview>div:last-child{display:grid;gap:4px;min-width:0}.brand-preview strong{font-size:17px}.brand-preview small{color:#7b837d;font-size:11px;line-height:1.4}.brand-logo-preview{display:grid;place-items:center;flex:0 0 auto;width:72px;height:72px;overflow:hidden;border-radius:5px;background:#18251d;color:#b9f227;font-weight:950}.brand-logo-preview img{width:100%;height:100%;object-fit:contain;background:#fff}.branding-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.branding-fields label{display:grid;gap:7px;color:#4d534f;font-size:12px;font-weight:800}.branding-fields input[type=file]{padding:11px;background:#f8f9f6;font-size:11px}.branding-actions{display:flex;align-items:center;justify-content:flex-end;grid-column:1/-1;gap:14px;border-top:1px solid var(--line);padding-top:16px}.branding-actions .form-error{margin-right:auto}.settings-subhead{margin-top:30px}.top-actions>.secondary{background:#fff}.action-success{background:#b9f227!important;color:#182019!important}

@media(max-width:980px){.proposal-list{grid-template-columns:1fr}.branding-panel{grid-template-columns:1fr}.brand-preview{padding:0 0 18px;border-right:0;border-bottom:1px solid var(--line)}}
@media(max-width:720px){.sidebar nav{grid-template-columns:repeat(5,1fr)}.proposal-list{margin-right:-14px;margin-left:-14px;gap:8px}.proposal-card{border-right:0;border-left:0;border-radius:0}.delivery-note{grid-template-columns:1fr;margin-right:-14px;margin-left:-14px}.automation-grid,.branding-fields{grid-template-columns:1fr}.automation-grid .span-3{grid-column:auto}.branding-panel{margin-right:-14px;margin-left:-14px;padding:18px;border-right:0;border-left:0;border-radius:0}.branding-actions{align-items:stretch;flex-direction:column}.branding-actions .primary{width:100%}.top-actions{gap:5px}.top-actions>.secondary,.top-actions>.primary{min-height:38px;padding:0 9px;font-size:11px}.proposal-dialog{width:100%}.proposal-facts{grid-template-columns:repeat(3,minmax(0,1fr))}.proposal-facts strong{font-size:11px}.toggle-row{align-items:center}.automation-panel summary{padding:14px}.automation-body{padding:8px}.automation-card{padding:14px}}
@media(max-width:720px){.demo-safety-banner{align-items:stretch;flex-direction:column;gap:12px;margin:0 -14px 16px;padding:14px;border-right:0;border-left:0;border-radius:0}.demo-safety-banner>div{grid-template-columns:auto 1fr}.demo-safety-banner strong{font-size:14px}.demo-safety-banner p{font-size:13px}.demo-safety-banner .primary{width:100%;min-height:44px}.demo-lock-dialog{width:100%!important;max-height:calc(100dvh - 12px)!important;margin:auto 0 0!important;border-right:0!important;border-bottom:0!important;border-left:0!important;border-radius:18px 18px 0 0!important}.demo-lock-body{gap:14px;padding:24px 18px calc(20px + env(safe-area-inset-bottom))}.demo-lock-body h2{font-size:27px}.demo-lock-body>p{font-size:16px}.demo-lock-actions{grid-template-columns:1fr}.demo-lock-actions .primary{order:-1}}
@media(max-width:390px){.top-actions>.secondary span,.top-actions>.primary span{display:none}.top-actions>.secondary,.top-actions>.primary{padding:0 8px;font-size:10px}.proposal-card{padding:16px}.proposal-actions .text-button{margin-left:0}}
