/* Fit the native Wrkr shell to an interactive marketing example. */
:root[data-theme="light"] {
  --w-rail: 210px;
  --faint: #69716e;
  --muted: #626b68;
}
html,
body {
  height: 100%;
}
body {
  overflow: hidden;
}
[hidden] {
  display: none !important;
}
.sample-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(100%);
  white-space: nowrap;
}
#topbar {
  height: 48px;
}
#workspace {
  height: calc(100vh - 48px);
}
#chatPane,
#conversation {
  min-width: 0;
}
#chatSidebar {
  --w-rail: 240px;
}
#sidebarScroll .rail-heading > span:first-child {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
#sidebarScroll .rail-add {
  font-size: 10px;
  padding-inline: 4px;
}
#sidebarScroll .rail-row {
  font-size: 11px;
}
.lane-head {
  display: flex;
  align-items: center;
  gap: 5px;
}
.thread-row {
  width: 100%;
  text-align: left;
}
#sidebarFooter {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}
.sample-local {
  color: var(--faint);
}
#deskHeader {
  gap: 8px;
}
#breadcrumb {
  min-width: 0;
  font-size: 12px;
}
#breadcrumb button {
  font-size: 12px;
}
#breadcrumbThread {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#threadStatus {
  font-size: 10px;
  white-space: nowrap;
  color: var(--accent);
}
#timeline {
  padding: 20px 23px 126px;
  scroll-behavior: auto;
}
#messages {
  gap: 12px;
}
.message-copy,
.chat-message.user .message-copy {
  font-size: 13px;
  line-height: 1.7;
}
.message-copy p {
  margin: 0 0 8px;
}
#sample-response-row {
  width: 100%;
}
.sample-worklog {
  margin-top: 8px;
  max-width: 350px;
  padding-left: 12px;
  border-left: 1px solid var(--line-2);
}
.sample-worklog > div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  color: var(--muted);
  font-size: 11px;
}
.sample-worklog i {
  margin-left: auto;
  font-style: normal;
  color: var(--accent);
  font-size: 11px;
}
.sample-worklog > div.active > i {
  height: 9px;
  width: 9px;
  border: 1px solid var(--line-2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: sample-spin 1s linear infinite;
}
.sample-worklog > div:not(.complete):not(.active) {
  opacity: 0.55;
}
.artifact-text strong {
  font-size: 11px;
}
.artifact-text span {
  font-size: 10px;
}
.artifact-row {
  gap: 10px;
  padding: 9px;
}
.artifact-row > button {
  font-size: 11px;
}
#composer {
  left: 16px;
  right: 16px;
  bottom: 14px;
  width: auto;
}
#prompt {
  font-size: 12px;
  min-height: 49px;
  max-height: 78px;
  resize: none;
  color: var(--muted);
  padding: 13px 14px 5px;
  cursor: default;
}
.composer-controls {
  gap: 4px;
  padding: 5px 8px 9px;
}
.composer-menus {
  gap: 0;
}
.composer-menu-button {
  font-size: 10px;
  max-width: 210px;
  padding-inline: 7px;
}
#modelChoiceLabel {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#traitsChoice {
  padding-inline: 5px;
}
.send {
  width: 30px;
  height: 30px;
  min-height: 30px;
  flex-basis: 30px;
}
#pane {
  flex-basis: 38%;
  min-width: 325px;
}
#panelHeader {
  gap: 4px;
  height: 41px;
  flex-basis: 41px;
  padding: 4px 8px;
}
.panel-tabs > button {
  padding: 5px 9px;
  font-size: 11px;
}
.panel-tabs {
  min-width: 0;
  flex: 1;
}
#panelHeader .icon-button {
  min-width: 28px;
  width: 28px;
  height: 28px;
  min-height: 28px;
}
.result-document {
  min-height: 100%;
  padding: 24px 18px;
}
.preview-kicker {
  margin: 0 0 28px;
  font: 8px var(--mono);
  color: #627767;
  letter-spacing: 0.08em;
}
.preview-title {
  margin: 0 0 26px;
  font: 600 32px/0.99 var(--display);
  letter-spacing: -1.2px;
  color: #18211a;
}
.supplier-head,
.supplier-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.8fr;
  gap: 8px;
  font-size: 9px;
  padding: 11px 0;
  border-bottom: 1px solid #d9e0d7;
}
.supplier-head {
  color: #64756a;
  font-size: 7px;
  letter-spacing: 0.06em;
}
.supplier-row > span:last-child {
  color: #167646;
}
.preview-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 22px;
  font: 7px var(--mono);
  color: #687e6d;
}
.booking-preview {
  background: #f7f4ec;
}
.booking-preview .preview-title {
  font-size: 46px;
  color: #2f3730;
}
.booking-slots {
  display: flex;
  gap: 7px;
}
.booking-slots span {
  border: 1px solid #b9c7b9;
  border-radius: 6px;
  padding: 13px 9px;
  font-size: 9px;
}
.booking-slots span:first-child {
  background: #dde9dd;
}
.booking-cta {
  padding: 11px;
  margin-top: 15px;
  background: #245c3c;
  color: white;
  border-radius: 6px;
  text-align: center;
  font-size: 10px;
}
.trip-preview {
  background: #f1f5ed;
}
.trip-preview .preview-title {
  font-size: 33px;
}
.trip-map {
  background: linear-gradient(135deg, #dce9dd, #e8ece0);
  height: 110px;
  border-radius: 6px;
  margin: 18px 0;
  position: relative;
  overflow: hidden;
}
.trip-map:before,
.trip-map:after {
  content: "";
  height: 8px;
  width: 160%;
  left: -20%;
  top: 48%;
  transform: rotate(-18deg);
  position: absolute;
  background: #fff;
}
.trip-map:after {
  transform: rotate(58deg);
}
.trip-map > span {
  position: absolute;
  top: 20%;
  left: 12%;
  font-size: 9px;
  z-index: 1;
  color: #42774b;
}
.trip-map > span:last-child {
  top: 70%;
  left: 40%;
}
.trip-days {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  font-size: 8px;
  color: #527152;
}
.sample-file-note {
  font-size: 9px;
  line-height: 1.6;
  color: var(--muted);
  margin: 12px 0;
}
#sampleScreen {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px;
  overflow: auto;
}
.sample-screen-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 12px;
}
.sample-screen-meta > button {
  margin-left: auto;
  font-size: 10px;
  min-height: 30px;
}
.sample-chrome-view {
  margin: 0 -10px;
}
.sample-chrome-view img {
  display: block;
  width: 100%;
  height: auto;
}
.sample-sign-in {
  padding: 5px 10px;
  text-align: center;
}
.sample-sign-in h2 {
  font-size: 20px;
  letter-spacing: -0.5px;
  margin: 10px 0;
}
.sample-sign-in p {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}
.sample-sign-in > button {
  background: var(--accent);
  color: #fff;
  border: 0;
  font-size: 11px;
  padding: 9px 16px;
  margin-top: 12px;
}
#sampleTerminal {
  padding: 18px;
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  background: var(--sunk);
  color: var(--ink);
}
.sample-terminal-head {
  display: flex;
  font: 11px var(--mono);
}
.sample-terminal-head > span {
  margin-left: auto;
  color: #9fae9e;
  font-size: 9px;
}
#terminal-copy {
  white-space: pre-wrap;
  font: 11px/1.8 var(--mono);
  color: var(--body);
  padding: 20px 0;
}
#terminalClear {
  margin-top: auto;
  align-self: end;
  color: var(--ink);
  background: var(--raised);
  font-size: 10px;
}
.sample-popover {
  position: fixed;
  z-index: 80;
  top: 48px;
  left: 12px;
  width: 260px;
  padding: 9px;
  background: var(--menu-solid);
  border: 1px solid var(--edge);
  border-radius: 12px;
  box-shadow: var(--lift-3);
}
.sample-popover > p:first-child {
  margin: 3px 8px 10px;
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}
.sample-popover > button {
  width: 100%;
  border: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px;
  background: transparent;
  text-align: left;
  border-radius: 7px;
}
.sample-popover > button:hover,
.sample-popover > button[aria-pressed="true"] {
  background: var(--hover);
}
.sample-popover > button > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sample-popover strong {
  font-size: 12px;
}
.sample-popover small {
  font-size: 10px;
  color: var(--muted);
}
.sample-worker-symbol {
  color: var(--accent);
  font-size: 19px;
}
.sample-popover i {
  margin-left: auto;
  color: var(--accent);
  font-style: normal;
  opacity: 0;
}
.sample-popover [aria-pressed="true"] i {
  opacity: 1;
}
#sampleSettings {
  left: auto;
  right: 10px;
  width: 300px;
}
.sample-account {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 8px;
  background: var(--accent-soft);
  border-radius: 8px;
}
.sample-account img {
  width: 22px;
  height: 22px;
}
.sample-account > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sample-account > span {
  color: var(--accent);
  margin-left: auto;
}
.sample-settings-note {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  padding: 5px 8px;
}
#sampleSettings > a {
  display: block;
  margin: 8px;
  font-size: 11px;
  color: var(--accent);
  text-decoration: underline;
}
.composer-popover {
  top: auto;
  bottom: 110px;
  max-height: min(350px, calc(100vh - 95px));
}
.model-side {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.model-menu {
  width: min(400px, calc(100vw - 24px));
}
.family-tab img {
  width: 21px;
  height: 21px;
}
.model-row {
  display: flex;
  align-items: center;
  padding: 9px 10px;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}
.model-row:hover,
.model-row[aria-pressed="true"] {
  background: var(--hover);
}
.model-row > span:first-child {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}
.model-row strong {
  font-size: 12px;
  font-weight: 500;
}
.model-row small {
  color: var(--muted);
  font-size: 10px;
}
.model-row > span:last-child {
  color: var(--accent);
}
.sample-catalog-note {
  display: block;
  padding: 8px 11px;
  font-size: 8px;
  line-height: 1.5;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.sample-menu-label {
  font-size: 10px;
  color: var(--muted);
  padding: 7px 12px;
  margin: 0;
}
.traits-menu {
  width: 180px;
  padding: 5px;
}
.traits-menu > button {
  width: 100%;
  text-align: left;
  font-size: 12px;
  border: 0;
  background: transparent;
}
.traits-menu > button[aria-pressed="true"] {
  background: var(--accent-soft);
  color: var(--accent);
}
.runtime-menu {
  width: 275px;
}
.sample-open-files {
  color: var(--accent);
  border-color: var(--accent-line);
  background: var(--accent-soft);
  font-size: 11px;
  margin-top: 8px;
}
body.sample-paused *,
body.sample-paused *:before,
body.sample-paused *:after {
  animation-play-state: paused !important;
}
.sample-enter {
  animation: sample-arrive 0.4s cubic-bezier(0.2, 0.9, 0.1, 1) both;
}
@keyframes sample-arrive {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes sample-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 1100px) {
  #chatSidebar {
    --w-rail: 220px;
  }
  #pane {
    flex-basis: 37%;
    min-width: 290px;
  }
  .message-copy,
  .chat-message.user .message-copy {
    font-size: 12px;
  }
  #timeline {
    padding-inline: 16px;
  }
  .preview-title {
    font-size: 28px;
  }
  .booking-preview .preview-title {
    font-size: 39px;
  }
  .composer-menu-button {
    max-width: 172px;
  }
}
@media (max-width: 760px) {
  #pane {
    margin: 0 7px 7px;
    inset: 0;
    flex-basis: auto;
  }
  .top-toggle > span:not(.state-dot) {
    display: none;
  }
  #timeline {
    padding: 12px 18px 130px;
  }
  .message-copy,
  .chat-message.user .message-copy {
    font-size: 13px;
    line-height: 1.5;
  }
  .sample-worklog > div {
    padding-block: 2px;
  }
  .preview-title {
    font-size: 40px;
  }
  .booking-preview .preview-title {
    font-size: 50px;
  }
  .sample-files-path,
  .preview-heading {
    padding-block: 15px;
  }
  .result-document {
    padding: 25px;
  }
  .supplier-head,
  .supplier-row {
    font-size: 10px;
  }
  .composer-menu-button {
    font-size: 10px;
    max-width: 180px;
  }
  .brand-button {
    gap: 8px;
  }
  .wordmark {
    font-size: 18px;
  }
  .bot-name {
    font-size: 12px;
  }
  #botMenuButton {
    min-width: 0;
  }
  .sample-popover {
    max-width: calc(100vw - 24px);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
#sidebarScroll .rail-heading > span:first-child {
  flex-shrink: 0;
  max-width: none;
  overflow: visible;
}
.sample-revision-note {
  margin: 16px;
  padding: 12px;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: #276343;
  border-radius: 6px;
  font-size: 11px;
  line-height: 1.7;
}
:root[data-theme="light"] {
  --accent: #0d7951;
  --faint: #616b66;
}
.preview-kicker,
.preview-foot {
  color: #5d705e;
}
.model-row small {
  color: #4e5c52;
}

