/* 메인: 비즈니스 문제 해결 사고 실험실 (기획/메인설계_20261016/03_구조와_디자인.md) */
.brand .lab { margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--line); font-size: 13.5px; font-weight: 600; letter-spacing: 0; color: var(--slate); }
@media (max-width: 560px) { .brand .lab { display: none; } }
.top nav { display: flex; gap: 4px; }
.top nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 10px; text-decoration: none; color: var(--slate); font-weight: 600; }
.top nav a:hover { color: var(--ink); }

/* 첫 화면 */
.hero { display: grid; gap: 26px; padding-top: 28px; padding-bottom: 24px; }
@media (min-width: 900px) { .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px; padding-top: 52px; padding-bottom: 40px; } }
.hero .kicker { margin: 10px 0 6px; }
.big { font-size: 56px; line-height: 1.14; letter-spacing: -0.035em; margin: 0 0 16px; }
@media (max-width: 600px) { .big { font-size: 40px; } .hero .lead { font-size: 16px; } }
.nod { color: var(--nod); display: inline-block; animation: nod 2.8s ease-in-out 1.9s 2; transform-origin: 50% 80%; }
@keyframes nod { 0%, 30%, 100% { transform: translateY(0); } 10% { transform: translateY(5px) rotate(-3deg); } 20% { transform: translateY(-1px); } }

/* 로고 장면 */
.mark-anim { width: 92px; height: 92px; }
@media (max-width: 600px) { .mark-anim { display: none; } }
.mark-anim svg { width: 100%; height: 100%; overflow: visible; animation: markNod 1.2s ease-in-out 1.7s 1; transform-origin: 50% 60%; }
.mark-anim .ln { fill: var(--ink); }
.mark-anim .pt { fill: var(--nod); animation: gather 0.9s cubic-bezier(.2, .7, .2, 1) var(--d) both; }
@keyframes gather { from { transform: translate(var(--dx), var(--dy)); fill: var(--slate); opacity: 0.5; } 70% { opacity: 1; } to { transform: translate(0, 0); } }
@keyframes markNod { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(9deg) translateY(3px); } 60% { transform: rotate(-2deg); } }

/* 오늘의 결재: 결재 서류 한 장. 일의 장면에서 바로 해 보는 한 단위 */
.doc { position: relative; }
.paper { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 14px; box-shadow: 0 1px 0 var(--line), 0 10px 0 -4px var(--panel), 0 10px 0 -3px var(--line); }
.doc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.doc-no { display: block; font-size: 13px; font-weight: 700; color: var(--slate); letter-spacing: 0.03em; }
.doc-from { display: block; font-size: 15px; font-weight: 700; }
.sign { border-collapse: collapse; flex: none; }
.sign th { font-size: 12px; font-weight: 700; color: var(--slate); border: 1px solid var(--line); padding: 1px 0; width: 52px; text-align: center; background: var(--panel); }
.sign td { border: 1px solid var(--line); height: 48px; text-align: center; vertical-align: middle; }
.sign td.me { background: var(--panel); }
.stamp { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 2px solid currentColor; font-size: 12px; font-weight: 800; transform: rotate(-12deg); }
.stamp.ok { color: var(--nod); }
.stamp.no { color: var(--ink); border-radius: 6px; }
.done .me .stamp { animation: press 0.32s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes press { from { transform: scale(1.8) rotate(-12deg); opacity: 0; } to { transform: scale(1) rotate(-12deg); opacity: 1; } }
.say { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.45; margin: 14px 0 8px; }
.doc-fig { min-height: 150px; }
.doc-g { display: block; width: 100%; max-width: 420px; height: auto; }
.doc-g .ax { stroke: var(--slate); stroke-width: 1; }
.doc-g .b1 { fill: var(--c1); }
.doc-g .b2 { fill: var(--c2); }
.doc-g .ln { fill: none; stroke: var(--c1); stroke-width: 2.5; }
.doc-g .dt { fill: var(--c1); }
.doc-g text { font-family: var(--font); font-size: 11.5px; fill: var(--slate); font-variant-numeric: tabular-nums; }
.doc-g .vl { fill: var(--ink); font-weight: 700; }
.doc-t { border-collapse: collapse; width: 100%; max-width: 420px; font-size: 15px; }
.doc-t th, .doc-t td { border-bottom: 1px solid var(--line); padding: 7px 4px; text-align: left; }
.doc-t thead th { font-size: 13px; color: var(--slate); font-weight: 700; }
.doc-t td { text-align: right; font-weight: 700; }
.doc-t tr.mark th, .doc-t tr.mark td { color: var(--signal); }
.doc-note { font-size: 13px; color: var(--slate); margin: 4px 0 0; }
.ask { font-weight: 700; margin: 12px 0 8px; }
.doc-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.doc-act .btn { flex: 1 1 140px; }
.verdict { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--panel); outline: none; }
.verdict b { display: block; font-size: 17px; }
.verdict p { margin: 4px 0 0; }
.doc-foot { font-size: 13px; color: var(--slate); margin: 12px 0 0; }

