@font-face {
  font-family: LegacyIcons;
  src: url("/legacy/fonts/fontawesome-webfont.woff") format("woff");
  font-display: block;
}

:root {
  font-family: "Helvetica Neue",Arial,sans-serif;
  color: #333;
  background: #e6e7e9;
  --nav: #264c75;
  --charcoal: #414042;
  --accent: #a83c30;
  --line: #b8bcc0;
  --phone-bg: #b3c2d1;
  --phone-bar: #1e375e;
  --phone-title: #fff;
  --phone-tabs: #1e375e;
  --phone-tab-ink: #fc6;
  --cell-bg: #fff;
  --cell-ink: #272927;
  --cell-edge: #369;
  --cell-accent: #369;
  --section-ink: #000;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: #2e618e;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,input,textarea,summary {
  font: inherit;
}

button,summary {
  cursor: pointer;
}

button:disabled {
  cursor: default;
  opacity: .55;
}

:focus-visible {
  outline: 3px solid #1976aa;
  outline-offset: 3px;
}

.skip {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 12;
  padding: .7rem;
  background: white;
}

.skip:focus {
  top: 1rem;
}

.masthead {
  min-height: 111px;
  padding: 7px clamp(18px,2.1vw,38px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--charcoal);
  color: #fff;
}

.brand {
  display: flex;
  gap: 18px;
  align-items: center;
  color: inherit;
  text-decoration: none!important;
}

.brand img {
  width: 94px;
  height: 94px;
  object-fit: contain;
  border-radius: 22%;
}

.phone-content-home img {border-radius: 22%}

.brand strong {
  display: block;
  font-size: clamp(37px,4vw,60px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -2.8px;
}

.brand small {
  display: block;
  font-size: clamp(14px,1.35vw,19px);
  margin-top: 7px;
  letter-spacing: -.45px;
}

.workspace-label {
  font-size: 14px;
  color: #e4e4e4;
}

.site-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  min-height: 50px;
  background: var(--nav);
  padding: 0 clamp(15px,2vw,35px);
  color: #fff;
}

.site-nav>a,.site-nav summary {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  min-height: 50px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
}

.site-nav a[aria-current="page"],.site-nav summary[aria-current="page"],.site-nav [data-route-pending],.site-nav>a:hover,.site-nav summary:hover {
  background: #193c60;
}

.site-nav details {
  position: relative;
}

.site-nav summary {
  list-style: none;
}

.site-nav summary::-webkit-details-marker {
  display: none;
}

#edit-links {
  position: absolute;
  min-width: 178px;
  width: max-content;
  max-width: min(22rem, calc(100vw - 7rem));
  max-height: min(65vh, 32rem);
  overflow-y: auto;
  top: 100%;
  padding: 5px 0;
  border: 1px solid var(--line);
  background: white;
  border-radius: 0 0 3px 3px;
  box-shadow: 0 4px 12px #0002;
}

.edit-group-heading {
  display: block;
  color: #526575;
  font-size: .78rem;
  font-weight: 600;
  padding: 6px 15px 2px;
}
#edit-links [role="group"] + [role="group"] {
  border-top: 1px solid #d6d9db;
  margin-top: 4px;
  padding-top: 3px;
}
#edit-links a {
  display: block;
  color: #333;
  padding: 9px 15px;
  overflow-wrap: anywhere;
}

#edit-links a:hover {
  background: #edf2f5;
}

main {
  flex: 1;
  padding: 38px 0 46px;
}

.workspace {
  display: grid;
  grid-template-columns: 33.333% 58.333%;
  align-items: start;
  max-width: 1780px;
  margin: 0 auto;
  padding: 0 16px;
}

#editor {
  min-width: 0;
  padding: 0 12px;
}

#preview {
  position: sticky;
  top: 20px;
  min-width: 0;
}

.workspace.home {
  display: flex;
  justify-content: center;
  text-align: center;
}

.workspace.home #preview {
  position: static;
}

.workspace.home #editor {
  display: none;
}

.phone {
  width: 280px;
  height: 546px;
  margin: 0 auto;
  position: relative;
}

