/* ==========================================================================
   KnowAI —— 新建监控报告页（new-report.css）
   --------------------------------------------------------------------------
   色彩体系沿用 wb 青绿皮肤：
     品牌青绿 #28b894 / #00c29a / 文字绿 #007a60
     声量词 = 青绿（曝光）   声誉词 = 电蓝 #4084f1（口碑）
     保真度词 = 琥珀 #d5862e（信息）  官方信源 = 青绿   合作信源 = 蓝（#107）
     国内平台 = 青绿   国外平台 = 紫蓝 #6351fb
   依赖：style.css（基础）→ layout-fix.css（布局）→ interactions.css（释义浮层）
   ========================================================================== */

:root {
  --nr-green: #28b894;
  --nr-green-2: #00c29a;
  --nr-green-ink: #007a60;
  --nr-green-soft: #f2fcfa;
  --nr-green-line: #ddf0ec;
  --nr-blue: #4084f1;
  --nr-blue-ink: #1f5fc4;
  --nr-blue-soft: #f1f6fe;
  --nr-blue-line: #d8e6fb;
  --nr-amber: #d5862e;
  --nr-amber-ink: #a8641a;
  --nr-amber-soft: #fdf6ec;
  --nr-amber-line: #f0e0c4;
  --nr-violet: #6351fb;
  --nr-violet-soft: #f4f2ff;
  --nr-violet-line: #e0dbfd;
  --nr-red: #d53f3f;
  --nr-red-soft: #fdf1f1;
  --nr-ink: #1a1a1a;
  --nr-ink-2: #4a5450;
  --nr-ink-3: #7c8783;
  --nr-line: #ebebeb;
  --nr-bg: #f7f8f9;
  --nr-ease: cubic-bezier(.22, .68, .32, 1);
}

/* 页面底：纯白 + 顶部淡青光晕，与主站一致 */
.nr-shell {
  background:
    radial-gradient(1100px 420px at 12% -8%, rgba(40, 184, 148, .10), transparent 62%),
    radial-gradient(900px 380px at 92% -4%, rgba(64, 132, 241, .07), transparent 60%),
    var(--nr-bg) !important;
}

.nr-page {
  padding-bottom: 8px;
}

/* 本页无筛选卡，壳只有 topbar，首屏留白收紧 */
.nr-shell .dashboard-content main {
  padding-top: calc(var(--shell-offset, 96px) + 4px) !important;
}

/* ==========================================================================
   1. 页头 + 步骤条
   ========================================================================== */
.nr-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.nr-hero-copy h1 {
  margin: 6px 0 8px;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--nr-ink);
}

.nr-hero-copy p {
  margin: 0;
  max-width: 620px;
  color: var(--nr-ink-3);
  font-size: 13px;
  line-height: 1.7;
}

.nr-steps {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 8px 10px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--nr-line);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
}

.nr-steps li {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px 5px 6px;
  border-radius: 999px;
  color: var(--nr-ink-3);
  font-size: 12.5px;
  white-space: nowrap;
  transition: background .2s var(--nr-ease), color .2s var(--nr-ease);
}

.nr-steps li i {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #f1f2f4;
  color: var(--nr-ink-3);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  transition: background .2s var(--nr-ease), color .2s var(--nr-ease);
}

.nr-steps li.is-done {
  color: var(--nr-green-ink);
  background: var(--nr-green-soft);
  font-weight: 600;
}

.nr-steps li.is-done i {
  background: linear-gradient(135deg, var(--nr-green), var(--nr-green-2));
  color: #fff;
}

/* ==========================================================================
   2. 主体两栏
   ========================================================================== */
.nr-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(340px, 1fr);
  gap: 18px;
  align-items: start;
}

.nr-col-main,
.nr-col-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

/* 右栏吸顶，长表单滚动时平台选择始终可见 */
.nr-col-side {
  position: sticky;
  top: calc(var(--shell-offset, 96px) + 10px);
}

.nr-card {
  padding: 22px 24px 24px;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.nr-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--nr-line);
}

.nr-card-head.compact {
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.nr-card-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.nr-step-badge {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-top: 1px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--nr-green), var(--nr-green-2));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 6px 14px rgba(40, 184, 148, .28);
}

.nr-card-title h2 {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 3px;
  font-size: 17px;
  line-height: 1.35;
  color: var(--nr-ink);
}

.nr-card-title small {
  display: block;
  color: var(--nr-ink-3);
  font-size: 12px;
  line-height: 1.5;
}

.nr-card-state {
  flex: 0 0 auto;
  padding: 4px 11px;
  border-radius: 999px;
  background: #f1f2f4;
  color: var(--nr-ink-3);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s var(--nr-ease), color .2s var(--nr-ease);
}

.nr-card-state.is-done {
  background: var(--nr-green-soft);
  color: var(--nr-green-ink);
  box-shadow: inset 0 0 0 1px rgba(40, 184, 148, .22);
}

.nr-card-state.is-warn {
  background: var(--nr-red-soft);
  color: var(--nr-red);
  box-shadow: inset 0 0 0 1px rgba(213, 63, 63, .2);
}

/* ==========================================================================
   3. 表单基础件
   ========================================================================== */
.nr-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.nr-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.nr-label,
.nr-run-label {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--nr-ink-2);
  font-size: 12.5px;
  font-weight: 600;
}

.nr-req {
  color: var(--nr-red);
  font-style: normal;
  font-weight: 700;
}

/* 圆形问号释义锚点 */
.nr-help {
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #e8eeec;
  color: var(--nr-ink-3);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  cursor: help;
  transition: background .18s var(--nr-ease), color .18s var(--nr-ease);
}

.nr-help:hover,
.nr-help:focus-visible {
  background: var(--nr-green);
  color: #fff;
}

.nr-field input[type="text"],
.nr-field input[type="url"],
.nr-field select,
.nr-tag-input,
.nr-link-input,
.nr-mini-input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 10px 13px;
  border: 1px solid var(--nr-line);
  border-radius: 11px;
  background: #fcfdfd;
  color: var(--nr-ink);
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color .18s var(--nr-ease), box-shadow .18s var(--nr-ease), background .18s var(--nr-ease);
}

.nr-field select {
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--nr-ink-3) 50%),
    linear-gradient(135deg, var(--nr-ink-3) 50%, transparent 50%);
  background-position: calc(100% - 17px) 18px, calc(100% - 12px) 18px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 32px;
}

.nr-field input:focus,
.nr-field select:focus,
.nr-tagbox:focus-within,
.nr-link-input:focus,
.nr-mini-input:focus {
  border-color: var(--nr-green);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(40, 184, 148, .13);
}

.nr-field input::placeholder,
.nr-tag-input::placeholder,
.nr-link-input::placeholder,
.nr-mini-input::placeholder {
  color: #b3bcb8;
}

.nr-hint {
  color: var(--nr-ink-3);
  font-size: 11.5px;
  line-height: 1.5;
}

.nr-err {
  display: none;
  color: var(--nr-red);
  font-size: 11.5px;
  line-height: 1.5;
}

.nr-err.is-on {
  display: block;
}

.nr-field.is-invalid input,
.nr-field.is-invalid .nr-tagbox {
  border-color: var(--nr-red);
  background: var(--nr-red-soft);
}

