/* ── ALLO 웹 마이페이지 ([allo_mypage]) — 팔레트 = 웹리뉴얼 (크림 #F7F3ED · 잉크 #1A1710 ·
   주황 그라디언트 · 흰 카드 얇은 링). 스코프 = .akm- (akw 3단 셸과 분리, 테마와 충돌 금지) */

#ak-mypage { font-family: 'Pretendard', 'Pretendard JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1A1710; max-width: 740px; margin: 0 auto; padding: 4px 0 40px;
  display: flex; flex-direction: column; gap: 14px; -webkit-font-smoothing: antialiased; }
#ak-mypage * { box-sizing: border-box; }
#ak-mypage .akm-state { display: flex; flex-direction: column; gap: 14px; animation: akmRise .3s cubic-bezier(.32,.72,0,1); }
#ak-mypage .akm-state[hidden] { display: none; }
@keyframes akmRise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes akmBreath { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes akmSpin { to { transform: rotate(360deg); } }

/* 카드 */
#ak-mypage .akm-card { border-radius: 22px; background: #fff; padding: 26px;
  box-shadow: 0 0 0 .5px rgba(26,23,16,.07); }

/* 로딩 */
#ak-mypage .akm-loading { display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 180px; color: #8C857A; font-size: 14px; }
#ak-mypage .akm-spin { width: 22px; height: 22px; border-radius: 50%; flex: none;
  border: 2.5px solid rgba(26,23,16,.1); border-top-color: #F2751A; animation: akmSpin .8s linear infinite; }

/* 타이포 */
#ak-mypage .akm-h1 { font-size: 32px; font-weight: 800; letter-spacing: -.045em; margin: 20px 0 0; line-height: 1.16; }
#ak-mypage .akm-h2 { display: block; font-size: 21px; font-weight: 800; letter-spacing: -.038em; margin-top: 8px; }
#ak-mypage .akm-eyebrow { display: block; font-size: 10px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: #A39C8F; }
#ak-mypage .akm-lead { font-size: 15.5px; line-height: 1.6; color: #8C857A; margin: 11px auto 0;
  max-width: 440px; text-wrap: pretty; }
#ak-mypage .akm-num { font-variant-numeric: tabular-nums; }

/* 칩 */
#ak-mypage .akm-chip { display: inline-flex; align-items: center; height: 23px; padding: 0 9px;
  border-radius: 8px; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
#ak-mypage .akm-chip-ink    { background: rgba(26,23,16,.06);  color: #5E574C; }
#ak-mypage .akm-chip-indigo { background: rgba(46,58,140,.11); color: #2E3A8C; }
#ak-mypage .akm-chip-orange { background: rgba(242,117,26,.12); color: #D0530A; }
#ak-mypage .akm-chip-teal   { background: rgba(20,98,90,.11);  color: #146259; }
#ak-mypage .akm-chips { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }

/* CTA (주황 그라디언트) */
#ak-mypage .akm-cta { display: flex; align-items: center; justify-content: center; height: 46px;
  padding: 0 22px; border-radius: 15px; background: linear-gradient(180deg, #F2751A, #DE5B0B);
  font-size: 14.5px; font-weight: 700; color: #fff !important; text-decoration: none; cursor: pointer;
  user-select: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 8px 20px -9px rgba(242,117,26,.6);
  transition: transform .16s cubic-bezier(.32,.72,0,1); margin-top: 15px; }
#ak-mypage .akm-cta:active { transform: scale(.978); }
#ak-mypage .akm-cta-lg { height: 56px; border-radius: 17px; font-size: 16.5px; max-width: 360px; }
#ak-mypage .akm-inkbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 14px; background: #1A1710; font-size: 13.5px;
  font-weight: 700; color: #fff !important; text-decoration: none; flex: none; }
#ak-mypage .akm-inkbtn-wide { display: flex; height: 46px; border-radius: 15px; font-size: 14.5px; margin-top: 15px; }
#ak-mypage .akm-ghostbtn { display: flex; align-items: center; justify-content: center; height: 56px;
  padding: 0 22px; border-radius: 17px; background: rgba(255,255,255,.1); font-size: 15px; font-weight: 700;
  color: #fff !important; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.16); margin-top: 15px; }
