:root {
  --orange: #f47621;
  --orange-dark: #da5e10;
  --purple: #663399;
  --ink: #242034;
  --muted: #797485;
  --line: #ebe7ee;
  --bg: #f7f6f9;
  --white: #fff;
  --green: #19744e;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    14px/1.6 Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.7px;
  margin-bottom: 0;
}
h2 {
  font-size: 23px;
  letter-spacing: -0.6px;
  line-height: 1.35;
}
h3 {
  font-size: 17px;
}
small {
  font-size: 12px;
  display: block;
  color: var(--muted);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.button {
  border: 0;
  border-radius: 9px;
  padding: 11px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 650;
  transition: 0.15s;
}
button:hover,
.button:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.primary {
  background: var(--orange);
  color: #fff;
}
.secondary {
  background: #f0e8f8;
  color: var(--purple);
}
.ghost {
  background: transparent;
  color: var(--muted);
  padding: 8px;
}
.light {
  background: #fff;
  color: var(--orange-dark);
}
.danger-button {
  background: #fff0f0;
  color: #a12636;
}
.full {
  width: 100%;
  margin: 8px 0;
}
.link {
  color: var(--purple);
  font-weight: 650;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 248px;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.brand {
  font-size: 43px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -3px;
  color: var(--orange);
  display: block;
}
.brand span {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--purple);
  font-weight: 750;
  margin-top: 10px;
}
.workspace {
  font-size: 10px;
  color: #a29aaa;
  letter-spacing: 1.6px;
  font-weight: 700;
  margin: 45px 12px 15px;
}
nav a {
  display: block;
  padding: 12px 15px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: #71697e;
  margin: 4px 0;
}
nav a:hover {
  background: #faf5f0;
}
nav a.active {
  background: #fff1e6;
  color: #cd6014;
  box-shadow: inset 3px 0 var(--orange);
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 22px 10px 0;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #f0e8f8;
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  float: left;
  margin-right: 10px;
  font-weight: 800;
}
.sidebar-bottom strong {
  font-size: 12px;
}
.sidebar-bottom form {
  margin-top: 12px;
}
.main {
  margin-left: 248px;
  padding: 32px 40px;
  max-width: 1800px;
}
.public-main {
  max-width: 1150px;
  margin: auto;
  padding: 30px;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.eyebrow {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 800;
  display: block;
  margin-bottom: 9px;
}
.today {
  color: var(--muted);
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  font-size: 12px;
}
.hero {
  background: linear-gradient(112deg, #f47d2a, #e65b12);
  border-radius: 18px;
  padding: 35px 38px;
  color: white;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  margin-bottom: 25px;
  min-height: 245px;
}
.hero .eyebrow {
  color: #ffe1cd;
}
.hero h2 {
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.hero p {
  color: #ffeddf;
  font-size: 13px;
}
.hero-symbol {
  font-size: 150px;
  line-height: 1;
  align-self: center;
  font-weight: 950;
  opacity: 0.25;
  transform: rotate(-12deg);
  padding-right: 40px;
}
.hero-symbol span {
  font-size: 80px;
  color: #4e177d;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin: 24px 0;
}
.stat {
  padding: 21px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
}
.stat span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.stat strong {
  display: block;
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: -0.8px;
  overflow-wrap: anywhere;
}
.stat small {
  margin-top: 8px;
  font-size: 10px;
}
.compact .stat {
  background: #faf8fc;
}
.compact strong {
  font-size: 21px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 27px;
  margin-bottom: 23px;
  box-shadow: 0 3px 12px #24203403;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}
.section-head h2 {
  margin-bottom: 4px;
}
.section-head p {
  margin: 0;
}
.muted {
  color: var(--muted);
}
.badge {
  display: inline-block;
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 30px;
  font-size: 10px;
  font-weight: 700;
  background: #f1edf5;
  color: var(--purple);
}
.badge.open,
.badge.signed,
.badge.pending,
.badge.awaiting {
  background: #fff1df;
  color: #a65b00;
}
.badge.promulgated,
.badge.paid {
  background: #e8f6ef;
  color: var(--green);
}
.badge.revoked,
.badge.reaccept,
.badge.review {
  background: #fbe9ed;
  color: #a12636;
}
.badge.cancelled {
  background: #eeedf0;
  color: #777;
}
.alert {
  background: #fff3e7;
  border: 1px solid #ffdfbd;
  color: #8c501c;
  padding: 15px 19px;
  border-radius: 11px;
  margin-bottom: 20px;
}
.alert.danger {
  background: #fbedef;
  border-color: #f3cbd3;
  color: #9f2f40;
}
.alert.success {
  background: #eaf7f0;
  border-color: #cce9da;
  color: #226443;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
th {
  text-align: left;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #948b9d;
  background: #faf9fc;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
tr:last-child td {
  border-bottom: 0;
}
td strong {
  font-size: 12px;
}
td small {
  font-size: 10px;
  margin-top: 3px;
}
.empty {
  text-align: center;
  color: var(--muted);
  padding: 45px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.grid > label {
  margin: 0 0 12px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 650;
  margin: 17px 0;
  color: #544b61;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #ded9e5;
  background: #fff;
  border-radius: 8px;
  padding: 11px 12px;
  margin-top: 7px;
  outline: none;
  color: var(--ink);
  font-weight: 400;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px #f4762114;
}
textarea {
  resize: vertical;
}
input[type="checkbox"] {
  display: inline;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin: 3px 0 0;
  accent-color: var(--orange);
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 450;
  font-size: 12px;
}
.calculated {
  border-radius: 10px;
  background: #fff5eb;
  padding: 13px 16px;
  margin-bottom: 12px;
}
.calculated span {
  font-size: 11px;
  color: #9c6b48;
  display: block;
}
.calculated strong {
  font-size: 24px;
  color: #c95e11;
}
.card > h2:not(:first-child),
form.card > h2:not(:first-child) {
  margin-top: 30px;
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 15px 20px;
  margin: 22px 0;
}
legend {
  padding: 0 8px;
  color: var(--purple);
  font-weight: 750;
}
.tokens {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 17px;
}
.tokens code {
  background: #f4eff9;
  color: var(--purple);
  padding: 4px 7px;
  border-radius: 5px;
  font-size: 10px;
}
.event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.event-card {
  display: block;
  margin: 0;
}
.event-card:hover {
  border-color: #edba95;
}
.event-card h2 {
  font-size: 21px;
  margin-bottom: 5px;
}
.event-card p {
  color: var(--muted);
  margin-bottom: 5px;
}
.event-icon {
  width: 42px;
  height: 42px;
  background: #fff0e4;
  color: var(--orange);
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 24px;
}
.progress {
  height: 6px;
  border-radius: 10px;
  background: #f1edf5;
  margin: 25px 0 12px;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--orange);
  border-radius: 10px;
}
.event-card .section-head:last-child {
  font-size: 11px;
  margin: 0;
}
.event-card .section-head:last-child span {
  color: var(--purple);
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
  border-radius: 22px;
  overflow: hidden;
  min-height: 570px;
  border: 1px solid var(--line);
}
.auth-story {
  background: #fff1e5;
  padding: 50px 42px;
  position: relative;
  overflow: hidden;
}
.auth-story .brand {
  margin-bottom: 80px;
}
.pill {
  font-size: 9px;
  letter-spacing: 1.1px;
  font-weight: 800;
  border-radius: 25px;
  background: #f0e8fa;
  color: var(--purple);
  padding: 6px 11px;
  display: inline-block;
  margin-bottom: 17px;
}
.auth-story h2 {
  font-size: 44px;
  line-height: 1.1;
  position: relative;
  z-index: 1;
}
.auth-story p {
  max-width: 280px;
  color: #a36f4b;
  position: relative;
  z-index: 1;
}
.orb {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 35px solid #f8bf96;
  border-radius: 100%;
  right: -70px;
  bottom: -50px;
}
.orb-two {
  width: 90px;
  height: 90px;
  border: 22px solid #b49bcd;
  bottom: 110px;
  right: -20px;
}
.auth-card {
  border: 0;
  box-shadow: none;
  padding: 60px 45px;
  margin: 0;
}
.auth-card h2 {
  font-size: 28px;
}
.auth-card hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 23px 0;
}
.auth-card > small {
  margin-top: 20px;
}
.intro {
  padding: 5px 0 20px;
}
.intro h2 {
  font-size: 32px;
  margin-bottom: 10px;
}
.intro p {
  color: var(--muted);
}
.filters {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 20px 0;
}
.filters input {
  flex: 1;
  margin: 0;
}
.filters select {
  width: 200px;
  margin: 0;
}
.filters button {
  white-space: nowrap;
}
.overdue {
  color: #b43c36;
}
.small-button {
  font-size: 10px;
  padding: 8px 10px;
}
.contract-body {
  max-width: 900px;
  line-height: 1.8;
}
.document-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 17px;
  margin-bottom: 25px;
}
.document-header strong {
  color: var(--orange);
  font-size: 27px;
  font-weight: 950;
}
.document-header span {
  font-size: 11px;
  color: var(--purple);
  align-self: center;
}
.contract-body small {
  font-size: 9px;
  overflow-wrap: anywhere;
}
.contract-body table {
  margin: 20px 0;
}
.camera-box {
  background: #faf8fc;
  border: 1px dashed #cfc0dc;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.camera-box video,
.camera-box img {
  display: block;
  max-width: 380px;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #eee9f3;
  border-radius: 12px;
  margin: 0 auto 15px;
}
.camera-box video {
  transform: scaleX(-1);
}
[hidden] {
  display: none !important;
}
.camera-box p {
  font-size: 11px;
  color: var(--muted);
  margin: 15px 0 0;
}
.signature {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  align-items: center;
}
.signature img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 10px;
}
.signature small {
  font-size: 9px;
  overflow-wrap: anywhere;
}
.signature div {
  min-width: 0;
}
.signature p {
  margin: 7px 0;
}
.payment-card {
  max-width: 550px;
  margin: auto;
  text-align: center;
}
.payment-total {
  font-size: 44px;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: -1.5px;
}
.payment-breakdown {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  margin: 18px 0;
  text-align: left;
}
.payment-breakdown p {
  display: flex;
  justify-content: space-between;
  margin: 6px 0;
  font-size: 12px;
}
.qr {
  width: 235px;
  max-width: 100%;
  margin: 15px auto;
}
.payment-card label {
  text-align: left;
}
.payment-card .muted {
  font-size: 11px;
  margin: 20px 0;
}
.narrow {
  max-width: 600px;
}
footer {
  font-size: 10px;
  color: #aaa1b3;
  text-align: center;
  margin-top: 35px;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 22px 0;
}
.note-editor {
  margin-top: 10px;
}
.note-editor button {
  transform: none;
}
.note-editor .note-editable {
  font-size: 14px;
}
details {
  font-size: 11px;
  margin-top: 8px;
}
summary {
  cursor: pointer;
  color: var(--purple);
}
@media (min-width: 1500px) {
  .main {
    padding: 40px 60px;
  }
  .hero {
    min-height: 280px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 215px;
    padding: 30px 15px;
  }
  .main {
    margin-left: 215px;
    padding: 25px;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-symbol {
    font-size: 110px;
    padding: 0;
  }
  .event-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .sidebar {
    position: static;
    width: auto;
    padding: 18px 20px;
    display: block;
  }
  .sidebar .brand {
    font-size: 31px;
  }
  .sidebar .brand span {
    font-size: 8px;
  }
  .workspace,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
    gap: 5px;
    margin-top: 18px;
  }
  .sidebar nav a {
    white-space: nowrap;
    padding: 9px 12px;
    font-size: 11px;
    margin: 0;
  }
  .main {
    margin: 0;
    padding: 22px 15px;
  }
  .public-main {
    padding: 18px;
  }
  .topbar {
    margin-bottom: 22px;
  }
  h1 {
    font-size: 23px;
  }
  .today {
    font-size: 10px;
  }
  .hero {
    padding: 27px 24px;
    min-height: 220px;
  }
  .hero h2 {
    font-size: 27px;
  }
  .hero-symbol {
    display: none;
  }
  .card {
    padding: 20px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 17px;
  }
  .stat strong {
    font-size: 22px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-story {
    padding: 30px;
  }
  .auth-story .brand {
    margin-bottom: 25px;
  }
  .auth-story h2 {
    font-size: 33px;
  }
  .auth-story p {
    display: none;
  }
  .auth-card {
    padding: 30px;
  }
  .filters {
    flex-wrap: wrap;
  }
  .filters input {
    flex-basis: 100%;
  }
  .filters select {
    flex: 1;
  }
  .section-head {
    flex-wrap: wrap;
  }
  .signature img {
    width: 70px;
    height: 80px;
  }
  .payment-total {
    font-size: 36px;
  }
  .event-card .section-head:last-child {
    gap: 7px;
  }
  .intro h2 {
    font-size: 27px;
  }
}
@media print {
  body {
    background: #fff;
  }
  .sidebar,
  .topbar,
  footer,
  .alert,
  button,
  .button,
  .section-head,
  .signature,
  main > .card:not(.contract-body) {
    display: none !important;
  }
  .main {
    margin: 0;
    padding: 0;
  }
  .contract-body {
    display: block !important;
    border: 0;
    box-shadow: none;
    padding: 0;
    max-width: none;
  }
  .document-header span {
    display: block;
  }
  .contract-body table {
    page-break-inside: avoid;
  }
  a {
    color: #000;
  }
}

/* Marca compartilhada e login em duas colunas. */
.famp-logo {
  display: block;
  width: 170px;
  max-width: 100%;
  height: 64px;
  object-fit: contain;
  object-position: left center;
}
.famp-logo--fallback { height: auto; font-size: 42px; line-height: 1.15; font-weight: 900; letter-spacing: -2px; }
.famp-logo--orange { color: var(--orange); }
.famp-logo--white { color: #fff; }
.brand { letter-spacing: normal; }
.brand .famp-logo { width: 172px; height: 64px; }
.public-brand { flex: 0 0 auto; margin-right: 8px; }
.public-brand .famp-logo { width: 132px; height: 48px; }
.hero-brand { display: flex; align-items: center; justify-content: center; width: 32%; padding: 22px; }
.hero-brand .famp-logo { width: 230px; height: 130px; object-position: center; }
.document-header .famp-logo { width: 160px; height: 58px; }
.site-footer { display: flex; justify-content: center; align-items: center; gap: 14px; }
.site-footer .famp-logo { width: 72px; height: 30px; }
.site-footer .famp-logo--fallback { font-size: 20px; }
.page-login { background: #fff; }
.page-login .public-main, .page-login .main { margin: 0; padding: 0; max-width: none; width: 100%; }
.page-login .auth-layout { min-height: 100vh; min-height: 100svh; grid-template-columns: 1fr 1fr; border: 0; border-radius: 0; }
.page-login .auth-story { display: flex; flex-direction: column; justify-content: space-between; gap: 56px; background: var(--orange); color: #fff; padding: clamp(40px, 6vw, 88px); }
.page-login .auth-brand { display: inline-block; position: relative; z-index: 1; align-self: flex-start; }
.page-login .auth-brand .famp-logo { width: clamp(180px, 20vw, 270px); height: 105px; }
.page-login .auth-brand .famp-logo--fallback { font-size: 70px; }
.page-login .auth-story-copy { position: relative; z-index: 1; }
.page-login .auth-kicker { display: block; font-size: 11px; font-weight: 700; letter-spacing: 2.5px; margin-bottom: 22px; color: #fff; }
.page-login .auth-story h2 { font-size: clamp(36px, 4.2vw, 66px); font-weight: 750; letter-spacing: -2px; line-height: 1.08; margin-bottom: 24px; }
.page-login .auth-story p { color: #fff; opacity: .92; max-width: 350px; font-size: 16px; line-height: 1.7; }
.page-login .auth-story-bottom { position: relative; z-index: 1; font-size: 11px; color: #fff; opacity: .85; }
.page-login .auth-decoration { position: absolute; width: 440px; height: 440px; right: -260px; bottom: -200px; border: 70px solid rgba(255,255,255,.12); border-radius: 50%; pointer-events: none; }
.page-login .auth-form-panel { background: #fff; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 64px 48px 30px; }
.page-login .auth-card { background: #fff; border: 0; border-radius: 0; padding: 0; width: 100%; max-width: 410px; margin: auto 0; box-shadow: none; }
.page-login .auth-card .eyebrow { color: var(--purple); margin-bottom: 18px; }
.page-login .auth-card h1 { font-size: clamp(28px, 2.5vw, 36px); line-height: 1.2; letter-spacing: -1px; margin-bottom: 15px; }
.page-login .auth-card > .muted { line-height: 1.7; margin-bottom: 30px; }
.page-login .auth-card label { margin: 20px 0; font-size: 13px; }
.page-login .auth-card input { min-height: 49px; border-radius: 9px; }
.page-login .auth-card .primary { min-height: 49px; justify-content: space-between; padding: 12px 18px; margin-top: 8px; }
.page-login .auth-signup { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 23px; }
.page-login .auth-signup p { text-align: center; margin-bottom: 9px; color: var(--muted); font-size: 12px; }
.page-login .auth-card .auth-help { color: var(--muted); font-size: 11px; line-height: 1.7; text-align: center; margin: 22px 0 0; }
.page-login .auth-form-footer { margin-top: 42px; color: #a49baa; font-size: 10px; }
.page-login .site-footer { display: none; }
@media (max-width: 900px) {
  .page-login .auth-story { padding: 40px 32px; }
  .page-login .auth-form-panel { padding: 48px 30px 24px; }
  .page-login .auth-story h2 { font-size: 40px; }
}
@media (max-width: 700px) {
  .page-login .auth-layout { grid-template-columns: 1fr; }
  .page-login .auth-story { min-height: 235px; padding: 28px 26px 32px; gap: 22px; }
  .page-login .auth-brand .famp-logo { width: 170px; height: 65px; }
  .page-login .auth-brand .famp-logo--fallback { font-size: 48px; }
  .page-login .auth-story h2 { font-size: 32px; letter-spacing: -1px; margin: 0; }
  .page-login .auth-story .auth-kicker, .page-login .auth-story p, .page-login .auth-story-bottom { display: none; }
  .page-login .auth-form-panel { padding: 36px 26px 22px; }
  .page-login .auth-card { max-width: 440px; }
  .page-login .auth-card h1 { font-size: 28px; }
  .hero-brand { display: none; }
  .sidebar .brand .famp-logo { width: 140px; height: 48px; }
  .public-brand .famp-logo { width: 105px; height: 40px; }
}
@media print {
  .document-header .famp-logo { display: block !important; width: 160px; height: 58px; }
  .site-footer { display: none !important; }
}
.brand .famp-logo--fallback { font-size: 40px; color: var(--orange); line-height: 1.1; letter-spacing: -2px; }
.public-main .topbar { flex-wrap: wrap; gap: 16px; }

/* Comprovante de assinatura FAMP, separado do texto contratual aceito. */
.template-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 18px 0; }
.famp-signature-receipt { border: 1px solid #e4d7ed; border-left: 4px solid var(--purple); background: #faf7fd; border-radius: 10px; padding: 22px; margin: 30px 0 20px; break-inside: avoid; overflow-wrap: anywhere; }
.famp-signature-receipt h3 { margin: 0; color: var(--purple); }
.famp-signature-receipt dl { margin: 16px 0; }
.famp-signature-receipt dl > div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; margin: 7px 0; }
.famp-signature-receipt dt { color: var(--muted); font-size: 11px; }
.famp-signature-receipt dd { margin: 0; font-size: 12px; }
.famp-signer-photo { width: 84px; height: 84px; object-fit: cover; border-radius: 9px; margin: 10px 0; }
.signing-list { font-size: 12px; overflow-wrap: anywhere; padding: 12px 0; }
@media (max-width: 700px) { .famp-signature-receipt dl > div { grid-template-columns: 1fr; gap: 2px; } }
@media print {
    .famp-signature-receipt { display: block !important; border-color: #999; background: #fff; }
    .famp-signature-receipt .section-head { display: flex !important; }
    .famp-signature-receipt small { font-size: 8px; }
    .admin-contract-action { display: none !important; }
}

@media print { .legacy-signature-note { display: block !important; font-size: 10px; } }

/* Aceite do formando junto à versão que será impressa. */
.student-signature-receipt { border: 1px solid #f0dfce; border-left: 4px solid var(--orange); border-radius: 10px; padding: 22px; margin: 30px 0 20px; overflow-wrap: anywhere; break-inside: avoid; }
.student-signature-receipt h3 { color: var(--orange-dark); margin: 0 0 14px; }
.student-signature-details { display: flex; gap: 20px; align-items: flex-start; }
.student-signer-photo { width: 84px; height: 84px; object-fit: cover; border-radius: 9px; }
.student-signature-receipt dl { flex: 1; margin: 0 0 15px; }
.student-signature-receipt dl > div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; margin: 6px 0; }
.student-signature-receipt dt { font-size: 11px; color: var(--muted); }
.student-signature-receipt dd { font-size: 12px; margin: 0; }
.contract-print-button { margin: 2px 0 25px; }
@media (max-width: 700px) { .student-signature-details { flex-direction: column; } .student-signature-receipt dl > div { grid-template-columns: 1fr; gap: 2px; } }
@media print { .student-signature-receipt { display: block !important; } .student-signature-receipt small { font-size: 8px; } }
