:root {
  --ink: #1a1a16;
  --sidebar: #171714;
  --sand: #ede3cf;
  --paper: #fffdf7;
  --citrus: #c8f23a;
  --citrus-hover: #d6fa50;
  --citrus-soft: #eff8be;
  --terracotta: #e66b43;
  --terracotta-soft: #f8ddc9;
  --muted: #6e6b62;
  --line: #d7cebc;
  --shadow: 0 10px 22px rgba(48, 38, 20, 0.1), 0 2px 3px rgba(48, 38, 20, 0.08);
  --font: "Avenir Next", "Arial Rounded MT Bold", "Helvetica Neue", Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  min-width: 320px;
}
button, input, textarea, select { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { display: block; width: 1.35em; height: 1.35em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.app-shell { min-height: 100vh; }
.sidebar {
  background: var(--sidebar);
  border-radius: 0 28px 28px 0;
  color: var(--paper);
  display: flex;
  flex-direction: column;
  height: 100vh;
  left: 0;
  padding: 30px 16px 22px;
  position: fixed;
  top: 0;
  width: 276px;
  z-index: 20;
}
.brand { align-items: center; color: inherit; display: flex; font-size: 24px; font-weight: 800; gap: 10px; letter-spacing: -0.04em; padding: 0 12px; text-decoration: none; }
.brand-mark { color: var(--citrus); display: inline-grid; height: 40px; place-items: center; width: 40px; }
.brand-mark svg { height: 36px; stroke-width: 4; width: 36px; }
.nav-list { display: grid; gap: 10px; margin-top: 62px; }
.nav-item {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 16px;
  color: #f6f1e7;
  cursor: pointer;
  display: flex;
  font-weight: 700;
  gap: 12px;
  min-height: 58px;
  padding: 8px 12px;
  text-align: left;
  transition: background 160ms ease, transform 160ms ease;
  width: 100%;
}
.nav-item:hover { background: rgba(255, 255, 255, 0.07); transform: translateX(2px); }
.nav-item.is-active { background: rgba(255, 255, 255, 0.12); }
.nav-icon { align-items: center; border-radius: 11px; display: flex; height: 40px; justify-content: center; transition: background 160ms ease, color 160ms ease; width: 40px; }
.nav-icon svg { height: 23px; width: 23px; }
.nav-item.is-active .nav-icon { background: var(--citrus); color: var(--ink); box-shadow: 0 4px 0 rgba(200, 242, 58, 0.25); }
.sidebar-note { border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 18px; margin-top: auto; padding: 22px; }
.signature-orb { align-items: center; background: var(--citrus); border-radius: 50%; color: var(--ink); display: flex; font-family: cursive; font-size: 34px; height: 58px; justify-content: center; transform: rotate(-8deg); width: 58px; }
.sidebar-note p { font-size: 16px; font-weight: 650; line-height: 1.45; margin: 16px 0 0; }
.demo-reset { background: transparent; border: 0; color: #9e9c94; cursor: pointer; font-size: 12px; margin-top: 14px; text-decoration: underline; }
.main { margin-left: 276px; min-height: 100vh; padding: 36px 42px 46px; }
.mobile-header { display: none; }

.view { display: none; }
.view.is-visible { animation: fade-in 220ms ease both; display: block; }
.page-header, .secondary-header { align-items: flex-start; display: flex; justify-content: space-between; margin-bottom: 28px; }
.page-header h1, .secondary-header h1 { font-size: clamp(52px, 5.4vw, 76px); font-weight: 800; letter-spacing: -0.06em; line-height: 0.94; margin: 4px 0 0; }
.secondary-header { align-items: flex-end; margin-bottom: 36px; }
.secondary-header h1 { font-size: clamp(52px, 5vw, 72px); }
.secondary-header p:not(.eyebrow) { color: var(--muted); font-size: 16px; margin: 12px 0 0; }
.eyebrow, .section-kicker { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; margin: 0; text-transform: uppercase; }
.section-kicker { color: #847f70; display: block; margin-bottom: 8px; }

.button {
  align-items: center;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 750;
  gap: 10px;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(2px); }
.button-primary { background: var(--citrus); box-shadow: 0 5px 0 var(--ink); }
.button-primary:hover { background: var(--citrus-hover); box-shadow: 0 3px 0 var(--ink); }
.button-outline:hover { background: var(--citrus-soft); }
.button-ghost { background: transparent; border-color: transparent; }
.button-small { font-size: 13px; min-height: 42px; padding: 0 14px; white-space: nowrap; }
.send-button { font-size: 16px; margin-top: 40px; min-height: 58px; padding: 0 24px; }
.send-button svg { width: 22px; }
.icon-button {
  align-items: center; background: transparent; border: 0; border-radius: 10px; cursor: pointer; display: flex; font-size: 30px; height: 44px; justify-content: center; width: 44px;
}
.text-button { background: transparent; border: 0; cursor: pointer; font-size: 13px; font-weight: 750; padding: 8px; }

.stats-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-card, .feature-card, .recent-card, .template-prompt, .table-card, .template-card, .contact-card {
  background: var(--paper); border: 1px solid rgba(70, 56, 35, 0.12); border-radius: 18px; box-shadow: var(--shadow);
}
.stat-card { align-items: center; display: flex; gap: 18px; min-height: 122px; padding: 22px; transition: box-shadow 160ms ease, transform 160ms ease; }
.stat-card:hover, .template-card:hover, .contact-card:hover { box-shadow: 0 14px 28px rgba(48, 38, 20, 0.14); transform: translateY(-2px); }
.stat-icon { align-items: center; background: var(--citrus-soft); border-radius: 50%; display: flex; flex: 0 0 54px; height: 54px; justify-content: center; }
.stat-icon.attention { background: var(--terracotta-soft); color: #c84620; }
.stat-icon svg { height: 28px; width: 28px; }
.stat-card strong { display: block; font-size: 48px; font-weight: 800; letter-spacing: -0.05em; line-height: 0.9; }
.stat-card span:last-child { display: block; font-size: 13px; margin-top: 8px; }

.dashboard-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1.25fr) minmax(380px, 1fr); margin-top: 18px; }
.feature-card { display: grid; grid-template-columns: minmax(270px, 1fr) minmax(210px, 0.82fr); min-height: 468px; overflow: hidden; padding: 28px; position: relative; }
.agreement-copy { display: flex; flex-direction: column; min-width: 0; position: relative; z-index: 2; }
.feature-card h2, .recent-card h2 { font-size: 25px; letter-spacing: -0.035em; line-height: 1.08; margin: 0; }
.people-count { font-size: 13px; font-weight: 750; }
.signing-progress { margin-top: 20px; }
.progress-segments { display: grid; gap: 5px; grid-template-columns: repeat(3, 1fr); margin-top: 10px; max-width: 240px; }
.progress-segments i { background: #e7dfcf; border-radius: 999px; display: block; height: 10px; overflow: hidden; }
.progress-segments i.is-done { background: var(--citrus); }
.signer-list { list-style: none; margin: 20px 0 24px; padding: 0; }
.signer-list li { align-items: center; display: flex; gap: 12px; min-height: 58px; position: relative; }
.signer-list li:not(:last-child)::after { background: var(--line); content: ""; height: 21px; left: 14px; position: absolute; top: 46px; width: 2px; }
.signer-list li.is-complete:not(:last-child)::after { background: var(--citrus); }
.signer-node { align-items: center; background: var(--citrus); border-radius: 50%; display: flex; flex: 0 0 30px; font-size: 13px; font-weight: 800; height: 30px; justify-content: center; }
.is-pending .signer-node { background: var(--terracotta); }
.signer-list strong, .signer-list small { display: block; }
.signer-list small { color: var(--muted); font-size: 11px; margin-top: 3px; }
.is-pending small { color: #c84620; font-weight: 750; }
.agreement-copy .button { align-self: flex-start; margin-top: auto; }

.document-stack { align-self: center; height: 330px; justify-self: end; position: relative; width: 230px; }
.paper { background: #f9f5ed; border: 1px solid #dfd6c5; box-shadow: 0 18px 26px rgba(30, 25, 16, 0.18); height: 310px; left: 8px; padding: 36px 28px; position: absolute; top: 8px; width: 210px; }
.paper-back { transform: rotate(-8deg) translate(-8px, 2px); }
.paper-mid { transform: rotate(4deg) translate(8px, 4px); }
.paper-front { transform: rotate(0deg); }
.paper-front b { display: block; font-family: Georgia, serif; font-size: 8px; margin-bottom: 24px; text-align: center; }
.paper-clip { border: 3px solid #1a1a16; border-bottom-color: transparent; border-radius: 9px 9px 0 0; height: 42px; left: 24px; position: absolute; top: -13px; width: 16px; }
.fake-line { background: #d6d1c7; height: 3px; margin: 7px 0; width: 100%; }
.fake-line.w-35 { width: 35%; }.fake-line.w-40 { width: 40%; }.fake-line.w-65 { width: 65%; }.fake-line.w-70 { width: 70%; }.fake-line.w-75 { width: 75%; }.fake-line.w-85 { width: 85%; }.fake-line.w-90 { width: 90%; }
.fake-gap { height: 10px; }
.scribble { bottom: 42px; font-family: "Snell Roundhand", "Brush Script MT", cursive; font-size: 26px; left: 32px; position: absolute; transform: rotate(-8deg); }
.signature-line { background: #aaa395; bottom: 38px; height: 1px; left: 28px; position: absolute; width: 112px; }
.paper-front small { bottom: 21px; font-size: 7px; left: 28px; position: absolute; }

.right-column { display: grid; gap: 18px; grid-template-rows: 1fr auto; }
.recent-card { min-height: 330px; padding: 24px; }
.card-heading { align-items: center; display: flex; justify-content: space-between; margin-bottom: 10px; }
.document-row { align-items: center; background: transparent; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; display: grid; gap: 12px; grid-template-columns: 46px minmax(0, 1fr) auto 14px; min-height: 82px; padding: 10px 2px; text-align: left; transition: background 160ms ease, padding 160ms ease; width: 100%; }
.document-row:last-child { border-bottom: 0; }
.document-row:hover { background: #faf6eb; padding-left: 8px; padding-right: 8px; }
.file-icon { align-items: center; background: var(--citrus-soft); border-radius: 10px; display: flex; height: 46px; justify-content: center; width: 46px; }
.file-icon.warm { background: var(--terracotta-soft); }
.file-icon svg { height: 24px; width: 24px; }
.file-copy { min-width: 0; }
.file-copy strong, .file-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-copy strong { font-size: 13px; }
.file-copy small { color: var(--muted); font-size: 11px; margin-top: 5px; }
.status { border-radius: 999px; font-size: 10px; font-weight: 800; padding: 7px 11px; }
.status.completed { background: var(--citrus); }.status.awaiting { background: var(--terracotta); }.status.draft { background: #e6e3dc; }
.chevron { font-size: 24px; font-weight: 400; }
.template-prompt { align-items: center; background: rgba(255, 253, 247, 0.35); box-shadow: none; display: grid; gap: 15px; grid-template-columns: 70px 1fr auto; min-height: 112px; padding: 16px; }
.template-prompt h3 { font-size: 15px; margin: 0 0 5px; }.template-prompt p { color: var(--muted); font-size: 11px; line-height: 1.4; margin: 0; }
.folder-art { height: 60px; position: relative; width: 70px; }
.folder-art span { background: #f4eddf; border: 2px solid var(--ink); border-radius: 5px 9px 9px 9px; bottom: 4px; height: 39px; left: 6px; position: absolute; transform: rotate(3deg); width: 56px; }
.folder-art span::before { background: #f4eddf; border: 2px solid var(--ink); border-bottom: 0; border-radius: 4px 4px 0 0; content: ""; height: 9px; left: 5px; position: absolute; top: -10px; width: 23px; }
.folder-art i { align-items: center; background: var(--citrus); border-radius: 50%; display: flex; font-size: 22px; font-style: normal; height: 37px; justify-content: center; position: absolute; right: 0; top: 0; width: 37px; }

.filter-bar { display: flex; gap: 8px; margin-bottom: 20px; overflow-x: auto; padding-bottom: 4px; }
.filter { background: rgba(255,255,255,.35); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 750; padding: 10px 16px; white-space: nowrap; }
.filter span { color: var(--muted); margin-left: 5px; }
.filter.is-active { background: var(--ink); color: var(--paper); }.filter.is-active span { color: var(--citrus); }
.table-card { overflow: hidden; }
.table-head, .table-row { align-items: center; display: grid; gap: 18px; grid-template-columns: 2fr 1fr 1fr 0.7fr; padding: 16px 24px; }
.table-head { background: #e3dac7; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.table-row { background: var(--paper); border: 0; border-bottom: 1px solid var(--line); cursor: pointer; min-height: 78px; text-align: left; width: 100%; }
.table-row:hover { background: #faf6eb; }
.table-row:last-child { border-bottom: 0; }
.table-row strong, .table-row small { display: block; }.table-row small { color: var(--muted); margin-top: 4px; }
.template-grid, .contact-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.template-card, .contact-card { min-height: 220px; padding: 24px; transition: box-shadow 160ms ease, transform 160ms ease; }
.template-card .file-icon { margin-bottom: 34px; }
.template-card h2, .contact-card h2 { font-size: 20px; margin: 0 0 8px; }
.template-card p, .contact-card p { color: var(--muted); line-height: 1.5; margin: 0; }
.template-card footer, .contact-card footer { align-items: center; display: flex; justify-content: space-between; margin-top: 30px; }
.template-card footer span { color: var(--muted); font-size: 11px; }
.avatar { align-items: center; background: var(--citrus); border: 2px solid var(--ink); border-radius: 50%; display: flex; font-size: 22px; font-weight: 800; height: 58px; justify-content: center; margin-bottom: 28px; width: 58px; }
.contact-card:nth-child(2n) .avatar { background: var(--terracotta-soft); }
.contact-card footer { color: var(--muted); font-size: 12px; }

.modal { background: transparent; border: 0; max-height: 100vh; max-width: 100vw; padding: 20px; width: 100%; }
.modal::backdrop { background: rgba(17, 17, 14, 0.72); backdrop-filter: blur(7px); }
.modal-card { background: var(--paper); border: 2px solid var(--ink); border-radius: 22px; box-shadow: 0 28px 80px rgba(0,0,0,.38); margin: auto; max-width: 660px; overflow: auto; padding: 28px; width: 100%; }
.modal-card.wide { max-width: 980px; }.modal-card.compact { max-width: 520px; }
.modal[open] .modal-card { animation: modal-in 220ms cubic-bezier(.2,.8,.2,1) both; }
.modal-top { align-items: flex-start; display: flex; justify-content: space-between; }
.modal-top h2 { font-size: 32px; letter-spacing: -0.04em; margin: 0; }
.close-button { background: #ece6da; }
.stepper { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); margin: 25px 0 18px; }
.stepper span { border-bottom: 3px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 750; padding-bottom: 8px; }.stepper span.is-current { border-color: var(--citrus); color: var(--ink); }
.drop-zone { align-items: center; background: #f5efdf; border: 2px dashed #9f9682; border-radius: 16px; cursor: pointer; display: flex; flex-direction: column; min-height: 170px; padding: 24px; text-align: center; }
.drop-zone:hover { background: var(--citrus-soft); border-color: var(--ink); }.drop-zone input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.upload-mark { align-items: center; background: var(--citrus); border: 2px solid var(--ink); border-radius: 50%; display: flex; font-size: 23px; font-weight: 800; height: 48px; justify-content: center; margin-bottom: 12px; width: 48px; }
.drop-zone small { color: var(--muted); margin-top: 6px; }
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; margin-top: 20px; }
.form-grid label, .signature-panel label { display: grid; font-size: 12px; font-weight: 750; gap: 7px; }.form-grid .full { grid-column: 1/-1; }
input, textarea, select { background: white; border: 1.5px solid #bcb3a1; border-radius: 10px; color: var(--ink); outline: none; padding: 12px 13px; width: 100%; }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(200,242,58,.55); }
.modal-actions { align-items: center; display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; }
.sign-layout { display: grid; gap: 24px; grid-template-columns: 1.2fr .8fr; margin-top: 22px; }
.contract-preview { background: #f7f2e8; border: 1px solid var(--line); box-shadow: 0 10px 20px rgba(30,25,16,.1); min-height: 470px; padding: 40px; position: relative; }
.contract-preview > small { font-family: Georgia, serif; font-weight: 800; }.contract-preview h3 { font-family: Georgia, serif; font-size: 27px; margin: 30px 0 22px; }.contract-preview h4 { font-family: Georgia, serif; margin: 26px 0 8px; }.contract-preview p { color: #59564f; font-family: Georgia, serif; font-size: 13px; line-height: 1.7; }
.sign-here { background: var(--citrus); border: 2px solid var(--ink); border-radius: 8px; bottom: 24px; font-size: 12px; font-weight: 800; padding: 9px 12px; position: absolute; right: 24px; }
.signature-panel { align-self: center; }
.signature-preview { align-items: center; background: #f5efdf; border-bottom: 2px solid var(--ink); display: flex; font-family: "Snell Roundhand", "Brush Script MT", cursive; font-size: 42px; height: 110px; justify-content: center; margin: 18px 0 22px; transform: rotate(-2deg); }
.checkbox-label { align-items: flex-start !important; display: flex !important; font-weight: 550 !important; gap: 9px !important; line-height: 1.45; }.checkbox-label input { margin-top: 2px; width: auto; }
.security-note { background: var(--citrus-soft); border-radius: 10px; font-size: 11px; line-height: 1.5; margin-top: 22px; padding: 12px; }
.detail-body { margin-top: 24px; }.detail-status { background: var(--citrus); border-radius: 999px; display: inline-block; font-size: 11px; font-weight: 800; padding: 8px 12px; }
.detail-body dl { margin: 24px 0 0; }.detail-body dl div { border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding: 14px 0; }.detail-body dt { color: var(--muted); }.detail-body dd { font-weight: 750; margin: 0; }
.toast-region { bottom: 24px; display: grid; gap: 10px; max-width: calc(100vw - 40px); position: fixed; right: 24px; z-index: 100; }
.toast { align-items: center; animation: toast-in 240ms ease both; background: var(--ink); border: 2px solid var(--citrus); border-radius: 13px; box-shadow: 0 12px 30px rgba(0,0,0,.24); color: var(--paper); display: flex; font-weight: 700; gap: 12px; max-width: 370px; padding: 15px 18px; }.toast b { color: var(--citrus); }

button:focus-visible, a:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.sidebar button:focus-visible, .sidebar a:focus-visible { outline-color: var(--paper); box-shadow: 0 0 0 5px var(--citrus); }

@keyframes fade-in { from { opacity: 0; transform: translateY(5px); } }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.985); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
.reveal { animation: fade-in 320ms cubic-bezier(.2,.8,.2,1) both; }
.reveal:nth-child(2) { animation-delay: 45ms; }.reveal:nth-child(3) { animation-delay: 90ms; }

@media (max-width: 1199px) {
  .sidebar { width: 88px; }
  .brand-word, .nav-item > span:last-child, .sidebar-note, .demo-reset { display: none; }
  .brand { padding: 0 8px; }
  .nav-list { margin-top: 52px; }
  .nav-item { justify-content: center; padding: 8px; }
  .main { margin-left: 88px; padding: 32px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .right-column { grid-template-columns: 1.2fr .8fr; grid-template-rows: 1fr; }
  .page-header h1 { font-size: 64px; }
}

@media (max-width: 840px) {
  .sidebar { border-radius: 0; display: none; height: auto; inset: 72px 12px auto; padding: 16px; width: auto; }
  .sidebar.is-open { display: block; }
  .sidebar .brand, .sidebar .sidebar-note, .sidebar .demo-reset { display: none; }
  .sidebar .nav-list { margin: 0; }
  .sidebar .nav-item { justify-content: flex-start; }
  .sidebar .nav-item > span:last-child { display: inline; }
  .mobile-header { align-items: center; background: var(--sidebar); color: var(--paper); display: flex; height: 72px; justify-content: space-between; padding: 10px 18px; position: sticky; top: 0; z-index: 30; }
  .mobile-header .brand { font-size: 20px; padding: 0; }
  .mobile-header .brand-mark { height: 34px; width: 34px; }.mobile-header .brand-mark svg { height: 30px; width: 30px; }
  .mobile-header .icon-button { color: var(--paper); }
  .main { margin-left: 0; padding: 26px 20px 40px; }
  .page-header, .secondary-header { display: block; }
  .page-header h1, .secondary-header h1 { font-size: 48px; }
  .send-button, .secondary-header .button { margin-top: 24px; width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card:last-child { grid-column: 1/-1; }
  .feature-card { grid-template-columns: 1fr; }
  .document-stack { margin: 24px auto 0; order: 2; }
  .right-column { grid-template-columns: 1fr; }
  .template-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
  .table-head { display: none; }
  .table-row { grid-template-columns: 1.6fr 1fr auto; }.table-row span:nth-child(3) { display: none; }
  .sign-layout { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .main { padding-left: 14px; padding-right: 14px; }
  .page-header h1, .secondary-header h1 { font-size: 40px; }
  .stats-grid { grid-template-columns: 1fr; }.stat-card:last-child { grid-column: auto; }
  .stat-card { min-height: 104px; }
  .feature-card { padding: 22px 18px; }
  .document-stack { transform: scale(.9); transform-origin: top center; }
  .recent-card { padding: 18px 14px; }
  .document-row { gap: 8px; grid-template-columns: 40px minmax(0,1fr) auto; }.document-row .chevron { display: none; }.document-row .status { padding: 6px 8px; }
  .template-prompt { grid-template-columns: 58px 1fr; }.template-prompt .button { grid-column: 1/-1; width: 100%; }
  .template-grid, .contact-grid { grid-template-columns: 1fr; }
  .table-row { gap: 8px; grid-template-columns: 1fr auto; padding: 14px; }.table-row span:nth-child(2) { display: none; }
  .modal { padding: 8px; }.modal-card { border-radius: 17px; padding: 20px 16px; }.modal-top h2 { font-size: 27px; }
  .form-grid { grid-template-columns: 1fr; }.form-grid .full { grid-column: auto; }
  .modal-actions { align-items: stretch; flex-direction: column-reverse; }.modal-actions .button { width: 100%; }
  .contract-preview { min-height: 450px; padding: 28px 22px; }
  .toast-region { bottom: 14px; right: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
