/* 원장님(학원) 전용 구역 — site.css 위에 얹는다.
   같은 글꼴·남색 로고에, 행동 색도 브랜드 남색(--ac = --navy)이다. 11/10: 짙은 청록이던 --ac를 남색으로 바꿨다(버튼·눈썹 글·바닥글·파스텔이
   모두 초록이라 화면 전체가 초록으로 보인다는 피드백). 학생용 사이트와는 색 대신 ‘원장님 전용’ 표와 종이색(아이보리) 바탕으로 구분한다.
   도구 화면이라 글자를 조금 조이고(15px), 숫자는 표 폭을 맞춰(tnum) 보여 준다. 흰 바탕, 칸(상자) 대신 제목 위 선 하나와 여백, 상태는 색 띠(chip)로만. */
:root { --ac: var(--navy); --ac-deep: var(--navy-deep); --ac-night: var(--band-deep); --ac-link: var(--band-link); --ac-ink: #ffffff; --ac-soft: var(--navy-soft); --ac-rule: #cdd8ea;
        --ac-wait: #fbf3e8; --ac-wait-ink: #6d4211; --ac-err: #fbeae6; --ac-err-ink: #a3321f;
        --ac-paper: #f4ead8; --ac-warm: #9c4317;  /* 종이색 바탕 · 그 위 강조 글자(값 숫자): 로고의 주황 점과 같은 계열, 흰 바탕·종이색 위 대비 5:1 이상 */
        --ac-ring: 0 0 0 3px color-mix(in srgb, var(--ac) 14%, transparent); }
body.ac { font-size: 15px; }
.ac-btn { background: var(--ac); color: var(--ac-ink); border-color: var(--ac); }
.ac-btn:hover:not(:disabled) { background: var(--ac-deep); border-color: var(--ac-deep); color: var(--ac-ink); }
.ac-btn:focus-visible { outline-color: var(--ac); }
.ac-btn:disabled { opacity: 1; background: var(--bg-soft); color: var(--muted); border-color: var(--rule-mid); }

