/* AI 도구 지도 — B 업무 중심 배치. 공통 내비·푸터와 클래스 분리. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--bg, #080607); color: var(--txt, #f4eeec); font-family: var(--font-sans, Pretendard, sans-serif); }
/* 배경 3층 — 다른 허브와 같은 오로라·그레인(2026-09-16 누락 복구).
   이 페이지는 hub.css 를 로드하지 않는다: hub.css 의 header{position:sticky;z-index:60} 이
   카드 머리글 <header class="ai-card-head"> 75개에 전부 걸리기 때문. 그래서 .aura/.grain
   컨테이너도 여기 둔다. .blob 위치·색은 공공 API·공공AX 카탈로그 페이지와 같은 값. */
.aura{position:fixed;inset:0;z-index:-2;overflow:hidden;pointer-events:none}
.grain{position:fixed;inset:0;z-index:-1;opacity:.45;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E")}
.blob{position:absolute;border-radius:50%;filter:blur(95px);opacity:.32;mix-blend-mode:screen}
.blob.a{width:560px;height:560px;background:radial-gradient(circle,var(--glow1),transparent 65%);top:-220px;left:-140px;animation:ait1 21s ease-in-out infinite alternate}
.blob.b{width:460px;height:460px;background:radial-gradient(circle,var(--crim),transparent 60%);top:46%;right:-180px;animation:ait2 25s ease-in-out infinite alternate}
@keyframes ait1{to{transform:translate(70px,60px) scale(1.1)}}
@keyframes ait2{to{transform:translate(-60px,-40px) scale(1.12)}}
/* .blob.a/.blob.b(특이도 0,2,0)를 끄려면 같은 특이도로 다시 선언해야 한다 */
@media (prefers-reduced-motion:reduce){.blob.a,.blob.b{animation:none}}

.ai-main { max-width: 1370px; margin: auto; padding: 0 38px 50px; font-size: 14px; line-height: 1.7; word-break: keep-all; }
.ai-main a { color: inherit; text-decoration: none; }
.ai-main a:hover { color: #ff8057; }
.ai-main button, .ai-main input, .ai-main select { font: inherit; }
.ai-main button, .ai-main summary, .ai-main select { cursor: pointer; }
.ai-main button { color: inherit; }
.ai-main button:disabled { opacity: .5; cursor: default; }
.ai-main :is(button, a, input, select, summary):focus-visible { outline: 2px solid #ffb86b; outline-offset: 4px; }
.ai-main [hidden] { display: none !important; }
.ai-main :is(h1,h2,h3,h4,p) { margin: 0; }
.ai-main :is(h1,h2,h3,h4) { line-height: 1.3; }
.ai-hero { padding: 38px 0 30px; }
.ai-breadcrumb { display: flex; gap: 12px; color: #ab9ca2; font-size: 11px; margin-bottom: 28px; }
.ai-hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.ai-eyebrow { font: 10px/1.5 ui-monospace, monospace; letter-spacing: .16em; color: #ff7950; }
.ai-hero h1 { font-size: clamp(42px, 5vw, 66px); letter-spacing: -2.8px; font-weight: 650; margin-top: 12px; }
.ai-hero h1 em { font-family: Georgia, serif; color: #ff6232; font-weight: 400; }
.ai-hero .ai-lead { font-size: 15px; line-height: 1.9; color: #bcb0b6; margin-top: 18px; }
.ai-hero-note { border-left: 1px solid #5a3729; padding: 6px 0 6px 26px; min-width: 280px; }
.ai-hero-note>span { display: block; font: 9px ui-monospace, monospace; letter-spacing: .1em; color: #c29376; }
.ai-hero-note strong { display: block; font-size: 16px; margin: 10px 0; }
.ai-hero-note p { color: #b3a3aa; font-size: 12px; }
.ai-hero-note a { display: inline-block; color: #e2bba1; font-size: 11px; margin-top: 15px; }
.ai-overview { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--glass-line); border-radius: 12px; overflow: hidden; margin-bottom: 20px; background: var(--glass); backdrop-filter: blur(14px); }
.ai-domain { padding: 18px 20px; border-right: 1px solid var(--glass-line); display: flex; flex-direction: column; gap: 7px; }
.ai-domain:last-child { border: 0; }
.ai-domain:hover, .ai-domain[aria-current=true] { background: rgba(255,90,46,.08); }
.ai-domain-num { font: 10px ui-monospace, monospace; color: #c4957b; }
.ai-domain strong { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 16px; }
.ai-domain strong b { font: 24px ui-monospace, monospace; color: #ff8962; }
.ai-domain>span:last-child { font-size: 10px; color: #b2a3a9; }
.ai-notice { padding: 12px 16px; font-size: 11px; line-height: 1.8; border-left: 2px solid var(--amber); background: rgba(255,179,56,.05); color: #c3b4a4; border-radius: 0 6px 6px 0; }
.ai-notice b { color: #e4cfb9; font-weight: 600; }
.ai-workspace { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 28px; margin-top: 38px; align-items: start; }
.ai-workflows { min-width: 0; position: sticky; top: 18px; max-height: calc(100vh - 36px); overflow: auto; scrollbar-width: thin; scrollbar-color: #513b43 transparent; padding-right: 5px; }
.ai-section-title>span { font: 9px ui-monospace, monospace; letter-spacing: .13em; color: #ce9878; }
.ai-section-title h2 { font-size: 18px; letter-spacing: -.6px; margin-top: 8px; }
.ai-section-title p { color: #b3a1aa; font-size: 11px; margin-top: 8px; }
.ai-all-work { display: flex; align-items: center; gap: 10px; margin: 20px 0 10px; padding: 12px 14px; border: 1px solid rgba(255,122,69,.28); background: rgba(255,90,46,.07); border-radius: 8px; font-size: 13px; }
.ai-all-work b { color: #efbca3; font-weight: 400; }
.ai-all-work>span { margin-left: auto; }
.ai-work { border: 1px solid var(--glass-line); border-radius: 10px; margin-bottom: 9px; background: var(--glass); backdrop-filter: blur(14px); overflow: hidden; }
.ai-work.selected { border-color: rgba(255,122,69,.55); background: rgba(255,90,46,.09); }
.ai-work-pick { display: flex; align-items: center; gap: 9px; padding: 14px 13px 8px; }
.ai-work-pick>span { font: 10px ui-monospace, monospace; color: #bb8f78; }
.ai-work-pick>span:last-child { margin-left: auto; }
.ai-work-pick strong { font-size: 12px; }
.ai-work>p { padding: 0 13px 12px; color: #b6a4ad; font-size: 10px; line-height: 1.65; }
.ai-work-links { border-top: 1px solid var(--glass-line); display: flex; flex-wrap: wrap; gap: 7px; padding: 9px 12px; }
.ai-work-links a { display: flex; align-items: center; gap: 5px; font-size: 9px; color: #c7b5bf; }
.ai-work-links .ai-logo { width: 20px; height: 20px; border-radius: 5px; font-size: 7px; }
.ai-work-links .ai-logo img { width: 16px; height: 16px; }
.ai-infra-jump { display: block; padding: 12px; color: #e2b08e !important; font-size: 12px; }
.ai-catalog { min-width: 0; scroll-margin-top: 24px; }
.ai-catalog-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 15px; margin-bottom: 21px; }
.ai-catalog-heading h2 { font-size: 22px; letter-spacing: -.8px; margin-top: 6px; }
.ai-catalog-heading>span { font: 9px ui-monospace, monospace; color: #b09ba6; white-space: nowrap; }
.ai-controls { border-bottom: 1px solid #3a2a31; padding-bottom: 16px; }
.ai-search { display: flex; align-items: center; gap: 12px; border: 1px solid var(--glass-line); background: rgba(14,10,12,.62); backdrop-filter: blur(14px); border-radius: 9px; padding: 0 16px; }
.ai-search>span { color: #ff7f50; font-size: 25px; }
.ai-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: #f1e6eb; padding: 15px 0; font-size: 13px; }
.ai-search:focus-within { border-color: #ff7f50; }
.ai-search input::placeholder { color: #af98a4; }
.ai-search kbd { border: 1px solid #614652; border-radius: 4px; padding: 0 6px; font-size: 11px; color: #b99eac; }
.ai-filter-row { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 14px; }
.ai-filter-row label { flex: 1; min-width: 115px; color: #bfa9b5; font-size: 10px; }
.ai-filter-row select { display: block; width: 100%; min-height: 40px; color: #e0cfd9; border: 1px solid var(--glass-line); border-radius: 6px; background: rgba(14,10,12,.62); padding: 8px; margin-top: 5px; font-size: 11px; }
.ai-advanced { margin-top: 12px; color: #bda4b1; font-size: 11px; }
.ai-advanced summary { padding: 5px 0; }
.ai-filter-actions { display: flex; justify-content: space-between; margin-top: 12px; }
.ai-filter-actions button, .ai-empty button { border: 1px solid var(--glass-line); background: rgba(255,255,255,.06); border-radius: 6px; padding: 7px 12px; font-size: 11px; }
.ai-filter-actions button:last-child { background: rgba(255,90,46,.1); border-color: rgba(255,90,46,.42); }
.ai-bundle-context { background: rgba(255,90,46,.07); border: 1px solid rgba(255,122,69,.28); padding: 14px; border-radius: 8px; margin-top: 16px; font-size: 12px; color: #e6bf9c; }
.ai-bundle-context b { display: block; margin-bottom: 4px; }
.ai-results { display: flex; justify-content: space-between; gap: 10px; padding: 18px 0; font-size: 12px; }
.ai-results>span { color: #ae99a5; font-size: 10px; }
.ai-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; align-items: start; }
.ai-card { background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(14px); border-radius: 14px; padding: 23px; scroll-margin-top: 24px; min-width: 0; transition: border-color .2s, background .2s; }
.ai-card:hover { border-color: rgba(255,122,69,.34); background: rgba(255,255,255,.06); }
.ai-card:target { border-color: #ffa16c; box-shadow: 0 0 0 2px #ffa16c44; }
.ai-card-head { display: flex; align-items: center; gap: 12px; }
.ai-logo { display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none; position: relative; overflow: hidden; border: 1px solid #e5dfe2; border-radius: 11px; background: #f5f2f3; color: #292026; font: 13px ui-monospace,monospace; }
.ai-logo img { position: absolute; width: 36px; height: 36px; object-fit: contain; background: #f5f2f3; }
.ai-vendor { font-size: 10px; color: #c1a6b6; margin-bottom: 3px !important; }
.ai-card h3 { font-size: 18px; font-weight: 620; letter-spacing: -.4px; overflow-wrap: anywhere; }
.ai-launch { margin-left: auto; align-self: flex-start; padding: 3px 6px; font-size: 22px; color: #ba929e !important; }
.ai-badges { display: flex; gap: 5px; flex-wrap: wrap; margin: 17px 0 12px; }
.ai-badge { border: 1px solid var(--glass-line); background: rgba(255,255,255,.06); color: #cdb5c3; border-radius: 4px; padding: 3px 7px; font-size: 9px; }
.ai-kind { background: rgba(255,122,69,.08); color: #efb993; border-color: rgba(255,122,69,.2); }
.ai-summary { font-size: 12px; line-height: 1.85; color: #e0cdd8; }
.ai-features { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.ai-features span { font-size: 10px; color: #baa2b0; }
.ai-features span:not(:last-child)::after { content: '/'; margin-left: 6px; color: #69525e; }
.ai-point { margin-top: 18px !important; padding-top: 15px; border-top: 1px solid #3f2937; font-size: 12px; color: #d8c3d0; line-height: 1.85; }
.ai-point b { display: block; color: #e3ae88; font-size: 10px; font-weight: 600; margin-bottom: 6px; }
.ai-quick, .ai-facts { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 8px 12px; margin: 18px 0; font-size: 10px; }
.ai-quick dt, .ai-facts dt { color: #b499aa; }
.ai-quick dd, .ai-facts dd { margin: 0; color: #e3cfdb; overflow-wrap: anywhere; }
.ai-facts dd.ai-unknown { color: #c6ab9d; }
.ai-detail { border-top: 1px solid #4a303e; font-size: 11px; margin-top: 15px; }
.ai-detail summary { display: flex; justify-content: space-between; padding: 13px 0; color: #d8b6c7; list-style: none; }
.ai-detail summary::-webkit-details-marker { display: none; }
.ai-detail[open] summary>span { transform: rotate(45deg); }
.ai-detail h4 { color: #e6c2a7; margin: 14px 0 8px; font-size: 12px; }
.ai-detail p { color: #c4aebb; line-height: 1.9; }
.ai-detail .ai-source { margin-top: 8px; font-size: 9px; }
.ai-note { margin-top: 8px !important; border-left: 2px solid var(--ember); padding: 6px 10px; background: rgba(255,90,46,.06); }
.ai-detail-links { display: flex; flex-wrap: wrap; gap: 9px; margin: 15px 0; color: #e3b99c; }
.ai-detail-links a { text-decoration: underline; text-underline-offset: 4px; }
.ai-caution { font-size: 10px; line-height: 1.8; color: #d2b8b3; border-left: 2px solid var(--amber); background: rgba(255,179,56,.05); padding: 10px 12px; margin-top: 6px !important; }
.ai-caution b { display: block; color: #ecb89e; margin-bottom: 4px; font-weight: 500; }
.ai-empty { padding: 45px 20px; border: 1px dashed var(--glass-line); text-align: center; border-radius: 12px; }
.ai-empty p { margin: 12px 0 20px; color: #bda2b1; }
.ai-infrastructure { border-top: 1px solid #503138; margin-top: 60px; padding-top: 32px; }
.ai-infrastructure .ai-section-title h2 { font-size: 25px; }
.ai-stack { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-top: 24px; }
.ai-stack a { display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--glass-line); background: var(--glass); backdrop-filter: blur(14px); border-radius: 9px; }
.ai-stack b { font: 11px ui-monospace,monospace; color: #d9a578; margin-bottom: 13px; }
.ai-stack strong { font-size: 17px; }
.ai-stack span { font-size: 11px; color: #b8a393; margin-top: 5px; }
.ai-spec-guide { margin-top: 20px; border: 1px solid var(--glass-line); border-radius: 10px; padding: 0 20px; }
.ai-spec-guide>summary { padding: 18px 0; font-size: 14px; }
.ai-spec-guide>summary>span { float: right; color: #bb9da9; font-size: 11px; }
.ai-spec-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; padding: 15px 0 25px; }
.ai-spec-grid h3 { font-size: 14px; color: #e9b994; margin-bottom: 10px; }
.ai-spec-grid p, .ai-spec-examples p { font-size: 12px; color: #c9b0bf; }
.ai-spec-examples { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.ai-spec-examples article { padding: 20px; background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(14px); border-radius: 10px; }
.ai-spec-examples span { font-size: 10px; color: #c4a486; }
.ai-spec-examples h3 { font-size: 17px; margin: 9px 0; }
.ai-spec-examples a { display: inline-block; margin: 14px 12px 0 0; font-size: 11px; color: #efba93; }
.ai-spec-guide>.ai-source, .ai-attribution { font-size: 10px; color: #b49aa9; margin: 22px 0; }
.ai-comparison { width: min(1100px,calc(100% - 32px)); max-height: 85vh; border: 1px solid var(--glass-line); border-radius: 14px; background: rgba(14,10,12,.92); backdrop-filter: blur(18px); color: #efdae6; padding: 24px; }
.ai-comparison::backdrop { background: #000b; backdrop-filter: blur(4px); }
.ai-comparison-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.ai-comparison-head h2 { font-size: 20px; }
.ai-comparison-head button { background: rgba(255,255,255,.06); border: 1px solid var(--glass-line); padding: 9px 14px; border-radius: 6px; }
#ai-comparison-content { overflow: auto; }
.ai-comparison table { border-collapse: collapse; width: 100%; font-size: 12px; min-width: 530px; }
.ai-comparison th, .ai-comparison td { padding: 15px; text-align: left; vertical-align: top; border: 1px solid var(--glass-line); min-width: 150px; }
.ai-comparison th { background: rgba(255,255,255,.06); color: #efbf9f; }
.ai-comparison>p { font-size: 11px; color: #c4aab8; margin-top: 20px; }
@media (max-width:1100px) {
  .ai-main { padding: 0 25px 40px; }
  .ai-workspace { grid-template-columns: 205px minmax(0,1fr); gap: 18px; }
  .ai-card { padding: 18px; }
  .ai-domain { padding: 16px 12px; }
  .ai-domain strong { font-size: 14px; }
  .ai-work-links a>span:last-child { display: none; }
}
@media (max-width:800px) {
  .ai-hero-note { display: none; }
  .ai-workspace { grid-template-columns: 1fr; }
  .ai-workflows { position: static; max-height: none; overflow: visible; padding: 0; }
  .ai-work-list { display: grid; grid-auto-flow: column; grid-auto-columns: 220px; gap: 10px; overflow: auto; padding-bottom: 8px; }
  .ai-work { margin: 0; }
  .ai-work-pick { min-height: 46px; }
  .ai-work>p { min-height: 100px; }
  .ai-work-links a>span:last-child { display: inline; }
  .ai-all-work { max-width: 240px; }
  .ai-catalog { margin-top: 22px; }
  .ai-overview { grid-template-columns: repeat(5,170px); overflow: auto; }
  .ai-spec-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ai-spec-examples { grid-template-columns: 1fr; }
}
@media (max-width:560px) {
  .ai-main { padding: 0 18px 30px; }
  .ai-hero { padding-top: 25px; }
  .ai-hero h1 { font-size: 47px; }
  .ai-lead { font-size: 13px !important; }
  .ai-eyebrow { font-size: 9px; }
  .ai-grid { grid-template-columns: 1fr; }
  .ai-card { padding: 22px; }
  .ai-catalog-heading>span, .ai-results>span { display: none; }
  .ai-filter-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ai-filter-row label { min-width: 0; }
  .ai-filter-row select { min-height: 44px; font-size: 12px; }
  .ai-stack { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ai-spec-grid { grid-template-columns: 1fr; }
  .ai-spec-guide { padding: 0 15px; }
  .ai-spec-guide>summary>span { display: none; }
  .ai-infrastructure .ai-section-title h2 { font-size: 22px; }
  .ai-workspace { margin-top: 28px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } .ai-card { transition: none; } }

.ai-catalog-date { color: #b49da9; font-size: 11px; margin: 18px 0 8px; }
.ai-policy-scope { border-left: 2px solid var(--amber); padding: 8px 12px; background: rgba(255,179,56,.05); color: #edc6ad; }
.ai-evidence { color: #e5ac86; font-size: 10px; white-space: nowrap; }
.ai-unresolved, .ai-filter-note { color: #b49da9; font-size: 11px; line-height: 1.8; }
.ai-compare-controls { margin-top: 12px; border-top: 1px solid #3e2936; padding-top: 12px; }
.ai-compare-controls summary { cursor: pointer; color: #edc6ad; font-size: 12px; }
.ai-compare-selects { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) auto; gap: 10px; align-items: end; padding: 12px 0; }
.ai-compare-selects label { display: grid; gap: 6px; font-size: 11px; color: #c6adba; }
.ai-compare-selects select { width: 100%; min-width: 0; background: rgba(14,10,12,.62); color: #f4e6ee; border: 1px solid var(--glass-line); border-radius: 6px; padding: 10px; }
.ai-compare-selects button { background: rgba(255,90,46,.1); color: #f4cfb4; border: 1px solid rgba(255,90,46,.42); padding: 11px; border-radius: 6px; cursor: pointer; }
.ai-compare-selects button:disabled { opacity: .45; cursor: default; }
@media (max-width: 700px) { .ai-compare-selects { grid-template-columns: minmax(0,1fr); } }
.ai-facts { font-size: 12px; line-height: 1.8; }
.ai-detail .ai-policy-scope { font-size: 12px; color: #edc6ad; }
@media (max-width: 560px) {
  .ai-facts { grid-template-columns: minmax(0,1fr); gap: 5px; font-size: 13px; }
  .ai-facts dt { margin-top: 12px; font-weight: 600; color: #ddbca8; }
  .ai-facts dd { margin-bottom: 6px; }
  .ai-detail .ai-policy-scope, .ai-detail .ai-unresolved { font-size: 12px; }
  .ai-evidence { font-size: 11px; }
}