#ak-mypage .akm-gbtn { display: flex; align-items: center; justify-content: center; gap: 10px;
  max-width: 440px; margin: 26px auto 0; height: 56px; border-radius: 17px; background: #fff;
  font-size: 16px; font-weight: 700; color: #1A1710 !important; text-decoration: none; cursor: pointer;
  box-shadow: 0 0 0 .5px rgba(26,23,16,.12), 0 12px 28px -12px rgba(0,0,0,.28);
  transition: transform .16s cubic-bezier(.32,.72,0,1); }
#ak-mypage .akm-gbtn:active { transform: scale(.978); }

/* A · 게스트 */
#ak-mypage .akm-guest { padding: 44px 40px; text-align: center; }
#ak-mypage .akm-brandmark { width: 56px; height: 56px; border-radius: 20px; margin: 0 auto;
  background: linear-gradient(180deg, #F2751A, #DE5B0B); display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 14px 30px -14px rgba(242,117,26,.6); }
#ak-mypage .akm-perks { display: flex; flex-direction: column; gap: 10px; margin: 28px auto 0;
  max-width: 440px; text-align: left; }
#ak-mypage .akm-perk { border-radius: 16px; background: #FAF8F5; padding: 15px 16px;
  display: flex; align-items: center; gap: 13px; box-shadow: inset 0 0 0 .5px rgba(26,23,16,.07); }
#ak-mypage .akm-perk-ic { width: 36px; height: 36px; border-radius: 13px; flex: none;
  display: flex; align-items: center; justify-content: center; }
#ak-mypage .akm-tint-orange { background: rgba(242,117,26,.12); }
#ak-mypage .akm-tint-teal   { background: rgba(20,98,90,.11); }
#ak-mypage .akm-tint-olive  { background: rgba(95,107,47,.13); }
#ak-mypage .akm-perk-tx { flex: 1; min-width: 0; }
#ak-mypage .akm-perk-tx b { display: block; font-size: 14.5px; font-weight: 800; letter-spacing: -.028em; }
#ak-mypage .akm-perk-tx i { display: block; font-style: normal; font-size: 12.5px; line-height: 1.45;
  color: #8C857A; margin-top: 2px; text-wrap: pretty; }
#ak-mypage .akm-assure { font-size: 12.5px; color: #A39C8F; margin-top: 12px; }
#ak-mypage .akm-browse { display: inline-block; font-size: 13.5px; font-weight: 700; color: #E2600F !important;
  text-decoration: none; margin-top: 20px; }

/* 인사 카드 (B·C 공통) */
#ak-mypage .akm-hello { display: flex; align-items: center; gap: 15px; padding: 24px 26px; }
#ak-mypage .akm-av { width: 52px; height: 52px; border-radius: 50%; flex: none;
  background: repeating-linear-gradient(135deg, #E7E2D8 0 5px, #F0ECE3 5px 10px);
  display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; color: #8C857A;
  background-size: cover; background-position: center; overflow: hidden; }
#ak-mypage .akm-hello-tx { flex: 1; min-width: 0; }
#ak-mypage .akm-hello-tx > b { display: block; font-size: 23px; font-weight: 800; letter-spacing: -.04em; }
#ak-mypage .akm-hello-big { font-size: 25px; }
#ak-mypage .akm-hello-tx > i { display: block; font-style: normal; font-size: 13.5px; color: #8C857A; margin-top: 4px; }

/* 다크 카드 (다음 할 일) */
#ak-mypage .akm-dark { background: linear-gradient(160deg, #221C14, #17140F); color: #fff; padding: 28px;
  position: relative; overflow: hidden; box-shadow: 0 24px 56px -28px rgba(23,20,15,.8); }
#ak-mypage .akm-dark::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(118deg, rgba(255,255,255,.03) 0 12px, transparent 12px 24px); }
#ak-mypage .akm-dark > * { position: relative; }
#ak-mypage .akm-dark-eyebrow { display: flex; align-items: center; gap: 9px; font-size: 10px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; color: #FF9248; }
#ak-mypage .akm-dot { width: 7px; height: 7px; border-radius: 50%; background: #F2751A; flex: none;
  animation: akmBreath 2.4s ease-in-out infinite; }
