/* Shared project planning. Scoped so personal work and production tools keep their layout. */
.cmp-page { --cmp-line: #d7ddce; --cmp-soft: #f4f5e9; --cmp-dark: #153d33; --cmp-muted: #5d6e5f; padding-top: 26px; padding-bottom: 35px; }
.cmp-page *, .cmp-dialog * { box-sizing: border-box; }
.cmp-page [hidden], .cmp-dialog [hidden] { display: none !important; }
.cmp-page h1, .cmp-page h2, .cmp-page h3, .cmp-dialog h2 { font-family: 'Manrope', 'DM Sans', sans-serif; }
.cmp-page button, .cmp-dialog button { font: inherit; cursor: pointer; }
.cmp-page button:disabled, .cmp-dialog button:disabled { cursor: not-allowed; opacity: .5; }
.cmp-page :is(a, button, input, select, textarea):focus-visible, .cmp-dialog :is(button, input, select, textarea):focus-visible { outline: 3px solid #b85d75; outline-offset: 4px; }
.cmp-list-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; padding: 48px 0 42px; border-bottom: 1px solid var(--cmp-line); }
.cmp-list-head h1 { font-size: clamp(38px, 5vw, 68px); line-height: 1.08; letter-spacing: -.045em; font-weight: 600; margin: 18px 0 20px; }
.cmp-list-head h1 em { font-style: normal; color: #627852; }
.cmp-list-head p { max-width: 570px; color: var(--cmp-muted); font-size: 16px; line-height: 1.8; margin: 0; }
.cmp-list-aside { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; color: var(--cmp-muted); font-size: 12px; min-width: 140px; }
.cmp-list-number { font-size: 68px; font-weight: 400; letter-spacing: -.06em; line-height: 1; color: #85927c; }
.cmp-list-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(305px, 1fr); align-items: start; gap: 44px; margin: 36px 0; }
.cmp-list-layout > *, .cmp-overview > * { min-width: 0; }
.cmp-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin: 0 0 25px; }
.cmp-section-head h2 { font-size: 26px; letter-spacing: -.7px; line-height: 1.25; margin: 0 0 9px; }
.cmp-section-head .eyebrow { display: block; margin-bottom: 13px; }
.cmp-section-head p { color: var(--cmp-muted); max-width: 600px; font-size: 14px; line-height: 1.7; margin: 0; }
.cmp-section-head > .button { flex-shrink: 0; }
.cmp-project-grid { display: grid; gap: 18px; }
.cmp-project-card { display: block; padding: 26px 28px; border: 1px solid var(--cmp-line); border-radius: 12px; background: var(--white, #fffef6); color: var(--ink); text-decoration: none; transition: border-color .15s ease, background .15s ease; }
.cmp-project-card:hover { border-color: #829374; background: #f8f9ed; }
.cmp-card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 21px; }
.cmp-stage { display: inline-block; font-size: 11px; line-height: 1.5; background: #eee4e4; color: #704a52; padding: 5px 9px; border-radius: 4px; font-weight: 600; }
.cmp-project-card h3 { font-size: 29px; line-height: 1.25; letter-spacing: -.8px; margin: 24px 0 11px; overflow-wrap: anywhere; }
.cmp-project-card > p { color: var(--cmp-muted); font-size: 14px; line-height: 1.75; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.cmp-card-bottom { display: flex; flex-direction: column; gap: 6px; margin-top: 24px; padding-top: 17px; border-top: 1px solid var(--cmp-line); font-size: 11px; line-height: 1.6; color: var(--cmp-muted); }
.cmp-card-bottom > span:first-child { color: var(--ink); font-weight: 600; }
.cmp-create-panel { padding: 28px; border: 1px solid #cbd5c0; border-radius: 12px; background: #eef2e4; }
.cmp-create-panel h2 { font-size: 27px; line-height: 1.2; letter-spacing: -.8px; margin: 15px 0 27px; }
.cmp-form { display: grid; gap: 19px; }
.cmp-form label { display: grid; gap: 8px; font-size: 12px; font-weight: 600; line-height: 1.6; color: #254839; min-width: 0; }
.cmp-form input, .cmp-form select, .cmp-form textarea { width: 100%; min-width: 0; border: 1px solid #aebda3; border-radius: 6px; padding: 12px; background: #fffef7; color: #203b30; font: 14px/1.5 'DM Sans', sans-serif; }
.cmp-form textarea { resize: vertical; min-height: 120px; }
.cmp-form label > small { font-size: 11px; font-weight: 400; color: #65745b; }
.cmp-form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; align-items: start; }
.cmp-form-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 5px; flex-wrap: wrap; }
.cmp-note, p.cmp-note { font-size: 12px; line-height: 1.75; color: #5d6e5f; margin: 0; }
.cmp-error { color: #8b2c32; background: #fff0ed; border: 1px solid #e6beb5; border-radius: 6px; padding: 14px 16px; margin: 16px 0; line-height: 1.7; font-size: 13px; overflow-wrap: anywhere; }
.cmp-error .button { margin-top: 13px; }
.cmp-dialog { padding: 4px; max-width: 620px; }
.cmp-dialog h2 { font-size: 30px; line-height: 1.2; letter-spacing: -.8px; margin: 13px 0 25px; }
.cmp-empty { padding: 45px 22px; text-align: center; }
.cmp-empty-mark { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 22px; border: 1px solid #b9c7ac; border-radius: 10px; background: #edf1e4; color: #557148; font-size: 19px; }
.cmp-empty h3 { margin: 0 0 13px; font-size: 27px; font-weight: 600; letter-spacing: -.8px; line-height: 1.3; }
.cmp-empty p { max-width: 430px; margin: 0 auto; color: var(--cmp-muted); font-size: 14px; line-height: 1.8; }
.cmp-empty-projects { background: #f4f5eb; border: 1px dashed #b9c7ac; border-radius: 12px; padding: 57px 32px; }
.cmp-empty .cmp-note { margin-top: 25px; font-size: 12px; }
.cmp-scope-note { color: #67715f; font-size: 12px; line-height: 1.8; border-top: 1px solid var(--cmp-line); padding-top: 22px; }
.cmp-context { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 4px 0 23px; font-size: 12px; color: var(--cmp-muted); }
.cmp-context a { font-weight: 600; color: var(--ink); }
.cmp-project-head { background: var(--cmp-dark); color: #f1f3e7; border-radius: 14px; padding: 36px 38px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.cmp-project-head .eyebrow { color: #bdd2aa; }
.cmp-project-head h1 { font-size: clamp(32px, 4.7vw, 56px); line-height: 1.15; letter-spacing: -.045em; margin: 22px 0 15px; color: inherit; max-width: 850px; overflow-wrap: anywhere; }
.cmp-project-head p { color: #c1d0b9; font-size: 14px; line-height: 1.7; margin: 0; }
.cmp-private { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 10px; padding: 8px 10px; border: 1px solid #53715e; border-radius: 5px; color: #d1e1c5; }
.cmp-private span { font-size: 7px; color: #b4c699; }
.cmp-tabs { display: flex; gap: 35px; border-bottom: 1px solid var(--cmp-line); margin: 0 0 30px; }
.cmp-tabs a { display: inline-flex; align-items: center; gap: 8px; min-height: 62px; font-size: 13px; font-weight: 500; color: #63705d; text-decoration: none; border-bottom: 2px solid transparent; }
.cmp-tabs a[aria-current] { color: #1b4b35; font-weight: 700; border-color: #44643a; }
.cmp-tabs a > span { border-radius: 4px; padding: 2px 6px; font-size: 10px; line-height: 1.4; background: #e8ecde; color: #5a7050; }
.cmp-panel { border: 1px solid var(--cmp-line); border-radius: 12px; background: var(--white, #fffef6); padding: 30px; min-width: 0; }
.cmp-overview { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 23px; }
.cmp-story { margin: 0; white-space: pre-wrap; color: #435942; line-height: 1.85; font-size: 16px; overflow-wrap: anywhere; }
.cmp-facts { margin: 30px 0 0; border-top: 1px solid var(--cmp-line); padding-top: 23px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cmp-facts dt { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--cmp-muted); margin-bottom: 9px; }
.cmp-facts dd { font-size: 12px; line-height: 1.7; margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.cmp-next { background: #ece5e2; border-color: #dfcfcd; }
.cmp-next .eyebrow { color: #7e535d; }
.cmp-next h2 { font-size: 30px; line-height: 1.2; letter-spacing: -.9px; margin: 21px 0 15px; }
.cmp-next p { color: #6b665c; font-size: 14px; line-height: 1.8; margin: 0 0 25px; }
.cmp-workflow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 26px 0; border-block: 1px solid var(--cmp-line); }
.cmp-workflow a { display: flex; align-items: flex-start; gap: 15px; padding: 26px 18px; color: var(--ink); text-decoration: none; min-width: 0; }
.cmp-workflow a:first-child { padding-left: 0; }
.cmp-workflow a:last-child { padding-right: 0; }
.cmp-workflow a > div { flex: 1; min-width: 0; }
.cmp-workflow h3 { font-size: 17px; font-weight: 600; letter-spacing: -.3px; line-height: 1.4; margin: 0 0 6px; }
.cmp-workflow p { font-size: 11px; line-height: 1.7; color: var(--cmp-muted); margin: 0; }
.cmp-step { color: #888f7a; font-size: 11px; padding-top: 4px; }
.cmp-workflow a > span:last-child { font-size: 15px; color: #74846b; }
.cmp-related { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 6px 0 14px; }
.cmp-related h3 { font-size: 21px; letter-spacing: -.4px; margin: 0 0 9px; }
.cmp-related p { font-size: 13px; line-height: 1.7; color: var(--cmp-muted); margin: 0; }
.cmp-production-link { flex: 0 0 100%; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 20px; border-top: 1px solid var(--cmp-line); padding-top: 20px; margin-top: 6px; font-size: 12px; }
.cmp-production-link span { font-size: 11px; color: var(--cmp-muted); }
.cmp-text-button { min-height: 44px; border: 0; background: transparent; color: #375637; font-size: 12px !important; text-align: left; padding: 8px 2px; flex-shrink: 0; }
.cmp-text-button:hover { text-decoration: underline; }
.cmp-scene-list, .cmp-task-list, .cmp-team-list, .cmp-invite-list { list-style: none; padding: 0; margin: 24px 0 0; }
.cmp-scene-list li { display: flex; align-items: flex-start; gap: 24px; border-top: 1px solid var(--cmp-line); padding: 26px 0; }
.cmp-scene-list li:last-child { padding-bottom: 0; }
.cmp-scene-number { display: grid; place-items: center; width: 43px; height: 43px; flex-shrink: 0; background: #edf1e4; border: 1px solid #c5d1b9; border-radius: 7px; color: #5b7350; font-size: 12px; }
.cmp-scene-copy { min-width: 0; flex: 1; padding-top: 8px; }
.cmp-scene-copy h3 { font-size: 21px; line-height: 1.4; letter-spacing: -.5px; margin: 0 0 13px; overflow-wrap: anywhere; }
.cmp-scene-copy p { font-size: 14px; line-height: 1.8; color: var(--cmp-muted); white-space: pre-wrap; margin: 0; overflow-wrap: anywhere; }
.cmp-task-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 24px; padding: 20px 0 0; font-size: 12px; }
.cmp-task-filters label { display: flex; align-items: center; gap: 9px; min-height: 36px; cursor: pointer; }
.cmp-task-filters input { width: 17px; height: 17px; accent-color: #406338; }
.cmp-task-filters > span { margin-left: auto; font-size: 11px; color: var(--cmp-muted); }
.cmp-task-list li, .cmp-team-list li { display: flex; align-items: center; gap: 19px; border-top: 1px solid var(--cmp-line); padding: 22px 0; }
.cmp-task-list li > div, .cmp-team-list li > div { flex: 1; min-width: 0; }
.cmp-task-list h3, .cmp-team-list h3 { font-size: 16px; font-weight: 600; line-height: 1.5; letter-spacing: -.3px; margin: 0 0 7px; overflow-wrap: anywhere; }
.cmp-task-list p, .cmp-team-list p { font-size: 12px; line-height: 1.7; color: var(--cmp-muted); margin: 0; overflow-wrap: anywhere; }
.cmp-task-check { width: 44px; height: 44px; border: 1px solid #9eaf91; background: #fffef6; color: #355c38; border-radius: 50%; flex-shrink: 0; font-size: 18px !important; }
.cmp-task-check[aria-pressed=true] { background: #e2ebd6; border-color: #79936a; }
.cmp-task-list [data-done=true] h3 { text-decoration: line-through; color: #65715e; }
.cmp-access-note { background: #f0f3e7; border-left: 3px solid #9eaf89; padding: 17px 19px; margin-bottom: 26px; font-size: 12px; line-height: 1.8; color: #55644b; }
.cmp-access-note strong { color: #3f5635; }
.cmp-access-note p { margin: 4px 0 0; }
.cmp-avatar { display: grid; place-items: center; width: 45px; height: 45px; flex-shrink: 0; border-radius: 50%; background: #e8e8db; color: #596b4b; font-size: 12px; font-weight: 600; }
.cmp-team-list h3 small { display: inline-block; margin-left: 6px; font-size: 10px; color: #708062; font-family: 'DM Sans', sans-serif; font-weight: 400; }
.cmp-invitations { margin-top: 25px; }
.cmp-invite-list li { display: flex; justify-content: space-between; gap: 20px; align-items: center; border-top: 1px solid var(--cmp-line); padding: 18px 0; }
.cmp-invite-list li:last-child { padding-bottom: 0; }
.cmp-invite-list strong { font-size: 13px; }
.cmp-invite-list p { color: var(--cmp-muted); font-size: 12px; line-height: 1.6; margin: 7px 0 0; }
.cmp-foot { display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap; margin-top: 38px; border-top: 1px solid var(--cmp-line); padding-top: 23px; color: #6c765f; font-size: 11px; line-height: 1.8; }
@media (max-width: 1000px) {
  .cmp-list-layout { gap: 25px; grid-template-columns: minmax(0, 1fr) minmax(305px, .85fr); }
  .cmp-overview { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; }
  .cmp-panel { padding: 25px; }
  .cmp-workflow a { gap: 10px; padding-inline: 12px; }
}
@media (max-width: 760px) {
  .cmp-list-layout, .cmp-overview { grid-template-columns: 1fr; }
  .cmp-list-layout { gap: 30px; }
  .cmp-list-head { padding-top: 30px; }
  .cmp-list-aside { display: none; }
  .cmp-list-head p { font-size: 14px; }
  .cmp-list-layout > section > .cmp-section-head { flex-wrap: wrap; gap: 5px; }
  .cmp-project-head { padding: 29px 26px; flex-direction: column; }
  .cmp-private { order: -1; }
  .cmp-project-head .eyebrow { font-size: 10px; }
  .cmp-project-head h1 { margin-top: 17px; }
  .cmp-next h2 { font-size: 26px; margin-top: 14px; }
  .cmp-next p { margin-bottom: 18px; }
  .cmp-workflow { grid-template-columns: 1fr; }
  .cmp-workflow a, .cmp-workflow a:first-child, .cmp-workflow a:last-child { padding: 20px 0; gap: 19px; }
  .cmp-workflow a + a { border-top: 1px solid var(--cmp-line); }
  .cmp-workflow h3 { font-size: 18px; }
  .cmp-workflow p { font-size: 12px; }
  .cmp-form input, .cmp-form select, .cmp-form textarea { font-size: 16px; }
}
@media (max-width: 480px) {
  .cmp-page { padding-top: 19px; }
  .cmp-list-head { padding: 27px 0; }
  .cmp-list-head h1 { font-size: 42px; }
  .cmp-section-head { flex-wrap: wrap; gap: 17px; }
  .cmp-section-head h2 { font-size: 24px; }
  .cmp-panel, .cmp-create-panel { padding: 23px 19px; }
  .cmp-project-card { padding: 22px; }
  .cmp-project-card h3 { font-size: 25px; }
  .cmp-empty-projects { padding: 35px 22px; }
  .cmp-empty h3 { font-size: 25px; }
  .cmp-form-pair { grid-template-columns: 1fr; }
  .cmp-context { font-size: 11px; align-items: flex-start; }
  .cmp-context > span { text-align: right; }
  .cmp-project-head { padding: 25px 22px; }
  .cmp-project-head h1 { font-size: 35px; }
  .cmp-project-head p { font-size: 13px; }
  .cmp-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .cmp-tabs a { font-size: 12px; gap: 5px; min-height: 59px; justify-content: center; }
  .cmp-tabs a > span { font-size: 9px; padding: 2px 4px; }
  .cmp-facts { grid-template-columns: 1fr 1fr; gap: 20px; }
  .cmp-story { font-size: 15px; }
  .cmp-scene-list li { gap: 14px; flex-wrap: wrap; }
  .cmp-scene-number { width: 34px; height: 34px; }
  .cmp-scene-copy { flex-basis: calc(100% - 48px); padding-top: 3px; }
  .cmp-scene-copy h3 { font-size: 19px; }
  .cmp-scene-list li > button { margin-left: 48px; margin-top: -8px; }
  .cmp-task-list li, .cmp-team-list li { gap: 12px; flex-wrap: wrap; }
  .cmp-task-list li > div, .cmp-team-list li > div { flex-basis: calc(100% - 57px); }
  .cmp-task-list li > .cmp-text-button, .cmp-team-list li > .cmp-text-button { margin-left: 56px; margin-top: -9px; }
  .cmp-task-filters { gap: 8px 16px; }
  .cmp-task-filters > span { flex-basis: 100%; margin-left: 0; }
  .cmp-task-list h3, .cmp-team-list h3 { font-size: 15px; }
  .cmp-related { align-items: flex-start; }
  .cmp-dialog h2 { font-size: 27px; }
  .cmp-form-actions .button { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .cmp-project-card { transition: none; } }

/* Contextual help for small creative teams. */
.cmp-guidance{margin:0 0 28px;padding:24px 28px;border:1px solid #ded7d2;border-left:4px solid #b85d75;background:#f5e9e8;border-radius:16px;color:#153d33}
.cmp-guide-label{font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:700;color:#7d4253}
.cmp-guidance h3{font-size:22px;line-height:1.3;margin:10px 0}
.cmp-guidance p,.cmp-start p,.cmp-starters p,.cmp-people-help p,.cmp-guide-library p,.cmp-create-help{line-height:1.7;color:#53645c;max-width:75ch}
.cmp-guidance summary,.cmp-starters summary,.cmp-guide-library summary{cursor:pointer;font-weight:700;padding:12px 0;color:#153d33}
.cmp-guidance a{color:#153d33;text-decoration:underline;text-underline-offset:4px}
.cmp-start{padding:28px 0 36px}.cmp-start h2{font-size:clamp(24px,3vw,36px);line-height:1.2}
.cmp-start-count{white-space:nowrap;border:1px solid #d7ddce;border-radius:24px;padding:10px 15px;font-size:12px}
.cmp-start ol{list-style:none;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:14px}
.cmp-start li a{display:flex;align-items:flex-start;gap:16px;padding:22px;border:1px solid #d7ddce;border-radius:14px;text-decoration:none;color:#153d33;height:100%;background:#fffef7}
.cmp-start li a:hover{border-color:#b85d75}.cmp-start li p{font-size:13px;margin:7px 0}.cmp-start small{color:#627852}.cmp-start-index{font-size:18px;min-width:24px}
.cmp-people-help{display:grid;grid-template-columns:1.2fr 1fr;gap:28px;margin:28px 0;padding:28px;border:1px solid #d7ddce;border-radius:16px;background:#edf1e6}
.cmp-people-help h3{font-size:22px;margin:12px 0}.cmp-people-help .actions{flex-wrap:wrap;gap:10px}
.cmp-starters{margin:24px 0;padding:12px 24px;border:1px solid #d7ddce;border-radius:16px;background:#edf1e6}
.cmp-starters ul{list-style:none;padding:0}.cmp-starters li{display:flex;gap:20px;justify-content:space-between;align-items:center;padding:16px 0;border-top:1px solid #d7ddce}.cmp-starters li p{margin:8px 0;font-size:14px}.cmp-starters button{white-space:nowrap}
.cmp-guide-library details{border-bottom:1px solid #d7ddce;padding:8px 0}.cmp-guide-library summary{font-size:18px}.cmp-guide-library p{margin:4px 0 18px}
@media(max-width:650px){.cmp-start ol,.cmp-people-help{grid-template-columns:1fr}.cmp-guidance,.cmp-people-help{padding:20px}.cmp-start-count{align-self:flex-start}.cmp-starters li{align-items:flex-start;flex-direction:column}.cmp-starters{padding:12px 20px}}
