/* ============================
   Market Survey Tool (MS)
   Mobile-first, primary: #5b6abf, accent: #7c3aed
============================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ms-primary: #5b6abf;
  --ms-primary-dark: #4a58a8;
  --ms-primary-light: #6c7bce;
  --ms-accent: #7c3aed;
  --ms-accent-dark: #6d28d9;
  --ms-bg: #f0f0f8;
  --ms-card: #ffffff;
  --ms-text: #1e1b3a;
  --ms-muted: #6b7280;
  --ms-border: #d1d5e8;
  --ms-success: #10b981;
  --ms-danger: #ef4444;
  --ms-warning: #f59e0b;
  --ms-radius: 12px;
  --ms-shadow: 0 2px 12px rgba(91,106,191,0.12);
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: var(--ms-bg);
  color: var(--ms-text);
  min-height: 100vh;
  padding-bottom: 100px;
}

/* ===== LOGIN OVERLAY ===== */
#ms-login-overlay {
  position: fixed; inset: 0;
  background: linear-gradient(135deg, var(--ms-primary) 0%, var(--ms-accent) 100%);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
}
#ms-login-overlay.hidden { display: none; }
.ms-login-box {
  background: #fff; border-radius: 16px; padding: 40px 32px;
  width: 320px; box-shadow: 0 12px 40px rgba(0,0,0,.25); text-align: center;
}
.ms-login-box h2 { color: var(--ms-primary); margin-bottom: 8px; font-size: 20px; }
.ms-login-box p { color: var(--ms-muted); font-size: 13px; margin-bottom: 24px; }
.ms-login-box input {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--ms-border);
  border-radius: 8px; font-size: 16px; margin-bottom: 12px;
  outline: none; letter-spacing: 2px; text-align: center;
  transition: border-color .2s;
}
.ms-login-box input:focus { border-color: var(--ms-primary); box-shadow: 0 0 0 3px rgba(91,106,191,.15); }
.ms-login-box button {
  width: 100%; padding: 12px;
  background: linear-gradient(135deg, var(--ms-primary), var(--ms-accent));
  color: #fff; border: none; border-radius: 8px; font-size: 15px;
  cursor: pointer; font-weight: 600; transition: opacity .2s;
}
.ms-login-box button:hover { opacity: 0.92; }
.ms-login-error { color: var(--ms-danger); font-size: 13px; margin-top: 8px; min-height: 18px; }

/* ===== HEADER ===== */
.ms-header {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(135deg, var(--ms-primary) 0%, var(--ms-accent) 100%);
  color: #fff; padding: 0 16px; height: 56px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 12px rgba(91,106,191,.35);
}
.ms-header-left { display: flex; align-items: center; gap: 10px; }
.ms-header-back {
  background: rgba(255,255,255,.18); border: none; color: #fff;
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
  font-size: 18px; display: flex; align-items: center; justify-content: center;
  transition: background .2s; text-decoration: none; flex-shrink: 0;
}
.ms-header-back:hover { background: rgba(255,255,255,.30); }
.ms-header-title { font-size: 17px; font-weight: 700; }
.ms-header-actions { display: flex; gap: 8px; align-items: center; }
.ms-header-btn {
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35);
  color: #fff; padding: 6px 12px; border-radius: 20px; cursor: pointer;
  font-size: 13px; transition: background .2s; white-space: nowrap;
}
.ms-header-btn:hover { background: rgba(255,255,255,.30); }

