/* VicMind 공통 플랫폼 화면. 디자인은 vicmind-acc-platform public/platform.css 기준이다(사용자 2026-11-27, AGENTS.md 첫 절 「디자인」 줄).
   acc 파일을 옮겨 오고 이 레포에만 있는 것(마인드 글자 칸 fp·tp, 320px 위 막대)만 더했다. acc 전용 화면 규칙(A-Mind 회계 머리, 담당 회사 표)은 뺐다.
   색은 Board 셸 토큰 사본과 platform-tokens.css에서 읽는다. 글꼴은 자체 제공 Pretendard(public/fonts/VENDOR.md). */
@font-face {
  font-family: 'Pretendard Variable';
  src: url('/static/fonts/PretendardVariable.woff2') format('woff2');
  font-weight: 45 920;
  font-display: swap;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Pretendard Variable', system-ui, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  color: hsl(var(--vm-foreground));
  background: hsl(var(--vm-background));
  line-height: 1.5;
}

.vm-shell { min-height: 100vh; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Board 셸: 위 막대·설정 메뉴·빈 검색 자리. */
.shell-drawer-toggle { display: none; }
.shell-topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: var(--vm-topbar-gap); height: var(--vm-topbar-height); padding: var(--vm-topbar-pad); background: hsl(var(--vm-topbar-background)); color: hsl(var(--vm-foreground)); border-bottom: 1px solid hsl(var(--vm-border)); }
.shell-topbar :focus-visible, .function-nav a:focus-visible { outline: 2px solid hsl(var(--vm-ring)); outline-offset: 2px; }
.shell-topbar a { text-decoration: none; }
.shell-burger { display: none; align-items: center; justify-content: center; flex: none; width: 2rem; height: 2rem; border-radius: var(--vm-radius); color: hsl(var(--vm-foreground)); cursor: pointer; transition: background-color var(--vm-motion-duration-fast) var(--vm-motion-ease); }
.shell-burger:hover { background: hsl(var(--vm-accent)); }
.shell-burger svg { width: 1rem; height: 1rem; }
.shell-workspace { position: relative; flex: 0 1 auto; width: auto; max-width: var(--vm-workspace-width); min-width: 0; }
/* 위 막대 맨 오른쪽 회사 설정(로고, 계정 관리)과 왼쪽 아래 프로필 메뉴(내 프로필·로그아웃), 2026-11-22. */
.shell-menu { position: relative; }
.shell-menu > summary { list-style: none; cursor: pointer; }
.shell-menu > summary::-webkit-details-marker { display: none; }
.shell-gear-menu { flex: none; }
.shell-gear { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--vm-radius); color: hsl(var(--vm-muted-foreground)); transition: background-color var(--vm-motion-duration-fast) var(--vm-motion-ease); }
.shell-gear:hover, .shell-gear-menu[open] > .shell-gear { background: hsl(var(--vm-muted)); color: hsl(var(--vm-foreground)); }
.shell-gear svg { width: 20px; height: 20px; }
.shell-gear:focus-visible, .nav-user:focus-visible { outline: 2px solid hsl(var(--vm-ring)); outline-offset: 2px; }
.shell-ws-pop.shell-gear-pop { left: auto; right: 0; }
.nav-user-menu { margin-top: auto; }
.shell-ws-pop.nav-user-pop { top: auto; bottom: 100%; margin-top: 0; margin-bottom: .25rem; color: hsl(var(--vm-card-foreground)); text-align: left; }
.shell-ws-toggle { display: flex; align-items: center; gap: .625rem; width: 100%; min-width: 0; padding: .25rem .375rem; border-radius: var(--vm-radius); color: hsl(var(--vm-foreground)); list-style: none; cursor: pointer; transition: background-color var(--vm-motion-duration-fast) var(--vm-motion-ease); }
.shell-ws-toggle::-webkit-details-marker { display: none; }
.shell-ws-toggle:hover { background: hsl(var(--vm-muted)); }
.shell-ws-static { cursor: default; }
.shell-ws-static:hover { background: transparent; }
.shell-badge { display: flex; align-items: center; justify-content: center; flex: none; width: var(--vm-badge-size); height: var(--vm-badge-size); border-radius: var(--vm-badge-radius); background: hsl(var(--vm-workspace-badge)); border: 1px solid hsl(var(--vm-border)); overflow: hidden; font-size: var(--vm-badge-font-size); font-weight: 700; line-height: 1; }
.shell-badge img { width: 100%; height: 100%; object-fit: contain; }
.company-logo { object-fit: contain; }
.vm-company { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--vm-company-size); font-weight: 750; line-height: 1.3; letter-spacing: -.03em; }
/* 회사 로고·이름은 홈(/) 링크다(총지휘관 2026-11-23). */
a.shell-home { color: hsl(var(--vm-foreground)); }
/* 수퍼어드민 표시(총지휘관 2026-11-23). 띠는 모든 화면 맨 위에 붙어 접을 수 없고, 위 막대 아랫선과 회사 이름 옆 배지가 함께 보인다.
   띠 높이만큼 늘린 --vm-topbar-height(platform-tokens.css .vm-admin)로 본문·서랍·대화 높이 계산이 그대로 맞는다. */
