/* GRAV Stage System v0.2
   Direction: calm premium console, single signal color, cinematic viewer first. */

:root {
  color-scheme: light;
  --font-body: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Jost", "Pretendard", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", ui-monospace, Menlo, monospace;

  --bg: #f5f6f8;
  --bg-elevated: #fbfcfe;
  --ink: #1d1d1f;
  --ink-2: #3f4248;
  --ink-3: #747984;
  --line: rgba(28, 33, 44, 0.1);
  --line-strong: rgba(28, 33, 44, 0.16);
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --surface-muted: rgba(239, 242, 247, 0.78);
  --stage: #05070b;

  --signal: #0071e3;
  --signal-2: #5eb4ff;
  --violet: #8175ff;
  --success: #22a45a;
  --warning: #b27400;
  --danger: #e5484d;

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 30px;
  --shadow-raised: 0 18px 44px rgba(38, 47, 67, 0.12);
  --shadow-soft: 0 10px 24px rgba(38, 47, 67, 0.08);
  --shadow-stage: 0 34px 96px rgba(5, 7, 11, 0.32);
  --inset-soft: inset 6px 6px 16px rgba(83, 96, 124, 0.12), inset -8px -8px 18px rgba(255, 255, 255, 0.9);
  --focus: 0 0 0 4px rgba(0, 113, 227, 0.18);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, #ffffff 0, var(--bg) 420px),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
select:focus-visible,
textarea:focus-visible,
input:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
}

body.landing-active .app-shell {
  display: none;
}

body:not(.landing-active) .landing-page {
  display: none;
}

.landing-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  background: #f5f5f7;
}

.landing-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, #ffffff 0, rgba(255, 255, 255, 0.86) 28%, rgba(245, 245, 247, 0) 64%),
    linear-gradient(180deg, rgba(0, 113, 227, 0.045), rgba(245, 245, 247, 0) 36%);
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(220px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-5);
  width: 100%;
  margin: 0 auto;
  padding: 8px max(18px, calc((100vw - 1080px) / 2));
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0;
  background: rgba(251, 251, 253, 0.78);
  box-shadow: none;
  backdrop-filter: blur(22px) saturate(1.6);
}

.landing-brand .brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  box-shadow: none;
}

.landing-nav-links,
.landing-nav-actions,
.landing-actions,
.landing-proof-row,
.showcase-status {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.landing-nav-links {
  justify-content: center;
}

.landing-nav-links a {
  border-radius: 999px;
  padding: 8px 10px;
  color: #4f5258;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.landing-nav-links a:hover {
  background: rgba(255, 255, 255, 0.82);
}

.landing-nav-actions {
  justify-content: flex-end;
}

.landing-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 46px;
}

.landing-copy {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.landing-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: #6e6e73;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.landing-copy h1 {
  max-width: 900px;
  margin: 12px auto 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 72px;
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: 0;
}

.landing-copy p {
  max-width: 680px;
  margin: 18px auto 0;
  color: #6e6e73;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.48;
}

.landing-actions {
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero-button {
  min-height: 44px;
  padding-right: 20px;
  padding-left: 20px;
  font-size: 14px;
}

.landing-proof-row {
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.landing-proof-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.72);
  color: #6e6e73;
  font-size: 12px;
  box-shadow: none;
}

.landing-proof-row strong {
  color: var(--ink);
}

.landing-showcase {
  overflow: hidden;
  margin-top: 34px;
  border: 0;
  border-radius: 36px;
  background: #ffffff;
  box-shadow: 0 42px 120px rgba(0, 0, 0, 0.14);
  backdrop-filter: none;
}

.showcase-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 58px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 12px 18px;
}

.showcase-toolbar strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 15px;
}

.showcase-status {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.showcase-status span {
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 999px;
  padding: 7px 10px;
  background: #f5f5f7;
  color: #6e6e73;
  font-family: var(--font-mono);
  font-size: 11px;
}

.showcase-status span:nth-child(2) {
  color: var(--success);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 280px;
  gap: var(--space-3);
  padding: var(--space-3);
}

.showcase-rail,
.showcase-thread,
.entry-card,
.flow-grid article,
.platform-grid article,
.security-grid article {
  border: 0;
  background: #f5f5f7;
  box-shadow: none;
  backdrop-filter: none;
}

.showcase-rail,
.showcase-thread {
  display: grid;
  align-content: start;
  gap: var(--space-3);
  min-width: 0;
  border-radius: 24px;
  padding: var(--space-4);
}

.showcase-rail strong {
  color: var(--ink);
  font-size: 17px;
}

.showcase-progress {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: #e3e8f0;
  box-shadow: var(--inset-soft);
}

.showcase-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--signal), var(--success));
}

.showcase-rail ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: var(--ink-2);
  list-style: none;
}

.showcase-rail li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.showcase-rail li span {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--success);
}

.showcase-rail li:nth-child(2) span {
  background: var(--warning);
}

.showcase-rail li:nth-child(3) span {
  background: var(--violet);
}

.showcase-rail a,
.showcase-thread a,
.producer-entry-card {
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
}

.showcase-player {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  border-radius: 28px;
  background: var(--stage);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.showcase-player img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  opacity: 0.94;
}

.showcase-player::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 11, 0.08), transparent 42%, rgba(5, 7, 11, 0.46)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.22), transparent 34%, rgba(0, 0, 0, 0.16));
}

.showcase-video-ui {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 10px 12px;
  background: rgba(5, 7, 11, 0.62);
  color: #fff;
  backdrop-filter: blur(18px);
}

.showcase-video-ui span {
  font-family: var(--font-mono);
  font-size: 11px;
}

.showcase-video-ui strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.showcase-anchor {
  position: absolute;
  top: 24%;
  left: 31%;
  z-index: 2;
  width: 74px;
  height: 74px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 0 0 8px rgba(0, 113, 227, 0.28), 0 14px 34px rgba(0, 0, 0, 0.28);
}

.showcase-thread article {
  border: 0;
  border-radius: 18px;
  background: #ffffff;
  padding: 13px;
}

.showcase-thread strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.showcase-thread small,
.producer-entry-card small {
  display: block;
  margin-top: 6px;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.45;
}

.entry-dock {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(260px, 0.94fr);
  gap: var(--space-3);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: var(--space-3);
  background: #fbfbfd;
}

.entry-card {
  min-width: 0;
  border-radius: 22px;
  padding: 16px;
}

.client-entry-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) 78px minmax(220px, 1fr) auto;
  align-items: center;
  gap: var(--space-3);
}

.entry-card strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 16px;
}

.entry-card label {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.pin-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-2);
}

