:root {
  color-scheme: light;
  font-family:
    Inter,
    "Noto Sans JP",
    "Yu Gothic UI",
    system-ui,
    -apple-system,
    sans-serif;
  color: #27302d;
  background: #eeece7;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #27302d;
  --muted: #6e7672;
  --line: #d7d5ce;
  --paper: #fbfaf7;
  --canvas: #f3f1ec;
  --coral: #e66e54;
  --blue: #5688ca;
  --green: #55a071;
  --violet: #8b72bd;
  --amber: #d69a36;
  --slate: #72808b;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(rgb(39 48 45 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(39 48 45 / 3%) 1px, transparent 1px), var(--canvas);
  background-size: 24px 24px;
}

a {
  color: inherit;
}

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

button,
label[for],
input[type="file"] {
  cursor: pointer;
}

button,
input,
select {
  border-radius: 0.5rem;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgb(86 136 202 / 35%);
  outline-offset: 2px;
}

.skip-link {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: white;
  background: var(--ink);
  transform: translateY(-110%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
footer,
main {
  width: min(92rem, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header,
footer,
.site-header nav,
.brand,
.panel-header,
.calendar-heading,
.year-progress header,
.day-shifts header,
.target-box header {
  display: flex;
  align-items: center;
}

.site-header {
  min-height: 3.5rem;
  justify-content: space-between;
  border-bottom: 1px solid rgb(39 48 45 / 12%);
}

.brand {
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.brand-mark {
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--ink);
  border-radius: 0.3rem;
}

.brand-mark i {
  display: block;
  border-radius: 1px;
  background: var(--coral);
}

.brand-mark i:nth-child(2) {
  background: var(--blue);
}

.brand-mark i:nth-child(3) {
  grid-column: 1 / -1;
  background: var(--green);
}

.site-header nav,
footer nav {
  gap: 1rem;
  font-size: 0.77rem;
}

.site-header nav a,
footer a {
  color: #59615e;
  text-decoration: none;
}

.site-header nav a:hover,
footer a:hover {
  color: var(--ink);
  text-decoration: underline;
}

main {
  padding-block: 1.05rem 2.4rem;
}

.workspace-intro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 0.8rem;
}

.workspace-intro h1,
.workspace-intro p,
.panel-header h2,
.calendar-heading h2,
.year-progress h3,
.day-shifts h3,
.target-box h3 {
  margin: 0;
}

.workspace-intro h1 {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.workspace-intro p {
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.app-symbol {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.23rem;
  padding: 0.35rem;
  border: 1px solid #cbc8bf;
  border-radius: 0.65rem;
  background: var(--paper);
  box-shadow: 0 4px 14px rgb(39 48 45 / 8%);
}

.app-symbol i {
  border-radius: 0.2rem;
  background: var(--coral);
}

.app-symbol i:nth-child(2) {
  background: var(--blue);
}

.app-symbol i:nth-child(3) {
  background: var(--green);
}

.app-symbol i:nth-child(4) {
  background: var(--amber);
}

.local-badge {
  padding: 0.38rem 0.62rem;
  border: 1px solid #cfd8d1;
  border-radius: 999px;
  color: #4c6654;
  background: #edf5ef;
  font-size: 0.68rem;
  font-weight: 750;
  white-space: nowrap;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(7rem, 1fr)) minmax(9rem, 1.2fr);
  overflow: hidden;
  margin-bottom: 0.8rem;
  border: 1px solid #cfcdc6;
  border-radius: 0.75rem;
  background: var(--paper);
  box-shadow: 0 5px 18px rgb(39 48 45 / 5%);
}

.summary-strip > div {
  min-width: 0;
  padding: 0.65rem 0.8rem;
  border-right: 1px solid #e3e1db;
}

.summary-strip > div:last-child {
  border-right: 0;
}

.summary-strip span,
.panel-header span,
.calendar-heading span,
.year-progress header span,
.day-shifts header span {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--muted);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.summary-strip strong {
  display: block;
  overflow: hidden;
  font-size: clamp(0.9rem, 1.7vw, 1.12rem);
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.goal-summary i {
  display: block;
  height: 3px;
  margin-top: 0.35rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e2db;
}

.goal-summary b {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transition: width 180ms ease;
}

.shift-workbench {
  display: grid;
  grid-template-columns: minmax(14rem, 16rem) minmax(31rem, 1fr) minmax(17rem, 20rem);
  gap: 0.8rem;
  align-items: start;
}

.workplace-panel,
.calendar-panel,
.entry-panel {
  min-width: 0;
  border: 1px solid #cfcdc6;
  border-radius: 0.8rem;
  background: var(--paper);
  box-shadow: 0 6px 22px rgb(39 48 45 / 6%);
}

.workplace-panel,
.entry-panel {
  padding: 0.8rem;
}

.calendar-panel {
  overflow: hidden;
}

.panel-header {
  min-height: 2rem;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.panel-header h2,
.calendar-heading h2 {
  font-size: 0.96rem;
}

.panel-header output,
.panel-header button,
.calendar-heading button {
  padding: 0.28rem 0.48rem;
  border: 1px solid #d7d4cd;
  color: #59615e;
  background: #f6f4ef;
  font-size: 0.67rem;
  font-weight: 700;
}

.sample-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
  padding: 0.42rem 0.5rem;
  border: 1px solid #ead5aa;
  border-radius: 0.5rem;
  color: #775a20;
  background: #fff8e8;
  font-size: 0.67rem;
}

.sample-note button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font-size: inherit;
  font-weight: 800;
  text-decoration: underline;
}

.workplace-list {
  display: grid;
  gap: 0.38rem;
}

.workplace-card {
  display: grid;
  grid-template-columns: 0.45rem minmax(0, 1fr) auto;
  gap: 0.48rem;
  align-items: center;
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #dedbd4;
  color: inherit;
  text-align: left;
  background: #fff;
}

.workplace-card:hover,
.workplace-card.active {
  border-color: #9fa7a3;
  background: #f7f6f2;
}

.workplace-card > i,
.day-shift > i,
.calendar-legend i {
  display: block;
  width: 100%;
  min-width: 0.38rem;
  height: 1.55rem;
  border-radius: 999px;
}

.workplace-card strong,
.workplace-card small {
  display: block;
}

.workplace-card strong {
  overflow: hidden;
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workplace-card small {
  margin-top: 0.08rem;
  color: var(--muted);
  font-size: 0.62rem;
}

.workplace-card output {
  font-size: 0.68rem;
  font-weight: 750;
}

.dashed-button {
  width: 100%;
  margin-top: 0.42rem;
  padding: 0.45rem;
  border: 1px dashed #b9b7b0;
  color: #646b68;
  background: transparent;
  font-size: 0.69rem;
}

.dashed-button:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.workplace-form,
#shift-form {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e3e1db;
}

.field {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
  color: #5f6763;
  font-size: 0.65rem;
  font-weight: 700;
}

.field input,
.field select,
.input-unit {
  width: 100%;
  min-width: 0;
}

.field input,
.field select {
  min-height: 2rem;
  padding: 0.36rem 0.46rem;
  border: 1px solid #cfcdc6;
  color: var(--ink);
  background: white;
  font-size: 0.76rem;
  font-weight: 600;
}

.field input::placeholder {
  color: #9b9e9c;
  font-weight: 500;
}

.two-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.input-unit {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid #cfcdc6;
  border-radius: 0.5rem;
  background: white;
}

.input-unit i {
  padding-left: 0.45rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-style: normal;
}

.input-unit input {
  border: 0;
}

.suffix-unit i {
  padding: 0 0.45rem 0 0;
}

.color-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  color: #5f6763;
  font-size: 0.65rem;
  font-weight: 700;
}

.color-field legend {
  margin-bottom: 0.3rem;
}

#workplace-colors {
  display: flex;
  gap: 0.25rem;
}

#workplace-colors label {
  display: block;
  position: relative;
}

#workplace-colors input {
  position: absolute;
  opacity: 0;
}

