:root {
  --bg: #FFFBF2;
  --paper: #FFFFFF;
  --ink: #1F261E;
  --muted: #616B5F;
  --pickle: #4EB857;
  --pickle-dark: #2B7532;
  --pickle-soft: #E5F8E6;
  --butter: #FFE566;
  --peach: #FF9E7D;
  --peach-soft: #FFF1EB;
  --sky: #CBEBFF;
  --danger: #E5484D;
  --danger-soft: #FFECEC;
  --line: #1F261E;
  --shadow: 3px 3px 0 #1F261E;
  --shadow-sm: 2px 2px 0 #1F261E;
  --radius: 16px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; width: 100%; max-width: 100%; overflow-x: clip; }
body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  background-image: radial-gradient(#E3DAC4 1.2px, transparent 1.2px);
  background-size: 20px 20px;
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* Topbar */
.topbar {
  width: 100%;
  background: var(--paper);
  border-bottom: 2px solid var(--line);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 30;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-badge {
  background: var(--butter);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.top-actions { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; flex-shrink: 0; }
.top-actions .btn {
  height: 38px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 800;
  border-radius: 10px;
  border: 2px solid var(--line);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  height: 38px;
  border: 2px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  box-sizing: border-box;
}
.lang-btn {
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  height: 100%;
  padding: 0 9px;
  border: none;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .12s, color .12s;
  box-sizing: border-box;
}
.lang-btn + .lang-btn { border-left: 1.5px solid var(--line); }
.lang-btn.active { background: var(--butter); color: var(--ink); }

/* Buttons & Pills */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  font-weight: 800;
  font-size: 13.5px;
  padding: 9px 15px;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-decoration: none;
  transition: transform .1s ease, box-shadow .1s ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--line); }
.btn:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--line); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-lg { font-size: 15.5px; padding: 12px 22px; border-radius: 14px; }
.btn-sm { font-size: 12px; padding: 6px 10px; border-radius: 10px; }
.btn-primary { background: var(--pickle); color: #fff; }
.btn-butter { background: var(--butter); color: var(--ink); }
.btn-danger { background: var(--danger-soft); color: var(--danger); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--pickle-soft);
  font-size: 12.5px;
  font-weight: 800;
}
.pill.paused { background: #EEECE4; color: var(--muted); }
.dot-live {
  width: 9px; height: 9px; border-radius: 2px;
  background: var(--pickle);
  border: 1.5px solid var(--line);
  animation: pulse 1.8s infinite;
}
.pill.paused .dot-live { background: #9AA098; animation: none; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.22); } }

.card {
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Pixel Mascot Animation */
.pixel-svg { image-rendering: pixelated; }
.px-ico {
  display: inline-block;
  vertical-align: -3px;
  image-rendering: pixelated;
  flex-shrink: 0;
}
.pixel-hop { animation: hop 2.4s ease-in-out infinite; }
@keyframes hop { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* Landing Page */
.landing-wrap {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 36px 20px 64px;
  display: flex;
  flex-direction: column;
  gap: 44px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 24px;
  box-shadow: 5px 5px 0 var(--line);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--butter);
  border: 2px solid var(--line);
  font-size: 12.5px;
  font-weight: 800;
  margin-bottom: 14px;
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.26;
  letter-spacing: -0.03em;
  font-weight: 900;
  word-break: keep-all;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 58%, var(--butter) 58%);
  padding: 0 4px;
  white-space: nowrap;
}
.hero p.lead {
  margin: 0 0 22px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  word-break: keep-all;
}
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-demo {
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.demo-bubble {
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 11px 13px;
  font-size: 13.5px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.demo-bubble.me { background: var(--butter); margin-left: 24px; }
.demo-bubble.bot { background: var(--pickle-soft); margin-right: 16px; }
.demo-yn {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  background: #1F261E; color: #ECFAED;
  padding: 10px 14px; border-radius: 12px; font-size: 12.5px; font-weight: 700;
}
.demo-yn > span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }

.sec-head { text-align: center; max-width: 680px; margin: 0 auto 22px; }
.sec-head h2 { margin: 0 0 8px; font-size: 26px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.3; }
.sec-head p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.6; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feat-card { padding: 20px; }
.feat-num {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  border: 2px solid var(--line); background: var(--butter);
  font-weight: 900; font-size: 15px; margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}
.feat-card h3 { margin: 0 0 6px; font-size: 17px; font-weight: 800; line-height: 1.38; }
.feat-card h3.feat-title-ico { display: flex; align-items: flex-start; gap: 7px; }
.feat-card h3.feat-title-ico .px-ico { margin-top: 2px; }
.feat-card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; }

.app-promo-card {
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: #FFFDF6;
}
.app-promo-body { flex: 1; min-width: 240px; }
.app-promo-pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 800; padding: 3px 10px;
  border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--butter); margin-bottom: 8px;
}
.app-promo-card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 900; line-height: 1.35; }
.app-promo-card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; }