/* 전체 실험 */
.all { padding-top: 34px; scroll-margin-top: 10px; }
.all-h { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; }
.all-h h2 { font-size: 30px; margin: 0; }
.all-h p { margin: 0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 6px; }
.chip { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-weight: 700; font-size: 15px; cursor: pointer; }
.chip .num { color: var(--slate); font-weight: 600; margin-left: 2px; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip[aria-pressed="true"] .num { color: var(--bg); }
.cat-q { color: var(--slate); margin: 4px 0 12px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; margin-top: 12px; }
.card { display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--bg); color: var(--ink); }
a.card:hover { border-color: var(--ink); box-shadow: 0 8px 26px rgba(20, 18, 40, 0.12); }
.card.plan { border-style: dashed; }
.card .art { aspect-ratio: 2 / 1; border-bottom: 1px solid var(--line); overflow: hidden; background: var(--panel); }
.card .art svg { display: block; width: 100%; height: 100%; }
.art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; image-rendering: pixelated; }
.card .body { padding: 12px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card .no { font-size: 13px; font-weight: 700; color: var(--signal); }
.card .no .num { color: var(--slate); margin-right: 4px; }
.card b { display: block; font-size: 19px; letter-spacing: -0.01em; margin-top: 2px; }
.card .line { color: var(--slate); font-size: 15px; margin: 4px 0 12px; }
.card .meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.tag.beta { color: var(--signal); border-color: currentColor; }

/* 함께 운영하는 곳 */
.side { padding-top: 40px; display: grid; gap: 10px; }
@media (min-width: 700px) { .side { grid-template-columns: 1fr 1fr; } }
.side a { display: grid; gap: 2px; padding: 14px 16px; border: 1px dashed var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); }
.side a:hover { border-style: solid; border-color: var(--ink); }
.side span { font-size: 14px; color: var(--slate); }
.doc-sum { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 4px; font-size: 14px; }
.doc-sum li { margin: 0; padding: 6px 8px; border-radius: 8px; background: var(--panel); }
.doc-sum b { font-size: 12.5px; margin-right: 6px; }
.doc-sum li.ok b { color: var(--c1); }
.doc-sum li.no b { color: var(--signal); }

/* 오늘의 한 단위 */
.doc-wrap { min-width: 0; }
.doc-k { font-size: 14px; font-weight: 700; color: var(--signal); margin: 0 0 8px; }

/* 생각 지도 (site/assets/map.js) */
.map { margin: 10px 0 4px; }
.map-stage { position: relative; max-width: 760px; margin: 0 auto; }
.map svg { display: block; width: 100%; height: auto; overflow: visible; user-select: none; -webkit-user-select: none; }
.map .e { stroke: var(--line); stroke-width: 1.6; transition: stroke 0.2s, opacity 0.4s; }
.map .e.plan { stroke-dasharray: 3 4; }
.map .e.hl { stroke: var(--ink); stroke-width: 2.2; }
.map .dia { fill: none; stroke: var(--ink); stroke-width: 6; stroke-linejoin: round; opacity: 0; transition: opacity 0.6s 0.3s; }
.map.logo .dia { opacity: 0.16; }
.map.logo .e { opacity: 0; }
.map .n { cursor: grab; touch-action: none; outline: none; transition: opacity 0.25s; }
.map .n.drag { cursor: grabbing; }
.map .n circle.hit { fill: transparent; }
.map .n .dot { fill: var(--bg); stroke: var(--ink); stroke-width: 2.4; transition: r 0.15s; }
.map .n.done .dot { fill: var(--ink); }
.map .n.start .dot { fill: var(--nod); stroke: var(--nod); }
.map .n.plan .dot { stroke: var(--muted); stroke-dasharray: 3 3; }
.map .n .ring { fill: none; stroke: var(--nod); stroke-width: 2; opacity: 0; }
.map .n .ring.beat { animation: beat 0.9s ease-out; }
@keyframes beat { from { opacity: 0.9; r: 8; } to { opacity: 0; r: 20; } }
.map .n:hover .dot, .map .n:focus-visible .dot { r: 10; }
.map .n:focus-visible .dot { stroke: var(--c1); stroke-width: 3.5; }
.map .n text { font-family: var(--font); font-size: 12px; font-weight: 700; fill: var(--ink); pointer-events: none; transition: opacity 0.3s; }
.map .n text.k { font-size: 10px; font-weight: 600; fill: var(--slate); }
.map .n.plan text { fill: var(--slate); font-weight: 600; }
.map .n.fade, .map .n.dim { opacity: 0.25; }
.map.logo .n text.u { opacity: 0; }
.map .word { font-family: var(--font); font-size: 19px; font-weight: 800; letter-spacing: 0.06em; fill: var(--ink); opacity: 0; transition: opacity 0.6s 0.5s; pointer-events: none; }
.map.logo .word { opacity: 1; }
.map .p { fill: var(--nod); }
.map-hint { text-align: center; font-size: 13.5px; color: var(--slate); margin: 2px 0 0; min-height: 1.5em; }
.map-pop { position: absolute; z-index: 5; padding: 14px 16px 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--ink); box-shadow: 0 12px 30px rgba(20, 18, 40, 0.18); }
.map-pop .pk { margin: 0; font-size: 13px; font-weight: 800; color: var(--signal); }
.map-pop .pk .num { color: var(--slate); margin-right: 4px; }
.map-pop .pq { margin: 4px 0 6px; font-size: 17px; font-weight: 800; line-height: 1.4; padding-right: 26px; }
.map-pop .pm { margin: 0 0 10px; font-size: 13.5px; color: var(--slate); }
.map-pop .btn { width: 100%; min-height: 44px; }
.map-pop .pop-x { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; border: 0; background: none; font-size: 22px; color: var(--slate); cursor: pointer; }
.map-f { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; justify-content: center; font-size: 13px; color: var(--slate); margin: 6px 0 8px; }
.map-f .lg { display: inline-flex; align-items: center; gap: 6px; }
.map-f i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--ink); display: inline-block; }
.map-f i.d { background: var(--ink); } .map-f i.s { background: var(--nod); border-color: var(--nod); }
.map-f .mine { color: var(--ink); }
.map-gather { min-height: 44px; padding: 0 16px; font-size: 14px; }
@media (max-width: 600px) { .map .n text { font-size: 14.5px; } .map .n text.k { font-size: 12px; } }
