/* Appartement Finder : univers « série de billets »
   Encre sur papier, filets d'un pixel, formes arrondies, une couleur de coupure par état. */

/* ---------- Jetons ---------- */
:root {
  --paper: #F4F3EE;
  --surface: #FFFFFF;
  --ink: #14161A;
  --on-ink: #F4F3EE;
  --muted: #565A63;
  --rule: #14161A;
  --rule-soft: #C9C8C1;
  --gold: #E9B800;
  --link: #1A4F8E;
  --danger: #B81F31;
  --ok-bg: #E2F0E6; --ok-ink: #14522F;
  --err-bg: #FBE4E6; --err-ink: #8A1524;
  --focus: #14161A;
  --font: "Archivo Variable", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(1rem, 3vw, 2.5rem);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #101216;
    --surface: #191C22;
    --ink: #F1F0EA;
    --on-ink: #14161A;
    --muted: #A9AEB8;
    --rule: #565C68;
    --rule-soft: #2E323B;
    --link: #9CC3F2;
    --danger: #FF8B98;
    --ok-bg: #16301F; --ok-ink: #BFE6CB;
    --err-bg: #3A171C; --err-ink: #FFC9CF;
    --focus: #E9B800;
  }
}

/* Coupures : une couleur par état, --on est la couleur du texte posé dessus */
.st-actifs, .st-tous { --st: var(--ink); --on: var(--on-ink); }
.st-nouveau { --st: #646A75; --on: #FFFFFF; }
.st-interessant { --st: #1F5FA8; --on: #FFFFFF; }
.st-contacte { --st: #7A4BA8; --on: #FFFFFF; }
.st-visite_prevue { --st: #E9B800; --on: #14161A; }
.st-visite { --st: #23774A; --on: #FFFFFF; }
.st-dossier { --st: #8A5A2B; --on: #FFFFFF; }
.st-accepte { --st: #0B7A75; --on: #FFFFFF; }
.st-refuse { --st: #C92237; --on: #FFFFFF; }
.st-indisponible { --st: #B9BBC2; --on: #14161A; }
@media (prefers-color-scheme: dark) {
  .st-visite_prevue { --st: #F3D35C; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light dark; scrollbar-color: var(--ink) var(--paper); scrollbar-width: thin; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  background: var(--paper); color: var(--ink);
  font: 400 1rem/1.5 var(--font);
  font-variant-numeric: tabular-nums;
  caret-color: var(--link);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--gold); color: #14161A; }
a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: 1px; }
h1, h2 { margin: 0; text-wrap: balance; letter-spacing: -.02em; line-height: 1.1; }
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 2.875rem); font-weight: 800; margin-bottom: 1.25rem; }
h2 { font-size: 1.3125rem; font-weight: 700; margin-bottom: 1rem; }
p { margin: 0 0 .75rem; max-width: 70ch; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--gold); color: #14161A; padding: .6rem 1rem; font-weight: 700; }
.skip:focus { top: .75rem; }

/* ---------- Bandeau ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; flex-wrap: wrap; align-items: center; column-gap: 2rem;
  min-height: 4rem; padding: 0 var(--gutter);
  background: #14161A; color: #F4F3EE;
}
.brand { display: inline-flex; align-items: center; gap: .75rem; margin: 0 auto 0 0; padding: 1rem 0; font-weight: 700; font-size: 1.125rem; color: inherit; text-decoration: none; }
.rosette { color: var(--gold); flex: none; }
.top nav { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1.75rem; }
.top nav a, .top-out {
  padding: 1.2rem 0 1.075rem; border: 0; border-bottom: 2px solid transparent; background: none;
  color: #C3C6CE; font: inherit; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.top nav a:hover, .top-out:hover { color: #FFFFFF; }
.top nav a[aria-current] { color: #FFFFFF; border-color: var(--gold); }
.top :focus-visible { outline-color: var(--gold); }
.top form { display: contents; }

main { max-width: 58rem; margin: 0 auto; padding: 1.75rem var(--gutter) 5rem; }
main.wide { max-width: 100rem; }

/* ---------- Boutons et champs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 2.875rem; padding: .7rem 1.25rem;
  border: 1px solid var(--rule); background: var(--surface); color: var(--ink);
  font: inherit; font-weight: 650; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn.primary:hover { background: var(--gold); color: #14161A; border-color: var(--gold); }
.btn.danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.btn.danger:hover { background: var(--danger); color: var(--paper); }
.btn.small { min-height: 2.375rem; padding: .45rem .9rem; font-size: .875rem; }

.stack { display: flex; flex-direction: column; gap: 1.15rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1.15rem; align-items: start; }
label { display: flex; flex-direction: column; gap: .4rem; font-weight: 650; font-size: .9375rem; }
.hint, .req { font-weight: 400; font-size: .875rem; color: var(--muted); }
.req::before { content: "· "; }
input[type=text], input[type=url], input[type=password], select, textarea {
  width: 100%; min-height: 2.875rem; padding: .65rem .8rem;
  border: 1px solid var(--rule); border-radius: 0; background: var(--surface); color: var(--ink);
  font: inherit; font-weight: 400;
}
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 0; }
input:disabled { background: var(--paper); color: var(--muted); border-style: dashed; }
textarea { resize: vertical; }
.field { display: flex; flex-direction: column; gap: .6rem; }
label.check { flex-direction: row; align-items: center; gap: .6rem; font-weight: 500; cursor: pointer; min-height: 1.75rem; }
label.check input {
  appearance: none; flex: none; width: 1.35rem; height: 1.35rem; margin: 0;
  border: 1px solid var(--rule); background: var(--surface); cursor: pointer;
}
label.check input:checked { background: var(--ink); box-shadow: inset 0 0 0 4px var(--surface); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.flash { padding: .8rem 1rem; margin-bottom: 1.25rem; border: 1px solid currentColor; font-weight: 600; }
.flash.success { background: var(--ok-bg); color: var(--ok-ink); }
.flash.error { background: var(--err-bg); color: var(--err-ink); }

.panel { background: var(--surface); border: 1px solid var(--rule); padding: clamp(1.1rem, 2.4vw, 1.75rem); margin-bottom: 1.25rem; }
.panel.narrow, .narrow { max-width: 30rem; }

.chip {
  display: inline-block; padding: .3rem .6rem; background: var(--st); color: var(--on);
  font-size: .875rem; font-weight: 700; line-height: 1.2; text-align: center; white-space: nowrap;
}

/* ---------- Classement ---------- */
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.head h1 { margin: 0; }
.head h1 span { font-weight: 300; font-stretch: 112%; }

.states {
  display: flex; flex-wrap: wrap; gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
}
.state {
  flex: 1 1 5.6rem; display: flex; flex-direction: column; gap: .15rem; padding: 0 .85rem .7rem;
  background: var(--surface); color: var(--ink); text-decoration: none;
  transition: background .18s var(--ease);
}
.state::before { content: ""; height: 6px; margin: 0 -.85rem .55rem; background: var(--st); }
.state span { font-size: .875rem; font-weight: 650; line-height: 1.2; }
.state strong { margin-top: auto; font-size: 1.875rem; font-weight: 200; font-stretch: 120%; line-height: 1; }
.state:hover { background: var(--paper); }
.state[aria-current] { background: var(--ink); color: var(--paper); }
.state:focus-visible { outline-offset: -3px; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .75rem 1.5rem; margin: 1rem 0 1.25rem; }
.sort { display: flex; align-items: center; gap: .75rem; }
.sort.pick { margin-right: auto; }
.sort label { flex-direction: row; }
.sort select { width: auto; min-width: 13rem; }

.board { display: grid; grid-template-columns: minmax(18rem, 27rem) minmax(0, 1fr); gap: 1.75rem; align-items: start; }

/* Le numéro 1 : un billet à lui tout seul */
.first { position: sticky; top: 5rem; overflow: hidden; background: var(--st); color: var(--on); }
.first-photo { display: block; height: 17.5rem; background: color-mix(in srgb, var(--st) 82%, #000); }
.first-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.first .guilloche { position: absolute; left: -7rem; bottom: -10rem; width: 24rem; height: 24rem; opacity: .32; pointer-events: none; }
.first:not(:has(img)) .guilloche { left: 50%; top: 8.75rem; bottom: auto; translate: -50% -50%; width: 26rem; height: 26rem; opacity: .85; }
.first-n {
  position: absolute; right: 1.25rem; top: 13.9rem;
  font-size: 12rem; font-weight: 100; font-stretch: 125%; line-height: 1; pointer-events: none;
}
.first-body { position: relative; padding: 1.25rem 1.5rem 1.6rem; }
.first h2 { font-size: 1.6875rem; margin: 0 0 .3rem; max-width: calc(100% - 8.5rem); }
.first a { color: inherit; }
.first h2 a { text-decoration: none; }
.first h2 a:hover { text-decoration: underline; }
.first-meta { margin: 0; max-width: calc(100% - 8.5rem); }
.first-rent { margin: .85rem 0 .1rem; font-size: 2.375rem; font-weight: 300; font-stretch: 112%; line-height: 1.1; }
.first :focus-visible { outline-color: currentColor; }

.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.row {
  position: relative; display: grid; align-items: center; gap: 0 1.15rem;
  grid-template-columns: 4.25rem 7.5rem minmax(0, 1fr) 8.5rem 8.4rem 4.6rem;
  min-height: 6rem; padding: .5rem 0; border-bottom: 1px solid var(--rule);
  transition: background .18s var(--ease);
}
.row:hover { background: var(--surface); }
.row-n { font-size: 3.1rem; font-weight: 200; font-stretch: 120%; line-height: 1; text-align: right; }
.row.big .row-n { font-size: 4.1rem; }
.row-photo { position: relative; display: block; height: 5rem; overflow: hidden; background: var(--st); color: var(--on); }
.row-photo img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.row-photo canvas { position: absolute; inset: -40% -10%; width: 120%; height: 180%; opacity: .8; }
.row-main { min-width: 0; display: flex; flex-direction: column; gap: .1rem; }
.row-title { color: var(--ink); font-size: 1.125rem; font-weight: 650; line-height: 1.25; text-decoration: none; overflow-wrap: anywhere; }
.row-title::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.row:hover .row-title { text-decoration: underline; }
.row-title:focus-visible { outline: none; }
.row:has(.row-title:focus-visible) { outline: 2px solid var(--focus); outline-offset: -2px; }
.row-place { font-size: .875rem; color: var(--muted); }
.row-rent { font-size: 1.3125rem; font-weight: 500; white-space: nowrap; }
.row .chip { justify-self: start; }
.row-score { display: flex; flex-direction: column; line-height: 1.2; }
.row-score b { font-size: 1.625rem; font-weight: 300; font-stretch: 112%; }
.row-score b.none { color: var(--muted); }
.row-score small { font-size: .875rem; color: var(--muted); }
.row-score .todo { color: var(--link); font-weight: 650; }

.empty { position: relative; overflow: hidden; margin-top: 1.5rem; padding: 3.5rem clamp(1.25rem, 4vw, 3rem); background: var(--surface); border: 1px solid var(--rule); }
.empty h2 { font-size: 1.75rem; }
.empty p { max-width: 34rem; margin-bottom: 1.5rem; }
.empty .guilloche { position: absolute; right: -6rem; top: 50%; translate: 0 -50%; width: 26rem; height: 26rem; color: var(--muted); opacity: .6; pointer-events: none; }
.empty > :not(canvas) { position: relative; }

/* ---------- Fiche d'une annonce ---------- */
.back { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem; font-weight: 650; text-decoration: none; color: var(--ink); }
.back:hover { text-decoration: underline; }
.split { display: grid; grid-template-columns: minmax(19rem, 30rem) minmax(0, 1.4fr); gap: 1.5rem; align-items: start; }
.solo { max-width: 44rem; }

.sheet { background: var(--surface); border: 1px solid var(--rule); margin-bottom: 1.25rem; }
.sheet-cover { position: relative; height: clamp(12.5rem, 26vw, 21rem); overflow: hidden; background: color-mix(in srgb, var(--st) 82%, #000); color: var(--on); }
.sheet-cover img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.sheet-cover canvas { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 30rem; height: 30rem; opacity: .85; }
.sheet-band { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1.5rem; padding: .7rem 1.5rem .7rem 4.75rem; background: var(--st); color: var(--on); }
.sheet-band .guilloche { position: absolute; left: 1.25rem; top: 50%; translate: 0 -50%; width: 2.75rem; height: 2.75rem; opacity: .9; pointer-events: none; }
.sheet-band > :not(canvas) { position: relative; }
.sheet-state { font-weight: 700; }
.sheet-rent { font-size: 2.125rem; font-weight: 300; font-stretch: 112%; line-height: 1.1; }
.sheet-rent small { font-size: .9375rem; font-weight: 500; font-stretch: 100%; }
.pad { padding: 1.5rem; }
.sheet h1 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.125rem); margin-bottom: 1.1rem; }
.facts { display: flex; flex-wrap: wrap; margin: 0 0 1.25rem; }
.facts div { flex: 1 1 auto; padding: .55rem .8rem .65rem; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.facts dt { font-size: .875rem; font-weight: 650; color: var(--muted); }
.facts .wide { flex-basis: 100%; }
.facts .wide dd { font-size: 1.25rem; white-space: normal; }
.facts dd { margin: 0; font-size: 1.5rem; font-weight: 300; font-stretch: 112%; line-height: 1.2; white-space: nowrap; }
.status-form { display: flex; flex-direction: column; gap: .4rem; max-width: 18rem; margin: 1.25rem 0; }
.status-form label { font-weight: 650; }

.marks { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0; padding: 0; border: 0; }
.marks label { position: relative; }
.marks input { position: absolute; opacity: 0; inset: 0; }
.marks label span {
  display: grid; place-items: center; width: 3.5rem; height: 3.5rem;
  border: 1px solid var(--rule); background: var(--surface);
  font-size: 1.75rem; font-weight: 300; font-stretch: 112%; cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.marks label span:hover { background: var(--gold); color: #14161A; }
.marks input:checked + span { background: var(--ink); color: var(--paper); font-weight: 600; }
.marks input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.marks-scale { flex-basis: 100%; font-size: .875rem; color: var(--muted); }

.avg { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; }
.avg-n { margin: 0 0 1rem; }
.avg-n b { font-size: 2.625rem; font-weight: 200; font-stretch: 120%; line-height: 1; }
.avg-n small { color: var(--muted); margin-left: .5rem; }
.review { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--rule-soft); }
.review-n { font-size: 2rem; font-weight: 200; font-stretch: 120%; line-height: 1.1; }
.review p { margin: 0 0 .25rem; }

/* Action destructrice : loin du reste, jamais sous le doigt par accident */
.danger-zone { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 4.5rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.danger-zone p { margin: 0; color: var(--muted); font-size: .875rem; }

.viewer { position: sticky; top: 5rem; display: flex; flex-direction: column; height: calc(100dvh - 6.25rem); min-height: 30rem; padding: 1.25rem; background: var(--surface); border: 1px solid var(--rule); }
.viewer-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.viewer-head h2 { margin: 0; }
.viewer p { margin: .6rem 0 .9rem; max-width: none; }
.viewer iframe { flex: 1; width: 100%; border: 1px solid var(--rule); background: #FFFFFF; }

/* ---------- Partage ---------- */
.people { list-style: none; margin: 0 0 1.25rem; padding: 0; border-top: 1px solid var(--rule-soft); }
.people li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: .75rem 0; border-bottom: 1px solid var(--rule-soft); }
.add-person { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem; }
.add-person label { flex: 1 1 14rem; }

/* ---------- Utilisateurs ---------- */
.users { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.user { display: flex; flex-direction: column; gap: .9rem; padding: 1.15rem 0; border-bottom: 1px solid var(--rule); }
.user-id { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem; }
.user-id strong { font-size: 1.125rem; }
.user-id .small { flex-basis: 100%; }
.user-actions { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; }
.inline-form { display: flex; gap: .5rem; align-items: center; }
.inline-form select, .inline-form input { width: auto; min-width: 11rem; min-height: 2.375rem; padding: .4rem .65rem; }
.inline-form.apart { margin-left: auto; }

/* ---------- Connexion ---------- */
body.login { display: grid; grid-template-columns: minmax(22rem, 30rem) 1fr; }
body.login main { display: contents; }
.login-panel { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; justify-content: center; padding: 3rem clamp(1.5rem, 4vw, 3.5rem); }
.login-panel .brand { margin: 0 0 3.5rem; padding: 0; }
.login-panel .rosette { color: var(--ink); }
.login-panel h1 { font-size: 2.875rem; margin-bottom: .4rem; }
.lead { color: var(--muted); margin-bottom: 2rem; }
.login-panel .flash { grid-column: auto; }
.login-panel .btn { align-self: flex-start; min-width: 11rem; }
.login-panel .small { margin-top: 2rem; }
.login-art { grid-column: 2; grid-row: 1; position: relative; min-height: 100dvh; background: #14161A; overflow: hidden; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ---------- Arrondis ---------- */
/* Trois rayons : grands blocs, champs et vignettes, boutons et pastilles en pilule */
:root { --r-lg: 1.125rem; --r-md: .75rem; --r-sm: .4rem; }
.panel, .first, .sheet, .viewer, .empty, .states, .flash { border-radius: var(--r-lg); }
.states, .sheet, .first, .empty { overflow: hidden; }
input[type=text], input[type=url], input[type=password], select, textarea, .viewer iframe, .facts, .row-photo, .marks label span { border-radius: var(--r-md); }
.facts { overflow: hidden; border: 1px solid var(--rule); }
.facts div { margin: 0 -1px -1px 0; }
.btn, .chip, .skip { border-radius: 999px; }
.chip { padding-inline: .8rem; }
label.check input { border-radius: var(--r-sm); }

/* ---------- Écrans étroits ---------- */
@media (max-width: 82rem) {
  .board { grid-template-columns: 1fr; }
  .first { position: relative; top: 0; }
}
@media (min-width: 47.01rem) and (max-width: 82rem) {
  .first { display: grid; grid-template-columns: 1fr 1fr; min-height: 17.5rem; }
  .first-photo { height: 100%; }
  .first-body { align-self: end; }
  .first-n { top: .25rem; right: 1.25rem; font-size: 10rem; }
  .first .guilloche { left: auto; right: -6rem; bottom: -9rem; }
  .first:not(:has(img)) .guilloche { left: 25%; top: 50%; width: 20rem; height: 20rem; }
}
@media (max-width: 56rem) {
  .split { grid-template-columns: 1fr; }
  .viewer { position: static; height: 75dvh; }
}
@media (max-width: 47rem) {
  .top { position: relative; padding-bottom: .25rem; }
  .brand { padding: .8rem 7.5rem .2rem 0; flex-basis: 100%; }
  .top nav { column-gap: 1.25rem; flex-wrap: nowrap; }
  .top nav a, .top-out { padding: .55rem 0 .5rem; }
  .top form { display: block; position: absolute; top: .45rem; right: var(--gutter); }
  .head .btn { width: 100%; }
  .states {
    flex-wrap: nowrap;
    overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); border-inline: 0; border-radius: 0; scroll-snap-type: x proximity;
  }
  .state { flex: 0 0 6.9rem; scroll-snap-align: start; }
  .sort { justify-content: flex-start; }
  .sort select { flex: 1; min-width: 0; }
  .first-photo { height: 13rem; }
  .first-n { top: 9.4rem; right: 1rem; font-size: 9rem; }
  .first h2, .first-meta { max-width: calc(100% - 5.5rem); }
  .first h2 { font-size: 1.375rem; }
  .first-rent { font-size: 1.875rem; }
  .first .guilloche { width: 16rem; height: 16rem; left: -5rem; bottom: -8rem; }
  .row {
    grid-template-columns: 2.6rem 6rem minmax(0, 1fr);
    grid-template-areas: "n photo main" "n photo rent" "chip chip score";
    gap: .3rem .8rem; padding: .8rem 0;
  }
  .row-n { grid-area: n; align-self: start; font-size: 2.2rem; }
  .row.big .row-n { font-size: 2.6rem; }
  .row-photo { grid-area: photo; height: 4.25rem; align-self: start; }
  .row-main { grid-area: main; }
  .row-title { font-size: 1.0625rem; }
  .row-rent { grid-area: rent; font-size: 1.125rem; }
  .row .chip { grid-area: chip; align-self: center; margin-top: .35rem; }
  .row-score { grid-area: score; flex-direction: row; align-items: baseline; gap: .5rem; }
  .row-score b { font-size: 1.375rem; }
  .inline-form { flex-wrap: wrap; width: 100%; }
  .inline-form select, .inline-form input { flex: 1; }
  .inline-form.apart { margin: 1rem 0 0; }
  body.login { grid-template-columns: 1fr; grid-template-rows: 11rem 1fr; }
  .login-art { grid-column: 1; grid-row: 1; min-height: 0; }
  .login-panel { grid-row: 2; justify-content: flex-start; padding-top: 2rem; }
  .login-panel .brand { margin-bottom: 2rem; }
  .login-panel h1 { font-size: 2.25rem; }
  .login-panel .btn { align-self: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
