/* =========================================================================
   admin-edu.css — 교육형 admin 공통 컴포넌트
   v2.8.49
   직원이 보고 따라 할 수 있도록 큰 글씨/큰 버튼/명확한 안내 위주.
   ========================================================================= */

/* ---------------------------------------------------------------------
   1) 작업 카드 (대시보드 큰 버튼)
   --------------------------------------------------------------------- */
.task-cards{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(280px, 1fr));
  gap:18px;
  margin:24px 0;
}
.task-card{
  background:#fff;
  border:2px solid #E8DDC7;
  padding:24px;
  text-align:left;
  cursor:pointer;
  transition:all 0.15s ease;
  display:flex;
  flex-direction:column;
  gap:12px;
  min-height:180px;
  position:relative;
  font-family:inherit;
  width:100%;
}
.task-card:hover{
  border-color:#B8342A;
  box-shadow:0 6px 20px rgba(184,52,42,0.12);
  transform:translateY(-2px);
}
.task-card .ic{
  font-size:38px;
  line-height:1;
  color:#B8342A;
}
.task-card .nm{
  font-family:'Nanum Myeongjo', serif;
  font-weight:800;
  font-size:20px;
  letter-spacing:-0.01em;
  color:#1A1614;
}
.task-card .dsc{
  font-size:13px;
  line-height:1.6;
  color:#6B5F50;
  flex:1;
}
.task-card .cta{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-family:'IBM Plex Mono', monospace;
  font-size:11px;
  font-weight:700;
  letter-spacing:0.12em;
  color:#B8342A;
  text-transform:uppercase;
  margin-top:auto;
}
.task-card .cta::after{ content:"→"; font-size:14px; }
.task-card .badge-count{
  position:absolute;
  top:18px;
  right:18px;
  background:#B8342A;
  color:#fff;
  font-family:'IBM Plex Mono', monospace;
  font-weight:700;
  font-size:11px;
  padding:4px 10px;
  border-radius:12px;
  letter-spacing:0.04em;
}

/* ---------------------------------------------------------------------
   2) 마법사 (Wizard) — 단계별 입력
   --------------------------------------------------------------------- */
