/* Remove the requested growth message; its flex gap disappears with the element. */
html body[data-view="home"] #main .home9 .growth-line9 {
  display: none !important;
}
/* Release the unused height below the home cards while retaining real overflow. */
html body[data-view="home"] #main.content {
  overflow-y: auto !important;
  scrollbar-gutter: auto;
}
html body[data-view="home"] #main.content > .page {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  flex: none !important;
  padding-bottom: 6px !important;
}
html body[data-view="home"] #main .home9 {
  height: auto !important;
  min-height: 0 !important;
  flex: none !important;
  padding-bottom: 0 !important;
}
html body[data-view="home"] #main #cogo-business-legal-r1 {
  margin-top: 12px !important;
  padding-top: 14px !important;
  padding-bottom: 12px !important;
}
/* Remove only the legacy architecture link in the bottom of the left sidebar. */
html body .sidebar .side-bottom [data-action="architecture"] {
  display: none !important;
}

/* One shared visual language for the existing legal notices on app screens. */
html body .cogo-legal-note-r1[data-cogo-legal] {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  padding: 20px 22px;
  margin: 18px 0;
  border: 1px solid #dfe6f1;
  border-radius: 16px;
  background: #f8faff;
  color: #52617a;
  font-family: "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", "Malgun Gothic", sans-serif;
  font-size: 13px;
  font-weight: 450;
  line-height: 1.85;
  letter-spacing: -.015em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
html body .cogo-legal-note-r1[data-cogo-legal] h3 {
  margin: 0 0 12px;
  color: #263d64;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -.035em;
}
html body .cogo-legal-note-r1[data-cogo-legal] p { margin: 8px 0; }
html body .cogo-legal-note-r1[data-cogo-legal] strong { color: #334d76; font-weight: 750; }
html body .cogo-legal-note-r1[data-cogo-legal] .cogo-legal-price-r1 {
  padding: 10px 12px;
  margin: 0 0 14px;
  border: 1px solid #e1e8f6;
  border-radius: 10px;
  background: #edf2fc;
  color: #344d8b;
  font-size: 13px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
html body .cogo-legal-note-r1[data-cogo-legal] nav {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 0 0;
  margin: 14px 0 0;
  border-top: 1px solid #e1e7f1;
}
html body .cogo-legal-note-r1[data-cogo-legal] nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  min-height: 36px;
  padding: 8px 13px;
  margin: 0;
  border: 1px solid #dfe6f2;
  border-radius: 9px;
  background: #fff;
  color: #4c5f7e;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: -.015em;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 1px 2px rgb(31 53 88 / 3%);
  transition: color 140ms ease, background-color 140ms ease, border-color 140ms ease;
}
html body .cogo-legal-note-r1[data-cogo-legal] nav a[href*="privacy"] {
  color: #2d4269;
  font-weight: 800;
}
html body .cogo-legal-note-r1[data-cogo-legal] nav a:visited { color: #4c5f7e; }
html body .cogo-legal-note-r1[data-cogo-legal] nav a[href*="privacy"]:visited { color: #2d4269; }
html body .cogo-legal-note-r1[data-cogo-legal] nav a:hover {
  color: #344fc1;
  border-color: #c7d4f3;
  background: #edf2ff;
}
html body .cogo-legal-note-r1[data-cogo-legal] a:focus-visible {
  outline: 2px solid #4a62d8;
  outline-offset: 3px;
}
html body .cogo-legal-note-r1[data-cogo-legal] nav a:active { background: #e4ebff; }
html body .cogo-legal-note-r1[data-cogo-legal] a[href^="tel:"] {
  color: #344d8b;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-decoration-color: #b7c6e6;
  text-underline-offset: 3px;
}
/* Compact, centered policy navigation in both ordinary and social signup. */
html body :is(#cogoServerAuth, #socialSignup288) .cogo-legal-note-r1[data-cogo-legal="signup"] {
  padding: 5px;
  margin: 18px 0 12px;
  border-color: #e4e9f2;
  border-radius: 12px;
  background: #f5f7fc;
}
html body .cogo-legal-note-r1[data-cogo-legal="signup"] nav {
  justify-content: center;
  gap: 3px;
  padding: 0;
  margin: 0;
  border: 0;
}
html body .cogo-legal-note-r1[data-cogo-legal="signup"] nav a {
  flex: 1 1 auto;
  padding: 8px 10px;
  border-color: transparent;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
}
html body .cogo-legal-note-r1[data-cogo-legal="signup"] nav a:hover {
  border-color: #e1e7f3;
  background: #fff;
  box-shadow: 0 2px 6px rgb(31 53 88 / 5%);
}
/* Consent remains visible and operable; only its presentation changes. */
html body .cogo-legal-note-r1[data-cogo-legal="checkout"] label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  margin: 10px 0;
  border: 1px solid #e2e8f2;
  border-radius: 10px;
  background: #fff;
  color: #3f526f;
  font: inherit;
  font-weight: 550;
  cursor: pointer;
}
html body .cogo-legal-note-r1[data-cogo-legal="checkout"] label span { min-width: 0; }
html body .cogo-legal-note-r1[data-cogo-legal="checkout"] input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  padding: 0;
  margin: 3px 0 0;
  accent-color: #3b50d4;
}
html body .cogo-legal-note-r1[data-cogo-legal] small {
  color: #64728a;
  font-size: 11.5px;
  line-height: 1.8;
}
@media (max-width: 640px) {
  html body .cogo-legal-note-r1[data-cogo-legal] { padding: 16px; }
  html body .cogo-legal-note-r1[data-cogo-legal] nav a { min-height: 40px; }
  html body .cogo-legal-note-r1[data-cogo-legal="signup"] nav a { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html body .cogo-legal-note-r1[data-cogo-legal] nav a { transition: none; }
}