#ak-mypage .akm-dark-t { font-size: 28px; font-weight: 800; letter-spacing: -.045em; margin-top: 13px; line-height: 1.16; }
#ak-mypage .akm-dark-b { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.6); margin-top: 10px;
  max-width: 470px; text-wrap: pretty; }
#ak-mypage .akm-dark-note { display: block; font-size: 13px; color: rgba(255,255,255,.55); margin-top: 16px; }
#ak-mypage .akm-next-acts { display: flex; gap: 10px; margin-top: 7px; flex-wrap: wrap; }
#ak-mypage .akm-next-acts .akm-cta-lg { padding: 0 30px; }

/* 서류 진행 */
#ak-mypage .akm-docs-head { display: flex; align-items: flex-end; gap: 16px; }
#ak-mypage .akm-docs-head > span:first-child { flex: 1; min-width: 0; }
#ak-mypage .akm-pct { font-size: 13px; font-weight: 700; color: #8C857A; flex: none; font-variant-numeric: tabular-nums; }
#ak-mypage .akm-bar { display: block; height: 7px; border-radius: 4px; background: rgba(26,23,16,.08);
  overflow: hidden; margin-top: 13px; }
#ak-mypage .akm-bar-fill { display: block; height: 7px; width: 0; border-radius: 4px;
  background: linear-gradient(90deg, #F2751A, #DE5B0B); transition: width .45s cubic-bezier(.32,.72,0,1); }
#ak-mypage .akm-docs { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
#ak-mypage .akm-doc { border-radius: 16px; background: #FAF8F5; padding: 13px 15px;
  box-shadow: inset 0 0 0 .5px rgba(26,23,16,.07); }
#ak-mypage .akm-doc-row { display: flex; align-items: center; gap: 12px; }
#ak-mypage .akm-doc-ic { width: 30px; height: 30px; border-radius: 10px; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 8.5px; font-weight: 800; }
#ak-mypage .akm-doc-tx { flex: 1; min-width: 0; }
#ak-mypage .akm-doc-tx b { display: block; font-size: 14.5px; font-weight: 700; letter-spacing: -.026em; }
#ak-mypage .akm-doc-tx i { display: block; font-style: normal; font-size: 11.5px; color: #A39C8F; margin-top: 2px; }
#ak-mypage .akm-doc-st { height: 24px; padding: 0 10px; border-radius: 8px; display: flex; align-items: center;
  gap: 6px; font-size: 11px; font-weight: 800; flex: none; }
#ak-mypage .akm-st-approved, #ak-mypage .akm-ic-approved { background: rgba(20,98,90,.11);  color: #146259; }
#ak-mypage .akm-st-review,   #ak-mypage .akm-ic-review   { background: rgba(46,58,140,.11); color: #2E3A8C; }
#ak-mypage .akm-st-fix,      #ak-mypage .akm-ic-fix      { background: rgba(242,117,26,.13); color: #D0530A; }
#ak-mypage .akm-st-todo,     #ak-mypage .akm-ic-todo     { background: rgba(26,23,16,.06);  color: #5E574C; }
#ak-mypage .akm-doc-note { margin-top: 11px; border-radius: 13px; background: rgba(242,117,26,.08);
  padding: 11px 12px; display: flex; gap: 10px; align-items: center; box-shadow: inset 0 0 0 .5px rgba(242,117,26,.2); }
#ak-mypage .akm-doc-note-tx { flex: 1; min-width: 0; }
#ak-mypage .akm-doc-note-tx b { display: block; font-size: 11px; font-weight: 800; color: #D0530A; }
#ak-mypage .akm-doc-note-tx i { display: block; font-style: normal; font-size: 12.5px; line-height: 1.5;
  color: #B14705; margin-top: 3px; text-wrap: pretty; }
#ak-mypage .akm-doc-note .akm-cta { height: 34px; padding: 0 14px; border-radius: 12px; font-size: 12.5px;
  margin-top: 0; flex: none; align-self: center; }