.phone-shell {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.screen {
  position: absolute;
  top: 60px;
  left: 20px;
  width: 240px;
  height: 426px;
  background: var(--phone-bg);
  display: grid;
  grid-template-rows: 48px auto minmax(0,1fr) 48px;
  overflow: hidden;
  border-radius: 16px;
}

.phone-title {
  background: var(--phone-bar);
  color: var(--phone-title);
  font-size: 22px;
  font-weight: 500;
  text-align: center;
  padding: 0 9px;
  line-height: 48px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.phone-scroll {
  grid-row: 3;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--cell-edge) transparent;
}

.phone-content-home {
  padding: 10px 12px;
  text-align: center;
  color: var(--section-ink);
}

.phone-content-home h1 {
  font-size: 40px;
  line-height: 1.12;
  margin: 14px 0 23px;
}

.phone-content-home img {
  object-fit: contain;
}

.phone-tabs {
  grid-row: 4;
  display: flex;
  align-items: stretch;
  background: var(--phone-tabs);
  color: var(--phone-tab-ink);
}

.phone-tabs a {
  position: relative;
  z-index: 2;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: inherit;
  text-decoration: none;
  font-size: 8px;
  overflow: hidden;
}

.phone-tabs a:hover,.phone-tabs a[aria-current="page"] {
  background: #ffffff17;
}

.icon {
  font-family: LegacyIcons!important;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  display: inline-block;
}

.phone-tabs .icon {
  font-size: 18px;
}

.phone-section {
  padding: 6px 10px 2px;
  min-height: 11px;
  color: var(--section-ink);
  font-size: 14px;
  font-weight: 500;
}

.phone-row {
  border: 0;
  border-bottom: 1px solid var(--cell-edge);
  border-radius: 0;
  background: var(--cell-bg);
  color: var(--cell-ink);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 5px;
  width: 100%;
  padding: 8px 9px;
  min-height: 34px;
  text-align: left;
  font: 13px/1.25 Arial,sans-serif;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

a.phone-row:hover,button.phone-row:hover {
  background: #f0f5f9;
}

.phone-value {
  flex: none;
  text-align: right;
  max-width: 48%;
  color: var(--cell-accent);
  white-space: pre-line;
}

.phone-search {
  border: 0;
  border-radius: 5px;
  width: calc(100% - 16px);
  margin: 6px 8px;
  padding: 4px 8px;
  font-size: 12px;
}

.phone-scroll .empty {
  font-size: 13px;
  margin: 10px;
}

.phone-pages {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 4px;
}

.phone-pages button {
  padding: 4px 8px;
  font-size: 12px;
}

.home-caption {
  text-align: center;
  margin: 16px auto 0;
  color: #525b62;
  max-width: 270px;
  font-size: 14px;
  line-height: 1.4;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 18px;
  padding: 9px 14px;
  border-radius: 4px;
  background: #f5f5f5;
  color: #61666b;
  font-size: 14px;
}

.crumb-sep {
  color: #737b82;
}

h1 {
  font-size: clamp(28px,2.5vw,38px);
  font-weight: 450;
  line-height: 1.17;
  letter-spacing: -.8px;
  margin: 0 0 14px;
}

h2 {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 500;
}

.filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0;
}

.filter-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(100%,440px);
  color: #54616a;
  position: relative;
}

.filter-wrap .icon {
  position: absolute;
  left: 10px;
  pointer-events: none;
}

.filter-wrap input {
  width: 100%;
  background: #fff;
  border: 1px solid #a4aaaf;
  border-radius: 4px;
  padding: 7px 10px 7px 33px;
  font-size: 15px;
  min-height: 35px;
}

.range {
  font-size: 13px;
  color: #50585e;
}

.sections {
  display: grid;
  gap: 9px;
}

.group {
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--charcoal);
  overflow: hidden;
}

.group>summary,.panel-title {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 9px 14px;
  background: var(--charcoal);
  color: #fff;
  font-weight: 500;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.group>summary::-webkit-details-marker {
  display: none;
}

.group>summary::before {
  font-family: LegacyIcons;
  content: "\f152";
  font-size: 17px;
}

.group[open]>summary::before {
  content: "\f150";
}

.row-list {
  padding: 8px 14px;
}

.edit-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0;
  min-width: 0;
}

.reported-row {
  outline: 2px solid #335c77;
  outline-offset: 2px;
}

.row-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #72787e;
  background: #fff;
  color: #333;
  padding: 8px 12px;
  width: 100%;
  min-height: 36px;
  white-space: pre-line;
  overflow-wrap: anywhere;
  font: 14px/1.35 Arial,sans-serif;
  text-align: left;
}

.row-content a,.row-content .value {
  max-width: 48%;
  text-align: right;
  white-space: pre-line;
}