.pin-entry input {
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  padding: 0 15px;
  box-shadow: none;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.client-entry-card > small {
  color: var(--ink-3);
  font-size: 12px;
}

.producer-entry-card {
  display: block;
  background: #f5f5f7;
}

.landing-section,
.landing-split {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.section-intro {
  max-width: 730px;
}

.section-intro p {
  max-width: 680px;
  margin: 16px 0 0;
  color: #6e6e73;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.55;
}

.section-intro h2,
.landing-split h2 {
  margin: 10px 0 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 56px;
  font-weight: 760;
  line-height: 1.06;
}

.workflow-board,
.platform-layer,
.security-grid {
  display: grid;
  margin-top: 34px;
}

.workflow-board {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: var(--space-5);
  align-items: stretch;
}

.workflow-visual {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border-radius: 36px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
    linear-gradient(145deg, #1d1d1f 0%, #0b0d12 100%);
  color: #ffffff;
  padding: 18px;
  box-shadow: 0 42px 110px rgba(16, 24, 40, 0.18);
}

.workflow-window {
  display: grid;
  align-content: start;
  gap: var(--space-4);
  min-height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  padding: 18px;
  backdrop-filter: blur(24px);
}

.workflow-window-top {
  display: flex;
  gap: 7px;
  margin-bottom: 20px;
}

.workflow-window-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
}

.workflow-project,
.workflow-share-card,
.workflow-comment-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  padding: 18px;
}

.workflow-project {
  min-height: 150px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.1)),
    linear-gradient(135deg, rgba(0, 113, 227, 0.38), rgba(34, 164, 90, 0.18));
}

.workflow-project small,
.workflow-share-card span,
.workflow-comment-card span,
.platform-feature span,
.platform-stack article span,
.security-grid article span {
  color: inherit;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.workflow-project small,
.workflow-share-card small,
.workflow-comment-card small {
  color: rgba(255, 255, 255, 0.58);
}

.workflow-project strong,
.workflow-share-card strong,
.workflow-comment-card strong {
  display: block;
  margin-top: 10px;
  color: #ffffff;
  line-height: 1.28;
}

.workflow-project strong {
  font-size: 34px;
  letter-spacing: 0;
}

.workflow-share-card strong,
.workflow-comment-card strong {
  font-size: 16px;
}

.workflow-project div {
  overflow: hidden;
  height: 8px;
  margin-top: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.workflow-project div span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #ffffff;
}

.workflow-list {
  display: grid;
  gap: var(--space-3);
}

.workflow-list article {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  background: #ffffff;
  padding: 22px;
}

.workflow-list article span,
.platform-feature span,
.platform-stack article span {
  color: var(--signal);
}

.workflow-list article strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 760;
  line-height: 1.24;
}

.workflow-list article p,
.landing-split p,
.security-grid article small {
  color: var(--ink-3);
  line-height: 1.55;
}

.workflow-list article p {
  margin: 10px 0 0;
  font-size: 15px;
}

.platform-layer {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas:
    "main share"
    "stack stack";
  gap: var(--space-3);
}

.platform-feature,
.platform-stack article,
.security-grid article {
  border-radius: 24px;
  padding: 22px;
}

.platform-feature {
  min-height: 340px;
  background: #ffffff;
}

.platform-feature-main {
  grid-area: main;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)),
    #1d1d1f;
  color: #ffffff;
}

.platform-feature-share {
  grid-area: share;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
}

.platform-feature strong {
  display: block;
  max-width: 620px;
  margin-top: 18px;
  color: inherit;
  font-size: 38px;
  font-weight: 760;
  line-height: 1.08;
}

.platform-feature p {
  max-width: 540px;
  margin: 16px 0 0;
  color: inherit;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.68;
}

.platform-tags,
.share-preview {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: 28px;
}

.platform-tags small,
.share-preview div {
  border-radius: 999px;
  padding: 9px 12px;
}

.platform-tags small {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.78);
}

.share-preview {
  align-items: stretch;
  flex-direction: column;
}

.share-preview div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  border-radius: 18px;
  background: #ffffff;
  color: var(--ink);
}

.share-preview small {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.share-preview b {
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-stack {
  grid-area: stack;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
}

.platform-stack article {
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #ffffff;
}

.platform-stack article strong,
.security-grid article strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
}

.platform-stack article small,
.security-grid article small {
  display: block;
  margin-top: 8px;
  color: var(--ink-3);
  line-height: 1.55;
}

.security-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

.security-grid article {
  background: #f5f5f7;
}

.security-grid article span {
  color: var(--signal);
}

.security-grid article:nth-child(2) span {
  color: var(--success);
}

.security-grid article:nth-child(3) span {
  color: var(--warning);
}

.role-panels {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--space-4);
  margin-top: 34px;
}

.role-panel,
.ai-export-panel {
  border: 0;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: none;
  backdrop-filter: none;
}

.role-panel {
  overflow: hidden;
  min-height: 440px;
  padding: 26px;
}

.producer-role {
  background:
    linear-gradient(180deg, rgba(0, 113, 227, 0.06), rgba(0, 113, 227, 0)),
    #ffffff;
}

.client-role {
  background:
    linear-gradient(180deg, rgba(29, 29, 31, 0.06), rgba(29, 29, 31, 0)),
    #ffffff;
}

.role-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
}

.role-panel-head span {
  border-radius: 999px;
  padding: 7px 10px;
  background: #f5f5f7;
  color: #6e6e73;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
}

.client-role .role-panel-head span {
  color: #6e6e73;
}

.role-panel-head strong {
  max-width: 390px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 36px;
  font-weight: 740;
  line-height: 1.12;
  text-align: right;
}

.role-dashboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
  margin-top: 36px;
}

.role-dashboard div,
.client-ticket {
  border: 0;
  border-radius: 20px;
  background: rgba(245, 245, 247, 0.86);
  padding: 15px;
}

.role-dashboard small,
.client-ticket small {
  display: block;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.role-dashboard strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 34px;
  font-weight: 740;
}

.role-panel ul {
  display: grid;
  gap: 12px;
  margin: 34px 0 0;
  padding: 0;
  color: var(--ink-2);
  font-size: 15px;
  list-style: none;
}

.role-panel li {
  display: flex;
  gap: 9px;
  line-height: 1.5;
}

.role-panel li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-top: 7px;
  border-radius: 999px;
  background: #1d1d1f;
}

.client-role li::before {
  background: #1d1d1f;
}

.client-ticket {
  margin-top: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    #1d1d1f;
  color: #fff;
  box-shadow: none;
}

.client-ticket strong {
  display: block;
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 30px;
  font-weight: 740;
}

.client-ticket div {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: 22px;
}

.client-ticket div span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 700;
}

.ai-export-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: var(--space-6);
  align-items: center;
  min-height: 440px;
  padding: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0)),
    #1d1d1f;
  color: #ffffff;
}

.ai-export-panel h2 {
  max-width: 720px;
  margin: 10px 0 0;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 56px;
  font-weight: 760;
  line-height: 1.05;
}

.ai-export-panel p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
  line-height: 1.6;
}

.ai-packet {
  display: grid;
  gap: var(--space-2);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.1);
  padding: 18px;
  color: #fff;
  box-shadow: none;
}

.ai-packet span {
  color: #a1a1a6;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.ai-packet code {
  display: block;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: normal;
}

.ai-packet small {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
}