.vm-admin .shell-topbar { top: var(--vm-admin-strip-height); height: var(--vm-topbar-row); border-bottom: 2px solid var(--vm-admin); }
.shell-admin-strip { position: sticky; top: 0; z-index: 41; display: flex; align-items: center; justify-content: center; gap: 10px; height: var(--vm-admin-strip-height); padding: 0 14px; overflow: hidden; background: repeating-linear-gradient(-45deg, var(--vm-admin) 0 14px, var(--vm-admin-deep) 14px 28px); color: var(--vm-preview-text-light); font-size: 12px; line-height: 1.2; white-space: nowrap; }
.shell-admin-strip b { font-weight: 700; }
.shell-admin-name { padding: 1px 8px; border-radius: 999px; background: var(--vm-admin-pill); font-weight: 600; }
.shell-admin-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.shell-admin-badge { flex: none; padding: 2px 8px; border-radius: 5px; background: var(--vm-admin); color: var(--vm-preview-text-light); font-size: 11px; font-weight: 700; line-height: 1.4; }
.vm-login-admin-strip { position: static; }
.vm-login-admin { border-top: 4px solid var(--vm-admin); }
.vm-login-admin .vm-login-eyebrow { display: inline-block; padding: 2px 9px; border: 1px solid var(--vm-admin-line); border-radius: 999px; background: var(--vm-admin-soft); color: var(--vm-admin-deep); font-weight: 700; }
.vm-login-admin .vm-login-note { background: var(--vm-admin-soft); border-color: var(--vm-admin-line); color: var(--vm-admin-ink); }
.vm-login-admin .vm-login-note b { color: var(--vm-admin-deep); }
.vm-login-admin .vm-login-note p { color: var(--vm-admin-ink); }
.shell-ws-caret { flex: none; width: 1rem; height: 1rem; color: hsl(var(--vm-muted-foreground)); }
.shell-ws-pop { position: absolute; left: 0; top: 100%; z-index: 50; margin-top: .25rem; width: 14rem; display: flex; flex-direction: column; gap: .125rem; padding: .25rem; font-size: .875rem; line-height: 1.25rem; background: hsl(var(--vm-card)); color: hsl(var(--vm-card-foreground)); border: 1px solid hsl(var(--vm-border)); border-radius: var(--vm-radius); box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1); }
.shell-ws-pop form { margin: 0; }
.shell-ws-item { display: block; width: 100%; padding: .375rem .75rem; border: 0; border-radius: calc(var(--vm-radius) - 2px); background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.shell-ws-item:hover { background: hsl(var(--vm-muted)); }
/* 내 메뉴 「알림」 스위치(사용자 2026-11-27). 상태는 data-state(off·on·blocked), 켜짐은 aria-checked. 차단되면 스위치 대신 「차단됨」, 누르면 푸는 방법 한 줄. */
.shell-notify { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.shell-notify[hidden], .shell-notify-hint[hidden] { display: none; }
.shell-switch { position: relative; flex: none; width: 30px; height: 18px; border-radius: 9999px; background: hsl(var(--vm-border)); transition: background-color var(--vm-motion-duration-fast) var(--vm-motion-ease); }
.shell-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 9999px; background: hsl(var(--vm-background)); box-shadow: 0 1px 2px rgb(0 0 0 / .2); transition: transform var(--vm-motion-duration-fast) var(--vm-motion-ease); }
.shell-notify[aria-checked="true"] .shell-switch { background: hsl(var(--vm-primary)); }
.shell-notify[aria-checked="true"] .shell-switch::after { transform: translateX(12px); }
.shell-notify-blocked { display: none; flex: none; font-size: 12px; color: hsl(var(--vm-destructive)); }
.shell-notify[data-state="blocked"] .shell-switch { display: none; }
.shell-notify[data-state="blocked"] .shell-notify-blocked { display: inline; }
.shell-notify-hint { margin: 0; padding: 0 .75rem .375rem; font-size: 12px; line-height: 1.4; color: hsl(var(--vm-muted-foreground)); }
.shell-search-wrap { flex: 1; min-width: 0; display: flex; justify-content: center; }
/* 예시 머리(b-mind-example console.css): 회사 이름 옆 칸, 오른쪽 .header-right의 안내 단추·소개 링크. 칸은 Mind 선택이다. */
/* 회사 이름 옆 Mind 선택(2026-11-22): 「회사 / Mind」. 회사는 글자, Mind는 단추이고 둘 이상이면 「Mind 선택」 메뉴를 연다. */
.shell-slash { flex: none; margin: 0 2px; color: hsl(var(--vm-border)); font-size: 26px; font-weight: 300; line-height: 1; }
.shell-mind-menu { flex: none; }
.shell-mind-btn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px 0 8px; border-radius: 10px; color: hsl(var(--vm-foreground)); font-size: 15px; font-weight: 650; line-height: 1; white-space: nowrap; transition: background-color var(--vm-motion-duration-fast) var(--vm-motion-ease); }
.shell-mind-btn:hover, .shell-mind-menu[open] > .shell-mind-btn { background: hsl(var(--vm-muted)); }
.shell-mind-chev { width: 16px; height: 16px; color: hsl(var(--vm-muted-foreground)); }
.shell-ws-pop.shell-mind-pop { width: 16rem; padding: .5rem; border-radius: 14px; }
.shell-pop-title { padding: .25rem .5rem .375rem; color: hsl(var(--vm-muted-foreground)); font-size: 11.5px; font-weight: 600; }
a.shell-mind { display: flex; align-items: center; gap: 12px; padding: 9px 8px; border-radius: 10px; color: inherit; }
a.shell-mind:hover { background: hsl(var(--vm-muted)); }
a.shell-mind[aria-current="true"] { background: hsl(var(--vm-muted) / .7); }
.shell-mind-text { flex: 1; min-width: 0; line-height: 1.3; }
.shell-mind-text b { display: block; font-size: 14px; font-weight: 650; }
.shell-mind-text small { display: block; margin-top: 1px; color: hsl(var(--vm-muted-foreground)); font-size: 12px; }
.shell-mind-check { flex: none; width: 16px; height: 16px; color: var(--vm-brand-exact, hsl(var(--vm-primary))); }
/* Mind 글자 칸: Mind 색으로 채운 칸에 흰 머리 글자. 왼쪽 메뉴의 선 그림 아이콘과 구분된다. */
.mind-tile { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--vm-mind-default); color: hsl(var(--vm-background)); font-size: 14px; font-weight: 800; line-height: 1; }
.mind-tile.mind-tile-sm { width: 20px; height: 20px; border-radius: 6px; font-size: 11px; }
.mind-tile[data-mind="a-mind"] { background: var(--vm-mind-a); }
.mind-tile[data-mind="b-mind"] { background: var(--vm-mind-b); }
.mind-tile[data-mind="c-mind"] { background: var(--vm-mind-c); }
.mind-tile[data-mind="fp-mind"] { background: var(--vm-mind-f); }
.mind-tile[data-mind="tp-mind"] { background: var(--vm-mind-t); }
.mind-tile[data-mind="w-mind"] { background: var(--vm-mind-w); }
.shell-links { flex: none; display: flex; align-items: center; gap: 18px; font-size: 12px; }
.shell-manual { display: inline-flex; align-items: center; min-height: 44px; padding: 8px; color: var(--vm-brand-exact, hsl(var(--vm-primary))); font-size: 11px; line-height: 1.5; white-space: nowrap; }
.shell-intro { color: hsl(var(--vm-muted-foreground)); white-space: nowrap; }
.shell-manual:hover, .shell-intro:hover { text-decoration: underline; text-underline-offset: 3px; }
.shell-scrim { display: none; }