#workplace-colors i {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #c8c5bd;
}

#workplace-colors input:checked + i {
  box-shadow:
    0 0 0 2px white,
    0 0 0 4px var(--ink);
}

.color-coral,
.tone-coral {
  background: var(--coral) !important;
}

.color-blue,
.tone-blue {
  background: var(--blue) !important;
}

.color-green,
.tone-green {
  background: var(--green) !important;
}

.color-violet,
.tone-violet {
  background: var(--violet) !important;
}

.color-amber,
.tone-amber {
  background: var(--amber) !important;
}

.color-slate,
.tone-slate {
  background: var(--slate) !important;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.4rem;
}

.primary-small,
.secondary-button,
.add-shift-button {
  min-height: 2rem;
  padding: 0.4rem 0.62rem;
  border: 1px solid var(--ink);
  font-size: 0.69rem;
  font-weight: 800;
}

.primary-small,
.add-shift-button {
  color: white;
  background: var(--ink);
}

.secondary-button {
  color: var(--ink);
  background: transparent;
}

.danger-button {
  margin-right: auto;
  border-color: #d9b5ad;
  color: #a74938;
}

.target-box,
.year-progress,
.day-shifts,
.data-actions {
  margin-top: 0.8rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e3e1db;
}

.target-box header {
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.target-box h3,
.year-progress h3,
.day-shifts h3,
.data-actions h3 {
  font-size: 0.78rem;
}

.target-box header span {
  color: var(--muted);
  font-size: 0.58rem;
}

.target-box .field + .field {
  margin-top: 0.4rem;
}

.target-box p,
.estimate-note,
.year-progress p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.59rem;
  line-height: 1.55;
}