/* --- 标签输入框（品牌 / 竞品 / 核心价值词） --- */
.nr-tagbox {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  box-sizing: border-box;
  min-height: 42px;
  padding: 6px 8px;
  border: 1px solid var(--nr-line);
  border-radius: 11px;
  background: #fcfdfd;
  transition: border-color .18s var(--nr-ease), box-shadow .18s var(--nr-ease), background .18s var(--nr-ease);
}

.nr-tagbox .nr-tag-input {
  flex: 1 1 130px;
  width: auto;
  min-width: 110px;
  padding: 4px 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  box-shadow: none !important;
}

.nr-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  padding: 4px 6px 4px 10px;
  border-radius: 8px;
  background: var(--nr-green-soft);
  color: var(--nr-green-ink);
  font-size: 12px;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(40, 184, 148, .2);
}

.nr-tag span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nr-tag button {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 122, 96, .12);
  color: inherit;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  transition: background .16s var(--nr-ease), color .16s var(--nr-ease);
}

.nr-tag button:hover {
  background: var(--nr-red);
  color: #fff;
}

.nr-tag.is-blue {
  background: var(--nr-blue-soft);
  color: var(--nr-blue-ink);
  box-shadow: inset 0 0 0 1px rgba(64, 132, 241, .2);
}

.nr-tag.is-amber {
  background: var(--nr-amber-soft);
  color: var(--nr-amber-ink);
  box-shadow: inset 0 0 0 1px rgba(213, 134, 46, .22);
}

.nr-tag.is-gray {
  background: #f4f5f6;
  color: var(--nr-ink-2);
  box-shadow: inset 0 0 0 1px #e6e8e9;
}

.nr-suggest-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nr-spark-btn {
  padding: 5px 12px;
  border: 1px solid var(--nr-violet-line);
  border-radius: 999px;
  background: var(--nr-violet-soft);
  color: var(--nr-violet);
  font-size: 11.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background .18s var(--nr-ease), box-shadow .18s var(--nr-ease);
}

.nr-spark-btn:hover {
  background: #ece9ff;
  box-shadow: 0 4px 12px rgba(99, 81, 251, .16);
}

/* ==========================================================================
   4. 监控词：三类 tab + 核心词列表 + 监控问题
   ========================================================================== */
.nr-word-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 5px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: #f4f6f6;
  border: 1px solid var(--nr-line);
}

.nr-word-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--nr-ink-3);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s var(--nr-ease), color .2s var(--nr-ease), box-shadow .2s var(--nr-ease);
}

.nr-word-tab:hover {
  color: var(--nr-ink-2);
  background: rgba(255, 255, 255, .7);
}

.nr-word-tab.is-active {
  background: #fff;
  color: var(--nr-green-ink);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .07);
}

.nr-word-tab[data-nr-word="reputation"].is-active { color: var(--nr-blue-ink); }
.nr-word-tab[data-nr-word="completeness"].is-active { color: var(--nr-amber-ink); }

.nr-wt-name {
  border-bottom: 1px dotted currentColor;
  cursor: help;
}

.nr-wt-count {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 19px;
  padding: 0 6px;
  border-radius: 999px;
  background: #e8eeec;
  color: var(--nr-ink-3);
  font-size: 11px;
  font-weight: 700;
}

.nr-word-tab.is-active .nr-wt-count {
  background: var(--nr-green);
  color: #fff;
}

.nr-word-tab[data-nr-word="reputation"].is-active .nr-wt-count { background: var(--nr-blue); }
.nr-word-tab[data-nr-word="completeness"].is-active .nr-wt-count { background: var(--nr-amber); }

.nr-word-panel {
  display: none;
}

.nr-word-panel.is-active {
  display: block;
}

/* 面板顶部释义条 */
.nr-word-intro {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 14px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--nr-green-soft);
  border: 1px solid var(--nr-green-line);
  color: var(--nr-ink-2);
  font-size: 12px;
  line-height: 1.65;
}

.nr-word-panel[data-word="reputation"] .nr-word-intro {
  background: var(--nr-blue-soft);
  border-color: var(--nr-blue-line);
}

.nr-word-panel[data-word="completeness"] .nr-word-intro {
  background: var(--nr-amber-soft);
  border-color: var(--nr-amber-line);
}

.nr-word-intro i {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 6px;
  background: var(--nr-green);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.nr-word-panel[data-word="reputation"] .nr-word-intro i { background: var(--nr-blue); }
.nr-word-panel[data-word="completeness"] .nr-word-intro i { background: var(--nr-amber); }

/* 核心词 ↔ 问题配置 双栏 */
.nr-word-body {
  display: grid;
  grid-template-columns: minmax(168px, .72fr) minmax(0, 1.6fr);
  gap: 16px;
  align-items: start;
}

.nr-core-col,
.nr-detail-col {
  min-width: 0;
}

.nr-sub-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}

.nr-sub-title {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--nr-ink-2);
  font-size: 12.5px;
  font-weight: 700;
}

.nr-sub-title em {
  color: var(--nr-red);
  font-style: normal;
}

.nr-icon-btn {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid var(--nr-green-line);
  border-radius: 8px;
  background: var(--nr-green-soft);
  color: var(--nr-green-ink);
  font-size: 15px;
  line-height: 1;
  font-family: inherit;
  cursor: pointer;
  transition: background .18s var(--nr-ease), box-shadow .18s var(--nr-ease);
}

.nr-icon-btn:hover {
  background: var(--nr-green);
  color: #fff;
  box-shadow: 0 4px 12px rgba(40, 184, 148, .26);
}

.nr-core-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 336px;
  overflow-y: auto;
  padding-right: 3px;
}

.nr-core-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid var(--nr-line);
  border-radius: 11px;
  background: #fcfdfd;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color .18s var(--nr-ease), background .18s var(--nr-ease), box-shadow .18s var(--nr-ease);
}

/* 词条左侧竖色条已移除：选中态由底色 + 边框 + 序号块颜色表达 */
.nr-core-item:before {
  content: none;
}

.nr-core-item:hover {
  border-color: var(--nr-green-line);
  background: #fff;
}

.nr-core-item.is-active {
  border-color: rgba(40, 184, 148, .34);
  background: var(--nr-green-soft);
  box-shadow: 0 4px 12px rgba(40, 184, 148, .12);
}

.nr-core-item.is-active:before { content: none; }

.nr-word-panel[data-word="reputation"] .nr-core-item.is-active {
  border-color: rgba(64, 132, 241, .34);
  background: var(--nr-blue-soft);
  box-shadow: 0 4px 12px rgba(64, 132, 241, .12);
}

.nr-word-panel[data-word="reputation"] .nr-core-item.is-active:before { content: none; }

.nr-word-panel[data-word="completeness"] .nr-core-item.is-active {
  border-color: rgba(213, 134, 46, .34);
  background: var(--nr-amber-soft);
  box-shadow: 0 4px 12px rgba(213, 134, 46, .12);
}

.nr-word-panel[data-word="completeness"] .nr-core-item.is-active:before { content: none; }

.nr-core-idx {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 6px;
  background: #eef1f0;
  color: var(--nr-ink-3);
  font-size: 10.5px;
  font-weight: 700;
}