.app-layout { position: relative; display: flex; min-height: calc(100vh - var(--vm-topbar-height)); }

/* 왼쪽 메뉴: 예시 nav.function-nav. */
/* nav·main은 view-transition-name 때문에 각자 쌓임 맥락이라, 뒤에 오는 main이 메뉴 폭(104px) 밖으로 나온 「내 메뉴」 팝업을 덮어 잘랐다. 메뉴를 main 위로 올린다(위 막대 40 아래). 좁은 화면 서랍은 아래 45로 덮어쓴다. */
.function-nav {
  width: 104px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  border-right: 1px solid var(--nav-line);
  background: var(--nav-rail);
  display: flex;
  flex-direction: column;
  padding: 14px 10px 16px;
  gap: 28px;
}
.nav-items { display: flex; flex-direction: column; gap: var(--vm-nav-items-gap); }
.nav-button {
  border: 0;
  background: transparent;
  border-radius: var(--vm-nav-radius);
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: var(--vm-nav-gap);
  font-size: var(--vm-nav-font);
  line-height: var(--vm-nav-line);
  width: 100%;
  padding: var(--vm-nav-pad);
  color: var(--nav-text);
  white-space: normal;
  text-align: center;
  text-decoration: none;
}
.nav-button svg { width: var(--vm-nav-icon); height: var(--vm-nav-icon); stroke-width: 1.65; }
.nav-label-split { display: flex; flex-direction: column; align-items: center; line-height: var(--vm-nav-split-line); letter-spacing: -0.01em; }
.nav-label-split .nav-part { white-space: nowrap; }
.nav-label-split .nav-sep { display: none; }
a.nav-button:hover { background: var(--nav-hover); }
.nav-button[aria-current="page"] { background: var(--nav-current-bg); color: var(--nav-current-text); font-weight: 700; }
.nav-button[data-service-state="preparing"] { color: var(--nav-muted); }
.nav-group-gap { height: 12px; }
.nav-user {
  display: grid;
  justify-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--nav-muted);
  text-decoration: none;
  text-align: center;
}
.nav-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--nav-current-bg);
  color: var(--nav-current-text);
  font-size: 14px;
  font-weight: 700;
}
.vm-subtabs { list-style: none; margin: 0; padding-left: 12px; font-size: 11px; }

.vm-badge { font-size: 10px; color: var(--nav-muted); }

.vm-main { flex: 1; min-width: 0; padding: 20px 24px; }
.vm-notice { color: hsl(var(--vm-muted-foreground)); }
.vm-error { color: hsl(var(--vm-destructive)); }

