@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800;900&display=swap");
:root {
  --blue: #1555ee;
  --navy: #111d36;
  --ink: #152136;
  --muted: #667184;
  --line: #e1e6ef;
  --light: #f6f8fc;
  --orange: #eb722e;
  --font:
    "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  word-break: keep-all;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 5px;
}
::selection {
  background: #dce6ff;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  letter-spacing: -0.045em;
}
h2 {
  font-size: 36px;
  line-height: 1.4;
  font-weight: 800;
}
h3 {
  font-size: 22px;
  line-height: 1.5;
}
.wrap {
  width: min(1160px, calc(100% - 80px));
  margin: auto;
}
.blue {
  color: var(--blue);
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.6;
  color: var(--muted);
}
.tiny-line {
  display: inline-block;
  width: 25px;
  height: 2px;
  background: var(--blue);
  vertical-align: middle;
  margin-right: 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--navy);
  color: #fff;
  padding: 10px 20px;
  z-index: 99;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  z-index: 20;
}
.header-inner {
  height: 82px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: 21px;
  line-height: 1;
}
.brand-caption {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.07em;
  margin-left: 7px;
}
#site-nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
  height: 100%;
  align-items: center;
}
#site-nav a {
  font-size: 14px;
  font-weight: 600;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--muted);
}
#site-nav a:hover,
#site-nav a[aria-current="page"] {
  color: var(--blue);
}
#site-nav a[aria-current="page"]:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
}
.header-caption {
  border-left: 1px solid var(--line);
  padding-left: 26px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #818a99;
  white-space: nowrap;
}
.menu-toggle {
  display: none;
}
.grid-paper {
  background-color: #fcfdff;
  background-image:
    linear-gradient(#e9edf566 1px, transparent 1px),
    linear-gradient(90deg, #e9edf566 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero {
  border-bottom: 1px solid var(--line);
}
.hero-layout {
  display: grid;
  grid-template-columns: 1.13fr 1fr;
  gap: 65px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 82px;
}
.hero h1 {
  font-size: 64px;
  line-height: 1.27;
  font-weight: 900;
  margin: 23px 0 27px;
  letter-spacing: -0.065em;
}
.hero-description {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.95;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
  border: 1px solid transparent;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 5px 12px #1555ee15;
}
.primary:hover {
  background: #1045c8;
}
.warm {
  color: #a4491a;
  background: #fff1e6;
  border-color: #f5d6bc;
}
.warm:hover {
  background: #ffe5d1;
}
.secondary {
  border-color: var(--line);
  background: #fff;
}
.secondary:hover {
  background: var(--light);
}
.hero-footnote {
  font-size: 12px;
  color: #7c8798;
  margin-top: 28px;
}
.small-square {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--orange);
  margin-right: 8px;
  vertical-align: middle;
}
.index-panel {
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  padding: 28px 30px 17px;
  position: relative;
  box-shadow: 15px 15px 0 #e5ebf7;
  overflow: hidden;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  color: #a7b5d1;
  font-size: 11px;
  letter-spacing: 0.12em;
  border-bottom: 1px solid #34415d;
  padding-bottom: 19px;
}
.panel-statement {
  font-size: 33px;
  letter-spacing: -0.04em;
  font-weight: 600;
  line-height: 1.4;
  margin: 27px 0;
}
.panel-statement > span {
  color: #8bacff;
}
.panel-projects {
  display: flex;
  flex-direction: column;
}
.panel-projects > a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid #34415d;
  transition: background 0.2s;
}
.panel-projects > a:hover {
  background: #ffffff07;
}
.panel-number {
  font-size: 13px;
  color: #8c9fbd;
  font-weight: 500;
}
.panel-projects strong {
  font-size: 16px;
  font-weight: 600;
}
.panel-projects small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.09em;
  color: #8f9eb7;
  margin-top: 3px;
}
.panel-label {
  margin-left: auto;
  font-size: 12px;
  color: #bec8da;
  white-space: nowrap;
  border: 1px solid #526079;
  padding: 2px 9px;
  border-radius: 4px;
}
.panel-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #8595b0;
  border-top: 1px solid #34415d;
  padding-top: 13px;
}
.cross {
  font-size: 24px;
  color: #83a5ff;
  line-height: 1;
}
.intro-strip {
  border-bottom: 1px solid var(--line);
}
.intro-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 29px 0;
}
.intro-inner > p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
}
.intro-inner strong {
  font-weight: 600;
  color: var(--ink);
}
.text-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  border-bottom: 1px solid #b2c7ff;
  padding-bottom: 3px;
  white-space: nowrap;
  transition: border-color 0.2s;
}
.text-link:hover {
  border-color: var(--blue);
}
.section {
  padding-top: 76px;
  padding-bottom: 84px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 31px;
  gap: 25px;
}
.section-heading .eyebrow {
  margin-bottom: 9px;
}
.section-heading > .text-link {
  margin-bottom: 8px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.project-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px #1022450c;
}
.card-cover {
  height: 155px;
  padding: 23px 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #edf3ff;
  position: relative;
}
.card-cover:after {
  content: "+";
  position: absolute;
  bottom: 16px;
  right: 25px;
  color: #96b2f5;
  font-size: 26px;
  line-height: 1;
}
.cover-two {
  background: #fff3e9;
}
.cover-two:after {
  color: #e6b38b;
}
.cover-three {
  background: #f0f2f7;
}
.cover-three:after {
  color: #a7b3c9;
}
.cover-label {
  font-size: 10px;
  color: #526987;
  letter-spacing: 0.11em;
  font-weight: 600;
}
.cover-number {
  font-size: 62px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #b1c9ff;
}
.cover-two .cover-number {
  color: #f1c6a5;
}
.cover-three .cover-number {
  color: #c4cede;
}
.card-body {
  padding: 24px 24px 21px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--muted);
}
.status-badge {
  border: 1px solid #dee4ee;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 12px;
  color: #5c687a;
  line-height: 1.6;
  background: #fafbfd;
}
.project-card h3 {
  font-size: 21px;
  letter-spacing: -0.04em;
}
.project-card .card-description {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
  margin: 12px 0 24px;
  flex: 1;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}
