/* A working surface in the existing Full Stop room. No new brand or theme. */
.go-loop {
  box-sizing: border-box; min-width: 0; width: 100%; max-width: 1280px;
  margin: 0 auto; padding: 24px 28px 120px; overflow: auto;
  color: var(--fs-t1, #f6ebdd); font-family: var(--fs-font, "Mona Sans", sans-serif);
  font-size: 15px; line-height: 1.5; text-align: left;
}
.go-loop[hidden] { display: none !important; }
.go-loop *, .go-loop *::before, .go-loop *::after { box-sizing: border-box; }
.go-loop-heading, .go-loop-project-heading, .go-loop-task-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.go-loop-heading { justify-content: flex-end; padding-bottom: 12px; border-bottom: 1px solid var(--fs-line, #3c2e25); }
.go-loop h1, .go-loop h2, .go-loop h3, .go-loop h4 { color: var(--fs-t1); font-style: normal; }
.go-loop h1 { margin: 0 0 8px; font-size: 34px; line-height: 40px; font-weight: 760; font-stretch: 88%; letter-spacing: -.03em; }
.go-loop h1::after { content: "."; color: var(--fs-firm); }
.go-loop h2 { font-size: 24px; line-height: 32px; font-weight: 650; letter-spacing: -.02em; margin: 0 0 12px; overflow-wrap: anywhere; }
.go-loop h3 { font-size: 20px; line-height: 28px; font-weight: 650; letter-spacing: -.015em; margin: 0 0 12px; overflow-wrap: anywhere; }
.go-loop h4 { font-size: 17px; line-height: 24px; font-weight: 650; margin: 0 0 8px; }
.go-loop p { margin: 0 0 12px; max-width: 68ch; overflow-wrap: anywhere; }
.go-loop-note { color: var(--fs-t2, #d5cabd); font-size: 15px; line-height: 24px; }
.go-loop-heading .go-loop-note { margin: 0; }
.go-loop-state, .go-loop-kept { margin: 0 0 8px; color: var(--fs-t2); font-size: 13px; line-height: 20px; }
.go-loop-kept { color: var(--fs-kept-ink, #94c9e8); }
.go-loop-notice { min-height: 24px; margin: 16px 0 0 !important; color: var(--fs-t1); font-size: 15px; line-height: 24px; }
.go-loop-notice:empty { display: none; }
.go-loop-warning { color: var(--fs-t1); padding: 12px 0; font-size: 15px; line-height: 24px; font-weight: 600; }
.go-loop-layout { display: flex; align-items: flex-start; gap: 0; padding-top: 28px; min-width: 0; }
.go-loop-project-list { flex: 0 0 220px; min-width: 0; padding: 0 20px 0 0; display: flex; flex-direction: column; gap: 4px; }
.go-loop .go-loop-project-list button { border-color: transparent; text-align: left; display: block; width: 100%; padding-left: 16px; position: relative; overflow-wrap: anywhere; }
.go-loop-project-list button[aria-current="page"] { background: var(--fs-s2, #2c1e16); font-weight: 650; }
.go-loop-project-list button[aria-current="page"]::before { content: ""; position: absolute; left: 0; top: 16px; width: 4px; height: 12px; background: var(--fs-firm, #d8bd8e); }
.go-loop-project-main { flex: 1; min-width: 0; padding-left: 28px; border-left: 1px solid var(--fs-line, #3c2e25); }
.go-loop-project-main:first-child { padding-left: 0; border-left: 0; }
.go-loop-project { min-width: 0; }
.go-loop-saved-context { padding: 0 0 12px; }
.go-loop-saved-context p:first-child { color: var(--fs-t1); font-size: 17px; line-height: 28px; white-space: pre-wrap; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.go-loop-source-url { color: var(--fs-t2); font-size: 13px; line-height: 20px; word-break: break-word; }
.go-loop button, .go-loop .go-loop-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; margin: 0; padding: 10px 16px; border: 1px solid var(--fs-line-strong, #85776c); border-radius: 12px; background: transparent; color: var(--fs-t1); font-family: inherit; font-size: 15px; font-style: normal; font-weight: 550; line-height: 22px; text-align: center; text-decoration: none; cursor: pointer; transition: background 160ms var(--fs-ease, ease-out), transform 160ms var(--fs-ease, ease-out); }
.go-loop button:hover, .go-loop .go-loop-button:hover { background: var(--fs-s2, #2c1e16); }
.go-loop button:active, .go-loop .go-loop-button:active { transform: scale(.97); }
.go-loop button:disabled { cursor: default; color: var(--fs-t2); opacity: .7; transform: none; }
.go-loop .go-loop-primary { background: var(--fs-firm, #d8bd8e); color: var(--fs-on-firm, #21130c); border-color: var(--fs-firm); font-weight: 650; }
.go-loop .go-loop-primary:hover { background: var(--fs-firm-hover, #e4c999); }
.go-loop .go-loop-primary:disabled { color: var(--fs-on-firm); opacity: .7; }
.go-loop button:focus-visible, .go-loop a:focus-visible, .go-loop input:focus-visible, .go-loop textarea:focus-visible, .go-loop select:focus-visible, .go-loop summary:focus-visible { outline: 2px solid var(--fs-kept-ink, #94c9e8); outline-offset: 3px; }
.go-loop-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.go-loop-form { min-width: 0; max-width: 740px; }
.go-loop-field { min-width: 0; margin-bottom: 20px; }
.go-loop-field label { display: block; margin-bottom: 8px; font-size: 15px; line-height: 20px; font-weight: 600; color: var(--fs-t1); }
.go-loop input:not([type="checkbox"]), .go-loop textarea, .go-loop select { display: block; width: 100%; min-height: 48px; margin: 0; padding: 12px; border: 1px solid var(--fs-line-strong, #85776c); border-radius: 12px; background: var(--fs-canvas, #190d07); color: var(--fs-t1, #f6ebdd); font: inherit; font-size: 17px; line-height: 24px; }
.go-loop textarea { resize: vertical; min-height: 96px; }
.go-loop input::placeholder, .go-loop textarea::placeholder { color: var(--fs-t3, #bfb4a7); opacity: 1; }
.go-loop select { appearance: auto; }
.go-loop-field-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.go-loop-check { margin: 16px 0; }
.go-loop-check label { display: flex; align-items: flex-start; gap: 8px; min-height: 44px; color: var(--fs-t1); font-size: 15px; line-height: 24px; cursor: pointer; }
.go-loop-check label > span { padding-top: 10px; }
.go-loop-check input { position: relative; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; margin: 0; appearance: none; border: 0; border-radius: 6px; background: transparent; cursor: pointer; }
.go-loop-check input::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--fs-line-strong); border-radius: 6px; background: var(--fs-canvas); }
.go-loop-check input:checked::before { background: var(--fs-firm); border-color: var(--fs-firm); }
.go-loop-check input:checked::after { content: ""; position: absolute; left: 17px; top: 14px; width: 9px; height: 13px; border-right: 2px solid var(--fs-on-firm); border-bottom: 2px solid var(--fs-on-firm); transform: rotate(42deg); }
.go-loop-check > .go-loop-note { margin: 4px 0 0 52px; font-size: 13px; line-height: 20px; }
.go-loop details { min-width: 0; }
.go-loop details > summary { min-height: 44px; padding: 10px 0; color: var(--fs-t1); font-size: 15px; line-height: 24px; font-weight: 600; cursor: pointer; }
.go-loop details[open] > summary { margin-bottom: 12px; }
.go-loop-context-edit { padding: 12px 0; border-top: 1px solid var(--fs-line, #3c2e25); border-bottom: 1px solid var(--fs-line); margin-bottom: 24px; }
.go-loop-source-fields { padding-top: 4px; }
.go-loop-task { padding: 24px 0; border-top: 1px solid var(--fs-line, #3c2e25); }
.go-loop-next-move { font-size: 17px; line-height: 28px; color: var(--fs-t1); white-space: pre-wrap; }
.go-loop-block { margin: 24px 0; padding: 20px; background: var(--fs-s1, #23160e); border: 1px solid var(--fs-line); border-radius: 20px; }
.go-loop-block .go-loop-note:last-child { margin: 12px 0 0; font-size: 13px; line-height: 20px; }
.go-loop-check-in { margin-bottom: 24px; }
.go-loop-check-in.is-due h4::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--fs-firm); margin-right: 8px; }
.go-loop-check-in .go-loop-note:last-child { font-size: 13px; line-height: 20px; }
.go-loop-response { margin: 24px 0; }
.go-loop-return { padding: 16px 0; border-top: 1px solid var(--fs-line); border-bottom: 1px solid var(--fs-line); }
.go-loop-return textarea { min-height: 220px; }
.go-loop-return .go-loop-source-url { margin: 12px 0 0; }
.go-loop-proposal { margin: 24px 0; padding: 16px 20px; background: var(--fs-s1); border: 1px solid var(--fs-line); border-radius: 20px; }
.go-loop-connections { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--fs-line); }
.go-loop-approval-preview { padding: 16px 20px; margin: 16px 0; background: var(--fs-s1); border: 1px solid var(--fs-line); border-radius: 20px; white-space: pre-wrap; }
.go-loop-connection-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--fs-line); }
.go-loop-connection-row p { margin-bottom: 4px; }
.go-loop-connection-row p:last-child { font-size: 13px; line-height: 20px; color: var(--fs-t2); }
.go-loop-empty { max-width: 580px; padding: 36px 0 52px; }
.go-loop-empty h2 { font-size: 30px; line-height: 40px; font-weight: 700; }
.go-loop-empty > .go-loop-note { font-size: 17px; line-height: 28px; margin-bottom: 24px; }
@media (max-width: 760px) {
  .go-loop { padding: 20px 20px 120px; }
  .go-loop-heading { flex-wrap: wrap; gap: 16px; padding-bottom: 20px; }
  .go-loop-heading > div { flex: 1 1 100%; }
  .go-loop-layout { flex-direction: column; padding-top: 20px; }
  .go-loop-project-list { flex: none; width: 100%; padding: 0 0 20px; flex-direction: row; flex-wrap: wrap; }
  .go-loop-project-list button { width: auto; max-width: 100%; }
  .go-loop-project-main { width: 100%; padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--fs-line); }
  .go-loop-project-main:first-child { padding-top: 0; border-top: 0; }
  .go-loop-field-pair { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .go-loop-actions > button, .go-loop-actions > a { flex: 1 1 auto; }
  .go-loop-block { padding: 16px; }
  .go-loop-connection-row { flex-wrap: wrap; gap: 12px; }
  .go-loop-empty { padding: 20px 0 36px; }
}
@media (prefers-reduced-motion: reduce) { .go-loop button, .go-loop a { transition: none; transform: none !important; } }
@media (forced-colors: active) {
  .go-loop button, .go-loop .go-loop-button, .go-loop input, .go-loop textarea, .go-loop select, .go-loop-block, .go-loop-proposal, .go-loop-approval-preview { border: 1px solid CanvasText; }
  .go-loop-check input::before { border: 1px solid CanvasText; }
  .go-loop-check input:checked::after { border-color: Highlight; }
  .go-loop-project-list button[aria-current="page"] { outline: 2px solid Highlight; outline-offset: -2px; }
}
