/* The Material design of the public site (website/designs.py). Material 3 colour roles of one blue scheme, dark
   when the reader's system is; nothing else in the page names a colour. Class names carry the m3- prefix so none
   reads as one of the application's. */
:root {
  --primary: #2c5eae; --on-primary: #ffffff; --primary-container: #d7e3ff; --on-primary-container: #001b3f;
  --secondary-container: #dae2f9; --on-secondary-container: #131c2b;
  --tertiary: #8b5000; --tertiary-container: #ffddb8; --on-tertiary-container: #2c1600;
  --surface: #f9f9ff; --sc-low: #f3f3fa; --sc: #ededf4; --sc-high: #e7e8ee; --on-surface: #191c20; --on-surface-variant: #44474e;
  --outline: #74777f; --outline-variant: #c4c6d0; --error: #ba1a1a; --inverse-surface: #2e3036; --inverse-on-surface: #f0f0f7;
}
@media (prefers-color-scheme: dark) {
:root {
  --primary: #abc7ff; --on-primary: #002f65; --primary-container: #0f4594; --on-primary-container: #d7e3ff;
  --secondary-container: #3e4759; --on-secondary-container: #dae2f9;
  --tertiary: #ffb95f; --tertiary-container: #6a3c00; --on-tertiary-container: #ffddb8;
  --surface: #111318; --sc-low: #191c20; --sc: #1d2024; --sc-high: #282a2f; --on-surface: #e2e2e9; --on-surface-variant: #c4c6d0;
  --outline: #8e9099; --outline-variant: #44474e; --error: #ffb4ab; --inverse-surface: #e2e2e9; --inverse-on-surface: #2e3036;}
}
:root { --e1: 0 1px 2px rgb(0 0 0 / .3), 0 1px 3px 1px rgb(0 0 0 / .15); --e2: 0 1px 2px rgb(0 0 0 / .3), 0 2px 6px 2px rgb(0 0 0 / .15);
  --xl: 28px; --lg: 16px; --md: 12px; --sm: 8px; --ease: cubic-bezier(.2, 0, 0, 1); }

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Roboto Flex', Roboto, system-ui, sans-serif; background: var(--surface); color: var(--on-surface); font-size: 16px; line-height: 24px; letter-spacing: .01em; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.m3-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.m3-code { font-family: 'Roboto Mono', ui-monospace, monospace; }
/* type scale */
.m3-display { font-size: clamp(40px, 4.6vw, 60px); line-height: 1.08; font-weight: 500; letter-spacing: -.01em; text-wrap: balance; }
.m3-headline { font-size: clamp(28px, 3.2vw, 36px); line-height: 1.2; font-weight: 500; letter-spacing: 0; text-wrap: balance; }
.m3-title { font-size: 22px; line-height: 28px; font-weight: 500; }
.m3-body-l { font-size: 16px; line-height: 24px; color: var(--on-surface-variant); }
.m3-label { font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: .01em; }
.m3-label-s { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .04em; }
.m3-ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* buttons: fully rounded, with a state layer */
.m3-button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 500; letter-spacing: .01em; white-space: nowrap; overflow: hidden; }
.m3-button::after, .m3-state::after { content: ""; position: absolute; inset: 0; background: currentColor; opacity: 0; transition: opacity .2s var(--ease); pointer-events: none; }
.m3-button:hover::after, .m3-state:hover::after { opacity: .08; }
.m3-button-filled { background: var(--primary); color: var(--on-primary); }
.m3-button-tonal { background: var(--secondary-container); color: var(--on-secondary-container); }
.m3-button-text { background: none; color: var(--primary); padding: 0 12px; }
.m3-button-outlined { background: none; color: var(--primary); box-shadow: inset 0 0 0 1px var(--outline); }
.m3-button-l { height: 56px; padding: 0 32px; font-size: 16px; }
.m3-assist { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: var(--sm); border: 1px solid var(--outline-variant); font-size: 14px; font-weight: 500; color: var(--on-surface-variant); white-space: nowrap; }
.m3-assist .m3-ic { width: 18px; height: 18px; color: var(--primary); }