.card-footer span:last-child {
  font-size: 10px;
  color: #98a1af;
  letter-spacing: 0.08em;
  font-weight: 400;
}
.notes-section {
  background: var(--light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.notes-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 70px;
  padding-top: 61px;
  padding-bottom: 65px;
}
.notes-layout h2 {
  font-size: 30px;
  margin: 13px 0 17px;
}
.notes-layout .muted {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 22px;
}
.empty-note {
  display: flex;
  align-items: center;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  padding: 33px 29px;
}
.note-symbol {
  font-size: 35px;
  line-height: 1;
  color: #a7b6ce;
  font-weight: 400;
}
.empty-note h3 {
  font-size: 17px;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.empty-note p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
}
.empty-number {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.05em;
  color: #dce2ec;
  margin-left: auto;
}
.site-footer {
  padding: 43px 0 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}
.footer-brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.6;
  display: block;
}
.footer-brand span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.09em;
  display: block;
  color: var(--muted);
  margin-top: 2px;
}
.footer-inner p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 15px;
}
.footer-inner nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
  color: var(--muted);
  padding-top: 7px;
}
.footer-inner nav a:hover {
  color: var(--blue);
}
.back-top {
  font-size: 13px;
  border: 1px solid var(--line);
  padding: 7px 15px;
  border-radius: 4px;
  color: var(--muted);
}
.back-top:hover {
  color: var(--blue);
}
.footer-bottom {
  margin-top: 35px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  padding-bottom: 19px;
  display: flex;
  justify-content: space-between;
  color: #8590a1;
  font-size: 11px;
}
.noscript-message {
  padding: 20px;
}
@media (min-width: 1500px) {
  .hero-layout {
    padding-top: 100px;
    padding-bottom: 100px;
    gap: 90px;
  }
  .hero h1 {
    font-size: 70px;
  }
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .header-inner {
    gap: 20px;
  }
  .header-caption {
    display: none;
  }
  .hero-layout {
    gap: 35px;
    padding: 65px 0;
  }
  .hero h1 {
    font-size: 53px;
  }
  .hero-description {
    font-size: 16px;
  }
  .panel-statement {
    font-size: 28px;
  }
  .index-panel {
    padding: 25px 23px 15px;
  }
  .panel-projects > a {
    gap: 10px;
  }
  .panel-projects strong {
    font-size: 14px;
  }
  .panel-label {
    font-size: 11px;
    padding: 2px 6px;
  }
  .hero-actions {
    gap: 9px;
  }
  .button {
    padding: 12px 16px;
  }
  .project-grid {
    gap: 15px;
  }
  .card-body {
    padding: 21px 19px;
  }
  .project-card h3 {
    font-size: 19px;
  }
  .notes-layout {
    gap: 35px;
    grid-template-columns: 1fr 1fr;
  }
  .empty-note {
    padding: 28px 22px;
    gap: 14px;
  }
  .empty-number {
    display: none;
  }
}
@media (max-width: 740px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .header-inner {
    height: 68px;
  }
  .brand {
    font-size: 18px;
    gap: 9px;
  }
  .brand-caption {
    font-size: 10px;
    margin-left: 5px;
  }
  .menu-toggle {
    display: flex;
    margin-left: auto;
    border: 1px solid var(--line);
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    width: 39px;
    height: 36px;
    align-items: center;
    justify-content: center;
  }
  .menu-lines,
  .menu-lines:after,
  .menu-lines:before {
    width: 17px;
    height: 2px;
    background: var(--ink);
    display: block;
    position: relative;
  }
  .menu-lines:before,
  .menu-lines:after {
    content: "";
    position: absolute;
    left: 0;
  }
  .menu-lines:before {
    top: -5px;
  }
  .menu-lines:after {
    top: 5px;
  }
  #site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    height: auto;
    padding: 13px 20px 19px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    gap: 0;
    justify-content: space-around;
    box-shadow: 0 6px 10px #10224505;
  }
  #site-nav.open {
    display: flex;
  }
  #site-nav a {
    padding: 8px 9px;
    height: auto;
  }
  #site-nav a[aria-current="page"]:after {
    bottom: 0;
    left: 9px;
    right: 9px;
    height: 2px;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 48px 0 48px;
  }
  .hero h1 {
    font-size: clamp(42px, 8.3vw, 60px);
    margin: 20px 0 23px;
  }
  .hero-description {
    font-size: 16px;
  }
  .hero-actions {
    margin-top: 26px;
  }
  .button {
    font-size: 13px;
    padding: 12px 17px;
  }
  .hero-footnote {
    margin-top: 23px;
  }
  .index-panel {
    padding: 23px 25px 15px;
    box-shadow: 8px 8px 0 #e5ebf7;
    max-width: 530px;
    width: 100%;
  }
  .panel-statement {
    font-size: 30px;
    margin: 23px 0;
  }
  .panel-projects > a {
    padding: 17px 0;
    gap: 15px;
  }
  .panel-projects strong {
    font-size: 16px;
  }
  .panel-label {
    font-size: 12px;
    padding: 2px 8px;
  }
  .intro-inner {
    padding: 23px 0;
    align-items: flex-start;
    gap: 20px;
  }
  .intro-inner > p {
    font-size: 14px;
  }
  .intro-inner > .text-link {
    font-size: 12px;
    margin-top: 5px;
  }
  .section {
    padding-top: 49px;
    padding-bottom: 52px;
  }
  h2 {
    font-size: 30px;
  }
  .section-heading {
    margin-bottom: 23px;
    gap: 15px;
  }
  .section-heading > .text-link {
    font-size: 12px;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .card-cover {
    height: 142px;
  }
  .card-body {
    padding: 24px;
  }
  .project-card h3 {
    font-size: 22px;
  }
  .project-card .card-description {
    font-size: 15px;
    max-width: 480px;
  }
  .notes-layout {
    grid-template-columns: 1fr;
    gap: 29px;
    padding: 43px 0 45px;
  }
  .notes-layout h2 {
    font-size: 27px;
  }
  .empty-note {
    padding: 27px 23px;
  }
  .empty-note p {
    font-size: 13px;
  }
  .empty-number {
    display: block;
  }
  .site-footer {
    padding-top: 32px;
  }
  .footer-inner {
    flex-wrap: wrap;
    gap: 22px;
  }
  .footer-inner > div {
    width: 100%;
  }
  .footer-inner nav {
    padding-top: 0;
    gap: 24px;
  }
  .back-top {
    margin-left: auto;
    padding: 5px 12px;
  }
  .footer-bottom {
    font-size: 10px;
    gap: 15px;
    margin-top: 26px;
  }
}
.page-intro {
  padding: 63px 0 61px;
  border-bottom: 1px solid var(--line);
}
.page-intro h1 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.45;
  margin: 16px 0 18px;
}
.page-intro .wrap > p:last-child {
  font-size: 17px;
  color: var(--muted);
}
.about-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 100px;
}
.about-identity {
  padding: 33px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--light);
  align-self: start;
}
.identity-monogram {
  color: var(--blue);
  font-size: 105px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.06em;
  margin-bottom: 28px;
}
.about-identity h2 {
  font-size: 27px;
}
.about-identity > p {
  font-size: 15px;
  line-height: 1.9;
  margin: 16px 0 33px;
  color: var(--muted);
}
.identity-label {
  font-size: 12px;
  color: #75829a;
  letter-spacing: 0.09em;
}
.about-copy {
  padding-top: 7px;
}
.about-copy h2 {
  font-size: 37px;
  line-height: 1.6;
  margin: 15px 0 25px;
}
.about-copy > p:not(.eyebrow) {
  font-size: 16px;
  line-height: 2;
  color: var(--muted);
  margin-bottom: 15px;
}
.method-section {
  background: var(--light);
  border-block: 1px solid var(--line);
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.method-grid article {
  padding: 20px 0 0;
  border-top: 2px solid var(--blue);
}
.method-number {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--blue);
}
.method-grid h3 {
  font-size: 24px;
  margin: 19px 0 13px;
}
.method-grid p {
  font-size: 15px;
  line-height: 1.95;
  color: var(--muted);
}
.closing-section {
  padding-top: 51px;
  padding-bottom: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.closing-section h2 {
  font-size: 29px;
  margin-top: 12px;
}
.project-list-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 25px;
}
.list-caption {
  font-size: 15px;
  color: var(--muted);
}
.list-caption strong {
  font-size: 15px;
  color: var(--blue);
  margin-left: 10px;
  font-weight: 600;
}
.project-notice {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 32px;
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 20px 24px;
}
.notice-label {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink);
  padding-top: 2px;
}
.project-notice p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}
.breadcrumb {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-top: 23px;
  padding-bottom: 23px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}