.nr-core-item.is-active .nr-core-idx {
  background: var(--nr-green);
  color: #fff;
}

.nr-word-panel[data-word="reputation"] .nr-core-item.is-active .nr-core-idx { background: var(--nr-blue); }
.nr-word-panel[data-word="completeness"] .nr-core-item.is-active .nr-core-idx { background: var(--nr-amber); }

.nr-core-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--nr-ink);
  font-size: 12.5px;
  font-weight: 600;
}

.nr-core-meta {
  flex: 0 0 auto;
  color: var(--nr-ink-3);
  font-size: 10.5px;
}

.nr-core-del {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #b3bcb8;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity .16s var(--nr-ease), background .16s var(--nr-ease), color .16s var(--nr-ease);
}

.nr-core-item:hover .nr-core-del,
.nr-core-item:focus-within .nr-core-del { opacity: 1; }

.nr-core-del:hover {
  background: var(--nr-red);
  color: #fff;
}

/* 迷你开关（核心词启用/停用） */
.nr-mini-switch {
  flex: 0 0 auto;
  position: relative;
  width: 28px;
  height: 16px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d8dcda;
  cursor: pointer;
  transition: background .2s var(--nr-ease);
}

/* #148 滑块改为「垂直自动居中 + 水平变量位移」。
   旧写法 top:2px 是按「无边框 16px 轨道」算的硬编码值；皮肤层后来给轨道
   加了 1px 边框并设 box-sizing:border-box，内高从 16 缩到 14，滑块却仍
   停在 2px → 上留白 4 / 下留白 2，肉眼偏下。改用 top:50% + translateY(-50%)
   后，无论边框多厚、轨道多高都恒定居中；水平位移交给 --nr-sw-x，
   与垂直位移写在同一个 transform 里，避免两条规则互相覆盖。 */
.nr-mini-switch {
  --nr-sw-x: 0px;
}

.nr-mini-switch i {
  position: absolute;
  left: 2px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
  transform: translate(var(--nr-sw-x), -50%);
  transition: transform .2s var(--nr-ease);
}

.nr-mini-switch.is-on { background: var(--nr-green); --nr-sw-x: 12px; }
.nr-word-panel[data-word="reputation"] .nr-mini-switch.is-on { background: var(--nr-blue); }
.nr-word-panel[data-word="completeness"] .nr-mini-switch.is-on { background: var(--nr-amber); }

.nr-core-item.is-off .nr-core-name,
.nr-core-item.is-off .nr-core-meta {
  color: #b3bcb8;
  text-decoration: line-through;
}

.nr-core-add {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.nr-mini-input {
  padding: 8px 10px;
  font-size: 12.5px;
  border-radius: 10px;
}

/* --- 右栏：核心价值词 / 监控问题 --- */
.nr-detail-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.nr-detail-block {
  padding: 14px 15px;
  border: 1px solid var(--nr-line);
  border-radius: 14px;
  background: #fcfdfd;
}

.nr-detail-block.is-value {
  border-color: var(--nr-amber-line);
  background: linear-gradient(120deg, var(--nr-amber-soft), #fff 72%);
}

.nr-detail-empty {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 210px;
  padding: 24px;
  border: 1px dashed #d8dedc;
  border-radius: 14px;
  background: #fcfdfd;
  color: var(--nr-ink-3);
  font-size: 12.5px;
  text-align: center;
}

.nr-detail-empty b {
  color: var(--nr-ink-2);
  font-size: 13px;
}

.nr-detail-empty button {
  padding: 7px 15px;
  border: 1px solid var(--nr-green-line);
  border-radius: 999px;
  background: var(--nr-green-soft);
  color: var(--nr-green-ink);
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

.nr-q-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 3px;
}

.nr-q-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid var(--nr-line);
  border-radius: 10px;
  background: #fff;
  transition: border-color .18s var(--nr-ease), box-shadow .18s var(--nr-ease);
}

.nr-q-row:hover {
  border-color: var(--nr-green-line);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .05);
}

.nr-q-row.is-off {
  background: #fafbfb;
}

.nr-q-row.is-off .nr-q-text {
  color: #b3bcb8;
  text-decoration: line-through;
}

.nr-q-text {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--nr-ink);
  font-size: 12.5px;
  line-height: 1.6;
  word-break: break-word;
}

.nr-q-del {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #b3bcb8;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: background .16s var(--nr-ease), color .16s var(--nr-ease);
}

.nr-q-del:hover {
  background: var(--nr-red);
  color: #fff;
}

.nr-q-add {
  display: flex;
  gap: 6px;
  margin-top: 9px;
}

