@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Fraunces:opsz,wght@9..144,400;9..144,450;9..144,500;9..144,600&family=Caveat:wght@400;500&display=swap");
:root {
  font-family: "DM Sans", sans-serif;
  color: #354438;
  background: #f7f5ef;
  font-synthesis: none;
  --green: #415a48;
  --muted: #899083;
  --line: #e5e6dc;
  --paper: #fffefa;
  --gold: #b99355;
  --red: #a46750;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
button:hover {
  filter: brightness(0.96);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid #83966e;
  outline-offset: 3px;
}
svg.icon {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
[data-icon] {
  display: inline-flex;
  vertical-align: middle;
}
small {
  display: block;
}
p {
  line-height: 1.75;
}
.workspace {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 238px;
  flex-shrink: 0;
  background: #eeefe6;
  position: fixed;
  top: 0;
  bottom: 0;
  padding: 37px 23px 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  border-right: 1px solid #e2e5d9;
  z-index: 20;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 47px;
  color: #50634b;
  line-height: 0.8;
}
.wordmark > span {
  font-family: Fraunces, serif;
  font-size: 26px;
  letter-spacing: -1.1px;
  line-height: 1;
}
.wordmark small {
  font-family: "DM Sans", sans-serif;
  font-size: 9px;
  letter-spacing: 4px;
  color: #93a080;
  margin-top: 8px;
  margin-left: 2px;
}
.workspace-label {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #8d977f;
  margin: 47px 13px 16px;
  font-weight: 550;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 13px;
  border-radius: 7px;
  width: 100%;
  font-size: 12px;
  color: #7b8971;
  margin-bottom: 6px;
  text-align: left;
}
.nav-link svg {
  width: 17px;
  height: 17px;
}
.nav-link.active {
  background: #dfe6d7;
  color: #3e5c39;
  font-weight: 600;
}
.nav-count {
  font-size: 9px;
  min-width: 21px;
  padding: 3px 5px;
  border-radius: 4px;
  background: #f6f8ef;
  margin-left: auto;
  color: #718960;
  text-align: center;
}
.sidebar-note {
  margin: 45px 10px 30px;
  padding: 25px 15px 18px;
  background: #f8f6eb;
  transform: rotate(-3deg);
  position: relative;
  box-shadow: 1px 4px 8px #44573008;
}
.note-pin {
  position: absolute;
  width: 42px;
  height: 15px;
  background: #d9deca99;
  top: -7px;
  left: 65px;
  transform: rotate(-3deg);
}
.sidebar-note p {
  font-family: Fraunces, serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.4px;
  color: #859174;
  margin: 0 0 13px;
}
.handwritten {
  font-family: Caveat, cursive;
  font-size: 19px;
  color: #aeaa8a;
}
.sidebar-foot {
  margin-top: auto;
}
.sidebar-foot > .nav-link {
  font-size: 11px;
}
.profile {
  display: flex;
  gap: 9px;
  align-items: center;
  border-top: 1px solid #dfe3d5;
  padding: 20px 0 24px;
  margin-top: 20px;
  font-size: 11px;
}
.profile small {
  font-size: 9px;
  color: #94a080;
  margin-top: 4px;
}
.profile button {
  margin-left: auto;
  color: #8b9a7b;
}
.profile svg {
  width: 14px;
  height: 14px;
}
.avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d6dfc9;
  color: #627a52;
  font-family: Fraunces, serif;
  font-size: 16px;
  border: 2px solid #f9f9f2;
}
.avatar.small {
  width: 29px;
  height: 29px;
  font-size: 13px;
  background: #e2dfcb;
}
.main {
  margin-left: 238px;
  width: calc(100% - 238px);
  min-width: 0;
}
.topbar {
  height: 72px;
  border-bottom: 1px solid #e6e7de;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 43px;
  background: #faf9f4;
}
.topbar > div {
  display: flex;
  align-items: center;
  gap: 16px;
}
.breadcrumb {
  font-size: 11px;
  color: #8b9680;
}
.breadcrumb i {
  font-style: normal;
  margin: 0 13px;
  color: #b8beac;
}
.breadcrumb strong {
  font-weight: 500;
  color: #64775a;
}
.private-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: #94a181;
}
.private-tag svg {
  width: 12px;
  height: 12px;
}
.topbar-right {
  gap: 20px !important;
}
.mobile-toggle {
  display: none;
}
#content {
  max-width: 1500px;
  margin: auto;
  padding: 36px 45px 60px;
  min-height: calc(100vh - 130px);
}
.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 25px;
}
.eyebrow,
.small-label {
  font-size: 9px;
  letter-spacing: 1.8px;
  font-weight: 500;
  color: #99a185;
  display: block;
}
.eyebrow {
  margin-bottom: 11px;
}
h1,
h2,
h3 {
  font-family: Fraunces, serif;
  font-weight: 400;
}
h1 {
  font-size: 38px;
  letter-spacing: -1.4px;
  line-height: 1.16;
  margin: 0 0 9px;
}
.page-heading p {
  font-size: 12px;
  color: #939c85;
  margin: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 6px;
  font-size: 11px;
  line-height: 1.3;
  white-space: nowrap;
}
.button svg {
  width: 15px;
  height: 15px;
}
.primary {
  background: var(--green);
  color: #fffdf4;
  border: 1px solid var(--green);
}
.secondary {
  border: 1px solid #dce2d2;
  background: #fffef9;
  color: #778c66;
}
.subtle {
  color: #859876;
  font-size: 11px;
  text-decoration: underline;
}
.hero {
  height: 211px;
  display: flex;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 27px;
  background: #d6ddca;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
  position: absolute;
  inset: 0;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #293c32c9 0%, #3a4c3560 43%, #293c3210);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 31px 33px;
  color: #faf6e9;
}
.hero .eyebrow {
  color: #d3dbc1;
  font-size: 8px;
}
.hero h2 {
  font-size: 31px;
  line-height: 1.25;
  letter-spacing: -0.7px;
  margin: 0 0 11px;
}
.hero p {
  font-size: 10px;
  color: #d7dfc9;
  margin: 0;
}
.hero-badge {
  position: absolute;
  right: 24px;
  bottom: 20px;
  z-index: 2;
  color: #f2f1db;
  font-size: 8px;
  letter-spacing: 0.5px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.hero-badge svg {
  width: 11px;
  height: 11px;
}
.stats-row {
  display: flex;
  margin-bottom: 32px;
  gap: 15px;
}
.stat {
  flex: 1;
  padding: 3px 20px 3px 0;
  border-right: 1px solid #e0e4d6;
  display: flex;
  align-items: center;
  gap: 13px;
}
.stat:last-child {
  border: 0;
}
.stat-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ebeee1;
  display: grid;
  place-items: center;
  color: #8e9f78;
}
.stat-icon.warm {
  background: #f2eadb;
  color: #b39a6d;
}
.stat-icon.pink {
  background: #f2e8e0;
  color: #b0957f;
}
.stat .number {
  display: block;
  line-height: 1.1;
  font-family: Fraunces, serif;
  font-size: 25px;
  letter-spacing: -0.6px;
  color: #5c7350;
}
.stat .label {
  display: block;
  font-size: 10px;
  color: #929e81;
  margin-top: 3px;
}
.section-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 19px;
}
.section-toolbar h2 {
  font-size: 22px;
  letter-spacing: -0.6px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-toolbar h2 small {
  font-family: "DM Sans";
  font-size: 9px;
  color: #95a17e;
  letter-spacing: 0;
  background: #eaf0e0;
  padding: 3px 7px;
  border-radius: 5px;
}
.group-switch {
  display: flex;
  gap: 3px;
  background: #ecefe4;
  border-radius: 6px;
  padding: 3px;
}
.group-switch button {
  font-size: 10px;
  padding: 7px 11px;
  color: #92a17f;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.group-switch svg {
  width: 12px;
  height: 12px;
}
.group-switch .active {
  background: #fffef8;
  box-shadow: 0 1px 3px #42591e0d;
  color: #66884d;
}
.filters {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 24px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fffef9;
  border: 1px solid #dfe5d4;
  border-radius: 6px;
  flex: 1;
  padding: 9px 12px;
  min-width: 100px;
}
.search-box svg {
  width: 15px;
  height: 15px;
  color: #a0ad8e;
}
.search-box input {
  border: 0;
  background: none;
  outline: none;
  font-size: 11px;
  flex: 1;
  min-width: 0;
  color: #61784e;
}
.search-box input::placeholder {
  color: #a1ac92;
}
.filters select,
.field input,
.field textarea,
.field select {
  background: #fffef9;
  border: 1px solid #dce3d2;
  border-radius: 6px;
  padding: 10px 12px;
  color: #7e906b;
  font-size: 11px;
  outline: none;
}
.filters select {
  max-width: 180px;
}
.filters select:focus,
.field :is(input, textarea, select):focus,
.search-box:focus-within {
  border-color: #9bb385;
  box-shadow: 0 0 0 2px #8fa77a14;
}
.group-title {
  font-size: 10px;
  letter-spacing: 0.9px;
  font-weight: 500;
  color: #82946e;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 23px 0 11px;
}
.group-title svg {
  width: 13px;
  height: 13px;
}
.group-title small {
  font-size: 9px;
  color: #a5b195;
  letter-spacing: 0;
  margin-left: 3px;
}
.place-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.place-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fffef9;
  border: 1px solid #e4e8dc;
  border-radius: 8px;
  padding: 12px 15px 12px 12px;
  text-align: left;
  width: 100%;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.place-row:hover {
  border-color: #c1d0b1;
  box-shadow: 0 3px 10px #4c681c07;
}
.place-thumb {
  width: 76px;
  height: 63px;
  object-fit: cover;
  border-radius: 5px;
  flex-shrink: 0;
  background: #edf0e4;
}
.place-placeholder {
  display: grid;
  place-items: center;
  color: #a1b08d;
}
.place-placeholder svg {
  width: 26px;
  height: 26px;
}
.place-info {
  flex: 1;
  min-width: 0;
}
.place-info h3 {
  font-size: 17px;
  letter-spacing: -0.25px;
  margin: 0 0 6px;
  color: #536b43;
}
.place-meta {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #a1ad91;
  font-size: 9px;
  flex-wrap: wrap;
}
.place-meta svg {
  width: 10px;
  height: 10px;
}
.place-meta span {
  display: flex;
  align-items: center;
  gap: 3px;
}
.months {
  display: flex;
  gap: 4px;
  align-items: center;
  min-width: 130px;
  justify-content: flex-end;
}
.month-tag {
  font-size: 8px;
  padding: 4px 6px;
  border-radius: 4px;
  background: #edf2e5;
  color: #799963;
}
.month-tag.warm {
  background: #f5eedf;
  color: #b49a68;
}
.months-empty {
  font-size: 9px;
  color: #a7b297;
}
.status-pill {
  font-size: 8px;
  color: #97a782;
  display: flex;
  gap: 5px;
  align-items: center;
  min-width: 70px;
  justify-content: center;
}
.status-pill:before {
  content: "";
  width: 4px;
  height: 4px;
  background: #b4c39c;
  border-radius: 50%;
}
.status-pill.planned {
  color: #ac9965;
}
.status-pill.planned:before {
  background: #c3ad73;
}
.status-pill.visited {
  color: #718d58;
}
.row-arrow {
  color: #b4bfa1;
}
.row-arrow svg {
  width: 14px;
  height: 14px;
}
.empty-state {
  text-align: center;
  border: 1px dashed #d5dfc9;
  border-radius: 9px;
  padding: 55px 25px;
  background: #fafbf4;
}
.empty-state .empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ecf0e1;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  color: #9aaf7c;
}
.empty-state h2 {
  font-size: 26px;
  margin: 0 0 12px;
  color: #60784c;
}
.empty-state p {
  font-size: 12px;
  max-width: 440px;
  margin: 0 auto 20px;
  color: #9ba68c;
}
.app-footer {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 45px;
  border-top: 1px solid #e6eadc;
  font-size: 9px;
  color: #a4ae96;
  max-width: 1500px;
  margin: auto;
}
.app-footer a {
  margin-left: auto;
  font-size: 8px;
}
.loading {
  padding: 70px;
  text-align: center;
  color: #a1b18a;
  font-size: 12px;
}
.journal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.journal-card {
  background: #fffef8;
  border: 1px solid #e2e7d8;
  border-radius: 8px;
  padding: 24px;
}
.journal-date {
  font-size: 9px;
  letter-spacing: 1.2px;
  color: #9aa781;
}
.journal-card h3 {
  font-size: 24px;
  margin: 13px 0;
  color: #60764b;
}
.journal-card .entry-text {
  font-size: 13px;
  white-space: pre-wrap;
  color: #7f8f6d;
  line-height: 1.85;
}
.journal-photos {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 15px 0;
}
.journal-photos img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: 6px;
}
.journal-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: #a6b092;
  margin-top: 18px;
}
.journal-bottom button {
  font-size: 10px;
  color: #7c9662;
}
.sticker-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sticker-render {
  width: 82px;
  height: 82px;
  object-fit: contain;
}
.checklist-tabs {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid #dfe6d3;
  margin-bottom: 25px;
}
.checklist-tabs button {
  font-size: 12px;
  padding: 14px 22px;
  color: #9da989;
  border-bottom: 2px solid transparent;
}
.checklist-tabs .active {
  color: #637e4c;
  border-color: #91aa73;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fffef9;
  border: 1px solid #e2e8d8;
  border-radius: 6px;
  padding: 14px 17px;
  margin: 7px 0;
}
.check-item input {
  accent-color: #7b985a;
  width: 17px;
  height: 17px;
}
.check-item .check-text {
  font-size: 12px;
  flex: 1;
  color: #788d63;
}
.check-item.done .check-text {
  text-decoration: line-through;
  color: #b0b99f;
}
.check-item small {
  font-size: 9px;
  color: #acb69c;
}
.check-item button {
  color: #b1b99f;
  font-size: 17px;
}
.reel-card {
  display: flex;
  gap: 20px;
  padding: 22px;
  background: #fffef9;
  border: 1px solid #e3e8d9;
  border-radius: 8px;
  margin-bottom: 13px;
}
.reel-cover {
  width: 95px;
  height: 120px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: linear-gradient(140deg, #e5eadb, #f3ead8);
  color: #9eab85;
  flex-shrink: 0;
}
.reel-cover svg {
  width: 30px;
  height: 30px;
}
.reel-info {
  flex: 1;
  min-width: 0;
}
.reel-info h3 {
  font-size: 21px;
  margin: 6px 0;
}
.reel-info p {
  font-size: 11px;
  color: #99a58a;
  line-height: 1.6;
  margin: 6px 0;
}
.reel-actions {
  display: flex;
  gap: 8px;
  margin-top: 15px;
  flex-wrap: wrap;
}
.tag {
  display: inline-flex;
  font-size: 8px;
  background: #f3ebdc;
  color: #b19966;
  padding: 4px 7px;
  border-radius: 4px;
}
.tag.green {
  background: #e9f0de;
  color: #89a365;
}
.review-layout {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 25px;
}
.review-video {
  width: 100%;
  max-height: 310px;
  background: #263728;
  border-radius: 7px;
}
.clue-box {
  background: #f0f3e8;
  border-radius: 6px;
  padding: 12px;
  font-size: 10px;
  color: #8d9e76;
  white-space: pre-wrap;
  max-height: 160px;
  overflow: auto;
  line-height: 1.7;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.settings-card {
  border: 1px solid #e1e7d5;
  background: #fffef9;
  border-radius: 8px;
  padding: 25px;
}
.settings-card h2 {
  font-size: 23px;
  margin: 0 0 10px;
}
.settings-card p {
  font-size: 11px;
  color: #96a384;
}
.integration-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #eaf0e0;
  font-size: 11px;
  color: #7f9568;
}
.integration-row span:last-child {
  font-size: 9px;
  color: #a6b18e;
}
.integration-row .ready {
  color: #6d9851 !important;
}
.job-row {
  font-size: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #e9eddf;
  color: #96a780;
}
.job-row strong {
  font-weight: 500;
  color: #7c9363;
}
.job-row p {
  font-size: 9px;
  margin: 5px 0 0;
}
.detail-panel {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 460px;
  max-width: 100vw;
  background: #fffef9;
  z-index: 41;
  overflow-y: auto;
  box-shadow: -10px 0 70px #30432125;
}
.panel-scrim {
  position: fixed;
  inset: 0;
  background: #27391c30;
  backdrop-filter: blur(2px);
  z-index: 40;
}
.detail-image {
  width: 100%;
  height: 215px;
  object-fit: cover;
  display: block;
}
.detail-close {
  position: absolute;
  right: 17px;
  top: 17px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fffef2ee;
  color: #708655;
  font-size: 21px;
  z-index: 1;
}
.detail-body {
  padding: 27px 30px 40px;
}
.detail-body h2 {
  font-size: 31px;
  letter-spacing: -0.8px;
  margin: 10px 0 13px;
  color: #526c3c;
}
.detail-body p {
  font-size: 12px;
  color: #8b9c73;
  line-height: 1.85;
}
.detail-body h3 {
  font-size: 21px;
  color: #657e4d;
  margin: 26px 0 12px;
}
.detail-meta {
  font-size: 9px;
  color: #a1ad8c;
  display: flex;
  gap: 13px;
  margin-bottom: 17px;
}
.detail-actions {
  display: flex;
  gap: 8px;
  margin: 20px 0;
}
.detail-source {
  font-size: 9px;
  color: #9ba984;
  line-height: 1.7;
}
.activity {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
  font-size: 11px;
  color: #82996a;
}
.activity input {
  accent-color: #819f60;
}
.activity.done > span {
  text-decoration: line-through;
  color: #afba9c;
}
.activity a {
  color: #819d61;
}
.climate-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
}
.climate-month {
  border: 1px solid #e3e9d8;
  border-radius: 5px;
  padding: 10px 3px;
  text-align: center;
  font-size: 10px;
  color: #9cac86;
  background: #fafcf4;
}
.climate-month.best {
  background: #e8f0dc;
  border-color: #cbdcb5;
  color: #6f954e;
}
.climate-month strong {
  display: block;
  font-size: 9px;
  font-weight: 500;
  margin-bottom: 6px;
}
.climate-month small {
  font-size: 8px;
  margin-top: 4px;
}
.climate-note {
  font-size: 9px !important;
  color: #9ba987 !important;
}
.detail-block {
  padding: 13px 0;
  border-bottom: 1px solid #e8eddf;
}
.detail-block a {
  font-size: 12px;
  color: #718c52;
}
.detail-block p {
  font-size: 10px;
  margin: 6px 0;
}
.message {
  padding: 13px 16px;
  background: #eef2e3;
  color: #8b9b72;
  border: 1px solid #dce5cd;
  border-radius: 6px;
  font-size: 11px;
  line-height: 1.7;
  margin: 15px 0;
}
.message.error {
  background: #f9eee4;
  color: #b38b6e;
  border-color: #eed8c6;
}
.fine {
  font-size: 10px;
  color: #a1ac90;
  line-height: 1.7;
}
.text-link {
  font-size: 10px;
  text-decoration: underline;
  color: #8ca46f;
}
.field {
  display: block;
  font-size: 10px;
  color: #8da374;
  margin-bottom: 16px;
}
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  color: #6d8653;
}
.field textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.7;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}
.form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
}
.field-help {
  font-size: 9px;
  color: #a5b18e;
  margin: -8px 0 17px;
}
.activities-input {
  min-height: 90px !important;
}
.upload-control {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #879e6a;
}
.upload-control input {
  font-size: 10px;
}
.sticker-library {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 10px 0;
}
.sticker-choice {
  width: 65px;
  height: 65px;
  border: 1px solid #dce6ce;
  border-radius: 6px;
  padding: 4px;
}
.sticker-choice.selected {
  background: #e5edda;
  border-color: #8eaa6a;
}
.sticker-choice .sticker-render {
  width: 55px;
  height: 55px;
}
.photo-previews {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.photo-previews img {
  width: 70px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}
.geocode-results {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 10px 0 18px;
}
.geocode-results button {
  text-align: left;
  border: 1px solid #dbe5ce;
  border-radius: 5px;
  padding: 9px;
  font-size: 10px;
  background: #f8fbf1;
  color: #849e63;
}
.month-checkboxes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 12px 0;
  font-size: 10px;
  color: #8c9f73;
}
.month-checkboxes label {
  display: flex;
  align-items: center;
  gap: 3px;
}
.month-checkboxes input {
  accent-color: #83a55d;
}
dialog {
  border: 1px solid #dfe7d1;
  border-radius: 12px;
  padding: 28px 31px;
  background: #fffef8;
  color: #506b3e;
  width: 570px;
  max-width: calc(100vw - 28px);
  max-height: 90dvh;
  overflow-y: auto;
  box-shadow: 0 30px 90px #23371128;
}
dialog.wide {
  width: 850px;
}
dialog::backdrop {
  background: #283f2355;
  backdrop-filter: blur(3px);
}
.modal-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.modal-heading h2 {
  font-size: 29px;
  letter-spacing: -0.7px;
  margin: 0;
}
.modal-heading button {
  font-size: 25px;
  color: #99ab82;
  line-height: 1;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  z-index: 80;
  padding: 12px 20px;
  background: #405d32;
  color: #fbfff3;
  box-shadow: 0 4px 22px #263e1828;
  border-radius: 7px;
  opacity: 0;
  pointer-events: none;
  transition: 0.15s;
  font-size: 12px;
  max-width: 90vw;
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
[hidden] {
  display: none !important;
}
.login-page {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 40px;
  background: #eeefe7;
}
.login-shell {
  width: 1050px;
  max-width: 100%;
  min-height: 660px;
  background: #fffef8;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 20px 70px #2b421319;
}
.login-photo {
  position: relative;
  min-height: 660px;
  background: url("./images/olympic.jpg") center/cover;
  padding: 39px 37px;
}
.login-photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(#1d352d40, #1b332a15 30%, #192e23d9);
}
.wordmark.light {
  position: relative;
  color: #f3f2df;
}
.wordmark.light small {
  color: #d5ddc2;
}
.login-caption {
  position: absolute;
  bottom: 92px;
  left: 38px;
  right: 25px;
  color: #f8f3e1;
}
.login-caption .eyebrow {
  font-size: 8px;
  color: #d3dbc1;
  letter-spacing: 2px;
}
.login-caption h1 {
  font-size: 44px;
  line-height: 1.2;
  margin: 19px 0;
  letter-spacing: -1.3px;
}
.login-caption p {
  font-size: 12px;
  line-height: 1.8;
  color: #d0dbbe;
}
.photo-credit {
  position: absolute;
  bottom: 28px;
  left: 38px;
  font-size: 8px;
  letter-spacing: 0.4px;
  color: #adbda0;
}
.login-card {
  padding: 62px 50px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.stamp {
  font-size: 8px;
  letter-spacing: 1.3px;
  color: #a9af93;
}
.drawn-sun {
  font-size: 66px;
  color: #baaa76;
  font-weight: 400;
  margin: 34px 0 18px;
}
.login-card h2 {
  font-size: 36px;
  letter-spacing: -1px;
  color: #5c7548;
  margin: 0 0 17px;
}
.login-card > p {
  font-size: 12px;
  color: #9aa887;
  line-height: 1.9;
}
.telegram-login {
  margin: 26px 0 13px;
  min-height: 45px;
}
.login-card .fine {
  font-size: 9px;
  max-width: 230px;
}
.setup-note {
  background: #f0f3e8;
  border: 1px solid #e1e8d3;
  border-radius: 8px;
  padding: 20px 23px;
  margin: 26px 0;
  text-align: left;
}
.setup-note .small-label {
  font-size: 8px;
  letter-spacing: 1px;
}
.setup-note h3 {
  font-size: 22px;
  margin: 10px 0;
  color: #738a5b;
}
.setup-note p {
  font-size: 11px;
  color: #9aa987;
  line-height: 1.75;
  margin: 0;
}
.login-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  font-size: 8px;
  color: #b0b89e;
  margin-top: auto;
  padding-top: 30px;
}
@media (min-width: 1650px) {
  #content {
    padding: 45px 70px 60px;
  }
  .hero {
    height: 250px;
  }
  .place-thumb {
    width: 90px;
    height: 72px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 205px;
    padding: 32px 17px 0;
  }
  .main {
    margin-left: 205px;
    width: calc(100% - 205px);
  }
  #content {
    padding: 30px 30px 50px;
  }
  .topbar {
    padding: 0 30px;
  }
  .wordmark > span {
    font-size: 23px;
  }
  .months {
    min-width: 105px;
  }
  .place-row {
    gap: 12px;
  }
  .place-info h3 {
    font-size: 16px;
  }
  .status-pill {
    min-width: 55px;
  }
  .stat .label {
    font-size: 8px;
  }
}
@media (max-width: 950px) {
  .sidebar {
    width: 185px;
    padding: 27px 13px 0;
  }
  .main {
    margin-left: 185px;
    width: calc(100% - 185px);
  }
  .wordmark {
    font-size: 36px;
    gap: 8px;
  }
  .wordmark > span {
    font-size: 21px;
  }
  .nav-link {
    font-size: 11px;
    padding: 11px 10px;
  }
  .sidebar-note {
    padding: 22px 12px;
  }
  .sidebar-note p {
    font-size: 16px;
  }
  .handwritten {
    font-size: 17px;
  }
  .months {
    display: none;
  }
  .page-heading h1 {
    font-size: 33px;
  }
  .hero h2 {
    font-size: 28px;
  }
  .hero-content {
    padding: 30px 25px;
  }
  .stats-row {
    gap: 10px;
  }
  .stat {
    gap: 9px;
    padding-right: 10px;
  }
  .stat-icon {
    width: 30px;
    height: 30px;
  }
  .stat .number {
    font-size: 22px;
  }
  .journal-grid,
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .profile {
    font-size: 10px;
  }
  .profile small {
    font-size: 8px;
  }
  .filters select {
    max-width: 140px;
  }
  .login-card {
    padding: 45px 30px 25px;
  }
  .login-card h2 {
    font-size: 31px;
  }
}
@media (max-width: 700px) {
  .sidebar {
    transform: translateX(-100%);
    width: 230px;
    transition: transform 0.2s;
    box-shadow: 8px 0 40px #23351b20;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main {
    margin-left: 0;
    width: 100%;
  }
  .topbar {
    height: 61px;
    padding: 0 20px;
  }
  .mobile-toggle {
    display: block;
    padding: 0;
    color: #839971;
  }
  .topbar > div {
    gap: 10px;
  }
  .breadcrumb {
    font-size: 10px;
  }
  .breadcrumb i {
    margin: 0 8px;
  }
  .private-tag {
    font-size: 8px;
  }
  .avatar.small {
    display: none;
  }
  #content {
    padding: 27px 20px 40px;
  }
  .page-heading {
    align-items: flex-start;
    margin-bottom: 20px;
  }
  .page-heading h1 {
    font-size: 31px;
  }
  .page-heading p {
    font-size: 10px;
    max-width: 210px;
  }
  .page-heading .button {
    padding: 9px 10px;
    font-size: 10px;
  }
  .eyebrow {
    font-size: 7px;
  }
  .hero {
    height: 190px;
    border-radius: 8px;
    margin-bottom: 24px;
  }
  .hero-content {
    padding: 27px 22px;
  }
  .hero h2 {
    font-size: 26px;
  }
  .hero p {
    font-size: 9px;
    max-width: 210px;
  }
  .hero-badge {
    right: 15px;
    bottom: 13px;
    font-size: 7px;
  }
  .hero-badge svg {
    display: none;
  }
  .stats-row {
    gap: 8px;
    margin-bottom: 26px;
  }
  .stat {
    gap: 8px;
    padding-right: 7px;
  }
  .stat-icon {
    width: 27px;
    height: 27px;
  }
  .stat-icon svg {
    width: 15px;
    height: 15px;
  }
  .stat .number {
    font-size: 22px;
  }
  .stat .label {
    font-size: 7px;
  }
  .section-toolbar h2 {
    font-size: 20px;
  }
  .group-switch button {
    font-size: 9px;
    padding: 7px 8px;
  }
  .group-switch svg {
    display: none;
  }
  .filters {
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 22px;
  }
  .search-box {
    flex-basis: 100%;
    padding: 11px 12px;
  }
  .filters select {
    max-width: none;
    flex: 1;
    font-size: 10px;
  }
  .place-row {
    padding: 10px;
    gap: 11px;
  }
  .place-thumb {
    width: 61px;
    height: 63px;
  }
  .place-info h3 {
    font-size: 16px;
    line-height: 1.25;
  }
  .place-meta {
    font-size: 8px;
    gap: 5px;
  }
  .status-pill {
    min-width: 0;
    font-size: 7px;
  }
  .row-arrow {
    display: none;
  }
  .app-footer {
    padding: 20px;
    font-size: 8px;
  }
  .group-title {
    font-size: 9px;
  }
  .detail-panel {
    width: 100%;
  }
  .detail-image {
    height: 190px;
  }
  .detail-body {
    padding: 24px;
  }
  .review-layout {
    grid-template-columns: 1fr;
  }
  .review-video {
    max-height: 220px;
  }
  .reel-card {
    padding: 16px;
    gap: 14px;
  }
  .reel-cover {
    width: 65px;
    height: 95px;
  }
  .reel-info h3 {
    font-size: 18px;
  }
  .reel-info p {
    font-size: 10px;
  }
  .button {
    padding: 10px 12px;
    font-size: 10px;
  }
  .journal-card {
    padding: 20px;
  }
  dialog {
    padding: 23px 20px;
  }
  .modal-heading h2 {
    font-size: 25px;
  }
  .login-page {
    padding: 18px;
  }
  .login-shell {
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
    min-height: auto;
    max-width: 480px;
  }
  .login-photo {
    min-height: 280px;
    padding: 25px;
  }
  .login-photo .wordmark {
    font-size: 32px;
  }
  .login-photo .wordmark > span {
    font-size: 22px;
  }
  .login-caption {
    bottom: 38px;
    left: 25px;
  }
  .login-caption .eyebrow {
    font-size: 7px;
  }
  .login-caption h1 {
    font-size: 32px;
    margin: 10px 0;
  }
  .login-caption p {
    display: none;
  }
  .photo-credit {
    bottom: 15px;
    left: 25px;
    font-size: 7px;
  }
  .login-card {
    padding: 30px 25px 23px;
  }
  .drawn-sun {
    font-size: 48px;
    margin: 20px 0 13px;
  }
  .login-card h2 {
    font-size: 29px;
  }
  .setup-note {
    margin: 18px 0;
  }
  .login-footer {
    padding-top: 15px;
  }
  .stamp {
    font-size: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
.modal-error {
  color: #b48060;
  font-size: 11px;
  margin: 12px 0;
}
.danger-link {
  color: #bc9b81;
  font-size: 10px;
}
.source-note {
  font-size: 9px;
  color: #9cac83;
  line-height: 1.7;
  margin-top: 16px;
}
.wide-input {
  grid-column: 1/-1;
}

/* Let each overlay own its scroll without moving the page underneath. */
.detail-panel,
dialog,
.sidebar {
  overscroll-behavior: contain;
}
@media (max-width: 700px) {
  .field input,
  .field select,
  .field textarea,
  .search-box input {
    font-size: 16px;
  }
  .stat .label {
    font-size: 9px;
    line-height: 1.5;
  }
  .stat-icon {
    display: none;
  }
  .stat {
    align-items: flex-start;
  }
  .place-meta {
    font-size: 10px;
  }
  .nav-link {
    min-height: 44px;
  }
  .months {
    display: none;
  }
}

@media (max-width: 700px) {
  .place-row {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .place-info {
    flex: 1 1 145px;
  }
  .months {
    display: flex;
    order: 4;
    margin-left: 72px;
    flex-basis: calc(100% - 72px);
    justify-content: flex-start;
  }
  .month-tag {
    font-size: 10px;
  }
  .months-empty {
    font-size: 10px;
  }
}

html {
  scrollbar-gutter: stable;
}
body.detail-open {
  overflow: hidden;
}
.batch-card {
  margin-bottom: 12px;
}
.batch-selection {
  max-height: 40vh;
  overflow: auto;
  margin-bottom: 18px;
}
.batch-selection .check-item {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.batch-selection input {
  flex-shrink: 0;
}
.settings-card .job-row {
  overflow-wrap: anywhere;
}
button:disabled {
  cursor: default;
}
.detail-block .text-link {
  display: inline-block;
  margin-top: 8px;
}
summary {
  cursor: pointer;
  padding: 12px 0;
}
.fine,
.climate-note,
.field-help,
.settings-card p {
  color: #69775b;
}
.field {
  color: #62764e;
}
