/* ===== base.css — 토큰 · 리셋 · 레이아웃(사이드바 · 메인 · 상단바 · 페이지) =====
   컴포넌트 조각은 components.css, 반응형 @media 는 mobile.css 로 분리됐다.
   로드 순서: base → components → mobile. 이 순서를 바꾸면 우선순위가 깨진다. ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Pretendard', 'Noto Sans KR', sans-serif; background: #FAF8F3; color: #1e293b; min-height: 100vh; display: flex; }
/* ─── SIDEBAR ─── */
.sidebar { width: 220px; min-height: 100vh; background: #101010; border-right: 1px solid #2a2520; display: flex; flex-direction: column; position: fixed; top: 0; left: 0; bottom: 0; z-index: 100; overflow-y: auto; scrollbar-width: none; }
.sidebar::-webkit-scrollbar { display: none; }
.sidebar-logo { padding: 16px 18px 12px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid #2a2520; }
.sidebar-logo-icon { width: 30px; height: 30px; background: #AE831F; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 800; flex-shrink: 0; }
.sidebar-logo-text { font-size: 12.5px; font-weight: 700; color: #F5E6C0; line-height: 1.2; }
.sidebar-logo-text span { font-size: 10px; color: #AE831F; font-weight: 400; display: block; }
/* .demo-badge-hidden */
 .demo-badge_HIDDEN { margin: 10px 12px; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 9px; padding: 9px 11px; }
.demo-badge-title { font-size: 10.5px; font-weight: 700; color: #ea580c; display: flex; align-items: center; gap: 4px; margin-bottom: 3px; }
.demo-badge p { font-size: 9.5px; color: #9a3412; line-height: 1.4; }
.nav { padding: 6px 10px; flex: 1; }
.nav-chevron { margin-left: auto; font-size: 10px; color: #cbd5e1; }
.sidebar-user { padding: 12px 14px; border-top: 1px solid #2a2520; display: flex; align-items: center; gap: 9px; background: #0a0a0a; justify-content: space-between; }
.sidebar-avatar { width: 32px; height: 32px; background: #AE831F; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.sidebar-user-info { flex: 1; min-width: 0; }
.sidebar-user-name { font-size: 11.5px; font-weight: 600; color: #F5E6C0; }
.sidebar-user-role { font-size: 10px; color: #a09080; }
/* ─── MAIN ─── */
.main { margin-left: 220px; flex: 1; min-height: 100vh; display: flex; flex-direction: column; min-width: 0; width: calc(100% - 220px); }
.topbar { background: #fff; border-bottom: 1px solid #e8edf5; padding: 0 22px; height: 54px; display: flex; align-items: center; gap: 10px; position: sticky; top: 0; z-index: 50; width: 100%; box-sizing: border-box; }
.topbar-badge { font-size: 9.5px; font-weight: 700; color: #AE831F; background: #FDF6E3; border: 1px solid #e6c87a; border-radius: 4px; padding: 2px 6px; letter-spacing: 0.04em; flex-shrink: 0; }
.topbar-title { font-size: 15px; font-weight: 700; color: #1e293b; }
.topbar-search { margin-left: auto; display: flex; align-items: center; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 6px 11px; gap: 7px; }
.topbar-search input { border: none; background: none; outline: none; font-size: 12px; color: #64748b; width: 130px; }
.topbar-search input::placeholder { color: #cbd5e1; }
.topbar-icon-btn { width: 32px; height: 32px; border-radius: 7px; border: 1px solid #e2e8f0; background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #64748b; font-size: 14px; transition: background 0.12s; }
.topbar-icon-btn:hover { background: #f8fafc; }
/* topbar-cta */
 .topbar-cta_HIDDEN { padding: 6px 13px; border-radius: 7px; background: #AE831F; color: #fff; font-size: 11.5px; font-weight: 600; border: none; cursor: pointer; white-space: nowrap; }
.topbar-cta:hover { background: #8B6718; }
/* demo-notice */
 .demo-notice_HIDDEN { background: #fff; border-bottom: 1px solid #e8edf5; padding: 9px 22px; font-size: 11.5px; color: #64748b; display: flex; align-items: center; gap: 6px; }
.demo-notice strong { color: #AE831F; font-weight: 600; }
/* ─── PAGES ─── */
.page { display: none; padding: 18px 22px 32px; flex: 1; }
.page.active { display: block; }
/* PAGE HEADER */
.page-hd { margin-bottom: 16px; }
.page-hd h2 { font-size: 18px; font-weight: 700; color: #1e293b; margin-bottom: 3px; }
.page-hd p { font-size: 12px; color: #94a3b8; }
.page-hd-row { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 14px; }
.page-action-btns { display: flex; gap: 8px; }
table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
th { text-align: left; padding: 10px 12px; color: #94a3b8; font-size: 11px; font-weight: 600; border-bottom: 1.5px solid #f1f5f9; white-space: nowrap; }
td { padding: 11px 12px; border-bottom: 1px solid #f8fafc; color: #374151; vertical-align: middle; }
tr:hover td { background: transparent; box-shadow: 0 2px 0 #AE831F inset, 0 -2px 0 #AE831F inset; }
tr:hover td:first-child { box-shadow: 0 2px 0 #AE831F inset, 0 -2px 0 #AE831F inset, 2px 0 0 #AE831F inset; }
tr:hover td:last-child { box-shadow: 0 2px 0 #AE831F inset, 0 -2px 0 #AE831F inset, -2px 0 0 #AE831F inset; }
/* ─── HOME PAGE ─── */
.home-top-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:stretch;margin-bottom:14px}
.home-top-split.solo{grid-template-columns:minmax(0,1fr)}
.mid-row { display: grid; grid-template-columns: 240px 1fr; gap: 12px; margin-bottom: 14px; }
.bottom-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.commute-time { font-size: 11px; color: #94a3b8; margin-bottom: 12px; }
.commute-btns { display: flex; gap: 7px; }
.commute-btn { padding: 8px 14px; border-radius: 8px; font-size: 12.5px; font-weight: 600; cursor: pointer; border: none; }
.commute-btn.checkin { background: #22c55e; color: #fff; }
.commute-btn.checkout { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }
.commute-btn.log { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; font-size: 11.5px; }
.commute-status-row { display: flex; gap: 7px; margin-top: 12px; }
.commute-status-item { flex: 1; background: #f8fafc; border-radius: 8px; padding: 8px; text-align: center; font-size: 11px; color: #94a3b8; }
.commute-status-item b { display: block; color: #cbd5e1; font-size: 10px; font-weight: 400; margin-top: 2px; }
/* CALENDAR */
.cal-month-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-month-label { font-size: 12px; color: #64748b; font-weight: 500; }
.cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 1px; }
.cal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #374151; border-radius: 50%; cursor: pointer; transition: background 0.12s; }
.cal-day:hover { background: #f1f5f9; }
.cal-day.other { color: #cbd5e1; }
.cal-day.today { background: #AE831F; color: #fff; font-weight: 700; }
/* ─── 학기별 예정표 ─── */
.semester-list { display: flex; flex-direction: column; gap: 12px; }
.semester-card { background: #fff; border: 1px solid #e8edf5; border-radius: 13px; padding: 20px 22px; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; display: flex; align-items: center; justify-content: space-between; }
.semester-card:hover { border-color: #d4a843; box-shadow: 0 2px 12px rgba(59,130,246,.08); }
.semester-card-left h3 { font-size: 15px; font-weight: 700; color: #1e293b; margin-bottom: 4px; }
.semester-card-left p { font-size: 12px; color: #64748b; }
.semester-card-right { display: flex; gap: 8px; }
.semester-tag { padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.semester-tag.blue { background: #FDF6E3; color: #AE831F; }
.semester-tag.yellow { background: #fefce8; color: #ca8a04; }
.semester-tag.gray { background: #f8fafc; color: #64748b; }
/* ─── 일정/캘린더 전체 ─── */
.cal-full-wrap { display: grid; grid-template-columns: 1fr 280px; gap: 14px; }
.cal-full-grid { background: #fff; border: 1px solid #e8edf5; border-radius: 13px; padding: 18px; }
.cal-full-days-hd { display: grid; grid-template-columns: repeat(7,1fr); text-align: center; margin-bottom: 6px; }
.cal-full-days-hd span { font-size: 11px; color: #94a3b8; padding: 6px 0; font-weight: 500; }
.cal-full-grid-cells { display: grid; grid-template-columns: repeat(7,1fr); border-left: 1px solid #f1f5f9; border-top: 1px solid #f1f5f9; }
.today-schedule { background: #fff; border: 1px solid #e8edf5; border-radius: 13px; padding: 18px; }
.today-empty { text-align: center; padding: 32px 0; color: #cbd5e1; font-size: 12px; }
/* ─── 정산 리포트 ─── */
.report-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 16px; }
.report-card { background: #fff; border: 1px solid #e8edf5; border-radius: 13px; padding: 16px 18px; }
.report-card-label { font-size: 11px; color: #94a3b8; margin-bottom: 6px; }
.report-card-value { font-size: 19px; font-weight: 700; color: #1e293b; }
.report-card-sub { font-size: 10.5px; color: #94a3b8; margin-top: 3px; }
/* ── LINKBRICK 추가 스타일 ── */
#loginScreen{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#101010 0%,#1a1209 60%,#2a1f00 100%)}
.login-box{background:#fff;border-radius:16px;padding:48px 40px;width:360px;box-shadow:0 20px 60px rgba(0,0,0,.45)}
.login-logo{text-align:center;margin-bottom:32px}
#app{display:none;width:100%;min-height:100vh}
/* admin dynamic page */
#page-admin{padding:0!important}
#page-admin .page-content-wrap{padding:18px 22px 32px}
/* P1 호환 클래스 */
.search-bar{display:flex;gap:8px;margin-bottom:14px;flex-wrap:wrap}
.search-bar input,.search-bar select{padding:7px 10px;border:1px solid #e2e8f0;border-radius:7px;font-size:12px;outline:none}
.search-bar input:focus{border-color:#AE831F}
.tabs{display:flex;gap:2px;border-bottom:2px solid #e2e8f0;margin-bottom:16px}
.tab{padding:8px 16px;cursor:pointer;font-size:13px;font-weight:600;color:#94a3b8;border-bottom:2px solid transparent;margin-bottom:-2px;transition:.15s}
.tab.active{color:#AE831F;border-bottom-color:#AE831F}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px}
/* ═══ 리포트 (A4 인쇄용) ═══ */
.rpGap{height:18px}
.rpSheet{width:210mm;height:297mm;margin:0 auto;background:#fff;box-shadow:0 2px 16px rgba(90,79,69,.16);display:flex;flex-direction:column;overflow:hidden;color:#1e293b}
.rpSheet .rh{background:linear-gradient(135deg,#AE831F,#8f6a12);color:#fff;padding:8mm 11mm 6mm;position:relative;overflow:hidden;flex-shrink:0}
.rpSheet .rh::after{content:'';position:absolute;right:-30px;top:-40px;width:150px;height:150px;border-radius:50%;background:rgba(255,255,255,.07)}
.rpSheet .rbrand{font-size:8pt;letter-spacing:.14em;opacity:.88;font-weight:700}
.rpSheet h1{margin:3px 0 2px;font-size:18pt;font-weight:800;letter-spacing:-.02em;line-height:1.15}
.rpSheet .rsub{font-size:8.5pt;opacity:.92}
.rpSheet .rmeta{position:absolute;right:11mm;bottom:6mm;text-align:right;font-size:7.5pt;line-height:1.7;z-index:1}
.rpSheet .rchip{display:inline-block;background:rgba(255,255,255,.22);border-radius:20px;padding:1px 9px;font-weight:700;margin-left:4px}
.rpSheet .rbody{padding:5mm 10mm 4mm;flex:1;display:flex;flex-direction:column;gap:3.2mm;min-height:0}
.rpSheet .rbody>.rsec,.rpSheet .rbody>.rtwo{flex:1 1 auto}
.rpSheet .rsec{border:1px solid #ece8de;border-radius:9px;overflow:hidden;display:flex;flex-direction:column}
.rpSheet .rsec>h2{margin:0;background:#4c3f8f;color:#fff;font-size:8pt;font-weight:800;padding:3.5px 11px;border-radius:0 0 9px 0;align-self:flex-start}
.rpSheet .rsec>h2 em{font-style:normal;opacity:.75;font-weight:600;margin-left:5px}
.rpSheet .rin{padding:6px 10px 8px;flex:1;display:flex;flex-direction:column;justify-content:center;gap:4px}
.rpSheet .rtwo{display:grid;grid-template-columns:1fr 1fr;gap:3.2mm}
.rpSheet .rtwo.t32{grid-template-columns:1.25fr 1fr}
.rpSheet .rtwo>.rsec{height:100%}
.rpSheet table{width:100%;border-collapse:collapse;font-size:8pt}
.rpSheet th{background:#faf8f3;color:#635c4e;font-weight:700;text-align:left;padding:3.5px 7px;border-bottom:1.2px solid #ece8de;white-space:nowrap}
.rpSheet td{padding:3.8px 7px;border-bottom:1px solid #f4f1ea;white-space:nowrap}
.rpSheet tr:last-child td{border-bottom:none}
.rpSheet td.r,.rpSheet th.r{text-align:right}
.rpSheet tr.sum td{background:#faf8f3;font-weight:800;border-top:1.2px solid #ece8de}
.rpSheet .mo{color:#8b8578;font-weight:600}
.rpSheet .now{color:#8f6a12;font-weight:800}
.rpSheet .rbar{height:5px;background:#f1ece0;border-radius:4px;overflow:hidden}
.rpSheet .rbar>i{display:block;height:100%;border-radius:4px}
.rpSheet .rtag{font-size:7pt;font-weight:700;padding:1px 6px;border-radius:20px}
.rpSheet .g-gold{background:#fdf6e3;color:#8f6a12}
.rpSheet .g-blue{background:#eaf1fd;color:#1d4ed8}
.rpSheet .g-green{background:#e8f8ee;color:#15803d}
.rpSheet .g-gray{background:#f1f2f4;color:#5b6472}
.rpSheet .g-red{background:#fdeaea;color:#b91c1c}
.rpSheet .up{color:#15803d;font-weight:700}
.rpSheet .down{color:#dc2626;font-weight:700}
.rpSheet .flat{color:#94a3b8;font-weight:700}
.rpSheet .rnote{background:#f7f5fb;border:1px solid #e6e1f5;border-radius:8px;padding:8px 11px;font-size:8pt;line-height:1.8;color:#3b3457}
.rpSheet .rnote b{color:#4c3f8f}
.rpSheet .rdots i{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:3px}
.rpSheet .rfoot{padding:2.5mm 10mm;border-top:1px solid #f1ede4;font-size:7pt;color:#a8a296;display:flex;justify-content:space-between;flex-shrink:0}
.rpSheet .rlgd{font-size:7pt;color:#7d7668;display:flex;gap:9px;flex-wrap:wrap;margin-bottom:2px}
.rpSheet .rlgd i{width:7px;height:7px;border-radius:2px;display:inline-block;margin-right:3px}
.rpSheet .rempty{font-size:9pt;color:#a8a296;text-align:center;padding:14px}
@media print{
  body.rp-print .sidebar,body.rp-print .topbar,body.rp-print #pageActions,body.rp-print .nav,
  body.rp-print #acPanel,body.rp-print #acPanelToggle,body.rp-print #ntfToast,
  body.rp-print #rpControls,body.rp-print .card,body.rp-print #_pdfHeader{display:none!important}
  body.rp-print{background:#fff!important}
  /* 인쇄 레이아웃 폭을 A4 로 고정 — 넓으면 페이지가 가로로 분할됨 */
  body.rp-print{width:210mm!important;min-width:0!important;max-width:210mm!important;margin:0!important;padding:0!important}
  body.rp-print .main,body.rp-print #app,body.rp-print #pageContent,body.rp-print .page.active,body.rp-print #rpWrap{
    margin:0!important;padding:0!important;width:210mm!important;min-width:0!important;max-width:210mm!important;
    display:block!important;overflow:visible!important;background:#fff!important;float:none!important}
  /* 리포트 시트 외의 화면 요소 전부 제거 */
  body.rp-print .page:not(.active){display:none!important}
  body.rp-print .page.active > *:not(#pageContent){display:none!important}
  body.rp-print #pageContent > *:not(#rpWrap){display:none!important}
  body.rp-print #rpWrap{display:block!important}
  @page{size:A4;margin:0}
  body.rp-print .rpGap{display:none!important}
  /* 브라우저 반올림으로 한 장이 두 페이지로 넘어가지 않게 살짝 줄임 */
  body.rp-print .rpSheet{box-shadow:none!important;margin:0!important;height:296mm!important;break-inside:avoid;page-break-inside:avoid}
  body.rp-print .rpSheet + .rpGap + .rpSheet,
  body.rp-print .rpSheet ~ .rpSheet{break-before:page;page-break-before:always}
}
/* ── PDF 내보내기 (인쇄) ── */
#_pdfHeader{display:none}
@media print{
  @page{size:A4;margin:12mm 10mm}
  body.pdf-mode{background:#fff!important}
  body.pdf-mode .sidebar,
  body.pdf-mode .topbar,
  body.pdf-mode #pageActions,
  body.pdf-mode .nav,
  body.pdf-mode #acPanel,
  body.pdf-mode #acPanelToggle,
  body.pdf-mode .modal-backdrop,
  body.pdf-mode #ntfToast,
  body.pdf-mode .btn{display:none!important}
  body.pdf-mode #_pdfHeader{display:block!important}
  body.pdf-mode .main,
  body.pdf-mode .content,
  body.pdf-mode #app{margin:0!important;padding:0!important;width:100%!important;display:block!important;overflow:visible!important}
  body.pdf-mode .card,
  body.pdf-mode .stat-card{break-inside:avoid;page-break-inside:avoid;box-shadow:none!important}
  body.pdf-mode canvas{max-width:100%!important;height:auto!important}
}
/* 스크롤은 되지만 스크롤바는 안 보이게 */
._noScrollbar{scrollbar-width:none;-ms-overflow-style:none}
@keyframes apvPopFade{from{opacity:0}to{opacity:1}}
@keyframes apvPopIn{from{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:none}}
/* 조직도 차트 — 위에서 아래로, 부모는 첫째 자식 바로 위(좌측 정렬) */
.octree,.octree ul{list-style:none;margin:0;padding:0}
.octree{--ocw:108px;--ocg:12px;--ocv:11px;display:inline-block;padding:10px 2px 14px}
.octree ul{display:flex;justify-content:flex-start;gap:var(--ocg);padding-top:calc(var(--ocv)*2);position:relative}
.octree li{position:relative;display:flex;flex-direction:column;align-items:flex-start}
/* 부모 박스 아래 → 가로선까지만 내려오는 세로선 */
.octree li>ul::before{content:'';position:absolute;top:0;left:calc(var(--ocw)/2);
  width:1.5px;height:var(--ocv);background:#cbd5e1}
/* 형제 사이 가로선 — 첫째 자식 가운데부터 마지막 자식 가운데까지 */
.octree li>ul>li:not(:last-child)::before{content:'';position:absolute;top:calc(var(--ocv)*-1);
  left:calc(var(--ocw)/2);width:calc(100% + var(--ocg));height:1.5px;background:#cbd5e1}
/* 가로선 → 자기 박스로 내려오는 세로선 */
.octree li>ul>li::after{content:'';position:absolute;top:calc(var(--ocv)*-1);
  left:calc(var(--ocw)/2);width:1.5px;height:var(--ocv);background:#cbd5e1}
.ocbox{position:relative;z-index:1;width:var(--ocw);box-sizing:border-box;padding:6px 8px;border-radius:7px;
  background:#16a34a;color:#fff;font-size:12.5px;font-weight:700;text-align:center;line-height:1.25;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-shadow:0 1px 3px rgba(0,0,0,.12);cursor:pointer;transition:filter .12s}
.ocbox:hover{filter:brightness(1.08)}
.ocbox .ocTitle{display:block;font-size:9.5px;font-weight:600;opacity:.85;margin-top:1px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ocbox.off{background:#e5e7eb!important;color:#9ca3af;box-shadow:none}
.ocbox.me{box-shadow:0 0 0 2.5px #fde68a,0 1px 4px rgba(0,0,0,.18)}
._noScrollbar::-webkit-scrollbar{width:0;height:0;display:none}
/* 상담메모 카드 — 위에서 아래로 순차 적층 */
#memoList{display:grid;grid-template-columns:1fr;gap:10px;align-content:start;max-height:430px;overflow-y:auto;padding-right:3px}
.mc-star{background:none;border:none;padding:0 2px;font-size:13px;line-height:1;cursor:pointer;color:#d8dde3;transition:color .12s,transform .12s}
.mc-star:hover{transform:scale(1.15)}
.mc-star.on{color:#f59e0b}
.mc-more{align-self:flex-start;margin-top:6px;background:none;border:none;padding:0;font-size:11px;color:#AE831F;font-weight:600;cursor:pointer}
.status-select{padding:4px 8px;border-radius:20px;border:none;font-size:11px;font-weight:600;cursor:pointer}
.status-freedb{background:#fef9ec;color:#8B6718}
.status-prospect{background:#fef3c7;color:#92400e}
.status-complete{background:#d1fae5;color:#065f46}
.status-noprospect{background:#fee2e2;color:#991b1b}
.status-long{background:#f3f4f6;color:#374151}
.status-highprospect{background:#dcfce7;color:#15803d}
.recontact-badge{display:inline-block;padding:2px 8px;border-radius:12px;font-size:11px;font-weight:700;background:#fef9ec;color:#8B6718}
.today-badge{background:#fee2e2;color:#991b1b}
.score-star{color:#AE831F}
.ac-type{display:inline-block;padding:2px 8px;border-radius:12px;font-size:11px;font-weight:600;background:#f1f5f9;color:#475569}
.ac-row-today{background:#FEFAED!important}
.ac-row-soon{background:#f0fdf4!important}
.ac-row-past{opacity:.55}
.chart-wrap{position:relative;height:220px}
/* 학사일정 패널 */
.ac-panel-header{padding:14px 14px 10px;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;flex-shrink:0}
.ac-panel-header h4{font-size:13px;font-weight:700;margin:0}
.ac-panel-scroll{flex:1;overflow-y:auto;padding:10px 12px}
.ac-panel-item{padding:8px 10px;border-radius:8px;margin-bottom:6px;border-left:3px solid #e2e8f0;background:#f8fafc}
.ac-panel-item.today{border-left-color:#AE831F;background:#FEFAED}
.ac-panel-item.soon{border-left-color:#10b981;background:#f0fdf4}
.ac-panel-item .ac-pi-date{font-size:10px;color:#94a3b8;margin-bottom:2px}
.ac-panel-item .ac-pi-title{font-size:12px;font-weight:600;color:#1e293b;line-height:1.4}
.ac-panel-item .ac-pi-inst{font-size:11px;color:#94a3b8;margin-top:2px}
.ac-panel-month{font-size:10px;font-weight:700;color:#AE831F;letter-spacing:.08em;padding:8px 2px 4px;margin-top:4px}
.ac-panel-empty{text-align:center;padding:32px 12px;color:#94a3b8;font-size:12px}
/* pageContent 내부 여백 */
#pageContent{padding:18px 22px 32px}
#pageActions{display:inline-flex;gap:8px}
/* ═══════════════════════════════════════════════════════════
   MOBILE — 반응형 (데스크톱 레이아웃은 1025px 이상에서 그대로)
   ═══════════════════════════════════════════════════════════ */
.hamburger { display: none; }
.sidebar-overlay { display: none; }
@keyframes sk{0%{background-position:100% 50%}100%{background-position:0 50%}}
.sidebar-logo-text{white-space:nowrap}
body.admin-mode .adm-switch{box-shadow:inset 0 0 0 1px rgba(245,230,192,.2)}
/* ── 관리자 모드 사이드바 색 시안 (3-4) ─────────────────────────────
   body[data-admtheme] 로 갈아끼운다. 기본값은 gold.
   변수만 바꾸면 되므로 시안을 더 늘릴 때도 규칙 한 블록이면 된다. */
body.admin-mode{
  --adm-bg:#2A2010; --adm-line:#4a3a1c; --adm-sec:#9c855a;
  --adm-fg:#d6c7ab; --adm-hover:#3a2d16; --adm-on-bg:#4a3a1c;
  --adm-on-fg:#F5E6C0; --adm-accent:#AE831F;
}
/* 시안 1 · 골드 브라운 (기본) */
body.admin-mode[data-admtheme="gold"]{
  --adm-bg:#2A2010; --adm-line:#4a3a1c; --adm-sec:#9c855a;
  --adm-fg:#d6c7ab; --adm-hover:#3a2d16; --adm-on-bg:#4a3a1c;
  --adm-on-fg:#F5E6C0; --adm-accent:#AE831F;
}
/* 시안 2 · 미드나이트 네이비 */
body.admin-mode[data-admtheme="navy"]{
  --adm-bg:#131C2E; --adm-line:#27334a; --adm-sec:#7d8aa3;
  --adm-fg:#c3cdde; --adm-hover:#1e2a42; --adm-on-bg:#27334a;
  --adm-on-fg:#eaf1ff; --adm-accent:#C79A2E;
}
/* 시안 3 · 차콜 그레이 */
body.admin-mode[data-admtheme="charcoal"]{
  --adm-bg:#1B1B1E; --adm-line:#33333a; --adm-sec:#8a8a93;
  --adm-fg:#cfcfd6; --adm-hover:#26262b; --adm-on-bg:#33333a;
  --adm-on-fg:#f4f4f7; --adm-accent:#AE831F;
}
/* 시안 4 · 딥 그린 */
body.admin-mode[data-admtheme="forest"]{
  --adm-bg:#10211B; --adm-line:#1f3a30; --adm-sec:#77988a;
  --adm-fg:#bfd4c9; --adm-hover:#183029; --adm-on-bg:#1f3a30;
  --adm-on-fg:#e6f4ec; --adm-accent:#C79A2E;
}
body.admin-mode .sidebar{background:var(--adm-bg)}
body.admin-mode .sidebar-logo{border-bottom-color:var(--adm-line)}
body.admin-mode .nav-section{color:var(--adm-sec)}
body.admin-mode .nav-item{color:var(--adm-fg)}
body.admin-mode .nav-item:hover{background:var(--adm-hover);color:var(--adm-on-fg)}
body.admin-mode .nav-item.active{background:var(--adm-on-bg);color:var(--adm-on-fg);border-left-color:var(--adm-accent)}
body.admin-mode .sidebar-user{border-top-color:var(--adm-line)}
body.admin-mode #adminToggle:checked + .adm-switch{background:var(--adm-accent)}
body.admin-mode .admtheme-fab{display:block}
