:root {
  --bg:#fbfbfa;
  --panel:#fff;
  --surface:#f4f4f2;
  --ink:#17181a;
  --ink-soft:#3d4046;
  --muted:#7c8087;
  --line:#e8e8e5;
  --line-strong:#d6d6d2;
  --brand:#17181a;
  --brand-soft:#f1f1ee;
  --accent:#c4643a;
  --accent-soft:#fbf1eb;
  --success:#186f52;
  --success-soft:#edf7f2;
  --warning:#8a6114;
  --warning-soft:#fdf7e9;
  --danger:#b23a3a;
  --danger-soft:#fdf2f2;
  --radius:6px;
  --radius-lg:14px;
  --shadow:none;
  --shadow-lift:0 1px 2px #17181a0a,0 8px 24px #17181a0a;
  --font:Inter,"SF Pro Text","PingFang SC","Microsoft YaHei",ui-sans-serif,system-ui,sans-serif;
  font-family:var(--font);
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  font-size:14px;
  line-height:1.6
}
button,input,textarea,select {
  font:inherit
}
button,a,input,select,textarea {
  touch-action:manipulation
}
button {
  cursor:pointer
}
button:disabled {
  cursor:not-allowed;
  opacity:.5
}
a {
  color:var(--brand);
  text-decoration:none
}
a:hover {
  text-decoration:underline
}
h1,h2,h3,h4,p {
  margin-top:0
}
h1 {
  font-size:25px;
  line-height:1.35;
  letter-spacing:-.5px;
  margin-bottom:0
}
h2 {
  font-size:19px;
  line-height:1.4;
  margin-bottom:14px
}
h3 {
  font-size:16px;
  line-height:1.4;
  margin-bottom:12px
}
h4 {
  font-size:14px;
  margin-bottom:7px
}
small,.small {
  font-size:12px
}
.muted {
  color:var(--muted)
}
.eyebrow {
  font-size:10px;
  font-weight:800;
  letter-spacing:1.7px;
  color:var(--muted);
  margin-bottom:6px
}
.full {
  width:100%
}
.hidden,[hidden] {
  display:none!important
}
.skip-link {
  position:absolute;
  left:12px;
  top:-80px;
  z-index:40;
  background:#fff;
  padding:12px
}
.skip-link:focus {
  top:12px
}
:focus-visible {
  outline:3px solid #8bb0ff;
  outline-offset:3px
}
.button {
  border:1px solid transparent;
  border-radius:var(--radius);
  min-height:38px;
  padding:8px 16px;
  font-weight:560;
  font-size:13px;
  letter-spacing:.01em;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  line-height:1.4;
  transition:background .16s ease,border-color .16s ease,opacity .16s ease
}
.button.primary {
  background:var(--brand);
  color:#fff
}
.button.primary:hover:not(:disabled) {
  background:#000
}
.button.secondary {
  background:#fff;
  border-color:var(--line-strong);
  color:var(--ink)
}
.button.secondary:hover:not(:disabled) {
  background:var(--surface);
  border-color:#bdbdb8
}
.button.ghost {
  background:transparent;
  color:var(--ink-soft);
  padding-left:4px;
  padding-right:4px
}
.button.ghost:hover:not(:disabled) {
  color:var(--ink)
}
.button.danger {
  color:var(--danger);
  background:#fff;
  border-color:#e8cccc
}
.button.small {
  font-size:12px;
  min-height:30px;
  padding:4px 10px
}
.text-button {
  background:none;
  border:0;
  color:var(--ink-soft);
  padding:3px 0;
  font-weight:560;
  font-size:12px
}
.text-button:hover {
  color:var(--ink);
  text-decoration:underline
}
.icon-button {
  background:transparent;
  border:0;
  font-size:23px;
  line-height:1;
  padding:4px 7px;
  color:var(--muted);
  border-radius:5px
}
.pill {
  display:inline-flex;
  align-items:center;
  border-radius:4px;
  padding:2px 7px;
  font-size:10px;
  font-weight:600;
  letter-spacing:.02em;
  white-space:nowrap
}
.pill.neutral {
  background:var(--surface);
  color:var(--muted)
}
.pill.success {
  background:var(--success-soft);
  color:var(--success)
}
.pill.warning {
  background:var(--warning-soft);
  color:var(--warning)
}
.pill.danger {
  background:var(--danger-soft);
  color:var(--danger)
}
.pill.info {
  background:var(--brand-soft);
  color:var(--brand)
}
.login-screen {
  min-height:100vh;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(380px,400px);
  gap:0
}
.portal-visual {
  min-height:100vh;
  padding:36px 44px 30px;
  position:relative;
  overflow:hidden;
  color:#f7f6f3;
  background:#101112;
  display:flex;
  flex-direction:column
}
.portal-visual:after {
  content:"";
  position:absolute;
  inset:auto -220px -320px auto;
  width:760px;
  height:760px;
  border-radius:50%;
  background:radial-gradient(circle,#c4643a22 0 30%,transparent 66%);
  pointer-events:none
}
.portal-brand {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:16px;
  font-weight:600;
  letter-spacing:-.2px;
  position:relative;
  z-index:1
}
.portal-brand small {
  display:block;
  color:#8b8f95;
  font-size:10px;
  font-weight:400;
  letter-spacing:.6px;
  margin-top:2px
}
.portal-copy {
  max-width:600px;
  margin:76px 0 44px;
  position:relative;
  z-index:1
}
.portal-copy .eyebrow {
  color:#8b8f95;
  font-weight:500;
  letter-spacing:2.4px
}
.portal-copy h1 {
  font-size:clamp(38px,4.2vw,60px);
  line-height:1.12;
  letter-spacing:-2.4px;
  font-weight:600;
  margin:16px 0 22px
}
.portal-copy h1 em {
  color:#c4643a;
  font-style:normal
}
.portal-copy>p:last-child {
  max-width:430px;
  color:#9a9ea4;
  font-size:14px;
  line-height:1.85;
  font-weight:400
}
.eyebrow.light {
  color:#8b8f95
}
.poster-wall {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  position:relative;
  z-index:1;
  margin-top:auto
}
.poster {
  min-height:200px;
  border-radius:10px;
  padding:14px;
  overflow:hidden;
  position:relative;
  display:flex;
  flex-direction:column;
  border:1px solid #ffffff1a;
  background:#141516
}
.poster img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.01);
  filter:saturate(.9) brightness(.82);
  transition:transform .5s ease
}
.poster:hover img {
  transform:scale(1.05)
}
.poster:before {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,#10111233 0%,#10111205 38%,#101112c4 100%);
  z-index:1
}
.poster span {
  font-size:9px;
  letter-spacing:1.6px;
  color:#ffffffa8;
  font-weight:500;
  position:relative;
  z-index:2
}
.poster strong {
  font-size:18px;
  line-height:1.22;
  letter-spacing:-.6px;
  font-weight:600;
  margin-top:auto;
  z-index:2;
  color:#fff
}
.poster small {
  margin-top:8px;
  font-size:9.5px;
  color:#ffffff8f;
  z-index:2;
  line-height:1.5
}
.portal-footer {
  display:flex;
  gap:26px;
  margin-top:26px;
  color:#7c8085;
  font-size:10px;
  letter-spacing:.4px;
  position:relative;
  z-index:1
}
.portal-footer span:before { content:"—"; color:#c4643a; margin-right:7px }
.brand-mark {
  width:34px;
  height:34px;
  border-radius:7px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:17px;
  font-weight:600;
  color:#f7f6f3;
  background:#17181a;
  flex-shrink:0
}
.brand-mark.large {
  width:44px;
  height:44px;
  font-size:22px;
  background:#1c1d1f;
  border:1px solid #ffffff1a;
  color:#f7f6f3
}
.login-card {
  max-width:none;
  width:100%;
  padding:44px 40px;
  background:#fbfbfa;
  border-left:1px solid var(--line);
  display:flex;
  flex-direction:column;
  justify-content:center
}
.login-card-top {
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:40px;
  color:var(--muted)
}
.login-card-top .brand-mark {
  width:26px;
  height:26px;
  border-radius:6px;
  font-size:13px
}
.login-card h1 {
  font-size:26px;
  line-height:1.25;
  letter-spacing:-.8px;
  font-weight:600;
  margin:6px 0 10px
}
.login-card form {
  margin:28px 0 20px
}
.login-features {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:0;
  margin:20px 0 22px;
  border-top:1px solid var(--line)
}
.login-features span {
  border-bottom:1px solid var(--line);
  padding:10px 2px;
  color:var(--muted);
  font-size:11px
}
.login-features span:before { content:"·"; color:var(--accent); margin-right:6px; font-weight:700 }
.field {
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:15px;
  min-width:0
}
.field>span {
  font-size:12px;
  color:var(--ink-soft);
  font-weight:560
}
.field input,.field select,.field textarea {
  border:1px solid var(--line-strong);
  border-radius:var(--radius);
  width:100%;
  min-height:38px;
  padding:8px 11px;
  background:#fff;
  color:var(--ink);
  transition:border-color .16s ease,box-shadow .16s ease
}
.field textarea {
  resize:vertical;
  min-height:84px;
  line-height:1.6
}
.field input[type=file] {
  padding:7px;
  font-size:12px
}
.field input:focus,.field select:focus,.field textarea:focus {
  border-color:var(--ink);
  box-shadow:0 0 0 3px #17181a0f
}
.field>small {
  color:var(--muted);
  font-size:11px
}
.inline-error {
  color:var(--danger);
  font-size:12px;
  margin:12px 0 0;
  min-height:18px
}
.app-shell {
  display:grid;
  grid-template-columns:236px minmax(0,1fr);
  min-height:100vh
}
.sidebar {
  position:sticky;
  top:0;
  height:100vh;
  background:#f7f7f5;
  border-right:1px solid var(--line);
  padding:22px 14px 16px;
  display:flex;
  flex-direction:column;
  gap:16px
}
.brand {
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--ink);
  font-weight:600;
  font-size:15px;
  letter-spacing:-.2px;
  margin-bottom:8px;
  padding:0 8px
}
.brand:hover {
  text-decoration:none
}
.brand small {
  display:block;
  font-weight:400;
  color:var(--muted);
  font-size:10px;
  letter-spacing:.3px;
  margin-top:1px
}
.side-nav {
  display:flex;
  flex-direction:column;
  gap:2px;
  margin-bottom:6px
}
.side-nav button {
  border:0;
  background:transparent;
  text-align:left;
  padding:9px 10px;
  border-radius:var(--radius);
  color:var(--ink-soft);
  font-size:12.5px;
  font-weight:500;
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  transition:background .14s ease,color .14s ease
}
.side-nav button:hover {
  background:#ecece8;
  color:var(--ink)
}
.side-nav button.active {
  background:#e6e6e1;
  color:var(--ink);
  font-weight:600
}
.side-nav .nav-dot {
  width:5px;
  height:5px;
  border-radius:50%;
  background:currentColor;
  opacity:.35;
  flex-shrink:0
}
.side-nav button.active .nav-dot {
  opacity:1;
  background:var(--accent)
}
.sidebar-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:10px;
  color:var(--muted);
  font-weight:600;
  letter-spacing:.8px;
  text-transform:uppercase;
  padding:0 9px;
  margin-top:6px;
  margin-bottom:-6px
}
.project-list {
  overflow:auto;
  flex:1;
  display:flex;
  flex-direction:column;
  gap:2px;
  min-height:100px
}
.project-item {
  padding:9px 10px;
  border:1px solid transparent;
  background:none;
  border-radius:var(--radius);
  text-align:left;
  color:var(--ink-soft);
  width:100%;
  display:flex;
  flex-direction:column;
  gap:6px;
  transition:background .14s ease
}
.project-item:hover {
  background:#ecece8
}
.project-item.active {
  background:#fff;
  border-color:var(--line);
  box-shadow:var(--shadow-lift)
}
.project-item .project-name {
  font-size:12px;
  font-weight:500;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:180px
}
.project-item.active .project-name {
  font-weight:600;
  color:var(--ink)
}
.project-item .project-meta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  font-size:10px;
  color:var(--muted)
}
.sidebar-bottom {
  border-top:1px solid var(--line);
  padding-top:13px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  font-size:11px;
  color:var(--ink-soft)
}
.sidebar .button.primary.full {
  border-radius:var(--radius);
  min-height:36px;
  font-size:12.5px
}
.main-shell {
  min-width:0;
  background:var(--bg)
}
.topbar {
  padding:22px 40px 18px;
  background:var(--bg);
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px
}
.topbar .eyebrow {
  font-size:9px;
  letter-spacing:1.6px;
  font-weight:600;
  color:var(--muted);
  margin-bottom:7px
}
.topbar h1 {
  font-size:22px;
  font-weight:600;
  letter-spacing:-.6px
}
.topbar-actions {
  display:flex;
  align-items:center;
  gap:10px
}
.notice {
  margin:16px 40px 0;
  border:1px solid var(--line-strong);
  background:#fff;
  color:var(--ink-soft);
  padding:11px 14px;
  border-radius:var(--radius);
  overflow-wrap:anywhere;
  font-size:12px;
  display:flex;
  align-items:center;
  gap:8px
}
.notice:before {
  content:"●";
  font-size:7px;
  color:var(--accent)
}
.notice.error {
  border-color:#e8cccc;
  background:var(--danger-soft);
  color:var(--danger)
}
.notice.error:before {
  color:var(--danger)
}
.notice.success {
  border-color:#cfe4d9;
  background:var(--success-soft);
  color:var(--success)
}
.notice.success:before {
  color:var(--success)
}
.notice.warning {
  border-color:#eadfc4;
  background:var(--warning-soft);
  color:var(--warning)
}
.notice.warning:before {
  color:var(--warning)
}
.project-summary {
  margin:16px 40px 0;
  display:flex;
  gap:20px;
  align-items:center;
  justify-content:space-between;
  padding:13px 18px;
  border:1px solid var(--line);
  background:#fff;
  border-radius:var(--radius)
}
.summary-metrics {
  display:flex;
  gap:28px;
  flex-wrap:wrap
}
.metric {
  display:flex;
  flex-direction:column;
  font-size:11px;
  color:var(--muted)
}
.metric strong {
  font-size:16px;
  color:var(--ink);
  font-weight:750
}
.step-nav {
  display:flex;
  gap:0;
  margin:18px 40px 0;
  border-bottom:1px solid var(--line)
}
.step-button {
  border:0;
  background:transparent;
  padding:11px 16px 12px;
  display:flex;
  align-items:center;
  gap:9px;
  color:var(--muted);
  border-radius:0;
  text-align:left;
  position:relative;
  transition:color .14s ease
}
.step-button:hover {
  color:var(--ink-soft)
}
.step-button strong {
  display:block;
  font-size:12.5px;
  font-weight:500
}
.step-button small {
  font-size:10px;
  opacity:.75
}
.step-button.active {
  color:var(--ink)
}
.step-button.active strong {
  font-weight:600
}
.step-button.active:after {
  content:"";
  position:absolute;
  left:12px;
  right:12px;
  bottom:-1px;
  height:2px;
  background:var(--ink)
}
.step-number {
  width:18px;
  height:18px;
  border-radius:50%;
  background:var(--surface);
  color:var(--muted);
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:9.5px;
  font-weight:600;
  flex-shrink:0
}
.step-button.active .step-number {
  background:var(--ink);
  color:#fff
}
.content {
  padding:26px 40px 48px;
  max-width:1560px;
  margin:0 auto;
  min-height:60vh
}
.content:focus {
  outline:none
}
.home-hero {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,392px);
  gap:40px;
  align-items:center;
  padding:44px 40px;
  border-radius:var(--radius-lg);
  background:#141516;
  color:#f7f6f3;
  position:relative;
  overflow:hidden;
  margin-bottom:16px
}
.home-hero:after {
  content:"";
  position:absolute;
  width:620px;
  height:620px;
  right:-160px;
  top:-260px;
  border-radius:50%;
  background:radial-gradient(circle,#c4643a26 0 34%,transparent 68%);
  pointer-events:none
}
.home-hero-copy {
  position:relative;
  z-index:1
}
.home-hero .eyebrow {
  color:#8b8f95;
  font-weight:500;
  letter-spacing:2.2px
}
.home-hero h2 {
  font-size:clamp(28px,3vw,40px);
  line-height:1.18;
  letter-spacing:-1.4px;
  font-weight:600;
  margin:14px 0 16px
}
.home-hero-text {
  max-width:430px;
  color:#9a9ea4;
  font-size:13.5px;
  line-height:1.8;
  margin-bottom:26px
}
.home-hero-actions {
  display:flex;
  gap:10px;
  flex-wrap:wrap
}
.home-hero-actions .button.primary {
  background:#f7f6f3;
  color:#17181a
}
.home-hero-actions .button.primary:hover:not(:disabled) {
  background:#fff
}
.home-hero-actions .button.secondary {
  background:transparent;
  border-color:#ffffff2e;
  color:#e8e7e3
}
.home-hero-actions .button.secondary:hover:not(:disabled) {
  background:#ffffff0f;
  border-color:#ffffff4d
}
.home-reel-wrap {
  position:relative;
  z-index:1;
  padding-top:24px
}
.home-reel-label {
  position:absolute;
  top:0;
  right:0;
  color:#ffffff8c;
  font-size:9px;
  letter-spacing:1.6px;
  text-transform:uppercase
}
.home-reel {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  position:relative;
  z-index:1
}
.home-reel-frame {
  aspect-ratio:3/4;
  border-radius:8px;
  overflow:hidden;
  background:#1e2022;
  border:1px solid #ffffff1a
}
.home-reel-frame img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:saturate(.92) contrast(1.04)
}
.home-reel-frame:nth-child(2) {
  transform:translateY(-14px)
}
.home-stats {
  display:flex;
  align-items:center;
  gap:34px;
  flex-wrap:wrap;
  padding:18px 4px 22px;
  margin-bottom:30px;
  border-bottom:1px solid var(--line)
}
.home-stat {
  display:flex;
  flex-direction:column;
  gap:1px;
  min-width:52px
}
.home-stat strong {
  font-size:23px;
  font-weight:500;
  letter-spacing:-1px;
  font-variant-numeric:tabular-nums
}
.home-stat span {
  font-size:10.5px;
  color:var(--muted);
  letter-spacing:.4px
}
.home-stats-note {
  margin:0 0 0 auto;
  font-size:10.5px;
  color:var(--muted);
  letter-spacing:.3px
}
.home-section {
  margin-bottom:34px
}
.home-section-head {
  display:flex;
  align-items:baseline;
  gap:14px;
  margin-bottom:16px;
  flex-wrap:wrap
}
.home-section-head h3 {
  font-size:15px;
  font-weight:600;
  letter-spacing:-.2px;
  margin:0
}
.home-section-head p {
  margin:0;
  font-size:11.5px;
  color:var(--muted)
}
.start-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px
}
.start-card {
  border:1px solid var(--line);
  background:#fff;
  border-radius:var(--radius-lg);
  padding:0;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  text-align:left;
  overflow:hidden;
  min-height:252px;
  transition:border-color .16s ease,transform .16s ease
}
.start-card:hover {
  border-color:var(--line-strong);
  transform:translateY(-1px)
}
.start-art {
  height:116px;
  flex:none;
  overflow:hidden;
  position:relative;
  background:#eae7e1
}
.start-art:after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,#15151500 45%,#1515151c)
}
.start-art img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .45s ease
}
.start-card:hover .start-art img {
  transform:scale(1.04)
}
.start-card-body {
  display:flex;
  flex:1;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
  padding:14px 16px 15px
}
.start-tag {
  font-size:9.5px;
  letter-spacing:1px;
  color:var(--muted);
  border:1px solid var(--line);
  border-radius:3px;
  padding:1px 6px
}
.start-card strong {
  font-size:14px;
  font-weight:600;
  letter-spacing:-.2px;
  line-height:1.4
}
.start-card p {
  margin:0;
  font-size:11.5px;
  color:var(--muted);
  line-height:1.7
}
.start-arrow {
  margin-top:auto;
  font-size:14px;
  color:var(--muted);
  transition:color .16s ease,transform .16s ease
}
.start-card:hover .start-arrow {
  color:var(--accent);
  transform:translateX(2px)
}
.start-card.start-showcase {
  background:linear-gradient(168deg,#1b1a18,#17181a);
  border-color:#17181a;
  color:#f7f6f3
}
.start-card.start-showcase .start-tag {
  color:#a9a7a1;
  border-color:#ffffff26
}
.start-card.start-showcase p,
.start-card.start-showcase .start-arrow {
  color:#94968f
}
.start-card.start-showcase:hover .start-arrow {
  color:#c4643a
}
.home-project-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px
}
.home-project {
  border:1px solid var(--line);
  background:#fff;
  border-radius:var(--radius-lg);
  overflow:hidden;
  padding:0;
  text-align:left;
  display:flex;
  flex-direction:column;
  transition:border-color .16s ease,transform .16s ease
}
.home-project:hover {
  border-color:var(--line-strong);
  transform:translateY(-1px)
}
.home-project-thumb {
  height:132px;
  display:flex;
  align-items:flex-end;
  padding:12px 14px;
  position:relative;
  overflow:hidden
}
.home-project-thumb img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.02);
  transition:transform .4s ease
}
.home-project:hover .home-project-thumb img {
  transform:scale(1.06)
}
.home-project-thumb.has-image:before {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,#11131300 40%,#111313a8);
  z-index:1
}
.home-project-thumb.has-image span {
  color:#fff
}
.home-project-thumb span {
  font-size:10px;
  letter-spacing:1.2px;
  color:#ffffffb8;
  position:relative;
  z-index:1
}
.home-project-thumb:after {
  content:"";
  position:absolute;
  width:150px;
  height:150px;
  border-radius:50%;
  right:-52px;
  top:-58px;
  border:1px solid #ffffff1f
}
.tone-showcase { background:linear-gradient(150deg,#2a211c,#171310); }
.tone-seeding { background:linear-gradient(150deg,#1f2a26,#121816); }
.tone-selling { background:linear-gradient(150deg,#2a2318,#17140f); }
.tone-remake { background:linear-gradient(150deg,#1e2124,#111315); }
.home-project-body {
  padding:13px 14px 14px;
  display:flex;
  flex-direction:column;
  gap:7px
}
.home-project-body strong {
  font-size:12.5px;
  font-weight:500;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  color:var(--ink)
}
.home-project-meta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px
}
.home-project-foot {
  margin-top:14px;
  display:flex;
  justify-content:flex-start
}
.content-title {
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:flex-start;
  margin-bottom:22px
}
.content-title h2 {
  margin-bottom:6px;
  font-size:21px
}
.content-title p {
  margin-bottom:0;
  max-width:800px;
  font-size:12px;
  color:var(--muted)
}
.grid-2 {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px
}
.grid-3 {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px
}
.card {
  padding:24px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  box-shadow:none;
  margin-bottom:18px;
  min-width:0
}
.card.flat {
  box-shadow:none;
  margin:0;
  padding:16px
}
.card-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px
}
.card-head h2,.card-head h3 {
  margin-bottom:4px
}
.card-head p {
  margin-bottom:0;
  color:var(--muted);
  font-size:12px
}
.row {
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap
}
.row.spread {
  justify-content:space-between
}
.stack {
  display:flex;
  flex-direction:column;
  gap:12px
}
.form-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 16px
}
.form-grid .span-2 {
  grid-column:1/-1
}
.help-box {
  font-size:12px;
  color:#52647d;
  background:#f5f8fc;
  padding:12px 14px;
  border-radius:9px;
  border:1px solid #e8edf5;
  margin-bottom:16px;
  overflow-wrap:anywhere
}
.help-box.warning {
  background:var(--warning-soft);
  color:var(--warning);
  border-color:#f1dfbd
}
.help-box.error {
  background:var(--danger-soft);
  color:var(--danger);
  border-color:#efd4d4
}
.asset-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
  gap:13px
}
.asset-card {
  border:1px solid var(--line);
  border-radius:11px;
  overflow:hidden;
  background:#fff;
  min-width:0
}
.asset-card.selected {
  border-color:#90b1f4;
  box-shadow:0 0 0 2px #e0eaff
}
.asset-preview {
  height:132px;
  background:#f1f4f8;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  position:relative
}
.asset-preview img,.asset-preview video {
  width:100%;
  height:100%;
  object-fit:contain
}
.asset-preview .kind-icon {
  font-size:32px;
  color:#8090aa
}
.asset-card-body {
  padding:11px
}
.asset-name {
  font-size:11px;
  font-weight:650;
  white-space:nowrap;
  text-overflow:ellipsis;
  overflow:hidden;
  margin-bottom:4px
}
.asset-meta {
  font-size:10px;
  color:var(--muted);
  margin-bottom:8px
}
.asset-card .field {
  margin:8px 0 0
}
.asset-card .field select {
  font-size:10px;
  min-height:28px;
  padding:4px 6px
}
.check-label {
  display:flex;
  align-items:flex-start;
  gap:8px;
  font-size:12px;
  cursor:pointer;
  line-height:1.6
}
.check-label input {
  margin-top:3px;
  accent-color:var(--brand);
  flex-shrink:0
}
.check-label small {
  display:block;
  font-size:10px;
  color:var(--muted)
}
.checkbox-row {
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  padding:8px 0 12px
}
.empty {
  padding:32px 20px;
  background:#f8fafc;
  border:1px dashed #d6dfed;
  border-radius:11px;
  text-align:center;
  color:var(--muted);
  font-size:12px
}
.empty strong {
  display:block;
  font-size:15px;
  color:#465976;
  margin-bottom:7px
}
.empty p {
  margin-bottom:12px
}
.dossier-list {
  display:flex;
  flex-direction:column;
  gap:10px
}
.dossier-item {
  border:1px solid var(--line);
  border-radius:10px;
  padding:13px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px
}
.dossier-item strong {
  font-size:13px
}
.dossier-item p {
  font-size:11px;
  color:var(--muted);
  margin:4px 0 0
}
.section-divider {
  height:1px;
  background:var(--line);
  margin:22px 0
}
.modal {
  width:min(760px,calc(100vw - 30px));
  max-height:90vh;
  padding:0;
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:0 24px 100px #10294e35
}
.modal::backdrop {
  background:#12213b77;
  backdrop-filter:blur(2px)
}
.modal-head {
  position:sticky;
  top:0;
  background:#fff;
  padding:20px 24px;
  border-bottom:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:center;
  z-index:1
}
.modal-head h2 {
  margin:0
}
.modal #modal-body {
  padding:23px 24px
}
.modal-actions {
  display:flex;
  justify-content:flex-end;
  gap:10px;
  padding-top:12px
}
.source-video {
  max-height:300px;
  width:100%;
  background:#101725;
  border-radius:10px
}
.toolbar {
  display:flex;
  justify-content:space-between;
  gap:15px;
  align-items:center;
  flex-wrap:wrap;
  margin:16px 0
}
.shot-card {
  padding:0;
  overflow:hidden
}
.shot-head {
  background:#f9fbfe;
  border-bottom:1px solid var(--line);
  padding:15px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px
}
.shot-head h3 {
  margin:0;
  display:flex;
  gap:10px;
  align-items:center
}
.shot-number {
  color:var(--brand);
  font-size:11px;
  font-weight:800;
  background:var(--brand-soft);
  border-radius:6px;
  padding:4px 7px
}
.shot-body {
  padding:20px
}
.time-inputs {
  display:grid;
  grid-template-columns:repeat(2,110px);
  gap:10px
}
.time-inputs .field {
  margin-bottom:0
}
.shot-edit-grid {
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:22px
}
.shot-side {
  padding:14px;
  background:#f8fafc;
  border-radius:9px;
  align-self:start
}
.shot-side .check-label {
  margin-bottom:11px
}
.reference-row {
  display:grid;
  grid-template-columns:minmax(160px,2fr) 1fr 1fr auto;
  gap:8px;
  align-items:end;
  margin-bottom:9px
}
.reference-row .field {
  margin:0
}
.reference-row .field select {
  font-size:11px;
  padding:6px;
  min-height:33px
}
.reference-row .field>span {
  font-size:10px
}
.details {
  border-top:1px solid var(--line);
  margin-top:15px;
  padding-top:12px
}
.details summary {
  cursor:pointer;
  font-size:12px;
  color:#425b82;
  font-weight:650
}
.details[open] summary {
  margin-bottom:13px
}
pre {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  background:#f5f7fa;
  border:1px solid var(--line);
  padding:12px;
  border-radius:8px;
  font:11px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace
}
.provider-info {
  padding:12px;
  background:#f5f8fd;
  border-radius:9px;
  font-size:12px;
  margin-bottom:15px
}
.selection-list {
  display:flex;
  flex-direction:column;
  gap:8px;
  max-height:260px;
  overflow:auto
}
.selection-item {
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:8px
}
.estimate-total {
  display:flex;
  align-items:baseline;
  gap:10px;
  padding:12px 0 18px
}
.estimate-total strong {
  font-size:31px;
  font-weight:800;
  color:var(--brand);
  letter-spacing:-1px
}
.estimate-row {
  border-top:1px solid var(--line);
  padding:12px 0;
  font-size:12px
}
.estimate-row ul {
  margin:7px 0 0;
  padding-left:19px
}
.error-text {
  color:var(--danger)
}
.warning-text {
  color:var(--warning)
}
.task-list {
  display:flex;
  flex-direction:column;
  gap:10px
}
.task-item {
  border:1px solid var(--line);
  border-radius:9px;
  padding:12px 14px
}
.task-item p {
  font-size:11px;
  color:var(--muted);
  margin:6px 0 0
}
.progress {
  height:4px;
  border-radius:10px;
  background:#edf1f7;
  overflow:hidden;
  margin-top:9px
}
.progress>span {
  display:block;
  background:var(--brand);
  height:100%;
  transition:width .3s
}
.compare-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px
}
.compare-grid figure {
  margin:0
}
.compare-grid video {
  height:360px;
  background:#0d1320;
  object-fit:contain;
  width:100%;
  border-radius:10px
}
.compare-grid figcaption {
  font-size:11px;
  color:var(--muted);
  margin-top:6px
}
.review-row {
  border-top:1px solid var(--line);
  padding:15px 0;
  display:grid;
  grid-template-columns:minmax(140px,1fr) minmax(120px,150px) minmax(180px,2fr);
  gap:13px;
  align-items:start
}
.review-row .field {
  margin:0
}
.review-row .field textarea {
  min-height:64px;
  font-size:11px
}
.review-name {
  font-size:12px;
  font-weight:650;
  overflow-wrap:anywhere
}
.review-note {
  font-size:11px;
  color:var(--muted);
  margin-top:5px
}
.review-evidence {
  grid-column:1/-1;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  font-size:10px
}
.review-evidence .check-label {
  font-size:10px
}
.deliverable-grid {
  display:grid;
  grid-template-columns:minmax(240px,1fr) minmax(260px,1fr);
  gap:22px
}
.deliverable-grid video {
  max-height:400px;
  width:100%;
  border-radius:9px;
  background:#0d1320
}
.event-list {
  margin:0;
  padding-left:19px;
  max-height:280px;
  overflow:auto
}
.event-list li {
  font-size:11px;
  color:#50617a;
  padding:6px 0
}
.event-list time {
  display:inline-block;
  color:#8a97a9;
  margin-right:8px
}
.footer {
  padding:20px 32px 30px;
  color:#8a96a6;
  font-size:10px;
  text-align:center
}
.spinner {
  width:13px;
  height:13px;
  display:inline-block;
  border:2px solid #ffffff55;
  border-top-color:currentColor;
  border-radius:50%;
  animation:spin .8s linear infinite
}
.busy {
  pointer-events:none
}
@keyframes spin {
  to {
    transform:rotate(360deg)
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }
}
@media(min-width:1500px) {
  .content {
    padding-left:40px;
    padding-right:40px
  }
}
@media(max-width:1150px) {
  .poster-wall {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .poster {
    min-height:170px
  }
  .app-shell {
    grid-template-columns:210px minmax(0,1fr)
  }
  .start-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .home-project-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .home-hero {
    padding:30px 26px;
    gap:24px;
    grid-template-columns:minmax(0,1fr) minmax(0,300px)
  }
  .home-reel-frame:nth-child(2) {
    transform:none
  }
  .sidebar {
    padding:23px 13px 15px
  }
  .content {
    padding:23px
  }
  .topbar {
    padding:23px
  }
  .step-nav,.project-summary {
    margin-left:23px;
    margin-right:23px
  }
  .notice {
    margin-left:23px;
    margin-right:23px
  }
  .grid-3 {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .shot-edit-grid {
    grid-template-columns:1fr
  }
  .compare-grid video {
    height:290px
  }
  .step-button small {
    display:none
  }
  .reference-row {
    grid-template-columns:minmax(130px,2fr) 1fr 1fr auto
  }
}
@media(max-width:860px) {
  .app-shell {
    grid-template-columns:1fr
  }
  .sidebar {
    position:static;
    height:auto;
    padding:13px 16px;
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    gap:10px;
    border-right:0;
    border-bottom:1px solid var(--line)
  }
  .brand {
    margin:0;
    padding:0
  }
  .side-nav {
    grid-column:1/-1;
    flex-direction:row;
    gap:4px;
    border-bottom:0;
    padding-bottom:0;
    margin:2px 0 0;
    overflow-x:auto
  }
  .side-nav button {
    flex:0 0 auto;
    width:auto;
    padding:7px 12px;
    border-radius:100px
  }
  .side-nav button.active {
    background:#17181a0d
  }
  .sidebar>.button {
    width:auto;
    font-size:12px
  }
  .sidebar-heading,.project-list {
    grid-column:1/-1
  }
  .sidebar-heading {
    margin:0;
    padding:0;
    display:none
  }
  .project-list {
    flex-direction:row;
    min-height:0;
    max-height:none;
    overflow-x:auto;
    gap:8px;
    padding-bottom:2px
  }
  .project-item {
    width:168px;
    flex-shrink:0;
    padding:9px 11px
  }
  .sidebar-bottom {
    grid-column:1/-1;
    padding-top:8px
  }
  .home-hero {
    grid-template-columns:1fr;
    align-items:flex-start;
    gap:26px;
    padding:26px 22px;
    margin-bottom:14px
  }
  .home-hero h2 {
    font-size:29px;
    letter-spacing:-1px
  }
  .home-hero-text {
    max-width:none
  }
  .home-reel {
    max-width:280px
  }
  .home-reel-frame {
    aspect-ratio:1/1
  }
  .home-stats {
    gap:22px;
    padding:16px 2px 18px;
    margin-bottom:24px
  }
  .home-stat strong {
    font-size:20px
  }
  .home-stats-note {
    margin:0;
    flex-basis:100%
  }
  .start-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px
  }
  .start-card {
    min-height:226px
  }
  .start-art {
    height:96px
  }
  .start-card-body {
    padding:12px
  }
  .start-card strong {
    font-size:12px
  }
  .start-card p {
    font-size:10.5px
  }
  .home-project-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px
  }
  .home-project-thumb {
    height:110px
  }
  .topbar {
    padding:18px 20px
  }
  .topbar h1 {
    font-size:21px
  }
  .content {
    padding:20px
  }
  .step-nav {
    margin:18px 20px 0
  }
  .project-summary,.notice {
    margin-left:20px;
    margin-right:20px
  }
  .grid-2,.deliverable-grid {
    grid-template-columns:1fr
  }
  .login-screen {
    grid-template-columns:1fr;
    gap:18px;
    padding:18px
  }
  .portal-visual {
    min-height:560px;
    padding:25px 24px 22px
  }
  .portal-copy {
    margin:42px 0 25px
  }
  .portal-copy h1 {
    font-size:42px;
    letter-spacing:-2px
  }
  .poster-wall {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px
  }
  .poster {
    min-height:154px
  }
  .poster strong {
    font-size:20px;
    margin-top:18px
  }
  .login-card {
    max-width:none;
    padding:28px 22px
  }
  .review-row {
    grid-template-columns:1fr 140px
  }
  .review-row>.field:last-of-type {
    grid-column:1/-1
  }
}
@media(max-width:540px) {
  .portal-visual {
    min-height:520px;
    border-radius:22px;
    padding:22px 20px 18px
  }
  .portal-brand {
    font-size:16px
  }
  .portal-copy {
    margin:32px 0 20px
  }
  .portal-copy h1 {
    font-size:35px
  }
  .portal-copy>p:last-child {
    font-size:13px
  }
  .poster-wall {
    gap:8px
  }
  .poster {
    min-height:125px;
    padding:13px
  }
  .poster strong {
    font-size:16px
  }
  .poster small {
    font-size:9px
  }
  .portal-footer {
    gap:10px;
    font-size:9px
  }
  .topbar-actions>.pill {
    display:none
  }
  .topbar-actions .button {
    font-size:11px;
    padding:7px 9px
  }
  .topbar h1 {
    font-size:18px
  }
  .content {
    padding:16px
  }
  .content-title {
    flex-direction:column;
    gap:10px
  }
  .step-nav {
    margin-left:16px;
    margin-right:16px
  }
  .step-button {
    padding:9px 5px;
    gap:5px;
    flex-direction:column;
    align-items:center;
    text-align:center
  }
  .step-button strong {
    font-size:10px
  }
  .step-number {
    width:22px;
    height:22px;
    font-size:10px
  }
  .project-summary {
    margin-left:16px;
    margin-right:16px;
    padding:12px;
    align-items:flex-start;
    gap:8px;
    flex-direction:column
  }
  .summary-metrics {
    gap:15px
  }
  .metric strong {
    font-size:14px
  }
  .card {
    padding:17px
  }
  .grid-3,.form-grid {
    grid-template-columns:1fr
  }
  .form-grid .span-2 {
    grid-column:auto
  }
  .asset-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .asset-preview {
    height:115px
  }
  .shot-head {
    padding:12px;
    align-items:flex-start;
    flex-direction:column
  }
  .shot-body {
    padding:14px
  }
  .time-inputs {
    grid-template-columns:repeat(2,1fr);
    width:100%
  }
  .reference-row {
    grid-template-columns:1fr 1fr
  }
  .reference-row>.field:first-child {
    grid-column:1/-1
  }
  .reference-row>.icon-button {
    justify-self:end
  }
  .compare-grid {
    gap:9px
  }
  .compare-grid video {
    height:245px
  }
  .modal #modal-body,.modal-head {
    padding:17px
  }
  .review-row {
    grid-template-columns:1fr
  }
  .review-row>.field:last-of-type {
    grid-column:auto
  }
  .footer {
    padding:15px
  }
  .notice {
    margin-left:16px;
    margin-right:16px
  }
  .toolbar {
    align-items:flex-start;
    flex-direction:column
  }
}
.task-progress {
  width:100%;
  height:5px;
  margin-top:9px;
  border:0;
  border-radius:8px;
  appearance:none
}
.task-progress::-webkit-progress-bar {
  background:#edf1f7;
  border-radius:8px
}
.task-progress::-webkit-progress-value {
  background:var(--brand);
  border-radius:8px
}
.task-progress::-moz-progress-bar {
  background:var(--brand);
  border-radius:8px
}
.source-keyframes {
  display:flex;
  gap:12px;
  overflow-x:auto;
  margin:10px 0 20px;
  padding-bottom:6px;
}
.source-keyframes figure {
  margin:0;
  width:130px;
  flex-shrink:0;
}
.source-keyframes img {
  width:130px;
  height:94px;
  object-fit:contain;
  background:#eef2f7;
  border:1px solid var(--line);
  border-radius:8px;
}
.source-keyframes figcaption {
  font-size:10px;
  color:var(--muted);
  text-align:center;
}

.text-video-preview {
  display:block;
  width:100%;
  max-width:560px;
  max-height:520px;
  object-fit:contain;
  background:#111;
  border-radius:8px;
  margin:12px 0;
}