.calendar-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 0.5rem;
  min-height: 3.6rem;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid #e0ded7;
}

.calendar-heading > button:first-child,
.calendar-heading > button:last-child {
  width: 1.8rem;
  height: 1.8rem;
  padding: 0;
  font-size: 1.05rem;
}

.calendar-heading .today-button {
  padding-inline: 0.55rem;
}

.weekday-row,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.weekday-row {
  border-bottom: 1px solid #e6e3dd;
  background: #f7f5f0;
}

.weekday-row span {
  padding: 0.32rem;
  color: var(--muted);
  font-size: 0.59rem;
  font-weight: 800;
  text-align: center;
}

.weekday-row span:first-child {
  color: #b54c3c;
}

.weekday-row span:last-child {
  color: #4776b3;
}

.calendar-grid {
  border-left: 1px solid #e5e2dc;
}

.calendar-day {
  position: relative;
  min-width: 0;
  min-height: 5.25rem;
  padding: 0.34rem;
  overflow: hidden;
  border: 0;
  border-right: 1px solid #e5e2dc;
  border-bottom: 1px solid #e5e2dc;
  border-radius: 0;
  color: inherit;
  text-align: left;
  background: white;
}

.calendar-day:not(.outside):hover {
  z-index: 1;
  background: #f7f9f8;
  box-shadow: inset 0 0 0 1px #97a39e;
}

.calendar-day.outside {
  background: #f4f2ed;
}

.calendar-day.selected {
  z-index: 1;
  background: #f5f8f6;
  box-shadow: inset 0 0 0 2px var(--ink);
}

.calendar-day.today .day-number {
  color: white;
  background: var(--ink);
}

.day-number {
  display: grid;
  width: 1.3rem;
  height: 1.3rem;
  place-items: center;
  border-radius: 50%;
  font-size: 0.66rem;
  font-weight: 800;
}

.shift-stack {
  display: grid;
  gap: 0.18rem;
  margin-top: 0.2rem;
}

