:root {
  --ink: #152028; --ink2: #43525E; --mute: #7B8894; --line: #E1E7E9; --line2: #EEF2F3;
  --canvas: #F1F4F3; --surface: #FFFFFF; --sunk: #F7F9F9;
  --brand: #0F6E6B; --brand-2: #0B5653; --deep: #10312F; --mint: #7FD6C2;
  --accent: #D93A72; --amber: #D9901F; --ok: #1F9461; --err: #C7362F;
  --r-lg: 16px; --r: 10px; --r-sm: 7px;
  --sh: 0 1px 0 rgba(16, 49, 47, .04), 0 8px 24px -12px rgba(16, 49, 47, .18);
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--canvas); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
body.dragging { user-select: none; -webkit-user-select: none; cursor: grabbing; }
h1, h2, h3, h4, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.grow { flex: 1; }
.muted { color: var(--mute); }
.mono { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink2); }
.mt { margin-top: 22px; }
.ic { flex: none; }
.hint { color: var(--mute); font-size: 12.5px; margin-top: 10px; }

/* ---------- 브랜드 ---------- */
.brand { display: flex; align-items: center; gap: 11px; padding: 4px 6px 18px; }
.brand b { display: block; font-size: 15px; font-weight: 750; letter-spacing: -.01em; color: #fff; }
.brand span { font-size: 11.5px; color: var(--mint); letter-spacing: .02em; }
.brand-mark { position: relative; width: 34px; height: 34px; flex: none; display: inline-block; }
.brand-mark i { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.brand-mark i:nth-child(1) { width: 20px; height: 20px; left: 0; top: 2px; background: var(--mint); }
.brand-mark i:nth-child(2) { width: 15px; height: 15px; right: 0; top: 5px; background: #F2B84B; }
.brand-mark i:nth-child(3) { width: 17px; height: 17px; left: 9px; bottom: 0; background: #F07A9C; }
.brand-mark.big { transform: scale(1.9); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(2.05); opacity: .8; } }
.splash { min-height: 100vh; display: grid; place-items: center; background: var(--deep); color: #fff; text-align: center; }

/* ---------- 버튼·입력 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 13.5px; color: var(--ink); white-space: nowrap; transition: background .12s, border-color .12s; }
.btn:hover { border-color: #C5CFD3; background: var(--sunk); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-2); border-color: var(--brand-2); }
.btn.danger { color: var(--err); }
.btn.sm { height: 30px; padding: 0 10px; font-size: 12.5px; }
.btn.block { width: 100%; height: 44px; font-size: 15px; }
.btn:disabled { opacity: .55; cursor: default; }
.icon-btn { width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: var(--r-sm); color: var(--ink2); }
.icon-btn:hover { background: rgba(21, 32, 40, .07); color: var(--ink); }
.icon-btn.sm { width: 26px; height: 26px; }
.icon-btn.ghost { color: #A9B4BC; }
.icon-btn.ghost:hover { color: var(--err); background: #FBECEB; }
.link { color: var(--brand); font-weight: 600; font-size: 12.5px; }
.link:hover { text-decoration: underline; }
.link.danger { color: var(--err); }
.inp { width: 100%; height: 38px; padding: 0 11px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); outline: none; }
textarea.inp { height: auto; padding: 9px 11px; resize: vertical; line-height: 1.55; }
.inp:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15, 110, 107, .14); }
.inp.lg { height: 44px; font-size: 16px; font-weight: 600; }
.inp.sm { height: 30px; padding: 0 7px; font-size: 12.5px; width: auto; }
.field { display: block; margin-bottom: 14px; }
.field-l { display: block; font-size: 12.5px; font-weight: 650; color: var(--ink2); margin-bottom: 6px; }
.field-h { display: block; font-size: 12px; color: var(--mute); margin-top: 5px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.timepair { display: flex; align-items: center; gap: 6px; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink2); margin-bottom: 14px; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--brand); }
.ppick { display: flex; flex-wrap: wrap; gap: 6px; }
.pchip { height: 30px; padding: 0 11px; border-radius: 99px; border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--ink2); background: var(--surface); }
.pchip.on { color: #fff; }
.swatches { display: flex; gap: 8px; }
.sw { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.sw.on { box-shadow: 0 0 0 2px var(--ink); }
input[type=range] { width: 100%; accent-color: var(--brand); }

.live { width: 100%; border: 1px solid transparent; background: transparent; border-radius: 6px; padding: 5px 7px; outline: none; resize: none; line-height: 1.55; overflow: hidden; display: block; }
.live:hover { background: var(--sunk); }
.live:focus { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15, 110, 107, .12); }
.live::placeholder { color: #A7B2BA; }

.av { display: inline-grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 700; flex: none; box-shadow: 0 0 0 2px #fff; line-height: 1; }
.av.ghost { background: var(--line2); color: #A0ABB4; box-shadow: none; }
.avs { display: inline-flex; }
.avs .av + .av { margin-left: -6px; }

.badge { display: inline-block; padding: 2px 8px; border-radius: 99px; font-size: 11.5px; font-weight: 650; background: var(--line2); color: var(--ink2); margin-right: 4px; white-space: nowrap; }
.b-approved { background: #E2F4EC; color: #14724A; } .b-pending { background: #FDF0D8; color: #8A5A08; } .b-rejected, .b-disabled { background: #F9E3E1; color: #9C2A24; } .b-warn { background: #FCE4EC; color: #A32456; }
.a-login { background: #E2F4EC; color: #14724A; } .a-visit { background: #E4EEF9; color: #23558F; } .a-signup, .a-approve, .a-role { background: #FDF0D8; color: #8A5A08; } .a-password { background: #EEE8FB; color: #5A3FB0; }
.empty { padding: 22px 14px; text-align: center; color: var(--mute); font-size: 13px; border: 1px dashed var(--line); border-radius: var(--r); background: var(--sunk); }
.empty.sm { padding: 12px; font-size: 12px; }

/* ---------- 모달·알림 ---------- */
.scrim { position: fixed; inset: 0; background: rgba(16, 28, 32, .46); display: grid; place-items: center; z-index: 60; padding: 16px; animation: fade .14s; }
.modal { width: min(520px, 100%); max-height: calc(100vh - 32px); background: var(--surface); border-radius: var(--r-lg); display: flex; flex-direction: column; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45); animation: pop .16s; }
.modal.wide { width: min(860px, 100%); }
.modal header { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 6px 22px; }
.modal h3 { font-size: 17px; font-weight: 720; }
.modal-body { padding: 12px 22px 6px; overflow: auto; }
.modal footer { display: flex; gap: 8px; align-items: center; padding: 14px 22px 18px; flex-wrap: wrap; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { transform: translateY(8px) scale(.985); opacity: 0; } }
.toasts { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 80; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { pointer-events: auto; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; font-size: 13.5px; display: flex; gap: 12px; align-items: center; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); animation: pop .16s; max-width: 92vw; }
.toast.err { background: var(--err); }
.toast button { color: var(--mint); font-weight: 700; white-space: nowrap; }

/* ---------- 로그인 ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); background: var(--surface); }
.auth-side { background: var(--deep); color: #fff; padding: 44px 52px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.auth-side::after { content: ''; position: absolute; right: -120px; bottom: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(127, 214, 194, .34), rgba(127, 214, 194, 0) 62%); }
.auth-side::before { content: ''; position: absolute; right: 90px; bottom: 150px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, rgba(240, 122, 156, .30), rgba(240, 122, 156, 0) 65%); }
.auth-side h1 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.22; font-weight: 760; letter-spacing: -.025em; margin-top: auto; }
.auth-side ul { list-style: none; padding: 0; margin: 30px 0 8px; display: flex; gap: 22px; flex-wrap: wrap; color: var(--mint); font-weight: 600; font-size: 14px; position: relative; z-index: 1; }
.auth-form { padding: 44px clamp(28px, 6vw, 72px); display: flex; flex-direction: column; justify-content: center; max-width: 520px; width: 100%; }
.auth-form h2 { font-size: 24px; font-weight: 750; margin-bottom: 20px; letter-spacing: -.015em; }
.auth-p { color: var(--ink2); margin: -12px 0 18px; }
.auth-err { color: var(--err); font-size: 13px; margin: 0 0 12px; font-weight: 600; }
.auth-links { display: flex; justify-content: space-between; margin-top: 16px; }
.demo-note { margin-top: 22px; font-size: 12.5px; color: var(--ink2); background: #FDF5E4; border-radius: 8px; padding: 10px 12px; }
.gate { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: var(--canvas); }
.gate.inpage { min-height: 50vh; background: none; }
.gate-card { width: min(440px, 100%); background: var(--surface); border-radius: var(--r-lg); padding: 34px 32px; text-align: center; box-shadow: var(--sh); display: flex; flex-direction: column; gap: 12px; align-items: center; }
.gate-card.left { text-align: left; align-items: stretch; }
.gate-card h2 { font-size: 20px; font-weight: 740; }
.gate-card p { color: var(--ink2); }
.gate-ic { width: 54px; height: 54px; border-radius: 50%; background: #E3F2EF; color: var(--brand); display: grid; place-items: center; }
.pwform { display: flex; flex-direction: column; max-width: 380px; }
.pwform .btn { align-self: flex-start; }

/* ---------- 틀 ---------- */
.shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100vh; }
.side { background: var(--deep); color: #CFE3DE; padding: 18px 12px 12px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.nav { display: flex; align-items: center; gap: 11px; height: 38px; padding: 0 11px; border-radius: 9px; font-weight: 600; font-size: 13.5px; color: #B9D2CC; margin-bottom: 2px; }
.nav:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.nav.on { background: #fff; color: var(--deep); }
.nav em { margin-left: auto; background: var(--accent); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; border-radius: 99px; padding: 1px 7px; }
.side-links { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); }
.side-links h4 { font-size: 11.5px; font-weight: 650; color: #8FB3AB; padding: 0 10px 8px; }
.side-links a { display: flex; gap: 10px; padding: 7px 10px; border-radius: 9px; align-items: flex-start; }
.side-links a:hover { background: rgba(255, 255, 255, .08); }
.side-links i { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; flex: none; }
.side-links b { display: block; font-size: 12.5px; color: #fff; font-weight: 650; }
.side-links span { display: block; font-size: 11.5px; color: #9DBDB5; line-height: 1.35; }
.side-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; gap: 6px; }
.side-foot .me { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; padding: 6px; border-radius: 9px; }
.side-foot .me:hover { background: rgba(255, 255, 255, .08); }
.side-foot .av { box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); background: var(--mint) !important; color: var(--deep); }
.side-foot b { display: block; font-size: 13px; color: #fff; } .side-foot span { display: block; font-size: 11.5px; color: #9DBDB5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-foot .icon-btn { color: #B9D2CC; } .side-foot .icon-btn:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.main { min-width: 0; display: flex; flex-direction: column; }
.top { display: flex; align-items: center; gap: 14px; padding: 14px 26px; position: sticky; top: 0; z-index: 20; background: rgba(241, 244, 243, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-t { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.top h1 { font-size: 20px; font-weight: 760; letter-spacing: -.02em; white-space: nowrap; }
.top-t span { color: var(--mute); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.presence { display: flex; align-items: center; } .presence .av + .av { margin-left: -6px; } .presence span { font-size: 12px; color: var(--mute); margin-left: 8px; }
.savebox { display: flex; align-items: center; gap: 10px; }
.save-st { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--mute); white-space: nowrap; }
.save-st i { width: 7px; height: 7px; border-radius: 50%; background: #B4BEC6; }
.save-st.ok i { background: var(--ok); } .save-st.busy i { background: var(--amber); animation: blink 1s infinite; } .save-st.err { color: var(--err); } .save-st.err i { background: var(--err); } .save-st.warn i { background: var(--amber); }
@keyframes blink { 50% { opacity: .3; } }
.demo-bar { background: #FDF0D8; color: #7A4F06; font-size: 12.5px; padding: 7px 26px; font-weight: 600; }
.view { padding: 22px 26px 60px; flex: 1; }
.tabbar { display: none; }
.card { background: var(--surface); border-radius: var(--r-lg); padding: 18px 20px; box-shadow: var(--sh); }
.card-h { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.card-h h3, .pane h3, .palette h3, .pl-info h3, .pl-table h3, .kcol h3 { font-size: 15px; font-weight: 720; letter-spacing: -.01em; }
.count { background: var(--line2); color: var(--ink2); border-radius: 99px; font-size: 12px; font-weight: 700; padding: 1px 8px; }
.narrow { max-width: 620px; display: flex; flex-direction: column; gap: 16px; }
.acct { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; } .acct b { display: block; font-size: 16px; } .acct span { color: var(--mute); font-size: 13px; }

/* ---------- 홈 ---------- */
.home { display: flex; flex-direction: column; gap: 18px; max-width: 1400px; }
.rail-card { background: var(--deep); color: #fff; border-radius: 20px; padding: 22px 26px 24px; position: relative; overflow: hidden; }
.rail-h { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.rail-h h2 { font-size: 26px; font-weight: 780; letter-spacing: -.025em; }
.rail-h > span { color: var(--mint); font-weight: 600; }
.rail-note { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; background: rgba(242, 184, 75, .16); color: #F5CE83; padding: 6px 12px; border-radius: 99px; font-size: 12.5px; font-weight: 650; }
.rail-note:hover { background: rgba(242, 184, 75, .26); }
.rail { position: relative; margin-top: 8px; }
.rail-tick { position: absolute; top: 0; bottom: 0; border-left: 1px dashed rgba(255, 255, 255, .13); }
.rail-tick span { position: absolute; top: 0; left: 6px; font-size: 11.5px; color: #8FB3AB; font-weight: 600; }
.rail-now { position: absolute; top: 22px; bottom: 0; width: 2px; background: #F07A9C; z-index: 3; box-shadow: 0 0 0 4px rgba(240, 122, 156, .18); }
.rail-seg { position: absolute; height: 84px; min-width: 92px; border-radius: 13px; background: color-mix(in srgb, var(--c) 82%, #10312F); border: 1px solid color-mix(in srgb, var(--c) 60%, #fff); color: #fff; text-align: left; padding: 9px 12px; display: flex; flex-direction: column; gap: 1px; overflow: hidden; min-width: 0; transition: transform .14s; }
.rail-seg:hover { transform: translateY(-2px); }
.rail-seg small { font-size: 11.5px; opacity: .85; font-weight: 600; white-space: nowrap; }
.rail-seg b { font-size: 14.5px; font-weight: 720; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.01em; }
.rail-seg .seg-p { font-size: 11.5px; opacity: .85; display: flex; gap: 3px; align-items: center; white-space: nowrap; overflow: hidden; }
.rail-seg .avs { margin-top: auto; } .rail-seg .av { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .7); }
.rail-seg.past { opacity: .5; } .rail-seg.live { box-shadow: 0 0 0 3px rgba(240, 122, 156, .55); }
.rail-empty { position: absolute; inset: 30px 0 0; display: grid; place-items: center; color: #8FB3AB; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.alist { list-style: none; margin: 0; padding: 0; counter-reset: a; }
.alist li { display: flex; gap: 11px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line2); counter-increment: a; }
.alist li:first-child { border-top: 0; }
.alist li > div { flex: 1; min-width: 0; }
.alist b { font-weight: 650; font-size: 14px; } .alist b::before { content: counter(a) '. '; color: var(--mute); font-weight: 600; }
.alist p { color: var(--mute); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.alist li.done b { text-decoration: line-through; color: var(--mute); }
.cbx { width: 20px; height: 20px; border-radius: 6px; border: 1.6px solid #B7C2C9; flex: none; display: grid; place-items: center; margin-top: 1px; background: #fff; color: #fff; }
.cbx:hover { border-color: var(--brand); } .cbx.on { background: var(--brand); border-color: var(--brand); }
.wk-day { display: grid; grid-template-columns: 62px 1fr; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line2); }
.wk-day:first-child { border-top: 0; }
.wk-d b { font-size: 14px; } .wk-d span { color: var(--mute); font-size: 12px; margin-left: 5px; }
.wk-day.today .wk-d b { color: #fff; background: var(--accent); border-radius: 6px; padding: 1px 6px; }
.wk-day.past { opacity: .55; }
.wk-e { display: flex; gap: 8px; font-size: 13px; padding: 1px 0 1px 9px; border-left: 3px solid var(--c); margin-bottom: 4px; }
.wk-e time { color: var(--mute); font-size: 12.5px; flex: none; } .wk-e span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wk-none { color: #B6C0C7; }
.prog { height: 6px; background: var(--line2); border-radius: 99px; overflow: hidden; } .prog i { display: block; height: 100%; background: var(--ok); border-radius: 99px; transition: width .4s; }
.prog-l { font-size: 12px; color: var(--mute); margin: 6px 0 8px; }
.prev-act { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line2); align-items: flex-start; }
.prev-act span { display: block; font-size: 13.5px; font-weight: 550; } .prev-act small { color: var(--mute); font-size: 12px; } .prev-act em, .kmeta em, .pl-next em { font-style: normal; font-weight: 700; color: var(--ink2); } em.late, .late { color: var(--err) !important; } em.soon { color: var(--amber) !important; }
.plmini { display: flex; gap: 14px; align-items: center; } .plmini .dd { font-size: 26px; font-weight: 800; color: var(--brand); letter-spacing: -.03em; } .plmini strong { display: block; font-size: 15px; } .plmini span { display: block; font-size: 13px; color: var(--ink2); }
.sites { margin-top: 6px; }
.site-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.site { display: flex; gap: 13px; align-items: flex-start; background: var(--surface); border-radius: 14px; padding: 14px 16px; border: 1px solid var(--line); transition: border-color .12s, transform .12s; }
.site:hover { border-color: var(--brand); transform: translateY(-1px); }
.site > div { flex: 1; min-width: 0; } .site b { display: block; font-size: 14.5px; font-weight: 700; } .site small { color: var(--brand); font-size: 12px; font-weight: 600; } .site p { color: var(--ink2); font-size: 12.5px; margin-top: 4px; line-height: 1.45; }
.site > .ic { color: #B4BEC6; margin-top: 3px; } .site:hover > .ic { color: var(--brand); }
.site-mark { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; flex: none; letter-spacing: -.02em; }
.linkrow, .deptrow { display: grid; grid-template-columns: 150px 1fr 26px; gap: 8px; margin-bottom: 10px; align-items: center; }
.linkrow .wide { grid-column: 1 / 3; } .deptrow { grid-template-columns: 1fr 1fr 26px 26px 26px; }

/* ---------- 캘린더 ---------- */
.cal-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 232px; gap: 18px; align-items: start; }
.cal-bar, .meet-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.weeknav { display: flex; align-items: center; gap: 4px; }
.weeknav-t { display: flex; flex-direction: column; line-height: 1.25; min-width: 96px; text-align: center; } .weeknav-t strong { font-size: 15px; font-weight: 720; } .weeknav-t span { font-size: 11.5px; color: var(--mute); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { height: 30px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-size: 12.5px; font-weight: 600; color: var(--ink2); display: inline-flex; align-items: center; gap: 6px; }
.chip i { width: 8px; height: 8px; border-radius: 50%; } .chip.on { background: var(--ink); border-color: var(--ink); color: #fff; } .chip.on i { background: #fff !important; }
.cal { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh); overflow: auto; max-height: calc(100vh - 210px); position: relative; }
.cal-inner { min-width: 760px; }
.cal-head { display: grid; grid-template-columns: 54px repeat(7, minmax(0, 1fr)); position: sticky; top: 0; z-index: 6; background: var(--surface); border-bottom: 1px solid var(--line); }
.cal-dh { padding: 10px 0 9px; text-align: center; border-left: 1px solid var(--line2); } .cal-dh span { font-size: 12px; color: var(--mute); font-weight: 600; margin-right: 6px; } .cal-dh b { font-size: 17px; font-weight: 720; }
.cal-dh.weekend span, .cal-dh.weekend b { color: #9AA6AF; }
.cal-dh.today b { background: var(--accent); color: #fff; border-radius: 8px; padding: 1px 8px; } .cal-dh.today span { color: var(--accent); }
.cal-body { display: grid; grid-template-columns: 54px minmax(0, 1fr); position: relative; }
.cal-hr { position: relative; } .cal-hr span { position: absolute; top: -8px; right: 8px; font-size: 11px; color: var(--mute); background: var(--surface); padding: 0 2px; }
.cal-hr:first-child span { top: 2px; }
.cal-cols { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); background-image: linear-gradient(to bottom, var(--line2) 1px, transparent 1px); }
.cal-col { position: relative; border-left: 1px solid var(--line2); touch-action: pan-y; }
.cal-col.weekend { background: rgba(241, 244, 243, .55); } .cal-col.today { background: rgba(217, 58, 114, .035); }
.blk { position: absolute; border-radius: 8px; background: color-mix(in srgb, var(--c) 13%, #fff); border: 1px solid color-mix(in srgb, var(--c) 34%, #fff); border-left: 4px solid var(--c); padding: 4px 7px 3px; overflow: hidden; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; transition: box-shadow .12s; z-index: 1; }
.blk:hover { box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--c) 70%, #000); z-index: 3; }
.blk.moving, .blk.preview { box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--c) 80%, #000); z-index: 5; opacity: .93; cursor: grabbing; }
.blk.preview { border-style: dashed; pointer-events: none; }
.blk-t { word-break: keep-all; overflow-wrap: anywhere; font-size: 12.5px; font-weight: 700; line-height: 1.3; color: color-mix(in srgb, var(--c) 72%, #000); display: flex; gap: 4px; align-items: center; overflow: hidden; } .blk-t .ic { opacity: .7; flex: none; align-self: flex-start; margin-top: 3px; }
.blk.small { padding-top: 1px; } .blk.small .blk-t { white-space: nowrap; font-size: 11.5px; }
.blk-m { font-size: 11px; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .blk-n { font-size: 11px; color: var(--mute); line-height: 1.35; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blk-o { position: absolute; right: 5px; bottom: 5px; } .blk-rs { position: absolute; left: 0; right: 0; bottom: 0; height: 7px; cursor: ns-resize; }
.blk.is-pl { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--c) 15%, #fff) 0 8px, color-mix(in srgb, var(--c) 8%, #fff) 8px 16px); }
.blk.is-moved { border-left-style: double; }
.nowline { position: absolute; left: 0; right: 0; height: 2px; background: var(--accent); z-index: 4; pointer-events: none; } .nowline i { position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.palette { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh); padding: 16px; position: sticky; top: 76px; }
.palette-h { display: flex; align-items: center; justify-content: space-between; }
.palette .hint { margin: 2px 0 12px; }
.tpl { display: flex; gap: 8px; align-items: center; padding: 9px 10px; border-radius: 9px; background: color-mix(in srgb, var(--c) 10%, #fff); border: 1px solid color-mix(in srgb, var(--c) 28%, #fff); border-left: 4px solid var(--c); margin-bottom: 7px; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.tpl:hover { box-shadow: 0 6px 14px -8px color-mix(in srgb, var(--c) 70%, #000); } .tpl .ic { color: #A9B4BC; }
.tpl b { display: block; font-size: 12.5px; font-weight: 680; line-height: 1.3; } .tpl span { font-size: 11px; color: var(--mute); }
.tpl-ghost { position: fixed; z-index: 90; pointer-events: none; color: #fff; font-weight: 700; font-size: 12.5px; padding: 7px 11px; border-radius: 8px; box-shadow: 0 12px 26px -8px rgba(0, 0, 0, .45); }
.legend { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 5px; font-size: 12.5px; color: var(--ink2); } .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; }

/* ---------- 미팅 노트 ---------- */
.seg { display: inline-flex; background: #E4E9EA; border-radius: 10px; padding: 3px; }
.seg button { height: 32px; padding: 0 14px; border-radius: 8px; font-weight: 650; font-size: 13px; color: var(--ink2); display: inline-flex; gap: 7px; align-items: center; white-space: nowrap; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.seg small { font-size: 11.5px; color: var(--mute); font-weight: 600; } .seg em { background: var(--accent); color: #fff; font-style: normal; font-size: 11px; border-radius: 99px; padding: 0 6px; }
.meet-grid { display: grid; grid-template-columns: minmax(230px, .8fr) minmax(0, 1.75fr) minmax(280px, 1fr); gap: 16px; align-items: start; }
.pane { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh); padding: 18px; min-width: 0; }
.pane h3 { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; } .pane h3 small { font-size: 12px; color: var(--mute); font-weight: 550; }
.pane.prev { background: #F8FAF9; box-shadow: none; border: 1px solid var(--line); }
.sub { margin-bottom: 16px; } .sub h4 { font-size: 12.5px; font-weight: 700; color: var(--ink2); margin-bottom: 4px; } .sub h4 b { color: var(--accent); }
.prev-ag { border-top: 1px solid var(--line); padding: 7px 0; } .prev-ag summary { cursor: pointer; font-size: 13px; font-weight: 600; list-style: none; display: flex; gap: 7px; align-items: baseline; } .prev-ag summary::-webkit-details-marker { display: none; }
.prev-ag p, .prev-memo { white-space: pre-wrap; font-size: 12.5px; color: var(--ink2); margin: 6px 0 6px 14px; line-height: 1.55; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #C3CCD2; flex: none; position: relative; top: -1px; } .dot.ok { background: var(--ok); }
.prev-dec { display: flex; gap: 7px; font-size: 13px; padding: 4px 0; align-items: baseline; color: var(--ink2); } .prev-dec .ic { color: var(--amber); position: relative; top: 2px; }
.agenda { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; background: var(--surface); }
.agenda.done { background: var(--sunk); } .agenda.done .agenda-t { color: var(--mute); text-decoration: line-through; }
.agenda-h { display: flex; align-items: center; gap: 6px; padding: 7px 8px 7px 4px; }
.agenda-n { width: 24px; height: 24px; border-radius: 7px; background: var(--deep); color: #fff; font-weight: 700; font-size: 12.5px; display: grid; place-items: center; flex: none; }
.agenda-t { font-weight: 680; font-size: 15px; flex: 1; }
.agenda-b { padding: 0 12px 10px 40px; } .agenda-b .live { font-size: 13.5px; color: var(--ink2); background: var(--sunk); min-height: 52px; }
.agenda-f { display: flex; gap: 14px; align-items: center; margin-top: 7px; } .agenda-f span { color: var(--mute); font-size: 11.5px; flex: 1; }
.grip { width: 22px; height: 28px; display: grid; place-items: center; color: #B4BEC6; cursor: grab; touch-action: none; flex: none; border-radius: 5px; } .grip:hover { color: var(--ink2); background: var(--line2); }
.tick { width: 28px; height: 28px; border-radius: 50%; border: 1.6px solid #B7C2C9; display: grid; place-items: center; color: transparent; flex: none; } .tick:hover { border-color: var(--ok); color: var(--ok); } .tick.on { background: var(--ok); border-color: var(--ok); color: #fff; }
.chev { display: inline-flex; transition: transform .15s; } .chev.open { transform: rotate(180deg); }
.ownsel { position: relative; display: inline-flex; flex: none; cursor: pointer; } .ownsel select { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.addrow { display: flex; align-items: center; gap: 8px; border: 1px dashed #C5CFD3; border-radius: 12px; padding: 5px 6px 5px 12px; color: var(--mute); } .addrow input { flex: 1; border: 0; outline: 0; background: none; height: 32px; min-width: 0; } .addrow:focus-within { border-color: var(--brand); border-style: solid; }
.memo { background: #FFFDF6; border: 1px solid #EFE6CB; min-height: 150px; font-size: 14px; padding: 12px 14px; border-radius: 12px; } .memo:hover { background: #FFFDF6; }
.arow { display: flex; align-items: center; gap: 6px; padding: 4px 0; border-bottom: 1px solid var(--line2); } .arow-m { flex: 1; min-width: 0; } .arow .live { font-size: 13.5px; font-weight: 550; padding: 4px 6px; }
.arow.done .live { text-decoration: line-through; color: var(--mute); } .arow-s { font-size: 11.5px; color: var(--mute); padding-left: 6px; }
.arow.dec { background: #FFF9EA; border-radius: 8px; border-bottom-color: transparent; padding-left: 4px; margin: 3px 0; } .decmark { color: var(--amber); width: 20px; display: grid; place-items: center; flex: none; }
.due { border: 0; background: none; font-size: 12px; color: var(--ink2); width: 104px; padding: 2px; border-radius: 5px; flex: none; } .due:hover { background: var(--line2); }
.addbtns { display: flex; gap: 8px; align-items: center; margin-top: 12px; }
.drag-ghost { position: fixed; z-index: 95; pointer-events: none; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .4); opacity: .96; background: #fff; margin: 0 !important; }
.drag-src { opacity: .3; } .drop-line { position: fixed; height: 3px; background: var(--brand); border-radius: 3px; z-index: 94; pointer-events: none; display: none; }

/* ---------- 액션 보드 ---------- */
.kanban { display: grid; grid-template-columns: repeat(4, minmax(240px, 1fr)); gap: 14px; align-items: start; overflow-x: auto; padding-bottom: 8px; }
.kcol { background: #E8EDEC; border-radius: 16px; padding: 12px 10px 10px; min-height: 300px; }
.kcol h3 { display: flex; align-items: center; gap: 8px; padding: 0 6px 10px; } .kcol h3 b { font-size: 12px; background: rgba(21, 32, 40, .1); border-radius: 99px; padding: 0 8px; font-weight: 700; }
.kcol h3::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #9AA6AF; } .k-doing h3::before { background: #2F6FED; } .k-done h3::before { background: var(--ok); } .k-hold h3::before { background: var(--amber); }
.kzone { min-height: 220px; border-radius: 12px; transition: background .12s; padding: 2px; } .zone-over { background: rgba(15, 110, 107, .09); }
.kcard { background: var(--surface); border-radius: 12px; padding: 9px 10px 7px; margin-bottom: 8px; box-shadow: 0 1px 2px rgba(16, 49, 47, .08); cursor: grab; touch-action: pan-y; border: 1px solid transparent; }
.kcard:hover { border-color: #C5CFD3; } .kcard .live { font-weight: 620; font-size: 13.5px; padding: 3px 5px; } .kcard.is-agenda { border-left: 3px solid var(--deep); }
.k-done .kcard .live { color: var(--mute); text-decoration: line-through; }
.kmeta { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--mute); padding: 2px 5px; } .kfoot { display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.kempty { border: 1.5px dashed #C3CCD0; border-radius: 12px; padding: 22px 8px; text-align: center; color: #94A1AA; font-size: 12.5px; }

/* ---------- PL ---------- */
.plv { display: flex; flex-direction: column; gap: 16px; max-width: 1400px; }
.pl-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; }
.pl-next { background: var(--deep); color: #fff; border-radius: 20px; padding: 24px 26px; display: flex; gap: 26px; align-items: center; }
.pl-next-d b { display: block; font-size: 52px; font-weight: 820; letter-spacing: -.04em; line-height: 1; color: var(--mint); } .pl-next-d span { font-size: 12.5px; color: #9DBDB5; font-weight: 600; }
.pl-next h2 { font-size: 22px; font-weight: 760; letter-spacing: -.02em; }
.pl-proj { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 10px; } .pl-proj span { background: rgba(255, 255, 255, .13); padding: 3px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 650; }
.pl-next dl { margin: 0 0 12px; display: grid; gap: 3px; font-size: 13px; } .pl-next dl div { display: flex; gap: 10px; } .pl-next dt { color: #9DBDB5; width: 64px; flex: none; } .pl-next dd { margin: 0; } .pl-next em { color: #F5CE83; margin-left: 6px; }
.pl-next .btn { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #fff; } .pl-next .empty { background: transparent; color: #9DBDB5; border-color: rgba(255, 255, 255, .2); flex: 1; }
.pl-info { background: var(--surface); border-radius: 20px; padding: 18px 20px; box-shadow: var(--sh); } .pl-info h3 { margin-bottom: 8px; }
.pl-info label { display: grid; grid-template-columns: 70px 1fr; align-items: center; border-top: 1px solid var(--line2); padding: 3px 0; } .pl-info label > span { font-size: 12.5px; color: var(--mute); font-weight: 600; } .pl-info .live { font-size: 13.5px; font-weight: 550; }
.pl-strip { display: flex; gap: 0; overflow-x: auto; padding: 4px 2px 8px; }
.pl-stop { flex: 1; min-width: 170px; padding: 14px 14px 0 0; position: relative; border-top: 2px solid #C9D3D6; margin-top: 8px; }
.pl-stop i { position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid #9AA6AF; }
.pl-stop b { font-size: 14px; font-weight: 720; margin-right: 6px; } .pl-stop span { color: var(--mute); font-size: 12.5px; } .pl-stop p { font-size: 12.5px; color: var(--ink2); margin-top: 2px; line-height: 1.4; }
.pl-stop.past { opacity: .5; } .pl-stop.next { border-top-color: var(--accent); } .pl-stop.next i { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 5px rgba(217, 58, 114, .16); } .pl-stop.next b { color: var(--accent); }
.pl-table { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh); padding: 16px 18px; } .pl-table-h { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.tbl-scroll { overflow-x: auto; } .tbl-scroll.tall { max-height: 62vh; overflow-y: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; font-size: 12px; font-weight: 650; color: var(--mute); padding: 8px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; position: sticky; top: 0; background: var(--surface); z-index: 1; }
.tbl td { padding: 5px 8px; border-bottom: 1px solid var(--line2); vertical-align: middle; }
.tbl tr.past td { opacity: .5; } .tbl tr.next td { background: #FDF3F7; } .tbl tr.next td:first-child { box-shadow: inset 3px 0 0 var(--accent); } .tbl tr.hl td { background: #FFF9EA; }
.tbl .num { color: var(--mute); font-weight: 700; width: 34px; } .tbl .live { font-weight: 550; } .w-proj { min-width: 220px; } .w-proj .live { font-weight: 680; } .w-grp { width: 64px; } .w-pre { min-width: 130px; } .w-note { min-width: 190px; }
.tbl .dow { color: var(--mute); margin-left: 5px; font-size: 12px; } .tbl .actions { white-space: nowrap; text-align: right; } .tbl .actions .btn { margin-left: 4px; }
.ucell { display: flex; gap: 10px; align-items: center; } .ucell b { display: block; } .ucell span { font-size: 12px; color: var(--mute); }

/* ---------- 로드맵 ---------- */
.gantt { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh); overflow: auto; max-height: calc(100vh - 200px); }
.g-head { display: flex; position: sticky; top: 0; z-index: 8; background: var(--surface); border-bottom: 1px solid var(--line); }
.g-side { width: 190px; flex: none; position: sticky; left: 0; z-index: 7; background: var(--surface); border-right: 1px solid var(--line); padding: 10px 8px 10px 16px; font-size: 12px; color: var(--mute); font-weight: 650; }
.g-head .g-side { z-index: 9; }
.g-row .g-side { display: flex; flex-direction: column; justify-content: center; position: sticky; } .g-row .g-side b { font-size: 13.5px; color: var(--ink); font-weight: 720; } .g-row .g-side span { font-size: 11.5px; font-weight: 550; }
.g-row .g-side .icon-btn { position: absolute; right: 6px; top: 6px; opacity: 0; } .g-row:hover .g-side .icon-btn { opacity: 1; color: var(--brand); background: #E3F2EF; }
.g-months { display: flex; } .g-month { flex: none; padding: 6px 0 7px 7px; font-size: 12px; color: var(--ink2); font-weight: 600; border-left: 1px solid var(--line2); position: relative; white-space: nowrap; overflow: hidden; } .g-month b { margin-right: 5px; color: var(--ink); } .g-month.jan { border-left-color: #B7C2C9; }
.g-row { display: flex; border-bottom: 1px solid var(--line2); } .g-row:nth-child(odd) .g-track { background-color: rgba(241, 244, 243, .45); }
.g-track { position: relative; flex: 1; } .g-mline { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line2); } .g-mline.jan { background: #C9D3D6; }
.g-today { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--accent); z-index: 2; opacity: .85; }
.g-bar { position: absolute; height: 23px; border-radius: 7px; background: color-mix(in srgb, var(--c) 22%, #fff); border: 1px solid color-mix(in srgb, var(--c) 55%, #fff); cursor: grab; touch-action: none; overflow: hidden; z-index: 3; user-select: none; -webkit-user-select: none; }
.g-bar:hover, .g-bar.moving { box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--c) 80%, #000); } .g-bar.late { border-color: var(--err); }
.g-prog { position: absolute; left: 0; top: 0; bottom: 0; background: color-mix(in srgb, var(--c) 62%, #fff); }
.g-lbl { position: relative; font-size: 12px; font-weight: 680; padding: 0 9px; line-height: 21px; white-space: nowrap; color: color-mix(in srgb, var(--c) 55%, #000); } .g-lbl em { font-style: normal; font-weight: 600; margin-left: 6px; opacity: .75; }
.g-h { position: absolute; top: 0; bottom: 0; width: 7px; cursor: ew-resize; } .g-h.l { left: 0; } .g-h.r { right: 0; }
.g-ms { position: absolute; top: 4px; display: flex; align-items: center; gap: 5px; transform: translateX(-6px); z-index: 4; white-space: nowrap; }
.g-ms i { width: 11px; height: 11px; background: var(--c, var(--accent)); transform: rotate(45deg); border-radius: 2px; flex: none; } .g-ms span { font-size: 11.5px; font-weight: 680; color: var(--ink2); background: rgba(255, 255, 255, .85); padding: 0 3px; border-radius: 4px; }
.g-ms.pl i { background: #fff; border: 2.5px solid var(--deep); } .g-ms.past { opacity: .45; }
.g-empty { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 12px; color: #A9B4BC; position: sticky; left: 204px; display: inline-block; margin-top: 18px; }

/* ---------- 관리자 ---------- */
.admin { display: flex; flex-direction: column; gap: 14px; max-width: 1300px; } .lgseg { align-self: flex-start; }
.data-card { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; } .data-card h3 { font-size: 15px; margin-bottom: 4px; } .data-card p { color: var(--ink2); font-size: 13px; margin-bottom: 12px; }

/* ---------- 좁은 화면 ---------- */
@media (max-width: 1180px) {
  .meet-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } .pane.prev { grid-column: 1 / -1; order: 3; }
  .cal-wrap { grid-template-columns: 1fr; } .palette { position: static; } .tpls { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 8px; }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; } .side { display: none; }
  .top { padding: 10px 14px; gap: 8px; } .top h1 { font-size: 17px; } .top-t span, .presence span { display: none; } .save-st { font-size: 0; gap: 0; } .save-st i { width: 9px; height: 9px; }
  .view { padding: 14px 12px 96px; } .demo-bar { padding: 7px 14px; }
  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--deep); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); overflow-x: auto; }
  .tabbar a { flex: 1; min-width: 58px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10.5px; color: #9DBDB5; padding: 5px 2px; border-radius: 9px; font-weight: 600; white-space: nowrap; } .tabbar a.on { color: #fff; background: rgba(255, 255, 255, .12); }
  .home-grid, .pl-top, .meet-grid, .row2, .data-card { grid-template-columns: 1fr; }
  .rail-card { padding: 18px 16px; border-radius: 16px; } .rail-h h2 { font-size: 21px; } .rail-note { margin-left: 0; } .rail { overflow-x: auto; } .rail-seg b { font-size: 13px; }
  .pl-next { flex-direction: column; align-items: flex-start; gap: 12px; } .pl-next-d b { font-size: 38px; }
  .auth { grid-template-columns: 1fr; } .auth-side { padding: 26px 24px; min-height: 220px; } .auth-side h1 { font-size: 26px; margin-top: 26px; } .auth-side ul { margin: 16px 0 0; gap: 14px; font-size: 12.5px; } .auth-form { padding: 28px 24px 48px; }
  .cal { max-height: none; } .kanban { grid-template-columns: repeat(4, 78vw); } .agenda-b { padding-left: 12px; } .toasts { bottom: 86px; }
  .due { width: 92px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
@media print { .side, .top, .tabbar, .palette, .cal-bar, .meet-bar .btn { display: none !important; } .shell { display: block; } .view { padding: 0; } .card, .pane { box-shadow: none; border: 1px solid #ccc; } }

/* ---------- 조직도 ---------- */
.org { max-width: 1500px; }
.org-top { display: flex; gap: 20px; align-items: flex-start; justify-content: center; position: relative; margin-bottom: 8px; }
.org-exec { display: flex; flex-direction: column; align-items: center; position: relative; flex: 1; }
.org-node { background: var(--surface); border-radius: 14px; padding: 12px 34px; text-align: center; box-shadow: var(--sh); min-width: 250px; } .org-node small { display: block; font-size: 11.5px; color: var(--mute); font-weight: 650; } .org-node b { font-size: 19px; font-weight: 780; letter-spacing: .12em; }
.org-node.ceo { background: var(--deep); } .org-node.ceo b { color: #fff; } .org-node.ceo small { color: var(--mint); }
.org-stem { width: 2px; height: 22px; background: #BCC8CC; } .org-exec::after { content: ''; width: 2px; height: 26px; background: #BCC8CC; }
.org-tf { position: absolute; left: calc(50% + 170px); top: 92px; border: 1.5px dashed var(--amber); border-radius: 12px; padding: 8px 16px; background: #FFF9EA; } .org-tf small { display: block; font-size: 11px; color: #8A5A08; font-weight: 650; } .org-tf b { font-size: 14px; }
.org-side { position: absolute; left: 0; top: 0; background: var(--surface); border-radius: 14px; padding: 14px 16px; box-shadow: var(--sh); width: 236px; } .org-side h3 { font-size: 13px; font-weight: 720; margin-bottom: 6px; }
.org-side ul { list-style: none; margin: 0; padding: 0; } .org-side li { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; font-size: 13px; } .org-side li span { color: var(--mute); font-size: 12px; }
.org-divs { display: flex; gap: 12px; align-items: flex-start; border-top: 2px solid #BCC8CC; padding-top: 16px; overflow-x: auto; }
.org-div { background: var(--surface); border-radius: 14px; box-shadow: var(--sh); min-width: 230px; overflow: hidden; }
.org-div > header { background: color-mix(in srgb, var(--c) 88%, #000); color: #fff; padding: 10px 14px; text-align: center; } .org-div > header b { display: block; font-size: 15px; font-weight: 740; } .org-div > header .live { color: #fff; text-align: center; font-size: 12.5px; opacity: .92; padding: 1px 4px; } .org-div > header .live:hover, .org-div > header .live:focus { background: rgba(255,255,255,.14); color: #fff; }
.org-staff { text-align: right; font-size: 12px; color: var(--ink2); padding: 8px 12px 0; font-weight: 600; }
.org-groups { display: flex; gap: 10px; padding: 10px; } .org-group { flex: 1; background: var(--sunk); border-radius: 12px; padding: 8px; } .org-group h4 { text-align: center; font-size: 13px; font-weight: 720; padding: 2px 0 8px; color: var(--ink2); }
.org-teams { display: flex; gap: 8px; padding: 10px; } .org-group .org-teams { padding: 0; }
.org-team { flex: 1; min-width: 122px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding-bottom: 6px; }
.org-team-h { background: color-mix(in srgb, var(--c) 10%, #fff); border-bottom: 1px solid var(--line); padding: 7px 8px; text-align: center; border-radius: 10px 10px 0 0; } .org-team-h b { display: block; font-size: 13px; font-weight: 720; } .org-team-h span { font-size: 11px; color: var(--mute); }
.org-team label { display: grid; grid-template-columns: 34px 1fr; align-items: start; padding: 1px 6px 0; } .org-team label i { font-style: normal; font-size: 10.5px; color: var(--mute); font-weight: 650; padding-top: 7px; } .org-team .live { font-size: 12.5px; font-weight: 600; padding: 4px 5px; } .org-team .mem .live { font-weight: 500; color: var(--ink2); }
@media (max-width: 1100px) { .org-side, .org-tf { position: static; width: auto; } .org-top { flex-direction: column-reverse; align-items: stretch; } .org-groups { flex-direction: column; } }

.agenda-pv { display: block; width: 100%; text-align: left; padding: 0 44px 9px 62px; margin-top: -4px; font-size: 12.5px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agenda-pv:hover { color: var(--ink2); }
.pane h3 .link { align-self: center; }
@media (max-width: 860px) { .agenda-pv { padding-left: 14px; } }

.org-top { display: grid; grid-template-columns: 236px 1fr 236px; align-items: start; }
.org-side { position: static; }
.org-tf { left: calc(50% + 150px); top: 96px; }
.org-divs { display: grid; grid-template-columns: 2fr 3fr 2fr; overflow: visible; }
.org-div { min-width: 0; overflow: visible; } .org-div > header { border-radius: 14px 14px 0 0; }
.org-div.wide { grid-column: 1 / -1; order: 2; }
.org-teams { display: grid; grid-template-columns: repeat(auto-fit, minmax(126px, 1fr)); }
.org-team { min-width: 0; }
@media (max-width: 1100px) { .org-top, .org-divs { grid-template-columns: 1fr; } .org-tf { position: static; margin-top: 8px; } }

.blk.stacked { box-shadow: -2px 0 0 #fff, 0 -2px 0 #fff, 0 6px 14px -8px rgba(16, 49, 47, .35); background: color-mix(in srgb, var(--c) 16%, #fff); }
.org-side { grid-column: 1; grid-row: 1; } .org-exec { grid-column: 2; grid-row: 1; }
@media (max-width: 1100px) { .org-side, .org-exec { grid-column: 1; grid-row: auto; } }

.arow .due.empty { width: 24px; color: transparent; opacity: .55; } .arow .due.empty:hover, .arow .due.empty:focus { opacity: 1; }
.home > *, .home-grid > *, .plv > *, .meet-grid > * { min-width: 0; }
@media (max-width: 860px) { .rail-card { overflow-x: auto; } .rail { min-width: 660px; overflow: visible; } .site-grid { grid-template-columns: 1fr; } .linkrow, .deptrow { grid-template-columns: 1fr 1fr 26px; } }

/* ---------- 이행 점검·회의 기록 ---------- */
.outcome { display: grid; grid-template-columns: 44px 1fr; gap: 6px; align-items: start; margin-top: 8px; }
.outcome > span { font-size: 12px; font-weight: 720; color: var(--brand); padding-top: 7px; }
.outcome .live { background: #EEF7F5 !important; border-color: #CFE7E2; min-height: 0 !important; font-weight: 600; color: var(--ink) !important; }
.agenda-pv.has-out { color: var(--brand); font-weight: 600; }
.carrybar { display: flex; align-items: center; gap: 10px; background: #FFF6E3; border: 1px solid #F1DDB0; border-radius: 12px; padding: 8px 10px 8px 14px; margin-bottom: 10px; font-size: 13px; } .carrybar span { flex: 1; }
.chk { border: 1px solid var(--line); border-left: 4px solid #C3CCD2; border-radius: 10px; padding: 9px 10px 8px 11px; margin-top: 8px; background: #fff; }
.chk.f-done { border-left-color: var(--ok); } .chk.f-doing { border-left-color: #2F6FED; } .chk.f-no { border-left-color: var(--err); }
.chk-t { font-size: 13.5px; font-weight: 680; } .chk-o { font-size: 12.5px; color: var(--ink2); margin: 3px 0 7px; white-space: pre-wrap; line-height: 1.5; } .chk-o b { color: var(--brand); margin-right: 4px; } .chk-o.none { color: #A9B4BC; }
.chk-b { display: flex; gap: 5px; align-items: center; }
.fchip { height: 26px; padding: 0 10px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-size: 12px; font-weight: 650; color: var(--ink2); white-space: nowrap; display: inline-flex; align-items: center; }
.fchip.on.fc-done { background: var(--ok); border-color: var(--ok); color: #fff; } .fchip.on.fc-doing { background: #2F6FED; border-color: #2F6FED; color: #fff; } .fchip.on.fc-no { background: var(--err); border-color: var(--err); color: #fff; } .fchip.on.fc-none { background: var(--line2); color: var(--mute); }
.chk-n { font-size: 12.5px; margin-top: 6px; background: var(--sunk); } .chk-d { margin-top: 4px; } .chk-d summary { font-size: 12px; color: var(--mute); cursor: pointer; } .chk-d p { white-space: pre-wrap; font-size: 12.5px; color: var(--ink2); margin-top: 4px; line-height: 1.55; }
.prev-dec.ok .ic { color: var(--ok); } .okc { color: var(--ok) !important; } .strike { text-decoration: line-through; color: var(--mute); }
.hist { max-width: 1180px; display: flex; flex-direction: column; gap: 12px; } .hist-q { width: 260px !important; }
.hist-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.hist-stats > div { background: var(--surface); border-radius: 14px; padding: 13px 16px; box-shadow: var(--sh); } .hist-stats b { display: block; font-size: 26px; font-weight: 780; letter-spacing: -.03em; line-height: 1.15; } .hist-stats b small { font-size: 14px; font-weight: 650; margin-left: 1px; } .hist-stats span { font-size: 12px; color: var(--mute); } .hist-stats .warn b { color: var(--amber); }
.stuck-r { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line2); flex-wrap: wrap; } .stuck-r b { font-size: 13.5px; } .stuck-r small { color: var(--mute); flex: 1; }
.hist-w { padding: 0; overflow: hidden; }
.hist-h { display: flex; align-items: center; gap: 18px; width: 100%; padding: 14px 18px; text-align: left; } .hist-h:hover { background: var(--sunk); }
.hist-d { min-width: 150px; } .hist-d b { display: block; font-size: 15.5px; font-weight: 720; } .hist-d span { font-size: 12px; color: var(--mute); }
.hist-c { display: flex; gap: 16px; align-items: center; flex: 1; font-size: 13px; color: var(--ink2); flex-wrap: wrap; } .hist-c b { color: var(--ink); }
.fdots { display: inline-flex; gap: 4px; } .fdots i { width: 10px; height: 10px; border-radius: 50%; background: #D5DCE0; } .fdots .fd-done { background: var(--ok); } .fdots .fd-doing { background: #2F6FED; } .fdots .fd-no { background: var(--err); }
.hist-b { padding: 0 18px 16px; border-top: 1px solid var(--line2); } .hist-t { margin: 6px 0 12px; } .hist-t td { vertical-align: top; padding: 9px 8px; } .hist-t td:first-child { width: 38%; } .hist-t td:last-child { width: 150px; }
.hist-t .pre { white-space: pre-wrap; color: var(--ink2); } .hist-t details summary { font-size: 12px; color: var(--mute); cursor: pointer; margin-top: 3px; } .hist-t details p { white-space: pre-wrap; font-size: 12.5px; color: var(--ink2); margin-top: 4px; line-height: 1.55; } .fnote { font-size: 12px; color: var(--ink2); margin-top: 5px; }
@media (max-width: 860px) { .hist-stats { grid-template-columns: repeat(2, 1fr); } .hist-q { width: 100% !important; } .hist-h { flex-wrap: wrap; gap: 8px; } }

/* ---------- 로고 ---------- */
.brand-link { display: block; }
.brand-logo { height: 58px; width: auto; margin: -10px 0 -12px -12px; flex: none; display: block; }
.brand:has(.brand-logo) { flex-direction: column; align-items: flex-start; gap: 0; padding-bottom: 14px; }
.brand:has(.brand-logo) span { padding-left: 6px; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.brand.lg .brand-logo { height: 84px; margin: -16px 0 -16px -18px; }
.brand.lg:has(.brand-logo) span { font-size: 14px; padding-left: 8px; }
.chk-b { flex-wrap: wrap; row-gap: 6px; } .chk-b .link, .pane h3 .link, .pane h3 small { white-space: nowrap; }
.meet-grid { grid-template-columns: minmax(290px, 1fr) minmax(0, 1.55fr) minmax(280px, .9fr); }
@media (max-width: 1180px) { .meet-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
@media (max-width: 860px) { .meet-grid { grid-template-columns: 1fr; } }
