/* ════════════════════════════════════════════════
   ONE FLOW – index.css  (PC + 모바일 통합 반응형)
   Mobile-first, Desktop override at 768px+
════════════════════════════════════════════════ */

:root {
  --navy:   #061322;
  --navy-2: #0d2238;
  --navy-3: #102b45;
  --ink:    #0b1625;
  --muted:  #6b7280;
  --border: #e2e8f2;
  --gold:   #e8b64f;
  --gold-2: #f3d48a;
  --blue:   #35a5d6;
  --violet: #6956c7;
  --paper:  #f4f7fb;
  --white:  #ffffff;
  --r:      12px;
  --sh-sm:  0 2px 8px rgba(10,20,40,.08);
  --sh:     0 8px 28px rgba(10,20,40,.12);
  --sh-lg:  0 20px 55px rgba(5,17,33,.18);
  font-family: "Pretendard","Noto Sans KR","Segoe UI",Arial,sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body { background: var(--paper); color: var(--ink); line-height: 1.55; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button { border: 0; cursor: pointer; font: inherit; }
input, textarea { font: inherit; }

/* ══ 로그인 ══════════════════════════════════ */
#loginScreen {
  position: fixed; inset: 0; z-index: 9999;
  background: linear-gradient(145deg,#020c18,#061322,#0a1e36);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
#loginScreen::before {
  content: ""; position: absolute; inset: 0;
  background: url("/images/bg.png") center/cover no-repeat; opacity: .05;
}
.login-box {
  position: relative; z-index: 1; width: 100%; max-width: 400px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px; padding: 44px 38px 38px;
  backdrop-filter: blur(16px); box-shadow: 0 32px 80px rgba(0,0,0,.5);
}
.login-logo { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 34px; }
.login-tagline { color: rgba(255,255,255,.45); font-size: 12.5px; font-weight: 700; text-align: center; letter-spacing: .04em; }
.login-field { margin-bottom: 14px; }
.login-field label { display: block; color: rgba(255,255,255,.5); font-size: 10.5px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 7px; }
.login-field input { width: 100%; background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.14); border-radius: 10px; padding: 12px 15px; color: #fff; font-size: 15px; outline: none; transition: border-color .15s; }
.login-field input::placeholder { color: rgba(255,255,255,.22); }
.login-field input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232,182,79,.15); }
.login-auto { display: flex; align-items: center; gap: 9px; margin-bottom: 22px; cursor: pointer; }
.login-auto input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--gold); cursor: pointer; }
.login-auto span { color: rgba(255,255,255,.6); font-size: 13px; font-weight: 700; }
.login-btn { width: 100%; padding: 14px; border-radius: 10px; background: linear-gradient(135deg,var(--gold),var(--gold-2)); color: #172033; font-size: 15px; font-weight: 900; box-shadow: 0 8px 24px rgba(232,182,79,.32); transition: transform .15s; }
.login-btn:hover { transform: translateY(-1px); }
.login-error { margin-top: 12px; padding: 10px 14px; border-radius: 8px; background: rgba(224,92,92,.14); border: 1px solid rgba(224,92,92,.28); color: #f87171; font-size: 13px; font-weight: 700; text-align: center; display: none; }
.login-error.show { display: block; }

/* ══ 로고 ════════════════════════════════════ */
.geo-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--white); }
.geo-mark { position: relative; width: 36px; height: 29px; flex: 0 0 auto; }
.geo-one { position: absolute; left: 2px; top: 0; width: 9px; height: 29px; background: linear-gradient(180deg,#fff 0%,#dfe8f2 48%,#0d1c31 100%); transform: skewX(-12deg); clip-path: polygon(48% 0,100% 0,100% 100%,18% 100%,18% 22%,0 32%,0 14%); }
.geo-f   { position: absolute; left: 13px; top: 0; width: 21px; height: 29px; background: linear-gradient(135deg,#ffe9a4 0%,#e6b44c 45%,#a76d1d 100%); clip-path: polygon(0 0,100% 0,86% 26%,30% 26%,30% 45%,78% 45%,64% 68%,30% 68%,30% 100%,0 100%); }
.geo-word strong { font-size: 16px; line-height: 1; letter-spacing: .22em; font-weight: 900; }
.geo-word span   { display: block; margin-top: 2px; color: rgba(255,255,255,.65); font-size: 7px; letter-spacing: .24em; font-weight: 800; }

/* ══ 드로어 ══════════════════════════════════ */
.drawer-bg { position: fixed; inset: 0; z-index: 800; background: rgba(6,19,34,.55); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer-bg.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; left: 0; bottom: 0; width: 256px; z-index: 850; background: var(--navy); border-right: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .28s cubic-bezier(.4,0,.2,1); box-shadow: 4px 0 28px rgba(0,0,0,.4); }
.drawer.open { transform: translateX(0); }
.drawer-head { padding: 22px 18px 18px; border-bottom: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; justify-content: space-between; }
.drawer-user { display: flex; align-items: center; gap: 10px; }
.drawer-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg,var(--gold),var(--gold-2)); display: grid; place-items: center; font-size: 15px; color: #172033; font-weight: 900; }
.drawer-name { font-size: 14px; font-weight: 900; color: var(--white); }
.drawer-role { font-size: 10.5px; color: rgba(255,255,255,.4); margin-top: 1px; }
.drawer-close { width: 28px; height: 28px; border-radius: 7px; background: rgba(255,255,255,.07); border: none; color: rgba(255,255,255,.55); font-size: 15px; display: grid; place-items: center; cursor: pointer; }
.drawer-nav { padding: 14px 10px; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.drawer-link { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: 9px; color: rgba(255,255,255,.65); font-size: 13.5px; font-weight: 700; background: none; border: none; cursor: pointer; text-align: left; transition: background .15s, color .15s; width: 100%; }
.drawer-link .di { font-size: 17px; }
.drawer-link:hover, .drawer-link.active { background: rgba(255,255,255,.07); color: var(--white); }
.drawer-link.active { color: var(--gold-2); }
.drawer-foot { padding: 14px 10px 24px; border-top: 1px solid rgba(255,255,255,.07); }
.drawer-logout { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 13px; border-radius: 9px; background: rgba(224,92,92,.1); border: 1px solid rgba(224,92,92,.2); color: #f87171; font-size: 13px; font-weight: 800; cursor: pointer; transition: background .15s; }
.drawer-logout:hover { background: rgba(224,92,92,.2); }

/* ══ 탑바 ════════════════════════════════════ */
.topbar {
  position: sticky; top: 0; z-index: 400;
  background: var(--navy);
  display: flex; align-items: center; gap: 16px;
  padding: 0 16px; height: 52px;
  box-shadow: 0 1px 0 rgba(255,255,255,.07);
}
.hamburger { width: 34px; height: 34px; border-radius: 9px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4.5px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); cursor: pointer; flex-shrink: 0; }
.hamburger span { display: block; width: 15px; height: 1.5px; background: rgba(255,255,255,.75); border-radius: 2px; }
.logo-link { display: flex; align-items: center; }
.topbar-spacer { flex: 1; }
.top-nav { display: none; } /* 모바일: 숨김 */
.today-badge { color: var(--gold-2); font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.btn-logout { display: none; } /* 모바일: 숨김 (드로어에서 로그아웃) */
.btn-logout:hover { background: rgba(224,92,92,.18); color: #f87171; }

/* 모바일: 로고 서브텍스트 숨김 */
.geo-word span { display: none; }

/* ══ 히어로 ══════════════════════════════════ */
.hero-section {
  background: #020c18; color: var(--white);
  padding: 18px 18px 20px;
  position: relative; overflow: hidden; min-height: 120px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-section::before { content: ""; position: absolute; inset: 0; background: url("/images/mbg2.png") center/cover no-repeat; opacity: .6; }
.hero-section::after  { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(2,12,24,.3) 0%,rgba(2,12,24,.8) 100%); }
.hero-inner { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.hero-text h2 { font-size: 18px; font-weight: 700; line-height: 1.3; }
.hero-text h2 em { font-style: normal; color: var(--gold-2); }
.hero-text p  { font-size: 11.5px; color: rgba(255,255,255,.5); margin-top: 3px; }
.hero-badge   { background: rgba(232,182,79,.18); border: 1px solid rgba(232,182,79,.32); border-radius: 99px; padding: 5px 13px; font-size: 12px; font-weight: 800; color: var(--gold-2); white-space: nowrap; flex-shrink: 0; }

/* ══ 탭 네비 (모바일) ════════════════════════ */
.mob-tab-nav { display: grid; grid-template-columns: repeat(5,1fr); background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 52px; z-index: 380; }
.mob-tab-btn { padding: 9px 2px 7px; text-align: center; font-size: 10px; font-weight: 800; color: var(--muted); border-bottom: 2px solid transparent; background: none; cursor: pointer; transition: color .15s, border-color .15s; letter-spacing: -.01em; }
.mob-tab-btn.active { color: var(--navy); border-bottom-color: var(--gold); }

/* ══ 콘텐츠 공통 ═════════════════════════════ */
.tab-page { display: none; }
.tab-page.is-active { display: block; }
.page-wrap { padding: 16px 14px 32px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.section-head h2 { font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.section-head .sec-btn { font-size: 12px; color: var(--muted); background: none; font-weight: 700; }

/* ══ 기록 카드 공통 ══════════════════════════ */
.record-card { background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: var(--r); box-shadow: var(--sh-sm); margin-bottom: 12px; overflow: hidden; transition: box-shadow .15s; }
.record-card:hover { box-shadow: var(--sh); }
.record-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 10px; border-bottom: 1px solid #f0f4fa; background: #fafbfd; }
.record-place { font-size: 15px; font-weight: 900; color: var(--navy); }
.record-time  { font-size: 11.5px; font-weight: 700; color: var(--muted); background: #f0f4fa; border-radius: 99px; padding: 3px 10px; white-space: nowrap; }
.record-body  { padding: 10px 16px; display: grid; gap: 8px; }
.record-field { display: grid; grid-template-columns: 68px 1fr; gap: 4px; font-size: 13px; }
.record-field dt { font-size: 9.5px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding-top: 2px; }
.record-field dd { color: var(--ink); line-height: 1.45; }
.no-content   { padding: 8px 16px 10px; font-size: 12px; color: #bcc5d3; font-style: italic; }
.record-actions { display: flex; justify-content: flex-end; gap: 6px; padding: 8px 14px; border-top: 1px solid #f0f4fa; background: #fafbfd; }
.btn-edit { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: 6px; border: 1px solid rgba(232,182,79,.6); background: #fff; color: #9a6f10; font-size: 12px; font-weight: 800; cursor: pointer; transition: background .15s; }
.btn-edit:hover, .btn-edit:active { background: var(--gold); color: #172033; }
.btn-del  { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: 6px; border: 1px solid rgba(224,92,92,.4); background: #fff; color: #c0392b; font-size: 12px; font-weight: 800; cursor: pointer; transition: background .15s; }
.btn-del:hover, .btn-del:active { background: #fde8e8; }

/* ══ 폼 공통 ════════════════════════════════ */
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 18px 16px; box-shadow: var(--sh-sm); }
.form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-bottom: 11px; }
.form-row.full { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label { font-size: 10px; font-weight: 900; color: #455165; text-transform: uppercase; letter-spacing: .06em; }
.field input, .field textarea { width: 100%; border: 1.5px solid var(--border); border-radius: 8px; padding: 10px 12px; font-size: 14px; color: var(--ink); background: #fbfdff; outline: none; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 72px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232,182,79,.15); }
.btn-submit { width: 100%; padding: 13px; border-radius: var(--r); background: linear-gradient(135deg,var(--navy),var(--navy-3)); color: var(--white); font-size: 14.5px; font-weight: 900; margin-top: 13px; letter-spacing: .03em; border: none; cursor: pointer; transition: opacity .15s; }
.btn-submit:hover { opacity: .9; }
.btn-reset  { width: 100%; padding: 10px; border-radius: var(--r); background: var(--paper); border: 1.5px solid var(--border); color: var(--muted); font-size: 13px; font-weight: 800; margin-top: 7px; cursor: pointer; }

/* ══ Flow 카드 ═══════════════════════════════ */
.flow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.flow-card { background: linear-gradient(150deg,#07182b,#102840); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 14px 13px; color: var(--white); display: flex; flex-direction: column; gap: 6px; }
.flow-card.wide { grid-column: 1/-1; flex-direction: row; align-items: center; justify-content: space-between; padding: 13px 16px; }
.fc-label { font-size: 9px; font-weight: 900; letter-spacing: .14em; color: rgba(255,255,255,.5); text-transform: uppercase; }
.fc-val   { font-size: 13.5px; font-weight: 700; line-height: 1.35; }
.fc-num   { font-size: 34px; font-weight: 900; color: var(--gold-2); line-height: 1; }
.fc-emoji { font-size: 22px; }

/* ══ 훈련 카드 ═══════════════════════════════ */
.training-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 13px; display: flex; gap: 10px; align-items: flex-start; box-shadow: var(--sh-sm); margin-bottom: 8px; }
.training-num  { min-width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 11px; font-weight: 900; display: grid; place-items: center; flex: 0 0 auto; }
.training-body h3 { font-size: 13.5px; font-weight: 800; margin-bottom: 3px; }
.training-body p  { font-size: 12px; color: var(--muted); line-height: 1.5; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 99px; font-size: 10px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 5px; }
.tag-news { background: #e8f4fd; color: #1a6fa0; }
.tag-ai   { background: #f0eeff; color: #4d3db5; }
.tag-obs  { background: #e8f8f2; color: #1a7a58; }

/* ══ Check / Report 공통 ═════════════════════ */
.stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.stat-card  { background: linear-gradient(160deg,#07182b,#12304d); border-radius: var(--r); padding: 16px 14px; color: var(--white); border: 1px solid rgba(255,255,255,.1); }
.stat-card .sc-label { font-size: 10px; font-weight: 900; color: var(--gold-2); text-transform: uppercase; letter-spacing: .1em; display: block; margin-bottom: 5px; }
.stat-card .sc-num   { font-size: 32px; font-weight: 900; line-height: 1; }
.stat-card .sc-text  { font-size: 13.5px; font-weight: 700; color: rgba(255,255,255,.85); margin-top: 5px; }
.stat-card .sc-sub   { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 3px; }
.auto-extract { padding: 9px 12px; background: #f0f7ff; border: 1px solid #c5ddf5; border-radius: 8px; font-size: 12.5px; color: #2c5282; margin-bottom: 8px; }
.auto-extract b { font-weight: 900; }
.report-summary { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 12px; }
.r-chip { padding: 5px 11px; border-radius: 99px; background: var(--navy); color: var(--white); font-size: 11.5px; font-weight: 800; }
.r-chip span { color: var(--gold-2); margin-right: 3px; }
.report-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 15px; box-shadow: var(--sh-sm); margin-bottom: 10px; }
.report-card h3 { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); margin-bottom: 12px; }
.bar-list { display: grid; gap: 10px; }
.bar-row  { display: grid; grid-template-columns: 64px 1fr 26px; align-items: center; gap: 8px; font-size: 12.5px; color: #3b4657; }
.bar      { height: 6px; border-radius: 99px; background: #e8eef6; overflow: hidden; }
.bar i    { display: block; height: 100%; width: var(--w,20%); border-radius: inherit; background: linear-gradient(90deg,var(--blue),var(--violet)); }
.note-list { padding-left: 16px; }
.note-list li { font-size: 13px; color: #3a4657; line-height: 1.65; }
.note-list li + li { margin-top: 7px; }
.saved-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 12px; border-radius: 99px; background: #e8f8f0; border: 1px solid #b3ddc7; font-size: 11.5px; font-weight: 800; color: #1a7a58; }

/* ══ 빈 상태 ════════════════════════════════ */
.empty-state { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty-state .ei { font-size: 36px; margin-bottom: 10px; opacity: .5; }
.empty-state p { font-size: 13.5px; line-height: 1.7; }

/* ══ 수정 모달 ═══════════════════════════════ */
.modal-bg { position: fixed; inset: 0; z-index: 5000; background: rgba(6,19,34,.6); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal { background: var(--white); border-radius: 16px; width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; box-shadow: 0 32px 80px rgba(0,0,0,.3); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px 14px; border-bottom: 1px solid var(--border); }
.modal-head h3 { font-size: 16px; font-weight: 900; color: var(--navy); }
.modal-close { width: 30px; height: 30px; border-radius: 50%; background: #f0f4fa; border: none; cursor: pointer; font-size: 16px; display: grid; place-items: center; color: var(--muted); }
.modal-close:hover { background: #fde8e8; color: #e05c5c; }
.modal-body { padding: 18px 22px; display: grid; gap: 13px; }
.modal-foot { padding: 12px 22px 18px; display: flex; justify-content: flex-end; gap: 9px; border-top: 1px solid var(--border); }
.btn-dark  { display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; height: 40px; border-radius: 8px; background: var(--navy); color: var(--white); font-size: 13px; font-weight: 800; border: none; cursor: pointer; }
.btn-light { display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; height: 38px; border-radius: 8px; background: var(--white); border: 1px solid var(--border); color: var(--ink); font-size: 13px; font-weight: 800; cursor: pointer; }

/* ════════════════════════════════════════════
   PC 오버라이드 (768px 이상)
════════════════════════════════════════════ */
@media (min-width: 768px) {
  body { background: #eaeff6; }

  /* 탑바 */
  .topbar { padding: 0 28px; height: 60px; }
  .hamburger { display: none; }
  .btn-logout { display: inline-flex; padding: 0 12px; height: 32px; border-radius: 7px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.7); font-size: 11.5px; font-weight: 800; letter-spacing: .03em; transition: background .15s, color .15s; align-items: center; gap: 5px; }
  .geo-word span { display: block; }
  .top-nav { display: flex; flex: 1; justify-content: center; gap: 24px; }
  .top-nav-btn { padding: 8px 0; background: none; color: rgba(255,255,255,.7); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; border-bottom: 3px solid transparent; transition: color .15s, border-color .15s; }
  .top-nav-btn:hover  { color: rgba(255,255,255,.95); }
  .top-nav-btn.active { color: var(--gold-2); border-bottom-color: var(--gold); }

  /* 히어로 */
  .hero-section { min-height: 440px; padding: 60px 0 90px; background: #020a12; }
  .hero-section::before { background: url("/images/bg.png") center/cover no-repeat; opacity: 1; }
  .hero-section::after  { background: linear-gradient(90deg,rgba(2,9,17,.92) 0%,rgba(3,15,27,.72) 48%,rgba(3,15,27,.18) 100%); }
  .hero-inner { max-width: 1120px; margin: 0 auto; padding: 0 28px; align-items: flex-start; flex-direction: column; gap: 0; }
  .hero-text h2  { font-size: clamp(36px,4.2vw,58px); font-weight: 700; line-height: 1.2; }
  .hero-text h2 em { color: var(--white); font-style: normal; }
  .hero-eyebrow  { color: var(--gold); font-size: 13px; font-weight: 900; letter-spacing: .34em; text-transform: uppercase; margin-bottom: 16px; }
  .hero-text p   { margin-top: 20px; max-width: 400px; color: rgba(255,255,255,.76); font-size: 17px; line-height: 1.7; }
  .hero-actions  { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
  .hero-badge    { display: none; }
  .btn-gold { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 22px; height: 46px; border-radius: 9px; background: linear-gradient(135deg,var(--gold),var(--gold-2)); color: #172033; font-size: 14px; font-weight: 900; box-shadow: 0 8px 22px rgba(232,182,79,.3); border: none; cursor: pointer; transition: transform .15s; }
  .btn-ghost { display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; height: 46px; border-radius: 9px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24); color: var(--white); font-size: 14px; font-weight: 800; cursor: pointer; transition: background .15s; }

  /* 탭 내비 숨김 */
  .mob-tab-nav { display: none; }

  /* 콘텐츠 */
  .app-content  { max-width: 1120px; margin: -40px auto 0; padding: 0 28px 60px; position: relative; z-index: 10; }
  .page-wrap    { background: rgba(255,255,255,.96); border: 1px solid rgba(212,222,234,.9); border-radius: 16px 16px 0 0; box-shadow: var(--sh-lg); overflow: hidden; }
  .inner-section { padding: 30px 38px; border-bottom: 1px solid #eaeef5; }
  .inner-section:last-child { border-bottom: 0; }
  .section-head h2 { font-size: 18px; }

  /* 기록 카드 - PC 2열 필드 */
  .record-body { grid-template-columns: repeat(2,1fr); gap: 0; padding: 0; }
  .record-field { padding: 13px 20px; border-bottom: 1px solid #f0f4fa; }
  .record-field:nth-child(odd)  { border-right: 1px solid #f0f4fa; }
  .record-field:nth-last-child(-n+2) { border-bottom: 0; }
  .record-field dt { font-size: 11px; }
  .record-field dd { font-size: 14.5px; }
  .record-head  { padding: 14px 20px 12px; }
  .record-place { font-size: 17px; }
  .record-actions { padding: 10px 18px; }
  .btn-edit, .btn-del { font-size: 13px; padding: 7px 16px; }

  /* 폼 - PC 2열 */
  .form-card { padding: 26px 28px; }
  .form-row  { gap: 14px; margin-bottom: 13px; }
  .field label  { font-size: 11px; }
  .field input, .field textarea { padding: 11px 13px; font-size: 14px; }
  .field textarea { min-height: 80px; }
  .btn-submit { padding: 14px; font-size: 15px; }

  /* 통계 카드 3열 */
  .stat-cards { grid-template-columns: repeat(3,1fr); }

  /* Flow 그리드 5열 */
  .flow-grid { grid-template-columns: repeat(5,1fr); }
  .flow-card.wide { grid-column: auto; flex-direction: column; align-items: flex-start; }
  .fc-num { font-size: 42px; }
  .fc-emoji { font-size: 30px; }
  .fc-label { font-size: 10px; }
  .fc-val { font-size: 15px; }

  /* 리포트 4열 */
  .report-4col { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
  .report-4col .report-card { margin-bottom: 0; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .flow-grid { grid-template-columns: repeat(3,1fr); }
  .report-4col { grid-template-columns: repeat(2,1fr); }
}
