/* AML page only: reset legacy Bootstrap/global defaults before the design rules. */
#useb-aml-detail { display:block; width:100%; min-width:0; text-align:left; }
#useb-aml-detail *, #useb-aml-detail *::before, #useb-aml-detail *::after {
  box-sizing:border-box; font-family:inherit; letter-spacing:inherit;
}
#useb-aml-detail section { display:block; width:100%; padding:0; }
#useb-aml-detail p { font-size:inherit; line-height:inherit; color:inherit; }
#useb-aml-detail b, #useb-aml-detail strong { font-weight:700; }
#useb-aml-detail h3 { font-size:inherit; line-height:inherit; color:inherit; }
#useb-aml-detail label { margin-bottom:0; }
#useb-aml-detail ol, #useb-aml-detail ul { margin:0; padding:0; }
#useb-aml-detail .row { width:auto; margin:0; flex-wrap:nowrap; }
#useb-aml-detail .card { display:block; }
#useb-aml-detail .lead { font-weight:400; }
/* 유스비 AML 솔루션 상세페이지 v1.3 (2026-11-05, 본계정 3 마케팅)
   레이아웃 시스템 v1: 1440 · 콘텐츠 1200 · 12단(78/24) · 바깥 120 / 모바일 390 · 콘텐츠 350 · 바깥 20
   글자 D64/76 · T40/52 · S22/32 · B17/28 · C14/20, Pretendard 400~700. 색은 남색·파랑·흰·F4F5F8·ECECFE·9B9CFF만.
   칸 틀: f1 넓은 무대 1200×675 / f2 글 384 + 무대 690×518 / f3 글 열 셋 / f4 묶음 384 + 목록 690 */
#useb-aml-detail{
    --navy:#0E1A3F; --navy-76:rgba(14,26,63,.76); --navy-62:rgba(14,26,63,.62); --navy-12:rgba(14,26,63,.12); --navy-06:rgba(14,26,63,.06);
    --blue:#4A4CF6; --blue-dark:#3537D6; --stage:#F4F5F8; --band:#ECECFE; --line-indirect:#9B9CFF; --white:#FFFFFF;
    --ok:#1E8A5A;
    --font:"Pretendard","Pretendard Variable","Noto Sans KR",-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;
    --d:64px; --dl:76px; --t:40px; --tl:52px; --s:22px; --sl:32px; --b:17px; --bl:28px; --c:14px; --cl:20px;
    --gap-section:160px; --content:1200px; --gutter:120px;
    color-scheme:light;
  }