/* 여정 타임라인 */
#ak-mypage .akm-stages { display: flex; gap: 11px; margin-top: 20px; }
#ak-mypage .akm-stage { flex: 1; min-width: 0; }
#ak-mypage .akm-stage-top { display: flex; align-items: center; gap: 8px; }
#ak-mypage .akm-stage-mark { width: 28px; height: 28px; border-radius: 10px; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800;
  background: rgba(26,23,16,.06); color: #B0A99C; box-shadow: inset 0 0 0 .5px rgba(26,23,16,.08); }
#ak-mypage .akm-stage-rail { flex: 1; height: 3px; border-radius: 2px; background: rgba(26,23,16,.08); }
#ak-mypage .akm-stage-t { font-size: 14px; font-weight: 800; letter-spacing: -.028em; margin-top: 13px;
  line-height: 1.3; color: #A39C8F; }
#ak-mypage .akm-stage-b { font-size: 12px; line-height: 1.45; color: #A39C8F; margin-top: 5px; text-wrap: pretty; }
#ak-mypage .akm-stage[data-state="done"] .akm-stage-mark { background: #146259; color: #fff; box-shadow: none; }
#ak-mypage .akm-stage[data-state="done"] .akm-stage-rail { background: rgba(20,98,90,.32); }
#ak-mypage .akm-stage[data-state="done"] .akm-stage-t { color: #1A1710; }
#ak-mypage .akm-stage[data-state="active"] .akm-stage-mark { background: #F2751A; color: #fff;
  box-shadow: 0 8px 18px -8px rgba(242,117,26,.7); }
#ak-mypage .akm-stage[data-state="active"] .akm-stage-rail { background: rgba(242,117,26,.32); }
#ak-mypage .akm-stage[data-state="active"] .akm-stage-t { color: #1A1710; }
#ak-mypage .akm-here { display: inline-flex; align-items: center; height: 20px; padding: 0 8px;
  border-radius: 6px; margin-top: 8px; font-size: 9.5px; font-weight: 800; letter-spacing: .06em;
  background: rgba(242,117,26,.12); color: #D0530A; }
#ak-mypage .akm-here[hidden] { display: none; }

/* 담당자 + 인보이스 */
#ak-mypage .akm-2col { display: flex; gap: 14px; }
#ak-mypage .akm-2col > .akm-card { flex: 1; min-width: 0; padding: 22px; }
#ak-mypage .akm-staff-row { display: flex; align-items: center; gap: 13px; }
#ak-mypage .akm-av-staff { width: 50px; height: 50px; font-size: 16px; }
#ak-mypage .akm-row-tx { flex: 1; min-width: 0; }
#ak-mypage .akm-row-tx b { display: block; font-size: 15.5px; font-weight: 800; letter-spacing: -.03em; }
#ak-mypage .akm-row-tx i { display: block; font-style: normal; font-size: 12.5px; color: #8C857A; margin-top: 3px; }
#ak-mypage .akm-staff-name { display: flex; align-items: center; gap: 7px; font-size: 16.5px; }
#ak-mypage .akm-online { width: 6px; height: 6px; border-radius: 50%; background: #4FA46A; flex: none; }
#ak-mypage .akm-invoice-amt { font-size: 25px; font-weight: 800; letter-spacing: -.045em; margin-top: 11px;
  font-variant-numeric: tabular-nums; }
#ak-mypage .akm-invoice-sub { font-size: 12px; line-height: 1.5; color: #8C857A; margin-top: 6px; }
#ak-mypage .akm-row-card { display: flex; align-items: center; gap: 15px; padding: 22px; }
#ak-mypage .akm-portal-link { display: block; text-align: center; font-size: 13.5px; font-weight: 700;
  color: #8C857A !important; text-decoration: none; padding: 4px 0 2px; }
#ak-mypage .akm-portal-link:hover { color: #1A1710 !important; }

/* D · 완료 */
#ak-mypage .akm-done-hero { background: linear-gradient(160deg, #1C5A52, #123F3A); color: #fff; padding: 34px;
  position: relative; overflow: hidden; box-shadow: 0 24px 56px -28px rgba(18,63,58,.8); }
