/* Montei: cream, terracotta and warm light, as in the app (design/telas/app.css). */
@font-face { font-family: "Nunito"; src: url("/fonts/nunito-800-latin.woff2") format("woff2"); font-weight: 800; font-display: swap; }
:root {
  --bg: #FFF8EF; --bg2: #F6EBD9; --line: #EADFCF; --ink: #2B1D16; --ink2: #6F5B4E; --ink3: #A39385;
  --terra: #A8461F; --terra-d: #7E3216; --terra-l: #F6E4D3; --verde: #4F7242; --verde-d: #3A5530; --mel: #E9B872;
  --sans: -apple-system, "SF Pro Text", ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;
  --display: Nunito, ui-rounded, system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --wrap: min(1080px, 100% - 48px);
  --lift: 0 1px 0 #fff inset, 0 22px 44px rgba(126, 50, 22, 0.1), 0 3px 8px rgba(126, 50, 22, 0.06);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 10px; }
.display { font-family: var(--display); font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: var(--wrap); margin: 0 auto; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--lift); }
.btn { display: grid; place-items: center; height: 52px; border-radius: 16px; background: var(--terra); box-shadow: 0 4px 0 var(--terra-d); color: #fff; font: 800 0.92rem/1 var(--display); letter-spacing: 0.05em; text-transform: uppercase; }
.btn.ghost { background: #fff; color: var(--terra); box-shadow: inset 0 0 0 2px var(--terra-l); }

/* Header: floats over the hero on the home page. */
.bar { display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(20px, 4vw, 48px); }
.home .bar { position: absolute; z-index: 5; left: 0; right: 0; top: 0; }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 800 1.25rem/1 var(--display); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 5px 12px rgba(126, 50, 22, 0.22); }
.bar nav { display: flex; gap: 8px; }
.bar nav a, .pill { padding: 9px 15px; border-radius: 99px; background: #fff; font: 800 0.86rem/1 var(--display); text-decoration: none; box-shadow: 0 2px 0 #EAD6C2, 0 6px 14px rgba(126, 50, 22, 0.08); }
.bar nav a:hover { color: var(--terra); }

/* Every section stands on the same floor: words on one side, one scene floating over the tiles on the other. */
.scene, .whole { overflow-x: clip; }
.scene { position: relative; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; }
.scene.flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.scene.flip .words { order: 2; justify-self: start; padding: 48px clamp(20px, 6vw, 96px) 48px clamp(20px, 3vw, 48px); }
.words { position: relative; z-index: 2; max-width: 640px; justify-self: end; padding: 48px clamp(20px, 3vw, 48px) 48px clamp(20px, 6vw, 96px); }
.words h2 { font-size: clamp(2.2rem, 3.8vw, 3.5rem); line-height: 1.02; letter-spacing: -0.035em; }
.words h2 em, h1 em, .whole h2 em { font-style: normal; color: var(--terra); }
.words p { margin-top: 14px; max-width: 26em; color: var(--ink2); font-size: 1rem; text-wrap: pretty; }
.world { position: relative; align-self: stretch; min-height: 620px; }
.world::before { content: ""; position: absolute; inset: -4% -10%; background: url("/media/floor.svg") 0 0 / 72px 36px;
  -webkit-mask-image: radial-gradient(closest-side at 50% 54%, #000 40%, transparent 100%); mask-image: radial-gradient(closest-side at 50% 54%, #000 40%, transparent 100%); }

.hero { min-height: 100svh; overflow: hidden; background: radial-gradient(55% 65% at 70% 52%, #FFE2C2 0%, rgba(255, 226, 194, 0) 72%); }
.hero .words { padding-top: 120px; padding-bottom: 72px; }
.hero .world { min-height: max(660px, 100svh); }
.hero .world::before { inset: -6% -14% 0 -8%; -webkit-mask-image: radial-gradient(closest-side at 50% 54%, #000 50%, transparent 100%); mask-image: radial-gradient(closest-side at 50% 54%, #000 50%, transparent 100%); }
h1 { font: 800 clamp(2.3rem, 3.9vw, 3.6rem)/1.02 var(--display); letter-spacing: -0.035em; text-wrap: balance; }
.sub { margin-top: 18px; max-width: 26em; color: var(--ink2); font-size: clamp(1rem, 1.15vw, 1.08rem); text-wrap: pretty; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 26px; }
.cta a { font: 800 0.92rem/1 var(--display); color: var(--ink2); text-underline-offset: 5px; }
.cta a:hover { color: var(--terra); }
.soon { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 14px; color: #fff; font: 800 0.92rem/1 var(--display);
  background: linear-gradient(#C25628, var(--terra) 60%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 0 var(--terra-d), 0 10px 18px rgba(126, 50, 22, 0.22); }

/* Moving boxes stand on the floor; they rise when their section comes into view. */
.bx { position: absolute; z-index: 0; filter: drop-shadow(0 10px 8px rgba(126, 50, 22, 0.16)); transform-origin: 50% 100%; }
.bx.front { z-index: 40; }
.bx svg { display: block; width: 100%; height: auto; overflow: visible; }
.js .bx { opacity: 0; }
.js .in .bx { opacity: 1; animation: rise 0.9s var(--spring) both; animation-delay: calc(0.2s + var(--d) * 1ms); }
@keyframes rise { from { transform: scaleY(0); opacity: 0; } 40% { opacity: 1; } }

/* A room floats over the floor, bobbing, with its shadow breathing under it. */
.room { position: absolute; left: 50%; top: 54%; width: min(600px, 82%); translate: -50% -50%; }
.hroom { width: min(500px, 74%); }
.shadow { position: absolute; left: 12%; right: 12%; bottom: -4%; height: 22%; border-radius: 50%; background: radial-gradient(closest-side, rgba(126, 50, 22, 0.28), rgba(126, 50, 22, 0)); }
.float { position: relative; z-index: 1; aspect-ratio: 1024 / 683; will-change: transform; }
.js .float { animation: bob 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -1.3s); }
.js .shadow { animation: shade 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -1.3s); }
.off .float, .off .shadow, .paused .float, .paused .shadow, .paused .bx { animation-play-state: paused; }
@keyframes bob { 50% { transform: translateY(-14px); } }
@keyframes shade { 50% { transform: scale(0.9); opacity: 0.7; } }
.float img { position: absolute; display: block; height: auto; pointer-events: none; user-select: none; }
.float .base { inset: 0; width: 100%; }
.pc { opacity: 0; visibility: hidden; transition: opacity 0.5s, visibility 0s 0.5s; }
.pc.on, html:not(.js) .pc { opacity: 1; visibility: visible; transition: none; }

/* Hero: a price tag pops at the piece that just came in. */
.ptag { position: absolute; z-index: 60; display: flex; align-items: center; gap: 7px; padding: 6px 10px 6px 8px; border-radius: 10px; background: #fff; white-space: nowrap;
  box-shadow: 0 2px 0 #EAD6C2, 0 10px 20px rgba(126, 50, 22, 0.18); font: 800 0.86rem/1.1 var(--display); translate: -50% -100%; opacity: 0; scale: 0.6; transform-origin: 50% 100%; transition: opacity 0.25s, scale 0.5s var(--spring); }
.ptag.show { opacity: 1; scale: 1; }
.ptag i { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: var(--verde); }
.ptag small { display: block; font: 600 0.72rem/1.1 var(--sans); color: var(--ink2); }

/* The app's own pill: what the house cost so far, against the ceiling. */
.casa { white-space: nowrap; position: absolute; z-index: 61; left: 6%; top: -13%; display: flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 99px; background: #fff;
  box-shadow: 0 2px 0 #EAD6C2, 0 10px 20px rgba(126, 50, 22, 0.12); color: var(--ink2); font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.casa b { color: var(--ink); font: 800 0.95rem/1 var(--display); }
.meter { width: 60px; height: 6px; border-radius: 7px; background: var(--line); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--mel); transform: scaleX(var(--p, 0.2)); transform-origin: left; transition: transform 0.8s var(--ease); }
.pronto { position: absolute; z-index: 62; right: 6%; top: 4%; padding: 8px 13px; border-radius: 99px; background: var(--verde); color: #fff; font: 800 0.74rem/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase;
  box-shadow: 0 3px 0 var(--verde-d), 0 10px 18px rgba(58, 85, 48, 0.3); opacity: 0; scale: 0.5; transition: opacity 0.3s, scale 0.6s var(--spring); }
.room.done .pronto { opacity: 1; scale: 1; }

.ctl { position: absolute; z-index: 6; right: clamp(20px, 4vw, 56px); bottom: 28px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px 0 12px; border: 0; border-radius: 99px; background: #fff; color: var(--ink2);
  box-shadow: 0 2px 0 #EAD6C2, 0 6px 14px rgba(126, 50, 22, 0.08); font: 600 0.85rem/1 var(--sans); cursor: pointer; }
.ctl:hover { color: var(--terra); }
.ctl[hidden] { display: none; }
.ctl .i-play, .ctl[aria-pressed="true"] .i-pause { display: none; }
.ctl[aria-pressed="true"] .i-play { display: block; }

/* Sala: a paper price tag on a string, pinned to each piece; they swing in when the room comes into view. */
.tag { position: absolute; z-index: 30; color: var(--ink); display: flex; flex-direction: column; gap: 2px; padding: 8px 12px 8px 20px; margin: -10px 0 0 26px; background: #fff; border-radius: 6px 12px 12px 6px; box-shadow: 0 2px 0 #EAD6C2, 0 8px 16px rgba(126, 50, 22, 0.16); font: 800 0.86rem/1.1 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; transform-origin: -26px 10px; }
.tag b { font: 600 0.66rem/1.1 var(--sans); color: var(--ink2); letter-spacing: 0.02em; }
.tag::before { content: ""; position: absolute; left: 7px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 1px 2px rgba(43, 29, 22, 0.35); }
.tag::after { content: ""; position: absolute; left: -26px; top: 10px; width: 30px; height: 1.5px; background: var(--terra-d); opacity: 0.55; }
.tag.left { margin-left: 0; transform: translateX(calc(-100% - 26px)); transform-origin: calc(100% + 26px) 10px; border-radius: 12px 6px 6px 12px; padding: 8px 20px 8px 12px; }
.tag.left::before { left: auto; right: 7px; }
.tag.left::after { left: auto; right: -26px; }
.tag.paid { background: var(--verde); color: #fff; box-shadow: 0 2px 0 var(--verde-d), 0 8px 16px rgba(58, 85, 48, 0.25); }
.tag.paid b { color: rgba(255, 255, 255, 0.85); }
.tag.paid::before { background: var(--verde-d); box-shadow: none; }
.js .tag { opacity: 0; translate: 0 -10px; rotate: -8deg; }
.js .in .tag { opacity: 1; translate: 0 0; rotate: 0deg; transition: opacity 0.4s calc(0.4s + var(--i) * 110ms), translate 0.6s var(--spring) calc(0.4s + var(--i) * 110ms), rotate 0.9s var(--spring) calc(0.4s + var(--i) * 110ms); }

/* Quarto: what does not fit the ceiling waits as a ghost. */
.qp { transition: opacity 0.5s; }
.qp.later { opacity: 0.3; }
.ceil { margin-top: 22px; }
.words .big { margin: 0; max-width: none; color: var(--terra); font: 800 clamp(2.2rem, 3.2vw, 2.8rem)/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.seg { display: inline-flex; gap: 4px; margin: 18px 0 12px; padding: 4px; border-radius: 99px; background: #fff; box-shadow: 0 2px 0 #EAD6C2, 0 6px 14px rgba(126, 50, 22, 0.08); }
.seg button { all: unset; box-sizing: border-box; min-height: 40px; padding: 0 14px; border-radius: 99px; color: var(--ink2); font: 800 0.84rem/40px var(--display); font-variant-numeric: tabular-nums; cursor: pointer; transition: color 0.2s, background-color 0.3s; }
.seg button:hover { color: var(--terra); }
.seg button[aria-pressed="true"] { background: var(--terra); color: #fff; }
.seg button:focus-visible { outline: 3px solid var(--terra); outline-offset: 2px; }
.words .sum { margin-top: 0; min-height: 1.5em; font-size: 0.9rem; }

/* Enviar: the list arriving on the other phone. */
.chat { width: 100%; max-width: 400px; justify-self: center; display: flex; flex-direction: column; gap: 14px; }
.msg { position: relative; z-index: 1; padding: 13px 16px 24px; border-radius: 18px; font-size: 0.9rem; line-height: 1.5; color: var(--ink); box-shadow: 0 2px 0 #EAD6C2, 0 14px 26px rgba(126, 50, 22, 0.14); }
.msg.me { align-self: flex-end; width: 100%; background: #fff; border-bottom-right-radius: 6px; }
.msg.you { align-self: flex-start; max-width: 80%; background: var(--terra); color: #fff; border-bottom-left-radius: 6px; box-shadow: 0 2px 0 var(--terra-d), 0 14px 26px rgba(126, 50, 22, 0.2); }
.msg.you time { color: rgba(255, 255, 255, 0.85); }
.msg b { display: block; font: 800 0.92rem/1.3 var(--display); }
.msg b.g { margin-top: 8px; font-size: 0.78rem; color: var(--ink2); }
.li { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.li i { flex: none; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 2px #CDBFAE; }
.li.ok i { box-shadow: none; background: var(--verde) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='m3 7.3 2.7 2.7L11 4.5' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.li em { margin-left: auto; padding-left: 16px; font-style: normal; font-variant-numeric: tabular-nums; color: var(--ink2); }
.li.ok em { color: var(--ink); }
.msg time { position: absolute; right: 16px; bottom: 7px; font-size: 0.72rem; color: var(--ink2); }
.js .msg { opacity: 0; translate: 0 18px; scale: 0.96; }
.js .in .msg { opacity: 1; translate: 0 0; scale: 1; transition: opacity 0.4s, translate 0.7s var(--spring), scale 0.7s var(--spring); }
.js .in .msg.you { transition-delay: 1.1s; }


/* Between the two floor worlds, each section has its own setting: a showroom, the app's plan card, a colored band. */
.frame { position: relative; aspect-ratio: 1024 / 683; }
.frame img { position: absolute; display: block; height: auto; pointer-events: none; user-select: none; }
.frame .base { inset: 0; width: 100%; filter: drop-shadow(0 28px 28px rgba(126, 50, 22, 0.16)); }

.vitrine, .plan, .send { padding: 12px 0; }
.vitrine { padding-top: clamp(72px, 9vw, 120px); }
.send { padding-bottom: 0; }
.panel { width: var(--wrap); margin: 0 auto; padding: clamp(28px, 4vw, 56px); border-radius: 30px; }
.tint-cream { background: var(--bg2); }
.tint-white { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.tint-terra { background: var(--terra-l); }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(28px, 5vw, 72px); }
.split.flip .words { order: 2; }
.panel .words { justify-self: stretch; max-width: none; padding: 0; }
.panel h2 { font-size: clamp(1.75rem, 2.5vw, 2.3rem); line-height: 1.08; letter-spacing: -0.035em; }
.panel h2 em { font-style: normal; color: var(--terra); }
.showHead { max-width: 600px; margin: 0 auto; text-align: center; }
.showHead p { max-width: 32em; margin: 14px auto 0; color: var(--ink2); font-size: 1rem; text-wrap: pretty; }
.sroom { width: min(700px, 100%); margin: clamp(24px, 4vw, 48px) auto 0; }
.tint-terra .words p { color: #5E4A3E; }

/* The whole house: every room floats over one wide floor. */
.whole { position: relative; padding: clamp(72px, 9vw, 120px) 0 clamp(64px, 8vw, 104px); text-align: center; }
.whole h2 { width: var(--wrap); margin: 0 auto; font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.06; letter-spacing: -0.035em; }
.whole .world { width: min(980px, 100%); margin: 24px auto 0; min-height: 0; aspect-ratio: 2 / 1; }
.whole .world::before { inset: -6% -4%; -webkit-mask-image: radial-gradient(closest-side at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(closest-side at 50% 50%, #000 55%, transparent 100%); }
.isles { position: absolute; inset: 0; }
.isle { position: absolute; }
.isle img.float { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 720 / 480; }
.isle .shadow { bottom: -2%; }
.ilbl { position: absolute; z-index: 2; left: 50%; bottom: -6%; translate: -50% 0; display: flex; gap: 6px; align-items: baseline; padding: 6px 11px; border-radius: 99px; background: #fff; white-space: nowrap;
  box-shadow: 0 2px 0 #EAD6C2, 0 8px 16px rgba(126, 50, 22, 0.12); color: var(--ink2); font-size: 0.74rem; font-variant-numeric: tabular-nums; }
.ilbl b { color: var(--ink); font: 800 0.82rem/1 var(--display); }
.isle.done .ilbl { background: var(--verde); color: rgba(255, 255, 255, 0.88); box-shadow: 0 2px 0 var(--verde-d), 0 8px 16px rgba(58, 85, 48, 0.25); }
.isle.done .ilbl b { color: #fff; }
.end { width: var(--wrap); margin: clamp(40px, 5vw, 64px) auto 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.end p { max-width: 30em; color: var(--ink2); font-size: 1rem; text-wrap: pretty; }
.end .aside { max-width: 44em; font-size: 0.82rem; }

/* Support and FAQ */
.support { padding: clamp(64px, 8vw, 104px) 0; }
.supGrid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.supCol .lead { margin-bottom: 4px; }
.support h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1.1; }
.lead { margin-top: 10px; color: var(--ink2); }
.lead a { color: var(--terra); font-weight: 600; }
.support h3 { margin-top: 24px; font-size: 1rem; font-weight: 700; }
.support ul { margin-top: 8px; padding-left: 20px; color: var(--ink2); }
.support li + li { margin-top: 4px; }
.faq { margin-top: 18px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 17px 2px; font-weight: 600; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--terra); }
summary::after { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #CDBFAE; background: linear-gradient(var(--terra), var(--terra)) center / 10px 2px no-repeat, linear-gradient(var(--terra), var(--terra)) center / 2px 10px no-repeat; transition: transform 0.3s var(--ease), background-color 0.2s; }
details[open] summary::after { transform: rotate(45deg); background-color: var(--terra-l); }
details p { max-width: 64ch; margin: 0 2px 18px; color: var(--ink2); }
details a { color: var(--terra); }

.foot { padding: 32px 0 48px; border-top: 1px solid var(--line); color: var(--ink2); font-size: 0.875rem; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; }
.foot a { color: var(--ink); }

/* Policy page */
.doc main { max-width: 760px; margin: 0 auto; padding: 24px 24px 80px; }
.doc h1 { margin-bottom: 12px; font-family: var(--display); font-weight: 800; font-size: clamp(2.25rem, 5vw, 3.25rem); line-height: 1.05; letter-spacing: -0.03em; }
.doc h2 { margin: 40px 0 12px; font-size: 1.3rem; font-weight: 700; }
.doc p, .doc li { color: var(--ink2); }
.doc p + p { margin-top: 10px; }
.doc ul { padding-left: 22px; }
.doc strong { color: var(--ink); }
.doc .date { font-size: 0.9rem; }
.doc .card { margin: 16px 0; padding: 22px; }
.doc a { color: var(--terra); }
.doc table { width: 100%; margin: 16px 0; border-collapse: collapse; font-size: 0.95rem; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--lift); }
.doc th, .doc td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc th { font-weight: 700; background: var(--bg2); }

@media (max-width: 900px) {
  .scene, .scene.flip { grid-template-columns: minmax(0, 1fr); }
  .words, .scene.flip .words { order: 0; justify-self: stretch; max-width: none; padding: 56px 20px 0; }
  .hero .words { padding: 100px 20px 0; }
  .world, .hero .world { min-height: 0; aspect-ratio: 1 / 0.86; }
  .world::before { background-size: 48px 24px; }
  .room, .hroom { width: 70%; top: 56%; }
  h1 { font-size: 2.2rem; }
  .ctl { position: relative; right: auto; bottom: auto; justify-self: end; margin: -8px 20px 0 0; }
  .casa { top: -18%; left: 0; font-size: 0.8rem; padding: 7px 12px; }
  .casa b { font-size: 0.92rem; }
  .ptag { font-size: 0.82rem; padding: 6px 9px; }
  .whole .world { aspect-ratio: auto; }
  .whole .world::before, .isles .bx { display: none; }
  .isles { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 12px; padding: 12px 16px 24px; }
  .isle { position: relative; left: auto !important; top: auto !important; width: auto !important; }
  .isle:nth-child(3) { grid-column: 1 / -1; width: 72% !important; justify-self: center; order: -1; }
  .supGrid, .split { grid-template-columns: minmax(0, 1fr); }
  .split.flip .words { order: 0; }
  .panel { padding: 28px 18px; border-radius: 26px; }
  .chat { justify-self: stretch; max-width: none; }
}
@media (max-width: 600px) {
  :root { --wrap: calc(100% - 32px); }
  .bar nav .nl:not(.keep) { display: none; }
  .tag { font-size: 0.8rem; padding: 5px 8px 5px 16px; margin: -8px 0 0 18px; transform-origin: -18px 8px; }
  .tag b { font-size: 0.62rem; }
  .tag::before { left: 5px; width: 6px; height: 6px; margin-top: -3px; }
  .tag::after { left: -18px; top: 8px; width: 20px; }
  .tag.left { transform: translateX(calc(-100% - 18px)); transform-origin: calc(100% + 18px) 8px; padding: 5px 16px 5px 8px; }
  .tag.left::before { right: 5px; }
  .tag.left::after { right: -18px; }
  .small-hide { display: none; }
  .li i { width: 15px; height: 15px; }
  .li.ok i { background-size: 9px; }
  .msg { font-size: 0.78rem; line-height: 1.4; padding: 9px 12px 20px; border-radius: 16px; }
  .msg b { font-size: 0.84rem; }
  .msg b.g { margin-top: 4px; font-size: 0.74rem; }
  .msg time { font-size: 0.62rem; bottom: 4px; }
  .seg button { padding: 0 11px; font-size: 0.88rem; }
  .ilbl { padding: 6px 10px; font-size: 0.72rem; gap: 5px; }
  .ilbl b { font-size: 0.8rem; }
  .doc table { table-layout: fixed; }
  .doc th, .doc td { padding: 8px 6px; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .float, .js .shadow, .js .in .bx { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