.row-content .value {
  flex: none;
}

.edit-pencil {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 40px;
  height: 34px;
  padding: 0 11px;
  background: linear-gradient(#edb76d,#c77e29);
  border: 1px solid #ad6b25;
  border-radius: 4px;
  color: #fff;
}

.edit-pencil:hover {
  background: #b86f23;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 8px 13px;
  min-height: 35px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}

.button.primary {
  background: var(--accent);
  color: #fff;
  border-color: #873027;
}

.button.primary:hover {
  background: #8f3127;
  text-decoration: none;
}

.button.quiet,.phone-pages button {
  background: #fff;
  border: 1px solid #a6acb1;
  color: #34434f;
  border-radius: 4px;
}

.button.quiet:hover,.phone-pages button:hover {
  background: #edf1f4;
}

.pager,.action-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.pager {
  justify-content: flex-end;
  margin: 12px 0;
}

.panel {
  border: 1px solid var(--charcoal);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  margin: 15px 0;
}

.panel-title {
  margin: 0;
  font-size: 17px;
}

.panel-body {
  padding: 14px 16px;
}

.panel-body>:first-child {
  margin-top: 0;
}

.panel-body>:last-child {
  margin-bottom: 0;
}

.panel-body p,.context {
  line-height: 1.5;
}

.context,.meta {
  color: #4e5962;
}

table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 14px;
}

th,td {
  padding: 9px 8px;
  vertical-align: top;
  border-bottom: 1px solid #d7dbde;
  overflow-wrap: anywhere;
}

th {
  color: #46515b;
  font-weight: 600;
}

tbody tr:last-child td {
  border-bottom: 0;
}

td small {
  display: block;
  color: #58626a;
  margin-top: 4px;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.compare output {
  display: block;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.change {
  border-bottom: 1px solid #d7dbde;
  padding: 12px 0;
}

.change:first-child {
  padding-top: 0;
}

.change:last-child {
  border: 0;
  padding-bottom: 0;
}

.change strong {
  display: block;
  margin-bottom: 3px;
}

.change p {
  margin: 0 0 8px;
  font-size: 13px;
  color: #56616a;
}

.change h3 {
  font-size: 12px;
  color: #505961;
  margin: 0 0 4px;
}

.change-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  margin-top: 9px;
}

.empty,.context {
  margin: 12px 0;
  color: #505961;
}

#notice:not(:empty),#problem:not(:empty) {
  border-left: 4px solid #427358;
  background: #f1f8f1;
  color: #2c5438;
  max-width: 900px;
  margin: 0 auto 15px;
  padding: 11px 15px;
}

#problem:not(:empty),.error:not(:empty) {
  color: #7d2c27;
  background: #fff1ed;
  border-color: #a94438;
}

#problem button {
  margin-left: 12px;
}

#notice:empty,#problem:empty,.error:empty {
  display: none;
}

/* In the editor a save is confirmed where the eye is, not above the fold of a long page. */
#notice:not(:empty):has(~ #workspace) {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: max-content;
  max-width: min(92vw, 560px);
  margin: 0;
  border-radius: 4px;
  box-shadow: 0 6px 20px #1c252b40;
}

footer {
  background: var(--charcoal);
  color: #ececec;
  text-align: center;
  padding: 22px;
  font-size: 14px;
}

dialog {
  border: 1px solid #62676b;
  border-radius: 6px;
  width: min(510px,calc(100% - 28px));
  padding: 0;
  background: #fff;
  color: #333;
  max-height: 92vh;
}

dialog::backdrop {
  background: #17212a80;
}

.dialog-heading,.dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid #d1d6d9;
}

.dialog-heading h2 {
  margin: 0;
}

.dialog-actions {
  justify-content: flex-end;
  gap: 8px;
  border: 0;
  border-top: 1px solid #d1d6d9;
}

.close-button {
  border: 0;
  background: none;
  font-size: 28px;
  line-height: 1;
  color: #555;
}

.dialog-body {
  padding: 14px 20px;
}

.dialog-body label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin: 9px 0 5px;
}

.dialog-body input,.dialog-body textarea {
  width: 100%;
  background: white;
  border: 1px solid #a9afb4;
  color: #333;
  border-radius: 4px;
  padding: 8px 10px;
}

.error:not(:empty) {
  padding: 8px;
  border-left: 3px solid;
}

