#firm-panel[hidden],
body.firm-locked #app,
body.firm-portal #app,
body.firm-locked #delegation-panel,
body.firm-locked #print-area,
body.firm-locked #toast { display: none !important; }

.firm-screen { max-width: 52rem; margin: auto; padding: 1.5rem 1rem 3rem; overflow-wrap: anywhere; }
.firm-login { max-width: 28rem; margin: min(9vh, 5rem) auto 0; }
.firm-screen .top { flex-wrap: wrap; }
.firm-screen .brand { min-width: 9rem; }
.firm-screen .field input, .firm-screen .field select { width: 100%; min-width: 0; }
.firm-screen .field select { display: block; margin-top: 6px; padding: 11px; border: 1px solid #bdcecb; border-radius: 10px; background: white; font: inherit; }
.firm-heading { margin-bottom: .3rem; }
.firm-actions, .firm-metrics, .firm-fields { display: flex; flex-wrap: wrap; gap: .75rem; }
.firm-actions { align-items: center; margin: 1rem 0; }
.firm-fields .field { flex: 1 1 10rem; }
.firm-metrics { margin: 1rem 0; }
.firm-metrics div { flex: 1 1 9rem; border-left: 3px solid #29837b; padding: .25rem .65rem; }
.firm-metrics dt, .firm-secondary { color: #45676c; }
.firm-metrics dd { margin: .2rem 0 0; font-size: 1.1rem; font-weight: 700; }
.firm-list { list-style: none; padding: 0; margin: 0; }
.firm-list li { padding: .8rem 0; border-bottom: 1px solid #dce6e4; }
.firm-list li:last-child { border: none; }
.firm-job { padding: .25rem 0; text-align: left; border: none; background: none; color: #116761; text-decoration: underline; font: inherit; font-weight: 750; }
.firm-message:not(:empty) { padding: .75rem; border-radius: .5rem; background: #eef5f3; margin-bottom: 1rem; }
.firm-message[role="alert"]:not(:empty) { background: #ffeded; color: #742e35; }
.firm-answers li { margin-bottom: .8rem; }
.firm-answer-note { white-space: pre-wrap; margin: .25rem 0; }
@media (max-width: 430px) {
  .firm-screen { padding: 1rem .8rem 2rem; }
  .firm-metrics div { flex-basis: 7.5rem; }
}