.landing-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: var(--space-6);
  align-items: center;
}

.pricing-section {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 86px;
  padding-bottom: 86px;
}

.pricing-header {
  max-width: 840px;
}

.pricing-header h2 {
  max-width: 780px;
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 56px;
  font-weight: 760;
  line-height: 1.06;
}

.pricing-header p {
  max-width: 680px;
  color: #6e6e73;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.55;
}

.pricing-board {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  grid-template-areas:
    "offer includes"
    "note note";
  gap: var(--space-3);
  margin-top: 34px;
}

.pricing-offer,
.pricing-includes article,
.pricing-note {
  border-radius: 28px;
}

.pricing-offer {
  grid-area: offer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)),
    #1d1d1f;
  color: #ffffff;
  padding: 30px;
}

.pricing-offer .eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

.pricing-offer strong {
  display: block;
  margin-top: 16px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 58px;
  font-weight: 760;
  line-height: 0.96;
}

.pricing-offer strong small {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
}

.pricing-offer p {
  max-width: 320px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.6;
}

.pricing-offer .primary-button {
  align-self: flex-start;
  background: #ffffff;
  color: #1d1d1f;
}

.pricing-includes {
  grid-area: includes;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.pricing-includes article {
  min-height: 204px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #ffffff;
  padding: 24px;
}

.pricing-includes article span,
.pricing-note span {
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-includes article:nth-child(2) span {
  color: var(--success);
}

.pricing-includes article:nth-child(3) span {
  color: var(--warning);
}

.pricing-includes article:nth-child(4) span {
  color: var(--violet);
}

.pricing-includes article strong {
  display: block;
  margin-top: 16px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 760;
  line-height: 1.18;
}

.pricing-includes article small {
  display: block;
  margin-top: 14px;
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.55;
}

.pricing-note {
  grid-area: note;
  display: grid;
  grid-template-columns: 120px minmax(0, 0.9fr) minmax(0, 1fr);
  gap: var(--space-4);
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background:
    linear-gradient(180deg, rgba(0, 113, 227, 0.06), rgba(0, 113, 227, 0)),
    #ffffff;
  padding: 22px 24px;
}

.pricing-note strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.3;
}

.pricing-note p {
  margin: 0;
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.55;
}

.security-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.security-section {
  padding-bottom: 52px;
}

.security-grid {
  margin-top: 34px;
}

.security-grid article {
  min-height: 250px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #ffffff;
  padding: 24px;
}

.security-grid article strong {
  margin-top: 18px;
  font-size: 24px;
  line-height: 1.2;
}

.security-grid article small {
  margin-top: 14px;
  font-size: 15px;
}

.closing-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-6);
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 48px;
  padding-bottom: 96px;
}

.closing-section h2 {
  max-width: 790px;
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 52px;
  font-weight: 760;
  line-height: 1.06;
}

.closing-section p {
  max-width: 560px;
  color: var(--ink-3);
  font-size: 18px;
  line-height: 1.55;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: flex-end;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(360px, 1fr) auto auto;
  align-items: center;
  gap: var(--space-4);
  margin: 12px 16px 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(24px) saturate(1.4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #111319, var(--signal) 58%, var(--signal-2));
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(0, 113, 227, 0.24);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
}

.brand em {
  color: var(--signal);
  font-style: normal;
}

.brand small {
  margin-top: 3px;
  color: var(--ink-3);
  font-size: 12px;
}

.topbar-center {
  justify-self: center;
  display: grid;
  grid-template-columns: minmax(260px, 380px) auto;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
}

.project-picker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
}

.select-label,
.eyebrow,
.project-facts dt {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}

.project-select,
.composer-actions select {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  padding: 0 34px 0 13px;
  box-shadow: var(--inset-soft);
}

.project-select {
  width: 100%;
}

.review-sync,
.live-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--ink-2);
  font-size: 12px;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.client-review-chip {
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.client-review-chip span {
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}

.client-review-chip strong,
.client-review-chip small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-review-chip strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.client-review-chip small {
  color: var(--ink-3);
  font-size: 12px;
}

.review-sync span,
.live-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(34, 164, 90, 0.12);
}

.presence-stack {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.live-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
}

.avatars {
  display: inline-flex;
  align-items: center;
}

.avatars span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #edf1f7);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  box-shadow: 0 8px 18px rgba(38, 47, 67, 0.12);
}

.avatars span + span {
  margin-left: -8px;
}

.topbar-actions,
.toolbar-actions,
.composer-actions,
.approval-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.topbar-actions {
  justify-content: flex-end;
}

.view-switch {
  margin-right: var(--space-1);
}

.workspace {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 372px;
  gap: 16px;
  padding: 18px 22px 30px;
}

.sidebar,
.inspector,
.viewer-column {
  min-width: 0;
}

.sidebar,
.inspector {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.viewer-column {
  display: grid;
  grid-template-rows: auto auto auto auto auto auto;
  gap: 14px;
}

.panel,
.viewer-toolbar,
.timeline-panel,
.comment-composer,
.control-dock {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-raised);
  backdrop-filter: blur(20px) saturate(1.25);
}

.sidebar .panel,
.inspector .panel {
  box-shadow: var(--shadow-soft);
}

.panel,
.timeline-panel,
.comment-composer {
  padding: var(--space-4);
}

.panel-heading,
.viewer-toolbar,
.timeline-header,
.composer-meta,
.inspector-head,
.approval-panel {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
}

.panel-heading {
  margin-bottom: 14px;
}

.panel-heading.row,
.inspector-head,
.approval-panel,
.timeline-header,
.composer-meta {
  align-items: center;
}

.panel-heading strong,
.inspector-head strong,
.approval-panel strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.28;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.48);
}

.status-grid div {
  padding: 12px 8px;
  border-right: 1px solid var(--line);
}

.status-grid div:last-child {
  border-right: 0;
}

.status-grid span {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.status-grid small {
  display: block;
  margin-top: 6px;
  color: var(--ink-3);
  font-size: 11px;
  line-height: 1.3;
}

.progress-meter,
.readiness-track {
  position: relative;
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: #e7ebf1;
  box-shadow: var(--inset-soft);
}

.progress-meter span,
.readiness-track span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--signal), var(--signal-2));
  transition: width 180ms ease;
}

.project-facts {
  display: grid;
  gap: var(--space-2);
  margin: 14px 0 0;
}

.delivery-facts {
  display: grid;
  gap: var(--space-2);
  margin: 0;
}

.project-facts div {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.48);
}

.delivery-facts div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.48);
}

.project-facts dt,
.project-facts dd,
.delivery-facts dt,
.delivery-facts dd {
  margin: 0;
}

.delivery-facts dt {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
}

.project-facts dd {
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  text-align: right;
}

