.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; overflow-wrap: anywhere; }

html:not(.scripted) [data-script] { display: none !important; }

.room { min-height: calc(100vh - 4rem - 7rem); }

.line { max-width: 36em; font-size: 1.125rem; line-height: 1.4; text-wrap: balance; }
.notice { color: var(--notice); }
.problem { color: var(--problem); }
.keys { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.line + .keys, .facts + .keys, .me + .keys { margin-top: 1.375rem; }
.keys + .line, .facts + .line { margin-top: .875rem; }
.link-notice { margin-bottom: 1.625rem; }
.facts + .link-notice { margin-top: 1.125rem; }
section > .link-notice:last-child { margin-bottom: 0; }
.fact-text { overflow-wrap: anywhere; }
.facts dd.mono { font-size: 1.5rem; line-height: 1.5; }

.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4.5rem; align-items: start; }

.tool .screen-bar > .btn:first-child { justify-self: start; }
.tool .screen-title { text-align: center; overflow-wrap: anywhere; }
.bar-end { grid-column: 3; justify-self: end; }
.bar-fact { justify-self: start; padding-left: .25rem; }
.bar-fact dt { font-size: 1rem; }
.bar-fact dd { font-size: 1.5rem; }
.bar-line { padding: 0 1.25rem .75rem; }

.row-title { display: block; font-size: 1.5rem; line-height: 1.25; overflow-wrap: anywhere; }
.row-says { display: block; color: var(--subtle); font-size: 1.125rem; line-height: 1.45; overflow-wrap: anywhere; }
.row-name { font-size: 1.125rem; line-height: 1.3; margin-bottom: .375rem; }
.none { color: var(--subtle); }
.row .facts { gap: .5rem 2rem; }
.row .line { margin-top: .625rem; }
.facts.small dt { font-size: 1rem; }
.facts.small dd { font-size: 1.25rem; }
.row-title + .facts, .row-says + .facts, .can + .facts { margin-top: .625rem; }

.with-key { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem 1.5rem; align-items: center; }
.row-end { display: flex; align-items: center; gap: 1.5rem; }

.app-line { display: grid; grid-template-columns: minmax(0, 1fr) 5.25rem 3.75rem; gap: 1.5rem; align-items: center; color: #fff; text-decoration: none; }
.app-line:hover { background: var(--control); }
.app-line:focus-visible { outline-offset: -4px; }
.app-count { display: grid; }
.app-count span { font-size: 1rem; line-height: 1.3; }
.app-count b { color: var(--value); font-size: 1.5rem; line-height: 1.2; }

.app-says { color: var(--subtle); font-size: 1.125rem; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-line; }
.app-says + .app-says { margin-top: .25rem; }
.app-says + .facts { margin-top: .75rem; }
.asks li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 1.5rem; align-items: baseline; font-size: 1.125rem; line-height: 1.45; }
.asks li + li { margin-top: .375rem; }
.addresses { font-size: 1.0625rem; line-height: 1.5; }

.key-line { display: grid; grid-template-columns: minmax(0, 1fr) 18.125rem 13.5rem; gap: .75rem 2rem; align-items: center; }
.key-line.gone .mono { color: var(--subtle); text-decoration: line-through; }
.key-do { justify-self: end; }
.key-do .keys { flex-wrap: nowrap; flex-direction: row-reverse; }
.new-key { padding-bottom: 0; }
.new-key .row { background: var(--preview); outline: 2px solid var(--value); outline-offset: -2px; }
.key-text { font-size: 1.25rem; line-height: 1.4; }
.app-end { margin-top: 2.5rem; }

.ask { max-width: 38.75rem; padding: 1.375rem 1.5rem 1.5rem; }
.ask-what { font-size: 1.5rem; line-height: 1.25; margin-bottom: .5rem; }
.ask .keys { margin-top: 1.375rem; justify-content: space-between; }