/* 사용 매뉴얼(/manual): 회색 바탕 위 카드(업무 화면과 같은 틀). 시작 네 걸음 → 기본 채널 → 서비스 채널(칸 전체가 링크) → 회사 설정. */
.vm-main.vm-page:has(> .manual) { background: hsl(var(--vm-muted)); }
.manual { display: flex; flex-direction: column; gap: 20px; max-width: 1120px; word-break: keep-all; }
.manual .manual-card { padding: 24px; border: 0; border-radius: 16px; box-shadow: 0 1px 3px rgb(0 0 0 / .05), 0 1px 2px rgb(0 0 0 / .03); }
.manual .manual-card .card-head { margin-bottom: 18px; }
.manual .manual-card .card-head h2 { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.manual .manual-card .card-sub { font-size: 13px; }
.manual-hero { padding: 0; }
.manual-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.manual-steps li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 16px; background: hsl(var(--vm-card)); box-shadow: 0 1px 3px rgb(0 0 0 / .05), 0 1px 2px rgb(0 0 0 / .03); }
.manual-steps li:not(:last-child)::after { content: ""; position: absolute; top: 34px; right: -9px; width: 6px; height: 6px; border-top: 1.5px solid hsl(var(--vm-muted-foreground) / .5); border-right: 1.5px solid hsl(var(--vm-muted-foreground) / .5); transform: rotate(45deg); }
.manual-step-no { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 6px; border-radius: 999px; font-size: 13px; font-weight: 800; color: hsl(var(--vm-primary-foreground)); background: var(--vm-brand-exact, hsl(var(--vm-primary))); }
.manual-steps strong { font-size: 15px; font-weight: 700; color: hsl(var(--vm-foreground)); }
.manual-steps li > span:last-child { font-size: 13px; line-height: 1.55; color: hsl(var(--vm-muted-foreground)); }
.manual-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.manual-tile { padding: 16px 18px; border-radius: 12px; background: hsl(var(--vm-muted)); }
.manual-tile strong { font-size: 15px; font-weight: 700; }
.manual-tile p, .manual-text { margin: 4px 0 0; font-size: 14px; line-height: 1.6; color: hsl(var(--vm-muted-foreground)); }
.manual-text { margin: 0; }
.manual-text a { margin-left: 4px; font-weight: 700; color: var(--vm-brand-readable, hsl(var(--vm-primary))); text-decoration: none; white-space: nowrap; }
.manual-text a::after { content: " →"; }
.manual-text a:hover { text-decoration: underline; text-underline-offset: 3px; }
.manual-work { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.manual-work > a { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 12px; color: inherit; text-decoration: none; box-shadow: inset 0 0 0 1px hsl(var(--vm-border)); transition: box-shadow var(--vm-motion-duration-fast) var(--vm-motion-ease), background-color var(--vm-motion-duration-fast) var(--vm-motion-ease), transform var(--vm-motion-duration-fast) var(--vm-motion-ease); }
.manual-work > a:hover { background: hsl(var(--vm-muted) / .5); box-shadow: inset 0 0 0 1px var(--vm-brand-exact, hsl(var(--vm-primary))); }
.manual-work > a:focus-visible { outline: 2px solid hsl(var(--vm-ring) / .55); outline-offset: 2px; }
.manual-work-head { display: flex; align-items: center; gap: 8px; }
.manual-work-head strong { font-size: 15px; font-weight: 700; color: var(--vm-brand-readable, hsl(var(--vm-foreground))); }
.manual-work-head .vm-badge { font-size: 11px; font-weight: 500; }
.manual-work-purpose { font-size: 14px; line-height: 1.55; color: hsl(var(--vm-foreground)); }
.manual-io { display: flex; flex-direction: column; gap: 4px; margin-top: auto; padding-top: 10px; border-top: 1px dashed hsl(var(--vm-border)); font-size: 12px; line-height: 1.5; color: hsl(var(--vm-muted-foreground)); }
.manual-io b { display: inline-block; min-width: 30px; margin-right: 6px; font-weight: 700; color: hsl(var(--vm-foreground)); }

/* 초대 화면: 초대장 카드. 위 띠는 브랜드 색 바탕에 회사 로고·이름(서버 틀), 아래 #vm-app은 React 초대 화면(Invite.tsx)이다. */
.vm-invite-page { min-height: 100vh; display: grid; place-items: center; padding: var(--vm-login-page-pad); }
.vm-invite-card { width: 100%; max-width: 440px; background: hsl(var(--vm-card)); border: 1px solid hsl(var(--vm-border)); border-radius: var(--vm-login-card-radius); overflow: hidden; box-shadow: 0 12px 32px rgb(0 0 0 / .06); animation: vm-login-rise .4s cubic-bezier(.16,1,.3,1) both; }
.vm-invite-band { display: flex; align-items: center; gap: 12px; padding: 18px 24px; background: hsl(var(--vm-primary)); color: hsl(var(--vm-primary-foreground)); }
.vm-invite-logo { flex: none; display: flex; width: 36px; height: 36px; padding: 4px; border-radius: 10px; background: hsl(var(--vm-card)); overflow: hidden; }
.vm-invite-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.vm-invite-company { display: flex; flex-direction: column; min-width: 0; }
.vm-invite-company b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 700; line-height: 1.3; }
.vm-invite-company small { font-size: 12px; line-height: 1.4; opacity: .78; }
.vm-invite-body { display: flex; flex-direction: column; padding: 26px 24px 24px; }
.vm-invite-badge { align-self: flex-start; padding: 3px 10px; border-radius: 9999px; background: hsl(var(--vm-primary) / .1); color: hsl(var(--vm-primary)); font-size: 12px; font-weight: 700; line-height: 1.5; }
.vm-invite-title { margin: 12px 0 18px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.35; word-break: keep-all; }
.vm-invite-facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0 0 20px; padding: 14px 16px; border: 1px dashed hsl(var(--vm-border)); border-radius: 10px; font-size: 14px; line-height: 1.5; }
.vm-invite-facts dt { color: hsl(var(--vm-muted-foreground)); }
.vm-invite-facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.vm-invite-body .vm-login-oidc:disabled { cursor: default; opacity: .6; }
.vm-invite-foot { display: flex; align-items: center; gap: 6px; margin: 14px 0 0; font-size: 12px; line-height: 1.5; color: hsl(var(--vm-muted-foreground)); word-break: keep-all; }
.vm-invite-foot svg { flex: none; width: 14px; height: 14px; color: hsl(var(--vm-primary)); }
.vm-invite-alert { margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: hsl(var(--vm-destructive)); }
.vm-invite-alert:first-child { margin-top: 0; }

