:root{
  /* 레이아웃 스케일 */
  --container:1450px;
  --xpad:28px;

  /* 색/선 */
  --bg:#ffffff; --text:#111827; --muted:#6b7280; --line:#e5e7eb;
  --accent:#0f172a;

  /* 보더/라운드/버튼 토큰 */
  --radius: 8px;
  --btn-h: 40px;
  --btn-px: 16px;
  --btn-py: 10px;
  --btn-fs: 14px;

  /* 여백 스케일 */
  --top-py:32px;  /* 로고 영역 */
  --gnb-h:64px;   /* 메뉴 바 */
  --main-py:44px; /* 본문 */
  --footer-py:56px; /* 푸터 ↑ 넉넉하게 */
  --copy-py:28px;   /* 카피라이트 ↑ */
  --gap:24px;

  /* base size */
  --font-base: 16px;
  /* modular scale (desktop, ratio 1.25) */
  --step--1: calc(var(--font-base) / 1.25);
  --step-0: var(--font-base);
  --step-1: calc(var(--font-base) * 1.25);
}

/* Page transition effects */
.page-transition {
  transition: opacity 0.3s ease-in-out;
}

.page-fade-out {
  opacity: 0;
}

.page-fade-in {
  opacity: 1;
}

/* Apply to main content area */
main {
  transition: opacity 0.3s ease-in-out;
}

*{box-sizing:border-box}
html,body{margin:0}
body{
  background:#f8fafc;color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,Apple SD Gothic Neo,Malgun Gothic,sans-serif;
}
a{color:inherit;text-decoration:none}

/* 공통 컨테이너 – 중앙 라인 통일 */
.container{max-width:var(--container);margin:0 auto;padding:0 var(--xpad)}

/* ── Header ───────────────────────────── */
header{background:var(--bg)}
.divider{border-top:1px solid var(--line)}

.topbar{
  padding:var(--top-py) 0;
  display:flex;align-items:center;justify-content:space-between;gap:24px;
}
.logo-wrap{display:flex;align-items:center;gap:16px;min-width:0}
.logo{width:340px;display:block}
.site-title{font-weight:800;font-size:22px;white-space:nowrap}
.util{display:flex;gap:20px;align-items:center;color:var(--muted);font-size:14px}
.util a{padding:8px 0}

/* GNB – 고정폭 그리드 */
.gnb{
  display:grid;
  grid-template-columns:repeat(var(--gnb-cols,6), 1fr);
  gap:12px; align-items:stretch;
  height:var(--gnb-h);
}
.gnb a{
  display:flex;align-items:center;justify-content:center;
  font-size:17px;font-weight:600;letter-spacing:.1px;
  position:relative;border-radius:10px;
}
.gnb a::after{
  content:"";position:absolute;left:12px;right:12px;bottom:10px;
  height:3px;border-radius:999px;background:transparent;transition:background .15s ease;
}
/* 활성 상태 표시 */
.gnb a.is-active{color:var(--accent)}
.gnb a.is-active::after{background:var(--accent)}

/* ── Main common ──────────────────────── */
main{padding:var(--main-py) 0}
.section-title{font-weight:700;font-size:22px;margin:28px 0 18px;text-align:center}

/* 폼/섹션 레이아웃 유틸 */
.form-wrap{max-width:640px;margin:24px auto 64px}
.form-card{box-shadow:0 2px 8px rgba(0,0,0,0.04)}

/* 테이블 유틸리티 */
.table-wrapper {
  overflow-x:auto;
}

.table {
  width:100%;
  border-collapse:collapse;
  font-size:14px;
  text-align:center;
}

