@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("fonts/playfair-display-latin.woff2") format("woff2");
  font-weight: 600 700;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("fonts/playfair-display-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 600 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ivory: #fcfbf1;
  --paper: #fffdf7;
  --text: #2e2116;
  --muted: #624d3a;
  --wine: #671324;
  --deep: #481020;
  --rose: #f2e7d8;
  --gold: #d2ae69;
  --edge: #e2d6c8;
  --taupe: #988164;
  --sand: #b7a28e;
  --flow-heading-size: clamp(1.23rem, 1.88vw, 1.61rem);
  --serif: "Playfair Display", Georgia, serif;
  --brand: "Montserrat", system-ui, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--text); font: 1rem/1.55 var(--sans); }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button, select, textarea { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #a2463e; outline-offset: 4px; }
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.wrap { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }

.site-header { padding-top: env(safe-area-inset-top); background: var(--wine); color: var(--ivory); }
.header-inner { display: flex; align-items: center; min-height: 74px; gap: 27px; }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  min-height: 46px;
  text-decoration: none;
}
.wordmark-symbol { width: 20px; height: 36px; object-fit: contain; }
.brand-name { font: 600 .94rem/1.25 var(--brand); white-space: nowrap; }
.header-inner nav { margin-left: auto; display: flex; gap: 24px; }
.header-inner nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: #f2e5d4;
  font-size: .83rem;
  text-decoration: none;
}
.header-inner nav a:hover, .header-inner nav a.current { color: #fcfbf1; }
.header-inner nav a.current { text-decoration: underline; text-underline-offset: 7px; text-decoration-color: #d2ae69; }
.internal {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 25px;
  border-left: 1px solid #ac9476;
  color: #f2e5d4;
  font-size: .72rem;
  white-space: nowrap;
}
.internal svg { width: 15px; height: 15px; }

.hero {
  display: flex;
  isolation: isolate;
  position: relative;
  align-items: center;
  min-height: 340px;
  margin-top: 34px;
  overflow: hidden;
  border-radius: 5px;
  background: var(--wine);
  color: #fcfbf1;
}
.hero-content::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("marca/simbolo-dourado.webp") right 18% center / auto 77% no-repeat;
  opacity: .79;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12px;
  border: 1px solid #d2ae6959;
  pointer-events: none;
}
.hero-content { padding: 40px 58px; }
.eyebrow { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; color: var(--gold); }
.hero .eyebrow span { width: 22px; height: 1px; background: currentColor; }
.hero h1 { margin: 11px 0 12px; font: 600 clamp(3.35rem, 6.2vw, 6.05rem)/1.05 var(--serif); letter-spacing: -.042em; }
.hero h1 em { font-weight: 600; color: var(--gold); }
.hero-summary { max-width: 355px; color: #fcfbf1; font-size: 1rem; }
.install-cta {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  margin-top: 20px;
  padding: 0 17px;
  border: 1px solid #e7c78d;
  border-radius: 5px;
  background: #e4c38b;
  color: #3c1020;
  font: 700 .84rem/1.22 var(--brand);
  cursor: pointer;
}
.install-cta:is(:hover, :focus-visible) {
  background: #efd39f;
  color: #3c1020;
}
.install-cta:active { background: #d9b676; color: #3c1020; }
.install-cta svg { width: 17px; height: 17px; }
:is(.site-header, .hero, .dialog-top) :focus-visible { outline-color: var(--gold); }
@media (forced-colors: active) {
  .install-cta { background: ButtonFace; color: ButtonText; border-color: ButtonText; }
}

.flow { margin-top: 41px; scroll-margin-top: 24px; }
.section-header { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 20px; }
.section-header h2 { font: 600 clamp(1.9rem, 3.2vw, 2.55rem)/1.15 var(--serif); letter-spacing: -.04em; }
.section-header p { color: var(--muted); font-size: .87rem; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 21px; margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; min-width: 0; }
.steps li:not(:last-child)::after {
  position: absolute;
  z-index: 1;
  inset: 50% auto auto calc(100% + 6px);
  width: 8px;
  height: 8px;
  border: solid #988164;
  border-width: 1px 1px 0 0;
  transform: translateY(-50%) rotate(45deg);
  content: "";
}
.step {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 214px;
  padding: 17px 20px 13px;
  border: 1px solid var(--edge);
  border-top: 2px solid #988164;
  border-radius: 4px;
  background: var(--paper);
  box-shadow: 0 2px 4px #4f341908;
  text-decoration: none;
  transition: background .16s ease-out, border-color .16s ease-out, box-shadow .16s ease-out;
}
.step:hover, .step:focus-visible { border-color: #b7a28e; background: #fcf8ef; box-shadow: 0 6px 17px #4f341914; }
.step-top { display: flex; align-items: center; justify-content: space-between; color: var(--wine); }
.step-top > svg { width: 24px; height: 24px; }
.step-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #dfccae;
  border-radius: 50%;
  background: #f3ecdd;
  color: var(--wine);
  font: 600 .71rem/1 var(--sans);
  font-variant-numeric: tabular-nums;
}
.step-title { margin-top: 14px; font: 600 var(--flow-heading-size)/1.16 var(--serif); letter-spacing: -.028em; text-wrap: balance; }
.step-desc { display: block; margin: 7px 0 14px; color: var(--muted); font-size: .83rem; }
.step-action, .branch-action { display: flex; align-items: center; gap: 10px; color: var(--wine); font-size: .81rem; font-weight: 690; }
.step-action { justify-content: space-between; margin-top: auto; padding-top: 10px; border-top: 1px solid #ede2d3; }
.step-action svg, .branch-action svg { width: 17px; height: 17px; }

.flow-branches { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-top: 22px; }
.flow-branches::before {
  position: absolute;
  top: 0;
  left: 50%;
  height: 22px;
  border-left: 1px dashed #b7a28e;
  content: "";
}
.flow-branch {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 19px;
  border: 1px solid #e1ccb3;
  border-radius: 4px;
  background: #f6efe3;
  text-decoration: none;
  transition: background .16s ease-out, border-color .16s ease-out;
}
.flow-branch:hover, .flow-branch:focus-visible { background: #f0e3d1; border-color: #b7a28e; }
.branch-icon { display: grid; flex-shrink: 0; place-items: center; width: 43px; height: 43px; border: 1px solid #dfccae; border-radius: 50%; color: var(--wine); }
.branch-icon svg { width: 23px; height: 23px; }
.branch-text { display: grid; gap: 2px; }
.branch-text strong { font: 600 var(--flow-heading-size)/1.16 var(--serif); letter-spacing: -.028em; text-wrap: balance; }
.branch-text > span { font-size: .81rem; color: var(--muted); }
.branch-action { margin-left: auto; white-space: nowrap; }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 6px 22px;
  margin-top: 28px;
  padding: 15px 0 calc(22px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--edge);
  color: var(--muted);
}
.site-footer .brand-name { color: var(--wine); font-size: .76rem; }
.site-footer p { font-size: .77rem; }

body:has(dialog[open]) { overflow: hidden; }
dialog {
  width: min(995px, calc(100% - 48px));
  height: min(820px, calc(100% - 56px));
  max-height: none;
  max-width: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d9c6b0;
  border-radius: 5px;
  background: var(--paper);
  color: var(--text);
  box-shadow: 0 24px 92px #2e21168c;
}
dialog[open] { display: flex; flex-direction: column; }
dialog::backdrop { background: #271c12a6; }
.dialog-top {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  min-height: 61px;
  padding: 0 27px;
  background: var(--wine);
  color: var(--ivory);
}
.dialog-top .brand-name { font-size: .76rem; }
.text-button, .next-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: inherit;
  font-size: .82rem;
  font-weight: 680;
  text-decoration: none;
  cursor: pointer;
}
.text-button:hover, .presentation-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-button svg, .next-button svg { width: 16px; height: 16px; }
.dialog-scroll { flex: 1 1 auto; overflow: auto; overscroll-behavior-y: contain; }
.detail-header { padding: 24px 31px 20px; border-bottom: 1px solid var(--edge); background: #f6efe3; }
.detail-header .eyebrow { color: var(--wine); }
.detail-header h2 { margin: 3px 0 6px; font: 600 clamp(1.95rem, 4.3vw, 3.35rem)/1.09 var(--serif); letter-spacing: -.049em; }
.detail-header > p:last-child { color: var(--muted); font-size: .93rem; }
.detail-layout { display: grid; grid-template-columns: minmax(208px, 27%) minmax(0, 1fr); align-items: start; min-height: 100%; }
.situations { align-self: stretch; min-width: 0; padding: 19px 13px 23px; border-right: 1px solid var(--edge); background: #f8f2e7; }
.situations p { margin: 2px 9px 11px; font: 700 .69rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.situations ul { display: grid; gap: 3px; padding: 0; margin: 0; list-style: none; }
.situations a {
  display: block;
  min-height: 40px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 3px;
  color: var(--text);
  font-size: .82rem;
  line-height: 1.35;
  text-decoration: none;
}
.situations a:hover { border-color: #dfccae; background: var(--paper); }
.situations a[aria-current="true"] { border-color: #d7c0a2; background: var(--rose); color: var(--wine); font-weight: 680; }
.mobile-situations { display: none; }
.message { min-width: 0; padding: 19px 27px 25px; }
.message h3 { margin: 0 0 13px; font: 600 clamp(1.35rem, 2.6vw, 1.82rem)/1.17 var(--serif); letter-spacing: -.03em; }
.message-editor { overflow: hidden; border: 1px solid #dfccb8; border-radius: 4px; background: #fffefa; }
.editor-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 47px; padding: 0 15px; border-bottom: 1px solid #e9dece; }
.editor-header label { color: var(--wine); font-size: .71rem; font-weight: 730; letter-spacing: .08em; text-transform: uppercase; }
.reset { color: var(--wine); font-size: .75rem; }
textarea {
  display: block;
  width: calc(100% - 20px);
  min-height: 112px;
  margin: 8px 10px 5px;
  padding: 5px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: .96rem;
  line-height: 1.55;
  resize: vertical;
}
textarea:focus-visible { outline-offset: -1px; }
.editor-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 7px 12px;
  padding: 10px 15px;
  border-top: 1px solid #e9dece;
  background: #f8f1e6;
}
.editor-footer p { flex: 1 1 170px; color: var(--muted); font-size: .78rem; }
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 43px;
  padding: 0 14px;
  border: 1px solid var(--wine);
  border-radius: 3px;
  background: var(--wine);
  color: var(--paper);
  cursor: pointer;
  font-size: .83rem;
  font-weight: 700;
}
.copy-button:hover { background: var(--deep); }
.copy-button svg { width: 17px; height: 17px; }
#copy-status { padding: 9px 15px; border-top: 1px solid var(--edge); color: var(--wine); font-size: .8rem; font-weight: 650; }
#copy-status:empty { padding-block: 0; border-top: 0; }
.next-note { margin-top: 16px; padding: 11px 13px; border-left: 2px solid #988164; background: #f7efe0; }
.next-note strong { display: block; margin-bottom: 3px; color: var(--wine); font-size: .76rem; }
.next-note p { color: var(--muted); font-size: .84rem; }
.presentation-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--wine); font-size: .82rem; font-weight: 700; text-underline-offset: 3px; }
.dialog-footer {
  display: flex;
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 6px 27px;
  border-top: 1px solid var(--edge);
  background: var(--ivory);
  color: var(--wine);
}
.next-button { padding: 0 12px; border: 1px solid #d7c0a2; }
.next-button:hover { background: var(--rose); }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .steps { gap: 16px; }
  .steps li:not(:last-child)::after { left: calc(100% + 3px); }
  .step { padding-inline: 14px; }
}
@media (max-width: 780px) {
  .wrap { width: calc(100% - 42px); }
  .header-inner { min-height: 62px; }
  .hero { margin-top: 22px; min-height: 295px; }
  .hero-content { padding: 34px; }
  .hero-content::after { background-position: right 12% center; background-size: auto 65%; opacity: .55; }
  .flow { margin-top: 30px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .steps li:nth-child(2)::after { display: none; }
  .steps li:not(:last-child)::after { left: calc(100% + 2px); width: 6px; height: 6px; }
  .step { min-height: 173px; padding: 13px 14px 10px; }
  .flow { --flow-heading-size: 1.37rem; }
  .step-title { margin-top: 10px; }
  .step-desc { margin: 6px 0 12px; }
}
@media (max-width: 620px) {
  .header-inner { gap: 16px; }
  .header-inner nav { gap: 13px; }
  .header-inner nav .current { display: none; }
  .internal { padding-left: 13px; }
  .flow-branches { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .section-header { display: grid; margin-bottom: 14px; }
  dialog { inset: 0; width: 100%; height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  .dialog-top { min-height: 53px; padding: 0 17px; padding-top: env(safe-area-inset-top); }
  .detail-header { padding: 17px 18px 14px; }
  .detail-header > p:last-child { font-size: .83rem; }
  .detail-layout { display: block; min-height: 0; }
  .situations { display: none; }
  .mobile-situations { display: grid; gap: 5px; padding: 12px 18px 0; }
  .mobile-situations label { color: var(--wine); font-size: .8rem; font-weight: 690; }
  .mobile-situations select {
    width: 100%;
    min-height: 44px;
    padding: 5px 10px;
    border: 1px solid #d7c0a2;
    border-radius: 3px;
    background: #fcf7ee;
    color: var(--text);
    font-size: 1rem;
  }
  .message { padding: 15px 18px 19px; }
  .message h3 { margin-bottom: 9px; }
  textarea { font-size: 1rem; }
  .editor-header, .editor-footer { padding-inline: 11px; }
  .editor-footer p { flex: 1 1 110px; }
  .dialog-footer { min-height: 56px; padding: 5px 15px max(5px, env(safe-area-inset-bottom)); gap: 8px; }
  .dialog-footer a { font-size: .75rem; }
  .dialog-shortcuts a { min-height: 37px; text-align: left; }
  .dialog-shortcuts { flex-direction: column; align-items: flex-start; gap: 0; }
  .dialog-footer .next-button { max-width: 48%; line-height: 1.25; text-align: center; }
  .next-button { padding-inline: 8px; }
}
@media (max-width: 450px) {
  .wrap { width: calc(100% - 32px); }
  .hero { min-height: 300px; margin-top: 16px; }
  .hero-content::after { background-position: right 7% center; background-size: auto 64%; opacity: .23; }
  .hero::after { inset: 8px; }
  .hero-content { padding: 27px 24px; }
  .hero h1 { font-size: clamp(2.86rem, 11vw, 3.5rem); margin: 9px 0 12px; }
  .hero h1 em { display: block; }
  .hero-summary { max-width: 265px; font-size: .9rem; }
  .install-cta { margin-top: 17px; }
  .flow { margin-top: 25px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .steps li:not(:last-child)::after {
    display: block;
    top: auto;
    bottom: -9px;
    left: 27px;
    transform: rotate(135deg);
  }
  .step {
    display: grid;
    align-items: start;
    align-content: start;
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 11px;
    min-height: 0;
    padding: 12px 13px 8px;
    border-top-width: 1px;
    border-left: 2px solid #988164;
  }
  .step-top { grid-area: 1/1/4/2; }
  .step-top > svg { display: none; }
  .step-title, .step-desc, .step-action { grid-column: 2; margin: 0; }
  .step-title { padding-top: 2px; }
  .step-desc { margin: 3px 0 6px; }
  .step-action { padding-top: 6px; }
  .flow-branch { flex-wrap: wrap; padding: 12px 13px; gap: 6px 11px; }
  .internal { display: none; }
  .wordmark-symbol { width: 18px; height: 32px; }
  .wordmark { gap: 13px; }
  .wordmark .brand-name { font-size: .87rem; }
  .header-inner nav a { font-size: .8rem; }
  .branch-icon { width: 35px; height: 35px; }
  .branch-icon svg { width: 20px; height: 20px; }
  .branch-text { flex: 1 1 190px; }
  .branch-action { margin-left: 46px; }
  .site-footer { flex-direction: column; margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
.dialog-footer .next-button { margin-left: auto; }
.copy-button:disabled { opacity: .55; cursor: default; }

.dialog-shortcuts { display: flex; column-gap: 16px; flex-wrap: wrap; }
.dialog-shortcuts a + a {
  color: var(--wine);
  text-decoration: underline;
  text-decoration-color: var(--sand);
  text-underline-offset: 4px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.followup-settings { padding: 21px 27px 0; }
.cadence {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 3px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.cadence li {
  display: grid;
  align-content: start;
  gap: 3px;
  padding: 8px 7px;
  border: 1px solid #e3d2be;
  border-radius: 3px;
  background: #f6eddd;
  text-align: center;
  line-height: 1.24;
}
.cadence li.wait-day { background: #fbf8f1; }
.cadence strong { color: var(--wine); font-size: .78rem; }
.cadence span { color: var(--muted); font-size: .72rem; }
.cadence-note { margin: 9px 0 17px; color: var(--muted); font-size: .81rem; }
.followup-questions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.followup-questions label { display: block; min-height: 1.45rem; margin-bottom: 4px; color: var(--deep); font-size: .79rem; font-weight: 670; }
.followup-questions select {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 5px 8px;
  border: 1px solid #ccb79f;
  border-radius: 3px;
  background: #fdf8ed;
  color: var(--text);
  font-size: .85rem;
}
.followup-context {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding: 8px 11px;
  border-left: 2px solid var(--taupe);
  background: #f8f2e7;
  color: var(--muted);
  font-size: .8rem;
}
.followup-context strong { color: var(--deep); }
.followup-layout { display: block; min-height: 0; }
.followup-layout .situations, .followup-layout .mobile-situations { display: none; }
.followup-end {
  margin: 15px 27px 4px;
  padding: 14px;
  border: 1px solid #d9c6ab;
  border-radius: 4px;
  background: #f6ead5;
}
.followup-end h3 { font: 600 1.55rem/1.15 var(--serif); margin-bottom: 6px; }
.followup-end p { color: var(--muted); font-size: .88rem; }
.followup-guidance { padding: 12px 27px 22px; }
.followup-guidance details { border-top: 1px solid var(--edge); }
.followup-guidance details:last-child { border-bottom: 1px solid var(--edge); }
.followup-guidance summary {
  min-height: 44px;
  padding: 10px 0;
  cursor: pointer;
  color: var(--deep);
  font-size: .84rem;
  font-weight: 680;
}
.followup-guidance details > ul { margin: 0 0 13px; padding-left: 19px; }
.followup-guidance details > p { margin: 0 0 10px; }
.followup-guidance li, .followup-guidance details p { color: var(--muted); font-size: .84rem; }
.followup-guidance li + li { margin-top: 6px; }

@media (max-width: 900px) {
  .flow-branch { flex-wrap: wrap; gap: 7px 11px; }
  .branch-text { flex: 1 1 180px; }
  .branch-action { margin-left: 54px; }
}
@media (max-width: 620px) {
  .dialog-shortcuts { align-items: flex-start; }
  .followup-settings { padding: 13px 18px 0; }
  .cadence { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cadence li { padding: 5px 3px; }
  .cadence-note { margin-bottom: 13px; }
  .followup-questions { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .followup-questions label { min-height: 0; margin-bottom: 3px; }
  .followup-questions select { font-size: 1rem; }
  .followup-end { margin-inline: 18px; }
  .followup-guidance { padding: 10px 18px 16px; }
}

.install-dialog {
  width: min(420px, calc(100% - 28px));
  height: fit-content;
  max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  margin: auto;
  border: 1px solid #decfc8;
  border-radius: 16px;
  background: #fffdf8;
  box-shadow: 0 18px 55px #300f2370;
}
.install-dialog::backdrop { background: #27151c91; }
.install-header {
  display: grid;
  align-items: center;
  grid-template-columns: 40px 1fr 44px;
  gap: 10px;
  padding: 12px 15px 11px;
  border-bottom: 1px solid #eadfd9;
  background: #faf3ed;
}
.install-header > img { display: block; border-radius: 10px; }
.install-header h2 { font: 650 clamp(1.2rem, 5vw, 1.5rem)/1.15 var(--serif); letter-spacing: -.028em; }
.install-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--wine);
  cursor: pointer;
}
.install-close:hover { background: #efe2db; }
.install-close svg { width: 18px; height: 18px; }
.install-body { min-height: 0; overflow: auto; padding: 12px 15px 14px; color: #52444a; }
.install-platforms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 3px;
  background: #f3e9e3;
  border-radius: 10px;
}
.install-platforms button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 39px;
  padding: 4px 7px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--deep);
  font: 650 .8rem/1.2 var(--brand);
  cursor: pointer;
}
.install-platforms button[aria-pressed="true"] { background: var(--wine); color: #fffdf6; }
.install-platforms svg { width: 16px; height: 16px; }
.install-steps {
  display: grid;
  gap: 11px;
  margin: 13px 0;
  padding: 0;
  list-style: none;
}
.install-steps li { display: grid; align-items: start; grid-template-columns: 35px 1fr; gap: 9px; min-height: 35px; }
.install-step-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  background: #f5e7e1;
  border-radius: 9px;
  color: var(--wine);
}
.install-step-icon svg { width: 18px; height: 18px; }
.install-steps strong { display: block; color: #351d26; font-size: .86rem; line-height: 1.25; }
.install-steps p { margin-top: 3px; font-size: .79rem; line-height: 1.32; }
.install-tip {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding-top: 9px;
  border-top: 1px solid #eadfd9;
  font-size: .75rem;
  line-height: 1.35;
}
.install-tip svg { width: 15px; height: 15px; color: var(--wine); }
@media (max-width: 620px) {
  .install-dialog { position: fixed; inset: auto 0 max(10px, env(safe-area-inset-bottom)); margin: 0 auto; }
}

.negotiation-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 45px;
  margin: 0 0 13px;
  padding: 8px 11px;
  border: 1px solid #d7c0a2;
  border-radius: 3px;
  background: #f7efe0;
  color: var(--wine);
  font-size: .83rem;
  font-weight: 680;
  text-decoration: none;
}
.negotiation-entry:hover { background: var(--rose); }
.message-branches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.branch-option {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid #d7c0a2;
  border-radius: 3px;
  color: var(--wine);
  font-size: .84rem;
  font-weight: 680;
  text-decoration: none;
}
.branch-option:hover { background: var(--rose); }
.negotiation-layout .message-branches { margin-top: 14px; }
.offer-check {
  padding: 12px 14px;
  margin: 0 0 14px;
  border: 1px solid var(--edge);
  border-radius: 4px;
  background: #f8f2e7;
  color: var(--muted);
  font-size: .85rem;
}
.offer-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 5px; }
.offer-heading h4 { margin: 0; color: var(--wine); font: 600 1.14rem/1.3 var(--serif); }
.offer-heading span { font-size: .76rem; font-weight: 700; color: var(--wine); }
.offer-check p + p { margin-top: 6px; }
.offer-check fieldset { margin: 9px 0 0; padding: 5px 0 0; border: 0; }
.offer-check legend, .offer-payment label, .return-date > label { color: var(--wine); font-size: .85rem; font-weight: 700; }
.offer-check fieldset label { display: flex; align-items: flex-start; gap: 6px; margin: 5px 0; }
.offer-check fieldset input { margin: 4px 2px 0 0; accent-color: var(--wine); }
.offer-payment { margin-top: 12px; }
.offer-payment label { display: block; margin-bottom: 4px; }
.offer-payment select, .return-date input {
  max-width: 100%;
  min-height: 44px;
  padding: 6px 9px;
  border: 1px solid #ccb79f;
  border-radius: 3px;
  color: var(--text);
  background: var(--paper);
}
.return-date { margin-top: 15px; }
.return-date > div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 4px; }
.return-date button { color: var(--wine); }
.return-date button:disabled { opacity: .55; cursor: default; }
.return-date > p { color: var(--muted); font-size: .8rem; }
@media (max-width: 620px) {
  .message-branches { display: grid; }
  .offer-payment select, .return-date input { font-size: 1rem; }
}