.delivery-facts dd {
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-focus {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.review-focus div {
  min-width: 0;
}

.review-focus strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.review-focus p {
  margin: 3px 0 0;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.4;
}

.asset-list,
.comment-list,
.checklist,
.share-settings,
.support-file-list {
  display: grid;
  gap: var(--space-2);
}

.comment-list {
  max-height: 620px;
  overflow: auto;
  padding-right: 2px;
  scroll-behavior: smooth;
}

.thread-panel .panel-heading {
  align-items: flex-start;
}

.thread-filter-stack {
  display: grid;
  justify-items: end;
  gap: 6px;
  min-width: 0;
}

.primary-thread-filters button span {
  display: none;
}

.thread-subfilters {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.thread-subfilters button {
  min-height: 24px;
  border: 0;
  border-radius: 999px;
  padding: 0 7px;
  background: transparent;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 10px;
}

.thread-subfilters button:hover,
.thread-subfilters button.active {
  background: rgba(0, 113, 227, 0.08);
  color: var(--signal);
}

.thread-subfilters span {
  color: inherit;
  opacity: 0.72;
}

.client-only {
  display: none;
}

body[data-view-mode="client"] .internal-only {
  display: none !important;
}

body[data-view-mode="client"] .client-only {
  display: flex;
}

.client-disabled {
  display: none !important;
}

body[data-view-mode="client"] .workspace {
  grid-template-columns: minmax(0, 1fr) 380px;
  max-width: 1480px;
  margin: 0 auto;
}

body.client-locked .workspace {
  position: relative;
  min-height: 680px;
}

body.client-locked .viewer-column,
body.client-locked .inspector {
  opacity: 0.22;
  pointer-events: none;
}

body.client-locked .workspace::after {
  content: "아직 내부 검수 중입니다. 공개되면 이 링크에서 바로 확인할 수 있습니다.";
  position: absolute;
  top: 96px;
  left: 50%;
  width: min(420px, calc(100vw - 48px));
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: var(--shadow-raised);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  z-index: 5;
}

body[data-view-mode="client"].client-readonly .comment-write-action {
  display: none;
}

body.client-entry .view-switch {
  display: none;
}

body[data-view-mode="client"] .topbar {
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) auto;
}

body[data-view-mode="client"] .topbar-center {
  justify-self: stretch;
  grid-template-columns: minmax(0, 1fr);
}

body[data-view-mode="client"] .viewer-column {
  gap: 16px;
}

body[data-view-mode="client"] .video-stage {
  min-height: 520px;
}

body[data-view-mode="client"] .control-dock {
  grid-template-columns: auto auto;
  justify-content: center;
}

body[data-view-mode="client"] .playback-controls {
  justify-content: center;
}

body[data-view-mode="client"] .comment-list {
  max-height: 720px;
}

.asset-card {
  width: 100%;
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  color: inherit;
  text-align: left;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.asset-card:hover,
.comment-card:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.86);
}

.asset-card.active,
.comment-card.active {
  border-color: rgba(0, 113, 227, 0.3);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(0, 113, 227, 0.12);
}

.file-panel-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.support-file-card,
.empty-file-card {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.56);
}

.support-file-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: var(--space-3);
  padding: 10px;
  color: inherit;
  text-align: left;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.support-file-card:hover,
.comment-attachment:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 113, 227, 0.18);
  background: rgba(255, 255, 255, 0.88);
}

.empty-file-card {
  padding: 12px;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.45;
}

.support-file-card strong,
.comment-attachment strong,
.attachment-chip strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-file-card small,
.comment-attachment small,
.attachment-chip small {
  display: block;
  margin-top: 3px;
  color: var(--ink-3);
  font-size: 11px;
}

.file-kind {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(0, 113, 227, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(0, 113, 227, 0.08);
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}

.asset-thumb {
  position: relative;
  overflow: hidden;
  height: 52px;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, rgba(5, 7, 11, 0.08), rgba(5, 7, 11, 0.5)),
    url("assets/brand-film-poster.png") center / cover;
}

.asset-card.uploaded .asset-thumb {
  background:
    linear-gradient(145deg, rgba(0, 113, 227, 0.74), rgba(129, 117, 255, 0.56)),
    url("assets/brand-film-poster.png") center / cover;
}

.asset-card.linked .asset-thumb {
  background:
    linear-gradient(145deg, rgba(34, 164, 90, 0.72), rgba(0, 113, 227, 0.52)),
    url("assets/brand-film-poster.png") center / cover;
}

.asset-card strong,
.comment-card strong {
  display: block;
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.28;
}

.asset-card small,
.comment-card small,
.comment-meta,
.comment-footer {
  color: var(--ink-3);
  font-size: 12px;
}

.checklist label,
.share-settings label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink-2);
  font-size: 13px;
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--signal);
}

#fileUpload {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

#revisionFileUpload,
#commentAttachmentInput,
#threadAttachmentInput {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-button,
.ghost-button,
.primary-button,
.danger-button,
.success-button,
.comment-action,
.segmented button,
.review-tool,
.mini-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font-weight: 650;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(38, 47, 67, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.upload-button {
  width: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: 14px;
  color: var(--signal);
  font-size: 20px;
}

.small-button {
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
}

.ghost-button:hover,
.comment-action:hover,
.segmented button:hover,
.upload-button:hover,
.review-tool:hover,
.mini-tool:hover {
  border-color: rgba(0, 113, 227, 0.2);
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
}

.primary-button,
.success-button,
.segmented button.active,
.review-tool.active,
.mini-tool.active {
  border-color: rgba(0, 113, 227, 0.16);
  background: linear-gradient(180deg, #3aa0ff, var(--signal));
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 113, 227, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.danger-button {
  border-color: rgba(229, 72, 77, 0.18);
  color: var(--danger);
}

.success-button {
  background: linear-gradient(180deg, #46d77a, var(--success));
  border-color: rgba(34, 164, 90, 0.18);
}

.icon-text {
  gap: 7px;
}

.viewer-toolbar {
  align-items: center;
  padding: 22px var(--space-6);
}

.viewer-toolbar h1 {
  margin: 5px 0 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0;
}

.title-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.title-meta span,
.tag,
.priority-pill,
.owner-pill,
.internal-pill,
.file-count-pill,
.status-pill,
.approval-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  padding: 0 9px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.segmented {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(234, 238, 245, 0.78);
  box-shadow: var(--inset-soft);
}

.segmented button span {
  display: inline-grid;
  min-width: 18px;
  min-height: 18px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: currentColor;
  font-family: var(--font-mono);
  font-size: 10px;
}

.segmented button {
  min-height: 31px;
  border: 0;
  background: transparent;
  color: var(--ink-3);
  box-shadow: none;
}

.segmented.small button {
  min-height: 29px;
  padding: 0 10px;
  font-size: 12px;
}

.video-stage {
  position: relative;
  overflow: hidden;
  min-height: 452px;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(5, 7, 11, 0.9);
  border-radius: var(--radius-xl);
  background: var(--stage);
  box-shadow: var(--shadow-stage);
  isolation: isolate;
}

.video-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 30%, rgba(0, 0, 0, 0.46)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.28));
  pointer-events: none;
}

.review-video,
.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.review-video {
  z-index: 0;
  display: none;
  object-fit: contain;
  background: #000;
}

.video-poster {
  z-index: 0;
  display: block;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.03);
}

