:root {
  --forest: #173f32;
  --ink: #1a352c;
  --muted: #54685c;
  --line: #d5dfd7;
  --paper: #f5f7f3;
  color: var(--ink);
  font:
    16px/1.45 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    AmautaSans,
    system-ui,
    sans-serif;
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #215e47;
  text-underline-offset: 0.2em;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a.primary,
.acceso-submit {
  cursor: pointer;
}
button,
.primary {
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 12px;
  border-radius: 7px;
  font: 600 0.9rem/1.4 inherit;
  font-weight: 600;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #709b3f;
  outline-offset: 2px;
}
.primary {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  color: white;
  background: var(--forest);
  border-color: var(--forest);
  text-decoration: none;
}
.primary:hover {
  background: #285b43;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font:
    500 clamp(2rem, 3vw, 3rem) / 1.06 AccesoEditorial,
    Georgia,
    serif;
  letter-spacing: -0.033em;
  overflow-wrap: anywhere;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.18rem;
  line-height: 1.28;
  font-weight: 650;
  letter-spacing: -0.018em;
}
h3 {
  font-size: 1rem;
}
small {
  font-size: 0.8rem;
  color: var(--muted);
}
.acceso-content > a.acceso-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.login-note {
  color: #415a51;
  font-size: 0.93rem;
  margin: 1rem 0 0.25rem;
}
.acceso-cardhead h1 {
  letter-spacing: normal;
}
.error {
  border: 1px solid #e7b9a5;
  border-radius: 7px;
  background: #fff2e9;
  color: #762e16;
  padding: 10px;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}
.loading,
.entry-state {
  max-width: 440px;
  margin: 14vh auto;
  padding: 24px;
}
.entry-state > img {
  width: 160px;
  height: auto;
  margin-bottom: 25px;
}
.acceso-assurance {
  margin-bottom: 0;
}
.studio {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 215px minmax(0, 1fr);
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  padding: 12px;
  background: #102f28;
  color: #dce7df;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.brand {
  display: block;
  margin: 0 8px 18px;
  padding: 7px 4px 17px;
  border-bottom: 1px solid #ffffff24;
}
.brand img {
  width: 132px;
  display: block;
  filter: brightness(0) invert(92%) sepia(12%) saturate(380%) hue-rotate(32deg);
}
.sidecaption {
  padding: 0 10px 8px;
  color: #adc6b7;
  font-weight: 600;
}
.sidebar nav {
  overflow: auto;
}
.sidebar nav a {
  display: flex;
  gap: 10px;
  align-items: center;
  color: inherit;
  padding: 10px 11px;
  margin: 2px 0;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.91rem;
}
.sidebar nav svg {
  flex: none;
  width: 18px;
  height: 18px;
}
.sidebar nav a:hover {
  background: #29473a;
}
.sidebar nav a[aria-current] {
  color: #153f2e;
  background: #d5e8bf;
  font-weight: 650;
}
.maker {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #ffffff26;
  padding: 14px 8px 4px;
  margin-top: auto;
  font-size: 0.86rem;
}
.maker img {
  width: 23px;
  height: 23px;
}
.work {
  min-width: 0;
}
.bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 10px clamp(16px, 2.5vw, 44px);
  min-height: 57px;
}
.crumb,
.account {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.crumb {
  font-size: 0.88rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.account {
  margin-left: auto;
}
.account span {
  font-size: 0.85rem;
  font-weight: 600;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.account button {
  font-size: 0.85rem;
}
.mobile-menu,
.mobile-logo,
.shade {
  display: none;
}
.content {
  max-width: 1500px;
  margin: auto;
  padding: clamp(18px, 2.8vw, 40px);
  min-width: 0;
  outline: none;
}
.skip {
  position: absolute;
  top: -100px;
  z-index: 20;
}
.skip:focus {
  top: 6px;
  left: 6px;
  background: white;
  padding: 6px;
}
.hero {
  padding: clamp(20px, 3vw, 42px);
  border-radius: 14px;
  background:
    linear-gradient(90deg, #133c2fee 0%, #133c30d6 36%, #153c3030 80%),
    url('/assets/valle.webp') 65% 52% / cover;
  color: white;
}
.hero span {
  font-size: 0.87rem;
  font-weight: 600;
}
.hero h1 {
  margin: 0.3rem 0;
}
.hero p {
  margin: 0;
}
.dashboard-grid,
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 20px;
}
.surface,
.state,
.journey {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(16px, 2.2vw, 28px);
  min-width: 0;
  overflow-wrap: anywhere;
}
.state p:last-child,
.surface p:last-child {
  margin-bottom: 0;
}
.section-title,
.page-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.section-title {
  margin-bottom: 16px;
}
.section-title h2,
.page-title h1 {
  margin: 0;
}
.page-title {
  margin-bottom: 22px;
}
.page-title p {
  margin: 6px 0 0;
  color: var(--muted);
}
.section-title a,
.back {
  font-size: 0.88rem;
}
.back {
  display: inline-block;
  margin-bottom: 16px;
}
.list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.list a:first-child {
  border-top: 0;
}
.list a:hover strong {
  text-decoration: underline;
}
.list a span {
  min-width: 0;
}
.list strong,
.list small {
  display: block;
}
.pill {
  display: inline-flex;
  width: fit-content;
  flex: none;
  font-size: 0.78rem;
  line-height: 1.2;
  padding: 6px 9px;
  border-radius: 6px;
  background: #e7f0e1;
  color: #35573b;
  font-weight: 600;
}
.empty {
  padding-block: 12px;
}
.empty p,
.surface p,
.state {
  line-height: 1.55;
}
.agent-list,
.journey,
.events {
  padding-left: 0;
  list-style: none;
}
.agent-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 14px;
}
.agent-list h2 {
  margin: 0.5em 0;
}
.journey {
  padding: 18px 24px;
}
.journey li {
  position: relative;
  display: flex;
  gap: 17px;
  padding: 12px 0;
}
.journey li + li {
  border-top: 1px solid #e0e6dc;
}
.journey li h2,
.journey li p {
  margin: 3px 0;
}
.journey-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 3px solid #497052;
  flex: none;
  margin-top: 8px;
}
.form {
  display: grid;
  gap: 15px;
  max-width: 840px;
}
.form h2 {
  margin: 0;
}
.form label {
  display: grid;
  gap: 5px;
  font-weight: 600;
  font-size: 0.93rem;
}
.opt {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.8rem;
}
.form input,
.form textarea,
.form select {
  min-width: 0;
  width: 100%;
  border-radius: 6px;
  background: white;
  border: 1px solid #bdcdbd;
  padding: 9px 10px;
}
.form textarea {
  resize: vertical;
}
.form fieldset {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  gap: 12px;
  padding: 10px;
}
.form legend {
  font-size: 0.88rem;
  font-weight: 600;
}
.form button.primary {
  justify-self: start;
}
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.meta {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 7px 18px;
  margin: 16px 0 25px;
}
.meta dt {
  color: var(--muted);
}
.meta dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.events {
  margin-bottom: 0;
}
.events li {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 3px;
  padding: 11px 0;
}
.events p {
  margin: 4px 0;
  white-space: pre-wrap;
}
.history article {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.history article p {
  white-space: pre-wrap;
  max-width: 80ch;
  margin: 4px 0;
}
@media (max-width: 900px) {
  .studio {
    display: block;
  }
  .sidebar {
    position: fixed;
    visibility: hidden;
    z-index: 9;
    transform: translateX(-100%);
    width: min(265px, 80vw);
    top: 55px;
    height: calc(100dvh - 55px);
    bottom: 0;
  }
  .expanded .sidebar {
    visibility: visible;
    transform: none;
  }
  .expanded .shade {
    display: block;
    position: fixed;
    z-index: 8;
    inset: 55px 0 0;
    border: 0;
    border-radius: 0;
    background: #0c2c2075;
  }
  .bar {
    min-height: 55px;
    padding: 6px 12px;
    gap: 8px;
  }
  .mobile-menu {
    display: grid;
    place-items: center;
    min-height: 40px;
    min-width: 40px;
    border: 0;
  }
  .mobile-logo {
    display: block;
    width: 78px;
    height: auto;
  }
  .crumb {
    display: none;
  }
  .brand {
    display: none;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .account span {
    max-width: 38vw;
  }
}
@media (max-width: 650px) {
  .content {
    padding: 16px 12px 32px;
  }
  .dashboard-grid,
  .pair {
    grid-template-columns: 1fr;
  }
  .surface,
  .state {
    padding: 16px;
  }
  .hero {
    border-radius: 10px;
  }
  .list a {
    flex-wrap: wrap;
  }
  .content h1 {
    font-size: 2.1rem;
  }
  .journey {
    padding: 12px 15px;
  }
  .form input,
  .form select,
  .form textarea {
    font-size: 1rem;
  }
  .section-title a {
    min-height: 36px;
    padding-block: 6px;
  }
}
@media (max-width: 360px) {
  .account span {
    max-width: 24vw;
  }
  .bar {
    gap: 5px;
    padding-inline: 6px;
  }
  .mobile-logo {
    width: 67px;
  }
}
@font-face {
  font-family: AmautaSans;
  src: url('/assets/nunito.woff2') format('woff2');
  font-weight: 200 900;
  font-display: swap;
}
.acceso-page {
  font-family:
    AmautaSans,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}
.acceso-content > a.acceso-submit {
  font-family: inherit;
}
.form textarea {
  white-space: pre-wrap;
}

.field-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}
.compare-evidence {
  margin-top: 1rem;
}
.compare-evidence summary {
  font-weight: 650;
  cursor: pointer;
}
.compare-form {
  display: grid;
  gap: 12px;
}
.compare-controls {
  display: grid;
  gap: 12px;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.compare-controls > label {
  display: grid;
  gap: 4px;
}
.compare-controls > button {
  justify-self: start;
}
.compare-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr));
  gap: 14px;
}
.compare-side {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid #d5e0d4;
  border-radius: 8px;
  padding: 12px;
}
.compare-side legend {
  font-weight: 650;
}
.compare-side label {
  display: grid;
  gap: 4px;
  font-size: 0.87rem;
}
.compare-side input,
.compare-side select {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  padding: 6px;
  border: 1px solid #bfcec2;
  border-radius: 5px;
}
.compare-result {
  padding: 0.8rem;
  background: #eff4ed;
  border-radius: 7px;
  overflow-wrap: anywhere;
}
.compare-result h3 {
  margin: 0;
}
.stack {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.resource-family {
  padding: 13px 0 0;
}
.resource-family h3 {
  margin-bottom: 5px;
}
.resource-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.resource-row strong,
.resource-row small,
.resource-choice small {
  display: block;
  overflow-wrap: anywhere;
}
.resource-row > div {
  min-width: 0;
}
.check-line,
.form label.check-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.form .check-line input {
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: var(--forest);
  margin: 3px 0 0;
}
.resource-choice span {
  min-width: 0;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.form select {
  max-width: 100%;
  text-overflow: ellipsis;
}
.resource-form {
  margin-top: 12px;
}
.space-control {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.space-control > span {
  font-size: 0.8rem;
  color: var(--muted);
}
.space-control select {
  max-width: min(32vw, 290px);
  min-width: 0;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--forest);
  font-size: 0.85rem;
  background: #f1f6ef;
  text-overflow: ellipsis;
}
@media (max-width: 720px) {
  .account:has(.space-control) > span,
  .space-control > span {
    display: none;
  }
  .space-control select {
    max-width: 35vw;
    font-size: 0.8rem;
  }
  .resource-row {
    align-items: flex-start;
  }
  .check-line span {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}
.task-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  background: #edf3e8;
  border: 1px solid #ccdaca;
  border-radius: 0.8rem;
  margin-bottom: 1rem;
}
.task-entry h2,
.task-entry p {
  margin: 0;
}
.task-entry p {
  margin-top: 0.3rem;
}
.task-entry a {
  flex-shrink: 0;
}
.pass-page {
  min-width: 0;
}
.pass-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
}
.pass-steps {
  display: flex;
  gap: 1rem;
  align-items: center;
  list-style: none;
  padding: 0 0 1rem;
  margin: 0 0 1.4rem;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.pass-steps li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
}
.pass-steps li[aria-current] {
  color: var(--forest);
  font-weight: 700;
}
.pass-steps li span {
  display: grid;
  place-items: center;
  border: 1px solid #a1b4a5;
  border-radius: 50%;
  width: 1.55rem;
  height: 1.55rem;
  font-size: 0.8rem;
}
.pass-steps [aria-current] span {
  background: var(--forest);
  color: white;
}
.pass-wizard h2,
.pass-receipt h2 {
  margin: 0;
}
.pass-wizard :is(input, select, textarea),
.pass-wizard .form {
  min-width: 0;
  max-width: 100%;
}
.pass-wizard small,
.pass-system span {
  color: var(--muted);
  font-weight: 400;
}
.pass-system {
  display: grid;
  gap: 0.2rem;
  overflow-wrap: anywhere;
}
.pass-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.pass-pair > div,
.pass-git,
.pass-hint,
.pass-source {
  background: #f0f5ee;
  border-radius: 0.5rem;
  padding: 0.85rem 1rem;
  overflow-wrap: anywhere;
}
.pass-pair h3,
.pass-git h3 {
  margin: 0 0 0.45rem;
}
.pass-git {
  display: grid;
  gap: 0.75rem;
}
.pass-source {
  margin: 0;
}
.pass-more summary {
  cursor: pointer;
  color: var(--forest);
  margin-bottom: 0.65rem;
}
.repo-lookup ul {
  padding-left: 1rem;
}
.repo-lookup button,
.pass-receipt li {
  overflow-wrap: anywhere;
}
.pass-page .eyebrow {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}
@media (max-width: 900px) {
  .pass-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 650px) {
  .task-entry {
    align-items: flex-start;
    flex-direction: column;
  }
  .pass-pair {
    grid-template-columns: minmax(0, 1fr);
  }
  .pass-steps {
    gap: 0.6rem;
    font-size: 0.85rem;
  }
}
.pass-factory {
  margin: 1.25rem 0;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #f5f8f1;
}
.pass-factory h3 {
  margin: 0 0 0.65rem;
}
.pass-factory > .meta {
  min-width: 0;
  overflow-wrap: anywhere;
}

.chat-form{display:grid;gap:.8rem;margin-block:1rem}.chat-form label{font-weight:650}.chat-form textarea,.chat-form input{width:100%;max-width:100%;font:inherit;padding:.75rem;border:1px solid #a6b7aa;border-radius:.5rem}.chat-form button{margin-right:.6rem;padding:.7rem 1rem;background:#193f32;color:white;border:0;border-radius:.45rem;cursor:pointer}.chat-form button:disabled{opacity:.6}