/* 상단 */
.ac-top { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--rule); }
.ac-top .wrap { display: flex; align-items: center; gap: 28px; min-height: 62px; }
.ac-tag { font-size: 12px; font-weight: 600; letter-spacing: .01em; color: var(--ac); background: var(--ac-soft); border-radius: var(--r-tag); padding: 3px 7px; align-self: center; line-height: 1.3; white-space: nowrap; }
.ac-nav { display: flex; gap: 22px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.ac-nav::-webkit-scrollbar { display: none; }
.ac-nav a { color: var(--ink2); font-size: 14.5px; font-weight: 500; white-space: nowrap; padding: 20px 0 18px; border-bottom: 2px solid transparent; }
.ac-nav a:hover, .ac-nav a.on { color: var(--ink); text-decoration: none; border-bottom-color: var(--ac); }
.ac-top-right { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.ac-who { font-weight: 600; font-size: 14px; max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.ac-out { font-size: 13.5px; color: var(--ink2); }
.ac-chip { display: inline-block; font-size: 12.5px; font-weight: 600; border-radius: var(--r-tag); padding: 3px 8px; line-height: 1.3; white-space: nowrap; }
.ac-chip.ok { background: var(--ac-soft); color: var(--ac-deep); }
.ac-chip.wait { background: var(--ac-wait); color: var(--ac-wait-ink); }
.ac-chip.err { background: var(--ac-err); color: var(--ac-err-ink); }
a.ac-chip:hover { text-decoration: none; }
@media (max-width: 860px) {
  .ac-top .wrap { flex-wrap: wrap; gap: 0 14px; padding-top: 8px; min-height: 0; }
  .ac-nav { order: 3; flex-basis: 100%; gap: 16px; }
  .ac-nav a { padding: 8px 0 10px; font-size: 14px; }
  .ac-top-right { margin-left: auto; }
  .ac-who { display: none; }
}
@media (max-width: 600px) {
  .ac-top .wrap { padding-top: 10px; }
  .ac-top .ac-chip { display: none; }   /* 구독 상태는 대시보드·보고서 만들기·구독 화면이 보여 준다 */
  .ac-nav { gap: 18px; flex-basis: calc(100% + 40px); margin: 0 -20px; padding: 0 20px; }
  .ac-nav a { padding: 10px 0 11px; }
}

/* 공개 화면 */
.ac-kicker { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .02em; margin: 0 0 12px; }  /* 눈썹 글은 색 없이: 제목이 먼저 읽히게 */
.ac-display { font-weight: 700; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.25; letter-spacing: -.03em; text-wrap: balance; }
.ac-display.sm { font-size: clamp(26px, 3.4vw, 36px); }
.ac-sub { font-size: 16.5px; color: var(--ink2); margin: 18px 0 26px; max-width: 560px; line-height: 1.75; }
/* 세 단계: 상자 없이 번호(01·02·03)와 글만 */
.ac-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 48px; border-top: 1px solid var(--rule); padding-top: 36px; }
.ac-steps b { display: block; font-size: 12.5px; font-weight: 600; color: var(--ac); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.ac-steps b::before { content: "0"; }
.ac-steps h3 { font-size: 17.5px; margin: 10px 0 8px; }
.ac-steps p { margin: 0; font-size: 14.5px; color: var(--ink2); }
@media (max-width: 760px) { .ac-steps { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.ac-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin: 0 auto; }
@media (max-width: 860px) { .ac-plans { grid-template-columns: minmax(0, 1fr); } }
.ac-plans .plan .for { color: var(--ac-deep); }
.ac-plans .plan.featured .for { background: var(--ac); color: #fff; }
.ac-band .btn-primary { background: var(--ac); border-color: var(--ac); }
.ac-band .btn-primary:hover:not(:disabled) { background: var(--ac-deep); border-color: var(--ac-deep); }
.ac-plans .plan.featured { background: linear-gradient(160deg, #f6eede 0%, #ecebf5 100%); }
.ac-plans .plan li::before { border-color: var(--ac); }
.ac-auth-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
@media (max-width: 860px) { .ac-auth-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.ac-auth-narrow { max-width: 460px; }
.ac-check { list-style: none; padding: 0; margin: 18px 0 0; color: var(--ink2); font-size: 14.5px; }
.ac-check li { padding: 7px 0 7px 26px; position: relative; border-top: 1px solid var(--rule); }
/* 가입 화면 왼쪽 아래: 실제 샘플 보고서 쪽을 그대로(기울이거나 늘리지 않고) 겹쳐 보여 준다. 누르면 샘플 보고서로 */
.ac-peek { position: relative; display: block; height: 340px; margin-top: 28px; border-radius: 20px; overflow: hidden; color: var(--ink);
           background: linear-gradient(150deg, var(--ac-paper) 0%, #efe7ee 100%); box-shadow: var(--lift); }
.ac-peek:hover { text-decoration: none; }
.ac-peek img { position: absolute; width: 46%; height: auto; border-radius: 3px; background: #fff; box-shadow: 0 1px 2px rgba(20,33,58,.14), 0 20px 36px -20px rgba(20,33,58,.55); }
.ac-peek .k3 { left: 49%; top: 64px; } .ac-peek .k2 { left: 27%; top: 84px; } .ac-peek .k1 { left: 5%; top: 104px; }
.ac-peek-tag { position: absolute; left: 20px; top: 18px; z-index: 2; font-size: 12.5px; font-weight: 700; color: #fff; background: var(--ac); border-radius: 999px; padding: 4px 12px; }
.ac-peek-go { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 34px 20px 14px; font-size: 13.5px; color: var(--ink2);
              background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.96) 46%); }
.ac-peek-go b { float: right; color: var(--ac); font-weight: 700; }
.ac-peek:hover .ac-peek-go b { text-decoration: underline; }
.ac-peek:focus-visible { outline: 2px solid var(--ac); outline-offset: 3px; }
@media (max-width: 860px) { .ac-peek { display: none; } }  /* 휴대폰은 입력 칸이 먼저 보이게 그림을 뺀다 */
.ac-check li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 10px; height: 6px; border-left: 2px solid var(--ac); border-bottom: 2px solid var(--ac); transform: rotate(-45deg); }

/* 앱 화면(11/12): 종이색 쪽 머리(academy/_head.html) + 흰 카드(얇은 윤곽·옅은 그림자). 표·목록은 카드 안에서 1px 선으로 나눈다 */
.ac-page { padding: 32px 24px 88px; }
.ac-head.page-head { padding: 34px 0 30px; }
.ac-head.page-head::after { display: none; }   /* 점무늬는 행동 버튼과 겹쳐 뺀다 */
.ac-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; }
.ac-head-main { display: flex; align-items: center; gap: 18px; min-width: 0; flex: 1 1 420px; }
.ac-head .ic-tile { flex: none; width: 58px; height: 58px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--card-line), 0 10px 20px -12px rgba(20,33,58,.32); }
.ac-head .ic-tile .ic { width: 34px; height: 34px; }
.ac-head h1 { font-weight: 700; font-size: clamp(22px, 2.8vw, 28px); letter-spacing: -.025em; line-height: 1.25; text-wrap: balance; }
.ac-head .ac-kicker { margin: 0 0 4px; }
.ac-head .lead { margin: 6px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--ink2); max-width: 640px; }
.ac-head .oh-steps { margin-top: 18px; }
.ac-page-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ac-page-actions .btn-ghost { background-color: #fff; }
.ac-card { background: var(--bg); border-top: 1px solid var(--rule-strong); padding: 22px 0 8px; min-width: 0; }   /* 공개 화면(로그인·가입) */
body.ac-app .ac-card { border: 1px solid var(--card-line); border-radius: 18px; padding: 22px 24px 20px; background: #fff; box-shadow: var(--card-shadow); }
.ac-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.ac-card-head h2 { display: flex; align-items: center; gap: 10px; font-size: 16.5px; font-weight: 700; letter-spacing: -.02em; }
.ac-card-head .ic-tile { width: 34px; height: 34px; border-radius: 11px; flex: none; }
.ac-card-head .ic-tile .ic { width: 21px; height: 21px; }
.ac-card-head a { font-size: 13.5px; font-weight: 600; }
.ac-card h2 { font-size: 16.5px; }
.ac-num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ac); color: #fff; font-size: 13px; font-weight: 700; flex: none; }
.ac-count { font-size: 13px; font-weight: 600; color: var(--ac); background: var(--ac-soft); border-radius: 999px; padding: 2px 9px; }
.ac-stack { display: grid; gap: 16px; align-content: start; min-width: 0; }
.ac-form-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); display: flex; gap: 10px; align-items: center; }
.ac-form .fields.one { grid-template-columns: minmax(0, 1fr); }
.ac-sub-h { font-size: 15px; font-weight: 700; margin: 0 0 8px; }
table.ac-kv th { width: 132px; border-top: 0; border-bottom: 1px solid var(--rule); padding: 11px 12px 11px 0; color: var(--muted); font-size: 13.5px; }
table.ac-kv tr:last-child th, table.ac-kv tr:last-child td { border-bottom: 0; }
.ac-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; color: var(--ink2); font-size: 14px; }
@media (max-width: 600px) {
  .ac-page { padding-top: 24px; }
  .ac-head.page-head { padding: 24px 0 22px; }
  .ac-head-main { gap: 14px; flex-basis: 100%; }
  .ac-head .ic-tile { width: 46px; height: 46px; border-radius: 14px; }
  .ac-head .ic-tile .ic { width: 28px; height: 28px; }
  .ac-head .lead { font-size: 14px; }
  body.ac-app .ac-card { padding: 18px 16px 16px; border-radius: 16px; }
}
.ac-form label { margin-top: 0; }
.ac-form .span-all { grid-column: 1 / -1; }
.ac-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* 구독 상태 줄: 이용 중이면 조용한 글 한 줄, 멈춤·구독 전만 띠 */
.ac-strip { display: flex; justify-content: space-between; align-items: center; gap: 10px 14px; flex-wrap: wrap; margin-bottom: 16px; font-size: 14px; color: var(--ink2);
            padding: 12px 18px; border-radius: 14px; background: #eef2f9; }
.ac-strip > div:first-child::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin: 0 9px 2px 0; vertical-align: middle; }
.ac-strip.ok > div:first-child::before { background: var(--ac); }
.ac-strip.ok b { color: var(--ac); }
.ac-strip.ok a { color: var(--ac); font-weight: 600; }
.ac-strip.wait { background: var(--ac-wait); color: var(--ac-wait-ink); }
.ac-warn-text { color: var(--ac-wait-ink); }
/* 대시보드 숫자: 파스텔 숫자 카드(site.css .stat-card) 세 칸 */
.ac-stat-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 8px 0 14px; }
.stat-card .meter { display: block; height: 8px; border-radius: 4px; background: rgba(255,255,255,.75); overflow: hidden; margin: 2px 0 2px; }
.stat-card .meter i { display: block; height: 100%; border-radius: 4px; background: var(--ac); }
.stat-card .fine { font-size: 11.5px; line-height: 1.45; color: var(--muted); }
/* 대시보드 할 일 줄 */
.ac-todo { list-style: none; margin: 0 0 40px; padding: 4px 18px; border: 1px solid var(--rule); border-radius: 14px; background: #fff; }
.ac-todo li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; padding: 11px 0; border-top: 1px solid var(--rule); font-size: 14.5px; }
.ac-todo li:first-child { border-top: 0; }
.ac-todo li span { color: var(--ink2); } .ac-todo li b { color: var(--ink); } .ac-todo li small { color: var(--muted); margin-left: 4px; }
.ac-todo li a { font-weight: 600; white-space: nowrap; }
a.stat-card { color: var(--ink); }
a.stat-card:hover { text-decoration: none; box-shadow: 0 0 0 2px var(--ac), var(--lift); }
@media (max-width: 1080px) { .ac-stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ac-stat-cards { gap: 10px; } .ac-stat-cards .stat-card { padding: 14px 14px 12px; } .ac-stat-cards .ic-tile, .ac-stat-cards .fine { display: none; } .ac-stat-cards .n { font-size: 22px; } }
.ac-two { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 36px 48px; align-items: start; }
@media (max-width: 900px) { .ac-two { grid-template-columns: minmax(0, 1fr); } }
.ac-table { font-size: 14px; }
.ac-table th { font-size: 13px; }
.ac-table td { padding: 10px 10px; }
.ac-table td.n, .ac-table th.n { white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.ac-two .ac-table td:first-child { white-space: nowrap; }
.ac-table tr:hover td { background: var(--bg-soft); }
.ac-card > .ac-table td:first-child, .ac-card > .ac-table th:first-child, .ac-tablewrap > .ac-table td:first-child, .ac-tablewrap > .ac-table th:first-child { padding-left: 0; }
.ac-card > .ac-table td:last-child, .ac-card > .ac-table th:last-child, .ac-tablewrap > .ac-table td:last-child, .ac-tablewrap > .ac-table th:last-child { padding-right: 0; }
.ac-students td:first-child { white-space: nowrap; }
.ac-empty-mini { padding: 26px 18px; border-radius: 14px; background: var(--bg-soft); text-align: center; color: var(--ink2); }
.ac-empty-mini b { display: block; color: var(--ink); margin-bottom: 4px; }
.ac-empty-mini p { margin: 0; font-size: 14px; }
body.ac-app .ac-empty-card { text-align: center; padding: 48px 24px; }
.ac-empty-card .ic-tile { margin: 0 auto 14px; }
.ac-empty-card h2 { font-size: 19px; margin-bottom: 8px; }
.ac-empty-card p { color: var(--ink2); max-width: 560px; margin-left: auto; margin-right: auto; }
.ac-person { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.ac-person:hover { text-decoration: none; }
.ac-person:hover b { color: var(--ac); text-decoration: underline; text-underline-offset: 3px; }
.ac-person > span:last-child { display: flex; flex-direction: column; gap: 1px; }
.ac-person .small { font-size: 12.5px; }
.ac-avatar { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; flex: none; background: var(--ac-soft); color: var(--ac); font-weight: 700; font-size: 15px; }
.ac-avatar.lg { width: 56px; height: 56px; font-size: 22px; background: var(--ac); color: #fff; }
.ac-howto { margin: 0; padding-left: 20px; color: var(--ink2); font-size: 14.5px; }
.ac-howto li { margin-bottom: 8px; }
.ac-filter { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.ac-filter input[type=search] { flex: 1 1 120px; width: auto; min-width: 0; max-width: 220px; }
.ac-filter select { width: auto; flex: 0 0 auto; max-width: 140px; }
.ac-errors { margin: 8px 0 0; padding-left: 18px; font-size: 14px; color: var(--warn-ink); }
.ac-sum { border-top-color: var(--ac); }
.ac-need-k { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--muted); margin: 0 0 8px; }
.ac-need { margin: 0 0 16px; border-top: 1px solid var(--rule); }
.ac-need > div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 13.5px; }
.ac-need dt { font-weight: 600; color: var(--ink); }
.ac-need dd { margin: 0; color: var(--ink2); text-align: right; }
.ac-mini { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.ac-mini li { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--rule); }
/* 보고서 만들기 */
.ac-pick td { vertical-align: middle; }
.ac-pick input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--ac); }
.ac-pick-name { display: block; margin: 0; font-weight: 600; font-size: 15px; cursor: pointer; }
.ac-pick-sum { display: block; margin-top: 2px; }
.ac-radio { display: grid; gap: 8px; }
.ac-radio label { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--rule-mid); border-radius: 12px; padding: 12px 14px; cursor: pointer; font-weight: 400; margin: 0;
                  transition: border-color .15s, background-color .15s; }
.ac-radio label:hover { border-color: var(--ac); }
.ac-radio label:has(input:checked) { border-color: var(--ac); background: var(--ac-soft); box-shadow: inset 0 0 0 1px var(--ac); }
.ac-radio label:has(input:checked) b { color: var(--ac); }
.ac-radio input { margin-top: 4px; accent-color: var(--ac); }
.ac-radio span { display: flex; flex-direction: column; gap: 2px; }
.ac-radio small { color: var(--ink2); font-size: 13px; }
.ac-progress { margin-bottom: 20px; }
.ac-bar { height: 6px; background: var(--bg-soft); border-radius: 3px; overflow: hidden; }
.ac-bar i { display: block; height: 100%; background: var(--ac); border-radius: 3px; transition: width .4s ease; }
.ac-progress p { margin: 8px 0 0; font-size: 14.5px; color: var(--ink2); }
/* 구독 */
.ac-sub-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
.ac-sub-summary > div { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--rule); padding-top: 8px; }
.ac-sub-summary .k { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.ac-sub-summary b { font-size: 15.5px; }
.ac-sub-summary small { color: var(--ink2); font-weight: 400; }
.ac-sub-actions { margin-top: 16px; border-top: 1px solid var(--rule); padding-top: 14px; }
.ac-sub-actions .more { margin-top: 0; border-top: 0; }
details.ac-card.more { border-top: 1px solid var(--rule); padding: 0; }
body.ac-app details.ac-card.more { padding: 0 22px; }
body.ac-app details.ac-card.more > summary { padding: 16px 0; }
/* 마이페이지: 학원 한 줄 요약 */
.ac-profile { display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 20px; padding: 18px 22px; border-radius: 18px;
              background: linear-gradient(120deg, #f8f1e4 0%, #f2eff5 60%, #e9effb 100%); box-shadow: var(--lift); }
.ac-profile-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 200px; }
.ac-profile-main b { font-size: 17px; } .ac-profile-main span { font-size: 13.5px; color: var(--ink2); overflow-wrap: anywhere; }
.ac-profile-facts { display: flex; gap: 6px 28px; flex-wrap: wrap; margin: 0; }
.ac-profile-facts dt { font-size: 12px; font-weight: 600; color: var(--muted); }
.ac-profile-facts dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ac-profile .btn { background: #fff; }
/* CSV 넣기: 두 단계 카드, 칸 이름 알약, 파일 고르는 칸 */
.ac-steps-v { display: grid; gap: 16px; }
.ac-dl { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; margin: 0 0 18px; }
.ac-cols { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.ac-cols span { font-size: 12.5px; padding: 3px 9px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--rule); color: var(--ink2); }
.ac-notes { margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink2); }
.ac-notes li { position: relative; padding: 8px 0 8px 18px; border-top: 1px solid var(--rule); line-height: 1.6; }
.ac-notes li::before { content: ""; position: absolute; left: 3px; top: 17px; width: 6px; height: 6px; border-radius: 50%; background: var(--ac); }
.ac-notes b { color: var(--ink); }
.ac-drop { display: grid; justify-items: center; gap: 4px; padding: 26px 18px; border: 1.5px dashed var(--rule-mid); border-radius: 14px; background: var(--bg-soft); text-align: center; cursor: pointer; margin: 0; }
.ac-drop:hover, .ac-drop:focus-within { border-color: var(--ac); background: var(--ac-soft); }
.ac-drop .ic-tile { width: 48px; height: 48px; border-radius: 15px; background: #fff; margin-bottom: 6px; }
.ac-drop .ic-tile .ic { width: 28px; height: 28px; }
.ac-drop b { font-size: 15px; }
.ac-drop input[type=file] { margin-top: 10px; width: auto; max-width: 100%; padding: 0; border: 0; background: none; box-shadow: none; font-size: 13.5px; }
.ac-result { border-color: color-mix(in srgb, var(--ok) 30%, transparent) !important; }
.ac-result h2 { font-size: 18px; }
/* 카드 안 표: 머리 줄 위 굵은 선 대신 카드 윤곽이 틀 */
body.ac-app .ac-card > .ac-table tr:first-child th, body.ac-app .ac-tablewrap > .ac-table tr:first-child th { border-top: 0; }
body.ac-app .ac-card > .ac-table tr:last-child td, body.ac-app .ac-tablewrap > .ac-table tr:last-child td { border-bottom: 0; }
/* 접힘 상자·체크·포커스·폼 장식도 청록으로 통일(학생 폼은 신청서 틀을 함께 쓴다) */
.ac .plus { color: var(--ink2); }
.ac details[open] > summary .plus, .ac .add-btn .plus { background: var(--ac); border-color: var(--ac); color: var(--ac-ink); }
.ac .more > summary:hover, .ac .af-more > summary, .ac .step, .ac .kind-either, .ac .add-btn { color: var(--ac); }
.ac .add-btn:hover { border-color: var(--ac); background: var(--ac-soft); }
.ac table.grid-input thead th, .ac .order-form table.grid-input thead th { color: var(--ac); border-bottom-color: var(--ac); }
.ac .chip input:checked + span { border-color: var(--ac); background: var(--ac); }
.ac .check input, .ac input[type=checkbox], .ac input[type=radio] { accent-color: var(--ac); }
.ac input:focus, .ac select:focus, .ac textarea:focus { border-color: var(--ac); box-shadow: var(--ac-ring); }
.ac .sum-bar i { background: var(--ac); }
.ac .sum-list li.done .ck { background: var(--ac); border-color: var(--ac); }
.ac .sum-list li:hover { color: var(--ac); }
.ac .btn:focus-visible, .ac .add-btn:focus-visible, .ac .more > summary:focus-visible, .ac .faq summary:focus-visible, .ac .chip input:focus-visible + span,
.ac input[type=checkbox]:focus-visible, .ac input[type=radio]:focus-visible { outline-color: var(--ac); }
/* 휴대폰: 표는 옆으로 밀거나(숫자·날짜 온전히) 학생 목록은 행 목록으로 */
@media (max-width: 700px) {
  body.ac-app .ac-table:not(.ac-pick):not(.ac-students):not(.ac-cards) { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  body.ac-app .ac-table:not(.ac-pick):not(.ac-students):not(.ac-cards) tbody { display: table; width: 100%; border-collapse: collapse; }
  body.ac-app .ac-table:not(.ac-pick):not(.ac-students):not(.ac-cards) td, body.ac-app .ac-table:not(.ac-pick):not(.ac-students):not(.ac-cards) th { white-space: nowrap; padding: 10px 8px; }
  table.ac-students, table.ac-students tbody { display: block; }
  table.ac-students tr:first-child { display: none; }
  table.ac-students tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  table.ac-students tr:last-child { border-bottom: 0; }
  table.ac-students td:not(:first-child):not(:last-child) { padding-left: 48px !important; }
  table.ac-students tr:hover td { background: transparent; }
  table.ac-students td { display: block; border: 0; padding: 0; }
  table.ac-students td:first-child { grid-column: 1; grid-row: 1; white-space: normal; font-size: 15.5px; }
  table.ac-students td:nth-child(2) { grid-column: 1; font-size: 14px; color: var(--ink2); line-height: 1.55; }
  table.ac-students td:nth-child(3):empty { display: none; }
  table.ac-students td:nth-child(4) { grid-column: 1; font-size: 13.5px; }
  table.ac-students td:last-child { grid-column: 2; grid-row: 1 / span 4; align-self: start; }
}
@media (max-width: 600px) {
  .ac-table { font-size: 13.5px; }
  .ac-filter > .ac-btn { flex-basis: 100%; margin-top: 2px; }
  .ac-filter { margin-bottom: 20px; }
}
/* 바닥 */
.ac-foot { background: var(--ac-night); color: rgba(255,255,255,.72); padding: 48px 0 44px; font-size: 13px; line-height: 1.75; }
.ac-foot-links { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.ac-foot-links a { color: var(--ac-link); }
.ac-foot-links a:hover { color: #fff; }
.ac-foot-disclaim { color: rgba(255,255,255,.82); font-size: 13.5px; margin: 0 0 10px; max-width: 820px; }
.ac-foot-legal { margin: 0; color: rgba(255,255,255,.58); max-width: 860px; font-size: 12.5px; line-height: 1.9; }
@media (prefers-reduced-motion: reduce) { .ac-bar i { transition: none; } }

/* ════════ 원장님: 파스텔 첫 화면 · 입시 브리핑 (2026-10-30, 11/10 청록 → 남색·종이색) ════════ */
.ac .home-top.ac-top-band { background: linear-gradient(120deg, #fbf8f2 0%, #f6f5f8 55%, #f2f5fc 100%); }
.ac .slide .ac-btn { border-radius: 999px; padding: 11px 20px; }
.ac .s-compare td.n { text-align: right; font-variant-numeric: tabular-nums; }
/* 종이색 슬라이드: 흰 영수증 카드가 책상 위 종이처럼 놓인다. 강조 숫자는 주황 갈색 */
.side-tile.tone-blue { background: linear-gradient(140deg, #dbe6ff, #e8e6fb); }
.ac .page-head { background: linear-gradient(120deg, #f8f1e4 0%, #f2eff5 60%, #e9effb 100%); }
.ac .page-head::before { background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.9), rgba(255,255,255,.5) 60%, rgba(255,255,255,0) 72%); }
.ac .cut-exams a.on { background: var(--ac); border-color: var(--ac); }
.ac .cut-series a.on { background: var(--ac); box-shadow: 0 8px 18px -10px rgba(27,54,93,.55); }
.ac table.cut-table td.g1 .raw { color: var(--ac-deep); }
.ac .cut-exams a:hover { border-color: var(--ac); color: var(--ac); }
.ac .subnav a.on { border-bottom-color: var(--ac); }
.ac table.cut-table td.g1 { color: var(--ac-deep); background: rgba(233,240,255,.7); }
.ac .cta-sec.pastel { background: linear-gradient(120deg, #f8f1e4 0%, #f1eff6 55%, #e9effb 100%); }
.ac .cta-sec.pastel .btn-primary { background: var(--ac); border-color: var(--ac); color: #fff; }
.ac .cta-sec.pastel .btn-primary:hover:not(:disabled) { background: var(--ac-deep); border-color: var(--ac-deep); }
/* 입시 브리핑: 세 칸을 한 줄에 두면 글이 좁게 눌려서, 등급컷·일정 두 칸 + 입학처 새 자료는 아래 한 줄 전체(목록 2열) */
.brief-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.brief-grid > :nth-child(3) { grid-column: 1 / -1; }
.brief-grid > :nth-child(3) .sched.docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; }
.brief-grid > :nth-child(3) .sched.docs li:nth-child(2) { border-top: 0; }
.sched.docs .what { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) {
  .brief-grid { grid-template-columns: minmax(0, 1fr); }
  .brief-grid > :nth-child(3) .sched.docs { grid-template-columns: minmax(0, 1fr); }
  .brief-grid > :nth-child(3) .sched.docs li:nth-child(2) { border-top: 1px solid var(--rule); }
}
.brief-grid .info-card { padding: 20px 20px; }
.ac-brief-steps { margin-top: clamp(48px, 6vw, 72px); }
.sched.docs li { grid-template-columns: 70px minmax(0, 1fr) auto; }
.sched.docs .when { font-weight: 600; color: var(--ink2); }
.dash-brief { margin-bottom: 52px; }
.dash-brief > .ac-card-head { margin-bottom: 12px; }
table.trend-table { min-width: 860px; }
table.trend-table tbody th a { color: var(--ink); }
table.trend-table tr.on td, table.trend-table tr.on th { background: var(--ac-soft); }
table.trend-table td.g1 { font-weight: 700; }

.ac-plans .plan-top .ic-tile { width: 48px; height: 48px; border-radius: 15px; }
/* 단계: 아이콘 · 번호 · 제목을 한 줄에, 설명은 그 아래 */
.ac-steps > div { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; column-gap: 12px; align-content: start; }
.ac-steps > div > p { grid-column: 1 / -1; margin-top: 12px; }
.ac-steps > div > h3 { margin: 0; }
.ac-steps .ic-tile { width: 44px; height: 44px; border-radius: 13px; margin-bottom: 0; }
.ac-steps .ic-tile .ic { width: 26px; height: 26px; }

/* 11/12 결제 안내(일반결제로 받는 동안) */
.ac-paynote { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--ac-paper); font-size: 13.5px; line-height: 1.65; color: var(--ink2); }
.ac-paynote b { color: var(--ink); }
.ac-paynote-mini { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 400; line-height: 1.55; color: var(--muted); }

/* 11/12 원장님 일정표: 넣은 대학(학생 관심대학 + 직접 넣은 대학) */
.my-sched { margin: 0 0 22px; padding: 18px 20px; border: 1px solid var(--rule); border-radius: 14px; background: #fff; }
.my-sched-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 20px; }
.my-sched-head h2 { font-size: 17px; } .my-sched-head h2 b { color: var(--ac); }
.my-sched-head .small { margin: 2px 0 0; }
.seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--bg-soft, #f3f5fa); }
.seg a { padding: 6px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink2); text-decoration: none; }
.seg a[aria-current="page"] { background: #fff; color: var(--ac); box-shadow: 0 1px 2px rgba(20,33,58,.14); }
.univ-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.univ-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 12px; border-radius: 999px; border: 1px solid var(--rule-mid); font-size: 14px; }
.univ-chips li.from-st { padding-right: 12px; }
.univ-chips li.picked { border-color: var(--ac); }
.univ-chips a { color: var(--ink); font-weight: 600; text-decoration: none; } .univ-chips a:hover { color: var(--ac); }
.univ-chips small { font-size: 12px; color: var(--ac-warm); font-weight: 600; }
.univ-chips form { display: inline; margin: 0; }
.univ-chips button { width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--rule); color: var(--ink2); font-size: 14px; line-height: 1; cursor: pointer; }
.univ-chips button:hover { background: var(--ac); color: #fff; }
.my-sched-empty { margin: 12px 0 0; }
.my-sched-add { display: flex; gap: 8px; margin-top: 14px; max-width: 460px; }
.my-sched-add input { flex: 1; min-width: 0; }

/* 11/12 사용 설명서: 차례 + PDF 보기(휴대폰은 PDF 열기 버튼으로) */
.guide-wrap { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 22px; align-items: start; }
.guide-toc { position: sticky; top: 84px; }
.guide-toc ol { list-style: none; margin: 4px 0 14px; padding: 0; }
.guide-toc li a { display: flex; align-items: center; gap: 10px; padding: 10px 2px; border-bottom: 1px solid var(--rule); color: var(--ink); font-weight: 600; text-decoration: none; }
.guide-toc li a:hover { color: var(--ac); }
.guide-toc .n { width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--ac-paper); color: var(--ac-warm); font-size: 12.5px; font-weight: 800; display: grid; place-content: center; }
.guide-toc em { margin-left: auto; font-style: normal; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.guide-view { display: grid; gap: 18px; padding: 18px; border-radius: 14px; background: #e9edf4; }
.guide-view img { display: block; width: 100%; height: auto; background: #fff; border-radius: 4px; box-shadow: 0 1px 2px rgba(20,33,58,.12), 0 12px 28px -18px rgba(20,33,58,.5); scroll-margin-top: 84px; }
@media (max-width: 860px) { .guide-wrap { grid-template-columns: 1fr; } .guide-toc { position: static; } .guide-view { padding: 10px; gap: 10px; } }
.my-sched-add input { height: 40px; padding: 0 12px; border: 1px solid var(--rule-mid); border-radius: 10px; font: inherit; font-size: 14.5px; background: #fff; }
.my-sched-add input:focus { outline: none; border-color: var(--ac); box-shadow: 0 0 0 3px rgba(27,54,93,.12); }
.my-sched-add .btn { height: 40px; }

.ac-steps-more { margin: 18px 0 0; text-align: center; font-weight: 600; }

/* 11/12 로그인 뒤 메뉴가 8개라 PC 폭에서 오른쪽 표시와 겹치지 않게: 학원 이름은 넓은 화면에서만, 메뉴 간격은 조금 좁게 */
@media (min-width: 861px) and (max-width: 1500px) { .ac-in .ac-who { display: none; } .ac-in .ac-nav { gap: 18px; } .ac-in .ac-top .wrap { gap: 22px; } }

/* 11/12 원장님 샘플 보고서(/academy/sample): 보고서마다 왼쪽 이름·설명, 오른쪽 PDF 버튼, 아래 쪽 바둑판(학생용 /sample과 같은 그림·쪽 넘겨 보기) */
.ac-sample-head { margin-bottom: 28px; }
.ac-sample-text { flex: 1 1 420px; min-width: 0; }
.ac-sample-text .ac-kicker { margin-bottom: 6px; }
.ac-sample-text .title { margin-bottom: 8px; }
.ac-sample-text .lead { margin: 0; font-size: 15.5px; }