.nr-q-tools {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.nr-tool-btn {
  padding: 4px 10px;
  border: 1px solid var(--nr-line);
  border-radius: 999px;
  background: #fff;
  color: var(--nr-ink-2);
  font-size: 11px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .18s var(--nr-ease), color .18s var(--nr-ease), background .18s var(--nr-ease);
}

.nr-tool-btn:hover {
  border-color: var(--nr-green-line);
  background: var(--nr-green-soft);
  color: var(--nr-green-ink);
}

.nr-tool-btn.is-spark {
  border-color: var(--nr-violet-line);
  background: var(--nr-violet-soft);
  color: var(--nr-violet);
}

.nr-tool-btn.is-spark:hover {
  background: #ece9ff;
}

.nr-empty-line {
  padding: 12px;
  border: 1px dashed #dfe4e2;
  border-radius: 10px;
  color: var(--nr-ink-3);
  font-size: 11.5px;
  text-align: center;
}

/* ==========================================================================
   5. 媒体信源
   ========================================================================== */
.nr-source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.nr-source-block {
  padding: 15px 16px 16px;
  border: 1px solid var(--nr-green-line);
  border-radius: 14px;
  background: linear-gradient(130deg, var(--nr-green-soft), #fff 68%);
}

.nr-source-block.is-partner {
  border-color: var(--nr-blue-line);
  background: linear-gradient(130deg, var(--nr-blue-soft), #fff 68%);
}

.nr-source-head {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 12px;
}

.nr-source-badge {
  flex: 0 0 auto;
  padding: 3px 9px;
  border-radius: 7px;
  background: #0f7a63;   /* #107 白字 5.27，原 #28b894 仅 2.51 */
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.nr-source-block.is-partner .nr-source-badge { background: #2f6fd0; }   /* #107 白字 4.88 */

.nr-source-head > div {
  flex: 1 1 auto;
  min-width: 0;
}

.nr-source-head strong {
  display: block;
  color: var(--nr-ink);
  font-size: 13px;
}

.nr-source-head small {
  display: inline-block;
  margin-top: 2px;
  color: var(--nr-ink-3);
  font-size: 11px;
  border-bottom: 1px dotted #c3ccc8;
  cursor: help;
}

.nr-source-count {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 21px;
  padding: 0 7px;
  border-radius: 999px;
  background: #fff;
  color: var(--nr-green-ink);
  font-size: 11px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(40, 184, 148, .24);
}

.nr-source-block.is-partner .nr-source-count {
  color: var(--nr-blue-ink);
  box-shadow: inset 0 0 0 1px rgba(64, 132, 241, .26);
}

.nr-link-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 190px;
  overflow-y: auto;
  margin-bottom: 9px;
  padding-right: 3px;
}

.nr-link-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--nr-line);
  border-radius: 10px;
  background: #fff;
}

.nr-link-fav {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--nr-green-soft);
  color: var(--nr-green-ink);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.nr-source-block.is-partner .nr-link-fav {
  background: var(--nr-blue-soft);
  color: var(--nr-blue-ink);
}

.nr-link-main {
  flex: 1 1 auto;
  min-width: 0;
}

.nr-link-host {
  display: block;
  color: var(--nr-ink);
  font-size: 12px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nr-link-url {
  display: block;
  color: var(--nr-ink-3);
  font-size: 10.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  direction: ltr;
}

.nr-link-del {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #b3bcb8;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}

.nr-link-del:hover {
  background: var(--nr-red);
  color: #fff;
}

.nr-link-add {
  display: flex;
  gap: 6px;
}

.nr-link-input {
  padding: 8px 11px;
  font-size: 12px;
  border-radius: 10px;
}

.nr-add-btn {
  flex: 0 0 auto;
  padding: 8px 13px;
  border: 1px solid var(--nr-green-line);
  border-radius: 10px;
  background: #fff;
  color: var(--nr-green-ink);
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s var(--nr-ease), color .18s var(--nr-ease);
}

.nr-add-btn:hover {
  background: var(--nr-green);
  color: #fff;
}

.nr-source-block.is-partner .nr-add-btn {
  border-color: var(--nr-blue-line);
  color: var(--nr-blue-ink);
}

.nr-source-block.is-partner .nr-add-btn:hover {
  background: var(--nr-blue);
  color: #fff;
}

.nr-source-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 15px;
  padding: 11px 14px;
  border-radius: 12px;
  background: #f6f8f8;
  border: 1px solid var(--nr-line);
}

.nr-note-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--nr-ink-3);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  font-style: normal;
}

.nr-source-note p {
  margin: 0;
  color: var(--nr-ink-2);
  font-size: 11.5px;
  line-height: 1.7;
}

.nr-source-note strong { color: var(--nr-green-ink); }

/* ==========================================================================
   6. AI 平台选择
   ========================================================================== */
.nr-platform-card {
  padding: 20px 20px 22px;
}

.nr-plat-toolbar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.nr-seg {
  display: flex;
  gap: 3px;
  padding: 3px;
  border-radius: 10px;
  background: #f4f6f6;
  border: 1px solid var(--nr-line);
}

.nr-seg button {
  flex: 1 1 0;
  min-width: 0;
  padding: 7px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--nr-ink-3);
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s var(--nr-ease), color .18s var(--nr-ease), box-shadow .18s var(--nr-ease);
}

.nr-seg button:hover { color: var(--nr-ink-2); }

.nr-seg button.is-active {
  background: #fff;
  color: var(--nr-green-ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.nr-seg.small button {
  padding: 6px 10px;
  font-size: 11.5px;
}

.nr-plat-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px dashed var(--nr-line);
}

.nr-check-all {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--nr-ink-2);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.nr-check-all input {
  width: 15px;
  height: 15px;
  accent-color: var(--nr-green);
  cursor: pointer;
}

.nr-plat-quick {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.nr-plat-quick button {
  padding: 4px 9px;
  border: 1px solid var(--nr-line);
  border-radius: 999px;
  background: #fff;
  color: var(--nr-ink-3);
  font-size: 11px;
  font-weight: 600;
  font-family: inherit;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .18s var(--nr-ease), color .18s var(--nr-ease), background .18s var(--nr-ease);
}

.nr-plat-quick button:hover {
  border-color: var(--nr-green-line);
  background: var(--nr-green-soft);
  color: var(--nr-green-ink);
}

.nr-plat-groups {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-height: 460px;
  overflow-y: auto;
  padding-right: 4px;
}

.nr-plat-group-title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  color: var(--nr-ink);
  font-size: 12.5px;
  font-weight: 700;
}

/* 平台分组标题前的竖色块已移除，国内/国外由分组徽标文字区分 */
.nr-plat-group-title:before,
.nr-plat-group[data-region="global"] .nr-plat-group-title:before {
  content: none;
}

.nr-plat-group-title b {
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--nr-green-soft);
  color: var(--nr-green-ink);
  font-size: 10.5px;
  font-weight: 700;
}

.nr-plat-group[data-region="global"] .nr-plat-group-title b {
  background: var(--nr-violet-soft);
  color: var(--nr-violet);
}

.nr-plat-group-title small {
  margin-left: auto;
  color: var(--nr-ink-3);
  font-size: 10.5px;
  font-weight: 500;
}

.nr-plat-sub {
  margin-bottom: 10px;
}

.nr-plat-sub:last-child { margin-bottom: 0; }

.nr-plat-sub-label {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 6px;
  color: var(--nr-ink-3);
  font-size: 11px;
  font-weight: 600;
}

.nr-plat-sub-label i {
  font-style: normal;
  font-size: 11px;
}

.nr-plat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.nr-plat-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid var(--nr-line);
  border-radius: 11px;
  background: #fcfdfd;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .18s var(--nr-ease), background .18s var(--nr-ease), box-shadow .18s var(--nr-ease), transform .18s var(--nr-ease);
}

.nr-plat-card:hover {
  border-color: var(--nr-green-line);
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, .07);
}

.nr-plat-card.is-on {
  border-color: rgba(40, 184, 148, .42);
  background: var(--nr-green-soft);
  box-shadow: 0 4px 12px rgba(40, 184, 148, .14);
}

.nr-plat-group[data-region="global"] .nr-plat-card.is-on {
  border-color: rgba(99, 81, 251, .38);
  background: var(--nr-violet-soft);
  box-shadow: 0 4px 12px rgba(99, 81, 251, .13);
}

.nr-plat-logo {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .1);
  overflow: hidden;
}

.nr-plat-logo img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.nr-plat-logo span {
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}

.nr-plat-info {
  flex: 1 1 auto;
  min-width: 0;
}

.nr-plat-name {
  display: block;
  color: var(--nr-ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nr-plat-tags {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
}

.nr-plat-client {
  padding: 1px 5px;
  border-radius: 5px;
  background: #eef1f0;
  color: var(--nr-ink-3);
  font-size: 9.5px;
  font-weight: 600;
  white-space: nowrap;
}

.nr-plat-card.is-on .nr-plat-client {
  background: rgba(40, 184, 148, .16);
  color: var(--nr-green-ink);
}

.nr-plat-group[data-region="global"] .nr-plat-card.is-on .nr-plat-client {
  background: rgba(99, 81, 251, .14);
  color: var(--nr-violet);
}

.nr-plat-think {
  color: var(--nr-ink-3);
  font-size: 9.5px;
  white-space: nowrap;
}

.nr-plat-think.is-ok { color: var(--nr-green-ink); }

.nr-plat-check {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1.5px solid #d8dcda;
  background: #fff;
  color: transparent;
  font-size: 10px;
  line-height: 1;
  transition: background .18s var(--nr-ease), border-color .18s var(--nr-ease), color .18s var(--nr-ease);
}

.nr-plat-card.is-on .nr-plat-check {
  border-color: var(--nr-green);
  background: var(--nr-green);
  color: #fff;
}

.nr-plat-group[data-region="global"] .nr-plat-card.is-on .nr-plat-check {
  border-color: var(--nr-violet);
  background: var(--nr-violet);
}

.nr-plat-empty {
  padding: 26px 16px;
  border: 1px dashed #d8dedc;
  border-radius: 12px;
  color: var(--nr-ink-3);
  font-size: 12px;
  text-align: center;
}

.nr-plat-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--nr-line);
  color: var(--nr-ink-3);
  font-size: 11.5px;
}