/* a listed design shown to a platform user before it is the one in force */
.m3-preview { background: var(--inverse-surface); color: var(--inverse-on-surface); font-size: 14px; }
.m3-preview .m3-wrap { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.m3-preview a { font-weight: 500; text-decoration: underline; }

/* top app bar */
.m3-bar { position: sticky; top: 0; z-index: 10; background: var(--surface); }
.m3-bar .m3-wrap { display: flex; align-items: center; gap: 8px; height: 64px; }
.m3-brand { display: flex; align-items: center; margin-right: auto; color: var(--on-surface); }
.m3-logo { display: block; height: 32px; width: auto; } .m3-logo-s { height: 26px; }
@media (max-width: 839px) { .m3-bar .m3-button-text:not(.m3-keep) { display: none; } }
@media (max-width: 479px) { .m3-bar .m3-keep { display: none; } }

/* hero: one large tonal container */
.m3-hero { --pad: clamp(24px, 5vw, 64px); background: var(--primary-container); color: var(--on-primary-container); border-radius: var(--xl); margin-top: 8px; padding: var(--pad); padding-right: clamp(24px, 7vw, 104px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 56px); align-items: center; overflow: hidden; }
.m3-hero p { margin-top: 24px; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.5; max-width: 26em; opacity: .86; }
.m3-hero .m3-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.m3-hero .m3-button-outlined { color: var(--on-primary-container); box-shadow: inset 0 0 0 1px currentColor; }
.m3-overline { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; }

/* the kinds of procedure the product runs */
.m3-kinds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--outline-variant); border-radius: var(--xl); overflow: hidden; }
.m3-kinds > div { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 4px 12px; padding: 20px; border-left: 1px solid var(--outline-variant); }
.m3-kinds > div:first-child { border-left: 0; } .m3-kinds .m3-shape { width: 40px; height: 40px; } .m3-kinds .m3-shape .m3-ic { width: 20px; height: 20px; }
@media (max-width: 1039px) { .m3-kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); } .m3-kinds > div:nth-child(odd) { border-left: 0; } .m3-kinds > div:nth-child(n+3) { border-top: 1px solid var(--outline-variant); } }
@media (max-width: 479px) { .m3-kinds { grid-template-columns: minmax(0, 1fr); } .m3-kinds > div { border-left: 0; } .m3-kinds > div + div { border-top: 1px solid var(--outline-variant); } }

/* what an office did by hand, the product, and what it gives back: loose tags wired into one node, one list out */
.m3-shift { margin-top: 24px; padding: clamp(24px, 4vw, 56px); border-radius: var(--xl); background: var(--sc-low); }
.m3-shift-h { max-width: 40rem; } .m3-shift-h h2 { margin-top: 4px; } .m3-accent { color: var(--primary); }
.m3-flow { --gap: clamp(24px, 4vw, 64px); position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) auto minmax(0, 1fr); align-items: center; gap: 0 var(--gap); margin-top: 40px; }
.m3-before { position: relative; display: flex; flex-wrap: wrap; align-content: center; gap: 28px 20px; padding-right: 24px; }
.m3-before span { padding: 10px 16px; border: 1px solid var(--outline-variant); border-radius: var(--md); background: var(--surface); box-shadow: var(--e1); color: var(--on-surface-variant); font-size: 15px; line-height: 20px; }
.m3-before span:nth-of-type(odd) { transform: rotate(-2.5deg); } .m3-before span:nth-of-type(even) { transform: rotate(2deg) translateY(14px); } .m3-before span:nth-of-type(4n+3) { margin-left: 28px; transform: rotate(3deg); }
.m3-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; fill: none; stroke: var(--outline); stroke-width: 1.6; stroke-dasharray: 1 7; stroke-linecap: round; }
.m3-node { position: relative; display: grid; justify-items: center; gap: 8px; width: 112px; padding: 20px 0 14px; border-radius: var(--xl); background: var(--primary); color: var(--on-primary); font-size: 14px; font-weight: 600; letter-spacing: .06em; }
.m3-node svg { width: 44px; height: 44px; fill: currentColor; }
.m3-node::after { content: ""; position: absolute; left: 100%; top: 50%; width: var(--gap); border-top: 2px solid var(--primary); }
.m3-after { position: relative; display: grid; gap: 18px; margin: 0; padding: 0 0 0 44px; list-style: none; font-size: 17px; font-weight: 500; line-height: 24px; }
.m3-after li { position: relative; display: flex; align-items: center; gap: 12px; } .m3-after li::before { content: ""; position: absolute; left: -44px; top: 50%; width: 40px; border-top: 2px solid var(--primary); }
.m3-after li::after { content: ""; position: absolute; left: -44px; top: -9px; bottom: -9px; border-left: 2px solid var(--primary); } .m3-after li:first-child::after { top: 50%; } .m3-after li:last-child::after { bottom: calc(50% - 2px); }
.m3-tick { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 99px; background: var(--primary); color: var(--on-primary); } .m3-tick .m3-ic { width: 14px; height: 14px; stroke-width: 3; }
@media (max-width: 899px) { .m3-flow { grid-template-columns: minmax(0, 1fr); } .m3-wires { display: none; } .m3-before { gap: 8px; padding-right: 0; } .m3-before span:nth-of-type(n) { margin-left: 0; transform: none; }
  .m3-node { margin-top: 28px; } .m3-node::after { left: 55px; top: 100%; width: 0; height: 28px; border-top: 0; border-left: 2px solid var(--primary); }
  .m3-after { margin: 28px 0 0 55px; } .m3-after li:first-child::after { top: -28px; } }

