@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap");
:root {
  --ink: #283b35;
  --muted: #626e5c;
  --green: #294f46;
  --green-light: #e8eee5;
  --line: #e7e9e1;
  --paper: #fafbf7;
  --white: #fff;
  --sage: #e7eee2;
  --rose: #f8e5df;
  --sky: #e6edf5;
  --amber: #f7edcf;
  --lavender: #ede6f5;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--green);
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 20px;
  border: 1px solid var(--green);
  border-radius: 9px;
  background: var(--green);
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.25;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}
button:hover,
.button:hover {
  background: #1c3f36;
  color: white;
  box-shadow: 0 3px 9px #294f4615;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.secondary {
  background: #fff;
  color: var(--ink);
  border-color: #dfe4d9;
}
.secondary:hover {
  background: #f1f4ec;
  color: var(--ink);
}
.compact {
  font-size: 13px;
  padding: 10px 15px;
}
.text-button {
  background: transparent;
  border: 0;
  color: var(--green);
  padding: 9px;
}
.text-button:hover {
  background: #f1f4ec;
  color: var(--green);
  box-shadow: none;
}
.icon {
  flex-shrink: 0;
  vertical-align: middle;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 8px;
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: #5a635d;
  cursor: pointer;
}
.icon-button:hover {
  background: #eef1e9;
  color: var(--green);
  box-shadow: none;
}
.danger {
  color: #8f4e45 !important;
}
.danger:hover {
  background: #faece9 !important;
}
.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.button-row .text-button {
  width: 100%;
  justify-content: flex-start;
}
h1,
h2,
h3,
.brand {
  font-family: "Manrope", system-ui, sans-serif;
}
h1 {
  font-size: 34px;
  letter-spacing: -1.3px;
  font-weight: 750;
  line-height: 1.25;
  margin: 0;
}
h2 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.6px;
  margin: 0;
}
h3 {
  font-size: 17px;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.3px;
}
p {
  line-height: 1.7;
}
.muted,
.hint {
  color: var(--muted);
}
.hint {
  font-size: 12px;
  line-height: 1.8;
}
.hint a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.9px;
  color: #5d6354;
  margin: 0 0 12px;
}
.small-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 650;
  background: #f2f4ec;
  color: #5c6452;
  border-radius: 5px;
  padding: 6px 9px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 3px 7px #263b2902;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 242px;
  flex: 0 0 242px;
  border-right: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  padding: 35px 23px 18px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--green);
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -1.1px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #f0f3e6;
  border-radius: 13px;
  width: 43px;
  height: 43px;
  transform: rotate(-4deg);
  flex-shrink: 0;
}
.brand-mark .icon {
  width: 25px;
  height: 25px;
  transform: rotate(4deg);
}
.brand-caption {
  display: block;
  font:
    600 8px "DM Sans",
    sans-serif;
  letter-spacing: 2px;
  margin-top: 2px;
  color: #5d6157;
}
.workspace-label {
  font-size: 9px;
  letter-spacing: 1.4px;
  color: #5e6257;
  font-weight: 600;
  margin: 44px 10px 14px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: #5c635a;
  font-weight: 500;
}
.sidebar nav a:hover {
  background: #f7f8f3;
}
.sidebar nav a.active {
  background: #ecf1e8;
  color: #3e604d;
  font-weight: 650;
}
.sidebar-family > div:not(.workspace-label) {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-size: 12px;
  color: #596456;
}
.sidebar-family .person-dot {
  margin-left: auto;
  width: 6px;
  height: 6px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.install-card {
  background: #f6f7ef;
  border: 1px solid #ecefe2;
  border-radius: 12px;
  padding: 17px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  color: #55654c;
}
.install-card strong {
  font-size: 12px;
}
.install-card > span:not(.text-link) {
  font-size: 11px;
  color: #5d6255;
  line-height: 1.6;
}
.install-card .text-link {
  font-size: 11px;
  margin-top: 2px;
}
.signed-in {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  margin-top: 23px;
  padding: 19px 0 0;
}
.signed-in > div {
  flex: 1;
  min-width: 0;
}
.signed-in strong {
  font-size: 12px;
  display: block;
}
.signed-in span:not(.avatar) {
  font-size: 9px;
  color: #5d6158;
  white-space: nowrap;
}
.signed-in .icon-button {
  width: 28px;
}
.main-wrap {
  flex: 1;
  min-width: 0;
}
.topbar {
  height: 76px;
  border-bottom: 1px solid var(--line);
  padding: 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #5d6256;
  background: #ffffff80;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #83a482;
  border-radius: 50%;
  margin-right: 8px;
}
.topbar-divider {
  margin: 0 16px;
  color: #5f615c;
}
.main-content {
  max-width: 1340px;
  margin: auto;
  padding: 38px 42px 42px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 30px;
}
.page-heading > div > p:last-child {
  font-size: 13px;
  color: #5d6358;
  margin: 12px 0 0;
}
.heading-dot {
  color: #5b6450;
}
.page-heading > .button {
  margin-top: 10px;
  white-space: nowrap;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0 42px;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: #5f6259;
}
footer > span > span {
  font-size: 14px;
  margin-left: 4px;
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 650;
  flex-shrink: 0;
  color: #566450;
  overflow: hidden;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sage {
  --person: #7f9d6b;
  background: var(--sage);
  color: #506744;
}
.rose {
  --person: #cb8c77;
  background: var(--rose);
  color: #825649;
}
.sky {
  --person: #7d9cbd;
  background: var(--sky);
  color: #47637e;
}
.amber {
  --person: #c3a05c;
  background: var(--amber);
  color: #765d2b;
}
.lavender {
  --person: #ac8cbd;
  background: var(--lavender);
  color: #735586;
}
.person-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--person, #839d71);
  flex-shrink: 0;
}
.calendar-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
}
.family-filters {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.filter-label {
  font-size: 9px;
  letter-spacing: 1px;
  color: #5d6257;
  margin-right: 8px;
  font-weight: 600;
}
.filter-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 7px;
  padding: 8px 11px;
  font-size: 11px;
  color: #5d6358;
}
.filter-chip .icon {
  width: 14px;
  height: 14px;
}
.filter-chip.selected {
  background: #eaf0e5;
  color: #4f6749;
  border-color: #c7d4bd;
  font-weight: 600;
}
.timezone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #5e6357;
  white-space: nowrap;
}
.timezone .icon {
  width: 13px;
  height: 13px;
}
.calendar {
  overflow: hidden;
}
.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 25px 21px;
}
.month-title {
  display: flex;
  align-items: center;
  gap: 14px;
}
.month-title h2 {
  font-size: 24px;
  letter-spacing: -0.7px;
}
.month-title h2 > span {
  color: #5e6255;
  font-weight: 450;
  margin-left: 3px;
}
.month-title .small-tag {
  font-size: 9px;
}
.calendar-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}
.calendar-controls .button {
  font-size: 11px;
  padding: 8px 14px;
}
.month-arrows {
  display: flex;
  gap: 2px;
}
.month-arrows .icon-button {
  width: 29px;
  height: 29px;
}
.weekdays,
.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.weekdays {
  background: #fafbf7;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.weekdays span {
  padding: 12px 0;
  text-align: center;
  font-size: 9px;
  color: #5d6355;
  letter-spacing: 1px;
  font-weight: 600;
}
.weekdays span:nth-last-child(-n + 2) {
  color: #5f6259;
}
.month-grid {
  gap: 1px;
  background: var(--line);
}
.day-cell {
  min-height: 102px;
  background: white;
  padding: 10px 9px 8px;
  position: relative;
  min-width: 0;
}
.day-cell:nth-child(7n),
.day-cell:nth-child(7n-1) {
  background: #fdfdfb;
}
.day-cell:hover {
  background: #f3f6ec;
}
.day-cell.outside {
  color: #5e6158;
  background: #fafbf7;
}
.day-cell.outside .day-plans {
  opacity: 1;
}
.day-cell.selected-day {
  background: #f0f5e9;
  box-shadow: inset 0 0 0 1.5px #92aa7c;
}
.day-number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 550;
}
.day-number > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}
.today .day-number > span {
  background: var(--green);
  color: white;
  border-radius: 50%;
}
.day-number small {
  font-size: 8px;
  background: #edf1e5;
  min-width: 15px;
  height: 15px;
  text-align: center;
  border-radius: 50%;
  padding: 2px;
  color: #58634e;
}
.day-plans {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.calendar-plan {
  font-size: 9px;
  border-radius: 4px;
  padding: 5px 5px;
  display: block;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  line-height: 1.2;
}
.calendar-plan i {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--person);
  margin-right: 5px;
  vertical-align: middle;
}
.more-plans {
  font-size: 8px;
  padding: 2px 4px;
  color: #5d6355;
}
.mobile-dots {
  display: none;
}
.calendar-bottom {
  padding: 13px 24px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: #5c6253;
}
.calendar-bottom > span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}
.today-marker {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
}
.day-section {
  margin-top: 34px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.section-heading .eyebrow {
  font-size: 9px;
  margin-bottom: 8px;
}
.section-heading h2 {
  font-size: 21px;
}
.count-badge {
  display: inline-block;
  vertical-align: middle;
  background: #edf1e6;
  border-radius: 6px;
  color: #5b644f;
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  padding: 5px 8px;
  margin-left: 8px;
}
.text-link {
  color: #566648;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  gap: 5px;
  align-items: center;
}
.text-link:hover {
  text-decoration: underline;
}
.text-link .icon {
  width: 15px;
  height: 15px;
}
.plan-card {
  display: flex;
  padding: 22px 25px;
  margin-bottom: 12px;
  gap: 23px;
}
.plan-time {
  flex: 0 0 60px;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-top: 6px;
  gap: 6px;
}
.plan-time strong {
  font-size: 15px;
  font-weight: 650;
}
.plan-time > span:not(.time-line) {
  font-size: 11px;
  color: #5d6258;
}
.time-line {
  width: 1px;
  background: #e2e9d9;
  flex: 1;
  min-height: 12px;
  margin-top: 5px;
}
.plan-content {
  flex: 1;
  border-left: 1px solid #edf0e7;
  padding-left: 24px;
  min-width: 0;
}
.plan-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.plan-actions {
  display: flex;
  gap: 4px;
}
.plan-actions .icon-button {
  width: 30px;
  height: 30px;
}
.plan-actions .icon {
  width: 15px;
  height: 15px;
}
.plan-description {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  color: #5d6357;
  margin: 7px 0 16px;
  line-height: 1.8;
}
.plan-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.person-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.person-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  border-radius: 5px;
  padding: 3px 7px 3px 4px;
}
.person-pill .avatar {
  width: 17px;
  height: 17px;
  font-size: 8px;
  filter: brightness(0.97);
}
.reminder-label {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  font-size: 9px;
  color: #5d6256;
}
.reminder-label .icon {
  width: 12px;
  height: 12px;
}
.empty-day {
  text-align: center;
  padding: 35px 20px;
}
.empty-day h3 {
  font-size: 16px;
  margin: 10px 0 0;
}
.empty-day p {
  font-size: 12px;
  color: #5c6253;
  margin: 8px 0 18px;
}
.empty-day .button {
  font-size: 11px;
}
.empty-art {
  margin: auto;
  width: 42px;
  height: 42px;
  background: #f0f3e8;
  color: #5a644d;
  display: grid;
  place-items: center;
  border-radius: 13px;
  transform: rotate(-7deg);
}
.item-images {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.item-images img {
  width: 100px;
  height: 78px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.notice {
  padding: 14px 18px;
  background: #f5f2e7;
  border: 1px solid #e9e4d0;
  border-radius: 9px;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.notice.success {
  background: #eef4e7;
  border-color: #dce7cf;
  color: #536644;
}
.back-link {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 12px;
  color: #5b6352;
  margin-bottom: 25px;
}
.back-link .icon {
  width: 14px;
}
.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(270px, 1fr);
  gap: 24px;
}
.form-section {
  padding: 27px;
}
.form-section + .form-section {
  border-top: 1px solid var(--line);
}
.form-section h2 {
  font-size: 17px;
  margin-bottom: 17px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.form-section h3 {
  font-size: 14px;
  margin-top: 25px;
}
.form-section p {
  font-size: 13px;
  color: #5c6355;
}
.form-section p.hint {
  font-size: 11px;
}
.form-section > .muted {
  margin: -6px 0 18px;
}
.editor-main .form-section:first-child {
  padding-top: 30px;
}
label {
  font-size: 12px;
  font-weight: 550;
  display: block;
  margin: 18px 0 8px;
}
input:not([type="checkbox"]):not([type="hidden"]),
textarea,
select {
  width: 100%;
  border: 1px solid #dde3d5;
  border-radius: 7px;
  padding: 12px;
  background: #fff;
  color: var(--ink);
  min-width: 0;
  font-size: 13px;
}
input::placeholder,
textarea::placeholder {
  color: #5e6258;
}
textarea {
  resize: vertical;
}
.required {
  color: #59644e;
}
.optional {
  font:
    400 10px "DM Sans",
    sans-serif;
  color: #5e6355;
  margin-left: 5px;
}
input[type="checkbox"] {
  accent-color: var(--green);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 25px 0;
}
.people-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.person-option {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  margin: 0;
  cursor: pointer;
}
.person-option:has(input:checked) {
  background: #f5f7f0;
  border-color: #c9d5bf;
}
.upload-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  padding: 22px;
  background: #fafbf7;
  border: 1px dashed #cfd9c2;
  border-radius: 10px;
  text-align: center;
  margin-top: 20px;
  color: #59644e;
}
.upload-box label {
  margin: 3px 0;
  font-size: 13px;
}
.upload-box span {
  font-size: 10px;
}
.upload-box input[type="file"] {
  border: 0;
  font-size: 11px;
  max-width: 290px;
  background: none;
}
.editor-save {
  padding: 20px 0;
  text-align: center;
}
.editor-save button,
.editor-save .button {
  width: 100%;
  margin-bottom: 9px;
}
.editor-save .hint {
  font-size: 10px;
}
.photo-options,
.photo-previews {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.photo-options label {
  margin: 0;
  font-size: 10px;
}
.photo-options img,
.photo-previews img {
  width: 100px;
  height: 85px;
  border-radius: 7px;
  object-fit: cover;
  display: block;
}
.photo-options label > span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.photo-previews span {
  font-size: 11px;
  color: #59644c;
}
.family-symbol {
  font-size: 52px;
  color: #5b6450;
}
.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.profile-card {
  text-align: center;
  overflow: hidden;
  position: relative;
  padding: 0 25px 25px;
}
.profile-cover {
  height: 70px;
  margin: 0 -25px;
  background-image: radial-gradient(
    ellipse at bottom right,
    #ffffff70,
    transparent
  );
}
.avatar.large {
  width: 74px;
  height: 74px;
  font-size: 25px;
  border: 5px solid white;
  margin-top: -35px;
  position: relative;
}
.profile-card h2 {
  font-size: 21px;
  margin: 12px 0 0;
}
.profile-email {
  font-size: 11px;
  color: #5e6356;
  margin: 9px 0 15px;
  overflow-wrap: anywhere;
}
.profile-card > .small-tag {
  font-size: 8px;
}
.profile-edit {
  text-align: left;
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 18px;
}
.profile-edit > summary {
  font-size: 12px;
  color: #58654a;
  cursor: pointer;
  list-style: none;
  text-align: center;
}
.profile-edit > summary .icon {
  width: 14px;
  margin-right: 4px;
}
.profile-edit button {
  margin-top: 15px;
  width: 100%;
}
.profile-edit input[type="file"] {
  font-size: 11px;
}
.inline-check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}
.family-note {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px;
  color: #5b6451;
}
.family-note > .icon {
  width: 28px;
  height: 28px;
}
.family-note h3 {
  font-size: 13px;
  color: #5b6451;
}
.family-note p {
  font-size: 12px;
  margin: 5px 0;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  align-items: start;
}
.settings-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: #edf2e5;
  color: #566548;
  border-radius: 13px;
  margin-bottom: 22px;
}
.settings-icon.amber {
  background: var(--amber);
  color: #715e3a;
}
.settings-grid .button-row button {
  font-size: 12px;
}
.settings-grid .notice {
  font-size: 12px;
}
.install-steps {
  padding-left: 21px;
  font-size: 13px;
  line-height: 1.7;
  color: #5d6355;
}
.install-steps li {
  margin-bottom: 12px;
  padding-left: 5px;
}
.device-list {
  margin-top: 25px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 12px;
}
.device-list summary {
  cursor: pointer;
  color: #5b6253;
}
.device-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.device-row small {
  display: block;
  font-size: 10px;
  color: #5c6353;
  margin-top: 6px;
}
.device-row button {
  font-size: 11px;
}
.admin-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #5a644f;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin-bottom: 32px;
}
.admin-stats .panel {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  color: #5a644f;
}
.admin-stats strong {
  display: block;
  font-size: 28px;
  color: #496340;
  margin-bottom: 4px;
  font-family: "Manrope", sans-serif;
}
.admin-stats span {
  font-size: 11px;
  color: #5c6255;
}
.tab-list {
  display: flex;
  gap: 16px;
}
.tab-list a {
  font-size: 13px;
  color: #5c6255;
  padding: 10px 3px;
  border-bottom: 2px solid transparent;
}
.tab-list a.selected {
  color: #4f6843;
  border-color: #7e996b;
}
.admin-search {
  display: flex;
  gap: 10px;
  margin: 0 0 18px;
}
.admin-search input {
  max-width: 400px;
}
.history-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.history-row:last-child {
  border-bottom: 0;
}
.history-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  flex-shrink: 0;
}
.history-name {
  flex: 1;
  min-width: 0;
}
.history-name > a {
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.history-name > span {
  font-size: 10px;
  color: #5d6255;
  display: block;
  margin-top: 7px;
}
.history-updated {
  font-size: 10px;
  color: #5d6255;
}
.history-updated small {
  display: block;
  font-size: 10px;
  margin-top: 7px;
}
.state-tag {
  font-size: 9px;
  padding: 5px 8px;
  border-radius: 5px;
  white-space: nowrap;
}
.history-row .button {
  font-size: 10px;
  white-space: nowrap;
}
.history-row .button .icon {
  width: 13px;
  height: 13px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  font-size: 11px;
  color: #5c6255;
}
.revision {
  padding: 27px;
  margin-bottom: 20px;
}
.revision h2 {
  font-size: 17px;
  margin-top: 12px;
}
.revision h2 .muted {
  font-weight: 400;
  font-size: 13px;
}
.revision .section-heading {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.revision-details {
  font-size: 12px;
  line-height: 1.7;
}
.revision-details > div {
  display: flex;
  gap: 20px;
  margin-bottom: 9px;
}
.revision-details dt {
  width: 50px;
  color: #5d6255;
}
.revision-details dd {
  margin: 0;
  color: #59654f;
}
.public-main {
  min-height: 100vh;
}
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.login-story {
  background: #edf1e5;
  padding: 55px 11%;
  display: flex;
  flex-direction: column;
}
.login-story > .brand {
  font-size: 30px;
}
.login-story > .eyebrow {
  margin-top: 80px;
}
.login-story h1 {
  font-size: 58px;
  font-weight: 650;
  letter-spacing: -2.8px;
  line-height: 1.18;
}
.login-story h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #546644;
}
.login-story > p:not(.eyebrow) {
  font-size: 13px;
  color: #5b6451;
  margin-top: 22px;
}
.login-story > small {
  margin-top: auto;
  padding-top: 30px;
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #5c6354;
}
.login-art {
  padding: 32px 10px 38px;
  perspective: 800px;
}
.art-calendar {
  max-width: 350px;
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: 0 16px 50px #78896b20;
  transform: rotate(-6deg);
  padding: 24px;
  color: #5c6353;
}
.art-calendar > span {
  font-size: 9px;
  letter-spacing: 2px;
}
.art-week {
  word-spacing: 16px;
  font-size: 10px;
  margin-top: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eff1e8;
}
.art-grid {
  word-spacing: 15px;
  font-size: 13px;
  line-height: 3.4;
  white-space: nowrap;
}
.art-grid b {
  background: #ebdfba;
  border-radius: 50%;
  padding: 5px;
  color: #6f5e36;
}
.art-note {
  background: #f1e3dc;
  margin: 12px -40px -32px 35px;
  border-radius: 8px;
  padding: 18px;
  font-size: 10px;
  transform: rotate(10deg);
  color: #725c4f;
  box-shadow: 0 6px 18px #a98d7c12;
}
.art-note span {
  font-size: 16px;
  margin-right: 5px;
}
.login-form {
  max-width: 440px;
  margin: auto;
  padding: 55px 45px;
}
.login-form > .small-tag {
  font-size: 9px;
  letter-spacing: 2px;
  margin-bottom: 22px;
}
.login-form h2 {
  font-size: 35px;
  letter-spacing: -1.2px;
}
.login-form > p {
  font-size: 13px;
  line-height: 1.9;
  color: #5b6253;
}
.google-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--green);
  color: #fff;
  border-radius: 9px;
  padding: 17px;
  font-size: 13px;
  margin-top: 30px;
}
.google-button:hover {
  color: white;
  background: #214338;
}
.google-g {
  background: white;
  border-radius: 4px;
  color: #3e6098;
  font-weight: 700;
  font-size: 16px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
}
.login-form .login-note {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 10px;
  margin-top: 20px;
}
.login-note .icon {
  width: 13px;
  height: 13px;
}
.dev-login {
  margin-top: 30px;
  font-size: 11px;
  color: #5b6450;
}
.dev-login summary {
  cursor: pointer;
}
.dev-login button {
  margin-top: 14px;
  width: 100%;
}
.error-panel {
  max-width: 650px;
  margin: 12vh auto;
  padding: 40px;
}
.error-panel h1 {
  margin: 25px 0;
  font-size: 28px;
}
.error-panel p {
  color: #5b6252;
  font-size: 14px;
}
.error-panel .button {
  margin-top: 20px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--green);
  color: white;
  padding: 12px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