.nr-plat-summary b {
  color: var(--nr-green-ink);
  font-size: 13px;
  font-weight: 800;
}

.nr-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #cfd6d3;
}

/* ==========================================================================
   7. 执行设置 + 费用
   ========================================================================== */
.nr-run-card { padding: 20px 20px 22px; }

.nr-run-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--nr-line);
}

.nr-run-row:last-of-type { border-bottom: 0; }

.nr-run-row .nr-seg { flex: 0 0 auto; }

.nr-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px 4px 5px;
  border: 1px solid var(--nr-line);
  border-radius: 999px;
  background: #f4f6f6;
  color: var(--nr-ink-3);
  font-size: 11.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s var(--nr-ease), color .2s var(--nr-ease), border-color .2s var(--nr-ease);
}

.nr-switch i {
  position: relative;
  width: 26px;
  height: 15px;
  border-radius: 999px;
  background: #d8dcda;
  transition: background .2s var(--nr-ease);
}

.nr-switch i:after {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
  transition: transform .2s var(--nr-ease);
}

.nr-switch.is-on {
  border-color: var(--nr-green-line);
  background: var(--nr-green-soft);
  color: var(--nr-green-ink);
}

.nr-switch.is-on i { background: var(--nr-green); }
.nr-switch.is-on i:after { transform: translateX(11px); }

.nr-cost-box {
  margin-top: 14px;
  padding: 14px 15px;
  border-radius: 14px;
  background: linear-gradient(130deg, var(--nr-green-soft), #fff 74%);
  border: 1px solid var(--nr-green-line);
}

.nr-cost-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  color: var(--nr-ink-3);
  font-size: 11.5px;
}

.nr-cost-line b {
  color: var(--nr-ink-2);
  font-size: 12.5px;
  font-weight: 700;
}

/* ------------------------------------------------------------------
   #147 记录方式：标准（必选基线）+ 深度思考 / 截图（可叠加加价）
   三枚 chip 等宽排一行，窄屏自动换行；每枚含勾选标记 + 名称 + 加价。
   放在价格区内部，让「加价 → 词条单价 → 小计」的因果链自上而下可读。
   ------------------------------------------------------------------ */
.nr-cost-mode {
  padding: 8px 0 6px;
  border-top: 1px dashed var(--nr-line);
  border-bottom: 1px dashed var(--nr-line);
  margin: 5px 0;
}

.nr-cost-mode-label {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 7px;
  color: var(--nr-ink-3);
  font-size: 11.5px;
}

.nr-mode-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.nr-mode-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid var(--nr-line);
  border-radius: 10px;
  background: #fff;
  color: var(--nr-ink-3);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .2s var(--nr-ease), border-color .2s var(--nr-ease), color .2s var(--nr-ease);
}

.nr-mode-mark {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  border: 1px solid var(--nr-line);
  border-radius: 5px;
  background: #f4f6f6;
  color: transparent;
  font-size: 9.5px;
  font-style: normal;
  line-height: 13px;
  text-align: center;
}

.nr-mode-txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}

.nr-mode-txt b {
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.nr-mode-txt small {
  font-size: 9.5px;
  font-weight: 400;
  white-space: nowrap;
  opacity: .85;
}

.nr-mode-chip.is-on {
  border-color: var(--nr-green-line);
  background: var(--nr-green-soft);
  color: var(--nr-green-ink);
}

.nr-mode-chip.is-on .nr-mode-mark {
  border-color: var(--nr-green);
  background: var(--nr-green);
  color: #fff;
}

/* 标准是必选基线：恒定选中态，但不可点击，故不给 hover 反馈 */
.nr-mode-chip.is-base {
  border-color: var(--nr-green-line);
  background: var(--nr-green-soft);
  color: var(--nr-green-ink);
  cursor: default;
}

.nr-mode-chip.is-base .nr-mode-mark {
  border-color: var(--nr-green);
  background: var(--nr-green);
  color: #fff;
}

.nr-mode-chip:not(.is-base):hover { border-color: var(--nr-green-line); }

.nr-mode-chip:focus-visible {
  outline: 2px solid var(--nr-green);
  outline-offset: 2px;
}

.nr-cost-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
  padding-top: 10px;
  border-top: 1px dashed rgba(40, 184, 148, .3);
}

.nr-cost-total > span {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--nr-ink-2);
  font-size: 12px;
  font-weight: 600;
}

.nr-cost-total strong {
  color: var(--nr-green-ink);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.nr-cost-box > small {
  display: block;
  margin-top: 5px;
  color: var(--nr-ink-3);
  font-size: 10.5px;
}

/* ==========================================================================
   8. 底部操作条
   ========================================================================== */
.nr-actionbar {
  position: sticky;
  bottom: 14px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px) saturate(1.5);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  border: 1px solid var(--nr-line);
  box-shadow: 0 12px 34px rgba(16, 32, 28, .13);
}

.nr-action-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.nr-progress-ring {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  grid-template-areas: 'n u';
  align-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, #fff 76%, transparent 77% 100%),
    conic-gradient(var(--nr-green) calc(var(--nr-pct, 0) * 1%), #e8eeec 0);
}

.nr-progress-ring b {
  grid-area: n;
  justify-self: end;
  color: var(--nr-green-ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.nr-progress-ring small {
  grid-area: u;
  align-self: end;
  color: var(--nr-ink-3);
  font-size: 9px;
  line-height: 1.4;
}

.nr-action-copy {
  min-width: 0;
}

.nr-action-copy strong {
  display: block;
  color: var(--nr-ink);
  font-size: 13.5px;
}

.nr-action-copy small {
  display: block;
  margin-top: 2px;
  color: var(--nr-ink-3);
  font-size: 11.5px;
}

.nr-action-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nr-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s var(--nr-ease), color .2s var(--nr-ease), box-shadow .2s var(--nr-ease), transform .2s var(--nr-ease), border-color .2s var(--nr-ease);
}

.nr-btn.ghost {
  border: 1px solid var(--nr-line);
  background: #fff;
  color: var(--nr-ink-2);
}

.nr-btn.ghost:hover {
  border-color: var(--nr-green-line);
  background: var(--nr-green-soft);
  color: var(--nr-green-ink);
}

.nr-btn.primary {
  border: 0;
  background: linear-gradient(135deg, var(--nr-green), var(--nr-green-2));
  color: #fff;
  box-shadow: 0 8px 20px rgba(40, 184, 148, .3);
}

.nr-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(40, 184, 148, .38);
}

.nr-btn.primary i {
  font-style: normal;
  transition: transform .2s var(--nr-ease);
}

.nr-btn.primary:hover i { transform: translateX(3px); }

.nr-btn.primary.is-blocked {
  background: linear-gradient(135deg, #b9c4c0, #cfd6d3);
  box-shadow: none;
  cursor: not-allowed;
}

.nr-btn.primary.is-blocked:hover { transform: none; }

.nr-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding: 18px 4px 26px;
  border-top: 1px solid var(--nr-line);
  color: var(--nr-ink-3);
  font-size: 11.5px;
}

/* ==========================================================================
   9. 弹层 / 轻提示
   ========================================================================== */
.nr-modal {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: grid;
  place-items: center;
  padding: 24px;
}

.nr-modal[hidden] { display: none; }

.nr-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(16, 26, 23, .48);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.nr-modal-box {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(760px, 100%);
  max-height: min(82vh, 760px);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(16, 32, 28, .3);
  overflow: hidden;
}

.nr-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--nr-line);
}