.video-stage.has-video .review-video {
  display: block;
}

.video-stage.has-video .video-poster {
  display: none;
}

.video-stage.compare::before {
  content: "";
  position: absolute;
  inset: 0 50% 0 0;
  z-index: 3;
  border-right: 2px solid rgba(255, 255, 255, 0.9);
  background:
    linear-gradient(rgba(0, 113, 227, 0.18), rgba(129, 117, 255, 0.14)),
    url("assets/brand-film-poster.png") center / cover;
  filter: grayscale(0.5) contrast(1.04);
}

.video-stage.has-video.compare::before {
  display: none;
}

.video-overlay,
.video-status,
.video-grade,
.video-meta,
.frame-note {
  position: absolute;
  z-index: 7;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(13, 15, 21, 0.58);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-mono);
  backdrop-filter: blur(18px) saturate(1.35);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.video-overlay {
  left: 18px;
  top: 58px;
  display: none;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 500;
}

.video-stage.compare .video-overlay {
  display: block;
}

.video-stage.has-video.compare .video-overlay {
  display: none;
}

.video-status,
.video-grade {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 30px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 500;
}

.video-status {
  left: 18px;
  top: 18px;
}

.video-status span {
  color: #9de7ff;
}

.video-status strong {
  color: #fff;
}

.video-grade {
  left: 18px;
  bottom: 16px;
}

.video-grade span {
  padding-right: var(--space-2);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.video-grade span:last-child {
  padding-right: 0;
  border-right: 0;
}

.video-meta {
  right: 18px;
  bottom: 16px;
  display: flex;
  gap: var(--space-2);
  padding: 8px 10px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.play-button {
  position: absolute;
  z-index: 8;
  left: 50%;
  top: 50%;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 28px;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(22px) saturate(1.35);
  transition: transform 140ms ease, background 140ms ease;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.04);
  background: rgba(255, 255, 255, 0.24);
}

.safe-frame {
  position: absolute;
  inset: 8%;
  z-index: 5;
  border: 1px dashed rgba(255, 255, 255, 0.26);
  pointer-events: none;
}

.safe-frame span {
  position: absolute;
  right: 8px;
  top: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 10px;
  font-weight: 650;
  backdrop-filter: blur(12px);
}

.frame-notes {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: auto;
}

.frame-note {
  max-width: min(260px, 44%);
  padding: 9px 10px;
  border-radius: var(--radius-md);
  text-align: left;
  pointer-events: auto;
}

.frame-note::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 14px;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 6px rgba(0, 113, 227, 0.16);
}

.frame-note strong,
.frame-note small {
  display: block;
}

.anchor-copy {
  position: relative;
  z-index: 2;
  display: block;
}

.anchor-shape {
  display: none;
}

.frame-note strong {
  color: #fff;
  font-size: 12px;
  line-height: 1.3;
}

.frame-note small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}

.guide-note {
  pointer-events: none;
}

button.frame-note {
  cursor: pointer;
  font: inherit;
}

.comment-anchor {
  border-color: rgba(94, 180, 255, 0.34);
  background: rgba(0, 113, 227, 0.22);
}

.comment-anchor::before {
  background: var(--signal);
}

.comment-anchor.active {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(0, 113, 227, 0.42);
  box-shadow: 0 18px 44px rgba(0, 113, 227, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.comment-anchor.resolved {
  background: rgba(34, 164, 90, 0.26);
}

.comment-anchor.resolved::before {
  background: var(--success);
}

.comment-anchor.markup-box,
.comment-anchor.markup-circle,
.comment-anchor.markup-arrow,
.comment-anchor.markup-pen,
.pending-anchor.markup-box,
.pending-anchor.markup-circle,
.pending-anchor.markup-arrow,
.pending-anchor.markup-pen {
  overflow: visible;
  min-width: 116px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.comment-anchor.markup-box::before,
.comment-anchor.markup-circle::before,
.comment-anchor.markup-arrow::before,
.comment-anchor.markup-pen::before,
.pending-anchor.markup-box::before,
.pending-anchor.markup-circle::before,
.pending-anchor.markup-arrow::before,
.pending-anchor.markup-pen::before {
  display: none;
}

.comment-anchor.markup-box,
.pending-anchor.markup-box {
  width: min(190px, 24%);
  height: 112px;
  padding: 0;
}

.comment-anchor.markup-circle,
.pending-anchor.markup-circle {
  width: 126px;
  height: 126px;
  padding: 0;
}

.comment-anchor.markup-arrow,
.pending-anchor.markup-arrow {
  width: 148px;
  height: 64px;
  padding: 0;
}

.comment-anchor.markup-pen,
.pending-anchor.markup-pen {
  width: auto;
  height: auto;
  padding: 0;
}

.markup-box .anchor-shape,
.markup-circle .anchor-shape {
  position: absolute;
  inset: 0;
  display: block;
  border: 2px solid rgba(94, 180, 255, 0.88);
  background: rgba(0, 113, 227, 0.06);
  box-shadow: 0 0 28px rgba(94, 180, 255, 0.22);
}

.markup-box .anchor-shape {
  border-radius: 12px;
}

.markup-circle .anchor-shape {
  border-radius: 50%;
}

.markup-arrow .anchor-shape {
  position: absolute;
  left: 0;
  top: 31px;
  display: block;
  width: 116px;
  height: 2px;
  border-radius: 999px;
  background: rgba(94, 180, 255, 0.95);
  box-shadow: 0 0 24px rgba(94, 180, 255, 0.28);
}

.markup-arrow .anchor-shape::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -6px;
  width: 12px;
  height: 12px;
  border-top: 2px solid rgba(94, 180, 255, 0.95);
  border-right: 2px solid rgba(94, 180, 255, 0.95);
  transform: rotate(45deg);
}

.pen-drawing {
  position: absolute;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.pen-drawing polyline {
  fill: none;
  stroke: rgba(94, 180, 255, 0.94);
  stroke-width: 0.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(94, 180, 255, 0.42));
}

.pen-drawing.active polyline {
  stroke: #fff;
  stroke-width: 0.9;
}

.pen-drawing.pending polyline {
  stroke-dasharray: 1.4 1;
}

.markup-box .anchor-copy,
.markup-circle .anchor-copy,
.markup-arrow .anchor-copy,
.markup-pen .anchor-copy {
  position: absolute;
  left: 10px;
  bottom: -38px;
  min-width: 136px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 7px 9px;
  background: rgba(13, 15, 21, 0.68);
  backdrop-filter: blur(16px);
}

.markup-circle .anchor-copy {
  left: 50%;
  transform: translateX(-50%);
}

.markup-pen .anchor-copy {
  bottom: auto;
  top: 10px;
}

.comment-anchor.markup-box.active .anchor-shape,
.comment-anchor.markup-circle.active .anchor-shape {
  border-color: #fff;
  background: rgba(0, 113, 227, 0.14);
}

.comment-anchor.markup-arrow.active .anchor-shape {
  background: #fff;
}

.comment-anchor.markup-arrow.active .anchor-shape::after {
  border-color: #fff;
}

.pending-anchor {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.16);
}

.pending-anchor::before {
  background: var(--signal-2);
  animation: anchorPulse 1200ms ease-in-out infinite;
}

.pending-anchor.markup-box .anchor-shape,
.pending-anchor.markup-circle .anchor-shape {
  border-style: dashed;
}

.pending-anchor.markup-arrow .anchor-shape {
  background: rgba(255, 255, 255, 0.76);
}

@keyframes anchorPulse {
  0%,
  100% {
    box-shadow: 0 0 0 5px rgba(94, 180, 255, 0.14);
  }

  50% {
    box-shadow: 0 0 0 9px rgba(94, 180, 255, 0.24);
  }
}

.video-stage.markup-on {
  border-color: rgba(0, 113, 227, 0.64);
  cursor: crosshair;
}

.video-stage.markup-on .safe-frame {
  border-color: rgba(94, 180, 255, 0.72);
}

.video-stage.markup-on .frame-notes::after {
  display: none;
}

.video-stage.video-loading .video-status span {
  color: #ffd60a;
}

.control-dock {
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr) auto;
  align-items: center;
  gap: var(--space-3);
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.control-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.playback-controls,
.markup-controls {
  align-items: center;
}

.markup-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  min-width: 0;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(237, 241, 247, 0.54);
  box-shadow: var(--inset-soft);
}