/* 로그인·회계사 진입: Board work-web 로그인 카드(왼쪽 소개, 오른쪽 로그인 칸). 치수는 --vm-login-* 토큰. */
.vm-login-page { min-height: 100vh; display: grid; place-items: center; padding: var(--vm-login-page-pad); }
.vm-login-card { width: 100%; max-width: var(--vm-login-card-max); display: grid; grid-template-columns: 1.05fr .95fr; background: hsl(var(--vm-card)); border: 1px solid hsl(var(--vm-border)); border-radius: var(--vm-login-card-radius); overflow: hidden; box-shadow: 0 8px 24px rgb(0 0 0 / .08); animation: vm-login-rise .4s cubic-bezier(.16,1,.3,1) both; }
@keyframes vm-login-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.vm-login-hero { display: flex; flex-direction: column; gap: var(--vm-login-hero-gap); padding: var(--vm-login-hero-pad); background: hsl(var(--vm-secondary)); border-right: 1px solid hsl(var(--vm-border)); }
.vm-login-company { display: flex; align-items: center; gap: 12px; min-width: 0; }
.vm-login-logo { flex: none; display: flex; align-items: center; justify-content: center; width: var(--vm-login-logo); height: var(--vm-login-logo); border-radius: var(--vm-login-logo-radius); background: hsl(var(--vm-card)); border: 1px solid hsl(var(--vm-border)); overflow: hidden; }
.vm-login-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.vm-login-company-name { display: flex; flex-direction: column; min-width: 0; }
.vm-login-company-name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 17px; font-weight: 650; letter-spacing: -.01em; line-height: 1.15; }
.vm-login-company-name small { font-size: 14px; letter-spacing: .02em; line-height: 1.4; color: hsl(var(--vm-muted-foreground)); }
.vm-login-title { margin: 8px 0 0; font-size: var(--vm-login-title); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; text-wrap: balance; }
.vm-login-lede { margin: 0; max-width: 34ch; font-size: 15px; line-height: 1.6; color: hsl(var(--vm-muted-foreground)); word-break: keep-all; }
.vm-login-points { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.vm-login-points li { display: flex; align-items: center; gap: 10px; font-size: 14px; word-break: keep-all; }
.vm-login-points li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 9999px; background: var(--vm-brand-exact, hsl(var(--vm-primary))); }
.vm-login-panel { display: flex; flex-direction: column; justify-content: center; gap: var(--vm-login-panel-gap); padding: var(--vm-login-panel-pad); }
.vm-login-panel .vm-error, .vm-login-panel .vm-notice { margin: 0; font-size: 14px; }
.vm-login-eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .08em; color: hsl(var(--vm-muted-foreground)); }
.vm-login-panel-head h2 { margin: 6px 0 0; font-size: var(--vm-login-heading); font-weight: 650; letter-spacing: -.01em; line-height: 1.3; }
.vm-login-oidc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: var(--vm-login-control-min);
  padding: 0 16px;
  border-radius: var(--vm-button-radius);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: border-color var(--vm-motion-duration-fast) var(--vm-motion-ease), filter var(--vm-motion-duration-fast) var(--vm-motion-ease);
}
.vm-login-oidc { border: 1px solid hsl(var(--vm-border)); background: hsl(var(--vm-card)); color: hsl(var(--vm-foreground)); }
.vm-login-oidc:hover { border-color: hsl(var(--vm-muted-foreground)); }
/* 회계사 Microsoft 365 단추(vicmind-board apps/work-web .ms-btn·.ms-mark 꼴): 바탕·글자색은 acc 디자인 토큰(색 리터럴 금지), Microsoft 네 색 표지 18px. */
.vm-login-ms { gap: 11px; background: hsl(var(--vm-background)); color: hsl(var(--vm-foreground)); border: 1px solid hsl(var(--vm-border)); }
.vm-login-ms:hover { background: hsl(var(--vm-muted)); color: hsl(var(--vm-foreground)); }
.vm-login-ms-mark { display: inline-flex; width: 18px; height: 18px; }
.vm-login-ms-mark svg { width: 18px; height: 18px; }
.vm-login-oidc:focus-visible, .vm-login-switch a:focus-visible { outline: 2px solid hsl(var(--vm-ring)); outline-offset: 2px; }
.vm-login-note { display: flex; gap: 11px; padding: var(--vm-login-note-pad); background: hsl(var(--vm-muted)); border: 1px solid hsl(var(--vm-border)); border-radius: var(--vm-login-note-radius); }
.vm-login-lock { flex: none; display: flex; margin-top: 1px; color: var(--vm-brand-exact, hsl(var(--vm-primary))); }
.vm-login-lock svg { width: 18px; height: 18px; }
.vm-login-note b { display: block; margin-bottom: 3px; font-size: 14px; }
.vm-login-note p { margin: 0; font-size: 14px; line-height: 1.5; color: hsl(var(--vm-muted-foreground)); word-break: keep-all; }
.vm-login-switch { margin: 0; font-size: 14px; }
.vm-login-switch a { color: hsl(var(--vm-muted-foreground)); text-decoration: underline; text-underline-offset: 3px; }