.nr-modal-head h3 {
  margin: 0 0 3px;
  color: var(--nr-ink);
  font-size: 16px;
}

.nr-modal-head small {
  color: var(--nr-ink-3);
  font-size: 11.5px;
}

.nr-modal-x {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--nr-line);
  border-radius: 50%;
  background: #fff;
  color: var(--nr-ink-3);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: background .18s var(--nr-ease), color .18s var(--nr-ease);
}

.nr-modal-x:hover {
  background: var(--nr-red);
  border-color: var(--nr-red);
  color: #fff;
}

.nr-modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 18px 22px;
}

.nr-modal-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 22px;
  border-top: 1px solid var(--nr-line);
  background: #fcfdfd;
}

.nr-json {
  margin: 0;
  padding: 15px 16px;
  border-radius: 12px;
  background: #1a202c;
  color: #d7e4e0;
  font-size: 11.5px;
  line-height: 1.72;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  white-space: pre;
  overflow-x: auto;
  tab-size: 2;
}

.nr-json .j-key { color: #7fd8c0; }
.nr-json .j-str { color: #ffd79a; }
.nr-json .j-num { color: #9dc4ff; }
.nr-json .j-bool { color: #ff9db1; }

/* 成功态 */
.nr-success {
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 18px 8px 8px;
  text-align: center;
}

.nr-success-mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--nr-green), var(--nr-green-2));
  color: #fff;
  font-size: 30px;
  box-shadow: 0 12px 30px rgba(40, 184, 148, .34);
}

.nr-success h4 {
  margin: 0;
  color: var(--nr-ink);
  font-size: 18px;
}

.nr-success p {
  margin: 0;
  max-width: 460px;
  color: var(--nr-ink-3);
  font-size: 12.5px;
  line-height: 1.75;
}

.nr-success-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-top: 6px;
}

.nr-success-cell {
  padding: 12px 10px;
  border-radius: 12px;
  background: var(--nr-green-soft);
  border: 1px solid var(--nr-green-line);
}

.nr-success-cell b {
  display: block;
  color: var(--nr-green-ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.nr-success-cell span {
  display: block;
  margin-top: 3px;
  color: var(--nr-ink-3);
  font-size: 11px;
}

/* 校验清单 */
.nr-valid-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nr-valid-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 13px;
  border-radius: 11px;
  background: var(--nr-red-soft);
  border: 1px solid rgba(213, 63, 63, .18);
  color: var(--nr-ink-2);
  font-size: 12.5px;
  line-height: 1.6;
}

.nr-valid-list li i {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--nr-red);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.nr-valid-list li b { color: var(--nr-ink); }

.nr-valid-list li button {
  margin-left: auto;
  flex: 0 0 auto;
  padding: 3px 10px;
  border: 1px solid rgba(213, 63, 63, .26);
  border-radius: 999px;
  background: #fff;
  color: var(--nr-red);
  font-size: 11px;
  font-weight: 600;
  font-family: inherit;
  white-space: nowrap;
  cursor: pointer;
}

.nr-valid-list li button:hover {
  background: var(--nr-red);
  color: #fff;
}

/* 轻提示 */
.nr-toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 980;
  transform: translateX(-50%);
  max-width: min(440px, calc(100vw - 32px));
  padding: 11px 18px;
  border-radius: 999px;
  background: #1a202c;
  color: #f4f7f6;
  font-size: 12.5px;
  line-height: 1.5;
  box-shadow: 0 14px 36px rgba(16, 32, 28, .3);
  pointer-events: none;
}

.nr-toast[hidden] { display: none; }