.mobile-switch {
  display: none;
}

@media (max-width:920px) {
  .workspace {
    grid-template-columns: 310px minmax(0,1fr);
    padding: 0 12px;
  }
  .phone {
    margin-left: auto;
    margin-right: auto;
  }
  #editor {
    padding: 0 4px;
  }
  .masthead {
    min-height: 94px;
  }
  .brand img {
    width: 78px;
    height: 78px;
  }
  .workspace-label {
    font-size: 12px;
  }
}

@media (max-width:700px) {
  .masthead {
    min-height: 72px;
    padding: 7px 14px;
  }
  .brand {
    gap: 9px;
  }
  .brand img {
    width: 55px;
    height: 55px;
  }
  .brand strong {
    font-size: 30px;
    letter-spacing: -1.4px;
  }
  .brand small {
    font-size: 11px;
    margin-top: 3px;
    letter-spacing: 0;
  }
  .workspace-label {
    font-size: 11px;
    max-width: 60px;
    text-align: right;
  }
  .site-nav,.site-nav>a,.site-nav summary {
    min-height: 41px;
  }
  .site-nav {
    padding: 0 6px;
    flex-wrap: wrap;
  }
  .site-nav>a,.site-nav summary {
    padding: 0 12px;
  }
  main {
    padding: 16px 0 28px;
  }
  .workspace {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .workspace.home {
    align-items: center;
  }
  .workspace:not(.home) #preview {
    display: none;
  }
  .workspace:not(.home).show-preview #preview {
    display: block;
  }
  .workspace.show-preview #editor {
    display: none;
  }
  #preview {
    position: static;
  }
  .mobile-switch {
    display: flex;
    align-self: center;
    border: 1px solid #a9afb4;
    border-radius: 4px;
    padding: 2px;
    gap: 2px;
    background: #fff;
  }
  .mobile-switch button {
    border: 0;
    border-radius: 2px;
    background: white;
    padding: 7px 13px;
    color: var(--nav);
  }
  .mobile-switch button[aria-pressed=true] {
    background: var(--nav);
    color: white;
  }
  .workspace.home .mobile-switch {
    display: none;
  }
  .row-list {
    padding: 4px 8px;
  }
  .edit-row {
    gap: 6px;
  }
  .breadcrumbs {
    margin-bottom: 12px;
  }
  .panel-body {
    padding: 12px;
  }
  .phone-caption {
    margin: 8px;
  }
}