.bottom-cta {
  padding: 30px 24px;
  text-align: center;
  background: var(--pickle-soft);
}
.bottom-cta h2 { margin: 0 0 8px; font-size: 24px; font-weight: 900; line-height: 1.35; }
.bottom-cta p { margin: 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.6; }

.faq-list { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.faq-item {
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  cursor: pointer; font-weight: 800; font-size: 15px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  line-height: 1.45;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary > span { flex-shrink: 0; }
.faq-item p { margin: 10px 0 0; font-size: 14px; color: var(--muted); line-height: 1.6; }

/* Auth Forms */
.auth-wrap {
  max-width: 440px;
  width: 100%;
  margin: 44px auto;
  padding: 0 18px;
}
.auth-card { padding: 28px 24px; }
.auth-head { text-align: center; margin-bottom: 20px; }
.auth-head h1 { margin: 8px 0 4px; font-size: 23px; font-weight: 900; }
.auth-head p { margin: 0; font-size: 13.5px; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 800; }
.field input, .field textarea, .field select {
  font-family: inherit;
  font-size: 14.5px;
  padding: 11px 13px;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus {
  background: #fff;
  box-shadow: 0 0 0 3px var(--pickle-soft);
}
.alert {
  padding: 11px 13px;
  border-radius: 12px;
  border: 2px solid var(--line);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.6;
  word-break: keep-all;
  margin-bottom: 14px;
}
.alert-err { background: var(--danger-soft); color: var(--danger); }
.alert-ok { background: var(--pickle-soft); color: var(--pickle-dark); }

/* Workspace (App) */
.layout {
  max-width: 1260px;
  width: 100%;
  margin: 18px auto;
  padding: 0 16px 28px;
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr) 320px;
  gap: 18px;
  flex: 1;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.layout > * { min-width: 0; max-width: 100%; }
.sidebar { padding: 16px; display: flex; flex-direction: column; gap: 16px; height: fit-content; }
.mascot-box {
  background: var(--pickle-soft);
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
}
.mascot-name { font-weight: 800; font-size: 15px; margin: 6px 0 3px; }
.mascot-desc { font-size: 12.5px; color: var(--muted); margin: 0; }
.side-search {
  width: 100%;
  font-family: inherit;
  font-size: 12.5px;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  margin-bottom: 8px;
  outline: none;
}
.side-search:focus { background: #fff; box-shadow: 0 0 0 2px var(--pickle-soft); }
.btn-link-clear {
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--danger);
  background: var(--danger-soft);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 3px 8px;
  cursor: pointer;
  white-space: nowrap;
}
.btn-link-clear:hover { filter: brightness(0.96); }
.filter-row { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 8px; }
.filter-btn {
  font-family: inherit; font-size: 11.5px; font-weight: 800;
  padding: 4px 9px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--bg); cursor: pointer;
}
.filter-btn.active { background: var(--butter); }
.task-list { display: flex; flex-direction: column; gap: 6px; max-height: 400px; overflow-y: auto; padding-right: 2px; }
.task-item {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 7px 9px;
  background: var(--bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.task-item:hover { background: #FFF5C9; }
.tag {
  font-size: 10.5px; font-weight: 800; padding: 2px 6px; border-radius: 6px;
  border: 1.5px solid var(--line); background: #fff;
  white-space: nowrap; flex-shrink: 0;
}
.tag-done { background: var(--pickle-soft); color: var(--pickle-dark); }
.tag-working { background: var(--sky); }
.tag-waiting { background: var(--butter); }
.tag-need_check { background: var(--peach); }
.tag-cancelled { background: #ECEAE4; color: var(--muted); }
.task-title { font-size: 12.5px; font-weight: 700; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.task-time { font-size: 10.5px; color: var(--muted); white-space: nowrap; flex-shrink: 0; }

/* Center Chat */
.chat-card { display: flex; flex-direction: column; min-height: 650px; overflow: hidden; }
.chat-head {
  padding: 14px 18px;
  border-bottom: 2px solid var(--line);
  background: #F6FBF4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.chat-head > div { min-width: 0; }
.chat-head .btn { flex-shrink: 0; white-space: nowrap; }
.chat-head h2 { margin: 0; font-size: 16px; font-weight: 800; }
.chat-head p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.upgrade-banner {
  margin: 12px 14px 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 2px solid var(--line);
  background: #FFF9D6;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.upgrade-banner.done { background: var(--pickle-soft); }
.upgrade-banner-text { flex: 1; min-width: 200px; font-size: 13px; line-height: 1.5; word-break: keep-all; }
.upgrade-banner-text b { color: var(--ink); }
.upgrade-banner-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; flex-shrink: 0; }
.chat-body {
  flex: 1;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
  background: #FFFDF8;
  max-height: 580px;
}
.empty-chat {
  margin: auto;
  text-align: center;
  max-width: 380px;
  padding: 24px 12px;
  color: var(--muted);
}
.empty-chat h3 { margin: 10px 0 6px; color: var(--ink); font-size: 17px; }
.msg-group { display: flex; flex-direction: column; gap: 10px; }
.msg { display: flex; gap: 10px; max-width: 92%; }
.msg.user { align-self: flex-end; flex-direction: row-reverse; }
.avatar-mini {
  width: 36px; height: 36px; flex-shrink: 0;
  border: 2px solid var(--line); border-radius: 10px;
  background: var(--pickle-soft);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.bubble {
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  line-height: 1.55;
  word-break: break-word;
}
.msg.user .bubble { background: var(--butter); }
.msg.bot .bubble.need-check { background: var(--peach-soft); border-color: #C84B31; }
.msg.bot.domain-mig-msg .bubble {
  background: #FFFDF2;
  border: 1.5px solid #E6C86E;
  border-radius: 14px;
  max-width: 100%;
}
.msg.bot.domain-mig-msg .bubble.mig-done-bubble {
  background: var(--pickle-soft);
  border-color: #4EB857;
}
.mig-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--ink);
}
.mig-body {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: #3B4339;
  word-break: keep-all;
}
.mig-waiting-pill {
  margin-top: 9px;
  padding: 8px 11px;
  border-radius: 10px;
  background: #FEF3C7;
  border: 1px dashed #D97706;
  color: #92400E;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
  word-break: keep-all;
}
.mig-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.mig-actions .btn { font-size: 13px; padding: 8px 12px; }
.mig-sub-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 9px;
}
.mig-link-btn {
  background: none;
  border: none;
  padding: 2px 0;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mig-link-btn:hover { color: var(--ink); }
.meta-line { font-size: 11.5px; color: var(--muted); margin-top: 7px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.stepper {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px;
  margin-top: 10px; padding-top: 10px; border-top: 1.5px dashed #C7BEAA;
}
.step {
  font-size: 11px; font-weight: 800; text-align: center; padding: 5px 3px;
  border-radius: 8px; border: 1.5px solid #D5CEBC; color: var(--muted); background: #FAF7EF;
}
.step.on { border-color: var(--line); background: var(--pickle-soft); color: var(--pickle-dark); }
.step.now {
  border-color: var(--line);
  color: var(--ink);
  background: repeating-linear-gradient(
    -45deg,
    #CBEBFF,
    #CBEBFF 8px,
    #E6F5FF 8px,
    #E6F5FF 16px
  );
  background-size: 22.6px 22.6px;
  animation: candyMove 0.9s linear infinite;
}
.step.waiting-now {
  border-color: var(--line);
  color: var(--ink);
  background: repeating-linear-gradient(
    -45deg,
    #FFE566,
    #FFE566 8px,
    #FFF3B0 8px,
    #FFF3B0 16px
  );
  background-size: 22.6px 22.6px;
  animation: candyMove 1.4s linear infinite;
}
.step.warn { border-color: var(--line); background: var(--peach); color: var(--ink); }
@keyframes candyMove { from { background-position: 0 0; } to { background-position: 22.6px 0; } }

.wait-cheer {
  margin-top: 8px;
  padding: 8px 11px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
}
.wait-cheer-left { display: flex; align-items: center; gap: 7px; min-width: 0; }
.runner-dot {
  display: inline-block;
  flex-shrink: 0;
  animation: wiggle 0.7s ease-in-out infinite alternate;
}
@keyframes wiggle {
  from { transform: translateY(0) rotate(-6deg); }
  to { transform: translateY(-3px) rotate(6deg); }
}
.wait-timer {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  background: var(--pickle-soft);
  border: 1.5px solid var(--line);
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: var(--pickle-dark);
}

/* Interactive Mascot */
.mascot-box { position: relative; cursor: pointer; user-select: none; transition: transform .12s ease, background .2s ease; }
.mascot-box:hover { transform: translateY(-1px); }
.mascot-picker {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1.5px dashed rgba(31, 38, 30, 0.2);
}
.skin-dot {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 2px solid var(--line);
  cursor: pointer;
  padding: 0;
  box-shadow: 1px 1px 0 var(--line);
  transition: transform .12s ease;
}
.skin-dot:hover { transform: scale(1.15); }
.skin-dot.active { outline: 2px solid var(--ink); outline-offset: 2px; transform: scale(1.12); }
.mascot-box.boing .pixel-svg { animation: boing .42s ease; }
@keyframes boing {
  0% { transform: scale(1) translateY(0); }
  35% { transform: scale(1.16, 0.88) translateY(-8px); }
  70% { transform: scale(0.94, 1.08) translateY(-2px); }
  100% { transform: scale(1) translateY(0); }
}
.mascot-pop {
  position: absolute;
  left: 50%;
  top: -12px;
  transform: translate(-50%, -100%);
  background: var(--ink);
  color: #fff;
  padding: 6px 11px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
  pointer-events: none;
  z-index: 15;
}
.mascot-pop::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--ink);
}

/* Pixel Confetti Burst */
.confetti-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 70;
  overflow: hidden;
}
.confetti-px {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--ink);
  animation: confettiFall 1.35s cubic-bezier(.15,.75,.35,1) forwards;
}
@keyframes confettiFall {
  0% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(320deg) scale(0.6); }
}

.result-box {
  margin-top: 8px; padding: 10px 12px; border-radius: 10px;
  background: #F4FBF5; border: 1.5px solid var(--pickle-dark);
  font-size: 13.5px; white-space: pre-wrap;
}
.chat-link {
  color: var(--pickle-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-all;
}
.chat-link:hover { color: #1B5E20; }
.bubble-actions { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }

.chat-foot {
  border-top: 2px solid var(--line);
  padding: 12px 14px;
  background: var(--paper);
  min-width: 0;
  max-width: 100%;
}
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; max-width: 100%; }
.chip {
  font-family: inherit; font-size: 12px; font-weight: 700;
  padding: 5px 10px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--bg); cursor: pointer;
}
.chip:hover { background: var(--butter); }
.composer {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.composer textarea, .composer input {
  flex: 1;
  font-family: inherit;
  font-size: 14.5px;
  line-height: 1.55;
  padding: 12px 14px;
  border-radius: 14px;
  border: 2px solid var(--line);
  background: var(--bg);
  outline: none;
  resize: none;
  min-height: 88px;
  max-height: 220px;
  box-sizing: border-box;
  overflow-y: auto;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.composer textarea:focus, .composer input:focus {
  background: #fff;
  box-shadow: 0 0 0 3px var(--pickle-soft);
}
.composer .btn {
  height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 800;
  border-radius: 12px;
  white-space: nowrap;
}
.composer-hint {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 6px;
  padding: 0 4px;
}
.composer-hint span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Right Panel */
.right-col { display: flex; flex-direction: column; gap: 16px; }
.panel { padding: 16px; }
.panel h3 { margin: 0 0 6px; font-size: 15px; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.panel p { margin: 0 0 10px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.yn-box {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border: 2px solid var(--line); border-radius: 12px;
  background: var(--bg); margin-bottom: 10px;
}
.yn-box > div { min-width: 0; }
.yn-badge {
  font-size: 13px; font-weight: 800; padding: 5px 11px; border-radius: 999px;
  border: 2px solid var(--line); background: var(--pickle); color: #fff;
  white-space: nowrap; flex-shrink: 0;
}
.yn-badge.n { background: #E4E4E0; color: var(--ink); }
.yn-badge.work { background: var(--sky); color: var(--ink); }
.prompt-preview {
  background: #1F261E; color: #ECFAED;
  border-radius: 12px; padding: 12px;
  font-size: 12px; line-height: 1.55;
  white-space: pre-wrap; margin-bottom: 10px;
  max-height: 190px; overflow-y: auto;
  word-break: break-all;
}
.switch-row {
  position: relative;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 9px 0; border-top: 1.5px dashed #DDD5C0; font-size: 13px; font-weight: 700;
}
.switch-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--pickle); cursor: pointer; flex-shrink: 0; }
.switch-label { display: inline-flex; align-items: center; gap: 6px; }
.info-tip {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  cursor: help;
  flex-shrink: 0;
}
.info-tip:hover, .info-tip:focus-visible { background: var(--butter); outline: none; }
.info-tip-box {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 9px);
  transform: translateX(-50%);
  width: 240px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: #1F261E;
  color: #F6FBF4;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
  word-break: keep-all;
  box-shadow: 0 8px 20px rgba(0,0,0,.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
  z-index: 40;
}
.info-tip-box b { color: #FFE566; font-weight: 800; }
.info-tip-box::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #1F261E;
}
.info-tip:hover .info-tip-box,
.info-tip:focus-visible .info-tip-box {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-2px);
}

.toast {
  position: fixed;
  inset: auto auto 22px 50%;
  margin: 0;
  border: none;
  transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 10px 18px;
  border-radius: 999px; font-size: 13.5px; font-weight: 700;
  display: none; z-index: 60; box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.toast:popover-open { display: block; }

/* Floating Quick Guide Button & Modal */
.fab-help {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--butter);
  color: var(--ink);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  box-shadow: 4px 4px 0 var(--line);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.fab-help:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--line); }
.fab-help:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--line); }

dialog.help-modal {
  border: 2px solid var(--line);
  border-radius: 20px;
  padding: 0;
  max-width: 500px;
  width: calc(100% - 28px);
  max-height: 88dvh;
  overflow-y: auto;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--line);
}
dialog.help-modal::backdrop { background: rgba(31, 38, 30, 0.45); backdrop-filter: blur(2px); }
.help-modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 18px; background: var(--pickle-soft);
  border-bottom: 2px solid var(--line);
}
.help-modal-head h3 { margin: 0; font-size: 16px; font-weight: 900; display: flex; align-items: center; gap: 8px; }
.help-modal-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; font-size: 13.5px; }
.help-step {
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
}
.help-step > b { display: block; font-size: 14.5px; margin-bottom: 5px; color: var(--ink); }
.help-step p { margin: 0; color: var(--muted); line-height: 1.65; word-break: keep-all; }
.help-step p b { display: inline; font-size: inherit; color: var(--ink); font-weight: 800; }
.help-modal-foot {
  padding: 12px 18px 16px;
  display: flex; justify-content: flex-end; gap: 8px;
}