.table th {
  background:var(--card-bg, #f8fafc);
  padding:16px 20px;
  text-align:center;
  font-weight:600;
  color:#374151;
  border-bottom:1px solid var(--border, #e5e7eb);
}

.table td {
  padding:14px 20px;
  border-bottom:1px solid var(--border, #e5e7eb);
}

.table tr:hover {
  background:var(--card-bg, #f9fafb);
}

.table tr:last-child td {
  border-bottom:none;
}

/* 상태 배지 */
.status-badge {
  font-size:12px;
  font-weight:600;
  padding:6px 12px;
  border-radius:20px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  white-space:nowrap;
  border:1px solid transparent;
  transition:all 0.2s ease;
}

/* 그리드/카드 */
.grid{display:grid;gap:24px}
.grid-4{grid-template-columns:repeat(4, 1fr)}
@media (max-width: 768px){ .grid-4{grid-template-columns:repeat(2, 1fr)} }
@media (max-width: 480px){ .grid-4{grid-template-columns:1fr} }

.card{
  background:var(--card-bg, #fff);border:1px solid var(--border, #e5e7eb);border-radius:var(--radius, 12px);overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease; box-shadow:var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.05));
}
.card .thumb{height:170px;background:#e5e7eb}
.card .body{padding:18px 20px 20px;text-align:center}

/* Card Mobile Responsive */
@media (max-width: 768px){
  .card .thumb{height:140px}
  .card .body{padding:14px 16px 16px}
}

@media (max-width: 480px){
  .card .thumb{height:120px}
  .card .body{padding:12px 14px 14px}
}
.muted{color:#6b7280;font-size:13px}
.price{font-weight:600;color:#111827}
.btn-link{display:inline-block;padding:10px 14px;border-radius:var(--radius);background:#111827;color:#fff;font-size:13px}

/* 배너 */
.hero{position:relative;overflow:hidden;border-radius:0;margin-top:17px;}
.hero-track{display:flex;transition:transform .5s ease}
.hero-slide{flex:0 0 100%}
.hero-slide img{width:100%;height:380px;object-fit:cover;display:block}
.hero-dots{position:absolute;bottom:14px;left:0;right:0;display:flex;gap:10px;justify-content:center}
.hero-dot{width:11px;height:11px;border-radius:0;background:rgba(255,255,255,.7);border:0}
.hero-dot.active{background:#fff;box-shadow:0 0 0 2px rgba(0,0,0,.2) inset}
.hero-nav{position:absolute;top:50%;transform:translateY(-50%);background:rgba(0,0,0,.38);color:#fff;border:0;padding:8px 12px;border-radius:0;cursor:pointer}
.hero-prev{left:12px}.hero-next{right:12px}

/* 공지 리스트 */
.notice-list{background:#fff;border:1px solid #eee;border-radius:0;overflow:hidden;max-width:900px;margin:0 auto}
.notice-list li{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;border-top:1px solid #f1f1f1}
.notice-list li:first-child{border-top:0}

/* ── Footer ───────────────────────────── */
footer{background:#111; color:#ddd; border-top:1px solid #222;}
.foot-grid{
  display:grid;grid-template-columns:repeat(4,1fr);
  gap:28px;padding:var(--footer-py) 0;
}
.foot-box{background:#1a1a1a;border:1px solid #222;border-radius:0;padding:24px;text-align:center}
.foot-box h4{color:#fff;margin:0 0 8px;font-size:18px}
.foot-box p{color:#aaa;margin:0}
.foot-title{font-weight:700;color:#e5e5e5;margin:24px 0 10px}
.foot-links{display:flex;flex-direction:column;gap:8px}
.copy{border-top:1px solid #222;padding:var(--copy-py) 0;text-align:center;color:#9ca3af;font-size:14px}

/* ===== Sticky Footer Layout ===== */
body {
  overflow-x: hidden;
}

main {
  min-height: calc(100vh - 200px);
}

/* 모바일 메뉴 */
.mobile-menu-btn{
  display:none;
  flex-direction:column;
  gap:4px;
  background:none;
  border:none;
  padding:8px;
  cursor:pointer;
}
.mobile-menu-btn span{
  width:24px;
  height:3px;
  background:#333;
  transition:0.3s;
}

.mobile-menu-overlay{
  display:none;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.5);
  z-index:1000;
}

.mobile-menu-overlay.active{
  display:block;
}

.mobile-menu{
  position:fixed;
  top:0;
  right:-300px;
  width:300px;
  height:100%;
  background:#fff;
  transition:right 0.3s;
  padding:20px;
  box-shadow:-2px 0 10px rgba(0,0,0,0.1);
}

.mobile-menu.active{
  right:0;
}

.mobile-menu-close{
  position:absolute;
  top:15px;
  right:15px;
  background:none;
  border:none;
  font-size:24px;
  cursor:pointer;
}

.mobile-menu-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-bottom:20px;
  border-bottom:1px solid #eee;
}

.mobile-menu-title{
  font-size:18px;
  font-weight:600;
}

.mobile-menu-content{
  margin-top:20px;
}

.mobile-auth-section{
  padding:15px 0;
  border-bottom:1px solid #eee;
}

.mobile-auth-buttons{
  display:flex;
  gap:10px;
}

.mobile-auth-btn{
  flex:1;
  padding:10px;
  text-align:center;
  background:#f8f9fa;
  border:1px solid #ddd;
  border-radius:6px;
  text-decoration:none;
  color:#333;
  font-weight:500;
}

.mobile-user-info{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.mobile-logout-btn{
  background:none;
  border:none;
  color:#666;
  text-decoration:underline;
  cursor:pointer;
}

.mobile-nav-section{
  padding:15px 0;
  border-bottom:1px solid #eee;
}

.mobile-nav-item{
  display:block;
  padding:12px 0;
  color:#333;
  text-decoration:none;
  font-weight:500;
  border-bottom:1px solid #f5f5f5;
}
/* 활성 상태 표시 */
.mobile-nav-item.is-active{color:var(--accent);font-weight:700}

.mobile-util-section{
  padding:15px 0;
}

.mobile-util-item{
  display:block;
  padding:10px 0;
  color:#666;
  text-decoration:none;
  font-size:14px;
}

/* 반응형 */
@media (max-width: 992px){
  :root{--container:1000px}
  .logo{width:clamp(160px, 26vw, 220px);height:auto}
  .site-title{font-size:20px}
  .gnb a{font-size:16px}
}
@media (max-width:768px){
  :root{--container:100%;--xpad:18px;--gnb-h:56px;--top-py:24px}
  
  /* 모바일에서 유틸 메뉴 숨기기 */
  .util{display:none}
  
  /* 모바일 메뉴 버튼 표시 */
  .mobile-menu-btn{display:flex}
  
  .gnb{grid-template-columns:repeat(3, 1fr);height:auto;row-gap:10px;padding:8px 0}
  .gnb a{height:48px;border:1px solid #2a2a2a;border-radius:12px}
  .gnb a::after{display:none}
  .hero-slide img{height:240px}
  .foot-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:560px){
  .foot-grid{grid-template-columns:1fr}
}

/* ===== Boards (Notice + News) ===== */
.boards{
  display:grid; grid-template-columns:1fr 1fr; gap:28px;
}
.board{
  background:#fff; border:1px solid #eee; border-radius:0; overflow:hidden;
}
.board-title{
  font-weight:800; font-size:18px; padding:16px 20px; border-bottom:1px solid #f1f1f1;
}
.board-list{ list-style:none; margin:0; padding:0; }
.board-list li{
  display:flex; justify-content:space-between; align-items:center;
  gap:12px; padding:12px 20px; border-top:1px solid #f6f6f6;
}
.board-list li:first-child{ border-top:0; }
.board-list a{ color:#111827; text-decoration:none; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.board-list .date{ color:#6b7280; font-size:13px; flex:0 0 auto; }
.board-more{ text-align:right; padding:12px 20px; border-top:1px solid #f1f1f1; }
.board-more a{ color:#111827; text-decoration:none; font-size:13px; }

@media (max-width:768px){
  .boards{ grid-template-columns:1fr; }
}

/* ===== Course Detail ===== */
.detail-grid{
  display:grid; grid-template-columns:1.2fr .8fr; gap:28px;
}
.detail-title{font-size:28px; font-weight:800; margin:0 0 10px}
.detail-meta{display:flex; gap:14px; flex-wrap:wrap; color:#6b7280; font-size:14px; margin-bottom:10px}
.badge{background:#eef2ff; color:#3730a3; padding:4px 8px; border-radius:999px; font-weight:600}
.detail-summary{font-size:16px; color:#374151; line-height:1.7}
.detail-actions{display:flex; gap:12px; margin-top:14px}
/* 공용 버튼 규격 */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:var(--btn-h);padding:var(--btn-py) var(--btn-px);font-size:var(--btn-fs);border-radius:var(--radius);cursor:pointer;text-decoration:none;transition:background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease}
.btn:focus-visible{outline:2px solid #11182733; outline-offset:2px}

.btn-primary{background:#111827; color:#fff; padding:var(--btn-py) var(--btn-px); border-radius:var(--radius); font-weight:700; display:inline-flex; align-items:center; justify-content:center; border:none}
.btn-primary:hover{background:#0b1223}

.btn-ghost{background:#fff; border:1px solid #b5b5b5; padding:var(--btn-py) var(--btn-px); border-radius:var(--radius); color:#111827; display:inline-flex; align-items:center; justify-content:center}
.btn-ghost:hover{border-color:#111827}

/* 학습하기 전용: 다크 컬러, 보더 없음 */
.btn-learn{background:#111827; color:#fff; padding:var(--btn-py) var(--btn-px); border-radius:var(--radius); font-weight:700; display:inline-flex; align-items:center; justify-content:center; border:none}
.btn-learn:hover{background:#0b1223}

.tabs{display:flex; gap:8px; border-bottom:1px solid #e5e7eb; margin-bottom:12px}
.tab{border:1px solid #e5e7eb; border-bottom:none; padding:10px 14px; border-top-left-radius:0; border-top-right-radius:0; background:#f9fafb; cursor:pointer; font-weight:600}
.tab.active{background:#fff}
.tab-panels{background:#fff; border:1px solid #e5e7eb; border-radius:0; padding:18px}
.tab-panel{display:none}
.tab-panel.show{display:block}
.panel-title{font-weight:700; margin:0 0 12px}

.bullet{list-style:disc; padding-left:18px}
.kv{list-style:none; padding:0; margin:0}
.kv li{display:flex; gap:10px; padding:8px 0; border-bottom:1px dashed #eee}
.kv li span{color:#6b7280; width:100px; flex:0 0 auto}
.kv li b{color:#111827; font-weight:600}

.faq details{border:1px solid #eee; border-radius:0; padding:12px 14px; margin-bottom:10px; background:#fff}
.faq summary{cursor:pointer; font-weight:600}
.faq .answer{color:#374151; margin-top:8px}

/* 반응형 */
@media (max-width: 992px){
  .detail-grid{grid-template-columns:1fr; gap:18px}
}

/* ===== Apply List (filters + pagination) ===== */
.filter-bar{background:#fff;border:1px solid #eee;border-radius:var(--radius);padding:16px}
.filter-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.filter-meta{margin-top:10px;color:#6b7280;font-size:14px}
.input,.select{
  border:1px solid #e5e7eb;border-radius:0;padding:10px 12px;background:#fff;min-width:160px;
}
.input{flex:1 1 220px}
.select{flex:0 0 auto}
.empty{background:#fff;border:1px dashed #e5e7eb;border-radius:0;padding:28px;text-align:center;color:#6b7280}

.pagination{display:flex; gap:6px; align-items:center; justify-content:center}
.pagination .page{display:inline-block; padding:6px 10px; border:1px solid #d1d5db; border-radius:6px}
.pagination .page:focus-visible{outline:2px solid #0d63b6; outline-offset:2px}
.pagination .page.meta[aria-current="page"],
.pagination .page[aria-current="page"]{background:#0d63b6; color:#fff; border-color:#0d63b6}
.pagination .page.disabled,[aria-disabled="true"]{opacity:.45; cursor:default}
.pagination{display:flex;gap:10px;justify-content:center;align-items:center;margin-top:24px}

/* Filter Bar Mobile Responsive */
@media (max-width: 768px){
  .filter-bar{
    padding:12px;
  }
  
  .filter-row{
    gap:8px;
  }
  
  .input, .select{
    min-width:140px;
    padding:8px 10px;
    font-size:14px;
  }
  
  .input{
    flex:1 1 180px;
  }
}

@media (max-width: 480px){
  .filter-bar{
    padding:12px 8px;
  }
  
  .filter-row{
    flex-direction:column;
    gap:12px;
    align-items:stretch;
  }
  
  .input, .select{
    width:100%;
    min-width:auto;
    padding:12px 14px;
    font-size:16px; /* iOS zoom 방지 */
  }
  
  .input{
    flex:1;
  }
  
  .price-filter{
    display:flex;
    align-items:center;
    gap:8px;
    width:100%;
  }
  
  .price-filter input{
    flex:1;
    width:auto !important;
    min-width:0;
  }
  
  .price-filter span{
    white-space:nowrap;
  }
}
.page{display:inline-flex;align-items:center;justify-content:center;min-width:64px;height:38px;padding:0 12px;border:1px solid #e5e7eb;border-radius:0;background:#fff}
.page.disabled{opacity:.5;pointer-events:none}
.page.meta{border:none;background:transparent;min-width:auto}

/* ===== Forms / Terms ===== */
.form{background:#fff;border:1px solid #eee;border-radius:var(--radius);padding:18px}
.field{margin-bottom:14px}
.label{display:block;font-weight:700;margin-bottom:8px}
.input{
  width:100%;padding:10px 12px;border:1px solid #e5e7eb;border-radius:0;background:#fff
}
.checkbox{display:inline-flex;align-items:center;gap:8px;user-select:none}
.error{color:#dc2626;font-size:13px;margin-top:6px}
.alert{background:#fef3c7;border:1px solid #fde68a;color:#92400e;padding:10px 12px;border-radius:0;margin-bottom:12px}
.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:10px}

.terms-box{
  border:1px solid #e5e7eb;border-radius:0;background:#fafafa;height:160px;overflow:auto;
  padding:12px;margin-bottom:8px
}

/* 접근성 향상 */
.input:focus, .select:focus, .checkbox input:focus, .btn-primary:focus, .btn-ghost:focus, .btn:focus{
  outline:2px solid #11182722; outline-offset:2px;
}
a:focus-visible, button:focus-visible, .gnb a:focus-visible, .mobile-nav-item:focus-visible{
  outline:2px solid #11182733; outline-offset:2px;
}
.skip-link{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  position:fixed; left:16px; top:12px; width:auto; height:auto; padding:10px 14px;
  background:#111827; color:#fff; z-index:2000; border-radius:6px; outline:none;
}

/* ===== Register Form - Wide / Comfortable ===== */
.form-wrap--wide { max-width: 1040px; }              /* 컨테이너 폭 넓힘 */

.form-lg { padding: 24px 24px 80px; }                /* 아래쪽 넉넉하게 (고정 버튼 공간) */
.input-lg { padding: 14px 16px; font-size: 16.5px; } /* 입력창 크게 */

.btn-lg { padding: 12px 18px; font-size: 16.5px; border-radius: 0; }
.actions--sticky{
  display:flex; justify-content:flex-end; gap:10px; 
  position: sticky; bottom: 0; background: #fff; 
  padding-top: 14px; margin-top: 18px; border-top: 1px solid #eee;
}

/* 2단 레이아웃 */
.form-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; }
.form-help .help-card{
  border:1px solid #eee; border-radius:0; background:#fafafa; padding:16px;
}
.help-title{ font-weight:700; margin-bottom:8px; }
.help-list{ margin:0; padding-left:18px; color:#4b5563; }
.help-list li{ margin:6px 0; }

/* 인풋 + 버튼(보기/숨기기) 그룹 */
.input-group{ position:relative; }
.input-group .btn-eye{
  position:absolute; top:50%; right:10px; transform:translateY(-50%);
  border:1px solid #e5e7eb; background:#fff; border-radius:0; padding:6px 10px; font-size:13px; cursor:pointer;
}

/* 반응형 */
@media (max-width: 992px){
  .form-grid{ grid-template-columns: 1fr; }
  .form-lg{ padding: 18px 16px 72px; }
}

/* About page styles (migrated from views/about/index.blade.php) */
.about-grid{display:grid;grid-template-columns:176px 1fr;gap:24px;align-items:start}
/* 모든 about 페이지 단일 컬럼 레이아웃 */
.about-wrap .about-grid{grid-template-columns:1fr}
.about-wrap .about-quick{display:none}
/* 모든 about 페이지 컨텐츠 중앙 정렬 및 너비 고정 */
.about-wrap .about-content{
  width:100%;
  max-width:1248px;
  margin:0 auto;
}
.about-sidenav{position:static;top:auto;border-right:1px solid #e5e7eb;padding-right:16px}
.sn-toggle{display:none}
.sn-item{display:block;padding:10px 4px;border-bottom:1px dashed #eee;color:#374151;font-size:14px}
.sn-item.is-active{font-weight:700;color:#0d63b6}
.sn-item.depth2{padding-left:12px;color:#6b7280}

/* organization page: give chart more room by removing the right column */
.about-org-page .about-grid{grid-template-columns:1fr}
.about-org-page .about-quick{display:none}

.about-org-page .about-content{width:100%;max-width:1248px}
/* 모든 about 페이지 사이드 메뉴 중앙 정렬 */
.about-wrap .about-sidenav{
  border-right:0;
  padding-right:0;
  margin-bottom:32px;
  margin-top:40px;
}
.about-wrap .about-sidenav nav{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}
.about-wrap .sn-item{
  border-bottom:0;
  background:linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border:1px solid #e2e8f0;
  border-radius:10px;
  padding:12px 24px;
  font-size:14px;
  font-weight:600;
  color:#374151;
  transition:all 0.3s ease;
  cursor:pointer;
  text-decoration:none;
  display:inline-block;
  box-shadow:0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  position:relative;
  overflow:hidden;
}
.about-wrap .sn-item::before{
  content:'';
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition:left 0.5s;
}
.about-wrap .sn-item:hover::before{
  left:100%;
}
.about-wrap .sn-item:hover{
  background:linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-color:#3b82f6;
  color:#1e40af;
  transform:translateY(-2px);
  box-shadow:0 4px 12px rgba(59,130,246,0.15), 0 2px 4px rgba(0,0,0,0.1);
}
.about-wrap .sn-item.is-active{
  background:linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  border-color:#5b21b6;
  color:#ffffff;
  font-weight:700;
  box-shadow:0 4px 12px rgba(124,58,237,0.4), 0 2px 4px rgba(0,0,0,0.1);
  transform:scale(1.05);
}
.about-wrap .sn-item.is-active::after{
  content:'';
  position:absolute;
  bottom:0;
  left:50%;
  transform:translateX(-50%);
  width:30px;
  height:3px;
  background:#ffffff;
  border-radius:2px;
}
/* 조직도 페이지 제목 중앙 정렬 (데스크톱) */
@media (min-width: 993px) {
  .about-wrap.about-org-page .section-title {
    margin-left: 0;
    text-align: center !important;
  }
}
/* 모바일에서는 중앙 정렬 유지 */
@media (max-width: 992px) {
  .about-wrap.about-org-page .section-title {
    text-align: center !important;
    margin-left: 0;
  }
}

.about-content{position:relative;min-height:600px;width:900px;max-width:100%;line-height:36px;min-width:0}
.about-header{border-bottom:1px solid #e5e7eb;padding-bottom:14px;margin-bottom:18px}
.about-title{font-size:var(--step-3); line-height:var(--lh-tight);}
.about-sub{color:#6b7280;margin-top:6px}
.about-section{margin:53px 30px}
.about-h3{font-size:var(--step-2); line-height:var(--lh-normal); margin-bottom:10px}
.about-signature{margin-top:28px;margin-bottom:110px}
.about-signature-org{font-weight:800;font-size:20px;text-align:left}
.about-signature-name{font-weight:700;font-size:22px;text-align:left}
.about-image{margin:22px 0 0 0}
.about-image img{display:block;max-width:100%;height:auto;border-radius:12px;border:1px solid #e5e7eb}
.about-timeline{list-style:none;margin:0;padding:0;border-left:2px solid #e5e7eb;padding-left:16px}
.about-timeline li{margin:10px 0;color:#374151}
.about-timeline .yr{display:inline-block;width:48px;font-weight:700;color:#111827}

/* KPMA organization chart (about/organization) */
.kpma-org-scroll-wrapper{overflow-x:visible;padding:10px 6px 0}
.kpma-org-tree{min-width:0;--kpma-conn-h:18px;--kpma-level-gap:18px}
.kpma-org-tree ul{list-style:none;margin:0;padding:0}
.kpma-org-tree > ul,
.kpma-org-tree li > ul{display:flex;justify-content:center;gap:0;position:relative}
.kpma-org-tree > ul{position:relative}
.kpma-org-tree li{position:relative;display:flex;flex-direction:column;align-items:center;padding:var(--kpma-level-gap) 8px 0 8px}
.kpma-org-tree li.has-child>ul{margin-top:var(--kpma-level-gap)}

/* vertical chain spacing (총회 → 이사장 → 사무국장) */
.kpma-org-tree > ul > li{gap:14px}

/* connectors (reference-style) */


/* system section */
.kpma-org-system-section{margin-top:22px}
.kpma-section-title{display:flex;align-items:center;justify-content:center;gap:10px;margin:70px 0 14px;color:#0f2a5f;font-weight:800}
.kpma-title-number{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:999px;background:#e8f1ff;border:1px solid #cfe0ff;font-size:14px}
.kpma-title-text{font-size:16px}
.kpma-system-boxes{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.kpma-system-box{border:1px solid #cfe0ff;background:#f6faff;border-radius:12px;padding:14px}
.kpma-box-header{display:flex;flex-direction:column;gap:4px;align-items:center;padding:10px 8px 12px;border-bottom:1px solid #cfe0ff}
.kpma-box-header span{font-size:12px;color:#6b7280}
.kpma-box-header strong{font-size:14px;color:#0f2a5f}
.kpma-box-content{padding:12px 10px}
.kpma-box-content ul{margin:0;padding:0;list-style:none}
.kpma-box-content li{font-size:13px;line-height:1.55;color:#111827;margin:6px 0}
.kpma-box-content li strong{color:#0f2a5f}

/* Responsive */
@media (max-width: 992px){
  .about-grid{grid-template-columns:150px 1fr;gap:20px}
  .about-org-page .about-grid{grid-template-columns:1fr}
  .about-content{width:100%}
  .about-title{font-size:var(--step-2)}
  .about-section{margin:40px 24px}
}
@media (max-width:768px){
  .about-wrap{margin:24px 16px !important}
  .about-grid{grid-template-columns:1fr;gap:16px}
  .about-org-page .about-grid{grid-template-columns:1fr}
  .about-sidenav{border-right:0;padding-right:0;display:block;padding:0;margin:0 0 12px 0;width:100%}
  /* 아코디언 토글 버튼 */
  .sn-toggle{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:linear-gradient(135deg,#7c3aed,#6d28d9);border:none;border-radius:10px;font-size:14px;font-weight:600;color:#fff;cursor:pointer;width:100%;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
  .sn-toggle svg{transition:transform .3s ease;flex-shrink:0}
  .about-sidenav.is-open .sn-toggle svg{transform:rotate(180deg)}
  /* 네비 목록: 기본 숨김 */
  .about-sidenav nav{display:none;flex-direction:column;gap:0;margin-top:8px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden;width:100%;box-sizing:border-box}
  .about-sidenav.is-open nav{display:flex}
  .sn-item{border-bottom:1px solid #f3f4f6;padding:12px 16px;font-size:14px;color:#374151;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:background .15s}
  .sn-item:last-child{border-bottom:0}
  .sn-item.is-active{background:#eff6ff;color:#1e40af;font-weight:700;border-left:3px solid #6d28d9}
  .sn-item:hover{background:#f8fafc}
  .sn-item.depth2{padding-left:24px;font-size:13px;color:#6b7280}
  .about-wrap .about-sidenav{margin-top:0;margin-bottom:12px}
  .about-wrap .sn-item{background:transparent;border:none;border-bottom:1px solid #f3f4f6;border-radius:0;padding:12px 16px;font-size:14px;font-weight:500;color:#374151;box-shadow:none;transform:none;display:block}
  .about-wrap .sn-item:last-child{border-bottom:0}
  .about-wrap .sn-item:hover{transform:none;box-shadow:none;background:#f8fafc;border-color:#f3f4f6;color:#1f2937}
  .about-wrap .sn-item.is-active{background:#eff6ff;border-color:#f3f4f6;border-left:3px solid #6d28d9;color:#1e40af;font-weight:700;box-shadow:none;transform:none}
  .about-wrap .sn-item.is-active::after{display:none}
  .about-wrap .sn-item::before{display:none}
  .about-content{width:100%;min-width:auto;line-height:28px}
  .about-section{margin:24px 4px}
  .about-title{font-size:var(--step-1)}
  .about-h3{font-size:var(--step-0)}

  .kpma-org-tree{min-width:720px}
  .kpma-system-boxes{grid-template-columns:1fr}
}

@media (min-width: 992px){
  .kpma-org-tree{transform:scale(.90);transform-origin:top center}

  .kpma-org-bg-light-blue{width:clamp(200px, 19vw, 230px);min-width:clamp(200px, 19vw, 230px)}
  .kpma-org-bg-white{width:clamp(200px, 19vw, 230px);min-width:clamp(200px, 19vw, 230px)}

  .kpma-org-level-3{gap:14px}
  .kpma-org-level-3>li>.kpma-org-card{min-width:clamp(200px, 19vw, 230px)}
  .kpma-org-level-3>li>ul>li>.kpma-org-card{min-width:clamp(200px, 19vw, 230px)}

  .kpma-org-tree li{padding-left:6px;padding-right:6px}
}

@media (max-width: 992px){
  .kpma-org-scroll-wrapper{overflow-x:auto}
}

/*
  조직도 리뉴얼 스타트
*/
/* =========================
   Layout
========================= */
.org-wrap{
  padding: 48px 16px 64px;
  background: #ffffff;
}
.org-chart{
  max-width: 1180px;
  margin: 0 auto;
}

/* 3열은 grid로 고정(분기점이 정확히 16.666/50/83.333에 고정됨) */
.org-grid{
  display: grid;
  gap: 28px;
  align-items: start;
}
.org-grid--three{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* =========================
   Nodes (파란 박스)
========================= */
.org-node{
  justify-self: center;
  width: 240px;
  height: 62px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 14px;
  color:#fff;
  font-weight:800;
  letter-spacing:-0.2px;
  background: linear-gradient(180deg,#1847d3,#1237b2);
  box-shadow: 0 18px 35px rgba(0,0,0,.14);
  position: relative;
  z-index: 5;
}

/* 총회/사무국장 단독 레벨 정렬 */
.org-level{
  display:flex;
  justify-content:center;
  position: relative;
}
.org-level-1{ margin-top: 10px; }
.org-level-3{ margin-top: 8px; }

/* =========================
   Branch lines (라인 전용 레이어)
   - 여기만 손대면 선 문제 100% 제어됨
========================= */
.org-branch-row{
  position: relative;
  width: 100%;
  max-width: 980px;    /* 선이 너무 길게 깔리는 느낌 방지 */
  margin: 18px auto;   /* 위아래 간격 */
  height: 26px;
}

.branch-h{
  position:absolute;
  top: 12px;
  left: 16.666%;
  right: 16.666%;
  height: 2px;
  background: #d7d7d7;
  border-radius: 999px;
  z-index: 1;
}

.branch-v{
  position:absolute;
  width: 2px;
  background: #d7d7d7;
  border-radius: 999px;
  z-index: 1;
}

/* 중앙(분기 기준점) */
.branch-v--center{
  left: 50%;
  margin-left: -1px;
  top: 12px;
  height: 14px; /* 아래로 떨어지는 길이 */
}

/* 좌/우 분기 */
.branch-v--left{
  left: 16.666%;
  margin-left: -1px;
  top: 12px;
  height: 14px;
}
.branch-v--right{
  left: 83.333%;
  margin-left: -1px;
  top: 12px;
  height: 14px;
}

/* 위에서 내려오는 세로선(총회/사무국장 박스 아래에서 분기선까지) */
.branch-v--up{
  left: 50%;
  margin-left: -1px;
  top: 0;
  height: 12px;
}

/* 이사장 -> 사무국장 사이(세로선만 있는 구간) */
.org-branch-row--mid{
  margin: 10px auto 10px;
  height: 20px;
  max-width: 1180px;
}
.branch-v--only-center{
  left: 50%;
  margin-left: -1px;
  top: 0;
  height: 20px;
}

/* =========================
   Dept Head + Cards (두번째 캡쳐 스타일)
========================= */
.org-dept{
  display:flex;
  flex-direction:column;
  gap: 14px;
  align-items:center;
}

.org-dept__head{
  width: 100%;
  max-width: 340px;
  height: 62px;
  padding: 0 18px;
  border-radius: 14px;
  background: #eaf2ff;
  border: 1px solid #cfe0ff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  box-shadow: 0 12px 26px rgba(0,0,0,.10);
  position: relative;
  z-index: 5;
}
.org-dept__title{
  font-weight: 900;
  color: #1f3fb8;
  letter-spacing: -0.2px;
}
.org-dept__icon{
  font-size: 18px;
  opacity: .9;
}

.org-card{
  width: 100%;
  max-width: 340px;
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 14px;
  box-shadow: 0 18px 34px rgba(0,0,0,.12);
  padding: 18px 20px 16px;
  position: relative;
  z-index: 5;
}
.org-card__title{
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.2px;
  margin: 0;
  padding: 0 0 14px 0;
  border-bottom: 1px solid #eef1f6;
}

.org-card__list{
  list-style: none;
  margin: 12px 0 0 0;
  padding: 0;
  color: #374151;
  line-height: 1.75;
}
.org-card__list li{
  position: relative;
  padding-left: 14px;
  margin: 6px 0;
  font-weight: 600;
}
.org-card__list li::before{
  content:"";
  position:absolute;
  left:0;
  top:0.9em;
  width:4px;
  height:4px;
  border-radius:50%;
  background:#111827;
  transform: translateY(-50%);
}

/* =========================
   Responsive
========================= */
@media (max-width: 960px){
  .org-grid--three{
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .org-node{
    width: 100%;
    max-width: 420px;
  }
  .org-branch-row{
    display:none; /* 모바일은 선 제거(원하시면 유지 가능) */
  }
  .org-dept__head,
  .org-card{
    max-width: 420px;
  }
}
/*
  조직도 리뉴얼 끝
*/

/* Quick Menu component (moved from components/quick-menu.blade.php) */
.about-quick{z-index:20; position:sticky; top:96px; grid-column:3; grid-row:1; align-self:start}
.about-quick .qk-box{background:#ffffff;border:1px solid #e5e7eb;border-radius:12px;padding:14px;box-shadow:0 8px 24px rgba(16,24,40,0.06)}
.about-quick .qk-title{font-weight:800;letter-spacing:.08em;font-size:12px;color:#6b7280;margin-bottom:8px}
.about-quick .qk-item{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #eef0f3;background:#fff;border-radius:8px;padding:10px 12px;margin-top:8px;color:#111827;text-decoration:none;transition:background .15s ease,border-color .15s ease,transform .15s ease}
.about-quick .qk-item::after{content:'\203A'; color:#9ca3af; font-size:18px; line-height:1;}
.about-quick .qk-item.muted{border-color:#eef0f3;background:#f9fafb;color:#374151;cursor:default}
.about-quick .qk-item.muted::after{content:''}

@media (max-width: 1180px){
  .about-quick{display:none}
}

/* Optional utilities (non-destructive) */
.h1{ font-size: var(--step-4); line-height: var(--lh-tight); }
.h2{ font-size: var(--step-3); line-height: var(--lh-tight); }
.h3{ font-size: var(--step-2); line-height: var(--lh-normal); }
.text-sm{ font-size: var(--step--1); line-height: var(--lh-normal); }

/* 헤더-본문 구분선 (보다 명확한 라인) */
.header-divider{border-top:1px solid var(--line)}

@media (max-width: 768px){
  :root{
    /* mobile ratio 1.2 */
    --step-1: calc(var(--font-base) * 1.2);
    --step-2: calc(var(--font-base) * 1.2 * 1.2);
    --step-3: calc(var(--font-base) * 1.2 * 1.2 * 1.2);
    --step-4: calc(var(--font-base) * 1.2 * 1.2 * 1.2 * 1.2);
  }
}

/* 모션 민감 사용자 배려 */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important }
  .hero-track{ transition:none !important }
  .gnb a::after{ transition:none !important }
  .card{ transition:none !important }
  .mobile-menu{ transition:none !important }
}

/* ===== Post Detail (Notice/News) ===== */
.post-wrap{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px;align-items:start}
.post-content{font-size:18px;line-height:1.8;color:#111827}
.post-content h2{font-size:24px;margin:18px 0 10px}
.post-content h3{font-size:20px;margin:14px 0 8px}
.post-content img{max-width:100%;height:auto;display:block;margin:10px 0}
.post-content blockquote{margin:14px 0;padding:10px 14px;border-left:4px solid #e5e7eb;background:#f9fafb}

.post-nav{display:flex;justify-content:space-between;margin-top:20px;margin-bottom:8px;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:12px 14px}
.post-nav .group{display:flex;gap:8px;flex-wrap:wrap}
.post-nav a{font-weight:700;color:#111827;border:none}

/* Quick Cart (sticky) */
.quick-cart{position:sticky;top:100px;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:14px;box-shadow:0 8px 24px rgba(16,24,40,.06)}
.quick-cart .qk-title{font-weight:800;letter-spacing:.02em;color:#6b7280;margin:0 0 8px}
.quick-cart .qk-count{font-weight:700;margin:6px 0 10px}
.quick-cart .qk-actions{display:flex;flex-direction:column;gap:8px}

@media (max-width: 980px){
  .post-wrap{grid-template-columns:1fr}
  .quick-cart{position:static}
}

/* Page-specific override: news/notice list & view */
.post-wrap--slim .post-wrap{grid-template-columns:minmax(0,1fr);gap:10px}

/* ===== Quick Section (Home) ===== */
.quick-section{
  display:grid;
  grid-template-columns:1fr 320px;
  gap:32px;
  align-items:start;
}

.quick-actions{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
}

.quick-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:20px 16px;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:12px;
  text-decoration:none;
  color:#374151;
  transition:all 0.2s ease;
}

.quick-item:hover{
  border-color:#3b82f6;
  transform:translateY(-2px);
  box-shadow:0 4px 12px rgba(59,130,246,0.15);
}

.qi-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:60px;
  height:60px;
  border-radius:12px;
  margin-bottom:12px;
  color:#b3b6bb;
}

.qi-text{
  font-size:14px;
  font-weight:600;
  text-align:center;
  line-height:1.3;
}

/* Quick Card */
.quick-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:20px;
  box-shadow:0 2px 8px rgba(0,0,0,0.06);
}

.qc-header{
  margin-bottom:16px;
}

.qc-title{
  font-size:16px;
  font-weight:700;
  color:#111827;
}

.qc-form{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.qc-row{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.qc-privacy{
  display:flex;
  align-items:flex-start;
  gap:8px;
  font-size:13px;
  color:#6b7280;
  cursor:pointer;
}

.qc-privacy input[type="checkbox"]{
  margin-top:2px;
  flex-shrink:0;
}

.qc-input{
  padding:10px 12px;
  border:1px solid #d1d5db;
  border-radius:8px;
  font-size:14px;
  transition:border-color 0.2s ease;
}

.qc-input:focus{
  outline:none;
  border-color:#3b82f6;
  box-shadow:0 0 0 3px rgba(59,130,246,0.1);
}

.qc-submit{
  background:#3b82f6;
  color:#fff;
  border:none;
  border-radius:8px;
  padding:12px 20px;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  transition:background-color 0.2s ease;
}

.qc-submit:hover{
  background:#2563eb;
}

.qc-submit:disabled{
  background:#9ca3af;
  cursor:not-allowed;
}

/* Mobile Responsive */
@media (max-width: 768px){
  .quick-section{
    grid-template-columns:1fr;
    gap:24px;
  }
  
  .quick-actions{
    grid-template-columns:repeat(2, 1fr);
    gap:12px;
  }
  
  .quick-item{
    padding:16px 12px;
  }
  
  .qi-icon{
    width:40px;
    height:40px;
  }
  
  .qi-text{
    font-size:13px;
  }
}

@media (max-width: 480px){
  .quick-actions{
    grid-template-columns:1fr;
    gap:12px;
  }
  
  .quick-item{
    flex-direction:row;
    padding:12px 16px;
    text-align:left;
  }
  
  .qi-icon{
    width:36px;
    height:36px;
    margin-bottom:0;
    margin-right:12px;
  }
  
  .quick-card{
    padding:16px;
  }
}

/* ===== Mypage Forms Mobile ===== */
@media (max-width: 480px){
  .form-lg{
    max-width:100% !important;
    padding:0 4px;
  }
  
  .field{
    margin-bottom:20px;
  }
  
  .label{
    font-size:14px;
    margin-bottom:6px;
  }
  
  .input{
    padding:12px 14px;
    font-size:16px; /* iOS zoom 방지 */
  }
  
  .actions{
    flex-direction:column;
    gap:12px;
  }
  
  .actions button,
  .actions a{
    width:100%;
    justify-content:center;
    padding:14px 20px;
    font-size:16px;
  }
  
  /* 전화번호 인증 모바일 최적화 */
  .field[style*="display:flex"]{
    flex-direction:column !important;
    gap:12px !important;
  }
  
  .field button{
    width:100%;
    flex:1 !important;
  }
  
  #phoneVerificationSection{
    margin-top:12px !important;
  }
  
  #phoneVerificationSection > div[style*="display:flex"]{
    flex-direction:column !important;
    gap:8px !important;
  }
  
  #smsCode{
    padding:14px;
    font-size:16px;
  }
  
  #verifySmsBtn{
    padding:14px 20px;
    font-size:16px;
  }
}

/* ===== Loading States ===== */
.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Button loading states */
.btn-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.btn-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid currentColor;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

/* Form loading overlay */
.form-loading {
  position: relative;
}

.form-loading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  z-index: 10;
}

.form-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  border: 3px solid #3b82f6;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
  z-index: 11;
}

/* Page loading spinner */
.page-loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.page-loading::after {
  content: '';
  width: 40px;
  height: 40px;
  border: 4px solid #3b82f6;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

/* Inline loading for small elements */
.inline-loading {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}

/* ===== Form Validation ===== */
.field-error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

.field-success {
  border-color: #059669 !important;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1) !important;
}

.error-message {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #dc2626;
  font-size: 13px;
  margin-top: 4px;
  line-height: 1.4;
}

.error-message::before {
  content: '⚠';
  font-size: 14px;
  flex-shrink: 0;
}

.success-message {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #059669;
  font-size: 13px;
  margin-top: 4px;
  line-height: 1.4;
}

.success-message::before {
  content: '✓';
  font-size: 14px;
  flex-shrink: 0;
}

.field-wrapper {
  position: relative;
}

.field-wrapper .validation-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.field-wrapper .validation-icon.error {
  background: #dc2626;
  color: white;
}

.field-wrapper .validation-icon.success {
  background: #059669;
  color: white;
}

.field-wrapper.has-icon .input {
  padding-right: 40px;
}

/* Password strength indicator */
.password-strength {
  margin-top: 8px;
}

.password-strength-bar {
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 4px;
}

.password-strength-fill {
  height: 100%;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.password-strength-fill.weak {
  width: 33%;
  background: #dc2626;
}

.password-strength-fill.medium {
  width: 66%;
  background: #f59e0b;
}

.password-strength-fill.strong {
  width: 100%;
  background: #059669;
}

.password-strength-text {
  font-size: 12px;
  color: #6b7280;
}

/* Phone number formatting */
.phone-format-hint {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

/* Real-time validation animations */
.field-wrapper {
  transition: all 0.2s ease;
}

.input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input.field-error:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.input.field-success:focus {
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

/* ===== Image Optimization ===== */
/* Lazy loading placeholder */
.lazy-image {
  background: #f3f4f6;
  position: relative;
  overflow: hidden;
}

.lazy-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  100% { left: 100%; }
}

.lazy-image.loaded::before {
  animation: none;
  display: none;
}

/* Responsive images */
.img-responsive {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Image loading states */
.image-loading {
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: #6b7280;
  font-size: 14px;
}

.image-loading::after {
  content: '';
  width: 32px;
  height: 32px;
  border: 3px solid #e5e7eb;
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  position: absolute;
}

.image-error {
  background: #fef2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: #dc2626;
  font-size: 14px;
  border: 1px dashed #fecaca;
}

.image-error::before {
  content: '⚠ 이미지를 불러올 수 없습니다';
  margin-right: 8px;
}

/* Banner optimization */
.banner-mobile img,
.banner-desktop img {
  transition: opacity 0.3s ease;
}

.banner-mobile img.lazy-load,
.banner-desktop img.lazy-load {
  opacity: 0;
}

.banner-mobile img.loaded,
.banner-desktop img.loaded {
  opacity: 1;
}

/* Thumbnail optimization */
.thumb img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.card:hover .thumb img {
  transform: scale(1.05);
}

/* Picture element responsive */
picture {
  display: block;
  width: 100%;
}

picture img {
  width: 100%;
  height: auto;
  display: block;
}

/* WebP support with fallback */
.webp-support .webp-image {
  display: block;
}

.no-webp .webp-image {
  display: none;
}

.webp-support .fallback-image {
  display: none;
}

.no-webp .fallback-image {
  display: block;
}

/* Image compression indicator */
.img-compressed {
  position: relative;
}

.img-compressed::after {
  content: 'optimized';
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(5, 150, 105, 0.9);
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.img-compressed:hover::after {
  opacity: 1;
}

/* Progressive image loading */
.progressive-image {
  position: relative;
  overflow: hidden;
}

.progressive-image .placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: blur(10px);
  transform: scale(1.1);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.progressive-image .full-image {
  position: relative;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.progressive-image.loaded .placeholder {
  opacity: 0;
  transform: scale(1);
}

.progressive-image.loaded .full-image {
  opacity: 1;
}

/* ===== Profile Edit Page Design ===== */
.profile-edit-container {
  background: #f8fafc;
  position: relative;
}

.profile-header {
  position: relative;
  z-index: 1;
}

.profile-avatar {
  background: white;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.profile-avatar:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.profile-form {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  position: relative;
  z-index: 1;
  backdrop-filter: blur(10px);
}

.profile-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #4f46e5;
  border-radius: 20px 20px 0 0;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f3f4f6;
  transition: border-color 0.3s ease;
}

.section-header:hover {
  border-bottom-color: #e5e7eb;
}

.input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: white;
}

.input:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
  transform: translateY(-1px);
}

.input:hover {
  border-color: #d1d5db;
}

.btn-sms {
  background: #4f46e5;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.2);
}

.btn-sms:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
}

.btn-sms:active {
  transform: translateY(0);
}

.btn-verify {
  background: #10b981;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.btn-verify:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.btn-address-search {
  background: #f3f4f6;
  color: #374151;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-address-search:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
  transform: translateY(-1px);
}

.verification-box {
  background: #f8fafc;
  border: 2px dashed #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
}

.verification-box:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
}

.verification-icon {
  width: 32px;
  height: 32px;
  background: #4f46e5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
}

.btn-cancel {
  background: #f3f4f6;
  color: #6b7280;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cancel:hover {
  background: #e5e7eb;
  color: #4b5563;
  transform: translateY(-1px);
}

.btn-submit {
  background: #4f46e5;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(79, 70, 229, 0.4);
}

.btn-submit:active {
  transform: translateY(0);
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  padding: 16px 20px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  animation: slideInDown 0.3s ease;
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  padding: 16px 20px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  animation: slideInDown 0.3s ease;
}

.error-message {
  color: #ef4444;
  font-size: 12px;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  animation: fadeIn 0.3s ease;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Mobile Responsive for Profile Edit */
@media (max-width: 768px) {
  .profile-edit-container {
    padding: 20px 16px 40px;
  }
  
  .profile-form {
    padding: 24px;
    border-radius: 16px;
  }
  
  .profile-header h1 {
    font-size: 24px;
  }
  
  .phone-input-group,
  .address-input-group,
  .verification-input-group {
    flex-direction: column;
    gap: 12px;
  }
  
  .btn-sms,
  .btn-verify,
  .btn-address-search {
    width: 100%;
    justify-content: center;
  }
  
  .form-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .btn-cancel,
  .btn-submit {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .profile-form {
    padding: 20px;
    border-radius: 12px;
  }
  
  .section-header {
    margin-bottom: 16px;
  }
  
  .field {
    margin-bottom: 20px;
  }
}

/* ===== Profile View Page Design ===== */
.profile-view-container {
  background: #f8fafc;
  position: relative;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  max-width: 500px;
  margin: 0 auto;
}

.btn-login {
  display: inline-block;
  padding: 12px 24px;
  background: #4f46e5;
  color: white;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.2);
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
}

.profile-info-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  position: relative;
}

.user-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid #f3f4f6;
}

.user-avatar {
  width: 64px;
  height: 64px;
  background: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 600;
  color: #4f46e5;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.user-avatar:hover {
  transform: scale(1.05);
}

.info-group {
  margin-bottom: 32px;
}

.group-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.info-grid {
  display: grid;
  gap: 16px;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: #f8fafc;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.info-item:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
}

.info-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
}

.info-value {
  color: #1f2937;
  font-size: 14px;
  font-weight: 500;
}

.profile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #f3f4f6;
}

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: #4f46e5;
  color: white;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
}

.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: #f3f4f6;
  color: #374151;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-secondary:hover {
  background: #e5e7eb;
  transform: translateY(-1px);
}

.help-card,
.quick-menu-card {
  background: white;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.help-header,
.menu-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.help-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.help-list li {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 10px;
  text-decoration: none;
  color: #374151;
  font-size: 14px;
  transition: all 0.3s ease;
}

.menu-item:hover {
  background: #e5e7eb;
  color: #1f2937;
  transform: translateX(4px);
}

/* Mobile Responsive for Profile View */
@media (max-width: 1024px) {
  .profile-content {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  .sidebar-card {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .profile-view-container {
    padding: 20px 16px 40px;
  }
  
  .profile-info-card {
    padding: 24px;
    border-radius: 16px;
  }
  
  .user-header {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .profile-actions {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .sidebar-card {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  .help-card,
  .quick-menu-card {
    padding: 24px;
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .profile-info-card,
  .help-card,
  .quick-menu-card {
    padding: 20px;
    border-radius: 12px;
  }
  
  .info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .info-value {
    text-align: left;
    max-width: 100%;
  }
}

.landing-page{max-width:980px;margin:0 auto;padding:24px 0 140px}
.landing-hero{background:linear-gradient(135deg,#0f172a 0%, #1f2937 70%);border-radius:16px;overflow:hidden}
.landing-hero-inner{display:grid;grid-template-columns:1.2fr .8fr;gap:24px;align-items:center;padding:28px}
.landing-title{color:#fff;margin:0 0 10px;font-size:32px;letter-spacing:-0.5px}
.landing-subtitle{color:rgba(255,255,255,0.85);margin:0 0 18px;line-height:1.6}
.landing-cta{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.landing-cta-btn{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 16px;border-radius:12px;background:#f8b803;color:#111827;font-weight:800}
.landing-cta-sub{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 14px;border-radius:12px;border:1px solid rgba(255,255,255,0.35);color:#fff}
.landing-hero-media{display:flex;align-items:center;justify-content:center}
.landing-hero-media img{max-width:220px;width:100%;height:auto;filter:drop-shadow(0 18px 28px rgba(0,0,0,0.35))}

.landing-section{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}
.landing-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:20px;box-shadow:0 8px 24px rgba(0,0,0,0.06)}
.landing-card-title{margin:0 0 8px;font-size:18px}
.landing-card-desc{margin:0;color:#6b7280;line-height:1.6}
.landing-link-btn{margin-top:10px;background:none;border:0;color:#111827;text-decoration:underline;cursor:pointer;padding:0}

.bottom-bar{position:fixed;left:0;right:0;bottom:0;z-index:9998;background:rgba(15,23,42,0.92);backdrop-filter:saturate(180%) blur(10px);border-top:1px solid rgba(255,255,255,0.12)}
.bar-inner{position:relative;max-width:1100px;margin:0 auto;padding:12px 16px 6px}
.sticky-form{display:grid;grid-template-columns:1fr;grid-template-rows:auto auto;align-items:stretch;margin-bottom:0px;}
.form-fields{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;align-items:stretch}
.sticky-form input,.sticky-form select{height:40px;border-radius:10px;border:1px solid rgba(255,255,255,0.16);background:rgba(255,255,255,0.98);padding:0 12px;outline:none;font-size:14px;font-weight:700;letter-spacing:-0.2px;box-shadow:0 8px 18px rgba(0,0,0,0.1)}
.sticky-form input::placeholder{color:#6b7280;font-weight:700}
.sticky-form input:focus{border-color:rgba(248,184,3,0.95);box-shadow:0 0 0 3px rgba(248,184,3,0.22), 0 8px 18px rgba(0,0,0,0.1)}
.agree{display:flex;gap:8px;align-items:center;color:#fff;font-size:12px;line-height:1.2;white-space:nowrap;opacity:0.95}
.agree-row{grid-column:1 / -1;grid-row:3}
.agree a{color:#f8b803;text-decoration:underline}
.bar-btn{height:40px;border-radius:10px;border:0;background:linear-gradient(135deg,#5b21b6 0%, #7c3aed 55%, #4f46e5 100%);color:#fff;font-weight:900;padding:0 18px;cursor:pointer;white-space:nowrap;letter-spacing:-0.2px;box-shadow:0 10px 22px rgba(76,29,149,0.32);display:flex;align-items:center;justify-content:center;font-size:14px}
.bar-btn:hover{filter:brightness(1.06)}
.bar-btn:active{transform:translateY(1px)}
.bar-btn:disabled{opacity:0.65;cursor:not-allowed;filter:saturate(0.9);box-shadow:none}

.form-toast{position:fixed;z-index:9999;background:rgba(0,0,0,0.85);color:#fff;border-radius:10px;padding:8px 14px;font-size:13px;font-weight:700;box-shadow:0 14px 50px rgba(0,0,0,0.35);opacity:0;pointer-events:none;transition:opacity .22s ease, transform .22s ease;white-space:nowrap;transform:translateY(4px)}
.form-toast::after{content:'';position:absolute;top:100%;left:20px;border:6px solid transparent;border-top-color:rgba(0,0,0,0.85)}
.form-toast.is-show{opacity:1;transform:translateY(0)}
.form-toast.is-hide{opacity:0;transform:translateY(4px)}

.landing-body header,
.landing-body .header-divider,
.landing-body .spacer,
.landing-body .site-footer{display:none !important}
.landing-body main{padding:0 !important;min-height:auto !important}
.landing-body .container{max-width:none !important;padding:0 !important}

.landing-image-only{width:100vw;min-height:100vh;display:flex;align-items:center;justify-content:center;background:#000;padding-bottom:86px}
.landing-main-image{max-width:100%;height:auto;object-fit:contain;display:block}

.pushAlarm{width:100%;max-width:700px;text-align:center;padding:25px 0;color:#fff;background:#111;opacity:0;border-radius:10px;font-weight:500;position:fixed;left:50%;transform:translateX(-50%);bottom:calc(env(safe-area-inset-bottom, 0px) + 88px);display:none;font-size:26px;z-index:9999;margin:55px 0;pointer-events:none;transition:opacity 1.5s ease, transform 1.5s ease}
.pushAlarm .highlight{color:#f8b803;font-weight:800}
.pushAlarm-show{display:block;opacity:1;transform:translate(-50%, 0)}
.pushAlarm-hide{display:block;opacity:0;transform:translate(-50%, 10px)}

.modal[hidden]{display:none !important}
.modal{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,0.62);display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;pointer-events:none;transition:opacity .22s ease}
.modal.is-open{opacity:1;pointer-events:auto}
.modal-dialog{background:#fff;border-radius:18px;max-width:560px;width:100%;padding:22px 22px 18px;position:relative;box-shadow:0 28px 90px rgba(0,0,0,0.35);border:1px solid rgba(17,24,39,0.08);transform:translateY(10px) scale(0.99);transition:transform .22s ease}
.modal.is-open .modal-dialog{transform:translateY(0) scale(1)}
.policy-dialog{max-width:880px}
.modal-close{position:absolute;right:12px;top:12px;border:0;background:rgba(17,24,39,0.06);width:38px;height:38px;border-radius:12px;font-size:22px;line-height:1;cursor:pointer;color:#111827;display:flex;align-items:center;justify-content:center}
.modal-close:hover{background:rgba(17,24,39,0.1)}
.modal-title{margin:6px 44px 6px 0;font-size:24px;letter-spacing:-0.5px;color:#111827}
.modal-desc{margin:0 0 16px;color:#6b7280;line-height:1.55;font-size:14px}
.modal-form .field{display:block;margin:12px 0}
.modal-form .label{display:block;font-weight:700;font-size:13px;margin-bottom:6px;color:#111827}
.modal-form input{width:100%;height:46px;border-radius:14px;border:1px solid #e5e7eb;padding:0 14px;outline:none;background:#fff;font-size:15px}
.modal-form input:focus{border-color:#f8b803;box-shadow:0 0 0 4px rgba(248,184,3,0.18)}
.primary-btn{width:100%;height:48px;border-radius:14px;border:0;background:linear-gradient(135deg,#111827 0%, #0b1220 100%);color:#fff;font-weight:900;cursor:pointer;margin-top:12px;letter-spacing:-0.2px}
.primary-btn:hover{filter:brightness(1.05)}
.primary-btn:active{transform:translateY(1px)}
.primary-btn:disabled{opacity:0.7;cursor:not-allowed;filter:saturate(0.9)}

.policy-body{border:1px solid #e5e7eb;border-radius:12px;overflow:auto;max-height:calc(100vh - 220px);padding:14px;line-height:1.7;color:#111827;background:#fff}
.policy-body ul{padding-left:20px}
.policy-loading{color:#6b7280;font-size:14px;padding:10px 0}

@media (max-width: 860px){
  .form-fields{grid-template-columns:1fr 1fr auto;gap:6px}
  .bar-btn{height:40px;padding:0 12px;font-size:13px}
  .agree-row{justify-content:flex-start}
}

@media (max-width: 520px){
  /* 랜딩 이미지: 100vw → 100% (스크롤바 넘침 방지) */
  .landing-image-only{width:100%;padding-bottom:200px}
  /* 하단 폼 바: fixed 유지, 1열 세로 레이아웃 */
  .bottom-bar{padding-bottom:env(safe-area-inset-bottom, 0px)}
  .bar-inner{padding:15px 12px 8px;max-width:100%;box-sizing:border-box}
  .form-fields{display:flex;flex-direction:column;gap:14px}
  .sticky-form input,.sticky-form select{width:100%;height:42px;font-size:16px;border-radius:8px;padding:0 12px;box-sizing:border-box}
  .sticky-form input::placeholder{font-size:14px}
  .bar-btn{width:100%;height:44px;font-size:15px;font-weight:800;border-radius:8px}
  /* 체크박스 축소 */
  .agree{font-size:15px;gap:4px}
  .agree input[type="checkbox"]{width:20px;height:20px;margin:0;flex-shrink:0}
  .agree-row{padding:15px 4px;}
  .modal{padding:14px}
  .modal-dialog{padding:18px 16px 16px;border-radius:16px}
  .modal-title{font-size:21px}
  /* pushAlarm: 폼 바로 위에 표시 */
  .pushAlarm{font-size:14px;padding:10px 14px;max-width:calc(100% - 32px);bottom:calc(env(safe-area-inset-bottom, 0px) + 240px);margin:0;border-radius:8px}
  .form-toast{white-space:normal;max-width:calc(100% - 32px)}
}