:root {
  --bg: #f4f2ec;
  --paper: #fffefa;
  --ink: #2f3830;
  --muted: #7a7d71;
  --line: #e3e3d8;
  --green: #566a4d;
  --pale: #eef1e8;
  --accent: #b98359;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 500;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}
button:hover {
  background: #eaece3;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
button.primary,
.send {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
button.primary:hover,
.send:hover {
  background: #43563c;
}
.quiet {
  border: 0;
  background: transparent;
  padding: 5px 0;
  color: var(--muted);
  font-size: 12px;
}
.quiet:hover {
  background: transparent;
  color: var(--green);
  text-decoration: underline;
}
.danger {
  color: #a14b39;
  border-color: #e7cfc5;
}
.topbar {
  height: 88px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 5%;
  gap: 25px;
}
.brand {
  text-decoration: none;
  color: var(--ink);
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -1.8px;
  display: flex;
  align-items: center;
}
.brand-mark {
  font-family: Georgia, serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 13px;
  font-size: 43px;
  font-weight: 400;
  color: var(--paper);
  width: 37px;
  height: 37px;
  border-radius: 12px;
  background: var(--green);
  line-height: 1;
  padding-bottom: 9px;
}
.brand-dot {
  color: var(--accent);
}
.divider {
  height: 24px;
  width: 1px;
  background: var(--line);
}
.workspace-label {
  font-size: 13px;
  color: var(--muted);
}
.sample-badge {
  font-size: 11px;
  border: 1px solid #dedfce;
  padding: 7px 10px;
  border-radius: 20px;
  margin-left: auto;
  color: #6c705c;
  background: #eeeee3;
  white-space: nowrap;
}
.sample-badge i,
.tiny-dot,
.project-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #879877;
  margin-right: 6px;
}
.topbar > .quiet {
  margin-left: 4px;
}
main {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 5%;
}
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 49px 0 34px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #89907f;
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  letter-spacing: -1.8px;
  font-weight: 400;
  margin: 15px 0 14px;
}
.intro p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.intro-note {
  font-family: Georgia, serif;
  font-style: italic;
  line-height: 1.5;
  font-size: 19px;
  transform: rotate(-5deg);
  margin-right: 30px;
  color: #989b88;
  display: flex;
  gap: 14px;
}
.intro-note span {
  font-size: 34px;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 22px 0 14px;
  gap: 12px;
}
.project-picker {
  display: flex;
  gap: 8px;
  align-items: center;
}
.project-dot {
  width: 9px;
  height: 9px;
  background: var(--accent);
  margin: 0;
}
.project-picker select {
  font-size: 16px;
  border: 0;
  background: transparent;
  padding: 8px 17px 8px 0;
  font-weight: 500;
  max-width: 220px;
}
.mini-label {
  font-size: 8px;
  letter-spacing: 1px;
  border: 1px solid var(--line);
  padding: 4px 6px;
  border-radius: 4px;
  color: var(--muted);
}
.toolbar-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
#pane-count {
  color: var(--muted);
  font-size: 11px;
  margin-right: 12px;
}
.project-line {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  padding-bottom: 23px;
  gap: 14px;
}
#notice:not(:empty) {
  padding: 13px 17px;
  border: 1px solid #d6ddc6;
  background: var(--pale);
  border-radius: 8px;
  font-size: 12px;
  margin-bottom: 16px;
}
#workspace {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 325px;
  gap: 8px;
  align-items: stretch;
  outline: none;
}
.pane {
  grid-column: var(--col) / span var(--w);
  grid-row: var(--row) / span var(--h);
  background: var(--paper);
  border: 1px solid #dedfd4;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  box-shadow: 0 3px 5px #343d2410;
}
.pane-header {
  touch-action: none;
  cursor: grab;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 17px 20px 15px;
  border-bottom: 1px solid #eeeee6;
  flex-shrink: 0;
}
.pane-grip {
  border: 0;
  padding: 4px;
  min-width: 24px;
  flex-shrink: 0;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  cursor: grab;
  touch-action: none;
}
.pane-grip:focus-visible {
  outline: 2px solid #556c4d;
  outline-offset: 2px;
}
.placement-locked .pane-header {
  cursor: default;
  touch-action: auto;
}
.pane-grip:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}
.pane-dragging,
.pane-dragging * {
  cursor: grabbing !important;
  user-select: none;
}
.drag-source {
  opacity: 0.45;
}
.drop-layer {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}
.drop-slot {
  position: absolute;
  box-sizing: border-box;
  border: 2px dashed #657b55;
  background: #e1e9d5bd;
  border-radius: 12px;
  padding: 16px;
  color: #35482b;
  font-size: 13px;
  font-weight: 600;
}
.drop-active {
  background: #c3d4abdd;
  border-style: solid;
}
.drop-outline {
  position: absolute;
  box-sizing: border-box;
  border: 3px solid #425b32;
  border-radius: 12px;
  box-shadow: 0 4px 20px #33432233;
}
.tile-result-layer {
  position: absolute;
  inset: 0;
  z-index: 19;
  pointer-events: none;
}
.tile-ghost {
  position: absolute;
  background: var(--paper);
  border: 1px solid #a9b59b;
  border-radius: 12px;
  padding: 22px;
  color: var(--green);
  font-size: 13px;
}
.tile-source {
  background: #e1e9d5;
  border: 2px solid var(--green);
}
.tile-previewing > .pane {
  opacity: 0;
}
.tile-previewing .drop-slot {
  background: transparent;
  color: transparent;
  border-color: transparent;
}
.tile-previewing .drop-outline {
  border-width: 2px;
}
.pane-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e9eade;
  border-radius: 7px;
  width: 28px;
  height: 28px;
  color: #6d7d60;
  font-size: 20px;
  flex-shrink: 0;
}
.pane-header h2 {
  font-weight: 500;
  font-size: 13px;
  margin: 0 0 5px;
  letter-spacing: -0.1px;
}
.scope {
  display: block;
  color: var(--muted);
  font-size: 9px;
}
.pane-menu {
  border: 0;
  background: transparent;
  padding: 5px 4px;
  font-size: 22px;
  line-height: 1;
  margin-left: auto;
  align-self: flex-start;
}
.lock-badge {
  font-size: 13px;
  color: var(--muted);
  margin-left: auto;
}
.pane-body {
  padding: 20px;
  overflow: auto;
  min-height: 0;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: #d7dace transparent;
}
.pane-footer {
  padding: 11px 20px;
  border-top: 1px solid #eeeee6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.pane-footer > span {
  color: #96998b;
  font-size: 9px;
}
.pane-footer button {
  font-size: 10px;
  color: #637655;
}
.note-meta {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 1px;
  color: #a0a38e;
  gap: 12px;
  margin-bottom: 15px;
}
.save-status {
  letter-spacing: 0;
}
.notes .pane-body {
  display: flex;
  flex-direction: column;
  background: linear-gradient(100deg, #fffefa, #fbfaf4);
}
.notebook {
  background: transparent;
  resize: none;
  flex: 1;
  min-height: 70px;
  width: 100%;
  border: 0;
  outline: none;
  line-height: 1.9;
  font-size: 13px;
  color: #626956;
  padding: 0;
}
.notebook::placeholder {
  color: #a2a38f;
}
.chat .pane-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chat-status {
  padding: 14px 20px;
  font-size: 9px;
  color: #838a78;
  border-bottom: 1px solid #eeeee6;
  display: flex;
  align-items: center;
}
.chat-status > span:last-child {
  margin-left: auto;
  font-size: 8px;
  letter-spacing: 1px;
}
.transcript {
  overflow: auto;
  min-height: 0;
  flex: 1;
  padding: 20px;
  scrollbar-width: thin;
}
.message {
  margin: 0 0 26px;
  padding-left: 0;
}
.message-author {
  font-size: 9px;
  color: #7f8b72;
  margin-bottom: 9px;
}
.message p {
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-wrap;
  margin: 0;
}
.message.from-you {
  background: #f0f1e9;
  border-radius: 9px;
  padding: 14px 16px;
  margin-left: 22px;
}
.message.from-you .message-author {
  color: #929680;
}
.composer {
  margin: 0 15px 15px;
  border: 1px solid #dadfd1;
  border-radius: 9px;
  padding: 12px;
  background: #fffefa;
}
.composer textarea {
  width: 100%;
  resize: none;
  border: 0;
  background: transparent;
  line-height: 1.5;
  font-size: 12px;
  min-height: 55px;
  padding: 0;
}
.composer textarea::placeholder {
  color: #a4a795;
}
.composer > div {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}
.composer small {
  font-size: 8px;
  color: #939984;
  max-width: 125px;
  line-height: 1.4;
}
.send {
  font-size: 10px;
  padding: 8px 10px;
  white-space: nowrap;
  border-radius: 6px;
}
.attachment {
  font-size: 10px;
  background: #edf0e5;
  border-left: 2px solid #83916e;
  padding: 9px 12px;
  margin: 0 15px 12px;
  overflow-wrap: anywhere;
}
.attachment small {
  display: block;
  margin-top: 4px;
}
.attachment p {
  white-space: pre-wrap;
  max-height: 100px;
  overflow: auto;
}
.attachment summary {
  cursor: pointer;
  margin-top: 6px;
}
.recap-kicker {
  font-size: 8px;
  letter-spacing: 1px;
  color: #989d8b;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.recap-kicker span {
  letter-spacing: 0;
  color: #a58c6a;
}
.recap h3 {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.3px;
  margin: 14px 0 10px;
}
.body-copy {
  font-size: 11px;
  line-height: 1.8;
  color: #7b806e;
  margin: 0 0 13px;
}
.recap-list {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  display: grid;
  gap: 10px;
  font-size: 10px;
  color: #667457;
}
.recap-list i {
  font-style: normal;
  margin-right: 7px;
  color: #8c9b76;
}
.source-links {
  display: flex;
  gap: 14px;
  margin-top: 13px;
}
.source-links .quiet {
  font-size: 9px;
}
.progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.progress-top strong {
  font-family: Georgia, serif;
  font-size: 44px;
  font-weight: 400;
  color: #60744e;
  letter-spacing: -2px;
}
.progress-top strong span {
  font-size: 21px;
  margin-left: 3px;
}
.progress-top p {
  font-size: 9px;
  color: #989d8a;
  margin: 3px 0 0;
}
.on-track {
  background: #edf1e4;
  border-radius: 20px;
  padding: 6px 9px;
  font-size: 8px;
  color: #6f8059;
}
.progress-track {
  height: 5px;
  background: #eceee3;
  border-radius: 8px;
  margin: 18px 0 23px;
  overflow: hidden;
}
.progress-track div {
  height: 100%;
  background: #91a475;
  border-radius: 8px;
}
.milestones {
  display: grid;
  gap: 17px;
}
.milestones > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.milestones > div > span {
  width: 21px;
  height: 21px;
  border: 1px solid #e2e5d6;
  border-radius: 50%;
  font-size: 9px;
  display: grid;
  place-items: center;
  color: #a2aa94;
}
.milestones .done {
  background: #edf1e4;
  color: #6b8051;
  border-color: #edf1e4;
}
.milestones .current {
  border-color: #b5c19f;
  color: #78905f;
}
.milestones b {
  font-size: 10px;
  font-weight: 500;
  display: block;
}
.milestones small {
  font-size: 8px;
  color: #969c89;
  display: block;
  margin-top: 5px;
}
.milestones em {
  font-size: 8px;
  font-style: normal;
  margin-left: auto;
  color: #959d86;
}
.empty {
  text-align: center;
  padding: 25px 15px;
  color: var(--muted);
}
.empty > span {
  font-size: 32px;
  color: #9ba78c;
}
.empty h3 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 23px;
}
.empty p {
  font-size: 12px;
  line-height: 1.8;
}
.workspace-empty {
  grid-column: 1/-1;
  padding: 40px;
  text-align: center;
}
.workspace-empty h2 {
  font-family: Georgia, serif;
  font-weight: 400;
}
.workspace-empty p {
  color: var(--muted);
}
footer {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 10px;
  color: #929584;
  padding: 28px 0 36px;
}
footer b {
  font-size: 15px;
  margin-right: 7px;
  color: #7f8972;
}
footer button {
  margin-left: auto;
}
footer > span:last-child {
  font-size: 9px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  top: -100px;
  left: 15px;
  background: white;
  padding: 12px;
  z-index: 100;
}
.skip:focus {
  top: 12px;
}
dialog {
  padding: 26px;
  border-radius: 16px;
  border: 1px solid var(--line);
  width: min(560px, calc(100% - 30px));
  max-height: 88vh;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 25px 100px #18211130;
}
dialog::backdrop {
  background: #2f382e55;
  backdrop-filter: blur(3px);
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.dialog-heading h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.5px;
  margin: 0;
}
.dialog-heading button {
  padding: 4px 10px;
  font-size: 22px;
  border: 0;
  background: transparent;
}
.dialog-copy {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin: 10px 0 20px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 23px;
}
.dialog-actions .danger {
  margin-right: auto;
}
dialog form > label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  margin: 15px 0;
}
dialog input:not([type="checkbox"]),
dialog select {
  width: 100%;
  padding: 11px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
}
dialog form > label.checkbox {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.add-options {
  display: grid;
  gap: 9px;
}
.add-options button {
  text-align: left;
  display: grid;
  grid-template-columns: 35px 1fr 20px;
  gap: 5px 10px;
  padding: 17px;
}
.add-options button > span {
  grid-row: span 2;
  font-size: 27px;
  color: #7e8c6d;
}
.add-options b {
  font-size: 13px;
  font-weight: 500;
}
.add-options small {
  grid-column: 2;
  font-size: 11px;
  color: var(--muted);
}
.add-options em {
  grid-column: 3;
  grid-row: 1/3;
  font-size: 21px;
  font-style: normal;
  align-self: center;
  color: var(--muted);
}
.proposal-label {
  font-size: 11px;
  color: #7d875e;
  background: var(--pale);
  border-radius: 6px;
  padding: 11px;
  line-height: 1.5;
}
.preset-options {
  display: flex;
  gap: 8px;
}
.preset-options button {
  flex: 1;
  padding: 12px 8px;
  font-size: 12px;
}
.preset-options small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 7px;
}
#preview-map {
  padding: 17px 0 0;
}
#preview-map p {
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}
.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 50px;
  gap: 6px;
  max-height: 260px;
  overflow: auto;
}
.mini-grid > div {
  font-size: 9px;
  background: #edf0e5;
  border: 1px solid #dce2cd;
  border-radius: 5px;
  padding: 8px;
  overflow: hidden;
}
.previewing {
  opacity: 0.65;
}
.about-facts p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.about-facts b {
  color: var(--ink);
}
@media (min-width: 1550px) {
  main {
    padding: 0 55px;
  }
}
@media (max-width: 1100px) {
  main {
    padding: 0 3%;
  }
  .topbar {
    padding: 0 3%;
  }
  .pane-header {
    padding: 15px 13px;
  }
  .pane-body {
    padding: 16px;
  }
  .pane-footer {
    padding: 10px 13px;
  }
  .pane-header h2 {
    font-size: 12px;
  }
  .scope {
    font-size: 8px;
  }
  #workspace {
    gap: 8px;
    grid-auto-rows: 335px;
  }
  .pane-footer > span {
    font-size: 8px;
  }
  .pane-footer button {
    font-size: 9px;
  }
  .transcript {
    padding: 16px;
  }
  .composer > div {
    flex-wrap: wrap;
  }
  .intro-note {
    margin-right: 10px;
  }
  .progress-top {
    flex-wrap: wrap;
  }
  .milestones em {
    display: none;
  }
}
@media (max-width: 760px) {
  .topbar {
    height: 75px;
    padding: 0 20px;
    gap: 12px;
  }
  .brand {
    font-size: 27px;
  }
  .brand-mark {
    width: 31px;
    height: 31px;
    font-size: 36px;
    border-radius: 9px;
    margin-right: 8px;
  }
  .divider,
  .workspace-label,
  .topbar > .quiet {
    display: none;
  }
  .sample-badge {
    font-size: 9px;
    padding: 6px 8px;
  }
  main {
    padding: 0 18px;
  }
  .intro {
    padding: 32px 0 27px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.6px;
  }
  h1 {
    font-size: 38px;
    margin: 12px 0;
  }
  .intro p {
    font-size: 12px;
    line-height: 1.8;
    max-width: 280px;
  }
  .intro-note {
    display: none;
  }
  .toolbar {
    flex-wrap: wrap;
    padding: 14px 0;
    gap: 12px;
  }
  .project-picker {
    width: 100%;
  }
  .project-picker select {
    font-size: 15px;
  }
  .mini-label {
    margin-left: auto;
  }
  .toolbar-actions {
    width: 100%;
  }
  .toolbar-actions #pane-count {
    margin-right: auto;
  }
  .toolbar-actions button {
    font-size: 12px;
  }
  .project-line {
    font-size: 10px;
    flex-direction: column;
    gap: 7px;
    padding-bottom: 17px;
  }
  #workspace {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .pane {
    order: var(--order);
    width: 100%;
    height: 430px;
    flex: none;
  }
  .pane[data-mobile="short"] {
    height: 300px;
  }
  .pane[data-mobile="medium"] {
    height: 430px;
  }
  .pane[data-mobile="tall"] {
    height: 600px;
  }
  .pane-header {
    padding: 17px;
  }
  .pane-header h2 {
    font-size: 13px;
  }
  .scope {
    font-size: 9px;
  }
  .pane-body {
    padding: 20px;
  }
  .notebook {
    font-size: 14px;
  }
  .pane-footer {
    padding: 12px 18px;
  }
  .pane-footer > span {
    font-size: 9px;
  }
  .pane-footer button {
    font-size: 10px;
  }
  .chat-status {
    font-size: 10px;
  }
  .transcript {
    padding: 20px;
  }
  .message p {
    font-size: 14px;
  }
  .composer textarea {
    font-size: 14px;
  }
  .composer small {
    font-size: 9px;
    max-width: 170px;
  }
  .send {
    font-size: 11px;
  }
  .recap h3 {
    font-size: 24px;
  }
  .body-copy {
    font-size: 13px;
  }
  .recap-list {
    font-size: 12px;
    gap: 14px;
  }
  .source-links .quiet {
    font-size: 11px;
  }
  .progress-top {
    flex-wrap: nowrap;
  }
  .progress-top strong {
    font-size: 50px;
  }
  .milestones {
    gap: 23px;
  }
  .milestones b {
    font-size: 12px;
  }
  .milestones small {
    font-size: 10px;
  }
  .milestones em {
    display: block;
    font-size: 9px;
  }
  .on-track {
    font-size: 10px;
  }
  .recap-kicker {
    font-size: 9px;
  }
  footer {
    flex-wrap: wrap;
    gap: 14px;
    font-size: 9px;
  }
  footer > span:last-child {
    width: 100%;
  }
  dialog {
    padding: 20px;
  }
  .dialog-heading h2 {
    font-size: 26px;
  }
  .preset-options {
    flex-wrap: wrap;
  }
  .preset-options button {
    min-width: 120px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