.markup-tools {
  flex: 0 1 auto;
  min-width: 0;
}

.review-tool {
  min-height: 42px;
  gap: 7px;
  padding: 0 14px;
}

.danger-tool {
  color: var(--danger);
}

.console-readout {
  display: inline-grid;
  grid-template-columns: auto auto auto auto;
  align-items: center;
  gap: var(--space-2);
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(233, 237, 245, 0.72);
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 10px;
  box-shadow: var(--inset-soft);
  white-space: nowrap;
}

.speed-select {
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink-2);
  padding: 0 8px;
  font-family: var(--font-mono);
  font-size: 10px;
}

.mini-tool {
  width: 30px;
  min-height: 30px;
  padding: 0;
  box-shadow: none;
}

.console-readout strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.shot-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.shot-strip button {
  position: relative;
  min-width: 0;
  min-height: 84px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-md);
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.54)),
    url("assets/brand-film-poster.png") center / cover;
  color: #fff;
  text-align: left;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.shot-strip button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.18);
  transition: background 140ms ease;
}

.shot-strip button:hover::after,
.shot-strip button.active::after {
  background: rgba(0, 0, 0, 0.04);
}

.shot-strip button.active {
  border-color: rgba(0, 113, 227, 0.6);
  box-shadow: 0 18px 34px rgba(0, 113, 227, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.shot-strip button.add-shot {
  border-style: dashed;
  border-color: rgba(0, 113, 227, 0.42);
}

.shot-strip button.add-shot span {
  background: var(--signal-2);
}

.shot-strip button span {
  display: block;
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: #fff;
}

.shot-strip strong,
.shot-strip small {
  display: block;
}

.shot-strip strong {
  margin-top: 18px;
  font-size: 12px;
  font-weight: 700;
}

.shot-strip small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
}

.timeline-header,
.composer-meta {
  margin-bottom: 13px;
}

.timeline-header strong,
.composer-meta strong {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
}

.timeline-header small {
  display: block;
  margin-top: 4px;
  color: var(--ink-3);
  font-size: 12px;
}

#activeTimecode,
#composerTime,
.comment-time {
  color: var(--signal);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.timeline {
  outline: none;
}

.timeline-track {
  position: relative;
  height: 42px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background:
    repeating-linear-gradient(90deg, rgba(29, 29, 31, 0.08) 0 1px, transparent 1px 8.33%),
    #e8edf4;
  box-shadow: var(--inset-soft);
}

.timeline-progress {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(0, 113, 227, 0.9), rgba(94, 180, 255, 0.58));
  box-shadow: 0 0 22px rgba(0, 113, 227, 0.2);
}

.timeline-markers {
  position: absolute;
  inset: 0;
}

.marker {
  position: absolute;
  top: 7px;
  width: 26px;
  height: 26px;
  transform: translateX(-50%);
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 8px 18px rgba(38, 47, 67, 0.18);
}

.marker-range {
  position: absolute;
  top: 18px;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 113, 227, 0.2);
  box-shadow: 0 0 16px rgba(0, 113, 227, 0.16);
}

.marker.in-progress {
  background: var(--warning);
}

.marker.resolved {
  background: var(--success);
}

.marker.internal {
  outline: 2px solid rgba(129, 117, 255, 0.55);
  outline-offset: 2px;
}

.marker.active {
  top: 4px;
  width: 32px;
  height: 32px;
  background: var(--signal);
  box-shadow: 0 10px 26px rgba(0, 113, 227, 0.3);
}

.timeline-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.comment-composer textarea {
  display: block;
  width: 100%;
  min-height: 88px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 13px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  line-height: 1.5;
  box-shadow: var(--inset-soft);
}

.comment-composer textarea::placeholder {
  color: var(--ink-3);
}

.composer-range {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: -2px 0 10px;
}

.composer-range span {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.composer-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 10px;
}

.composer-attachments {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: 10px;
}

.composer-attachments span {
  color: var(--ink-3);
  font-size: 12px;
}

.attachment-tray {
  display: none;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.attachment-tray.has-files {
  display: flex;
}

.attachment-chip {
  display: inline-grid;
  grid-template-columns: 28px minmax(92px, auto) auto 22px;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 4px 3px 5px;
  background: rgba(255, 255, 255, 0.62);
}

.attachment-chip .file-kind {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  font-size: 8px;
}

.attachment-chip button {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(29, 29, 31, 0.08);
  color: var(--ink-3);
}

.assignee-input {
  min-height: 38px;
  width: 112px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  padding: 0 13px;
  box-shadow: var(--inset-soft);
}

.inline-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink-2);
  font-size: 12px;
  white-space: nowrap;
}

.inline-check input {
  width: 16px;
  height: 16px;
}

.approval-badge {
  background: rgba(255, 214, 10, 0.18);
  color: #8a5a00;
}

.approval-badge.approved,
.status-pill.resolved,
.tag.approval {
  background: rgba(34, 164, 90, 0.12);
  color: #18884a;
}

.approval-badge.changes,
.status-pill.open,
.priority-pill.high {
  background: rgba(229, 72, 77, 0.1);
  color: var(--danger);
}

.status-pill.in-progress,
.priority-pill.medium {
  background: rgba(255, 214, 10, 0.18);
  color: #8a5a00;
}

.priority-pill.low,
.owner-pill,
.file-count-pill {
  background: rgba(0, 113, 227, 0.08);
  color: var(--signal);
}