#useb-aml-detail, #useb-aml-detail *{box-sizing:border-box}
#useb-aml-detail{-webkit-text-size-adjust:100%}
#useb-aml-detail{margin:0;background:var(--white);color:var(--navy);font-family:var(--font);font-size:var(--b);line-height:var(--bl);font-weight:400;letter-spacing:-0.01em;word-break:keep-all;overflow-wrap:anywhere}
#useb-aml-detail img, #useb-aml-detail video{max-width:100%;display:block}
#useb-aml-detail a{color:inherit}
#useb-aml-detail h1, #useb-aml-detail h2, #useb-aml-detail h3, #useb-aml-detail p{margin:0}
#useb-aml-detail h1, #useb-aml-detail h2{text-wrap:balance}
#useb-aml-detail button, #useb-aml-detail input, #useb-aml-detail select{font:inherit;color:inherit}
#useb-aml-detail :focus-visible{outline:2px solid var(--blue);outline-offset:2px}
#useb-aml-detail .wrap{max-width:calc(var(--content) + var(--gutter)*2);margin:0 auto;padding-left:max(16px,var(--gutter),env(safe-area-inset-left,0px));padding-right:max(16px,var(--gutter),env(safe-area-inset-right,0px))}
/* 머리줄 */
#useb-aml-detail .nav{position:sticky;top:env(safe-area-inset-top,0px);z-index:20;background:rgba(255,255,255,.92);backdrop-filter:saturate(1.2) blur(8px);border-bottom:1px solid var(--navy-06)}
#useb-aml-detail .nav .wrap{display:flex;align-items:center;justify-content:space-between;height:72px;gap:24px}
#useb-aml-detail .brand{display:flex;align-items:baseline;gap:10px;text-decoration:none}
#useb-aml-detail .brand b{font-size:22px;font-weight:700;letter-spacing:-0.02em}
#useb-aml-detail .brand b i{font-style:normal;color:var(--blue)}
#useb-aml-detail .brand span{font-size:var(--c);color:var(--navy-62)}
#useb-aml-detail .nav-links{display:flex;align-items:center;gap:32px;font-size:15px;font-weight:500}
#useb-aml-detail .nav-links a{text-decoration:none;color:var(--navy-76)}
#useb-aml-detail .nav-links a:hover{color:var(--navy)}
#useb-aml-detail .btn{white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 24px;border-radius:8px;border:0;font-weight:600;font-size:16px;text-decoration:none;cursor:pointer;transition:background .15s}
#useb-aml-detail .btn-primary{background:var(--blue);color:#fff}
#useb-aml-detail .btn-primary:hover{background:var(--blue-dark)}
#useb-aml-detail .btn-ghost{background:transparent;color:var(--navy);border:1px solid var(--navy-12);height:40px;padding:0 16px;font-size:14px}
#useb-aml-detail .btn-sm{height:40px;padding:0 18px;font-size:14px}
#useb-aml-detail .link{font-weight:600;text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--navy-12)}
#useb-aml-detail .link:hover{text-decoration-color:var(--navy)}
/* 칸 */
#useb-aml-detail .sec{padding-top:var(--gap-section)}
#useb-aml-detail .sec:first-of-type{padding-top:96px}
#useb-aml-detail .head{max-width:588px;display:grid;gap:24px}
#useb-aml-detail .head.wide{max-width:800px}
#useb-aml-detail h1{font-size:var(--d);line-height:var(--dl);font-weight:700;letter-spacing:-0.03em}
#useb-aml-detail h2{font-size:var(--t);line-height:var(--tl);font-weight:700;letter-spacing:-0.025em}
#useb-aml-detail .lead{font-size:var(--s);line-height:var(--sl);color:var(--navy-76)}
#useb-aml-detail .desc{font-size:var(--b);line-height:var(--bl);color:var(--navy-76)}
#useb-aml-detail .actions{display:flex;align-items:center;gap:32px;flex-wrap:wrap;margin-top:8px}
#useb-aml-detail .stage{background:var(--stage);border-radius:16px;margin-top:64px;padding:48px;overflow:hidden}
#useb-aml-detail .f2{display:grid;grid-template-columns:384px minmax(0,1fr);gap:0 126px;align-items:start;margin-top:64px}
#useb-aml-detail .f2 .stage{margin-top:0;min-height:518px;display:flex;align-items:center;justify-content:center}
#useb-aml-detail .side{display:grid;gap:40px}
#useb-aml-detail .side h3{font-size:var(--s);line-height:var(--sl);font-weight:700}
#useb-aml-detail .side p{color:var(--navy-76);margin-top:8px}
#useb-aml-detail .quote{font-size:var(--s);line-height:var(--sl);font-weight:600}
#useb-aml-detail .quote small{display:block;font-size:var(--c);line-height:var(--cl);font-weight:400;color:var(--navy-62);margin-top:8px}
#useb-aml-detail .reveal{opacity:1;transform:none}

  @media (prefers-reduced-motion:no-preference){#useb-aml-detail .reveal.pending{transform:translateY(12px)}
#useb-aml-detail .reveal{transition:transform .4s ease}
}
/* 화면 그림 공통 */
#useb-aml-detail .screen{background:#fff;border:1px solid var(--navy-12);border-radius:12px;width:100%;font-size:14px;line-height:20px;color:var(--navy)}
#useb-aml-detail .screen .crumb{font-size:12px;color:var(--navy-62);letter-spacing:0}
#useb-aml-detail .screen .ttl{font-size:26px;line-height:34px;font-weight:700;margin-top:4px;letter-spacing:-0.02em}
#useb-aml-detail .card{background:#fff;border:1px solid var(--navy-12);border-radius:10px}
#useb-aml-detail .card.hi{border:2px solid var(--blue)}
#useb-aml-detail .kpi{padding:22px 24px}
#useb-aml-detail .kpi small{display:block;font-size:12px;color:var(--navy-62)}
#useb-aml-detail .kpi b{display:block;font-size:40px;line-height:48px;font-weight:700;font-variant-numeric:tabular-nums;margin:6px 0 2px}
#useb-aml-detail .kpi span{font-size:12px;color:var(--navy-62)}
#useb-aml-detail .list{padding:0 24px}
#useb-aml-detail .list .lh{display:flex;justify-content:space-between;align-items:center;padding:18px 0 12px;font-weight:700}
#useb-aml-detail .list .row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 0;border-top:1px solid var(--navy-06)}
#useb-aml-detail .list .row>div{min-width:0}
#useb-aml-detail .list .row b{display:block;font-weight:600}
#useb-aml-detail .list .row small{display:block;font-size:12px;color:var(--navy-62)}
/* 표지 무대: 개인·법인 고객확인 결과(왼쪽) → AML(오른쪽) 흐름 */
#useb-aml-detail .cover-stage{display:grid;grid-template-columns:384px 96px minmax(0,1fr);gap:0;align-items:stretch}
#useb-aml-detail .cover-stage .src, #useb-aml-detail .cover-stage .dst{display:flex;flex-direction:column}
#useb-aml-detail .cover-stage .svc{flex:1;display:grid;grid-template-rows:1fr 1fr;gap:16px}
#useb-aml-detail .res{background:#fff;border:1px solid var(--navy-12);border-radius:12px;display:flex;flex-direction:column;overflow:hidden}
#useb-aml-detail .res .rh{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid var(--navy-06);font-size:13px}
#useb-aml-detail .res .rh b{font-weight:700}
#useb-aml-detail .res .rh span{font-size:12px;color:var(--navy-62);white-space:nowrap}
#useb-aml-detail .res .rb{flex:1;display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:center;padding:14px 16px}
#useb-aml-detail .res .rb svg{width:100%;max-width:200px;height:auto}
#useb-aml-detail .res .rl{list-style:none;margin:0;padding:0;display:grid;gap:8px;font-size:13px;font-weight:600}
#useb-aml-detail .res .rl li.ok{display:flex;align-items:center;gap:8px}
#useb-aml-detail .res .rl li.ok::before{content:"";width:16px;height:16px;border-radius:50%;background:var(--blue);flex:none;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.5l2.6 2.5L12 5.5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>")}
#useb-aml-detail .res .rf{padding:10px 16px;border-top:1px solid var(--navy-06);font-size:12px;color:var(--navy-62);background:var(--stage)}
#useb-aml-detail .flow{position:relative;margin-top:36px}
#useb-aml-detail .flow-lines{position:absolute;inset:0;width:100%;height:100%}
#useb-aml-detail .flow-lines path{fill:none;stroke:var(--line-indirect);stroke-width:2;vector-effect:non-scaling-stroke;stroke-dasharray:6 5;animation:flow 1.6s linear infinite}

  @keyframes flow{to{stroke-dashoffset:-22}}

  @media (prefers-reduced-motion:reduce){#useb-aml-detail .flow-lines path{animation:none}
}
#useb-aml-detail .flow-head{position:absolute;right:-1px;top:50%;width:12px;height:16px;transform:translateY(-50%)}
#useb-aml-detail .flow-tag{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#fff;border:1px solid var(--navy-12);border-radius:999px;padding:4px 10px;font-size:11px;font-weight:600;white-space:nowrap;color:var(--blue)}
#useb-aml-detail .list .row.in b .tag{display:inline-block;font-size:11px;font-weight:600;color:var(--navy-62);border:1px solid var(--navy-12);border-radius:4px;padding:0 6px;margin-left:6px;vertical-align:1px}
#useb-aml-detail .chip{display:inline-flex;align-items:center;height:28px;padding:0 10px;border-radius:999px;background:var(--band);color:var(--blue);font-size:12px;font-weight:700;white-space:nowrap}
#useb-aml-detail .stage-label{font-size:var(--c);line-height:var(--cl);font-weight:600;color:var(--navy);margin-bottom:16px}
#useb-aml-detail .plus{display:flex;align-items:center;justify-content:center;font-size:48px;font-weight:300;color:var(--navy);height:518px;line-height:1}
#useb-aml-detail .svc{display:grid;gap:16px}
#useb-aml-detail .svc-card{background:#fff;border:1px solid var(--navy-12);border-radius:12px;padding:16px;display:grid;grid-template-columns:96px 1fr;gap:16px;align-items:start}
#useb-aml-detail .svc-card .nm small{display:block;font-size:var(--c);color:var(--navy-62)}
#useb-aml-detail .svc-card .nm b{display:block;font-size:26px;line-height:32px;font-weight:700;margin:2px 0 8px;letter-spacing:-0.02em}
#useb-aml-detail .svc-card .nm span{font-size:var(--c);color:var(--navy-62)}
/* eKYC 휴대폰 화면 */
#useb-aml-detail .phone{background:#141A33;border-radius:14px;color:#fff;padding:14px 10px 16px;display:grid;justify-items:center;gap:10px;text-align:center}
#useb-aml-detail .phone.sm{width:96px;padding:10px 6px 12px;gap:6px;border-radius:10px}
#useb-aml-detail .phone .ph-t{font-size:12px;color:rgba(255,255,255,.85)}
#useb-aml-detail .phone.sm .ph-t{font-size:8px}
#useb-aml-detail .phone .frame{position:relative;padding:6px;width:100%}
#useb-aml-detail .phone .frame::before, #useb-aml-detail .phone .frame::after, #useb-aml-detail .phone .frame i::before, #useb-aml-detail .phone .frame i::after{content:"";position:absolute;width:14px;height:14px;border:2px solid #fff;}
#useb-aml-detail .phone .frame::before{left:0;top:0;border-right:0;border-bottom:0}
#useb-aml-detail .phone .frame::after{right:0;top:0;border-left:0;border-bottom:0}
#useb-aml-detail .phone .frame i::before{left:0;bottom:0;border-right:0;border-top:0}
#useb-aml-detail .phone .frame i::after{right:0;bottom:0;border-left:0;border-top:0}
#useb-aml-detail .phone.sm .frame::before, #useb-aml-detail .phone.sm .frame::after, #useb-aml-detail .phone.sm .frame i::before, #useb-aml-detail .phone.sm .frame i::after{width:8px;height:8px;border-width:1.5px}
#useb-aml-detail .phone .frame img{width:100%;border-radius:6px}
#useb-aml-detail .phone .ph-c{font-size:12px;line-height:18px;color:rgba(255,255,255,.8);padding:6px 4px}
#useb-aml-detail .phone.sm .ph-c{display:none}
#useb-aml-detail .phone .ph-b{width:40px;height:40px;border-radius:50%;background:#6D6FF8;box-shadow:0 0 0 4px rgba(109,111,248,.35)}
#useb-aml-detail .phone.sm .ph-b{width:18px;height:18px;box-shadow:0 0 0 3px rgba(109,111,248,.35)}
/* 주주명부 트리 */
#useb-aml-detail .tree{background:#fff;border:1px solid var(--navy-12);border-radius:12px;overflow:hidden}
#useb-aml-detail .tree .th{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid var(--navy-06);font-size:14px}
#useb-aml-detail .tree .th b{font-weight:700}
#useb-aml-detail .tree .th span{font-size:12px;color:var(--navy-62)}
#useb-aml-detail .tree .tb{padding:20px 16px 12px}
#useb-aml-detail .tree .tf{border-top:1px solid var(--navy-06);padding:14px 16px;font-weight:700;font-size:14px}
#useb-aml-detail .tree svg{width:100%;height:auto;display:block}
/* 영상 */
#useb-aml-detail .video-wrap{position:relative;margin-top:64px;border-radius:16px;overflow:hidden;background:#0B1030;aspect-ratio:16/9;max-width:100%}
#useb-aml-detail .video-wrap video{width:100%;height:100%;object-fit:cover;background:#0B1030}
#useb-aml-detail .play{position:absolute;left:24px;bottom:24px;z-index:2;display:inline-flex;align-items:center;gap:10px;height:44px;padding:0 18px 0 14px;border-radius:8px;background:rgba(255,255,255,.95);color:var(--navy);border:0;font-weight:600;font-size:14px;cursor:pointer}
#useb-aml-detail .play svg{width:14px;height:14px}
#useb-aml-detail .video-wrap.playing .play{display:none}
#useb-aml-detail .caption{font-size:var(--c);line-height:var(--cl);color:var(--navy-62);margin-top:16px}
/* 고객확인 칸: 숫자 띠 + 흐름 다섯 단계 */
#useb-aml-detail .strip{display:flex;align-items:flex-end;gap:48px;flex-wrap:wrap;margin-top:40px;padding-bottom:24px;border-bottom:1px solid var(--navy-12)}
#useb-aml-detail .strip .st b{display:block;font-size:34px;line-height:40px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-0.02em}
#useb-aml-detail .strip .st span{display:block;font-size:var(--c);color:var(--navy-62);margin-top:2px}
#useb-aml-detail .strip .st-note{margin-left:auto;font-size:var(--c);color:var(--navy-62)}
#useb-aml-detail .journey{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;position:relative}
#useb-aml-detail .jstep{position:relative;background:#fff;border:1px solid var(--navy-12);border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:12px;min-width:0}
#useb-aml-detail .jstep:not(:last-child)::after{content:"";position:absolute;right:-13px;top:50%;width:10px;height:10px;border-top:2px solid var(--line-indirect);border-right:2px solid var(--line-indirect);transform:translateY(-50%) rotate(45deg)}
#useb-aml-detail .jstep.dst-step{border:2px solid var(--blue)}
#useb-aml-detail .jn{width:24px;height:24px;border-radius:50%;background:var(--navy);color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}
#useb-aml-detail .dst-step .jn{background:var(--blue)}
#useb-aml-detail .jh{min-height:44px}
#useb-aml-detail .jh b{display:block;font-size:17px;line-height:24px;font-weight:700;white-space:nowrap}
#useb-aml-detail .jh span{display:block;font-size:12px;color:var(--navy-62)}
#useb-aml-detail .jv{height:150px;display:flex;align-items:center;justify-content:center;background:var(--stage);border-radius:8px;padding:10px;overflow:hidden}
#useb-aml-detail .jv svg{width:100%;height:auto;max-width:180px}
#useb-aml-detail .jv .phone.sm{width:72px;padding:8px 5px 10px}
#useb-aml-detail .jstep .rl{list-style:none;margin:0;padding:0;display:grid;gap:8px;font-size:13px;font-weight:600;white-space:nowrap}
#useb-aml-detail .jstep .rl li.ok{display:flex;align-items:center;gap:8px}
#useb-aml-detail .jstep .rl li.ok::before{content:"";width:16px;height:16px;border-radius:50%;background:var(--blue);flex:none;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.5l2.6 2.5L12 5.5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>")}
#useb-aml-detail .wl{width:100%;display:grid;gap:6px}
#useb-aml-detail .wl-row{display:flex;justify-content:space-between;align-items:center;background:#fff;border:1px solid var(--navy-12);border-radius:6px;padding:7px 10px;font-size:12px}
#useb-aml-detail .wl-row em{font-style:normal;font-weight:700;color:var(--blue)}
#useb-aml-detail .ledger{width:100%;display:grid;gap:8px}
#useb-aml-detail .lg-row{display:grid;gap:2px;background:#fff;border:1px solid var(--navy-12);border-radius:6px;padding:8px 8px;font-size:12px;min-width:0}
#useb-aml-detail .lg-row b{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#useb-aml-detail .lg-row small{font-size:11px;font-weight:400;color:var(--navy-62)}
#useb-aml-detail .lg-row span{font-size:11px;color:var(--blue);font-weight:600;white-space:nowrap;letter-spacing:-0.02em}
/* 150곳 통계 */
#useb-aml-detail .stats{display:grid;gap:0}
#useb-aml-detail .stat{padding:20px 0;border-bottom:1px solid var(--navy-12)}
#useb-aml-detail .stat b{display:block;font-size:28px;line-height:36px;font-weight:700;font-variant-numeric:tabular-nums}
#useb-aml-detail .stat span{display:block;font-size:var(--c);color:var(--navy-62);margin-top:4px}
#useb-aml-detail .stats .note{font-size:var(--c);line-height:var(--cl);color:var(--navy-62);padding-top:16px}
#useb-aml-detail .kyc-stage{display:grid;grid-template-columns:196px minmax(0,1fr);gap:32px;align-items:stretch;width:100%}
/* 표지 아래 솔루션 묶음 */
#useb-aml-detail .sol{display:grid;grid-template-columns:384px minmax(0,1fr);gap:0 126px;margin-top:64px;align-items:start}
#useb-aml-detail .sol .nm h3{font-size:var(--s);line-height:var(--sl);font-weight:700}
#useb-aml-detail .sol .nm p{color:var(--navy-76);margin-top:8px;padding-bottom:24px;border-bottom:1px solid var(--navy-12)}
#useb-aml-detail .sol .mk{display:flex;gap:40px;padding-top:24px}
#useb-aml-detail .sol .mk small{display:block;font-size:var(--c);color:var(--navy-62)}
#useb-aml-detail .sol .mk b{display:block;font-size:var(--s);line-height:var(--sl);font-weight:700}
#useb-aml-detail .ten{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;list-style:none;margin:0;padding:0}
#useb-aml-detail .ten li{padding:14px 0;border-top:1px solid var(--navy-12);font-size:var(--b);font-weight:500}
#useb-aml-detail .ten li:nth-child(n+9){border-bottom:1px solid var(--navy-12)}
/* 의심거래 표 */
#useb-aml-detail .tabs{display:flex;gap:28px;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--navy-06);margin-top:18px;font-size:14px;color:var(--navy-62)}
#useb-aml-detail .tabs span{padding:10px 0;white-space:nowrap}
#useb-aml-detail .tabs .on{color:var(--blue);font-weight:600;border-bottom:2px solid var(--blue)}
#useb-aml-detail .tbl{width:100%;border-collapse:collapse;font-size:14px}
#useb-aml-detail .tbl th{font-weight:500;color:var(--navy-62);text-align:left;padding:10px 12px;background:var(--stage);font-size:12px}
#useb-aml-detail .tbl td{padding:14px 12px;border-top:1px solid var(--navy-06);vertical-align:top}
#useb-aml-detail .tbl tr.hi td{background:var(--band)}
#useb-aml-detail .tbl td b{font-weight:600;display:block}
#useb-aml-detail .tbl td small{display:block;font-size:12px;color:var(--navy-62);margin-top:2px}
#useb-aml-detail .dot{display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:6px;vertical-align:middle;background:#D64545}
#useb-aml-detail .dot.mid{background:#E0A020}
#useb-aml-detail .filter{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border:1px solid var(--navy-12);border-radius:6px;font-size:13px;font-weight:600}
/* Office 화면 */
#useb-aml-detail .office{display:grid;grid-template-columns:168px minmax(0,1fr);border-top:3px solid var(--ok)}
#useb-aml-detail .office .sb{border-right:1px solid var(--navy-06);padding:20px 16px}
#useb-aml-detail .office .sb b{display:block;font-size:17px;font-weight:700}
#useb-aml-detail .office .sb small{display:block;font-size:12px;color:var(--navy-62)}
#useb-aml-detail .office .seg{display:flex;gap:6px;margin:14px 0 18px}
#useb-aml-detail .office .seg span{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 10px;border:1px solid var(--navy-12);border-radius:8px;font-size:12px;font-weight:600}
#useb-aml-detail .office .seg span::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--navy-62)}
#useb-aml-detail .office .seg span.on::before{background:var(--ok)}
#useb-aml-detail .office .menu{display:grid;gap:4px}
#useb-aml-detail .office .menu div{padding:12px 12px;border-radius:8px;font-size:14px;display:flex;justify-content:space-between}
#useb-aml-detail .office .menu .on{background:#E9F5EF;color:var(--ok);font-weight:600}
#useb-aml-detail .office .menu .on em{font-style:normal;color:#D64545}
#useb-aml-detail .office .main{padding:24px}
#useb-aml-detail .office .tip{margin-top:16px;background:var(--stage);border-left:3px solid var(--ok);border-radius:0 8px 8px 0;padding:14px 16px;font-size:13px;line-height:20px}
#useb-aml-detail .office .todo{margin-top:16px;border:1px solid var(--navy-12);border-radius:10px;padding:0 16px}
#useb-aml-detail .office .todo .lh{display:flex;justify-content:space-between;padding:16px 0 12px;font-weight:700;font-size:14px}
#useb-aml-detail .office .todo .lh span{font-weight:400;color:var(--navy-62);font-size:12px}
#useb-aml-detail .office .todo .row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-top:1px solid var(--navy-06);font-size:14px}
#useb-aml-detail .office .todo .row>div{min-width:0}
#useb-aml-detail .office .todo .row b{display:block;font-weight:600}
#useb-aml-detail .office .todo .row small{display:block;font-size:12px;color:var(--navy-62)}
#useb-aml-detail .btn-ok{background:var(--ok);color:#fff;border:0;height:32px;padding:0 12px;border-radius:6px;font-size:12px;font-weight:600}
/* 도입 전 질문 */
#useb-aml-detail .f4{display:grid;grid-template-columns:384px minmax(0,1fr);gap:0 126px;margin-top:64px;align-items:start}
#useb-aml-detail .facts{display:grid}
#useb-aml-detail .fact{padding:20px 0;border-bottom:1px solid var(--navy-12)}
#useb-aml-detail .fact b{display:block;font-size:var(--s);line-height:var(--sl);font-weight:700}
#useb-aml-detail .fact span{display:block;font-size:var(--c);line-height:var(--cl);color:var(--navy-62);margin-top:4px}
#useb-aml-detail .qa{display:grid}
#useb-aml-detail .q{padding:32px 0;border-bottom:1px solid var(--navy-12)}
#useb-aml-detail .q:first-child{border-top:1px solid var(--navy-12)}
#useb-aml-detail .q h3{font-size:var(--s);line-height:var(--sl);font-weight:700}
#useb-aml-detail .q .a{font-size:var(--b);line-height:var(--bl);font-weight:600;margin-top:12px}
#useb-aml-detail .q ul{margin:8px 0 0;padding:0;list-style:none;color:var(--navy-62);font-size:15px;line-height:24px}
#useb-aml-detail .q .link{display:inline-block;margin-top:16px}
/* 신청 */
#useb-aml-detail .steps{display:grid;gap:28px}
#useb-aml-detail .steps b{display:block;font-size:var(--s);line-height:var(--sl);font-weight:700}
#useb-aml-detail .steps p{color:var(--navy-76);margin-top:4px}
/* 맺음 */
#useb-aml-detail .close{padding-top:var(--gap-section)}
#useb-aml-detail .close h2{max-width:800px}
#useb-aml-detail .foot{margin-top:96px;padding:24px 0 48px;border-top:1px solid var(--navy-12);display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;font-size:var(--c);line-height:var(--cl);color:var(--navy-62)}

  /* 반응형 */
  @media (max-width:1100px){#useb-aml-detail{--gutter:48px}
#useb-aml-detail .f2, #useb-aml-detail .sol, #useb-aml-detail .f4{grid-template-columns:1fr;gap:40px}
#useb-aml-detail .journey{grid-template-columns:repeat(2,minmax(0,1fr))}
#useb-aml-detail .jstep:not(:last-child)::after{display:none}
#useb-aml-detail .cover-stage{grid-template-columns:1fr;gap:16px}
#useb-aml-detail .cover-stage .svc{grid-template-rows:auto;grid-template-columns:1fr 1fr}
#useb-aml-detail .flow{height:56px;margin:0}
#useb-aml-detail .flow-lines path:first-child{d:path('M30 0 C 30 40, 50 60, 50 100')}
#useb-aml-detail .flow-lines path:last-child{d:path('M70 0 C 70 40, 50 60, 50 100')}
#useb-aml-detail .flow-head{right:auto;left:50%;top:auto;bottom:-2px;transform:translateX(-50%) rotate(90deg)}

  }

  @media (max-width:767px){#useb-aml-detail{--d:40px;--dl:50px;--t:30px;--tl:40px;--s:19px;--sl:28px;--b:16px;--bl:26px;--gap-section:96px;--gutter:20px}
#useb-aml-detail .nav .wrap{height:60px}
#useb-aml-detail .nav-links a:not(.btn){display:none}
#useb-aml-detail .nav-links{gap:12px}
#useb-aml-detail .btn{height:44px;padding:0 18px;font-size:15px}
#useb-aml-detail .sec:first-of-type{padding-top:56px}
#useb-aml-detail .stage{padding:20px;margin-top:40px;border-radius:12px}
#useb-aml-detail .f2 .stage{min-height:0}
#useb-aml-detail .kyc-stage{grid-template-columns:1fr;gap:20px;justify-items:center}
#useb-aml-detail .kyc-stage .phone{width:196px}
#useb-aml-detail .kyc-stage .tree{width:100%}
#useb-aml-detail .journey{grid-template-columns:1fr}
#useb-aml-detail .jstep:not(:last-child)::after{display:block;right:auto;left:50%;top:auto;bottom:-13px;transform:translateX(-50%) rotate(135deg)}
#useb-aml-detail .strip{gap:24px}
#useb-aml-detail .strip .st b{font-size:28px;line-height:34px}
#useb-aml-detail .strip .st-note{margin-left:0;flex-basis:100%}
#useb-aml-detail .ten{grid-template-columns:1fr}
#useb-aml-detail .ten li:nth-child(n+9){border-bottom:0}
#useb-aml-detail .ten li:last-child{border-bottom:1px solid var(--navy-12)}
#useb-aml-detail .office{grid-template-columns:1fr}
#useb-aml-detail .office .sb{border-right:0;border-bottom:1px solid var(--navy-06)}
#useb-aml-detail .office .menu{grid-template-columns:1fr 1fr}
#useb-aml-detail .tbl-wrap{overflow-x:auto}
#useb-aml-detail .tbl{min-width:560px}
#useb-aml-detail .play{left:12px;bottom:12px}
#useb-aml-detail .cover-stage .svc{grid-template-columns:1fr}
#useb-aml-detail .res .rb{grid-template-columns:1fr;justify-items:center}
#useb-aml-detail .res .rl{width:100%}
#useb-aml-detail .phone.sm{width:96px}
#useb-aml-detail .kpi b{font-size:32px;line-height:40px}
#useb-aml-detail .g2{grid-template-columns:1fr !important}
#useb-aml-detail .screen .ttl{font-size:22px;line-height:30px}

  }

