/* Business application — plate + ladder from sample.html (Figma source) */
.biz-app {
  --biz-teal: #2a9d8f;
  --biz-teal-deep: #1a4a48;
  --biz-teal-dark: #1a6d62;
  --biz-mint: #cff0eb;
  --biz-mint-border: #7eccc4;
  --biz-light-teal: #e4f8f5;
  --biz-page: #f0faf9;
  --biz-line: #c8e8e4;
  --biz-muted: #6a9290;
  --biz-ink: #1a3a38;
  --biz-warm-bg: #fff8ec;
  --biz-warm-line: #f0dcae;
  --biz-serif: 'Cormorant Garamond', Georgia, serif;
  --biz-sans: 'Jost', system-ui, -apple-system, sans-serif;
}

.biz-app {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 0 48px;
  font-family: var(--biz-sans);
  color: var(--biz-ink);
}

.biz-app *:focus-visible {
  outline: 2px solid var(--biz-teal);
  outline-offset: 2px;
  border-radius: 6px;
}

.biz-plate {
  background: var(--biz-page);
  border: 1px solid var(--biz-line);
  border-radius: 14px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(26, 74, 72, 0.10);
  overflow: hidden;
}

.biz-plate-nav {
  background: #fff;
  border-bottom: 1px solid var(--biz-line);
  padding: 13px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.biz-logo {
  font-family: var(--biz-serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #16302e;
  text-transform: uppercase;
}

.biz-logo em {
  color: var(--biz-teal);
  font-style: normal;
}

.biz-logo b {
  font-family: var(--biz-sans);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--biz-muted);
  margin-left: 9px;
}

.biz-pill {
  background: var(--biz-mint);
  border: 1px solid var(--biz-mint-border);
  border-radius: 20px;
  padding: 4px 13px;
  font-size: 10.5px;
  color: var(--biz-teal-dark);
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.biz-plate-body {
  padding: 24px 26px 26px;
}

.biz-eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--biz-teal);
  font-weight: 600;
}

.biz-plate-body h2 {
  font-family: var(--biz-serif);
  font-size: clamp(24px, 4vw, 29px);
  font-weight: 600;
  color: var(--biz-teal-deep);
  margin: 2px 0 8px;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.biz-lead {
  font-size: 12.5px;
  color: #4a6764;
  line-height: 1.7;
  margin: 0;
  max-width: 52ch;
}

.biz-steps {
  display: flex;
  gap: 5px;
  margin: 0 0 20px;
}

.biz-steps i {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: var(--biz-line);
  display: block;
}

.biz-steps i.on {
  background: var(--biz-teal);
}

.biz-fld {
  margin-bottom: 14px;
}

.biz-fld label,
.biz-flab {
  display: block;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--biz-muted);
  font-weight: 500;
  margin-bottom: 6px;
}

.biz-fld .req {
  color: #e05555;
  margin-left: 2px;
}

.biz-fld input[type='text'],
.biz-fld input[type='url'],
.biz-fld input[type='email'],
.biz-fld input[type='tel'],
.biz-fld input[type='password'],
.biz-fld select,
.biz-fld textarea {
  width: 100%;
  border: 1px solid var(--biz-line);
  background: #fff;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 12px;
  font-family: inherit;
  color: var(--biz-ink);
  box-shadow: 0 1px 2px rgba(26, 74, 72, 0.04);
}

.biz-fld textarea {
  resize: vertical;
  line-height: 1.6;
  min-height: 88px;
}

.biz-fld input:focus,
.biz-fld select:focus,
.biz-fld textarea:focus {
  outline: none;
  border-color: var(--biz-mint-border);
}

.biz-fld .hint {
  font-size: 10px;
  color: var(--biz-muted);
  margin-top: 5px;
  line-height: 1.5;
}

.biz-cnt {
  float: right;
  font-size: 9px;
  color: var(--biz-muted);
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 400;
}

.biz-r2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.biz-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.biz-chip {
  padding: 5px 11px;
  border: 1px solid var(--biz-line);
  border-radius: 20px;
  background: #fff;
  font-size: 11px;
  color: #4a6764;
  user-select: none;
  cursor: pointer;
  font-family: inherit;
}

.biz-chip:hover {
  border-color: var(--biz-mint-border);
  background: #f9fdfc;
}

.biz-chip.on {
  background: var(--biz-light-teal);
  border-color: var(--biz-mint-border);
  color: var(--biz-teal-dark);
  font-weight: 500;
}