.internal-pill {
  border-color: rgba(129, 117, 255, 0.16);
  background: rgba(129, 117, 255, 0.08);
  color: #6d63dc;
}

.tag.question {
  background: rgba(129, 117, 255, 0.12);
  color: #5f52d7;
}

.tag.change {
  background: rgba(229, 72, 77, 0.1);
  color: var(--danger);
}

.comment-card {
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.comment-card.change-card {
  border-color: rgba(229, 72, 77, 0.14);
}

.comment-card.question-card {
  border-color: rgba(129, 117, 255, 0.16);
}

.comment-card.approval-card {
  border-color: rgba(34, 164, 90, 0.16);
}

.comment-card.internal-card {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 3px 0 0 rgba(129, 117, 255, 0.24);
}

.comment-card.resolved {
  opacity: 0.78;
}

.comment-top,
.comment-footer {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
}

.comment-top {
  align-items: flex-start;
}

.comment-time {
  border: 0;
  background: transparent;
  padding: 0;
}

.comment-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 7px;
}

.anchor-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border: 1px solid rgba(0, 113, 227, 0.16);
  border-radius: 999px;
  padding: 0 8px;
  background: rgba(0, 113, 227, 0.08);
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
}

.comment-body {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.55;
}

.comment-attachments {
  display: grid;
  gap: 7px;
}