/* Restore block centering even on wide viewports; keep the legacy closing CTA outside. */
#useb-aml-detail .wrap { display:block; margin-left:auto; margin-right:auto; }
#useb-aml-detail .sec { padding-top:var(--gap-section); padding-bottom:0; }
#useb-aml-detail .sec:first-of-type { padding-top:96px; }
#useb-aml-detail { padding-bottom:96px; }
@media(max-width:767px) {
  #useb-aml-detail .sec:first-of-type { padding-top:56px; }
  #useb-aml-detail { padding-bottom:56px; }
}

/* 20261105-3: reserve fixed-header height plus breathing room for the cover. */
#useb-aml-detail { --aml-header-height:90px; }
#useb-aml-detail .sec:first-of-type {
  padding-top:calc(var(--aml-header-height) + 72px);
}
#useb-aml-detail section[id] {
  scroll-margin-top:calc(var(--aml-header-height) + 24px);
}
#useb-aml-detail #apply .f2 { align-items:center; }
#useb-aml-detail .aml-inquiry-actions {
  display:flex; flex-wrap:wrap; align-items:center; justify-content:center;
  gap:20px; min-width:0;
}
#useb-aml-detail .aml-inquiry-actions .btn {
  width:160px; height:48px; border:2px solid var(--blue);
  border-radius:999px; padding:0 20px; font-size:16px;
}
#useb-aml-detail .aml-inquiry-actions .btn-outline-primary {
  background:#fff; color:var(--blue);
}
#useb-aml-detail .aml-inquiry-actions .btn-outline-primary:hover {
  background:var(--band);
}
#useb-aml-detail .aml-closing h2 { max-width:800px; }
@media(max-width:767px) {
  #useb-aml-detail { --aml-header-height:70px; }
  #useb-aml-detail .sec:first-of-type {
    padding-top:calc(var(--aml-header-height) + 48px);
  }
  #useb-aml-detail .aml-inquiry-actions { gap:12px; justify-content:flex-start; }
  #useb-aml-detail .aml-inquiry-actions .btn {
    width:calc((100% - 12px) / 2); min-width:0; max-width:180px;
    padding:0 12px; font-size:15px;
  }
}

