/* Contasy product language. Scoped to the platform and monthly process only.
   All tab, counter, typing and reveal hooks stay in their original markup. */
#plataforma,
#burocracia {
  --product-line: var(--ui-line, #e4e8ee);
  --product-wash: var(--ui-wash, #f6f8fa);
  --product-shadow: var(--ui-shadow, 0 2px 4px #0f172a03, 0 18px 45px -24px #25345126);
  --product-radius: var(--ui-radius, 14px);
  --product-muted: #687589;
  background: #fff;
}

/* A calm application shell, with a compact navigation and a generous canvas. */
#plataforma .workspace {
  border: 1px solid var(--product-line);
  border-radius: var(--product-radius);
  background: #fff;
  box-shadow: var(--product-shadow);
}
#plataforma .workspace-chrome {
  min-height: 54px;
  padding: 14px 24px;
  gap: 20px;
  background: #fbfcfd;
  border-bottom-color: var(--product-line);
  color: #788397;
  font: 400 10px/1.5 Figtree, Arial, sans-serif;
}
#plataforma .workspace-chrome .lock {
  padding: 4px 12px;
  border: 1px solid var(--product-line);
  border-radius: 6px;
  background: #fff;
  color: #627084;
}
#plataforma .window-dots { gap: 5px; }
#plataforma .window-dots i { width: 6px; height: 6px; background: #d5dce5; }
#plataforma .workspace-main {
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 510px;
}
#plataforma .workspace-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 28px 13px 22px;
  background: #fafbfc;
  border-right: 1px solid var(--product-line);
  border-bottom: 0;
}
#plataforma .workspace-brand { display: block; padding: 2px 13px 26px; }
#plataforma .workspace-brand img { width: 96px; height: 25px; object-fit: contain; }
#plataforma .workspace-nav [role="tab"] {
  position: relative;
  min-height: 44px;
  flex: none;
  gap: 9px;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #69768a;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  justify-content: flex-start;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}
#plataforma .workspace-nav [role="tab"] .icon {
  width: 16px;
  height: 16px;
  color: #8490a2;
}
#plataforma .workspace-nav [role="tab"]:hover { color: var(--ink); background: #fff; }
#plataforma .workspace-nav [role="tab"][aria-selected="true"] {
  background: #fff;
  border-color: var(--product-line);
  color: var(--ink);
  box-shadow: 0 2px 3px #17223504;
}
#plataforma .workspace-nav [role="tab"][aria-selected="true"] .icon { color: var(--ink); }
#plataforma .workspace-nav [role="tab"][aria-selected="true"]::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 13px;
  bottom: 13px;
  width: 2px;
  border-radius: 2px;
  background: var(--rose);
}
#plataforma .workspace-nav .workspace-nav-note {
  display: block;
  margin: auto 12px 0;
  padding-top: 20px;
  border-top-color: var(--product-line);
  color: #7b8697;
  font-size: 10px;
  line-height: 1.75;
}
#plataforma .workspace-content {
  display: grid;
  align-content: center;
  padding: 36px;
  background: #fff;
  min-width: 0;
}
#plataforma .product-panel {
  display: grid;
  grid-template-columns: minmax(0, .77fr) minmax(0, 1.23fr);
  gap: 32px;
  align-items: center;
  min-width: 0;
}
#plataforma .product-panel[hidden] { display: none; }
#plataforma .workspace-content.is-enhanced .product-panel { margin: 0; padding: 0; border: 0; }
#plataforma .product-heading { display: block; min-width: 0; }
#plataforma .product-heading h3 {
  font-size: clamp(23px, 2.15vw, 30px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -.04em;
  color: var(--ink);
  max-width: 330px;
}
#plataforma .product-heading p {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--product-muted);
}
#plataforma .product-demo {
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: 356px;
  margin-top: 0;
  padding: 20px;
  border: 1px solid var(--product-line);
  border-radius: 12px;
  background: var(--product-wash);
}
#plataforma .status,
#burocracia .chapter-demo .status {
  gap: 5px;
  padding: 4px 7px;
  border: 1px solid #d9ede3;
  border-radius: 5px;
  background: var(--success-soft);
  color: var(--success);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.45;
}