.wizard{
  max-width:880px;
  margin:0 auto;
  background:#fff;
  border:1px solid #E8DDC7;
}
.wizard-head{
  padding:22px 32px;
  border-bottom:1px solid #E8DDC7;
  background:#FAF6EE;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.wizard-head h2{
  font-family:'Nanum Myeongjo', serif;
  font-weight:800;
  font-size:22px;
  margin:0;
  letter-spacing:-0.02em;
}
.wizard-head .sub{
  font-size:13px;
  color:#6B5F50;
  margin-top:4px;
}
.wizard-steps{
  display:flex;
  gap:6px;
  align-items:center;
}
.wizard-steps .step-pill{
  width:32px;
  height:32px;
  border-radius:50%;
  background:#E8DDC7;
  color:#6B5F50;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:'IBM Plex Mono', monospace;
  font-weight:700;
  font-size:12px;
}
.wizard-steps .step-pill.done{ background:#1F4B44; color:#fff; }
.wizard-steps .step-pill.cur{ background:#B8342A; color:#fff; transform:scale(1.15); }
.wizard-steps .step-line{
  width:24px;
  height:2px;
  background:#E8DDC7;
}
.wizard-steps .step-line.done{ background:#1F4B44; }

.wizard-body{
  padding:36px 40px;
  min-height:360px;
}
.wizard-step{ display:none; }
.wizard-step.active{ display:block; }

.wizard-step h3{
  font-family:'Nanum Myeongjo', serif;
  font-weight:800;
  font-size:24px;
  margin:0 0 8px;
  letter-spacing:-0.02em;
  color:#1A1614;
}
.wizard-step .step-help{
  font-size:14px;
  line-height:1.7;
  color:#6B5F50;
  margin-bottom:28px;
  word-break:keep-all;
}

.wizard-foot{
  padding:18px 32px;
  border-top:1px solid #E8DDC7;
  background:#FAF6EE;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.wizard-foot .savestate{
  font-family:'IBM Plex Mono', monospace;
  font-size:11px;
  color:#1F4B44;
  letter-spacing:0.04em;
}
.wizard-foot .savestate.saving{ color:#D17B2A; }
.wizard-foot .savestate.saved::before{ content:"✓ "; }

.wizard-btns{ display:flex; gap:8px; }
.wizard-btn{
  padding:11px 24px;
  font-family:inherit;
  font-size:13px;
  font-weight:700;
  letter-spacing:0.04em;
  border:1px solid #C8BBA8;
  background:#fff;
  color:#1A1614;
  cursor:pointer;
  transition:all 0.15s ease;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.wizard-btn:hover:not(:disabled){ background:#F0E9DD; }
.wizard-btn:disabled{ opacity:0.4; cursor:not-allowed; }
.wizard-btn.primary{
  background:#1A1614;
  color:#fff;
  border-color:#1A1614;
}
.wizard-btn.primary:hover:not(:disabled){ background:#B8342A; border-color:#B8342A; }
.wizard-btn.danger{
  background:#B8342A;
  color:#fff;
  border-color:#B8342A;
  font-size:14px;
  padding:13px 32px;
}
.wizard-btn.danger:hover:not(:disabled){ background:#9A2B22; border-color:#9A2B22; }

/* ---------------------------------------------------------------------
   3) 입력칸 + 예시 보기 + 도움말 (edu-field)
   --------------------------------------------------------------------- */
.edu-field{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:22px;
}
.edu-field > .lbl{
  font-size:14px;
  font-weight:700;
  color:#1A1614;
  display:flex;
  align-items:center;
  gap:6px;
}
.edu-field > .lbl .req{ color:#B8342A; font-weight:900; }
.edu-field > .lbl .optional{
  font-weight:400;
  font-size:11px;
  color:#6B5F50;
  letter-spacing:0.04em;
}
.edu-field > input[type=text],
.edu-field > input[type=email],
.edu-field > input[type=date],
.edu-field > input[type=datetime-local],
.edu-field > input[type=number],
.edu-field > input[type=url],
.edu-field > textarea,
.edu-field > select{
  padding:13px 14px;
  border:2px solid #E8DDC7;
  background:#fff;
  font-family:inherit;
  font-size:15px;
  line-height:1.5;
  color:#1A1614;
  outline:none;
  transition:border-color 0.15s ease;
  border-radius:0;
}
.edu-field > textarea{
  min-height:140px;
  resize:vertical;
}
.edu-field > *:focus{ border-color:#B8342A; }
.edu-field > .hint{
  display:flex;
  align-items:flex-start;
  gap:6px;
  font-size:12px;
  line-height:1.6;
  color:#6B5F50;
}
.edu-field > .hint::before{
  content:"💡";
  flex-shrink:0;
}
.edu-field > .err{
  font-size:13px;
  color:#B8342A;
  font-weight:600;
  display:none;
}
.edu-field > .err.show{ display:block; }
.edu-field > .err::before{ content:"⚠ "; }

/* 예시 보기 (펼침) */
.edu-examples{ margin-top:4px; }
.edu-examples summary{
  cursor:pointer;
  font-size:12px;
  color:#B8342A;
  font-weight:600;
  letter-spacing:0.02em;
  user-select:none;
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:4px 0;
}
.edu-examples summary::marker{ display:none; }
.edu-examples summary::-webkit-details-marker{ display:none; }
.edu-examples summary::before{ content:"▶ "; transition:transform 0.15s; display:inline-block; }
.edu-examples[open] summary::before{ transform:rotate(90deg); }
.edu-examples .examples-list{
  margin-top:6px;
  background:#FAF6EE;
  border-left:3px solid #C8BBA8;
  padding:10px 14px;
  font-size:13px;
  line-height:1.8;
}
.edu-examples .examples-list strong{
  display:block;
  font-size:11px;
  color:#6B5F50;
  letter-spacing:0.08em;
  text-transform:uppercase;
  margin-bottom:4px;
  font-family:'IBM Plex Mono', monospace;
}
.edu-examples .examples-list .ex-item{
  display:block;
  padding:3px 0;
  cursor:pointer;
  color:#1A1614;
  border-bottom:1px dashed #E8DDC7;
}
.edu-examples .examples-list .ex-item:last-child{ border-bottom:0; }
.edu-examples .examples-list .ex-item:hover{ color:#B8342A; }
.edu-examples .examples-list .ex-item::before{
  content:"↩";
  color:#B8342A;
  margin-right:6px;
  font-weight:700;
  opacity:0;
  transition:opacity 0.1s;
}
.edu-examples .examples-list .ex-item:hover::before{ opacity:1; }

/* ---------------------------------------------------------------------
   4) 큰 선택 버튼 (마법사 1단계용)
   --------------------------------------------------------------------- */
.choice-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(220px, 1fr));
  gap:14px;
  margin-top:8px;
}
.choice-btn{
  padding:24px 18px;
  background:#fff;
  border:2px solid #E8DDC7;
  cursor:pointer;
  text-align:left;
  display:flex;
  flex-direction:column;
  gap:8px;
  transition:all 0.15s ease;
  font-family:inherit;
}
.choice-btn:hover{
  border-color:#B8342A;
  background:#FAF6EE;
}
.choice-btn.selected{
  border-color:#B8342A;
  background:#FAF6EE;
  box-shadow:inset 0 0 0 1px #B8342A;
}
.choice-btn .ic{ font-size:32px; line-height:1; }
.choice-btn .nm{
  font-family:'Nanum Myeongjo', serif;
  font-weight:800;
  font-size:17px;
  color:#1A1614;
}
.choice-btn .dsc{
  font-size:12px;
  line-height:1.6;
  color:#6B5F50;
}

/* ---------------------------------------------------------------------
   5) 미리보기 패널 (4단계 좌우 분할)
   --------------------------------------------------------------------- */
.preview-split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  margin-top:8px;
}
@media (max-width:900px){
  .preview-split{ grid-template-columns:1fr; }
}
.preview-summary{
  background:#FAF6EE;
  padding:20px;
  border:1px solid #E8DDC7;
}
.preview-summary h4{
  font-family:'IBM Plex Mono', monospace;
  font-size:11px;
  color:#6B5F50;
  letter-spacing:0.16em;
  text-transform:uppercase;
  margin:0 0 14px;
  font-weight:700;
}
.preview-summary .row{
  padding:10px 0;
  border-bottom:1px dashed #E8DDC7;
  font-size:13px;
  line-height:1.5;
  display:flex;
  gap:12px;
}
.preview-summary .row:last-child{ border-bottom:0; }
.preview-summary .row .k{
  width:90px;
  flex-shrink:0;
  font-weight:600;
  color:#6B5F50;
}
.preview-summary .row .v{
  color:#1A1614;
  word-break:break-word;
}
.preview-summary .row .v.empty{ color:#C8BBA8; font-style:italic; }
.preview-summary .row .edit-link{
  font-size:11px;
  color:#B8342A;
  margin-left:6px;
  text-decoration:underline;
  cursor:pointer;
}

.preview-frame{
  background:#1A1614;
  padding:14px;
  position:relative;
}
.preview-frame .hd{
  font-family:'IBM Plex Mono', monospace;
  font-size:11px;
  color:#fff;
  letter-spacing:0.16em;
  text-transform:uppercase;
  margin-bottom:10px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.preview-frame .hd .lbl{ opacity:0.6; }
.preview-frame .device-toggle{
  display:flex;
  background:#2A2520;
}
.preview-frame .device-toggle button{
  background:transparent;
  border:0;
  padding:6px 10px;
  color:#9F9286;
  font-family:inherit;
  font-size:11px;
  cursor:pointer;
}
.preview-frame .device-toggle button.on{
  background:#B8342A;
  color:#fff;
}
.preview-frame .iframe-wrap{
  background:#F6F1E8;
  min-height:420px;
  overflow:auto;
  padding:20px;
}
.preview-frame .iframe-wrap.mobile{
  max-width:380px;
  margin:0 auto;
}

/* 미리보기 안 공지 카드 (실제 사이트 모양 흉내) */
.preview-notice-card{
  font-family:'Noto Sans KR', sans-serif;
  color:#1A1614;
}
.preview-notice-card .cat{
  display:inline-block;
  font-family:'IBM Plex Mono', monospace;
  font-size:10px;
  letter-spacing:0.18em;
  color:#B8342A;
  text-transform:uppercase;
  font-weight:700;
  padding:4px 10px;
  border:1px solid #B8342A;
  margin-bottom:14px;
}
.preview-notice-card h3{
  font-family:'Nanum Myeongjo', serif;
  font-weight:800;
  font-size:24px;
  line-height:1.3;
  margin:0 0 12px;
  letter-spacing:-0.02em;
  word-break:keep-all;
}
.preview-notice-card .meta{
  font-family:'IBM Plex Mono', monospace;
  font-size:11px;
  color:#6B5F50;
  letter-spacing:0.04em;
  margin-bottom:18px;
}
.preview-notice-card .pin-flag{
  display:inline-block;
  background:#B8342A;
  color:#fff;
  font-family:'IBM Plex Mono', monospace;
  font-size:9px;
  letter-spacing:0.16em;
  padding:3px 8px;
  margin-right:10px;
  text-transform:uppercase;
}
.preview-notice-card .body{
  font-size:14px;
  line-height:1.85;
  color:#3A3530;
  word-break:keep-all;
  white-space:pre-wrap;
}

/* ---------------------------------------------------------------------
   6) 튜토리얼 풍선 (5단계 안내)
   --------------------------------------------------------------------- */
.tut-overlay{
  position:fixed;
  inset:0;
  background:rgba(26,22,20,0.55);
  z-index:9000;
  pointer-events:none;
}
.tut-spotlight{
  position:fixed;
  z-index:9001;
  border-radius:6px;
  box-shadow:0 0 0 9999px rgba(26,22,20,0.55);
  transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events:none;
}
.tut-balloon{
  position:fixed;
  z-index:9002;
  background:#fff;
  padding:18px 22px;
  max-width:320px;
  box-shadow:0 8px 32px rgba(0,0,0,0.3);
  border-top:4px solid #B8342A;
}
.tut-balloon .step{
  font-family:'IBM Plex Mono', monospace;
  font-size:11px;
  letter-spacing:0.16em;
  color:#B8342A;
  text-transform:uppercase;
  margin-bottom:6px;
  font-weight:700;
}
.tut-balloon h4{
  font-family:'Nanum Myeongjo', serif;
  font-weight:800;
  font-size:17px;
  margin:0 0 8px;
  color:#1A1614;
}
.tut-balloon p{
  font-size:13px;
  line-height:1.7;
  color:#3A3530;
  margin:0 0 14px;
  word-break:keep-all;
}
.tut-balloon .btns{
  display:flex;
  gap:8px;
  align-items:center;
}
.tut-balloon .btns button{
  font-family:inherit;
  font-size:12px;
  padding:8px 14px;
  border:1px solid #C8BBA8;
  background:#fff;
  cursor:pointer;
  font-weight:600;
}
.tut-balloon .btns button.primary{
  background:#B8342A;
  border-color:#B8342A;
  color:#fff;
}
.tut-balloon .btns .skip{
  margin-left:auto;
  background:transparent;
  border:0;
  color:#6B5F50;
  font-size:11px;
  text-decoration:underline;
}

/* 튜토리얼 다시 보기 버튼 (우측 상단) */
.tut-restart-btn{
  position:fixed;
  bottom:24px;
  right:24px;
  width:48px;
  height:48px;
  border-radius:50%;
  background:#B8342A;
  color:#fff;
  border:0;
  font-size:20px;
  cursor:pointer;
  z-index:100;
  box-shadow:0 4px 16px rgba(184,52,42,0.4);
  display:flex;
  align-items:center;
  justify-content:center;
}
.tut-restart-btn:hover{ background:#9A2B22; }
.tut-restart-btn::before{ content:"?"; font-weight:700; font-family:'Nanum Myeongjo', serif; }

/* ---------------------------------------------------------------------
   7) 되돌리기 토스트 (5초 카운트다운)
   --------------------------------------------------------------------- */
.undo-toast{
  position:fixed;
  bottom:24px;
  left:50%;
  transform:translateX(-50%);
  background:#1A1614;
  color:#F6F1E8;
  padding:14px 20px;
  display:flex;
  align-items:center;
  gap:18px;
  z-index:200;
  box-shadow:0 8px 28px rgba(0,0,0,0.4);
  font-size:14px;
  animation:undo-slide-up 0.3s ease;
}
@keyframes undo-slide-up{
  from{ opacity:0; transform:translate(-50%, 20px); }
  to{ opacity:1; transform:translate(-50%, 0); }
}
.undo-toast .check{
  color:#1F4B44;
  font-weight:700;
  font-size:18px;
}
.undo-toast .undo-btn{
  background:#B8342A;
  color:#fff;
  border:0;
  padding:8px 14px;
  font-family:inherit;
  font-weight:700;
  font-size:12px;
  letter-spacing:0.04em;
  cursor:pointer;
}
.undo-toast .undo-btn:hover{ background:#9A2B22; }
.undo-toast .timer{
  font-family:'IBM Plex Mono', monospace;
  font-size:11px;
  color:#9F9286;
  letter-spacing:0.04em;
}

/* ---------------------------------------------------------------------
   8) 3단계 확인 모달 (위험 행동 가드)
   --------------------------------------------------------------------- */
.danger-modal{
  background:#fff;
  border-top:5px solid #B8342A;
  padding:28px 32px;
  max-width:480px;
}
.danger-modal h3{
  font-family:'Nanum Myeongjo', serif;
  font-weight:800;
  font-size:22px;
  margin:0 0 14px;
  color:#B8342A;
  display:flex;
  align-items:center;
  gap:10px;
}
.danger-modal h3::before{ content:"⚠"; font-size:24px; }
.danger-modal .target{
  background:#FAF6EE;
  padding:14px;
  margin:14px 0;
  font-size:13px;
  border-left:3px solid #B8342A;
}
.danger-modal .target strong{ color:#1A1614; }
.danger-modal p{
  font-size:14px;
  line-height:1.7;
  color:#3A3530;
  margin:0 0 14px;
}
.danger-modal .undo-info{
  font-size:12px;
  color:#6B5F50;
  background:#F0E9DD;
  padding:8px 12px;
  margin-top:12px;
}

/* ---------------------------------------------------------------------
   9) 자동저장 표시
   --------------------------------------------------------------------- */
.autosave-restore{
  background:#FAF6EE;
  border:1px solid #C8BBA8;
  border-left:4px solid #1F4B44;
  padding:14px 18px;
  margin-bottom:20px;
  display:flex;
  align-items:center;
  gap:14px;
  font-size:13px;
}
.autosave-restore .ic{
  font-size:22px;
  color:#1F4B44;
}
.autosave-restore .info{
  flex:1;
  line-height:1.5;
}
.autosave-restore .info strong{ color:#1A1614; }
.autosave-restore .info .ts{
  font-family:'IBM Plex Mono', monospace;
  font-size:11px;
  color:#6B5F50;
}
.autosave-restore .btns{
  display:flex;
  gap:6px;
}
.autosave-restore .btns button{
  font-family:inherit;
  font-size:12px;
  padding:7px 12px;
  border:1px solid #C8BBA8;
  background:#fff;
  cursor:pointer;
  font-weight:600;
}
.autosave-restore .btns button.primary{
  background:#1F4B44;
  border-color:#1F4B44;
  color:#fff;
}

/* ---------------------------------------------------------------------
   10) Rich Editor (서식 도구 있는 본문 에디터)
   --------------------------------------------------------------------- */
.rich-editor{
  border:2px solid #E8DDC7;
  background:#fff;
  font-family:inherit;
  display:flex;
  flex-direction:column;
  min-height:240px;
}
.rich-editor:focus-within{ border-color:#B8342A; }
.rich-toolbar{
  display:flex;
  flex-wrap:wrap;
  gap:2px;
  padding:6px 8px;
  border-bottom:1px solid #E8DDC7;
  background:#FAF6EE;
  position:sticky;
  top:0;
  z-index:5;
}
.rich-toolbar button{
  background:transparent;
  border:1px solid transparent;
  padding:6px 10px;
  cursor:pointer;
  font-family:inherit;
  font-size:13px;
  color:#1A1614;
  transition:all 0.12s;
  min-width:32px;
  height:30px;
  border-radius:3px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.rich-toolbar button:hover{ background:#fff; border-color:#C8BBA8; }
.rich-toolbar button.active{
  background:#B8342A;
  color:#fff;
  border-color:#B8342A;
}
.rich-toolbar button[disabled]{ opacity:0.4; cursor:not-allowed; }
.rich-toolbar .rich-sep{
  width:1px;
  height:20px;
  background:#C8BBA8;
  margin:0 4px;
  align-self:center;
}
.rich-toolbar .rich-color-pop{
  position:relative;
  display:inline-block;
}
.rich-toolbar .rich-color-pop > button .swatch{
  display:inline-block;
  width:14px;
  height:14px;
  border:1px solid #C8BBA8;
  margin-left:4px;
  vertical-align:middle;
}
.rich-toolbar .rich-color-menu{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  z-index:50;
  background:#fff;
  border:1px solid #C8BBA8;
  padding:6px;
  margin-top:4px;
  display:flex;
  gap:4px;
  flex-wrap:wrap;
  width:140px;
  box-shadow:0 4px 14px rgba(0,0,0,0.15);
}
.rich-toolbar .rich-color-pop.open .rich-color-menu{ display:flex; }
.rich-toolbar .rich-color-menu button{
  width:24px;
  height:24px;
  padding:0;
  min-width:24px;
}
.rich-toolbar .rich-color-menu button .sw{
  display:block;
  width:18px;
  height:18px;
  border:1px solid rgba(0,0,0,0.1);
}

.rich-content{
  padding:16px 18px;
  min-height:220px;
  flex:1;
  font-size:15px;
  line-height:1.85;
  outline:none;
  color:#1A1614;
  word-break:keep-all;
  overflow-wrap:break-word;
}
.rich-content[data-empty="1"]::before{
  content:attr(data-placeholder);
  color:#C8BBA8;
  pointer-events:none;
  white-space:pre-line;
}
.rich-content h2{
  font-family:'Nanum Myeongjo', serif;
  font-size:22px;
  font-weight:800;
  margin:18px 0 10px;
  letter-spacing:-0.02em;
}
.rich-content h3{
  font-family:'Nanum Myeongjo', serif;
  font-size:18px;
  font-weight:700;
  margin:14px 0 8px;
  letter-spacing:-0.01em;
}
.rich-content p{ margin:0 0 12px; }
.rich-content ul, .rich-content ol{
  padding-left:24px;
  margin:8px 0 12px;
}
.rich-content ul li, .rich-content ol li{ margin-bottom:4px; }
.rich-content blockquote{
  border-left:3px solid #B8342A;
  padding:4px 16px;
  margin:14px 0;
  color:#6B5F50;
  background:#FAF6EE;
}
.rich-content a{
  color:#B8342A;
  text-decoration:underline;
}
.rich-content hr{
  border:0;
  border-top:1px solid #C8BBA8;
  margin:18px 0;
}
.rich-content strong{ font-weight:700; }
.rich-content em{ font-style:italic; }
.rich-content u{ text-decoration:underline; }

/* ---------------------------------------------------------------------
   파일 업로드 (드래그앤드롭 + 클릭 선택)
   --------------------------------------------------------------------- */
.file-drop{
  border:2px dashed #C8BBA8;
  background:#FAF6EE;
  padding:28px 20px;
  text-align:center;
  cursor:pointer;
  transition:all 0.15s;
  position:relative;
}
.file-drop:hover{ border-color:#B8342A; background:#F0E9DD; }
.file-drop.dragover{
  border-color:#B8342A;
  background:#F0E9DD;
  border-style:solid;
}
.file-drop input[type=file]{
  position:absolute;
  inset:0;
  opacity:0;
  cursor:pointer;
}
.file-drop .ic{ font-size:36px; color:#B8342A; line-height:1; margin-bottom:10px; }
.file-drop .title{
  font-family:'Nanum Myeongjo', serif;
  font-weight:700;
  font-size:16px;
  color:#1A1614;
  margin-bottom:6px;
}
.file-drop .desc{
  font-size:12.5px;
  color:#6B5F50;
  line-height:1.6;
}
.file-drop .desc code{
  font-family:'IBM Plex Mono', monospace;
  font-size:11px;
  background:#fff;
  padding:1px 5px;
  border:1px solid #E8DDC7;
  margin:0 1px;
}

.file-list{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:14px;
}
.file-item{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  background:#fff;
  border:1px solid #E8DDC7;
  border-left:3px solid #1F4B44;
  font-size:13px;
}
.file-item.uploading{ border-left-color:#D17B2A; }
.file-item.error{ border-left-color:#B8342A; background:#FBE8E5; }
.file-item .file-ic{
  font-size:24px;
  line-height:1;
  flex-shrink:0;
}
.file-item .file-info{ flex:1; min-width:0; }
.file-item .file-name{
  font-weight:600;
  color:#1A1614;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.file-item .file-meta{
  font-family:'IBM Plex Mono', monospace;
  font-size:11px;
  color:#6B5F50;
  margin-top:2px;
}
.file-item .file-progress{
  width:120px;
  height:4px;
  background:#E8DDC7;
  position:relative;
  overflow:hidden;
}
.file-item .file-progress .bar{
  position:absolute;
  inset:0 auto 0 0;
  background:#D17B2A;
  transition:width 0.2s ease;
}
.file-item .file-progress.done .bar{ background:#1F4B44; }
.file-item .file-remove{
  background:transparent;
  border:1px solid #C8BBA8;
  color:#6B5F50;
  padding:6px 10px;
  font-family:inherit;
  font-size:12px;
  cursor:pointer;
  flex-shrink:0;
}
.file-item .file-remove:hover{ border-color:#B8342A; color:#B8342A; }

/* 에디터 푸터 — 글자수 + 단축키 안내 */
.rich-foot{
  display:flex;
  justify-content:space-between;
  padding:6px 10px;
  border-top:1px solid #E8DDC7;
  background:#FAF6EE;
  font-family:'IBM Plex Mono', monospace;
  font-size:11px;
  color:#6B5F50;
  letter-spacing:0.04em;
}
.rich-foot .shortcuts{ opacity:0.7; }

/* ---------------------------------------------------------------------
   11) 페이지 첫 안내 (튜토리얼 띄울 때 까는 카드)
   --------------------------------------------------------------------- */
.first-visit-card{
  background:linear-gradient(135deg, #FAF6EE 0%, #F0E9DD 100%);
  border:1px solid #C8BBA8;
  padding:24px 28px;
  margin-bottom:24px;
  display:flex;
  gap:20px;
  align-items:center;
}
.first-visit-card .ic{
  font-size:42px;
  color:#B8342A;
}
.first-visit-card .text{ flex:1; }
.first-visit-card h3{
  font-family:'Nanum Myeongjo', serif;
  font-weight:800;
  font-size:18px;
  margin:0 0 6px;
  color:#1A1614;
}
.first-visit-card p{
  font-size:13px;
  line-height:1.7;
  color:#3A3530;
  margin:0;
}
.first-visit-card .start-btn{
  background:#B8342A;
  color:#fff;
  border:0;
  padding:13px 24px;
  font-family:inherit;
  font-weight:700;
  font-size:13px;
  letter-spacing:0.04em;
  cursor:pointer;
  white-space:nowrap;
}
.first-visit-card .start-btn:hover{ background:#9A2B22; }
.first-visit-card .skip{
  background:transparent;
  border:0;
  color:#6B5F50;
  font-size:11px;
  text-decoration:underline;
  cursor:pointer;
  padding:0;
  margin-top:6px;
}