/* results */
section { margin-top: 24px; }
.m3-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.m3-panel { background: var(--sc-low); border-radius: var(--xl); padding: 28px; display: flex; flex-direction: column; }
.m3-shape { width: 56px; height: 56px; display: grid; place-items: center; }
.m3-s1 { border-radius: 18px; background: var(--primary-container); color: var(--on-primary-container); }
.m3-s2 { border-radius: 999px; background: var(--secondary-container); color: var(--on-secondary-container); }
.m3-s3 { border-radius: 28px 28px 8px 28px; background: var(--tertiary-container); color: var(--on-tertiary-container); }
.m3-panel h2 { margin-top: 24px; } .m3-panel > p { margin-top: 8px; min-height: 48px; }
.m3-assists { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; } .m3-assists .m3-assist { height: 28px; padding: 0 10px 0 8px; font-size: 12px; }
@media (max-width: 1039px) { .m3-results { grid-template-columns: 1fr; } .m3-panel > p { min-height: 0; } }
@media (min-width: 700px) and (max-width: 1039px) { .m3-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 0 32px; align-items: center; }
  .m3-panel > .m3-app { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; } .m3-panel .m3-shape { align-self: end; } .m3-panel > p { align-self: start; } }

/* audiences, trust, call to action */
.m3-who { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 72px; }
.m3-who > div { border: 1px solid var(--outline-variant); border-radius: var(--xl); padding: 28px; }
@media (max-width: 699px) { .m3-who { grid-template-columns: 1fr; } }
/* the assistant on a phone, and the lot on its plan: a line of text beside each screen */
.m3-ai, .m3-lot { --pad: clamp(24px, 4vw, 56px); display: grid; align-items: center; gap: 32px clamp(24px, 5vw, 80px); padding: var(--pad); border-radius: var(--xl); }
.m3-ai { margin-top: 72px; grid-template-columns: auto minmax(0, 1fr); padding-left: clamp(24px, 7vw, 104px); background: var(--secondary-container); color: var(--on-secondary-container); }
.m3-lot { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); background: var(--sc-low); }
.m3-ai h2, .m3-lot h2 { margin-top: 4px; } .m3-ai p, .m3-lot p { margin-top: 12px; }
.m3-ai .m3-assists { margin-top: 24px; max-width: 30rem; } .m3-ai .m3-assist { height: 32px; font-size: 14px; padding: 0 16px 0 8px; border-color: var(--outline); }
.m3-ai .m3-phone { order: -1; }
@media (max-width: 899px) { .m3-ai, .m3-lot { grid-template-columns: minmax(0, 1fr); } .m3-ai { padding-left: var(--pad); } .m3-ai .m3-phone { order: 0; } }
[data-at], [data-is] { opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
[data-at].m3-on, [data-is].m3-on { opacity: 1; transform: none; }
/* The product's own screens, drawn as the application draws them — its palette and system type, whatever the
   site's scheme — at about the real anatomy: the process list, the timers, the requirements, the review, the
   assistant and the lot's page. Illustrative data. */
.m3-app { --a-ink: #1e293b; --a-ink-2: #64748b; --a-ink-3: #94a3b8; --a-line: #e2e8f0; --a-well: #f8fafc; --a-pri: #4854e0; --a-pri-soft: #eceefc;
  --a-ok: #059669; --a-ok-soft: #e1f3ec; --a-warn: #b45309; --a-warn-soft: #fbeedb; --a-err: #dc2626;
  background: #fff; color: var(--a-ink); border: 1px solid var(--a-line); border-radius: 14px; overflow: hidden; text-align: left; box-shadow: var(--e1);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 13px; line-height: 1.45; letter-spacing: 0; }
.m3-app b { font-weight: 600; } .m3-app small { display: block; font-size: 12px; color: var(--a-ink-2); } .m3-app .m3-ic { width: 18px; height: 18px; }
.m3-panel > .m3-app { margin-top: 24px; flex: 1; min-width: 0; }
.m3-a-h { display: flex; align-items: center; gap: 8px; padding: 14px 16px 8px; font-size: 15px; font-weight: 600; }
.m3-a-h2 { margin-top: 8px; border-top: 1px solid var(--a-line); font-size: 13px; } .m3-a-end { margin-left: auto; }
.m3-a-label { font-size: 12px; color: var(--a-ink-2); } .m3-a-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.m3-a-chip { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font-size: 11px; font-weight: 500; white-space: nowrap; background: #f1f5f9; color: #475569; }
.m3-a-chip.m3-ok { background: var(--a-ok-soft); color: var(--a-ok); } .m3-a-chip.m3-warn { background: var(--a-warn-soft); color: var(--a-warn); } .m3-a-chip.m3-pri { background: var(--a-pri-soft); color: var(--a-pri); }
.m3-a-chip.m3-line { height: 16px; padding: 0 6px; font-size: 10px; background: none; box-shadow: inset 0 0 0 1px var(--a-ink-3); }
.m3-a-group { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 16px 6px; font-weight: 600; } .m3-a-group small { font-weight: 400; white-space: nowrap; }
.m3-a-counters { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 16px; }
.m3-a-counter { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--a-line); border-radius: 8px; padding: 5px 10px; white-space: nowrap; } .m3-a-counter.m3-on { border-color: var(--a-pri); background: var(--a-pri-soft); }
.m3-a-dot { width: 8px; height: 8px; border-radius: 99px; } .m3-a-dot.m3-err { background: var(--a-err); } .m3-a-dot.m3-warn { background: #d97706; } .m3-a-dot.m3-ok { background: var(--a-ok); }
.m3-a-id { display: inline-flex; align-items: baseline; gap: 6px; max-width: 100%; padding: 3px 8px; border-radius: 6px; overflow: hidden; white-space: nowrap; background: var(--a-pri-soft); color: var(--a-pri); font: 600 12px/1.5 ui-monospace, 'Roboto Mono', monospace; }
.m3-a-id em { font: 600 9px/1 system-ui, sans-serif; letter-spacing: .05em; text-transform: uppercase; opacity: .8; }
.m3-a-track { display: flex; gap: 3px; max-width: 120px; margin-top: 10px; } .m3-a-track i { flex: 1; height: 3px; border-radius: 9px; background: var(--a-line); } .m3-a-track .m3-d { background: var(--a-ink-3); } .m3-a-track .m3-c { background: var(--a-pri); }
.m3-a-days { font-size: 16px; font-weight: 700; line-height: 1.25; font-variant-numeric: tabular-nums; } .m3-late { color: var(--a-err); } .m3-soon { color: #d97706; }
.m3-a-hand { color: #c2410c; } .m3-a-kebab { align-self: center; color: var(--a-ink-2); font-weight: 700; }
/* the process list on a phone, as the application draws it there: a card of five lines per process. The frame
   crops at the hero's edge; data-view (site.js) scrolls the page and presses the term counters. */
.m3-phone { position: relative; width: 340px; max-width: 100%; aspect-ratio: 9 / 19.5; margin: 0 0 calc(-150px - var(--pad)); padding: 10px; border-radius: 50px; background: #0d0f13; box-shadow: inset 0 0 0 2px #3b3f47, var(--e2); }
.m3-phone-whole { margin: 0; }
/* on a narrow screen the phone shrinks whole, so its screen keeps the layout it has at full size */
@media (max-width: 419px) { .m3-phone { zoom: .9; } } @media (max-width: 384px) { .m3-phone { zoom: .85; } } @media (max-width: 369px) { .m3-phone { zoom: .8; } } @media (max-width: 356px) { .m3-phone { zoom: .75; } } @media (max-width: 344px) { .m3-phone { zoom: .7; } }
.m3-phone .m3-a-chat { gap: 8px; padding: 0 14px 16px; } .m3-phone .m3-a-note { display: none; }
/* a narrower phone is a shorter one: the basis and the sources give way, so the composer always shows */
.m3-phone .m3-a-chat > * { flex: none; } .m3-phone .m3-a-chat > .m3-a-sources, .m3-phone .m3-a-chat > .m3-a-basis-block { flex: 0 1 auto; min-height: 0; overflow: hidden; } .m3-phone .m3-a-bar-top { margin: 0 -14px; padding: 9px 14px; } .m3-phone .m3-a-source > span { min-width: 0; }
.m3-phone .m3-a-source b, .m3-phone .m3-a-source small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m3-phone::before, .m3-phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: #0d0f13; }
.m3-phone::before { left: -3px; top: 120px; height: 34px; box-shadow: 0 48px 0 #0d0f13; } .m3-phone::after { right: -3px; top: 150px; height: 64px; }
/* pinned to the frame, not height: 100%: Safari does not resolve a percentage against a height that comes from aspect-ratio, and the screen would grow with its content */
.m3-p-screen { position: absolute; inset: 10px; display: flex; flex-direction: column; border: 0; border-radius: 40px; box-shadow: none; }
.m3-p-screen::before { content: ""; position: absolute; left: 50%; top: 9px; width: 84px; height: 24px; margin-left: -42px; border-radius: 99px; background: #0d0f13; }
.m3-p-status { display: flex; align-items: center; justify-content: space-between; height: 42px; padding: 0 26px 0 30px; font-size: 13px; font-weight: 600; } .m3-p-status svg { width: 54px; height: 11px; fill: currentColor; }
.m3-p-nav { display: flex; align-items: center; gap: 10px; padding: 6px 14px 8px; border-bottom: 1px solid var(--a-line); }
.m3-p-logo { height: 18px; width: auto; margin-right: auto; } .m3-p-avatar { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 99px; background: var(--a-pri-soft); color: var(--a-pri); font-size: 10px; font-weight: 600; }
.m3-p-view { flex: 1; min-height: 0; overflow: hidden; background: var(--a-well); } .m3-p-page { transition: transform .9s var(--ease); }
.m3-p-title { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 0; font-size: 19px; } .m3-p-title span { padding: 5px 12px; border-radius: 8px; background: var(--a-pri); color: #fff; font-size: 12px; font-weight: 600; }
.m3-p-screen .m3-a-counters { flex-wrap: nowrap; gap: 6px; padding: 12px 14px; overflow: hidden; } .m3-p-screen .m3-a-counter { position: relative; flex: none; background: #fff; font-size: 12px; transition: background .2s var(--ease), border-color .2s var(--ease); }
.m3-p-screen:not([data-view="soon"], [data-view="late"]) [data-f="all"], [data-view="soon"] [data-f="soon"], [data-view="late"] [data-f="late"] { border-color: var(--a-pri); background: var(--a-pri-soft); }
.m3-p-tap { position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px; border-radius: 99px; background: rgb(30 41 59 / .3); transform: scale(.4); } .m3-p-tap.m3-on { transform: none; }
.m3-p-list { margin: 0 14px; border: 1px solid var(--a-line); border-radius: 12px; background: #fff; overflow: hidden; }
.m3-p-row { display: grid; gap: 3px; max-height: 140px; padding: 9px 12px; border-top: 1px solid var(--a-line); overflow: hidden; transition: max-height .45s var(--ease), padding .45s var(--ease), opacity .3s var(--ease); }
.m3-p-row:first-child { border-top: 0; } .m3-p-row > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.m3-p-row > div > * { flex: none; margin: 0; white-space: nowrap; } .m3-p-row > div > :first-child { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.m3-p-row > div:last-child small { font-size: 11px; } .m3-p-state { font-weight: 500; } .m3-p-days { font-size: 12px; color: var(--a-ink-2); } .m3-p-days b { margin-right: 3px; color: var(--a-ink); } .m3-p-days .m3-late { color: var(--a-err); } .m3-p-days .m3-soon { color: #d97706; }
.m3-p-row .m3-a-track { max-width: none; } .m3-p-row .m3-a-track i { flex: none; width: 10px; } .m3-p-row .m3-a-track .m3-c { width: 16px; }
[data-view="soon"] .m3-p-row:not([data-term="soon"]), [data-view="late"] .m3-p-row:not([data-term="late"]) { max-height: 0; padding-top: 0; padding-bottom: 0; border-top-width: 0; opacity: 0; }
[data-view="mid"] .m3-p-page { transform: translateY(-120px); } [data-view="end"] .m3-p-page { transform: translateY(-250px); }
@media (max-width: 899px) { .m3-hero { grid-template-columns: minmax(0, 1fr); padding-right: var(--pad); } .m3-phone { justify-self: center; margin-top: 8px; } }
.m3-a-timer { display: grid; gap: 7px; margin: 0 16px 12px; padding: 12px; border: 1px solid var(--a-line); border-radius: 10px; }
.m3-a-timer-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 8px; font-weight: 600; } .m3-a-n { font-size: 12px; font-weight: 400; color: var(--a-ink-2); white-space: nowrap; } .m3-a-n b { color: var(--a-ink); }
/* one segment per business day, as the application's timer bar; --n is the term and --k the days gone */
.m3-a-bar { height: 12px; background: linear-gradient(90deg, var(--a-line) calc(100% - 2px), transparent 0) 0 0 / calc(100% / var(--n)) 100%; }
.m3-a-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--c) calc(100% - 2px), transparent 0) 0 0 / calc(100% / var(--k)) 100%; }
.m3-a-timer .m3-a-bar { margin-top: 2px; } .m3-a-timer .m3-a-bar i { width: calc(var(--k) / var(--n) * 100%); }
.m3-a-timer [data-for] { display: none; } .m3-a-timer[data-now="run"] [data-for="run"], .m3-a-timer[data-now="soon"] [data-for="soon"], .m3-a-timer[data-now="off"] [data-for="off"] { display: inline-flex; }
.m3-a-timer[data-now="run"] i { --c: var(--a-ok); } .m3-a-timer[data-now="soon"] i { --c: #d97706; } .m3-a-timer[data-now="off"] i { --c: var(--a-ink-3); } .m3-a-timer[data-now="soon"] .m3-a-dates span:last-child { color: #d97706; }
.m3-a-bar .m3-ok { --c: var(--a-ok); } .m3-a-bar .m3-warn { --c: #d97706; } .m3-a-bar .m3-off { --c: var(--a-ink-3); } .m3-a-bar-wide { height: 8px; margin: 0 16px 4px; }
.m3-a-dates, .m3-a-progress { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--a-ink-2); } .m3-a-progress { padding: 2px 16px 8px; }
.m3-a-doc { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 16px; border-top: 1px solid var(--a-line); }
.m3-a-check { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 99px; background: var(--a-ok); color: #fff; } .m3-a-check .m3-ic { width: 12px; height: 12px; stroke-width: 3; } .m3-a-check.m3-off { background: none; box-shadow: inset 0 0 0 1.5px var(--a-ok); }
.m3-a-pages { padding: 1px 8px; border: 1px solid var(--a-line); border-radius: 6px; font-size: 12px; color: var(--a-ink-2); white-space: nowrap; }
.m3-a-review { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 9px 16px; border-top: 1px solid var(--a-line); } .m3-a-review > span:first-child { color: var(--a-ink-2); } .m3-a-review b { color: var(--a-ink); }
.m3-a-log { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; padding: 7px 16px; } .m3-a-log span:first-child { color: var(--a-ink-3); font-variant-numeric: tabular-nums; }
.m3-a-chat { display: flex; flex-direction: column; flex: 1; gap: 10px; min-height: 0; padding: 0 16px 16px; overflow: hidden; }
.m3-a-bar-top { display: flex; align-items: center; gap: 6px; margin: 0 -16px; padding: 12px 16px; border-bottom: 1px solid var(--a-line); font-weight: 600; }
.m3-a-q { align-self: flex-end; max-width: 88%; padding: 8px 12px; border-radius: 12px; background: #f1f5f9; }
.m3-slot { position: relative; }
.m3-a-typing { position: absolute; left: 0; top: 0; display: flex; gap: 5px; padding: 12px; } .m3-a-typing i { width: 6px; height: 6px; border-radius: 99px; background: var(--a-ink-3); animation: m3-dot 1s infinite var(--ease); }
.m3-a-typing i:nth-child(2) { animation-delay: .15s; } .m3-a-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes m3-dot { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.m3-a-answer { padding: 10px 12px; border: 1px solid var(--a-line); border-radius: 10px; background: var(--a-well); }
.m3-a-cite { display: inline-grid; place-items: center; min-width: 15px; height: 15px; margin-left: 3px; padding: 0 3px; border-radius: 4px; background: var(--a-pri-soft); color: var(--a-pri); font-size: 10px; font-weight: 600; line-height: 1; vertical-align: 2px; }
.m3-a-basis-block { display: grid; gap: 6px; } .m3-a-basis-block p { margin: 0; }
.m3-a-sources { display: grid; gap: 6px; padding-top: 8px; border-top: 1px solid var(--a-line); }
.m3-a-source { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 8px; } .m3-a-source .m3-a-cite { margin: 0; vertical-align: 0; }
.m3-a-composer { display: grid; gap: 6px; margin-top: auto; padding: 8px 10px 8px 12px; border: 1px solid var(--a-ink-3); border-radius: 12px; } .m3-a-composer div { display: flex; align-items: center; justify-content: space-between; color: var(--a-ink-3); }
.m3-a-send { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 99px; background: var(--a-ink); color: #fff; } .m3-a-send .m3-ic { width: 14px; height: 14px; }
.m3-a-note { font-size: 11px; color: var(--a-ink-2); text-align: center; }
.m3-a-ficha-h { display: grid; gap: 6px; padding: 14px 16px 12px; } .m3-a-title { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.m3-a-pot { padding-top: 8px; border-top: 1px solid var(--a-line); font-size: 12px; color: var(--a-ink-2); }
.m3-a-tabs { display: flex; gap: 18px; padding: 0 16px; border-top: 1px solid var(--a-line); border-bottom: 1px solid var(--a-line); overflow: hidden; white-space: nowrap; color: var(--a-ink-2); }
.m3-a-tabs span { position: relative; padding: 9px 0; } .m3-a-ficha:not([data-view="vec"]) [data-tab="plan"], [data-view="vec"] [data-tab="vec"] { color: var(--a-pri); font-weight: 600; box-shadow: inset 0 -2px 0 var(--a-pri); }
.m3-a-planbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px 0; }
.m3-a-hl { position: relative; flex: 1; height: 18px; font-size: 12px; font-weight: 600; } .m3-a-hl span { position: absolute; right: 0; top: 0; white-space: nowrap; }
.m3-a-plan { display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 12px; padding: 8px 16px 6px; } .m3-a-plan svg { display: block; width: 100%; height: auto; border: 1px solid var(--a-line); border-radius: 8px; }
/* a plan's zones and their legend swatches share one colour each */
.m3-z1 { fill: #fdf3c4; background: #fdf3c4; } .m3-z2 { fill: #fbd9b5; background: #fbd9b5; } .m3-z3 { fill: #d3ecd9; background: #d3ecd9; }
/* the plan is drawn as a sheet of the POT: blocks tinted by their area, the cadastre's lots over them, streets left as paper */
.m3-a-paper { fill: #fbfaf5; } .m3-a-lots { fill: none; stroke: rgb(30 41 59 / .42); stroke-width: .5; } .m3-a-park { fill: #b9dfc0; } .m3-a-walk { fill: none; stroke: #f4f1e6; stroke-width: 1.4; } .m3-a-tree { fill: #7fbf8c; }
.m3-a-built { fill: rgb(30 41 59 / .16); stroke: rgb(30 41 59 / .45); stroke-width: .5; }
.m3-a-maptext { font: 500 4.6px system-ui, sans-serif; letter-spacing: .08em; fill: #64748b; } .m3-a-block { font-size: 6.5px; font-weight: 700; letter-spacing: 0; fill: rgb(30 41 59 / .5); }
.m3-a-cross { fill: none; stroke: rgb(30 41 59 / .5); stroke-width: .6; } .m3-a-furniture rect, .m3-a-furniture circle { fill: rgb(255 255 255 / .9); stroke: rgb(30 41 59 / .25); stroke-width: .5; } .m3-a-furniture path { fill: none; stroke: #1e293b; stroke-width: .8; }
.m3-a-furniture text { font: 500 5.5px system-ui, sans-serif; fill: #1e293b; dominant-baseline: middle; } .m3-a-furniture .m3-a-north { fill: #1e293b; stroke: none; }
.m3-a-ov { fill: rgb(72 84 224 / .16); stroke: var(--a-pri); stroke-width: 2; stroke-dasharray: 6 5; transform: none; } .m3-a-lot { fill: var(--a-pri); stroke: #fff; stroke-width: 2.5; }
.m3-a-legend { display: grid; align-content: start; gap: 6px; font-size: 12px; } .m3-a-legend span { display: flex; align-items: center; gap: 6px; }
.m3-a-sw { flex: none; width: 12px; height: 12px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgb(30 41 59 / .25); }
.m3-a-norm { display: grid; grid-template-columns: minmax(0, 1fr) auto 18px; align-items: center; gap: 10px; padding: 8px 16px; border-top: 1px solid var(--a-line); opacity: 1; transform: none; transition: background .35s var(--ease); }
.m3-a-norm .m3-ic { color: var(--a-ink-3); } .m3-a-norm.m3-on { background: var(--a-pri-soft); } .m3-a-norm.m3-on .m3-ic { color: var(--a-pri); }
/* the lot's two tabs share one cell, so the page keeps its height when the demonstration changes tab */
.m3-a-panes { display: grid; } .m3-a-panes > div { grid-area: 1 / 1; min-width: 0; transition: opacity .35s var(--ease), visibility .35s; }
.m3-a-ficha:not([data-view="vec"]) [data-pane="vec"], [data-view="vec"] [data-pane="plan"] { opacity: 0; visibility: hidden; }
/* the lot and its neighbours in volume, as the application's 3D view: lots on the ground, a box of floors on each,
   turning by itself. Lengths are in the stage's own width (cqw), a floor is --u; --r is the turn, registered so it
   animates and the letters can turn back to face the reader. */
@property --r { syntax: "<angle>"; inherits: true; initial-value: 35deg; }
@keyframes m3-turn { to { --r: 395deg; } }
.m3-v-join { display: inline-flex; border: 1px solid var(--a-line); border-radius: 7px; overflow: hidden; font-size: 12px; white-space: nowrap; } .m3-v-join span { padding: 3px 9px; border-left: 1px solid var(--a-line); }
.m3-v-join span:first-child { border-left: 0; } .m3-v-join .m3-on { background: var(--a-pri); color: #fff; }
.m3-v-stage { --u: 1.5cqw; --own: #4854e0; --nb: #1b7f79; --other: #cbd5e1; container-type: inline-size; position: relative; aspect-ratio: 100 / 57; margin: 8px 16px 0; border: 1px solid var(--a-line); border-radius: 8px; background: #f1f5f9; overflow: hidden; perspective: 150cqw; }
.m3-v-scene { position: absolute; left: 50%; top: 50%; width: 68cqw; height: 68cqw; margin: -31cqw 0 0 -34cqw; border-radius: 1cqw; background: #e2e8f0; transform-style: preserve-3d; transform: rotateX(57deg) rotateZ(var(--r)); animation: m3-turn 26s linear infinite; }
.m3-v-lot { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--w) * 1%); height: calc(var(--d) * 1%); --c: var(--other); background: #fff; transform-style: preserve-3d; }
.m3-v-lot.m3-own { --c: var(--own); background: #d1d5f8; } .m3-v-lot.m3-nb { --c: var(--nb); background: #c9e2e0; }
.m3-v-lot u { --h: calc(var(--f) * var(--u)); --c2: color-mix(in srgb, var(--c) 82%, #fff); position: absolute; inset: 8% 10% 26% 10%; transform-style: preserve-3d; }
.m3-v-lot b { position: absolute; background: repeating-linear-gradient(var(--to, 0deg), var(--c) 0 calc(var(--u) - .25cqw), var(--c2) 0 var(--u)); }
.m3-v-lot b:nth-child(1) { inset: 0; background: var(--c2); transform: translateZ(var(--h)); }
.m3-v-lot b:nth-child(2), .m3-v-lot b:nth-child(3) { left: 0; width: 100%; height: var(--h); }
.m3-v-lot b:nth-child(2) { bottom: 0; transform-origin: bottom; transform: rotateX(-90deg); filter: brightness(.92); } .m3-v-lot b:nth-child(3) { top: 0; --to: 180deg; transform-origin: top; transform: rotateX(90deg); filter: brightness(.86); }
.m3-v-lot b:nth-child(4), .m3-v-lot b:nth-child(5) { top: 0; height: 100%; width: var(--h); }
.m3-v-lot b:nth-child(4) { left: 0; --to: 90deg; transform-origin: left; transform: rotateY(-90deg); filter: brightness(.8); } .m3-v-lot b:nth-child(5) { right: 0; --to: 270deg; transform-origin: right; transform: rotateY(90deg); }
.m3-v-lot em { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 4.6cqw; height: 4.6cqw; margin: -2.3cqw; border-radius: 99px; background: #fff; color: var(--nb); box-shadow: 0 0 0 1px var(--nb);
  font: 700 2.8cqw/1 system-ui, sans-serif; transform: translateZ(calc(var(--h) + 4cqw)) rotateZ(calc(-1 * var(--r))) rotateX(-57deg); }
.m3-v-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 8px 16px 2px; font-size: 12px; color: var(--a-ink-2); } .m3-v-legend span { display: flex; align-items: center; gap: 6px; }
.m3-a-sw.m3-own { background: #4854e0; } .m3-a-sw.m3-nb { background: #1b7f79; }
.m3-v-row { grid-template-columns: 22px minmax(0, 1fr) auto; } .m3-v-row > b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 99px; background: #f1f5f9; color: var(--a-ink-2); font-size: 11px; } .m3-v-row.m3-on > b { background: var(--a-pri); color: #fff; }
@media (prefers-reduced-motion: reduce) { .m3-v-scene { animation: none; } }
@media (max-width: 480px) { .m3-v-join span:last-child { display: none; } }
@media (max-width: 480px) { .m3-a-plan { grid-template-columns: 1fr; } .m3-a-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; } .m3-a-tabs { gap: 12px; }
  .m3-a-planbar .m3-a-label { display: none; } .m3-a-hl span { right: auto; left: 0; } }
.m3-end { margin-top: 72px; background: var(--primary); color: var(--on-primary); border-radius: var(--xl); padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.m3-end p { margin-top: 12px; opacity: .8; }
.m3-request { display: grid; gap: 12px; }
.m3-field { display: flex; gap: 8px; background: var(--surface); border-radius: 999px; padding: 8px; }
.m3-end .m3-error { margin: 0; opacity: 1; padding: 8px 16px; border-radius: var(--md); background: var(--surface); color: var(--error); font-size: 14px; line-height: 20px; }
.m3-end .m3-sent { margin: 0; opacity: 1; padding: 24px; border-radius: var(--xl); background: var(--surface); color: var(--on-surface); }
.m3-display-s { font-size: clamp(32px, 4.4vw, 57px); }
.m3-end .m3-or { margin: 0; padding: 0 16px; font-size: 14px; line-height: 20px; } .m3-or a { font-weight: 500; text-decoration: underline; }
.m3-wa { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 20; width: 56px; height: 56px; border-radius: var(--lg); background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 4px 12px rgb(0 0 0 / .25); transition: transform .2s var(--ease); }
.m3-wa:hover { transform: translateY(-2px); } .m3-wa svg { width: 28px; height: 28px; }
@media (prefers-reduced-motion: reduce) { .m3-wa { transition: none; } }
.m3-end input { flex: 1; min-width: 0; font: inherit; border: 0; background: none; color: var(--on-surface); padding: 0 16px; outline: none; }
.m3-end input::placeholder { color: var(--on-surface-variant); }
@media (max-width: 899px) { .m3-end { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .m3-field { flex-direction: column; border-radius: var(--xl); padding: 12px; } .m3-end input { height: 48px; } }
footer { margin-top: 48px; padding: 24px 0 40px; border-top: 1px solid var(--outline-variant); color: var(--on-surface-variant); font-size: 14px; }
footer .m3-wrap { display: flex; align-items: center; gap: 8px 24px; flex-wrap: wrap; } footer .m3-brand { margin-right: 16px; }
footer .m3-sp { margin-left: auto; }
@media (max-width: 599px) { .m3-wrap { padding: 0 16px; } footer .m3-sp { margin-left: 0; width: 100%; } .m3-panel { padding: 20px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.m3-end :focus-visible { outline-color: var(--on-primary); }
.cf-turnstile { min-height: 65px; }