footer.site-foot {
  margin-top: auto;
  text-align: center;
  padding: 20px 16px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
  word-break: keep-all;
}
footer.site-foot .btn {
  height: 32px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 800;
  border-radius: 9px;
  line-height: 1;
  vertical-align: middle;
}

@media (max-width: 1040px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .chat-card { order: 1; min-height: 480px; }
  .right-col { order: 2; }
  .sidebar { order: 3; }
  .hero { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; }
  .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .topbar .pill { display: none; }
}
@media (max-width: 560px) {
  .topbar { padding: 10px 12px; gap: 8px; }
  .brand { font-size: 15.5px; gap: 7px; }
  .brand .pixel-svg { width: 26px; height: 26px; }
  .brand-badge { display: none; }
  .top-actions { gap: 5px; }
  .top-actions .btn { font-size: 12px; padding: 6px 10px; border-radius: 10px; }
  .lang-btn { font-size: 11px; padding: 5px 6px; }
  .landing-wrap { padding: 20px 14px 48px; gap: 32px; }
  .hero { padding: 20px 16px; gap: 20px; border-radius: 20px; }
  .hero-eyebrow { font-size: 12px; padding: 4px 10px; }
  .hero h1 { font-size: 24px; line-height: 1.32; }
  .hero p.lead { font-size: 14.5px; line-height: 1.65; margin-bottom: 18px; }
  .br-pc { display: none; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; font-size: 14.5px; padding: 12px 16px; }
  .hero-demo { padding: 14px; }
  .demo-bubble { font-size: 13px; padding: 10px 12px; }
  .demo-bubble.me { margin-left: 12px; }
  .demo-bubble.bot { margin-right: 8px; }
  .demo-yn { padding: 9px 11px; font-size: 12px; gap: 4px 10px; }
  .sec-head { margin-bottom: 16px; }
  .sec-head h2 { font-size: 21px; }
  .sec-head p { font-size: 13.5px; }
  .feat-card { padding: 16px; }
  .feat-card h3 { font-size: 16px; }
  .feat-card p { font-size: 13.5px; }
  .app-promo-card { padding: 18px 16px; gap: 14px; }
  .app-promo-body { min-width: 0; width: 100%; }
  .app-promo-card h3 { font-size: 16.5px; }
  .app-promo-card p { font-size: 13.5px; }
  .app-promo-card .btn { width: 100%; }
  .faq-item { padding: 13px 14px; }
  .faq-item summary { font-size: 14px; }
  .faq-item p { font-size: 13.5px; }
  .bottom-cta { padding: 24px 16px; }
  .bottom-cta h2 { font-size: 20px; }
  .bottom-cta p { font-size: 13.5px; }
  .bottom-cta .btn { width: 100%; font-size: 14.5px; padding: 12px 16px; }
  /* App Workspace Mobile */
  .layout { margin: 12px auto; padding: 0 12px 76px; gap: 14px; }
  .chat-card { min-height: 440px; }
  .chat-head { padding: 12px 14px; }
  .chat-head h2 { font-size: 15px; }
  .chat-head p { font-size: 11.5px; line-height: 1.4; }
  .chat-body { padding: 12px 10px; gap: 14px; max-height: 58dvh; }
  .msg { max-width: 100%; gap: 7px; }
  .avatar-mini { width: 28px; height: 28px; border-radius: 8px; }
  .bubble { padding: 10px 11px; font-size: 13.5px; border-radius: 14px; min-width: 0; }
  .result-box { padding: 9px 10px; font-size: 13px; }
  .stepper { grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .step { font-size: 10.5px; padding: 5px 4px; white-space: nowrap; }
  .wait-cheer { flex-wrap: wrap; gap: 6px; padding: 7px 9px; font-size: 11.5px; }
  .chat-foot { padding: 10px 12px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; margin-bottom: 8px; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; white-space: nowrap; font-size: 11.5px; padding: 5px 9px; }
  .composer { flex-direction: row; gap: 6px; align-items: flex-end; }
  .composer textarea, .composer input { min-width: 0; font-size: 16px; padding: 10px 12px; min-height: 80px; max-height: 180px; }
  .composer .btn { flex-shrink: 0; white-space: nowrap; height: 44px; padding: 0 13px; font-size: 13.5px; }
  .composer-hint { font-size: 11px; margin-top: 5px; }
  .panel, .sidebar { padding: 14px; }
  .info-tip { position: static; }
  .info-tip-box { left: 0; right: 0; bottom: calc(100% + 4px); transform: none; width: auto; max-width: 100%; }
  .info-tip-box::after { display: none; }
  .info-tip:hover .info-tip-box, .info-tip:focus-visible .info-tip-box { transform: translateY(-2px); }
  .mascot-pop { max-width: calc(100vw - 56px); white-space: normal; text-align: center; word-break: keep-all; }
  .task-list { max-height: 280px; }
  .fab-help { right: 12px; bottom: 12px; padding: 8px 12px; font-size: 12px; gap: 6px; box-shadow: 3px 3px 0 var(--line); }
  .fab-help .pixel-svg { width: 18px; height: 18px; }
  .help-modal-head { padding: 12px 14px; }
  .help-modal-body { padding: 14px; }
  .help-modal-foot { padding: 10px 14px 14px; flex-wrap: wrap; gap: 8px; }
  .toast { max-width: calc(100vw - 24px); text-align: center; font-size: 12.5px; padding: 9px 14px; }
}
@media (max-width: 360px) {
  .brand { font-size: 14px; gap: 5px; }
  .brand .pixel-svg { width: 22px; height: 22px; }
  .top-actions .btn { font-size: 11px; padding: 5px 8px; }
  .lang-btn { font-size: 10.5px; padding: 4px 5px; }
}


/* ==========================================================
   Blog Option B: Modern Editorial Tech Styles
   ========================================================== */
.editorial-body {
  background: #FBF9F5;
  color: #191E18;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  margin: 0; padding: 0;
  -webkit-font-smoothing: antialiased;
}
.editorial-header {
  background: #FFFFFF;
  border-bottom: 1px solid #E2DFD6;
  position: sticky;
  top: 0;
  z-index: 30;
}
.editorial-header-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.editorial-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  color: #191E18;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.editorial-brand-tag {
  font-size: 12px;
  font-weight: 600;
  color: #666E64;
  border-left: 1.5px solid #E2DFD6;
  padding-left: 10px;
  margin-left: 2px;
}
.editorial-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}
.editorial-top-actions .lang-switch {
  height: 36px;
  border: 1px solid #E2DFD6;
  border-radius: 8px;
  box-shadow: none;
  background: #FBF9F5;
}
.editorial-top-actions .lang-btn {
  font-size: 11.5px;
  padding: 0 8px;
}
.editorial-top-actions .lang-btn + .lang-btn {
  border-left: 1px solid #E2DFD6;
}
.editorial-top-actions .lang-btn.active {
  background: #F0EDE4;
  color: #191E18;
}
.ed-nav-btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  height: 36px;
  line-height: 1;
  color: #191E18;
  text-decoration: none;
  padding: 0 13px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid #E2DFD6;
  transition: all .15s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.ed-nav-btn:hover { border-color: #191E18; }
.ed-nav-btn.active { background: #F0EDE4; border-color: #D5D0C5; }
.ed-nav-btn-primary { background: #2E7D32; color: #FFFFFF; border: 1px solid #2E7D32; }
.ed-nav-btn-primary:hover { background: #256629; border-color: #256629; }
.ed-btn-lg { height: 42px; font-size: 14.5px; padding: 0 22px; border-radius: 10px; }

/* Editorial 2-Col Layout */
.editorial-layout {
  max-width: 1040px;
  margin: 0 auto;
  padding: 36px 20px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 48px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.editorial-stream-col { min-width: 0; }
.editorial-sidebar-col { min-width: 0; display: flex; flex-direction: column; gap: 24px; }

.editorial-stream-head { margin-bottom: 32px; border-bottom: 1px solid #E2DFD6; padding-bottom: 20px; }
.editorial-stream-head h1 { font-size: 28px; font-weight: 900; margin: 0 0 8px; letter-spacing: -0.02em; }
.editorial-stream-head p { margin: 0; font-size: 15px; color: #666E64; line-height: 1.6; }

/* Post List */
.editorial-posts { display: flex; flex-direction: column; }
.ed-post-card {
  padding: 26px 0;
  border-bottom: 1px solid #E2DFD6;
}
.ed-post-card:first-child { padding-top: 0; }
.ed-post-link { text-decoration: none; color: inherit; display: block; }
.ed-post-link:hover .ed-post-title { color: #2E7D32; }
.ed-post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #666E64;
  margin-bottom: 10px;
}
.ed-cat-pill {
  font-size: 11.5px;
  font-weight: 700;
  color: #2E7D32;
  background: #EEF7EF;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
}
.ed-meta-dot { opacity: 0.5; }
.ed-post-title {
  font-size: 20.5px;
  font-weight: 800;
  margin: 0 0 10px;
  line-height: 1.36;
  letter-spacing: -0.015em;
  transition: color .15s ease;
}
.ed-post-summary {
  font-size: 14.5px;
  color: #666E64;
  line-height: 1.65;
  margin: 0 0 14px;
}
.ed-post-more {
  font-size: 13px;
  font-weight: 700;
  color: #2E7D32;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ed-arrow { transition: transform .15s ease; }
.ed-post-link:hover .ed-arrow { transform: translateX(3px); }

/* Sidebar Cards */
.ed-side-card {
  background: #FFFFFF;
  border: 1px solid #E2DFD6;
  border-radius: 14px;
  padding: 20px;
}
.ed-side-card h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.ed-side-card p {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: #666E64;
  line-height: 1.6;
}
.ed-side-feats {
  margin: 0 0 18px;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #242A23;
}
.ed-cat-list { display: flex; flex-direction: column; }
.ed-cat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #F0EEE9;
  font-size: 13px;
  font-weight: 600;
  color: #191E18;
}
.ed-cat-count {
  font-size: 11.5px;
  font-weight: 700;
  color: #666E64;
  background: #F0EDE4;
  padding: 2px 7px;
  border-radius: 999px;
}
.ed-side-link {
  display: block;
  padding: 8px 0;
  color: #191E18;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid #F0EEE9;
  transition: color .15s ease;
}
.ed-side-link:hover { color: #2E7D32; }

/* Detail Article View */
.ed-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666E64;
  margin-bottom: 22px;
}
.ed-breadcrumb a { color: inherit; text-decoration: none; }
.ed-breadcrumb a:hover { color: #191E18; text-decoration: underline; }

.ed-article-detail {
  background: #FFFFFF;
  border: 1px solid #E2DFD6;
  border-radius: 18px;
  padding: 36px 32px;
  margin-bottom: 32px;
}
.ed-article-header {
  border-bottom: 1px solid #E2DFD6;
  padding-bottom: 24px;
  margin-bottom: 28px;
}
.ed-article-title {
  font-size: 29px;
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: -0.02em;
  margin: 12px 0 16px;
}
.ed-article-lead {
  font-size: 16px;
  color: #4A5448;
  background: #F5F3EC;
  border-radius: 12px;
  border-left: 4px solid #2E7D32;
  padding: 16px 18px;
  line-height: 1.65;
}
.ed-article-content {
  font-size: 16px;
  line-height: 1.82;
  color: #242A23;
}
.ed-article-content h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 36px 0 14px;
  border-bottom: 1px solid #E2DFD6;
  padding-bottom: 8px;
  letter-spacing: -0.015em;
}
.ed-article-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 10px;
}
.ed-article-content p { margin: 0 0 18px; }
.ed-article-content ul, .ed-article-content ol {
  padding-left: 22px;
  margin: 0 0 22px;
}
.ed-article-content li { margin-bottom: 6px; }
.ed-article-content pre {
  background: #191E18;
  color: #ECFAED;
  padding: 16px 18px;
  border-radius: 12px;
  font-family: Consolas, Monaco, monospace;
  font-size: 13.5px;
  overflow-x: auto;
  margin: 22px 0;
  line-height: 1.55;
}
.ed-article-content a { color: #2E7D32; font-weight: 700; text-decoration: underline; }

/* Editorial Post Rich Elements */
.ed-post-figure {
  margin: 32px 0;
  text-align: center;
}
.ed-post-figure img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid #E2DFD6;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  display: block;
}
.ed-post-figure figcaption {
  font-size: 13px;
  color: #71766F;
  margin-top: 10px;
  line-height: 1.5;
  text-align: center;
  word-break: keep-all;
}
.ed-quote-box {
  margin: 24px 0 28px;
  padding: 16px 20px;
  background: #F4F8F4;
  border-left: 4px solid #2E7D32;
  border-radius: 0 10px 10px 0;
  color: #1F261E;
  font-size: 14.5px;
  line-height: 1.7;
}
.ed-quote-box strong {
  display: block;
  font-size: 15px;
  color: #2E7D32;
  margin-bottom: 8px;
}
.ed-quote-box ol, .ed-quote-box ul {
  margin: 0;
  padding-left: 20px;
}
.ed-quote-box li {
  margin-bottom: 5px;
}
.ed-hr {
  border: 0;
  border-top: 1px dashed #D5D0C5;
  margin: 36px 0;
}
.ed-outro-cta {
  background: #FBF9F5;
  border: 1.5px solid #2E7D32;
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  margin: 36px 0;
}
.ed-outro-cta h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #191E18;
}
.ed-outro-cta p {
  color: #666E64;
  font-size: 14px;
  margin: 0 0 16px;
}
.ed-article-content a.ed-nav-btn,
.ed-article-content .ed-nav-btn,
.ed-outro-cta .ed-nav-btn-primary {
  color: #FFFFFF !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 700 !important;
}
.ed-article-content a.ed-nav-btn:hover,
.ed-outro-cta .ed-nav-btn-primary:hover {
  color: #FFFFFF !important;
  background: #256629 !important;
  text-decoration: none !important;
}
.ed-comment-prompt {
  background: #F0EDE4;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13.5px;
  color: #394238;
  margin-top: 24px;
  text-align: center;
  word-break: keep-all;
}
.ed-article-footer {
  margin-top: 36px;
  border-top: 1px solid #E2DFD6;
  padding-top: 24px;
}
.ed-author-box {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #FBF9F5;
  border: 1px solid #E2DFD6;
  border-radius: 12px;
  padding: 16px;
}
.ed-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #EEF7EF;
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}
.ed-author-info h4 { margin: 0 0 4px; font-size: 15px; font-weight: 800; }
.ed-author-info p { margin: 0; font-size: 13px; color: #666E64; line-height: 1.5; }

/* Bottom CTA & Other Posts */
.ed-bottom-cta {
  background: #EEF7EF;
  border: 1px solid #D1E8D3;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.ed-bottom-cta-body { flex: 1; min-width: 240px; }
.ed-bottom-cta-body h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; color: #191E18; }
.ed-bottom-cta-body p { margin: 0; font-size: 14px; color: #4A5448; line-height: 1.55; }

.ed-other-posts { margin-top: 32px; }
.ed-other-title { font-size: 18px; font-weight: 800; margin: 0 0 14px; }
.ed-other-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.ed-other-card {
  background: #FFFFFF;
  border: 1px solid #E2DFD6;
  border-radius: 12px;
  padding: 18px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color .15s ease;
}
.ed-other-card:hover { border-color: #2E7D32; }
.ed-other-card h4 {
  margin: 10px 0 12px;
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.38;
}
.ed-other-date { font-size: 12px; color: #666E64; }

/* Footer */
.editorial-footer {
  border-top: 1px solid #E2DFD6;
  background: #FFFFFF;
  padding: 24px 20px;
}
.editorial-footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #666E64;
}
.ed-footer-links { display: flex; align-items: center; gap: 8px; }
.ed-footer-links a { color: inherit; text-decoration: none; }
.ed-footer-links a:hover { color: #191E18; text-decoration: underline; }

@media (max-width: 840px) {
  .editorial-layout { grid-template-columns: 1fr; gap: 36px; padding: 24px 16px 64px; }
  .editorial-sidebar-col { order: 2; }
  .editorial-brand-tag { display: none; }
  .ed-article-detail { padding: 24px 18px; }
  .ed-article-title { font-size: 24px; }
  .editorial-stream-head h1 { font-size: 24px; }
  .ed-post-title { font-size: 18.5px; }
}