.biz-note {
  background: var(--biz-light-teal);
  border: 1px solid var(--biz-mint-border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 10.5px;
  color: #3b6663;
  line-height: 1.6;
}

.biz-note.warm {
  background: var(--biz-warm-bg);
  border-color: var(--biz-warm-line);
  color: #8a6420;
}

.biz-note b {
  color: var(--biz-teal-deep);
  font-weight: 600;
}

.biz-note.warm b {
  color: #7a5310;
}

.biz-ack {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 11px 13px;
  border-radius: 11px;
  background: var(--biz-page);
  border: 1px solid var(--biz-line);
  font-size: 10.5px;
  color: #4a6764;
  line-height: 1.55;
  margin: 4px 0 0;
}

.biz-ack input {
  margin-top: 2px;
  accent-color: var(--biz-teal);
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.biz-frow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.biz-frow .sp {
  flex: 1;
}

.biz-btn {
  border: none;
  border-radius: 9px;
  padding: 10px 16px;
  font-size: 11.5px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.biz-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.biz-btn-pri {
  background: var(--biz-teal);
  color: #fff;
}

.biz-btn-pri:hover:not(:disabled) {
  background: var(--biz-teal-dark);
}

.biz-btn-ghost {
  background: transparent;
  border: 1px solid var(--biz-line);
  color: var(--biz-muted);
}

.biz-btn-ghost:hover:not(:disabled) {
  background: var(--biz-page);
}

.biz-btn-out {
  background: #fff;
  border: 1px solid var(--biz-mint-border);
  color: var(--biz-teal-dark);
}

.biz-btn-out:hover:not(:disabled) {
  background: var(--biz-light-teal);
}

.biz-plan {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.biz-plan-card {
  text-align: left;
  width: 100%;
  border: 1px solid var(--biz-line);
  border-radius: 12px;
  background: #fff;
  padding: 14px 15px;
  cursor: pointer;
  font-family: inherit;
  color: var(--biz-ink);
  transition: border-color 0.15s, background 0.15s;
}

.biz-plan-card:hover {
  border-color: var(--biz-mint-border);
  background: #f9fdfc;
}

.biz-plan-card.on {
  border-color: var(--biz-mint-border);
  background: var(--biz-light-teal);
}

.biz-plan-card .pt {
  font-size: 13px;
  font-weight: 500;
  color: var(--biz-teal-deep);
}

.biz-plan-card .pm {
  font-size: 10.5px;
  color: var(--biz-muted);
  margin-top: 4px;
  line-height: 1.5;
}

.biz-promo-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: end;
}

.biz-promo-row .biz-fld {
  margin-bottom: 0;
}

.biz-alert {
  margin: 0 0 16px;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid #f2d4d3;
  background: #fdeeee;
  color: #8d3b38;
  font-size: 11.5px;
  line-height: 1.55;
}

.biz-alert.ok {
  border-color: var(--biz-mint-border);
  background: var(--biz-light-teal);
  color: #3b6663;
}

.biz-ladder {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  position: relative;
}

.biz-ladder:before {
  content: '';
  position: absolute;
  left: 10px;
  top: 12px;
  bottom: 16px;
  width: 1px;
  background: var(--biz-line);
}

.biz-ladder li {
  position: relative;
  padding: 0 0 18px 36px;
}

.biz-ladder li:last-child {
  padding-bottom: 0;
}

.biz-ldot {
  position: absolute;
  left: 0;
  top: 1px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  border: 1px solid var(--biz-line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--biz-muted);
  font-size: 9.5px;
}

.biz-ldot svg {
  width: 10px;
  height: 10px;
}

.biz-ladder li.done .biz-ldot {
  background: var(--biz-teal);
  border-color: var(--biz-teal);
  color: #fff;
}

.biz-ladder li.now .biz-ldot {
  background: var(--biz-warm-bg);
  border-color: var(--biz-warm-line);
  color: #b9791a;
  box-shadow: 0 0 0 4px rgba(232, 160, 32, 0.10);
}

.biz-lt {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--biz-teal-deep);
}

.biz-ladder li.todo .biz-lt {
  color: var(--biz-muted);
  font-weight: 400;
}

.biz-ld {
  font-size: 10.5px;
  color: var(--biz-muted);
  margin-top: 2px;
  line-height: 1.55;
  max-width: 52ch;
}

.biz-lw {
  font-size: 9.5px;
  color: #9bb5b2;
  letter-spacing: 0.04em;
  margin-top: 3px;
}

.biz-ref {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: #4a6764;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--biz-line);
}

.biz-ref b {
  font-weight: 500;
  color: var(--biz-teal-deep);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.biz-panel {
  display: none;
}

.biz-panel.on {
  display: block;
  animation: bizFadeUp 0.35s ease both;
}

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

.biz-toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%) translateY(16px);
  background: var(--biz-teal-deep);
  color: #fff;
  font-size: 12px;
  padding: 11px 19px;
  border-radius: 11px;
  box-shadow: 0 12px 30px rgba(26, 74, 72, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: all 0.26s;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 380px;
}

.biz-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.biz-toast svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

@media (max-width: 560px) {
  .biz-plate-body {
    padding: 20px 16px 22px;
  }

  .biz-r2,
  .biz-promo-row {
    grid-template-columns: 1fr;
  }

  .biz-plate-nav {
    padding: 12px 16px;
  }

  .biz-logo b {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .biz-panel.on,
  .biz-toast {
    animation: none !important;
    transition: none !important;
  }
}