/* 문의 버튼을 세로로 배치하고 크기 확대 */
#useb-aml-detail .aml-inquiry-actions {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    gap: 26px;
  }
  
  #useb-aml-detail .aml-inquiry-actions .btn {
    width: 100%;
    max-width: none;
    height: 80px;
    font-size: 20px;
  }



  /* 표지 카드 내용 가독성 개선 */
#useb-aml-detail #cover .cover-stage .stage-label {
    font-size: 16px;
    line-height: 24px;
  }
  
  #useb-aml-detail #cover .res .rh {
    font-size: 15px;
    flex-wrap: wrap;
  }
  
  #useb-aml-detail #cover .res .rh span,
  #useb-aml-detail #cover .res .rf {
    font-size: 14px;
    line-height: 22px;
  }
  
  #useb-aml-detail #cover .res .rl {
    font-size: 15px;
    line-height: 24px;
    gap: 12px;
  }
  
  /* 신분증 화면 확대: 96px → 128px */
  #useb-aml-detail #cover .phone.sm {
    width: 128px;
  }
  
  #useb-aml-detail #cover .phone.sm .ph-t {
    font-size: 11px;
  }
  
  /* 법인 구조도는 체크 목록 위에 넓게 표시 */
  #useb-aml-detail #cover .res:last-child .rb {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 20px;
  }
  
  #useb-aml-detail #cover .res:last-child .rb svg {
    width: 100%;
    max-width: 300px;
  }
  
  /* 오른쪽 AML 화면 글자 확대 */
  #useb-aml-detail #cover .screen {
    font-size: 16px;
    line-height: 24px;
  }
  
  #useb-aml-detail #cover .screen .ttl {
    font-size: 30px;
    line-height: 38px;
  }
  
  #useb-aml-detail #cover .screen .crumb,
  #useb-aml-detail #cover .list .row small,
  #useb-aml-detail #cover .kpi small,
  #useb-aml-detail #cover .kpi span {
    font-size: 14px;
    line-height: 22px;
    color: var(--navy-76);
  }

  /* PC에서 좌우 패널 아래 끝 맞추기 */