.shift-chip {
  display: block;
  overflow: hidden;
  padding: 0.18rem 0.28rem;
  border-radius: 0.25rem;
  color: white;
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shift-stack small {
  color: var(--muted);
  font-size: 0.53rem;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.65rem;
  min-height: 2rem;
  padding: 0.45rem 0.75rem;
}

.calendar-legend span {
  display: flex;
  gap: 0.28rem;
  align-items: center;
  color: #5d6561;
  font-size: 0.6rem;
}

.calendar-legend i {
  width: 0.46rem;
  min-width: 0.46rem;
  height: 0.46rem;
}

.year-progress {
  margin: 0;
  padding: 0.65rem 0.75rem 0.75rem;
  background: #f8f6f1;
}

.year-progress header,
.day-shifts header {
  justify-content: space-between;
}

.year-progress output,
.day-shifts output {
  font-size: 0.77rem;
  font-weight: 850;
}

.year-bars {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.25rem;
  height: 3.6rem;
  margin-top: 0.55rem;
}

.year-bars > span {
  display: grid;
  height: 100%;
  grid-template-rows: 1fr auto;
  gap: 0.15rem;
  align-items: end;
  text-align: center;
}

.year-bars i {
  display: block;
  width: 100%;
  min-height: 2px;
  border-radius: 0.16rem 0.16rem 0 0;
  background: var(--blue);
}

.year-bars small {
  color: var(--muted);
  font-size: 0.5rem;
}

.template-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding-bottom: 0.25rem;
}

.template-row button {
  flex: 0 0 auto;
  padding: 0.32rem 0.5rem;
  border: 1px solid #d3d0c9;
  color: #59615e;
  background: #f7f5f0;
  font-size: 0.61rem;
  font-weight: 700;
}

.time-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.3rem;
  align-items: end;
}

.time-row > span {
  padding-bottom: 0.43rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.pay-preview {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  padding: 0.5rem;
  border: 1px solid #dce6de;
  border-radius: 0.55rem;
  background: #f1f7f2;
}

.pay-preview span {
  grid-column: 1 / -1;
  color: #607064;
  font-size: 0.59rem;
}

.pay-preview strong {
  font-size: 1rem;
}

.pay-preview small {
  color: var(--muted);
  font-size: 0.6rem;
}

.add-shift-button {
  width: 100%;
  min-height: 2.35rem;
  border-radius: 0.55rem;
}

.day-shifts h3 {
  margin: 0;
}

#day-shift-list {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.45rem;
}

.day-shift {
  display: grid;
  grid-template-columns: 0.35rem minmax(0, 1fr) auto;
  gap: 0.38rem;
  align-items: center;
  padding: 0.35rem;
  border: 1px solid #dedbd4;
  border-radius: 0.5rem;
  background: white;
}

.day-shift > i {
  height: 2rem;
}

.edit-shift,
.remove-shift {
  border: 0;
  color: inherit;
  text-align: left;
  background: transparent;
}

.edit-shift {
  min-width: 0;
  padding: 0;
}

.edit-shift strong,
.edit-shift span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.edit-shift strong {
  font-size: 0.66rem;
}

.edit-shift span {
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.57rem;
}

.remove-shift {
  padding: 0.25rem;
  color: #9c5a4e;
  font-size: 0.8rem;
}

.empty-day {
  margin: 0;
  padding: 0.55rem;
  border: 1px dashed #d2cfc8;
  border-radius: 0.5rem;
  color: var(--muted);
  font-size: 0.61rem;
  line-height: 1.5;
}

.data-actions h3 {
  margin: 0 0 0.45rem;
}

.data-actions > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.3rem;
}

.data-actions button,
.data-actions label {
  display: grid;
  min-height: 2rem;
  place-items: center;
  padding: 0.35rem;
  border: 1px solid #d5d2cb;
  border-radius: 0.45rem;
  color: #59615e;
  background: #f8f6f1;
  font-size: 0.59rem;
  font-weight: 750;
  text-align: center;
}

.data-actions input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

footer {
  min-height: 3.5rem;
  justify-content: space-between;
  border-top: 1px solid rgb(39 48 45 / 12%);
  color: var(--muted);
  font-size: 0.7rem;
}

.prose {
  width: min(42rem, 100%);
  margin: 1rem auto 3rem;
  padding: clamp(1rem, 4vw, 2.2rem);
  border: 1px solid #d4d1ca;
  border-radius: 0.8rem;
  background: var(--paper);
}