:focus-visible {
  outline: 3px solid #9bb880;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1500px) {
  .day-cell {
    min-height: 118px;
  }
  .main-content {
    padding-top: 44px;
  }
  .day-section {
    margin-top: 40px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 215px;
    flex-basis: 215px;
    padding-left: 17px;
    padding-right: 17px;
  }
  .main-content {
    padding: 30px 28px;
  }
  .topbar {
    padding: 0 28px;
  }
  footer {
    margin: 0 28px;
  }
  .calendar-filters {
    align-items: flex-start;
  }
  .filter-label {
    width: 100%;
    margin-bottom: 3px;
  }
  .timezone {
    margin-top: 20px;
  }
  .day-cell {
    padding: 7px 6px;
    min-height: 96px;
  }
  .calendar-plan {
    font-size: 8px;
  }
  .history-updated {
    display: none;
  }
  .settings-grid {
    gap: 18px;
  }
  .form-section {
    padding: 22px;
  }
}
@media (max-width: 960px) {
  .sidebar {
    width: 180px;
    flex-basis: 180px;
    padding: 25px 13px 15px;
  }
  .brand {
    font-size: 23px;
    gap: 8px;
  }
  .brand-mark {
    width: 35px;
    height: 35px;
    border-radius: 10px;
  }
  .brand-caption {
    font-size: 6px;
    letter-spacing: 1.6px;
  }
  .sidebar nav a {
    font-size: 11px;
    padding: 12px 10px;
    gap: 10px;
  }
  .sidebar nav .icon {
    width: 17px;
    height: 17px;
  }
  .workspace-label {
    font-size: 8px;
    margin-left: 6px;
  }
  .signed-in .avatar {
    width: 25px;
    height: 25px;
  }
  .signed-in {
    gap: 6px;
  }
  .signed-in span:not(.avatar) {
    font-size: 7px;
  }
  .signed-in strong {
    font-size: 11px;
  }
  .install-card {
    padding: 12px;
  }
  .main-content {
    padding: 27px 22px;
  }
  .page-heading {
    align-items: flex-start;
  }
  h1 {
    font-size: 27px;
  }
  .page-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  .page-heading > .button {
    font-size: 11px;
    padding: 11px 14px;
  }
  .timezone {
    display: none;
  }
  .day-cell {
    min-height: 86px;
  }
  .calendar-toolbar {
    padding: 20px;
  }
  .month-title h2 {
    font-size: 21px;
  }
  .month-title {
    gap: 8px;
  }
  .calendar-plan {
    font-size: 7px;
    padding: 4px;
  }
  .day-number {
    font-size: 10px;
  }
  .settings-grid,
  .editor-layout {
    grid-template-columns: 1fr;
  }
  .editor-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
  }
  .editor-save {
    padding-top: 0;
  }
  .history-row {
    gap: 10px;
    padding: 15px;
  }
  .history-row .button {
    font-size: 9px;
    padding: 8px;
  }
  .admin-stats .panel {
    padding: 18px;
    gap: 12px;
  }
  .admin-stats span {
    font-size: 9px;
  }
  .login-story {
    padding: 45px 9%;
  }
  .login-story h1 {
    font-size: 47px;
  }
  .login-form {
    padding: 40px 28px;
  }
  .art-grid {
    word-spacing: 10px;
    font-size: 11px;
  }
  .art-week {
    word-spacing: 11px;
  }
  .art-note {
    margin-right: -20px;
  }
  .plan-card {
    padding: 18px;
    gap: 15px;
  }
  .plan-content {
    padding-left: 18px;
  }
}
@media (max-width: 720px) {
  .app-shell {
    display: block;
  }
  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    padding: 17px 19px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar > .brand {
    font-size: 25px;
  }
  .brand-caption {
    font-size: 7px;
    letter-spacing: 2px;
  }
  .sidebar > .workspace-label,
  .sidebar-family,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    flex-direction: row;
    margin: 18px -6px 0;
    gap: 4px;
    overflow-x: auto;
    padding-bottom: 9px;
  }
  .sidebar nav a {
    gap: 6px;
    padding: 10px 11px;
    font-size: 10px;
    white-space: nowrap;
  }
  .sidebar nav .icon {
    width: 15px;
    height: 15px;
  }
  .topbar {
    height: 45px;
    padding: 0 21px;
    font-size: 9px;
  }
  .topbar-divider {
    margin: 0 10px;
  }
  .topbar .icon-button {
    width: 30px;
    height: 30px;
  }
  .main-content {
    padding: 27px 18px;
  }
  .page-heading {
    gap: 12px;
    margin-bottom: 24px;
  }
  .page-heading .eyebrow {
    font-size: 7px;
    letter-spacing: 1.1px;
    line-height: 1.6;
  }
  .page-heading h1 {
    font-size: 25px;
    letter-spacing: -0.9px;
  }
  .page-heading > div > p:last-child {
    font-size: 11px;
    margin-top: 9px;
  }
  .page-heading > .button {
    font-size: 0;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: 9px;
    margin-top: 18px;
    gap: 0;
  }
  .page-heading > .button .icon {
    width: 20px;
    height: 20px;
  }
  .family-filters {
    gap: 5px;
  }
  .filter-label {
    font-size: 8px;
    margin-bottom: 5px;
  }
  .filter-chip {
    font-size: 10px;
    padding: 7px 10px;
    gap: 6px;
  }
  .filter-chip .icon {
    width: 12px;
  }
  .calendar-filters {
    margin-bottom: 14px;
  }
  .calendar-toolbar {
    padding: 17px 14px;
  }
  .month-title h2 {
    font-size: 21px;
  }
  .month-title .small-tag {
    display: none;
  }
  .calendar-controls {
    gap: 5px;
  }
  .calendar-controls .button {
    font-size: 10px;
    padding: 7px 11px;
  }
  .month-arrows .icon-button {
    width: 25px;
    height: 25px;
  }
  .weekdays span {
    font-size: 8px;
    padding: 12px 0;
  }
  .day-cell {
    min-height: 68px;
    padding: 5px 4px;
  }
  .day-number {
    margin-bottom: 7px;
    font-size: 11px;
  }
  .day-number small {
    width: 12px;
    height: 12px;
    min-width: 12px;
    font-size: 7px;
    padding: 1px;
  }
  .day-number > span {
    width: 22px;
    height: 22px;
  }
  .day-plans {
    display: none;
  }
  .mobile-dots {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin-top: 10px;
  }
  .mobile-dots .person-dot {
    width: 4px;
    height: 4px;
  }
  .calendar-bottom {
    padding: 12px;
    font-size: 8px;
  }
  .calendar-bottom > span:last-child {
    max-width: 220px;
  }
  .day-section {
    margin-top: 27px;
  }
  .section-heading {
    gap: 12px;
  }
  .section-heading h2 {
    font-size: 17px;
  }
  .section-heading .eyebrow {
    font-size: 8px;
  }
  .section-heading > .text-link {
    font-size: 10px;
    white-space: nowrap;
  }
  .plan-card {
    padding: 15px 13px;
    gap: 10px;
  }
  .plan-time {
    flex-basis: 43px;
    padding-top: 7px;
  }
  .plan-time strong {
    font-size: 12px;
  }
  .plan-time > span:not(.time-line) {
    font-size: 10px;
  }
  .plan-content {
    padding-left: 13px;
  }
  .plan-title-row h3 {
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .plan-actions {
    gap: 0;
  }
  .plan-actions .icon-button {
    width: 26px;
    height: 28px;
    padding: 5px;
  }
  .plan-actions .icon {
    width: 14px;
    height: 14px;
  }
  .plan-description {
    font-size: 11px;
    margin-bottom: 12px;
  }
  .plan-meta {
    gap: 9px;
  }
  .reminder-label {
    font-size: 8px;
  }
  .person-pill {
    font-size: 8px;
  }
  .notice {
    font-size: 11px;
    padding: 12px;
  }
  .editor-side {
    display: block;
  }
  .editor-save {
    padding-top: 20px;
  }
  .form-section {
    padding: 22px 18px;
  }
  .form-section h2 {
    font-size: 16px;
  }
  .editor-layout {
    gap: 16px;
  }
  .profile-grid {
    gap: 15px;
    grid-template-columns: 1fr 1fr;
  }
  .profile-card {
    padding: 0 14px 20px;
  }
  .profile-cover {
    margin: 0 -14px;
    height: 60px;
  }
  .profile-card h2 {
    font-size: 19px;
  }
  .profile-email {
    font-size: 9px;
    line-height: 1.7;
    min-height: 31px;
    margin-bottom: 7px;
  }
  .profile-card > .small-tag {
    font-size: 6px;
  }
  .avatar.large {
    width: 62px;
    height: 62px;
    font-size: 22px;
  }
  .family-symbol {
    font-size: 36px;
  }
  .family-note {
    padding: 24px 5px;
    gap: 12px;
  }
  .family-note p {
    font-size: 10px;
  }
  .family-note h3 {
    font-size: 12px;
  }
  .profile-edit form {
    margin: 0 -4px;
  }
  .profile-edit label {
    font-size: 10px;
  }
  .profile-edit input,
  .profile-edit select {
    font-size: 11px !important;
    padding: 9px !important;
  }
  .admin-label {
    display: none;
  }
  .admin-stats {
    gap: 8px;
    margin-bottom: 22px;
  }
  .admin-stats .panel {
    padding: 15px 12px;
    display: block;
  }
  .admin-stats .icon {
    width: 16px;
    height: 16px;
  }
  .admin-stats strong {
    font-size: 23px;
    margin-top: 10px;
  }
  .admin-stats span {
    font-size: 8px;
  }
  .tab-list {
    gap: 8px;
  }
  .tab-list a {
    font-size: 11px;
  }
  .tab-list .count-badge {
    font-size: 8px;
    margin-left: 2px;
  }
  .admin-table .history-row {
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
  }
  .history-name {
    flex-basis: calc(100% - 56px);
  }
  .history-name > a {
    font-size: 12px;
  }
  .history-name > span {
    font-size: 9px;
  }
  .history-row .state-tag {
    margin-left: 45px;
  }
  .history-row .button {
    margin-left: auto;
  }
  .revision {
    padding: 20px 16px;
  }
  .revision .section-heading {
    align-items: flex-start;
  }
  .revision h2 {
    font-size: 15px;
  }
  .revision h2 .muted {
    display: block;
    font-size: 11px;
    margin-top: 6px;
  }
  .revision .button,
  .revision button {
    font-size: 10px;
    max-width: 130px;
    padding: 10px;
  }
  .revision-details {
    font-size: 11px;
  }
  .revision-details > div {
    gap: 10px;
  }
  .revision-details dt {
    flex-shrink: 0;
  }
  .revision-details dd {
    overflow-wrap: anywhere;
  }
  .login-page {
    display: block;
  }
  .login-story {
    padding: 28px 30px;
  }
  .login-story > .eyebrow {
    margin-top: 35px;
    font-size: 8px;
  }
  .login-story h1 {
    font-size: 42px;
    line-height: 1.15;
  }
  .login-story > p:not(.eyebrow) {
    font-size: 12px;
    margin-bottom: 7px;
  }
  .login-art,
  .login-story > small {
    display: none;
  }
  .login-form {
    padding: 35px 30px 45px;
    max-width: 440px;
  }
  .login-form h2 {
    font-size: 28px;
  }
  .login-form > .small-tag {
    margin-bottom: 15px;
  }
  .login-form > p {
    font-size: 12px;
  }
  .google-button {
    margin-top: 20px;
  }
  footer {
    margin: 0 18px;
    padding: 20px 0;
    font-size: 8px;
    gap: 10px;
  }
  footer > span {
    white-space: nowrap;
  }
  .error-panel {
    margin: 10vh 18px;
    padding: 28px;
  }
  .error-panel h1 {
    font-size: 25px;
  }
  .error-panel p {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}
.mobile-signout {
  display: none;
}
@media (max-width: 720px) {
  .mobile-signout {
    display: block;
  }
}
.nav-admin-short {
  display: none;
}
@media (max-width: 720px) {
  .nav-admin-long {
    display: none;
  }
  .nav-admin-short {
    display: inline;
  }
  .sidebar nav a {
    min-height: 44px;
  }
  .plan-actions .icon-button {
    width: 38px;
    height: 40px;
  }
}
