/* 보듬 노트 (aftercare) — 사후 행정·생활정리 안내 시연 화면 전용 */
.ac {
  --bg: #F5F2EC;
  --surface: #FFFFFF;
  --surface-2: #FAF8F4;
  --text: #2A2E2D;
  --muted: #5F6965;
  --line: #E3DDD2;
  --primary: #3F5E57;
  --primary-ink: #2F4A44;
  --primary-soft: #E6EEEA;
  --accent: #8C6430;
  --accent-soft: #F4EBDD;
  --ok: #3A6E50;
  --ok-soft: #E3F0E7;
  --warn: #93561C;
  --warn-soft: #FBEEDC;
  --danger: #A2443A;
  --radius: 14px;
  --display: "Diphylleia", "Nanum Myeongjo", serif;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
.ac *, .ac *::before, .ac *::after { box-sizing: border-box; }
:where(.ac) :where(a) { color: inherit; }
:where(.ac) :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ac button { cursor: pointer; }
.ac [hidden] { display: none !important; }
.ac-sprites { position: absolute; width: 0; height: 0; overflow: hidden; }
.ac-sr { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }
.ac :focus-visible { outline: 3px solid #9DB8AF; outline-offset: 2px; }

/* 안내 띠 · 머리글 */
.ac-band { display: flex; align-items: center; justify-content: center; min-height: 28px; padding: 4px 12px; background: #ECE6DB; color: var(--muted); font-size: 12px; text-align: center; }
.ac-top { position: sticky; top: 0; z-index: 30; background: rgba(245, 242, 236, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.ac-top__inner { max-width: 1120px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 10px; }
.ac-brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; flex: none; }
.ac-brand__mark { width: 30px; height: 30px; }
.ac-brand__name { font-family: var(--display); font-size: 20px; color: var(--primary-ink); letter-spacing: -.01em; }
.ac-roles { display: flex; gap: 2px; margin-left: auto; padding: 3px; background: #EAE4D9; border-radius: 999px; }
.ac-roles__item { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; font-size: 14px; text-decoration: none; color: var(--muted); white-space: nowrap; }
.ac-roles__item.is-active { background: var(--surface); color: var(--primary-ink); font-weight: 700; box-shadow: 0 1px 3px rgba(42, 46, 45, .12); }
.ac-reset { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 13px; color: var(--muted); flex: none; }
.ac-tabs { border-top: 1px solid var(--line); background: var(--surface-2); }
.ac-tabs__inner { max-width: 1120px; margin: 0 auto; padding: 0 16px; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.ac-tabs__item { display: inline-flex; align-items: center; min-height: 46px; padding: 0 12px; font-size: 15px; text-decoration: none; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.ac-tabs__item.is-active { color: var(--primary-ink); font-weight: 700; border-bottom-color: var(--primary); }
@media (max-width: 560px) {
  .ac-reset span { display: none; }
  .ac-reset { width: 40px; padding: 0; justify-content: center; }
  .ac-roles__item { padding: 0 9px; font-size: 13px; }
  .ac-brand__name { font-size: 18px; }
  .ac-brand__mark { width: 26px; height: 26px; }
}
@media (max-width: 370px) { .ac-brand__name { display: none; } }

/* 본문 공통 */
.ac-main { min-height: 60vh; }
.ac-wrap { max-width: 1120px; margin: 0 auto; padding: 20px 16px 120px; }
.ac-hello { margin: 4px 0 20px; }
.ac-hello--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.ac-eyebrow { margin: 0 0 4px; font-size: 13px; color: var(--accent); font-weight: 600; letter-spacing: .01em; }
.ac-h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.3; color: var(--primary-ink); }
.ac-h2 { margin: 0; font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.ac-h3 { margin: 0; font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.ac-h3 svg { color: var(--primary); flex: none; }
.ac-lead { margin: 8px 0 0; color: var(--muted); max-width: 40em; }
.ac-body { margin: 8px 0 12px; }
.ac-muted { color: var(--muted); }
.ac-small { font-size: 13px; line-height: 1.5; }
.ac-count { font-size: 13px; font-weight: 600; color: var(--muted); background: #EDE8DF; border-radius: 999px; padding: 1px 9px; }
.ac-foot-note { margin: 14px 2px 0; font-size: 13px; color: var(--muted); }
@media (min-width: 900px) { .ac-h1 { font-size: 34px; } .ac-wrap { padding-top: 28px; } }

.ac-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.ac-card + .ac-card { margin-top: 14px; }
.ac-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin-bottom: 10px; }

/* 버튼 */
.ac-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent; font-size: 15px; font-weight: 600; text-decoration: none; line-height: 1.3; text-align: center; }
.ac-btn--primary { background: var(--primary); color: #fff; }
.ac-btn--primary:hover { background: var(--primary-ink); }
.ac-btn--line { background: var(--surface); border-color: #CFC8BB; color: var(--text); }
.ac-btn--soft { background: var(--primary-soft); color: var(--primary-ink); }
.ac-btn--block { display: flex; width: 100%; }
.ac-btn--sm { min-height: 38px; padding: 0 12px; font-size: 14px; }
.ac-btn:disabled { background: #D9D4CA; color: #6E6A63; border-color: transparent; cursor: not-allowed; }
.ac-link { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; color: var(--primary); font-weight: 600; font-size: 14px; text-decoration: none; }
.ac-link:hover { text-decoration: underline; }
.ac-link--btn { background: none; border: 0; padding: 0; }
.ac-link--muted { color: var(--muted); font-weight: 500; }
.ac-icon-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: #F0ECE4; color: var(--muted); flex: none; }

/* 태그·상태 */
.ac-days { display: inline-flex; align-items: center; padding: 1px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; white-space: nowrap; }
.ac-tag { display: inline-flex; align-items: center; padding: 0 7px; border-radius: 6px; font-size: 12px; font-weight: 600; line-height: 20px; white-space: nowrap; }
.ac-tag--example { background: #EEEAE2; color: #625C52; border: 1px dashed #BDB4A5; }
.ac-tag--maybe { background: #F1EEF7; color: #5A4F7A; }
.ac-tag--expert { background: var(--primary-soft); color: var(--primary-ink); }
.ac-pill { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; background: #EEEAE2; color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
.ac-pill--ok { background: var(--ok-soft); color: var(--ok); }
.ac-pill--warn { background: var(--warn-soft); color: var(--warn); }
.ac-pill--mock { background: #EEEAE2; color: #625C52; border: 1px dashed #BDB4A5; margin: 0 0 4px; }

/* 정리 노트: 배치 */
.ac-grid { display: grid; gap: 16px; }
.ac-grid__side { display: flex; flex-direction: column; gap: 14px; }
.ac-grid__side .ac-card + .ac-card { margin-top: 0; }
@media (min-width: 900px) {
  .ac-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
  .ac-grid__side { position: sticky; top: 132px; }
}
@media (max-width: 899px) {
  .ac-grid { display: flex; flex-direction: column; }
  .ac-grid__main, .ac-grid__side { display: contents; }
  .ac-focus { order: -5; }
  .ac-progress { order: -4; }
  .ac-timeline { order: -3; }
  .ac-situation { order: 1; }
  .ac-notify { order: 2; }
}

/* 먼저 살펴볼 일 */
.ac-focus { position: relative; overflow: hidden; padding: 20px 18px 18px; border-radius: 18px; background: var(--primary-soft); border: 1px solid #CFDCD6; }
.ac-focus::after { content: ""; position: absolute; right: -36px; top: -36px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle at 40% 60%, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 70%); pointer-events: none; }
.ac-focus__eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--primary); }
.ac-focus__title { margin: 0; font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.3; color: var(--primary-ink); }
.ac-focus__due { margin: 8px 0 2px; font-size: 17px; font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.ac-focus__rule { margin: 0; font-size: 14px; color: var(--muted); }
.ac-focus__note { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .7); font-size: 14px; color: var(--warn); font-weight: 600; }
.ac-focus__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; position: relative; z-index: 1; }
.ac-focus.is-clear { background: var(--ok-soft); border-color: #C9DECF; }

/* 체크리스트 */
.ac-list { display: flex; flex-direction: column; gap: 22px; }
.ac-group__head { margin: 0 2px 10px; }
.ac-group__desc { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.ac-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ac-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.ac-item__row { display: flex; align-items: center; gap: 4px; padding: 6px 10px 6px 8px; }
.ac-check { flex: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; }
.ac-check svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; border: 2px solid #BDB5A7; color: transparent; }
.ac-check:hover svg { border-color: var(--primary); color: #BCD0C9; }
.ac-item.is-done .ac-check svg { background: var(--ok); border-color: var(--ok); color: #fff; }
.ac-item.is-doing .ac-check svg { border-color: var(--accent); border-style: dashed; }
.ac-item.is-na .ac-check svg { border-style: dotted; }
.ac-item__main { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 8px 4px; border: 0; background: none; text-align: left; }
.ac-item__title { font-size: 16px; font-weight: 700; line-height: 1.4; }
.ac-item__title small { font-size: 13px; font-weight: 500; color: var(--muted); }
.ac-item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14px; color: var(--muted); }
.ac-item__due { color: var(--text); }
.ac-status { font-size: 12px; font-weight: 600; padding: 0 7px; line-height: 20px; border-radius: 6px; background: #F0ECE4; color: var(--muted); }
.ac-item.is-doing .ac-status { background: var(--accent-soft); color: var(--accent); }
.ac-item.is-done .ac-status { background: var(--ok-soft); color: var(--ok); }
.ac-item.is-done .ac-item__title, .ac-item.is-na .ac-item__title { color: var(--muted); }
.ac-item.is-done .ac-days, .ac-item.is-na .ac-days { display: none; }
.ac-item__chev { flex: none; color: #A39B8D; transition: transform .2s; }
.ac-item.is-open .ac-item__chev { transform: rotate(90deg); }
.ac-item__detail { padding: 2px 16px 16px 56px; }
@media (max-width: 480px) { .ac-item__detail { padding-left: 16px; } }
.ac-facts { margin: 0 0 10px; display: grid; gap: 6px; }
.ac-facts > div { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 10px; font-size: 14px; }
.ac-facts dt { color: var(--muted); }
.ac-facts dd { margin: 0; }
.ac-facts--sm > div { grid-template-columns: 70px minmax(0, 1fr); font-size: 14px; }
.ac-note { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid #EDE8DF; font-size: 14px; }
.ac-debt-note { margin: 0 0 10px; padding: 8px 12px; border-radius: 10px; background: var(--warn-soft); color: var(--warn); font-size: 14px; font-weight: 600; }
.ac-seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 3px; border-radius: 10px; background: #F0ECE4; margin-bottom: 6px; }
.ac-seg__btn { min-height: 40px; border: 0; border-radius: 8px; background: transparent; font-size: 13px; color: var(--muted); padding: 0 4px; }
.ac-seg__btn[aria-checked="true"] { background: var(--surface); color: var(--primary-ink); font-weight: 700; box-shadow: 0 1px 3px rgba(42, 46, 45, .14); }

/* 진행 현황 · 타임라인 */
.ac-bar { display: flex; height: 10px; margin: 10px 0 8px; border-radius: 999px; background: #EDE8DF; overflow: hidden; }
.ac-bar__done { background: var(--ok); transition: width .5s ease; }
.ac-bar__doing { background: #C9A46D; transition: width .5s ease; }
.ac-progress__nums { margin: 0; font-size: 14px; color: var(--muted); }
.ac-tl { position: relative; height: 54px; margin: 12px 6px 6px; }
.ac-tl__track { position: absolute; left: 0; right: 0; top: 18px; height: 4px; border-radius: 4px; background: #E7E1D6; }
.ac-tl__past { position: absolute; left: 0; top: 18px; height: 4px; border-radius: 4px; background: #B9C9C3; }
.ac-tl__tick { position: absolute; top: 32px; transform: translateX(-50%); font-size: 11px; color: var(--muted); white-space: nowrap; }
.ac-tl__tick:first-of-type { transform: none; }
.ac-tl__today { position: absolute; top: 6px; width: 2px; height: 28px; background: var(--accent); }
.ac-tl__today span { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); font-size: 10px; font-weight: 700; color: var(--accent); white-space: nowrap; line-height: 1; }
.ac-tl__mark { position: absolute; top: 13px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--surface); border: 3px solid var(--primary); }
.ac-tl__mark.is-done { background: var(--ok); border-color: var(--ok); }
.ac-tl__legend { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ac-tl__legend li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 8px; font-size: 13px; }
.ac-tl__date { font-variant-numeric: tabular-nums; color: var(--primary-ink); font-weight: 600; }
.ac-tl__legend li.is-done .ac-tl__what { color: var(--muted); }

/* 상황 선택 */
.ac-qs { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.ac-q { border: 0; margin: 0; padding: 0; }
.ac-q legend { padding: 0; margin-bottom: 4px; font-size: 14px; font-weight: 600; }
.ac-q__opts { display: flex; flex-wrap: wrap; gap: 6px; }
.ac-q__opt { position: relative; }
.ac-q__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ac-q__opt span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid #D5CEC1; background: var(--surface); font-size: 14px; }
.ac-q__opt input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.ac-q__opt input:focus-visible + span { outline: 3px solid #9DB8AF; outline-offset: 2px; }
.ac-radios { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.ac-radios--row { flex-direction: row; flex-wrap: wrap; gap: 4px 14px; margin-top: 2px; }
.ac-radio { display: flex; align-items: center; gap: 8px; min-height: 40px; font-size: 14px; cursor: pointer; }
.ac-radio input { width: 18px; height: 18px; accent-color: var(--primary); margin: 0; flex: none; }

/* 결과지 분석 */
.ac-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ac-steps__item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 12px; background: #EDE8DF; color: var(--muted); font-size: 13px; text-align: center; line-height: 1.3; }
.ac-steps__n { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--surface); font-weight: 700; font-size: 13px; }
.ac-steps__item.is-current { background: var(--primary); color: #fff; font-weight: 700; }
.ac-steps__item.is-current .ac-steps__n { color: var(--primary); }
.ac-steps__item.is-done { background: var(--ok-soft); color: var(--ok); }
.ac-steps__item.is-done .ac-steps__n { background: var(--ok); color: #fff; }
.ac-doc { display: grid; gap: 16px; }
.ac-doc__main .ac-card + .ac-card { margin-top: 14px; }
.ac-doc__side { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 900px) {
  .ac-doc { grid-template-columns: minmax(0, 1fr) 420px; gap: 24px; align-items: start; }
  .ac-doc__side { position: sticky; top: 132px; }
}
.ac-drop { padding: 18px 16px; border: 2px dashed #CFC6B6; border-radius: 12px; background: var(--surface-2); text-align: center; }
.ac-drop__title { margin: 0; font-weight: 700; }
.ac-drop__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.ac-drop__acts label { cursor: pointer; }
.is-locked .ac-drop { opacity: .7; }
.is-locked .ac-drop__acts label { pointer-events: none; color: #8B867E; background: #EFEBE4; }
.ac-field { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.ac-label { font-size: 14px; font-weight: 600; }
.ac-input, .ac-select { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #CFC8BB; border-radius: 10px; background: var(--surface); font-size: 16px; }
.ac-select--sm { width: auto; min-height: 40px; font-size: 14px; }
.ac-textarea { resize: vertical; line-height: 1.5; }
.ac-proc { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ac-proc__step { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--surface-2); font-size: 14px; }
.ac-proc__dot { width: 12px; height: 12px; border-radius: 50%; background: #D7D0C3; }
.ac-proc__state { font-size: 12px; color: var(--muted); }
.ac-proc__step.is-run .ac-proc__dot { background: var(--accent); animation: ac-pulse 1s ease-in-out infinite; }
.ac-proc__step.is-run .ac-proc__state { color: var(--accent); font-weight: 700; }
.ac-proc__step.is-done .ac-proc__dot { background: var(--ok); }
.ac-proc__step.is-done .ac-proc__state { color: var(--ok); font-weight: 700; }
@keyframes ac-pulse { 50% { transform: scale(1.5); opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .ac-proc__step.is-run .ac-proc__dot { animation: none; } .ac-bar__done, .ac-bar__doing, .ac-item__chev { transition: none; } }

.ac-extract__cat { margin: 14px 0 6px; font-size: 13px; font-weight: 700; color: var(--accent); }
.ac-extract__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ac-ex { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "main amount" "conf conf"; gap: 4px 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); }
.ac-ex:hover, .ac-ex:focus-visible { border-color: #A9C0B8; background: #F8FBF9; }
.ac-ex__main { grid-area: main; display: flex; flex-direction: column; min-width: 0; }
.ac-ex__inst { font-size: 13px; color: var(--muted); }
.ac-ex__detail { font-weight: 600; }
.ac-ex__amount { grid-area: amount; align-self: center; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.ac-conf { grid-area: conf; justify-self: start; font-size: 12px; font-weight: 600; padding: 0 7px; line-height: 20px; border-radius: 6px; }
.ac-conf--high { background: var(--ok-soft); color: var(--ok); }
.ac-conf--medium { background: #F1EEF7; color: #5A4F7A; }
.ac-conf--low { background: var(--warn-soft); color: var(--warn); }
.ac-conf--fixed { background: var(--primary-soft); color: var(--primary-ink); }
.ac-ex--low { border-color: #E5C79F; background: #FFFBF5; }
.ac-ex__fix, .ac-ex__reason { grid-column: 1 / -1; }
.ac-ex__fix p { margin: 4px 0 6px; color: var(--warn); }
.ac-ex__reason { margin: 0; color: var(--muted); }
.ac-ex__fixrow { display: flex; flex-wrap: wrap; gap: 6px; }
.ac-ex__fixrow .ac-input { flex: 1 1 140px; width: auto; }
.ac-bullets { margin: 8px 0 14px; padding-left: 18px; font-size: 14px; display: flex; flex-direction: column; gap: 4px; }
.ac-applied { margin-top: 4px; padding: 14px; border-radius: 12px; background: var(--ok-soft); }
.ac-applied__title { margin: 0 0 4px; display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ok); }
.ac-applied .ac-btn { margin-top: 12px; }
.ac-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ac-chip { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid #CFC8BB; background: var(--surface); font-size: 14px; text-decoration: none; white-space: nowrap; }
.ac-chip[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.ac-chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0; padding-bottom: 2px; }

/* 결과지 미리보기 */
.ac-paper { border-radius: 6px; background: #FDFCF9; border: 1px solid #DED7CA; box-shadow: 0 10px 24px rgba(60, 52, 40, .08); padding: 18px 16px; min-height: 220px; }
.ac-paper__empty { min-height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); text-align: center; font-size: 14px; }
.ac-paper__empty p { margin: 0; }
.ac-paper__doc { font-size: 12.5px; line-height: 1.45; color: #3A3A36; }
.ac-paper__tag { display: inline-block; margin: 0 0 6px; padding: 0 6px; border: 1px dashed #BDB4A5; border-radius: 4px; font-size: 11px; color: #625C52; }
.ac-paper__title { margin: 0 0 10px; text-align: center; font-family: var(--display); font-weight: 400; font-size: 18px; letter-spacing: .05em; }
.ac-paper__meta, .ac-paper__tbl { width: 100%; border-collapse: collapse; }
.ac-paper__meta th, .ac-paper__meta td { border: 1px solid #D9D2C5; padding: 4px 6px; text-align: left; font-weight: 400; }
.ac-paper__meta th { background: #F2EEE6; width: 64px; }
.ac-paper__mask { color: #8A8478; letter-spacing: .05em; }
.ac-paper__sec { margin: 12px 0 4px; font-weight: 700; }
.ac-paper__tbl td { border-bottom: 1px solid #E5DFD3; padding: 4px 6px; }
.ac-paper__tbl tr { transition: background .15s; }
.ac-paper__tbl tr.is-hl td { background: #FCEFD7; box-shadow: inset 0 0 0 1px #E0B977; }
.ac-r { text-align: right; font-variant-numeric: tabular-nums; }
.ac-blur { filter: blur(.4px); }
.ac-blur--x { filter: blur(1.6px); }
.ac-paper__two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ac-paper__stamp { margin: 14px 0 0; text-align: right; font-size: 11px; color: var(--ok); }

/* 전문가 상담 */
.ac-reco { margin-bottom: 22px; }
.ac-reco__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
@media (min-width: 700px) { .ac-reco__list { grid-template-columns: 1fr 1fr; } }
.ac-reco__btn { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); text-align: left; }
.ac-reco__btn:hover { border-color: #A9C0B8; }
.ac-reco__item.is-active .ac-reco__btn { border-color: var(--primary); background: var(--primary-soft); box-shadow: inset 0 0 0 1px var(--primary); }
.ac-reco__label { font-weight: 700; }
.ac-reco__label small { font-weight: 500; color: var(--muted); font-size: 13px; margin-left: 4px; }
.ac-reco__why { font-size: 14px; color: var(--muted); }
.ac-filter { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.ac-filter__row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ac-filter__row .ac-chips--scroll { flex: 1; min-width: 0; }
.ac-partners { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .ac-partners { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .ac-partners { grid-template-columns: 1fr 1fr 1fr; } }
.ac-partner { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.ac-partner .ac-btn { margin-top: auto; }
.ac-partner__head { display: flex; align-items: center; gap: 10px; }
.ac-partner__avatar { width: 42px; height: 42px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-family: var(--display); font-size: 20px; }
.ac-partner__name { margin: 0; font-size: 16px; font-weight: 700; }
.ac-partner__field { margin: 0; font-size: 13px; color: var(--muted); }
.ac-partner__badge { margin-left: auto; }
.ac-partner__intro { margin: 0; font-size: 14px; }
.ac-empty { padding: 24px; text-align: center; color: var(--muted); }
.ac-mine { margin-top: 24px; }
.ac-mine__list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ac-mine__item { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); }
.ac-mine__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.ac-mine__name { margin: 0; font-weight: 700; }
.ac-mine__name + p { margin: 0; }
.ac-mine__topic { margin: 8px 0 4px; font-size: 14px; }
.ac-mine__sched { margin: 0 0 4px; font-size: 14px; font-weight: 700; color: var(--primary-ink); }
.ac-mine__item .ac-small { margin: 2px 0 0; }
.ac-mine__acts { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-top: 4px; }
.ac-log { color: var(--primary-ink); }
.ac-rstatus { flex: none; display: inline-flex; align-items: center; padding: 1px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; background: #EEEAE2; color: var(--muted); }
.ac-rstatus--new { background: var(--warn-soft); color: var(--warn); }
.ac-rstatus--contacted { background: #F1EEF7; color: #5A4F7A; }
.ac-rstatus--scheduled { background: var(--primary-soft); color: var(--primary-ink); }
.ac-rstatus--retained { background: var(--ok-soft); color: var(--ok); }
.ac-rstatus--closed, .ac-rstatus--cancel { background: #EEEAE2; color: var(--muted); }
.ac-two { display: grid; gap: 0 14px; }
@media (min-width: 640px) { .ac-two { grid-template-columns: 1fr 1fr; } }
.ac-share { margin: 14px 0 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 4px; }
.ac-share legend { padding: 0; margin-bottom: 4px; }
.ac-share__item { display: flex; align-items: flex-start; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); font-size: 14px; cursor: pointer; }
.ac-share__item input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--primary); flex: none; }
.ac-share__item small { display: block; color: var(--muted); font-size: 12px; }
.ac-share__item.is-locked { color: var(--muted); cursor: not-allowed; }
.ac-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; padding: 12px; border-radius: 10px; border: 1px solid #D9D2C5; font-size: 14px; cursor: pointer; }
.ac-consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--primary); flex: none; }
.ac-consent small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }

/* 전문 파트너 화면 */
.ac-switch { display: flex; flex-direction: column; gap: 4px; min-width: 240px; }
.ac-stats { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; padding-bottom: 2px; }
.ac-stat { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; color: var(--muted); }
.ac-stat b { color: var(--text); font-variant-numeric: tabular-nums; }
.ac-stat.is-active { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-ink); font-weight: 600; }
.ac-pgrid { display: grid; gap: 14px; }
.ac-pgrid .ac-card + .ac-card { margin-top: 0; }
@media (min-width: 900px) { .ac-pgrid { grid-template-columns: 380px minmax(0, 1fr); align-items: start; } .ac-req { position: sticky; top: 90px; } }
.ac-reqs { padding: 8px; }
.ac-reqs__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ac-reqs__empty { padding: 16px; }
.ac-reqrow { width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 3px; padding: 10px 12px; border-radius: 10px; border: 1px solid transparent; background: none; text-align: left; }
.ac-reqrow:hover { background: var(--surface-2); }
.ac-reqrow.is-active { background: var(--primary-soft); border-color: #C6D6D0; }
.ac-reqrow__top { display: flex; align-items: center; gap: 8px; }
.ac-reqrow__top .ac-rstatus { margin-left: auto; }
.ac-reqrow__topic { font-size: 14px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ac-newdot { font-size: 11px; font-weight: 700; color: #fff; background: var(--accent); border-radius: 6px; padding: 0 6px; line-height: 18px; }
.ac-req__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.ac-req__topic { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); }
.ac-req__sub { margin: 16px 0 8px; font-size: 14px; font-weight: 700; color: var(--accent); }
.ac-facts--shared > div { grid-template-columns: 112px minmax(0, 1fr); }
.ac-locked { display: inline-flex; align-items: center; gap: 4px; color: #8B867E; font-size: 13px; }
.ac-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.ac-flow__btn { min-height: 44px; border: 1px solid #CFC8BB; border-radius: 10px; background: var(--surface); font-size: 14px; padding: 0 4px; }
.ac-flow__btn.is-active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 700; }
.ac-req .ac-btn { margin-top: 10px; }

/* 관리자 */
.ac-anchors { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; }
.ac-anchors a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: #EAE4D9; text-decoration: none; font-size: 14px; color: var(--primary-ink); }
.ac-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
@media (min-width: 900px) { .ac-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ac-kpi { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.ac-kpi span { font-size: 13px; color: var(--muted); }
.ac-kpi b { font-size: 22px; font-variant-numeric: tabular-nums; color: var(--primary-ink); }
.ac-sec { scroll-margin-top: 90px; }
.ac-apps, .ac-queue { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ac-app { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); }
.ac-app__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.ac-app__name { margin: 0; font-weight: 700; }
.ac-app__head p { margin: 0; }
.ac-app__docs { list-style: none; margin: 10px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ac-app__docs li { display: inline-flex; gap: 6px; align-items: center; padding: 2px 10px; border-radius: 8px; font-size: 13px; background: var(--surface); border: 1px solid var(--line); }
.ac-app__docs li.is-ok b { color: var(--ok); }
.ac-app__docs li.is-miss { border-color: #E5C79F; }
.ac-app__docs li.is-miss b { color: var(--warn); }
.ac-app__acts { display: flex; gap: 6px; }
.ac-queue__item { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); }
.ac-queue__main { flex: 1 1 260px; min-width: 0; }
.ac-queue__main p { margin: 0; font-size: 14px; }
.ac-table-wrap { overflow-x: auto; }
.ac-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ac-table th { text-align: left; font-size: 13px; font-weight: 600; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ac-table td { padding: 10px; border-bottom: 1px solid #EFEAE1; vertical-align: top; }
.ac-table tr.is-new td { background: #F8FBF9; }
.ac-table--log td:first-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .ac-table thead { display: none; }
  .ac-table, .ac-table tbody, .ac-table tr, .ac-table td { display: block; width: 100%; }
  .ac-table tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .ac-table td { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; padding: 3px 0; border: 0; }
  .ac-table td::before { content: attr(data-label); color: var(--muted); font-size: 13px; }
  .ac-table td:not([data-label]) { display: block; }
  .ac-table td:not([data-label])::before { content: none; }
}
.ac-hist { margin: 0 0 10px; padding-left: 18px; font-size: 14px; display: flex; flex-direction: column; gap: 6px; }

/* 알림 · 창 · 대응표 */
.ac-toast { position: fixed; left: 50%; bottom: 76px; z-index: 60; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 12px; background: #2F3A37; color: #fff; font-size: 14px; box-shadow: 0 10px 28px rgba(0, 0, 0, .2); }
.ac-toast.is-in { animation: ac-toast .25s ease-out; }
@keyframes ac-toast { from { opacity: 0; transform: translate(-50%, 8px); } }
@media (prefers-reduced-motion: reduce) { .ac-toast.is-in { animation: none; } }
.ac-modal, .ac-sheet { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; color: var(--text); }
.ac-modal::backdrop, .ac-sheet::backdrop { background: rgba(35, 40, 38, .45); }
.ac-modal { margin: auto; width: min(460px, calc(100vw - 24px)); }
.ac-modal--wide { width: min(600px, calc(100vw - 24px)); }
.ac-modal__body, .ac-sheet__body { background: var(--surface); border-radius: 16px; padding: 18px; max-height: calc(100vh - 32px); overflow-y: auto; }
.ac-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.ac-modal__content { font-size: 15px; }
.ac-modal__foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.ac-sheet { margin: auto auto 0; width: 100%; }
.ac-sheet__body { border-radius: 16px 16px 0 0; }
@media (min-width: 700px) { .ac-sheet { margin: auto; width: 600px; } .ac-sheet__body { border-radius: 16px; } }
.ac-map { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; counter-reset: m; }
.ac-map__row { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 10px 40px; border-radius: 10px; background: var(--surface-2); position: relative; counter-increment: m; }
.ac-map__row::before { content: counter(m); position: absolute; left: 12px; top: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.ac-map__need { font-weight: 700; font-size: 14px; }
.ac-map__show { font-size: 14px; color: var(--primary); text-decoration: none; }
.ac-sheet__foot { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.ac-fab { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 22px; background: var(--primary-ink); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 6px 18px rgba(47, 74, 68, .35); }
.demo-notice { max-width: 1120px; margin: -96px auto 0; padding: 0 16px 96px; font-size: 12px; color: var(--muted); text-align: center; }