.breadcrumb > a:hover {
  color: var(--blue);
}
.breadcrumb > span:last-child {
  color: var(--ink);
}
.detail-hero {
  border-block: 1px solid var(--line);
}
.detail-hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 52px;
  padding-bottom: 55px;
}
.detail-hero h1 {
  font-size: 48px;
  line-height: 1.5;
  margin: 16px 0 17px;
}
.detail-description {
  font-size: 17px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 700px;
}
.detail-tags {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 24px;
}
.detail-number {
  font-size: 120px;
  line-height: 1;
  font-weight: 700;
  color: #d6e2fc;
  letter-spacing: -0.06em;
}
.detail-content {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 65px;
  padding-top: 55px;
  padding-bottom: 64px;
}
.detail-sidebar dl {
  margin: 20px 0 26px;
}
.detail-sidebar dl > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  gap: 20px;
}
.detail-sidebar dt {
  color: var(--muted);
}
.detail-sidebar dd {
  margin: 0;
  font-weight: 500;
}
.detail-sidebar .text-link {
  font-size: 13px;
}
.detail-main h2 {
  font-size: 28px;
  margin: 13px 0 17px;
}
.detail-main > .muted {
  font-size: 16px;
  line-height: 1.95;
}
.tool-placeholder {
  text-align: center;
  border: 1px dashed #b9c6db;
  border-radius: 7px;
  background: var(--light);
  padding: 35px 28px;
  margin-top: 30px;
}
.placeholder-mark {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #ced9eb;
  background: #fff;
  border-radius: 6px;
  color: #95a8c9;
  font-size: 24px;
  line-height: 1;
  margin-bottom: 16px;
}
.tool-placeholder h3 {
  font-size: 23px;
  margin: 13px 0 10px;
}
.tool-placeholder > p:not(.eyebrow) {
  font-size: 14px;
  color: var(--muted);
}
.tool-placeholder > .status-badge {
  display: inline-block;
  margin-top: 20px;
}
.detail-records {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-block: 1px solid var(--line);
  padding: 23px 0;
  margin-top: 30px;
}
.detail-records h3 {
  font-size: 18px;
}
.detail-records p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 7px;
}
.detail-records .text-link {
  font-size: 13px;
}
.other-projects {
  background: var(--light);
  border-block: 1px solid var(--line);
}
.other-projects .section {
  padding-top: 43px;
  padding-bottom: 49px;
}
.other-projects h2 {
  font-size: 27px;
}
.other-project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.other-project {
  background: #fff;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color 0.2s;
}
.other-project:hover {
  border-color: #96b2f5;
}
.other-project > span:first-child {
  font-size: 23px;
  color: #9bb4e8;
}
.other-project h3 {
  font-size: 18px;
}
.other-project p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.other-project > .status-badge {
  margin-left: auto;
  white-space: nowrap;
}
.notes-page {
  padding-top: 42px;
  padding-bottom: 56px;
  min-height: 540px;
}
.notes-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  gap: 15px;
}
.notes-page-header h2 {
  font-size: 22px;
}
.notes-page-header > span {
  font-size: 13px;
  color: var(--muted);
}
.notes-empty {
  padding: 57px 20px 54px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.empty-icon {
  width: 55px;
  height: 55px;
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 32px;
  color: #a7b6ce;
  margin: 0 auto 21px;
  line-height: 1;
}
.notes-empty h3 {
  font-size: 22px;
}
.notes-empty p {
  font-size: 15px;
  color: var(--muted);
  margin: 12px 0 25px;
}
.note-principle {
  text-align: center;
  margin-top: 32px;
}
.note-principle > p:last-child {
  font-size: 15px;
  color: var(--muted);
  margin-top: 11px;
}
.note-principle strong {
  color: var(--ink);
  font-weight: 600;
}
/* Small archive metadata stays readable on both desktop and mobile. */
.brand-caption,
.header-caption,
.panel-heading,
.panel-projects small,
.panel-bottom,
.cover-label,
.card-footer span:last-child,
.footer-brand span,
.footer-bottom {
  font-size: 12px;
}
.header-caption {
  letter-spacing: 0.04em;
  padding-left: 18px;
}
.brand-caption {
  letter-spacing: 0.035em;
}
.panel-projects small {
  font-size: 12px;
  letter-spacing: 0.025em;
}
.cover-label {
  letter-spacing: 0.05em;
}
.card-footer span:last-child {
  letter-spacing: 0.025em;
}
.footer-brand span {
  letter-spacing: 0.04em;
}
@media (max-width: 1000px) {
  .about-layout {
    gap: 50px;
    grid-template-columns: 0.8fr 1.2fr;
  }
  .about-identity {
    padding: 27px;
  }
  .about-copy h2 {
    font-size: 32px;
  }
  .detail-content {
    grid-template-columns: 210px 1fr;
    gap: 40px;
  }
  .other-project {
    padding: 21px;
    gap: 16px;
  }
  .header-caption {
    display: none;
  }
}
@media (max-width: 740px) {
  .brand-caption {
    font-size: 12px;
    letter-spacing: 0;
  }
  .page-intro {
    padding: 39px 0 38px;
  }
  .page-intro h1 {
    font-size: 33px;
    margin: 13px 0 15px;
    line-height: 1.5;
  }
  .page-intro .wrap > p:last-child {
    font-size: 15px;
    line-height: 1.9;
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 33px;
  }
  .about-identity {
    padding: 24px;
    position: relative;
  }
  .identity-monogram {
    font-size: 66px;
    position: absolute;
    right: 25px;
    top: 19px;
    margin: 0;
  }
  .about-identity h2 {
    font-size: 24px;
  }
  .about-identity > p {
    font-size: 14px;
    margin: 12px 0 22px;
    max-width: 75%;
  }
  .about-copy h2 {
    font-size: 30px;
  }
  .about-copy > p:not(.eyebrow) {
    font-size: 15px;
  }
  .method-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .method-grid article {
    padding-top: 16px;
  }
  .method-grid h3 {
    margin: 14px 0 10px;
  }
  .closing-section {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 35px;
    padding-bottom: 40px;
    gap: 23px;
  }
  .closing-section h2 {
    font-size: 26px;
  }
  .project-notice {
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px;
  }
  .project-list-header {
    gap: 10px;
  }
  .list-caption {
    font-size: 14px;
  }
  .project-list-header .status-badge {
    font-size: 12px;
  }
  .breadcrumb {
    font-size: 12px;
    padding-top: 18px;
    padding-bottom: 18px;
    gap: 10px;
  }
  .detail-hero-layout {
    padding: 33px 0 36px;
    gap: 16px;
  }
  .detail-hero h1 {
    font-size: 34px;
    margin-top: 12px;
  }
  .detail-description {
    font-size: 15px;
  }
  .detail-number {
    display: none;
  }
  .detail-content {
    display: flex;
    flex-direction: column;
    gap: 36px;
    padding-top: 32px;
    padding-bottom: 43px;
  }
  .detail-sidebar {
    border-bottom: 1px solid var(--line);
    padding-bottom: 24px;
  }
  .detail-sidebar dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
    margin: 9px 0 20px;
  }
  .detail-sidebar dl > div {
    font-size: 12px;
    gap: 10px;
  }
  .detail-main h2 {
    font-size: 24px;
  }
  .detail-main > .muted {
    font-size: 15px;
  }
  .tool-placeholder {
    padding: 29px 18px;
  }
  .tool-placeholder h3 {
    font-size: 22px;
  }
  .detail-records {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .other-project-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .other-project {
    padding: 22px 20px;
  }
  .notes-page {
    padding-top: 30px;
    padding-bottom: 38px;
    min-height: 470px;
  }
  .notes-empty {
    padding: 45px 0;
  }
  .notes-empty h3 {
    font-size: 20px;
  }
  .notes-empty p {
    font-size: 14px;
  }
  .footer-bottom {
    font-size: 12px;
    flex-wrap: wrap;
  }
}
@media (max-width: 370px) {
  .wrap {
    width: calc(100% - 30px);
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .brand-caption {
    font-size: 12px;
  }
  .panel-projects > a {
    gap: 10px;
  }
  .panel-projects strong {
    font-size: 14px;
  }
  .panel-projects small {
    font-size: 12px;
  }
  .panel-label {
    font-size: 12px;
    padding: 2px 5px;
  }
  .intro-inner {
    flex-direction: column;
    gap: 12px;
  }
  .project-list-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .detail-sidebar dl {
    grid-template-columns: 1fr;
  }
  .empty-number {
    display: none;
  }
}
.hero-description {
  white-space: pre-line;
}
.admin-wrap {
  padding-top: 48px;
  padding-bottom: 65px;
}
.login-panel {
  width: min(450px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 31px;
  background: #fff;
}
.login-panel h2 {
  font-size: 27px;
  margin: 13px 0;
}
.login-panel > .muted {
  font-size: 14px;
  margin-bottom: 25px;
}
.login-panel form {
  margin-bottom: 22px;
}
.login-panel label,
.editor-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 17px 0 8px;
}
.login-panel input,
.editor-field input,
.editor-field textarea {
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  width: 100%;
  border: 1px solid #c9d2e0;
  border-radius: 5px;
  background: #fff;
  padding: 11px 13px;
  line-height: 1.8;
  resize: vertical;
  min-width: 0;
}
.login-panel input:focus,
.editor-field input:focus,
.editor-field textarea:focus {
  outline: 2px solid #b3c6fa;
  border-color: var(--blue);
}
.login-panel button {
  width: 100%;
  cursor: pointer;
}
.form-message {
  font-size: 14px;
  line-height: 1.8;
  color: var(--blue);
  margin: 16px 0;
  min-height: 25px;
}
.admin-editor {
  max-width: 850px;
  padding-top: 34px;
  padding-bottom: 60px;
}
.editor-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 25px;
}
.editor-bar p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}
.editor-bar button,
.editor-save button {
  cursor: pointer;
}
.admin-editor fieldset {
  padding: 20px 0 30px;
  border: 0;
  border-bottom: 1px solid var(--line);
  margin: 24px 0;
}
.admin-editor legend {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
  padding: 0;
}
.editor-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 25px;
}
.editor-field:nth-child(n + 3) {
  grid-column: 1 / -1;
}
.editor-hint {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}
.project-editor {
  padding-top: 22px;
}
.project-editor h3 {
  font-size: 16px;
  color: var(--blue);
  letter-spacing: 0;
}
.editor-save {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.editor-save > .form-message {
  margin: 0;
}
.button:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}
.content-error-banner {
  padding: 12px 20px;
  background: #fff1e6;
  color: #9d4a1e;
  font-size: 14px;
  text-align: center;
}
@media (max-width: 740px) {
  .login-panel {
    padding: 24px;
  }
  .admin-wrap {
    padding-top: 30px;
    padding-bottom: 40px;
  }
  .editor-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .editor-save {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  .editor-bar {
    align-items: flex-start;
  }
  .editor-bar .button {
    padding: 9px 13px;
    white-space: nowrap;
  }
  .editor-bar p {
    font-size: 13px;
  }
}
/* # ABOUT 01. 페이지 전체: 위에서 아래로 소개 영역들을 배치합니다. */
/* ABOUT 전용 class를 사용하므로 홈·프로젝트 페이지의 디자인에는 영향을 주지 않습니다. */
.about-page {
  padding-bottom: 80px;
}
.about-page-intro {
  padding: 44px 0 26px;
  border-bottom: 1px solid var(--line);
}
.about-page-intro .eyebrow {
  color: var(--blue);
  font-size: 11px;
  letter-spacing: 0.09em;
}
.about-page-intro h1 {
  margin: 7px 0 5px;
  font-size: 36px;
  line-height: 1.35;
  font-weight: 800;
}
.about-page-intro > p:last-child,
.about-section-heading > p:last-child {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

/* # ABOUT 02. 개인정보: 사진 자리 + 오른쪽의 3열·2행 카드입니다. */
.about-personal {
  padding-top: 62px;
}
.about-personal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.about-personal-heading h2,
.about-vision h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  line-height: 1.5;
  font-weight: 700;
}
.about-heading-symbol {
  color: var(--blue);
  font-size: 25px;
  line-height: 1;
}
.about-details-button {
  flex-shrink: 0;
  border: 0;
  border-radius: 8px;
  padding: 8px 12px;
  background: var(--light);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.about-details-button:hover {
  background: #eaf0ff;
  color: var(--blue);
}
.about-personal-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}
/* 사진 안에는 안내 글자 없이 등록한 사진만 표시합니다. */
.about-profile-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.about-profile-photo img {
  display: block;
  width: 100%;
  height: auto;
}
.about-information-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}
.about-information-card {
  min-height: 82px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 17px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(17, 29, 54, 0.03);
}
.about-information-card dt {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.about-information-card dt span {
  font-size: 11px;
}
.about-information-card dd {
  margin: 7px 0 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* # ABOUT 03. 소개·비전: 전체 너비를 사용하는 옅은 파란색 박스입니다. */
.about-vision {
  margin-top: 60px;
  border: 1px solid #d9e5ff;
  border-radius: 14px;
  padding: 30px 32px;
  background: #f7faff;
}
.about-vision p {
  margin-top: 15px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
  white-space: pre-line;
}

/* # ABOUT 04. 학력·경험: 왼쪽 세로선에 항목을 연결한 타임라인입니다. */
.about-experience,
.about-skills {
  padding-top: 70px;
}
.about-section-heading .eyebrow {
  font-size: 11px;
  letter-spacing: 0.1em;
}
.about-section-heading h2 {
  position: relative;
  margin: 8px 0 8px;
  padding-left: 17px;
  font-size: 30px;
  line-height: 1.4;
  font-weight: 800;
}
.about-section-heading h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  bottom: 7px;
  width: 5px;
  border-radius: 3px;
  background: var(--blue);
}
.about-timeline {
  margin: 32px 0 0 17px;
  border-left: 2px solid var(--line);
}
.about-timeline-item {
  position: relative;
  padding: 0 0 32px 30px;
}
.about-timeline-item:last-child {
  padding-bottom: 0;
}
.about-timeline-dot {
  position: absolute;
  top: 2px;
  left: -9px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: #fff;
}
.about-period {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.about-timeline-item h3 {
  margin-top: 4px;
  font-size: 19px;
  line-height: 1.5;
}
.about-role {
  margin-top: 5px;
  font-size: 14px;
  font-weight: 600;
}
.about-experience-description {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.about-tag {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px 9px;
  background: var(--light);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

/* # ABOUT 05. 기술 역량: 2열 카드와 각 기술의 경험 수준 표시입니다. */
.about-level-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 30px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: var(--light);
}
.about-level-legend > span:first-child {
  margin-right: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.about-level {
  flex-shrink: 0;
  border: 1px solid;
  border-radius: 5px;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 500;
}
.about-level-project {
  border-color: #cdeadc;
  background: #effbf5;
  color: #267356;
}
.about-level-learning {
  border-color: #e3d5f4;
  background: #f8f2ff;
  color: #8350b7;
}
.about-level-planned {
  border-color: #f2dec6;
  background: #fff7ed;
  color: #a45c20;
}
/* # 입문과 초급: app.js에서 같은 이름의 level을 선택하면 이 색상이 적용됩니다. */
.about-level-starter {
  border-color: #d5dce5;
  background: #f3f5f8;
  color: #4b596e;
}
.about-level-begineer {
  border-color: #c9dcfa;
  background: #edf4ff;
  color: #2455a4;
}
.about-skills-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.about-skill-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  background: #fff;
}
.about-skill-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #f0f2f6;
  padding-bottom: 14px;
}
.about-skill-card-heading h3 {
  font-size: 17px;
  line-height: 1.5;
}
.about-skill-card-heading > span {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 11px;
}
.about-skill-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.about-skill-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 8px;
  padding: 12px;
  background: var(--light);
}
.about-skill-row > span:first-child {
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

/* # ABOUT 06. 좁은 화면: 개인정보는 2열, 휴대폰에서는 전체를 1열로 바꿉니다. */
@media (max-width: 1000px) {
  .about-personal-layout {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 20px;
  }
  .about-information-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 740px) {
  .about-page {
    padding-bottom: 45px;
  }
  .about-page-intro {
    padding-top: 30px;
  }
  .about-page-intro h1 {
    font-size: 32px;
  }
  .about-personal {
    padding-top: 35px;
  }
  .about-personal-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }
  .about-personal-heading h2,
  .about-vision h2 {
    font-size: 20px;
  }
  .about-personal-layout {
    grid-template-columns: 1fr;
  }
  .about-profile-photo {
    width: 170px;
    min-height: 210px;
  }
  .about-information-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .about-vision {
    margin-top: 35px;
    padding: 23px;
  }
  .about-experience,
  .about-skills {
    padding-top: 45px;
  }
  .about-section-heading h2 {
    font-size: 25px;
  }
  .about-timeline-item {
    padding-left: 23px;
  }
  .about-skills-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .about-skill-card {
    padding: 20px;
  }
  .about-skill-row {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* # PROJECTS 01. 목록 페이지 제목: ABOUT과 같은 너비와 여백을 사용합니다. */
.project-archive-page {
  padding-bottom: 80px;
}
.project-archive-intro {
  padding: 44px 0 28px;
  border-bottom: 1px solid var(--line);
}
.project-archive-intro .eyebrow {
  color: var(--blue);
  font-size: 11px;
  letter-spacing: 0.09em;
}
.project-archive-intro h1 {
  margin: 7px 0 7px;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.35;
}
.project-archive-intro > p:last-child {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

/* # PROJECTS 02. 분류·검색: 왼쪽은 버튼, 오른쪽은 검색 입력칸입니다. */
.archive-project-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 16px;
  background: var(--light);
}
.archive-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.archive-filter-button {
  border: 0;
  border-radius: 7px;
  padding: 8px 14px;
  background: #edf1f7;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.archive-filter-button:hover {
  background: #e3eaff;
  color: var(--blue);
}
.archive-filter-button.is-active {
  background: var(--blue);
  color: #fff;
}
.archive-search-box {
  position: relative;
  flex: 0 1 440px;
  min-width: 0;
}
.archive-search-symbol {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  pointer-events: none;
}
.archive-search-box input {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 10px 14px 10px 39px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}
.archive-search-box input::placeholder {
  color: #7e899b;
}
.archive-project-count {
  margin: 34px 0 30px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
}

/* # PROJECTS 03. 카드 목록: PC에서는 3열, 각 카드는 같은 행 높이를 사용합니다. */
.archive-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.archive-project-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 23px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.archive-project-card:hover {
  border-color: #b8cef7;
  box-shadow: 0 4px 18px rgba(17, 29, 54, 0.05);
}
.archive-project-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  background: var(--light);
}
.archive-cover-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.archive-cover-number {
  align-self: flex-end;
  color: #c0cde3;
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
}
.archive-cover-caption {
  color: var(--muted);
  font-size: 12px;
}
.archive-project-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.archive-project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.archive-project-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.archive-category-badge,
.archive-status-badge {
  border: 1px solid;
  border-radius: 5px;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 500;
}
.archive-category-badge {
  border-color: #d6e4ff;
  background: #f0f6ff;
  color: var(--blue);
}
.archive-status-badge {
  border-color: #f2dec6;
  background: #fff7ed;
  color: #a45c20;
}
.archive-project-year {
  color: var(--muted);
  font-size: 11px;
}
.archive-project-body h2 {
  margin-top: 17px;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 700;
}
.archive-project-body h2 a:hover {
  color: var(--blue);
}
.archive-project-subtitle {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.03em;
}
.archive-project-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}
/* 카드 설명은 최대 4줄입니다. 전체 설명은 '상세 보기'로 이동해 볼 수 있습니다. */
.archive-project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0 28px;
}
.archive-project-tag {
  border-radius: 4px;
  padding: 3px 7px;
  background: var(--light);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.archive-project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.archive-project-footer > span {
  color: var(--muted);
  font-size: 12px;
}
.archive-project-footer a {
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
}
.archive-project-footer a:hover {
  text-decoration: underline;
}
.archive-project-empty {
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  border-radius: 15px;
  padding: 60px 24px;
  text-align: center;
}
.archive-project-empty h2 {
  font-size: 23px;
}
.archive-project-empty p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

/* # PROJECTS 04. 태블릿은 2열, 휴대폰은 1열로 바꿉니다. */
@media (max-width: 1000px) {
  .archive-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 740px) {
  .project-archive-page {
    padding-bottom: 45px;
  }
  .project-archive-intro {
    padding-top: 30px;
  }
  .project-archive-intro h1 {
    font-size: 32px;
  }
  .archive-project-controls {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
    padding: 15px;
  }
  .archive-search-box {
    flex-basis: auto;
    width: 100%;
  }
  .archive-search-box input {
    font-size: 16px;
  }
  .archive-project-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .archive-project-count {
    margin: 26px 0 22px;
  }
  .archive-project-card {
    padding: 20px;
  }
}

/* # ADMIN 01. 오른쪽 위 관리자 입구: 다른 페이지에서도 항상 보이는 링크입니다. */
.header-admin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-shrink: 0;
  padding: 7px 13px;
  border: 1px solid var(--navy);
  border-radius: 7px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
.header-admin:hover,
.header-admin[aria-current="page"] {
  background: #233556;
}
.header-admin svg {
  width: 16px;
  height: 16px;
  stroke: #72a6ff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* # ADMIN 02. 로그인 카드: 밝은 배경 가운데 입력할 공간을 모읍니다. */
.admin-access-page {
  min-height: 650px;
  display: grid;
  align-content: start;
  padding: 52px 20px 64px;
  background: #f9fbfd;
}
.admin-access-page .login-panel {
  width: min(450px, 100%);
  padding: 32px;
  border-radius: 24px;
  border-color: #e6eaf0;
  box-shadow: 0 14px 26px #1421360b, 0 3px 6px #14213608;
}
.admin-access-symbol {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: var(--navy);
}
.admin-access-symbol svg {
  width: 29px;
  height: 29px;
  stroke: #72a6ff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.admin-access-page .login-panel h1 {
  font-size: 26px;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 8px;
}
.admin-access-page .login-panel > .muted {
  text-align: center;
  line-height: 1.8;
  margin-bottom: 24px;
}

/* # ADMIN 03. 입력칸과 아이콘: 아이콘 옆에 이메일·비밀번호를 입력합니다. */
.admin-input-wrap {
  position: relative;
}
.admin-input-wrap > svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 19px;
  height: 19px;
  stroke: #8a97a9;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.admin-input-wrap input {
  border-radius: 11px;
  padding: 10px 13px 10px 41px;
}
.admin-password-wrap input {
  padding-right: 49px;
}
.admin-access-page .admin-password-toggle {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #78879b;
}
.admin-password-toggle:hover {
  background: var(--light);
  color: var(--blue);
}
.admin-password-toggle svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.password-eye-slash {
  display: none;
}
.admin-password-toggle[aria-pressed="true"] .password-eye-slash {
  display: block;
}

/* # ADMIN 04. 로그인 실행과 돌아가기: 로그인은 기존 서버가 확인합니다. */
.admin-access-page .form-message:empty {
  display: none;
}
.admin-login-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  padding: 12px;
  border: 1px solid var(--navy);
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
  line-height: 1.7;
}
.admin-login-submit:hover {
  background: #233556;
}
.admin-login-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}
.admin-login-submit svg {
  width: 18px;
  height: 18px;
  stroke: #72a6ff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.admin-return-link {
  display: block;
  border-top: 1px solid var(--line);
  padding-top: 19px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.admin-return-link:hover {
  color: var(--blue);
}

/* # ADMIN 05. 작은 화면: 메뉴 옆에도 Admin을 표시하고 카드를 화면 폭에 맞춥니다. */
@media (max-width: 1100px) {
  .header-caption {
    display: none;
  }
}
@media (max-width: 740px) {
  .header-inner {
    gap: 12px;
  }
  .header-admin {
    padding: 7px 10px;
  }
  .admin-access-page {
    min-height: 600px;
    padding: 32px 20px 48px;
  }
  .admin-access-page .login-panel {
    padding: 28px 22px;
    border-radius: 20px;
  }
  .admin-access-page .login-panel h1 {
    font-size: 24px;
  }
}

/* # CMS 01. 관리자 도구: 방문자에게는 JS가 이 영역을 만들지 않습니다. */
.cms-copy-text { white-space: pre-line; }
.page-owner-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 14px;
  color: var(--muted);
}
.page-owner-tools .button {
  padding: 7px 14px;
  font-size: 14px;
}
.cms-small-button,
.cms-tab {
  font: inherit;
  font-size: 14px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.cms-small-button:hover,
.cms-tab:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.cms-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.cms-tab.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.cms-board-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: var(--blue);
  margin-bottom: 24px;
}
.cms-section {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 18px;
  background: #fff;
}
.cms-section summary {
  padding: 20px 24px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}
