@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap");
:root {
  --bg: #f5f4ef;
  --paper: #fffefa;
  --ink: #273c37;
  --muted: #78817a;
  --line: #e1e4da;
  --coral: #df725b;
  --sage: #e7ecdf;
  --lime: #dce4b1;
  --shadow: 0 14px 40px #263d3810;
  font-family: "DM Sans", "Noto Sans KR", sans-serif;
  color: var(--ink);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  font-size: 14px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #d89565;
  outline-offset: 3px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #94a28d;
  outline-offset: 1px;
}
svg {
  display: block;
}
button svg {
  flex-shrink: 0;
}
.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.shell {
  display: grid;
  grid-template-columns: 226px 1fr;
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 35px 24px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  background: #f8f7f2;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1.3px;
  text-decoration: none;
  border: 0;
  background: none;
  padding: 0;
}
.brand img {
  width: 29px;
}
.brand small {
  font-size: 9px;
  letter-spacing: 1px;
  align-self: flex-end;
  margin-bottom: 6px;
  color: var(--muted);
}
.nav-caption {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
  color: #949b91;
  margin: 51px 12px 14px;
}
.nav-list {
  display: grid;
  gap: 6px;
}
.nav-link {
  border: 0;
  background: none;
  border-radius: 10px;
  padding: 14px 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #818b80;
  text-align: left;
  font-weight: 500;
}
.nav-link.active {
  background: #e9edde;
  color: var(--ink);
  font-weight: 700;
}
.nav-link:hover {
  background: #eef0e7;
}
.nav-link .count {
  margin-left: auto;
  font-size: 11px;
  border-radius: 5px;
  background: #fff8;
  padding: 2px 6px;
}
.sidebar-bottom {
  margin-top: auto;
}
.brand-note {
  border-top: 1px solid var(--line);
  padding: 23px 8px 16px;
}
.brand-note p {
  line-height: 1.9;
  color: var(--muted);
  font-size: 12px;
  margin: 8px 0;
}
.tiny-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 600;
}
.local-label {
  color: #969c91;
  font-size: 10px;
  padding: 6px 8px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #82a28a;
}
.main-wrap {
  min-width: 0;
}
.topbar {
  height: 83px;
  border-bottom: 1px solid var(--line);
  padding: 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f8f7f260;
}
.breadcrumb {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 10px;
  color: #909789;
  letter-spacing: 1.2px;
}
.breadcrumb strong {
  color: #475c4b;
  font-weight: 600;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pill {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 30px;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--paper);
}
.avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ece3d6;
  color: #8c694e;
  font-size: 11px;
  font-weight: 700;
  border: 2px solid var(--bg);
}
.avatar.partner {
  background: #dee6db;
  color: #647c63;
}
.avatars {
  display: flex;
}
.avatars .avatar + .avatar {
  margin-left: -7px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 41px;
  border-radius: 9px;
  padding: 11px 17px;
  font-weight: 600;
  border: 1px solid transparent;
  text-decoration: none;
  transition:
    background 0.15s,
    transform 0.15s;
  font-size: 12px;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--ink);
  color: #fffef7;
}
.btn-primary:hover {
  background: #3b5147;
}
.btn-coral {
  background: var(--coral);
  color: white;
}
.btn-light {
  background: var(--paper);
  border-color: var(--line);
}
.btn-soft {
  background: var(--sage);
}
.btn-text {
  background: transparent;
  padding: 8px 5px;
  font-size: 12px;
}
.btn-small {
  padding: 8px 11px;
  min-height: 34px;
  font-size: 11px;
}
.btn-wide {
  width: 100%;
}
.icon-btn {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 50%;
  width: 33px;
  height: 33px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.icon-btn .icon {
  width: 16px;
  height: 16px;
}
.icon-btn.selected {
  background: #f4ded5;
  color: #c4614b;
  border-color: #eabeb0;
}
.icon-btn.selected .icon {
  fill: #c4614b22;
}
.icon-btn:hover {
  border-color: #9caa94;
}
.content {
  padding: 34px 44px 55px;
  max-width: 1590px;
  margin: auto;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.6px;
  font-weight: 700;
  color: #788a66;
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow:before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 252px;
  align-items: center;
  margin-bottom: 33px;
  position: relative;
}
.hero h1 {
  font-size: 37px;
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: -1.8px;
  margin: 14px 0 14px;
}
.hero h1 em {
  font-style: normal;
  color: var(--coral);
}
.hero .sub {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0;
  max-width: 450px;
}
.hero-art {
  height: 260px;
  position: relative;
  display: grid;
  place-items: center;
}
.hero-art svg {
  width: 100%;
  max-width: 440px;
  height: 250px;
}
.hero-art .note-label {
  position: absolute;
  bottom: 2px;
  right: 12px;
  transform: rotate(-5deg);
  font-family: serif;
  font-size: 17px;
  color: #929b7b;
  font-style: italic;
}
.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: start;
}
.section-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 17px;
}
.section-line h2 {
  font-size: 19px;
  letter-spacing: -0.7px;
  margin: 0;
  font-weight: 700;
}
.section-line p {
  font-size: 11px;
  color: var(--muted);
  margin: 5px 0 0;
}
.overline {
  color: #a0a694;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.6px;
}
.region-tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 17px 0 22px;
}
.chip {
  border: 1px solid var(--line);
  padding: 8px 13px;
  border-radius: 30px;
  font-size: 11px;
  color: #7d8778;
  background: transparent;
}
.chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #f9faf3;
}
.chip:hover {
  border-color: #8d9b81;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.course-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.course-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.course-art {
  height: 160px;
  position: relative;
  overflow: hidden;
  background: #e4e8d8;
  padding: 15px;
  cursor: pointer;
}
.course-art.theme-1 {
  background: #eee3d5;
}
.course-art.theme-2 {
  background: #dde7e7;
}
.course-art.theme-3 {
  background: #e8e1d2;
}
.course-art.theme-4 {
  background: #eee5da;
}
.course-art.theme-5 {
  background: #e2e5ec;
}
.course-area {
  position: absolute;
  left: 13px;
  top: 13px;
  padding: 5px 8px;
  font-size: 9px;
  letter-spacing: 0.4px;
  background: #fffdf3ce;
  border-radius: 5px;
  backdrop-filter: blur(5px);
  z-index: 1;
}
.course-no {
  position: absolute;
  bottom: 12px;
  right: 15px;
  font-size: 39px;
  color: #687c5540;
  letter-spacing: -3px;
  font-weight: 500;
}
.course-body {
  padding: 17px;
}
.course-body .tags {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.tag {
  font-size: 9px;
  color: #7c8569;
  padding: 3px 6px;
  border-radius: 4px;
  background: #eef0e5;
}
.course-body h3 {
  font-size: 15px;
  letter-spacing: -0.7px;
  margin: 0 0 8px;
  line-height: 1.55;
}
.course-body .description {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
  min-height: 39px;
}
.course-meta {
  display: flex;
  gap: 10px;
  color: #8c937f;
  font-size: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #ecede4;
}
.course-meta span {
  display: flex;
  gap: 4px;
  align-items: center;
}
.course-meta .icon {
  width: 12px;
  height: 12px;
}
.card-link {
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
}
.course-footnote {
  font-size: 10px;
  color: #969d91;
  line-height: 1.7;
  margin: 12px 0 25px;
}
.aside-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 21px;
  margin-bottom: 16px;
}
.aside-card h3 {
  font-size: 15px;
  margin: 0 0 7px;
  letter-spacing: -0.5px;
}
.aside-card p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.85;
}
.aside-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 19px;
}
.empty-plan {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0 7px;
}
.empty-art {
  position: relative;
  width: 112px;
  height: 82px;
  margin: 10px 0 13px;
}
.empty-art span {
  position: absolute;
  display: grid;
  place-items: center;
  width: 55px;
  height: 66px;
  border: 1px solid #d5dacb;
  border-radius: 7px;
  background: #f7f7ee;
  transform: rotate(-12deg);
  left: 9px;
  top: 0;
}
.empty-art span + span {
  background: #e9edde;
  transform: rotate(12deg);
  left: 47px;
  top: 8px;
}
.empty-art .icon {
  width: 23px;
  height: 23px;
  color: #899a73;
}
.empty-plan h4 {
  font-size: 13px;
  margin: 6px 0 2px;
}
.empty-plan p {
  font-size: 11px;
  margin: 7px 0 20px;
}
.step-hint {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 18px 0;
}
.step-hint b {
  font-family: serif;
  font-size: 18px;
  color: #a6b096;
  font-weight: 400;
}
.step-hint span {
  font-size: 11px;
  line-height: 1.7;
  color: #788575;
}
.step-hint span strong {
  display: block;
  color: #465845;
  font-size: 11px;
  font-weight: 500;
}
.source-note {
  padding: 17px 20px;
  border: 1px dashed #cfd6c3;
  border-radius: 12px;
}
.source-note h4 {
  font-size: 11px;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.source-note .icon {
  width: 14px;
  height: 14px;
}
.source-note p {
  font-size: 10px;
  line-height: 1.9;
  color: #8b937f;
  margin: 0;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}
.section-space {
  margin-top: 32px;
}
.place-list {
  display: grid;
  gap: 10px;
}
.place-row {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px;
  background: var(--paper);
}
.place-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #edf0e3;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #8e9d79;
}
.place-icon.cafe {
  background: #f2e8da;
  color: #a18b6c;
}
.place-icon.restaurant {
  background: #f0e2da;
  color: #b68771;
}
.place-icon.culture {
  background: #e1e9e9;
  color: #729090;
}
.place-info {
  min-width: 0;
  flex: 1;
}
.place-info h4 {
  font-size: 12px;
  margin: 0 0 5px;
  line-height: 1.5;
}
.place-info h4 button {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  font-weight: 600;
}
.place-info p {
  font-size: 10px;
  color: #909789;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.place-actions {
  display: flex;
  gap: 6px;
}
.evidence-badge {
  font-size: 9px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #718568;
  background: #eff2e8;
  border-radius: 4px;
  padding: 3px 6px;
  margin-top: 7px;
}
.evidence-badge.partial {
  background: #f3ece1;
  color: #a1845f;
}
.mutual {
  font-size: 9px;
  color: var(--coral);
  margin-top: 6px;
}
.search-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  background: var(--paper);
  font-size: 12px;
}
.filter-row {
  display: flex;
  gap: 8px;
  margin: 16px 0 23px;
  flex-wrap: wrap;
}
.page-title {
  font-size: 29px;
  letter-spacing: -1.4px;
  margin: 6px 0 10px;
}
.page-subtitle {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 27px;
}
.places-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.no-results {
  padding: 45px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 10px;
  line-height: 1.9;
}
.plan-title {
  font-size: 16px;
  line-height: 1.65;
  margin: 12px 0;
}
.plan-date {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.plan-date .icon {
  width: 12px;
  height: 12px;
}
.plan-stops {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.plan-stop {
  position: relative;
  display: flex;
  gap: 10px;
  padding: 0 0 19px;
  align-items: flex-start;
}
.plan-stop:not(:last-child):before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 0;
  left: 11px;
  border-left: 1px dashed #cbd3c2;
}
.stop-number {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #edf0e3;
  display: grid;
  place-items: center;
  font-size: 10px;
  flex-shrink: 0;
}
.plan-stop h4 {
  font-size: 11px;
  margin: 2px 0 5px;
  font-weight: 600;
}
.plan-stop small {
  font-size: 9px;
  color: var(--muted);
}
.plan-stop .stop-detail {
  flex: 1;
  min-width: 0;
}
.stop-actions {
  display: flex;
  gap: 2px;
}
.stop-actions button {
  border: 0;
  background: none;
  color: #8d9888;
  width: 23px;
  height: 25px;
  display: grid;
  place-items: center;
  padding: 0;
}
.stop-actions .icon {
  width: 13px;
  height: 13px;
}
.version-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border: 1px solid #dae0d1;
  border-radius: 4px;
  font-size: 9px;
  color: #85916f;
}
.consent-box {
  background: #f2f4ea;
  border-radius: 9px;
  padding: 13px;
  margin: 16px 0;
}
.consent-box.confirmed {
  background: #e5ecdb;
}
.consent-box h4 {
  margin: 0 0 9px;
  font-size: 11px;
}
.consent-member {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  margin: 8px 0;
}
.consent-member .check {
  margin-left: auto;
  color: #8c9878;
}
.consent-member .avatar {
  width: 25px;
  height: 25px;
  font-size: 9px;
}
.fine {
  font-size: 10px !important;
  color: #8a917e !important;
  line-height: 1.85;
}
.notice {
  font-size: 11px;
  line-height: 1.85;
  background: #f4eadb;
  border: 1px solid #e9dcc7;
  padding: 12px 14px;
  border-radius: 8px;
  color: #9b8058;
  margin: 12px 0;
}
.row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.history-list {
  display: grid;
  gap: 14px;
}
.history-item {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  padding: 21px;
}
.history-item h3 {
  font-size: 15px;
  margin: 9px 0;
}
.history-item p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
}
.history-date {
  font-size: 10px;
  color: #939c89;
}
.planner-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
}
.route-panel {
  background: #e9eddf;
  border: 1px solid #dce2d2;
  border-radius: 12px;
  padding: 25px;
}
.route-panel svg {
  width: 100%;
  height: 280px;
}
.route-panel p {
  font-size: 10px;
  line-height: 1.8;
  color: #89967b;
  margin: 0;
}
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin: 20px 0;
}
.info-cell {
  background: #f5f5ed;
  border-radius: 9px;
  padding: 13px;
}
.info-cell small {
  font-size: 10px;
  color: #8c957f;
  display: block;
  margin-bottom: 8px;
}
.info-cell strong {
  font-size: 12px;
  font-weight: 500;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: #243b3657;
  backdrop-filter: blur(5px);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  animation: fade 0.15s;
}
.modal {
  width: 100%;
  max-width: 590px;
  max-height: 90vh;
  overflow: auto;
  border-radius: 17px;
  background: var(--paper);
  box-shadow: 0 25px 90px #153c3626;
  padding: 30px;
  position: relative;
}
.modal.wide {
  max-width: 780px;
}
.modal-close {
  position: absolute;
  right: 17px;
  top: 17px;
  background: #f0f1e9;
  border: 0;
  border-radius: 50%;
  height: 30px;
  width: 30px;
  display: grid;
  place-items: center;
  color: #869278;
}
.modal-close .icon {
  width: 16px;
  height: 16px;
}
.modal h2 {
  font-size: 23px;
  letter-spacing: -1px;
  margin: 7px 32px 11px 0;
}
.modal .modal-sub {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0 0 22px;
}
.modal label {
  display: block;
  font-size: 11px;
  margin: 17px 0 8px;
  font-weight: 600;
}
.modal input,
.modal textarea,
.modal select {
  width: 100%;
  border: 1px solid #dae0d1;
  background: #fafbf5;
  border-radius: 8px;
  padding: 12px;
  font-size: 13px;
  color: var(--ink);
}
.modal textarea {
  min-height: 82px;
  resize: vertical;
}
.form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 25px;
}
.source-list {
  padding-left: 18px;
  line-height: 1.9;
  font-size: 11px;
  color: #7f8b73;
}
.source-list li {
  margin: 9px 0;
}
.source-list a {
  word-break: break-word;
}
.form-error {
  font-size: 12px;
  line-height: 1.7;
  color: #ad5949;
  margin-top: 15px;
}
.route-preview {
  background: #edf0e1;
  border-radius: 10px;
  padding: 14px;
  margin: 18px 0;
}
.route-preview svg {
  width: 100%;
  height: 170px;
}
.stop-preview {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e8ecde;
}
.stop-preview h4 {
  font-size: 13px;
  margin: 0 0 6px;
}
.stop-preview p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}
.detail-memo {
  font-size: 12px;
  line-height: 1.9;
  color: #748068;
}
.detail-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.invite-link {
  font-family: monospace !important;
  font-size: 11px !important;
  word-break: break-all;
  background: #f0f2e8;
  padding: 13px;
  border-radius: 8px;
  color: #68765c;
  line-height: 1.8;
}
.boot {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.boot b {
  font-size: 43px;
  letter-spacing: -2px;
}
.boot b span {
  color: var(--coral);
}
.boot p {
  font-size: 12px;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #2b423d;
  color: white;
  box-shadow: var(--shadow);
  padding: 13px 20px;
  border-radius: 10px;
  z-index: 40;
  max-width: 90vw;
  font-size: 12px;
  line-height: 1.7;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.connection-badge {
  font-size: 10px;
  color: #af755d;
}
.mobile-brand {
  display: none;
}
.footer-note {
  font-size: 10px;
  color: #a2a88f;
  text-align: center;
  margin-top: 35px;
  letter-spacing: 0.5px;
}
.more-link {
  font-size: 11px;
  border: 0;
  background: none;
  color: #697c58;
  display: flex;
  gap: 6px;
  align-items: center;
}
.more-link .icon {
  width: 13px;
  height: 13px;
}
.status-line {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  color: #7b886c;
  margin-bottom: 17px;
}
.loading-shimmer {
  height: 220px;
  background: #e8eadf;
  border-radius: 15px;
}
.empty-message {
  font-size: 12px;
  line-height: 1.9;
  color: #88927d;
  text-align: center;
  padding: 30px;
}
.agreement-warning {
  font-size: 10px;
  color: #bc8260;
  background: #f8eee1;
  border-radius: 7px;
  padding: 9px;
  line-height: 1.8;
}
.pill.signed-in {
  max-width: 210px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.leave-tab {
  font-size: 10px;
  text-align: left;
  background: none;
  border: 0;
  color: #929985;
  padding: 8px;
}
@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (min-width: 1500px) {
  .content {
    padding: 44px 65px;
  }
  .topbar {
    padding: 0 65px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero {
    min-height: 280px;
  }
  .course-art {
    height: 180px;
  }
  .workspace-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}
@media (max-width: 1200px) {
  .shell {
    grid-template-columns: 190px 1fr;
  }
  .sidebar {
    padding: 30px 18px;
  }
  .topbar {
    padding: 0 27px;
  }
  .content {
    padding: 29px 27px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .workspace-grid {
    grid-template-columns: minmax(0, 1fr) 275px;
    gap: 18px;
  }
  .aside-card {
    padding: 17px;
  }
  .course-body {
    padding: 14px;
  }
  .course-art {
    height: 137px;
  }
  .hero-art {
    height: 230px;
  }
  .hero-art svg {
    height: 220px;
  }
  .planner-layout {
    grid-template-columns: 1fr 300px;
    gap: 17px;
  }
}
@media (max-width: 1000px) {
  .workspace-grid {
    grid-template-columns: 1fr;
  }
  .right-rail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .right-rail > .aside-card {
    margin: 0;
  }
  .right-rail > .source-note {
    grid-column: 1/-1;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero-art {
    height: 200px;
  }
  .hero-art svg {
    height: 190px;
  }
  .hero {
    min-height: 215px;
  }
  .planner-layout {
    grid-template-columns: 1fr;
  }
  .places-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .shell {
    display: block;
    padding-bottom: 70px;
  }
  .sidebar {
    position: fixed;
    z-index: 10;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    height: 66px;
    padding: 0 8px;
    background: #fffefaf5;
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    border-right: 0;
    display: block;
  }
  .sidebar .brand,
  .nav-caption,
  .sidebar-bottom {
    display: none;
  }
  .nav-list {
    display: flex;
    height: 100%;
    justify-content: space-around;
    gap: 0;
  }
  .nav-link {
    flex: 1;
    padding: 9px 5px 6px;
    flex-direction: column;
    gap: 5px;
    border-radius: 0;
    font-size: 9px;
    position: relative;
  }
  .nav-link.active {
    background: transparent;
    color: var(--ink);
  }
  .nav-link.active:before {
    content: "";
    position: absolute;
    top: 0;
    left: calc(50% - 12px);
    width: 24px;
    height: 3px;
    background: var(--coral);
    border-radius: 0 0 3px 3px;
  }
  .nav-link .icon {
    width: 20px;
    height: 20px;
  }
  .nav-link .count {
    position: absolute;
    top: 5px;
    right: calc(50% - 25px);
    font-size: 8px;
    margin: 0;
    padding: 1px 4px;
    background: #e5eadc;
  }
  .topbar {
    height: 70px;
    padding: 0 21px;
    background: transparent;
  }
  .breadcrumb {
    display: none;
  }
  .mobile-brand {
    display: flex;
    font-size: 23px;
  }
  .mobile-brand img {
    width: 26px;
  }
  .top-actions {
    gap: 6px;
  }
  .top-actions .btn {
    padding: 9px 11px;
    font-size: 10px;
    min-height: 34px;
  }
  .top-actions .pill {
    padding: 6px 9px;
    font-size: 9px;
    max-width: 125px;
  }
  .top-actions .avatars {
    display: none;
  }
  .content {
    padding: 25px 21px 30px;
  }
  .hero {
    grid-template-columns: 1fr 0.75fr;
    margin-bottom: 24px;
    min-height: 210px;
  }
  .hero h1 {
    font-size: 26px;
    line-height: 1.6;
    letter-spacing: -1.3px;
    margin: 12px 0;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .hero .sub {
    font-size: 10px;
    line-height: 1.9;
  }
  .hero-art {
    height: 186px;
    margin-left: -16px;
    margin-right: -14px;
  }
  .hero-art svg {
    height: 175px;
  }
  .hero-art .note-label {
    font-size: 11px;
    bottom: 9px;
    right: 13px;
  }
  .section-line h2 {
    font-size: 17px;
  }
  .section-line .overline {
    font-size: 8px;
  }
  .region-tabs {
    gap: 6px;
    margin: 13px 0 17px;
  }
  .chip {
    font-size: 10px;
    padding: 8px 11px;
  }
  .course-grid {
    gap: 11px;
  }
  .course-art {
    height: 128px;
    padding: 10px;
  }
  .course-area {
    font-size: 8px;
    padding: 4px 6px;
    left: 9px;
    top: 9px;
  }
  .course-body {
    padding: 12px;
  }
  .course-body h3 {
    font-size: 13px;
    letter-spacing: -0.5px;
  }
  .course-body .description {
    font-size: 10px;
    line-height: 1.75;
    min-height: 50px;
  }
  .course-body .tag {
    font-size: 8px;
    padding: 3px 4px;
  }
  .course-meta {
    font-size: 9px;
    gap: 6px;
    flex-wrap: wrap;
  }
  .card-link {
    font-size: 9px;
  }
  .course-no {
    font-size: 30px;
  }
  .course-meta .icon {
    width: 11px;
    height: 11px;
  }
  .right-rail {
    display: block;
  }
  .right-rail > .aside-card {
    margin-bottom: 14px;
  }
  .source-note {
    margin-top: 14px;
  }
  .page-title {
    font-size: 26px;
  }
  .page-subtitle {
    font-size: 11px;
  }
  .modal-overlay {
    padding: 15px;
    align-items: center;
  }
  .modal {
    padding: 25px 22px;
    max-height: 91vh;
    border-radius: 15px;
  }
  .modal h2 {
    font-size: 21px;
  }
  .form-pair {
    gap: 10px;
  }
  .modal input,
  .modal textarea {
    font-size: 16px;
  }
  .modal .modal-sub {
    font-size: 11px;
  }
  .form-actions .btn {
    font-size: 11px;
  }
  .place-row {
    padding: 12px;
  }
  .place-icon {
    width: 42px;
    height: 42px;
  }
  .plan-title {
    font-size: 17px;
  }
  .planner-layout .aside-card {
    padding: 22px;
  }
  .route-panel {
    padding: 17px;
  }
  .route-panel svg {
    height: 235px;
  }
  #toast {
    bottom: 82px;
  }
  .hero:after {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.evidence-badge .icon {
  width: 10px;
  height: 10px;
}
.version-badge .icon {
  width: 11px;
  height: 11px;
}
.form-error:empty {
  display: none;
}
@media (max-width: 700px) {
  .course-body h3 {
    font-size: 14px;
  }
  .course-body .description {
    font-size: 11px;
  }
  .place-info h4 {
    font-size: 13px;
  }
  .place-info p {
    font-size: 11px;
  }
  .place-actions .icon-btn {
    width: 40px;
    height: 40px;
  }
  .card-link {
    min-height: 30px;
  }
  .evidence-badge {
    font-size: 10px;
  }
}