.comment-attachment {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px;
  background: rgba(247, 249, 252, 0.72);
  color: inherit;
  text-align: left;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.comment-card .comment-attachment strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.comment-card .comment-attachment small {
  margin-top: 3px;
  font-size: 11px;
}

.comment-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.comment-action {
  min-height: 30px;
  padding: 0 10px;
  color: var(--ink-3);
  font-size: 12px;
  box-shadow: none;
}

.approval-panel {
  position: sticky;
  bottom: 16px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 60;
  max-width: min(520px, calc(100vw - 32px));
  transform: translate(-50%, 18px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  background: rgba(29, 29, 31, 0.84);
  color: #fff;
  box-shadow: 0 20px 54px rgba(29, 29, 31, 0.28);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(20px) saturate(1.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(245, 246, 248, 0.64);
  backdrop-filter: blur(18px) saturate(1.2);
}

.modal-layer.show {
  display: flex;
}

.modal-card {
  width: min(560px, 100%);
  max-height: min(720px, calc(100vh - 40px));
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 30px 80px rgba(38, 47, 67, 0.18);
  padding: var(--space-5);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.modal-head h2 {
  margin: 5px 0 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 450;
}

.approval-warning {
  display: grid;
  gap: var(--space-4);
}

.approval-warning p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.55;
}

.delivery-form,
.project-info-form,
.share-copy-panel {
  display: grid;
  gap: var(--space-3);
}

.delivery-form label,
.project-info-form label,
.share-copy-panel label {
  display: grid;
  gap: 7px;
}

.delivery-form label span,
.project-info-form label span,
.share-copy-panel label span {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
}

.delivery-form input,
.delivery-form textarea,
.project-info-form input,
.project-info-form select,
.project-info-form textarea,
.share-copy-panel textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  padding: 11px 12px;
  box-shadow: var(--inset-soft);
}

.delivery-form textarea,
.project-info-form textarea,
.share-copy-panel textarea {
  min-height: 92px;
  resize: vertical;
  line-height: 1.5;
}

.form-section {
  display: grid;
  gap: var(--space-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px;
  background: rgba(247, 249, 252, 0.68);
}

.form-grid {
  display: grid;
  gap: var(--space-2);
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.share-copy-alert,
.copy-field {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px;
  background: rgba(247, 249, 252, 0.74);
}

.share-copy-alert strong,
.share-copy-alert small {
  display: block;
}

.share-copy-alert small {
  margin-top: 5px;
  color: var(--ink-3);
  line-height: 1.45;
}

.copy-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.copy-field div {
  min-width: 0;
}

.copy-field code {
  display: block;
  overflow: hidden;
  margin-top: 5px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-copy-panel label button {
  justify-self: end;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.activity-list {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 10px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.58);
}

.activity-kind {
  grid-row: span 2;
  align-self: start;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(0, 113, 227, 0.08);
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 10px;
}

.activity-list strong {
  color: var(--ink);
  font-size: 13px;
}

.activity-list small {
  color: var(--ink-3);
  font-size: 12px;
}

.shortcut-grid {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 8px 12px;
}

.shortcut-grid span {
  display: inline-flex;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(233, 237, 245, 0.72);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  box-shadow: var(--inset-soft);
}

.shortcut-grid p {
  margin: 0;
  color: var(--ink-2);
  font-size: 13px;
}

@media (max-width: 1180px) {
  .landing-split {
    grid-template-columns: 1fr;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .showcase-player {
    order: -1;
  }

  .workflow-board,
  .platform-layer {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .workflow-visual,
  .platform-feature-main,
  .platform-feature-share,
  .platform-stack {
    grid-area: auto;
  }

  .platform-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-board {
    grid-template-columns: 1fr;
    grid-template-areas:
      "offer"
      "includes"
      "note";
  }

  .pricing-offer {
    min-height: 360px;
  }

  .security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topbar {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) auto;
  }

  .presence-stack {
    display: none;
  }

  .workspace {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .inspector {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: start;
  }

  .approval-panel {
    position: static;
  }
}

@media (max-width: 900px) {
  .landing-copy h1 {
    font-size: 58px;
  }

  .showcase-toolbar,
  .entry-dock,
  .client-entry-card {
    grid-template-columns: 1fr;
  }

  .showcase-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .showcase-status {
    justify-content: flex-start;
  }

  .workflow-visual {
    min-height: 480px;
  }

  .role-panels,
  .ai-export-panel,
  .closing-section {
    grid-template-columns: 1fr;
  }

  .role-panel-head strong,
  .ai-export-panel h2,
  .closing-section h2 {
    font-size: 38px;
  }

  .workflow-list article strong,
  .platform-feature strong {
    font-size: 32px;
  }

  .pricing-note {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .role-panel-head strong {
    text-align: left;
  }

  .closing-actions {
    justify-content: flex-start;
  }

  .topbar {
    top: 0;
    grid-template-columns: 1fr;
    align-items: stretch;
    margin: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .topbar-center {
    justify-self: stretch;
    grid-template-columns: 1fr auto;
  }

  .topbar-actions,
  .toolbar-actions {
    flex-wrap: wrap;
  }

  .workspace {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .sidebar,
  .inspector {
    display: grid;
    grid-template-columns: 1fr;
  }

  .viewer-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .viewer-toolbar h1 {
    font-size: 30px;
  }

  .video-stage {
    min-height: auto;
    border-radius: var(--radius-lg);
  }

  .video-grade {
    display: none;
  }

  .shot-strip {
    grid-template-columns: repeat(5, minmax(96px, 1fr));
    overflow-x: auto;
    padding-bottom: 2px;
  }
}

@media (max-width: 600px) {
  .landing-nav {
    position: static;
    grid-template-columns: 1fr;
    margin-top: 10px;
  }

  .landing-nav-links {
    display: none;
  }

  .landing-nav-actions,
  .landing-actions,
  .landing-proof-row {
    align-items: stretch;
    flex-direction: column;
  }

  .landing-nav-actions {
    flex-direction: row;
  }

  .landing-proof-row {
    align-items: center;
    flex-direction: row;
  }

  .landing-proof-row span {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }

  .landing-nav-actions a,
  .landing-actions a,
  .producer-entry-card,
  .pricing-offer .primary-button,
  .pin-entry button {
    width: 100%;
  }

  .landing-nav-actions a {
    width: auto;
    flex: 1 1 0;
  }

  .landing-hero {
    padding-top: 28px;
  }

  .landing-copy h1 {
    font-size: 42px;
  }

  .landing-copy p {
    font-size: 16px;
  }

  .landing-showcase {
    border-radius: 22px;
  }

  .pin-entry,
  .role-dashboard,
  .platform-stack,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .section-intro h2,
  .landing-split h2,
  .pricing-header h2 {
    font-size: 38px;
  }

  .section-intro p {
    font-size: 16px;
  }

  .workflow-board,
  .platform-layer {
    margin-top: 24px;
  }

  .workflow-visual {
    min-height: 420px;
    border-radius: 24px;
    padding: 10px;
  }

  .workflow-window {
    border-radius: 20px;
    padding: 14px;
  }

  .workflow-project strong,
  .workflow-list article strong,
  .platform-feature strong {
    font-size: 28px;
  }

  .workflow-share-card strong,
  .workflow-comment-card strong {
    font-size: 14px;
  }

  .workflow-list article,
  .platform-feature,
  .platform-stack article,
  .pricing-includes article {
    border-radius: 20px;
    padding: 18px;
  }

  .pricing-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .pricing-board {
    margin-top: 24px;
  }

  .pricing-offer {
    min-height: auto;
    border-radius: 22px;
    padding: 22px;
  }

  .pricing-offer strong {
    font-size: 44px;
  }

  .pricing-includes {
    grid-template-columns: 1fr;
  }

  .pricing-includes article {
    min-height: auto;
  }

  .pricing-note {
    border-radius: 20px;
    padding: 18px;
  }

  .share-preview div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .role-panel,
  .ai-export-panel {
    border-radius: 22px;
    padding: 16px;
  }

  .role-panel-head {
    flex-direction: column;
  }

  .role-panel-head strong,
  .ai-export-panel h2,
  .closing-section h2 {
    font-size: 32px;
  }

  .role-panel {
    min-height: auto;
  }

  .ai-export-panel {
    min-height: auto;
  }

  .security-grid article {
    min-height: auto;
  }

  .closing-section {
    gap: var(--space-4);
    padding-bottom: 72px;
  }

  .closing-actions {
    flex-direction: column;
  }

  .showcase-player,
  .showcase-player img {
    min-height: 250px;
  }

  .topbar,
  .workspace {
    padding-left: 10px;
    padding-right: 10px;
  }

  .topbar-center,
  .topbar-actions,
  .toolbar-actions,
  .composer-actions,
  .approval-actions,
  .modal-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .topbar-center {
    display: grid;
    grid-template-columns: 1fr;
  }

  .form-grid.two,
  .copy-field {
    grid-template-columns: 1fr;
  }

  .copy-field {
    display: grid;
  }

  .copy-field button,
  .share-copy-panel label button {
    justify-self: stretch;
    width: 100%;
  }

  .project-picker,
  .review-sync,
  .topbar-actions button,
  .toolbar-actions button,
  .composer-actions button,
  .composer-actions select,
  .approval-actions button,
  .modal-actions button {
    width: 100%;
  }

  .review-sync {
    justify-content: center;
  }

  .segmented {
    width: 100%;
    overflow-x: auto;
  }

  .segmented button {
    flex: 1 0 auto;
  }

  .control-dock {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .control-cluster,
  .markup-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .playback-controls .review-tool:last-child {
    grid-column: 1 / -1;
  }

  .markup-tools {
    grid-column: 1 / -1;
  }

  .client-review-chip {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    border-radius: var(--radius-md);
    padding: 10px 12px;
  }

  .client-review-chip strong,
  .client-review-chip small {
    white-space: normal;
  }

  .review-tool {
    justify-content: center;
  }

  .console-readout {
    justify-content: center;
  }

  .status-grid {
    grid-template-columns: 1fr;
  }

  .status-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .status-grid div:last-child {
    border-bottom: 0;
  }

  .viewer-toolbar h1 {
    font-size: 26px;
  }

  .play-button {
    width: 58px;
    height: 58px;
    font-size: 22px;
  }

  .video-status {
    left: 10px;
    top: 10px;
    min-height: 28px;
  }

  .video-overlay {
    top: 44px;
  }

  .video-meta {
    right: 10px;
    bottom: 10px;
  }

  .frame-note {
    max-width: 68%;
    padding: 7px 8px;
  }

  .frame-note strong {
    font-size: 11px;
  }

  .frame-note small,
  .safe-frame span {
    display: none;
  }

  .shot-strip button {
    min-height: 64px;
  }

  .comment-top,
  .comment-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ── 버튼/카드형 링크 밑줄 제거 (일반 텍스트 링크는 기본 유지) · 2026-06-22 ── */
a.primary-button,
a.ghost-button,
a.hero-button,
a.entry-card,
a.producer-entry-card,
a.brand,
a.landing-brand,
.landing-nav-actions a,
.landing-nav-links a,
.landing-actions a {
  text-decoration: none;
}
a.primary-button:hover,
a.ghost-button:hover,
a.hero-button:hover,
a.entry-card:hover,
a.producer-entry-card:hover,
a.brand:hover,
.landing-nav-actions a:hover,
.landing-nav-links a:hover {
  text-decoration: none;
}

/* ── 모바일 전수 보강(≤600px): 누락 그리드 1열화 + 가로넘침 차단 + 줄바꿈 안전 · 2026-06-22 ── */
@media (max-width: 600px) {
  html, body { overflow-x: hidden; max-width: 100%; }
  .entry-dock,
  .workflow-board,
  .ai-export-panel,
  .role-panels,
  body[data-view-mode="client"] .workspace,
  body[data-view-mode="client"] .topbar,
  body[data-view-mode="client"] .control-dock,
  .console-readout {
    grid-template-columns: 1fr !important;
  }
  .console-readout { white-space: normal; }
  .landing-copy h1 { font-size: 34px; line-height: 1.18; }
  .section-intro h2,
  .landing-split h2,
  .pricing-header h2,
  .role-panel-head strong,
  .ai-export-panel h2,
  .closing-section h2 { font-size: 27px; line-height: 1.22; }
  .landing-page h1,
  .landing-page h2,
  .landing-page h3,
  .landing-page p,
  .landing-page li,
  .landing-page span,
  .landing-page small,
  .landing-page strong,
  .landing-page a { overflow-wrap: anywhere; word-break: keep-all; }
}