.cms-section-body {
  padding: 0 24px 28px;
}
.cms-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}
.editor-field select,
.board-write select,
.board-search input {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c9d2e0;
  border-radius: 6px;
  padding: 12px;
  min-width: 0;
}
.cms-subtitle {
  margin: 34px 0 16px;
  font-size: 20px;
}
.cms-item {
  padding: 22px;
  margin: 20px 0;
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.cms-item-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.cms-item h3 {
  font-size: 19px;
}
.cms-skill-row {
  display: grid;
  grid-template-columns: 1fr 160px auto;
  align-items: end;
  gap: 12px;
  margin-bottom: 20px;
}
.cms-skill-row .cms-small-button {
  min-height: 50px;
}
.cms-editor .editor-save {
  position: sticky;
  bottom: 0;
  background: #fffffffa;
  border-top: 1px solid var(--line);
  padding: 16px 0;
  z-index: 5;
}

/* # EDITOR 01. 카페형 본문 입력: 서식 버튼과 실제 본문 편집 공간입니다. */
.rich-editor {
  margin: 24px 0;
}
.rich-editor > label {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 700;
}
.rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px;
  border: 1px solid #c9d2e0;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: var(--light);
}
.rich-toolbar button,
.rich-toolbar select {
  font: inherit;
  font-size: 14px;
  min-width: 34px;
  min-height: 34px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}