/* ===== TOAST ===== */
.ms-toast {
  position: fixed; bottom: 110px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: rgba(30,27,58,.88); color: #fff; padding: 10px 22px;
  border-radius: 24px; font-size: 14px; opacity: 0;
  transition: opacity .3s, transform .3s; pointer-events: none;
  z-index: 9000; white-space: nowrap; max-width: 90vw; text-align: center;
}
.ms-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== DRAFT BANNER ===== */
.ms-draft-banner {
  background: linear-gradient(135deg, #eef0ff, #f3e8ff);
  border-bottom: 1px solid rgba(91,106,191,.2);
  padding: 10px 16px; display: flex; align-items: center;
  justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.ms-draft-banner.hidden { display: none; }
.ms-draft-banner-msg { font-size: 13px; color: var(--ms-primary); font-weight: 500; flex: 1; }
.ms-draft-banner-btns { display: flex; gap: 8px; }
.ms-draft-btn-restore {
  background: var(--ms-primary); color: #fff; border: none;
  padding: 6px 14px; border-radius: 20px; font-size: 12px; cursor: pointer;
}
.ms-draft-btn-ignore {
  background: transparent; color: var(--ms-muted); border: 1px solid var(--ms-border);
  padding: 6px 14px; border-radius: 20px; font-size: 12px; cursor: pointer;
}

/* ===== CARDS ===== */
.ms-card {
  background: var(--ms-card); border-radius: var(--ms-radius);
  box-shadow: var(--ms-shadow); margin: 12px 12px 0;
  padding: 16px;
}
.ms-card-title {
  font-size: 15px; font-weight: 700; color: var(--ms-primary);
  margin-bottom: 14px; display: flex; align-items: center; gap: 6px;
}
.ms-card-title .icon { font-size: 18px; }

/* ===== FORM ELEMENTS ===== */
.ms-form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px;
}
.ms-form-group { margin-bottom: 12px; }
.ms-form-group:last-child { margin-bottom: 0; }
.ms-label {
  display: block; font-size: 12px; font-weight: 600; color: var(--ms-muted);
  margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.5px;
}
.ms-input, .ms-select, .ms-textarea {
  width: 100%; padding: 10px 12px; border: 1.5px solid var(--ms-border);
  border-radius: 8px; font-size: 15px; font-family: inherit;
  background: #fff; color: var(--ms-text); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.ms-input:focus, .ms-select:focus, .ms-textarea:focus {
  border-color: var(--ms-primary);
  box-shadow: 0 0 0 3px rgba(91,106,191,.15);
}
.ms-textarea { resize: vertical; min-height: 72px; line-height: 1.5; }
.ms-textarea.large { min-height: 100px; }

/* Input with voice button */
.ms-input-voice-row {
  display: flex; gap: 8px; align-items: flex-start;
}
.ms-input-voice-row .ms-input,
.ms-input-voice-row .ms-textarea {
  flex: 1;
}
.ms-voice-btn {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ms-primary), var(--ms-accent));
  border: none; color: #fff; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(91,106,191,.3);
  margin-top: 1px;
}
.ms-voice-btn:hover { transform: scale(1.05); box-shadow: 0 4px 12px rgba(91,106,191,.4); }
.ms-voice-btn.recording {
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
  animation: ms-pulse 1s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(239,68,68,.4);
}
@keyframes ms-pulse {
  0% { box-shadow: 0 0 0 0 rgba(239,68,68,.5); }
  70% { box-shadow: 0 0 0 10px rgba(239,68,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}

/* Number input with % or unit */
.ms-num-group { position: relative; }
.ms-num-group .ms-input { padding-right: 36px; }
.ms-num-suffix {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  font-size: 13px; color: var(--ms-muted); pointer-events: none;
}

/* PB PI hint */
.ms-field-hint {
  font-size: 11px; color: var(--ms-muted); margin-top: 3px;
  line-height: 1.4;
}

/* ===== SECTION COLLAPSIBLE ===== */
.ms-section {
  border: 1.5px solid var(--ms-border); border-radius: 10px;
  margin: 12px 12px 0; overflow: hidden;
  transition: box-shadow .2s;
}
.ms-section:last-child { margin-bottom: 0; }
.ms-section-header {
  background: linear-gradient(135deg, rgba(91,106,191,.08), rgba(124,58,237,.06));
  padding: 13px 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  user-select: none;
  transition: background .2s;
}
.ms-section-header:hover {
  background: linear-gradient(135deg, rgba(91,106,191,.14), rgba(124,58,237,.10));
}
.ms-section-header-left { display: flex; align-items: center; gap: 8px; }
.ms-section-emoji { font-size: 20px; }
.ms-section-name { font-size: 15px; font-weight: 700; color: var(--ms-primary); }
.ms-section-toggle {
  font-size: 12px; color: var(--ms-muted);
  transition: transform .25s;
}
.ms-section.collapsed .ms-section-toggle { transform: rotate(-90deg); }
.ms-section-body {
  padding: 14px 14px 16px;
  transition: max-height .3s ease, padding .3s ease;
}
.ms-section.collapsed .ms-section-body {
  display: none;
}

/* Grid for SKU / PB fields */
.ms-fields-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 12px;
}
@media (max-width: 400px) {
  .ms-fields-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== STORE INTRO ===== */
.ms-intro-actions {
  display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap;
}
.ms-btn {
  padding: 9px 18px; border-radius: 8px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: opacity .2s, transform .1s; border: none;
  display: inline-flex; align-items: center; gap: 5px;
}
.ms-btn:active { transform: scale(0.97); }
.ms-btn-primary {
  background: linear-gradient(135deg, var(--ms-primary), var(--ms-accent));
  color: #fff; box-shadow: 0 2px 8px rgba(91,106,191,.3);
}
.ms-btn-primary:hover { opacity: 0.92; }
.ms-btn-ghost {
  background: transparent; color: var(--ms-primary);
  border: 1.5px solid var(--ms-primary); 
}
.ms-btn-ghost:hover { background: rgba(91,106,191,.08); }
.ms-btn-danger {
  background: transparent; color: var(--ms-danger);
  border: 1.5px solid var(--ms-danger);
}
.ms-btn-sm { padding: 7px 14px; font-size: 13px; }
.ms-btn-lg {
  width: 100%; padding: 13px 20px; font-size: 15px;
  background: linear-gradient(135deg, rgba(91,106,191,.12), rgba(124,58,237,.10));
  color: var(--ms-accent); border: 1.5px dashed var(--ms-accent);
  border-radius: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.ms-btn-lg:hover { background: linear-gradient(135deg, rgba(91,106,191,.18), rgba(124,58,237,.14)); }
.ms-btn-lg.recording {
  background: linear-gradient(135deg, rgba(239,68,68,.1), rgba(220,38,38,.1)) !important;
  border-color: #ef4444 !important; color: #ef4444 !important;
  animation: ms-pulse 1s ease-in-out infinite;
}

/* ===== IMAGE UPLOAD ===== */
.ms-img-section { margin-top: 12px; }
.ms-img-label { font-size: 12px; font-weight: 600; color: var(--ms-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.ms-img-grid {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px;
}
.ms-img-thumb {
  width: 72px; height: 72px; border-radius: 8px; object-fit: cover;
  border: 1.5px solid var(--ms-border);
  position: relative; display: inline-block;
}
.ms-img-thumb-wrap {
  position: relative; display: inline-block;
}
.ms-img-thumb-wrap img {
  width: 72px; height: 72px; border-radius: 8px; object-fit: cover;
  border: 1.5px solid var(--ms-border); display: block;
}
.ms-img-del-btn {
  position: absolute; top: -6px; right: -6px; width: 20px; height: 20px;
  background: var(--ms-danger); color: #fff; border: none; border-radius: 50%;
  font-size: 11px; cursor: pointer; display: flex; align-items: center;
  justify-content: center; line-height: 1; font-weight: 700;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
}
.ms-img-upload-btn {
  width: 72px; height: 72px; border-radius: 8px;
  border: 1.5px dashed var(--ms-primary); background: rgba(91,106,191,.06);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer; font-size: 22px; color: var(--ms-primary);
  transition: background .2s;
}
.ms-img-upload-btn:hover { background: rgba(91,106,191,.12); }
.ms-img-upload-btn span { font-size: 10px; margin-top: 2px; color: var(--ms-muted); }
.ms-img-input { display: none; }

/* ===== BOTTOM ACTION BAR ===== */
.ms-bottom-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: #fff; border-top: 1px solid var(--ms-border);
  box-shadow: 0 -4px 16px rgba(91,106,191,.12);
  padding: 10px 12px env(safe-area-inset-bottom, 0px);
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
}
.ms-bottom-btn {
  padding: 10px 4px; border-radius: 10px; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: opacity .2s, transform .1s;
  border: none; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  line-height: 1.2;
}
.ms-bottom-btn:active { transform: scale(0.95); }
.ms-bottom-btn .ms-bb-icon { font-size: 18px; }
.ms-bottom-btn-save {
  background: linear-gradient(135deg, var(--ms-primary), var(--ms-accent));
  color: #fff; box-shadow: 0 2px 8px rgba(91,106,191,.3);
}
.ms-bottom-btn-history { background: rgba(91,106,191,.1); color: var(--ms-primary); }
.ms-bottom-btn-report { background: rgba(124,58,237,.1); color: var(--ms-accent); }
.ms-bottom-btn:hover { opacity: 0.9; }

/* ===== PAGES ===== */
.ms-page { display: none; }
.ms-page.active { display: block; }

/* ===== HISTORY PAGE ===== */
.ms-history-list { padding: 12px; }
.ms-history-item {
  background: var(--ms-card); border-radius: var(--ms-radius);
  box-shadow: var(--ms-shadow); margin-bottom: 10px; padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
  cursor: pointer; transition: box-shadow .2s, transform .15s;
  border-left: 4px solid var(--ms-primary);
}
.ms-history-item:hover { box-shadow: 0 4px 20px rgba(91,106,191,.2); transform: translateY(-1px); }
.ms-history-item-check {
  flex-shrink: 0; width: 22px; height: 22px;
  accent-color: var(--ms-accent); cursor: pointer;
}
.ms-history-item-info { flex: 1; min-width: 0; }
.ms-history-item-title {
  font-size: 15px; font-weight: 700; color: var(--ms-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ms-history-item-meta { font-size: 12px; color: var(--ms-muted); margin-top: 3px; }
.ms-history-item-del {
  flex-shrink: 0; background: transparent; border: 1.5px solid var(--ms-border);
  color: var(--ms-danger); padding: 5px 10px; border-radius: 20px;
  font-size: 12px; cursor: pointer; transition: background .2s;
}
.ms-history-item-del:hover { background: rgba(239,68,68,.08); }
.ms-history-toolbar {
  padding: 10px 12px; display: flex; align-items: center; gap: 10px;
  background: #fff; border-bottom: 1px solid var(--ms-border);
  position: sticky; top: 56px; z-index: 50;
  flex-wrap: wrap;
}
.ms-history-toolbar label {
  display: flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer;
}
.ms-history-empty {
  text-align: center; padding: 60px 20px; color: var(--ms-muted);
}
.ms-history-empty .empty-icon { font-size: 48px; margin-bottom: 12px; }

/* ===== REPORT PAGE ===== */
.ms-report-page { padding: 12px; }
.ms-report-select-area {
  background: var(--ms-card); border-radius: var(--ms-radius);
  box-shadow: var(--ms-shadow); padding: 16px; margin-bottom: 12px;
}
.ms-report-select-area .ms-label { margin-bottom: 10px; font-size: 13px; }
.ms-report-check-list { max-height: 250px; overflow-y: auto; }
.ms-report-check-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid var(--ms-border);
}
.ms-report-check-item:last-child { border-bottom: none; }
.ms-report-check-item input {
  width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--ms-accent);
}
.ms-report-check-item label { font-size: 14px; color: var(--ms-text); cursor: pointer; flex: 1; }
.ms-report-result {
  background: var(--ms-card); border-radius: var(--ms-radius);
  box-shadow: var(--ms-shadow); padding: 16px; margin-bottom: 12px;
}
.ms-report-content {
  font-size: 14px; line-height: 1.7; color: var(--ms-text);
  white-space: pre-wrap; word-break: break-word;
}
.ms-report-content h1, .ms-report-content h2, .ms-report-content h3 {
  color: var(--ms-primary); margin: 12px 0 6px;
}

/* ===== DETAIL MODAL ===== */
.ms-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
  z-index: 500; display: flex; align-items: flex-end;
  justify-content: center;
}
.ms-modal-overlay.hidden { display: none; }
.ms-modal {
  background: #fff; border-radius: 18px 18px 0 0;
  width: 100%; max-width: 640px;
  max-height: 90vh; overflow-y: auto;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.ms-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--ms-border);
  position: sticky; top: 0; background: #fff; z-index: 10;
  border-radius: 18px 18px 0 0;
}
.ms-modal-title { font-size: 16px; font-weight: 700; color: var(--ms-primary); }
.ms-modal-close {
  width: 30px; height: 30px; border-radius: 50%; border: none;
  background: var(--ms-bg); color: var(--ms-muted); font-size: 18px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.ms-modal-body { padding: 16px 20px; }

/* Detail view */
.ms-detail-section { margin-bottom: 16px; }
.ms-detail-section-title {
  font-size: 13px; font-weight: 700; color: var(--ms-accent);
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
.ms-detail-field { margin-bottom: 8px; }
.ms-detail-field-label { font-size: 11px; color: var(--ms-muted); font-weight: 600; margin-bottom: 2px; }
.ms-detail-field-value { font-size: 14px; color: var(--ms-text); line-height: 1.5; }
.ms-detail-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
.ms-detail-stat {
  background: rgba(91,106,191,.07); border-radius: 8px; padding: 8px 10px; text-align: center;
}
.ms-detail-stat-value { font-size: 18px; font-weight: 700; color: var(--ms-primary); }
.ms-detail-stat-label { font-size: 11px; color: var(--ms-muted); margin-top: 2px; }

/* Detail images */
.ms-detail-imgs { display: flex; flex-wrap: wrap; gap: 6px; }
.ms-detail-img {
  width: 80px; height: 80px; border-radius: 8px; object-fit: cover;
  border: 1px solid var(--ms-border); cursor: pointer;
}

/* Loading spinner */
.ms-loading {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px 20px; color: var(--ms-muted); gap: 12px;
}
.ms-spinner {
  width: 36px; height: 36px; border: 3px solid var(--ms-border);
  border-top-color: var(--ms-primary); border-radius: 50%;
  animation: ms-spin .8s linear infinite;
}
@keyframes ms-spin { to { transform: rotate(360deg); } }

/* Lightbox */
#ms-lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.88);
  z-index: 9999; display: none; align-items: center; justify-content: center;
}
#ms-lightbox.active { display: flex; }
#ms-lightbox img { max-width: 95vw; max-height: 90vh; border-radius: 8px; object-fit: contain; }
#ms-lightbox-close {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,.15); border: none; color: #fff;
  width: 36px; height: 36px; border-radius: 50%; font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 400px) {
  .ms-form-row { grid-template-columns: 1fr; }
  .ms-bottom-bar { padding: 8px 8px env(safe-area-inset-bottom, 0px); gap: 6px; }
  .ms-bottom-btn { font-size: 12px; }
  .ms-bottom-btn .ms-bb-icon { font-size: 16px; }
}

@media (min-width: 640px) {
  .ms-card { margin: 16px auto; max-width: 680px; }
  .ms-section { margin: 12px auto; max-width: 680px; }
  .ms-history-list { max-width: 680px; margin: 0 auto; }
  .ms-report-page { max-width: 680px; margin: 0 auto; }
  .ms-history-toolbar { max-width: 680px; margin: 0 auto; }
}

/* ===== INTRO TEXTAREA ===== */
.ms-intro-textarea {
  width: 100%; min-height: 110px; padding: 10px 12px;
  border: 1.5px solid var(--ms-border); border-radius: 8px;
  font-size: 14px; font-family: inherit; resize: vertical;
  background: #fff; color: var(--ms-text); outline: none;
  line-height: 1.6; transition: border-color .2s;
}
.ms-intro-textarea:focus { border-color: var(--ms-primary); box-shadow: 0 0 0 3px rgba(91,106,191,.15); }

/* ===== OVERALL SECTION ===== */
.ms-overall-textarea {
  width: 100%; min-height: 120px; padding: 10px 12px;
  border: 1.5px solid var(--ms-border); border-radius: 8px;
  font-size: 15px; font-family: inherit; resize: vertical;
  background: #fff; color: var(--ms-text); outline: none;
  line-height: 1.6; transition: border-color .2s;
}
.ms-overall-textarea:focus { border-color: var(--ms-primary); box-shadow: 0 0 0 3px rgba(91,106,191,.15); }

/* ===== REPORT MARKDOWN ===== */
.ms-md h1 { font-size: 18px; font-weight: 700; color: var(--ms-primary); margin: 14px 0 6px; }
.ms-md h2 { font-size: 16px; font-weight: 700; color: var(--ms-primary); margin: 12px 0 5px; }
.ms-md h3 { font-size: 14px; font-weight: 700; color: var(--ms-accent); margin: 10px 0 4px; }
.ms-md p { margin: 5px 0; font-size: 14px; line-height: 1.7; }
.ms-md ul, .ms-md ol { padding-left: 20px; margin: 5px 0; }
.ms-md li { font-size: 14px; line-height: 1.6; margin-bottom: 3px; }
.ms-md hr { border: none; border-top: 1px solid var(--ms-border); margin: 12px 0; }
.ms-md strong { color: var(--ms-primary); font-weight: 700; }
.ms-md code { background: rgba(91,106,191,.1); padding: 1px 5px; border-radius: 4px; font-size: 13px; }