.workspace-label {
  display: grid;
  justify-items: end;
  gap: 3px;
}
.workspace-label a {
  color: #fff;
  font-weight: 600;
  padding: 4px 0 4px 8px;
}
footer a {
  color: #fff;
  text-decoration: underline;
}
.site-footer {
  display: flex;
  gap: .5rem 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
}
@media (max-width:480px) {
  .site-footer {gap:.2rem .85rem;padding:.8rem .7rem}
  .site-footer>span {flex-basis:100%}
  .site-footer a {display:inline-flex;align-items:center;min-height:36px}
  .masthead:has(#app-switcher) {display:grid;grid-template-columns:minmax(0,1fr);gap:.3rem;padding:.65rem .9rem .35rem}
  .masthead:has(#app-switcher) .brand {min-width:0}
  .masthead:has(#app-switcher) .workspace-label {display:flex;justify-content:space-between;align-items:center;
    gap:.6rem;max-width:none;text-align:left;line-height:1.3}
  .masthead:has(#app-switcher) .workspace-label a {max-width:78%;text-align:right;overflow-wrap:anywhere}
}
.phone-tabs .fa { font-size: 18px; }
.phone-image { display: block; max-width: 100%; max-height: 230px; object-fit: contain; }
.page-heading { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 12px; }
.page-heading h1 { margin: 0; }
.section-name { flex: 1; }
.section-pencil { min-width: 34px; height: 28px; padding: 0 9px; margin: -4px 0; }
.add-row { margin: 5px 0; }
.section-name,.page-heading h1,.app-choice strong { overflow-wrap: anywhere; }
.workspace.apps-view { display:block;max-width:58rem;padding-inline:clamp(1rem,4vw,2.5rem) }
.workspace.apps-view #preview,.workspace.apps-view .mobile-switch { display: none; }
.workspace.apps-view #editor {display:block;padding:0}
.apps-heading {justify-content:space-between;margin:clamp(.3rem,2vh,1.2rem) 0 1.4rem}
.apps-heading h1 {letter-spacing:-.045em;font-size:clamp(1.8rem,3vw,2.5rem)}
.apps-heading button {min-height:44px}
.apps-list {list-style:none;padding:0;margin:0;background:white;border:1px solid #c4cdd2;border-radius:8px}
.app-choice {display:flex;align-items:center;gap:.85rem;min-width:0;padding:.95rem .75rem;color:#244767}
.app-choice .fa {flex:none;display:grid;place-items:center;width:2.4rem;height:2.4rem;background:#eff4f7;border-radius:7px;font-size:1.15rem}
.app-description {min-width:0}
.app-description strong,.app-description small {display:block}
.app-description strong {font-size:1.06rem;line-height:1.3}
.app-description small {font-size:.81rem;line-height:1.4;color:#54616a;margin-top:.2rem}
.app-choice:hover {text-decoration:none}
a.app-choice:hover strong {text-decoration:underline}
.app-actions {position:relative}
.app-actions summary {display:grid;place-items:center;list-style:none;min-width:44px;min-height:44px;
  color:#425968;font-size:.78rem;letter-spacing:.1em;border-radius:5px}
.app-actions summary::-webkit-details-marker {display:none}
.app-actions summary:hover,.app-actions[open] summary {background:#edf2f5}
.app-actions .button {position:absolute;top:100%;right:0;z-index:2;min-height:44px;white-space:nowrap}
.author-dialog .dialog-body select {
  width: 100%;
  background: white;
  color: #333;
  border: 1px solid #a9afb4;
  border-radius: 4px;
  padding: 8px;
  font: inherit;
}
.dialog-body .check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 6px;
}
.dialog-body .check-label input { width: auto; }
.dialog-body :disabled { opacity: .7; }
.dialog-extra:not(:empty) {
  border-top: 1px solid #e0e3e5;
  display: flex;
  align-items: center;
  gap: 6px 15px;
  flex-wrap: wrap;
  padding: 9px 20px;
}
.text-action { color: #2e618e; border: 0; background: transparent; padding: 4px 0; }
.text-action:hover { text-decoration: underline; }
.text-action.danger { color: #933528; }
.field-hint { color: #58626a; font-size: .875rem; line-height: 1.4; margin: 7px 0 10px; }
.author-dialog .error:not(:empty) { margin: 6px 20px 10px; }
.danger-button { background: #9b352e; }
@media (max-width:700px) {
  .workspace-label { max-width: 38%; }
  .workspace-label a { overflow-wrap: anywhere; }
  .site-nav>a,.site-nav summary { padding-inline: 10px; }
}
.roster-link { display: flex; width: fit-content; align-items: center; gap: 11px; margin-top: 15px; color: #37434d; font-size: 19px; }
.roster-link .fa { padding: 8px; border-radius: 4px; font-size: 16px; background: var(--accent); color: white; }

.site-nav[hidden] { display: none; }
#feedback-count { display:inline-block; margin-left:.2em; padding:0 .4em; border-radius:1em; background:#fff; color:#193a56; font-size:.8em; font-weight:700; line-height:1.35; }
.app-entry {display:flex;align-items:center;gap:.5rem;padding:.3rem .7rem .3rem .25rem;border-bottom:1px solid #dadfe2}
.app-entry:last-child { border:0; }
.app-entry .app-choice { flex:1; border:0; }
@media (max-width:560px) {
  .apps-heading {margin-bottom:1rem}
  .app-entry {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 .3rem;padding:.65rem .7rem}
  .app-entry .app-choice {padding:.25rem 0;min-height:48px}
  .app-entry .app-actions {grid-column:2;grid-row:1}
}
.archived-apps { margin-top:1.5rem; }
.archived-apps summary { cursor:pointer; padding:.5rem 0; }
.sheet-downloads a { margin-left:.5rem; }
.sheet-review { max-height:35vh; overflow:auto; }
.sheet-review li { padding-block:.3rem; overflow-wrap:anywhere; }
.sheet-review small { display:block; }
.author-dialog .error { white-space:pre-line; }
.site-nav [hidden],.maintenance [hidden] { display:none !important; }

/* A footer belongs after the loaded results, including a genuine empty result. */
main[data-pending-content] ~ .site-footer,
main:has(.workspace[aria-busy="true"]:not([data-rendered])) ~ .site-footer {visibility:hidden}
.workspace[aria-busy="true"] {cursor:progress}
#problem:not(:empty) ~ .workspace:not([data-rendered]) .mobile-switch {display:none}
.threads:empty {border-color:transparent}

/* The editor handset displays the same staff Home at its preview scale. */
.screen.handset-home {
  grid-template-rows:minmax(0,1fr) 48px;
  --home-inset:11px; --home-hero-height:70px; --home-art-height:124px;
  --home-title-size:22px; --home-eyebrow-size:12px;
  --row:var(--cell-bg); --ink:var(--cell-ink); --accent:var(--cell-accent);
  --nav:var(--phone-bar); --nav-ink:var(--phone-title);
}
.handset-home>.phone-scroll {
  grid-row:1; background:color-mix(in srgb,var(--row) 94%,var(--accent)); color:var(--ink); font-size:12px; text-align:left;
}
.handset-home>.phone-tabs {grid-row:2}
.handset-home .home-masthead {font-size:12px}
.handset-home .home-masthead:focus:not(:focus-visible) {outline:0}
.staff-layout-preview .phone-tabs a {color:var(--phone-title); font-weight:600}
.staff-layout-preview .phone-tabs a[aria-current="page"] {color:var(--phone-tab-ink); background:transparent}
.staff-layout-preview .phone-tabs a[aria-current="page"]::before {
  content:""; position:absolute; top:1px; width:18px; height:2px; border-radius:2px; background:currentColor;
}
.handset-toolbar {
  display:flex; align-items:center; gap:3px; min-height:39px; padding:2px 7px 2px 2px;
  color:var(--phone-title); background:var(--phone-bar);
}
.handset-toolbar h2 {margin:0; font-size:15px; line-height:1.15; color:inherit}
.handset-back {flex-shrink:0; width:32px; height:32px; border:0; background:transparent; color:inherit}
.handset-search {width:calc(100% - 16px); margin:7px 8px; padding:6px; border:1px solid #9cafbc; border-radius:4px; font:inherit}
.handset-results .home-link-label strong,.handset-results .home-link-label small {white-space:pre-line}
.handset-result-number {display:block; margin-top:2px; color:var(--cell-accent); font-variant-numeric:tabular-nums}
.handset-more {display:block; margin:8px auto; padding:5px 12px; color:var(--cell-accent); background:var(--cell-bg); border:1px solid #a8b9c3; border-radius:4px}
/* The original mock handset has a much shorter display than the staff app. */
.phone.staff-layout-preview {height:600px}
.staff-layout-preview .screen {top:10.99%; height:78.02%}

.screen.handset-directory {
  --row:var(--cell-bg); --ink:var(--cell-ink); --accent:var(--cell-accent); --edge:var(--cell-edge);
  --list-inset:10px; --list-title-size:17px; --list-row-height:35px;
  grid-template-rows:auto auto minmax(0,1fr) 48px;
  font:12px/1.35 system-ui,sans-serif;
}
.screen.handset-directory .phone-title {
  min-height:44px; padding:7px var(--list-inset); color:var(--phone-title); background:var(--phone-bar);
}
.screen.handset-directory .phone-title .handset-heading-icon {
  color:inherit; background:color-mix(in srgb,currentColor 15%,transparent);
}
.handset-parent {
  display:grid; place-items:center; flex:none; align-self:stretch; width:26px;
  color:inherit; text-decoration:none; font-size:20px;
}
.screen.handset-directory .phone-scroll {background:var(--list-canvas)}
.screen.handset-directory .with-index .handset-list {padding-right:18px}
.handset-index {
  grid-area:3 / 1; justify-self:end; align-self:center; z-index:1; max-height:100%; overflow:auto;
  display:flex; flex-direction:column; scrollbar-width:none;
  background:var(--list-canvas); border-radius:5px 0 0 5px;
}
.handset-index a {
  display:grid; place-items:center; min-width:15px; min-height:12px;
  font:600 9px/1 system-ui,sans-serif; color:var(--list-symbol); text-decoration:none;
}
.screen.handset-directory .phone-scroll {grid-column:1}
.phone-tabs a>span {
  max-width:100%; font:500 8px/1.2 Arial,sans-serif; overflow:hidden; text-overflow:ellipsis;
  white-space:nowrap; text-align:center;
}
.editor-row-heading,.editor-row-subtitle {display:block}
.editor-row-heading {margin-bottom:.3em}
.editor-row-subtitle {margin-top:.25em;color:#4f6170}
