.exit { margin-left: auto; min-height: 44px; display: grid; align-content: center; font-weight: 600; }
.panel { padding-block: clamp(1.5rem,5vw,4.8rem); }
.panel h1, .panel h2, dialog h2 {
  font-family: var(--display);
  font-weight: 700;
  line-height: .95;
  color: var(--deep);
  letter-spacing: -.015em;
}
.panel h1 { margin: 0; font-size: clamp(3.4rem,7vw,6.2rem); }
.panel h2, dialog h2 { font-size: clamp(2rem,4vw,3rem); }
.signin {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr);
  min-height: min(38rem,77vh);
  border: 1px solid var(--rule);
}
.signin-intro {
  display: grid;
  align-content: end;
  gap: 1.25rem;
  padding: clamp(1.25rem,5vw,5rem);
  background: #edf4fa url('https://cdn.solutions45.com/40e0394e-93ff-480b-b3af-7d1473a8e56b.webp') 56% 4% / min(80%,30rem) auto no-repeat;
  background-blend-mode: multiply;
}
.signin-intro h1 { max-width: 11ch; }
.signin-content { display: grid; align-content: center; gap: 1rem; padding: clamp(1.15rem,4vw,4rem); background: white; }
.signin-content form, .stack { display: grid; gap: .9rem; }
.signin-content nav { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.panel button, dialog button, .panel select, .panel input, dialog select, dialog input, dialog textarea { min-height: 44px; }
.control, .panel button, dialog button { padding: .55rem .85rem; border: 1px solid var(--rule); background: white; color: var(--deep); font-weight: 600; }
.panel button:hover, dialog button:hover { background: #e0eaf5; }
.panel .accent, dialog .accent { background: var(--blue); color: white; border-color: var(--blue); }
.panel .accent:hover, dialog .accent:hover { background: var(--deep); }
.panel button:disabled, dialog button:disabled { opacity: .6; cursor: wait; }
.panel label, dialog label { display: grid; gap: .25rem; font-weight: 600; }
.panel input, .panel select, dialog input, dialog select, dialog textarea {
  width: 100%; border: 1px solid var(--rule); border-radius: 0; padding: .5rem .55rem; background: white; color: var(--ink); font: inherit;
}
.notice { min-height: 1.5rem; color: var(--muted); }
.notice[data-error="true"] { color: #9c203c; }
.workspace-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; padding-bottom: 1rem; }
.workspace-head p { color: var(--muted); }
.workspace-nav { display: flex; flex-wrap: wrap; border-block: 1px solid var(--rule); background: var(--paper); margin-bottom: 1.5rem; }
.workspace-nav button { min-width: 7rem; border: 0; background: transparent; }
.workspace-nav button[aria-current="page"] { background: white; box-shadow: inset 0 -3px var(--blue); }
.toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem; margin-block: 0 1rem; }
.toolbar > div { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; }
.calendar-layout { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(15rem,1fr); gap: 1.5rem; }
.calendar { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); border: 1px solid var(--rule); background: white; }
.weekday { text-align: center; background: #e4edf7; padding: .5rem 0; font-weight: 700; }
.calendar .day, .blank { min-height: clamp(3.2rem,6vw,5rem); border: 0; border-top: 1px solid #ccd8e2; border-right: 1px solid #ccd8e2; padding: .35rem; }
.calendar .day { display: flex; flex-direction: column; align-items: start; gap: .15rem; font-variant-numeric: tabular-nums; }
.day small { color: var(--muted); font-weight: 500; }
.calendar .day[aria-pressed="true"] { background: #e2edff; box-shadow: inset 0 0 0 2px var(--blue); }
.calendar .day[aria-current="date"] strong { text-decoration: underline 2px; text-underline-offset: .15em; }
.day-list, .records, .pending { padding: 1rem; background: white; border: 1px solid var(--rule); }
.day-list h3, .row h3 { margin: 0; font-size: 1.15rem; }
.results { display: grid; gap: .65rem; margin-top: .8rem; }
.row { display: flex; flex-wrap: wrap; gap: .55rem 1rem; justify-content: space-between; align-items: center; padding: .7rem 0; border-top: 1px solid #c5d3e0; overflow-wrap: anywhere; }
.row p { color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.actions select { width: auto; }
dialog { color: var(--ink); border: 1px solid var(--rule); padding: 0; width: min(100% - 1.5rem,40rem); max-height: 92dvh; background: var(--milk); }
dialog::backdrop { background: #102440ba; }
.editor-content { padding: clamp(1rem,4vw,2rem); }
.editor-content header { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.wide { grid-column: 1/-1; }
.profile { max-width: 32rem; }
@media (max-width: 47rem) {
  .signin, .calendar-layout { grid-template-columns: minmax(0,1fr); }
  .signin-intro { min-height: 15rem; background-size: min(65%,15rem) auto; background-position: right center; }
  .signin-intro h1 { max-width: 7ch; text-shadow: 1px 1px white; }
  .workspace-nav button { min-width: auto; }
}
@media (max-width: 30rem) {
  .form-grid { grid-template-columns: 1fr; }
  .calendar .day { padding: .25rem; }
  .calendar .day small { font-size: .68rem; }
}


.rate-input { max-width: 18rem; }
.neighborhood-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(8rem,12rem) auto; gap: .65rem; align-items: end; }
#extra { margin-top: 1rem; display: grid; gap: 1rem; }
#extra:empty { margin-top: 0; }
#extra h3 { margin-bottom: .4rem; }
#extra section + section { padding-top: .8rem; border-top: 1px solid var(--rule); }
.employee-photos { display: grid; grid-template-columns: repeat(auto-fill,minmax(7rem,1fr)); gap: .5rem; }
.employee-photos img { display: block; width: 100%; height: 7rem; object-fit: contain; background: var(--paper); }
@media (max-width: 35rem) {
  .neighborhood-row { grid-template-columns: minmax(0,1fr) auto; }
  .neighborhood-row > label:first-child { grid-column: 1/-1; }
}

.neighborhood-map { border: 1px solid var(--rule); padding: .75rem; background: var(--paper); }
.neighborhood-map summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.neighborhood-map canvas { display: block; width: 100%; max-width: 53.125rem; height: auto; margin-block: .25rem .7rem; background: var(--milk); cursor: crosshair; }
.neighborhood-map label { max-width: 30rem; margin-bottom: .6rem; }
.neighborhood-map small { display: inline-block; margin-top: .5rem; }
.neighborhood-map [role="status"]:empty { display: none; }
.neighborhood-map [role="status"] { margin-bottom: .7rem; }