.prose-kicker {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.prose h1 {
  max-width: 25ch;
  margin: 0.4rem 0 1.6rem;
  font-size: clamp(1.25rem, 4vw, 1.65rem);
  line-height: 1.4;
}

.prose h2 {
  margin: 1.5rem 0 0.4rem;
  font-size: 0.92rem;
}

.prose p {
  color: #5c6561;
  font-size: 0.78rem;
  line-height: 1.9;
}

.not-found {
  width: min(28rem, 100%);
  margin: 3rem auto;
  padding: 2rem;
  border: 1px solid #d4d1ca;
  border-radius: 0.8rem;
  text-align: center;
  background: var(--paper);
}

.not-found > span {
  color: var(--coral);
  font-size: 2rem;
}

.not-found h1 {
  font-size: 1.15rem;
}

.not-found p {
  color: var(--muted);
  font-size: 0.75rem;
}

.not-found a {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.5rem;
  color: white;
  background: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
}

.progress-0 {
  width: 0%;
}

.progress-1 {
  width: 10%;
}

.progress-2 {
  width: 20%;
}

.progress-3 {
  width: 30%;
}

.progress-4 {
  width: 40%;
}

.progress-5 {
  width: 50%;
}

.progress-6 {
  width: 60%;
}

.progress-7 {
  width: 70%;
}

.progress-8 {
  width: 80%;
}

.progress-9 {
  width: 90%;
}

.progress-10 {
  width: 100%;
}

.bar-0 {
  height: 2%;
}

.bar-1 {
  height: 10%;
}

.bar-2 {
  height: 20%;
}

.bar-3 {
  height: 30%;
}

.bar-4 {
  height: 40%;
}

.bar-5 {
  height: 50%;
}

.bar-6 {
  height: 60%;
}

.bar-7 {
  height: 70%;
}

.bar-8 {
  height: 80%;
}

.bar-9 {
  height: 90%;
}

.bar-10 {
  height: 100%;
}

@media (max-width: 68rem) {
  .shift-workbench {
    grid-template-columns: minmax(13rem, 16rem) minmax(0, 1fr);
  }

  .entry-panel {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1rem;
  }

  .entry-panel > .panel-header,
  .entry-panel > .template-row,
  .entry-panel > .estimate-note {
    grid-column: 1 / -1;
  }

  .day-shifts {
    margin-top: 0;
    padding-top: 0.75rem;
  }
}

@media (max-width: 47rem) {
  .site-header,
  footer,
  main {
    width: min(100% - 1rem, 92rem);
  }

  .site-header nav a:first-child {
    display: none;
  }

  .workspace-intro {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .workspace-intro p {
    display: none;
  }

  .local-badge {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .summary-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .summary-strip > div {
    padding: 0.55rem;
    border-bottom: 1px solid #e3e1db;
  }

  .summary-strip > div:nth-child(3),
  .summary-strip > div:last-child {
    border-right: 0;
  }

  .summary-strip > div:nth-child(n + 4) {
    border-bottom: 0;
  }

  .goal-summary {
    grid-column: span 2;
  }

  .shift-workbench {
    grid-template-columns: 1fr;
  }

  .calendar-panel {
    grid-row: 1;
  }

  .workplace-panel {
    grid-row: 2;
  }

  .entry-panel {
    grid-row: 3;
    grid-column: auto;
    display: block;
  }

  .calendar-day {
    min-height: 4.2rem;
    padding: 0.2rem;
  }

  .day-number {
    width: 1.08rem;
    height: 1.08rem;
    font-size: 0.58rem;
  }

  .shift-chip {
    height: 0.42rem;
    padding: 0;
    color: transparent;
    font-size: 0;
  }

  .shift-stack {
    gap: 0.12rem;
  }

  .year-progress {
    display: none;
  }

  .day-shifts {
    margin-top: 0.8rem;
  }

  footer {
    align-items: flex-start;
    padding-block: 0.8rem;
  }

  footer nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (max-width: 25rem) {
  .summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summary-strip > div:nth-child(2n) {
    border-right: 0;
  }

  .summary-strip > div:nth-child(3) {
    border-right: 1px solid #e3e1db;
  }

  .goal-summary {
    grid-column: span 2;
  }

  .calendar-heading {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 0.3rem;
    padding-inline: 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
