.practice {
  max-width: 920px;
  margin: 0 auto;
  padding: 24px 20px 32px;
}

.practice__header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.practice__logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
}

.practice__banner {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.22);
  font-size: 14px;
  line-height: 1.55;
  color: #cbd5e1;
}

.practice__banner strong {
  color: #86efac;
}

.practice__steps {
  margin: 0 0 20px;
  padding-left: 1.2rem;
  color: #94a3b8;
  font-size: 14px;
}

.practice__steps li {
  margin-bottom: 6px;
}

/* Fake Outlook compose — mirrors extension store demo */
.practice-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.practice-browser__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #202124;
  color: #e8eaed;
  font-size: 12px;
}

.practice-browser__dots {
  display: flex;
  gap: 6px;
}

.practice-browser__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5f6368;
}

.practice-browser__dots span:nth-child(1) { background: #ff5f57; }
.practice-browser__dots span:nth-child(2) { background: #febc2e; }
.practice-browser__dots span:nth-child(3) { background: #28c840; }

.practice-browser__url {
  flex: 1;
  margin-left: 4px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #303134;
  color: #bdc1c6;
  font-size: 12px;
}

.practice-browser__badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #86efac;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 999px;
  padding: 4px 10px;
}

.practice-compose {
  background: #fff;
  color: #111827;
}

.practice-compose__toolbar {
  display: flex;
  gap: 8px;
  padding: 12px 20px;
  border-bottom: 1px solid #e5e7eb;
  background: #fafafa;
}

.practice-compose__toolbar .btn-send {
  background: #0078d4;
  border: 1px solid #0078d4;
  color: #fff;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
  opacity: 0.55;
  cursor: not-allowed;
}

.practice-compose__toolbar .btn-discard {
  background: #fff;
  border: 1px solid #d1d5db;
  color: #374151;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
  opacity: 0.55;
  cursor: not-allowed;
}

.practice-compose__row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 24px;
  border-bottom: 1px solid #f3f4f6;
  font-size: 14px;
}

.practice-compose__label {
  width: 52px;
  color: #6b7280;
  flex-shrink: 0;
}

.practice-compose__value {
  flex: 1;
  min-width: 0;
  color: #111827;
  overflow-wrap: anywhere;
}

.practice-compose__editor {
  padding: 20px 24px 28px;
  min-height: 220px;
}

.practice__body {
  width: 100%;
  min-height: 180px;
  border: none;
  outline: none;
  font: 15px/1.65 "Segoe UI", system-ui, sans-serif;
  color: #111827;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.practice__body:focus-visible {
  outline: 3px solid #005ea8;
  outline-offset: 3px;
  border-radius: 4px;
}

.practice-frame--highlight-key .practice__body {
  background: linear-gradient(180deg, rgba(254, 243, 199, 0.35) 0%, transparent 40%);
}

.practice-hints-lab {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(212, 160, 23, 0.08);
  border: 1px solid rgba(212, 160, 23, 0.28);
}

.practice-hints-lab__label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
}

.practice-hints-lab__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.practice-hints-lab__btn {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.6);
  color: #cbd5e1;
  border-radius: 999px;
  padding: 8px 16px;
  font: 600 13px/1 system-ui, sans-serif;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, color 0.2s;
}

.practice-hints-lab__btn:hover {
  border-color: rgba(212, 160, 23, 0.5);
  color: #f8fafc;
}

.practice-hints-lab__btn--active {
  border-color: rgba(212, 160, 23, 0.65);
  color: #fde68a;
  box-shadow: 0 0 16px rgba(212, 160, 23, 0.25);
}

.practice-typing-zone {
  margin-top: 20px;
  padding: 16px 18px 20px;
  border-radius: 14px;
  border: 1px dashed rgba(0, 120, 212, 0.35);
  background: rgba(0, 120, 212, 0.06);
}

.practice-typing-zone__title {
  margin: 0 0 6px;
  font-size: 15px;
  color: #f1f5f9;
}

.practice-type-body {
  margin-top: 12px;
  min-height: 72px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff;
  color: #111827;
  border: 1px solid #e5e7eb;
}

.practice-type-body:empty::before {
  content: attr(data-placeholder);
  color: #9ca3af;
  pointer-events: none;
}

.practice__footer {
  margin-top: 24px;
  font-size: 13px;
  color: #64748b;
}

.practice__footer a {
  color: var(--accent);
}

@media (max-width: 560px) {
  .practice { padding: 18px; }
  .practice-browser__bar { gap: 7px; padding: 9px 10px; }
  .practice-browser__url { padding: 7px 10px; }
  .practice-browser__badge { padding-inline: 8px; }
  .practice-compose__row { padding-inline: 18px; }
  .practice-compose__editor { padding-inline: 18px; }
}