.nr-toast.is-ok { background: linear-gradient(135deg, #007a60, #28b894); }
.nr-toast.is-warn { background: linear-gradient(135deg, #a8342f, #d53f3f); }

/* ==========================================================================
   10. 滚动条（沿用页面配色，不用浏览器默认）
   ========================================================================== */
.nr-core-list,
.nr-q-list,
.nr-link-list,
.nr-plat-groups,
.nr-modal-body,
.nr-json {
  scrollbar-width: thin;
  scrollbar-color: #cfe0da transparent;
}

.nr-core-list::-webkit-scrollbar,
.nr-q-list::-webkit-scrollbar,
.nr-link-list::-webkit-scrollbar,
.nr-plat-groups::-webkit-scrollbar,
.nr-modal-body::-webkit-scrollbar,
.nr-json::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

.nr-core-list::-webkit-scrollbar-track,
.nr-q-list::-webkit-scrollbar-track,
.nr-link-list::-webkit-scrollbar-track,
.nr-plat-groups::-webkit-scrollbar-track,
.nr-modal-body::-webkit-scrollbar-track,
.nr-json::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 999px;
}

.nr-core-list::-webkit-scrollbar-thumb,
.nr-q-list::-webkit-scrollbar-thumb,
.nr-link-list::-webkit-scrollbar-thumb,
.nr-plat-groups::-webkit-scrollbar-thumb,
.nr-modal-body::-webkit-scrollbar-thumb {
  background: #cfe0da;
  border-radius: 999px;
}

.nr-core-list::-webkit-scrollbar-thumb:hover,
.nr-q-list::-webkit-scrollbar-thumb:hover,
.nr-link-list::-webkit-scrollbar-thumb:hover,
.nr-plat-groups::-webkit-scrollbar-thumb:hover,
.nr-modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--nr-green);
}

.nr-json::-webkit-scrollbar-thumb {
  background: #3c4a52;
  border-radius: 999px;
}

.nr-json::-webkit-scrollbar-thumb:hover { background: var(--nr-green); }

/* ==========================================================================
   11. 响应式
   ========================================================================== */
@media (max-width: 1240px) {
  .nr-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(310px, 1fr);
  }

  .nr-plat-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 1080px) {
  .nr-layout { grid-template-columns: minmax(0, 1fr); }

  .nr-col-side {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .nr-plat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nr-plat-groups { max-height: 420px; }
}

@media (max-width: 860px) {
  .nr-hero { align-items: flex-start; }
  .nr-hero-copy h1 { font-size: 27px; }

  .nr-steps {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nr-steps::-webkit-scrollbar { display: none; }

  .nr-field-grid { grid-template-columns: minmax(0, 1fr); }
  .nr-source-grid { grid-template-columns: minmax(0, 1fr); }

  .nr-col-side { grid-template-columns: minmax(0, 1fr); }

  .nr-word-body { grid-template-columns: minmax(0, 1fr); }
  .nr-core-list { max-height: 210px; }
}

@media (max-width: 700px) {
  .nr-card { padding: 17px 15px 19px; border-radius: 15px; }
  .nr-platform-card,
  .nr-run-card { padding: 17px 15px 19px; }

  .nr-hero-copy h1 { font-size: 24px; }
  .nr-hero-copy p { font-size: 12.5px; }

  .nr-card-head { flex-wrap: wrap; gap: 10px; }
  .nr-card-title h2 { font-size: 15.5px; }
  .nr-step-badge { width: 27px; height: 27px; font-size: 11px; }

  .nr-word-tabs { gap: 4px; padding: 4px; }
  .nr-word-tab { flex-direction: column; gap: 3px; padding: 8px 4px; font-size: 12px; }

  .nr-plat-grid { grid-template-columns: minmax(0, 1fr); }
  .nr-plat-groups { max-height: 380px; }

  .nr-actionbar {
    bottom: 8px;
    padding: 12px 14px;
    border-radius: 14px;
  }

  .nr-action-info { width: 100%; }
  .nr-action-btns { width: 100%; }
  .nr-action-btns .nr-btn { flex: 1 1 auto; justify-content: center; padding: 10px 12px; font-size: 12.5px; }
  .nr-action-btns .nr-btn.primary { flex: 1 1 100%; }

  .nr-success-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .nr-modal { padding: 12px; }
  .nr-modal-box { max-height: 88vh; border-radius: 15px; }
  .nr-modal-head,
  .nr-modal-body,
  .nr-modal-foot { padding-left: 15px; padding-right: 15px; }
  .nr-json { font-size: 10.5px; }

  .nr-footer { flex-direction: column; align-items: flex-start; gap: 5px; }
}

@media (max-width: 420px) {
  .nr-seg button { padding: 7px 4px; font-size: 11.5px; }
  .nr-cost-total strong { font-size: 22px; }
  /* #147 极窄屏三枚 chip 挤不下「深度思考 +0.05 元」，改单列堆叠 */
  .nr-mode-chips { grid-template-columns: minmax(0, 1fr); }
  .nr-mode-chip { padding: 8px 10px; }
  .nr-mode-txt { flex-direction: row; align-items: baseline; gap: 6px; }
}

/* 触摸设备去掉悬停位移 */
@media (hover: none), (pointer: coarse) {
  .nr-plat-card:hover,
  .nr-btn.primary:hover { transform: none; }
  .nr-core-del { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .nr-page *,
  .nr-modal * { transition: none !important; }
}

@media print {
  .nr-actionbar,
  .nr-plat-toolbar,
  .nr-plat-tools,
  .nr-modal,
  .nr-toast { display: none !important; }
  .nr-layout { grid-template-columns: minmax(0, 1fr); }
  .nr-col-side { position: static; }
}

/* ==========================================================================
   12. 项目信息：左右两列独立堆叠
   --------------------------------------------------------------------------
   原 2×2 网格里「竞品品牌」落在第二行，比右列的「所属行业」高出一截，
   板块看起来左右不齐。改为两列各自 flex 堆叠：
     左列 = 项目名称 → 品牌名称
     右列 = 竞品品牌 → 所属行业
   两列顶对齐、底对齐；窄屏单列时按阅读顺序还原。
   ========================================================================== */
.nr-field-grid-split {
  align-items: stretch;
}

.nr-field-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

/* 字段保持自然高度，多余空间留在列底，输入框不被拉高 */
.nr-field-col > .nr-field {
  flex: 0 0 auto;
}

.nr-field-col > .nr-field .nr-tagbox {
  align-content: flex-start;
}

/* 两列底边对齐：列撑满网格行高，并把富余空间均分到字段之间，
   避免某一列底部留下大片空白。 */
.nr-field-grid-split > .nr-field-col {
  height: 100%;
  justify-content: space-between;
}

@media (max-width: 860px) {
  .nr-field-grid-split {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  /* 单列时按 项目名称 → 品牌名称 → 竞品品牌 → 所属行业 顺序展开 */
  .nr-field-col {
    display: contents;
    height: auto;
  }

  .nr-field-col-a > .nr-field:nth-child(1) { order: 1; }
  .nr-field-col-a > .nr-field:nth-child(2) { order: 2; }
  .nr-field-col-b > .nr-field:nth-child(1) { order: 3; }
  .nr-field-col-b > .nr-field:nth-child(2) { order: 4; }
}


/* ==========================================================================
   12. 批量导入 / 批量输入
   ========================================================================== */
/* 媒体信源右上角的批量导入按钮 */
.nr-bulk-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px 5px 9px;
  border: 1px solid var(--nr-green-line);
  border-radius: 999px;
  background: #fff;
  color: var(--nr-green-ink);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s var(--nr-ease), border-color .18s var(--nr-ease),
    color .18s var(--nr-ease), transform .18s var(--nr-ease);
}

.nr-bulk-btn svg {
  width: 13px;
  height: 13px;
  flex: none;
}

.nr-bulk-btn:hover {
  background: var(--nr-green);
  border-color: var(--nr-green);
  color: #fff;
  transform: translateY(-1px);
}

.nr-bulk-btn:focus-visible {
  outline: 2px solid var(--nr-green);
  outline-offset: 2px;
}

.nr-source-block.is-partner .nr-bulk-btn {
  border-color: var(--nr-blue-line);
  color: var(--nr-blue-ink);
}

.nr-source-block.is-partner .nr-bulk-btn:hover {
  background: var(--nr-blue);
  border-color: var(--nr-blue);
  color: #fff;
}

/* 核心词列头：只留一个添加按钮，不再重复「监控词」字样 */
.nr-core-col-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 26px;
  margin-bottom: 9px;
}

/* 监控问题工具条里的批量输入 */
.nr-tool-btn.is-bulk {
  border-color: var(--nr-green-line);
  background: var(--nr-green-soft);
  color: var(--nr-green-ink);
}

.nr-tool-btn.is-bulk:hover {
  background: var(--nr-green);
  border-color: var(--nr-green);
  color: #fff;
}

/* ---------- 弹层主体 ---------- */
.nr-bulk {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nr-bulk-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.nr-bulk-stats {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.nr-bulk-stats span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--nr-bg);
  color: var(--nr-ink-3);
  font-size: 11.5px;
  font-weight: 500;
}

.nr-bulk-stats b {
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.nr-bulk-stats .is-ok {
  background: var(--nr-green-soft);
  color: var(--nr-green-ink);
}

.nr-bulk-stats .is-dup {
  background: var(--nr-amber-soft);
  color: var(--nr-amber-ink);
}

.nr-bulk-stats .is-bad {
  background: var(--nr-red-soft);
  color: var(--nr-red);
}

.nr-bulk-acts {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.nr-bulk-input {
  width: 100%;
  min-height: 148px;
  padding: 13px 15px;
  border: 1px solid var(--nr-line);
  border-radius: 14px;
  background: #fff;
  color: var(--nr-ink);
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', var(--nr-font, inherit);
  font-size: 12.5px;
  line-height: 1.85;
  resize: vertical;
  box-sizing: border-box;
  transition: border-color .18s var(--nr-ease), box-shadow .18s var(--nr-ease);
}

.nr-bulk-input::placeholder {
  color: #b6bfbb;
}

.nr-bulk-input:focus {
  outline: none;
  border-color: var(--nr-green);
  box-shadow: 0 0 0 3px rgba(40, 184, 148, .14);
}

.nr-bulk-tip {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--nr-green-soft);
}

.nr-bulk-tip p {
  margin: 0;
  color: var(--nr-ink-2);
  font-size: 11.5px;
  line-height: 1.75;
}

/* ---------- 逐行预览 ---------- */
.nr-bulk-preview {
  max-height: 268px;
  overflow-y: auto;
  border: 1px solid var(--nr-line);
  border-radius: 14px;
  background: #fcfdfd;
  scrollbar-width: thin;
  scrollbar-color: #cfe0da transparent;
}

.nr-bulk-preview::-webkit-scrollbar {
  width: 7px;
}

.nr-bulk-preview::-webkit-scrollbar-track {
  background: transparent;
}

.nr-bulk-preview::-webkit-scrollbar-thumb {
  background: #cfe0da;
  border-radius: 999px;
}

.nr-bulk-preview::-webkit-scrollbar-thumb:hover {
  background: var(--nr-green);
}

.nr-bulk-empty {
  padding: 30px 18px;
  color: var(--nr-ink-3);
  font-size: 12px;
  text-align: center;
}

.nr-bulk-tr {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 104px;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  font-size: 11.5px;
}

.nr-bulk-table.is-links .nr-bulk-tr {
  grid-template-columns: 38px 132px minmax(0, 1fr) 104px;
}

.nr-bulk-tr.is-head {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--nr-bg);
  color: var(--nr-ink-3);
  font-size: 11px;
  font-weight: 600;
}

.nr-bulk-tr + .nr-bulk-tr:not(.is-head) {
  border-top: 1px solid #f2f5f4;
}

.nr-bulk-no {
  color: var(--nr-ink-3);
  font-variant-numeric: tabular-nums;
}

.nr-bulk-host {
  color: var(--nr-ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nr-bulk-text {
  min-width: 0;
  color: var(--nr-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nr-bulk-flag {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.nr-bulk-flag em {
  font-style: normal;
  font-weight: 400;
  color: var(--nr-ink-3);
}

.nr-bulk-tr.is-ok .nr-bulk-flag {
  color: var(--nr-green-ink);
}

.nr-bulk-tr.is-dup {
  background: #fffdf7;
}

.nr-bulk-tr.is-dup .nr-bulk-flag {
  color: var(--nr-amber-ink);
}

.nr-bulk-tr.is-dup .nr-bulk-text {
  color: var(--nr-ink-3);
}

.nr-bulk-tr.is-bad {
  background: #fffafa;
}

.nr-bulk-tr.is-bad .nr-bulk-flag {
  color: var(--nr-red);
}

.nr-bulk-tr.is-bad .nr-bulk-text {
  color: #a86a6a;
}

.nr-bulk-more {
  padding: 9px 14px;
  border-top: 1px solid #f2f5f4;
  color: var(--nr-ink-3);
  font-size: 11px;
  text-align: center;
}

.nr-bulk-foot-note {
  margin-right: auto;
  color: var(--nr-ink-3);
  font-size: 11.5px;
}

@media (max-width: 700px) {
  .nr-bulk-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .nr-bulk-acts {
    justify-content: flex-start;
  }

  .nr-bulk-tr,
  .nr-bulk-table.is-links .nr-bulk-tr {
    grid-template-columns: 30px minmax(0, 1fr) 86px;
    gap: 8px;
    padding: 9px 12px;
  }

  .nr-bulk-table.is-links .nr-bulk-host {
    display: none;
  }

  .nr-bulk-table.is-links .nr-bulk-tr.is-head span:nth-child(2) {
    display: none;
  }

  .nr-bulk-foot-note {
    flex: 1 1 100%;
    margin-bottom: 4px;
  }

  .nr-source-head {
    flex-wrap: wrap;
  }

  .nr-bulk-btn {
    order: 3;
  }
}

/* ==========================================================================
   #106 批量导入：Excel / CSV 文件入口
   --------------------------------------------------------------------------
   工具条从 3 个按钮变成 5 个，窄屏靠既有 flex-wrap 换行；
   「上传 Excel」是主路径，用品牌绿描边 + 上箭头图标与其余工具区分。
   拖拽区常驻在工具条与文本框之间，高度克制（44px），
   不抢文本框的视觉重心，但给了文件一个明确的落点与状态回显。
   ===================================================================== */
.nr-tool-btn.is-file {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-color: var(--nr-green-line);
  background: var(--nr-green-soft);
  color: var(--nr-green-ink);
}
.nr-tool-btn.is-file i {
  font-style: normal;
  font-size: 11px;
  line-height: 1;
  transform: translateY(-.5px);
}
.nr-tool-btn.is-file:hover {
  background: var(--nr-green);
  border-color: var(--nr-green);
  color: #fff;
}
.nr-tool-btn.is-file.is-busy,
.nr-tool-btn.is-file:disabled {
  opacity: .62;
  cursor: progress;
}
.nr-tool-btn.is-tpl {
  border-style: dashed;
}

.nr-bulk-file {
  display: none !important;
}

.nr-bulk-drop {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 10px;
  padding: 8px 14px;
  border: 1px dashed var(--nr-line);
  border-radius: 12px;
  background: var(--nr-surface-2, #fafbfc);
  color: var(--nr-ink-3, #8a8a8a);
  font-size: 11.5px;
  cursor: pointer;
  transition: border-color .18s var(--nr-ease), background .18s var(--nr-ease),
    color .18s var(--nr-ease);
}
.nr-bulk-drop:hover {
  border-color: var(--nr-green-line);
  color: var(--nr-green-ink);
}
.nr-bulk-drop.is-over {
  border-color: var(--nr-green);
  border-style: solid;
  background: var(--nr-green-soft);
  color: var(--nr-green-ink);
}
.nr-bulk-drop.has-file {
  border-style: solid;
  border-color: var(--nr-green-line);
  background: var(--nr-green-soft);
}
.nr-bulk-drop.is-busy {
  opacity: .7;
  cursor: progress;
}
.nr-bulk-drop-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 7px;
  background: var(--nr-green-soft);
  color: var(--nr-green-ink);
  font-size: 11px;
}
.nr-bulk-drop.is-over .nr-bulk-drop-icon,
.nr-bulk-drop.has-file .nr-bulk-drop-icon {
  background: var(--nr-green);
  color: #fff;
}
.nr-bulk-drop-text {
  flex: 0 0 auto;
}
.nr-bulk-drop-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
  color: var(--nr-green-ink);
  font-weight: 600;
}
.nr-bulk-tip p b {
  color: var(--nr-green-ink);
  font-weight: 600;
}

@media (max-width: 700px) {
  .nr-bulk-drop {
    flex-wrap: wrap;
    gap: 6px;
  }
  .nr-bulk-drop-name {
    flex: 1 0 100%;
    text-align: left;
  }
}