/* A readable activity ledger replaces the horizontal miniature timeline. */
#plataforma .migration-timeline {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 4px 14px;
  border: 1px solid var(--product-line);
  border-radius: 9px;
  background: #fff;
}
#plataforma .migration-timeline::before { display: none; }
#plataforma .milestone {
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr);
  gap: 2px 11px;
  align-items: center;
  padding: 12px 0;
}
#plataforma .milestone + .milestone { border-top: 1px solid #edf0f4; }
#plataforma .milestone .milestone-icon {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 29px;
  height: 29px;
  margin: 0;
  border: 1px solid var(--product-line);
  border-radius: 7px;
  background: #f8fafb;
  color: #7a8798;
}
#plataforma .milestone .icon { width: 15px; height: 15px; }
#plataforma .milestone:nth-child(3) .milestone-icon,
#plataforma .milestone:last-child .milestone-icon {
  background: var(--success-soft);
  border-color: #d9ede3;
  color: var(--success);
}
#plataforma .milestone strong {
  grid-column: 2;
  max-width: none;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 500;
  color: #344155;
}
#plataforma .milestone small { grid-column: 2; margin: 0; color: #8290a2; font-size: 10px; line-height: 1.5; }
#plataforma .migration-complete {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr) auto;
  gap: 9px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--product-line);
  border-radius: 8px;
  background: #fff;
  font-size: 10px;
  line-height: 1.5;
}
#plataforma .migration-complete > .icon { width: 17px; height: 17px; }
#plataforma .migration-complete .status { font-size: 9px; padding: 4px 6px; }

/* Files use the same rows and status column as the monthly screens. */
#plataforma .doc-tiles {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--product-line);
  border-radius: 9px;
  background: #fff;
}
#plataforma .doc-tile {
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 76px;
  padding: 18px 15px;
  border: 0;
  border-radius: 0;
  background: #fff;
}
#plataforma .doc-tile + .doc-tile { border-top: 1px solid var(--product-line); }
#plataforma .doc-tile > .icon { width: 22px; height: 22px; margin: 0; color: #8390a2; }
#plataforma .doc-tile strong { margin: 0; color: #344155; font-size: 12px; font-weight: 500; line-height: 1.45; }
#plataforma .demo-conversation { width: 100%; max-width: 470px; margin: 0 auto; }
#plataforma .demo-message {
  max-width: 92%;
  padding: 17px 18px;
  border: 1px solid var(--product-line);
  border-radius: 10px 10px 10px 3px;
  background: #fff;
  color: #344155;
  font-size: 12px;
  line-height: 1.75;
  box-shadow: 0 3px 5px #17223503;
}
#plataforma .demo-message.reply {
  margin: 18px 0 0 auto;
  border-color: #dce3eb;
  border-radius: 10px 10px 3px 10px;
  background: #edf1f5;
  color: var(--ink);
}
#plataforma .demo-message small { margin-bottom: 8px; color: #7d899a; opacity: 1; font-size: 10px; }
#plataforma .timer-demo { gap: 24px; padding: 16px 0; }
#plataforma .timer-dial { width: 142px; height: 142px; flex: none; }
#plataforma .timer-dial svg { stroke: #e1e7ee; stroke-width: 1.7; }
#plataforma .timer-dial svg .timer-stroke { stroke: var(--success); }
#plataforma .timer-dial strong { font-size: 69px; font-weight: 500; color: var(--ink); }
#plataforma .timer-demo > div:last-child p { font-size: 20px; line-height: 1.4; color: #4f5f73; }
#plataforma .timer-demo > div:last-child .status { margin-top: 15px; }
#plataforma .metric-rail { gap: 28px; margin-top: 32px; padding-block: 24px; border-top: 0; border-bottom-color: var(--product-line); }
#plataforma .metric { padding-left: 28px; border-left-color: var(--product-line); }
#plataforma .metric:first-child { padding-left: 0; }
#plataforma .metric strong { font-size: clamp(32px, 3.2vw, 46px); font-weight: 500; letter-spacing: -.05em; }
#plataforma .metric p { max-width: 245px; font-size: 12px; color: var(--product-muted); }

/* Three chapters share one grid and the same application chrome. The visual
   order is title, screen, explanation; the complete copy stays in the DOM. */
