html,
body {
  font-family: "Noto Sans KR", "SUIT", sans-serif;
  background: #f6f8fc;
  color: #1f2937;
}

.app-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e7ecf4;
}

.app-nav-shell {
  min-height: 72px;
}

.app-brand {
  font-size: 1.32rem;
  font-weight: 800;
  color: #1f3a8a;
  letter-spacing: -0.02em;
}

.app-brand:hover {
  color: #1e40af;
}

.app-nav-primary .nav-link {
  margin-right: 0.25rem;
  padding: 0.6rem 0.88rem;
  border-radius: 0.7rem;
  font-weight: 700;
  color: #334155;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.app-nav-primary .nav-link:hover {
  background: #eef3ff;
  color: #1d4ed8;
}

.app-nav-primary .nav-link.active {
  background: #e7efff;
  color: #1d4ed8;
}

.app-nav-primary .app-nav-locked-link,
.app-nav-primary .app-nav-locked-link.active {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: #475569;
  background: linear-gradient(180deg, #f8fafd 0%, #f1f5f9 100%);
  border: 1px solid #d8e1ef;
  border-radius: 0.78rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.app-nav-primary .app-nav-locked-link:hover {
  color: #334155;
  border-color: #c4d0e4;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.app-nav-primary .app-nav-lock-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 999px;
  background: #e2e8f0;
  font-size: 0.8rem;
  line-height: 1;
}

.app-nav-primary .app-nav-lock-label {
  font-weight: 700;
}

.app-nav-primary .app-nav-lock-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #64748b;
  background: #e8eef8;
}

.app-nav-btn {
  border-radius: 0.7rem;
  padding: 0.5rem 0.88rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.app-nav-btn-soft {
  background: #f3f6fb;
  color: #334155;
  border-color: #dde5f1;
}

.app-nav-btn-soft:hover {
  background: #e9eff8;
  color: #0f172a;
}

.app-nav-btn-ghost {
  background: #fff;
  color: #334155;
  border-color: #dbe3ef;
}

.app-nav-btn-ghost:hover {
  background: #f8fafc;
}

.app-nav-btn-primary {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

.app-nav-btn-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
}

.app-nav-menu {
  border: 1px solid #dee6f1;
  border-radius: 0.8rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  padding: 0.42rem;
}

.app-nav-menu .dropdown-item {
  border-radius: 0.55rem;
  font-weight: 600;
  color: #334155;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.app-nav-menu .dropdown-item:hover {
  background: #eff5ff;
  color: #1d4ed8;
}

@media (max-width: 991.98px) {
  .app-nav-shell {
    min-height: 64px;
  }

  .app-nav-primary {
    margin-top: 0.7rem;
    margin-bottom: 0.5rem;
  }

  .app-nav-primary .nav-link {
    margin-right: 0;
  }

  .app-nav-primary .app-nav-lock-chip {
    display: none;
  }

  .app-nav-actions {
    margin-top: 0.4rem;
    padding-top: 0.6rem;
    border-top: 1px solid #e8edf6;
  }
}

.feedback-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1040;
  border: 1px solid #dbe4f4;
  background: rgba(255, 255, 255, 0.95);
  color: #334155;
  border-radius: 999px;
  height: 40px;
  padding: 0 0.95rem;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.feedback-fab:hover {
  background: #f8fbff;
  color: #1d4ed8;
}

.feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 1090;
}

.feedback-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
}

.feedback-dialog {
  position: relative;
  width: min(420px, calc(100% - 28px));
  margin: auto;
  top: 10vh;
  border-radius: 1rem;
  border: 1px solid #dce6f5;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.24);
}

.feedback-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.feedback-head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}

.feedback-close-btn {
  border: 1px solid #d6e0ef;
  background: #fff;
  color: #334155;
  border-radius: 0.55rem;
  font-size: 0.8rem;
  padding: 0.3rem 0.55rem;
}

.feedback-sub {
  margin: 0.45rem 0 0.75rem;
  color: #64748b;
  font-size: 0.86rem;
}

.feedback-form {
  display: grid;
  gap: 0.58rem;
}

.feedback-field label {
  display: inline-block;
  margin-bottom: 0.24rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
}

.feedback-field input,
.feedback-field select,
.feedback-field textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 0.62rem;
  padding: 0.5rem 0.58rem;
  font-size: 0.9rem;
  background: #fff;
  color: #0f172a;
}

.feedback-field input[readonly] {
  background: #f8fafc;
  color: #475569;
}

.feedback-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.15rem;
}

.feedback-btn {
  border-radius: 0.62rem;
  border: 1px solid transparent;
  padding: 0.45rem 0.76rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.feedback-btn.ghost {
  background: #fff;
  color: #334155;
  border-color: #d5dfef;
}

.feedback-btn.primary {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

.feedback-btn.primary:disabled {
  opacity: 0.55;
  cursor: default;
}

@media (max-width: 768px) {
  .feedback-fab {
    right: 12px;
    bottom: 12px;
    height: 36px;
    padding: 0 0.78rem;
    font-size: 0.8rem;
  }

  .feedback-dialog {
    top: 7vh;
  }
}