@media (min-width: 1101px) {
    #useb-aml-detail #cover .cover-stage .dst > .screen {
      flex: 1;
      display: flex;
      flex-direction: column;
    }
  
    /* 늘어난 공간을 고객 목록에 배분 */
    #useb-aml-detail #cover .dst > .screen > .list {
      flex: 1;
      display: flex;
      flex-direction: column;
    }
  
    #useb-aml-detail #cover .dst > .screen > .list > .row {
      flex: 1;
    }
  
    #useb-aml-detail #cover .dst > .screen > .g2 {
      flex-shrink: 0;
    }
  }

  /* 두 카드의 체크 옆 글자를 굵게 */
#useb-aml-detail #cover .res .rl li.ok {
    font-weight: 700;
  }
  
  /* 첫 번째 eKYC: 그림과 텍스트 묶음 가운데 정렬 */
  @media (min-width: 768px) {
    #useb-aml-detail #cover .res:first-child .rb {
      grid-template-columns: 128px max-content;
      justify-content: center;
      gap: 24px;
    }
  
    #useb-aml-detail #cover .res:first-child .rl {
      width: auto;
    }
  }
  
  /* 두 번째 eKYB: 체크 목록을 가로 3열로 */
  #useb-aml-detail #cover .res:last-child .rl {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    font-size: 14px;
    line-height: 22px;
  }
  
  #useb-aml-detail #cover .res:last-child .rl li.ok {
    justify-content: center;
    align-items: flex-start;
    gap: 4px;
    word-break: normal;
    overflow-wrap: anywhere;
  }
  
  #useb-aml-detail #cover .res:last-child .rl li.ok::before {
    width: 14px;
    height: 14px;
    margin-top: 4px;
  }

 /* PC: 기존처럼 5개 카드 한 줄 유지 */