/* Board 페이지 패턴. 서버 HTML과 React 공용 요소가 같은 클래스를 쓴다. */
.vm-main.vm-page { padding: 20px 24px; font-size: 13px; line-height: 1.5; }
.vm-main.vm-page.vm-edge { padding: 0; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.app-layout:has(.vm-edge) { height: calc(100dvh - var(--vm-topbar-height)); min-height: 0; }
.vm-edge > [data-screen-state] { display: flex; flex: 1; flex-direction: column; min-width: 0; min-height: 0; }
.vm-edge #vm-app { display: flex; flex: 1; flex-direction: column; min-width: 0; min-height: 0; }
.vm-page :focus-visible, .app-dialog :focus-visible { outline: 2px solid hsl(var(--vm-ring)); outline-offset: 2px; }
.vm-page .page-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 24px; }
.vm-page .page-head-text { min-width: 0; }
.vm-page .page-eyebrow { margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: hsl(var(--vm-muted-foreground)); }
/* 화면 머리 한 꼴(디자인 점검 2번, 사용자 2026-11-27): 모든 화면이 Mind 업무 화면과 같은 24px/600 제목이다. */
.vm-page .page-head :is(h1, h2, h3, h4, h5, h6) { margin: 0; font-size: var(--vm-heading-size); font-weight: var(--vm-label-weight); letter-spacing: -.02em; line-height: var(--vm-heading-line); }
.vm-page .page-sub { margin: 8px 0 0; font-size: 13px; color: hsl(var(--vm-muted-foreground)); }
.page-title-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
/* Mind 업무 화면(.mind-screen): 서버 메뉴 h1은 시각적으로 숨기고(읽기 도구에는 남김) React 머리 하나만 보인다. 조작은 그 오른쪽. */
.vm-main.vm-page:has(.mind-screen) > .page-head { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.vm-page .mind-screen > .page-head { min-height: 44px; margin: 4px 0 0; align-items: center; }
.vm-page .mind-screen > .page-head .page-actions { min-height: 44px; }
.vm-page .mind-screen > .page-head :is(h1, h2) { font-size: var(--vm-heading-size); line-height: var(--vm-heading-line); font-weight: var(--vm-label-weight); letter-spacing: 0; }
/* 「?」 도움말: 마우스를 올리거나 초점을 주면 설명이 뜬다. 단추는 20px 원이고 누르는 자리는 32px이다. */
.help-tip { position: relative; display: inline-flex; flex: none; vertical-align: middle; }
.help-tip-button { position: relative; display: inline-grid; place-items: center; width: 20px; height: 20px; padding: 0; border: 1px solid hsl(var(--vm-border)); border-radius: 999px;
  background: hsl(var(--vm-card)); color: hsl(var(--vm-muted-foreground)); font-family: inherit; font-size: 12px; font-weight: 700; line-height: 1; cursor: help; }
.help-tip-button::after { content: ""; position: absolute; inset: -6px; }
.help-tip-button:hover, .help-tip-button:focus-visible { color: hsl(var(--vm-foreground)); border-color: hsl(var(--vm-muted-foreground)); }
.help-tip-button:focus-visible { outline: 2px solid hsl(var(--vm-ring)); outline-offset: 2px; }
.help-tip-body { position: absolute; z-index: 40; top: calc(100% + 8px); left: -8px; width: max-content; max-width: min(320px, 80vw); padding: 10px 12px;
  border-radius: 10px; background: hsl(var(--vm-foreground)); color: hsl(var(--vm-card)); font-size: 12px; font-weight: 400; line-height: 1.55; letter-spacing: 0;
  text-align: left; white-space: normal; box-shadow: 0 8px 24px rgb(0 0 0 / .16); visibility: hidden; opacity: 0; transition: opacity var(--vm-motion-duration-fast) var(--vm-motion-ease); pointer-events: none; }
.help-tip-end .help-tip-body { left: auto; right: -8px; }
.help-tip:hover .help-tip-body, .help-tip:focus-within .help-tip-body { visibility: visible; opacity: 1; }
.help-tip.is-dismissed .help-tip-body { visibility: hidden; opacity: 0; }
/* 제목 옆 설명만 작은 화면 하단에 둔다. 도움말 대화 패널과 구분한다. */
@media (max-width: 767px) {
  .help-tip .help-tip-body { position: fixed; top: auto; bottom: 16px; left: 16px; right: 16px; width: auto; max-width: none; max-height: 50vh; overflow-y: auto; overflow-wrap: anywhere; box-sizing: border-box; pointer-events: auto; }
}
.vm-page .page-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.vm-page .stat-row { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin: 0 0 24px; }
.vm-page .stat-card { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 20px; background: hsl(var(--vm-card)); border: 1px solid hsl(var(--vm-border)); border-radius: 8px; }
.vm-page .stat-text { display: flex; flex-direction: column; min-width: 0; }
.vm-page .stat-label { font-size: 12px; font-weight: 600; color: hsl(var(--vm-muted-foreground)); }
.vm-page .stat-value { display: flex; align-items: baseline; gap: 4px; margin-top: 8px; line-height: 1; }
.vm-page .stat-value b { font-size: 30px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: hsl(var(--vm-foreground)); }
.vm-page .stat-unit { font-size: 12px; font-weight: 600; color: hsl(var(--vm-muted-foreground)); }
.vm-page .stat-help { margin-top: 8px; font-size: 11px; color: hsl(var(--vm-muted-foreground)); }
.vm-page a.stat-card { color: inherit; text-decoration: none; transition: border-color var(--vm-motion-duration-fast) var(--vm-motion-ease), box-shadow var(--vm-motion-duration-fast) var(--vm-motion-ease); }
.vm-page a.stat-card:hover { border-color: hsl(var(--vm-input)); box-shadow: 0 2px 6px rgb(0 0 0 / .06); }
.vm-page .card { padding: 20px; border-radius: 12px; border: 1px solid hsl(var(--vm-border)); background: hsl(var(--vm-card)); box-shadow: 0 2px 4px rgb(0 0 0 / .02); }
.vm-page .card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.vm-page .card-head-text { min-width: 0; }
.vm-page .card-head h2 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; color: hsl(var(--vm-foreground)); }
.vm-page .card-sub { margin: 4px 0 0; font-size: 12px; color: hsl(var(--vm-muted-foreground)); }
.vm-page .count-pill { display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 24px; height: 22px; padding: 0 8px; border-radius: 6px; background: hsl(var(--vm-muted)); color: hsl(var(--vm-muted-foreground)); font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.vm-page .row { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px; border-top: 1px solid hsl(var(--vm-border)); border-radius: 8px; }
.vm-page .row:first-child { border-top: 0; }
.vm-page .row-main { display: flex; flex-direction: column; flex: 1; min-width: 0; gap: 2px; }
.vm-page .row .t { font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; overflow-wrap: anywhere; color: hsl(var(--vm-foreground)); }
.vm-page .row-sub { font-size: 13px; line-height: 1.4; color: hsl(var(--vm-muted-foreground)); overflow-wrap: anywhere; }
.vm-page .row .meta { flex: none; font-size: 13px; font-variant-numeric: tabular-nums; color: hsl(var(--vm-muted-foreground)); white-space: nowrap; }
.vm-page a.row { color: hsl(var(--vm-foreground)); text-decoration: none; transition: background-color var(--vm-motion-duration-fast) var(--vm-motion-ease); }
.vm-page button.row { width: 100%; border-right: 0; border-bottom: 0; border-left: 0; background: transparent; color: hsl(var(--vm-foreground)); font: inherit; text-align: left; cursor: pointer; transition: background-color var(--vm-motion-duration-fast) var(--vm-motion-ease); }
.vm-page a.row:hover, .vm-page button.row:hover { background: hsl(var(--vm-muted)); }
.vm-page .row .chev { flex: none; width: 16px; height: 16px; margin: 0 2px 0 0; color: hsl(var(--vm-muted-foreground)); opacity: .5; transition: transform var(--vm-motion-duration-fast) var(--vm-motion-ease), opacity var(--vm-motion-duration-fast) var(--vm-motion-ease); }
.vm-page .row .chev path { stroke-width: 2.25; }
.vm-page a.row:hover .chev { opacity: .9; transform: translateX(2px); }
.vm-page .badge { display: inline-flex; align-items: center; flex: none; height: 22px; padding: 0 7px; border-radius: 5px; font-size: 11px; font-weight: 600; letter-spacing: 0; white-space: nowrap; background: var(--vm-status-default); color: var(--vm-status-default-foreground); }
.vm-page .badge.done { background: var(--vm-status-done); color: var(--vm-status-done-foreground); }
.vm-page .badge.open { background: var(--vm-status-open); color: var(--vm-status-open-foreground); }
.vm-page .badge.active { background: var(--vm-status-active); color: var(--vm-status-active-foreground); }
.vm-page .badge.hold { background: var(--vm-status-hold); color: var(--vm-status-hold-foreground); }
.vm-page .badge.muted { background: var(--vm-status-muted); color: var(--vm-status-muted-foreground); }
.vm-page .empty { padding: 32px 20px; font-size: 13px; color: hsl(var(--vm-muted-foreground)); text-align: center; }

/* 예시 메뉴 폭은 유지하고, Board 768px 아래 서랍 안에도 같은 세로 메뉴를 둔다. */
@media (max-width: 1000px) {
  .function-nav { width: 86px; padding-left: 6px; padding-right: 6px; }
  .shell-intro { display: none; }
  .shell-links { gap: 8px; }
  .shell-manual { padding: 6px 0; font-size: 10px; }
}
@media (max-width: 767px) {
  .shell-drawer-toggle { display: block; }
  .shell-burger { display: inline-flex; }
  .shell-drawer-toggle:checked ~ .vm-shell .shell-burger { background: hsl(var(--vm-accent)); }
  .shell-drawer-toggle:focus-visible ~ .vm-shell .shell-burger { outline: 2px solid hsl(var(--vm-ring)); outline-offset: 2px; }
  /* 예시 console-mobile-nav: 위 막대에 회사 이름 14px 한 줄·로고, 메뉴 단추 44px·아이콘 24px. */
  .shell-burger { width: 44px; height: 44px; border-radius: 6px; }
  .shell-burger svg { width: 24px; height: 24px; }
  .shell-workspace { flex: 1 1 0; width: auto; min-width: calc(var(--vm-badge-size) + 0.75rem); overflow: hidden; padding-right: 0; }
  .shell-slash { font-size: 20px; margin: 0 -2px; }
  /* 좁은 화면: Mind 단추는 글자 칸과 화살표만, 메뉴는 화면 폭에 맞춰 위 막대 아래에 연다. */
  .shell-mind-btn { padding: 0 4px; gap: 4px; }
  .shell-mind-name { display: none; }
  .shell-ws-pop.shell-mind-pop { position: fixed; top: var(--vm-topbar-height); left: 8px; right: 8px; width: auto; }
  .shell-ws-toggle { gap: 8px; }
  /* 좁은 화면에서는 관리자 배지가 회사 이름을 한 글자로 줄이므로 숨기고, 띠의 긴 문장도 접는다. 띠·이름·주황 아랫선은 남는다. */
  .shell-admin-badge, .shell-admin-text { display: none; }
  .shell-search-wrap { flex: 0 0 auto; }
  .shell-search-wrap:empty { display: none; }
  .shell-ws-caret { display: none; }
  /* 예시 서랍(#console-service-drawer): 폭 min(300px, 100vw - 56px), 행형 메뉴, 세로 스크롤. 위 막대 아래에 겹쳐 본문 폭을 밀지 않는다. */
  .function-nav { display: none; position: fixed; top: var(--vm-topbar-height); bottom: 0; left: 0; z-index: 45; width: min(300px, calc(100vw - 56px)); padding: 16px 12px 24px; gap: 20px; overflow-y: auto; overscroll-behavior: contain; box-shadow: 8px 0 28px var(--vm-drawer-shadow); }
  .function-nav .nav-items { gap: 4px; }
  .function-nav .nav-button { flex-direction: row; justify-content: flex-start; flex-shrink: 0; gap: 12px; min-height: 48px; padding: 12px 14px; border-radius: 6px; font-size: 14px; line-height: 1.5; text-align: left; }
  .function-nav .nav-button svg { flex-shrink: 0; width: 22px; height: 22px; }
  .function-nav .nav-label-split { flex-direction: row; line-height: inherit; letter-spacing: normal; }
  .function-nav .nav-label-split .nav-sep { display: inline; }
  .function-nav .shell-ws-pop.nav-user-pop { position: static; width: auto; margin: 8px 0 0; box-shadow: none; }
  .function-nav .nav-user { display: flex; align-items: center; justify-content: flex-start; gap: 12px; padding: 16px 14px 0; border-top: 1px solid var(--nav-line); font-size: 12px; text-align: left; }
  .shell-drawer-toggle:checked ~ .vm-shell .function-nav { display: flex; }
  .shell-drawer-toggle:checked ~ .vm-shell .shell-scrim { display: block; position: fixed; top: var(--vm-topbar-height); right: 0; bottom: 0; left: 0; z-index: 44; }
  .vm-main { padding: 1.5rem 1.25rem; }
  .vm-main.vm-page { padding: 1.5rem 1.25rem; font-size: 14px; }
  .vm-main.vm-page.vm-edge { padding: 0; }
  .vm-page .page-head { flex-direction: column; align-items: stretch; gap: 16px; margin-bottom: 20px; }
  .vm-page .mind-screen > .page-head { align-items: stretch; }
  .vm-page .page-actions { width: 100%; }
  .vm-page .stat-row { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-bottom: 20px; }
  .vm-page .stat-card { padding: 14px 16px; }
  .vm-page .card { padding: 20px 16px; }
  .manual-steps { grid-template-columns: 1fr 1fr; }
  .manual-steps li:not(:last-child)::after { display: none; }
  .manual-tiles { grid-template-columns: 1fr; }
  .manual .manual-card { padding: 20px 16px; }
  .vm-login-card { grid-template-columns: 1fr; max-width: var(--vm-login-card-narrow); }
  .vm-login-hero { border-right: 0; border-bottom: 1px solid hsl(var(--vm-border)); }
  .vm-main.vm-page { padding: 24px 16px 40px; }
  /* 위 막대 안내 링크: 좁은 화면에서도 12px·44px 누르는 칸(Board 모바일 최소 글자·조작 크기). */
  .shell-manual { min-height: 44px; padding: 0 4px; font-size: 12px; }
}
@media (max-width: 360px) {
  /* 320px 폭: 회사 이름 칸이 로고 한 칸(44px)까지 줄어 위 막대가 문서 폭을 넘지 않는다. 이름은 말줄임이다. */
  .shell-workspace { min-width: var(--vm-coarse-min); }
}
.button-hit { display: none; }
@media (pointer: coarse) {
  .shell-burger, .shell-gear, .shell-ws-toggle, .shell-ws-item, .nav-button, .nav-user, .shell-mind-btn, a.shell-mind, .vm-login-oidc { min-height: 44px; min-width: 44px; }
  .vm-page button:not(.button-sm):not(.composer-tool), .vm-page input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):not([type="range"]), .vm-page select, .vm-page textarea, .vm-page a.row, .vm-page a.stat-card, .app-dialog button:not(.button-sm):not(.composer-tool), .app-dialog input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):not([type="range"]), .app-dialog select, .app-dialog textarea { min-height: 44px; min-width: 44px; }
  .button-sm, .composer-tool { position: relative; overflow: visible; appearance: none; }
  .button-sm { min-height: var(--vm-button-sm-height); height: var(--vm-button-sm-height); min-width: 0; padding: var(--vm-button-sm-pad); border-radius: var(--vm-button-sm-radius); }
  .composer-tool { width: var(--vm-tool-size-w); height: var(--vm-tool-size-h); min-width: var(--vm-tool-size-w); min-height: var(--vm-tool-size-h); padding: 0; border-radius: var(--vm-tool-radius); }
  .button-hit { display: block; position: absolute; z-index: 1; left: 50%; top: 50%; width: max(100%, var(--vm-coarse-min)); height: max(100%, var(--vm-coarse-min)); transform: translate(-50%, -50%); background: transparent; }
  .vm-page label:has(> input[type="checkbox"]), .vm-page label:has(> input[type="radio"]), .app-dialog label:has(> input[type="checkbox"]), .app-dialog label:has(> input[type="radio"]) { min-height: var(--vm-coarse-min); min-width: var(--vm-coarse-min); }
  .vm-page input[type="checkbox"], .vm-page input[type="radio"], .app-dialog input[type="checkbox"], .app-dialog input[type="radio"] { width: auto; min-width: 0; height: auto; min-height: 0; padding: 0; }
  .nav-button { border-radius: var(--vm-nav-radius); }
  .button-default { min-height: var(--vm-button-min-height); border-radius: var(--vm-button-radius); }
  .app-input-wrap, .app-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]), .app-form select, .app-form textarea { border-radius: var(--vm-input-radius); }
}
@view-transition { navigation: auto; }
header.shell-topbar { view-transition-name: vm-shell-topbar; }
nav#vm-nav.function-nav { view-transition-name: vm-function-nav; }
main.vm-main { view-transition-name: vm-main; }
/* main은 view-transition-name 때문에 쌓임 맥락이라 안의 대화상자가 위 막대(40) 밑에 깔려 위가 잘렸다. 창이 열린 동안만 main을 위 막대 위로 올린다(2026-11-27). */
main.vm-main:has(:is(.app-dialog-backdrop, .vm-kit-dialog-backdrop)) { position: relative; z-index: 46; }
/* 메뉴를 누르면(2026-11-27 시안 A, 조용한 교차 페이드): 선택 표시는 미끄러지지 않고 메뉴 안에서 제자리로 옅게 바뀌고, 본문은 이동 없이 짧게 흐려졌다 선명해진다. */
::view-transition-group(root),
::view-transition-group(vm-shell-topbar),
::view-transition-group(vm-function-nav),
::view-transition-group(vm-main) { animation-duration: 0s; }
::view-transition-old(vm-function-nav), ::view-transition-new(vm-function-nav) { animation-duration: var(--vm-motion-duration-fast); }
::view-transition-old(vm-main) { animation: vm-main-fade-out 90ms ease-in both; }
::view-transition-new(vm-main) { animation: vm-main-fade-in 180ms cubic-bezier(0.2, 0, 0, 1) both; }
@keyframes vm-main-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes vm-main-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes vm-login-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .manual-work > a { transition-property: box-shadow, background-color; }
  .vm-page .row .chev { transition-property: opacity; }
  .vm-invite-card, .vm-login-card { animation-name: vm-login-fade; }
  ::view-transition-old(vm-main) { animation-name: vm-main-fade-out; }
  ::view-transition-new(vm-main) { animation-name: vm-main-fade-in; }
}
/* 입력 외곽은 장식선과 분리한다. 초점 고리는 기존 --vm-ring을 따른다. */
:is(.vm-page, .app-dialog, .app-welcome) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):not([type="range"]), select, textarea):not(:focus-visible) { border-color: hsl(var(--vm-control-border)); }
/* 2번: 대화(vm-edge)를 뺀 모든 화면은 연회색 바탕 위 흰 카드다(캘린더·매뉴얼·담당 회사·준비 중·안내 화면). */
.vm-main.vm-page:not(.vm-edge) { background: hsl(var(--vm-muted)); }
.vm-page .card { border: 0; border-radius: 14px; box-shadow: 0 1px 3px rgb(0 0 0 / .05), 0 1px 2px rgb(0 0 0 / .03); }
.vm-page .card-alert { display: flex; align-items: center; gap: 12px; }
.vm-page .card-alert p { flex: 1; margin: 0; }
.vm-page .card-alert a { flex: none; display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1px solid hsl(var(--vm-control-border)); border-radius: 9px; background: hsl(var(--vm-card)); color: hsl(var(--vm-foreground)); font-size: 13.5px; font-weight: 600; text-decoration: none; }
