html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: #efe4d0;
  color: #2f261c;
  font-family: 'Inter', sans-serif;
}

.aw * {
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

.aw {
  min-height: 100dvh;
  width: 100%;
}

.aw input,
.aw textarea,
.aw select {
  width: 100%;
  padding: 10px 13px;
  border-radius: 8px;
  border: 1.5px solid #d7c4a4;
  background: #fffbf2;
  color: #2f261c;
  font-size: 13.5px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.aw input::placeholder,
.aw textarea::placeholder {
  color: #9d8a70;
}

.aw input:focus,
.aw textarea:focus,
.aw select:focus {
  border-color: var(--bc);
  box-shadow: 0 0 0 3px var(--bcg);
}

.aw select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233d3225' stroke-width='2.25'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 34px;
}

.aw select option {
  background: #fffbf2;
  color: #2f261c;
}

.aw textarea {
  resize: vertical;
  line-height: 1.65;
}

.fl {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #6f5e48;
  margin-bottom: 6px;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.sf {
  border: 1.5px solid #d7c4a4;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
}

.sf-h {
  background: #f6ead6;
  border-bottom: 1.5px solid #d7c4a4;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sf-t {
  font-size: 11px;
  font-weight: 700;
  color: #6f5e48;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.sf-b {
  background: #fff7ea;
  padding: 14px;
}

.oc {
  border: 1.5px solid #d7c4a4;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  background: #fff7ea;
}

.oc-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1.5px solid #d7c4a4;
  background: #f6ead6;
}

.oc-b {
  padding: 16px;
  background: #fff7ea;
}

.bp,
.bo,
.bs {
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  color: #f9f3e8;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: opacity .15s, transform .1s;
  white-space: nowrap;
}

.bp { background: #2f2922; }
.bo { background: #5a4026; }
.bs { background: #244631; }

.bp:hover:not(:disabled),
.bo:hover:not(:disabled),
.bs:hover:not(:disabled) {
  opacity: .9;
  transform: translateY(-1px);
}

.bp:disabled,
.bo:disabled,
.bs:disabled {
  background: #b8aa93;
  color: #f6ede0;
  cursor: not-allowed;
  transform: none;
}

.bg {
  padding: 7px 13px;
  border-radius: 7px;
  border: 1.5px solid #8b7760;
  background: #f8efdf;
  color: #4a3b2b;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: border-color .15s, color .15s, background .15s;
  white-space: nowrap;
}

.bg:hover:not(:disabled) {
  border-color: #2f2922;
  color: #2f2922;
  background: #f3e6d1;
}

.bg:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.lr {
  border: 1.5px solid #d7c4a4;
  border-radius: 10px;
  padding: 13px 15px;
  cursor: pointer;
  margin-bottom: 8px;
  background: #fff7ea;
  transition: border-color .15s, background .15s;
}

.lr:hover {
  border-color: var(--bc);
  background: #f6ead6;
}

.err {
  background: rgba(179, 60, 45, .1);
  border: 1px solid rgba(179, 60, 45, .28);
  color: #7d241b;
  font-size: 13px;
  padding: 9px 13px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.dv {
  height: 1px;
  background: #d7c4a4;
  margin: 14px 0;
}

.pill {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.aw-layout {
  display: grid;
  grid-template-columns: minmax(360px, 37%) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.aw-left {
  position: sticky;
  top: 20px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding-right: 4px;
}

.aw-right {
  min-height: 0;
}

.aw-step-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 11px 12px;
  border: 1.5px solid #d7c4a4;
  border-radius: 12px;
  background: #fff7ea;
  margin-bottom: 14px;
}

.aw-step-btn {
  border: 1.5px solid #bfa887;
  background: #f8efdf;
  color: #5c4a36;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.aw-step-btn.is-active {
  border-color: #2f2922;
  background: #2f2922;
  color: #f9f3e8;
}

.aw-step-btn:not(:disabled):hover {
  border-color: #2f2922;
  color: #2f2922;
}

.aw-step-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

@media (max-width: 1100px) {
  .aw-layout {
    grid-template-columns: 1fr;
  }

  .aw-left {
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}

@keyframes pulse {
  0%, 100% { opacity: .2; }
  50% { opacity: 1; }
}

@keyframes fi {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.fi {
  animation: fi .25s ease forwards;
}

.key-input {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important;
  letter-spacing: .03em;
}