.app-form { max-width: 55rem; }
.field { display: grid; gap: .5rem; }
.field > label, .field > p:first-child { font-size: 1.125rem; line-height: 1.3; }
.field input[type="text"], .field input[type="url"], .field textarea {
  display: block; width: 100%; min-width: 0; margin: 0; padding: .75rem .875rem;
  background: var(--preview); color: #fff; border: 2px solid var(--control); border-radius: 0;
  font: inherit; line-height: 1.4; -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 4.75rem; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid #fff; outline-offset: 0; }
.field ::placeholder { color: #8C8C8C; opacity: 1; }
.field .line { margin-top: 0; }

.pick { position: relative; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 1rem; align-items: center; cursor: pointer; }
.pick + .pick { margin-top: 0; }
.pick input { position: absolute; left: 0; top: 0; width: 2.75rem; height: 2.75rem; margin: 0; opacity: 0; cursor: pointer; }
.pick-box { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; background: var(--preview); border: 2px solid var(--control-lit); }
.pick-box img { visibility: hidden; }
.pick input:checked + .pick-box { background: var(--blue); border-color: var(--blue); }
.pick input:checked + .pick-box img { visibility: visible; }
.pick input:focus-visible + .pick-box { outline: 3px solid #fff; outline-offset: 3px; }
.pick-text { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 1.5rem; align-items: baseline; font-size: 1.125rem; line-height: 1.45; }

.screen-end { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .75rem 1.5rem; padding: .375rem .625rem .75rem; }
.screen-end .line { margin-right: auto; padding-left: .625rem; }

.me { display: flex; align-items: center; gap: 1.25rem; }
.me-face { display: block; width: 6rem; height: 6rem; background: var(--preview); border: .375rem solid var(--panel); }
.can { color: var(--subtle); font-size: 1.125rem; line-height: 1.45; margin-top: .5rem; }
.can li + li { margin-top: .25rem; }
.can .notice { color: var(--notice); }
#my-data .ask { margin-top: 0; }

.permit { display: flex; flex-direction: column; }
.wall > .permit { max-width: 45rem; }
.permit .screen { padding-bottom: .625rem; }
.permit-who { padding: 1.625rem 1.625rem .375rem; }
.permit-app { font-size: 2.125rem; line-height: 1.2; overflow-wrap: anywhere; }
.permit-by { font-size: 1.125rem; line-height: 1.45; margin-top: .375rem; overflow-wrap: anywhere; }
.permit-asks { padding: 1.125rem 1.625rem 0; margin-bottom: 2px; }
.permit-cannot { padding: .5rem 1.625rem 0; }
.permit-cannot .link-notice { margin: 0; }
.permit-keys { justify-content: space-between; padding: 1.125rem 1rem .625rem; }
.permit-no { padding: 1.875rem 1.625rem 1.5rem; font-size: 1.375rem; line-height: 1.35; }
.permit > .sign { margin-top: auto; }
.permit .stand { flex: 1 0 3.875rem; max-height: 9.375rem; }

@media (max-width: 1100px) {
  .two { gap: 3rem; }
  .key-line { grid-template-columns: minmax(0, 1fr) auto; }
  .key-line .facts { grid-column: 1; grid-row: 2; }
  .key-do { grid-column: 2; grid-row: 1 / span 2; }
}

@media (max-width: 700px) {
  .room { min-height: 0; }
  .two { grid-template-columns: minmax(0, 1fr); gap: 4rem; }

  .tool .screen-bar { grid-template-columns: auto 1fr; }
  .bar-end { grid-column: 2; }
  .bar-fact { padding-left: .375rem; }
  .bar-line { padding: 0 .875rem .625rem; }
  .row-title { font-size: 1.375rem; }
  .facts dd.mono { font-size: 1.1875rem; }

  .with-key { grid-template-columns: minmax(0, 1fr); }
  .with-key > .btn, .with-key > .row-end { justify-self: start; }
  .row-end { flex-wrap: wrap; gap: .75rem 1.5rem; }
  .app-line { grid-template-columns: minmax(0, 1fr) auto auto; gap: 1rem; }
  .asks li, .pick-text { grid-template-columns: minmax(0, 1fr); }
  .key-line { grid-template-columns: minmax(0, 1fr); gap: .625rem; }
  .key-do { grid-column: 1; grid-row: auto; justify-self: start; }
  .key-do .keys { flex-direction: row; }
  .key-text { font-size: 1.0625rem; }
  .ask { padding: 1.125rem 1rem 1.125rem; }
  .ask-what { font-size: 1.375rem; }

  .permit-who { padding: 1.125rem 1rem .25rem; }
  .permit-app { font-size: 1.75rem; }
  .permit-asks { padding: .875rem 1rem 0; }
  .permit-cannot { padding: .5rem 1rem 0; }
  .permit-keys { padding: .875rem .625rem .375rem; }
  .permit-no { padding: 1.375rem 1rem 1.125rem; font-size: 1.25rem; }
  .permit .stand { flex-basis: 2.5rem; }
}
