:root {
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;
  color:#263b37;
  background:#f3f5f1;
  font-synthesis:none;
  line-height:1.5;
  --ink:#263b37;
  --muted:#61716a;
  --line:#dce4dc;
  --green:#21654c;
  --light:#edf4ee;
  --amber:#86531b
}
* {
  box-sizing:border-box
}
[hidden] {
  display:none!important
}
body {
  margin:0
}
a {
  color:var(--green);
  text-underline-offset:3px
}
button,input,textarea,select {
  font:inherit
}
button,a,input,textarea,select,summary {
  touch-action:manipulation
}
:focus-visible {
  outline:3px solid #27846b;
  outline-offset:4px
}
button {
  cursor:pointer;
  border:0;
  border-radius:9px;
  background:var(--green);
  color:#fff;
  font-size:14px;
  font-weight:650;
  padding:12px 18px
}
button:disabled {
  opacity:.55;
  cursor:not-allowed
}
/* Light-theme brand buttons. The dark workshop palette later in this file
   switches them to Google's dark theme and Apple's white-on-dark button. */
@font-face{font-family:Roboto;font-style:normal;font-weight:500;font-display:swap;src:url("fonts/roboto-medium-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
.sso-options{display:flex;flex-direction:column;align-items:stretch;gap:12px;width:100%;max-width:400px;margin:18px 0 12px}
.sso-options>.hint{margin:0}
.sso-option{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:40px}
.sso-account{margin:0 0 24px}
button.sso-button{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-width:140px;max-width:400px;height:40px;margin:0;padding:0 12px;overflow:hidden;border:0;border-radius:4px;appearance:none;-webkit-appearance:none;user-select:none;white-space:nowrap;text-align:center;filter:none;cursor:pointer;transition:background-color .218s,border-color .218s,box-shadow .218s}
button.sso-button:hover,button.sso-button:active,button.sso-button:focus{filter:none}
button.sso-button .sso-state{position:absolute;inset:0;z-index:2;opacity:0;pointer-events:none;transition:opacity .218s}
button.sso-button .sso-content{position:relative;z-index:1;display:flex;align-items:center;width:100%;height:100%;min-width:0}
button.sso-button .sso-logo{display:block;flex:none}
button.sso-button .sso-label{overflow:hidden;text-overflow:ellipsis}
button.sso-google{background:#FFFFFF;color:#1F1F1F;border:1px solid #747775;font-family:Roboto,Arial,sans-serif;font-size:14px;font-weight:500;line-height:20px;letter-spacing:.25px}
button.sso-google .sso-logo{width:20px;height:20px;margin-right:10px}
button.sso-google .sso-label{flex:1;font-weight:500;text-align:center}
button.sso-google:not(:disabled):hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.30),0 1px 3px 1px rgba(60,64,67,.15)}
button.sso-google:not(:disabled):hover .sso-state{background:#303030;opacity:.08}
button.sso-google:not(:disabled):active .sso-state,button.sso-google:not(:disabled):focus-visible .sso-state{background:#303030;opacity:.12}
button.sso-google:disabled{background:#ffffff61;border-color:#1f1f1f1f;box-shadow:none;cursor:default;opacity:1}
button.sso-apple{background:#000000;color:#FFFFFF;border:1px solid #000000;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display",system-ui,sans-serif;font-size:14px;font-weight:600;line-height:20px;letter-spacing:.25px}
button.sso-apple .sso-logo{height:13px;width:auto;margin-right:10px}
button.sso-apple .sso-label{flex:1;font-weight:600;text-align:center}
button.sso-apple:not(:disabled):hover{box-shadow:0 1px 2px rgba(0,0,0,.30),0 1px 3px 1px rgba(0,0,0,.15)}
button.sso-apple:not(:disabled):active{box-shadow:inset 0 0 0 1px #FFFFFF}
button.sso-button:disabled .sso-label,button.sso-button:disabled .sso-logo{opacity:.38}
@media(prefers-reduced-motion:reduce){button.sso-button,button.sso-button .sso-state{transition:none}}
.secondary,button.secondary {
  background:var(--light);
  color:var(--green)
}
button.quiet {
  background:transparent;
  color:var(--green);
  padding:8px 12px
}
.button-link {
  display:inline-flex;
  align-items:center;
  text-decoration:none;
  font-weight:650;
  font-size:13px;
  padding:11px 16px;
  border-radius:9px
}
.button-link.secondary {
  border:1px solid #ccddcf
}
.eyebrow {
  font-size:10px;
  letter-spacing:1.8px;
  font-weight:750;
  color:var(--muted)
}
.brand {
  display:inline-flex;
  align-items:center;
  gap:9px;
  white-space:nowrap;
  font-size:23px;
  font-weight:750;
  letter-spacing:-1px;
  text-decoration:none;
  color:var(--ink)
}
main {
  max-width:1320px;
  margin:0 auto;
  padding:28px 28px 64px
}
body[data-page="project"] main>.eyebrow {
  display:none
}
.intro {
  margin:28px 0 36px
}
.intro h1 {
  font-size:clamp(36px,5vw,58px);
  letter-spacing:-2px;
  line-height:1.12;
  margin:0 0 16px;
  font-weight:650
}
.intro p {
  color:var(--muted);
  max-width:650px
}
.workspace,.auth-grid {
  display:grid;
  grid-template-columns:minmax(280px,.8fr) minmax(300px,1.3fr);
  gap:24px;
  align-items:start
}
.auth-grid {
  max-width:850px;
  grid-template-columns:1fr 1fr
}
.panel {
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:26px;
  min-width:0;
  box-shadow:0 3px 10px #23374603
}
h2 {
  font-size:20px;
  font-weight:650;
  margin:0 0 20px;
  letter-spacing:-.4px
}
h3 {
  font-size:18px
}
label {
  display:block;
  font-size:13px;
  font-weight:600;
  margin-bottom:17px
}
input,select,textarea {
  display:block;
  width:100%;
  font-size:15px;
  background:#fcfdfb;
  border:1px solid #becdc1;
  border-radius:8px;
  padding:11px 12px;
  margin-top:7px;
  color:inherit
}
textarea {
  resize:vertical;
  min-height:110px
}
input[readonly] {
  color:var(--muted);
  background:#f1f4ef
}
label.remember {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:600
}
label.remember input {
  width:1rem;
  height:1rem;
  margin:0;
  padding:0;
  border:0;
  border-radius:4px;
  background:transparent;
  flex:none;
  accent-color:var(--green)
}
.hint {
  font-size:13px;
  color:var(--muted);
  line-height:1.65
}
.project-list {
  display:grid;
  gap:12px
}
.project-card {
  display:block;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:24px;
  text-decoration:none;
  color:inherit
}
.project-card:hover {
  border-color:#8caa96
}
.project-card strong {
  font-size:19px;
  display:block;
  margin-bottom:8px
}
.project-card span {
  font-size:13px;
  color:var(--muted)
}
/* The workshop landing page keeps the brief prominent and saved work nearby. */
body[data-page="projects"] {
  background:radial-gradient(ellipse at 8% 0,#e9efe4 0,transparent 45%),#f6f7f2
}
body[data-page="projects"] main {
  max-width:1240px;
  padding-top:32px
}
body[data-page="projects"] main>.eyebrow {
  display:none
}
.workshop-intro {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
  margin:12px 0 34px
}
.workshop-intro .eyebrow {
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 16px
}
.workshop-dot {
  width:6px;
  height:6px;
  background:#719273;
  border-radius:50%
}
.workshop-intro h1 {
  font-size:clamp(38px,4.5vw,56px);
  line-height:1.08;
  font-weight:600;
  letter-spacing:-2.3px;
  margin:0
}
.workshop-intro h1 span {
  color:var(--green)
}
.intro-copy {
  color:var(--muted);
  font-size:14px;
  line-height:1.75;
  margin:18px 0 0
}
.workshop-drawing {
  width:330px;
  flex-shrink:0;
  text-align:center;
  margin-right:30px
}
.workshop-drawing svg {
  display:block;
  width:100%
}
.workshop-drawing>span {
  display:block;
  font-size:9px;
  font-weight:600;
  letter-spacing:2.4px;
  color:#6b8171;
  margin-top:8px
}
.workshop-layout {
  display:grid;
  gap:36px;
  align-items:start
}
.new-design {
  max-width:760px;
  border-radius:20px;
  padding:30px;
  border-color:#d6e1d4;
  box-shadow:0 12px 36px -24px #294c3e35,0 1px 3px #294c3e06
}
.new-design-heading {
  display:flex;
  align-items:center;
  gap:14px;
  padding-bottom:24px;
  margin-bottom:24px;
  border-bottom:1px solid #edf0e9
}
.new-design-heading h2 {
  margin:0 0 3px;
  font-size:21px
}
.new-design-heading p {
  margin:0;
  font-size:12px;
  color:var(--muted)
}
.design-mark {
  display:grid;
  place-items:center;
  flex-shrink:0;
  width:44px;
  height:44px;
  border:1px solid #d9e6d6;
  border-radius:13px;
  background:#f1f6ed;
  color:var(--green)
}
.design-mark svg {
  width:25px;
  height:25px
}
.new-design label {
  margin-bottom:22px
}
.new-design input,.new-design textarea {
  border-color:#d5ded2;
  background:#fbfcf9;
  border-radius:10px;
  padding:13px 15px;
  font-weight:400;
  line-height:1.6
}
.new-design input::placeholder,.new-design textarea::placeholder {
  color:#677367;
  opacity:1
}
.new-design input:focus,.new-design textarea:focus {
  border-color:#609176;
  background:#fff;
  outline:2px solid #c4dac5;
  outline-offset:2px
}
.field-guidance {
  display:block;
  font-size:12px;
  font-weight:400;
  color:var(--muted);
  margin:5px 0 11px
}
.new-design textarea {
  min-height:158px
}
.new-design label:has(textarea) {
  margin-bottom:14px
}
.design-starters {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:9px;
  margin:0 0 16px;
  font-size:11px;
  color:var(--muted)
}
.design-starters>div {
  display:flex;
  flex-wrap:wrap;
  gap:6px
}
.design-starters button {
  border:1px solid #dfe7da;
  background:#f6f8f2;
  color:#45634f;
  padding:7px 10px;
  border-radius:7px;
  font-size:11px;
  font-weight:500;
  min-height:32px
}
.design-starters button span {
  margin-left:6px;
  color:#738975
}
.design-starters button:hover {
  border-color:#8aa98e;
  background:#edf4e8
}
.brief-note {
  color:var(--muted);
  font-size:11px;
  line-height:1.65;
  margin:12px 0 22px
}
.create-actions {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  border-top:1px solid #edf0e9;
  padding-top:22px
}
.create-actions>span {
  font-size:11px;
  color:var(--muted)
}
.create-actions button {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  padding:13px 18px;
  border:1px solid #18593e;
  border-radius:10px;
  box-shadow:0 3px 6px #1c59391a;
  flex-shrink:0
}
.create-actions button:hover:not(:disabled) {
  background:#174d3a
}
.create-actions button span {
  font-size:19px;
  font-weight:400;
  line-height:1
}
.workshop-library {
  padding-top:7px;
  min-width:0
}
.library-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:22px
}
.library-heading .eyebrow {
  font-size:9px;
  letter-spacing:1.5px;
  margin:0 0 7px
}
.library-heading h2 {
  display:flex;
  align-items:center;
  gap:10px;
  margin:0;
  font-size:21px
}
.project-count {
  display:inline-grid;
  place-items:center;
  min-width:23px;
  height:23px;
  padding:0 6px;
  border-radius:6px;
  background:#e7eddf;
  color:#556e59;
  font-size:11px;
  font-weight:500;
  letter-spacing:0
}
.library-tools {
  display:flex;
  align-items:end;
  gap:8px;
  margin:-6px 0 14px
}
.library-tools label {
  flex:1;
  min-width:0;
  font-size:12px
}
.library-tools input {
  margin-top:6px;
  min-height:44px
}
.library-tools button,.library-more button {
  margin-top:0;
  min-height:44px
}
.project-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(168px,1fr));
  gap:12px
}
.workshop-library .project-card {
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:0;
  overflow:hidden;
  background:#ffffffb3;
  border-color:#dde4d7;
  border-radius:12px
}
.workshop-library .project-card:hover {
  background:#fff;
  border-color:#a0b69c
}
.project-thumb {
  display:block;
  aspect-ratio:4/3;
  background:linear-gradient(160deg,#f4f7f1,#e3ebdf);
  border-bottom:1px solid #dde4d7;
  overflow:hidden
}
.project-thumb img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover
}
.project-placeholder {
  display:grid;
  place-items:center;
  align-content:center;
  gap:6px;
  height:100%;
  color:#6d7c6e;
  font-size:11px;
  letter-spacing:.04em
}
.project-placeholder span:first-child {
  font-size:28px;
  color:#6c8c6b;
  line-height:1
}
.workshop-library .project-card .project-card-copy {
  min-width:0;
  padding:12px 12px 14px;
  color:var(--ink)
}
.workshop-library .project-card strong {
  font-size:14px;
  font-weight:600;
  line-height:1.4;
  margin-bottom:4px;
  overflow-wrap:anywhere
}
.workshop-library .project-card .project-meta {
  display:block;
  font-size:11px;
  line-height:1.5
}
.library-more {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:42px;
  margin-top:12px
}
.library-more .hint {
  margin:0
}
.project-list-status,.project-library-empty {
  margin:0;
  border:1px dashed #cdd9c7;
  border-radius:12px;
  padding:28px 24px;
  background:#f3f6ee;
  color:var(--muted);
  font-size:13px
}
.project-library-empty>span {
  display:block;
  font-size:32px;
  color:#73926e;
  margin-bottom:14px
}
.project-library-empty h3 {
  font-size:16px;
  color:var(--ink);
  margin:0 0 6px;
  font-weight:600
}
.project-library-empty p {
  margin:0;
  font-size:12px;
  line-height:1.7;
  max-width:250px
}
.workshop-reassurance {
  display:flex;
  gap:12px;
  padding:24px 6px;
  margin-top:14px;
  border-top:1px solid #dde5d6;
  color:var(--muted)
}
.workshop-reassurance svg {
  width:24px;
  height:24px;
  flex-shrink:0;
  color:#7a9177
}
.workshop-reassurance strong {
  font-size:12px;
  font-weight:600;
  color:#52694f
}
.workshop-reassurance p {
  font-size:12px;
  line-height:1.75;
  margin:5px 0 0;
  max-width:270px
}
@media(max-width:1000px) {
  .workshop-layout {
    gap:24px
  }
  .workshop-drawing {
    width:270px;
    margin-right:0
  }
  .new-design {
    padding:24px
  }
  .create-actions {
    align-items:flex-start;
    flex-direction:column-reverse
  }
  .create-actions button {
    width:100%
  }
}
@media(max-width:760px) {
  .workshop-layout {
    gap:36px
  }
  .workshop-intro {
    gap:20px;
    margin:8px 0 28px
  }
  .workshop-drawing {
    width:200px
  }
  .intro-copy br {
    display:none
  }
  .workshop-library {
    padding-top:0
  }
  .create-actions {
    align-items:center;
    flex-direction:row
  }
  .create-actions button {
    width:auto
  }
}
@media(max-width:540px) {
  body[data-page="projects"] main {
    padding-top:24px
  }
  .workshop-intro h1 {
    font-size:42px;
    letter-spacing:-1.7px
  }
  .workshop-drawing {
    display:none
  }
  .intro-copy {
    font-size:13px
  }
  .new-design.panel {
    padding:22px 20px;
    border-radius:16px
  }
  .new-design-heading {
    gap:12px
  }
  .new-design-heading h2 {
    font-size:19px
  }
  .new-design-heading p {
    font-size:11px
  }
  .new-design input,.new-design textarea {
    font-size:16px
  }
  .design-starters button {
    padding:10px 12px;
    min-height:44px
  }
  .create-actions {
    flex-direction:column-reverse;
    gap:12px
  }
  .create-actions button {
    width:100%
  }
}
.section-heading {
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center
}
.section-heading h2,.section-heading .eyebrow {
  margin:0
}
.badge {
  background:var(--light);
  color:var(--green);
  font-size:11px;
  padding:5px 10px;
  border-radius:20px;
  white-space:nowrap
}
.back {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  font-size:14px;
  text-decoration:none
}
.back:hover {
  text-decoration:underline
}
.project-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  margin:20px 0 26px
}
.project-heading h1 {
  font-size:clamp(25px,3vw,36px);
  line-height:1.2;
  letter-spacing:-1px;
  margin:0 0 8px
}
.project-heading p {
  margin:0
}
.project-heading>a {
  flex-shrink:0
}
.progress-panel {
  margin-bottom:24px;
  border-color:#c9dbcd;
  padding:24px 28px
}
.connection {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:11px;
  color:var(--muted)
}
#connection-status:before {
  content:"";
  display:inline-block;
  width:6px;
  height:6px;
  border-radius:50%;
  background:#39825e;
  margin-right:7px
}
.connection-error {
  color:#915620!important
}
.connection-error:before {
  background:#ad7c37!important
}
.connection button {
  font-size:11px;
  padding:5px 9px;
  border:1px solid var(--line)
}
.progress-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top:16px
}
.progress-heading h2 {
  font-size:clamp(21px,2.5vw,29px);
  letter-spacing:-.7px;
  margin:0
}
.duration {
  font-variant-numeric:tabular-nums;
  font-size:12px;
  color:var(--muted);
  white-space:nowrap
}
.duration span {
  font-weight:700;
  color:var(--ink);
  margin-left:5px
}
.progress-detail {
  font-size:14px;
  color:var(--muted);
  max-width:920px;
  margin:10px 0 24px
}
.milestones {
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns:repeat(var(--milestone-count,4),minmax(0,1fr));
  gap:10px
}
.design-plan {margin:20px 0;padding:18px 20px;background:var(--surface,#fff);border:1px solid var(--border,#deded7);border-radius:12px}
.design-plan h3 {margin:0 0 8px}
.design-plan li {margin:6px 0}
.current-work {margin:18px 0;padding:0 4px}
.current-work h3 {margin:0 0 8px;font-size:1rem}
.current-work ul {margin:0;padding-left:22px}
.current-work li {margin:5px 0}
.agent-note {margin:18px 0;padding:16px 18px;border-left:3px solid var(--accent,#27624a);background:var(--surface,#fff);border-radius:0 10px 10px 0}
.agent-note>small {margin-left:12px}
.agent-note p {margin:8px 0;overflow-wrap:anywhere}
.agent-note small.hint {display:block;margin-left:0}
.activity-note {display:block;margin-top:5px;font-size:.9em;color:var(--muted,#555)}
.saved-review {margin:18px 0;overflow-wrap:anywhere}
.saved-review li {margin:10px 0}
.progress-warning {padding:14px 16px;background:#fff2d6;border-left:3px solid #9c620b;color:#694109;border-radius:0 8px 8px 0}
.effort-label {font-size:.88rem;font-weight:650}
.milestone {
  position:relative;
  display:grid;
  grid-template-columns:30px 1fr;
  column-gap:10px;
  align-content:start;
  padding:16px 10px 16px 0;
  color:#67776d;
  border-top:3px solid #e8ede7;
  font-size:13px;
  font-weight:650
}
.milestone small {
  grid-column:2;
  font-size:11px;
  font-weight:400;
  margin-top:2px
}
.milestone-marker {
  grid-row:1/3;
  align-self:center;
  display:grid;
  place-items:center;
  width:29px;
  height:29px;
  border-radius:50%;
  border:1px solid var(--line);
  font-size:12px;
  font-weight:700
}
.milestone.done {
  border-top-color:#358260;
  color:var(--green)
}
.done .milestone-marker {
  background:#e6f2e9;
  border-color:transparent
}
.milestone.current {
  border-top-color:#358260;
  color:var(--green)
}
.current .milestone-marker {
  background:var(--green);
  color:white;
  border-color:var(--green);
  box-shadow:0 0 0 4px #e8f1e9
}
.milestone.paused {
  border-top-color:#ba8c4b;
  color:var(--amber)
}
.paused .milestone-marker {
  border-color:#c8a46c;
  background:#fff6e6
}
.progress-footer {
  border-top:1px solid var(--line);
  padding-top:16px;
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center
}
.progress-footer p {
  font-size:13px;
  margin:3px 0
}
.progress-controls {
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  flex-shrink:0
}
.wait-note {
  margin:15px 0 0
}
.request-progress>.hint:last-child {
  margin-bottom:0
}
.phase-failed h2,.phase-offline h2,.phase-recovery_required h2,.phase-input h2,.phase-interrupted h2 {
  color:var(--amber)
}
.activity-details {
  margin:18px 0 0;
  border-top:1px solid var(--line);
  padding-top:14px
}
.activity-details>summary {
  font-size:12px;
  color:var(--muted)
}
#activity-count {
  font-weight:400;
  margin-left:5px
}
.activity-list {
  list-style:none;
  padding:0;
  margin:14px 0 0
}
.activity-list li {
  display:flex;
  align-items:baseline;
  gap:10px;
  padding:10px 0;
  border-top:1px solid #edf0eb;
  font-size:12px
}
.activity-list small {
  margin-left:auto;
  white-space:nowrap;
  color:var(--muted)
}
.activity-mark {
  color:var(--green);
  font-weight:700
}
.action-error {
  display:block;
  color:#91421f;
  font-size:12px;
  overflow-wrap:anywhere;
  margin:6px 0
}
.design-workspace {
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);
  gap:24px;
  align-items:start
}
.design-panel .section-heading {
  margin-bottom:10px
}
.preview-empty {
  min-height:340px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f4f6f2;
  border:1px solid #e5ebe3;
  border-radius:12px;
  color:var(--muted);
  overflow:hidden
}
.preview-empty img {
  display:block;
  width:100%;
  height:auto;
  max-height:560px;
  object-fit:contain
}
.empty-design {
  max-width:300px;
  text-align:center;
  padding:36px 20px
}
.empty-design>span {
  display:block;
  font-size:52px;
  font-weight:300;
  color:#92ac98
}
.empty-design h3 {
  font-size:17px;
  color:var(--ink);
  margin:12px 0 8px
}
.empty-design p {
  font-size:13px;
  margin:0
}
.preview-tools {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-top:14px
}
.preview-tools>a {
  font-size:12px
}
.timelapse-tools {
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid #e5ebe3
}
.timelapse-tools p { margin:8px 0 0 }
.timelapse-tools img {
  display:block;
  width:100%;
  height:auto;
  margin:12px 0;
  border-radius:10px
}
.timelapse-tools>a { font-size:12px }
.view-switch {
  display:flex;
  gap:3px;
  background:#f0f3ee;
  padding:3px;
  border-radius:8px
}
.view-switch button {
  background:transparent;
  color:var(--muted);
  font-size:11px;
  padding:7px 10px
}
.view-switch button[aria-pressed="true"] {
  background:white;
  color:var(--green);
  box-shadow:0 1px 3px #26433215
}
.downloads {
  display:flex;
  gap:8px;
  flex-wrap:wrap
}
.downloads>a {
  font-size:12px;
  padding:8px 11px;
  border:1px solid #d4e1d7;
  border-radius:7px;
  text-decoration:none;
  background:#f6f9f4
}
.downloads>a:first-child {
  background:var(--green);
  border-color:var(--green);
  color:white;
  font-weight:650
}
.conversation #message {
  border-top:1px solid var(--line);
  margin-top:22px;
  padding-top:22px
}
.conversation textarea {
  font-size:14px
}
.conversation #send-message {
  width:100%
}
.turn {
  margin-top:18px;
  overflow-wrap:anywhere
}
.turn p {
  white-space:pre-wrap;
  font-size:13px
}
.turn .user {
  font-size:14px;
  margin-top:8px
}
.turn button {
  margin:10px 0
}
.turn>small {
  display:block
}
.turn>details {
  font-size:12px
}
.design-response {
  border-left:2px solid #a9c9b2;
  padding-left:13px;
  margin:18px 0
}
.design-response summary {
  color:var(--green)
}
.conversation-history {
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid var(--line);
  font-size:12px
}
.project-details {
  display:grid;
  gap:12px;
  margin-top:24px
}
.project-details>.panel {
  padding:20px 24px;
  margin:0
}
.project-details>details>summary {
  font-size:14px;
  font-weight:650
}
.project-details>details>summary .hint {
  font-weight:400;
  margin-left:12px
}
.project-details>details[open]>summary {
  margin-bottom:20px
}
#parameters {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:0 22px
}
#parameters>p {
  grid-column:1/-1
}
.measurement-panel {
  margin-bottom:24px;
  border-color:#d9bf8f
}
.measurement-panel>.eyebrow {
  color:var(--amber)
}
.measurement {
  padding:20px 0;
  border-top:1px solid var(--line)
}
.measurement img {
  width:100%;
  height:auto;
  max-height:650px;
  object-fit:contain
}
.measurement .fields {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:18px;
  margin:20px 0
}
.measurement fieldset {
  border:1px solid var(--line);
  border-radius:10px;
  padding:18px;
  min-width:0
}
.measurement legend {
  font-weight:650
}
.measurement a {
  margin-right:18px;
  font-size:13px
}
.measurement button {
  margin-right:10px
}
.measurement.answered {
  padding:14px 0;
  font-size:13px
}
.measurement.answered[open]>summary {
  margin-bottom:18px
}
.research-item {
  padding:16px 0;
  border-top:1px solid var(--line);
  overflow-wrap:anywhere;
  font-size:13px
}
.research-item a {
  margin-right:16px
}
.job {
  padding:17px 0;
  border-top:1px solid var(--line);
  display:flex;
  gap:15px;
  align-items:center;
  flex-wrap:wrap;
  font-size:13px
}
.job small {
  color:var(--muted)
}
.job .detail {
  flex:1;
  min-width:160px
}
summary {
  cursor:pointer;
  font-weight:600
}
details {
  margin:12px 0
}
pre {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font-size:12px
}
#notice:not(:empty),.capability-warning {
  padding:14px 18px;
  border:1px solid #d9bf8f;
  background:#fff9eb;
  border-radius:10px;
  margin:18px 0;
  font-size:13px
}
#measurement-panel,#preview,#conversation,#build-history {
  scroll-margin-top:24px
}
footer {
  padding:24px;
  text-align:center;
  color:var(--muted);
  font-size:11px;
  border-top:1px solid var(--line)
}
@media(min-width:1050px) {
  .design-panel {
    position:sticky;
    top:24px
  }
}
@media(max-width:850px) {
  .design-workspace {
    grid-template-columns:1fr
  }
  .project-heading {
    align-items:flex-start
  }
  .progress-heading {
    align-items:flex-start
  }
  .progress-footer {
    align-items:flex-start
  }
  .conversation {
    margin-bottom:0
  }
  .preview-empty {
    min-height:280px
  }
}
@media(max-width:600px) {
  main {
    padding:24px 16px 40px
  }
  .workspace,.auth-grid {
    grid-template-columns:1fr
  }
  .panel,.progress-panel {
    padding:20px
  }
  .intro h1 {
    letter-spacing:-1.4px
  }
  .project-heading {
    flex-direction:column;
    gap:12px;
    margin:18px 0 22px
  }
  .project-heading h1 {
    font-size:28px
  }
  .project-heading>a {
    padding:8px 12px
  }
  .progress-panel>.section-heading {
    align-items:flex-start;
    gap:10px;
    flex-wrap:wrap
  }
  .connection {
    flex-wrap:wrap
  }
  .progress-heading {
    flex-direction:column;
    gap:8px
  }
  .progress-heading h2 {
    font-size:23px
  }
  .milestones {
    grid-template-columns:1fr 1fr;
    gap:5px 12px
  }
  .milestone {
    padding:13px 0;
    font-size:12px
  }
  .milestone small {
    font-size:10px
  }
  .progress-footer {
    flex-direction:column
  }
  .progress-controls {
    flex-shrink:1
  }
  .progress-detail {
    margin-bottom:18px
  }
  .activity-list li {
    flex-wrap:wrap
  }
  .activity-list small {
    margin-left:25px;
    flex-basis:100%
  }
  .project-details>.panel {
    padding:18px
  }
  .project-details>details>summary .hint {
    display:block;
    margin:4px 0 0 15px
  }
  .measurement .fields {
    grid-template-columns:1fr
  }
  .preview-tools {
    gap:10px
  }
  .preview-empty {
    min-height:240px
  }
}
@media(prefers-reduced-motion:no-preference) {
  button,a {
    transition:background-color .15s,border-color .15s
  }
}

