:root {
  --act-navy: #14213d;
  --act-blue: #2364d2;
  --act-blue-dark: #174ca8;
  --act-sky: #eaf2ff;
  --act-bg: #f4f7fb;
  --act-line: #dde4ee;
  --act-muted: #68758a;
  --act-green: #15935f;
  --act-green-bg: #e9f8f1;
  --act-red: #d94343;
  --act-red-bg: #fff0f0;
  --act-amber: #b66b08;
  --act-amber-bg: #fff6df;
  --act-white: #fff;
  --act-shadow: 0 18px 55px rgba(20, 33, 61, .1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { margin: 0; color: var(--act-navy); background: var(--act-white); }

body.act-modal-open { overflow: hidden; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.act-app { overflow: hidden; }

.act-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.act-hero {
  position: relative;
  padding: 72px 0 76px;
  background:
    radial-gradient(circle at 78% 18%, rgba(72, 130, 224, .32), transparent 27%),
    radial-gradient(circle at 15% 82%, rgba(55, 170, 146, .14), transparent 27%),
    linear-gradient(135deg, #101b34 0%, #192e55 58%, #173c69 100%);
  color: #fff;
}

.act-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .2;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent, #000 70%);
}

.act-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr); gap: 72px; align-items: center; }

.act-eyebrow, .act-section-label { display: inline-flex; align-items: center; gap: 9px; color: #9cc7ff; font-size: 13px; line-height: 1.2; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }

.act-eyebrow span { width: 22px; height: 2px; background: #65a6ff; }

.act-hero h1 { max-width: 680px; margin: 20px 0 22px; font-size: clamp(38px, 4.5vw, 62px); line-height: 1.02; letter-spacing: -.045em; color: #fff; }

.act-hero__lead { max-width: 670px; margin: 0; color: rgba(255,255,255,.78); font-size: 19px; line-height: 1.65; }

.act-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0 25px; }

.act-button { display: inline-flex; min-height: 48px; padding: 0 22px; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 11px; font: inherit; font-size: 14px; font-weight: 800; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }

.act-button:hover { transform: translateY(-1px); }

.act-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.act-button--primary { color: #fff; background: var(--act-blue); box-shadow: 0 10px 24px rgba(35, 100, 210, .28); }
.act-button--primary:hover { background: var(--act-blue-dark); }
.act-button--ghost { color: var(--act-navy); background: #fff; border-color: var(--act-line); }
.act-hero .act-button--ghost { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); }
.act-button--danger { color: #fff; background: var(--act-red); }
.act-button--light { color: var(--act-blue-dark); background: #fff; }
.act-button--compact { min-height: 42px; padding: 0 16px; }

.act-hero__meta { display: flex; gap: 10px; flex-wrap: wrap; }

.act-meta-pill { display: inline-flex; min-height: 34px; padding: 7px 12px; align-items: center; gap: 7px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: rgba(255,255,255,.78); background: rgba(255,255,255,.07); font-size: 12px; font-weight: 700; }
.act-meta-pill--date { color: #dff7ec; background: rgba(23, 161, 103, .16); border-color: rgba(115, 223, 173, .28); }
.act-meta-pill svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.act-hero__visual { position: relative; padding: 34px 0 38px; }

.act-hero-card { position: relative; z-index: 2; padding: 24px; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; color: var(--act-navy); background: rgba(255,255,255,.98); box-shadow: 0 34px 80px rgba(0,0,0,.28); transform: rotate(-1deg); }

.act-hero-card__top { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding-bottom: 19px; border-bottom: 1px solid var(--act-line); }
.act-hero-card__top div { min-width: 0; }
.act-hero-card__top strong, .act-hero-card__top small { display: block; }
.act-hero-card__top strong { margin-bottom: 3px; font-size: 15px; }
.act-hero-card__top small { overflow: hidden; color: var(--act-muted); font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }

.act-document-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 11px; color: var(--act-blue); background: var(--act-sky); }
.act-document-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.act-status { display: inline-flex; min-height: 27px; padding: 5px 9px; align-items: center; border-radius: 999px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.act-status--success { color: var(--act-green); background: var(--act-green-bg); }
.act-status--danger { color: var(--act-red); background: var(--act-red-bg); }
.act-status--pending { color: var(--act-amber); background: var(--act-amber-bg); }

.act-mini-timeline { position: relative; margin: 22px 0; padding: 0; list-style: none; }
.act-mini-timeline::before { content: ""; position: absolute; top: 9px; bottom: 10px; left: 6px; width: 2px; background: #dcefe7; }
.act-mini-timeline li { position: relative; display: grid; grid-template-columns: 14px 1fr; gap: 12px; margin-bottom: 18px; }
.act-mini-timeline li:last-child { margin-bottom: 0; }
.act-mini-timeline li > span { position: relative; z-index: 1; width: 14px; height: 14px; margin-top: 2px; border: 3px solid #fff; border-radius: 50%; background: var(--act-green); box-shadow: 0 0 0 1px var(--act-green); }
.act-mini-timeline b, .act-mini-timeline small { display: block; }
.act-mini-timeline b { font-size: 12px; }
.act-mini-timeline small { margin-top: 2px; color: var(--act-muted); font-size: 10px; }

.act-hero-card__person { display: flex; gap: 10px; align-items: center; padding: 13px; border-radius: 12px; background: var(--act-bg); }
.act-avatar { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #5f7ab0, #294f8f); font-size: 11px; font-weight: 800; }
.act-hero-card__person small, .act-hero-card__person b { display: block; }
.act-hero-card__person small { color: var(--act-muted); font-size: 9px; }
.act-hero-card__person b { margin-top: 2px; font-size: 11px; }

.act-floating-note { position: absolute; z-index: 3; display: flex; align-items: center; border: 1px solid rgba(255,255,255,.15); background: #fff; box-shadow: 0 18px 40px rgba(0,0,0,.23); }
.act-floating-note--sms { top: 0; right: -20px; min-width: 150px; padding: 11px 12px; border-radius: 13px; color: var(--act-navy); transform: rotate(2deg); }
.act-floating-note--sms b { display: grid; width: 34px; height: 34px; margin-right: 9px; place-items: center; border-radius: 9px; color: #fff; background: var(--act-blue); font-size: 10px; }
.act-floating-note--sms span, .act-floating-note--sms small { display: block; }
.act-floating-note--sms span { font-size: 10px; font-weight: 800; }
.act-floating-note--sms small { margin-left: auto; color: var(--act-muted); font-size: 9px; }
.act-floating-note--ok { right: 16px; bottom: 0; gap: 10px; min-width: 220px; padding: 13px 16px; border-radius: 14px; color: var(--act-navy); }
.act-floating-note--ok > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: #fff; background: var(--act-green); font-weight: 900; }
.act-floating-note--ok b, .act-floating-note--ok small { display: block; }
.act-floating-note--ok b { font-size: 11px; }
.act-floating-note--ok small { margin-top: 2px; color: var(--act-muted); font-size: 9px; }

.act-demo-note { border-bottom: 1px solid #d9e3ef; background: #eef5ff; }
.act-demo-note .act-container { display: flex; min-height: 54px; align-items: center; gap: 11px; }
.act-demo-note svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: var(--act-blue); stroke-width: 1.8; stroke-linecap: round; }
.act-demo-note p { margin: 0; color: #47617e; font-size: 13px; line-height: 1.45; }
.act-demo-note strong { color: #244b7d; }

.act-cabinet-section { padding: 74px 0 86px; background: var(--act-bg); }

.act-section-heading { display: flex; margin-bottom: 28px; align-items: flex-end; justify-content: space-between; gap: 28px; }
.act-section-heading h2 { margin: 8px 0 8px; color: var(--act-navy); font-size: clamp(30px, 3vw, 42px); line-height: 1.08; letter-spacing: -.03em; }
.act-section-heading p { max-width: 660px; margin: 0; color: var(--act-muted); font-size: 16px; line-height: 1.55; }
.act-section-label { color: var(--act-blue); }
.act-section-heading--center { justify-content: center; text-align: center; }
.act-section-heading--center p { margin-inline: auto; }

.act-reset { display: inline-flex; padding: 8px 0; align-items: center; gap: 7px; border: 0; color: var(--act-muted); background: transparent; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.act-reset:hover { color: var(--act-blue); }
.act-reset svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.act-role-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; padding: 6px; border: 1px solid var(--act-line); border-radius: 16px; background: #e9eef5; }
.act-role-switch button { display: flex; min-height: 72px; padding: 12px 16px; align-items: center; gap: 12px; border: 1px solid transparent; border-radius: 12px; color: #5c687a; background: transparent; text-align: left; cursor: pointer; }
.act-role-switch button.is-active { color: var(--act-navy); border-color: #dce4ef; background: #fff; box-shadow: 0 5px 16px rgba(20,33,61,.08); }
.act-role-switch__icon { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border-radius: 10px; color: #738098; background: rgba(255,255,255,.8); }
.act-role-switch button.is-active .act-role-switch__icon { color: var(--act-blue); background: var(--act-sky); }
.act-role-switch__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.act-role-switch b, .act-role-switch small { display: block; }
.act-role-switch b { font-size: 14px; }
.act-role-switch small { margin-top: 3px; color: var(--act-muted); font-size: 11px; }

.act-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-bottom: 20px; }
.act-metrics article { display: flex; min-width: 0; padding: 17px; align-items: center; gap: 12px; border: 1px solid var(--act-line); border-radius: 15px; background: #fff; box-shadow: 0 6px 22px rgba(20,33,61,.04); }
.act-metric-icon { display: grid; width: 41px; height: 41px; flex: 0 0 auto; place-items: center; border-radius: 11px; }
.act-metric-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.act-metric-icon--blue { color: var(--act-blue); background: var(--act-sky); }
.act-metric-icon--amber { color: var(--act-amber); background: var(--act-amber-bg); }
.act-metric-icon--green { color: var(--act-green); background: var(--act-green-bg); }
.act-metric-icon--red { color: var(--act-red); background: var(--act-red-bg); }
.act-metrics strong, .act-metrics span { display: block; }
.act-metrics strong { font-size: 23px; line-height: 1; }
.act-metrics article div > span { margin-top: 5px; overflow: hidden; color: var(--act-muted); font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }

.act-dashboard { display: grid; grid-template-columns: 244px minmax(0, 1fr); min-height: 720px; overflow: hidden; border: 1px solid var(--act-line); border-radius: 18px; background: #fff; box-shadow: var(--act-shadow); }

.act-sidebar { display: flex; min-width: 0; padding: 20px 14px 16px; flex-direction: column; border-right: 1px solid var(--act-line); background: #fbfcfe; }
.act-sidebar__head { display: flex; padding: 0 7px 15px; align-items: center; justify-content: space-between; }
.act-sidebar__head span, .act-sidebar__head small { display: block; }
.act-sidebar__head span { font-size: 13px; font-weight: 800; }
.act-sidebar__head small { margin-top: 2px; color: var(--act-muted); font-size: 10px; }
.act-sidebar__head button { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid var(--act-line); border-radius: 8px; color: var(--act-blue); background: #fff; font-size: 18px; cursor: pointer; }

.act-house-list { display: grid; gap: 5px; }
.act-house-list button { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; min-height: 54px; padding: 8px; align-items: center; gap: 9px; border: 1px solid transparent; border-radius: 11px; color: var(--act-navy); background: transparent; text-align: left; cursor: pointer; }
.act-house-list button:hover { background: #f3f6fa; }
.act-house-list button.is-active { border-color: #dce7f7; background: var(--act-sky); }
.act-house-list b, .act-house-list small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.act-house-list b { font-size: 11px; }
.act-house-list small { margin-top: 3px; color: var(--act-muted); font-size: 9px; }
.act-house-list em { display: grid; min-width: 21px; height: 21px; padding: 0 5px; place-items: center; border-radius: 99px; color: var(--act-muted); background: #edf1f6; font-size: 9px; font-style: normal; font-weight: 800; }
.act-house-list button.is-active em { color: var(--act-blue); background: #fff; }
.act-house-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; color: #fff; background: #5375ae; font-size: 11px; font-weight: 800; }
.act-house-mark--all { color: var(--act-blue); background: #fff; }
.act-house-mark--all svg { width: 17px; height: 17px; fill: currentColor; }
.act-house-mark--violet { background: #785aa7; }
.act-house-mark--orange { background: #c37343; }
.act-house-mark--teal { background: #298d87; }

.act-sidebar__hint { display: flex; margin-top: auto; padding: 13px; gap: 9px; border: 1px solid #dbe7f7; border-radius: 12px; background: #eef5ff; }
.act-sidebar__hint > span { display: grid; width: 24px; height: 24px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: var(--act-blue); font-size: 11px; font-weight: 800; }
.act-sidebar__hint p { margin: 0; }
.act-sidebar__hint b, .act-sidebar__hint small { display: block; }
.act-sidebar__hint b { font-size: 10px; }
.act-sidebar__hint small { margin: 3px 0 5px; color: var(--act-muted); font-size: 9px; line-height: 1.35; }
.act-sidebar__hint button { padding: 0; border: 0; color: var(--act-blue); background: transparent; font: inherit; font-size: 9px; font-weight: 800; cursor: pointer; }

.act-workspace { min-width: 0; }
.act-toolbar { display: flex; min-height: 80px; padding: 17px 20px; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--act-line); }
.act-toolbar__title h3 { margin: 0; font-size: 18px; }
.act-toolbar__title span { display: block; margin-top: 4px; color: var(--act-muted); font-size: 10px; }
.act-toolbar__controls { display: flex; align-items: center; gap: 8px; }
.act-select select { min-height: 42px; padding: 0 34px 0 12px; border: 1px solid var(--act-line); border-radius: 9px; color: var(--act-navy); background: #fff; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }

.act-list { display: grid; gap: 12px; padding: 16px 20px 22px; background: #f8fafc; }

.act-card { overflow: hidden; border: 1px solid var(--act-line); border-radius: 14px; background: #fff; transition: border-color .18s ease, box-shadow .18s ease; }
.act-card:hover { border-color: #c6d4e6; box-shadow: 0 8px 28px rgba(20,33,61,.08); }
.act-card[data-status="signed"] { border-left: 3px solid var(--act-green); }
.act-card[data-status="rejected"] { border-left: 3px solid var(--act-red); }
.act-card[data-status="pending"] { border-left: 3px solid #d99a2b; }

.act-card__summary { display: grid; grid-template-columns: minmax(220px, 1.35fr) minmax(155px, .82fr) minmax(140px, .72fr) auto; min-height: 88px; padding: 15px 17px; align-items: center; gap: 15px; }
.act-card__document { display: flex; min-width: 0; align-items: center; gap: 11px; }
.act-card__document > div { min-width: 0; }
.act-card__document h4 { margin: 0 0 4px; font-size: 13px; }
.act-card__document p { margin: 0; overflow: hidden; color: var(--act-muted); font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }
.act-card__document small { display: inline-flex; margin-top: 6px; align-items: center; gap: 4px; color: #8792a4; font-size: 9px; }
.act-card__document small svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.act-card__person b, .act-card__person span, .act-card__sms b, .act-card__sms span { display: block; }
.act-card__person b, .act-card__sms b { font-size: 10px; }
.act-card__person span, .act-card__sms span { margin-top: 4px; color: var(--act-muted); font-size: 9px; }
.act-card__sms b { display: flex; align-items: center; gap: 5px; }
.act-card__sms b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #a0aaba; }
.act-card[data-sms="delivered"] .act-card__sms b { color: var(--act-green); }
.act-card[data-sms="delivered"] .act-card__sms b::before { background: var(--act-green); }
.act-card[data-sms="failed"] .act-card__sms b { color: var(--act-red); }
.act-card[data-sms="failed"] .act-card__sms b::before { background: var(--act-red); }
.act-card[data-sms="sent"] .act-card__sms b { color: var(--act-amber); }
.act-card[data-sms="sent"] .act-card__sms b::before { background: var(--act-amber); }

.act-card__actions { display: flex; align-items: center; gap: 7px; }
.act-icon-button { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--act-line); border-radius: 9px; color: #5e6b7d; background: #fff; cursor: pointer; }
.act-icon-button:hover { color: var(--act-blue); border-color: #b9ccea; background: var(--act-sky); }
.act-icon-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.act-details-button { display: inline-flex; min-height: 36px; padding: 0 11px; align-items: center; gap: 6px; border: 1px solid var(--act-line); border-radius: 9px; color: var(--act-navy); background: #fff; font: inherit; font-size: 9px; font-weight: 800; cursor: pointer; }
.act-details-button svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .18s ease; }
.act-card.is-open .act-details-button svg { transform: rotate(180deg); }

.act-card__detail { padding: 0 17px 17px; }
.act-card__detail[hidden] { display: none; }
.act-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 22px; padding: 18px; border-top: 1px solid var(--act-line); border-radius: 0 0 11px 11px; background: #fbfcfe; }
.act-detail-grid h5 { margin: 0 0 16px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }

.act-timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.act-timeline::before { content: ""; position: absolute; top: 8px; right: calc(12.5% - 6px); left: calc(12.5% - 6px); height: 2px; background: #dfe5ed; }
.act-timeline li { position: relative; z-index: 1; padding: 0 8px; text-align: center; }
.act-timeline li > span { display: block; width: 16px; height: 16px; margin: 0 auto 9px; border: 3px solid #fbfcfe; border-radius: 50%; background: #c5ceda; box-shadow: 0 0 0 1px #c5ceda; }
.act-timeline li.is-ok > span { background: var(--act-green); box-shadow: 0 0 0 1px var(--act-green); }
.act-timeline li.is-error > span { background: var(--act-red); box-shadow: 0 0 0 1px var(--act-red); }
.act-timeline li.is-pending > span { background: #e0a13a; box-shadow: 0 0 0 1px #e0a13a; }
.act-timeline b, .act-timeline small { display: block; }
.act-timeline b { font-size: 9px; line-height: 1.3; }
.act-timeline small { margin-top: 4px; color: var(--act-muted); font-size: 8px; line-height: 1.35; }

.act-decision { padding: 13px; border: 1px solid var(--act-line); border-radius: 11px; background: #fff; }
.act-decision__current { display: flex; margin-bottom: 10px; align-items: center; justify-content: space-between; gap: 8px; }
.act-decision__current span:first-child { color: var(--act-muted); font-size: 9px; }
.act-decision__reason { margin: 8px 0 0; padding: 9px; border-radius: 8px; color: #8b3434; background: var(--act-red-bg); font-size: 9px; line-height: 1.45; }
.act-council-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 11px; }
.act-council-actions button { min-height: 35px; padding: 0 8px; border-radius: 8px; font: inherit; font-size: 9px; font-weight: 800; cursor: pointer; }
.act-sign { border: 0; color: #fff; background: var(--act-green); }
.act-reject { color: var(--act-red); border: 1px solid #efbcbc; background: #fff; }
.act-retry { padding: 6px 0 0; border: 0; color: var(--act-blue); background: transparent; font: inherit; font-size: 9px; font-weight: 800; cursor: pointer; }

.act-empty { min-height: 450px; padding: 80px 24px; background: #f8fafc; text-align: center; }
.act-empty > span { display: block; color: #9aa7b9; font-size: 48px; }
.act-empty h3 { margin: 12px 0 5px; }
.act-empty p { margin: 0 0 15px; color: var(--act-muted); font-size: 13px; }
.act-empty button { border: 0; color: var(--act-blue); background: transparent; font: inherit; font-weight: 800; cursor: pointer; }

.act-how { padding: 84px 0 92px; background: #fff; }
.act-how__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 42px; }
.act-how__grid article { position: relative; padding: 28px 23px; border: 1px solid var(--act-line); border-radius: 17px; background: #fff; box-shadow: 0 10px 34px rgba(20,33,61,.05); }
.act-how__grid article > span { position: absolute; top: 18px; right: 18px; color: #dbe3ee; font-size: 38px; line-height: 1; font-weight: 900; }
.act-how__icon { display: grid; width: 48px; height: 48px; margin-bottom: 22px; place-items: center; border-radius: 13px; color: var(--act-blue); background: var(--act-sky); }
.act-how__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.act-how__grid h3 { margin: 0 0 9px; font-size: 16px; }
.act-how__grid p { margin: 0; color: var(--act-muted); font-size: 13px; line-height: 1.55; }

.act-final-cta { padding: 0 0 86px; background: #fff; }
.act-final-cta__card { display: flex; min-height: 235px; padding: 48px 54px; align-items: center; justify-content: space-between; gap: 36px; border-radius: 22px; color: #fff; background: radial-gradient(circle at 80% 0, rgba(85,148,255,.5), transparent 34%), linear-gradient(135deg, #14213d, #1e477d); box-shadow: 0 24px 60px rgba(20,33,61,.19); }
.act-final-cta h2 { max-width: 700px; margin: 9px 0 10px; color: #fff; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -.03em; }
.act-final-cta p { max-width: 680px; margin: 0; color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.55; }

.act-modal[hidden], .act-toast[hidden], [data-role-hidden] { display: none !important; }
.act-modal { position: fixed; z-index: 10020; inset: 0; display: grid; padding: 22px; place-items: center; }
.act-modal__backdrop { position: absolute; inset: 0; background: rgba(10,20,38,.65); backdrop-filter: blur(4px); }
.act-modal__dialog { position: relative; z-index: 1; width: min(520px, 100%); max-height: calc(100vh - 44px); overflow: auto; padding: 30px; border-radius: 20px; background: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.act-modal__close { position: absolute; top: 13px; right: 13px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--act-line); border-radius: 50%; color: var(--act-muted); background: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.act-modal__icon { display: grid; width: 48px; height: 48px; margin-bottom: 16px; place-items: center; border-radius: 13px; color: var(--act-blue); background: var(--act-sky); font-size: 22px; font-weight: 900; }
.act-modal__icon--red { color: var(--act-red); background: var(--act-red-bg); }
.act-modal__icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.act-modal h2 { margin: 0 0 8px; font-size: 25px; letter-spacing: -.02em; }
.act-modal__dialog > p { margin: 0 0 21px; color: var(--act-muted); font-size: 13px; line-height: 1.5; }
.act-modal form { display: grid; gap: 14px; }
.act-modal label > span { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 800; }
.act-modal input, .act-modal select, .act-modal textarea { width: 100%; padding: 11px 12px; border: 1px solid #cfd8e5; border-radius: 9px; color: var(--act-navy); background: #fff; font: inherit; font-size: 13px; }
.act-modal textarea { resize: vertical; }
.act-modal input:focus, .act-modal select:focus, .act-modal textarea:focus { outline: 3px solid rgba(35,100,210,.13); border-color: var(--act-blue); }
.act-file-field { padding: 13px; border: 1px dashed #b8c7da; border-radius: 10px; background: #f8fafc; }
.act-file-field input { padding: 0; border: 0; background: transparent; }
.act-file-field small { display: block; margin-top: 7px; color: var(--act-muted); font-size: 9px; }
.act-modal__actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 4px; }

.act-modal__dialog--preview { width: min(790px, 100%); }
.act-preview-head { display: flex; margin-bottom: 22px; align-items: center; justify-content: space-between; gap: 20px; }
.act-preview-head > div { display: flex; align-items: center; gap: 12px; }
.act-preview-head .act-modal__icon { margin: 0; }
.act-preview-head h2 { font-size: 20px; }
.act-preview-head p { margin: 3px 0 0; color: var(--act-muted); font-size: 11px; }
.act-paper { width: min(610px, 100%); min-height: 720px; margin: 0 auto; padding: 64px 58px; border: 1px solid #dce2ea; color: #303846; background: #fff; box-shadow: 0 12px 40px rgba(20,33,61,.12); font-family: Georgia, serif; text-align: center; }
.act-paper > small { color: #a3a9b3; font: 700 9px Arial, sans-serif; letter-spacing: .14em; }
.act-paper h3 { margin: 56px 0 6px; font-size: 20px; letter-spacing: .08em; }
.act-paper > p { max-width: 440px; margin: 0 auto 38px; font-size: 12px; line-height: 1.5; }
.act-paper dl { margin: 0; text-align: left; }
.act-paper dl div { display: grid; grid-template-columns: 145px 1fr; padding: 10px 0; border-bottom: 1px solid #cfd3d9; }
.act-paper dt { color: #69717e; font-size: 11px; }
.act-paper dd { margin: 0; font-size: 11px; font-weight: 700; }
.act-paper__lines { display: grid; gap: 32px; margin: 55px 0; }
.act-paper__lines span { display: block; border-bottom: 1px solid #cfd3d9; }
.act-paper__signs { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; margin-top: 90px; text-align: left; }
.act-paper__signs p { font-size: 10px; line-height: 1.5; }
.act-paper__signs span { display: block; margin-top: 30px; }

.act-toast { position: fixed; z-index: 10050; right: 24px; bottom: 24px; display: flex; width: min(390px, calc(100% - 48px)); padding: 15px 17px; align-items: center; gap: 11px; border: 1px solid #bde3d1; border-radius: 13px; color: #185f43; background: #f2fbf7; box-shadow: 0 16px 45px rgba(20,33,61,.18); }
.act-toast > span { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: var(--act-green); font-size: 13px; font-weight: 900; }
.act-toast p { margin: 0; font-size: 12px; font-weight: 700; line-height: 1.4; }

@media (max-width: 1080px) {
  .act-hero__grid { grid-template-columns: 1fr 420px; gap: 36px; }
  .act-card__summary { grid-template-columns: minmax(210px, 1.25fr) minmax(130px, .75fr) minmax(120px, .65fr) auto; gap: 10px; }
  .act-toolbar { align-items: flex-start; }
  .act-toolbar__controls { flex-wrap: wrap; justify-content: flex-end; }
}

@media (max-width: 920px) {
  .act-hero { padding-top: 56px; }
  .act-hero__grid { grid-template-columns: 1fr; }
  .act-hero__copy { text-align: center; }
  .act-hero h1, .act-hero__lead { margin-inline: auto; }
  .act-eyebrow, .act-hero__actions, .act-hero__meta { justify-content: center; }
  .act-hero__visual { width: min(500px, 100%); margin: 0 auto; }
  .act-metrics { grid-template-columns: 1fr 1fr; }
  .act-dashboard { grid-template-columns: 1fr; }
  .act-sidebar { border-right: 0; border-bottom: 1px solid var(--act-line); }
  .act-house-list { grid-template-columns: repeat(2, 1fr); }
  .act-sidebar__hint { display: none; }
  .act-detail-grid { grid-template-columns: 1fr; }
  .act-how__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .act-container { width: min(100% - 28px, 1180px); }
  .act-hero { padding: 43px 0 48px; }
  .act-hero h1 { font-size: 38px; }
  .act-hero__lead { font-size: 16px; }
  .act-hero__visual { padding: 15px 0 24px; }
  .act-hero-card { padding: 18px; }
  .act-floating-note--sms { right: -5px; }
  .act-floating-note--ok { right: 7px; }
  .act-demo-note .act-container { padding: 10px 0; align-items: flex-start; }
  .act-cabinet-section, .act-how { padding: 56px 0 62px; }
  .act-section-heading { align-items: flex-start; }
  .act-reset { flex: 0 0 auto; }
  .act-role-switch { grid-template-columns: 1fr; }
  .act-role-switch button { min-height: 64px; }
  .act-metrics { gap: 8px; }
  .act-metrics article { padding: 13px; }
  .act-metric-icon { width: 36px; height: 36px; }
  .act-metrics strong { font-size: 20px; }
  .act-dashboard { min-height: 0; }
  .act-house-list { display: flex; margin: 0 -2px; overflow-x: auto; padding-bottom: 5px; }
  .act-house-list { width: 100%; max-width: 100%; min-width: 0; }
  .act-house-list button { min-width: 205px; }
  .act-house-list button:first-child { min-width: 150px; }
  .act-toolbar { align-items: stretch; flex-direction: column; }
  .act-toolbar__controls { display: grid; grid-template-columns: 1fr 1fr; }
  .act-toolbar__controls .act-button { grid-column: 1 / -1; }
  .act-select select { width: 100%; }
  .act-list { padding: 12px; }
  .act-card__summary { grid-template-columns: 1fr auto; min-height: 0; padding: 14px; }
  .act-card__document { grid-column: 1 / -1; }
  .act-card__person, .act-card__sms { padding-top: 10px; border-top: 1px solid #edf1f5; }
  .act-card__sms { text-align: right; }
  .act-card__sms b { justify-content: flex-end; }
  .act-card__actions { grid-column: 1 / -1; }
  .act-details-button { flex: 1; justify-content: center; }
  .act-detail-grid { padding: 15px 10px; }
  .act-timeline { grid-template-columns: 1fr; gap: 15px; }
  .act-timeline::before { top: 8px; bottom: 8px; left: 7px; width: 2px; height: auto; }
  .act-timeline li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; padding: 0; text-align: left; }
  .act-timeline li > span { margin: 0; }
  .act-timeline small { margin-top: 2px; }
  .act-how__grid { grid-template-columns: 1fr; }
  .act-final-cta { padding-bottom: 58px; }
  .act-final-cta__card { padding: 35px 26px; align-items: flex-start; flex-direction: column; }
  .act-modal { padding: 10px; }
  .act-modal__dialog { max-height: calc(100vh - 20px); padding: 24px 20px; border-radius: 16px; }
  .act-preview-head { align-items: flex-start; flex-direction: column; }
  .act-paper { min-height: 600px; padding: 45px 28px; }
}

@media (max-width: 430px) {
  .act-hero h1 { font-size: 33px; }
  .act-hero__actions { display: grid; }
  .act-hero__actions .act-button { width: 100%; }
  .act-hero-card__top { grid-template-columns: auto 1fr; }
  .act-hero-card__top .act-status { grid-column: 2; justify-self: start; }
  .act-floating-note--sms { display: none; }
  .act-floating-note--ok { position: relative; right: auto; bottom: auto; width: calc(100% - 28px); margin: -10px auto 0; }
  .act-section-heading { flex-direction: column; }
  .act-metrics { grid-template-columns: 1fr; }
  .act-paper dl div { grid-template-columns: 1fr; gap: 4px; }
  .act-paper__signs { grid-template-columns: 1fr; gap: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