/* Saved projects and conversations use the same native rail structure. */
.project-row > .disclose {
  border: 0;
  padding: 3px;
  background: transparent;
  min-width: 22px;
  height: 28px;
  box-shadow: none;
}
.project-row > .disclose[aria-expanded="false"] svg {
  transform: rotate(-90deg);
}
.project-row > .project-select {
  flex: 1;
  min-width: 0;
}
.project-row .rail-count {
  margin-left: auto;
  font-size: 10px;
  color: var(--muted);
}
.project-select[aria-current="true"] {
  color: var(--ink);
}
#projectList .project-block {
  margin-bottom: 12px;
}
#projectList .project-threads {
  margin-left: 18px;
}
#projectList .thread-when {
  font-size: 9px;
  min-width: 29px;
  text-align: right;
}
#projectList .new-thread {
  color: var(--accent);
  margin-top: 3px;
}
#projectList .new-thread svg {
  width: 14px;
  height: 14px;
}

#prompt {
  resize: none;
}
#project-dialog {
  width: min(370px, calc(100% - 28px));
  border: 1px solid var(--edge);
  border-radius: 14px;
  padding: 24px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--lift-3);
}
#project-dialog::backdrop {
  background: #13221955;
}
#project-form header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
#project-form h2 {
  font-size: 20px;
  margin: 0;
}
#project-form header button {
  border: 0;
  font-size: 23px;
  background: transparent;
}
#project-form label {
  display: block;
  font-size: 12px;
  margin-bottom: 8px;
}
#project-name {
  width: 100%;
  font: 14px var(--sans);
  padding: 11px;
  border: 1px solid var(--edge);
  border-radius: 7px;
  background: var(--ground);
  color: var(--ink);
}
#project-form p {
  font-size: 11px;
  color: var(--muted);
  margin: 12px 0 20px;
}
#project-form > button {
  width: 100%;
  background: var(--accent);
  color: white;
  padding: 11px;
  font-size: 13px;
}