.brand-mark { width:29px; height:29px; color:var(--green); flex:none }

/* Type 2 family: the same night-sky, cream and red palette as Type 2 Jams. */
:root {
  color-scheme:dark;
  font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  color:#f5efdd;
  background:#0a0e1a;
  --ink:#f5efdd;
  --muted:#b1b4bd;
  --line:#30364a;
  --green:#f06459;
  --light:#17203a;
  --amber:#f0b429;
  --surface:#10172b;
  --border:#30364a;
  --accent:#e8443a
}
body,body[data-page="projects"] {
  background:radial-gradient(1100px 520px at 50% -120px,#274b8f61,transparent 65%),#0a0e1a;
  min-height:100vh
}
header,body[data-page="projects"] header { background:#0a0e1ae8; border-color:var(--line) }
header .brand-wordmark { color:var(--ink);font-size:23px;font-weight:850;letter-spacing:-.7px }
header .brand-product { color:#e8443a;font:inherit;letter-spacing:inherit }
.brand-mark { color:#e8443a }
.workshop-intro h1,.intro h1 { text-transform:uppercase;font-weight:850;letter-spacing:-2px }
.workshop-intro h1 span { color:#e8443a }
.workshop-dot { background:#e8443a;box-shadow:0 0 0 4px #e8443a18 }
.panel,.project-card,.new-design { background:#10172b;border-color:var(--line);box-shadow:0 12px 36px -24px #0008 }
.new-design { border-top:3px solid #e8443a }
input,select,textarea,.new-design input,.new-design textarea,input[readonly] { background:#0a0e1a;border-color:#3d4356;color:var(--ink) }
input::placeholder,textarea::placeholder,.new-design input::placeholder,.new-design textarea::placeholder { color:#9a9eac }
:focus-visible { outline-color:#f06459 }
.new-design input:focus,.new-design textarea:focus { background:#10172b;border-color:#f06459;outline-color:#e8443a55 }
button,.create-actions button { background:#cf3a32;color:#fff8eb }
button:hover { filter:brightness(1.12) }
button.sso-button:hover,button.sso-button:active,button.sso-button:focus{filter:none}
button.sso-google{background:#131314;color:#E3E3E3;border-color:#8E918F}
button.sso-google:not(:disabled):hover .sso-state,button.sso-google:not(:disabled):active .sso-state,button.sso-google:not(:disabled):focus-visible .sso-state{background:#E3E3E3}
button.sso-google:disabled{background:#131314;border-color:#8E918F66}
button.sso-apple{background:#FFFFFF;color:#000000;border-color:#FFFFFF}
button.sso-apple:not(:disabled):active{box-shadow:inset 0 0 0 1px #000000}
.secondary,button.secondary,.button-link.secondary { background:#17203a;color:#f5efdd;border-color:#3d4356 }
button.quiet { background:transparent;color:#f5efdd }
.new-design-heading,.create-actions,.workshop-reassurance,.activity-note,.activity-row { border-color:var(--line) }
.design-mark { background:#e8443a12;border-color:#e8443a44;color:#f06459 }
.design-starters button { background:#17203a;border-color:#3d4356;color:#f5efdd }
.design-starters button span { color:#f06459 }
.design-starters button:hover,.project-card:hover { background:#17203a;border-color:#e8443a88 }
.project-list-status { background:#10172b;color:var(--muted);border-color:#3d4356 }
.workshop-reassurance strong { color:#f5efdd }
.workshop-reassurance svg,.workshop-drawing>span { color:var(--muted) }
.workshop-drawing svg { filter:hue-rotate(150deg) saturate(.65) brightness(.85);opacity:.85 }
.project-count,.badge { background:#17203a;color:#f5efdd;border-color:var(--line) }
.progress-steps li,.preview-empty,.empty-design,.conversation-turn,.message { background:transparent;color:var(--ink) }
.activity-details,.activity-entry,.preview-tools,.conversation #message { border-color:var(--line) }
.view-switch { background:#0a0e1a }
.view-switch button { background:transparent;color:var(--muted) }
.view-switch button[aria-pressed="true"] { background:#17203a;color:#f5efdd }
#notice:not(:empty),.capability-warning,.progress-warning { background:#30251a;color:#ffe1a1;border-color:#936d34 }
.design-plan,.agent-note { background:#10172b }
footer { color:var(--muted) }
@media(max-width:540px) { header .brand-wordmark { font-size:20px } .brand { gap:7px } }

header>a:not(.brand) { color:#f5efdd }
.workshop-library .project-card { background:#10172b;border-color:var(--line) }
.workshop-library .project-card:hover { background:#17203a;border-color:#e8443a88 }
.project-thumb { background:linear-gradient(160deg,#17203a,#0a0e1a);border-bottom-color:var(--line) }
.project-placeholder { color:var(--muted) }
.project-placeholder span:first-child { color:#f06459 }
.milestone { color:var(--muted);border-top-color:var(--line) }
.milestone.done { color:#46d382;border-top-color:#46d382 }
.done .milestone-marker { background:#173329 }
.milestone.current { border-top-color:#f06459 }
.current .milestone-marker { background:#cf3a32;box-shadow:0 0 0 4px #e8443a22 }
.paused .milestone-marker { background:#30251a }
.downloads>a { background:#17203a;border-color:var(--line);color:#f5efdd }
.downloads>a:first-child { background:#cf3a32;border-color:#cf3a32 }
.preview-empty { border-color:var(--line) }

/* A compact visual path through the workshop on the public sign-in page. */
.how-it-works { margin:64px 0 12px }
.how-it-works-heading { max-width:720px;margin-bottom:26px }
.how-it-works-heading .eyebrow { color:#f06459;margin:0 0 8px }
.how-it-works-heading h2 { font-size:clamp(28px,3vw,38px);font-weight:800;letter-spacing:-1.2px;margin:0 0 6px }
.how-it-works-heading>p:last-child { color:var(--muted);margin:0 }
.how-it-works-heading a { color:#f06459;font-weight:700;white-space:nowrap }
.header-how { margin-left:auto;white-space:nowrap;font-size:13px;font-weight:700 }
.process-flow { list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;padding:0;margin:0;counter-reset:step }
.process-flow li { position:relative;min-width:0;min-height:250px;padding:24px;border:1px solid #3b435b;border-top:2px solid #e8443a;border-radius:14px;background:linear-gradient(145deg,#17203a,#10172b 65%);box-shadow:0 12px 36px -24px #0008 }
.process-flow li:not(:last-child)::after { content:"→";position:absolute;z-index:1;right:-16px;top:55px;width:30px;height:30px;display:grid;place-items:center;border:1px solid #3b435b;border-radius:50%;background:#0a0e1a;color:#f06459;font-size:19px;line-height:1 }
.process-icon { width:52px;height:52px;display:grid;place-items:center;margin-bottom:22px;border-radius:12px;background:#e8443a16;color:#f06459 }
.process-icon svg { width:42px;height:42px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round }
.process-number { display:block;color:#f06459;font-size:10px;font-weight:800;letter-spacing:1.4px }
.process-flow h3 { color:var(--ink);font-size:18px;line-height:1.25;letter-spacing:-.3px;margin:9px 0 }
.process-flow p { color:var(--muted);font-size:14px;line-height:1.55;margin:0 }
.starter-preview { margin:36px 0 12px;padding:30px 34px;border:1px solid #3b435b;border-radius:14px;background:linear-gradient(120deg,#182a45,#10172b 75%) }
.starter-preview .eyebrow { color:#f06459;margin:0 0 8px }
.starter-preview h2 { color:var(--ink);font-size:clamp(23px,2.6vw,32px);line-height:1.2;letter-spacing:-.7px;margin:0 0 10px }
.starter-preview>p:last-child { color:var(--muted);font-size:15px;line-height:1.6;max-width:900px;margin:0 }
.starter-preview a { color:#f06459;font-weight:750;white-space:nowrap }
@media(max-width:900px) {
  .process-flow { grid-template-columns:repeat(2,minmax(0,1fr)) }
  .process-flow li { min-height:225px }
  .process-flow li:nth-child(2)::after { display:none }
}
@media(max-width:600px) {
  .how-it-works { margin-top:48px }
  .starter-preview { padding:24px }
  .process-flow { grid-template-columns:1fr;gap:13px }
  .process-flow li { min-height:0;padding:20px 22px 21px 88px }
  .process-flow li::after { display:none!important }
  .process-icon { position:absolute;left:20px;top:20px;width:48px;height:48px;margin:0 }
  .process-icon svg { width:37px;height:37px }
  .process-flow h3 { margin:6px 0 }
}

.header-actions { margin-left:auto; display:flex; align-items:center; gap:16px; min-width:0 }
.header-actions .header-how { margin-left:0 }
.header-actions a:not(.account-cta) { color:#f5efdd; text-decoration:none; font-size:13px; font-weight:750 }
a.account-cta { display:inline-flex; align-items:center; justify-content:center; min-height:44px; background:#cf3a32; color:#fff8eb; text-decoration:none; border-radius:9px; padding:12px 18px; font-weight:750; font-size:14px; line-height:1.2 }
a.account-cta:hover { filter:brightness(1.12) }
.landing-actions>a:not(.account-cta) { display:inline-flex; align-items:center; min-height:44px }
main a:not(.account-cta):not(.button-link):hover, footer a:hover { text-decoration-thickness:2px }
body[data-page="error"] main>h1, body[data-page="owner-setup"] main>h1 { font-size:clamp(32px,5vw,52px); font-weight:850; letter-spacing:-1.4px; line-height:1.15; margin:8px 0 12px }
body[data-page="error"] .hint a { display:inline-flex; align-items:center; min-height:44px }
@media(max-width:600px) {
  label.remember { min-height:44px }
  footer a { display:inline-flex; align-items:center; min-height:44px; padding:0 4px }
}
a.account-link { display:inline-flex; align-items:center; gap:8px }
.account-avatar { width:32px; height:32px; padding:6px; box-sizing:border-box; border-radius:50%; border:1px solid #3d4356; background:#17203a; color:#f5efdd; flex:none }
.landing-actions { display:flex; flex-wrap:wrap; align-items:center; gap:14px; margin:22px 0 8px }
.account-layout { display:grid; gap:18px; max-width:760px }
.account-email { font-size:22px; font-weight:750; letter-spacing:-.4px; margin:0 0 8px; word-break:break-word }
.mcp-callout { display:flex; gap:16px; align-items:flex-start; max-width:850px; margin:22px 0 8px; padding:18px 20px; background:#10172b; border:1px solid var(--line); border-radius:16px }
.mcp-callout > div:not(.mcp-mark) { min-width:0; flex:1 }
.mcp-callout > .mcp-mark { flex:0 0 42px; width:42px; height:42px }
.mcp-callout h2 { font-size:18px; margin:0 0 6px }
.mcp-callout p { margin:0 0 12px }
.mcp-callout .hint { margin:10px 0 0 }
.mcp-mark { flex:none; width:42px; height:42px; display:grid; place-items:center; border-radius:12px; background:#e8443a14; color:#f06459; border:1px solid #e8443a44 }
.mcp-mark svg { width:24px; height:24px }
.copy-box { display:flex; flex-wrap:wrap; gap:10px; align-items:center }
#connected-assistants .copy-box { margin:4px 0 16px }
.copy-box code { flex:1 1 220px; min-width:0; padding:10px 12px; border-radius:10px; background:#0a0e1a; border:1px solid #3d4356; color:#f5efdd; overflow-wrap:anywhere; font-size:14px }
.copy-box button, .assistant-card button.secondary, .sign-in-card button.secondary { min-height:44px }
.sso-account .sso-options { max-width:none }
.sign-in-card, .assistant-card { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px; padding:14px; border:1px solid var(--line); border-radius:14px; background:#0a0e1a }
.sign-in-identity, .assistant-identity { display:flex; align-items:center; gap:12px; min-width:0 }
.sign-in-identity .sso-logo { width:22px; height:22px; flex:none }
.sign-in-identity .sign-in-apple { height:18px; width:auto }
.sign-in-mail { width:22px; height:22px; color:#f06459; flex:none }
.sign-in-copy, .assistant-copy { min-width:0 }
.sign-in-copy strong, .assistant-copy h3 { display:block; overflow-wrap:anywhere }
.assistant-copy h3 { margin:0; font-size:16px }
.sign-in-copy p, .assistant-copy p { margin:2px 0 0; color:var(--muted); font-size:14px; overflow-wrap:anywhere }
.sign-in-card .sso-button { width:auto; flex:0 1 240px }
.assistant-list { display:grid; gap:12px }
.assistant-mark { flex:none; width:42px; height:42px; border-radius:12px; display:grid; place-items:center; background:#17203a; color:#f5efdd; font-weight:750; border:1px solid #3d4356 }
.scope-chips { display:flex; flex-wrap:wrap; gap:8px; margin:8px 0 0; padding:0; list-style:none }
.scope-chips li { padding:4px 10px; border-radius:999px; background:#17203a; border:1px solid #3d4356; color:#f5efdd; font-size:13px }
@media(max-width:600px) {
  .sign-in-card, .assistant-card { align-items:stretch }
  .sign-in-card .sso-button, .sign-in-card button.secondary, .assistant-card button.secondary, .copy-box button { width:100%; flex-basis:100% }
}
@media(max-width:600px) {
  .header-actions { gap:10px }
  header .account-label { display:none }
}

/* Owner-only painting mode in the existing model composer. */
.new-design #paint-import{display:inline-block;width:auto;margin:0 8px 0 0;padding:0;vertical-align:middle;accent-color:var(--green)}