.rich-toolbar button:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.rich-input {
  min-height: 300px;
  padding: 22px;
  border: 1px solid #c9d2e0;
  border-radius: 0 0 8px 8px;
  background: #fff;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.9;
}
.rich-input:focus {
  outline: 2px solid #b3c6fa;
  outline-offset: -2px;
}
.rich-input p,
.rich-content p {
  margin: 0 0 12px;
  white-space: pre-wrap;
}
.rich-input h2,
.rich-content h2 {
  font-size: 26px;
  margin: 22px 0 14px;
}
.rich-input h3,
.rich-content h3 {
  font-size: 21px;
  margin: 20px 0 12px;
}
.rich-input blockquote,
.rich-content blockquote {
  margin: 18px 0;
  padding: 16px 22px;
  border-left: 3px solid var(--blue);
  color: var(--muted);
  background: var(--light);
}
.rich-align-left { text-align: left; }
.rich-align-center { text-align: center; }
.rich-align-right { text-align: right; }
.rich-content {
  overflow-wrap: anywhere;
  word-break: normal;
}
.project-detail-body,
.notes-rich-body {
  margin: 28px 0;
}
.project-detail-body:empty,
.notes-rich-body:empty {
  display: none;
}
[hidden] {
  display: none !important;
}

/* # BOARD 01. 글 목록: 분류·제목·작성자·날짜를 표처럼 나란히 보여 줍니다. */
.board-shell {
  max-width: 1000px;
  padding-top: 36px;
  padding-bottom: 80px;
  min-height: 420px;
}
.board-list-toolbar,
.board-write-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.board-list-toolbar .muted {
  font-size: 14px;
}
.board-search {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 24px 0;
}
.board-search input {
  max-width: 350px;
}
.board-table-scroll {
  overflow-x: auto;
}
.board-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.board-table th {
  padding: 15px 12px;
  border-top: 2px solid var(--ink);
  background: var(--light);
  color: var(--muted);
  font-weight: 600;
  text-align: left;
}
.board-table td {
  padding: 19px 12px;
  border-bottom: 1px solid var(--line);
}
.board-title-cell {
  width: 50%;
  font-size: 16px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.board-title-cell a:hover {
  color: var(--blue);
}
.board-category {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 5px;
  background: var(--light);
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}
.board-owner-badge {
  display: inline-block;
  margin-left: 6px;
  color: var(--blue);
  font-size: 12px;
}
.board-empty {
  padding: 70px 20px;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.board-empty h2 {
  font-size: 24px;
  margin-bottom: 12px;
}
.board-empty p {
  color: var(--muted);
  margin-bottom: 16px;
}
.board-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 30px 0 0;
  font-size: 14px;
}

/* # BOARD 02. 글 작성과 읽기: 방문자는 자유 게시판 글 등록만 할 수 있습니다. */
.board-write-heading {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.board-write-heading h2 {
  font-size: 30px;
}
.board-write-heading p,
.board-write-note {
  color: var(--muted);
  font-size: 14px;
}
.board-write-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: end;
}
.board-writing-owner {
  padding-bottom: 12px;
  color: var(--blue);
  font-size: 14px;
}
.board-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.board-write-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.board-preview {
  padding: 26px;
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.board-preview > h3 {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 24px;
}
.board-post-heading {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.board-post-heading h2 {
  font-size: 32px;
  margin: 16px 0;
  overflow-wrap: anywhere;
}
.board-post-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}
.board-post-body {
  min-height: 180px;
  padding: 34px 0;
}
.board-delete-confirm {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-top: 20px;
}
.board-delete-confirm > p {
  margin-bottom: 14px;
}

/* # BOARD 03. 태그와 첨부 사진: 태그는 검색 링크, 사진은 글 아래의 이미지입니다. */
.study-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}
.study-tag {
  display: inline-block;
  border: 1px solid #d7e4fb;
  border-radius: 6px;
  padding: 5px 9px;
  color: #2455a4;
  background: #f2f6ff;
  font-size: 14px;
  overflow-wrap: anywhere;
}
a.study-tag:hover { background: #e4edff; }
.board-tag-filter { margin-bottom: 22px; font-size: 14px; }
.board-tag-filter a { margin-left: 16px; color: var(--blue); }
.study-attachments { margin-top: 28px; }
.study-attachments h3 { font-size: 18px; margin-bottom: 14px; }
.study-photo-dropzone {
  border: 2px dashed #c8d3e5;
  border-radius: 12px;
  padding: 25px 20px;
  background: #f8faff;
  text-align: center;
}
.study-photo-dropzone.drag-active { border-color: var(--blue); background: #eaf1ff; }
.study-photo-dropzone strong { display: block; font-size: 16px; }
.study-photo-dropzone > p { margin: 9px 0 15px; font-size: 14px; color: var(--muted); }
.study-photo-dropzone .editor-hint { margin-bottom: 0; }
.study-upload-status { margin: 14px 0; font-size: 14px; white-space: pre-line; }
.study-photo-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.study-photo-item { min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.study-photo-item img { width: 100%; height: 150px; object-fit: contain; background: #f3f5f8; border-radius: 6px; }
.study-photo-item figcaption { margin: 9px 0; font-size: 14px; overflow-wrap: anywhere; }
.study-post-photos { display: grid; gap: 28px; margin: 18px 0 30px; }
.study-post-photos figure { min-width: 0; }
.study-post-photos img { display: block; max-width: 100%; height: auto; border-radius: 8px; }
.study-post-photos figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
@media (max-width: 740px) {
  .study-photo-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .study-photo-dropzone { padding: 20px 14px; }
}
@media (max-width: 380px) {
  .study-photo-list { grid-template-columns: 1fr; }
}

/* # CMS·BOARD 04. 작은 화면: 메뉴를 두 줄로 배치하고 입력칸은 한 열로 바꿉니다. */
@media (max-width: 1300px) {
  .header-caption { display: none; }
  .header-inner { gap: 24px; }
  #site-nav { gap: 20px; }
}
@media (max-width: 740px) {
  .header-inner { gap: 12px; }
  #site-nav.open { flex-wrap: wrap; gap: 2px 10px; }
  .cms-fields-grid,
  .board-write-meta { grid-template-columns: 1fr; gap: 0; }
  .cms-section-body { padding: 0 16px 20px; }
  .cms-section summary { padding: 18px 16px; }
  .cms-item { padding: 16px; }
  .cms-skill-row { grid-template-columns: 1fr; gap: 0; }
  .cms-item-heading { align-items: flex-start; }
  .cms-editor .editor-save { flex-wrap: wrap; }
  .rich-toolbar { padding: 8px; }
  .rich-input { padding: 16px; }
  .board-table { min-width: 600px; }
  .board-write-actions .button { padding: 10px 15px; font-size: 14px; }
  .board-shell { padding-top: 26px; }
  .board-post-heading h2 { font-size: 27px; }
  .board-list-toolbar { align-items: flex-start; }
  .board-search input { flex: 1; }
}
@media (max-width: 380px) {
  .brand-caption { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
/* # 관계 지도 체험: 입력 패널과 넓은 지도, 결과 목록을 분리합니다. */
.rag-shell{max-width:1560px;margin:0 auto;padding:36px 28px 70px;color:#17233a}
.rag-header{display:flex;justify-content:space-between;gap:28px;align-items:center;margin-bottom:24px}
.rag-header h1{font-size:clamp(24px,3vw,36px);letter-spacing:-.045em;margin:14px 0 8px}
.rag-header p{color:#69758b;margin:0;font-size:16px}
.rag-header-actions,.rag-form-actions{display:flex;flex-wrap:wrap;gap:10px}
.rag-meta{display:grid;grid-template-columns:1fr 2fr auto;gap:16px;align-items:end;padding:20px;background:#f3f6fc;border:1px solid #dfe6f1;border-radius:12px}
.rag-field{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:600;margin:0 0 13px}
.rag-meta .rag-field{margin:0}
.rag-field input,.rag-field select,.rag-field textarea{min-width:0;width:100%;padding:10px 11px;border:1px solid #ced7e5;border-radius:6px;background:white;color:#17233a;font:inherit;font-weight:400;font-size:16px}
.rag-field select[multiple]{min-height:104px}
.rag-field textarea{resize:vertical}
.rag-field input:focus,.rag-field select:focus,.rag-field textarea:focus{outline:2px solid #1554ff;outline-offset:2px}
.rag-workspace{display:grid;grid-template-columns:310px minmax(0,1fr);gap:20px;align-items:start}
.rag-tools{max-height:760px;overflow:auto;border:1px solid #dfe6f1;border-radius:12px;background:white}
.rag-tools details+details{border-top:1px solid #dfe6f1}
.rag-tools summary{cursor:pointer;padding:17px 18px;font-size:16px;font-weight:700;background:#f8faff}
.rag-tools form{padding:18px}
.rag-tools .button{font-size:14px;padding:11px 15px}
.rag-help{font-size:14px;font-weight:400;line-height:1.65;color:#617089;margin:10px 0 16px}
.rag-check{display:flex;align-items:flex-start;gap:8px;font-size:14px;line-height:1.6;margin:12px 0}
.rag-check input{margin-top:6px}
.rag-message{min-height:28px;margin:18px 0;color:#174caf;font-size:15px;line-height:1.7}
.rag-canvas-panel{min-width:0;border:1px solid #d7e1f1;background:white;border-radius:12px;overflow:hidden}
.rag-canvas-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:14px 18px;border-bottom:1px solid #e0e7f2;font-size:14px}
.rag-canvas-toolbar strong{font-size:16px;flex:1;overflow-wrap:anywhere}
.rag-canvas-toolbar span{color:#69758b}
.rag-canvas-toolbar button{border:1px solid #d7e1f1;border-radius:5px;padding:6px 10px;background:white;cursor:pointer;font:inherit;white-space:nowrap}
.rag-canvas-toolbar button[aria-pressed=true]{background:#1554ff;color:white}
.rag-canvas-toolbar button:disabled{opacity:.4;cursor:default}
.rag-legend{display:flex;flex-wrap:wrap;gap:16px;padding:14px 18px;font-size:14px}
.rag-legend span:before{content:"";display:inline-block;width:21px;height:3px;background:var(--relation-color);vertical-align:middle;margin-right:7px}
.rag-legend [data-relation-type=causality]{--relation-color:#d62828}.rag-legend [data-relation-type=inclusion]{--relation-color:#252c3b}.rag-legend [data-relation-type=argumentation]{--relation-color:#1565c0}.rag-legend [data-relation-type=partWhole]{--relation-color:#2e7d32}
.rag-item-list article[data-relation-type]{border-left-width:3px}.rag-item-list article[data-relation-type=causality]{border-left-color:#d62828}.rag-item-list article[data-relation-type=inclusion]{border-left-color:#252c3b}.rag-item-list article[data-relation-type=argumentation]{border-left-color:#1565c0}.rag-item-list article[data-relation-type=partWhole]{border-left-color:#2e7d32}
.rag-canvas-scroll{height:605px;overflow:auto;background:#f8faff;max-width:100%}
.rag-canvas-scroll svg{display:block;max-width:none;touch-action:none}
.rag-result .rag-canvas-scroll svg{touch-action:pan-x pan-y}
.rag-svg-node{cursor:grab}.rag-svg-node:focus{outline:none}.rag-svg-node:focus rect,.rag-svg-node:focus polygon{stroke:#1554ff;stroke-width:4}
.rag-canvas-hint{font-size:14px;line-height:1.7;padding:12px 18px;margin:0;color:#617089;border-top:1px solid #e0e7f2}
.rag-lists{display:grid;grid-template-columns:1fr 1.2fr;gap:20px;margin-top:26px}
.rag-lists>details{border:1px solid #dfe6f1;border-radius:10px;overflow:hidden;min-width:0}
.rag-lists>details:last-child{grid-column:1/-1}
.rag-lists summary{padding:16px 20px;background:#f5f8fd;font-size:16px;font-weight:700;cursor:pointer}
.rag-item-list{max-height:440px;overflow:auto;padding:12px}
.rag-item-list article{display:flex;justify-content:space-between;gap:12px;padding:14px;margin-bottom:10px;border:1px solid #e6eaf1;border-radius:7px;overflow-wrap:anywhere}
.rag-item-list article>div:first-child{min-width:0}
.rag-item-list article>div:last-child{flex-shrink:0}
.rag-item-list strong{font-size:15px;line-height:1.6}
.rag-item-list p{font-size:14px;color:#617089;line-height:1.65;margin:5px 0 0;white-space:pre-wrap}
.rag-local-note{font-size:14px;line-height:1.7;color:#69758b;margin-top:22px}
.rag-result-summary{margin-top:30px;padding:24px;border-left:3px solid #1554ff;background:#f5f8fd}
.rag-result-summary h2{font-size:23px;margin:0 0 10px}.rag-result-summary p{white-space:pre-wrap;line-height:1.7;margin:8px 0}
.rag-yaml-preview{margin-top:24px;border:1px solid #dfe6f1;border-radius:8px;padding:18px;font-size:16px}
.rag-yaml-preview summary{cursor:pointer;font-weight:700}.rag-yaml-preview pre{max-height:440px;overflow:auto;background:#111c34;color:#e7edff;padding:22px;font-size:14px;line-height:1.65}
.rag-launch .button{margin-top:18px}
@media(max-width:1000px){.rag-header{align-items:flex-start;flex-direction:column}.rag-workspace{grid-template-columns:270px minmax(0,1fr)}.rag-meta{grid-template-columns:1fr 1fr}.rag-meta>button{grid-column:1/-1}.rag-lists{grid-template-columns:1fr}.rag-item-list article>div:last-child{flex-shrink:1}}
@media(max-width:700px){.rag-shell{padding:24px 16px 50px}.rag-workspace{grid-template-columns:1fr}.rag-tools{max-height:500px}.rag-meta{grid-template-columns:1fr}.rag-canvas-scroll{height:430px}.rag-header-actions .button{font-size:14px;padding:12px 14px}.rag-item-list article{flex-wrap:wrap}}
/* # 간단한 연결 도구: 선택한 관계를 색과 버튼 눌림 상태로 보여줍니다. */
.rag-draw-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:14px 18px;border-bottom:1px solid #e0e7f2}
.rag-draw-toolbar button{padding:9px 14px;border:1px solid #cdd7e6;border-radius:6px;background:white;color:#33425a;font:inherit;font-size:15px;cursor:pointer}
.rag-draw-toolbar button[aria-pressed=true]{background:#edf3ff;border-color:#1554ff;box-shadow:0 0 0 1px #1554ff;color:#1554ff}
.rag-draw-toolbar [data-relation-type=causality]{color:#d62828}.rag-draw-toolbar [data-relation-type=inclusion]{color:#252c3b}.rag-draw-toolbar [data-relation-type=partWhole]{color:#2e7d32}.rag-draw-toolbar [data-relation-type=argumentation]{color:#1565c0}
.rag-inclusion-buttons{display:flex;gap:5px}.rag-inclusion-buttons[hidden]{display:none}.rag-inclusion-buttons button{font-size:22px;padding:3px 13px;min-width:50px}
.rag-effect-buttons{display:flex;gap:5px}.rag-effect-buttons[hidden]{display:none}
.rag-edge-hit{pointer-events:stroke;cursor:pointer}
.rag-edge-target{cursor:crosshair}
.rag-svg-edge:focus{outline:none}.rag-svg-edge:focus .rag-edge-line,.rag-svg-edge:hover .rag-edge-line{stroke-width:4}
.rag-delete-mode .rag-edge-hit{cursor:crosshair}.rag-delete-mode .rag-svg-edge:hover .rag-edge-line{stroke:#c92a2a;stroke-width:5}
.rag-preset-buttons{display:flex;gap:8px;padding:13px 18px 0;background:white;flex-wrap:wrap}
.rag-preset-buttons button{font:inherit;font-size:14px;border:1px solid #d8e1ef;border-radius:7px;background:#f8faff;color:#53637c;padding:9px 16px;cursor:pointer}
.rag-preset-buttons button[aria-pressed=true]{color:#1554ff;background:#edf3ff;border-color:#1554ff;font-weight:700}
.rag-feature-choice{display:flex;align-items:center;gap:9px;font-size:14px;line-height:1.5;margin:13px 0;color:#33425a}
.rag-feature-choice input{width:17px;height:17px;accent-color:#1554ff}
.rag-weight-input{display:flex;gap:7px;align-items:center;font-size:13px;color:#596b85}.rag-weight-input input{width:85px;padding:8px;border:1px solid #cdd7e6;border-radius:6px;font:inherit}
.rag-color-choice input[type=color]{width:100%;height:42px;padding:4px;border:1px solid #cdd7e6;border-radius:6px;background:white;cursor:pointer}
.rag-weight-editor{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:14px 18px;background:#f0f5ff;border-bottom:1px solid #d9e4f7}.rag-weight-editor label{display:flex;align-items:center;gap:9px;font-size:14px}.rag-weight-editor input[type=number]{width:120px;padding:8px;border:1px solid #cdd7e6;border-radius:6px;font:inherit}
.rag-edge-weight[data-rag-weight-edit]{cursor:pointer}.rag-edge-weight:focus{outline:none}.rag-edge-weight:focus rect,.rag-edge-weight:hover rect{stroke-width:2}
.rag-certainty-buttons button{font-size:14px;padding:9px 12px}
.rag-arrow-guide{padding:0 18px 16px;color:#66768c;font-size:13px;line-height:1.8}.rag-arrow-guide summary{cursor:pointer;color:#536b8c;font-weight:600}.rag-arrow-guide p{margin:10px 0 0}
.rag-definition-list{margin-top:14px;display:grid;gap:9px}.rag-definition-list>div{display:flex;align-items:center;gap:6px;font-size:14px}.rag-definition-list span{margin-right:auto;font-weight:700;overflow-wrap:anywhere}

/* # 프로젝트 상세: 큰 소개 카드와 오른쪽 목차를 갖춘 읽기 화면입니다. */
.project-research{padding-top:32px;padding-bottom:90px}
.project-back{display:inline-block;color:#66768c;font-size:14px;font-weight:600;margin:0 0 35px}
.project-research-hero{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);align-items:center;gap:36px;padding:34px;border:1px solid #e1e7ef;border-radius:17px;background:linear-gradient(120deg,#f8faff,#fff);box-shadow:0 1px 3px #192e4b05}
.project-research-heading h1{font-size:clamp(27px,3.3vw,44px);line-height:1.35;letter-spacing:-.04em;margin:22px 0}
.project-research-meta,.project-research-tags{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:13px;color:#6d7b8d}
.project-research-meta>span:first-child{background:#edf4ff;color:#1554ff;border:1px solid #d4e5ff;border-radius:6px;padding:6px 10px;font-weight:600}
.project-research-facts{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}
.project-research-facts>div{border:1px solid #e5eaf2;border-radius:8px;padding:13px 16px;background:#fff}
.project-research-facts small{display:block;font-size:11px;color:#8996a7;margin-bottom:5px}.project-research-facts strong{font-size:14px;font-weight:600}
.project-research-tags{margin:18px 0 24px}.project-research-tags span{border:1px solid #e3e9f0;border-radius:5px;padding:5px 8px;background:white;font-size:12px;color:#58677c}
.project-research-image{border:1px solid #dbe5f2;background:#edf3ff;border-radius:14px;overflow:hidden}.project-research-image svg{display:block;width:100%;height:auto}
.project-research-cover{min-height:245px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:linear-gradient(145deg,#edf3ff,#e0e9ff);color:#1554ff}.project-research-cover span{font-size:88px;line-height:1;letter-spacing:-.08em;font-weight:700}.project-research-cover p{font-size:11px;letter-spacing:.15em;margin-top:18px}
.project-research-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:40px;align-items:start;margin-top:42px}
.project-research-article>section{margin:0 0 44px;scroll-margin-top:20px}
.project-research-article>section>h2{font-size:22px;letter-spacing:-.025em;border-bottom:1px solid #e2e8f1;padding-bottom:15px;margin-bottom:18px;line-height:1.4}
.project-research-article>section>h2:before{content:"";display:inline-block;background:#1554ff;width:8px;height:8px;border-radius:50%;vertical-align:middle;margin-right:10px}.project-research-article h2 span{font-size:13px;font-weight:400;color:#8a97a9;margin-left:8px}
.project-research-article p{line-height:1.9;font-size:15px}.project-overview-box{border:1px solid #e3e8ef;border-radius:10px;padding:23px;background:#f8faff}.project-overview-box p{margin:0}
.project-question-box{padding:26px 28px;border-left:3px solid #1554ff;border-radius:0 10px 10px 0;background:#edf3ff}.project-question-box h2{border:0!important;margin-bottom:0!important;padding-bottom:0!important;font-size:23px!important}.project-question-box h2:before{display:none!important}
.project-approach-steps{list-style:none;padding:0;margin:0;display:grid;gap:22px}.project-approach-steps li{display:flex;gap:20px;align-items:flex-start}.project-approach-steps li>span{color:#a8bcde;font-size:28px;font-weight:700;line-height:1.3}.project-approach-steps h3{font-size:17px;margin:0 0 5px}.project-approach-steps p{margin:0;color:#65758c}
.project-experience-card{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:25px;border-radius:12px;border:1px solid #cddfff;background:#f4f8ff}.project-experience-card h3{font-size:20px;margin:8px 0}.project-experience-card p{margin:0}.project-experience-card .button{flex-shrink:0}
.project-information{border:1px solid #e3e8f0;border-radius:10px;margin:0;overflow:hidden}.project-information>div{display:grid;grid-template-columns:130px 1fr;gap:18px;padding:16px 20px;border-bottom:1px solid #edf0f5;font-size:14px}.project-information>div:last-child{border:0}.project-information dt{color:#7c8a9c}.project-information dd{margin:0;font-weight:600}
.project-research-toc{position:sticky;top:105px;border:1px solid #e2e8ef;border-radius:14px;padding:23px;background:white;box-shadow:0 2px 6px #182e4d03}.project-research-toc h3{font-size:12px;letter-spacing:.06em;color:#8a96a6;margin:0 0 18px}.project-research-toc nav{display:grid;gap:6px}.project-research-toc button{text-align:left;font:inherit;font-size:13px;padding:11px 13px;border:0;border-left:2px solid transparent;background:white;color:#58677b;border-radius:5px;cursor:pointer}.project-research-toc button:hover,.project-research-toc button[aria-current=true]{color:#1554ff;background:#edf4ff;border-left-color:#1554ff}
.project-research-more{padding-top:28px;border-top:1px solid #e5eaf2}.project-research-more>h2{font-size:24px;margin-bottom:25px}
.project-detail-section>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;cursor:pointer;border-bottom:1px solid #e2e8f1;padding:0 0 15px;margin-bottom:18px}
.project-detail-section>summary::-webkit-details-marker{display:none}.project-detail-section>summary:hover h2{color:#1554ff}.project-detail-section>summary:focus-visible{outline:2px solid #1554ff;outline-offset:5px;border-radius:4px}
.project-detail-section>summary h2{font-size:22px;letter-spacing:-.025em;line-height:1.4;margin:0}.project-detail-section>summary h2:before{content:"";display:inline-block;background:#1554ff;width:8px;height:8px;border-radius:50%;vertical-align:middle;margin-right:10px}
.project-fold-label{font-size:12px;color:#607089;white-space:nowrap}.project-detail-section .when-open,.project-detail-section[open] .when-closed{display:none}.project-detail-section[open] .when-open{display:inline}
.project-section-content .project-question-box h3{font-size:23px;line-height:1.5;margin:0}
.rich-image{margin:24px 0;padding:0}.rich-image img{display:block;max-width:100%;height:auto;border-radius:8px;margin:0 auto}.rich-input .rich-image{padding:12px;border:1px solid #dce5f2;border-radius:9px;background:#f8faff}.rich-input .rich-image button{margin:10px 8px 0 0}.rich-upload-status{font-size:13px;color:#526783;white-space:pre-line}
.project-cover-editor{margin:22px 0;padding:18px;border:1px solid #dce5f2;border-radius:9px;background:#f8faff}.project-cover-editor h4{margin:0 0 8px}.project-cover-editor [data-cover-preview] img{max-width:320px;width:100%;max-height:220px;object-fit:contain;border-radius:8px;margin:10px 0}.project-cover-editor [data-cover-alt]{width:100%}
.project-cover-photo{width:100%;height:100%;display:block;object-fit:cover}.project-research-image .project-cover-photo{height:auto;max-height:430px;object-fit:contain;background:#edf3ff}.card-cover:has(.project-cover-photo),.archive-project-cover:has(.project-cover-photo){padding:0;overflow:hidden}.archive-project-cover .project-cover-photo{position:absolute;inset:0}.card-cover .project-cover-photo{position:absolute;inset:0}
.card-cover:has(.project-cover-photo):after{display:none}
.project-research-toc button:hover:not([aria-current=true]){color:#58677b;background:#f8faff;border-left-color:transparent}
@media(max-width:950px){.project-research-layout{grid-template-columns:minmax(0,1fr) 220px;gap:25px}.project-research-hero{gap:24px;padding:26px;grid-template-columns:1.6fr 1fr}}
@media(max-width:720px){.project-research{padding-top:24px}.project-back{margin-bottom:22px}.project-research-hero{grid-template-columns:1fr;padding:22px;gap:22px}.project-research-image{max-width:400px;width:100%;justify-self:center}.project-research-layout{display:flex;flex-direction:column;gap:28px}.project-research-toc{position:static;width:100%;order:-1;padding:18px}.project-research-toc nav{display:flex;flex-wrap:wrap;gap:5px}.project-research-toc button{padding:8px 11px}.project-research-article{width:100%}.project-experience-card{align-items:flex-start;flex-direction:column}.project-research-facts{gap:8px}.project-research-facts>div{padding:12px}.project-research-article h2 span{display:block;margin:7px 0 0 18px}}
.rag-member-options{max-height:190px;overflow:auto;margin:14px 0;border:1px solid #e0e7f2;border-radius:6px;padding:8px}
.rag-member{display:flex;align-items:center;gap:9px;padding:7px;font-size:14px;cursor:pointer;overflow-wrap:anywhere}.rag-member input{flex-shrink:0}
.rag-svg-group{cursor:pointer}.rag-svg-group path{pointer-events:stroke;stroke-width:3}.rag-svg-group:focus path{stroke:#1554ff;stroke-width:4}
.rag-lists>details:last-child{grid-column:auto}
/* # 현재욱 작업본: 큰 그림은 안에서 스크롤하고, YAML은 펼쳐야 보입니다. */
.rag-worked-example.section{padding-top:32px}.rag-worked-example .rag-header{align-items:flex-start;gap:25px;margin-bottom:16px}.rag-worked-example .rag-header h1{font-size:clamp(26px,3vw,40px)}
.rag-worked-example .rag-header-actions{max-width:430px;flex-wrap:wrap}.rag-worked-example .eyebrow{margin:22px 0 10px}
.rag-example-facts{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0}.rag-example-facts span{padding:10px 16px;border:1px solid #dce5f1;background:#f5f8ff;border-radius:8px;font-size:15px}.rag-example-facts strong{font-size:22px;color:#1554ff;margin-right:5px}
.rag-example-context{font-size:14px;color:#61718a;line-height:1.8;max-width:950px}.rag-example-graphic{border:1px solid #dce5f1;border-radius:12px;margin-top:28px;padding:20px;background:white}
.rag-example-tools{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px}.rag-example-tools h2{font-size:21px;margin:0}.rag-example-tools>div{display:flex;flex-wrap:wrap;gap:8px}.rag-example-tools [aria-pressed=true]{color:#1554ff;border-color:#1554ff;background:#edf4ff}
.rag-example-image-scroll{overflow:auto;max-height:72vh;border:1px solid #e2e8f2;border-radius:7px;overscroll-behavior:contain}.rag-example-image-scroll img{display:block;width:100%;height:auto;max-width:none}.rag-example-image-scroll.actual-size img{width:1800px}
.rag-example-yaml{margin-top:25px;border:1px solid #dce5f1;border-radius:12px;padding:20px}.rag-example-yaml summary{display:flex;justify-content:space-between;gap:16px;cursor:pointer;font-size:19px;font-weight:600;list-style:none}.rag-example-yaml summary::-webkit-details-marker{display:none}.rag-example-yaml summary>span:last-child{font-size:14px;color:#61718a}
.rag-example-yaml .when-open,.rag-example-yaml[open] .when-closed{display:none}.rag-example-yaml[open] .when-open{display:inline}.rag-example-yaml pre{max-height:70vh;overflow:auto;background:#111d35;color:#e7efff;padding:22px;border-radius:8px;font-size:14px;line-height:1.7;tab-size:2}.rag-example-yaml code{font-family:Consolas,monospace}
@media(max-width:720px){.rag-worked-example .rag-header{flex-direction:column}.rag-example-graphic,.rag-example-yaml{padding:14px}.rag-example-facts{gap:7px}.rag-example-facts span{padding:8px 12px}}
/* # 관리자 저장 오류: 파란 안내와 구별하고 잘못된 입력칸에도 설명을 표시합니다. */
.form-message.is-error, .cms-field-error { color: #b42318; }
.cms-field-error { margin: 8px 0 0; font-size: 14px; line-height: 1.6; }
#admin-editor [aria-invalid="true"] { border: 2px solid #b42318; outline: 2px solid #fee4e2; }
.person-experience { max-width: 1000px; }
.person-heading { margin: 32px 0; }
.person-heading h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.person-heading p, .person-notes p { color: #475467; line-height: 1.8; }
.person-steps { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin-bottom: 28px; }
.person-steps li { border: 1px solid #d7e1f1; border-radius: 8px; padding: 10px 16px; font-size: 14px; color: #344054; }
.person-connection { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px; background: #f0f5ff; border-radius: 10px; margin-bottom: 24px; font-size: 14px; line-height: 1.7; }
.person-connection.is-offline { background: #fff4e9; color: #7a3f00; }
.person-section, .person-result, .person-scenario, .person-waiting, .person-error { border: 1px solid #d7e1f1; border-radius: 12px; padding: 24px; margin: 20px 0; }
.person-section > summary { cursor: pointer; font-weight: 700; font-size: 18px; }
.person-section[open] > summary { margin-bottom: 24px; }
.person-field { margin: 20px 0; }
.person-field label { display: block; margin-bottom: 10px; font-size: 15px; font-weight: 600; }
.person-field input, .person-field textarea, .person-field select { width: 100%; border: 1px solid #b8c7df; border-radius: 8px; padding: 12px; font: inherit; font-size: 16px; color: #17233a; background: white; }
.person-field textarea { resize: vertical; min-height: 92px; }
.person-required { color: #1453ed; font-size: 13px; margin-left: 6px; }
.person-help, .person-caution { color: #667085; font-size: 14px; line-height: 1.8; }
.person-case + .person-case { margin-top: 32px; padding-top: 28px; border-top: 1px solid #d7e1f1; }
.person-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.person-submit, .person-download { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.person-message { color: #b42318; font-size: 14px; line-height: 1.6; flex-basis: 100%; }
.person-conclusion { font-size: 20px; font-weight: 600; color: #17233a; line-height: 1.8; }
.person-result h2, .person-scenario h2, #person-answers > h2, #person-scenario > h2 { font-size: 23px; margin-bottom: 18px; }
.person-result li { margin: 12px 0; line-height: 1.8; }
.person-question { padding: 20px 0; border-bottom: 1px solid #e1e7f0; }
.person-question h3 { font-size: 18px; line-height: 1.8; }
.person-scenario dl div { margin: 22px 0; }
.person-scenario dt { font-weight: 700; margin-bottom: 10px; }
.person-scenario dd { margin: 0; line-height: 1.8; }
.person-situation { white-space: pre-wrap; color: #475467; line-height: 1.8; }
.person-waiting { text-align: center; padding: 40px 20px; }
.person-spinner { display: inline-block; width: 30px; height: 30px; border: 3px solid #d7e1f1; border-top-color: #1453ed; border-radius: 50%; animation: person-spin 1s linear infinite; margin-bottom: 18px; }
@keyframes person-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .person-spinner { animation: none; } }
@media (max-width: 640px) { .person-field-grid { grid-template-columns: 1fr; } .person-section, .person-result, .person-scenario { padding: 18px; } .person-submit .button { width: 100%; } }