#ak-mypage .akm-done-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(118deg, rgba(255,255,255,.04) 0 12px, transparent 12px 24px); }
#ak-mypage .akm-done-hero > * { position: relative; }
#ak-mypage .akm-done-mark { width: 58px; height: 58px; border-radius: 20px; background: rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.24); }
#ak-mypage .akm-done-t { font-size: 32px; font-weight: 800; letter-spacing: -.048em; margin-top: 18px; line-height: 1.14; }
#ak-mypage .akm-done-b { font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,.66); margin-top: 11px;
  max-width: 470px; text-wrap: pretty; }
#ak-mypage .akm-ready { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; }
#ak-mypage .akm-ready-item { display: flex; align-items: center; gap: 13px; width: 100%; text-align: left;
  border: 0; border-radius: 16px; padding: 15px 16px; background: #FAF8F5; cursor: pointer;
  font-family: inherit; box-shadow: inset 0 0 0 .5px rgba(26,23,16,.07); transition: box-shadow .2s; }
#ak-mypage .akm-ready-item.on { background: rgba(20,98,90,.05); box-shadow: inset 0 0 0 .5px rgba(20,98,90,.18); }
#ak-mypage .akm-check { width: 24px; height: 24px; border-radius: 9px; flex: none; display: flex;
  align-items: center; justify-content: center; box-shadow: inset 0 0 0 1.6px rgba(26,23,16,.14); }
#ak-mypage .akm-ready-item.on .akm-check { background: #146259; box-shadow: none; }
#ak-mypage .akm-ready-item.on .akm-check path { stroke: #fff; }
#ak-mypage .akm-ready-item .akm-row-tx b { font-size: 15px; }
#ak-mypage .akm-ready-tag { background: rgba(242,117,26,.12); color: #D0530A; flex: none; }
#ak-mypage .akm-ready-item.on .akm-ready-tag { background: rgba(20,98,90,.11); color: #146259; }
#ak-mypage .akm-community .akm-cta { flex: none; margin-top: 0; height: 50px; border-radius: 16px; padding: 0 24px; }
#ak-mypage .akm-community .akm-row-tx b { font-size: 21px; letter-spacing: -.04em; margin-top: 8px; }
#ak-mypage .akm-community .akm-row-tx i { font-size: 14px; line-height: 1.55; margin-top: 8px; max-width: 400px; }

/* ── 모바일 (isMobile 슬라이스 문법 — 카드 여백·타이포 축소, 2단은 세로) ── */
@media (max-width: 760px) {
  #ak-mypage { padding: 2px 0 32px; gap: 11px; }
  #ak-mypage .akm-state { gap: 11px; }
  #ak-mypage .akm-card { border-radius: 20px; padding: 18px; }
  #ak-mypage .akm-guest { padding: 30px 20px; }
  #ak-mypage .akm-h1 { font-size: 26px; }
  #ak-mypage .akm-h2 { font-size: 19px; }
  #ak-mypage .akm-hello { padding: 18px; }
  #ak-mypage .akm-hello-big { font-size: 22px; }
  #ak-mypage .akm-av { width: 44px; height: 44px; font-size: 15px; }
  #ak-mypage .akm-dark { padding: 20px; }
  #ak-mypage .akm-dark-t { font-size: 22px; }
  #ak-mypage .akm-dark-b { font-size: 13px; }
  #ak-mypage .akm-next-acts .akm-cta-lg { flex: 1; height: 52px; border-radius: 16px; font-size: 16px; padding: 0 16px; }
  #ak-mypage .akm-ghostbtn { height: 52px; border-radius: 16px; }
  #ak-mypage .akm-done-hero { padding: 22px; }
  #ak-mypage .akm-done-t { font-size: 24px; }
  #ak-mypage .akm-2col { flex-direction: column; gap: 11px; }
  #ak-mypage .akm-community { flex-direction: column; align-items: flex-start; }
  #ak-mypage .akm-community .akm-cta { width: 100%; }
  /* 타임라인: 4열 유지하되 설명은 감춘다 (isMobile: 막대 + 짧은 라벨) */
  #ak-mypage .akm-stages { gap: 7px; margin-top: 14px; }
  #ak-mypage .akm-stage-b { display: none; }
  #ak-mypage .akm-stage-t { font-size: 11px; margin-top: 7px; }
  #ak-mypage .akm-stage-mark { width: 24px; height: 24px; border-radius: 8px; font-size: 10.5px; }
}