@media (min-width: 1101px) {
    #useb-aml-detail #screens .journey {
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 16px;
    }
  }
  
  /* 제목·설명은 소폭 확대 */
  #useb-aml-detail #screens .jh b {
    font-size: 18px;
    line-height: 26px;
    white-space: normal;
  }
  
  #useb-aml-detail #screens .jh span {
    font-size: 13px;
    line-height: 20px;
  }
  
  /* 그림 영역은 적당한 높이로 */
  #useb-aml-detail #screens .jv {
    height: 180px;
  }
  
  #useb-aml-detail #screens .jv .phone.sm {
    width: 88px;
  }
  
  #useb-aml-detail #screens .phone.sm .ph-t {
    font-size: 9px;
  }
  
  #useb-aml-detail #screens .jv svg {
    max-width: 200px;
  }
  
  /* 체크 옆 글자는 굵게 */
  #useb-aml-detail #screens .jstep .rl {
    font-size: 14px;
    line-height: 22px;
    white-space: normal;
    gap: 10px;
  }
  
  #useb-aml-detail #screens .jstep .rl li.ok {
    font-weight: 700;
  }
  
  /* 명단·원장 내부 글자 */
  #useb-aml-detail #screens .wl-row,
  #useb-aml-detail #screens .lg-row {
    font-size: 13px;
    line-height: 20px;
  }
  
  #useb-aml-detail #screens .lg-row small,
  #useb-aml-detail #screens .lg-row span {
    font-size: 12px;
    line-height: 18px;
    white-space: normal;
  }

  /* 다섯 카드의 제목 영역 높이 통일 */
#useb-aml-detail #screens .jh {
    min-height: 80px;
    flex-shrink: 0;
  }
  
  /* 그림 영역 높이 유지 */
  #useb-aml-detail #screens .jv {
    flex-shrink: 0;
  }

  /* 고객확인 결과 제목과 건수 볼드 */
#useb-aml-detail #cover .list .lh,
#useb-aml-detail #cover .list .lh span {
  font-weight: 700;
}