#burocracia .chapters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 48px;
}
#burocracia .chapter {
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr);
  grid-template-rows: 58px 480px auto 1fr;
  gap: 20px 11px;
  align-items: start;
  padding: 0;
  border: 0;
  min-width: 0;
}
#burocracia .chapter-number {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  padding: 0;
  border: 1px solid var(--product-line);
  border-radius: 8px;
  background: #fff;
  color: #6e7b8c;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.03em;
}
#burocracia .chapter.is-current .chapter-number { color: var(--ink); border-color: #bbc7d5; }
#burocracia .chapter-copy { display: contents; }
#burocracia .chapter-copy > h3 {
  grid-column: 2;
  grid-row: 1;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.035em;
  color: var(--ink);
}
#burocracia .chapter-copy > p {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #647186;
}
#burocracia .chapter-copy > .chapter-note {
  grid-row: 4;
  margin-top: -8px;
  padding-top: 14px;
  border-top: 1px solid var(--product-line);
  font-size: 12px;
  line-height: 1.75;
  color: #8590a0;
}
#burocracia .chapter-demo {
  --demo-ink: var(--ink);
  --demo-muted: var(--product-muted);
  --demo-line: var(--product-line);
  --demo-wash: var(--product-wash);
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--product-line);
  border-radius: var(--product-radius);
  background: #fff;
  box-shadow: var(--product-shadow);
  color: var(--ink);
}
#burocracia .demo-topline {
  flex: none;
  min-height: 59px;
  gap: 14px;
  padding: 15px 17px;
  border-bottom: 1px solid var(--product-line);
  background: #fbfcfd;
}
#burocracia .demo-brand { width: 80px; height: 22px; }
#burocracia .demo-brand--notasy { width: 78px; height: 23px; }
#burocracia .demo-topline > span { color: #7b8799; font-size: 10px; line-height: 1.5; }
#burocracia .demo-topline > .demo-period { gap: 5px; padding: 5px 6px; border-radius: 5px; background: #fff; box-shadow: inset 0 0 0 1px var(--product-line); font-weight: 400; }
#burocracia .demo-period .icon { width: 12px; height: 12px; }
#burocracia .demo-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-width: 0;
  padding: 19px;
}
#burocracia .demo-fields { gap: 12px; }
#burocracia .form-label { gap: 5px; margin-bottom: 9px; font-size: 11px; color: #758296; }
#burocracia .form-label .icon { width: 13px; height: 13px; color: #8c98a9; }
#burocracia .demo-field {
  min-height: 51px;
  gap: 7px;
  padding: 12px 10px;
  border: 1px solid var(--product-line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 2px 3px #17223502;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
#burocracia .demo-field::before { flex: none; color: #8895a6; font-size: 10px; }
#burocracia .file-zone { margin: 0; padding: 13px; border: 1px dashed #d9e1e9; border-radius: 9px; background: #fbfcfd; }
#burocracia .file-zone-heading { gap: 7px; margin-bottom: 13px; }
#burocracia .file-zone-heading > .icon { width: 15px; height: 15px; color: #8491a3; }
#burocracia .file-zone strong { font-size: 11px; font-weight: 500; line-height: 1.5; color: #5d6a7e; }
#burocracia .demo-file { grid-template-columns: 26px minmax(0, 1fr) 17px; gap: 8px; padding: 12px 9px; border-color: var(--product-line); border-radius: 7px; box-shadow: 0 2px 3px #17223502; }
#burocracia .demo-file-icon { width: 26px; height: 30px; border-color: var(--product-line); border-radius: 6px; color: #8290a1; background: var(--product-wash); }
#burocracia .demo-file-icon .icon { width: 16px; height: 16px; }
#burocracia .demo-file > div > span { font-size: 10px; line-height: 1.5; color: #526175; }
#burocracia .demo-file small { font-size: 9px; color: #8893a3; }
#burocracia .demo-file-check { width: 17px; height: 17px; color: var(--success); }
#burocracia .file-progress { height: 2px; margin-top: 13px; background: #e7ecf0; }
#burocracia .file-progress i { background: #889a94; }
#burocracia .invoice-summary { gap: 12px; margin: 0; padding: 0 0 18px; border-bottom: 1px solid var(--product-line); background: transparent; }
#burocracia .invoice-summary > strong { min-width: 1.08em; font-size: 44px; font-weight: 500; line-height: 1; letter-spacing: -.065em; color: var(--ink); }
#burocracia .invoice-summary > div > span { font-size: 14px; font-weight: 500; color: #3e4c60; }
#burocracia .invoice-summary small { font-size: 10px; color: #7d8b9d; }
#burocracia .invoice-summary-check { width: 27px; height: 27px; border-color: #d9ede3; background: var(--success-soft); color: var(--success); }
#burocracia .invoice-summary-check .icon { width: 15px; height: 15px; }
#burocracia .demo-table-wrap { flex: none; border: 1px solid var(--product-line); border-radius: 8px; overflow: hidden; }
#burocracia .tiny-table { table-layout: auto; width: 100%; font-size: 11px; color: #58667b; }
#burocracia .tiny-table th { padding: 11px 10px; border-bottom-color: var(--product-line); background: var(--product-wash); color: #7e8a9c; font-size: 10px; font-weight: 500; line-height: 1.5; letter-spacing: 0; text-transform: none; }
#burocracia .tiny-table td { padding: 13px 10px; border-bottom-color: #edf0f4; font-size: 11px; line-height: 1.5; }
#burocracia .tiny-table td:last-child,
#burocracia .tiny-table th:last-child { text-align: right; white-space: nowrap; }
#burocracia .chapter-demo--invoices .tiny-table tbody tr:last-child { color: #344155; background: #fafbfc; font-weight: 500; }
#burocracia .demo-total { gap: 12px; margin: 0; padding: 14px 12px; border: 1px solid var(--product-line); border-radius: 8px; background: var(--product-wash); color: #7a8799; font-size: 10px; line-height: 1.6; }
#burocracia .demo-total strong { font-size: 23px; font-weight: 500; color: var(--ink); letter-spacing: -.045em; }
#burocracia .chapter-demo .status.pending { border-color: var(--product-line); box-shadow: none; background: #f8fafc; color: #7e8a9b; }
#burocracia .tax-receipt { margin: 0; padding: 15px; border: 1px solid var(--product-line); border-radius: 9px; background: #fff; box-shadow: 0 3px 8px #17223505; }
#burocracia .tax-receipt-heading { gap: 9px; }
#burocracia .tax-document-icon { width: 28px; height: 33px; border-radius: 6px; border-color: var(--product-line); background: var(--product-wash); color: #8490a2; }
#burocracia .tax-document-icon .icon { width: 16px; height: 16px; }
#burocracia .tax-receipt h4 { font-size: 12px; font-weight: 500; line-height: 1.4; color: #344155; }
#burocracia .tax-receipt p { margin: 3px 0 0; font-size: 9px; line-height: 1.55; color: #8792a3; }
#burocracia .tax-receipt-value { gap: 9px; margin-top: 15px; padding: 11px 10px; border-radius: 6px; background: var(--product-wash); color: #8490a1; font-size: 9px; line-height: 1.5; }
#burocracia .tax-receipt-value time { margin-top: 3px; color: #566478; font-size: 11px; }
#burocracia .tax-receipt-value strong { font-size: 21px; font-weight: 500; color: var(--ink); }
#burocracia .tax-receipt-barcode { width: 74%; height: 17px; margin-top: 14px; opacity: .4; }

/* A neutral comparison ledger; checks carry the semantic distinction. */
#burocracia .comparison { padding-top: 90px; }
#burocracia .comparison-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: end; max-width: none; margin-bottom: 30px; }
#burocracia .comparison-heading h3 { max-width: 600px; font-size: clamp(28px, 3vw, 39px); line-height: 1.2; letter-spacing: -.04em; font-weight: 500; color: var(--ink); }
#burocracia .comparison-heading p { max-width: 400px; margin: 0; color: #7a8799; font-size: 14px; line-height: 1.8; }
#burocracia .comparison-scroll { border: 1px solid var(--product-line); border-radius: var(--product-radius); background: #fff; box-shadow: 0 2px 4px #17223502; }
#burocracia .comparison-table { min-width: 660px; table-layout: fixed; font-size: 13px; }
#burocracia .comparison-table th,
#burocracia .comparison-table td { padding: 21px 25px; border-bottom-color: var(--product-line); font-size: 13px; line-height: 1.6; vertical-align: middle; }
#burocracia .comparison-table thead th { background: #f9fafc; color: #748095; font-size: 11px; font-weight: 500; }
#burocracia .comparison-table th:first-child { width: 30%; }
#burocracia .comparison-table th:last-child,
#burocracia .comparison-table td:last-child { background: #fbfcfd; border-left: 1px solid var(--product-line); color: #344155; border-radius: 0; }
#burocracia .comparison-table thead th:last-child { background: var(--product-wash); color: var(--ink); }
#burocracia .comparison-table tbody th { color: #566478; font-weight: 500; }
#burocracia .comparison-table td:nth-child(2) { color: #8a95a5; }
#burocracia .comparison-table tbody tr:last-child > * { border-bottom: 0; }
#burocracia .comparison-table .cell-value { display: flex; align-items: flex-start; gap: 10px; }
#burocracia .comparison-table .cell-value > .icon { flex: none; width: 18px; height: 18px; margin: 1px 0 0; padding: 2px; border-radius: 50%; background: var(--success-soft); color: var(--success); }

@media (max-width: 1190px) {
  #plataforma .workspace-main { grid-template-columns: 174px minmax(0, 1fr); }
  #plataforma .workspace-content { padding: 28px; }
  #plataforma .product-panel { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  #plataforma .product-heading h3 { max-width: 620px; font-size: 26px; }
  #plataforma .product-heading p { max-width: 620px; margin-top: 12px; }
  #plataforma .product-demo { min-height: 310px; }
  #plataforma .migration-timeline { padding-inline: 17px; }
  #plataforma .milestone { grid-template-columns: 29px minmax(0, 1fr) auto; padding-block: 14px; }
  #plataforma .milestone .milestone-icon { grid-row: 1; }
  #plataforma .milestone small { grid-column: 3; grid-row: 1; margin-left: 10px; }
  #burocracia .chapters { grid-template-columns: minmax(0, 1fr); gap: 0; }
  #burocracia .chapter { grid-template-columns: 32px minmax(0, .82fr) minmax(0, 1.18fr); grid-template-rows: auto; gap: 26px; align-items: center; padding: 34px 0; border-top: 1px solid var(--product-line); }
  #burocracia .chapter-number { align-self: center; }
  #burocracia .chapter-copy { display: block; grid-column: 2; grid-row: 1; }
  #burocracia .chapter-copy > h3 { font-size: 26px; }
  #burocracia .chapter-copy > p { margin-top: 17px; }
  #burocracia .chapter-copy > .chapter-note { margin-top: 20px; font-size: 11px; }
  #burocracia .chapter-demo { grid-column: 3; grid-row: 1; height: auto; }
  #burocracia .demo-body { flex: auto; min-height: 0; padding: 20px; }
}

/* Keep the visual orientation aligned with tabOrientation() at 900px. */
@media (max-width: 900px) {
  #plataforma .workspace-main { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  #plataforma .workspace-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; padding: 12px; border-right: 0; border-bottom: 1px solid var(--product-line); }
  #plataforma .workspace-brand,
  #plataforma .workspace-nav .workspace-nav-note { display: none; }
  #plataforma .workspace-nav [role="tab"] { justify-content: center; width: 100%; padding: 11px 8px; white-space: normal; font-size: 11px; }
  #plataforma .workspace-nav [role="tab"][aria-selected="true"]::before { top: auto; bottom: -1px; left: 16px; right: 16px; width: auto; height: 2px; }
  #plataforma .workspace-content { padding: 28px; }
  #plataforma .product-demo { padding: 22px; }
  #burocracia .chapter { grid-template-columns: 29px minmax(0, .75fr) minmax(0, 1.25fr); gap: 20px; }
  #burocracia .chapter-copy > h3 { font-size: 24px; }
  #burocracia .chapter-copy > p { font-size: 13px; }
  #burocracia .demo-body { padding: 16px; }
}

@media (max-width: 780px) {
  #burocracia .chapters { gap: 42px; margin-top: 36px; }
  #burocracia .chapter { grid-template-columns: 29px minmax(0, 1fr); grid-template-rows: auto auto auto auto; gap: 18px 12px; padding: 0; border: 0; }
  #burocracia .chapter-number { align-self: start; }
  #burocracia .chapter-copy { display: contents; }
  #burocracia .chapter-copy > h3 { grid-column: 2; grid-row: 1; font-size: 25px; }
  #burocracia .chapter-copy > p { grid-column: 1 / -1; grid-row: 3; margin: 0; font-size: 14px; }
  #burocracia .chapter-copy > .chapter-note { grid-row: 4; margin-top: -5px; padding-top: 13px; font-size: 12px; }
  #burocracia .chapter-demo { grid-column: 1 / -1; grid-row: 2; height: auto; }
  #burocracia .demo-body { padding: 24px; }
  #burocracia .demo-topline { padding-inline: 22px; }
  #burocracia .comparison { padding-top: 64px; }
  #burocracia .comparison-heading { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  #burocracia .comparison-heading p { max-width: 540px; }
}

@media (max-width: 620px) {
  #plataforma .workspace-chrome { padding: 11px 15px; min-height: 47px; }
  #plataforma .workspace-chrome > .workspace-label { display: none; }
  #plataforma .workspace-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px; gap: 6px; }
  #plataforma .workspace-nav [role="tab"] { justify-content: flex-start; min-height: 42px; padding: 10px; font-size: 11px; gap: 7px; }
  #plataforma .workspace-nav [role="tab"] .icon { width: 15px; height: 15px; }
  #plataforma .workspace-content { padding: 24px 16px 18px; }
  #plataforma .product-panel { gap: 24px; }
  #plataforma .product-heading h3 { font-size: 25px; }
  #plataforma .product-heading p { margin-top: 12px; font-size: 13px; line-height: 1.75; }
  #plataforma .product-demo { min-height: 280px; padding: 14px; border-radius: 9px; }
  #plataforma .migration-timeline { padding-inline: 12px; }
  #plataforma .milestone { grid-template-columns: 26px minmax(0, 1fr); gap: 3px 10px; padding-block: 12px; }
  #plataforma .milestone .milestone-icon { grid-row: 1 / 3; width: 26px; height: 26px; }
  #plataforma .milestone strong { font-size: 11px; }
  #plataforma .milestone small { grid-column: 2; grid-row: 2; margin: 0; font-size: 10px; }
  #plataforma .migration-complete { grid-template-columns: 17px minmax(0, 1fr); padding: 11px; gap: 7px; }
  #plataforma .migration-complete .status { grid-column: 2; justify-self: start; }
  #plataforma .doc-tile { min-height: 72px; grid-template-columns: 19px minmax(0, 1fr) auto; gap: 9px; padding: 16px 11px; }
  #plataforma .doc-tile > .icon { width: 19px; height: 19px; }
  #plataforma .doc-tile strong { font-size: 11px; }
  #plataforma .doc-tile .status { font-size: 9px; padding: 4px 5px; }
  #plataforma .demo-message { padding: 14px; max-width: 96%; }
  #plataforma .timer-demo { gap: 18px; }
  #plataforma .timer-dial { width: 120px; height: 120px; }
  #plataforma .timer-dial strong { font-size: 59px; }
  #plataforma .timer-demo > div:last-child p { font-size: 18px; }
  #plataforma .metric-rail { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 26px; padding-block: 20px; }
  #plataforma .metric { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 18px; padding: 0 0 18px !important; border-left: 0; border-bottom: 1px solid var(--product-line); }
  #plataforma .metric:last-child { padding-bottom: 0 !important; border-bottom: 0; }
  #plataforma .metric strong { min-width: 0; font-size: 37px; }
  #plataforma .metric p { margin: 0; font-size: 11px; }
  #burocracia .chapter-copy > h3 { font-size: 23px; }
  #burocracia .demo-body { padding: 19px; }
  #burocracia .demo-topline { padding-inline: 17px; }
  #burocracia .comparison-table th,
  #burocracia .comparison-table td { padding: 18px; font-size: 12px; }
  #burocracia .comparison-table thead th { font-size: 11px; }
}

@media (max-width: 380px) {
  #plataforma .workspace-content { padding-inline: 13px; }
  #plataforma .product-demo { padding: 10px; }
  #plataforma .workspace-nav [role="tab"] { padding-inline: 8px; font-size: 10px; }
  #plataforma .timer-dial { width: 101px; height: 101px; }
  #plataforma .timer-dial strong { font-size: 51px; }
  #plataforma .timer-demo { gap: 12px; }
  #plataforma .timer-demo > div:last-child p { font-size: 16px; }
  #burocracia .demo-body { padding: 14px; gap: 15px; }
  #burocracia .demo-topline { padding: 14px; gap: 10px; }
  #burocracia .demo-brand { width: 72px; height: 20px; }
  #burocracia .demo-brand--notasy { width: 70px; height: 21px; }
  #burocracia .demo-topline > span { font-size: 9px; }
  #burocracia .demo-field { padding-inline: 8px; gap: 5px; font-size: 14px; }
  #burocracia .file-zone { padding: 10px; }
  #burocracia .demo-file { padding-inline: 7px; gap: 7px; }
  #burocracia .tiny-table th { padding-inline: 8px; font-size: 9px; }
  #burocracia .tiny-table td { padding-inline: 8px; font-size: 10px; }
  #burocracia .chapter-demo .status { font-size: 9px; padding: 4px 5px; }
  #burocracia .demo-total { padding: 12px 10px; gap: 8px; font-size: 9px; }
  #burocracia .demo-total strong { font-size: 20px; }
  #burocracia .tax-receipt { padding: 12px; }
  #burocracia .tax-receipt-value { padding-inline: 9px; }
  #burocracia .tax-receipt-value strong { font-size: 20px; }
}
