@charset "utf-8";

:root {
  --rc-shell: #003f35;
  --rc-primary: #075d4e;
  --rc-primary-hover: #03483d;
  --rc-accent: #397aa4;
  --rc-warning: #c58a22;
  --rc-danger: #c85147;
  --rc-canvas: #f5f7f8;
  --rc-surface: #ffffff;
  --rc-text: #1f2927;
  --rc-muted: #59635f;
  --rc-border: #e3e8e6;
  --rc-marker: #d9ad48;
  --rc-radius: 6px;
  --rc-shadow: 0 8px 26px rgba(17, 52, 43, .06);
  --rc-font: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

/* 2026-09-14 device list, resource picker and publishing controls */
.rc-device-table .rc-device-progress {
  position: relative !important;
  display: block !important;
  width: min(128px, 100%) !important;
  min-width: 86px !important;
  height: 18px !important;
  margin: 5px auto 0 !important;
  overflow: hidden !important;
  line-height: 18px !important;
  background: #e6ece9 !important;
  border: 1px solid #d6dfdb !important;
  border-radius: 9px !important;
  box-shadow: inset 0 1px 2px rgba(20,52,43,.08) !important;
  cursor: pointer;
}
.rc-device-table .rc-device-progress .bgS {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  display: block !important;
  height: 100% !important;
  max-width: 100% !important;
  background: linear-gradient(90deg,#0a6b59,#2b8d78) !important;
  border-radius: 8px 0 0 8px;
  transition: width .2s ease;
}
.rc-device-table .rc-device-progress .blue {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 4px !important;
  color: #173a31 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 17px !important;
  text-align: center !important;
  text-shadow: 0 1px rgba(255,255,255,.7);
}
.rc-device-list .rc-bulk-toolbar { flex-wrap: nowrap; overflow: visible; }
.rc-device-list .rc-bulk-toolbar > .alert { flex: 0 1 auto; margin: 0 !important; padding: 6px 9px !important; font-size: 11px !important; white-space: nowrap; }
.rc-device-pagination { display: flex; align-items: center; justify-content: flex-end; gap: 9px; min-width: max-content; margin-left: auto; white-space: nowrap; }
.rc-device-pagination .page { float: none !important; order: 2; margin: 0 !important; }
.rc-device-pagination > span { float: none !important; order: 1; margin: 0 !important; color: var(--rc-muted); font-size: 11px; }
.rc-device-pagination .compact-theme a,.rc-device-pagination .compact-theme span { min-width: 27px; height: 28px; padding: 4px 8px; box-sizing: border-box; line-height: 18px; }
.rc-device-page.rc-rtl .rc-device-pagination { margin-right: auto; margin-left: 0; }
@media(max-width:1280px){.rc-device-list .rc-bulk-toolbar{flex-wrap:wrap}.rc-device-pagination{flex:1 1 auto}}

/* Intercut resource picker (iframe dialog) */
.rc-intercut-resource-page { min-width: 0; margin: 0; padding: 0; overflow-x: hidden; color: var(--rc-text); font-family: var(--rc-font); background: #f5f7f6; }
.rc-intercut-resource-page * { box-sizing: border-box; }
.rc-resource-picker { display: flex; flex-direction: column; width: 100%; min-height: 100vh; margin: 0; padding: 14px; }
.rc-resource-picker__toolbar { display: flex; align-items: center; gap: 22px; flex: 0 0 auto; min-height: 66px; padding: 12px 14px; background: #fff; border: 1px solid var(--rc-border); border-radius: 6px; box-shadow: var(--rc-shadow); }
.rc-resource-picker__field { display: flex; align-items: center; gap: 12px; }
.rc-resource-picker__field > strong { color: var(--rc-text); font-size: 12px; white-space: nowrap; }
.rc-resource-picker__segmented { display: inline-flex; padding: 3px; background: #edf2f0; border-radius: 5px; }
.rc-resource-picker__segmented label { margin: 0; cursor: pointer; }
.rc-resource-picker__segmented input { position: absolute; opacity: 0; pointer-events: none; }
.rc-resource-picker__segmented span { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 6px 14px; color: var(--rc-muted); border-radius: 4px; }
.rc-resource-picker__segmented input:checked + span { color: var(--rc-primary); font-weight: 700; background: #fff; box-shadow: 0 1px 5px rgba(20,52,43,.12); }
.rc-resource-picker__duration { margin-left: auto; }
.rc-resource-picker__duration input { width: 116px; height: 34px; margin: 0; padding: 6px 10px; border: 1px solid var(--rc-border); border-radius: 4px; box-shadow: none; }
.rc-resource-picker__content { min-height: 310px; flex: 1; margin-top: 12px; padding: 14px; overflow: auto; background: #fff; border: 1px solid var(--rc-border); border-radius: 6px; box-shadow: var(--rc-shadow); }
.rc-resource-picker__grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(150px,1fr)); gap: 12px; }
.rc-resource-card { position: relative; display: block; min-width: 0; margin: 0; padding: 5px; overflow: hidden; background: #fff; border: 1px solid #dce4e1; border-radius: 6px; cursor: pointer; transition: border-color .15s,box-shadow .15s,transform .15s; }
.rc-resource-card:hover { border-color: #a9c8bf; box-shadow: 0 6px 16px rgba(20,52,43,.09); transform: translateY(-1px); }
.rc-resource-card.is-selected { border-color: var(--rc-primary); box-shadow: 0 0 0 2px rgba(7,93,78,.13); }
.rc-resource-card__preview { position: relative; display: block; height: 104px; overflow: hidden; background: #e9eeec; border-radius: 4px; }
.rc-resource-card__preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rc-resource-card__play { position: absolute; top: 50%; left: 50%; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin: -18px 0 0 -18px; color: #fff; background: rgba(7,54,46,.76); border-radius: 50%; }
.rc-resource-card__meta { display: flex; align-items: center; gap: 7px; height: 38px; padding: 7px 4px 2px; }
.rc-resource-card__meta input { flex: 0 0 auto; width: 15px; height: 15px; margin: 0; accent-color: var(--rc-primary); }
.rc-resource-card__meta span { overflow: hidden; color: var(--rc-text); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.rc-resource-picker__empty { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 280px; color: var(--rc-muted); }
.rc-resource-picker__empty i { font-size: 22px; color: #9ba9a4; }
.rc-resource-picker__pagination { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-height: 42px; padding-top: 10px; }
.rc-resource-picker__pagination .page { float: none !important; order: 2; margin: 0 !important; }
.rc-resource-picker__pagination > span { float: none !important; order: 1; margin: 0 !important; color: var(--rc-muted); font-size: 11px; }
.rc-intercut-resource-page.rc-rtl .rc-resource-picker { direction: rtl; }
.rc-intercut-resource-page.rc-rtl .rc-resource-picker__duration { margin-right: auto; margin-left: 0; }
@media(max-width:620px){.rc-resource-picker__toolbar{align-items:stretch;flex-direction:column;gap:10px}.rc-resource-picker__duration{margin:0}.rc-resource-picker__field{justify-content:space-between}}

/* Physical remote control */
.rc-remote-page #webControl { width: min(390px,calc(100% - 20px)); padding-bottom: 12px; background: transparent; border: 0; box-shadow: none; }
.rc-remote-page .rc-remote-heading { min-height: 64px; border-radius: 14px 14px 0 0; }
.rc-remote-page .remote_control { padding: 10px 16px 16px; background: #e9eeec; border-radius: 0 0 18px 18px; }
.rc-remote-handset { position: relative; max-width: 330px; margin: 0 auto; padding: 16px 20px 18px; background: linear-gradient(145deg,#2e3634,#171d1b); border: 1px solid #111614; border-radius: 28px; box-shadow: inset 0 1px rgba(255,255,255,.12),inset 0 -3px 8px rgba(0,0,0,.35),0 14px 28px rgba(15,34,29,.24); direction: ltr; }
.rc-remote-handset::after { position: absolute; bottom: 8px; left: 50%; width: 44px; height: 3px; content: ""; background: #080b0a; border-radius: 3px; transform: translateX(-50%); }
.rc-remote-display { min-height: 74px; margin-bottom: 12px; padding: 10px 12px; overflow: hidden; color: #c8eadf; background: linear-gradient(160deg,#173a31,#0c2620); border: 1px solid #3a5b52; border-radius: 9px; box-shadow: inset 0 2px 8px rgba(0,0,0,.6); font-family: Consolas,monospace; }
.rc-remote-display > div:first-child { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.rc-remote-display > div:first-child span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-remote-display > strong { display: block; margin-top: 4px; overflow: hidden; color: #8fc8b7; font-size: 13px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.rc-remote-feedback { min-height: 20px; margin-top: 5px; color: #e4bc65; font-size: 12px; }
.rc-remote-feedback span { display: block; margin: 0 !important; padding: 0 !important; background: none !important; }
.rc-remote-top-actions,.rc-remote-screen-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.rc-remote-key { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 7px; color: #dbe3e0; text-decoration: none; background: linear-gradient(#414a47,#29302e); border: 1px solid #111614; border-radius: 22px; box-shadow: inset 0 1px rgba(255,255,255,.14),0 3px 0 #0b0e0d,0 5px 8px rgba(0,0,0,.28); text-shadow: 0 -1px #000; }
.rc-remote-key:hover,.rc-remote-key:focus { color: #fff; text-decoration: none; background: linear-gradient(#4c5753,#323a37); }
.rc-remote-key:active { transform: translateY(2px); box-shadow: inset 0 1px 3px rgba(0,0,0,.4),0 1px 0 #0b0e0d; }
.rc-remote-key i { font-size: 16px; }
.rc-remote-key span { font-size: 13px; }
.rc-remote-key--power { color: #fff; background: linear-gradient(#d95b50,#a82e26); border-color: #6f1e18; }
.rc-remote-key--power:hover { background: linear-gradient(#e16b61,#b43830); }
.rc-remote-volume { display: grid; grid-template-columns: 78px minmax(0,1fr); gap: 14px; align-items: center; margin: 15px 0; }
.rc-remote-volume > .rc-remote-key { min-height: 72px; flex-direction: column; border-radius: 16px; }
.rc-remote-rocker { display: grid; grid-template-columns: 56px minmax(0,1fr) 56px; height: 72px; overflow: hidden; background: #252c2a; border: 1px solid #0b0e0d; border-radius: 36px; box-shadow: 0 3px 0 #090c0b,0 5px 8px rgba(0,0,0,.3); }
.rc-remote-rocker a,.rc-remote-rocker strong { display: flex; align-items: center; justify-content: center; flex-direction: column; color: #dce5e2; text-decoration: none; }
.rc-remote-rocker a { background: linear-gradient(#414a47,#29302e); }
.rc-remote-rocker a:first-child { border-right: 1px solid #171c1a; }.rc-remote-rocker a:last-child { border-left: 1px solid #171c1a; }
.rc-remote-rocker a span,.rc-remote-rocker strong { font-size: 12px; text-align: center; line-height: 1.25; }.rc-remote-rocker strong i{margin-bottom:4px;color:#7eb8a7;font-size:18px}
.rc-remote-pad { position: relative; width: 220px; height: 220px; margin: 0 auto 16px; background: radial-gradient(circle,#343d3a 0 46%,#242b29 47% 67%,#121715 68%); border: 1px solid #0a0d0c; border-radius: 50%; box-shadow: inset 0 2px rgba(255,255,255,.1),0 5px 0 #080b0a,0 8px 14px rgba(0,0,0,.35); }
.rc-remote-pad a { position: absolute; display: flex; align-items: center; justify-content: center; flex-direction: column; width: 70px; height: 60px; color: #dbe4e1; text-align: center; text-decoration: none; border-radius: 27px; }
.rc-remote-pad a:hover { color: #fff; background: rgba(83,111,102,.4); }.rc-remote-pad a i{font-size:17px}.rc-remote-pad a span{max-width:66px;margin-top:3px;overflow:hidden;font-size:11px;line-height:13px;text-overflow:ellipsis;white-space:nowrap}
.rc-remote-pad__top { top: 4px; left: 75px; }.rc-remote-pad__bottom { bottom: 4px; left: 75px; }.rc-remote-pad__left { top: 80px; left: 2px; }.rc-remote-pad__right { top: 80px; right: 2px; }
.rc-remote-pad .rc-remote-pad__center { top: 75px; left: 75px; width: 70px; height: 70px; color: #fff; background: linear-gradient(#12806b,#075d4e); border: 1px solid #043f35; border-radius: 50%; box-shadow: inset 0 1px rgba(255,255,255,.18),0 3px 0 #032d26; }
.rc-remote-pad .rc-remote-pad__center i { font-size: 19px; }
.rc-remote-pad .rc-remote-pad__center span { font-size: 12px; line-height: 14px; }
.rc-remote-screen-actions { margin-top: 6px; }.rc-remote-wide-key{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;font-size:13px;margin-top:14px;color:#cfd9d5;text-decoration:none;background:#252c2a;border:1px solid #0b0e0d;border-radius:18px}
.rc-remote-page.rc-rtl .rc-remote-handset { direction: ltr; }.rc-remote-page.rc-rtl .rc-remote-key span,.rc-remote-page.rc-rtl .rc-remote-pad span{direction:rtl}

/* Batch settings dashboard */
.rc-batch-settings-grid { display: grid; gap: 14px; }
.rc-batch-setting-card { position: relative; overflow: hidden !important; }
.rc-batch-setting-card::before { position: absolute; top: 0; left: 0; width: 4px; height: 100%; content: ""; background: #b7cbc4; }
.rc-batch-settings .rc-batch-setting-card::after { display: none !important; content: none !important; }
.rc-batch-setting-card.update::before { background: #3e83aa; }.rc-batch-setting-card.clearlayout::before { background: #c96b61; }.rc-batch-setting-card.screenshots::before { background: #c9932d; }.rc-batch-setting-card.sound::before { background: var(--rc-primary); }
.rc-batch-setting-card .prompt { padding: 0 !important; background: transparent !important; border: 0 !important; }
.rc-batch-setting-card .prompt p { min-height: 0 !important; padding: 0 0 12px !important; color: var(--rc-muted) !important; background: transparent !important; border-bottom: 1px solid #e8edeb !important; line-height: 1.65; }
.rc-batch-setting-card .prompt p span { color: var(--rc-primary); font-weight: 700; }
.rc-batch-power-card { display: flow-root; }
/* 2026-09-18 批量发布 · 电源计划：开机与关机共用同一份运行周期。
   结构直接复用设备端「设置定时开关机」弹窗（runset.jsp）的 .rc-run-cycle /
   .rc-run-strategy-* 类，所以这里只需要把它放进整宽的卡片里。 */
.rc-batch-power-panel--unified { float: none; width: 100%; padding: 0; background: transparent; border: 0; }
.rc-batch-power-panel--unified .rc-run-cycle { margin: 0 0 10px; }
.rc-batch-power-panel--unified .rc-run-strategy-grid { padding: 0; }
.rc-batch-power-panel--unified .rc-run-weekdays { grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); }
.rc-batch-card-actions { display: flex; justify-content: flex-end; clear: both; padding-top: 14px; }
.rc-batch-card-actions .btn,.rc-batch-volume-control .btn { margin: 0 !important; color: #fff !important; background: var(--rc-primary) !important; border: 0 !important; text-shadow: none !important; }
.rc-batch-volume-control { display: flex; align-items: center; gap: 16px; min-height: 82px; padding: 13px !important; background: #f7f9f8; border: 1px solid var(--rc-border); border-radius: 6px; }
.rc-batch-volume-control #example-21 { float: none !important; flex: 1; }.rc-batch-volume-control #result-21{min-width:42px;padding:5px 9px;color:var(--rc-primary);font-weight:700;text-align:center;background:#e9f3f0;border-radius:14px}
.rc-batch-settings #screenCutImg { min-height: 70px; flex-wrap: wrap; gap: 10px; padding: 14px; }
.rc-batch-settings #screenCutImg:empty { display: none; }
.rc-layout-publish-page.rc-rtl .rc-batch-setting-card::before { right: 0; left: auto; }.rc-layout-publish-page.rc-rtl .rc-batch-power-panel--unified .rc-run-cycle,.rc-layout-publish-page.rc-rtl .rc-batch-power-panel--unified .rc-run-strategy-grid{direction:rtl}.rc-layout-publish-page.rc-rtl .rc-batch-card-actions{justify-content:flex-start}
@media(max-width:900px){.rc-batch-power-panel--unified .rc-run-weekdays{grid-template-columns:repeat(auto-fit,minmax(84px,1fr))}}

/* Device automatic power schedule dialog */
.rc-device-run-page {
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  color: var(--rc-text);
  font-family: var(--rc-font);
  background: var(--rc-canvas);
}
.rc-device-run-page * { box-sizing: border-box; }
.rc-device-run-shell { width: 100%; max-width: 960px; margin: 0 auto; padding: 10px; }
.rc-run-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  padding: 7px 10px;
  color: #31564d;
  background: #eef6f3;
  border: 1px solid #d5e5df;
  border-left: 4px solid var(--rc-marker);
  border-radius: var(--rc-radius);
}
.rc-run-notice > i { flex: 0 0 auto; color: var(--rc-primary); font-size: 15px; }
.rc-run-notice > div { min-width: 0; }
.rc-run-notice strong { color: var(--rc-text); font-size: 12px; }
.rc-run-notice p { display: inline; margin: 0 0 0 8px; color: var(--rc-muted); font-size: 11px; line-height: 1.5; }
.rc-run-summary,
.rc-run-editor { overflow: hidden; background: #fff; border: 1px solid var(--rc-border); border-radius: var(--rc-radius); box-shadow: var(--rc-shadow); }
.rc-run-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  padding: 6px 11px;
  background: #fafcfb;
  border-bottom: 1px solid var(--rc-border);
}
.rc-run-section-head > div { display: flex; align-items: center; gap: 8px; min-width: 0; }
.rc-run-section-head > div > i { color: var(--rc-primary); font-size: 14px; }
.rc-run-section-head strong { color: var(--rc-text); font-size: 13px; font-weight: 700; }
.rc-device-run-page .rc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: auto !important;
  min-width: 76px;
  min-height: 28px;
  margin: 0 !important;
  padding: 3px 10px !important;
  color: var(--rc-muted);
  font-family: var(--rc-font);
  font-size: 11px;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
  background: #fff;
  border: 1px solid #cfd8d5;
  border-radius: 4px;
  box-shadow: none;
  text-shadow: none;
  cursor: pointer;
}
.rc-device-run-page .rc-btn:hover,
.rc-device-run-page .rc-btn:focus { text-decoration: none; filter: brightness(.96); }
.rc-device-run-page .rc-btn:focus-visible { outline: 2px solid rgba(7,93,78,.25); outline-offset: 2px; }
.rc-device-run-page .rc-btn--primary { color: #fff; background: var(--rc-primary); border-color: var(--rc-primary); }
.rc-device-run-page .rc-btn--accent { color: #fff; background: var(--rc-accent); border-color: var(--rc-accent); }
.rc-device-run-page .rc-btn--danger { color: #fff; background: var(--rc-danger); border-color: var(--rc-danger); }
.rc-device-run-page .rc-btn--neutral { color: var(--rc-muted); background: #fff; border-color: #cfd8d5; }
.rc-run-summary-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 10px; }
.rc-run-summary-card { display: flex; align-items: flex-start; gap: 10px; min-width: 0; min-height: 62px; padding: 10px; background: #f8faf9; border: 1px solid #e1e8e5; border-radius: 6px; }
.rc-run-summary-card > i { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 30px; width: 30px; height: 30px; color: #fff; font-size: 14px; background: var(--rc-primary); border-radius: 50%; }
.rc-run-summary-card--stop > i { background: var(--rc-warning); }
.rc-run-summary-card > div { min-width: 0; }
.rc-run-summary-card strong { display: block; margin: 0 0 3px; color: var(--rc-text); font-size: 12px; }
.rc-run-summary-card p { margin: 0; color: var(--rc-muted); font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.rc-run-summary-actions { display: flex; justify-content: flex-end; padding: 7px 10px; background: #fbfcfb; border-top: 1px solid var(--rc-border); }
.rc-run-strategy-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 10px; }
.rc-run-strategy-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--rc-border); border-radius: 6px; }
.rc-run-strategy-card > header { display: flex; align-items: center; gap: 7px; min-height: 30px; padding: 5px 10px; color: var(--rc-primary); background: #f2f7f5; border-bottom: 1px solid #dce8e4; }
.rc-run-strategy-card--stop > header { color: #9b6811; background: #fbf6ec; border-bottom-color: #eadfc8; }
.rc-run-strategy-card > header i { font-size: 13px; }
.rc-run-strategy-card > header strong { color: inherit; font-size: 12px; }
.rc-run-field { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 8px; align-items: center; padding: 7px 10px; }
.rc-run-field > label { margin: 0; color: var(--rc-muted); font-size: 11px; font-weight: 600; }
.rc-run-field select { width: 100%; height: 28px; margin: 0; padding: 2px 22px 2px 7px; color: var(--rc-text); font-family: var(--rc-font); font-size: 11px; background: #fff; border: 1px solid #cfd8d5; border-radius: 4px; box-shadow: none; }
.rc-run-field select:focus { border-color: var(--rc-primary); outline: 2px solid rgba(7,93,78,.1); }
.rc-run-weekdays { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; padding: 0 10px 9px; }
.rc-run-weekdays label { display: flex; align-items: center; gap: 5px; min-width: 0; min-height: 25px; margin: 0; padding: 3px 6px; color: #46534f; font-size: 11px; background: #f7f9f8; border: 1px solid #e1e7e5; border-radius: 3px; cursor: pointer; }
.rc-run-weekdays input[type="checkbox"] { flex: 0 0 auto; width: 13px; height: 13px; margin: 0; accent-color: var(--rc-primary); }
.rc-run-weekdays input[type="checkbox"]:disabled { opacity: .72; cursor: default; }
.rc-run-weekdays span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 共用运行周期面板：开机、关机不再各填一份周期 */
.rc-run-cycle { margin: 10px 10px 0; background: #f8faf9; border: 1px solid var(--rc-border); border-radius: 6px; }
.rc-run-cycle .rc-run-field { padding-bottom: 5px; }
.rc-run-cycle .rc-run-weekdays { padding-bottom: 8px; }
.rc-run-cycle-hint { display: flex; align-items: center; gap: 5px; margin: 0; padding: 6px 10px; color: var(--rc-muted); font-size: 11px; line-height: 1.5; background: #fff; border-top: 1px dashed #e1e8e5; border-radius: 0 0 6px 6px; }
.rc-run-cycle-hint > i { flex: 0 0 auto; color: var(--rc-primary); font-size: 12px; }
.rc-run-time-field > div { display: grid; grid-template-columns: minmax(58px,1fr) auto minmax(58px,1fr); gap: 5px; align-items: center; }
.rc-run-time-field > div > span { color: var(--rc-muted); font-weight: 700; text-align: center; }
/* 策略卡里只剩「时间」一行时，恢复上下内边距（原来是紧跟在星期勾选下面，去掉了上边距） */
.rc-run-time-field--solo { padding-top: 7px; }
.rc-run-editor-actions { position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 10px; background: rgba(251,252,251,.97); border-top: 1px solid var(--rc-border); }
.rc-run-editor-actions > div { display: flex; align-items: center; gap: 7px; }
.rc-device-run-page.rc-rtl .rc-device-run-shell,
.rc-device-run-page.rc-rtl .rc-run-notice,
.rc-device-run-page.rc-rtl .rc-run-summary,
.rc-device-run-page.rc-rtl .rc-run-editor { direction: rtl; }
.rc-device-run-page.rc-rtl .rc-run-notice { border-right: 4px solid var(--rc-marker); border-left-width: 1px; }
@media (max-width: 640px) {
  .rc-device-run-shell { padding: 8px; }
  .rc-run-summary-grid,
  .rc-run-strategy-grid { grid-template-columns: minmax(0,1fr); gap: 10px; padding: 10px; }
  .rc-run-weekdays { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rc-run-editor-actions { align-items: stretch; flex-direction: column-reverse; }
  .rc-run-editor-actions > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rc-run-editor-actions > .rc-btn { width: 100% !important; }
}
@media (max-width: 420px) {
  .rc-run-section-head { align-items: stretch; flex-direction: column; }
  .rc-run-section-head .rc-btn { width: 100% !important; }
  .rc-run-field { grid-template-columns: minmax(0,1fr); gap: 6px; }
}

/* Intercut subtitle studio */
.rc-scrolltext-workspace { display: grid; grid-template-columns: minmax(280px,.78fr) minmax(480px,1.5fr); gap: 14px; margin-top: 16px; }
.rc-scrolltext-presets { height: auto !important; max-height: 640px; margin: 0 !important; padding: 14px !important; overflow-y: auto !important; background: #fff !important; border: 1px solid var(--rc-border) !important; border-radius: var(--rc-radius) !important; box-shadow: var(--rc-shadow); }
.rc-scrolltext-presets .roll_div { margin: 0 0 12px; padding: 10px; background: #f8faf9; border: 1px solid #e0e7e4; border-radius: 6px; }
.rc-scrolltext-presets .roll_div_box { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 7px; align-items: center; padding: 0; overflow: visible; border: 0; }
.rc-scrolltext-presets .roll_marquee { float: none; width: 100%; height: 38px; line-height: 38px; border-radius: 4px; }
.rc-scrolltext-presets .roll_a { float: none; min-width: 50px; margin: 0 !important; padding: 7px 9px; color: #fff; font-size: 11px; line-height: 20px; background: var(--rc-primary); border: 0; border-radius: 4px; }
.rc-scrolltext-presets .roll_a:last-of-type { color: var(--rc-danger); background: #fff; border: 1px solid #e6c9c5; }
.rc-scrolltext-presets .roll_p { display: flex; flex-wrap: wrap; gap: 5px 14px; margin: 9px 0 0; color: var(--rc-muted); font-size: 10px; line-height: 1.5; }
.rc-scrolltext-presets .roll_p span { margin: 0; }.rc-scrolltext-presets .roll_p b{color:var(--rc-text);font-weight:600}
.rc-scrolltext-workspace .rc-scrolltext-editor { min-width: 0; margin: 0 !important; padding: 18px !important; }
.rc-scrolltext-editor .zImg { margin-bottom: 14px; padding: 10px; background: #17211e; border-radius: 6px; }.rc-scrolltext-editor .zImg p{margin:0}.rc-scrolltext-editor .zImg marquee{border-radius:4px}
.rc-scrolltext-editor .zWord { width: 100% !important; }.rc-scrolltext-editor .zWord>p{color:var(--rc-muted);font-size:11px}.rc-scrolltext-editor .zWord>p font{color:var(--rc-warning)!important}
.rc-scrolltext-editor .Zradio,.rc-scrolltext-editor .backColor,.rc-scrolltext-editor .wordPo { display: flex !important; align-items: center; flex-wrap: wrap; gap: 8px; width: auto !important; margin: 12px 0 0 !important; padding: 10px 12px; background: #f7f9f8; border-radius: 5px; }
.rc-scrolltext-editor .Zradio label { margin: 0; }.rc-scrolltext-editor input[type=radio]{accent-color:var(--rc-primary)}
.rc-scrolltext-editor .backColor ul { padding: 0; }.rc-scrolltext-editor .backColor li{margin:0!important;border:2px solid #fff!important;box-shadow:0 0 0 1px #cdd8d4;border-radius:50%!important;cursor:pointer}
.rc-scrolltext-editor .wordPo input,.rc-scrolltext-editor .zBot input,.rc-scrolltext-editor .zBot select { height: 34px; margin: 0; border-color: var(--rc-border); border-radius: 4px; box-shadow: none; }
.rc-scrolltext-editor .rc-scrolltext-speech { margin: 12px 0 0 !important; }
.rc-scrolltext-editor .zBot > p { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }.rc-scrolltext-editor .zBot>div:not(.zBtn){display:flex;align-items:center;flex-wrap:wrap;gap:10px}.rc-scrolltext-editor .zBot>div>div{display:flex!important;align-items:center;flex-wrap:wrap;gap:6px;width:auto!important}.rc-scrolltext-editor #playCurTime{display:inline-flex!important;align-items:center;flex-wrap:wrap;gap:5px}
.rc-scrolltext-editor .rc-publish-actions { display: flex !important; justify-content: flex-end; gap: 8px; }
.rc-layout-publish-page.rc-rtl .rc-scrolltext-workspace{direction:rtl}.rc-layout-publish-page.rc-rtl .rc-scrolltext-editor .rc-publish-actions{justify-content:flex-start}
@media(max-width:1080px){.rc-scrolltext-workspace{grid-template-columns:1fr}.rc-scrolltext-presets{max-height:420px}}

.rc-admin,
.backstageHome-2 {
  min-height: 100%;
  color: var(--rc-text);
  font-family: var(--rc-font) !important;
}

.backstageHome-2 *,
.backstageHome-2 *::before,
.backstageHome-2 *::after,
.rc-confirm *,
.rc-confirm *::before,
.rc-confirm *::after {
  box-sizing: border-box;
}

.rc-dashboard-page {
  margin: 0;
  background: var(--rc-canvas) !important;
}

/* Framework shell */
.backstageHome-2 .console-component-topbar {
  direction: ltr;
  min-width: 0;
  height: 72px;
  padding-right: 12px;
  border-bottom: 1px solid var(--rc-border);
  background: var(--rc-surface);
  box-shadow: 0 1px 8px rgba(17, 52, 43, .05);
}

.backstageHome-2 .console-component-topbar .topbar-info {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  height: 72px;
}

.backstageHome-2 .console-component-topbar .topbar-logo {
  flex: 0 0 220px;
  width: 220px;
  height: 72px;
  justify-content: center;
  padding: 0;
  border-right: 1px solid var(--rc-border);
  background: #fff;
  transition: width .18s ease, flex-basis .18s ease;
}

.backstageHome-2 .console-component-topbar .topbar-logo.is-sidebar-collapsed {
  flex-basis: 64px;
  width: 64px;
}

.backstageHome-2 .console-component-topbar .topbar-btn .logoImg {
  width: 164px;
  max-width: calc(100% - 28px);
  max-height: 42px;
  object-fit: contain;
}

.backstageHome-2 .console-component-topbar .topbar-logo.is-sidebar-collapsed .logoImg {
  width: 46px;
  height: 46px;
  object-fit: cover;
  object-position: left center;
}

.backstageHome-2 .console-component-topbar .topbar-home-link {
  width: auto;
  height: 72px;
  margin: 0;
  padding: 0 22px;
  color: var(--rc-text);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .02em;
}

.backstageHome-2 .console-component-topbar .topbar-sigle {
  display: flex;
  align-items: center;
  min-width: 54px;
  height: 72px;
  border-radius: 0;
}

.backstageHome-2 .console-component-topbar .topbar-sigle:hover,
.backstageHome-2 .console-component-topbar .topbar-sigle .topbar-tit:hover {
  background: #eef5f3;
}

.backstageHome-2 .console-component-topbar .topbar-tit-user {
  width: auto;
  min-width: 164px;
}

.backstageHome-2 .console-component-topbar .topbar-sigle .topbar-tit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 72px;
  padding: 0 14px;
  color: var(--rc-muted);
  line-height: 1;
  cursor: default;
}

.backstageHome-2 .console-component-topbar .topbar-sigle .topbar-tit > img {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 7px;
  border-radius: 50%;
  box-sizing: content-box;
  background: var(--rc-primary);
  object-fit: contain;
  filter: none;
}

.backstageHome-2 .console-component-topbar .topbar-sigle:not(.topbar-tit-user) .topbar-tit {
  width: 52px;
  padding: 0 9px;
}

.backstageHome-2 .console-component-topbar .topbar-sigle:hover .topbar-tit > img {
  background: var(--rc-primary-hover);
}

.backstageHome-2 .console-component-topbar .topbar-sigle ul {
  top: 64px;
  overflow: hidden;
  padding: 6px;
  border: 1px solid var(--rc-border);
  border-radius: var(--rc-radius);
  background: var(--rc-surface);
  box-shadow: 0 12px 30px rgba(17, 52, 43, .15);
}

.backstageHome-2 .console-component-topbar .topbar-sigle ul .titC {
  padding: 0;
  border: 0;
}

.backstageHome-2 .console-component-topbar .topbar-sigle ul a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 4px;
  color: var(--rc-text);
}

.backstageHome-2 .console-component-topbar .topbar-sigle ul a img {
  width: 14px;
  height: 14px;
  margin: 0;
  padding: 4px;
  border-radius: 4px;
  box-sizing: content-box;
  background: var(--rc-primary);
  object-fit: contain;
}

.backstageHome-2 .console-component-topbar .topbar-sigle ul a:hover {
  background: #eef5f3;
  color: var(--rc-primary);
}

.backstageHome-2 .viewFramework-body {
  padding-top: 72px;
}

/* Primary navigation */
.backstageHome-2 .viewFramework-body .viewFramework-sidebar {
  top: 72px;
  width: 220px;
  background: var(--rc-shell);
  color: #fff;
  box-shadow: 5px 0 20px rgba(0, 39, 33, .08);
}

.backstageHome-2 .viewFramework-body .console-component-sidebar .sidebar-fold {
  height: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  background: rgba(255, 255, 255, .04);
  line-height: 42px !important;
}

.backstageHome-2 .viewFramework-body .console-component-sidebar .sidebar-fold:hover,
.backstageHome-2 .viewFramework-body .console-component-sidebar .sidebar-fold:focus {
  background: rgba(255, 255, 255, .1);
  outline: 0;
}

.backstageHome-2 .viewFramework-body .console-component-sidebar .sidebar-fold img {
  opacity: .8;
  filter: brightness(0) invert(1);
}

.backstageHome-2 .sidebar-title {
  height: 48px;
  border: 0;
  background: transparent;
  line-height: 48px;
}

.backstageHome-2 .sidebar-title .sidebar-title-inner {
  color: rgba(255, 255, 255, .78);
}

.backstageHome-2 .sidebar-title:hover,
.backstageHome-2 .sidebar-title.active {
  background: rgba(255, 255, 255, .09);
}

.backstageHome-2 .sidebar-title.active::before,
.backstageHome-2 .console-component-sidebar .sidebar-nav li.active::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--rc-marker);
  content: "";
}

.backstageHome-2 .sidebar-title.active .sidebar-title-inner,
.backstageHome-2 .sidebar-title:hover .sidebar-title-inner {
  color: #fff;
}

.backstageHome-2 .console-component-sidebar .sidebar-nav ul {
  width: 220px;
}

.backstageHome-2 .console-component-sidebar .sidebar-nav li {
  position: relative;
}

.backstageHome-2 .console-component-sidebar .sidebar-nav li a {
  height: 42px;
  line-height: 42px;
}

.backstageHome-2 .console-component-sidebar .sidebar-trans {
  padding: 4px 0 7px;
  background: rgba(0, 27, 23, .22);
}

.backstageHome-2 .console-component-sidebar .sidebar-trans a,
.backstageHome-2 .console-component-sidebar .sidebar-nav .nav-icon {
  color: rgba(255, 255, 255, .7);
}

.backstageHome-2 .console-component-sidebar .sidebar-nav li.active a,
.backstageHome-2 .console-component-sidebar .sidebar-nav li.active a:hover,
.backstageHome-2 .console-component-sidebar .sidebar-trans li a:focus,
.backstageHome-2 .console-component-sidebar .sidebar-trans li a:active {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.backstageHome-2 .console-component-sidebar .sidebar-trans li a:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.backstageHome-2 .viewFramework-con {
  min-width: 0;
  min-height: calc(100vh - 72px);
  padding-left: 220px;
  background: var(--rc-canvas);
}

.backstageHome-2 .viewFramework-con.currentP50 {
  padding-left: 64px;
}

.backstageHome-2 .viewFramework-body .current50 {
  width: 64px !important;
}

/* Third-level navigation */
.rc-subnav {
  align-self: stretch;
  flex: 0 0 auto;
  border-right: 1px solid var(--rc-border);
  background: var(--rc-surface);
}

.rc-subnav .viewFramework-product-navbar {
  width: 190px;
  background: var(--rc-surface);
}

.rc-subnav .viewFramework-product-navbar .tit {
  padding: 24px 18px 16px;
  border-bottom: 1px solid var(--rc-border);
  background: var(--rc-surface);
  color: var(--rc-text);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
}

.rc-subnav .viewFramework-product-navbar .viewFramework-nav {
  padding: 8px;
}

.rc-subnav .viewFramework-product-navbar .viewFramework-nav li {
  position: relative;
  margin-bottom: 2px;
  border-radius: 4px;
}

.rc-subnav .viewFramework-product-navbar .viewFramework-nav li a {
  padding: 10px 12px 10px 16px;
  border-radius: 4px;
  color: var(--rc-muted);
  font-size: 13px;
}

.rc-subnav .viewFramework-product-navbar .viewFramework-nav li.bgGray,
.rc-subnav .viewFramework-product-navbar .viewFramework-nav li a:hover,
.rc-subnav .viewFramework-product-navbar .viewFramework-nav li a:focus {
  background: #edf4f2;
  color: var(--rc-primary);
}

.rc-subnav .viewFramework-product-navbar .viewFramework-nav li.bgGray::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 3px;
  border-radius: 2px;
  background: var(--rc-marker);
  content: "";
}

/* Dashboard */
.rc-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(330px, 1fr);
  gap: 18px;
  padding: 22px;
  overflow: visible;
}

.rc-dashboard-heading {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-width: 0;
  padding: 2px 2px 0;
}

.rc-dashboard-heading h1 {
  margin: 3px 0 0;
  color: var(--rc-text);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
}

.rc-dashboard-eyebrow,
.rc-dashboard-heading__date {
  margin: 0;
  color: var(--rc-muted);
  font-size: 12px;
}

.rc-dashboard-main,
.rc-dashboard-aside {
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

.rc-dashboard .ad-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 116px;
  height: auto;
  margin: 0 0 16px;
  padding: 24px 28px;
  overflow: hidden;
  border-radius: var(--rc-radius);
  background: linear-gradient(125deg, var(--rc-shell), #0b6656);
  box-shadow: var(--rc-shadow);
}

.rc-dashboard .ad-banner::after {
  position: absolute;
  right: -45px;
  top: -70px;
  width: 210px;
  height: 210px;
  border: 40px solid rgba(217, 173, 72, .13);
  border-radius: 50%;
  content: "";
}

.rc-dashboard .ad-title {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.45;
}

.rc-dashboard .ad-button {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  padding: 10px 20px;
  border: 1px solid #e8c873;
  border-radius: 4px;
  background: var(--rc-marker);
  box-shadow: none;
  color: #24312e;
  font-size: 14px;
  font-weight: 600;
  animation: none;
}

.rc-dashboard .ad-button:hover,
.rc-dashboard .ad-button:focus {
  background: #e4bd5d;
  color: #17211f;
}

.rc-dashboard .sh_downl,
.rc-dashboard .sh_wrap3,
.rc-dashboard .sh_flow,
.rc-dashboard .sh_wrig > .marbot,
.rc-dashboard .sh_dwrap,
.rc-dashboard .sh_wr1,
.rc-dashboard .sh_adi {
  border: 1px solid var(--rc-border) !important;
  border-radius: var(--rc-radius);
  background: var(--rc-surface) !important;
  box-shadow: var(--rc-shadow);
}

.rc-dashboard .sh_downl {
  display: flex;
  align-items: center;
  min-height: 98px;
  margin-bottom: 16px;
  padding: 18px 16px;
}

.rc-dashboard .sh_downl_span {
  color: var(--rc-text);
  font-weight: 600;
}

.rc-dashboard .sh_downl .close {
  color: var(--rc-muted);
  opacity: .7;
}

.rc-dashboard .tj {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
  overflow: visible;
}

.rc-dashboard .tj > div {
  display: flex;
  align-items: center;
  width: auto;
  height: 88px;
  margin: 0;
  float: none;
  border: 1px solid var(--rc-border);
  border-radius: var(--rc-radius);
  background: var(--rc-surface);
  box-shadow: var(--rc-shadow);
  transition: transform .16s ease, box-shadow .16s ease;
}

.rc-dashboard .tj > div:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(17, 52, 43, .1);
}

.rc-dashboard .tj > div img {
  width: 38px;
  height: 38px;
  margin: 0 0 0 18px;
  object-fit: contain;
}

.rc-dashboard .tj div p {
  min-width: 0;
  margin: 0;
  padding: 0 10px 0 16px;
  color: var(--rc-muted) !important;
  line-height: 1.4;
}

.rc-dashboard .tj div p em {
  display: block;
  margin: 3px 0 0;
  color: var(--rc-text);
  font-size: 22px;
  font-weight: 600;
}

.rc-dashboard .sh_wrap3,
.rc-dashboard .sh_flow {
  margin: 0 0 16px;
}

.rc-dashboard .sh_wrap31,
.rc-dashboard .sh_flow h4,
.rc-dashboard .sh_wr1 {
  min-height: 48px;
  height: auto;
  margin: 0;
  padding: 0 18px !important;
  border-bottom: 1px solid var(--rc-border);
  color: var(--rc-text) !important;
  font-size: 14px !important;
  font-weight: 600;
  line-height: 48px;
}

.rc-dashboard .sh_wrap31 a,
.rc-dashboard .sh_wr1 a,
.rc-dashboard .sy_combo a {
  color: var(--rc-primary) !important;
}

.rc-dashboard .sh_wrap32 {
  padding: 16px 18px;
}

.rc-dashboard .sh_wrap32 .progress {
  height: 8px;
  margin: 12px 0 18px;
  overflow: hidden;
  border-radius: 4px;
  background: #e8eeec;
  box-shadow: none;
}

.rc-dashboard .sh_wrap32 .progress .bar {
  background: var(--rc-primary);
  box-shadow: none;
}

.rc-dashboard .sh_wrap32 table {
  border-color: var(--rc-border);
}

.rc-dashboard .sh_wrap32 table td {
  height: 42px;
  border-color: var(--rc-border) !important;
  background: var(--rc-surface) !important;
  color: var(--rc-muted) !important;
  font-size: 12px !important;
  line-height: 42px;
}

.rc-dashboard .sh_wrap32 table tr:first-child td {
  background: #f7f9f8 !important;
  color: #3e4b47 !important;
  font-weight: 600;
}

.rc-dashboard .sh_flow ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 16px;
}

.rc-dashboard .sh_flow ul li {
  width: auto;
  min-height: 112px;
  margin: 0 !important;
  padding: 16px;
  float: none;
  border: 1px solid var(--rc-border);
  border-radius: 5px;
  background: #fbfcfc;
}

.rc-dashboard .sh_flow ul li h5 {
  margin: 0 0 7px;
  color: var(--rc-primary);
  font-size: 14px;
}

.rc-dashboard .sh_flow ul li p {
  color: var(--rc-muted);
  line-height: 1.7;
}

.rc-dashboard .sh_wrig > .marbot {
  display: flex;
  align-items: center;
  min-height: 145px;
  margin: 0 0 14px !important;
  padding: 20px;
}

.rc-dashboard .sh_wr2img {
  width: 70px;
  height: 70px;
  margin: 0;
  overflow: hidden;
  border: 3px solid #edf4f2;
  border-radius: 50%;
}

.rc-dashboard .sh_wr2pp {
  min-width: 0;
  margin: 0 0 0 18px !important;
}

.rc-dashboard .sh_wr2pp p {
  display: block !important;
  margin: 5px 0 !important;
  color: var(--rc-muted) !important;
  line-height: 1.55;
}

.rc-dashboard .sh_wr2pp p:first-child {
  color: var(--rc-text) !important;
  font-size: 15px !important;
  font-weight: 600;
}

.rc-dashboard .sh_dwrap {
  margin-bottom: 16px;
  overflow: hidden;
}

.rc-dashboard .sy_combo {
  margin: 0;
  padding: 8px 18px;
}

.rc-dashboard .sy_combo li {
  min-height: 46px;
  border-color: var(--rc-border);
}

.rc-dashboard .sy_combo li span,
.rc-dashboard .sy_combo li b {
  color: var(--rc-muted);
}

.rc-dashboard .sy_combo li font {
  color: var(--rc-primary) !important;
}

.rc-dashboard .sh_adi {
  padding: 14px;
  box-shadow: var(--rc-shadow);
}

.rc-dashboard .sh_adi textarea {
  width: 100%;
  min-height: 104px;
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid #cfd9d5;
  border-radius: 4px;
  resize: vertical;
}

.rc-dashboard .sh_adi textarea:focus {
  border-color: var(--rc-primary);
  outline: 2px solid rgba(7, 93, 78, .12);
}

.rc-dashboard .sh_btn1,
.rc-dashboard .sh_btn2 {
  min-height: 32px;
  padding: 6px 16px;
  border-radius: 4px;
  background: var(--rc-primary);
  color: #fff;
}

.rc-dashboard .sh_btn1:hover,
.rc-dashboard .sh_btn2:hover {
  background: var(--rc-primary-hover);
}

/* Rebuilt home workbench */
.rc-workbench {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 24px;
  overflow: visible;
}

.rc-workbench a { text-decoration: none; }

.rc-workbench__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.rc-workbench__eyebrow,
.rc-workbench__subtitle,
.rc-workbench__heading h1 { margin: 0; }
.rc-workbench__eyebrow { margin-bottom: 5px; color: var(--rc-primary); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.rc-workbench__heading h1 { color: var(--rc-text); font-size: 25px; font-weight: 600; line-height: 1.3; }
.rc-workbench__subtitle { margin-top: 6px; color: var(--rc-muted); font-size: 13px; }
.rc-workbench__tools { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.rc-workbench__date { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; padding: 8px 11px; border: 1px solid var(--rc-border); border-radius: 4px; background: var(--rc-surface); color: var(--rc-muted); font-size: 12px; }
.rc-workbench__date i { padding: 0; color: var(--rc-primary); }

/* 首页在宽屏下使用完整的主内容区域，避免保留旧版 1500px 的居中空白。 */
.rc-dashboard-page .viewFramework-con {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  align-items: stretch;
}
.rc-dashboard-page .rc-workbench {
  flex: 1 1 auto;
  min-width: 0;
}

/* 首页首要任务：无设备时先完成设备接入，绑定后整块自动隐藏。 */
.rc-device-onboarding { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 270px; gap: 28px; min-height: 250px; margin: 0 0 18px; padding: 26px 30px; overflow: hidden; color: #fff; background: linear-gradient(128deg,#003f35 0%,#075d4e 62%,#0a6e5c 100%); border: 1px solid #075347; border-radius: 8px; box-shadow: 0 16px 36px rgba(0,63,53,.18); }
.rc-device-onboarding::before { position: absolute; top: 0; bottom: 0; left: 0; width: 5px; content: ""; background: var(--rc-marker); }
.rc-device-onboarding::after { position: absolute; right: -110px; bottom: -170px; width: 360px; height: 360px; content: ""; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.07); border-radius: 50%; }
.rc-device-onboarding__main { position: relative; z-index: 2; min-width: 0; }
.rc-device-onboarding__eyebrow { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 10px; color: #f0c96d; font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.rc-device-onboarding__eyebrow i { padding: 0; }
.rc-device-onboarding h2 { max-width: 690px; margin: 0; color: #fff; font-size: 25px; font-weight: 600; line-height: 1.35; }
.rc-device-onboarding__main > p { max-width: 760px; margin: 8px 0 0; color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.7; }
.rc-device-onboarding__steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; max-width: 820px; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: none; }
.rc-device-onboarding__steps li { display: flex; align-items: center; gap: 9px; min-width: 0; min-height: 48px; padding: 8px 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 5px; }
.rc-device-onboarding__steps b { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 25px; width: 25px; height: 25px; color: #173c33; font-size: 11px; background: #f0c96d; border-radius: 50%; }
.rc-device-onboarding__steps span { color: rgba(255,255,255,.9); font-size: 11px; line-height: 1.45; }
.rc-device-onboarding__actions { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.rc-device-onboarding__action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 0 0 auto; min-height: 42px; padding: 9px 18px; color: #173c33 !important; font-size: 13px; font-weight: 700; background: #f0c96d; border: 1px solid #f0c96d; border-radius: 5px; box-shadow: 0 7px 18px rgba(0,0,0,.15); white-space: nowrap; }
.rc-device-onboarding__action:hover, .rc-device-onboarding__action:focus { color: #173c33 !important; background: #f6d782; border-color: #f6d782; transform: translateY(-1px); }
.rc-device-onboarding__action i { padding: 0; }
.rc-device-onboarding__actions small { display: flex; align-items: flex-start; gap: 6px; max-width: 470px; color: rgba(255,255,255,.62); font-size: 10px; line-height: 1.5; }
.rc-device-onboarding__actions small i { flex: 0 0 auto; margin-top: 2px; padding: 0; color: #f0c96d; }
.rc-device-onboarding__visual { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; min-width: 0; }
.rc-device-onboarding__screen { position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; width: 220px; min-height: 150px; padding: 22px; background: rgba(255,255,255,.96); border: 7px solid rgba(255,255,255,.14); border-radius: 10px; box-shadow: 0 18px 40px rgba(0,25,21,.24); }
.rc-device-onboarding__screen::after { position: absolute; right: 50%; bottom: -29px; width: 76px; height: 22px; margin-right: -38px; content: ""; background: linear-gradient(to bottom,#d7e1de 0 62%,#fff 63%); clip-path: polygon(36% 0,64% 0,72% 72%,100% 72%,100% 100%,0 100%,0 72%,28% 72%); }
.rc-device-onboarding__screen > span { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; color: var(--rc-primary); font-size: 23px; background: #e8f2ef; border-radius: 50%; }
.rc-device-onboarding__screen > span i { padding: 0; }
.rc-device-onboarding__screen > strong { margin-top: 12px; color: var(--rc-text); font-size: 14px; }
.rc-device-onboarding__screen > small { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: #7a8581; font-size: 11px; }
.rc-device-onboarding__screen > small i { width: 7px; height: 7px; background: var(--rc-warning); border-radius: 50%; }
.rc-device-onboarding__link { position: absolute; right: 8px; bottom: 28px; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; color: #173c33; font-size: 17px; background: #f0c96d; border: 5px solid #075d4e; border-radius: 50%; }
.rc-device-onboarding__link i { padding: 0; }

.rc-language { position: relative; color: var(--rc-text); }
.rc-language summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  box-sizing: border-box;
  padding: 7px 10px;
  border: 1px solid var(--rc-border);
  border-radius: 4px;
  background: var(--rc-surface);
  color: var(--rc-muted);
  font-size: 12px;
  list-style: none;
  cursor: pointer;
}
.rc-language summary::-webkit-details-marker { display: none; }
.rc-language summary i { padding: 0; color: var(--rc-primary); }
.rc-language summary i:last-child { color: #9ba6a2; font-size: 10px; transition: transform .16s ease; }
.rc-language[open] summary { border-color: #bfd0ca; box-shadow: 0 0 0 2px rgba(7, 93, 78, .08); }
.rc-language[open] summary i:last-child { transform: rotate(180deg); }
.rc-language__menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 7px);
  right: 0;
  width: 205px;
  padding: 6px;
  border: 1px solid var(--rc-border);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(13, 43, 36, .16);
}
.rc-language__menu > a { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 4px; color: var(--rc-text); font-size: 12px; }
.rc-language__menu > a:hover, .rc-language__menu > a:focus { background: #f1f6f4; color: var(--rc-primary); }
.rc-language__menu > a.is-current { background: #eaf3f0; color: var(--rc-primary); font-weight: 600; }
.rc-language__menu > a > span { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 28px; width: 28px; height: 24px; border-radius: 3px; background: #edf2f0; color: #52615c; font-size: 10px; font-weight: 600; }
.rc-language__menu > a.is-current > span { background: var(--rc-primary); color: #fff; }

.rc-language--topbar {
  z-index: 40;
  display: flex;
  align-items: center;
  height: 72px;
  margin: 0;
  padding: 0 8px;
  border-right: 1px solid #edf1ef;
}
.rc-language--topbar summary {
  min-width: 116px;
  min-height: 38px;
  justify-content: center;
  border-color: transparent;
  background: transparent;
  color: var(--rc-muted);
  font-size: 13px;
}
.rc-language--topbar summary > i:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eaf3f0;
  color: var(--rc-primary);
}
.rc-language--topbar[open] summary,
.rc-language--topbar summary:hover {
  border-color: transparent;
  background: #eef5f3;
  box-shadow: none;
}
.rc-language--topbar .rc-language__menu {
  top: 64px;
  right: 8px;
  width: 190px;
  direction: ltr;
}
.rc-language--topbar .rc-language__menu > a[dir="rtl"] {
  direction: rtl;
  justify-content: flex-end;
}

.rc-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.rc-metric {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 116px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--rc-border);
  border-radius: var(--rc-radius);
  background: var(--rc-surface);
  box-shadow: var(--rc-shadow);
  color: var(--rc-text);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.rc-metric::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; background: #a3b0ac; content: ""; }
.rc-metric:hover, .rc-metric:focus { border-color: #cbd8d4; box-shadow: 0 12px 28px rgba(17, 52, 43, .1); color: var(--rc-text); transform: translateY(-2px); }
.rc-metric--success::before { background: #4c9677; }
.rc-metric--danger::before { background: var(--rc-danger); }
.rc-metric--storage::before { background: var(--rc-accent); }

.rc-metric__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eef3f1;
  color: #6f7b77;
  font-size: 18px;
}

.rc-metric__icon i { padding: 0; }
.rc-metric--success .rc-metric__icon { background: #e9f4ef; color: #347a5c; }
.rc-metric--danger .rc-metric__icon { background: #faecea; color: var(--rc-danger); }
.rc-metric--storage .rc-metric__icon { background: #eaf1f6; color: var(--rc-accent); }
.rc-metric__content { display: flex; flex: 1 1 auto; min-width: 0; flex-direction: column; }
.rc-metric__label { color: var(--rc-muted); font-size: 13px; }
.rc-metric__content strong { margin: 3px 0; color: var(--rc-text); font-size: 27px; font-weight: 600; line-height: 1.15; }
.rc-metric__content strong em { margin-left: 2px; color: var(--rc-muted); font-size: 13px; font-weight: 400; }
.rc-metric__content small { overflow: hidden; color: #88918e; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.rc-metric__arrow { flex: 0 0 auto; padding: 0; color: #a5afac; }

.rc-workbench__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(310px, .82fr);
  gap: 16px;
  align-items: start;
}

.rc-workbench__main,
.rc-workbench__aside { display: flex; min-width: 0; flex-direction: column; gap: 16px; }

.rc-panel {
  overflow: hidden;
  border: 1px solid var(--rc-border);
  border-radius: var(--rc-radius);
  background: var(--rc-surface);
  box-shadow: var(--rc-shadow);
}

.rc-panel__header {
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--rc-border);
}
.rc-panel__header--action { justify-content: space-between; gap: 12px; }
.rc-panel__header h2, .rc-panel__header p { margin: 0; }
.rc-panel__header h2 { color: var(--rc-text); font-size: 15px; font-weight: 600; line-height: 1.4; }
.rc-panel__header p { margin-top: 3px; color: #87908d; font-size: 11px; line-height: 1.4; }
.rc-panel__header > a { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; color: var(--rc-primary); font-size: 12px; }
.rc-panel__header > a i { padding: 0; }

.rc-quick__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--rc-border); }
.rc-quick__item { display: grid; grid-template-columns: minmax(0,1fr) auto 22px; align-items: center; gap: 10px; min-width: 0; min-height: 88px; padding: 12px 14px 12px 18px; background: var(--rc-surface); transition: background-color .16s ease; }
.rc-quick__item:hover { background: #f7faf9; }
.rc-quick__main { display: flex; align-items: center; gap: 13px; min-width: 0; color: var(--rc-text); }
.rc-quick__main:hover, .rc-quick__main:focus { color: var(--rc-text); }
.rc-quick__icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 5px; background: #eaf3f0; color: var(--rc-primary); font-size: 17px; }
.rc-quick__icon i, .rc-quick__action i, .rc-quick__arrow i { padding: 0; }
.rc-quick__copy { display: flex; flex: 1 1 auto; min-width: 0; flex-direction: column; }
.rc-quick__grid strong { margin-bottom: 4px; font-size: 13px; font-weight: 600; }
.rc-quick__grid small { overflow: hidden; color: var(--rc-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.rc-quick__action { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 86px; min-height: 30px; box-sizing: border-box; padding: 5px 10px; color: #fff !important; font-size: 10px; font-weight: 600; line-height: 18px; background: var(--rc-primary); border: 1px solid var(--rc-primary); border-radius: 4px; box-shadow: 0 3px 8px rgba(7,93,78,.13); white-space: nowrap; }
.rc-quick__action:hover, .rc-quick__action:focus { color: #fff !important; background: var(--rc-primary-hover); border-color: var(--rc-primary-hover); box-shadow: 0 4px 10px rgba(7,93,78,.2); }
.rc-quick__action i { color: #f0c96d; }
.rc-quick__arrow { display: inline-flex; align-items: center; justify-content: center; width: 22px; min-height: 30px; color: #a4afab; }
.rc-quick__arrow:hover, .rc-quick__arrow:focus { color: var(--rc-primary); }

/* 首页软件下载面板 */
.rc-softdl__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px 16px 16px; }
.rc-softdl__item { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px; border: 1px solid var(--rc-border); border-radius: var(--rc-radius); background: #fbfdfc; }
.rc-softdl__item:hover { border-color: rgba(7, 93, 78, .45); background: #f7faf9; }
.rc-softdl__icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 38px; width: 38px; height: 38px; color: var(--rc-primary); font-size: 17px; background: #eaf3f0; border-radius: 5px; }
.rc-softdl__icon i { padding: 0; }
.rc-softdl__info { display: flex; flex: 1 1 auto; min-width: 0; flex-direction: column; }
.rc-softdl__info strong { overflow: hidden; margin-bottom: 4px; color: var(--rc-text); font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.rc-softdl__meta { display: flex; align-items: center; gap: 7px; color: var(--rc-muted); font-size: 11px; white-space: nowrap; }
.rc-softdl__tag { padding: 1px 6px; color: var(--rc-primary); font-size: 10px; font-weight: 600; line-height: 15px; background: #eaf3f0; border-radius: 3px; }
.rc-softdl__btn { flex: 0 0 auto; min-width: 72px; padding: 5px 14px; font-size: 12px; }
.rc-softdl__summary { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; min-height: 28px; padding: 3px 10px; color: var(--rc-primary); background: #eaf3f0; border-radius: 14px; font-size: 11px; white-space: nowrap; }
.rc-softdl__summary i { padding: 0; }
.rc-softdl__summary strong { font-size: 14px; }
.rc-softdl__groups { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px 16px; background: #f8faf9; }
.rc-softdl-group { overflow: hidden; border: 1px solid var(--rc-border); border-radius: 6px; background: #fff; }
.rc-softdl-group__header { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 9px 12px; border-bottom: 1px solid #e8edeb; background: #fbfcfc; }
.rc-softdl-group__header > span { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 30px; width: 30px; height: 30px; color: var(--rc-primary); background: #e7f2ee; border-radius: 5px; }
.rc-softdl-group__header > span i { padding: 0; font-size: 14px; }
.rc-softdl-group__header > div { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.rc-softdl-group__header h3 { margin: 0; color: var(--rc-text); font-size: 13px; font-weight: 700; line-height: 1.4; }
.rc-softdl-group__header small { color: #8a9591; font-size: 10px; white-space: nowrap; }
.rc-softdl-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px; padding: 11px; }
.rc-softdl-product { display: flex; min-width: 0; min-height: 102px; padding: 11px; border: 1px solid #e2e8e6; border-radius: 6px; background: #fff; flex-direction: column; }
.rc-softdl-product:hover { border-color: #b7cdc6; box-shadow: 0 5px 14px rgba(20, 54, 45, .06); }
.rc-softdl-product__title { display: flex; align-items: center; gap: 8px; min-width: 0; margin-bottom: 9px; }
.rc-softdl-product__title > b { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 24px; width: 24px; height: 24px; color: var(--rc-primary); background: #eaf3f0; border-radius: 5px; font-size: 10px; font-weight: 700; }
.rc-softdl-product__title > strong { flex: 1 1 auto; min-width: 0; overflow: hidden; color: var(--rc-text); font-size: 12px; font-weight: 700; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.rc-softdl-product__title > span { flex: 0 0 auto; padding: 2px 6px; color: #8a6b2c; background: #fbf3e3; border-radius: 9px; font-size: 9px; }
.rc-softdl-product__downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 6px; margin-top: auto; }
.rc-softdl-download { display: grid; grid-template-columns: 24px minmax(0, 1fr) 16px; align-items: center; gap: 6px; box-sizing: border-box; min-width: 0; min-height: 43px; padding: 6px 7px; border: 1px solid #cfe0da; border-radius: 5px; color: var(--rc-primary); background: #f1f8f5; text-decoration: none !important; }
.rc-softdl-download:hover, .rc-softdl-download:focus { border-color: var(--rc-primary); color: #fff; background: var(--rc-primary); }
.rc-softdl-download > i:first-child { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; background: rgba(7, 93, 78, .08); border-radius: 4px; font-size: 13px; }
.rc-softdl-download:hover > i:first-child, .rc-softdl-download:focus > i:first-child { background: rgba(255,255,255,.15); }
.rc-softdl-download > span { display: flex; min-width: 0; flex-direction: column; }
.rc-softdl-download > span strong { overflow: hidden; font-size: 10px; font-weight: 700; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.rc-softdl-download > span small { min-height: 13px; overflow: hidden; color: #73827d; font-size: 9px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.rc-softdl-download:hover > span small, .rc-softdl-download:focus > span small { color: rgba(255,255,255,.78); }
.rc-softdl-download > i:last-child { padding: 0; font-size: 11px; }
.rc-softdl-download--disabled { border-color: #e2e7e5; color: #87928e; background: #f6f7f7; cursor: not-allowed; }
.rc-softdl-download--disabled:hover { border-color: #e2e7e5; color: #87928e; background: #f6f7f7; }
.rc-softdl-download--disabled:hover > i:first-child { background: #ecefed; }
.rc-softdl-download--disabled > i:first-child { background: #ecefed; }
.rc-softdl-group--upcoming .rc-softdl-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rc-softdl-group--upcoming .rc-softdl-product { min-height: 48px; justify-content: center; border-style: dashed; background: #fcfbf8; }
.rc-softdl-group--upcoming .rc-softdl-product__title { margin: 0; }
.rc-softdl-group--upcoming .rc-softdl-group__header > span { color: #8a6b2c; background: #fbf3e3; }
.rc-dashboard-page.rc-rtl .rc-softdl-group__header,
.rc-dashboard-page.rc-rtl .rc-softdl-product,
.rc-dashboard-page.rc-rtl .rc-softdl-download { direction: rtl; }
@media (max-width: 900px) {
  .rc-softdl__list { grid-template-columns: minmax(0, 1fr); }
  .rc-softdl-group--upcoming .rc-softdl-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .rc-softdl__groups { padding: 10px; }
  .rc-softdl-products, .rc-softdl-group--upcoming .rc-softdl-products { grid-template-columns: minmax(0, 1fr); }
  .rc-softdl__summary { display: none; }
}

.rc-resource__body { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); gap: 24px; padding: 20px 18px; }
.rc-resource__summary { display: flex; min-width: 0; flex-direction: column; justify-content: center; }
.rc-resource__summary > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.rc-resource__summary span { color: var(--rc-muted); font-size: 12px; }
.rc-resource__summary strong { color: var(--rc-text); font-size: 24px; font-weight: 600; }
.rc-resource__summary p { margin: 5px 0 11px; color: #87908d; font-size: 11px; }
.rc-progress { width: 100%; height: 8px; overflow: hidden; border-radius: 4px; background: #e8eeec; }
.rc-progress > span { display: block; max-width: 100%; height: 100%; border-radius: 4px; background: var(--rc-primary); }
.rc-progress--warning > span { background: var(--rc-warning); }
.rc-resource__types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.rc-resource__types > div { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 12px 8px; border: 1px solid var(--rc-border); border-radius: 5px; background: #fafcfb; flex-direction: column; }
.rc-resource__types i { padding: 0; color: var(--rc-primary); font-size: 17px; }
.rc-resource__types span { margin: 6px 0 2px; color: var(--rc-muted); font-size: 11px; }
.rc-resource__types strong { color: var(--rc-text); font-size: 17px; font-weight: 600; }

.rc-publish-flow__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 18px; }
.rc-publish-flow__steps > a { position: relative; display: flex; align-items: center; gap: 11px; min-width: 0; padding: 5px 22px 5px 0; color: var(--rc-text); }
.rc-publish-flow__steps > a:not(:last-child)::after { position: absolute; top: 50%; right: 9px; width: 18px; border-top: 1px dashed #b9c6c2; content: ""; }
.rc-publish-flow__steps b { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--rc-primary); color: #fff; font-size: 11px; font-weight: 600; }
.rc-publish-flow__steps span { display: flex; min-width: 0; flex-direction: column; }
.rc-publish-flow__steps strong { margin-bottom: 3px; font-size: 12px; }
.rc-publish-flow__steps small { overflow: hidden; color: var(--rc-muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }

.rc-todos__list { padding: 8px; }
.rc-todo { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 10px; border-radius: 5px; color: var(--rc-text); }
.rc-todo:hover, .rc-todo:focus { background: #f6f9f8; color: var(--rc-text); }
.rc-todo + .rc-todo { border-top: 1px solid #edf0ef; border-radius: 0; }
.rc-todo > i:first-child { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 30px; width: 30px; height: 30px; padding: 0; border-radius: 50%; background: #eaf3f0; color: var(--rc-primary); }
.rc-todo--warning > i:first-child { background: #faf3e6; color: var(--rc-warning); }
.rc-todo--danger > i:first-child { background: #faecea; color: var(--rc-danger); }
.rc-todo > span { display: flex; flex: 1 1 auto; min-width: 0; flex-direction: column; }
.rc-todo strong { margin-bottom: 3px; font-size: 12px; font-weight: 600; }
.rc-todo small { color: var(--rc-muted); font-size: 10px; }
.rc-todo > i:last-child { padding: 0; color: #a5afac; }
.rc-todos__empty { padding: 27px 16px; color: var(--rc-muted); text-align: center; }
.rc-todos__empty i { display: block; margin-bottom: 9px; padding: 0; color: #4c9677; font-size: 28px; }
.rc-todos__empty strong { display: block; color: var(--rc-text); font-size: 13px; }
.rc-todos__empty p { margin: 4px 0 0; font-size: 11px; }

.rc-account__profile { display: flex; align-items: center; gap: 13px; padding: 18px; border-bottom: 1px solid var(--rc-border); }
.rc-account__avatar { flex: 0 0 52px; width: 52px; height: 52px; overflow: hidden; border: 3px solid #edf4f2; border-radius: 50%; background: #edf4f2; }
.rc-account__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rc-account__profile > div { display: flex; min-width: 0; flex-direction: column; }
.rc-account__profile span, .rc-account__profile small { color: var(--rc-muted); font-size: 10px; }
.rc-account__profile strong { margin: 3px 0; overflow: hidden; color: var(--rc-text); font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.rc-account__details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--rc-border); }
.rc-account__details > div { display: flex; min-height: 66px; padding: 12px 14px; background: #fff; flex-direction: column; }
.rc-account__details span { margin-bottom: 5px; color: var(--rc-muted); font-size: 10px; }
.rc-account__details strong { overflow: hidden; color: var(--rc-text); font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.rc-account__details .rc-account__code { grid-column: 1 / -1; min-height: 58px; }
.rc-account__code strong { color: var(--rc-primary); letter-spacing: .04em; }
.rc-account__code-line { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 10px; min-width: 0; }
.rc-account__code-line small { display: inline-flex; align-items: flex-start; gap: 4px; min-width: 0; color: var(--rc-muted); font-size: 10px; line-height: 1.5; }
.rc-account__code-line small i { margin-top: 2px; padding: 0; color: var(--rc-accent); }
.rc-account__link { display: flex; align-items: center; gap: 7px; min-height: 43px; padding: 10px 14px; color: var(--rc-primary); font-size: 12px; }
.rc-account__link i { padding: 0; }
.rc-account__link i:last-child { margin-left: auto; color: #a5afac; }

.rc-purchase { position: relative; display: flex; align-items: center; gap: 13px; min-height: 94px; padding: 17px; overflow: hidden; border-radius: var(--rc-radius); background: linear-gradient(130deg, var(--rc-shell), #0a6253); box-shadow: var(--rc-shadow); color: #fff; }
.rc-purchase::after { position: absolute; top: -42px; right: -32px; width: 120px; height: 120px; border: 24px solid rgba(217, 173, 72, .13); border-radius: 50%; content: ""; }
.rc-purchase:hover, .rc-purchase:focus { color: #fff; }
.rc-purchase__icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; background: var(--rc-marker); color: #23312e; font-size: 17px; }
.rc-purchase__icon i, .rc-purchase > i { padding: 0; }
.rc-purchase > span:nth-child(2) { position: relative; z-index: 1; display: flex; flex: 1 1 auto; min-width: 0; flex-direction: column; }
.rc-purchase small { color: rgba(255,255,255,.7); font-size: 10px; }
.rc-purchase strong { margin: 3px 0; font-size: 14px; font-weight: 600; }
.rc-purchase em { color: rgba(255,255,255,.82); font-size: 10px; }
.rc-purchase > i { position: relative; z-index: 1; }

.rc-feedback__body { padding: 14px; text-align: right; }
.rc-feedback textarea { display: block; width: 100%; min-height: 86px; margin: 0 0 10px; padding: 9px 10px; resize: vertical; border: 1px solid #cfd9d5; border-radius: 4px; background: #fff; color: var(--rc-text); font: 12px/1.6 var(--rc-font); }
.rc-feedback textarea:focus { border-color: var(--rc-primary); outline: 2px solid rgba(7, 93, 78, .12); }
.rc-feedback .rc-btn i { padding: 0; }

/* Arabic content direction: keep the shared shell and column geometry stable. */
.rc-dashboard-page.rc-rtl .rc-workbench { direction: rtl; text-align: right; }
.rc-dashboard-page.rc-rtl .rc-device-onboarding::before { right: 0; left: auto; }
.rc-dashboard-page.rc-rtl .rc-device-onboarding::after { right: auto; left: -110px; }
.rc-dashboard-page.rc-rtl .rc-device-onboarding__link { right: auto; left: 8px; }
.rc-dashboard-page.rc-rtl .rc-workbench__grid { direction: ltr; }
.rc-dashboard-page.rc-rtl .rc-workbench__main,
.rc-dashboard-page.rc-rtl .rc-workbench__aside { direction: rtl; }
.rc-dashboard-page.rc-rtl .rc-account__link i:last-child { margin-right: auto; margin-left: 0; transform: scaleX(-1); }
.rc-dashboard-page.rc-rtl .rc-metric__arrow,
.rc-dashboard-page.rc-rtl .rc-quick__arrow i,
.rc-dashboard-page.rc-rtl .rc-todo > i:last-child,
.rc-dashboard-page.rc-rtl .rc-panel__header > a i,
.rc-dashboard-page.rc-rtl .rc-purchase > i { transform: scaleX(-1); }
.rc-dashboard-page.rc-rtl .rc-publish-flow__steps > a { padding-right: 0; padding-left: 22px; }
.rc-dashboard-page.rc-rtl .rc-publish-flow__steps > a:not(:last-child)::after { right: auto; left: 9px; }
.rc-dashboard-page.rc-rtl .rc-purchase::after { right: auto; left: -32px; }

/* Device list */
.rc-device-page { max-width: 100%; margin: 0; overflow-x: hidden; background: var(--rc-canvas) !important; }
.rc-device-page .backstageHome-2,
.rc-device-page .viewFramework-body,
.rc-device-page .viewFramework-con { width: 100%; max-width: 100%; min-width: 0; overflow-x: hidden; }
.rc-device-page .viewFramework-con { align-items: stretch; }
.rc-device-list { flex: 1 1 0%; width: 0 !important; min-width: 0; max-width: 100%; margin: 0 !important; padding: 18px 20px 28px !important; background: var(--rc-canvas); }
.rc-device-list .breadcrumbs { margin: 0 0 12px; }
.rc-device-list .breadcrumb { padding: 9px 13px; border: 1px solid var(--rc-border); border-radius: var(--rc-radius); background: #fff; }
.rc-device-list .breadcrumb a { color: var(--rc-muted); }
.rc-device-page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin: 0 0 16px; }
.rc-device-page-heading p,
.rc-device-page-heading h1 { margin: 0; }
.rc-device-page-heading p { margin-bottom: 4px; color: var(--rc-primary); font-size: 12px; font-weight: 600; }
.rc-device-page-heading h1 { color: var(--rc-text); font-size: 24px; font-weight: 600; line-height: 1.35; }
.rc-device-page-heading__count { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 7px 12px; border: 1px solid var(--rc-border); border-radius: 4px; background: #fff; color: var(--rc-muted); font-size: 12px; }
.rc-device-page-heading__count i { padding: 0; color: var(--rc-primary); }
.rc-device-page-heading__count strong { color: var(--rc-text); font-size: 15px; font-weight: 600; }
.rc-device-list .rc-device-filters { margin: 0 0 12px; padding: 14px 16px; border: 1px solid var(--rc-border); border-radius: var(--rc-radius); background: #fff; box-shadow: var(--rc-shadow); }
.rc-device-list .rc-device-filters .jiaohao3_box,
.rc-device-list .rc-device-filters .xxin3,
.rc-device-list .rc-device-filters .change_wrap1 { margin: 0; border: 0; background: transparent; }
.rc-device-list .rc-device-filters .flexJustifyCenter { display: flex; align-items: flex-start; min-height: 42px; padding: 7px 0; border-bottom: 1px solid #eef1f0; }
.rc-device-list .rc-device-filters .flexJustifyCenter:last-child { border-bottom: 0; }
.rc-device-list .rc-device-filters .titS { flex: 0 0 86px; width: 86px; padding-top: 5px; color: var(--rc-muted); font-size: 12px; font-weight: 600; }
.rc-device-list .rc-device-filters .infoRig { position: static !important; display: flex; justify-content: flex-end; float: none !important; margin-top: 10px; }
.rc-device-list .rc-device-filters .liBox { flex: 1 1 auto; min-width: 0; }
.rc-device-list .rc-device-filters .liBox > div,
.rc-device-list .rc-device-filters .liBox > div > div { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.rc-device-list .rc-device-filters .zzz_wrap { float: none !important; margin: 0; }
.rc-device-list .rc-device-filters .liBox a { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 10px; border: 1px solid transparent; border-radius: 4px; color: var(--rc-muted); font-size: 12px; line-height: 18px; transition: background .14s ease, color .14s ease; }
.rc-device-list .rc-device-filters .liBox a:hover,
.rc-device-list .rc-device-filters .liBox a.det_bg,
.rc-device-list .rc-device-filters .liBox a[style*="background-color"] { border-color: #d8e8e3 !important; background: #eaf3f0 !important; color: var(--rc-primary) !important; font-weight: 600; }
.rc-device-list .rc-device-filters .infoRig > a,
.rc-device-list .rc-device-filters .infoRig > div > a { display: inline-flex; align-items: center; min-height: 30px; margin: 0 0 0 6px !important; padding: 5px 11px; border: 1px solid #d2dcd8 !important; border-radius: 4px; background: #fff; color: var(--rc-primary); line-height: 18px; }
.rc-device-toolbar { display: flex; align-items: center; gap: 8px; min-height: 58px; margin: 0 0 12px !important; padding: 10px 12px; border: 1px solid var(--rc-border); border-radius: var(--rc-radius); background: #fff; box-shadow: var(--rc-shadow); }
.weixin1Sel .weixin1.rc-device-toolbar .zInp { position: static; display: flex; align-items: stretch; width: auto; margin: 0 auto 0 0; }
.weixin1Sel .weixin1.rc-device-toolbar .zInp input { box-sizing: border-box; width: min(310px, 55vw) !important; height: 34px !important; margin: 0 !important; padding: 6px 10px !important; border: 1px solid #ccd7d3 !important; border-radius: 4px 0 0 4px !important; box-shadow: none; font-size: 12px; line-height: 20px !important; }
.rc-device-toolbar .zInp input:focus { border-color: var(--rc-primary); outline: 2px solid rgba(7, 93, 78, .1); }
.weixin1Sel .weixin1.rc-device-toolbar .zInp button { position: static !important; width: 38px !important; height: 34px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 4px 4px 0 !important; background: var(--rc-primary) !important; line-height: 34px !important; }
.weixin1Sel .weixin1.rc-device-toolbar .zInp button i { color: #fff !important; text-shadow: none !important; }
.rc-device-toolbar > a { display: inline-flex !important; align-items: center; justify-content: center; flex: 0 0 auto; gap: 5px; width: auto !important; min-width: 0 !important; min-height: 34px; height: 34px !important; margin: 0 !important; padding: 6px 10px !important; border: 1px solid transparent !important; border-radius: 4px !important; box-shadow: none !important; font-size: 12px; line-height: 20px; white-space: nowrap; transform: none !important; }
.rc-device-toolbar .btn-dark-green { background: var(--rc-primary) !important; color: #fff !important; }
.rc-device-toolbar .btn-dark-blue { background: var(--rc-accent) !important; color: #fff !important; }
.rc-device-toolbar .add-device-btn { border-color: #b57c1b !important; background: var(--rc-warning) !important; color: #fff !important; }
.rc-device-status-tabs { margin: 0; border: 1px solid var(--rc-border); border-bottom: 0; border-radius: var(--rc-radius) var(--rc-radius) 0 0; background: #fff; }
.rc-device-status-tabs ul { display: flex; height: auto; margin: 0; padding: 8px 10px 0; }
.rc-device-status-tabs li { display: inline-flex; align-items: center; justify-content: center; gap: 2px; min-width: 126px; height: 42px !important; margin: 0 4px 0 0; padding: 9px 13px !important; border: 0 !important; border-bottom: 3px solid transparent !important; background: transparent !important; color: var(--rc-muted) !important; line-height: 20px !important; cursor: pointer; }
.rc-device-status-tabs li:hover,
.rc-device-status-tabs li:focus { color: var(--rc-primary) !important; outline: 0; background: #f5f9f7 !important; }
.rc-device-status-tabs li.is-active { border-bottom-color: var(--rc-marker) !important; background: #f7faf9 !important; color: var(--rc-primary) !important; font-weight: 600 !important; }
.rc-device-status-tabs img { width: 16px; height: 16px; margin-right: 6px; object-fit: contain; }
.rc-device-status-count { display: inline-flex; align-items: center; justify-content: center; min-width: 23px; height: 20px; margin-left: 5px; padding: 0 6px; border-radius: 10px; background: #edf2f0; color: #53615d; font-size: 11px; }
.rc-device-status-tabs li.is-active .rc-device-status-count { background: var(--rc-primary); color: #fff; }
.rc-device-table-wrap { width: 100%; min-width: 0; margin: 0 0 12px; overflow: visible; border: 1px solid var(--rc-border); border-radius: 0 0 var(--rc-radius) var(--rc-radius); background: #fff; box-shadow: var(--rc-shadow); }
.rc-device-table-wrap > div { width: 100%; min-width: 0; overflow: visible; }
.rc-device-table { width: 100%; min-width: 0; margin: 0 !important; border: 0 !important; border-collapse: separate; border-spacing: 0; table-layout: fixed; background: #fff; }
.rc-device-table .rc-device-col--select { width: 4%; }
.rc-device-table .rc-device-col--identity { width: 18%; }
.rc-device-table .rc-device-col--type { width: 9%; }
.rc-device-table .rc-device-col--version { width: 9%; }
.rc-device-table .rc-device-col--process { width: 13%; }
.rc-device-table .rc-device-col--expiry { width: 11%; }
.rc-device-table .rc-device-col--online { width: 12%; }
.rc-device-table .rc-device-col--actions { width: 24%; }
.rc-device-table[data-device-status="2"] .rc-device-col--select,
.rc-device-table[data-device-status="3"] .rc-device-col--select { width: 4%; }
.rc-device-table[data-device-status="2"] .rc-device-col--identity,
.rc-device-table[data-device-status="3"] .rc-device-col--identity { width: 21%; }
.rc-device-table[data-device-status="2"] .rc-device-col--type,
.rc-device-table[data-device-status="3"] .rc-device-col--type { width: 8%; }
.rc-device-table[data-device-status="2"] .rc-device-col--version,
.rc-device-table[data-device-status="3"] .rc-device-col--version { width: 10%; }
.rc-device-table[data-device-status="2"] .rc-device-col--process,
.rc-device-table[data-device-status="3"] .rc-device-col--process { width: 14%; }
.rc-device-table[data-device-status="2"] .rc-device-col--expiry,
.rc-device-table[data-device-status="3"] .rc-device-col--expiry { width: 12%; }
.rc-device-table[data-device-status="2"] .rc-device-col--online,
.rc-device-table[data-device-status="3"] .rc-device-col--online { width: 13%; }
.rc-device-table[data-device-status="2"] .rc-device-col--actions,
.rc-device-table[data-device-status="3"] .rc-device-col--actions { width: 18%; }
.rc-device-list .rc-device-table thead,
.rc-device-list .rc-device-table .z_h { background: #f1f4f3 !important; }
.rc-device-list .rc-device-table .z_h th { height: 44px !important; padding: 10px 11px !important; border-width: 0 0 1px !important; border-color: #dfe6e3 !important; background: #f1f4f3 !important; color: #46534f !important; font-family: var(--rc-font) !important; font-size: 12px !important; font-weight: 600 !important; line-height: 20px !important; letter-spacing: 0 !important; text-align: center !important; text-shadow: none !important; vertical-align: middle !important; white-space: nowrap; }
.rc-device-list .rc-device-table .z_h th:nth-child(2),
.rc-device-list .rc-device-table .z_h th:last-child { text-align: left !important; }
.rc-device-table td { height: 52px; padding: 8px 11px !important; overflow: visible; border-width: 0 0 1px !important; border-color: #edf0ef !important; background: #fff; color: var(--rc-text); font-size: 12px; line-height: 1.5; text-align: center; vertical-align: middle !important; }
.rc-device-table tr:last-child td { border-bottom-width: 0 !important; }
.rc-device-list .rc-device-table tbody tr:nth-child(even) td { background: #fcfdfd; }
.rc-device-list .rc-device-table tbody tr:hover td { background: #f5f9f7 !important; }
.rc-device-table td:nth-child(2),
.rc-device-table td:last-child { text-align: left; }
.rc-device-table td:not(.rc-device-operations) { overflow-wrap: anywhere; }
.rc-device-table .rc-device-select { width: 42px; text-align: center; }
.rc-device-table .rc-device-select input { width: 15px; height: 15px; margin: 0; accent-color: var(--rc-primary); }
.rc-device-table .rc-device-identity { min-width: 170px; color: var(--rc-muted); }
.rc-device-table .rc-device-identity > span { display: inline-block; margin-top: 3px; color: var(--rc-text); font-weight: 400; }
.rc-device-table .rc-device-identity .pencil { display: inline-block; margin-left: 5px; color: var(--rc-accent); }
.rc-device-table .rc-device-identity > .z_more2 { position: fixed !important; z-index: 5000 !important; width: 264px; height: auto; min-height: 126px; padding: 13px; border: 1px solid var(--rc-border); border-radius: 6px; background: #fff; box-shadow: 0 16px 42px rgba(13,43,36,.2); text-align: left; }
.rc-device-table .rc-device-identity > .z_more2 input { width: 100%; height: 34px; margin: 4px 0 8px; border: 1px solid #cbd6d2; border-radius: 4px; box-shadow: none; }
.rc-device-table .rc-device-identity > .z_more2 .z_spenspan { display: inline-flex; align-items: center; justify-content: center; float: none; width: auto; min-width: 64px; height: 30px; margin: 4px 5px 0 0; padding: 4px 10px; border: 0; border-radius: 4px; line-height: 22px; }
.rc-device-table .rc-device-identity > .z_more2 .z_spenspan1 { color: #fff; background: var(--rc-primary); }
.rc-device-table .rc-device-identity > .z_more2 .z_spenspan2 { color: var(--rc-muted); background: #edf1ef; }
.rc-device-name-editor { position: fixed !important; z-index: 6000 !important; width: 264px !important; height: auto !important; min-height: 126px; padding: 13px !important; color: var(--rc-text); background: #fff !important; border: 1px solid var(--rc-border) !important; border-radius: 6px; box-shadow: 0 16px 42px rgba(13,43,36,.2); text-align: left; }
.rc-device-name-editor::before,.rc-device-name-editor::after { position: absolute; left: var(--rc-editor-arrow-left, 28px); width: 0; height: 0; content: ""; transform: translateX(-50%); border-right: 8px solid transparent; border-left: 8px solid transparent; }
.rc-device-name-editor.is-below::before { top: -9px; border-bottom: 9px solid var(--rc-border); }
.rc-device-name-editor.is-below::after { top: -8px; border-bottom: 9px solid #fff; }
.rc-device-name-editor.is-above::before { bottom: -9px; border-top: 9px solid var(--rc-border); }
.rc-device-name-editor.is-above::after { bottom: -8px; border-top: 9px solid #fff; }
.rc-device-name-editor input { box-sizing: border-box; width: 100% !important; height: 34px; margin: 4px 0 8px !important; border: 1px solid #cbd6d2; border-radius: 4px; box-shadow: none; }
.rc-device-name-editor .z_spenspan { display: inline-flex; align-items: center; justify-content: center; float: none; width: auto; min-width: 64px; height: 30px; margin: 4px 5px 0 0; padding: 4px 10px; border: 0; border-radius: 4px; line-height: 22px; cursor: pointer; }
.rc-device-name-editor .z_spenspan1 { color: #fff; background: var(--rc-primary); }
.rc-device-name-editor .z_spenspan2 { color: var(--rc-muted); background: #edf1ef; }
.rc-device-page.rc-rtl .rc-device-name-editor { direction: rtl; text-align: right; }
.rc-device-page.rc-rtl .rc-device-name-editor .z_spenspan { margin-right: 0; margin-left: 5px; }
.rc-device-table .progressBar { position: relative; min-width: 105px; height: 22px; overflow: hidden; border-radius: 11px; background: #e8eeec; }
.rc-device-table .progressBar .bgS { position: absolute; inset: 0 auto 0 0; max-width: 100%; background: #79ad9b; }
.rc-device-table .progressBar .blue { position: relative; z-index: 1; width: 100%; color: #fff; font-size: 11px; text-align: center; text-shadow: 0 1px 1px rgba(0, 0, 0, .28); }
.rc-device-table .label { border-radius: 3px; background: #edf2f0; color: var(--rc-muted); text-shadow: none; }
.rc-device-table .rc-device-operations { overflow: visible; white-space: nowrap; }
.rc-device-actions { display: contents !important; }
.rc-device-actions .text-explode { display: none; }
.rc-row-actions { display: flex; align-items: center; gap: 5px; min-width: 0; white-space: nowrap; }
.rc-device-actions .rc-row-action,
.rc-row-actions > .rc-row-action { display: inline-flex; align-items: center; gap: 4px; min-height: 28px; padding: 4px 8px; border: 1px solid #d7dfdc; border-radius: 4px; background: #fff; color: var(--rc-muted); font-size: 11px; line-height: 18px; text-decoration: none; text-shadow: none !important; }
.rc-device-actions .rc-row-action i { padding: 0; }
.rc-row-actions > .rc-row-action i { padding: 0; }
.rc-device-actions .rc-row-action:hover,
.rc-row-actions > .rc-row-action:hover { border-color: #bdcbc6; background: #f7faf9; color: var(--rc-text); }
.rc-device-actions .rc-row-action--primary { border-color: var(--rc-primary); background: var(--rc-primary); color: #fff; }
.rc-device-actions .rc-row-action--accent { border-color: #c5d8e4; background: #eef4f8; color: var(--rc-accent); }
.rc-device-actions .rc-row-action--warning { border-color: #ead7af; background: #fbf6eb; color: #966717; }
.rc-device-actions .rc-row-action--danger { border-color: #edc9c5; background: #fdf1ef; color: var(--rc-danger); }
.rc-row-actions > .rc-row-action--primary { border-color: var(--rc-primary); background: var(--rc-primary); color: #fff; }
.rc-row-actions > .rc-row-action--accent { border-color: #c5d8e4; background: #eef4f8; color: var(--rc-accent); }
.rc-row-actions > .rc-row-action--warning { border-color: #ead7af; background: #fbf6eb; color: #966717; }
.rc-row-actions > .rc-row-action--danger { border-color: #edc9c5; background: #fdf1ef; color: var(--rc-danger); }
.rc-row-actions__more { position: relative; flex: 0 0 auto; }
.rc-row-actions__trigger { display: inline-flex; align-items: center; gap: 4px; min-height: 28px; padding: 4px 9px; border: 1px solid #d2dbd8; border-radius: 4px; background: #fff; color: var(--rc-muted); font: 11px/18px var(--rc-font); cursor: pointer; }
.rc-row-actions__trigger:hover,
.rc-row-actions__trigger[aria-expanded="true"] { border-color: #b8c8c3; background: #f4f8f6; color: var(--rc-primary); }
.rc-row-actions__trigger i { padding: 0; font-size: 10px; }
.rc-action-menu { position: fixed; z-index: 4000; display: none; min-width: 168px; max-width: 230px; padding: 6px; border: 1px solid var(--rc-border); border-radius: 5px; background: #fff; box-shadow: 0 14px 34px rgba(13, 43, 36, .18); }
.rc-action-menu.is-open { display: block; }
.rc-action-menu .rc-row-action { display: flex; align-items: center; gap: 7px; width: 100%; min-height: 34px; padding: 7px 9px; border: 0; border-radius: 4px; background: transparent; color: var(--rc-text); font-size: 11px; line-height: 20px; text-decoration: none; }
.rc-action-menu .rc-row-action:hover { background: #f1f6f4; color: var(--rc-primary); }
.rc-action-menu .rc-row-action--warning { color: #8e6219; }
.rc-action-menu .rc-row-action--danger { color: var(--rc-danger); }
.rc-device-list .equip-btn-group { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 12px 0; padding: 10px 12px; border: 1px solid var(--rc-border); border-radius: var(--rc-radius); background: #fff; }
.rc-device-list .equip-btn-group .eqspan1,
.rc-device-list .equip-btn-group > a { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; margin: 0; padding: 5px 9px; border: 1px solid #d4dedb; border-radius: 4px; background: #fff; color: var(--rc-muted); font-size: 11px; line-height: 18px; }
.rc-device-list .equip-btn-group a i { padding: 0; }
.rc-device-list .equip-btn-group a:hover { border-color: #bdcbc6; background: #f7faf9; color: var(--rc-primary); }
.rc-device-list .equip-btn-group .alert { flex: 1 1 100%; margin: 4px 0 0 !important; border-color: #ead7af; background: #fbf6eb; color: #865f1e; font-size: 12px !important; }
.rc-device-list .rc-bulk-toolbar { position: sticky; bottom: 0; z-index: 8; min-height: 54px; padding: 9px 12px; background: rgba(255,255,255,.97); box-shadow: 0 -4px 16px rgba(20,52,43,.06); }
.rc-device-list .rc-bulk-toolbar .martop10 { margin: 0 !important; }
.rc-device-list .rc-bulk-toolbar input[type="checkbox"] { margin: 0; accent-color: var(--rc-primary); }
.rc-device-list .rc-selected-count { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 0 10px; color: var(--rc-muted); background: #f3f6f5; border-radius: 4px; }
.rc-device-list .rc-selected-count strong { color: var(--rc-primary); font-size: 14px; }
.rc-device-list .rc-bulk-action--danger { color: var(--rc-danger) !important; background: #fffafa !important; border-color: #edcfcb !important; }
.rc-device-list .rc-bulk-action.is-disabled { opacity: .48; }
.rc-device-list .rc-bulk-action.is-disabled:hover { color: inherit; background: #fff; border-color: var(--rc-border); }
.rc-device-list .rc-bulk-action > a { display: inline-flex; align-items: center; gap: 5px; }
.rc-device-list .rc-device-table tbody tr.is-selected td { background: #eef7f4 !important; }
.rc-device-list .rc-device-table tbody tr.is-selected td:first-child { box-shadow: inset 3px 0 0 var(--rc-primary); }
.rc-device-page.rc-rtl .rc-selected-count,
.rc-device-page.rc-rtl .rc-bulk-action,
.rc-device-page.rc-rtl .rc-bulk-action > a { direction: rtl; }
.rc-device-list .page { margin-top: 14px; }
.rc-device-page.rc-rtl .rc-device-list { direction: rtl; text-align: right; }
.rc-device-page.rc-rtl .rc-device-toolbar .zInp { margin-right: 0; margin-left: auto; direction: ltr; }
.rc-device-page.rc-rtl .rc-device-status-tabs img { margin-right: 0; margin-left: 6px; }
.rc-device-page.rc-rtl .rc-device-status-count { margin-right: 5px; margin-left: 0; }
.rc-device-page.rc-rtl .rc-device-actions { justify-content: flex-start !important; }
.rc-device-page.rc-rtl .rc-device-table-wrap > div { min-width: 0; }
.rc-device-page.rc-rtl .rc-device-table .rc-device-identity > .z_more2 { text-align: right; }

/* Batch device activation and renewal */
.rc-renew-page .rc-renew {
  float: none;
  width: auto;
  min-height: calc(100vh - 72px);
  margin: 0;
  padding: 20px 24px 32px;
  box-sizing: border-box;
  background: var(--rc-canvas);
  color: var(--rc-text);
  font-family: var(--rc-font);
}
.rc-renew *, .rc-renew *::before, .rc-renew *::after { box-sizing: border-box; }
.rc-renew__breadcrumb { display: flex; align-items: center; gap: 9px; margin: 0 0 15px; color: #7a8581; font-size: 12px; }
.rc-renew__breadcrumb a { display: inline-flex; align-items: center; gap: 6px; color: var(--rc-primary); text-decoration: none; }
.rc-renew__breadcrumb > i { color: #aab3b0; font-size: 10px; }
.rc-renew__heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 18px; }
.rc-renew__heading h1 { margin: 0; color: var(--rc-text); font-size: 22px; font-weight: 600; line-height: 1.45; }
.rc-renew__heading p { margin: 5px 0 0; color: var(--rc-muted); font-size: 13px; line-height: 1.6; }
.rc-renew__count { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; min-height: 34px; padding: 6px 12px; border: 1px solid #cfe0da; border-radius: 17px; background: #eef6f3; color: var(--rc-primary); font-size: 12px; }
.rc-renew__count strong { font-size: 15px; }
.rc-renew-card { margin: 0 0 14px; padding: 18px; border: 1px solid var(--rc-border); border-radius: 6px; background: #fff; box-shadow: var(--rc-shadow); }
.rc-renew-card__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 15px; }
.rc-renew-card__header h2, .rc-renew-summary h2, .rc-renew-notice h2 { margin: 0; color: var(--rc-text); font-size: 15px; font-weight: 600; line-height: 1.5; }
.rc-renew-card__header h2 > span { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--rc-primary); color: #fff; font-size: 11px; }
.rc-renew-card__header p { margin: 3px 0 0; color: var(--rc-muted); font-size: 12px; line-height: 1.55; }
.rc-renew-card__header > span { flex: 0 0 auto; padding: 4px 9px; border-radius: 3px; background: #f0f4f2; color: var(--rc-muted); font-size: 11px; }
.rc-renew-notice { display: flex; align-items: flex-start; gap: 13px; padding: 14px 16px; border-color: #e7d8b8; background: #fcf9f1; box-shadow: none; }
.rc-renew-notice__icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: #f3e7c9; color: #986d1d; }
.rc-renew-notice h2 { color: #76551c; font-size: 13px; }
.rc-renew-notice ul { margin: 5px 0 0; padding: 0 0 0 18px; color: #715f3f; font-size: 11px; line-height: 1.75; }
.rc-renew-table-wrap { max-height: 336px; overflow: auto; border: 1px solid var(--rc-border); border-radius: 5px; }
.rc-renew-table { width: 100%; min-width: 720px; margin: 0; border: 0; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.rc-renew-col--number { width: 29%; }.rc-renew-col--name { width: 27%; }.rc-renew-col--type { width: 20%; }.rc-renew-col--expiry { width: 24%; }
.rc-renew-table th { position: sticky; top: 0; z-index: 1; height: 42px; padding: 9px 13px; border: 0; border-bottom: 1px solid #dde5e2; background: #f1f4f3; color: #46534f; font-size: 12px; font-weight: 600; line-height: 20px; text-align: left; white-space: nowrap; }
.rc-renew-table td { height: 48px; padding: 8px 13px; border: 0; border-bottom: 1px solid #edf0ef; background: #fff; color: var(--rc-text); font-size: 12px; line-height: 1.5; text-align: left; vertical-align: middle; overflow-wrap: anywhere; }
.rc-renew-table tbody tr:nth-child(even) td { background: #fcfdfd; }
.rc-renew-table tbody tr:hover td { background: #f5f9f7; }
.rc-renew-table tbody tr:last-child td { border-bottom: 0; }
.rc-renew-table td strong { color: #25473f; font-weight: 600; }
.rc-renew-type { display: inline-flex; align-items: center; min-height: 23px; padding: 2px 8px; border-radius: 3px; background: #edf4f2; color: var(--rc-primary); font-size: 11px; }
.rc-renew-form { margin: 0; }
.rc-renew-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rc-renew-plan { position: relative; display: flex; align-items: center; gap: 9px; min-width: 0; min-height: 64px; margin: 0; padding: 11px 38px 11px 12px; border: 1px solid #dce4e1; border-radius: 5px; background: #fff; color: var(--rc-text); cursor: pointer; }
.rc-renew-plan:hover { border-color: #9ebbb1; background: #fbfdfc; }
.rc-renew-plan:has(input:checked), .rc-renew-plan.is-selected { border-color: var(--rc-primary); background: #f3f8f6; box-shadow: inset 0 0 0 1px var(--rc-primary); }
.rc-renew-plan > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.rc-renew-plan__check { position: absolute; top: 0; right: 0; display: none; align-items: center; justify-content: center; width: 28px; height: 25px; border-radius: 0 4px 0 14px; background: var(--rc-primary); color: #fff; font-size: 10px; }
.rc-renew-plan input:checked ~ .rc-renew-plan__check { display: inline-flex; }
.rc-renew-plan__name { min-width: 0; color: var(--rc-text); font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.rc-renew-plan__price { margin-left: auto; color: #a56d14; font-size: 13px; font-weight: 600; white-space: nowrap; }
.rc-renew-plan small { position: absolute; right: 10px; bottom: 4px; color: var(--rc-muted); font-size: 9px; }
.rc-renew-plan small strong { color: var(--rc-danger); }
.rc-renew-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: stretch; gap: 14px; }
.rc-renew-checkout > .rc-renew-card { margin: 0; }
.rc-renew-payments { display: grid; grid-template-columns: repeat(2, minmax(180px, 240px)); gap: 10px; }
.rc-renew-payments label { display: flex; align-items: center; gap: 9px; min-height: 58px; margin: 0; padding: 10px 12px; border: 1px solid #dce4e1; border-radius: 5px; background: #fff; cursor: pointer; }
.rc-renew-payments label:has(input:checked), .rc-renew-payments label.is-selected { border-color: var(--rc-primary); background: #f3f8f6; box-shadow: inset 0 0 0 1px var(--rc-primary); }
.rc-renew-payments input { width: 15px; height: 15px; margin: 0; accent-color: var(--rc-primary); }
.rc-renew-payments .RenewIcon, .rc-renew-payments .RenewIcon1 { display: inline-block; flex: 0 0 auto; margin: 0; background-position: center; background-repeat: no-repeat; }
.rc-renew-payments .RenewIcon { width: 69px; height: 23px; background-image: url(images/RenewWrap1.png); }
.rc-renew-payments .RenewIcon1 { width: 107px; height: 28px; background-image: url(images/RenewWrap2.png); }
.rc-renew-payments strong { color: var(--rc-muted); font-size: 11px; font-weight: 400; }
.rc-renew-summary { padding: 18px; border: 1px solid #cdded8; border-radius: 6px; background: #f8fbfa; box-shadow: var(--rc-shadow); }
.rc-renew-summary h2 { padding-bottom: 11px; border-bottom: 1px solid #dfe7e4; }
.rc-renew-summary dl { margin: 11px 0; }
.rc-renew-summary dl > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 6px 0; color: var(--rc-muted); font-size: 12px; }
.rc-renew-summary dt, .rc-renew-summary dd { margin: 0; font-weight: 400; }
.rc-renew-summary dd { color: var(--rc-text); }
.rc-renew-summary__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 4px 0 13px; padding-top: 13px; border-top: 1px solid #dfe7e4; color: var(--rc-muted); font-size: 12px; }
.rc-renew-summary__total strong { color: #a4640d; font-size: 24px; line-height: 1; }
.rc-renew-summary__total small { margin-right: 3px; font-size: 13px; }
.rc-renew-submit { width: 100%; min-height: 38px; }
.rc-renew-summary > p { margin: 9px 0 0; color: #7a8581; font-size: 10px; line-height: 1.5; text-align: center; }
.rc-renew-summary > p i { margin-right: 4px; }
.rc-renew-page.rc-rtl .rc-renew { direction: rtl; text-align: right; }
.rc-renew-page.rc-rtl .rc-renew__breadcrumb > i { transform: scaleX(-1); }
.rc-renew-page.rc-rtl .rc-renew-card__header h2 > span { margin-right: 0; margin-left: 8px; }
.rc-renew-page.rc-rtl .rc-renew-notice ul { padding-right: 18px; padding-left: 0; }
.rc-renew-page.rc-rtl .rc-renew-table th, .rc-renew-page.rc-rtl .rc-renew-table td { text-align: right; }
.rc-renew-page.rc-rtl .rc-renew-plan { padding-right: 12px; padding-left: 38px; }
.rc-renew-page.rc-rtl .rc-renew-plan__check { right: auto; left: 0; border-radius: 4px 0 14px 0; }
.rc-renew-page.rc-rtl .rc-renew-plan__price { margin-right: auto; margin-left: 0; }
.rc-renew-page.rc-rtl .rc-renew-plan small { right: auto; left: 10px; }
.rc-renew-page.rc-rtl .rc-renew-summary__total small, .rc-renew-page.rc-rtl .rc-renew-summary > p i { margin-right: 0; margin-left: 4px; }

/* Single device activation and renewal */
.rc-open-device-page, .rc-open-device-page .backstageHome-2, .rc-open-device-page .viewFramework-body, .rc-open-device-page .viewFramework-con { width: 100%; max-width: 100%; min-width: 0; overflow-x: hidden; }
.rc-open-device-page .viewFramework-con { align-items: stretch; }
.rc-open-device-page .rc-renew { flex: 1 1 0%; align-self: stretch; width: 0 !important; min-width: 0; max-width: none; }
.rc-open-device .breadcrumbs { margin-bottom: 14px; }
.rc-open-device .breadcrumb { margin: 0 !important; }
.rc-open-device-status { margin: 0 0 14px; padding: 13px 16px; border: 1px solid #d7e5e0; border-left: 4px solid var(--rc-primary); border-radius: 6px; color: #52615c; background: #f3f8f6; }
.rc-open-device-status p { margin: 0; font-size: 12px; line-height: 1.7; }
.rc-open-device-status span { color: var(--rc-primary); font-weight: 600; }
.rc-open-device-status font { display: inline-block; margin: 0 3px; font-weight: 600; }
.rc-open-device-notice { margin-bottom: 14px; }
.rc-open-device-info > h4 { margin: -18px -18px 14px; padding: 13px 16px; border-bottom: 1px solid var(--rc-border); color: var(--rc-text); background: #f7f9f8; font-size: 15px; font-weight: 600; line-height: 1.5; }
.rc-open-device-table { width: 100%; min-width: 680px; margin: 0 !important; border: 0; border-collapse: collapse; }
.rc-open-device-table td { height: 48px; padding: 9px 13px !important; border: 0 !important; border-bottom: 1px solid var(--rc-border) !important; color: var(--rc-text); background: #fff; font-size: 12px; line-height: 1.55; text-align: left !important; vertical-align: middle; }
.rc-open-device-table tr:last-child td { border-bottom: 0 !important; }
.rc-open-device-table td:nth-child(odd) { width: 145px !important; color: #53605c; background: #f7f9f8; font-weight: 600; text-align: right !important; }
.rc-open-device-table td:nth-child(even) { width: auto !important; }
.rc-open-device-table .label { display: inline-flex; width: auto; min-height: 23px; padding: 2px 8px; border: 0; border-radius: 12px; color: var(--rc-primary); background: #eaf3f0; font-size: 11px; line-height: 19px; text-shadow: none; }
.rc-open-device-order { float: none; width: 100%; margin: 0; padding: 0; }
.rc-open-device-order .RenewWrapP { margin: 0; padding: 14px 17px; border: 1px solid var(--rc-border); border-bottom: 0; border-radius: 6px 6px 0 0; color: var(--rc-text); background: #f7f9f8; font-size: 15px; font-weight: 600; line-height: 1.5; }
.rc-open-device-order .RenewWrap { width: 100%; margin: 0 0 16px; padding: 16px; border: 1px solid var(--rc-border); border-radius: 0 0 6px 6px; background: #fff; box-shadow: var(--rc-shadow); box-sizing: border-box; }
.rc-open-device-order .RenewTime { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: start; width: 100%; min-height: 0; margin: 0; padding: 0 0 16px; border-bottom: 1px solid var(--rc-border); }
.rc-open-device-order .RenewTime > span.fl { float: none; width: auto; height: auto; margin: 0; padding: 13px 14px; color: #4d5a56; background: #f7f9f8; border-radius: 5px; font-size: 12px; font-weight: 600; line-height: 1.5; text-align: right; }
.rc-open-device-order .RenewTime > ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; float: none; width: auto; margin: 0; padding: 0 0 0 12px; list-style: none; }
.rc-open-device-order .RenewTime > ul > li { float: none; width: auto; height: auto; min-height: 58px; margin: 0; padding: 0; border: 0; }
.rc-open-device-order .RenewTime > ul > li label { position: relative; display: flex; align-items: center; width: 100%; min-height: 58px; margin: 0; padding: 10px 12px; border: 1px solid #dce4e1; border-radius: 5px; color: var(--rc-text); background: #fff; font-size: 12px; line-height: 1.5; cursor: pointer; box-sizing: border-box; }
.rc-open-device-order .RenewTime > ul > li label:hover, .rc-open-device-order .RenewTime > ul > li label:has(input:checked), .rc-open-device-order .RenewTime > ul > li label.is-selected { border-color: var(--rc-primary); background: #f3f8f6; box-shadow: inset 0 0 0 1px var(--rc-primary); }
.rc-open-device-order .RenewTime input[type="radio"] { width: 15px; height: 15px; margin: 0 8px 0 0; accent-color: var(--rc-primary); }
.rc-open-device-order .RenewTime .count { color: #a46b15; font-weight: 600; }
.rc-open-device-order .RenewPay { margin-top: 16px; padding-bottom: 16px; }
.rc-open-device-order .RenewPay > ul { grid-template-columns: repeat(2, minmax(180px, 240px)); }
.rc-open-device-order .RenewPay .RenewIcon, .rc-open-device-order .RenewPay .RenewIcon1 { display: inline-block; margin: 0; background-position: center; background-repeat: no-repeat; }
.rc-open-device-order .RenewNeedPay { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 82px; margin: 16px 0 0; padding: 15px 16px; border: 1px solid #cdded8; border-radius: 6px; background: #f8fbfa; }
.rc-open-device-order .RenewNeedPay > div { float: none; width: auto; height: auto; margin: 0; padding: 0; }
.rc-open-device-order .RenewNeedPay p { margin: 3px 0; color: var(--rc-muted); font-size: 12px; line-height: 1.55; }
.rc-open-device-order .RenewNeedPay em { color: #a4640d; font-size: 22px; font-style: normal; font-weight: 700; }
.rc-open-device-order .RenewNeedPay > span { float: none; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-width: 180px; min-height: 38px; margin: 0; padding: 8px 15px; border-radius: 4px; color: #fff; background: var(--rc-primary); font-size: 13px; line-height: 20px; text-align: center; }
.rc-open-device-page.rc-rtl .rc-open-device-status { border-right: 4px solid var(--rc-primary); border-left: 1px solid #d7e5e0; }
.rc-open-device-page.rc-rtl .rc-open-device-info > h4, .rc-open-device-page.rc-rtl .rc-open-device-table td { text-align: right !important; }
.rc-open-device-page.rc-rtl .rc-open-device-table td:nth-child(odd), .rc-open-device-page.rc-rtl .rc-open-device-order .RenewTime > span.fl { text-align: left !important; }
.rc-open-device-page.rc-rtl .rc-open-device-order .RenewTime > ul { padding-right: 12px; padding-left: 0; }
.rc-open-device-page.rc-rtl .rc-open-device-order .RenewTime input[type="radio"] { margin-right: 0; margin-left: 8px; }

/* Device layout selection workspace */
.rc-layout-select-page, .rc-layout-select-page .backstageHome-2, .rc-layout-select-page .viewFramework-body, .rc-layout-select-page .viewFramework-con { width: 100%; max-width: 100%; min-width: 0; overflow-x: hidden; }
.rc-layout-select-page .viewFramework-con { align-items: stretch; }
.rc-layout-select { float: none; flex: 1 1 0%; align-self: stretch; width: 0 !important; min-width: 0; max-width: none; min-height: calc(100vh - 72px); margin: 0; padding: 18px 22px 30px; color: var(--rc-text); background: var(--rc-canvas); font-family: var(--rc-font); box-sizing: border-box; }
.rc-layout-select *, .rc-layout-select *::before, .rc-layout-select *::after { box-sizing: border-box; }
.rc-layout-select .breadcrumbs { margin-bottom: 13px; }
.rc-layout-select .breadcrumb { margin: 0 !important; }
.rc-layout-select__heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 14px; padding: 16px 18px; color: #fff; background: linear-gradient(118deg, var(--rc-shell), var(--rc-primary)); border-radius: 6px; box-shadow: var(--rc-shadow); }
.rc-layout-select__heading h1 { margin: 0; color: #fff; font-size: 18px; font-weight: 600; line-height: 1.4; }
.rc-layout-select__heading p { margin: 3px 0 0; color: rgba(255,255,255,.72); font-size: 11px; }
.rc-layout-select__heading > span { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; padding: 5px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: rgba(255,255,255,.1); font-size: 11px; }
/* 注意：style.css 在 raffles-admin-ui.css 之后加载，里面的
   `.prompt{height:55px;background-color:#d9edf7}` 会把这里的 height/背景顶掉
   （同优先级、后者胜）。说明条现在要放 3 行「条件 -> 结果」，必须显式提权覆盖，
   否则文字会溢出那条 55px 高的蓝底。 */
.rc-layout-select .rc-layout-select__notice { height: auto; min-height: 0; margin: 0 0 14px; padding: 12px 14px; border: 1px solid #d7e5e0; border-left: 4px solid var(--rc-primary); border-radius: 6px; color: #52615c; background: #f3f8f6; }
.rc-layout-select__notice .z_buju1 { min-height: 0; margin: 0; line-height: 1.7; }
.rc-layout-select__workspace { display: grid !important; grid-template-columns: 300px minmax(0, 1fr); align-items: stretch; gap: 14px; width: 100%; min-width: 0; margin: 0; }
.rc-layout-selected, .rc-layout-library { float: none !important; width: auto !important; height: calc(100vh - 285px) !important; min-height: 560px; max-height: 760px; margin: 0 !important; padding: 0 !important; border: 1px solid var(--rc-border) !important; border-radius: 7px; background: #fff; box-shadow: var(--rc-shadow); overflow: hidden; }
.rc-layout-selected .bj_letop { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; margin: 0; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--rc-border); color: var(--rc-text); background: #f7f9f8; font-size: 14px; font-weight: 600; line-height: 24px; }
.rc-layout-selected .bj_letop > span { display: inline-flex; align-items: center; gap: 7px; }
.rc-layout-selected .bj_letop i { color: var(--rc-primary); }
.rc-layout-selected .bj_letop em, .rc-layout-library__heading > em { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; color: #fff; background: var(--rc-primary); font-size: 11px; font-style: normal; font-weight: 600; }
.rc-layout-selected #wrapper { position: relative !important; top: auto !important; left: auto !important; width: 100% !important; height: calc(100% - 48px) !important; border: 0 !important; overflow: hidden; }
.rc-layout-selected #scroller { width: 100%; }
.rc-layout-selected #scroller > ul { width: 100%; margin: 0; padding: 8px; overflow: visible !important; list-style: none; }
.rc-layout-selected .bj_leftli { width: 100% !important; height: auto !important; min-height: 205px; margin: 0 0 8px; padding: 12px !important; border: 1px solid var(--rc-border); border-radius: 5px; background: #fff; font-size: 11px; line-height: 1.55; text-align: center; transition: border-color .16s ease, box-shadow .16s ease; }
.rc-layout-selected .bj_leftli:hover { border-color: #b8cec7; box-shadow: 0 5px 15px rgba(18,48,40,.08); }
.rc-layout-selected .bj_leftli > span:first-child { display: block; min-height: 30px; margin: -12px -12px 10px; padding: 6px 9px; color: var(--rc-primary); background: #edf4f2; border-radius: 4px 4px 0 0; font-weight: 600; }
.rc-layout-selected .bj_leftli img { width: 112px; height: 82px; border: 1px solid var(--rc-border); border-radius: 4px; object-fit: contain; }
.rc-layout-selected .bj_leftli p { margin: 3px 0; text-align: center !important; }
.rc-layout-selected .bj_leftli button, .rc-layout-selected .bj_leftli a { display: inline-flex; align-items: center; justify-content: center; min-height: 27px; margin: 7px 2px 0 !important; padding: 3px 7px !important; border: 0; border-radius: 4px; color: #fff; font-size: 10px; line-height: 20px; text-decoration: none; text-shadow: none; }
.rc-layout-selected .bj_leftli button { background: var(--rc-accent); }
.rc-layout-selected .bj_leftli a { background: var(--rc-warning) !important; }
.rc-layout-library { display: flex; flex-direction: column; overflow: hidden; }
.rc-layout-library__heading { display: flex; align-items: center; justify-content: space-between; flex: 0 0 52px; padding: 9px 13px; border-bottom: 1px solid var(--rc-border); background: #f7f9f8; }
.rc-layout-library__heading > div { display: flex; align-items: center; gap: 9px; min-width: 0; }
.rc-layout-library__heading > div > i { color: var(--rc-primary); font-size: 17px; }
.rc-layout-library__heading span { display: flex; flex-direction: column; min-width: 0; }
.rc-layout-library__heading strong { color: var(--rc-text); font-size: 14px; line-height: 20px; }
.rc-layout-library__heading small { color: var(--rc-muted); font-size: 10px; line-height: 16px; }
.rc-layout-library__toolbar { display: grid; grid-template-columns: auto minmax(260px, 1fr); align-items: center; gap: 12px; flex: 0 0 auto; padding: 10px 12px; border-bottom: 1px solid var(--rc-border); background: #fff; }
.rc-layout-library .weixin1 { position: relative; display: flex; align-items: center; flex-wrap: nowrap; gap: 7px; min-height: 38px; margin: 0; padding: 0; border: 0; background: transparent; }
.rc-layout-library .weixin1 > span:first-child { color: #4d5a56; font-size: 12px; font-weight: 600; }
.rc-layout-library .weixin1 label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.rc-layout-library .weixin1 input[type="text"] { flex: 1 1 auto; width: 100%; min-width: 0; height: 36px; margin: 0; padding: 7px 10px; border: 1px solid #cbd6d2; border-radius: 4px; box-shadow: none; }
.rc-layout-library .weixin1 input[type="text"]:focus { border-color: var(--rc-primary); box-shadow: 0 0 0 2px rgba(7,93,78,.1); outline: 0; }
.rc-layout-library .weixin1 .bj_btn { width: 36px; height: 34px; margin: 0 !important; padding: 0; border: 0; border-radius: 4px; background: var(--rc-primary); }
.rc-layout-search__error { position: absolute; top: 100%; right: 43px; left: 0; margin-top: 2px; overflow: hidden; color: var(--rc-danger) !important; font-size: 10px !important; line-height: 14px; text-overflow: ellipsis; white-space: nowrap; }
.rc-layout-library .bj_tophome { display: flex; align-items: center; gap: 5px; width: auto; height: auto; margin: 0 !important; padding: 3px; border-radius: 5px; background: #eef2f0; }
.rc-layout-library .bj_tophome > div { float: none; width: auto; height: auto; }
.rc-layout-library .bj_tophome a { display: inline-flex; align-items: center; justify-content: center; width: auto !important; min-height: 34px; padding: 6px 13px; border: 0; border-radius: 4px; color: var(--rc-muted); background: transparent; line-height: 20px !important; text-decoration: none; }
.rc-layout-library .bj_tophome a.thbtn4 { color: #fff; background: var(--rc-primary); }
.rc-layout-library .bj_boxul { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); align-content: start; gap: 12px; flex: 1 1 auto; width: 100% !important; min-height: 0; margin: 0 !important; padding: 12px; overflow-y: auto; list-style: none; }
.rc-layout-library .bj_boxli { float: none; display: flex; flex-direction: column; width: auto !important; height: 238px !important; margin: 0 !important; padding: 10px !important; border: 1px solid var(--rc-border); border-bottom: 3px solid var(--rc-marker); border-radius: 6px; background: #fff; text-align: center; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.rc-layout-library .bj_boxli:hover { border-color: #b8cec7; box-shadow: 0 7px 18px rgba(18,48,40,.1); transform: translateY(-1px); }
.rc-layout-library .bj_boxli > div:first-child { display: flex; align-items: center; gap: 5px; height: 31px !important; margin-bottom: 7px; }
.rc-layout-library .bj_boxli > div:first-child > span { flex: 1 1 auto; min-width: 0; height: auto; margin: 0; overflow: hidden; color: var(--rc-text); font-size: 12px; line-height: 20px; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.rc-layout-library .bj_boxli .shf_span_btn { float: none; display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; min-height: 27px; margin: 0; padding: 3px 7px; border: 0; border-radius: 4px; color: #fff; font-size: 10px; line-height: 20px; text-decoration: none; text-shadow: none; }
.rc-layout-library .bj_boxli .shf_span1 { background: var(--rc-accent); }
.rc-layout-library .bj_boxli .shf_span2 { background: var(--rc-primary); }
.rc-layout-library .bj_boxli .bj_aimg { display: block; width: 100%; height: 145px; margin: 0; border: 1px solid var(--rc-border); border-radius: 4px; object-fit: contain; background: #f7f9f8; }
.rc-layout-library .bj_boxli > p { margin: auto 0 0; color: var(--rc-muted); font-size: 11px; line-height: 1.45; }
.rc-layout-select__pager { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; min-height: 54px; padding: 8px 12px; border: 1px solid var(--rc-border); border-radius: 7px; background: #fff; box-shadow: var(--rc-shadow); }
.rc-layout-select__pager:empty { display: none; }
.rc-layout-select__pager .page { float: none !important; margin: 0 !important; order: 2; }
.rc-layout-select__pager > span { float: none !important; margin: 0 auto 0 0 !important; color: var(--rc-muted); font-size: 12px; order: 1; }
.rc-layout-select-page .ui-dialog { border: 1px solid var(--rc-border); border-radius: 7px; box-shadow: 0 18px 55px rgba(8,35,28,.24); }
.rc-layout-select-page .ui-dialog-titlebar { color: var(--rc-text); background: #f7f9f8; border: 0; border-bottom: 1px solid var(--rc-border); }
.rc-layout-select-page .ui-dialog-buttonpane .ui-button { min-height: 32px; border: 0; border-radius: 4px; color: #fff; background: var(--rc-primary); }
.rc-layout-select-page.rc-rtl .rc-layout-select { direction: rtl; text-align: right; }
.rc-layout-select-page.rc-rtl .rc-layout-select__notice { border-right: 4px solid var(--rc-primary); border-left: 1px solid #d7e5e0; }
.rc-layout-select-page.rc-rtl .rc-layout-library .bj_boxli > div:first-child > span { text-align: right; }
.rc-layout-select-page.rc-rtl .rc-layout-search__error { right: 0; left: 43px; }
.rc-layout-select-page.rc-rtl .rc-layout-select__pager > span { margin-right: 0 !important; margin-left: auto !important; }

@media (prefers-reduced-motion: reduce) {
  .rc-layout-selected .bj_leftli, .rc-layout-library .bj_boxli { transition: none; }
  .rc-layout-library .bj_boxli:hover { transform: none; }
}

@media (max-width: 980px) {
  .rc-open-device-order .RenewTime > ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rc-layout-select__workspace { grid-template-columns: 250px minmax(0, 1fr); }
  .rc-layout-library__toolbar { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .rc-layout-library .bj_tophome { width: max-content; }
}
@media (max-width: 720px) {
  .rc-open-device-order .RenewTime { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .rc-open-device-order .RenewTime > span.fl { text-align: left; }
  .rc-open-device-page.rc-rtl .rc-open-device-order .RenewTime > span.fl { text-align: right !important; }
  .rc-open-device-order .RenewTime > ul { grid-template-columns: minmax(0, 1fr); padding-left: 0; }
  .rc-open-device-page.rc-rtl .rc-open-device-order .RenewTime > ul { padding-right: 0; }
  .rc-open-device-order .RenewPay > ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rc-open-device-order .RenewNeedPay { align-items: stretch; flex-direction: column; }
  .rc-open-device-order .RenewNeedPay > span { width: 100%; }
  .rc-layout-select { padding: 12px 10px 24px; }
  .rc-layout-select__heading { align-items: flex-start; flex-direction: column; }
  .rc-layout-select__workspace { grid-template-columns: minmax(0, 1fr); }
  .rc-layout-selected { height: 430px !important; }
  .rc-layout-library { height: auto !important; max-height: none; }
  .rc-layout-library .bj_boxul { max-height: none; overflow: visible; }
  .rc-layout-select__pager { align-items: flex-start; flex-direction: column; gap: 6px; }
  .rc-layout-select__pager > span { margin: 0 !important; }
}
@media (max-width: 480px) {
  .rc-open-device-order .RenewPay > ul { grid-template-columns: minmax(0, 1fr); }
  .rc-layout-library .weixin1 input[type="text"] { flex-basis: calc(100% - 44px); }
  .rc-layout-library .bj_boxul { grid-template-columns: minmax(0, 1fr); }
}

/* Interactive template library and marketplace */
.rc-touch-page, .rc-touch-page .backstageHome-2, .rc-touch-page .viewFramework-body, .rc-touch-page .viewFramework-con { width: 100%; max-width: 100%; min-width: 0; overflow-x: hidden; }
.rc-touch-page .viewFramework-con { align-items: stretch; }
.rc-touch-main { float: none; flex: 1 1 0%; align-self: stretch; width: 0 !important; min-width: 0; max-width: none; min-height: calc(100vh - 72px); margin: 0; padding: 18px 22px 30px; color: var(--rc-text); background: var(--rc-canvas); font-family: var(--rc-font); box-sizing: border-box; }
.rc-touch-main *, .rc-touch-main *::before, .rc-touch-main *::after { box-sizing: border-box; }
.rc-touch-main .breadcrumbs { margin-bottom: 13px; }
.rc-touch-main .breadcrumb { margin: 0 !important; }
.rc-touch-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 14px; padding: 16px 18px; color: #fff; background: linear-gradient(118deg, var(--rc-shell), var(--rc-primary)); border-radius: 6px; box-shadow: var(--rc-shadow); }
.rc-touch-heading span { display: block; margin-bottom: 2px; color: var(--rc-marker); font-size: 10px; font-weight: 600; }
.rc-touch-heading h1 { margin: 0; color: #fff; font-size: 20px; font-weight: 600; line-height: 1.35; }
.rc-touch-heading p { margin: 3px 0 0; color: rgba(255,255,255,.72); font-size: 11px; }
.rc-touch-heading__count { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; min-width: 72px; min-height: 40px; padding: 7px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 20px; background: rgba(255,255,255,.1); }
.rc-touch-heading__count i { font-size: 15px; }
.rc-touch-heading__count strong { color: #fff; font-size: 15px; }
.rc-touch-notice { min-height: 0; margin: 0 0 14px; padding: 11px 14px; border: 1px solid #d7e5e0; border-left: 4px solid var(--rc-primary); border-radius: 6px; color: #52615c; background: #f3f8f6; text-shadow: none; }
.rc-touch-notice h4 { margin: 0 0 4px; color: var(--rc-primary); font-size: 13px; }
.rc-touch-workspace { width: 100%; min-width: 0; margin: 0; }
.rc-touch-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 58px; margin: 0 0 14px !important; padding: 10px 12px !important; border: 1px solid var(--rc-border); border-radius: 7px; background: #fff; box-shadow: var(--rc-shadow); }
.rc-touch-toolbar label { margin: 0 0 0 4px; color: #475550; font-size: 12px; font-weight: 600; }
.rc-touch-toolbar input[type="text"], .rc-touch-toolbar select { width: auto !important; min-width: 122px; height: 34px; margin: 0; padding: 6px 9px; border: 1px solid #cbd6d2; border-radius: 4px; background: #fff; box-shadow: none; }
.rc-touch-toolbar input[type="text"]:focus, .rc-touch-toolbar select:focus { border-color: var(--rc-primary); box-shadow: 0 0 0 2px rgba(7,93,78,.1); outline: 0; }
.rc-touch-toolbar .input-prepend { display: inline-flex; align-items: stretch; margin: 0; }
.rc-touch-toolbar .input-prepend .add-on { display: inline-flex; align-items: center; height: 34px; padding: 6px 8px; border-color: #cbd6d2; border-radius: 4px 0 0 4px; color: var(--rc-muted); background: #f4f7f6; font-size: 11px; }
.rc-touch-toolbar .input-prepend input { min-width: 58px; width: 62px !important; border-radius: 0 4px 4px 0; }
.rc-touch-toolbar .btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 34px; margin: 0; padding: 6px 12px; border: 0; border-radius: 4px; color: #fff; background: var(--rc-primary); text-shadow: none; }
.rc-touch-toolbar .btn:hover, .rc-touch-toolbar .btn:focus { color: #fff; background: var(--rc-primary-hover); }
.rc-touch-toolbar .rc-touch-legacy { margin-left: auto; background: var(--rc-accent); }
.rc-touch-main .touch-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); align-items: stretch; justify-content: stretch; gap: 14px; width: 100%; margin: 0; }
.rc-touch-main .touch-list > div, .rc-touch-main .template-info, .rc-touch-main .newly-build { width: 100%; min-width: 0; height: 360px; margin: 0; border: 1px solid var(--rc-border); border-radius: 7px; background: #fff; box-shadow: var(--rc-shadow); overflow: hidden; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.rc-touch-main .template-info:hover, .rc-touch-main .newly-build:hover { border-color: #b8cec7; box-shadow: 0 8px 22px rgba(18,48,40,.1); transform: translateY(-1px); }
.rc-touch-main .newly-build { display: flex; align-items: center; justify-content: center; border-style: dashed; color: var(--rc-primary); background: #f8fbfa; }
.rc-touch-main .newly-build .content { text-align: center; }
.rc-touch-main .newly-build .content div { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: 0 auto 10px; border-radius: 50%; color: #fff; background: var(--rc-primary); font-size: 32px; line-height: 1; }
.rc-touch-main .newly-build .content p { margin: 0; color: var(--rc-primary); font-size: 13px; font-weight: 600; }
.rc-touch-main .template-info-active-header { display: flex; flex-direction: column; height: 322px; }
.rc-touch-main .template-info .header-img { position: relative; flex: 0 0 205px; min-height: 205px; overflow: hidden; background: #f5f8f7; }
.rc-touch-main .template-info .header-img img { display: block; width: 100% !important; height: 205px !important; margin: 0 !important; object-fit: contain; }
.rc-touch-main .template-info .header-info { display: flex !important; align-items: center; gap: 7px; flex: 0 0 55px; height: 55px !important; min-width: 0; padding: 8px 10px; border-bottom: 1px solid var(--rc-border); }
.rc-touch-main .template-info .header-industry { flex: 0 0 auto; width: auto !important; max-width: 88px; height: 24px !important; padding: 0 9px; overflow: hidden; border-radius: 12px !important; color: var(--rc-primary) !important; background: #e6f0ed !important; font-size: 10px !important; line-height: 24px !important; text-overflow: ellipsis; white-space: nowrap; }
.rc-touch-main .template-info .header-name { flex: 1 1 auto; width: auto !important; min-width: 0; margin: 0 !important; overflow: hidden; color: var(--rc-text) !important; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.rc-touch-main .template-info .header-pagenum { position: static !important; flex: 0 0 auto; color: var(--rc-muted); font-size: 10px !important; }
.rc-touch-main .template-info .header-active-info { display: block !important; order: 3; flex: 0 0 62px; min-height: 62px; }
.rc-touch-main .template-info .header-active-operation { display: flex !important; align-items: stretch !important; justify-content: center !important; gap: 4px; width: 100%; height: 62px !important; padding: 7px 8px; border: 0 !important; background: #fbfcfc; }
.rc-touch-main .template-info .header-active-operation > div { display: flex; align-items: center; justify-content: center; flex: 1 1 0; flex-direction: column; min-width: 0; border-radius: 4px; color: var(--rc-muted); font-size: 9px; line-height: 1.2; }
.rc-touch-main .template-info .header-active-operation > div:hover { color: var(--rc-primary); background: #eaf2ef; }
.rc-touch-main .template-info .header-active-operation > .shanchu:hover { color: var(--rc-danger); background: #f9ecea; }
.rc-touch-main .template-info .header-active-operation i { font-size: 15px !important; line-height: 18px; }
.rc-touch-main .template-info .header-active-operation p { max-width: 100%; margin: 2px 0 0 !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-touch-main .template-info .active-mask { z-index: 2; }
.rc-touch-main .template-info .header-active-img:hover .active-mask { display: flex !important; position: absolute; inset: 0; width: 100%; height: 100%; background: rgba(0,45,38,.72); }
.rc-touch-main .template-info .active-mask .handle-jump { display: flex; align-items: center; justify-content: center; flex-direction: row !important; gap: 8px; width: 100%; height: 100%; }
.rc-touch-main .template-info .active-mask .handle-jump > div { display: inline-flex; align-items: center; justify-content: center; width: auto !important; min-width: 78px; height: 32px !important; margin: 0 !important; padding: 5px 12px; border: 1px solid rgba(255,255,255,.75); border-radius: 16px !important; color: #fff; font-size: 11px !important; line-height: 20px !important; cursor: pointer; }
.rc-touch-main .template-info .active-mask .handle-jump > div:hover { border-color: var(--rc-marker) !important; background: var(--rc-primary) !important; }
.rc-touch-main .template-info-bottom { display: flex; align-items: center; gap: 8px; height: 38px !important; padding: 7px 10px; border-top: 1px solid var(--rc-border); color: var(--rc-muted) !important; background: #fff; font-size: 10px !important; }
.rc-touch-main .template-info-bottom .release-num { display: inline-flex; align-items: center; gap: 4px; margin: 0 !important; }
.rc-touch-main .template-info-bottom .release-num i { margin: 0 !important; color: var(--rc-primary) !important; font-size: 13px !important; }
.rc-touch-main .template-info-bottom .screen-info { position: static !important; margin-left: auto; white-space: nowrap; }
.rc-touch-pager { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-height: 54px; margin-top: 14px; padding: 8px 12px; border: 1px solid var(--rc-border); border-radius: 7px; background: #fff; box-shadow: var(--rc-shadow); }
.rc-touch-pager:empty { display: none; }
.rc-touch-pager .page { float: none !important; margin: 0 !important; order: 2; }
.rc-touch-pager > span { margin-right: auto; color: var(--rc-muted); font-size: 12px; order: 1; }
.rc-touch-page .modal { border: 0; border-radius: 7px; box-shadow: 0 18px 55px rgba(8,35,28,.25); overflow: hidden; }
.rc-touch-page .modal-header { padding: 13px 16px; border-bottom: 1px solid var(--rc-border); background: #f7f9f8; }
.rc-touch-page .modal-header h3 { margin: 0; color: var(--rc-text); font-size: 16px; }
.rc-touch-page .modal-body { padding: 18px; }
.rc-touch-page .modal-footer { padding: 11px 16px; border-top: 1px solid var(--rc-border); background: #f7f9f8; }
.rc-touch-page .modal-footer .btn { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 14px; border: 0; border-radius: 4px; color: #fff; background: var(--rc-primary) !important; text-shadow: none; }
.rc-touch-shop__layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); align-items: start; gap: 14px; min-width: 0; }
.rc-touch-industries { min-width: 0; border: 1px solid var(--rc-border); border-radius: 7px; background: #fff; box-shadow: var(--rc-shadow); overflow: hidden; }
.rc-touch-industries h2 { display: flex; align-items: center; gap: 7px; margin: 0; padding: 14px; border-bottom: 1px solid var(--rc-border); color: var(--rc-text); background: #f7f9f8; font-size: 13px; }
.rc-touch-industries h2 i { color: var(--rc-primary); }
.rc-touch-industries ul { margin: 0; padding: 8px; list-style: none; }
.rc-touch-industries .industry-li { min-height: 36px; margin: 2px 0; padding: 8px 10px; border-radius: 4px; color: var(--rc-muted); font-size: 12px; line-height: 20px; text-align: left; transition: background .16s ease, color .16s ease; }
.rc-touch-industries .industry-li:hover { color: var(--rc-primary); background: #edf4f2; }
.rc-touch-industries .industry-li.industry-on { position: relative; color: #fff; background: var(--rc-primary); font-weight: 600; }
.rc-touch-industries .industry-li.industry-on::before { position: absolute; top: 7px; bottom: 7px; left: 0; width: 3px; border-radius: 0 2px 2px 0; background: var(--rc-marker); content: ""; }
.rc-touch-shop__content { min-width: 0; }
.rc-touch-toolbar--shop { margin-right: 0 !important; }
.rc-touch-shop-page .template-info .header-active-info { order: 2; flex-basis: 42px; min-height: 42px; }
.rc-touch-shop-page .template-info .header-active-operation { align-items: center !important; justify-content: flex-start !important; height: 42px !important; padding: 7px 10px; color: var(--rc-danger) !important; font-size: 11px !important; font-weight: 600; text-align: left !important; }
.rc-touch-shop-page .template-info .header-info { order: 3; }
.rc-touch-shop-page .template-info-active-header { height: 302px; }
.rc-touch-shop-page .template-info-bottom { height: 58px !important; }
.rc-touch-page.rc-rtl .rc-touch-main { direction: rtl; text-align: right; }
.rc-touch-page.rc-rtl .rc-touch-notice { border-right: 4px solid var(--rc-primary); border-left: 1px solid #d7e5e0; }
.rc-touch-page.rc-rtl .rc-touch-toolbar .rc-touch-legacy, .rc-touch-page.rc-rtl .rc-touch-main .template-info-bottom .screen-info { margin-right: auto; margin-left: 0; }
.rc-touch-page.rc-rtl .rc-touch-toolbar .input-prepend .add-on { border-radius: 0 4px 4px 0; }
.rc-touch-page.rc-rtl .rc-touch-toolbar .input-prepend input { border-radius: 4px 0 0 4px; }
.rc-touch-page.rc-rtl .rc-touch-pager > span { margin-right: 0; margin-left: auto; }
.rc-touch-page.rc-rtl .rc-touch-industries .industry-li { text-align: right; }
.rc-touch-page.rc-rtl .rc-touch-industries .industry-li.industry-on::before { right: 0; left: auto; border-radius: 2px 0 0 2px; }

@media (prefers-reduced-motion: reduce) {
  .rc-touch-main .template-info, .rc-touch-main .newly-build, .rc-touch-industries .industry-li { transition: none; }
  .rc-touch-main .template-info:hover, .rc-touch-main .newly-build:hover { transform: none; }
}
@media (max-width: 1100px) {
  .rc-touch-shop__layout { grid-template-columns: 180px minmax(0, 1fr); }
  .rc-touch-main .touch-list { grid-template-columns: repeat(auto-fill, minmax(225px, 1fr)); }
}
@media (max-width: 760px) {
  .rc-touch-main { padding: 12px 10px 24px; }
  .rc-touch-heading { align-items: flex-start; flex-direction: column; }
  .rc-touch-toolbar { align-items: stretch; }
  .rc-touch-toolbar label { flex-basis: 100%; margin-left: 0; }
  .rc-touch-toolbar input[type="text"], .rc-touch-toolbar select, .rc-touch-toolbar .input-prepend { flex: 1 1 150px; }
  .rc-touch-toolbar .rc-touch-legacy { margin-left: 0; }
  .rc-touch-shop__layout { grid-template-columns: minmax(0, 1fr); }
  .rc-touch-industries ul { display: flex; gap: 6px; overflow-x: auto; }
  .rc-touch-industries .industry-li { flex: 0 0 auto; }
  .rc-touch-pager { align-items: flex-start; flex-direction: column; }
  .rc-touch-pager > span { margin: 0 !important; }
}
@media (max-width: 480px) {
  .rc-touch-main .touch-list { grid-template-columns: minmax(0, 1fr); }
}

/* Shared legacy module surface: Party Building and Digital Enterprise Publicity */
.rc-legacy-module-page, .rc-legacy-module-page .backstageHome-2, .rc-legacy-module-page .viewFramework-body, .rc-legacy-module-page .viewFramework-con { width: 100%; max-width: 100%; min-width: 0; overflow-x: hidden; }
.rc-legacy-module-page .viewFramework-con { align-items: stretch; }
.rc-legacy-module-page .box_right { float: none; flex: 1 1 0%; align-self: stretch; width: 0 !important; min-width: 0; max-width: none; min-height: calc(100vh - 72px); margin: 0 !important; padding: 18px 22px 30px !important; color: var(--rc-text); background: var(--rc-canvas); font-family: var(--rc-font); box-sizing: border-box; }
.rc-legacy-module-page .box_right *, .rc-legacy-module-page .box_right *::before, .rc-legacy-module-page .box_right *::after { box-sizing: border-box; }
.rc-legacy-module-page .breadcrumbs { width: 100%; margin: 0 0 14px !important; }
.rc-legacy-module-page .breadcrumb { min-height: 46px; margin: 0 !important; padding: 12px 14px !important; border: 1px solid var(--rc-border); border-radius: 6px; color: var(--rc-muted); background: #fff; box-shadow: var(--rc-shadow); font-size: 12px; line-height: 20px; }
.rc-legacy-module-page .breadcrumb li { display: inline-flex; align-items: center; gap: 4px; color: var(--rc-muted); text-shadow: none; }
.rc-legacy-module-page .breadcrumb li:first-child, .rc-legacy-module-page .breadcrumb li:last-child { color: var(--rc-text); font-weight: 600; }
.rc-legacy-module-page .breadcrumb i { color: var(--rc-primary); }
.rc-legacy-module-page .breadcrumb a { color: inherit; text-decoration: none; }
.rc-legacy-module-page .breadcrumb .divider { padding: 0 5px; color: #aab4b0; }
.rc-legacy-module-page .well, .rc-legacy-module-page .search, .rc-legacy-module-page .prompt, .rc-legacy-module-page .alert { height: auto !important; min-height: 54px; margin: 0 0 14px !important; padding: 10px 12px !important; border: 1px solid var(--rc-border); border-radius: 6px; color: var(--rc-text); background: #fff; box-shadow: var(--rc-shadow); text-shadow: none; }
.rc-legacy-module-page .well, .rc-legacy-module-page .search { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.rc-legacy-module-page .alert-success { border-left: 4px solid var(--rc-primary); color: #52615c; background: #f3f8f6; }
.rc-legacy-module-page .alert-warning, .rc-legacy-module-page .prompt { border-left: 4px solid var(--rc-warning); background: #fffaf0; }
.rc-legacy-module-page .well label, .rc-legacy-module-page .search label, .rc-legacy-module-page .control-label { margin: 0; color: #475550; font-size: 12px; font-weight: 600; }
.rc-legacy-module-page input[type="text"], .rc-legacy-module-page input[type="password"], .rc-legacy-module-page input[type="number"], .rc-legacy-module-page input[type="email"], .rc-legacy-module-page select, .rc-legacy-module-page textarea { max-width: 100%; min-height: 34px; margin: 0; padding: 6px 9px; border: 1px solid #cbd6d2; border-radius: 4px; background: #fff; box-shadow: none; color: var(--rc-text); }
.rc-legacy-module-page textarea { min-height: 88px; resize: vertical; }
.rc-legacy-module-page input:focus, .rc-legacy-module-page select:focus, .rc-legacy-module-page textarea:focus { border-color: var(--rc-primary); box-shadow: 0 0 0 2px rgba(7,93,78,.1); outline: 0; }
.rc-legacy-module-page .input-prepend, .rc-legacy-module-page .input-append { display: inline-flex; align-items: stretch; margin: 0; }
.rc-legacy-module-page .add-on { display: inline-flex; align-items: center; min-height: 34px; border-color: #cbd6d2; color: var(--rc-muted); background: #f4f7f6; }
.rc-legacy-module-page .btn, .rc-legacy-module-page button, .rc-legacy-module-page a.button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 30px; margin: 0; padding: 5px 10px; border: 0; border-radius: 4px; color: #fff; background: var(--rc-primary); box-shadow: none; font-size: 11px; line-height: 20px; text-decoration: none; text-shadow: none; white-space: nowrap; }
.rc-legacy-module-page .btn:hover, .rc-legacy-module-page button:hover, .rc-legacy-module-page a.button:hover { color: #fff; background: var(--rc-primary-hover); text-decoration: none; }
.rc-legacy-module-page .btn-primary, .rc-legacy-module-page .btn-success { background: var(--rc-primary); }
.rc-legacy-module-page .btn-info { background: var(--rc-accent); }
.rc-legacy-module-page .btn-warning { background: var(--rc-warning); }
.rc-legacy-module-page .btn-danger { background: var(--rc-danger); }
.rc-legacy-module-page .btn-default, .rc-legacy-module-page .btn-neutral { border: 1px solid #cbd6d2; color: var(--rc-muted); background: #fff; }
.rc-legacy-module-page .btn-default:hover, .rc-legacy-module-page .btn-neutral:hover { color: var(--rc-primary); background: #edf4f2; }
.rc-legacy-module-page .box_right > form, .rc-legacy-module-page .form-horizontal, .rc-legacy-module-page .form-inline { min-width: 0; }
.rc-legacy-module-page .form-horizontal:not(.well):not(.search), .rc-legacy-module-page .box_right > .tab-content, .rc-legacy-module-page .box_right > .content, .rc-legacy-module-page .box_right > .container-fluid { border-radius: 7px; }
.rc-legacy-module-page .control-group { min-height: 50px; margin: 0 !important; padding: 8px 0; border-bottom: 1px solid #edf0ef; }
.rc-legacy-module-page .control-group:last-child { border-bottom: 0; }
.rc-legacy-module-page .form-actions { margin: 14px 0 0; padding: 12px 16px; border: 1px solid var(--rc-border); border-radius: 6px; background: #f7f9f8; }
.rc-legacy-module-page table { width: 100% !important; max-width: 100%; margin: 0 0 14px !important; border-collapse: separate; border-spacing: 0; border: 1px solid var(--rc-border) !important; border-radius: 6px; background: #fff; box-shadow: var(--rc-shadow); overflow: hidden; }
.rc-legacy-module-page table thead th, .rc-legacy-module-page table tr:first-child th { height: 42px; padding: 9px 10px !important; border: 0 !important; border-bottom: 1px solid var(--rc-border) !important; color: #41504b; background: #f1f4f3 !important; font-size: 12px; font-weight: 600; line-height: 20px; text-align: left; white-space: nowrap; }
.rc-legacy-module-page table td { height: 46px; padding: 8px 10px !important; border: 0 !important; border-bottom: 1px solid #edf0ef !important; color: var(--rc-text); font-size: 11px; line-height: 1.45; vertical-align: middle; }
.rc-legacy-module-page table tr:last-child td { border-bottom: 0 !important; }
.rc-legacy-module-page table tbody tr:hover td { background: #f8fbfa; }
.rc-legacy-module-page table td .btn, .rc-legacy-module-page table td button, .rc-legacy-module-page table td a.button { min-height: 27px; padding: 3px 7px; font-size: 10px; }
.rc-legacy-module-page table img { max-width: 120px; max-height: 80px; border-radius: 4px; object-fit: contain; }
.rc-legacy-module-page .page { float: none !important; display: flex; align-items: center; justify-content: flex-end; margin: 12px 0 0 !important; }
.rc-legacy-module-page .page + span { float: none !important; display: block; margin: -30px auto 0 0 !important; width: max-content; color: var(--rc-muted); font-size: 11px; }
.rc-legacy-module-page .pagination, .rc-legacy-module-page .simple-pagination ul { margin: 0; }
.rc-legacy-module-page .pagination a, .rc-legacy-module-page .pagination span, .rc-legacy-module-page .simple-pagination a, .rc-legacy-module-page .simple-pagination span { min-width: 30px; min-height: 30px; border-color: #cbd6d2; color: var(--rc-primary); background: #fff; line-height: 28px; text-align: center; }
.rc-legacy-module-page .pagination .active a, .rc-legacy-module-page .simple-pagination .current { border-color: var(--rc-primary); color: #fff; background: var(--rc-primary); }
.rc-legacy-module-page .modal, .rc-legacy-module-page .ui-dialog { border: 1px solid var(--rc-border); border-radius: 7px; box-shadow: 0 18px 55px rgba(8,35,28,.25); overflow: hidden; }
.rc-legacy-module-page .modal-header, .rc-legacy-module-page .ui-dialog-titlebar { padding: 12px 15px; border: 0; border-bottom: 1px solid var(--rc-border); color: var(--rc-text); background: #f7f9f8; }
.rc-legacy-module-page .modal .close { min-width: 0; min-height: 0; padding: 0; border: 0; color: #71807b; background: transparent; box-shadow: none; font-size: 20px; line-height: 20px; }
.rc-legacy-module-page .modal-body, .rc-legacy-module-page .ui-dialog-content { padding: 16px; }
.rc-legacy-module-page .modal-footer, .rc-legacy-module-page .ui-dialog-buttonpane { padding: 10px 15px; border: 0; border-top: 1px solid var(--rc-border); background: #f7f9f8; }
.rc-legacy-module-page .nav-tabs { margin-bottom: 14px; border-bottom: 1px solid var(--rc-border); }
.rc-legacy-module-page .nav-tabs > li > a { border: 0; border-radius: 4px 4px 0 0; color: var(--rc-muted); }
.rc-legacy-module-page .nav-tabs > .active > a, .rc-legacy-module-page .nav-tabs > .active > a:hover { border: 0; border-bottom: 3px solid var(--rc-primary); color: var(--rc-primary); background: #fff; }
.rc-legacy-module-page.rc-rtl .box_right { direction: rtl; text-align: right; }
.rc-legacy-module-page.rc-rtl .alert-success, .rc-legacy-module-page.rc-rtl .alert-warning, .rc-legacy-module-page.rc-rtl .prompt { border-right-width: 4px; border-left-width: 1px; }
.rc-legacy-module-page.rc-rtl table thead th, .rc-legacy-module-page.rc-rtl table td { text-align: right; }
.rc-legacy-module-page.rc-rtl .page { justify-content: flex-start; }
.rc-legacy-module-page.rc-rtl .page + span { margin-right: auto !important; margin-left: 0 !important; }

@media (max-width: 900px) {
  .rc-legacy-module-page .box_right { overflow-x: auto; }
  .rc-legacy-module-page table { min-width: 680px; }
}
@media (max-width: 720px) {
  .rc-legacy-module-page .box_right { padding: 12px 10px 24px !important; }
  .rc-legacy-module-page .well, .rc-legacy-module-page .search { align-items: stretch; }
  .rc-legacy-module-page .well label, .rc-legacy-module-page .search label { flex-basis: 100%; }
  .rc-legacy-module-page input[type="text"], .rc-legacy-module-page select, .rc-legacy-module-page textarea { width: 100% !important; }
  .rc-legacy-module-page .page + span { margin: 7px 0 0 !important; }
}

/* Shared buttons and custom confirmation */
.rc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 32px;
  margin: 0;
  padding: 5px 13px;
  border: 1px solid transparent;
  border-radius: 4px;
  box-shadow: none;
  font: 13px/20px var(--rc-font);
  text-decoration: none;
  text-shadow: none;
  cursor: pointer;
}

.rc-btn--primary { border-color: var(--rc-primary); background: var(--rc-primary); color: #fff; }
.rc-btn--secondary { border-color: #c8ded8; background: #eaf4f1; color: var(--rc-primary); }
.rc-btn--danger { border-color: var(--rc-danger); background: var(--rc-danger); color: #fff; }
.rc-btn--neutral { border-color: #cfd7d4; background: #fff; color: var(--rc-muted); }
.rc-btn--primary > i,
.rc-btn--accent > i,
.rc-btn--warning > i,
.rc-btn--danger > i,
.btn.btn-primary > i,
.btn.btn-success > i,
.btn.btn-info > i,
.btn.btn-warning > i,
.btn.btn-danger > i {
  color: #fff !important;
  filter: brightness(0) invert(1);
  text-shadow: none !important;
}
.rc-btn--secondary > i,
.rc-btn--neutral > i {
  color: var(--rc-text) !important;
  filter: brightness(0);
  text-shadow: none !important;
}
.rc-btn:hover, .rc-btn:focus { filter: brightness(.95); }
.rc-btn:focus-visible { outline: 2px solid rgba(7, 93, 78, .28); outline-offset: 2px; }

.rc-no-scroll { overflow: hidden; }
.rc-confirm { position: fixed; inset: 0; z-index: 5000; display: none; align-items: center; justify-content: center; padding: 20px; font-family: var(--rc-font); }
.rc-confirm.is-visible { display: flex; }
.rc-confirm__backdrop { position: absolute; inset: 0; background: rgba(8, 24, 20, .48); }
.rc-confirm__dialog { position: relative; width: min(390px, 100%); padding: 28px 26px 22px; border: 1px solid var(--rc-border); border-radius: 8px; background: #fff; box-shadow: 0 20px 55px rgba(8, 35, 28, .25); text-align: center; }
.rc-confirm__close { position: absolute; top: 8px; right: 10px; width: 30px; height: 30px; border: 0; background: transparent; color: #73807c; font-size: 24px; cursor: pointer; }
.rc-confirm__icon { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin-bottom: 13px; border-radius: 50%; background: #eaf4f1; color: var(--rc-primary); font-size: 21px; }
.rc-confirm--danger .rc-confirm__icon { background: #faecea; color: var(--rc-danger); }
.rc-confirm h3 { margin: 0 0 9px; color: var(--rc-text); font-size: 18px; line-height: 1.4; }
.rc-confirm p { margin: 0; color: var(--rc-muted); font-size: 13px; line-height: 1.7; }
.rc-confirm p { white-space: pre-line; }
.rc-confirm__actions { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
html[lang^="ar"] .rc-confirm__dialog { direction: rtl; }
html[lang^="ar"] .rc-confirm__close { right: auto; left: 10px; }
html[lang^="ar"] .ui-dialog,
html[lang^="ar"] .layui-layer { direction: rtl; text-align: right; }
html[lang^="ar"] .ui-dialog .ui-dialog-titlebar-close { right: auto !important; left: 12px !important; }

/* Keep content pages contained by the admin framework. */
.rc-file-page,
.rc-bind-page,
.rc-layout-page { overflow-x: hidden; }
.rc-file-page .viewFramework-con,
.rc-bind-page .viewFramework-con,
.rc-layout-page .viewFramework-con { min-width: 0; overflow-x: hidden; }
.rc-file-manager,
.rc-device-bind,
.rc-layout-manager { float: none; width: 100%; max-width: 100%; padding: 0 18px 28px; box-sizing: border-box; color: var(--rc-text); font-family: var(--rc-font); }
.rc-file-manager *, .rc-file-manager *::before, .rc-file-manager *::after,
.rc-device-bind *, .rc-device-bind *::before, .rc-device-bind *::after,
.rc-layout-manager *, .rc-layout-manager *::before, .rc-layout-manager *::after { box-sizing: border-box; }

/* Category actions belong to the category row. */
.rc-device-category-actions { display: flex !important; align-items: center; flex: 0 0 auto; gap: 6px; margin: 0 0 0 10px; padding: 0 !important; }
.rc-device-category-actions .zzz_wrap { position: relative; float: none !important; margin: 0; }
.rc-device-list .rc-device-filters .rc-device-category-actions .rc-category-action { display: inline-flex !important; align-items: center; justify-content: center; gap: 5px; min-width: 58px; min-height: 28px; padding: 3px 8px !important; border: 1px solid #dfe6e3 !important; border-radius: 4px; background: #f7f9f8 !important; box-shadow: none !important; color: #68736f !important; font-size: 11px; font-weight: 400; line-height: 20px; text-decoration: none; }
.rc-device-list .rc-device-filters .rc-device-category-actions .rc-category-action i { color: inherit !important; background-image: none !important; text-shadow: none !important; }
.rc-device-list .rc-device-filters .rc-device-category-actions .rc-category-action:hover,
.rc-device-list .rc-device-filters .rc-device-category-actions .rc-category-action:focus { border-color: #bfd3cc !important; background: #edf4f1 !important; color: var(--rc-primary) !important; outline: 0; }
.rc-device-category-actions .z_more2 { right: 0; left: auto !important; top: 36px !important; z-index: 30; min-width: 250px; padding: 14px; border: 1px solid var(--rc-border); border-radius: 6px; background: #fff; box-shadow: 0 12px 30px rgba(13, 43, 36, .16); }
.rc-device-category-actions .z_more2 input { width: 100%; max-width: none; margin: 8px 0; }
.rc-device-page.rc-rtl .rc-device-category-actions { margin-right: 10px; margin-left: 0; }
.rc-device-page.rc-rtl .rc-device-category-actions .z_more2 { right: auto; left: 0 !important; text-align: right; }

/* File management */
.rc-file-notice,
.rc-layout-notice { margin: 0 0 14px; padding: 12px 15px; border: 1px solid #d9e6e1; border-radius: 5px; background: #f4f8f6; color: #52625d; font-size: 12px; line-height: 1.75; text-shadow: none; }
.rc-file-notice h4,
.rc-layout-notice h4 { margin: 0 0 4px; color: var(--rc-primary); font-size: 13px; }
.rc-file-notice b { color: #986b1d !important; }
.rc-file-stats { height: auto !important; margin-bottom: 14px !important; border: 1px solid var(--rc-border); border-radius: 6px; background: #fff; box-shadow: var(--rc-shadow); overflow: hidden; }
.rc-file-stats ul { display: grid; grid-template-columns: minmax(190px, 1.6fr) repeat(6, minmax(72px, 1fr)); height: auto !important; margin: 0; }
.rc-file-stats ul li { float: none !important; width: auto !important; min-width: 0; height: 82px !important; border-right: 1px solid #e7ecea; }
.rc-file-stats ul li span { height: 41px !important; line-height: 41px !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-file-stats ul li .xx1line2 { color: var(--rc-muted); font-size: 11px; }
.rc-file-stats ul li > span:last-child { color: var(--rc-text); font-size: 15px; font-weight: 600; }
.rc-file-stats ul li .xx1line { display: flex; align-items: center; padding: 0 10px !important; }
.rc-file-stats .progress { float: none !important; width: 100%; margin: 0 !important; }
.rc-file-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 54px; margin: 0 0 12px; padding: 10px 12px; border: 1px solid var(--rc-border); border-radius: 6px; background: #fff; }
.rc-file-toolbar > input[type="text"], .rc-file-toolbar > select { width: min(230px, 100%); height: 34px; margin: 0; border: 1px solid #ccd7d3; border-radius: 4px; }
.rc-file-toolbar > span { margin-left: 6px; color: var(--rc-muted); font-size: 12px; }
.rc-file-toolbar .btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; width: auto !important; min-width: 92px; height: 34px !important; margin: 0 !important; padding: 6px 12px !important; border-radius: 4px; box-shadow: none; font-size: 12px; line-height: 20px; text-shadow: none; }
.rc-file-categories .xxin3 { display: flex; align-items: center; min-height: 62px; height: auto; margin: 0 0 12px; padding: 10px 12px; border: 1px solid var(--rc-border); border-radius: 6px; background: #fff; }
.rc-file-categories .change_wrap1 { flex: 1 1 auto; min-width: 0; width: auto !important; }
.rc-file-categories #menu { display: flex; flex-wrap: wrap; gap: 7px; }
.rc-file-categories .zzz_wrap { position: relative; float: none !important; }
.rc-file-categories .bip1 { display: inline-flex; align-items: center; min-height: 30px; margin: 0; padding: 4px 10px; border: 1px solid #e0e5e3; border-radius: 4px; background: #f5f6f6; color: var(--rc-muted); line-height: 20px; }
.rc-file-categories .det_bg { border-color: #cfe1db; background: #eaf3f0; color: var(--rc-primary); }
.rc-file-categories .xxin3_r { display: flex !important; align-items: center; flex: 0 0 auto; gap: 6px; padding: 0 !important; }
.rc-file-categories .xx3_ra { display: inline-flex; align-items: center; gap: 5px; min-height: 31px; margin: 0 0 0 6px; padding: 5px 9px; border-color: #d4dedb; border-radius: 4px; background: #fff; }
.rc-file-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin: 0; }
.rc-file-card { position: relative; display: flex; float: none !important; width: auto !important; min-width: 0; min-height: 270px; height: auto !important; margin: 0 !important; padding: 10px !important; align-self: start; flex-direction: column; border: 1px solid var(--rc-border) !important; border-radius: 6px !important; background: #fff; box-shadow: 0 1px 2px rgba(20, 45, 38, .03); overflow: hidden; }
.rc-file-card:hover { border-color: #bdcec8 !important; box-shadow: var(--rc-shadow); }
.rc-file-card > input[type="checkbox"] { position: absolute; z-index: 2; top: 12px; left: 12px; width: 16px; height: 16px; margin: 0; accent-color: var(--rc-primary); cursor: pointer; }
.rc-file-card > a { display: flex !important; align-items: center; justify-content: center; flex: 0 0 128px; height: 128px !important; max-height: 128px !important; }
.rc-file-card > img { flex: 0 0 128px; width: 100% !important; height: 128px !important; }
.rc-file-card img { max-width: 100% !important; object-fit: contain; }
.rc-file-card p { min-height: 20px; margin: 5px 0 !important; overflow: hidden; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
.rc-file-meta { display: flex !important; align-items: center; flex-wrap: wrap; gap: 2px 8px; min-height: 36px; height: auto !important; color: var(--rc-muted); font-size: 11px; line-height: 18px; }
.rc-file-meta > span { float: none !important; margin: 0 !important; white-space: nowrap; }
.rc-file-actions { display: flex; align-items: center; flex-wrap: nowrap; gap: 3px; width: 100%; margin-top: 6px; }
.rc-file-actions .marle10 { margin: 0 !important; }
.rc-file-actions button, .rc-file-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 3px; flex: 1 1 auto; width: auto; min-width: 0; min-height: 26px; margin: 0 !important; padding: 3px 4px; box-sizing: border-box; border: 0; border-radius: 4px; font-size: 10px; line-height: 18px; text-decoration: none; white-space: nowrap; }
.rc-file-actions button i, .rc-file-actions a i { flex: 0 0 auto; margin: 0; font-size: 10px; }
.rc-file-page.rc-rtl .rc-file-card > input[type="checkbox"] { right: 12px; left: auto; }
.rc-file-bulk, .rc-layout-bulk { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 12px; border: 1px solid var(--rc-border); border-radius: 6px; background: #fff; }
.rc-file-bulk .btn, .rc-layout-bulk .btn { margin: 0; border-radius: 4px; box-shadow: none; text-shadow: none; }
.rc-file-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 54px; margin-top: 14px; padding: 9px 12px; border: 1px solid var(--rc-border); border-radius: 6px; background: #fff; box-shadow: 0 1px 2px rgba(20,45,38,.03); }
.rc-file-footer .rc-file-bulk { order: 1; flex: 0 0 auto; margin: 0; padding: 0; border: 0; background: transparent; }
.rc-file-footer__actions .btn,
.rc-layout-footer__actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 32px; margin: 0; padding: 6px 11px; line-height: 20px; }
.rc-file-footer > span { order: 2; margin: 0 0 0 auto !important; color: var(--rc-muted); font-size: 12px; line-height: 30px; white-space: nowrap; }
.rc-file-footer > .page { order: 3; float: none !important; margin: 0 !important; white-space: nowrap; }
.rc-file-footer .compact-theme { margin: 0; }
.rc-file-footer .compact-theme a,
.rc-file-footer .compact-theme span { min-width: 29px; height: 30px; padding: 0 8px; box-sizing: border-box; line-height: 30px; }
.rc-file-page.rc-rtl .rc-file-footer > span { margin-right: auto !important; margin-left: 0 !important; }
.rc-file-page.rc-rtl .rc-file-footer > .page { direction: ltr; }

/* Material edit */
.rc-file-edit-page,
.rc-file-edit-page .backstageHome-2,
.rc-file-edit-page .viewFramework-con { max-width: 100%; overflow-x: hidden; }
.rc-file-edit { float: none; width: 100%; max-width: 100%; padding: 18px 22px 32px; box-sizing: border-box; color: var(--rc-text); background: var(--rc-canvas); font-family: var(--rc-font); }
.rc-file-edit *, .rc-file-edit *::before, .rc-file-edit *::after { box-sizing: border-box; }
.rc-file-edit-form { width: 100%; max-width: 1080px; margin: 0 auto; }
.rc-file-edit-title { position: relative; height: auto !important; margin: 0 !important; padding: 15px 18px 15px 22px !important; color: var(--rc-text) !important; font-size: 16px !important; font-weight: 600; line-height: 24px !important; background: #f7f9f8 !important; border: 1px solid var(--rc-border); border-bottom: 0; border-radius: 7px 7px 0 0; }
.rc-file-edit-title::before { position: absolute; top: 0; bottom: 0; left: 0; width: 4px; content: ""; background: var(--rc-primary); border-radius: 7px 0 0 0; }
.rc-file-edit-card { width: 100% !important; height: auto !important; margin: 0 !important; overflow: visible; background: #fff; border: 1px solid var(--rc-border) !important; border-radius: 0 0 7px 7px; box-shadow: var(--rc-shadow); }
.rc-file-edit-card > .bor_bot { display: grid !important; grid-template-columns: 180px minmax(0, 1fr); width: 100% !important; min-height: 68px !important; height: auto !important; line-height: 1.6 !important; border: 0 !important; border-bottom: 1px solid var(--rc-border) !important; }
.rc-file-edit-card > .bor_bot > .w20 { display: flex; align-items: center; justify-content: flex-start; width: auto !important; min-width: 0; height: auto !important; padding: 14px 18px; color: #47534f; font-size: 12px; font-weight: 600; line-height: 1.6 !important; text-align: left; background: #f7f9f8; border: 0 !important; border-right: 1px solid var(--rc-border) !important; }
.rc-file-edit-card > .bor_bot > .w80 { display: flex; align-items: center; width: auto !important; min-width: 0; height: auto !important; padding: 14px 18px !important; color: var(--rc-muted); line-height: 1.7 !important; }
.rc-file-edit-card input[type="text"] { width: min(440px,100%); height: 36px; margin: 0; padding: 7px 10px; border: 1px solid #cbd6d2; border-radius: 4px; box-shadow: none; }
.rc-file-edit-card input[type="text"]:focus,
.rc-file-edit-card textarea:focus { border-color: var(--rc-primary); box-shadow: 0 0 0 3px rgba(7,93,78,.10); outline: 0; }
.rc-file-edit-category-row { min-height: 142px !important; }
.rc-file-edit-category-row > .xxin3 { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; width: auto !important; min-width: 0; min-height: 0 !important; height: auto !important; padding: 16px 18px; background: #fff !important; border: 0 !important; }
.rc-file-edit-category-row .xxin3_l { flex: 1 1 auto; min-width: 0; }
.rc-file-edit-category-row #menu { position: static !important; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; height: auto !important; margin: 0 !important; padding: 0 !important; transform: none !important; }
.rc-file-edit-category-row .zzz_wrap { position: relative; float: none !important; }
.rc-file-edit-category-row .bip { display: inline-flex; align-items: center; min-height: 32px; padding: 5px 11px; color: var(--rc-muted); background: #f4f7f6; border: 1px solid #dce5e2; border-radius: 4px; line-height: 20px; }
.rc-file-edit-category-row .det_bg { color: var(--rc-primary); background: #eaf4f1; border-color: #c9ddd6; }
.rc-file-edit-category-row .xxin3_r { display: flex; align-items: center; flex: 0 0 auto; gap: 7px; padding: 0 !important; }
.rc-file-edit-category-row .xx3_ra { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; margin: 0 !important; padding: 5px 10px; border: 1px solid #cbd9d4; border-radius: 4px; color: var(--rc-primary); background: #fff; }
.rc-file-edit-description { min-height: 150px !important; }
.rc-file-edit-description textarea { width: min(620px,100%); min-height: 108px; margin: 0 !important; padding: 9px 10px; resize: vertical; border: 1px solid #cbd6d2; border-radius: 4px; background: #fff !important; box-shadow: none; }
.rc-file-edit-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; width: 100%; height: auto !important; min-height: 64px; padding: 12px 18px; background: #fbfcfb; }
.rc-file-edit-actions .h93btn { position: static !important; display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: auto !important; min-width: 96px; height: 36px !important; margin: 0 !important; padding: 7px 14px; color: #fff; border: 0; border-radius: 4px; line-height: 22px !important; text-shadow: none; }
.rc-file-edit-actions .h93btn:first-child { background: var(--rc-primary) !important; }
.rc-file-edit-actions .h93btn:last-child { background: #7b8582 !important; }
.rc-file-edit-page.rc-rtl .rc-file-edit { direction: rtl; text-align: right; }
.rc-file-edit-page.rc-rtl .rc-file-edit-title { padding-right: 22px !important; }
.rc-file-edit-page.rc-rtl .rc-file-edit-title::before { right: 0; left: auto; border-radius: 0 7px 0 0; }
.rc-file-edit-page.rc-rtl .rc-file-edit-card > .bor_bot > .w20 { border-right: 0 !important; border-left: 1px solid var(--rc-border) !important; text-align: right; }
.rc-file-edit-page.rc-rtl .rc-file-edit-actions { justify-content: flex-start; }

/* Insert material into layouts */
.rc-file-layout-page,
.rc-file-layout-page .backstageHome-2,
.rc-file-layout-page .viewFramework-con { max-width: 100%; overflow-x: hidden; }
.rc-file-layout-manager { float: none; width: 100%; max-width: 100%; min-height: calc(100vh - 72px); padding: 18px 22px 32px; box-sizing: border-box; color: var(--rc-text); background: var(--rc-canvas); font-family: var(--rc-font); }
.rc-file-layout-manager *, .rc-file-layout-manager *::before, .rc-file-layout-manager *::after { box-sizing: border-box; }
.rc-file-layout-workspace { width: 100%; min-width: 0; }
.rc-file-layout-hero { position: static !important; display: grid; grid-template-columns: 240px minmax(0,1fr); grid-template-areas: "title title" "resource notice"; gap: 12px 16px; width: 100%; height: auto !important; min-height: 0; margin: 0 0 14px; padding: 0; border: 0; background: transparent; }
.rc-file-layout-hero .tophome1 { grid-area: title; width: 100%; height: 40px; border-bottom: 1px solid var(--rc-border); }
.rc-file-layout-hero .thbtn1 { width: auto; min-width: 132px; height: 40px; padding: 0 16px; color: #fff; background: var(--rc-primary); border: 0; border-radius: 5px 5px 0 0; }
.rc-file-layout-resource { position: static !important; grid-area: resource; width: 100% !important; height: 190px !important; margin: 0 !important; padding: 10px !important; text-align: center; background: #fff; border: 1px solid var(--rc-border); border-radius: 6px; box-shadow: var(--rc-shadow); }
.rc-file-layout-resource > a { display: flex; align-items: center; justify-content: center; width: 100% !important; height: 125px !important; line-height: normal !important; }
.rc-file-layout-resource > img { width: 100% !important; height: 125px !important; object-fit: contain; }
.rc-file-layout-resource img { max-width: 100% !important; max-height: 125px !important; object-fit: contain; }
.rc-file-layout-resource p { margin: 4px 0 !important; overflow: hidden; color: var(--rc-text); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.rc-file-layout-resource > div { display: flex !important; align-items: center; justify-content: center; gap: 8px; height: auto !important; color: var(--rc-muted); font-size: 10px; }
.rc-file-layout-resource > div span { float: none !important; margin: 0 !important; }
.rc-file-layout-notice { position: static !important; grid-area: notice; align-self: stretch; margin: 0 !important; }
.rc-file-layout-notice .prompt { width: 100%; height: 100%; min-height: 190px; margin: 0; }
.rc-file-layout-notice .prompt > div { display: flex; align-items: center; min-height: 190px; padding: 18px 20px; background: #fffaf1; border: 1px solid #eadbbf; border-left: 4px solid var(--rc-warning); border-radius: 6px; }
.rc-file-layout-notice .prompt p { margin: 0; color: #685d4d; line-height: 1.9; }
.rc-file-layout-notice .prompt p > span { display: block; color: #8a641e; font-weight: 700; }
.rc-file-layout-form { position: static !important; width: 100% !important; margin: 0 !important; }
.rc-file-layout-toolbar { display: flex; align-items: center; gap: 8px; min-height: 54px; margin: 0 0 12px; padding: 9px 12px; background: #fff; border: 1px solid var(--rc-border); border-radius: 6px; }
.rc-file-layout-toolbar .input-append { display: flex; margin: 0; }
.rc-file-layout-toolbar .search-query { width: min(300px,calc(100vw - 380px)); height: 34px; margin: 0; border-color: #cbd6d2; border-radius: 4px 0 0 4px !important; box-shadow: none; }
.rc-file-layout-toolbar .input-append button { width: 38px; height: 34px; padding: 0; color: #fff; background: var(--rc-primary); border: 0; border-radius: 0 4px 4px 0; }
.rc-file-layout-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(270px,1fr)); gap: 12px; width: 100%; min-width: 0; }
.rc-file-layout-grid .shop_wrap { float: none !important; width: auto !important; height: auto !important; margin: 0 !important; }
.rc-file-layout-grid .shop_con { display: flex; float: none !important; width: 100% !important; height: 286px !important; margin: 0 !important; padding: 12px !important; flex-direction: column; background: #fff; border: 1px solid var(--rc-border); border-radius: 6px; box-shadow: 0 1px 2px rgba(20,45,38,.03); }
.rc-file-layout-grid .shc_top { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 7px; min-height: 30px; }
.rc-file-layout-grid .shc_top input[type="checkbox"] { width: 15px; height: 15px; margin: 0 !important; accent-color: var(--rc-primary); }
.rc-file-layout-grid .shc_top p.title { min-width: 0; margin: 0; overflow: hidden; color: var(--rc-text) !important; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.rc-file-layout-grid .shc_top a { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; color: #fff; background: var(--rc-primary); border-radius: 4px; text-decoration: none; }
.rc-file-layout-grid .fixH { display: flex; align-items: center; justify-content: center; flex: 1 1 auto; width: 100%; height: auto !important; min-height: 150px; padding: 10px 0 !important; }
.rc-file-layout-grid .shc_center { display: flex; align-items: center; justify-content: center; width: 174px !important; height: 135px !important; margin: 0 auto !important; background: #f5f7f6; border: 1px solid var(--rc-border); border-radius: 5px; }
.rc-file-layout-grid .shc_center img { max-width: 100%; object-fit: contain; }
.rc-file-layout-grid .shc_p { height: auto !important; min-height: 22px; margin: 2px 0 !important; overflow: hidden; color: var(--rc-muted); font-size: 11px; line-height: 20px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.rc-file-layout-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 54px; margin-top: 14px; padding: 9px 12px; background: #fff; border: 1px solid var(--rc-border); border-radius: 6px; }
.rc-file-layout-footer__actions { display: flex; align-items: center; gap: 7px; order: 1; }
.rc-file-layout-footer__actions .btn { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; margin: 0; padding: 6px 11px; border-radius: 4px; text-shadow: none; }
.rc-file-layout-footer > span { order: 2; margin: 0 0 0 auto !important; color: var(--rc-muted); font-size: 12px; white-space: nowrap; }
.rc-file-layout-footer > .page { order: 3; float: none !important; margin: 0 !important; }
.rc-file-layout-footer .compact-theme { margin: 0; }
.rc-file-layout-footer .compact-theme a,
.rc-file-layout-footer .compact-theme span { min-width: 29px; height: 30px; padding: 0 8px; box-sizing: border-box; line-height: 30px; }
.rc-file-layout-page.rc-rtl .rc-file-layout-manager { direction: rtl; text-align: right; }
.rc-file-layout-page.rc-rtl .rc-file-layout-notice .prompt > div { border-right: 4px solid var(--rc-warning); border-left-width: 1px; }
.rc-file-layout-page.rc-rtl .rc-file-layout-footer > span { margin-right: auto !important; margin-left: 0 !important; }
.rc-file-layout-page.rc-rtl .rc-file-layout-footer > .page { direction: ltr; }

@media (max-width: 760px) {
  .rc-file-edit, .rc-file-layout-manager { padding: 12px 10px 24px; }
  .rc-file-edit-card > .bor_bot { grid-template-columns: minmax(0,1fr); }
  .rc-file-edit-card > .bor_bot > .w20 { border-right: 0 !important; border-bottom: 1px solid var(--rc-border) !important; }
  .rc-file-edit-category-row > .xxin3 { flex-direction: column; }
  .rc-file-layout-hero { grid-template-columns: minmax(0,1fr); grid-template-areas: "title" "resource" "notice"; }
  .rc-file-layout-grid { grid-template-columns: minmax(0,1fr); }
  .rc-file-layout-footer { align-items: flex-start; flex-direction: column; }
  .rc-file-layout-footer > span { margin: 0 !important; }
}

/* Material upload */
.rc-file-upload { float: none; width: 100%; max-width: 100%; padding: 0 18px 28px; box-sizing: border-box; color: var(--rc-text); font-family: var(--rc-font); }
.rc-file-upload *, .rc-file-upload *::before, .rc-file-upload *::after { box-sizing: border-box; }
.rc-upload-form { width: 100%; max-width: 1180px; margin: 0 auto; }
.rc-upload-notice { margin: 0 0 14px; padding: 12px 15px; border: 1px solid #eadfca; border-left: 4px solid var(--rc-warning); border-radius: 6px; background: #fffaf1; color: #685d4d; font-size: 12px; line-height: 1.75; text-shadow: none; }
.rc-upload-notice h4 { margin: 0 0 4px; color: #8a641e; font-size: 13px; }
.rc-upload-notice b { color: #8a641e !important; }
.rc-upload-card { height: auto !important; border: 1px solid var(--rc-border) !important; border-radius: 7px; background: #fff; box-shadow: var(--rc-shadow); overflow: visible; }
.rc-upload-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); width: 100%; min-height: 92px; height: auto !important; border: 0 !important; border-bottom: 1px solid var(--rc-border) !important; }
.rc-upload-label { display: flex !important; align-items: center; justify-content: flex-start; width: auto !important; min-width: 0; height: auto !important; padding: 18px 20px; border: 0 !important; border-right: 1px solid var(--rc-border) !important; background: #f7f9f8; color: var(--rc-text); font-size: 13px; font-weight: 600; line-height: 1.5 !important; text-align: left; }
.rc-upload-control { width: auto !important; min-width: 0; height: auto !important; padding: 16px 20px !important; }
.rc-upload-category-row { min-height: 118px; position: relative; }
.rc-upload-category-tools { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; width: 100%; }
.rc-upload-category-tools #menu { display: flex; flex: 1 1 auto; flex-wrap: wrap; gap: 7px; min-width: 0; }
.rc-upload-category-tools .zzz_wrap { position: relative; float: none !important; margin: 0; }
.rc-upload-category-tools .bip { display: inline-flex; align-items: center; min-height: 32px; margin: 0; padding: 5px 11px; border: 1px solid #e0e6e4; border-radius: 4px; background: #f5f7f6; color: var(--rc-muted); font-size: 12px; line-height: 20px; text-decoration: none; }
.rc-upload-category-tools .bip:hover { border-color: #b9ccc6; color: var(--rc-primary); }
.rc-upload-category-tools .det_bg { border-color: #c8ddd6; background: #e8f2ef; color: var(--rc-primary); font-weight: 600; }
.rc-upload-category-actions { display: flex; align-items: center; flex: 0 0 auto; gap: 6px; margin: 0; }
.rc-upload-category-actions .xx3_ra { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; margin: 0 !important; padding: 5px 10px; border: 1px solid #d1dcd8; border-radius: 4px; background: #fff; color: var(--rc-primary); font-size: 12px; line-height: 20px; text-decoration: none; }
.rc-upload-category-actions .xx3_ra:hover { border-color: #9fbab2; background: #f4f8f6; }
.rc-upload-category-actions .z_more2,
.rc-upload-category-tools .zzzzz .z_more2 { z-index: 40; min-width: 250px; padding: 14px; border: 1px solid var(--rc-border); border-radius: 6px; background: #fff; box-shadow: 0 12px 30px rgba(13, 43, 36, .16); line-height: 1.5; }
.rc-upload-category-actions .z_more2 { right: 0; left: auto !important; top: 38px !important; }
.rc-upload-category-actions .z_more2 input,
.rc-upload-category-tools .zzzzz .z_more2 input { width: 100%; height: 34px; margin: 7px 0 9px !important; border: 1px solid #ccd7d3; border-radius: 4px; }
.rc-upload-category-hint { clear: both; margin: 11px 0 0 !important; color: var(--rc-danger) !important; font-size: 12px; line-height: 1.6; }
.rc-upload-type-control { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 8px 14px; }
.rc-upload-type-control #fileType { float: none !important; width: 160px; height: 36px !important; margin: 0; border: 1px solid #ccd7d3; border-radius: 4px; background: #fff; }
.rc-upload-format-hint { flex: 1 1 360px; width: auto !important; margin: 7px 0 0 !important; color: var(--rc-muted); font-size: 12px; line-height: 1.65; }
.rc-upload-permission-hint { flex: 1 1 100%; width: auto !important; height: auto !important; margin: 2px 0 0 !important; color: var(--rc-danger) !important; font-size: 12px; line-height: 1.7; }
.rc-upload-permission-hint .btn-link { height: auto; margin: 0 3px; padding: 0; color: var(--rc-primary); vertical-align: baseline; }
.rc-upload-picker-row { min-height: 112px; }
.rc-upload-picker { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.rc-upload-legacy-picker { float: none !important; height: auto !important; }
.rc-file-upload #drop { display: inline-flex; align-items: center; min-height: 68px; margin: 0; padding: 10px; border: 1px dashed #aec7bf; border-radius: 6px; background: #f7faf9; color: var(--rc-muted); text-transform: none; }
.rc-file-upload #drop:hover { border-color: var(--rc-primary); background: #f1f7f5; }
.rc-file-upload #drop a { display: inline-flex; align-items: center; min-height: 36px; margin: 0; padding: 8px 16px; border-radius: 4px; background: var(--rc-primary); color: #fff; font-size: 13px; font-weight: 600; line-height: 20px; text-transform: none; box-shadow: none; }
.rc-file-upload #drop a:hover { background: var(--rc-primary-hover); }
.rc-upload-progress-row { min-height: 154px; }
.rc-upload-progress { max-height: 240px; overflow: auto; }
.rc-file-upload #fileTips { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; width: 100%; margin: 0; list-style: none; }
.rc-file-upload #fileTips li { width: 100%; min-width: 0; height: 66px; margin: 0; border: 1px solid var(--rc-border); border-radius: 5px; background: #fafcfb; }
.rc-file-upload #fileTips li canvas { top: 8px; left: 10px; }
.rc-file-upload #fileTips li p { top: 11px; right: 34px; left: 72px; width: auto; margin: 0; color: var(--rc-primary); font-size: 12px; }
.rc-file-upload #fileTips li span { top: 25px; right: 12px; }
.rc-upload-footer { display: flex; align-items: center; justify-content: center; min-height: 70px; height: auto !important; padding: 14px 20px; }
.rc-upload-back { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: auto !important; min-width: 100px; height: 34px !important; margin: 0 !important; padding: 6px 14px !important; border: 1px solid #cbd6d2; border-radius: 4px; background: #fff; color: var(--rc-muted); font-size: 12px; line-height: 20px; box-shadow: none; text-shadow: none; }
.rc-upload-back:hover { border-color: #9fb5ad; background: #f5f8f7; color: var(--rc-primary); }
.rc-file-upload-page.rc-rtl .rc-upload-back .icon-arrow-left { transform: scaleX(-1); }
.rc-file-upload.rc-file-upload { overflow: visible; }
.rc-file-upload-page.rc-rtl .rc-upload-label { border-right: 0 !important; border-left: 1px solid var(--rc-border) !important; text-align: right; }
.rc-file-upload-page.rc-rtl .rc-upload-category-actions .z_more2 { right: auto; left: 0 !important; text-align: right; }
.rc-file-upload-page.rc-rtl .rc-file-upload #fileTips li canvas { right: 10px; left: auto; }
.rc-file-upload-page.rc-rtl .rc-file-upload #fileTips li p { right: 72px; left: 34px; }
.rc-file-upload-page.rc-rtl .rc-file-upload #fileTips li span { right: auto; left: 12px; }

/* Device binding */
.rc-bind-page,
.rc-bind-page .backstageHome-2,
.rc-bind-page .viewFramework-body,
.rc-bind-page .viewFramework-con { width: 100%; max-width: 100%; min-width: 0; }
.rc-bind-page .viewFramework-con { align-items: stretch; }
.rc-bind-page .rc-device-bind { float: none; flex: 1 1 0%; align-self: stretch; width: 0 !important; min-width: 0; max-width: none; min-height: calc(100vh - 72px); margin: 0 !important; padding: 18px 22px 30px; background: var(--rc-canvas); }
.rc-bind-card { width: 100%; max-width: none; margin: 8px 0 0; padding: 20px; border: 1px solid var(--rc-border); border-radius: 7px; background: #fff; box-shadow: var(--rc-shadow); }
.rc-bind-card form { margin: 0; }
.rc-bind-heading { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 0 0 15px; border-bottom: 1px solid var(--rc-border); }
.rc-bind-heading__icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: var(--rc-primary); font-size: 16px; }
.rc-bind-heading__icon i { padding: 0; }
.rc-bind-heading h1 { margin: 0; color: var(--rc-text); font-size: 18px; font-weight: 600; line-height: 1.4; }
.rc-bind-heading p { margin: 3px 0 0; color: var(--rc-muted); font-size: 11px; line-height: 1.65; }
.rc-bind-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rc-bind-method { display: flex; min-width: 0; overflow: hidden; border: 1px solid var(--rc-border); border-radius: 7px; background: #fff; flex-direction: column; }
.rc-bind-method__header { display: grid; grid-template-columns: 28px 42px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 92px; padding: 15px 17px; border-bottom: 1px solid var(--rc-border); background: #f8faf9; }
.rc-bind-method__number { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 22px; border-radius: 11px; color: #705816; background: #f7e9be; font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.rc-bind-method__icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; color: var(--rc-primary); background: #e5f1ed; font-size: 17px; }
.rc-bind-method--terminal .rc-bind-method__icon { color: var(--rc-accent); background: #e8f1f6; }
.rc-bind-method__icon i { padding: 0; }
.rc-bind-method__header h2 { margin: 0; color: var(--rc-text); font-size: 15px; font-weight: 600; line-height: 1.45; }
.rc-bind-method__header p { margin: 3px 0 0; color: var(--rc-muted); font-size: 10px; line-height: 1.6; }
.rc-bind-form, .rc-bind-terminal { display: flex; flex: 1 1 auto; min-height: 0; padding: 18px; flex-direction: column; }
.rc-bind-field + .rc-bind-field { margin-top: 16px; }
.rc-bind-field label { display: block; margin: 0 0 6px; color: var(--rc-text); font-size: 12px; font-weight: 600; }
.rc-bind-field input[type="text"] { display: block; width: 100%; height: 38px; margin: 0; padding: 7px 10px; border: 1px solid #cbd6d2; border-radius: 4px; background: #fff; color: var(--rc-text); box-shadow: none; direction: ltr; text-align: left; }
.rc-bind-field input[type="text"]:focus { border-color: var(--rc-primary); box-shadow: 0 0 0 2px rgba(7,93,78,.1); outline: 0; }
.rc-bind-field p { display: flex; align-items: flex-start; gap: 5px; margin: 6px 0 0; color: var(--rc-muted); font-size: 10px; line-height: 1.6; }
.rc-bind-field p i { flex: 0 0 auto; margin-top: 2px; padding: 0; color: var(--rc-accent); }
.rc-bind-method__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; }
.rc-bind-method__actions .rc-btn { margin: 0; }
.rc-bind-code { position: relative; padding: 17px 18px; border: 1px solid #cfe0da; border-radius: 6px; background: #f3f8f6; }
.rc-bind-code > span { display: block; margin-bottom: 5px; color: var(--rc-muted); font-size: 10px; }
.rc-bind-code > strong { display: block; color: var(--rc-primary); font-size: 26px; font-weight: 700; letter-spacing: .12em; line-height: 1.25; direction: ltr; }
.rc-bind-code > small { display: flex; align-items: flex-start; gap: 5px; margin-top: 7px; color: var(--rc-muted); font-size: 10px; line-height: 1.55; }
.rc-bind-code > small i { flex: 0 0 auto; margin-top: 2px; padding: 0; color: var(--rc-accent); }
.rc-bind-steps { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.rc-bind-steps li { display: flex; align-items: center; gap: 9px; min-height: 34px; color: var(--rc-muted); font-size: 11px; line-height: 1.55; }
.rc-bind-steps li > span { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 26px; width: 26px; height: 26px; border: 1px solid #bfd2cb; border-radius: 50%; color: var(--rc-primary); background: #fff; font-size: 10px; font-weight: 700; }
.rc-bind-footer { display: flex; align-items: center; margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--rc-border); }
.rc-bind-footer .rc-btn { margin: 0; }
.rc-bind-help { display: grid; grid-template-columns: 32px minmax(0,1fr); align-items: start; width: 100%; height: auto !important; min-height: 0; margin: 0 0 14px; padding: 13px 15px; border: 1px solid #d8e5e0; border-left: 4px solid var(--rc-primary); border-radius: 5px; background: #f3f8f6; color: #52625d; line-height: 1.7; }
.rc-bind-help__icon { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; color: var(--rc-primary); background: #e2f0eb; border-radius: 50%; }
.rc-bind-help__content { min-width: 0; }
.rc-bind-help__content strong { display: block; margin: 0 0 3px; color: var(--rc-primary); font-size: 13px; }
.rc-bind-help p { width: auto !important; margin: 0; line-height: 1.75; }
.rc-bind-help .btn, .rc-bind-help .rc-btn { margin: 0 6px; border-radius: 4px; }
.rc-bind-alert { margin: 0 0 12px; border-radius: 5px; text-shadow: none; }
.rc-bind-form-table { width: 100%; margin: 0; border: 1px solid var(--rc-border); border-collapse: separate; border-spacing: 0; border-radius: 6px; overflow: hidden; }
.rc-bind-form-table td { padding: 15px; border: 0; border-bottom: 1px solid #e7ecea; background: #fff; vertical-align: top; }
.rc-bind-form-table tr:last-child td { border-bottom: 0; }
.rc-bind-form-table td:first-child { width: 180px; background: #f7f9f8; color: var(--rc-text); }
.rc-bind-form-table label { margin: 0; font-size: 13px !important; font-weight: 600; }
.rc-bind-form-table input[type="text"] { width: min(420px, 100%); height: 36px; margin: 0; border: 1px solid #cbd6d2; border-radius: 4px; }
.rc-bind-form-table .text-info { margin: 6px 0 0; color: var(--rc-muted); font-size: 11px; line-height: 1.6; }
.rc-bind-form-table tr:last-child td { padding-left: 195px !important; text-align: left !important; }

/* 绑定页也被复用为党建 / 单位管理模块的入口，这些路径会被挂上 rc-legacy-module-page。
   legacy 里的通用 `button` 与 `.alert` 规则特异度高于 .rc-btn--neutral / .alert-error，
   会把 rc-bind 组件外观顶掉（返回键被染成主色、错误提示丢警示色），这里按 rc-bind 作用域压回去。 */
.rc-legacy-module-page.rc-bind-page .rc-bind-method__actions button.rc-btn { border: 1px solid transparent; border-radius: 4px; min-height: 32px; margin: 0; padding: 5px 13px; font: 13px/20px var(--rc-font); }
.rc-legacy-module-page.rc-bind-page .rc-bind-method__actions button.rc-btn--primary { border-color: var(--rc-primary); background: var(--rc-primary); color: #fff; }
.rc-legacy-module-page.rc-bind-page .rc-bind-alert { min-height: 0; margin: 0 0 12px !important; padding: 8px 35px 8px 14px !important; text-shadow: none; }
.rc-legacy-module-page.rc-bind-page .rc-bind-alert.alert-error { border-color: #eed3d7; background: #f2dede; color: #b94a48; }
.rc-legacy-module-page.rc-bind-page .rc-bind-alert.alert-success { border-color: #d6e9c6; background: #dff0d8; color: #468847; }

/* Storage purchase */
.rc-space-page { overflow-x: hidden; }
.rc-space-page .viewFramework-con { min-width: 0; overflow-x: hidden; }
.rc-space-purchase { float: none; width: 100%; max-width: 100%; padding: 18px 22px 32px; box-sizing: border-box; background: var(--rc-canvas); color: var(--rc-text); font-family: var(--rc-font); }
.rc-space-purchase *, .rc-space-purchase *::before, .rc-space-purchase *::after { box-sizing: border-box; }
.rc-space-notice { margin: 0 0 14px; padding: 12px 15px; border: 1px solid #d8e5e0; border-radius: 6px; background: #f3f8f6; color: #55645f; text-shadow: none; }
.rc-space-notice > b { display: block; margin-bottom: 4px; color: var(--rc-primary); font-size: 13px; }
.rc-space-notice p { margin: 2px 0; font-size: 11px; line-height: 1.65; }
.rc-space-notice a { color: var(--rc-accent); font-weight: 600; }
.rc-space-form { width: 100%; margin: 0; }
.rc-space-heading { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 15px 17px; border: 1px solid var(--rc-border); border-radius: 6px; background: #fff; box-shadow: var(--rc-shadow); }
.rc-space-heading__icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; background: var(--rc-primary); }
.rc-space-heading h1 { margin: 0; color: var(--rc-text); font-size: 17px; font-weight: 600; line-height: 1.45; }
.rc-space-heading p { margin: 2px 0 0; color: var(--rc-muted); font-size: 11px; }
.rc-space-options { width: 100%; margin: 0 0 14px; border: 1px solid var(--rc-border); border-collapse: separate; border-spacing: 0; border-radius: 6px; background: #fff; box-shadow: var(--rc-shadow); overflow: hidden; }
.rc-space-options tr { height: auto; border: 0; }
.rc-space-options td { padding: 15px 16px; border: 0; border-bottom: 1px solid #e8edeb; background: #fff; vertical-align: top; }
.rc-space-options tr:last-child td { border-bottom: 0; }
.rc-space-options .rc-space-options__label { width: 155px; padding-top: 20px; background: #f7f9f8; color: var(--rc-text); font-size: 12px; font-weight: 600; text-align: right; }
.rc-space-options .rc-space-options__value { text-align: left; }
.rc-space-current { display: flex; align-items: stretch; flex-wrap: wrap; gap: 10px; }
.rc-space-current > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex: 1 1 220px; min-height: 48px; padding: 9px 12px; border: 1px solid #dce6e2; border-radius: 5px; background: #f7faf9; }
.rc-space-current span { color: var(--rc-muted); font-size: 11px; }
.rc-space-current strong { color: var(--rc-primary); font-size: 15px; font-weight: 600; }
.rc-space-plan-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 9px; }
.rc-space-plan { position: relative; display: flex !important; align-items: center; gap: 8px; min-width: 0; min-height: 58px; margin: 0 !important; padding: 10px 34px 10px 12px !important; border: 1px solid #dce4e1; border-radius: 5px; background: #fff; color: var(--rc-text); cursor: pointer; }
.rc-space-plan:hover { border-color: #a9c0b8; background: #fbfdfc; }
.rc-space-plan:has(input:checked) { border-color: var(--rc-primary); background: #f1f7f5; box-shadow: inset 0 0 0 1px var(--rc-primary); }
.rc-space-plan.is-selected { border-color: var(--rc-primary); background: #f1f7f5; box-shadow: inset 0 0 0 1px var(--rc-primary); }
.rc-space-plan > input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.rc-space-plan__check { position: absolute; top: 0; right: 0; display: none; align-items: center; justify-content: center; width: 28px; height: 25px; border-radius: 0 4px 0 14px; background: var(--rc-primary); }
.rc-space-plan input:checked ~ .rc-space-plan__check { display: inline-flex; }
.rc-space-plan strong { min-width: 0; color: var(--rc-text); font-size: 13px; overflow-wrap: anywhere; }
.rc-space-plan small { margin-left: auto; color: #a56d14; font-size: 12px; font-weight: 600; white-space: nowrap; }
.rc-space-periods { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.rc-space-period { display: inline-flex !important; align-items: center; gap: 5px; min-width: 86px; min-height: 38px; margin: 0 !important; padding: 7px 12px !important; border: 1px solid #dce4e1; border-radius: 5px; background: #fff; color: var(--rc-muted); cursor: pointer; }
.rc-space-period:has(input:checked) { border-color: var(--rc-primary); background: #f1f7f5; color: var(--rc-primary); box-shadow: inset 0 0 0 1px var(--rc-primary); }
.rc-space-period.is-selected { border-color: var(--rc-primary); background: #f1f7f5; color: var(--rc-primary); box-shadow: inset 0 0 0 1px var(--rc-primary); }
.rc-space-period input { width: 14px; height: 14px; margin: 0; accent-color: var(--rc-primary); }
.rc-space-period strong { color: inherit; font-size: 14px; }
.rc-space-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: stretch; gap: 14px; border: 0; background: transparent; }
.rc-space-payment { margin: 0; padding: 17px !important; border: 1px solid var(--rc-border) !important; border-radius: 6px; background: #fff !important; box-shadow: var(--rc-shadow); }
.rc-space-payment > span.fl { float: none; display: block; margin: 0 0 11px !important; color: var(--rc-text); font-size: 13px; font-weight: 600; }
.rc-space-payment ul { display: grid; grid-template-columns: repeat(2, minmax(180px, 240px)); gap: 9px; margin: 0; padding: 0 !important; }
.rc-space-payment li { min-width: 0 !important; height: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
.rc-payment-option { display: flex !important; align-items: center; gap: 10px; min-height: 58px; margin: 0 !important; padding: 10px 12px !important; border: 1px solid #dce4e1; border-radius: 5px; background: #fff; cursor: pointer; }
.rc-payment-option:has(input:checked) { border-color: var(--rc-primary); background: #f1f7f5; box-shadow: inset 0 0 0 1px var(--rc-primary); }
.rc-payment-option.is-selected { border-color: var(--rc-primary); background: #f1f7f5; box-shadow: inset 0 0 0 1px var(--rc-primary); }
.rc-payment-option input { width: 15px; height: 15px; margin: 0; accent-color: var(--rc-primary); }
.rc-space-payment .RenewIcon, .rc-space-payment .RenewIcon1 { flex: 0 0 auto; margin: 0; background-position: center; }
.rc-space-summary { display: flex; flex-direction: column; justify-content: center; min-width: 0; margin: 0; padding: 18px !important; border: 1px solid #ccddd7; border-radius: 6px; background: #f8fbfa; box-shadow: var(--rc-shadow); }
.rc-space-summary > div { display: block !important; width: 100% !important; margin: 0 0 13px; padding: 0 0 13px; border-bottom: 1px solid #dfe7e4; }
.rc-space-summary #cost { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0; color: var(--rc-muted); font-size: 12px; }
.rc-space-summary #cost em { color: #a4640d !important; font-size: 22px !important; white-space: nowrap; }
.rc-space-summary #spacePurchaseSubmit { width: 100%; min-height: 38px; }
.rc-space-page.rc-rtl .rc-space-purchase { direction: rtl; text-align: right; }
.rc-space-page.rc-rtl .rc-space-options .rc-space-options__label { text-align: left; }
.rc-space-page.rc-rtl .rc-space-options .rc-space-options__value { text-align: right; }
.rc-space-page.rc-rtl .rc-space-plan { padding-right: 12px !important; padding-left: 34px !important; }
.rc-space-page.rc-rtl .rc-space-plan__check { right: auto; left: 0; border-radius: 4px 0 14px 0; }
.rc-space-page.rc-rtl .rc-space-plan small { margin-right: auto; margin-left: 0; }

/* Device detail */
.rc-device-detail-page { overflow-x: hidden; }
.rc-device-detail-page .viewFramework-con { min-width: 0; overflow-x: hidden; }
.rc-device-detail { float: none; width: 100%; max-width: 100%; padding: 18px 22px 32px; box-sizing: border-box; background: var(--rc-canvas); color: var(--rc-text); font-family: var(--rc-font); }
.rc-device-detail *, .rc-device-detail *::before, .rc-device-detail *::after { box-sizing: border-box; }
.rc-device-detail-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .85fr); align-items: start; gap: 14px; width: 100%; }
.rc-device-detail__rail { display: flex; grid-column: 2; flex-direction: column; gap: 14px; min-width: 0; }
.rc-device-detail__main,
.rc-device-detail__aside { float: none !important; width: auto !important; min-width: 0; margin: 0 !important; border: 1px solid var(--rc-border) !important; border-radius: 6px; background: #fff; color: var(--rc-muted); box-shadow: var(--rc-shadow); overflow: visible; }
.rc-device-detail__main { grid-row: auto; }
.rc-device-detail__schedule { grid-column: 2; }
.rc-device-detail__rail .rc-device-detail__schedule { grid-column: auto; }
.rc-device-detail .rc-detail-section__header,
.rc-device-detail__aside > .h40 { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; height: auto; min-height: 44px; margin: 0; padding: 8px 13px; border: 0; border-bottom: 1px solid var(--rc-border); border-left: 4px solid var(--rc-primary); background: #f7f9f8; line-height: 1.5; }
.rc-device-detail .rc-detail-section__header.bortop,
.rc-device-detail__aside > .h40.bortop { border-top: 1px solid var(--rc-border); }
.rc-device-detail .rc-detail-section__header > div,
.rc-device-detail__aside > .h40 > div { float: none !important; margin: 0 !important; }
.rc-device-detail .rc-detail-section__header b,
.rc-device-detail__aside > .h40 b { color: var(--rc-text) !important; font-size: 13px; font-weight: 600; }
.rc-device-schedule-edit { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; margin: 0; padding: 4px 10px; color: var(--rc-primary); font: 600 11px/20px var(--rc-font); background: #fff; border: 1px solid #bcd2ca; border-radius: 4px; cursor: pointer; }
.rc-device-schedule-edit:hover,
.rc-device-schedule-edit:focus { color: #fff; background: var(--rc-primary); border-color: var(--rc-primary); outline: 0; }
.rc-device-timing-editor { padding: 0 !important; overflow: hidden !important; }
.rc-device-timing-editor iframe { display: block; width: 100%; height: 100%; min-height: 420px; }
.rc-device-detail .rc-detail-section__header .alert { height: auto !important; margin: 0 8px 0 auto; padding: 4px 8px !important; border: 1px solid #d5e2dd; border-radius: 4px; background: #eff6f3; color: var(--rc-muted); font-size: 10px; line-height: 18px; text-shadow: none; }
.rc-device-detail .rc-detail-section__header .z_xlgx { float: none !important; min-height: 29px; margin: 0 0 0 auto; padding: 4px 10px; border: 1px solid #c9d9d3; border-radius: 4px; background: #eef5f2; color: var(--rc-primary); font-size: 11px; }
.rc-detail-status { padding: 12px 15px; border-bottom: 1px solid var(--rc-border); background: #fff; }
.rc-detail-status > .h40 { display: flex; align-items: center; gap: 8px; height: auto; min-height: 36px; margin: 0; }
.rc-detail-status > .z_padd10 { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 10px; padding: 8px 0; }
.rc-detail-status .z_xlsp { display: inline-flex; align-items: center; justify-content: center; min-height: 29px; margin: 0 6px 0 0; padding: 4px 9px; border-radius: 4px; line-height: 20px; }
.rc-detail-status .z_xlimg1 { display: flex; align-items: center; justify-content: center; width: 180px; min-height: 128px; border: 1px solid #e0e6e4; border-radius: 5px; background: #f5f7f6; }
.rc-detail-status .z_xlimg1 img { max-width: 160px; max-height: 150px; object-fit: contain; }
.rc-detail-status > div:last-child { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 9px; }
.rc-detail-status > div:last-child > div { margin: 0; padding: 7px; border: 1px solid #e3e8e6; border-radius: 5px; background: #fafbfb; }
.rc-detail-status > div:last-child > div span { color: var(--rc-muted); line-height: 1.45; }
.rc-detail-status > div:last-child img { max-width: 135px; max-height: 135px; object-fit: contain; }
.rc-detail-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; width: 100%; margin: 0 !important; padding: 8px 16px !important; }
.rc-detail-fields > p.h40,
.rc-detail-fields > div.h40 { display: grid; grid-template-columns: minmax(110px, 34%) minmax(0, 1fr); align-items: center; width: 100%; height: auto !important; min-height: 45px; margin: 0; padding: 6px 0; border-bottom: 1px solid #edf0ef; line-height: 1.5; }
.rc-detail-fields > p.h40 > .z_w20,
.rc-detail-fields > div.h40 > .z_w20 { float: none; width: auto; margin: 0 10px 0 0; color: var(--rc-muted); font-size: 12px; text-align: right; }
.rc-detail-fields .z_xlh1 { float: none; width: auto; min-width: 0; color: var(--rc-text); text-align: left !important; overflow-wrap: anywhere; }
.rc-detail-fields .z_xlh1 > span { width: auto !important; max-width: 100%; height: auto !important; line-height: 1.5 !important; }
.rc-detail-fields .pencil { display: inline-block; float: none; margin-left: 6px; vertical-align: middle; }
.rc-detail-fields .shong { display: inline-flex !important; align-items: center; min-height: 26px; margin: 0 0 0 7px !important; padding: 2px 7px; border: 1px solid #cddbd6; border-radius: 4px; background: #f1f6f4; color: var(--rc-primary); font-size: 11px; line-height: 20px; text-decoration: none; }
.rc-detail-fields button.shong { gap: 5px; font-family: inherit; cursor: pointer; }
.rc-detail-fields select { width: min(190px, 100%); height: 33px !important; margin: 0; border: 1px solid #ccd7d3; border-radius: 4px; background: #fff; line-height: 31px !important; }
.rc-detail-fields > .z_padd10 { grid-column: 1 / -1; min-height: 170px; margin: 0; padding: 12px 0; border-bottom: 1px solid #edf0ef; }
.rc-device-model { font-family: Consolas, "SFMono-Regular", Menlo, monospace; font-weight: 600; letter-spacing: .01em; }
.rc-detail-fields > .rc-device-rotation { grid-column: 1 / -1; margin: 12px 0 4px; border: 1px solid #dfe7e4; border-radius: 6px; background: #fbfcfc; overflow: hidden; }
.rc-device-rotation__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding: 8px 12px; border-bottom: 1px solid #e4eae8; background: #f4f7f6; }
.rc-device-rotation__title { display: inline-flex; align-items: center; gap: 7px; color: var(--rc-text); font-size: 12px; font-weight: 600; }
.rc-device-rotation__title i { color: var(--rc-primary); }
.rc-device-rotation__current { display: inline-flex; align-items: center; gap: 8px; color: var(--rc-primary); font-size: 12px; }
.rc-device-rotation__current strong { font-weight: 600; }
.rc-device-rotation__current span { min-width: 42px; padding: 2px 7px; border: 1px solid #cbdcd6; border-radius: 10px; background: #fff; color: var(--rc-muted); font-size: 10px; text-align: center; }
.rc-device-rotation__body { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: center; gap: 18px; padding: 16px; }
.rc-device-rotation__preview { position: relative; display: flex; align-items: center; justify-content: center; height: 142px; border: 1px dashed #cbd8d4; border-radius: 6px; background: linear-gradient(145deg, #f8faf9, #eef4f2); overflow: hidden; }
.rc-device-rotation__preview::before { content: ""; position: absolute; width: 94px; height: 94px; border: 1px solid #dfe8e5; border-radius: 50%; }
.rc-device-rotation__screen { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 108px; height: 66px; border: 3px solid var(--rc-primary); border-radius: 6px; background: #fff; color: var(--rc-primary); box-shadow: 0 8px 18px rgba(0, 96, 75, .13); transition: transform .22s ease; }
.rc-device-rotation__screen::after { content: ""; position: absolute; right: 5px; top: 50%; width: 3px; height: 3px; margin-top: -2px; border-radius: 50%; background: #7e958d; }
.rc-device-rotation__screen i { font-size: 23px; }
.rc-device-rotation__screen span { position: absolute; left: 8px; right: 8px; bottom: 7px; height: 3px; border-radius: 2px; background: #dce9e5; }
.rc-device-rotation__options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rc-rotation-option { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 51px; margin: 0; padding: 8px 11px; border: 1px solid #d8e2df; border-radius: 5px; background: #fff; color: var(--rc-text); line-height: 1.35; text-align: left; cursor: pointer; box-shadow: none; transition: border-color .16s ease, background .16s ease, color .16s ease; }
.rc-rotation-option:hover, .rc-rotation-option:focus { border-color: #8eb7aa; background: #f1f7f5; outline: 0; }
.rc-rotation-option > i { flex: 0 0 28px; color: #789088; font-size: 16px; text-align: center; }
.rc-rotation-option > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-width: 0; font-size: 11px; font-weight: 600; }
.rc-rotation-option small { color: #87958f; font-size: 9px; font-weight: 400; }
.rc-rotation-option.is-active { border-color: var(--rc-primary); background: var(--rc-primary); color: #fff; }
.rc-rotation-option.is-active > i, .rc-rotation-option.is-active small { color: #fff; }
.rc-detail-fields > button { grid-column: 1 / -1; justify-self: center; width: auto !important; min-width: 180px; margin: 12px 0 4px !important; border-radius: 4px; background: var(--rc-primary); box-shadow: none; text-shadow: none; }
.rc-detail-fields .z_more2,
.rc-device-detail #menuListDIV { z-index: 100; width: min(520px, calc(100vw - 330px)) !important; max-width: 100%; height: auto; padding: 14px; border: 1px solid var(--rc-border); border-radius: 6px; background: #fff; box-shadow: 0 14px 34px rgba(13,43,36,.18); }
.rc-device-category-open { overflow: hidden; }
.rc-device-detail .rc-device-category-backdrop { position: fixed; inset: 0; z-index: 1090; background: rgba(13, 30, 26, .38); }
.rc-device-detail #z_more214.rc-device-category-dialog { position: fixed; left: 50% !important; top: 50% !important; z-index: 1100; width: min(420px, calc(100vw - 32px)) !important; max-width: none; min-height: 0; padding: 0; border: 1px solid #dce5e2; border-radius: 7px; background: #fff; box-shadow: 0 18px 48px rgba(8, 37, 30, .25); transform: translate(-50%, -50%); overflow: hidden; }
.rc-device-category-dialog__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 10px 14px; border-bottom: 1px solid var(--rc-border); background: #f6f8f7; }
.rc-device-category-dialog__header strong { display: inline-flex; align-items: center; gap: 7px; color: var(--rc-text); font-size: 14px; font-weight: 600; }
.rc-device-category-dialog__header strong i { color: var(--rc-primary); }
.rc-device-category-dialog__close { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin: 0; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--rc-muted); cursor: pointer; }
.rc-device-category-dialog__close:hover, .rc-device-category-dialog__close:focus { background: #e9eeec; color: var(--rc-text); outline: 0; }
.rc-device-category-dialog__body { padding: 18px 16px 16px; }
.rc-device-category-dialog__body label { display: block; margin: 0 0 8px; color: var(--rc-text); font-size: 12px; font-weight: 600; line-height: 1.5; }
.rc-device-detail .rc-device-category-dialog__body select { box-sizing: border-box; width: 100%; height: 40px !important; margin: 0; padding: 6px 10px; border: 1px solid #bdcdc7; border-radius: 5px; background: #fff; color: var(--rc-text); font-size: 13px; line-height: 28px !important; box-shadow: none; cursor: pointer; }
.rc-device-detail .rc-device-category-dialog__body select:focus { border-color: var(--rc-primary); box-shadow: 0 0 0 3px rgba(7, 93, 78, .1); outline: 0; }
.rc-device-category-dialog__actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 11px 14px; border-top: 1px solid var(--rc-border); background: #fafbfb; }
.rc-device-category-dialog__actions button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 78px; min-height: 34px; margin: 0; padding: 6px 13px; border: 1px solid transparent; border-radius: 4px; font-family: inherit; font-size: 12px; line-height: 20px; cursor: pointer; }
.rc-device-category-dialog__confirm { border-color: var(--rc-primary) !important; background: var(--rc-primary); color: #fff; }
.rc-device-category-dialog__confirm:hover, .rc-device-category-dialog__confirm:focus { background: var(--rc-primary-hover); outline: 0; }
.rc-device-category-dialog__confirm:disabled { opacity: .58; cursor: wait; }
.rc-device-category-dialog__cancel { border-color: #d4ddda !important; background: #fff; color: var(--rc-muted); }
.rc-device-category-dialog__cancel:hover, .rc-device-category-dialog__cancel:focus { border-color: #aebeb8 !important; background: #f3f6f5; color: var(--rc-text); outline: 0; }
.rc-device-detail #menuListDIV { left: 0; top: 40px !important; min-height: 110px; }
.rc-device-detail #menuListDIV .xxin3_span { float: none; height: auto; margin-bottom: 8px; line-height: 1.5; }
.rc-device-detail #menuListDIV .change_wrap1 { width: 100% !important; }
.rc-device-detail #menuListDIV #menu { display: flex; flex-wrap: wrap; gap: 7px; }
.rc-device-detail #menuListDIV .bip { float: none; width: auto; min-width: 70px; height: 30px; margin: 0; padding: 4px 9px; border-color: #dce3e0; border-radius: 4px; background: #f6f7f7; line-height: 20px; }
.rc-device-detail #menuListDIV .det_bg { border-color: var(--rc-primary); background: var(--rc-primary); color: #fff; }
.rc-device-detail__aside > p.h40,
.rc-device-detail__schedule .z_xrwrapb > p.h40 { display: grid; grid-template-columns: minmax(105px, 38%) minmax(0, 1fr); align-items: center; width: auto; height: auto; min-height: 43px; margin: 0 14px; padding: 6px 0; border-bottom: 1px solid #edf0ef; line-height: 1.5; }
.rc-device-detail__aside p.h40 .z_w20 { float: none; width: auto; margin: 0 8px 0 0; color: var(--rc-muted); font-size: 12px; text-align: right; }
.rc-device-detail__aside p.h40 .z_xlh1 { width: auto; min-width: 0; color: var(--rc-text); text-align: left !important; overflow-wrap: anywhere; }
.rc-device-detail__aside .z_xrwrapb { width: 100%; height: auto; max-height: 270px; overflow: auto; }
.rc-device-detail__schedule .z_xrwrapb { max-height: none; padding: 6px 0; overflow: visible; }
.rc-device-detail__aside .z_xrwrapb table { width: 100%; margin: 0; border: 0; border-collapse: collapse; table-layout: fixed; color: var(--rc-text); }
.rc-device-detail__aside .z_xrwrapb table thead,
.rc-device-detail__aside .z_xrwrapb table tbody { display: table-row-group; width: auto; height: auto; overflow: visible; }
.rc-device-detail__aside .z_xrwrapb table thead { display: table-header-group; }
.rc-device-detail__aside .z_xrwrapb table tr,
.rc-device-detail__aside .z_xrwrapb table tbody tr { display: table-row; height: 40px; padding: 0; background: #fff; line-height: 1.4; }
.rc-device-detail__aside .z_xrwrapb table tbody tr:nth-child(even) { background: #fafbfb; }
.rc-device-detail__aside .z_xrwrapb table td,
.rc-device-detail__aside .z_xrwrapb table tbody tr td { display: table-cell; float: none !important; width: auto !important; padding: 8px 9px; border-bottom: 1px solid #edf0ef; color: var(--rc-text); font-size: 11px; text-align: left; vertical-align: middle; overflow-wrap: anywhere; }
.rc-device-detail__aside .z_xrwrapb table thead td { position: sticky; top: 0; z-index: 1; background: #f1f4f3; color: #46534f; font-weight: 600; }
.rc-device-detail-page.rc-rtl .rc-device-detail { direction: rtl; text-align: right; }
.rc-device-detail-page.rc-rtl .rc-device-detail .rc-detail-section__header,
.rc-device-detail-page.rc-rtl .rc-device-detail__aside > .h40 { border-right: 4px solid var(--rc-primary); border-left: 0; }
.rc-device-detail-page.rc-rtl .rc-detail-fields > p.h40 > .z_w20,
.rc-device-detail-page.rc-rtl .rc-detail-fields > div.h40 > .z_w20,
.rc-device-detail-page.rc-rtl .rc-device-detail__aside p.h40 .z_w20 { margin-right: 0; margin-left: 10px; text-align: left; }
.rc-device-detail-page.rc-rtl .rc-detail-fields .z_xlh1,
.rc-device-detail-page.rc-rtl .rc-device-detail__aside p.h40 .z_xlh1,
.rc-device-detail-page.rc-rtl .rc-device-detail__aside .z_xrwrapb table td { text-align: right !important; }
.rc-device-detail-page.rc-rtl .rc-detail-fields .shong { margin-right: 7px !important; margin-left: 0 !important; }
.rc-device-detail-page.rc-rtl .rc-detail-fields .pencil { margin-right: 6px; margin-left: 0; }
.rc-device-detail-page.rc-rtl .rc-device-detail #menuListDIV { right: 0; left: auto; }
.rc-device-detail-page.rc-rtl .rc-rotation-option { text-align: right; }

/* Program / layout management */
.rc-layout-manager { padding: 18px 22px 32px; background: var(--rc-canvas); }
.rc-layout-content { width: 100%; min-width: 0; }
.rc-layout-content .tophome { display: flex; align-items: flex-end; width: 100%; height: 42px; margin: 0 0 12px; padding: 0 12px; border: 0; border-bottom: 1px solid var(--rc-border); background: transparent; }
.rc-layout-content .tophome1 { float: none; width: auto; }
.rc-layout-content .thbtn1 { width: auto; min-width: 110px; height: 35px; margin: 0; padding: 0 16px; border: 0; border-radius: 4px 4px 0 0; background: var(--rc-primary); font-size: 13px; line-height: 35px; }
.rc-layout-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; width: 100%; height: auto !important; margin: 0 0 10px !important; padding: 11px 12px; border: 1px solid var(--rc-border); border-radius: 6px; background: #fff; }
.rc-layout-toolbar .input-append { display: flex !important; margin: 0; }
.rc-layout-toolbar .input-append input { width: min(310px, 55vw) !important; height: 34px !important; border: 1px solid #ccd7d3 !important; border-radius: 4px 0 0 4px !important; }
.rc-layout-toolbar .input-append button { width: 38px !important; height: 34px !important; margin: 0; border: 0; border-radius: 0 4px 4px 0; background: var(--rc-primary) !important; line-height: 34px !important; }
.rc-layout-toolbar .input-append button i { color: #fff !important; text-shadow: none !important; }
.rc-layout-toolbar a.button { display: inline-flex !important; align-items: center; justify-content: center; gap: 5px; width: auto !important; min-width: 112px; height: 34px !important; margin: 0 !important; padding: 6px 12px; border-radius: 4px; background: var(--rc-primary) !important; line-height: 22px !important; }
.rc-layout-filters { width: 100%; height: auto; margin: 0 0 10px; padding: 5px 12px; border: 1px solid var(--rc-border); border-radius: 6px; background: #fff; }
.rc-layout-filters .xianxuan_wrap { display: block; width: 100%; height: auto; margin: 0; padding: 0; border: 0; }
.rc-layout-filters .form_xx { display: flex; align-items: center; flex-wrap: wrap; float: none; gap: 0; width: 100%; height: auto; min-height: 46px; margin: 0; padding: 7px 0; border: 0; border-bottom: 1px solid #e9eeec; line-height: normal; }
.rc-layout-filters .form_xx:last-child { border-bottom: 0; }
.rc-layout-filters .form_xx > span { display: block; float: none; flex: 0 0 86px; margin: 3px 8px 3px 0; color: var(--rc-text); font-size: 12px; font-weight: 600; }
.rc-layout-filters label.checkbox.inline { display: inline-flex; align-items: center; gap: 5px; min-height: 29px; margin: 3px 8px 3px 0; padding: 3px 9px; border: 1px solid #e2e7e5; border-radius: 4px; background: #f6f7f7; color: var(--rc-muted); font-size: 12px; line-height: 21px; }
.rc-layout-filters label.checkbox.inline:has(input:checked) { border-color: #c9ddd6; background: #eaf3f0; color: var(--rc-primary); }
.rc-layout-filters input[type="radio"] { margin: 0; accent-color: var(--rc-primary); }
.rc-layout-content .wraning { margin: 0 0 10px; padding: 9px 12px; border: 1px solid #eadabb; border-radius: 5px; background: #fcf8ef; color: #79633d; font-size: 12px; }
.rc-layout-content .wraning span { width: auto; height: auto; margin-right: 7px; background: none; }
.rc-layout-content .wraning span::before { content: "\26A0"; color: #a77a27; }
.rc-layout-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(286px, 1fr)); align-items: stretch; gap: 14px; width: 100%; }
.rc-layout-grid > .shop_wrap { float: none; min-width: 0; margin: 0 !important; }
.rc-layout-grid .shop_con { position: relative; display: flex; flex-direction: column; float: none !important; width: 100% !important; height: 302px !important; margin: 0 !important; padding: 13px !important; border: 1px solid var(--rc-border) !important; border-radius: 6px; background: #fff; box-shadow: 0 1px 2px rgba(20,45,38,.03); overflow: hidden; }
.rc-layout-grid .shop_con:hover { border-color: #b9ccc5 !important; box-shadow: var(--rc-shadow); }
.rc-layout-grid .shc_top { display: grid; grid-template-columns: auto minmax(72px, 1fr) auto auto; align-items: center; gap: 6px; width: 100%; min-height: 30px; }
.rc-layout-grid .shc_top input[type="checkbox"] { flex: 0 0 auto; margin: 0 2px 0 0; accent-color: var(--rc-primary); }
.rc-layout-grid .shop_con p.title { width: auto !important; min-width: 0; margin: 0; color: var(--rc-text) !important; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-layout-grid .shc_top a { padding: 3px 7px !important; border: 1px solid var(--rc-primary); border-radius: 4px !important; background: var(--rc-primary) !important; color: #fff !important; white-space: nowrap; }
.rc-layout-grid .shc_top a:nth-of-type(2) { border-color: var(--rc-accent); background: var(--rc-accent) !important; }
.rc-layout-grid .shc_top .rc-layout-preview-action { display: inline-flex !important; align-items: center; justify-content: center; justify-self: end; gap: 4px; flex: 0 0 auto; width: auto !important; min-width: 58px; max-width: max-content; height: 28px; padding: 3px 8px !important; box-sizing: border-box; line-height: 20px; }
.rc-layout-grid .shc_top .rc-layout-preview-action i { flex: 0 0 auto; margin: 0; }
.rc-layout-grid .fixH { display: flex; align-items: center; justify-content: center; flex: 1 1 auto; width: 100%; height: auto !important; min-height: 158px; padding: 12px 0 !important; }
.rc-layout-grid .shc_center { display: flex; align-items: center; justify-content: center; width: 174px !important; height: 138px !important; margin: 0 auto !important; border: 1px solid #d9e1de; border-radius: 5px; background: #f4f6f5; }
.rc-layout-grid .shc_cenbox img { max-width: 100%; object-fit: contain; }
.rc-layout-grid .shop_con p.shc_p { margin: 0 0 9px; color: var(--rc-muted); font-size: 11px; text-align: center; }
.rc-layout-orientation-badge { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; padding: 2px 7px; border: 1px solid #c9ddd6; border-radius: 10px; background: #edf5f2; color: var(--rc-primary); font-size: 10px; font-weight: 600; line-height: 16px; vertical-align: middle; white-space: nowrap; }
.rc-layout-orientation-badge i { margin: 0; color: inherit; font-size: 10px; }
.rc-layout-grid .shop_con .shc_footer { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 5px; min-height: 39px; margin: 0 !important; padding-top: 9px; border-top: 1px solid #edf0ef; }
.rc-layout-grid .shop_con .shc_footer button { float: none !important; width: auto !important; min-height: 27px; margin: 0 !important; padding: 4px 7px !important; border: 0; border-radius: 4px; font-size: 11px; line-height: 19px; }
.rc-layout-grid .shop_con .shc_footer button:nth-child(1) { background: var(--rc-accent); }
.rc-layout-grid .shop_con .shc_footer button:nth-child(2) { background: var(--rc-primary); }
.rc-layout-grid .shop_con .shc_footer button:nth-child(3) { background: #7a8581; }
.rc-layout-grid .shop_con .shc_footer button:nth-child(4) { background: var(--rc-danger); }
.rc-layout-grid > .alert { grid-column: 1 / -1; margin: 0; border-color: var(--rc-border); background: #fff; color: var(--rc-muted); }
.rc-layout-grid .shop_con > span { display: block; width: 100%; margin-top: 5px; overflow: hidden; color: var(--rc-danger) !important; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.rc-layout-pagination { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 8px; min-height: 48px; margin-top: 14px; padding: 8px 12px; border: 1px solid var(--rc-border); border-radius: 6px; background: #fff; }
.rc-layout-pagination .rc-layout-footer__actions { order: 1; flex: 0 0 auto; margin: 0; padding: 0; border: 0; background: transparent; }
.rc-layout-pagination .page { order: 3; float: none; margin: 0; }
.rc-layout-pagination > span { order: 2; float: none !important; margin: 0 0 0 auto !important; color: var(--rc-muted); font-size: 12px; white-space: nowrap; }
.rc-layout-pagination .compact-theme { margin: 0; }
.rc-layout-pagination .compact-theme a,
.rc-layout-pagination .compact-theme span { min-width: 29px; height: 29px; padding: 0 8px; border-color: #dce3e0; background: #fff; color: var(--rc-muted); line-height: 29px; }
.rc-layout-pagination .compact-theme .current { border-color: var(--rc-primary); background: var(--rc-primary); color: #fff; }
.rc-layout-page.rc-rtl .rc-layout-manager,
.rc-file-page.rc-rtl .rc-file-manager,
.rc-file-page.rc-rtl .rc-file-upload,
.rc-bind-page.rc-rtl .rc-device-bind { direction: rtl; text-align: right; }
.rc-layout-page.rc-rtl .rc-layout-toolbar .input-append input { border-radius: 0 4px 4px 0 !important; }
.rc-layout-page.rc-rtl .rc-layout-toolbar .input-append button { border-radius: 4px 0 0 4px; }
.rc-layout-page.rc-rtl .rc-layout-content .wraning span { margin-right: 0; margin-left: 7px; }
.rc-layout-page.rc-rtl .rc-layout-filters .form_xx > span,
.rc-layout-page.rc-rtl .rc-layout-filters label.checkbox.inline { margin-right: 0; margin-left: 8px; }
.rc-layout-page.rc-rtl .rc-layout-pagination .page { direction: ltr; }
.rc-layout-page.rc-rtl .rc-layout-pagination > span { margin-right: auto !important; margin-left: 0 !important; }
.rc-file-page.rc-rtl .rc-file-stats ul li { border-right: 0; border-left: 1px solid #e7ecea; }
.rc-file-page.rc-rtl .rc-file-toolbar > span { margin-right: 6px; margin-left: 0; }
.rc-file-page.rc-rtl .rc-file-categories .xx3_ra { margin-right: 6px; margin-left: 0; }
.rc-bind-page.rc-rtl .rc-bind-form-table tr:last-child td { padding-right: 195px !important; padding-left: 15px !important; text-align: right !important; }
.rc-bind-page.rc-rtl .rc-bind-form-table .icon-arrow-left { transform: scaleX(-1); }
.rc-bind-page.rc-rtl .rc-bind-help { border-right: 4px solid var(--rc-primary); border-left-width: 1px; }
.rc-bind-page.rc-rtl .rc-bind-footer .icon-arrow-left { transform: scaleX(-1); }
.rc-bind-page.rc-rtl .rc-bind-method__actions { justify-content: flex-start; }
.rc-bind-page.rc-rtl .rc-bind-code > strong { text-align: right; }

/* Third-party dialogs inherit the same restrained treatment as the logout dialog. */
.ui-dialog { padding: 0 !important; border: 1px solid var(--rc-border) !important; border-radius: 8px !important; background: #fff !important; box-shadow: 0 20px 55px rgba(8,35,28,.25) !important; font-family: var(--rc-font) !important; }
.ui-dialog .ui-dialog-titlebar { padding: 13px 16px !important; border: 0 !important; border-bottom: 1px solid var(--rc-border) !important; border-radius: 8px 8px 0 0 !important; background: #f7f9f8 !important; color: var(--rc-text) !important; }
.ui-dialog .ui-dialog-content { padding: 16px !important; color: var(--rc-muted); }
.ui-dialog .ui-dialog-buttonpane { margin: 0 !important; padding: 10px 16px !important; border-color: var(--rc-border) !important; background: #fff !important; }
.ui-dialog .ui-button { min-height: 31px; padding: 5px 12px !important; border: 1px solid #cfd8d5 !important; border-radius: 4px !important; background: #fff !important; color: var(--rc-muted) !important; }
.ui-dialog .ui-dialog-title { color: var(--rc-text) !important; font-size: 14px !important; font-weight: 600 !important; }
.ui-dialog .ui-dialog-titlebar-close { top: 50% !important; right: 12px !important; width: 28px !important; height: 28px !important; margin-top: -14px !important; border: 1px solid var(--rc-border) !important; border-radius: 4px !important; background-color: #fff !important; }
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { display: flex; flex-wrap: wrap; gap: 7px; }
.ui-dialog .ui-dialog-buttonpane .ui-button { margin: 0 !important; text-shadow: none !important; box-shadow: none !important; }
.ui-dialog .ui-dialog-buttonpane .ui-button:first-child { color: #fff !important; background: var(--rc-primary) !important; border-color: var(--rc-primary) !important; }
.ui-widget-overlay { background: #10241f !important; opacity: .48 !important; }
.layui-layer { overflow: hidden; border-radius: 8px !important; box-shadow: 0 20px 55px rgba(8,35,28,.25) !important; }
.layui-layer .layui-layer-title { height: 46px !important; padding: 0 48px 0 16px !important; color: var(--rc-text) !important; font-family: var(--rc-font) !important; font-size: 14px !important; font-weight: 600 !important; line-height: 46px !important; background: #f7f9f8 !important; border-bottom: 1px solid var(--rc-border) !important; }
.layui-layer .layui-layer-setwin { top: 15px !important; right: 15px !important; }
.layui-layer .layui-layer-btn { display: flex; justify-content: flex-end; gap: 7px; padding: 10px 16px 13px !important; border-top: 1px solid var(--rc-border); }
.layui-layer .layui-layer-btn a { min-width: 72px; height: 32px !important; margin: 0 !important; padding: 0 12px !important; color: var(--rc-muted) !important; font-family: var(--rc-font) !important; line-height: 32px !important; background: #fff !important; border: 1px solid #cfd8d5 !important; border-radius: 4px !important; }
.layui-layer .layui-layer-btn .layui-layer-btn0 { color: #fff !important; background: var(--rc-primary) !important; border-color: var(--rc-primary) !important; }
.layui-layer-shade { background-color: #10241f !important; opacity: .48 !important; }
.modal { border: 1px solid var(--rc-border); border-radius: 8px; box-shadow: 0 20px 55px rgba(8,35,28,.25); }
.modal-header { border-bottom-color: var(--rc-border); background: #f7f9f8; }
.modal-footer { border-top-color: var(--rc-border); background: #fff; }

@media (max-width: 980px) {
  .rc-file-stats ul { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .rc-file-stats ul li:first-child { grid-column: span 2; }
  .rc-file-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rc-layout-grid { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
  .rc-device-detail-grid { grid-template-columns: minmax(0, 1fr); }
  .rc-device-detail__rail { grid-column: auto; }
  .rc-device-detail__main { grid-row: auto; }
  .rc-device-detail__schedule { grid-column: auto; }
  .rc-space-checkout { grid-template-columns: minmax(0, 1fr); }
  .rc-upload-row { grid-template-columns: 150px minmax(0, 1fr); }
}

@media (max-width: 620px) {
  .rc-file-manager, .rc-file-upload, .rc-device-bind, .rc-layout-manager { padding-right: 10px; padding-left: 10px; }
  .rc-device-filters .flexJustifyCenter { align-items: flex-start; flex-wrap: wrap; }
  .rc-device-category-actions { width: 100%; margin: 7px 0 0; padding-left: 84px !important; }
  .rc-file-grid, .rc-layout-grid { grid-template-columns: minmax(0, 1fr); }
  .rc-file-stats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rc-file-stats ul li:first-child { grid-column: 1 / -1; }
  .rc-file-toolbar > input[type="text"], .rc-file-toolbar > select { flex: 1 1 100%; width: 100%; }
  .rc-file-categories .xxin3 { align-items: flex-start; flex-direction: column; }
  .rc-file-categories .xxin3_r { margin-top: 8px; }
  .rc-upload-row { display: block; min-height: 0; }
  .rc-upload-label { min-height: 44px; padding: 11px 13px; border-right: 0 !important; border-bottom: 1px solid var(--rc-border) !important; }
  .rc-file-upload-page.rc-rtl .rc-upload-label { border-left: 0 !important; }
  .rc-upload-control { padding: 13px !important; }
  .rc-upload-category-tools { align-items: flex-start; flex-direction: column; }
  .rc-upload-category-actions { flex-wrap: wrap; }
  .rc-upload-category-actions .z_more2 { right: auto; left: 0 !important; }
  .rc-file-upload-page.rc-rtl .rc-upload-category-actions .z_more2 { right: 0; left: auto !important; }
  .rc-upload-type-control #fileType { width: 100%; }
  .rc-upload-format-hint { flex-basis: 100%; }
  .rc-file-upload #drop { width: 100%; justify-content: center; }
  .rc-file-upload #fileTips { grid-template-columns: minmax(0, 1fr); }
  .rc-bind-card { padding: 12px; }
  .rc-bind-methods { grid-template-columns: minmax(0, 1fr); }
  .rc-bind-method__header { grid-template-columns: 26px 38px minmax(0, 1fr); padding: 13px; }
  .rc-bind-method__icon { width: 38px; height: 38px; }
  .rc-bind-form, .rc-bind-terminal { padding: 14px; }
  .rc-bind-method__actions .rc-btn { width: 100%; justify-content: center; }
  .rc-bind-form-table, .rc-bind-form-table tbody, .rc-bind-form-table tr, .rc-bind-form-table td { display: block; width: 100% !important; }
  .rc-bind-form-table td:first-child { padding-bottom: 6px; border-bottom: 0; }
  .rc-bind-form-table tr:last-child td { padding: 13px !important; text-align: left !important; }
  .rc-bind-page.rc-rtl .rc-bind-form-table tr:last-child td { padding: 13px !important; text-align: right !important; }
  .rc-layout-filters .form_xx > span { flex-basis: 100%; }
  .rc-layout-pagination { align-items: flex-start; flex-direction: column; }
  .rc-device-page.rc-rtl .rc-device-category-actions { padding-right: 84px !important; padding-left: 0 !important; }
  .rc-device-detail { padding-right: 10px; padding-left: 10px; }
  .rc-detail-fields { grid-template-columns: minmax(0, 1fr); padding-right: 12px !important; padding-left: 12px !important; }
  .rc-detail-fields > .z_padd10, .rc-detail-fields > button { grid-column: auto; }
  .rc-device-detail .rc-detail-section__header, .rc-device-detail__aside > .h40 { align-items: flex-start; flex-wrap: wrap; }
  .rc-device-detail .rc-detail-section__header .alert { flex: 1 1 100%; margin: 0; }
  .rc-detail-status .z_xlimg1 { width: 100%; }
  .rc-detail-fields .z_more2, .rc-device-detail #menuListDIV { width: calc(100vw - 44px) !important; }
  .rc-device-rotation__header { align-items: flex-start; flex-direction: column; }
  .rc-device-rotation__body { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .rc-device-rotation__preview { height: 132px; }
  .rc-device-rotation__options { grid-template-columns: minmax(0, 1fr); }
  .rc-space-purchase { padding-right: 10px; padding-left: 10px; }
  .rc-space-options, .rc-space-options tbody, .rc-space-options tr, .rc-space-options td { display: block; width: 100% !important; }
  .rc-space-options tr { border-bottom: 1px solid #e8edeb; }
  .rc-space-options tr:last-child { border-bottom: 0; }
  .rc-space-options td { border-bottom: 0; }
  .rc-space-options .rc-space-options__label { padding: 10px 12px 5px; text-align: left; }
  .rc-space-page.rc-rtl .rc-space-options .rc-space-options__label { text-align: right; }
  .rc-space-options .rc-space-options__value { padding: 8px 12px 12px; }
  .rc-space-plan-list { grid-template-columns: minmax(0, 1fr); }
  .rc-space-payment ul { grid-template-columns: minmax(0, 1fr); }
}

/* Personal center shared pages */
.rc-account-page,
.rc-account-page .backstageHome-2,
.rc-account-page .viewFramework-con { max-width: 100%; overflow-x: hidden; }
.rc-account-shell { float: none; width: 100%; max-width: 100%; padding: 18px 22px 32px; color: var(--rc-text); background: var(--rc-canvas); font-family: var(--rc-font); box-sizing: border-box; }
.rc-account-shell *, .rc-account-shell *::before, .rc-account-shell *::after { box-sizing: border-box; }
.rc-account-heading { display: flex; align-items: center; gap: 13px; margin: 0 0 14px; padding: 17px 19px; color: #fff; background: linear-gradient(118deg, var(--rc-shell), var(--rc-primary)); border-radius: var(--rc-radius); box-shadow: var(--rc-shadow); }
.rc-account-heading > span { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.rc-account-heading h1 { margin: 0; color: #fff; font-size: 18px; font-weight: 600; line-height: 1.4; }
.rc-account-heading p { margin: 3px 0 0; color: rgba(255,255,255,.72); font-size: 11px; }
.rc-account-feedback { max-width: 760px; margin: 0 auto; }
.rc-account-feedback > font { display: block; }
.rc-account-alert { margin: 0 0 12px !important; padding: 11px 14px !important; border-radius: 5px; text-align: left; text-shadow: none; }
.rc-password-card { max-width: 760px; margin: 0 auto; padding: 0; border: 1px solid var(--rc-border); border-radius: var(--rc-radius); background: #fff; box-shadow: var(--rc-shadow); overflow: hidden; }
/* 修改密码页铺满内容区：不再把页头/卡片/提示区限成 820px 居中
   （输入框等控件仍是定宽 min(320px,100%)，与 .rc-profile-row 的写法一致） */
.rc-password-page .rc-account-heading,
.rc-password-page .rc-password-card,
.rc-password-page .rc-account-feedback { max-width: 100%; }
.rc-password-page .rc-account-heading { margin-right: 0; margin-left: 0; }
.rc-password-form { margin: 0 auto; }
.rc-password-fields { width: 100% !important; min-height: 0 !important; margin: 0 !important; padding: 8px 0 0 !important; border: 0 !important; background: #fff; }
.rc-password-row { display: grid; grid-template-columns: 190px minmax(0, 1fr); min-height: 62px; margin: 0; border-bottom: 1px solid var(--rc-border); }
.rc-password-label { float: none; display: flex; align-items: center; justify-content: flex-end; width: auto; margin: 0; padding: 12px 16px; color: #4d5a56; background: #f7f9f8; border-right: 1px solid var(--rc-border); font-size: 12px; font-weight: 600; line-height: 1.5; }
.rc-password-control { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0; margin: 0; padding: 12px 15px; }
.rc-password-fields input[type="text"],
.rc-password-fields input[type="number"],
.rc-password-fields input[type="password"] { width: min(320px, 100%) !important; height: 36px; margin: 0; padding: 6px 9px; border: 1px solid #cbd6d2; border-radius: 4px; box-shadow: none; }
.rc-password-fields input[readonly] { color: #73807b; background: #f2f5f4; }
.rc-password-control--code input { flex: 1 1 240px; max-width: 320px; }
.rc-password-code { width: auto !important; min-height: 34px; margin: 0; padding: 6px 11px; border: 0; border-radius: 4px; color: #fff; background: var(--rc-accent); text-shadow: none; }
.rc-account-actions { display: flex; align-items: center; justify-content: flex-end; min-height: 64px; margin: 0 !important; padding: 12px 16px; background: #fafbfb; }
.rc-account-actions .rc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: auto !important; min-width: 110px; min-height: 36px; margin: 0; border: 0; border-radius: 4px; color: #fff; background: var(--rc-primary); text-shadow: none; }
/* 修改密码页：保存按钮与上方输入框的 inline-start 边对齐。
   输入框的起点 = 190px 标签列 + 15px 控件内边距，所以操作区让开同样距离。
   justify-content 两侧都是 flex-start（RTL 下 main-start 自动变到右侧），
   只有偏移量在 padding-left / padding-right 之间换。 */
.rc-password-page .rc-account-actions { justify-content: flex-start; padding-left: calc(190px + 15px); }
.rc-password-page.rc-rtl .rc-account-actions { padding-left: 16px; padding-right: calc(190px + 15px); }
.rc-login-log-card, .rc-space-record-form { margin: 0; }
.rc-account-table-wrap { width: 100%; border: 1px solid var(--rc-border); border-radius: 6px; background: #fff; box-shadow: var(--rc-shadow); overflow-x: auto; }
.rc-account-table { width: 100% !important; min-width: 680px; margin: 0 !important; border: 0 !important; border-collapse: collapse; table-layout: auto; }
.rc-account-table thead tr, .rc-account-table thead .tr1 { height: 44px !important; background: #f1f4f3 !important; }
.rc-account-table th, .rc-account-table thead td { height: 44px !important; padding: 9px 12px !important; border: 0 !important; border-bottom: 1px solid #dce4e1 !important; color: #46524e !important; background: #f1f4f3 !important; font-size: 12px !important; font-weight: 600; line-height: 1.5 !important; text-align: left !important; white-space: nowrap; }
.rc-account-table tbody td, .rc-account-table > tbody > tr > td { height: 48px !important; padding: 9px 12px !important; border: 0 !important; border-bottom: 1px solid #e8edeb !important; color: var(--rc-text); background: #fff; font-size: 12px; line-height: 1.55; text-align: left; vertical-align: middle; white-space: nowrap; }
.rc-account-table tbody tr:last-child td { border-bottom: 0 !important; }
.rc-account-table tbody tr:hover td { background: #f8faf9; }
.rc-login-log-table th:first-child, .rc-login-log-table td:first-child { width: 92px; text-align: center !important; }
.rc-account-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 54px; margin: 0 0 12px !important; padding: 10px 12px !important; border: 1px solid var(--rc-border); border-radius: 6px; background: #fff; box-shadow: none; }
.rc-account-toolbar .btn { display: inline-flex; align-items: center; gap: 5px; width: auto; min-height: 34px; margin: 0; padding: 6px 12px; border: 0; border-radius: 4px; color: #fff; text-shadow: none; }
.rc-account-toolbar .btn-blue { background: var(--rc-primary); }
.rc-account-toolbar .btn-dark-blue { background: var(--rc-accent); }
.rc-personal-notice { height: auto !important; min-height: 0; margin: 0 0 14px !important; padding: 12px 15px !important; border: 1px solid #d8e5e0 !important; border-left: 4px solid var(--rc-primary) !important; border-radius: 6px; color: #52625d; background: #f3f8f6 !important; font-size: 12px; line-height: 1.7; box-shadow: none; }
.rc-personal-notice p { width: auto !important; margin: 0; line-height: 1.7; }
.rc-personal-notice span { display: inline; color: var(--rc-primary); font-weight: 600; }

/* Personal center shipping address */
.rc-address-form { margin: 0 0 14px; }
.rc-address-form-card { border: 1px solid var(--rc-border) !important; border-radius: 7px; background: #fff !important; box-shadow: var(--rc-shadow); overflow: hidden; }
.rc-address-form-table { width: 100% !important; margin: 0 !important; border-collapse: collapse; }
.rc-address-form-table td { height: auto !important; min-height: 52px; padding: 11px 14px !important; border: 0 !important; border-bottom: 1px solid var(--rc-border) !important; color: var(--rc-text); background: #fff; font-size: 12px; line-height: 1.5; vertical-align: middle; }
.rc-address-form-table td:first-child { width: 190px; color: #4d5a56; background: #f7f9f8; font-weight: 600; text-align: right; }
.rc-address-form-table tr:last-child td { border-bottom: 0 !important; }
.rc-address-form-table input[type="text"], .rc-address-form-table textarea { width: min(520px, 100%) !important; margin: 0; padding: 7px 9px; border: 1px solid #cbd6d2; border-radius: 4px; box-shadow: none; }
.rc-address-form-table input[type="text"] { height: 36px; }
.rc-address-form-table textarea { min-height: 78px; resize: vertical; }
.rc-address-form-table .btn-red { display: inline-flex; align-items: center; justify-content: center; min-width: 100px; min-height: 35px; margin: 0; border: 0; border-radius: 4px; color: #fff; background: var(--rc-primary); text-shadow: none; }
.rc-address-list { margin-bottom: 14px; }
.rc-address-table { min-width: 850px; }
.rc-address-table td:nth-child(3) { white-space: normal; min-width: 220px; }
.rc-address-table td a { display: inline-flex; align-items: center; min-height: 27px; padding: 4px 7px; border-radius: 4px; color: var(--rc-accent); background: #edf4f8; text-decoration: none; }
.rc-address-table td a + a { color: var(--rc-danger); background: #faeeee; }
.rc-address-table .def_adr, .rc-address-table .set_def { display: inline-flex; align-items: center; min-height: 27px; padding: 4px 8px; border-radius: 12px; color: var(--rc-primary); background: #e9f3f0; font-size: 11px; }
.rc-address-table .set_def { color: var(--rc-warning); background: #fff5e3; cursor: pointer; }

/* Personal center orders */
.rc-orders-form { width: 100%; margin: 0; overflow-x: auto; }
.rc-orders-search { display: flex; justify-content: flex-end; min-width: 980px; margin: 0 0 10px; padding: 10px 12px; border: 1px solid var(--rc-border); border-radius: 6px; background: #fff; }
.rc-orders-search .input_append { display: flex; margin: 0; }
.rc-orders-search input { width: 250px !important; height: 34px; margin: 0 !important; border: 1px solid #cbd6d2; border-radius: 4px 0 0 4px; box-shadow: none; }
.rc-orders-search .btn { width: 38px; height: 34px; margin: 0; border: 0; border-radius: 0 4px 4px 0; color: #fff; background: var(--rc-primary); }
.rc-orders-table { width: 100% !important; min-width: 980px; margin: 0 !important; border: 1px solid var(--rc-border) !important; border-collapse: separate; border-spacing: 0 10px; border-radius: 7px !important; background: transparent; box-shadow: none; }
.rc-orders-table > thead { color: #46524e !important; background: #eef2f0 !important; }
.rc-orders-table > thead th { height: 44px; padding: 9px 12px; border: 0 !important; border-bottom: 1px solid #dbe3e0; color: #46524e; background: #eef2f0; font-size: 12px; font-weight: 600; line-height: 1.5 !important; }
.rc-orders-table > tbody { border: 1px solid var(--rc-border) !important; background: #fff; }
.rc-orders-table > tbody td { padding: 10px !important; border-color: #e6ece9 !important; color: var(--rc-text); background: #fff; font-size: 12px; line-height: 1.55; vertical-align: middle; }
.rc-orders-table > tbody > tr:first-child td { color: var(--rc-primary) !important; background: #f4f8f6 !important; font-weight: 600; }
.rc-orders-table .cover { border-color: var(--rc-border); border-radius: 5px; background: #fff; }
.rc-orders-table .coinfo { width: min(310px, 100%); color: var(--rc-text); }
.rc-orders-table .countprs { color: var(--rc-muted); }
.rc-orders-table .subtotal { color: var(--rc-primary); }
.rc-orders-table .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 28px; margin: 2px 0; padding: 4px 8px; border: 0; border-radius: 4px; color: #fff; text-shadow: none; white-space: nowrap; }
.rc-orders-table .btn-dark-green { background: var(--rc-primary); }
.rc-orders-table .btn-dark-blue { background: var(--rc-accent); }
.rc-orders-page .tcbj { background: rgba(0,36,30,.46); }
.rc-orders-page .tcc { border: 1px solid var(--rc-border); border-radius: 8px; box-shadow: 0 20px 55px rgba(8,35,28,.25); overflow: hidden; }
.rc-orders-page .tcctop { padding: 13px 16px; color: var(--rc-text); background: #f7f9f8; border-bottom: 1px solid var(--rc-border); }
.rc-orders-page .tccbody { padding: 16px; background: #fff; }

/* Personal center records and income */
.rc-consumption-toolbar p { margin: 4px 0; }
.rc-consumption-toolbar .btn { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; margin: 4px 5px 0 0; padding: 5px 10px; border: 0; border-radius: 4px; color: #fff; text-shadow: none; }
.rc-consumption-toolbar p:last-child { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rc-consumption-action { display: inline-flex !important; align-items: center; justify-content: center; gap: 6px; min-height: 34px !important; margin: 0 !important; padding: 7px 13px !important; border-radius: 4px !important; font-size: 12px; font-weight: 600; line-height: 20px; text-decoration: none; box-shadow: none; }
.rc-consumption-action--primary { border: 1px solid var(--rc-primary) !important; color: #fff !important; background: var(--rc-primary) !important; }
.rc-consumption-action--secondary { border: 1px solid #bed0ca !important; color: var(--rc-primary) !important; background: #fff !important; }
.rc-consumption-action--secondary i { color: var(--rc-primary); }
.rc-consumption-table { min-width: 840px; }
.rc-invoice-list-form, .rc-invoice-create-form { width: 100%; margin: 0; }
.rc-invoice-toolbar, .rc-invoice-notice { margin-bottom: 14px !important; }
.rc-invoice-toolbar p:last-child { margin-top: 10px; }
.rc-invoice-list-table { min-width: 1280px; }
.rc-invoice-list-table td { white-space: normal !important; min-width: 105px; }
.rc-invoice-list-table td p { margin: 2px 0; line-height: 1.55; }
.rc-invoice-list-table td:nth-child(5), .rc-invoice-list-table td:nth-child(6) { min-width: 190px; }
.rc-invoice-list-table td:last-child { min-width: 175px; }
.rc-invoice-list-table .btn-mini { display: inline-flex; align-items: center; justify-content: center; min-height: 28px; margin: 5px 0 0; padding: 4px 9px; border: 0; border-radius: 4px; color: #fff; background: var(--rc-primary); text-shadow: none; }
.rc-invoice-trade-wrap { margin-bottom: 14px; }
.rc-invoice-trade-table { min-width: 760px; }
.rc-invoice-trade-table input[type="checkbox"] { width: 16px; height: 16px; margin: 0 7px 0 0 !important; accent-color: var(--rc-primary); vertical-align: middle; }
.rc-invoice-fields { width: 100%; margin: 0; border: 1px solid var(--rc-border); border-collapse: separate; border-spacing: 0; border-radius: 7px; background: #fff; box-shadow: var(--rc-shadow); overflow: hidden; }
.rc-invoice-fields th, .rc-invoice-fields td { height: auto; min-height: 54px; padding: 10px 14px !important; border: 0; border-bottom: 1px solid var(--rc-border); vertical-align: middle; }
.rc-invoice-fields th { width: 190px !important; color: #4d5a56; background: #f7f9f8; border-right: 1px solid var(--rc-border); font-size: 12px; font-weight: 600; text-align: right !important; }
.rc-invoice-fields tr:last-child td { border-bottom: 0; }
.rc-invoice-fields input[type="text"], .rc-invoice-fields textarea, .rc-invoice-fields select { width: min(460px, 100%) !important; min-height: 36px; margin: 0 !important; padding: 7px 9px; border: 1px solid #cbd6d2; border-radius: 4px; background: #fff; box-shadow: none; box-sizing: border-box; }
.rc-invoice-fields #telCode { width: 92px !important; }
.rc-invoice-fields #companyTel { width: min(350px, calc(100% - 112px)) !important; }
.rc-invoice-fields textarea { min-height: 78px; resize: vertical; }
.rc-invoice-fields #zje { color: var(--rc-danger) !important; font-size: 18px; font-weight: 700; }
.rc-invoice-submit { display: flex; justify-content: flex-end; margin: 0; padding: 3px 0; }
.rc-invoice-submit .rc-btn { min-width: 120px; min-height: 36px; margin: 0 !important; border: 0; border-radius: 4px; color: #fff; background: var(--rc-primary); text-shadow: none; }
.rc-extract-table { min-width: 680px; }
.rc-template-income-card { height: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
.rc-template-income-form { margin: 0; }
.rc-template-income-toolbar { margin: 0 0 12px; padding: 10px 12px; border: 1px solid var(--rc-border); border-radius: 6px; background: #fff; }
.rc-template-income-toolbar p { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; }
.rc-template-income-toolbar input[type="text"] { width: min(260px, 100%); height: 34px; margin: 0; border: 1px solid #cbd6d2; border-radius: 4px; box-shadow: none; }
.rc-template-income-toolbar input[type="radio"] { margin: 0 2px 0 5px; }
.rc-template-income-toolbar .btn { min-height: 34px; margin: 0; padding: 6px 12px; border: 0; border-radius: 4px; background: var(--rc-primary); text-shadow: none; }
.rc-template-income-table { min-width: 900px; margin-top: 0 !important; }
.rc-template-income-table img { width: 77px !important; height: 60px !important; border-radius: 4px; object-fit: cover; }
.rc-template-income-table .label { display: inline-flex; align-items: center; justify-content: center; width: auto !important; min-height: 24px; padding: 3px 8px; border-radius: 12px; font-size: 11px; }

/* Personal center payment configuration */
.rc-payment-notice { height: auto !important; }
.rc-payment-notice a { margin: 0 8px 0 0 !important; color: var(--rc-accent); }
.rc-payment-notice .rc-notice-tag { margin-right: 6px; }
.rc-payment-notice .rc-notice-tag-warn { color: #b9483d; }
.rc-payment-notice .rc-notice-links { display: flex; flex-wrap: wrap; align-items: center; margin: 2px 0 0; }
.rc-payment-notice .rc-notice-links a { display: inline-flex; align-items: center; gap: 4px; }
.rc-payment-notice .rc-notice-links a.rc-notice-doc { margin: 0 0 0 auto !important; color: #b9483d; font-weight: 600; }
.rc-payment-card { float: none !important; width: 100% !important; height: auto !important; margin: 0 0 14px !important; border: 1px solid var(--rc-border); border-radius: 7px; background: #fff; box-shadow: var(--rc-shadow); overflow: hidden; }
.rc-payment-card .newhaop { display: flex; align-items: center; min-height: 58px; margin: 0 !important; padding: 11px 16px !important; border-bottom: 1px solid var(--rc-border); background: #f7f9f8; }
.rc-payment-card .newhaop img { width: auto; max-width: 130px; max-height: 32px; object-fit: contain; }
.rc-payment-card-body { width: 100% !important; margin: 0 !important; padding: 8px 0 0 !important; }
.rc-payment-card .form-horizontal { width: 100%; margin: 0; }
/* Bootstrap 2.3.2 给 .control-group 加了 :before/:after 占位伪元素，
   在 grid 布局里会被当成第一个网格项，把 label 挤到行尾、输入框挤到下一行，必须关掉。 */
.rc-payment-card .control-group::before,
.rc-payment-card .control-group::after { display: none !important; content: none; }
.rc-payment-card .control-group { display: grid; grid-template-columns: 190px minmax(0, 1fr); height: auto; min-height: 58px; line-height: normal; margin: 0 !important; border-bottom: 1px solid var(--rc-border); }
.rc-payment-card .control-label { float: none; display: flex; align-items: center; justify-content: flex-end; width: auto; height: auto; margin: 0; padding: 11px 14px; border-right: 1px solid var(--rc-border); color: #4d5a56; background: #f7f9f8; font-size: 12px; font-weight: 600; line-height: 1.5; }
.rc-payment-card .controls { display: flex; align-items: center; min-width: 0; height: auto; margin: 0; padding: 11px 14px; line-height: normal; }
.rc-payment-card input[type="text"] { width: min(680px, 100%) !important; height: 36px; margin: 0; padding: 6px 9px; border: 1px solid #cbd6d2; border-radius: 4px; background: #fff; color: var(--rc-text); font-family: Consolas, Menlo, "Microsoft YaHei", monospace; letter-spacing: .2px; box-shadow: none; }
.rc-payment-card input[type="text"]:focus { border-color: var(--rc-primary); outline: 0; box-shadow: 0 0 0 2px rgba(7, 93, 78, .12); }
.rc-payment-card .del_btn { display: flex; justify-content: flex-end; height: auto; margin: 0 !important; padding: 12px 16px; background: #fafbfb; }
.rc-payment-card .del_btn .btn { display: inline-flex; align-items: center; gap: 6px; min-width: 100px; min-height: 35px; margin: 0; border: 0; border-radius: 4px; color: #fff; background: var(--rc-primary); text-shadow: none; }
.rc-payment-card .del_btn .btn:hover { background: var(--rc-primary-hover); }

/* 收款配置页窄屏自适应：label 与输入框由左右两栏改为上下堆叠 */
@media (max-width: 900px) {
  .rc-payment-card .control-group { grid-template-columns: 1fr; }
  .rc-payment-card .control-label { justify-content: flex-start; border-right: 0; border-bottom: 1px solid var(--rc-border); padding: 9px 14px; }
  .rc-payment-card .controls { padding: 12px 14px; }
  .rc-payment-card input[type="text"] { width: 100% !important; }
  .rc-payment-card .del_btn { padding: 12px 14px; }
  .rc-payment-card .del_btn .btn { width: 100%; justify-content: center; }
  .rc-payment-notice .rc-notice-links a.rc-notice-doc { margin-left: 0 !important; }
}

/* Personal center messages */
.rc-advice-page { margin: 0; }
.rc-advice-list { width: 100%; text-align: left; }
.rc-advice-list > div { display: grid; gap: 10px; }
.rc-advice-list br { display: none; }
.rc-advice-card { padding: 15px 17px; border: 1px solid var(--rc-border); border-left: 4px solid var(--rc-primary); border-radius: 6px; background: #fff; box-shadow: 0 1px 3px rgba(15,49,40,.04); text-align: left; }
.rc-advice-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 10px; margin-bottom: 8px; }
.rc-advice-author { color: var(--rc-primary); font-size: 13px; font-weight: 600; }
.rc-advice-time { color: #87928e; font-size: 11px; }
.rc-advice-content { margin: 0; color: #37433f; font-size: 13px; line-height: 1.75; overflow-wrap: anywhere; }
.rc-advice-reply { margin: 12px 0 0 24px; padding: 12px 14px; border: 1px solid #e1e8e5; border-radius: 5px; background: #f7f9f8; }
.rc-advice-reply-author { color: var(--rc-danger); font-size: 12px; font-weight: 600; }
.rc-advice-attachments { display: flex; flex-wrap: wrap; gap: 8px; margin: 9px 0 0; }
.rc-advice-attachments a { display: inline-flex; max-width: 100%; padding: 3px; border: 1px solid var(--rc-border); border-radius: 5px; background: #fff; }
.rc-advice-attachments img { display: block; max-width: min(260px, 100%); max-height: 220px; border-radius: 3px; object-fit: contain; }
.rc-advice-reply-action { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; margin-top: 12px; padding: 5px 10px; border: 1px solid #cddbd6; border-radius: 4px; color: var(--rc-primary); background: #fff; font-size: 12px; line-height: 18px; text-decoration: none; }
.rc-advice-reply-action:hover { border-color: #9fb8b0; background: #f2f7f5; color: var(--rc-primary-hover); }
.rc-advice-modal textarea { width: 100% !important; min-height: 180px; margin: 0; resize: vertical; box-sizing: border-box; }

/* Personal center membership */
.rc-member-notice { margin: 0 0 14px; padding: 13px 15px; border: 1px solid #d8e5e0; border-radius: 6px; color: #52625d; background: #f3f8f6; text-shadow: none; }
.rc-member-notice b { color: var(--rc-primary); }
.rc-member-notice p { margin: 4px 0 0; font-size: 12px; line-height: 1.65; }
.rc-member-current, .rc-member-plans { width: 100% !important; height: auto !important; margin: 0 0 14px !important; padding: 0 !important; border: 1px solid var(--rc-border); border-radius: 7px; background: #fff; box-shadow: var(--rc-shadow); overflow: hidden; }
.rc-member-current h3, .rc-member-plans h3 { margin: 0 !important; padding: 14px 17px; border-bottom: 1px solid var(--rc-border); color: var(--rc-text); background: #f7f9f8; font-size: 15px; font-weight: 600; line-height: 1.5; text-align: left; }
.rc-member-detail-table { width: 100% !important; margin: 0; border-collapse: collapse; }
.rc-member-detail-table td { height: auto !important; min-height: 52px; padding: 12px 15px !important; border: 0 !important; border-right: 1px solid var(--rc-border) !important; border-bottom: 1px solid var(--rc-border) !important; color: var(--rc-text); font-size: 12px; line-height: 1.5; text-align: left !important; vertical-align: middle; }
.rc-member-detail-table td:nth-child(odd) { width: 18%; color: #52605b; background: #fafbfb; font-weight: 600; }
.rc-member-detail-table td:nth-child(even) { width: 32%; }
.rc-member-detail-table tr:last-child td { border-bottom: 0 !important; }
.rc-member-detail-table td:last-child { border-right: 0 !important; }
.rc-member-detail-table img { max-height: 30px; }
.rc-member-renew { display: inline-flex; align-items: center; gap: 5px; min-height: 34px; margin: 13px 16px 16px !important; padding: 6px 13px; border: 0; border-radius: 4px; color: #fff; background: var(--rc-primary); text-shadow: none; }
.rc-member-plan-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; width: auto !important; height: auto !important; margin: 0 !important; padding: 15px !important; list-style: none; }
.rc-member-plan-card { position: relative; float: none !important; display: flex; flex-direction: column; width: auto !important; min-width: 0; height: auto !important; min-height: 258px; margin: 0 !important; padding: 16px !important; border: 1px solid var(--rc-border) !important; border-radius: 6px; background: #fff !important; box-shadow: none !important; overflow: hidden; }
.rc-member-plan-card:hover { border-color: #b9ccc5 !important; box-shadow: 0 6px 18px rgba(19,55,45,.08) !important; }
.rc-member-plan-card p { width: auto !important; height: auto !important; margin: 0 !important; padding: 10px 0 !important; border: 0 !important; border-bottom: 1px solid #edf0ef !important; color: var(--rc-muted) !important; background: transparent !important; font-size: 12px !important; line-height: 1.65 !important; text-align: left !important; }
.rc-member-plan-card .cloud_plat_p1 { padding-top: 0 !important; color: var(--rc-text) !important; font-size: 14px !important; font-weight: 600; }
.rc-member-plan-card .cloud_plat_p1 img { max-width: 38px; max-height: 30px; margin-right: 7px; vertical-align: middle; }
.rc-member-plan-card .cloud_plat_p2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rc-member-plan-card .cloud_plat_p2 span { display: block; padding: 5px 7px; border-radius: 4px; background: #f4f7f6; text-align: center; }
.rc-member-plan-card .cloud_plat_p2 b, .rc-member-plan-card .cloud_plat_p4 span { color: var(--rc-primary); font-size: 14px; }
.rc-member-plan-card > a { display: inline-flex !important; align-items: center; justify-content: center; width: 100% !important; min-height: 34px; margin: auto 0 0 !important; padding: 6px 10px; border-radius: 4px; color: #fff !important; background: var(--rc-primary) !important; font-size: 12px; line-height: 20px; text-decoration: none; }
.rc-member-plan-card > a.a1 { color: #8a9490 !important; background: #e9edeb !important; cursor: default; }
.rc-member-checkout-notice { margin: 0 0 14px !important; padding: 12px 15px !important; border: 1px solid #eadfca; border-left: 4px solid var(--rc-warning); border-radius: 6px; color: #685d4d; background: #fffaf1; }
.rc-member-checkout-notice p { margin: 0; font-size: 12px; line-height: 1.7; }
.rc-member-checkout-notice span { color: #8a641e; font-weight: 600; }
.rc-member-checkout-form { max-width: 980px; margin: 0 auto; }
.rc-member-checkout-fields { width: 100% !important; height: auto !important; margin: 0 !important; padding: 0 !important; border: 1px solid var(--rc-border); border-radius: 7px; background: #fff; box-shadow: var(--rc-shadow); overflow: hidden; }
.rc-member-checkout-fields > li { display: grid !important; grid-template-columns: 180px minmax(0, 1fr); width: 100% !important; min-height: 56px !important; height: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
.rc-member-upgrade .rc-member-checkout-fields > li:nth-child(-n+2),
.rc-member-renewal .rc-member-checkout-fields > li:first-child { grid-template-columns: 180px minmax(0, 1fr) 180px minmax(0, 1fr); }
.rc-member-checkout-fields > li > span { float: none !important; display: flex !important; align-items: center; flex-wrap: wrap; gap: 7px; width: auto !important; min-width: 0; min-height: 56px !important; height: auto !important; margin: 0 !important; padding: 10px 14px !important; border: 0 !important; border-right: 1px solid var(--rc-border) !important; border-bottom: 1px solid var(--rc-border) !important; color: var(--rc-text); background: #fff; font-size: 12px; line-height: 1.55 !important; text-align: left !important; }
.rc-member-checkout-fields > li > span:nth-child(odd) { justify-content: flex-end; color: #4d5a56; background: #f7f9f8; font-weight: 600; text-align: right !important; }
.rc-member-checkout-fields > li > span:last-child { border-right: 0 !important; }
.rc-member-checkout-fields .radio.inline { display: inline-flex; align-items: center; gap: 5px; min-height: 34px; margin: 0 5px 0 0; padding: 5px 9px; border: 1px solid #d7dfdc; border-radius: 4px; color: var(--rc-muted); background: #fff; font-size: 12px; line-height: 20px; }
.rc-member-checkout-fields .radio.inline input[type="radio"] { margin: 0; }
.rc-member-checkout-fields img { width: auto; max-width: 128px; max-height: 34px; object-fit: contain; }
.rc-member-checkout-fields #costT { color: var(--rc-danger); font-size: 18px; font-weight: 700; }
.rc-member-checkout-fields > .rc-account-actions { display: flex !important; align-items: center; justify-content: flex-end; min-height: 66px !important; height: auto !important; padding: 13px 16px !important; }
.rc-member-checkout-fields > .rc-account-actions .rc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: auto !important; min-width: 120px; min-height: 36px; margin: 0; color: #fff; background: var(--rc-primary); border: 0; border-radius: 4px; text-shadow: none; }

/* Message reply iframe */
.rc-advice-dialog-page { margin: 0; padding: 16px; color: var(--rc-text); background: var(--rc-canvas); font-family: var(--rc-font); box-sizing: border-box; }
.rc-advice-dialog-page *, .rc-advice-dialog-page *::before, .rc-advice-dialog-page *::after { box-sizing: border-box; }
.rc-advice-dialog-form { width: 100%; margin: 0; padding: 16px; border: 1px solid var(--rc-border); border-radius: 6px; background: #fff; text-align: left; }
.rc-advice-dialog-form h4 { display: flex; align-items: center; gap: 7px; margin: 0 0 8px; color: var(--rc-text); font-size: 13px; line-height: 1.5; text-align: left; }
.rc-advice-dialog-form h4 i { color: var(--rc-primary); }
.rc-advice-dialog-form textarea { width: 100%; min-height: 132px; margin: 0 0 15px; padding: 9px 10px; border: 1px solid #cbd6d2; border-radius: 4px; resize: vertical; box-shadow: none; }
.rc-advice-file-list { display: grid; gap: 7px; }
.rc-advice-file-list input[type="file"] { width: 100%; min-height: 34px; padding: 5px; border: 1px dashed #c6d4cf; border-radius: 4px; color: var(--rc-muted); background: #f8faf9; }
.rc-advice-dialog-page.rc-rtl, .rc-advice-dialog-page.rc-rtl .rc-advice-dialog-form { direction: rtl; text-align: right; }
.rc-advice-dialog-page.rc-rtl .rc-advice-dialog-form h4 { text-align: right; }

.rc-account-page.rc-rtl .rc-account-shell { direction: rtl; text-align: right; }
.rc-account-page.rc-rtl .rc-account-alert,
.rc-account-page.rc-rtl .rc-account-table th,
.rc-account-page.rc-rtl .rc-account-table td,
.rc-account-page.rc-rtl .rc-advice-card,
.rc-account-page.rc-rtl .rc-member-current h3,
.rc-account-page.rc-rtl .rc-member-plans h3,
.rc-account-page.rc-rtl .rc-member-detail-table td,
.rc-account-page.rc-rtl .rc-member-plan-card p { text-align: right !important; }
.rc-account-page.rc-rtl .rc-password-label { justify-content: flex-start; border-right: 0; border-left: 1px solid var(--rc-border); }
.rc-account-page.rc-rtl .rc-advice-card { border-right: 4px solid var(--rc-primary); border-left: 1px solid var(--rc-border); }
.rc-account-page.rc-rtl .rc-advice-reply { margin-right: 24px; margin-left: 0; }
.rc-account-page.rc-rtl .rc-member-detail-table td { border-right: 0 !important; border-left: 1px solid var(--rc-border) !important; }
.rc-account-page.rc-rtl .rc-member-detail-table td:last-child { border-left: 0 !important; }
.rc-account-page.rc-rtl .rc-member-plan-card .cloud_plat_p1 img { margin-right: 0; margin-left: 7px; }
.rc-account-page.rc-rtl .rc-personal-notice { border-right: 4px solid var(--rc-primary) !important; border-left: 1px solid #d8e5e0 !important; }
.rc-account-page.rc-rtl .rc-address-form-table td,
.rc-account-page.rc-rtl .rc-account-table th,
.rc-account-page.rc-rtl .rc-account-table td { text-align: right !important; }
.rc-account-page.rc-rtl .rc-address-form-table td:first-child { text-align: left !important; }
.rc-account-page.rc-rtl .rc-orders-search { justify-content: flex-start; }
.rc-account-page.rc-rtl .rc-orders-search input { border-radius: 0 4px 4px 0; }
.rc-account-page.rc-rtl .rc-orders-search .btn { border-radius: 4px 0 0 4px; }
.rc-account-page.rc-rtl .rc-payment-notice a { margin-right: 0 !important; margin-left: 8px !important; }
.rc-account-page.rc-rtl .rc-payment-notice .rc-notice-links a.rc-notice-doc { margin-right: auto !important; margin-left: 0 !important; }
.rc-account-page.rc-rtl .rc-payment-card .control-label { justify-content: flex-start; border-right: 0; border-left: 1px solid var(--rc-border); }
.rc-account-page.rc-rtl .rc-member-checkout-notice { border-right: 4px solid var(--rc-warning); border-left: 1px solid #eadfca; }
.rc-account-page.rc-rtl .rc-member-checkout-fields > li > span { border-right: 0 !important; border-left: 1px solid var(--rc-border) !important; text-align: right !important; }
.rc-account-page.rc-rtl .rc-member-checkout-fields > li > span:nth-child(odd) { justify-content: flex-start; }
.rc-account-page.rc-rtl .rc-member-checkout-fields > li > span:last-child { border-left: 0 !important; }
.rc-account-page.rc-rtl .rc-consumption-toolbar .btn { margin-right: 0; margin-left: 5px; }
.rc-account-page.rc-rtl .rc-invoice-trade-table input[type="checkbox"] { margin-right: 0 !important; margin-left: 7px !important; }
.rc-account-page.rc-rtl .rc-invoice-fields th { border-right: 0; border-left: 1px solid var(--rc-border); text-align: left !important; }
.rc-account-page.rc-rtl .rc-invoice-submit { justify-content: flex-start; }

@media (max-width: 700px) {
  .rc-account-shell { padding: 12px 10px 24px; }
  .rc-account-heading { padding: 14px; }
  .rc-password-row { display: block; }
  .rc-password-label { justify-content: flex-start; min-height: 40px; padding: 10px 12px; border-right: 0; border-bottom: 1px solid var(--rc-border); }
  .rc-account-page.rc-rtl .rc-password-label { border-left: 0; }
  .rc-password-control { padding: 12px; }
  .rc-password-fields input[type="text"], .rc-password-fields input[type="number"], .rc-password-fields input[type="password"] { width: 100% !important; }
  .rc-password-code { width: 100% !important; }
  .rc-account-actions { justify-content: stretch; }
  .rc-account-actions .rc-btn { width: 100% !important; }
  /* 窄屏下 .rc-password-row 变块级（标签在上），输入框起点回到 12px，按钮跟着回 */
  .rc-password-page .rc-account-actions,
  .rc-password-page.rc-rtl .rc-account-actions { padding-left: 12px; padding-right: 12px; }
  .rc-advice-reply { margin-left: 10px; }
  .rc-account-page.rc-rtl .rc-advice-reply { margin-right: 10px; }
  .rc-member-detail-table, .rc-member-detail-table tbody, .rc-member-detail-table tr, .rc-member-detail-table td { display: block; width: 100% !important; }
  .rc-member-detail-table tr { display: grid; grid-template-columns: 42% minmax(0, 1fr); border-bottom: 1px solid var(--rc-border); }
  .rc-member-detail-table tr:last-child { border-bottom: 0; }
  .rc-member-detail-table td { border-bottom: 0 !important; }
  .rc-member-plan-grid { grid-template-columns: minmax(0, 1fr); padding: 10px !important; }
  .rc-member-checkout-fields > li,
  .rc-member-upgrade .rc-member-checkout-fields > li:nth-child(-n+2),
  .rc-member-renewal .rc-member-checkout-fields > li:first-child { display: block !important; }
  .rc-member-checkout-fields > li > span { min-height: 44px !important; border-right: 0 !important; border-bottom: 1px solid var(--rc-border) !important; }
  .rc-account-page.rc-rtl .rc-member-checkout-fields > li > span { border-left: 0 !important; }
  .rc-member-checkout-fields > li > span:nth-child(odd) { justify-content: flex-start; }
  .rc-member-checkout-fields > .rc-account-actions { display: flex !important; }
  .rc-member-checkout-fields > .rc-account-actions .rc-btn { width: 100% !important; }
  .rc-address-form-table, .rc-address-form-table tbody, .rc-address-form-table tr, .rc-address-form-table td { display: block; width: 100% !important; }
  .rc-address-form-table td:first-child { padding-bottom: 6px !important; text-align: left; border-bottom: 0 !important; }
  .rc-account-page.rc-rtl .rc-address-form-table td:first-child { text-align: right !important; }
  .rc-address-form-table td:nth-child(2) { padding-top: 6px !important; }
  .rc-template-income-toolbar p { align-items: flex-start; flex-direction: column; }
  .rc-template-income-toolbar input[type="text"], .rc-template-income-toolbar .btn { width: 100% !important; }
  .rc-payment-card .control-group { display: block; }
  .rc-payment-card .control-label { justify-content: flex-start; min-height: 40px; padding: 9px 12px; border-right: 0; border-bottom: 1px solid var(--rc-border); }
  .rc-account-page.rc-rtl .rc-payment-card .control-label { border-left: 0; }
  .rc-payment-card .controls { padding: 12px; }
  .rc-payment-card .del_btn .btn { width: 100%; justify-content: center; }
  .rc-invoice-fields, .rc-invoice-fields tbody, .rc-invoice-fields tr, .rc-invoice-fields th, .rc-invoice-fields td { display: block; width: 100% !important; }
  .rc-invoice-fields th { min-height: 40px; padding-bottom: 6px !important; border-right: 0; border-bottom: 0; text-align: left !important; }
  .rc-account-page.rc-rtl .rc-invoice-fields th { border-left: 0; text-align: right !important; }
  .rc-invoice-fields td { padding-top: 6px !important; }
  .rc-invoice-fields #telCode, .rc-invoice-fields #companyTel { width: 100% !important; }
  .rc-invoice-fields #companyTel { margin-top: 7px !important; }
}

/* User profile */
.rc-profile-page,
.rc-profile-page .backstageHome-2,
.rc-profile-page .viewFramework-con { max-width: 100%; overflow-x: hidden; }
.rc-profile-shell { float: none; width: 100%; max-width: 100%; padding: 18px 22px 32px; color: var(--rc-text); background: var(--rc-canvas); }
.rc-profile-shell * { box-sizing: border-box; }
.rc-profile-heading { display: flex; align-items: center; gap: 13px; margin: 0 0 14px; padding: 17px 19px; color: #fff; background: linear-gradient(118deg, var(--rc-shell), var(--rc-primary)); border-radius: var(--rc-radius); box-shadow: var(--rc-shadow); }
.rc-profile-heading > span { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.rc-profile-heading h1 { margin: 0; color: #fff; font-size: 18px; font-weight: 600; line-height: 1.4; }
.rc-profile-heading p { margin: 3px 0 0; color: rgba(255,255,255,.72); font-size: 11px; }
.rc-profile-feedback { margin: 0 0 12px !important; padding: 11px 14px !important; text-align: left; text-shadow: none; border-radius: 5px; }
.rc-profile-form { margin: 0 0 16px; background: #fff; border: 1px solid var(--rc-border); border-radius: var(--rc-radius); box-shadow: var(--rc-shadow); overflow: hidden; }
.rc-profile-fields { width: 100% !important; margin: 0 !important; padding: 0 !important; border: 0 !important; list-style: none; }
.rc-profile-fields > li:empty { display: none !important; }
.rc-profile-fields .rc-profile-row { display: grid !important; grid-template-columns: 160px minmax(0, 1fr) 160px minmax(0, 1fr); width: 100% !important; min-height: 58px !important; height: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: #fff; }
.rc-profile-row > span { float: none !important; display: flex !important; align-items: center; width: auto !important; min-width: 0; min-height: 58px !important; height: auto !important; margin: 0 !important; padding: 10px 14px !important; color: var(--rc-text); line-height: 1.5 !important; text-align: left !important; border: 0 !important; border-right: 1px solid var(--rc-border) !important; border-bottom: 1px solid var(--rc-border) !important; background: #fff; }
.rc-profile-row > span:nth-child(odd) { justify-content: flex-end; color: #4d5a56; font-size: 12px; font-weight: 600; text-align: right !important; background: #f7f9f8; }
.rc-profile-row > span:last-child { border-right: 0 !important; }
.rc-profile-row > span > a { color: var(--rc-primary) !important; }
.rc-profile-row--avatar { grid-template-columns: 160px minmax(0, 1fr) !important; }
.rc-profile-avatar { gap: 13px; min-height: 106px !important; }
.rc-profile-avatar > img { flex: 0 0 74px; width: 74px !important; height: 74px !important; margin: 0 !important; object-fit: cover; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #d5dfdb, 0 3px 10px rgba(17,52,43,.1); }
.rc-profile-upload { display: inline-flex; align-items: center; gap: 6px; width: auto !important; margin: 0; color: #fff; background: var(--rc-accent); border: 0; border-radius: 4px; text-shadow: none; }
.rc-profile-row input[type="text"],
.rc-profile-row select { width: min(320px, 100%) !important; height: 36px !important; margin: 0 !important; padding: 6px 9px !important; color: var(--rc-text); border: 1px solid #cbd6d2 !important; border-radius: 4px !important; box-shadow: none !important; }
.rc-profile-row input[disabled] { color: #74807c; background: #f3f5f4; cursor: not-allowed; }
.rc-profile-row--wide { grid-template-columns: 160px minmax(0, 1fr) !important; }
.rc-profile-row--wide > span:nth-child(2) { display: flex !important; align-items: center; flex-wrap: wrap; gap: 8px; padding: 11px 14px !important; }
.rc-profile-row--wide > span:nth-child(2) select { width: min(170px, 100%) !important; }
.rc-profile-row--wide br { display: none; }
.rc-profile-fields .rc-profile-actions { display: flex !important; align-items: center; justify-content: flex-end; width: 100% !important; min-height: 64px !important; height: auto !important; margin: 0 !important; padding: 12px 16px !important; background: #fafbfb; border: 0 !important; }
.rc-profile-actions .rc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: auto !important; min-width: 110px; min-height: 36px; margin: 0; color: #fff; background: var(--rc-primary); border: 0; border-radius: 4px; text-shadow: none; }
.rc-profile-bindings { margin-top: 16px; overflow: hidden; background: #fff; border: 1px solid var(--rc-border); border-radius: var(--rc-radius); box-shadow: var(--rc-shadow); }
.rc-profile-section-heading { display: flex; align-items: center; gap: 11px; min-height: 62px; padding: 11px 15px; background: #f7f9f8; border-bottom: 1px solid var(--rc-border); border-left: 4px solid var(--rc-primary); }
.rc-profile-section-heading > span { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 34px; width: 34px; height: 34px; color: var(--rc-primary); background: #e6f0ec; border-radius: 50%; }
.rc-profile-section-heading h2 { margin: 0; color: var(--rc-text); font-size: 15px; font-weight: 600; }
.rc-profile-section-heading p { margin: 2px 0 0; color: var(--rc-muted); font-size: 10px; }
.rc-profile-bindings > table { margin: 0 !important; border: 0 !important; }
.rc-profile-bindings > table td { padding: 10px 14px !important; border: 0 !important; }
.rc-profile-bindings__body { min-height: 170px; padding: 14px; text-align: left; }
.rc-profile-binding-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; text-align: left; }
.rc-profile-binding-card { display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: center; gap: 8px 10px; min-width: 0; min-height: 106px; margin: 0 !important; padding: 11px !important; text-align: left !important; background: #fff; border: 1px solid var(--rc-border) !important; border-radius: 5px !important; }
.rc-profile-binding-card > p { grid-column: 2; margin: 0; overflow: hidden; color: var(--rc-text); font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.rc-profile-binding-card > img { grid-row: 1 / span 2; width: 58px !important; height: 58px !important; margin: 0 !important; object-fit: cover; border-radius: 50%; }
.rc-profile-binding-card > .rc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; grid-column: auto; min-width: 0; height: 28px; margin: 0 !important; padding: 3px 7px; font-size: 10px; border: 0; border-radius: 4px; }
.rc-profile-binding-empty { margin: 0 !important; padding: 14px !important; color: var(--rc-muted); text-align: left; background: #f8faf9; border: 1px solid var(--rc-border); border-radius: 5px; text-shadow: none; }
.rc-profile-binding-empty img { display: block; margin-top: 10px; border: 6px solid #fff; box-shadow: 0 0 0 1px var(--rc-border); }
.rc-profile-page.rc-rtl .rc-profile-shell { direction: rtl; text-align: right; }
.rc-profile-page.rc-rtl .rc-profile-feedback,
.rc-profile-page.rc-rtl .rc-profile-bindings__body,
.rc-profile-page.rc-rtl .rc-profile-binding-list,
.rc-profile-page.rc-rtl .rc-profile-binding-card { text-align: right !important; }
.rc-profile-page.rc-rtl .rc-profile-row > span { border-right: 0 !important; border-left: 1px solid var(--rc-border) !important; text-align: right !important; }
.rc-profile-page.rc-rtl .rc-profile-row > span:nth-child(odd) { justify-content: flex-start; text-align: left !important; }
.rc-profile-page.rc-rtl .rc-profile-row > span:last-child { border-left: 0 !important; }
.rc-profile-page.rc-rtl .rc-profile-section-heading { border-right: 4px solid var(--rc-primary); border-left: 0; }
.rc-profile-page.rc-rtl .rc-profile-fields .rc-profile-actions { justify-content: flex-start; }

@media (max-width: 900px) {
  .rc-profile-fields .rc-profile-row { grid-template-columns: 145px minmax(0, 1fr); }
  .rc-profile-row--avatar,
  .rc-profile-row--wide { grid-template-columns: 145px minmax(0, 1fr) !important; }
  .rc-profile-row > span:nth-child(even) { border-right: 0 !important; }
}

@media (max-width: 620px) {
  .rc-profile-shell { padding: 10px 10px 24px; }
  .rc-profile-heading { padding: 15px; }
  .rc-profile-fields .rc-profile-row,
  .rc-profile-row--avatar,
  .rc-profile-row--wide { grid-template-columns: minmax(0, 1fr) !important; }
  .rc-profile-row > span:nth-child(odd) { justify-content: flex-start; min-height: 38px !important; padding-bottom: 5px !important; text-align: left !important; border-right: 0 !important; }
  .rc-profile-row > span:nth-child(even) { padding-top: 5px !important; }
  .rc-profile-row--wide > span:nth-child(2) select { width: 100% !important; }
  .rc-profile-fields .rc-profile-actions { align-items: stretch; }
  .rc-profile-actions .rc-btn { width: 100% !important; }
}

/* Device timing plans */
.rc-timing-page,
.rc-timing-page .backstageHome-2,
.rc-timing-page .viewFramework-con { max-width: 100%; overflow-x: hidden; }
.rc-timing-list { float: none; width: 100%; max-width: 100%; padding: 18px 22px 32px; background: var(--rc-canvas); }
.rc-timing-list * { box-sizing: border-box; }
.rc-timing-notice { margin: 10px 0 14px !important; padding: 12px 15px !important; color: var(--rc-muted); background: #f3f8f6 !important; border: 1px solid #d8e5e0 !important; border-left: 4px solid var(--rc-marker) !important; border-radius: var(--rc-radius); text-shadow: none; }
.rc-timing-notice h4 { display: inline; margin: 0 5px 0 0; color: var(--rc-primary); font-size: 13px; }
/* 提示条右上角的关闭按钮：bootstrap 默认 .close{opacity:.2}，字几乎看不见（对比度 1.6:1），
   提到 .55 后约 3.9:1，达到图形/大字可读线。作用域限定在 rc 提示条内，不动别处的 bootstrap 弹窗。 */
.rc-timing-notice .close { opacity: .55; color: var(--rc-text); }
.rc-timing-notice .close:hover, .rc-timing-notice .close:focus { opacity: .85; }
.rc-timing-card { padding: 0; background: #fff; border: 1px solid var(--rc-border); border-radius: var(--rc-radius); box-shadow: var(--rc-shadow); overflow: hidden; }
.rc-timing-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 70px; padding: 14px 16px; border-bottom: 1px solid var(--rc-border); }
.rc-timing-toolbar h1 { margin: 0; color: var(--rc-text); font-size: 17px; line-height: 1.4; }
.rc-timing-toolbar p { max-width: 720px; margin: 3px 0 0; color: var(--rc-muted); font-size: 11px; }
.rc-timing-toolbar .rc-btn { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; margin: 0; }
.rc-timing-table-wrap { width: 100%; overflow-x: auto; }
.rc-timing-table { min-width: 980px; margin: 0 !important; table-layout: fixed; border: 0 !important; }
.rc-timing-table th { height: 42px; padding: 9px 10px !important; color: #52605b; font-size: 12px; font-weight: 600; text-align: left; background: #f4f7f6 !important; border: 0 !important; border-bottom: 1px solid var(--rc-border) !important; }
.rc-timing-table td { height: 48px; padding: 9px 10px !important; color: var(--rc-text); font-size: 12px; vertical-align: middle; border: 0 !important; border-bottom: 1px solid #edf0ef !important; background: #fff !important; }
.rc-timing-table th:nth-child(1) { width: 120px; }
.rc-timing-table th:nth-child(2) { width: 100px; }
.rc-timing-table th:nth-child(3) { width: 110px; }
.rc-timing-table th:nth-child(4) { width: 210px; }
.rc-timing-table th:nth-child(5) { width: 130px; }
.rc-timing-table th:nth-child(6) { width: 165px; }
.rc-timing-table th:last-child { width: 245px; }
.rc-timing-table tbody tr:hover td { background: #fafcfb !important; }
.rc-timing-actions { white-space: nowrap; }
.rc-timing-actions .btn { display: inline-flex; align-items: center; gap: 5px; min-height: 29px; margin: 0 4px 0 0; padding: 4px 9px; color: #fff; font-size: 11px; border: 0; border-radius: 4px; text-shadow: none; }
.rc-timing-actions .btn-danger { background: var(--rc-danger); }
.rc-timing-actions .btn-success { background: var(--rc-accent); }
.rc-timing-actions .btn-primary { background: var(--rc-primary); }
.rc-timing-page.rc-rtl .rc-timing-list { direction: rtl; text-align: right; }
.rc-timing-page.rc-rtl .rc-timing-table th { text-align: right; }
.rc-timing-page.rc-rtl .rc-timing-notice { border-right: 4px solid var(--rc-marker) !important; border-left-width: 1px !important; }

/* Device timing editor and binding */
.rc-timing-form-shell,
.rc-timing-bind-shell { float: none; width: 100%; max-width: 100%; min-height: calc(100vh - 64px); padding: 18px 22px 32px; background: var(--rc-canvas); }
.rc-timing-form-shell *,
.rc-timing-bind-shell * { box-sizing: border-box; }
.rc-timing-form-shell .breadcrumbs,
.rc-timing-bind-shell .breadcrumbs { margin-bottom: 12px; }
/* 卡片铺满右侧内容区（与首页、设备页一致），不再用 1120px 居中而两侧留白。
   外壳 .viewFramework-con 是 flex 行、.box_right 是其唯一在流内的内容列，
   宽度已由 padding-left 让出侧边栏所占的 220px，这里直接撑满即可。 */
.rc-timing-editor-card { width: 100%; max-width: 100%; margin: 0; overflow: hidden; background: #fff; border: 1px solid var(--rc-border); border-radius: var(--rc-radius); box-shadow: var(--rc-shadow); }
.rc-timing-editor-head { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 15px 18px; background: #fff; border-bottom: 1px solid var(--rc-border); }
.rc-timing-editor-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 42px; width: 42px; height: 42px; color: var(--rc-primary); font-size: 17px; background: #e9f3ef; border-radius: 7px; }
.rc-timing-editor-head h1 { margin: 0; color: var(--rc-text); font-size: 18px; line-height: 1.4; }
.rc-timing-editor-head p { max-width: 760px; margin: 3px 0 0; color: var(--rc-muted); font-size: 11px; line-height: 1.55; }
.rc-timing-editor-body { padding: 18px; }
/* 卡片铺满后「开机/关机时间」两列变宽，输入框同步放宽一点，避免列内大片留白 */
.rc-timing-row-action { display: inline-flex !important; align-items: center; justify-content: center; width: 30px; height: 30px; margin: 0 4px 0 0; text-decoration: none !important; border-radius: 4px; }
.rc-timing-row-action--add { color: var(--rc-primary) !important; background: #eaf4f0; border: 1px solid #c7dcd4; }
.rc-timing-row-action--remove { color: var(--rc-danger) !important; background: #fff2f1; border: 1px solid #edcfcc; }
.rc-timing-editor-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-height: 66px; padding: 13px 18px; background: #fafcfb; border-top: 1px solid var(--rc-border); }
.rc-timing-editor-actions .rc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 104px; min-height: 36px; margin: 0; border-radius: 4px; text-shadow: none; }
.rc-timing-embedded { min-width: 0; padding: 0; background: var(--rc-canvas); }
.rc-timing-embedded .console-component-topbar,
.rc-timing-embedded .viewFramework-topbar,
.rc-timing-embedded .viewFramework-sidebar,
.rc-timing-embedded .viewFramework-navbar-warp { display: none !important; }
.rc-timing-embedded .backstageHome-2,
.rc-timing-embedded .viewFramework-body,
.rc-timing-embedded .viewFramework-con { width: 100% !important; min-width: 0 !important; min-height: 100%; margin: 0 !important; padding: 0 !important; }
.rc-timing-embedded .rc-timing-form-shell { min-height: 100vh; padding: 14px !important; }
.rc-timing-embedded .rc-timing-editor-card { box-shadow: none; }
.rc-timing-embedded .rc-timing-editor-head { min-height: 64px; padding: 11px 15px; }
.rc-timing-embedded .rc-timing-editor-body { padding: 14px; }
.rc-timing-embedded .rc-timing-editor-actions { min-height: 58px; padding: 10px 14px; }

/* 2026-09-18 电源计划（设备详情 / 新增弹窗）：与 runset 弹窗统一
   —— 运行周期提到顶部共用面板（.rc-run-cycle），时间改成「时:分」下拉，
      多组开关机时间用 .rc-timing-pair 一行一组，可增删。
   注意：星期勾选 name="rundate" 直接参与表单提交，模态「每天/工作日」时
   只做视觉锁定（.is-locked），绝不能加真 disabled。 */
.rc-run-weekdays label.is-locked { pointer-events: none; opacity: .72; cursor: default; }
.rc-timing-pairs { display: grid; gap: 8px; margin-top: 10px; }
.rc-timing-pair { display: grid; grid-template-columns: 24px minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; background: #fff; border: 1px solid var(--rc-border); border-radius: 6px; }
.rc-timing-pair-no { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; color: var(--rc-primary); font-size: 11px; font-weight: 700; background: #e9f3ef; border-radius: 50%; }
.rc-timing-pair .rc-run-field { grid-template-columns: 58px minmax(0, 1fr); padding: 0; }
.rc-timing-pair-actions { display: flex; align-items: center; gap: 2px; }
/* 增删按钮直接复用已验证的 .rc-timing-row-action 外观（bootstrap 雪碧图标在
   inline-flex 里画不出来的坑已在那里绕开），这里只把它压进一行。 */
.rc-timing-pair-actions .rc-timing-row-action { margin: 0 !important; }
.rc-timing-pair-actions .is-hidden { display: none !important; }

/* 窄屏（弹窗最小 512px）：时间对由「序号 | 开机 | 关机 | 操作」一行
   降级成两行，避免两组「时:分」下拉被压到不可用。 */
@media (max-width: 640px) {
  .rc-timing-pair { grid-template-columns: 24px minmax(0, 1fr) auto; align-items: start; row-gap: 7px; }
  .rc-timing-pair > .rc-run-field { grid-column: 2; }
  .rc-timing-pair-actions { grid-row: 1 / span 2; grid-column: 3; }
}
.rc-timing-page.rc-rtl .rc-timing-pairs,
.rc-timing-page.rc-rtl .rc-run-cycle { direction: rtl; }

.rc-timing-bind-shell .rc-timing-bind-notice { margin-top: 0 !important; }
.rc-timing-plan-summary { display: block !important; margin: 0 0 14px !important; padding: 0; background: #fff; border: 1px solid var(--rc-border); border-radius: var(--rc-radius); box-shadow: var(--rc-shadow); }
.rc-timing-plan-summary .preview-info { display: block !important; margin: 0 !important; padding: 15px 18px; line-height: 1.65 !important; }
.rc-timing-plan-summary .preview-info .content { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 20px; }
.rc-timing-plan-summary .touch-name { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin: 0 0 2px !important; color: var(--rc-text) !important; font-size: 16px !important; font-weight: 600; }
.rc-timing-plan-summary .touch-name i { color: var(--rc-primary); }
.rc-timing-plan-summary .touch-industry,
.rc-timing-plan-summary .touch-play-type,
.rc-timing-plan-summary .touch-describe { margin: 0 !important; color: var(--rc-muted) !important; font-size: 12px !important; }
.rc-timing-bind-shell > .division { display: none; }
.rc-timing-device-card { width: 100%; margin: 0 0 24px !important; }
.rc-timing-device-card > .content { display: grid !important; grid-template-columns: 210px minmax(0, 1fr); gap: 12px; width: 100%; }
.rc-timing-device-card .rc-timing-device-catalog { width: auto !important; height: 540px !important; margin: 0 !important; overflow: hidden; background: #fff; border: 1px solid var(--rc-border) !important; border-radius: var(--rc-radius) !important; box-shadow: var(--rc-shadow) !important; }
.rc-timing-device-card .rc-timing-device-catalog > ul { height: 100% !important; margin: 0; padding: 8px; }
.rc-timing-device-card .rc-timing-device-catalog .list-title { margin: 0 0 6px !important; padding: 10px 11px; color: var(--rc-primary) !important; font-size: 13px !important; font-weight: 600; background: #eaf3f0; border-radius: 4px; }
.rc-timing-device-card .rc-timing-device-catalog .list { width: 100% !important; height: auto !important; min-height: 38px; margin: 2px 0 !important; padding: 9px 11px !important; color: #53605c !important; font-size: 12px !important; line-height: 20px !important; border-radius: 4px; }
.rc-timing-device-card .rc-timing-device-catalog .list:hover,
.rc-timing-device-card .rc-timing-device-catalog .list-avtive { color: var(--rc-primary) !important; background: #f0f6f3 !important; }
.rc-timing-device-transfer { min-width: 0; }
.rc-timing-device-card .selection-container { display: grid !important; grid-template-columns: minmax(300px, 1fr) 104px minmax(300px, 1fr); gap: 10px; width: 100%; }
.rc-timing-device-card .select-box { float: none !important; width: auto !important; min-width: 0; height: 540px !important; overflow: hidden; background: #fff; border: 1px solid var(--rc-border) !important; border-radius: var(--rc-radius) !important; box-shadow: var(--rc-shadow) !important; }
.rc-timing-device-card .select-box-title { align-items: center; min-height: 58px; margin: 0 !important; padding: 10px 12px; background: #f7f9f8; border-bottom: 1px solid var(--rc-border); }
.rc-timing-device-card .select-box-title > div:first-child { margin: 0 !important; }
.rc-timing-device-card .left .select-box-title { justify-content: space-between; gap: 10px; }
.rc-timing-device-card .select-box-title div span { color: #4e5b57 !important; font-size: 11px !important; }
/* 上面那条会顺带命中「绑定」按钮内部的计数文案 <span id="publishNum" style="color:white">——
   样式表的 !important 优先于行内 style，会把白字刷成深灰 #4e5b57，
   压在深绿按钮底(#075d4e)上对比度只有 1.10:1，几乎看不见。
   这里用更具体的选择器把它掰回白字，并让字号跟随按钮。 */
.rc-timing-device-card .select-box-title .rc-timing-bind-submit span { color: #fff !important; font-size: inherit !important; }
.rc-timing-device-card .select-box-title input[type="checkbox"] { width: 15px !important; height: 15px !important; margin: 0 6px 0 0 !important; accent-color: var(--rc-primary); }
.rc-timing-device-card .select-content { width: 100% !important; height: calc(100% - 58px) !important; overflow: hidden !important; }
.rc-timing-device-card .unselect-ul,
.rc-timing-device-card .selected-ul { margin: 0; }
.rc-timing-device-card .unselect-ul:nth-child(2),
.rc-timing-device-card .selected-ul:nth-child(2) { height: calc(100% - 42px) !important; overflow-y: auto; }
.rc-timing-device-card .unselect-header,
.rc-timing-device-card .list-right li { width: 100% !important; min-width: 0; margin: 0 !important; padding: 0 8px; }
.rc-timing-device-card .unselect-header { height: 42px !important; line-height: 42px !important; background: #f2f5f4 !important; border-bottom: 1px solid var(--rc-border); }
.rc-timing-device-card .list-right li:not(.unselect-header) { height: 38px !important; line-height: 38px !important; border-bottom: 1px solid #edf1ef; cursor: pointer; }
.rc-timing-device-card .list-right li:not(.unselect-header):hover { background: #fafcfb; }
.rc-timing-device-card .list-right li span { min-width: 0; color: #46534f !important; font-size: 11px !important; }
.rc-timing-device-card .list-right .unselect-header span { color: #68746f !important; font-weight: 600; }
.rc-timing-device-card .arrows-box { float: none !important; width: auto !important; height: 540px !important; margin: 0 !important; }
.rc-timing-device-card .arrows-box .arrow-btns { display: flex; align-items: stretch; flex-direction: column; gap: 12px; width: 100%; top: 50% !important; margin: 0 !important; transform: translateY(-50%); }
.rc-timing-device-card .arrows-box .arrow-btn { position: relative; display: inline-flex !important; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 6px; width: 100% !important; min-width: 0; height: 40px !important; padding: 6px 10px !important; color: var(--rc-primary) !important; font-size: 12px !important; line-height: 20px !important; white-space: nowrap; overflow: visible; background: #fff !important; border: 1px solid #bcd2ca !important; border-radius: 4px !important; }
.rc-timing-device-card .arrows-box .arrow-btn > i { flex: 0 0 auto; margin: 0; }
.rc-timing-device-card .arrows-box .arrow-btn .rc-timing-transfer-count { position: absolute; top: -9px; right: -7px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 20px; padding: 0 5px; color: #fff !important; font-size: 10px !important; font-weight: 600; line-height: 20px; white-space: nowrap; background: var(--rc-accent); border: 2px solid #fff; border-radius: 11px; box-shadow: 0 2px 6px rgba(27,49,43,.16); }
.rc-timing-device-card .arrows-box .arrow-btn .rc-timing-transfer-count:empty { display: none; }
.rc-timing-device-card .arrows-box .arrow-btn.right { margin: 0 !important; }
.rc-timing-device-card .arrows-box .arrow-btn.btn-cursor { color: #fff !important; background: var(--rc-primary) !important; border-color: var(--rc-primary) !important; }
.rc-timing-device-card .arrows-box .arrow-btn.btn-cursor .rc-timing-transfer-count { background: var(--rc-accent); }
.rc-timing-bind-submit { width: auto !important; min-width: 128px; height: 34px !important; margin: 0 !important; font-size: 13px !important; }
.rc-timing-bind-page.rc-rtl .rc-timing-form-shell,
.rc-timing-bind-page.rc-rtl .rc-timing-bind-shell,
.rc-timing-form-page.rc-rtl .rc-timing-form-shell { direction: rtl; text-align: right; }
.rc-timing-page.rc-rtl .rc-timing-editor-actions { justify-content: flex-start; }
.rc-timing-page.rc-rtl .rc-timing-device-card .select-box-title input[type="checkbox"] { margin: 0 0 0 6px !important; }

@media (max-width: 1080px) {
  .rc-timing-device-card > .content { grid-template-columns: 180px minmax(0, 1fr); }
  .rc-timing-device-card .selection-container { grid-template-columns: minmax(245px, 1fr) 68px minmax(245px, 1fr); }
  .rc-timing-plan-summary .preview-info .content { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .rc-timing-form-shell,
  .rc-timing-bind-shell { padding: 10px 10px 24px; }
  .rc-timing-editor-body { overflow-x: auto; padding: 12px; }
  .rc-timing-device-card > .content { grid-template-columns: minmax(0, 1fr); }
  .rc-timing-device-card .rc-timing-device-catalog { height: 190px !important; }
  .rc-timing-device-card .selection-container { grid-template-columns: minmax(0, 1fr); }
  .rc-timing-device-card .select-box { height: 420px !important; }
  .rc-timing-device-card .arrows-box { height: auto !important; }
  .rc-timing-device-card .arrows-box .arrow-btns { position: static !important; flex-direction: row; transform: none; }
  .rc-timing-device-card .arrows-box .arrow-btn { flex: 1; width: auto !important; }
  .rc-timing-plan-summary .preview-info .content { grid-template-columns: minmax(0, 1fr); }
  .rc-timing-editor-actions { align-items: stretch; flex-direction: column-reverse; }
  .rc-timing-editor-actions .rc-btn { width: 100%; }
}

/* Remote control console */
.rc-remote-page { min-height: 100%; overflow: auto !important; color: var(--rc-text); font-family: var(--rc-font); background: var(--rc-canvas) !important; }
.rc-remote-page * { box-sizing: border-box; }
.rc-remote-page #webControl { position: relative; inset: auto; width: min(760px, calc(100% - 24px)); height: auto !important; min-height: 100%; margin: 12px auto; padding: 0 0 18px; overflow: visible; background: #fff; border: 1px solid var(--rc-border); border-radius: 8px; box-shadow: var(--rc-shadow); }
.rc-remote-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; padding: 14px 18px; color: #fff; background: linear-gradient(118deg, var(--rc-shell), var(--rc-primary)); border-radius: 7px 7px 0 0; }
.rc-remote-heading > div { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rc-remote-heading > div > span { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.rc-remote-heading h1 { margin: 0; color: #fff; font-size: 17px; font-weight: 600; }
.rc-remote-heading p { margin: 3px 0 0; overflow: hidden; color: rgba(255,255,255,.72); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.rc-remote-status { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; padding: 5px 10px; color: #e2f0eb; font-size: 11px; background: rgba(255,255,255,.11); border-radius: 14px; }
.rc-remote-status i { width: 7px; height: 7px; background: #79cda9; border-radius: 50%; box-shadow: 0 0 0 3px rgba(121,205,169,.18); }
.rc-remote-page .remote_control { padding: 18px; }
.rc-remote-page .remote_control .bd { padding: 0; }
.rc-remote-page .remote_control .btn_area { display: block; }
.rc-remote-label { margin: 0; padding: 12px 13px 7px; color: var(--rc-text); font-size: 12px; font-weight: 600; border: 1px solid var(--rc-border); border-bottom: 0; border-radius: 6px 6px 0 0; background: #f7f9f8; }
.rc-remote-page .remote_control .opr_btns.rc-remote-buttons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; height: auto !important; min-height: 68px; margin: 0 0 14px; padding: 10px; line-height: normal !important; text-align: initial; border: 1px solid var(--rc-border); border-top: 0; border-radius: 0 0 6px 6px; background: #fff; }
.rc-remote-page .remote_control .opr_btns.rc-remote-buttons > .btn { display: inline-flex; align-items: center; justify-content: center; width: auto !important; min-width: 0; min-height: 42px; padding: 7px 9px; color: var(--rc-primary); font-size: 12px; line-height: 1.35; text-align: center; background: #f4f8f6; border: 1px solid #cfddd8; border-radius: 5px; }
.rc-remote-page .remote_control .opr_btns.rc-remote-buttons > .btn:hover { color: #fff; background: var(--rc-primary); border-color: var(--rc-primary); }
.rc-remote-page #powerBtn { color: #fff !important; background: var(--rc-danger) !important; border-color: var(--rc-danger) !important; }
.rc-remote-page .remote_control .opr_btns .last_child { display: none !important; }
.rc-remote-page .remote_control .opr_btns:not(.rc-remote-buttons) { grid-column: 1 / -1; min-height: 0; text-align: left; }
.rc-remote-page .remote_control .opr_btns:not(.rc-remote-buttons) span { display: inline-block; min-height: 0; margin: 0 8px 8px 0; padding: 5px 9px; color: var(--rc-primary); font-size: 11px; background: #eef5f2; border-radius: 4px; }
/* 信息区内的轻量提示（设备离线等）：替代原先悬浮在顶部、会盖住设备名的大提示框 */
.rc-remote-page #remoteAlert { display: none; }
.rc-remote-page #remoteAlert.is-on { display: block; color: #f7a08d; animation: rc-remote-alert-in .18s ease-out; }
@keyframes rc-remote-alert-in { from { opacity: 0; } to { opacity: 1; } }
.rc-remote-page .modal { color: var(--rc-text); background: #fff; border: 0; border-radius: 7px; box-shadow: 0 18px 50px rgba(17,52,43,.22); }
.rc-remote-page .modal-header { background: #f7f9f8; border-bottom-color: var(--rc-border); }
.rc-remote-page .modal-header h3 { color: var(--rc-text); font-size: 16px; }
.rc-remote-page.rc-rtl #webControl { direction: rtl; }
.rc-remote-page.rc-rtl .remote_control .opr_btns:not(.rc-remote-buttons) { text-align: right; }

/* Multi-screen list */
.rc-multiscreen-page,
.rc-multiscreen-page .backstageHome-2,
.rc-multiscreen-page .viewFramework-con { max-width: 100%; overflow-x: hidden; }
.rc-multiscreen-list { float: none; width: 100%; max-width: 100%; padding: 18px 22px 32px; background: var(--rc-canvas); }
.rc-multiscreen-list * { box-sizing: border-box; }
.rc-multiscreen-notice { margin: 0 0 14px !important; padding: 12px 15px !important; color: var(--rc-muted); background: #f3f8f6 !important; border: 1px solid #d8e5e0 !important; border-left: 4px solid var(--rc-marker) !important; border-radius: var(--rc-radius); text-shadow: none; }
.rc-multiscreen-notice h4 { display: inline; margin: 0 5px 0 0; color: var(--rc-primary); font-size: 13px; }
.rc-multiscreen-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; padding: 15px 17px; background: #fff; border: 1px solid var(--rc-border); border-radius: var(--rc-radius); box-shadow: var(--rc-shadow); }
.rc-multiscreen-toolbar h1 { margin: 0; color: var(--rc-text); font-size: 17px; }
.rc-multiscreen-toolbar p { margin: 3px 0 0; color: var(--rc-muted); font-size: 11px; }
.rc-multiscreen-toolbar .addScreenBtn { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; margin: 0; padding: 8px 13px; color: #fff; background: var(--rc-primary); border-radius: 4px; }
.rc-multiscreen-content { margin: 0 !important; }
.rc-multiscreen-list .multiscreenBox { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 13px; align-items: stretch; }
.rc-multiscreen-list .multiscreenBox .screenBox.rc-multiscreen-card { width: auto; min-width: 0; margin: 0; padding: 0; overflow: hidden; background: #fff; border: 1px solid var(--rc-border); border-radius: 6px; box-shadow: var(--rc-shadow); }
.rc-multiscreen-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; padding: 9px 12px; background: #f7f9f8; border-bottom: 1px solid var(--rc-border); }
.rc-multiscreen-card__head p { float: none !important; margin: 0; color: var(--rc-text); font-size: 13px; font-weight: 600; }
.rc-multiscreen-card__head .label { font-size: 10px; font-weight: 500; }
.rc-multiscreen-card .con { display: flex; align-items: center; justify-content: center; height: 160px !important; padding: 14px; overflow: auto; background: #fafcfb; }
.rc-multiscreen-card > #resu { min-height: 34px; margin: 0; padding: 8px 12px; color: var(--rc-muted); font-size: 11px; border-top: 1px solid #edf0ef; }
.rc-multiscreen-list .multiscreenBox .screenBox .btnBox { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px; min-height: 50px; margin: 0; padding: 9px 11px; border-top: 1px solid var(--rc-border); }
.rc-screen-action { display: inline-flex; align-items: center; gap: 5px; height: 29px; margin: 0 !important; padding: 4px 9px !important; color: #fff !important; font-size: 11px !important; line-height: 20px; border: 0 !important; border-radius: 4px !important; }
.rc-screen-action--primary { background: var(--rc-primary) !important; }
.rc-screen-action--accent { background: var(--rc-accent) !important; }
.rc-screen-action--warning { background: var(--rc-warning) !important; }
.rc-screen-action--danger { background: var(--rc-danger) !important; }
.rc-multiscreen-page.rc-rtl .rc-multiscreen-list { direction: rtl; text-align: right; }
.rc-multiscreen-page.rc-rtl .rc-multiscreen-notice { border-right: 4px solid var(--rc-marker) !important; border-left-width: 1px !important; }
.rc-multiscreen-page.rc-rtl .rc-multiscreen-card .btnBox { justify-content: flex-start; }

/* Multi-screen editor */
.rc-screen-editor-page,
.rc-screen-editor-page .backstageHome-2,
.rc-screen-editor-page .viewFramework-con { max-width: 100%; overflow-x: hidden; }
.rc-screen-editor-shell { float: none; width: 100%; max-width: 100%; padding: 18px 22px 32px; background: var(--rc-canvas); }
.rc-screen-editor-shell * { box-sizing: border-box; }
.rc-screen-editor-notice { margin: 0 0 14px !important; padding: 12px 15px !important; color: var(--rc-muted); background: #f3f8f6 !important; border: 1px solid #d8e5e0 !important; border-left: 4px solid var(--rc-marker) !important; border-radius: var(--rc-radius); text-shadow: none; }
.rc-screen-editor-form { margin: 0; }
.rc-screen-editor { margin: 0 !important; overflow: hidden; background: #fff; border: 1px solid var(--rc-border) !important; border-radius: var(--rc-radius); box-shadow: var(--rc-shadow); }
.rc-screen-editor .devTit { position: relative; margin: 0 !important; padding: 16px 18px 16px 22px !important; color: var(--rc-text) !important; font-size: 17px !important; font-weight: 600; background: #f7f9f8 !important; border-bottom: 1px solid var(--rc-border); }
.rc-screen-editor .devTit::before { position: absolute; top: 0; bottom: 0; left: 0; width: 4px; content: ""; background: var(--rc-primary); }
.rc-screen-editor-fields { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: 10px 18px 2px; }
.rc-screen-editor .deviceTable .half { display: grid; grid-template-columns: 128px minmax(0, 1fr); align-items: center; width: auto !important; min-width: 0; min-height: 58px; margin: 0 !important; padding: 9px 10px; border-bottom: 1px solid #edf0ef; }
.rc-screen-editor .deviceTable .half.width100 { grid-column: 1 / -1; }
.rc-screen-editor .deviceTable .half .halfTit,
.rc-screen-editor .deviceTable .width100 .halfTit { width: auto !important; padding: 0 14px 0 0 !important; color: #4e5a56; font-size: 12px; font-weight: 600; text-align: right; }
.rc-screen-editor .deviceTable .half > input[type="text"],
.rc-screen-editor .deviceTable .half > select { width: min(360px, 100%) !important; height: 36px; margin: 0; padding: 6px 9px; border: 1px solid #ccd7d3; border-radius: 4px; box-shadow: none; }
.rc-screen-editor .deviceTable .half > .flexDirection { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0; }
.rc-screen-editor .deviceTable .half .twoInput input,
.rc-screen-editor .deviceTable .half .twoInput select { width: 82px; height: 36px; margin: 0; border-color: #ccd7d3; border-radius: 4px; }
.rc-screen-editor .deviceTable .half .space { width: auto !important; min-width: 8px; }
.rc-screen-editor .rc-screen-playmode { gap: 18px !important; }
.rc-screen-editor .rc-screen-playmode input[type="radio"] { width: 16px; height: 16px; margin: 0 2px 0 0; accent-color: var(--rc-primary); cursor: pointer; }
.rc-screen-editor .deviceTable select[readonly] { color: var(--rc-muted); background: #f3f6f5; cursor: default; }
.rc-screen-matrix-section { margin-top: 12px; padding: 14px 18px 18px !important; background: #f7f9f8 !important; border-top: 1px solid var(--rc-border); border-bottom: 1px solid var(--rc-border); }
.rc-screen-matrix-section > .alert,
.rc-screen-editor #content { margin: 0 0 12px; padding: 10px 12px; color: var(--rc-muted); background: #fff; border: 1px solid #dce6e2; border-radius: 4px; text-shadow: none; }
.rc-screen-editor #div1 .screenWrap { width: 100%; min-height: 180px; margin: 0; padding: 14px; overflow: auto; background: #fff; border: 1px solid var(--rc-border); border-radius: 5px; }
.rc-screen-editor #div1 .tableWrap { border-radius: 4px; box-shadow: 0 2px 6px rgba(17,52,43,.08); }
.rc-screen-editor #div1 .screenWrap2 td { border-color: #52625d; }
.rc-screen-editor #div1 .screenWrap2 td .screeBtn { background: var(--rc-primary); border-radius: 3px; }
.rc-screen-resource-toolbar { padding: 12px 18px !important; background: #fff; border-top: 0 !important; border-bottom: 1px solid var(--rc-border); }
.rc-screen-resource-toolbar .btnWrap,
.rc-screen-editor-actions .btnWrap { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 !important; }
.rc-screen-resource-toolbar .btn { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: #fff; background: var(--rc-accent); border: 0; border-radius: 4px; text-shadow: none; }
.rc-screen-editor .lineTr { background: #fff; }
.rc-screen-editor .lineTr .lineW { gap: 16px; padding: 14px 18px; border-top: 1px solid #edf0ef; }
.rc-screen-editor .lineTr .tit { flex: 0 0 180px; color: var(--rc-primary); }
.rc-screen-editor .scrrenTable2Wrap { max-width: calc(100vw - 540px); padding: 8px; background: #f7f9f8; border: 1px solid var(--rc-border); border-radius: 4px; }
.rc-screen-editor-actions { padding: 14px 18px !important; background: #fafbfb; border-top: 1px solid var(--rc-border) !important; }
.rc-screen-editor-actions .btnWrap { justify-content: flex-end; }
.rc-screen-editor-actions .btn { min-width: 96px; margin: 0; border-radius: 4px; }
.rc-screen-editor-page.rc-rtl .rc-screen-editor-shell { direction: rtl; text-align: right; }
.rc-screen-editor-page.rc-rtl .rc-screen-editor-notice { border-right: 4px solid var(--rc-marker) !important; border-left-width: 1px !important; }
.rc-screen-editor-page.rc-rtl .rc-screen-editor .devTit { padding-right: 22px !important; }
.rc-screen-editor-page.rc-rtl .rc-screen-editor .devTit::before { right: 0; left: auto; }
.rc-screen-editor-page.rc-rtl .rc-screen-editor .deviceTable .half .halfTit { padding-right: 0 !important; padding-left: 14px !important; text-align: left; }
.rc-screen-editor-page.rc-rtl .rc-screen-editor-actions .btnWrap { justify-content: flex-start; }

@media (max-width: 900px) {
  .rc-screen-editor-fields { grid-template-columns: minmax(0, 1fr); }
  .rc-screen-editor .deviceTable .half.width100 { grid-column: auto; }
  .rc-screen-editor .scrrenTable2Wrap { max-width: calc(100vw - 310px); }
}

@media (max-width: 620px) {
  .rc-timing-list,
  .rc-multiscreen-list,
  .rc-screen-editor-shell { padding: 10px 10px 24px; }
  .rc-timing-toolbar,
  .rc-multiscreen-toolbar { align-items: stretch; flex-direction: column; }
  .rc-timing-toolbar .rc-btn,
  .rc-multiscreen-toolbar .addScreenBtn { justify-content: center; width: 100%; }
  .rc-remote-heading { align-items: flex-start; flex-direction: column; }
  .rc-remote-page .remote_control { padding: 12px; }
  .rc-remote-page .remote_control .opr_btns.rc-remote-buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rc-screen-editor .deviceTable .half { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .rc-screen-editor .deviceTable .half .halfTit { padding: 0 !important; text-align: left; }
  .rc-screen-editor .lineTr .lineW { align-items: flex-start; flex-direction: column; }
  .rc-screen-editor .lineTr .tit { flex-basis: auto; width: 100%; }
  .rc-screen-editor .scrrenTable2Wrap { max-width: calc(100vw - 64px); }
}

@media (max-width: 1180px) {
  .backstageHome-2 .console-component-topbar .topbar-logo { flex-basis: 64px; width: 64px; }
  .backstageHome-2 .console-component-topbar .topbar-btn .logoImg { width: 46px; height: 46px; max-height: 46px; object-fit: cover; object-position: left center; }
  .backstageHome-2 .viewFramework-body .viewFramework-sidebar { width: 64px; }
  .backstageHome-2 .viewFramework-con { padding-left: 64px; }
  .backstageHome-2 .sidebar-title-text { display: none; }
  .backstageHome-2 .console-component-sidebar .sidebar-nav ul { width: 64px; }
  .backstageHome-2 .console-component-sidebar .sidebar-nav .nav-icon,
  .backstageHome-2 .sidebar-nav .singleIcon { margin-left: 17px; }
  .rc-dashboard { grid-template-columns: 1fr; }
  .rc-dashboard-heading { grid-column: 1; }
  .rc-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rc-workbench__grid { grid-template-columns: minmax(0, 1fr); }
  .rc-workbench__aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
  .rc-todos,
  .rc-feedback { grid-column: 1 / -1; }
  .rc-renew-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rc-renew-checkout { grid-template-columns: minmax(0, 1fr) 290px; }
}

@media (max-width: 760px) {
  .backstageHome-2 .console-component-topbar .topbar-home-link { max-width: 190px; padding: 0 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .backstageHome-2 .console-component-topbar .topbar-tit-user { min-width: 54px; width: 54px; overflow: hidden; }
  .backstageHome-2 .console-component-topbar .topbar-tit-user .topbar-tit { gap: 0; color: transparent; }
  .rc-language--topbar { padding: 0 2px; }
  .rc-language--topbar summary { min-width: 50px; padding: 4px; }
  .rc-language--topbar .rc-language__current,
  .rc-language--topbar summary > i:last-child { display: none; }
  .rc-subnav { display: none; }
  .rc-dashboard { padding: 14px; }
  .rc-dashboard .tj,
  .rc-dashboard .sh_flow ul { grid-template-columns: 1fr; }
  .rc-dashboard .ad-banner { align-items: flex-start; flex-direction: column; }
  .rc-dashboard .sh_wrap32 { overflow-x: auto; }
  .rc-dashboard .sh_wrap32 table { min-width: 650px; }
  .rc-workbench__heading { align-items: flex-start; }
  .rc-workbench__date { display: none; }
  .rc-device-onboarding { grid-template-columns: minmax(0,1fr); min-height: 0; padding: 22px; }
  .rc-device-onboarding__visual { display: none; }
  .rc-workbench__aside { display: flex; flex-direction: column; }
  .rc-quick__grid,
  .rc-resource__body,
  .rc-publish-flow__steps { grid-template-columns: minmax(0, 1fr); }
  .rc-publish-flow__steps a:not(:last-child)::after { display: none; }
  .rc-resource__types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rc-panel__header--action { align-items: flex-start; }
  .rc-device-list { padding: 12px !important; }
  .rc-device-toolbar { align-items: stretch; flex-wrap: wrap; }
  .weixin1Sel .weixin1.rc-device-toolbar .zInp { flex: 1 1 100%; }
  .weixin1Sel .weixin1.rc-device-toolbar .zInp input { flex: 1 1 auto; width: auto !important; }
  .rc-renew-page .rc-renew { padding: 14px 12px 24px; }
  .rc-renew__heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .rc-renew-card { padding: 14px; }
  .rc-renew-plans, .rc-renew-checkout { grid-template-columns: minmax(0, 1fr); }
  .rc-renew-payments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .rc-workbench__heading { flex-wrap: wrap; }
  .rc-workbench__tools { width: 100%; }
  .rc-device-onboarding { padding: 20px 16px; }
  .rc-device-onboarding h2 { font-size: 21px; }
  .rc-device-onboarding__steps { grid-template-columns: minmax(0,1fr); }
  .rc-device-onboarding__actions { align-items: stretch; flex-direction: column; }
  .rc-device-onboarding__action { width: 100%; }
  .rc-metrics { grid-template-columns: minmax(0, 1fr); }
  .rc-quick__item { grid-template-columns: minmax(0,1fr) auto; padding-right: 12px; padding-left: 12px; }
  .rc-quick__arrow { display: none; }
  .rc-quick__action { min-width: 78px; padding-right: 8px; padding-left: 8px; }
  .rc-workbench__subtitle { max-width: 280px; }
  .rc-resource__types { grid-template-columns: minmax(0, 1fr); }
  .rc-renew-payments { grid-template-columns: minmax(0, 1fr); }
  .rc-renew-notice { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .backstageHome-2 *,
  .backstageHome-2 *::before,
  .backstageHome-2 *::after,
  .rc-confirm,
  .rc-confirm * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Layout publishing */
.rc-layout-publish-page,
.rc-layout-publish-page .backstageHome-2,
.rc-layout-publish-page .viewFramework-body,
.rc-layout-publish-page .viewFramework-con {
  max-width: 100%;
  overflow-x: hidden;
}

.rc-layout-publish {
  width: auto !important;
  max-width: 100%;
  min-width: 0;
  padding: 0 22px 30px !important;
  background: var(--rc-canvas) !important;
}

.rc-publish-workspace {
  width: 100%;
  min-width: 0;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

.rc-publish-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 12px 0 14px;
  padding: 20px 22px;
  color: #fff;
  background: linear-gradient(118deg, var(--rc-shell), var(--rc-primary));
  border-radius: var(--rc-radius);
  box-shadow: var(--rc-shadow);
}

.rc-publish-heading__icon {
  display: inline-flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
}

.rc-publish-heading h1 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
}

.rc-publish-heading p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
}

.rc-publish-notice {
  margin: 0 0 18px !important;
  padding: 14px 16px !important;
  color: #44514d;
  background: #f6faf8 !important;
  border: 1px solid #dce9e4 !important;
  border-left: 4px solid var(--rc-marker) !important;
  border-radius: var(--rc-radius);
}

.rc-publish-notice h5 {
  margin: 0 0 6px;
  color: var(--rc-text);
  line-height: 1.7;
}

.rc-publish-notice code {
  padding: 2px 6px;
  color: var(--rc-primary);
  background: #e7f1ed;
  border: 0;
  border-radius: 3px;
}

.rc-publish-section-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 18px 0 10px;
  color: var(--rc-text);
  font-size: 15px;
}

.rc-publish-section-title > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 24px;
  color: var(--rc-primary);
  font-size: 12px;
  font-weight: 700;
  background: #e7f1ed;
  border-radius: 12px;
}

.rc-layout-publish .rc-publish-device-grid {
  display: grid;
  grid-template-columns: 180px minmax(300px, 1fr) minmax(300px, 1fr);
  gap: 14px;
  width: 100%;
  min-width: 0;
  overflow: visible;
}

.rc-layout-publish .rc-publish-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  float: none !important;
  width: auto !important;
  min-width: 0;
  height: 410px !important;
  margin: 0 !important;
  overflow: hidden !important;
  background: var(--rc-surface) !important;
  border: 1px solid var(--rc-border) !important;
  border-radius: var(--rc-radius);
  box-shadow: 0 3px 14px rgba(17, 52, 43, .04);
}

.rc-layout-publish .rc-publish-panel span {
  width: auto;
  height: auto;
  margin: 0;
  line-height: inherit;
}

/* 三个发布页（布局发布/批量发布/滚动字幕）的三栏区共用同一套面板标题条。
   高度取 48px 与滚动字幕页一致；只有带搜索框的行需要容纳 32px 输入框，单独加高。 */
.rc-publish-panel__title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 15px;
  color: var(--rc-text);
  font-weight: 600;
  background: #fafbfb;
  border-bottom: 1px solid var(--rc-border);
}

.rc-publish-panel__title i { color: var(--rc-primary); }

.rc-publish-panel__title--search {
  justify-content: space-between;
  gap: 10px;
  min-height: 54px;
}

.rc-publish-panel__title--search > strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.rc-publish-search {
  display: flex;
  flex: 1 1 220px;
  justify-content: flex-end;
  min-width: 0;
}

.rc-publish-search input {
  width: min(190px, 65%) !important;
  height: 32px !important;
  margin: 0 !important;
  padding: 5px 10px !important;
  border-color: var(--rc-border) !important;
  border-radius: 4px 0 0 4px !important;
  box-shadow: none !important;
}

.rc-publish-search .btn {
  height: 32px;
  margin: 0;
  padding: 5px 12px;
  background: var(--rc-primary);
  border-color: var(--rc-primary);
  border-radius: 0 4px 4px 0;
  white-space: nowrap;
}

.rc-publish-search .btn i { margin-right: 5px; }

.rc-layout-publish .rc-publish-categories #wrapper {
  position: relative !important;
  top: auto !important;
  width: 100% !important;
  height: 355px !important;
  padding: 10px 8px 18px !important;
  overflow: hidden;
  border: 0 !important;
}

.rc-layout-publish .rc-publish-categories #scroller > span {
  display: block;
  width: 100%;
  height: 38px;
  margin: 0 0 4px;
  padding: 0 12px;
  overflow: hidden;
  line-height: 38px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 4px;
}

.rc-layout-publish .rc-publish-categories #scroller > span.eqspan1 {
  color: var(--rc-muted);
  background: transparent;
}

.rc-layout-publish .rc-publish-categories #scroller > span.eqspan2 {
  color: var(--rc-primary);
  font-weight: 600;
  background: #e7f1ed;
}

.rc-layout-publish .rc-publish-categories #scroller > span a {
  display: block;
  color: inherit;
}

.rc-layout-publish .rc-publish-categories .span1 { display: none; }

.rc-layout-publish .rc-publish-available .dTable {
  flex: 1 1 auto;
  min-height: 0;
  height: auto !important;
  max-height: none !important;
  overflow: auto !important;
}

.rc-layout-publish .rc-publish-panel table {
  width: 100%;
  margin: 0 !important;
  table-layout: fixed;
  border-collapse: collapse;
}

.rc-layout-publish .rc-publish-panel th {
  height: 38px;
  padding: 8px 10px;
  color: #51605b;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  background: #f4f7f6;
  border-bottom: 1px solid var(--rc-border);
}

.rc-layout-publish .rc-publish-panel td {
  height: 42px;
  padding: 8px 10px;
  overflow: hidden;
  color: var(--rc-text);
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-bottom: 1px solid #edf0ef;
}

.rc-layout-publish .rc-publish-panel th:last-child,
.rc-layout-publish .rc-publish-panel td:last-child {
  width: 62px;
  text-align: center;
}

.rc-layout-publish .rc-publish-panel td input[type="checkbox"] {
  margin: 0 7px 0 0;
  vertical-align: middle;
}

.rc-publish-selected__body {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  overflow: auto;
}

.rc-layout-publish .fixBottom {
  position: static !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px 10px;
  min-height: 56px;
  padding: 9px 12px !important;
  background: #fafbfb !important;
  border-top: 1px solid var(--rc-border) !important;
}

/* 旧版 bootstrap 用「label 左内边距 20px + input 浮动 -20px」给单选钮让位；
   这里曾把 label 的 padding 归零，浮动失效后 input 的负边距直接把圆圈压到
   前一个控件（「过滤离线」文字）上。改为 flex 排布并显式清掉负边距。 */
.rc-layout-publish .fixBottom .z_duol {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  float: none;
  width: auto;
  margin: 0 !important;
  line-height: 1;
}

.rc-layout-publish .fixBottom .z_duol input[type="checkbox"],
.rc-layout-publish .fixBottom .z_duol input[type="radio"] {
  float: none;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--rc-primary);
}

.rc-layout-publish .fixBottom .z_duol label {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  line-height: 20px;
}

/* style.css 在 raffles-admin-ui.css 之后加载，`.equ1_top1 .fixBottom span`
   会给底栏里所有 span 塞 5px 内边距和 30px 行高，这里按更高优先级复位 */
.rc-layout-publish .fixBottom .z_duol span {
  display: inline;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  line-height: inherit;
}

.rc-layout-publish .rc-publish-filter {
  gap: 6px;
  color: #4f5e59;
  font-size: 12px;
  cursor: pointer;
}

.rc-layout-publish .fixBottom .z_duol label.radio.inline {
  gap: 5px;
  min-height: 28px;
  padding: 3px 9px;
  color: #4f5e59;
  font-size: 12px;
  background: #fff;
  border: 1px solid #cfd8d5;
  border-radius: 4px;
  cursor: pointer;
}

.rc-layout-publish .fixBottom .z_duol label.radio.inline:hover { border-color: #9fbbb2; }

.rc-layout-publish .fixBottom span.eqspan2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 0 auto;
  width: auto;
  height: 34px;
  margin: 0;
  line-height: 1;
  background: var(--rc-primary);
  border-radius: 4px;
}

.rc-layout-publish .fixBottom span.eqspan2 a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
  height: 100%;
  padding: 0 14px;
  color: #fff !important;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  border-radius: 4px;
  text-decoration: none !important;
}

.rc-layout-publish .fixBottom span.eqspan2 a:hover,
.rc-layout-publish .fixBottom span.eqspan2 a:focus { color: #fff !important; background: var(--rc-primary-hover); }

.rc-layout-publish .fixBottom span.eqspan2 a:focus-visible { outline: 2px solid rgba(7, 93, 78, .28); outline-offset: 2px; }

.rc-layout-publish .fixBottom span.eqspan2 a i {
  display: inline-block;
  margin: 0;
  color: #fff !important;
  filter: brightness(0) invert(1);
  text-shadow: none !important;
  vertical-align: middle;
}

/* Bootstrap 2 的 glyphicons 是雪碧图，只有 color 不足以改变图标颜色。
   发布页实心操作按钮统一使用白色图标，白底/浅底按钮使用深色图标。 */
.rc-layout-publish .rc-publish-search .btn-primary > i,
.rc-publish-schedule .rc-btn--primary > i {
  color: #fff !important;
  filter: brightness(0) invert(1);
  text-shadow: none !important;
}

.rc-publish-schedule .rc-sched-reset > i,
.rc-publish-schedule .rc-btn--neutral > i {
  color: var(--rc-text) !important;
  filter: brightness(0);
  text-shadow: none !important;
}

.rc-layout-publish .fixBottom2 { justify-content: flex-end; }

/* 「移除所选」/「清空字幕」都是清空已选设备的破坏性操作，且同在底栏右端、
   位置与职责一致 → 统一用危险色实心，与「添加所选」拉开层级。
   （滚动字幕原先用白底描边，配白色雪碧图图标时图标在浅底上几乎看不见） */
.rc-layout-publish .fixBottom2 span.eqspan2 { background: var(--rc-danger); }

.rc-layout-publish .fixBottom2 span.eqspan2 a:hover,
.rc-layout-publish .fixBottom2 span.eqspan2 a:focus { background: #b3473d; }

.rc-layout-publish .fixBottom2 span.eqspan2 a:focus-visible { outline-color: rgba(200, 81, 71, .3); }

.rc-layout-publish-page.rc-rtl .rc-layout-publish .fixBottom { direction: rtl; }

.rc-publish-schedule {
  margin: 0 !important;
  padding: 18px 20px !important;
  background: var(--rc-surface) !important;
  border: 1px solid var(--rc-border) !important;
  border-radius: var(--rc-radius) !important;
  box-shadow: var(--rc-shadow);
}

.rc-publish-schedule label:not(.radio):not(.checkbox):not(.rc-sched-rule):not(.rc-sched-weekday) {
  display: inline-block;
  min-width: 92px;
  color: #495650;
  font-weight: 600;
}

.rc-publish-schedule input[type="text"],
.rc-publish-schedule select,
.rc-sched-dialog input[type="text"],
.rc-sched-dialog select {
  height: 34px;
  margin: 0;
  border-color: var(--rc-border);
  border-radius: 4px;
  box-shadow: none;
}

.rc-publish-schedule #reservationtime { width: min(298px, calc(100% - 80px)); }
.rc-sched-dialog #reservationtime { width: min(291px, calc(100% - 80px)); }
.rc-publish-schedule select.span1,
.rc-sched-dialog select.span1 { width: 72px; }
.rc-publish-schedule .radio,
.rc-publish-schedule .checkbox { display: inline-flex; align-items: center; margin-right: 16px; }
.rc-publish-schedule .radio input,
.rc-publish-schedule .checkbox input { margin: 0 6px 0 0; }

.rc-publish-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.rc-publish-actions .btn {
  min-width: 94px;
  margin: 0;
  padding: 8px 16px;
  border-radius: 4px;
}

.rc-publish-actions .btn-inverse {
  color: var(--rc-primary);
  background: #fff;
  border: 1px solid #b9ccc5;
  text-shadow: none;
}

.rc-layout-publish-page.rc-rtl .rc-publish-heading,
.rc-layout-publish-page.rc-rtl .rc-publish-section-title,
.rc-layout-publish-page.rc-rtl .rc-publish-panel__title,
.rc-layout-publish-page.rc-rtl .rc-publish-schedule { direction: rtl; text-align: right; }
.rc-layout-publish-page.rc-rtl .rc-publish-panel th,
.rc-layout-publish-page.rc-rtl .rc-publish-panel td,
.rc-layout-publish-page.rc-rtl .rc-publish-categories #scroller > span { text-align: right; }
.rc-layout-publish-page.rc-rtl .rc-publish-panel th:last-child,
.rc-layout-publish-page.rc-rtl .rc-publish-panel td:last-child { text-align: center; }
.rc-layout-publish-page.rc-rtl .rc-publish-search { direction: ltr; }
.rc-layout-publish-page.rc-rtl .rc-publish-schedule .radio,
.rc-layout-publish-page.rc-rtl .rc-publish-schedule .checkbox { margin-right: 0; margin-left: 16px; }
.rc-layout-publish-page.rc-rtl .rc-publish-actions { justify-content: flex-start; }

/* ---------- 02 设置布局运行时间 ---------- */

/* 运行说明：三行「条件 → 结果」，替代原来那句客户看不懂的长提示 */
.rc-sched-guide {
  margin-bottom: 15px;
  padding: 12px 14px;
  background: #f6faf8;
  border: 1px solid #e1ebe7;
  border-radius: 6px;
}

.rc-sched-guide__head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 9px;
  color: var(--rc-text);
  font-size: 12px;
  font-weight: 600;
}

.rc-sched-guide__head i { color: var(--rc-primary); }

.rc-sched-guide__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rc-sched-guide__list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.rc-sched-guide__list li + li { margin-top: 7px; }

.rc-sched-guide__list b {
  flex: 0 0 150px;
  color: #37514a;
  font-size: 11px;
  font-weight: 600;
  font-style: normal;
}

.rc-sched-guide__list b::before {
  margin-inline-end: 5px;
  color: var(--rc-primary);
  content: "\2022";
}

.rc-sched-guide__list span {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--rc-muted);
  font-size: 11px;
  line-height: 1.55;
}

/* 字段行 */
.rc-sched-fields { display: flex; flex-direction: column; }

.rc-sched-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #edf0ef;
}

.rc-sched-field:first-child { padding-top: 0; border-top: 0; }

.rc-sched-field > .rc-sched-field__label {
  flex: 0 0 92px;
  padding-top: 9px;
}

.rc-sched-field__control {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.rc-sched-hint { color: var(--rc-muted); font-size: 10px; }
.rc-sched-hint--inline { display: inline-flex; align-items: center; min-height: 34px; }

/* 运行时间：4 个下拉 + 两个冒号 + 一个「至」 */
.rc-sched-time { display: inline-flex; align-items: center; gap: 4px; }
.rc-publish-schedule .rc-sched-time select,
.rc-sched-dialog .rc-sched-time select { width: 62px; }
.rc-sched-colon,
.rc-sched-sep { color: #6b7671; font-size: 11px; }
.rc-sched-sep { margin: 0 4px; }
.rc-publish-schedule .rc-sched-reset,
.rc-sched-dialog .rc-sched-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: auto !important;
  min-width: 72px;
  min-height: 34px;
  margin: 0;
  padding: 6px 12px;
  color: #8a5a1a !important;
  background: #fff8e8 !important;
  border: 1px solid #dfbd75 !important;
  border-radius: 4px;
  box-shadow: none;
  text-shadow: none !important;
}
.rc-publish-schedule .rc-sched-reset:hover,
.rc-publish-schedule .rc-sched-reset:focus,
.rc-sched-dialog .rc-sched-reset:hover,
.rc-sched-dialog .rc-sched-reset:focus {
  color: #75470b !important;
  background: #fbedc9 !important;
  border-color: #cb9c42 !important;
}

/* 运行规则：两张可点的卡片 */
.rc-sched-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 560px;
}

.rc-publish-schedule .rc-sched-rule,
.rc-sched-dialog .rc-sched-rule {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  min-height: 54px;
  margin: 0;
  padding: 9px 11px;
  font-weight: 400;
  background: #fff;
  border: 1px solid var(--rc-border);
  border-radius: 5px;
  cursor: pointer;
}

.rc-publish-schedule .rc-sched-rule:hover,
.rc-sched-dialog .rc-sched-rule:hover { border-color: #b7cfc7; }

.rc-publish-schedule .rc-sched-rule.is-checked,
.rc-sched-dialog .rc-sched-rule.is-checked {
  background: #f2f9f5;
  border-color: var(--rc-primary);
}

.rc-publish-schedule .rc-sched-rule.is-checked .rc-sched-rule__body strong,
.rc-sched-dialog .rc-sched-rule.is-checked .rc-sched-rule__body strong { color: var(--rc-primary); }

.rc-publish-schedule .rc-sched-rule.is-disabled,
.rc-sched-dialog .rc-sched-rule.is-disabled {
  opacity: .52;
  cursor: not-allowed;
}

.rc-publish-schedule .rc-sched-rule input[type="radio"],
.rc-sched-dialog .rc-sched-rule input[type="radio"] {
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: var(--rc-primary);
}

.rc-sched-rule__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rc-sched-rule__body strong { color: var(--rc-text); font-size: 12px; font-weight: 600; }
.rc-sched-rule__body small { color: var(--rc-muted); font-size: 10px; line-height: 1.5; }

/* 星期选择 */
.rc-sched-weekdays {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
  margin-top: 9px;
}

.rc-publish-schedule .rc-sched-weekday,
.rc-sched-dialog .rc-sched-weekday {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  min-height: 26px;
  margin: 0;
  padding: 3px 8px;
  color: #46534f;
  font-size: 11px;
  font-weight: 400;
  background: #f7f9f8;
  border: 1px solid #e1e7e5;
  border-radius: 4px;
  cursor: pointer;
}

.rc-publish-schedule .rc-sched-weekday input[type="checkbox"],
.rc-sched-dialog .rc-sched-weekday input[type="checkbox"] {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: var(--rc-primary);
}

/* 单日范围提示 */
.rc-sched-notice {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin-top: 9px;
  padding: 7px 10px;
  color: #8a5a1a;
  font-size: 11px;
  background: #fdf6e7;
  border: 1px solid #f0e0bd;
  border-radius: 4px;
}

.rc-sched-notice i { color: #d78b17; }

/* 「一直播放」时的置灰。注意：这里只用视觉禁用，
   真 disabled 会让字段不参与提交，后端会拿到 null。 */
.rc-sched-field.is-disabled > .rc-sched-field__control { opacity: .55; }
.rc-sched-field.is-disabled > .rc-sched-field__control,
.rc-sched-field.is-disabled > .rc-sched-field__control * { pointer-events: none; }
.rc-sched-field.is-disabled select,
.rc-sched-field.is-disabled input { color: #9aa6a2; background-color: #f2f4f3; }

/* 当前设置摘要 */
.rc-sched-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 2px 0 12px;
  padding: 10px 12px;
  background: #f2f8f5;
  border: 1px dashed #c3d9d0;
  border-radius: 5px;
}

/* 按钮区与上面的设置区拉开，并给一条分隔线（原来表格结构自带 border-top） */
.rc-publish-schedule .rc-publish-actions {
  margin-top: 0;
  padding-top: 14px;
  border-top: 1px solid #edf0ef;
}

/* 发布操作与上方表单的控件列对齐：92px 标签列 + 12px 字段间距。 */
.rc-publish-schedule .rc-publish-actions.rc-publish-actions--field-aligned {
  box-sizing: border-box;
  justify-content: flex-start;
  padding-inline-start: 104px;
}

/* style.css 在 raffles-admin-ui.css 之后加载，且 bootstrap 的 .btn-primary 是蓝色；
   这里用限定到本区块的 !important 把主次按钮拉回系统配色。 */
.rc-publish-schedule .rc-publish-actions .btn.rc-btn--primary {
  color: #fff !important;
  background: var(--rc-primary) !important;
  border-color: var(--rc-primary) !important;
  text-shadow: none !important;
}

.rc-publish-schedule .rc-publish-actions .btn.rc-btn--neutral {
  color: var(--rc-primary) !important;
  background: #fff !important;
  border-color: #b9ccc5 !important;
  text-shadow: none !important;
}

.rc-publish-schedule .rc-publish-actions .btn.rc-btn--neutral:hover,
.rc-publish-schedule .rc-publish-actions .btn.rc-btn--neutral:focus {
  color: var(--rc-primary) !important;
  background: #f4f9f7 !important;
}

.rc-sched-summary__label {
  flex: 0 0 auto;
  padding: 2px 8px;
  color: #fff;
  font-size: 10px;
  background: var(--rc-primary);
  border-radius: 3px;
}

.rc-sched-summary__text {
  flex: 1 1 auto;
  min-width: 0;
  color: #2f4a42;
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .rc-sched-rules { grid-template-columns: minmax(0, 1fr); max-width: none; }
  /* 弹窗是定宽 640，跟着视口塌成单列会把弹窗撑得很高（内部要滚动）；
     这里维持两列，窄到 520 也放得下 */
  .rc-sched-dialog .rc-sched-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 「布局运行时间」弹窗（select.jsp） ----------
   与 publish 页 02 区共用 .rc-sched-*，这里只补弹窗自身的尺寸与容器微调 */

/* bootstrap 的 label 是 display:block; margin-bottom:5px，且没有字重，
   弹窗里靠不上 .rc-publish-schedule 那条 label 规则，得单独给一份 */
.rc-sched-dialog .rc-sched-field > .rc-sched-field__label {
  display: block;
  margin: 0;
  color: #495650;
  font-size: 12px;
  font-weight: 600;
}

.rc-sched-dialog #reservationtime { width: min(291px, calc(100% - 80px)); }
.rc-sched-dialog select.span1 { width: 62px; }
.rc-sched-dialog .rc-sched-time { gap: 3px; }
.rc-sched-dialog .rc-sched-guide { margin-bottom: 12px; }

/* jQuery UI 弹窗外壳：按钮区与窗口描边对齐到系统风格 */
.rc-layout-schedule-modal .ui-dialog-content { color: var(--rc-text); }

.rc-layout-schedule-modal .ui-dialog-buttonpane {
  margin: 0;
  padding: 12px 16px;
  border-top: 1px solid var(--rc-border);
  background: #fbfcfc;
}

.rc-layout-schedule-modal .ui-dialog-buttonpane .ui-button {
  min-height: 34px;
  margin: 0 0 0 8px;
  padding: 6px 18px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: var(--rc-primary);
  font-weight: 400;
  text-shadow: none;
}

.rc-layout-schedule-modal .ui-dialog-buttonpane .ui-button:hover,
.rc-layout-schedule-modal .ui-dialog-buttonpane .ui-button:focus {
  border: 0;
  color: #fff;
  background: #0a6d5c;
}

/* 顶部说明：设备信息行 + 与弹窗同一套「条件 -> 结果」清单 */
.rc-layout-select__device {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px !important;
  padding-bottom: 9px;
  border-bottom: 1px dashed #d3e2dd;
  color: #52615c;
  font-size: 12px;
  line-height: 1.6;
}

.rc-layout-select__device-sep {
  width: 1px;
  height: 12px;
  background: #cddcd8;
}

/* 设备号/设备名从 bootstrap 的链接蓝改成系统主色，避免和「可点的链接」混淆 */
.rc-layout-select__device .blue {
  color: var(--rc-primary) !important;
  font-weight: 600;
}

.rc-layout-select__notice-list { margin: 0; }

@media (max-width: 620px) {
  .rc-sched-guide__list li { flex-direction: column; gap: 2px; }
  .rc-sched-guide__list b { flex: 0 0 auto; }
  .rc-sched-field { flex-direction: column; gap: 7px; }
  .rc-sched-field > .rc-sched-field__label { display: block; padding-top: 0; }
  .rc-publish-schedule .rc-sched-time select { width: 58px; }
}

@media (max-width: 1120px) {
  .rc-layout-publish .rc-publish-device-grid {
    grid-template-columns: 170px minmax(260px, 1fr) minmax(260px, 1fr);
  }
  .rc-publish-panel__title--search { align-items: stretch; flex-direction: column; padding: 8px 12px; }
  .rc-publish-search { flex: 0 0 auto; justify-content: stretch; width: 100%; }
  .rc-publish-search input { flex: 1 1 auto; width: auto !important; }
  .rc-layout-publish .rc-publish-panel { height: 444px !important; }
}

@media (max-width: 850px) {
  .rc-layout-publish { padding: 0 12px 24px !important; }
  .rc-layout-publish .rc-publish-device-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rc-layout-publish .rc-publish-categories { grid-column: 1 / -1; height: 190px !important; }
  .rc-layout-publish .rc-publish-categories #wrapper { height: 135px !important; }
  .rc-publish-heading { padding: 16px; }
}

@media (max-width: 620px) {
  .rc-layout-publish .rc-publish-device-grid { grid-template-columns: minmax(0, 1fr); }
  .rc-layout-publish .rc-publish-categories { grid-column: auto; }
  .rc-publish-schedule { padding: 14px !important; }
  .rc-publish-schedule label:not(.radio):not(.checkbox):not(.rc-sched-rule):not(.rc-sched-weekday) { display: block; margin-bottom: 7px; }
  .rc-publish-schedule #reservationtime { width: calc(100% - 80px); }
  .rc-publish-actions { align-items: stretch; flex-direction: column; }
  .rc-publish-actions .btn { width: 100%; }
  .rc-publish-schedule .rc-publish-actions.rc-publish-actions--field-aligned { padding-inline-start: 0; }
}

/* Device batch settings, ticker and intercut workflows */
.rc-batch-settings-page,
.rc-scrolltext-page,
.rc-intercut-page { overflow-x: hidden; }
.rc-batch-settings .manage_box,
.rc-scrolltext .manage_box { width: 100% !important; }
.rc-batch-settings .rc-publish-panel > p,
.rc-batch-settings .dTable > p,
.rc-scrolltext .rc-publish-panel > p,
.rc-scrolltext .dTable > p,
.rc-intercut .rc-publish-panel > p,
.rc-intercut .rc-publish-panel > div:first-child > p { min-height: 48px; margin: 0; padding: 14px 15px; color: var(--rc-text); font-weight: 600; text-align: start; background: #fafbfb; border-bottom: 1px solid var(--rc-border); }
/* ↑ text-align:start 用于压掉 style.css 的 `.equ1_t2 p{text-align:center}`，
   否则裸 <p> 标题会居中（批量发布页的标题即为此原因） */
/* 已选内容列统一交给 flex 铺满。原先写死 354px：面板在窄屏（≤1120px）会加高到 444px
   以容纳换行的底栏，而固定高度的内容列不会跟着长，底栏下方就空出 32px。
   flex:1 + height:auto 可随面板高度自适应。 */
.rc-batch-settings .rc-publish-selected > div:first-child,
.rc-scrolltext .rc-publish-selected > div:first-child,
.rc-intercut .rc-publish-selected > div:first-child { flex: 1 1 auto; min-height: 0; height: auto !important; overflow: auto !important; }
.rc-scrolltext .rc-publish-categories #wrapper { top: auto !important; width: 100% !important; }
.rc-scrolltext .rc-publish-categories #device_menu > span { display: block; min-height: 38px; margin-bottom: 4px; padding: 9px 12px; color: var(--rc-muted); border-radius: 4px; }
.rc-scrolltext .rc-publish-categories #device_menu > span.eqspan2 { color: var(--rc-primary); font-weight: 600; background: #e7f1ed; }
.rc-batch-settings-grid { margin-top: 18px; }
.rc-batch-setting-row { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 14px; }
.rc-batch-setting-card { width: auto !important; height: auto !important; min-height: 178px; margin: 0 !important; padding: 16px !important; box-sizing: border-box; background: var(--rc-surface) !important; border: 1px solid var(--rc-border) !important; border-radius: var(--rc-radius) !important; box-shadow: var(--rc-shadow); }
.rc-batch-setting-card--wide { min-height: 0; }
.rc-batch-setting-card .prompt { margin: 0 0 14px !important; }
.rc-batch-setting-card .well { border-color: var(--rc-border); border-radius: 4px; box-shadow: none; }
.rc-batch-setting-card button { min-height: 34px; padding: 7px 14px; border-radius: 4px; }
.rc-batch-settings #screenCutImg { margin-top: 14px; background: var(--rc-surface); border-color: var(--rc-border) !important; }
.rc-scrolltext-editor { margin: 18px 0 0 !important; padding: 20px !important; background: var(--rc-surface) !important; border: 1px solid var(--rc-border) !important; border-radius: var(--rc-radius) !important; box-shadow: var(--rc-shadow); }
.rc-scrolltext-editor textarea { width: 100% !important; min-height: 110px; box-sizing: border-box; resize: vertical; border-color: var(--rc-border); border-radius: 4px; box-shadow: none; }
.rc-scrolltext-editor .zWord { max-width: 100%; }
.rc-scrolltext-editor .backColor ul { display: inline-flex; flex-wrap: wrap; gap: 6px; margin: 0; vertical-align: middle; }
.rc-scrolltext-editor .Zradio { margin-left: 0 !important; }
.rc-scrolltext-editor .zBot { padding-top: 16px; border-top: 1px solid var(--rc-border); }
.rc-scrolltext-editor .rc-publish-actions { margin-top: 18px; }
.rc-scrolltext-editor .rc-publish-actions span { min-width: 90px; margin: 0; padding: 9px 15px; color: #fff; text-align: center; background: var(--rc-primary); border-radius: 4px; cursor: pointer; }
.rc-scrolltext-editor .rc-publish-actions span:last-child { color: var(--rc-primary); background: #fff; border: 1px solid #b9ccc5; }
.rc-intercut-notice { position: relative; min-height: 42px; padding-right: 150px !important; }
.rc-intercut-notice .fr { position: absolute; top: 10px; right: 12px; margin: 0 !important; }
.rc-intercut-notice img { display: none; }
.rc-intercut .rc-publish-device-grid { margin-top: 14px; }
.rc-intercut .rc-publish-panel { margin-right: 0 !important; }
.rc-intercut .rc-publish-available > div:first-child { height: 354px !important; overflow: auto !important; }
.rc-intercut .rc-publish-available > .z_duol { position: absolute; bottom: 8px; left: 12px; margin: 0 !important; }
.rc-intercut .rc-publish-available > .btn,
.rc-intercut .rc-publish-selected > .btn { position: absolute; right: 12px; bottom: 10px; margin: 0 !important; }
.rc-intercut-schedule { margin-top: 16px; padding: 18px !important; background: var(--rc-surface); border: 1px solid var(--rc-border); border-radius: var(--rc-radius); box-shadow: var(--rc-shadow); }
.rc-intercut-schedule table { width: 100%; margin: 0; }
.rc-intercut-schedule td { padding: 8px; vertical-align: middle; }
.rc-intercut-schedule input[type="text"], .rc-intercut-schedule select { height: 34px; margin: 0; border-color: var(--rc-border); border-radius: 4px; box-shadow: none; }
.rc-layout-publish-page.rc-rtl .rc-batch-setting-card,
.rc-layout-publish-page.rc-rtl .rc-scrolltext-editor,
.rc-layout-publish-page.rc-rtl .rc-intercut-schedule { direction: rtl; text-align: right; }
.rc-layout-publish-page.rc-rtl .rc-intercut-notice { padding-right: 16px !important; padding-left: 150px !important; }
.rc-layout-publish-page.rc-rtl .rc-intercut-notice .fr { right: auto; left: 12px; }
@media (max-width: 860px) {
  .rc-batch-setting-row { grid-template-columns: minmax(0,1fr); }
  .rc-intercut-notice { padding-right: 16px !important; }
  .rc-intercut-notice .fr { position: static; float: none; margin-top: 10px !important; }
  .rc-intercut-schedule td { display: block; width: auto !important; }
}

/* Device allocation dialog */
.rc-allocation-page { min-width: 0; margin: 0; padding: 18px; overflow-x: hidden; color: var(--rc-text); background: var(--rc-canvas); }
.rc-allocation-shell { width: 100%; max-width: 720px; margin: 0 auto; box-sizing: border-box; }
.rc-allocation-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; padding: 13px 16px; color: #fff; background: linear-gradient(118deg,var(--rc-shell),var(--rc-primary)); border-radius: 6px; }
.rc-allocation-header > div { display: inline-flex; align-items: center; gap: 8px; }
.rc-allocation-header strong { font-size: 15px; }
.rc-allocation-header select { width: 150px; height: 34px; margin: 0; color: var(--rc-text); background: #fff; border: 0; border-radius: 4px; }
.rc-allocation-card { padding: 16px; background: #fff; border: 1px solid var(--rc-border); border-radius: 6px; box-shadow: var(--rc-shadow); }
.rc-allocation-card table { width: 100%; margin: 0 0 14px !important; border: 1px solid var(--rc-border); border-collapse: collapse; }
.rc-allocation-card td { padding: 11px 12px; border-color: var(--rc-border); vertical-align: middle; }
.rc-allocation-card tr:nth-child(even) td { background: #fbfcfc; }
.rc-allocation-card .alert { padding: 11px 13px; color: #52615c; background: #f3f8f6; border-color: #d9e7e2; border-radius: 4px; }
.rc-allocation-card input[type="text"] { width: min(300px,calc(100% - 120px)); height: 34px; padding: 6px 9px; box-sizing: border-box; border-color: var(--rc-border); border-radius: 4px; box-shadow: none; }
.rc-allocation-card a { margin-left: 8px; color: var(--rc-primary); font-weight: 600; }
.rc-allocation-card .btn { min-width: 110px; min-height: 36px; padding: 7px 15px; background: var(--rc-primary); border-color: var(--rc-primary); border-radius: 4px; text-shadow: none; }
.rc-allocation-card .btn[disabled] { opacity: .48; }
.rc-allocation-card #checkmessage { min-height: 38px; color: #39715f !important; line-height: 1.65; }
.rc-allocation-page.rc-rtl { direction: rtl; text-align: right; }
.rc-allocation-page.rc-rtl .rc-allocation-card a { margin-right: 8px; margin-left: 0; }
@media (max-width: 560px) {
  .rc-allocation-page { padding: 10px; }
  .rc-allocation-header { align-items: stretch; flex-direction: column; }
  .rc-allocation-header select { width: 100%; }
  .rc-allocation-card { padding: 12px; }
  .rc-allocation-card input[type="text"] { width: 100%; margin-bottom: 8px; }
}

/* Device distribution map */
.rc-device-map-page,
.rc-device-map-page .backstageHome-2,
.rc-device-map-page .viewFramework-body,
.rc-device-map-page .viewFramework-con { max-width: 100%; overflow-x: hidden; }
.rc-device-map { width: auto !important; max-width: none !important; margin: 0 !important; padding: 16px 22px 24px !important; }
.rc-device-map__header { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 12px; padding: 15px 18px; background: #fff; border: 1px solid var(--rc-border); border-radius: var(--rc-radius); box-shadow: var(--rc-shadow); }
.rc-device-map__header > div { display: flex; align-items: center; gap: 12px; }
.rc-device-map__header > div > i { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; color: #fff; font-size: 18px; background: var(--rc-primary); border-radius: 50%; }
.rc-device-map__header h1 { margin: 0; color: var(--rc-text); font-size: 19px; line-height: 1.35; }
.rc-device-map__header p { margin: 3px 0 0; color: var(--rc-muted); font-size: 12px; }
.rc-device-map__canvas { width: 100% !important; height: calc(100vh - 195px); min-height: 480px; overflow: hidden; background: #e9efed; border: 1px solid var(--rc-border); border-radius: var(--rc-radius); box-shadow: var(--rc-shadow); }
.rc-device-map__canvas #mapDiv { width: 100%; height: 100%; }
.rc-device-map-page.rc-rtl .rc-device-map { direction: rtl; text-align: right; }
.rc-device-map-page.rc-rtl .rc-device-map__header .icon-arrow-left { transform: scaleX(-1); }
@media (max-width: 620px) {
  .rc-device-map { padding: 12px !important; }
  .rc-device-map__header { align-items: flex-start; flex-direction: column; }
  .rc-device-map__canvas { height: calc(100vh - 245px); min-height: 380px; }
}

/* Intercut publishing workflow */
.rc-intercut-page .viewFramework-con,.rc-intercut-page .box_right{min-width:0;overflow-x:hidden}
.rc-intercut-page .rc-intercut{box-sizing:border-box;width:auto!important;max-width:none;padding-bottom:28px}.rc-intercut *{box-sizing:border-box}
.rc-intercut-hero{display:flex;align-items:center;justify-content:space-between;margin:14px 0 12px}.rc-intercut-eyebrow{display:block;margin-bottom:3px;color:var(--rc-primary);font-size:12px;font-weight:700}.rc-intercut-hero h1{margin:0;color:var(--rc-text);font-size:24px;line-height:1.35}.rc-intercut-hero p{margin:5px 0 0;color:var(--rc-muted);font-size:13px}
.rc-intercut-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 14px;padding:0;overflow:hidden;list-style:none;background:var(--rc-surface);border:1px solid var(--rc-border);border-radius:6px}.rc-intercut-steps li{position:relative;display:flex;align-items:center;justify-content:center;min-height:54px;padding:10px 24px;color:#74807c;font-size:13px;font-weight:600}.rc-intercut-steps li:not(:last-child)::after{position:absolute;top:50%;right:-7px;z-index:1;width:14px;height:14px;content:"";background:#fff;border-top:1px solid var(--rc-border);border-right:1px solid var(--rc-border);transform:translateY(-50%) rotate(45deg)}.rc-intercut-steps li span{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;margin-right:8px;color:#75817d;background:#eef2f1;border-radius:50%}.rc-intercut-steps li.is-complete{color:var(--rc-primary);background:#f2f8f6}.rc-intercut-steps li.is-complete span{color:#fff;background:var(--rc-primary)}.rc-intercut-steps li.is-complete:not(:last-child)::after{background:#f2f8f6}
.rc-intercut-card{min-width:0;margin:0 0 14px;padding:18px;background:var(--rc-surface);border:1px solid var(--rc-border);border-radius:6px;box-shadow:var(--rc-shadow)}.rc-intercut-card__heading{display:flex;align-items:center;gap:11px;min-width:0;margin-bottom:16px}.rc-intercut-card__heading>div{min-width:0;flex:1}.rc-intercut-card__number{display:inline-flex;flex:0 0 30px;align-items:center;justify-content:center;width:30px;height:30px;color:#fff;font-weight:700;background:var(--rc-primary);border-radius:50%}.rc-intercut-card__heading h2{margin:0;color:var(--rc-text);font-size:17px;line-height:1.4}.rc-intercut-card__heading p{margin:2px 0 0;overflow:hidden;color:var(--rc-muted);font-size:12px;line-height:1.5;text-overflow:ellipsis;white-space:nowrap}
.rc-intercut-resource-state{display:flex;align-items:center;gap:14px;min-height:76px;padding:14px 16px;background:#f8faf9;border:1px dashed #ccd7d3;border-radius:6px}.rc-intercut-resource-state.is-selected{background:#f2f8f6;border-style:solid;border-color:#bdd7d0}.rc-intercut-resource-icon{display:inline-flex;flex:0 0 44px;align-items:center;justify-content:center;width:44px;height:44px;color:var(--rc-primary);font-size:19px;background:#e4f0ed;border-radius:6px}.rc-intercut-resource-copy{min-width:0;flex:1}.rc-intercut-resource-copy strong,.rc-intercut-resource-copy span{display:block}.rc-intercut-resource-copy strong{margin-bottom:4px;color:var(--rc-text);font-size:14px}.rc-intercut-resource-copy span{color:var(--rc-muted);font-size:12px}.rc-intercut-count{flex:0 0 auto;padding:6px 10px;color:var(--rc-primary);font-size:12px;background:#eef7f4;border-radius:14px}.rc-intercut-count strong{font-size:15px}
.rc-intercut .rc-intercut-device-grid{display:grid!important;grid-template-columns:minmax(170px,.55fr) minmax(330px,1.35fr) minmax(300px,1.1fr);gap:12px;width:100%!important;height:auto!important;margin:0!important;overflow:visible!important}.rc-intercut .rc-intercut-device-grid::before,.rc-intercut .rc-intercut-device-grid::after{display:none}.rc-intercut .rc-intercut-device-grid .rc-publish-panel{position:relative;display:flex;float:none!important;flex-direction:column;width:auto!important;min-width:0;height:410px!important;margin:0!important;padding:0!important;overflow:hidden!important;border:1px solid var(--rc-border);border-radius:6px;box-shadow:none}
.rc-intercut-panel-title{display:flex;flex:0 0 48px;align-items:center;gap:7px;min-height:48px;padding:0 14px;color:var(--rc-text);font-size:13px;font-weight:700;background:#f7f9f8;border-bottom:1px solid var(--rc-border)}.rc-intercut-panel-title i{color:var(--rc-primary)}.rc-intercut-panel-count{min-width:24px;margin-left:auto;padding:2px 7px;color:#fff;font-size:11px;text-align:center;background:var(--rc-primary);border-radius:10px}
.rc-intercut .rc-publish-categories #wrapper{position:relative!important;top:auto!important;width:100%!important;height:auto!important;min-height:0;flex:1;padding:10px!important;overflow:hidden;border:0!important}.rc-intercut .rc-publish-categories #scroller{width:100%;margin:0!important;padding:0}.rc-intercut .rc-publish-categories #scroller>span{display:block;height:auto;margin:0 0 5px;padding:0;border:0}.rc-intercut .rc-publish-categories #scroller>span a{display:block;padding:9px 11px;overflow:hidden;color:var(--rc-muted);text-decoration:none;text-overflow:ellipsis;white-space:nowrap;border-radius:4px}.rc-intercut .rc-publish-categories #scroller>span.eqspan2 a{color:var(--rc-primary);font-weight:700;background:#eaf4f1}.rc-intercut .rc-publish-categories .span1{display:none}
.rc-intercut-device-toolbar{display:flex;flex:0 0 50px;align-items:center;gap:8px;padding:8px 10px;border-bottom:1px solid var(--rc-border)}.rc-intercut-search{position:relative;min-width:0;flex:1;margin:0}.rc-intercut-search i{position:absolute;top:50%;left:10px;color:#84908c;transform:translateY(-50%)}.rc-intercut-search input{box-sizing:border-box;width:100%;height:32px;margin:0;padding:5px 9px 5px 30px;border:1px solid var(--rc-border);border-radius:4px;box-shadow:none}.rc-intercut-select-actions{display:flex;flex:0 0 auto;gap:3px}.rc-intercut-select-actions button{height:30px;padding:0 8px;color:var(--rc-muted);font-size:12px;background:#fff;border:1px solid var(--rc-border);border-radius:4px}.rc-intercut-select-actions button:hover{color:var(--rc-primary);border-color:#a9c7bf}
.rc-intercut-table-scroll{min-height:0;flex:1;overflow:auto}.rc-intercut .rc-intercut-table-scroll table{width:100%;height:auto!important;margin:0;table-layout:fixed;border-collapse:collapse}.rc-intercut .rc-intercut-table-scroll th{position:sticky;top:0;z-index:1;height:38px;padding:8px 10px;color:#4e5b57;font-size:12px;font-weight:600;text-align:left;background:#f1f4f3;border-bottom:1px solid var(--rc-border)}.rc-intercut .rc-intercut-table-scroll td{height:42px;padding:7px 10px;overflow:hidden;color:var(--rc-text);font-size:12px;text-align:left;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid #edf0ef}.rc-intercut .rc-intercut-table-scroll tr.is-selected td{background:#edf7f4}.rc-intercut .rc-intercut-table-scroll input[name="check"]{margin:0 7px 0 0;vertical-align:-2px;accent-color:var(--rc-primary)}.rc-intercut .rc-intercut-table-scroll th:last-child,.rc-intercut .rc-intercut-table-scroll td:last-child{width:54px;text-align:center}.rc-intercut .rc-intercut-table-scroll td a{display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;color:var(--rc-primary);background:#eaf4f1;border-radius:4px}.rc-intercut .rc-publish-selected .rc-intercut-table-scroll td a{color:var(--rc-danger);background:#fbefed}.rc-intercut-panel-footer{display:flex;flex:0 0 50px;align-items:center;justify-content:flex-end;padding:8px 10px;border-top:1px solid var(--rc-border)}.rc-intercut-panel-footer .rc-btn[disabled]{color:#89938f;background:#e7ebe9;border-color:#e1e6e4;box-shadow:none;cursor:not-allowed;opacity:1}.rc-intercut-panel-footer .rc-btn em{min-width:18px;margin-left:3px;padding:1px 5px;color:inherit;font-size:11px;font-style:normal;line-height:16px;background:rgba(255,255,255,.22);border-radius:9px}.rc-intercut-panel-footer .rc-btn[disabled] em{background:#d8dddb}.rc-intercut-empty{padding:35px 10px;color:var(--rc-muted);line-height:1.7;text-align:center;white-space:normal}.rc-intercut-empty i{display:block;margin-bottom:7px;color:#a3ada9;font-size:22px}
.rc-intercut-bottom-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,.8fr);gap:14px;align-items:stretch}.rc-intercut-bottom-grid .rc-intercut-card{margin:0}.rc-intercut .rc-intercut-schedule{padding:18px!important}.rc-intercut-form-row{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #edf0ef}.rc-intercut-form-row>label{margin:0;color:var(--rc-text);font-size:13px;font-weight:600}.rc-intercut-range{display:flex;align-items:center;gap:9px;min-width:0}.rc-intercut-range>span{flex:0 0 auto;color:var(--rc-muted)}.rc-intercut .rc-intercut-range input{box-sizing:border-box;width:min(190px,42%);height:36px;margin:0;padding:6px 10px;border:1px solid var(--rc-border);border-radius:4px;box-shadow:none}.rc-intercut-time-range>div{display:flex;min-width:0;gap:6px}.rc-intercut .rc-intercut-time-range select{width:92px;height:36px;margin:0;border:1px solid var(--rc-border);border-radius:4px;box-shadow:none}.rc-intercut-preview{display:flex;align-items:center;gap:10px;margin-top:14px;padding:11px 13px;color:var(--rc-primary);background:#f2f8f6;border-radius:5px}.rc-intercut-preview>i{font-size:18px}.rc-intercut-preview span,.rc-intercut-preview strong{display:block}.rc-intercut-preview span{margin-bottom:2px;color:var(--rc-muted);font-size:11px}.rc-intercut-preview strong{font-size:13px;font-weight:600}
.rc-intercut-summary{display:flex;flex-direction:column}.rc-intercut-summary dl{margin:0 0 18px;flex:1}.rc-intercut-summary dl>div{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #edf0ef}.rc-intercut-summary dt{color:var(--rc-muted);font-size:12px;font-weight:400}.rc-intercut-summary dd{max-width:66%;margin:0;color:var(--rc-text);font-size:12px;font-weight:600;text-align:right;word-break:break-word}.rc-intercut-publish{justify-content:center;width:100%;min-height:40px;font-size:14px}
.rc-layout-publish-page.rc-rtl .rc-intercut-steps li span{margin-right:0;margin-left:8px}.rc-layout-publish-page.rc-rtl .rc-intercut-steps li:not(:last-child)::after{right:auto;left:-7px;border:0;border-bottom:1px solid var(--rc-border);border-left:1px solid var(--rc-border)}.rc-layout-publish-page.rc-rtl .rc-intercut-panel-count{margin-right:auto;margin-left:0}.rc-layout-publish-page.rc-rtl .rc-intercut-search i{right:10px;left:auto}.rc-layout-publish-page.rc-rtl .rc-intercut-search input{padding-right:30px;padding-left:9px}.rc-layout-publish-page.rc-rtl .rc-intercut .rc-intercut-table-scroll th,.rc-layout-publish-page.rc-rtl .rc-intercut .rc-intercut-table-scroll td{text-align:right}.rc-layout-publish-page.rc-rtl .rc-intercut-summary dd{text-align:left}.rc-layout-publish-page.rc-rtl .rc-intercut-range input,.rc-layout-publish-page.rc-rtl .rc-intercut-time-range select,.rc-layout-publish-page.rc-rtl #schedulePreview,.rc-layout-publish-page.rc-rtl #summarySchedule{direction:ltr;text-align:left}
@media(max-width:1180px){.rc-intercut .rc-intercut-device-grid{grid-template-columns:180px minmax(290px,1fr) minmax(270px,1fr)}.rc-intercut-bottom-grid{grid-template-columns:1fr}}
@media(max-width:900px){.rc-intercut .rc-intercut-device-grid{grid-template-columns:1fr}.rc-intercut .rc-intercut-device-grid .rc-publish-panel{height:340px!important}.rc-intercut .rc-intercut-device-grid .rc-publish-categories{height:220px!important}.rc-intercut-steps li{padding:9px 7px;font-size:11px}.rc-intercut-steps li span{width:22px;height:22px;margin-right:5px}}
@media(max-width:600px){.rc-intercut-hero h1{font-size:20px}.rc-intercut-steps li{flex-direction:column;gap:4px;text-align:center}.rc-intercut-steps li span{margin:0}.rc-intercut-card{padding:14px}.rc-intercut-card__heading p{white-space:normal}.rc-intercut-resource-state{align-items:flex-start;flex-wrap:wrap}.rc-intercut-resource-state .rc-btn{width:100%;justify-content:center}.rc-intercut-form-row{grid-template-columns:1fr}.rc-intercut-range{flex-wrap:wrap}.rc-intercut .rc-intercut-range input{width:calc(50% - 22px);min-width:110px}}

/* Layout builder and program editor */
.rc-layout-builder-page,
.rc-layout-editor-page,
.rc-layout-builder-page .backstageHome-2,
.rc-layout-editor-page .backstageHome-2,
.rc-layout-builder-page .viewFramework-body,
.rc-layout-editor-page .viewFramework-body,
.rc-layout-builder-page .viewFramework-con,
.rc-layout-editor-page .viewFramework-con {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}
.rc-layout-builder-page .box_right,
.rc-layout-editor-page .box_right {
  float: none;
  width: 100%;
  min-width: 0;
  padding: 18px 22px 32px;
  color: var(--rc-text);
  background: var(--rc-canvas);
  box-sizing: border-box;
  font-family: var(--rc-font);
}
.rc-layout-builder-page .box_right *,
.rc-layout-editor-page .box_right *,
.rc-layout-builder-page .box_right *::before,
.rc-layout-editor-page .box_right *::before,
.rc-layout-builder-page .box_right *::after,
.rc-layout-editor-page .box_right *::after { box-sizing: border-box; }
.rc-layout-builder-page .breadcrumbs,
.rc-layout-editor-page .breadcrumbs { margin-bottom: 13px; }
.rc-layout-builder-page .breadcrumb,
.rc-layout-editor-page .breadcrumb { margin: 0 !important; }
.rc-layout-builder-heading,
.rc-layout-editor-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
  padding: 16px 18px;
  color: #fff;
  background: var(--rc-shell);
  border-radius: 6px;
  box-shadow: var(--rc-shadow);
}
.rc-layout-builder-heading > div > span,
.rc-layout-editor-heading > div > span { display: block; margin-bottom: 3px; color: var(--rc-marker); font-size: 11px; font-weight: 700; }
.rc-layout-builder-heading h1,
.rc-layout-editor-heading h1 { margin: 0; color: #fff; font-size: 20px; font-weight: 600; line-height: 1.35; }
.rc-layout-steps { display: flex; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.rc-layout-steps li { position: relative; display: flex; align-items: center; min-height: 32px; padding-right: 42px; color: rgba(255,255,255,.58); font-size: 12px; white-space: nowrap; }
.rc-layout-steps li:last-child { padding-right: 0; }
.rc-layout-steps li:not(:last-child)::after { position: absolute; top: 50%; right: 12px; width: 18px; height: 1px; content: ""; background: rgba(255,255,255,.28); }
.rc-layout-steps li > span { display: inline-flex; align-items: center; justify-content: center; width: 27px; height: 27px; margin-right: 7px; color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.3); border-radius: 50%; }
.rc-layout-steps li.is-current { color: #fff; font-weight: 600; }
.rc-layout-steps li.is-current > span { color: var(--rc-shell); background: var(--rc-marker); border-color: var(--rc-marker); }

.rc-layout-builder { padding: 0 !important; border: 0 !important; background: transparent; }
.rc-layout-basic-card,
.rc-layout-template-card {
  width: 100%;
  min-width: 0;
  height: auto !important;
  margin: 0 0 14px;
  padding: 0;
  border: 1px solid var(--rc-border) !important;
  border-radius: 7px;
  background: #fff;
  box-shadow: var(--rc-shadow);
  overflow: hidden;
}
.rc-layout-basic-card__title,
.rc-layout-template-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--rc-border);
  background: #f8faf9;
}
.rc-layout-basic-card__title { justify-content: flex-start; gap: 10px; }
.rc-layout-basic-card__title > i,
.rc-layout-template-heading > div > i { color: var(--rc-primary); font-size: 17px; }
.rc-layout-basic-card__title > div { display: flex; flex-direction: column; }
.rc-layout-basic-card__title strong,
.rc-layout-template-heading strong { color: var(--rc-text); font-size: 14px; font-weight: 600; }
.rc-layout-basic-card__title small,
.rc-layout-template-heading small { color: var(--rc-muted); font-size: 11px; }
.rc-layout-template-heading > div { display: flex; align-items: center; gap: 8px; }
.rc-layout-basic-grid { display: grid; grid-template-columns: minmax(220px,.9fr) minmax(270px,1fr) minmax(330px,1.25fr); gap: 18px; padding: 17px 18px; }
.rc-layout-field { min-width: 0; }
.rc-layout-field > label { display: block; margin: 0 0 7px; color: #485550; font-size: 12px; font-weight: 600; }
.rc-layout-builder .rc-layout-field input[type="text"],
.rc-layout-builder .rc-layout-field select { width: 100% !important; height: 38px; margin: 0; padding: 7px 10px; border: 1px solid #cbd6d2; border-radius: 4px; color: var(--rc-text); background: #fff; box-shadow: none; line-height: 22px; }
.rc-layout-builder .rc-layout-field input[type="text"]:focus,
.rc-layout-builder .rc-layout-field select:focus { border-color: var(--rc-primary); box-shadow: 0 0 0 3px rgba(7,93,78,.10); outline: 0; }
.rc-layout-native-control { display: none !important; }
.rc-orientation-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rc-orientation-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  position: relative;
  min-height: 112px;
  padding: 11px 12px 10px;
  color: var(--rc-text);
  text-align: center;
  background: #fff;
  border: 2px solid #d6dfdc;
  border-radius: 8px;
  box-shadow: 0 2px 7px rgba(17,49,42,.05);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.rc-orientation-option__screen { display: flex; align-items: center; justify-content: center; width: 72px; height: 60px; }
.rc-orientation-option__screen::before { content: ""; display: block; box-sizing: border-box; border: 3px solid #687872; border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 3px #eef3f1; transition: border-color .18s ease, background .18s ease; }
.rc-orientation-option--landscape .rc-orientation-option__screen::before { width: 64px; height: 38px; }
.rc-orientation-option--portrait .rc-orientation-option__screen::before { width: 34px; height: 56px; }
.rc-orientation-option__screen i { display: none; }
.rc-orientation-option__copy { display: flex; justify-content: center; width: 100%; min-width: 0; }
.rc-orientation-option__label { font-size: 14px; font-weight: 700; line-height: 20px; white-space: nowrap; }
.rc-orientation-option__check { visibility: hidden; position: absolute; top: 10px; right: 10px; color: #fff; font-size: 17px; }
.rc-orientation-option:hover,
.rc-orientation-option:focus { border-color: var(--rc-primary); outline: 0; box-shadow: 0 0 0 3px rgba(7,93,78,.11); transform: translateY(-1px); }
.rc-orientation-option.is-selected { color: #fff; background: linear-gradient(135deg,#075d4e 0%,#087665 100%); border-color: #075d4e; box-shadow: 0 7px 16px rgba(7,93,78,.22); }
.rc-orientation-option.is-selected .rc-orientation-option__screen::before { border-color: #fff; background: rgba(255,255,255,.18); box-shadow: inset 0 0 0 3px rgba(255,255,255,.12); }
.rc-orientation-option.is-selected .rc-orientation-option__check { visibility: visible; }
.rc-resolution-control { display: grid; grid-template-columns: minmax(160px,1fr) 145px; gap: 8px; }
.rc-resolution-preview { display: flex; align-items: center; gap: 9px; min-height: 38px; padding: 6px 10px; color: var(--rc-primary); background: #edf6f3; border: 1px solid #cfe1db; border-radius: 4px; }
.rc-resolution-preview > i { font-size: 17px; }
.rc-resolution-preview > span { display: flex; align-items: baseline; gap: 4px; }
.rc-resolution-preview strong { font-size: 12px; white-space: nowrap; }
.rc-resolution-preview small { color: var(--rc-muted); font-size: 10px; }
.rc-resolution-presets { display: grid; grid-template-columns: repeat(2, minmax(116px,1fr)); gap: 7px; margin: 0 0 8px; }
.rc-resolution-presets button { width: 100%; box-sizing: border-box; min-height: 36px; margin: 0; padding: 6px 10px; color: var(--rc-muted); font-size: 12px; font-weight: 600; background: #f7f9f8; border: 1px solid var(--rc-border); border-radius: 4px; }
.rc-resolution-presets button:hover,
.rc-resolution-presets button:focus { color: var(--rc-primary); border-color: #a9c7bf; outline: 0; }
.rc-resolution-presets button.is-selected { color: #fff; background: var(--rc-primary); border-color: var(--rc-primary); box-shadow: 0 4px 10px rgba(7,93,78,.16); }
.rc-layout-basic-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 10px 18px; border-top: 1px solid var(--rc-border); background: #fbfcfb; }
.rc-layout-basic-actions > span { color: var(--rc-muted); font-size: 11px; }
.rc-layout-basic-actions > span i { margin-right: 6px; color: var(--rc-primary); }
.rc-layout-basic-card__title #next,
.rc-layout-basic-actions #next { display: inline-flex; align-items: center; justify-content: center; gap: 7px; float: none; width: auto; min-width: 142px; height: 36px; margin: 0; padding: 6px 14px; border: 0; border-radius: 4px; color: #fff; background: var(--rc-primary); font-family: var(--rc-font); line-height: 24px; }
.rc-layout-basic-actions #next:hover,
.rc-layout-basic-card__title #next:hover { background: var(--rc-primary-hover); }
.rc-layout-basic-card__title #next { flex: 0 0 auto; margin-left: auto; }
.rc-layout-builder-page.rc-rtl .rc-layout-basic-card__title #next { margin-right: auto; margin-left: 0; }
.rc-layout-template-card > .screen_1,
.rc-layout-template-card > .screen_3 { width: 100%; height: auto; min-height: 0; background: transparent; }
.rc-layout-template-card > .screen_1 { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; padding: 11px 16px; border-bottom: 1px solid var(--rc-border); line-height: normal; }
.rc-layout-template-card > .screen_1 > span { flex: 0 0 auto; margin: 0 12px 0 0 !important; color: var(--rc-text); font-size: 12px; font-weight: 600; }
.rc-layout-template-card > .screen_1 label.radio.inline,
.rc-layout-template-card .screen_3_top label.radio.inline { display: inline-flex; align-items: center; min-height: 30px; margin: 0; padding: 4px 9px; color: var(--rc-muted); font-size: 11px; background: #f6f8f7; border: 1px solid var(--rc-border); border-radius: 4px; line-height: 20px; }
.rc-layout-template-card input[type="radio"] { margin: 0 5px 0 0; accent-color: var(--rc-primary); }
.rc-layout-template-card label:has(input:checked) { color: var(--rc-primary) !important; background: #eaf3f0 !important; border-color: #c6dcd5 !important; font-weight: 600; }
.rc-layout-template-card #spblock_div { display: grid; grid-template-columns: repeat(auto-fill,minmax(170px,1fr)); gap: 12px; padding: 16px !important; border: 0; background: #fff; }
.rc-layout-template-card #spblock_div > div[id] { position: relative; float: none !important; width: auto; min-width: 0; margin: 0 !important; padding: 9px; text-align: center; border: 1px solid var(--rc-border); border-radius: 5px; background: #fff; cursor: pointer; }
.rc-layout-template-card #spblock_div > div[id]:hover,
.rc-layout-template-card #spblock_div > div[id]:focus { border-color: #a9c7bf; box-shadow: var(--rc-shadow); outline: 0; }
.rc-layout-template-card #spblock_div > div[id].is-selected { border-color: var(--rc-primary); box-shadow: inset 0 0 0 1px var(--rc-primary); }
.rc-layout-template-card #spblock_div > div[id].is-selected::after,
.rc-layout-template-card .screen_3_bot.is-selected::after { position: absolute; top: 7px; right: 7px; display: inline-flex; align-items: center; justify-content: center; width: 21px; height: 21px; color: #fff; font-family: FontAwesome; font-size: 11px; content: "\f00c"; background: var(--rc-primary); border-radius: 50%; }
.rc-layout-template-card #spblock_div > div[id] img { width: 100% !important; max-width: 150px; height: auto !important; max-height: 150px; object-fit: contain; border: 0 !important; }
.rc-layout-template-card #spblock_div > div[id] p { height: auto; margin: 7px 0 0; color: var(--rc-muted); font-size: 11px; line-height: 1.4; }
.rc-layout-template-card .screen_3_top { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; width: 100%; height: auto; min-height: 52px; padding: 10px 16px; background: #f8faf9; border-top: 1px solid var(--rc-border); border-bottom: 1px solid var(--rc-border); line-height: normal; }
.rc-layout-template-card .screen_3_top > span { margin: 0 12px 0 0 !important; color: var(--rc-text); font-size: 12px; font-weight: 600; }
.rc-layout-template-card .srceen_wrap { min-height: 0; padding: 16px; border: 0; }
.rc-layout-template-card .screen_3_bot { position: relative; width: 170px; margin: 0 10px 10px 0; padding: 9px; border: 1px solid var(--rc-border); border-radius: 5px; }
.rc-layout-template-card .screen_3_bot:hover,
.rc-layout-template-card .screen_3_bot:focus { border-color: #a9c7bf; outline: 0; }
.rc-layout-template-card .screen_3_bot.is-selected { border-color: var(--rc-primary); box-shadow: inset 0 0 0 1px var(--rc-primary); }
.rc-layout-template-card .alert-warn { border-radius: 5px; color: #77613b; background: #fcf8ef; border-color: #eadabb; }

.rc-layout-editor { position: relative; width: 100%; min-width: 0; margin: 0; padding: 0 0 22px !important; border: 1px solid var(--rc-border) !important; border-radius: 7px; background: #fff; box-shadow: var(--rc-shadow); }
.rc-layout-editor-toolbar { position: sticky; top: 72px; z-index: 8; display: flex; align-items: center; gap: 10px; width: 100%; height: auto !important; min-height: 64px; padding: 10px 13px; border-bottom: 1px solid var(--rc-border); background: rgba(255,255,255,.96); box-shadow: 0 3px 9px rgba(18,48,40,.05); }
.rc-layout-editor-toolbar #save.is-saving { cursor: progress; opacity: .72; }
.rc-layout-editor-meta { display: flex; align-items: center; flex: 1 1 auto; flex-wrap: wrap; gap: 7px; min-width: 0; }
.rc-editor-name { display: flex; align-items: center; gap: 7px; margin: 0; }
.rc-editor-name > span { color: var(--rc-muted); font-size: 11px; font-weight: 600; white-space: nowrap; }
.rc-layout-editor-meta #pxName { width: 230px !important; height: 35px; margin: 0; padding: 6px 10px; border: 1px solid #cbd6d2; border-radius: 4px; box-shadow: none; }
.rc-layout-editor-meta #pxName:focus { border-color: var(--rc-primary); box-shadow: 0 0 0 3px rgba(7,93,78,.10); outline: 0; }
.rc-layout-editor-meta input[disabled] { width: auto !important; max-width: 170px; height: 29px !important; margin: 0 !important; padding: 4px 9px; color: var(--rc-primary) !important; font-size: 11px; font-weight: 600; background: #edf6f3 !important; border: 1px solid #cee0da !important; border-radius: 14px; opacity: 1; box-shadow: none; }
.rc-layout-editor-meta input[type="hidden"] { display: none !important; }
.rc-layout-editor-meta label.radio.inline { display: contents; }
.rc-layout-editor-toolbar form { display: contents; }
.rc-layout-editor-toolbar #save,
.rc-layout-editor-toolbar #perv { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; gap: 6px; float: none; width: auto; min-width: 94px; height: 34px; margin: 0; padding: 5px 11px; border: 0; border-radius: 4px; font-family: var(--rc-font); font-size: 12px; line-height: 24px; text-shadow: none; }
.rc-layout-editor-toolbar #save { order: 3; color: #fff; background: var(--rc-primary); }
.rc-layout-editor-toolbar #perv { order: 2; color: #fff; background: var(--rc-warning); }
.rc-layout-editor-toolbar #save[disabled] { cursor: wait; opacity: .68; }
.rc-editor-help { width: auto; margin: 12px 14px 0 !important; padding: 0 !important; border: 1px solid #d7e4df !important; border-radius: 5px; background: #f5f9f7 !important; }
.rc-editor-help > summary { display: flex; align-items: center; gap: 7px; min-height: 38px; padding: 7px 11px; color: var(--rc-primary); font-size: 12px; font-weight: 600; cursor: pointer; list-style: none; }
.rc-editor-help > summary::-webkit-details-marker { display: none; }
.rc-editor-help > summary::after { margin-left: auto; font-family: FontAwesome; content: "\f107"; }
.rc-editor-help[open] > summary::after { content: "\f106"; }
.rc-editor-help__body { padding: 0 12px 10px; color: var(--rc-muted); }
.rc-editor-help__body p { height: auto; margin: 5px 0 !important; font-size: 11px; line-height: 1.7; }
/* 编辑工作区：提示已改为落在画布内部空白区，无需为外部提示条预留上下留白，恢复正常内边距。 */
.rc-editor-workspace { width: 100%; min-width: 0; margin-top: 14px; padding: 24px 20px; overflow: auto; background: #edf1ef; border-top: 1px solid var(--rc-border); border-bottom: 1px solid var(--rc-border); }
.rc-layout-editor .scre2_box { width: max-content; min-width: 735px; margin: 0 auto; padding: 18px 14px 18px 64px; background: #fff; border: 1px solid var(--rc-border); border-radius: 7px; box-shadow: 0 10px 28px rgba(18,48,40,.10); }
.rc-layout-editor .scre2box_left { top: 18px; left: 9px; display: flex; flex-direction: column; gap: 7px; width: 46px; }
.rc-layout-editor .scre2box_left .btn_s { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; width: 44px; min-height: 58px; height: auto; margin: 0; padding: 6px 3px; color: var(--rc-primary); font-size: 10px; background: #edf6f3; border: 1px solid #cfe0da; border-radius: 4px; box-shadow: none; cursor: pointer; }
.rc-layout-editor .scre2box_left .btn_s:hover,
.rc-layout-editor .scre2box_left .btn_s:focus { color: #fff; background: var(--rc-primary); border-color: var(--rc-primary); outline: 0; }
.rc-layout-editor .scre2box_left .btn_s img { display: block; width: 22px; height: 22px; margin: 0 auto; object-fit: contain; }
.rc-layout-editor .scre2box_left .btn_s span { display: block; }
.rc-layout-editor .scre2box_left .btn_s[disabled] { color: #8c9994; background: #f2f5f4; border-color: #dce4e1; cursor: not-allowed; opacity: .72; }
.rc-layout-editor .scre2box_top,
.rc-layout-editor .scre2box_c { border-color: var(--rc-marker) !important; }
.rc-layout-editor #wt_div { overflow: hidden; }
.rc-layout-editor #wt_div > .trow { clear: both; }
.rc-layout-editor .rc-layout-row-container { display: flex; flex-flow: row nowrap; align-items: stretch; }
.rc-layout-editor .rc-layout-row-container > .lcol,
.rc-layout-editor .rc-layout-row-container > .col_split { flex: 0 0 auto; float: none; }
.rc-layout-editor .rc-layout-column-container { display: flex; flex-flow: column nowrap; align-items: stretch; }
.rc-layout-editor .rc-layout-column-container > .trow,
.rc-layout-editor .rc-layout-column-container > .row_split { flex: 0 0 auto; float: none; }
.rc-layout-editor #wt_div > .trow:only-child { width: 100% !important; height: 100% !important; }
.rc-layout-editor .rc-layout-row-container > .lcol:only-child { width: 100% !important; flex: 1 1 100% !important; }
.rc-layout-editor .rc-layout-column-container > .trow:only-child { height: 100% !important; flex: 1 1 100% !important; }
.rc-layout-editor .lcol,
.rc-layout-editor .trow { position: relative; box-sizing: border-box; outline: 1px solid rgba(57,122,164,.34); outline-offset: -1px; }
.rc-layout-editor .rc-layout-content-window { min-width: 60px; min-height: 60px; }
.rc-layout-editor .rc-layout-window-meta { position: absolute; top: 6px; left: 6px; z-index: 20; display: flex; align-items: flex-start; flex-direction: column; gap: 2px; margin: 0; pointer-events: none; line-height: 1; }
.rc-layout-editor .rc-layout-window-meta .label { position: static; display: inline-flex; align-items: center; min-height: 15px; padding: 1px 4px; border-radius: 2px; color: #fff; font-size: 8px; font-weight: 400; line-height: 13px; text-shadow: none; box-shadow: 0 1px 3px rgba(8,35,28,.1); }
.rc-layout-editor .rc-layout-window-meta .label-info { background: var(--rc-accent); }
.rc-layout-editor .rc-layout-window-meta .label-success { background: var(--rc-primary); }
.rc-layout-editor-page.rc-rtl .rc-layout-window-meta { right: 6px; left: auto; align-items: flex-end; }
.rc-layout-editor .col_split { position: relative; z-index: 3; width: 3px; touch-action: none; background: var(--rc-accent); box-shadow: inset 1px 0 rgba(255,255,255,.42); }
.rc-layout-editor .row_split { position: relative; z-index: 3; height: 3px; touch-action: none; background: var(--rc-accent); box-shadow: inset 0 1px rgba(255,255,255,.42); }
.rc-layout-editor .col_split::before,
.rc-layout-editor .row_split::before { position: absolute; content: ""; }
.rc-layout-editor .col_split::before { inset: 0 -5px; cursor: col-resize; }
.rc-layout-editor .row_split::before { inset: -5px 0; cursor: row-resize; }
.rc-layout-editor #col_hidesplit,
.rc-layout-editor #row_hidesplit { display: none !important; }
.rc-layout-editor .col_split:hover,
.rc-layout-editor .row_split:hover,
.rc-layout-editor .col_split.is-dragging,
.rc-layout-editor .row_split.is-dragging { background: var(--rc-marker); box-shadow: 0 0 0 2px rgba(217,173,72,.22); }
.rc-layout-editor-page.rc-layout-resizing,
.rc-layout-editor-page.rc-layout-resizing * { user-select: none !important; }
.rc-layout-editor-page.rc-layout-resizing-x,
.rc-layout-editor-page.rc-layout-resizing-x * { cursor: col-resize !important; }
.rc-layout-editor-page.rc-layout-resizing-y,
.rc-layout-editor-page.rc-layout-resizing-y * { cursor: row-resize !important; }
.rc-layout-editor .scre2_box_btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; width: 105px; height: 40px; padding: 0 8px; box-sizing: border-box; color: #fff; background: var(--rc-accent); border-radius: 4px; font-size: 11px; line-height: 1; white-space: nowrap; overflow: hidden; text-decoration: none; }
/* 「还原分屏」按钮：贴在画布右侧中部，与「禁用头部 / 禁用底部」同一列。
   这里的 right / top 只是无 JS 时的兜底值，真实位置由 addLayout_core.js 的
   positionSplitResetButton() 按实测矩形写入 —— 因为 .scre2_box 有 min-width:735px，
   窄画布（竖屏）时右侧会多出留白，且头尾隐藏时盒高会变，写死的百分比对不准。
   图标用 ::before 字体符号 —— bootstrap 2.3.2 的图标是雪碧图，在 inline-flex 容器里无法定位显示。
   注意：头尾按钮用的是 .fr（float:right，物理方向，不随 RTL 镜像），所以这里也不需要 RTL 镜像。 */
.rc-layout-editor .rc-split-reset { position: absolute; top: 50%; right: 14px; z-index: 6; display: none; width: 105px; transform: translateY(-50%); }
.rc-layout-editor .rc-split-reset::before { content: "\21BB"; font-family: Arial,"Segoe UI Symbol",sans-serif; font-size: 13px; line-height: 1; }
.rc-layout-editor .rc-split-reset:hover { background: #2f6a90; }
.rc-layout-editor .rc-split-reset[disabled] { opacity: .5; cursor: not-allowed; pointer-events: none; }

/* 编辑提示（点击编辑头部 / 点击上传素材 / 点击编辑底部）
   产品诉求：提示的作用是告诉使用者「头部 / 内容 / 底部」这三块空白区可以点击，
   因此提示直接做进各自的空白区里，而不是悬浮在画布外侧、更不压住左侧操作按钮列。
   位置由 JS 统一驱动 —— addLayout_core.js 的 positionLayoutDirections() 会把
   left / top / width / height 按目标区域的实测矩形写成内联样式。
   这样可以避免两个坑：
   1) 画布宽度是动态的（saveLayout_app.js: twidth = wtmaxh * 宽高比，随分辨率变化），
      任何写死的 width（例如 600px）都只能对上一种分辨率；
   2) .scre2_box 的内容宽被 min-width:735px 撑到 735px（画布 + 105px 的按钮），
      用 left + right 定位会让提示比画布宽出一截。
   所以这里只负责外观，不写 !important 的几何值；下面留一组无 JS 时的兜底位置。
   纯视觉引导，pointer-events:none，不拦截拖拽与点击。 */
.rc-layout-editor .pinxbg1,
.rc-layout-editor .pinxbg2,
.rc-layout-editor .pinxbg3 { position: absolute; z-index: 4; min-width: 0 !important; max-width: none !important; width: auto; margin: 0; padding: 0; color: #93a5a0; font-family: var(--rc-font); font-size: 11px; line-height: 18px; text-align: center; text-shadow: none; background: rgba(255,255,255,.55); border: 1px dashed #bed1cb; border-radius: 4px; box-shadow: none; pointer-events: none; }
/* 兜底横向位置（JS 会覆盖）：让出左侧 64px 的按钮列与右侧按钮区。
   只写 left + width，并显式 right:auto —— 如果同时留着 right，在 RTL 下
   left / width / right 三者同时存在时浏览器会以 right + width 为准，
   会把 JS 写进去的内联 left 顶掉，导致提示错位。 */
.rc-layout-editor-page .rc-layout-editor .pinxbg1,
.rc-layout-editor-page .rc-layout-editor .pinxbg2,
.rc-layout-editor-page .rc-layout-editor .pinxbg3 { left: 64px; right: auto; width: calc(100% - 120px); }
/* 兜底纵向位置（JS 会覆盖）：头部 / 底部贴在 40px 的条上，内容区框住整块画布。 */
.rc-layout-editor .pinxbg1 { top: 20px; height: 36px; line-height: 36px; }
.rc-layout-editor .pinxbg2 { top: 58px; bottom: 58px; height: auto; }
.rc-layout-editor .pinxbg3 { top: auto; bottom: 20px; height: 36px; line-height: 36px; }
/* 区域里已经放了东西 → 不再是空白区，提示自动让位。
   注：:has() 需要 Chrome 105+；不支持时这一整条规则会被丢弃，退化成「一直显示」，
   与改造前的行为一致，不会更糟。 */
.rc-layout-editor .scre2_box:has(#wt_header_div > *) .pinxbg1,
.rc-layout-editor .scre2_box:has(#wt_div > *) .pinxbg2,
.rc-layout-editor .scre2_box:has(#wt_footer_div > *) .pinxbg3 { display: none !important; }
.rc-editor-popover { position: fixed !important; top: 50% !important; left: 50% !important; z-index: 1050 !important; width: min(620px,calc(100vw - 32px)); max-height: calc(100vh - 80px); padding: 15px !important; overflow: auto; color: var(--rc-text); font-family: var(--rc-font) !important; text-align: left; background: #fff !important; border: 1px solid var(--rc-border) !important; border-radius: 7px; box-shadow: 0 22px 60px rgba(8,35,28,.28); transform: translate(-50%,-50%); }
.rc-editor-popover > input.btn { width: auto !important; min-width: 72px; min-height: 32px; margin: 0 6px 8px 0 !important; padding: 5px 10px !important; border: 0 !important; border-radius: 4px; color: #fff !important; background: var(--rc-primary) !important; text-shadow: none; }
.rc-editor-popover > input.btn-inverse { background: #75807c !important; }
.rc-editor-popover > input.btn-warning { background: var(--rc-warning) !important; }
.rc-editor-popover hr { margin: 5px 0 10px; border: 0; border-top: 1px solid var(--rc-border); }
.rc-editor-resource-popover { width: min(900px,calc(100vw - 40px)); padding: 0 !important; overflow: hidden; }
.rc-editor-popover__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding: 13px 16px; border-bottom: 1px solid var(--rc-border); background: #f8faf9; }
.rc-editor-popover__title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rc-editor-popover__title > i { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 34px; width: 34px; height: 34px; color: var(--rc-primary); background: #e8f3ef; border-radius: 50%; font-size: 15px; }
.rc-editor-popover__title > div { display: flex; min-width: 0; flex-direction: column; }
.rc-editor-popover__title strong { color: var(--rc-text); font-size: 14px; line-height: 1.5; }
.rc-editor-popover__title small { margin-top: 2px; color: var(--rc-muted); font-size: 10px; line-height: 1.4; }
.rc-editor-popover__actions { display: flex; align-items: center; flex: 0 0 auto; gap: 7px; }
.rc-editor-popover__actions input.btn { width: auto !important; min-width: 68px; min-height: 32px; margin: 0 !important; padding: 5px 11px !important; color: #fff !important; background: var(--rc-primary) !important; border: 0 !important; border-radius: 4px; font-family: var(--rc-font); font-size: 11px; line-height: 22px; text-shadow: none; }
.rc-editor-popover__actions input.btn-inverse { background: #75807c !important; }
.rc-editor-popover__actions input.btn-warning { background: var(--rc-warning) !important; }
.rc-editor-resource-popover .Tab { width: 100% !important; padding: 14px 16px 0; box-sizing: border-box; }
.rc-editor-resource-popover .Tab_top { padding: 0 10px !important; background: #eef2f0 !important; border: 1px solid var(--rc-border); border-radius: 5px 5px 0 0; }
.rc-editor-resource-popover .Tab_top ul { display: flex; align-items: stretch; gap: 3px; margin: 0; }
.rc-editor-resource-popover .Tab_top ul li { min-height: 38px; margin: 0 !important; padding: 8px 16px !important; color: var(--rc-muted); border-bottom: 2px solid transparent; }
.rc-editor-resource-popover .Tab_top ul li.active { color: var(--rc-primary); background: #fff !important; border-bottom-color: var(--rc-primary); font-weight: 600; }
.rc-editor-resource-popover .Tab_bot { height: auto !important; min-height: 58px; margin: 8px 0 10px !important; background: #fff !important; }
.rc-editor-resource-popover .nav_table { height: auto !important; min-height: 50px; margin: 0 !important; padding-bottom: 5px; overflow-x: auto; overflow-y: hidden; }
.rc-editor-resource-popover .nav_table ul { display: flex; width: max-content !important; min-width: 100%; gap: 6px; margin: 0; padding: 0; }
.rc-editor-resource-popover .Tab_bot ul li { min-height: 36px; margin: 0 !important; padding: 8px 11px !important; color: var(--rc-muted); background: #f5f7f6 !important; border: 1px solid var(--rc-border) !important; border-radius: 4px; white-space: nowrap; }
.rc-editor-resource-popover .Tab_bot ul li.current { color: #fff; background: var(--rc-accent) !important; border-color: var(--rc-accent) !important; }
.rc-editor-resource-popover #c_ul_rslist { margin: 0; padding: 0 16px 16px; background: #fff; }
.rc-editor-resource-popover .rc-resource-settings { padding: 10px 12px; color: var(--rc-text); line-height: 34px; background: #f8faf9; border: 1px solid var(--rc-border); border-radius: 5px; }
.rc-editor-resource-popover .rc-resource-settings input[type="text"],
.rc-editor-resource-popover .rc-resource-settings select { height: 34px; margin: 0 4px; padding: 4px 8px; border: 1px solid #cbd6d2; border-radius: 4px; box-shadow: none; }
.rc-editor-resource-popover .rc-resource-settings input[type="radio"] { width: 15px; height: 15px; margin: 0 4px 0 8px; accent-color: var(--rc-primary); }
.rc-editor-resource-popover .rc-resource-slot-grid { display: grid; grid-template-columns: repeat(auto-fill,52px); gap: 9px; justify-content: start; width: 100% !important; height: min(350px,42vh) !important; margin-top: 10px; padding: 12px !important; overflow-y: auto; box-sizing: border-box; line-height: normal; background: #f8faf9; border: 1px solid var(--rc-border); border-radius: 5px; }
.rc-editor-resource-popover .rc-resource-slot { display: block; width: 52px !important; height: 52px !important; margin: 0 !important; padding: 2px; box-sizing: border-box; cursor: pointer; object-fit: cover; background: #fff; border: 1px solid #cbd6d2 !important; border-radius: 4px; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.rc-editor-resource-popover .rc-resource-slot[value$="20140823080528431_easyicon_net_72.png"] { padding: 15px; object-fit: contain; background: #f1f5f3; }
.rc-editor-resource-popover .rc-resource-slot:hover { border-color: var(--rc-primary) !important; box-shadow: 0 0 0 2px rgba(7,93,78,.12); transform: translateY(-1px); }

/* Program editor: primary content workbench */
/* 尺寸按用户要求收敛到红框量级（约 900×480）：内容区不够时素材网格自身滚动，
   左栏类型菜单也可滚动；窄屏媒体查询（下方）仍保持近全屏。 */
.rc-resource-workbench-popover { width: min(900px,calc(100vw - 48px)); height: min(700px,calc(100vh - 96px)); max-height: none; flex-direction: column; border: 0 !important; border-radius: 10px; box-shadow: 0 28px 80px rgba(8,35,28,.30); }
.rc-resource-workbench-popover[style*="display: block"] { display: flex !important; }
.rc-resource-workbench-popover .rc-editor-popover__header { position: relative; flex: 0 0 68px; padding: 10px 20px; background: #fff; }
.rc-resource-workbench-popover .rc-editor-popover__header::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; content: ""; background: linear-gradient(90deg,var(--rc-primary),#178b73 72%,var(--rc-marker)); }
.rc-resource-workbench-close { position: absolute; top: 16px; right: 18px; z-index: 5; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; color: #66736f; background: #fff; border: 1px solid #d8e2de; border-radius: 7px; box-shadow: 0 2px 7px rgba(14,48,40,.08); cursor: pointer; transition: color .16s ease,background-color .16s ease,border-color .16s ease; }
.rc-resource-workbench-close:hover { color: #fff; background: var(--rc-primary); border-color: var(--rc-primary); }
.rc-resource-workbench-close i { margin: 0; }
.rc-resource-workbench-popover .rc-resource-window-badge { margin-right: 44px; }
.rc-resource-window-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 10px; color: var(--rc-primary); font-size: 11px; font-weight: 600; background: #eaf4f1; border: 1px solid #cfe1db; border-radius: 14px; }
.rc-resource-workbench { display: grid; grid-template-columns: 180px minmax(420px,1fr); grid-template-areas: "rail content"; flex: 1 1 auto; min-height: 0; background: #fff; }
/* 已选区 = 素材网格本身，不再单开一列；has-resource-queue 只用于控制「参数行 / 计数徽章」的显隐。 */
.rc-resource-workbench.has-resource-queue { grid-template-columns: 180px minmax(420px,1fr); grid-template-areas: "rail content"; }
.rc-resource-type-rail { display: flex; grid-area: rail; min-width: 0; padding: 14px 12px; overflow: auto; flex-direction: column; background: #f7faf9; border-right: 1px solid #e2e9e6; }
.rc-resource-main-panel { grid-area: content; display: flex; min-width: 0; padding: 14px 18px 18px; overflow: hidden; flex-direction: column; background: #fff; }
.rc-resource-type-rail > h3,
.rc-resource-panel-heading h3 { margin: 0; color: var(--rc-text); font-size: 13px; font-weight: 700; line-height: 1.5; }
.rc-resource-panel-heading { display: flex; align-items: center; justify-content: flex-start; gap: 10px; min-height: 38px; margin-bottom: 8px; }
.rc-resource-panel-heading > div:first-child { flex: 0 1 auto; min-width: 0; }
.rc-resource-panel-heading .rc-resource-count { margin-left: auto; }
.rc-resource-panel-heading p { margin: 2px 0 0; color: var(--rc-muted); font-size: 10px; line-height: 1.45; }
.rc-resource-count { display: none; align-items: center; justify-content: center; flex: 0 0 auto; min-width: 26px; height: 26px; padding: 0 7px; color: #fff; font-size: 10px; font-weight: 700; background: var(--rc-primary); border-radius: 13px; }
.rc-resource-workbench.has-resource-queue .rc-resource-count { display: inline-flex; }
#popup.rc-resource-workbench-popover .rc-resource-type-rail .Tab { width: auto !important; margin-top: 11px; padding: 0; }
#popup.rc-resource-workbench-popover .rc-resource-type-rail .Tab_top { margin-bottom: 10px; padding: 0 0 10px !important; background: transparent !important; border: 0; border-bottom: 1px solid var(--rc-border); }
#popup.rc-resource-workbench-popover .rc-resource-type-rail .Tab_top ul,
#popup.rc-resource-workbench-popover .rc-resource-type-rail .nav_table ul { display: flex; width: 100% !important; min-width: 0; flex-direction: column; gap: 4px; }
.rc-resource-workbench-popover .rc-resource-type-rail ul,
.rc-resource-workbench-popover #c_ul_rslist,
.rc-resource-settings-host { list-style: none; }
#popup.rc-resource-workbench-popover .rc-resource-type-rail .Tab_top ul { flex-direction: row; gap: 0; margin: 0; padding: 0; overflow: hidden; background: #fff; border: 1px solid var(--rc-border); border-radius: 6px; }
#popup.rc-resource-workbench-popover .rc-resource-type-rail .Tab_top ul li { display: flex; align-items: center; justify-content: center; flex: 1 1 50%; width: 50%; min-width: 0; min-height: 34px; margin: 0; padding: 5px 3px !important; box-sizing: border-box; color: var(--rc-muted); font-size: 11px; font-weight: 500; line-height: 1.35; text-align: center; background: transparent; border: 0; border-radius: 0; white-space: nowrap; cursor: pointer; transition: color .16s ease,background-color .16s ease; }
#popup.rc-resource-workbench-popover .rc-resource-type-rail .Tab_top ul li + li { border-left: 1px solid var(--rc-border); }
#popup.rc-resource-workbench-popover .rc-resource-type-rail .Tab_bot ul li { position: relative; display: flex; align-items: center; justify-content: flex-start; width: 100%; min-height: 32px; margin: 0 !important; padding: 3px 8px !important; box-sizing: border-box; color: var(--rc-muted); font-size: 12px; font-weight: 400; line-height: 1.35; text-align: left; background: transparent !important; border: 1px solid transparent !important; border-radius: 5px; white-space: normal; cursor: pointer; transition: color .16s ease,background-color .16s ease,border-color .16s ease; }
#popup.rc-resource-workbench-popover .rc-resource-type-rail .Tab_top ul li:hover,
#popup.rc-resource-workbench-popover .rc-resource-type-rail .Tab_bot ul li:hover { color: var(--rc-primary); background: #f1f7f5 !important; border-color: #d4e3de !important; }
#popup.rc-resource-workbench-popover .rc-resource-type-rail .Tab_top ul li.active { color: var(--rc-primary); font-weight: 600; background: #e8f3ef !important; }
#popup.rc-resource-workbench-popover .rc-resource-type-rail .Tab_bot ul li.current { color: var(--rc-primary); font-weight: 600; background: #e8f3ef !important; border-color: #d4e3de !important; box-shadow: none; }
#popup.rc-resource-workbench-popover .rc-resource-type-rail .Tab_bot ul li.current::before { position: absolute; top: 5px; bottom: 5px; left: 0; inset-inline-start: 0; width: 2px; content: ""; background: var(--rc-marker); border-radius: 0 2px 2px 0; pointer-events: none; }
#popup.rc-resource-workbench-popover .rc-resource-type-rail li.current::after { display: none !important; content: none !important; }
#popup.rc-resource-workbench-popover .rc-resource-type-rail .Tab_bot { min-height: 0; margin: 0 !important; }
#popup.rc-resource-workbench-popover .rc-resource-type-rail .nav_table { height: auto !important; min-height: 0; padding: 0; overflow: visible; }
#popup.rc-resource-workbench-popover .rc-resource-type-rail .nav_table ul { transform: none !important; }
#popup.rc-resource-workbench-popover .rc-resource-type-rail .Tab_bot li span { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 22px; width: 22px; height: 22px; margin-top: 0; margin-right: 7px; text-align: center; }
#popup.rc-resource-workbench-popover .rc-resource-type-rail .Tab_bot li img { top: 3px; display: block; width: 40px; height: 16px; max-width: none; max-height: none; object-fit: none; }
#popup.rc-resource-workbench-popover .rc-resource-type-rail .Tab_bot ul li.current span img { left: 0; filter: brightness(0) saturate(100%) invert(22%) sepia(72%) saturate(1103%) hue-rotate(123deg) brightness(87%) contrast(99%); }
.rc-resource-workbench-popover #c_ul_rslist { flex: 1 1 auto; min-height: 0; height: auto !important; margin: 0; padding: 0; overflow: auto; background: transparent; }
.rc-resource-workbench-popover #c_ul_rslist > li:not(.rc-resource-slot-grid):not(.rc-resource-settings) { margin: 0 0 10px; padding: 14px; box-sizing: border-box; line-height: 36px; background: #fff; border: 1px solid var(--rc-border); border-radius: 6px; }
.rc-resource-workbench-popover #c_ul_rslist textarea { max-width: 100%; box-sizing: border-box; }
.rc-resource-workbench-popover .rc-text-editor-section { display: flex; align-items: center; gap: 12px; margin-bottom: 12px !important; padding: 16px 18px !important; line-height: 1.5 !important; background: #fbfcfc !important; }
.rc-resource-workbench-popover .rc-text-editor-section--content { align-items: flex-start; }
.rc-resource-workbench-popover .rc-text-editor-label { flex: 0 0 auto; margin: 0; color: var(--rc-text); font-size: 12px; font-weight: 600; white-space: nowrap; }
.rc-resource-workbench-popover .rc-text-editor-textarea { flex: 1 1 auto; width: 100% !important; min-height: 112px; margin: 0; padding: 10px 12px; resize: vertical; font-size: 14px !important; line-height: 1.65; border: 1px solid #cbd6d2; border-radius: 5px; box-shadow: inset 0 1px 2px rgba(18,48,40,.04); }
.rc-resource-workbench-popover .rc-text-editor-options,
.rc-resource-workbench-popover .rc-text-editor-appearance { display: grid; grid-template-columns: repeat(4,minmax(0,auto)); justify-content: start; gap: 12px 22px; }
.rc-resource-workbench-popover .rc-text-editor-field { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.rc-resource-workbench-popover .rc-text-editor-field select,
.rc-resource-workbench-popover .rc-text-editor-field input[type="text"] { box-sizing: border-box; width: auto; min-width: 92px; height: 34px; margin: 0; padding: 5px 9px; border: 1px solid #cbd6d2; border-radius: 4px; box-shadow: none; }
.rc-resource-workbench-popover .rc-text-editor-field--size input[type="text"] { min-width: 56px; width: 56px; text-align: center; }
.rc-resource-workbench-popover .rc-text-editor-choice { display: inline-flex; align-items: center; gap: 10px; padding: 5px 9px; background: #f0f5f3; border-radius: 4px; }
.rc-resource-workbench-popover .rc-text-editor-choice label,
.rc-resource-workbench-popover .rc-text-editor-check { display: inline-flex; align-items: center; gap: 5px; margin: 0; color: var(--rc-muted); font-size: 11px; white-space: nowrap; }
.rc-resource-workbench-popover .rc-text-editor-choice input,
.rc-resource-workbench-popover .rc-text-editor-check input { width: 15px; height: 15px; margin: 0; accent-color: var(--rc-primary); }
.rc-resource-workbench-popover .rc-text-editor-check { min-height: 34px; padding: 0 10px; background: #f0f5f3; border-radius: 4px; }
.rc-resource-workbench-popover .rc-text-color-control { display: inline-flex; align-items: center; gap: 7px; padding: 3px 7px 3px 4px; background: #fff; border: 1px solid #cbd6d2; border-radius: 5px; cursor: pointer; }
.rc-resource-workbench-popover .rc-text-color-swatch { display: block; flex: 0 0 28px; width: 28px; height: 28px; box-sizing: border-box; border: 1px solid rgba(31,41,39,.22); border-radius: 4px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.42); }
.rc-resource-workbench-popover .rc-text-color-control input[type="text"] { min-width: 72px; width: 72px; height: 28px; padding: 3px 4px; color: var(--rc-muted); background: transparent; border: 0; box-shadow: none; cursor: pointer; }
.rc-resource-workbench-popover .rc-web-editor-section { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 10px !important; padding: 14px 16px !important; line-height: 1.5 !important; background: #fbfcfc !important; }
.rc-resource-workbench-popover .rc-web-editor-field { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.rc-resource-workbench-popover .rc-web-editor-field label { min-width: 58px; margin: 0; color: var(--rc-text); font-size: 12px; font-weight: 600; white-space: nowrap; }
.rc-resource-workbench-popover .rc-web-editor-field .cre_input { box-sizing: border-box; min-width: 118px; height: 34px; margin: 0; padding: 5px 9px; border: 1px solid #cbd6d2; border-radius: 4px; box-shadow: none; }
.rc-resource-workbench-popover .rc-web-editor-field--wide { flex: 1 1 480px; }
.rc-resource-workbench-popover .rc-web-editor-field--wide .cre_input { flex: 1 1 auto; width: 100%; min-width: 220px; font-size: 13px; }
.rc-resource-workbench-popover .rc-web-editor-hint,
.rc-resource-workbench-popover .rc-web-editor-example { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--rc-muted); font-size: 11px; line-height: 1.5; }
.rc-resource-workbench-popover .rc-web-editor-hint i { color: var(--rc-accent); }
.rc-resource-workbench-popover .rc-web-editor-example { flex: 1 0 100%; padding-left: 67px; color: #8a6a2d; }
.rc-resource-workbench-popover .rc-web-editor-example i { color: var(--rc-marker); }
.rc-resource-workbench-popover .rc-web-editor-refresh { background: #f5f8f7 !important; }
/* 素材网格 = 已选素材列表。每张卡：缩略图、名称/预览/删除，时间与排序图标共用一行。
   桌面固定每行 5 张，窄屏依次减少列数；缩略图高度 62px。 */
.rc-resource-workbench-popover .rc-resource-slot-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); align-content: start; gap: 8px; width: 100% !important; height: auto !important; min-height: 0; margin: 0; padding: 0 !important; overflow: visible; background: transparent; border: 0; }
@media (max-width: 980px) { .rc-resource-workbench-popover .rc-resource-slot-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } }
/* 卡片容器：名称与删除按钮挂在它上面（img 不能有子节点）。
   .is-empty 是空槽位 —— 连同容器一起隐藏；「选择素材」按钮位于标题行。 */
.rc-resource-slot-wrap { position: relative; display: flex; min-width: 0; flex-direction: column; background: #fff; border: 1px solid #d7e1dd; border-radius: 7px; box-shadow: 0 3px 10px rgba(11,57,46,.06); cursor: grab; transition: border-color .16s ease,box-shadow .16s ease,opacity .16s ease,transform .16s ease; }
.rc-resource-slot-wrap:hover { border-color: #b9cdc6; box-shadow: 0 5px 14px rgba(11,57,46,.09); }
.rc-resource-slot-wrap.is-empty { display: none; }
.rc-resource-slot-wrap.is-dragging { opacity: .45; cursor: grabbing; }
.rc-resource-slot-wrap.is-drop-target { border-color: var(--rc-primary); box-shadow: 0 0 0 2px rgba(7,93,78,.16); transform: translateY(1px); }
/* 缩略图包裹层：img 是替换元素，画不出 ::after，所以「可拖动」提示的遮罩挂在这一层上。 */
.rc-resource-slot-wrap .rc-resource-slot__thumb { position: relative; overflow: hidden; flex: 0 0 auto; border-radius: 6px 6px 0 0; }
.rc-resource-slot__index { position: absolute; top: 4px; left: 4px; z-index: 3; display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 4px; box-sizing: border-box; color: #fff; font-size: 11px; font-weight: 700; line-height: 20px; text-align: center; background: #006b5a; border: 1px solid rgba(255,255,255,.92); border-radius: 5px; box-shadow: 0 1px 4px rgba(0,0,0,.22); pointer-events: none; }
/* 悬停时盖一层主色薄雾 + 一个四向移动图标 + 一行提示，明确"这张卡可以拖"。 */
.rc-resource-slot__thumb::after { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; content: "✥"; color: #fff; font-size: 20px; line-height: 1; text-shadow: 0 1px 6px rgba(6,44,36,.55); background: rgba(7,93,78,.42); opacity: 0; transition: opacity .16s ease; pointer-events: none; }
.rc-resource-slot-wrap:hover .rc-resource-slot__thumb::after { opacity: 1; }
.rc-resource-slot-wrap.is-dragging .rc-resource-slot__thumb::after,
.rc-resource-slot-wrap.is-drop-target .rc-resource-slot__thumb::after { opacity: 0; }
.rc-resource-slot-wrap .rc-resource-slot { position: relative; display: block; width: 100% !important; height: 62px !important; margin: 0 !important; padding: 0; box-sizing: border-box; object-fit: contain; object-position: center; background: #eef3f1; border: 0 !important; border-radius: 6px 6px 0 0; }
.rc-resource-workbench-popover .rc-resource-slot.is-empty { display: none; }
.rc-resource-workbench-popover .rc-resource-slot.is-empty.rc-resource-add-slot { display: none; }
/* 名称 + 预览/删除：卡片底部一行。名称占满剩余宽度并截断，两个按钮固定宽度并排。 */
.rc-resource-slot__tools { display: flex; align-items: center; gap: 3px; min-width: 0; padding: 4px 4px 4px 6px; }
.rc-resource-slot__name { min-width: 0; overflow: hidden; flex: 1 1 auto; color: var(--rc-text); font-size: 10px; font-weight: 400; line-height: 1.4; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.rc-resource-slot__preview,
.rc-resource-slot__remove { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 18px; height: 18px; padding: 0; color: var(--rc-muted); background: transparent; border: 0; border-radius: 4px; cursor: pointer; }
.rc-resource-slot__preview i,
.rc-resource-slot__remove i { font-size: 10px; line-height: 1; }
.rc-resource-slot__preview:hover { color: var(--rc-primary); background: #eaf4f1; }
.rc-resource-slot__remove:hover { color: #b9473f; background: #fbeeed; }
/* 排序图标单独放在素材名称行下方；加入时间叠加在缩略图左下角。 */
.rc-resource-slot__meta-row { display: flex; align-items: center; justify-content: flex-end; min-width: 0; min-height: 18px; gap: 3px; padding: 2px 4px 3px 0; }
.rc-resource-slot__order-tools { display: inline-flex; align-items: center; justify-content: flex-end; flex: 0 0 auto; gap: 3px; padding: 0; border: 0; }
.rc-resource-slot__order-btn { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 18px; width: 18px; height: 18px; margin: 0; padding: 0; overflow: visible; color: var(--rc-muted); font-size: 0; line-height: 1; background: transparent; border: 0; border-radius: 4px; cursor: pointer; transition: color .14s ease,background .14s ease; }
/* Use text glyphs instead of the legacy sprite so arrow icons remain visible. */
.rc-resource-slot__order-btn i { display: none !important; }
.rc-resource-slot__order-btn::before { display: block; min-width: 14px; font-family: Arial, "Segoe UI Symbol", sans-serif; font-size: 13px; font-weight: 600; line-height: 18px; text-align: center; color: currentColor; background: none !important; }
.rc-resource-slot__order-btn[data-action="move-top"]::before { content: "⇑"; }
.rc-resource-slot__order-btn[data-action="move-up"]::before { content: "↑"; }
.rc-resource-slot__order-btn[data-action="move-down"]::before { content: "↓"; }
.rc-resource-slot__order-btn[data-action="move-bottom"]::before { content: "⇓"; }
.rc-resource-slot__order-btn:hover:not(:disabled) { color: var(--rc-primary); background: #eaf4f1; border-color: transparent; }
.rc-resource-slot__order-btn:hover:not(:disabled)::before { color: currentColor; }
.rc-resource-slot__order-btn:disabled { color: #91a19b; background: transparent; border-color: transparent; border-radius: 4px; cursor: not-allowed; opacity: .45; }
.rc-resource-slot__order-btn:disabled::before { color: currentColor; }
/* PDF 专用控件：已选 PDF 统一为可预览、可删除的自适应卡片。 */
.rc-pdf-source-list { display: block; width: 100% !important; min-height: 170px; padding: 8px !important; box-sizing: border-box; }
#pdfUl.rc-pdf-resource-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(150px,180px)); gap: 14px; width: 100%; margin: 0; padding: 0; list-style: none; }
#pdfUl.rc-pdf-resource-grid::before,
#pdfUl.rc-pdf-resource-grid::after { display: none; content: none; }
#pdfUl .rc-pdf-resource-card { position: relative; float: none; width: auto !important; min-width: 0; margin: 0 !important; padding: 8px; box-sizing: border-box; background: #fff; border: 1px solid var(--rc-border); border-radius: 8px; box-shadow: 0 3px 10px rgba(17,52,43,.04); }
#pdfUl .rc-pdf-resource-main.thumbnail { display: flex; min-height: 138px; margin: 0 0 8px; padding: 6px; flex-direction: column; align-items: center; justify-content: flex-start; text-decoration: none; background: #fff; border: 0; box-shadow: none; cursor: default; }
#pdfUl .rc-pdf-resource-icon { display: block; width: 92px !important; height: 92px !important; margin: 2px auto 8px; object-fit: contain; }
#pdfUl .rc-pdf-resource-name { width: 100%; min-height: 38px; margin: 0; overflow: hidden; color: var(--rc-text); font-size: 13px; font-weight: 600; line-height: 19px; text-align: center; text-overflow: ellipsis; word-break: break-all; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
#pdfUl .rc-pdf-resource-delete { position: absolute; top: 5px; right: 5px; z-index: 2; width: 26px; height: 26px; padding: 0; color: #8a9692; font-size: 22px; line-height: 22px; background: #fff; border: 1px solid #dce4e1; border-radius: 5px; cursor: pointer; }
#pdfUl .rc-pdf-resource-delete:hover { color: #b9473f; background: #fbeeed; border-color: #edc8c4; }
#pdfUl .rc-pdf-resource-preview { display: flex; width: 100%; height: 32px; padding: 0 10px; align-items: center; justify-content: center; gap: 6px; color: #fff; font-size: 13px; background: var(--rc-primary); border: 1px solid var(--rc-primary); border-radius: 5px; cursor: pointer; }
#pdfUl .rc-pdf-resource-preview:hover { background: var(--rc-primary-hover); border-color: var(--rc-primary-hover); }
@media(max-width:900px){ #pdfUl.rc-pdf-resource-grid { grid-template-columns: repeat(auto-fill,minmax(135px,1fr)); } }
/* Material insertion timestamp, separate from upload time. */
.rc-resource-slot__added-at { position:absolute; left:4px; bottom:4px; z-index:4; display:block; box-sizing:border-box; max-width:calc(100% - 8px); margin:0; padding:2px 5px; overflow:hidden; color:#52665f; font-size:9px; line-height:1.35; text-overflow:ellipsis; white-space:nowrap; background:rgba(255,255,255,.9); border:1px solid rgba(210,224,218,.95); border-radius:3px; box-shadow:0 1px 3px rgba(0,0,0,.08); cursor:help; }
#pdfUl .rc-pdf-resource-added-at { display:block; max-width:100%; margin-top:5px; overflow:hidden; color:#788a82; font-size:10px; line-height:1.5; text-align:center; text-overflow:ellipsis; white-space:nowrap; cursor:help; }
/* 预览层：只读大图，不参与任何数据读写。 */
.rc-resource-preview { position: fixed; inset: 0; z-index: 5200; display: flex; align-items: center; justify-content: center; padding: 24px; font-family: var(--rc-font); }
.rc-resource-preview__backdrop { position: absolute; inset: 0; background: rgba(8,24,20,.62); }
.rc-resource-preview__dialog { position: relative; display: flex; max-width: min(880px,100%); max-height: 100%; margin: 0; padding: 12px; flex-direction: column; background: #fff; border: 1px solid var(--rc-border); border-radius: 9px; box-shadow: 0 24px 70px rgba(8,35,28,.34); }
.rc-resource-preview__close { position: absolute; top: 6px; right: 8px; z-index: 1; width: 28px; height: 28px; padding: 0; color: #fff; font-size: 21px; line-height: 1; background: rgba(8,24,20,.45); border: 0; border-radius: 50%; cursor: pointer; }
.rc-resource-preview__close:hover { background: rgba(8,24,20,.7); }
.rc-resource-preview__image { display: block; max-width: 100%; max-height: calc(100vh - 150px); margin: 0; object-fit: contain; background: #eef3f1; border-radius: 5px; }
.rc-resource-preview__dialog--video { width: min(600px,calc(100vw - 48px)); }
.rc-resource-preview__video-poster { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 260px; max-height: calc(100vh - 170px); overflow: hidden; background: #101513; border-radius: 5px; }
.rc-resource-preview__video-poster .rc-resource-preview__image { width: 100%; height: auto; max-width: 100%; max-height: calc(100vh - 170px); object-fit: contain; background: #101513; }
.rc-resource-preview__play { position: absolute; top: 50%; left: 50%; display: inline-flex; align-items: center; justify-content: center; width: 78px; height: 66px; padding: 0; transform: translate(-50%,-50%); color: #fff; background: rgba(0,0,0,.58); border: 3px solid #fff; border-radius: 18px; box-shadow: 0 3px 14px rgba(0,0,0,.24); cursor: pointer; }
.rc-resource-preview__play::before { content: "▶"; display: block; margin-left: 4px; color: #fff; font-size: 30px; line-height: 1; }
.rc-resource-preview__play:hover { background: rgba(0,107,90,.88); }
.rc-resource-preview__caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; margin: 9px 2px 0; }
.rc-resource-preview__caption strong { min-width: 0; overflow: hidden; color: var(--rc-text); font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.rc-resource-preview__order { flex: 0 0 auto; min-width: 20px; padding: 1px 7px; color: #fff; font-size: 10px; font-weight: 700; text-align: center; background: var(--rc-primary); border-radius: 11px; }
/* 「选择素材」卡：缩略图同高，虚线框 */
.rc-resource-add-card { display: flex; align-items: center; justify-content: center; min-height: 142px; padding: 12px; flex-direction: column; color: var(--rc-primary); background: linear-gradient(145deg,#f7fbf9,#edf6f2); border: 1px dashed #76a898; border-radius: 7px; cursor: pointer; }
.rc-resource-add-card:hover { background: #eaf4f1; border-color: var(--rc-primary); }
.rc-resource-add-card i { margin-bottom: 7px; font-size: 20px; }
.rc-resource-add-card strong { font-size: 11px; line-height: 1.5; }
/* 选择素材按钮紧贴标题区右侧，与标题/提示语同一行。 */
.rc-resource-panel-actions { display: flex; align-items: center; justify-content: flex-start; flex: 0 0 auto; min-height: 30px; margin: 0; gap: 7px; }
.rc-resource-panel-actions .rc-resource-add-card { display: inline-flex; align-items: center; justify-content: center; flex-direction: row; gap: 6px; min-width: 0; min-height: 30px; padding: 0 11px; color: #fff; font-family: var(--rc-font); font-size: 11px; font-weight: 600; line-height: 1; background: var(--rc-primary); border: 1px solid var(--rc-primary); border-radius: 5px; box-shadow: none; }
.rc-resource-panel-actions .rc-resource-add-card:hover { color: #fff; background: var(--rc-primary-hover); border-color: var(--rc-primary-hover); }
.rc-resource-panel-actions .rc-resource-add-card i { margin: 0; font-size: 11px; }
.rc-resource-panel-actions .rc-resource-add-card strong { font-size: 11px; line-height: 1; }
/* 播放参数行：放在素材网格上方，三项横排（间隔 / 自动播放 / 切换效果）。
   控件本体由 elContent.js 生成在 #c_ul_rslist 的 .rc-resource-settings 里，渲染时搬到这里。 */
.rc-resource-settings-host { display: none; flex: 0 0 auto; min-height: 0; margin: 0 0 8px; }
.rc-resource-settings-host.is-visible { display: block; }
.rc-resource-settings-host:empty { display: none; }
.rc-resource-workbench-popover .rc-resource-settings-host .rc-resource-settings { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 9px 12px; color: var(--rc-text); font-size: 11px; line-height: 26px; background: #f5f8f7; border: 1px solid #dfe8e4; border-radius: 6px; }
.rc-resource-workbench-popover .rc-resource-settings-host .rc-resource-settings input[type="text"],
.rc-resource-workbench-popover .rc-resource-settings-host .rc-resource-settings select { height: 30px; margin-top: 0; margin-bottom: 0; padding-top: 3px; padding-bottom: 3px; font-size: 11px; }
.rc-resource-workbench-popover .rc-resource-settings-host .rc-resource-settings label.radio { margin-bottom: 0; line-height: 26px; }
.rc-resource-workbench-popover .rc-resource-setting-row { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; }
.rc-resource-workbench-popover .rc-resource-setting-label { color: var(--rc-text); font-weight: 600; line-height: 18px; white-space: nowrap; }
.rc-resource-workbench-popover .rc-resource-setting-control { display: flex; align-items: center; min-width: 0; gap: 6px; line-height: 20px; }
.rc-resource-workbench-popover .rc-resource-setting-control .rc-resource-setting-time { width: 52px !important; margin: 0 !important; text-align: center; }
.rc-resource-workbench-popover .rc-resource-setting-control select { width: auto !important; min-width: 112px; max-width: 180px; margin: 0 !important; }
.rc-resource-workbench-popover .rc-resource-setting-control label.radio { display: inline-flex !important; align-items: center; gap: 3px; margin: 0 6px 0 0 !important; padding: 0; white-space: nowrap; }
.rc-resource-workbench-popover .rc-resource-setting-control input[type="radio"] { flex: 0 0 auto; margin: 0 !important; }
.rc-resource-workbench-footer { display: flex; align-items: center; justify-content: space-between; flex: 0 0 62px; gap: 16px; padding: 10px 18px; box-sizing: border-box; background: #fff; border-top: 1px solid var(--rc-border); }
.rc-resource-workbench-footer > p { margin: 0; color: var(--rc-muted); font-size: 10px; line-height: 1.5; }
.rc-resource-workbench-footer > p i { margin-right: 5px; color: var(--rc-marker); }
.rc-resource-workbench-footer .rc-editor-popover__actions input.btn-primary,
.rc-resource-workbench-footer .rc-editor-popover__actions button.btn-primary { min-width: 108px; }
.rc-resource-workbench-footer .rc-editor-popover__actions button.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: auto; min-width: 78px; min-height: 34px; margin: 0; padding: 6px 12px; color: #fff; border: 0; border-radius: 4px; font-family: var(--rc-font); font-size: 11px; line-height: 20px; text-shadow: none; }
.rc-resource-workbench-footer .rc-editor-popover__actions button.btn-warning { background: var(--rc-warning); }
.rc-resource-workbench-footer .rc-editor-popover__actions button.btn-inverse { background: #75807c; }
.rc-resource-workbench-footer .rc-editor-popover__actions button.btn-primary { background: var(--rc-primary); }
.rc-resource-workbench-footer .rc-editor-popover__actions button.btn:hover,
.rc-resource-workbench-footer .rc-editor-popover__actions button.btn:focus { color: #fff; filter: brightness(.94); }
.rc-resource-workbench-footer .rc-editor-popover__actions button.btn i { margin: 0; filter: brightness(0) invert(1); }
.rc-layout-editor-page.rc-rtl .rc-resource-workbench { grid-template-columns: minmax(420px,1fr) 180px; grid-template-areas: "content rail"; }
/* 列宽必须与 areas 成对换 —— 只改 areas 会让固定列落到错误的列上（历史 bug）。 */
.rc-layout-editor-page.rc-rtl .rc-resource-workbench.has-resource-queue { grid-template-columns: minmax(420px,1fr) 180px; grid-template-areas: "content rail"; }
.rc-layout-editor-page.rc-rtl .rc-resource-type-rail { border-right: 0; border-left: 1px solid var(--rc-border); }
/* 卡片内部不要再写 grid-template-columns / 翻转 margin：
   .rc-resource-slot-wrap 是 flex-column（缩略图在上、名称行在下），
   .rc-resource-slot__tools 是 flex-row（名称在起侧、删除在末侧）—— RTL 下都会自动镜像。 */
.rc-layout-editor-page.rc-rtl .rc-resource-slot__tools { padding: 5px 7px 5px 5px; }
.rc-layout-editor-page.rc-rtl .rc-resource-slot__name { text-align: right; }
.rc-layout-editor-page.rc-rtl .rc-resource-workbench-close { right: auto; left: 18px; }
.rc-layout-editor-page.rc-rtl .rc-resource-workbench-popover .rc-resource-window-badge { margin-right: 0; margin-left: 44px; }
/* 预览层不在 rc-layout-editor-page 内（直接挂 body），所以用 html[lang] 选 RTL。 */
html[lang^="ar"] .rc-resource-preview__dialog { direction: rtl; }
html[lang^="ar"] .rc-resource-preview__close { right: auto; left: 8px; }
html[lang^="ar"] .rc-resource-preview__caption { flex-direction: row-reverse; }
.rc-layout-editor-page.rc-rtl #popup.rc-resource-workbench-popover .rc-resource-type-rail .Tab_top ul li { justify-content: center; text-align: center; }
.rc-layout-editor-page.rc-rtl #popup.rc-resource-workbench-popover .rc-resource-type-rail .Tab_top ul li + li { border-left: 0; border-right: 1px solid var(--rc-border); }
.rc-layout-editor-page.rc-rtl #popup.rc-resource-workbench-popover .rc-resource-type-rail .Tab_bot li span { margin-right: 0; margin-left: 7px; }
.rc-layout-editor-page.rc-rtl #popup.rc-resource-workbench-popover .rc-resource-type-rail .Tab_bot ul li { justify-content: flex-start; text-align: right; }
.rc-layout-editor-page.rc-rtl #popup.rc-resource-workbench-popover .rc-resource-type-rail .Tab_bot ul li.current::before { right: 0; left: auto; inset-inline-start: 0; border-radius: 2px 0 0 2px; }
.rc-layout-editor-page.rc-rtl .rc-resource-workbench-footer > p i { margin-right: 0; margin-left: 5px; }
@media (max-width: 980px) {
  .rc-resource-workbench-popover { width: calc(100vw - 24px); height: calc(100vh - 24px); }
  .rc-resource-workbench,
  .rc-resource-workbench.has-resource-queue { grid-template-columns: 164px minmax(360px,1fr); grid-template-areas: "rail content"; }
  .rc-layout-editor-page.rc-rtl .rc-resource-workbench,
  .rc-layout-editor-page.rc-rtl .rc-resource-workbench.has-resource-queue { grid-template-columns: minmax(360px,1fr) 164px; grid-template-areas: "content rail"; }
}

/* Resource library dialog opened from the program editor. The selected values remain
   in the DOM as the submission store, while the duplicate legacy left panel is hidden. */
.rc-layout-resource-picker-page { display: flex; min-width: 0; height: 100vh; margin: 0; padding: 12px; overflow: hidden; box-sizing: border-box; color: var(--rc-text); background: #f4f7f6; font-family: var(--rc-font); }
.rc-layout-resource-picker-page > .row-fluid { display: flex; flex: 1 1 auto; flex-direction: column; width: 100%; min-height: 0; }
.rc-layout-resource-picker-page .row-fluid { width: 100%; }
.rc-layout-resource-picker-page .rc-picker-selected-store { display: none !important; }
.rc-layout-resource-picker-page .rc-picker-available { display: flex; flex: 1 1 auto; flex-direction: column; width: 100% !important; min-height: 0; margin: 0 !important; padding: 0; overflow: hidden; }
.rc-layout-resource-picker-page .navbar { min-height: 0; margin: 0 !important; }
.rc-layout-resource-picker-page .navbar-inner { min-height: 38px; padding: 0; background: #fff; border: 0; border-bottom: 1px solid var(--rc-border); border-radius: 0; box-shadow: none; }
.rc-layout-resource-picker-page .navbar .nav { margin: 0; }
.rc-layout-resource-picker-page .navbar .nav::before,
.rc-layout-resource-picker-page .navbar .nav::after,
.rc-layout-resource-picker-page .navbar-inner::before,
.rc-layout-resource-picker-page .navbar-inner::after { display: none; content: none; }
.rc-layout-resource-picker-page .navbar .nav > li > a { min-height: 38px; padding: 9px 15px; box-sizing: border-box; color: var(--rc-muted); text-shadow: none; }
.rc-layout-resource-picker-page .navbar .nav > li.active > a { color: var(--rc-primary); font-weight: 700; background: transparent; border-bottom: 2px solid var(--rc-primary); box-shadow: none; }
/* 上传表单本体只保留隐藏域 + file input，视觉按钮已移入搜索行（rc-picker-search-bar） */
.rc-layout-resource-picker-page .rc-picker-upload { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; overflow: hidden; }
.rc-layout-resource-picker-page .rc-picker-upload__input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
/* 上传按钮：蓝色 accent，与绿色“查询”按钮区分 */
.rc-layout-resource-picker-page .rc-picker-upload__button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-height: 34px; margin: 0; padding: 6px 13px; color: #fff; font-family: var(--rc-font); font-size: 12px; background: var(--rc-accent); border: 0; border-radius: 4px; cursor: pointer; }
.rc-layout-resource-picker-page .rc-picker-upload__button:hover { background: #2f6a90; }
.rc-layout-resource-picker-page .rc-picker-upload__button:disabled { cursor: wait; opacity: .72; }
.rc-layout-resource-picker-page .rc-picker-upload__button i { margin-right: 5px; filter: brightness(0) invert(1); }
.rc-layout-resource-picker-page .rc-picker-upload__feedback { display: flex; align-items: center; flex: 0 1 auto; min-width: 0; gap: 9px; color: var(--rc-muted); font-size: 11px; }
.rc-layout-resource-picker-page .rc-picker-upload__feedback > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-layout-resource-picker-page .rc-picker-upload__feedback .is-error { color: var(--rc-danger); }
.rc-layout-resource-picker-page .rc-picker-upload__feedback .is-success { color: var(--rc-primary); }
.rc-layout-resource-picker-page .rc-picker-upload__progress { display: block; flex: 0 0 88px; height: 6px; overflow: hidden; background: #e5ece9; border-radius: 3px; }
.rc-layout-resource-picker-page .rc-picker-upload__progress i { display: block; width: 0; height: 100%; background: linear-gradient(90deg,var(--rc-primary),#26917b); transition: width .18s ease; }
.rc-layout-resource-picker-page #page { display: flex; flex: 1 1 auto; flex-direction: column; width: 100%; min-height: 0; margin: 0; padding: 10px 12px 8px; overflow: hidden; box-sizing: border-box; background: #fff; border: 0; border-radius: 0 0 7px 7px; }
.rc-layout-resource-picker-page #page > .form-search { display: flex; flex: 1 1 auto; flex-direction: column; width: 100% !important; min-height: 0; height: auto !important; margin: 0 !important; padding: 0; overflow: hidden !important; }
.rc-layout-resource-picker-page #titps { flex: 0 0 auto; margin-bottom: 7px; font-size: 11px; }
.rc-layout-resource-picker-page .rc-picker-directory-list { flex: 0 0 auto; max-height: 88px; margin-bottom: 4px; padding-right: 4px; overflow-x: hidden; overflow-y: auto; box-sizing: border-box; scrollbar-gutter: stable; }
.rc-layout-resource-picker-page .rc-picker-directory-list::after { content: ""; display: table; clear: both; }
.rc-layout-resource-picker-page .zzz_wrap { margin-bottom: 7px; }
.rc-layout-resource-picker-page .bip1,
.rc-layout-resource-picker-page .bip { color: var(--rc-muted) !important; background: #f2f5f4 !important; border: 1px solid transparent !important; border-radius: 4px; }
.rc-layout-resource-picker-page .bip1.det_bg,
.rc-layout-resource-picker-page .zDeWrap1 { color: var(--rc-primary) !important; font-weight: 700; background: #e7f2ee !important; border-color: #cfe1db !important; }
.rc-layout-resource-picker-page input[type="text"] { height: 34px; padding: 5px 9px; box-sizing: border-box; border: 1px solid #cbd7d2; border-radius: 4px; box-shadow: none; }
.rc-layout-resource-picker-page button.btn { min-height: 34px; padding: 5px 12px; color: #fff; background: var(--rc-primary); border: 0; border-radius: 4px; text-shadow: none; }
.rc-layout-resource-picker-page .rc-picker-search-bar { display: flex; align-items: center; flex-wrap: wrap; margin: 3px 0 8px; gap: 8px; }
.rc-layout-resource-picker-page .rc-picker-search-bar > label { float: none !important; margin: 0; line-height: 34px; }
.rc-layout-resource-picker-page .rc-picker-search-control { display: flex; align-items: center; gap: 7px; }
.rc-layout-resource-picker-page .rc-picker-search-control input { margin: 0; }
.rc-layout-resource-picker-page .rc-picker-type-filter { width: 100px !important; min-width: 100px; max-width: 100px; height: 34px; margin: 0; padding: 4px 22px 4px 9px; box-sizing: border-box; color: var(--rc-text); background: #fff; border: 1px solid #cbd7d2; border-radius: 4px; box-shadow: none; }
.rc-layout-resource-picker-page .rc-picker-search-button { display: inline-flex; align-items: center; gap: 5px; margin: 0; }
.rc-layout-resource-picker-page .rc-picker-search-button i { filter: brightness(0) invert(1); }
/* 预览/试听按钮：修复被 thumbnail 的 line-height:7px 压扁导致的变形 */
.rc-layout-resource-picker-page #feyeheight .shf_span3 { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 0; min-height: 22px; margin: 5px 0 0; padding: 3px 9px; color: #fff; font-size: 11px; line-height: 15px; background: var(--rc-primary); border: 0; border-radius: 4px; text-shadow: none; text-decoration: none; cursor: pointer; vertical-align: middle; }
.rc-layout-resource-picker-page #feyeheight .shf_span3 i { margin: 0; filter: brightness(0) invert(1); }
.rc-layout-resource-picker-page #feyeheight .shf_span3:hover { color: #fff; background: var(--rc-primary-hover); text-decoration: none; }
/* 分页固定在资源选择器底部；目录再多也只滚目录/素材区，不再把分页顶出弹窗。 */
.rc-layout-resource-picker-page .rc-picker-pagination-footer { display: flex; flex: 0 0 auto; align-items: center; justify-content: flex-end; min-height: 38px; padding-top: 7px; gap: 8px; box-sizing: border-box; background: #fff; border-top: 1px solid #edf1ef; }
.rc-layout-resource-picker-page .rc-picker-pagination-footer > .page { float: none !important; margin: 0 !important; }
.rc-layout-resource-picker-page .rc-picker-pagination-footer > .page + span { float: none !important; margin: 0 !important; color: var(--rc-muted); font-size: 11px; line-height: 24px; }
.rc-layout-resource-picker-page .rc-picker-pagination-footer > .page .simple-pagination ul { margin: 0; box-shadow: none; }
.rc-layout-resource-picker-page .rc-picker-pagination-footer > .page .compact-theme a,
.rc-layout-resource-picker-page .rc-picker-pagination-footer > .page .compact-theme span { color: var(--rc-text); background: #fff; border-color: #ccd7d3; }
.rc-layout-resource-picker-page .rc-picker-pagination-footer > .page .compact-theme a:hover { color: var(--rc-primary); background: #eef5f2; }
.rc-layout-resource-picker-page .rc-picker-pagination-footer > .page .compact-theme .current { color: #fff; background: var(--rc-primary); border-color: var(--rc-primary); }
.rc-layout-resource-picker-page #feyeheight { flex: 1 1 auto; min-height: 140px; height: auto !important; max-height: none; padding: 9px 2px 4px; overflow-x: hidden; overflow-y: auto; box-sizing: border-box; }
.rc-layout-resource-picker-page #feyeheight > ul.thumbnails { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 10px; margin: 0; }
.rc-layout-resource-picker-page #feyeheight > ul.thumbnails::before,
.rc-layout-resource-picker-page #feyeheight > ul.thumbnails::after { display: none; content: none; }
.rc-layout-resource-picker-page #feyeheight > ul.thumbnails > li { float: none; width: auto !important; margin: 0 !important; }
.rc-layout-resource-picker-page .rc-picker-resource-card { height: 201px; cursor: pointer; outline: none; }
.rc-layout-resource-picker-page #feyeheight .thumbnail { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 0; padding: 8px; overflow: hidden; box-sizing: border-box; color: var(--rc-muted); font-size: 10px; line-height: 1.5; background: #fff; border: 1px solid #dce5e1; border-radius: 6px; box-shadow: none; transition: border-color .16s ease,box-shadow .16s ease,transform .16s ease; }
.rc-layout-resource-picker-page #feyeheight .thumbnail:hover { border-color: #91b9ac; box-shadow: 0 7px 18px rgba(11,57,46,.10); transform: translateY(-1px); }
.rc-layout-resource-picker-page .rc-picker-resource-card:focus .thumbnail { border-color: var(--rc-primary); box-shadow: 0 0 0 3px rgba(7,93,78,.14); }
.rc-layout-resource-picker-page .rc-picker-resource-card.is-selected .thumbnail { background: #edf7f3; border-color: var(--rc-primary); box-shadow: 0 0 0 2px rgba(7,93,78,.14); }
/* 保持原来的缩略图框尺寸，仅把图片改成等比例完整显示；竖版/长图不再被裁切。 */
.rc-layout-resource-picker-page #feyeheight .rc-picker-resource-preview { display: flex; align-items: center; justify-content: center; width: 100%; height: 82px; overflow: hidden; box-sizing: border-box; background: #f4f7f6; border-radius: 4px; }
.rc-layout-resource-picker-page #feyeheight .rc-picker-resource-preview img.img-polaroid { display: block; width: 100% !important; height: 100% !important; max-width: 100%; max-height: 100%; padding: 0; object-fit: contain; object-position: center; border: 0; border-radius: 0; box-shadow: none; }
.rc-layout-resource-picker-page #feyeheight .rc-picker-resource-resolution { flex: 0 0 14px; min-height: 14px; margin: 8px 0 0; overflow: hidden; color: var(--rc-muted); font-size: 10px; font-weight: 400; line-height: 14px; white-space: nowrap; }
.rc-layout-resource-picker-page #feyeheight .rc-picker-resource-name { flex: 0 0 22px; width: 100%; height: 22px; margin: 2px 0 3px; overflow: hidden; color: var(--rc-text); font-size: 11px; font-weight: 400 !important; line-height: 22px; text-overflow: ellipsis; white-space: nowrap; }
.rc-layout-resource-picker-page #feyeheight .rc-picker-resource-upload-time { display: flex; flex: 0 0 16px; align-items: center; gap: 3px; width: 100%; min-height: 16px; margin: 0 0 2px; overflow: hidden; color: var(--rc-muted); font-size: 9px; font-weight: 400; line-height: 16px; text-overflow: ellipsis; white-space: nowrap; }
.rc-layout-resource-picker-page #feyeheight .rc-picker-resource-upload-time i { flex: 0 0 auto; margin: 0; opacity: .75; transform: scale(.85); }
.rc-layout-resource-picker-page #feyeheight .rc-picker-type-badge { position: absolute; top: 11px; left: 11px; z-index: 3; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; box-sizing: border-box; color: #fff; border-radius: 50%; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.rc-layout-resource-picker-page #feyeheight .rc-picker-type-badge i { margin: 0; transform: scale(.9); filter: brightness(0) invert(1); }
.rc-layout-resource-picker-page #feyeheight .rc-picker-type-badge.is-image { background: #16836f; }
.rc-layout-resource-picker-page #feyeheight .rc-picker-type-badge.is-video { background: #367fa9; }
.rc-layout-resource-picker-page #feyeheight .thumbnail .shf_span3 { width: 100%; margin-top: 3px; box-sizing: border-box; }
.rc-layout-resource-picker-page #feyeheight .thumbnail h5 { margin: 7px 0 3px; overflow: hidden; color: var(--rc-text); font-size: 11px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.rc-layout-resource-picker-page #feyeheight .thumbnail p { margin: 0; color: var(--rc-muted); font-size: 9px; line-height: 1.4; }
.rc-layout-resource-picker-page #feyeheight input[name="check"] { position: absolute; top: 14px; right: 14px; z-index: 2; width: 17px; height: 17px; accent-color: var(--rc-primary); }
.rc-layout-resource-picker-page.rc-rtl { direction: rtl; text-align: right; }
.rc-layout-resource-picker-page.rc-rtl #feyeheight input[name="check"] { right: auto; left: 14px; }
.rc-layout-resource-picker-page.rc-rtl #feyeheight .rc-picker-type-badge { right: 12px; left: auto; }
.rc-layout-resource-picker-page.rc-rtl .rc-picker-upload__button i { margin-right: 0; margin-left: 5px; }
@media (max-width: 720px) {
  .rc-layout-resource-picker-page .rc-picker-search-bar { align-items: stretch; flex-direction: column; }
  .rc-layout-resource-picker-page .rc-picker-search-control { width: 100%; }
  .rc-layout-resource-picker-page .rc-picker-search-control input { min-width: 0; flex: 1 1 auto; }
  .rc-layout-resource-picker-page .rc-picker-upload__feedback { flex-basis: auto; }
}
@media (max-width: 900px) {
  .rc-layout-resource-picker-page #feyeheight > ul.thumbnails { grid-template-columns: repeat(5,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .rc-layout-resource-picker-page #feyeheight > ul.thumbnails { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 480px) {
  .rc-layout-resource-picker-page #feyeheight > ul.thumbnails { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .rc-resource-workbench { display: block; overflow: auto; }
  .rc-resource-type-rail { display: block; max-height: 178px; overflow: auto; border: 0; border-bottom: 1px solid var(--rc-border); }
  #popup.rc-resource-workbench-popover .rc-resource-type-rail .Tab_top ul { flex-direction: row; width: 100% !important; }
  #popup.rc-resource-workbench-popover .rc-resource-type-rail .nav_table { overflow-x: auto; overflow-y: hidden; }
  #popup.rc-resource-workbench-popover .rc-resource-type-rail .nav_table ul { flex-direction: row; width: max-content !important; }
  #popup.rc-resource-workbench-popover .rc-resource-type-rail .Tab_top ul li { flex: 1 1 50%; width: 50%; white-space: nowrap; }
  #popup.rc-resource-workbench-popover .rc-resource-type-rail .Tab_bot ul li { width: auto; white-space: nowrap; }
  .rc-resource-main-panel { height: auto; }
  /* 窄屏减少每行卡片数量，名称、预览/删除以及时间/排序图标保持紧凑可用，
     让卡片名称与加入时间有足够空间，不让图标按钮挤压文本。 */
  .rc-resource-workbench-popover .rc-resource-slot-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .rc-resource-slot__tools { padding: 5px 4px 5px 6px; gap: 2px; }
  .rc-resource-slot__name { font-size: 9px; }
  .rc-resource-workbench-footer > p { display: none; }
  .rc-resource-workbench-footer { justify-content: flex-end; }
  .rc-resource-workbench-popover .rc-text-editor-section--content { flex-direction: column; }
  .rc-resource-workbench-popover .rc-text-editor-options,
  .rc-resource-workbench-popover .rc-text-editor-appearance { grid-template-columns: 1fr; }
  .rc-resource-workbench-popover .rc-text-editor-field { justify-content: space-between; width: 100%; }
  .rc-resource-workbench-popover .rc-text-editor-check { justify-content: center; }
  .rc-resource-workbench-popover .rc-web-editor-section { align-items: stretch; flex-direction: column; }
  .rc-resource-workbench-popover .rc-web-editor-field { justify-content: space-between; width: 100%; }
  .rc-resource-workbench-popover .rc-web-editor-field--wide { flex-basis: auto; }
  .rc-resource-workbench-popover .rc-web-editor-example { padding-left: 0; }
}
@media (max-width: 480px) { .rc-resource-workbench-popover .rc-resource-slot-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 360px) { .rc-resource-workbench-popover .rc-resource-slot-grid { grid-template-columns: minmax(0,1fr); } }
.rc-layout-editor-page #userFileControll { border-radius: 7px; overflow: hidden !important; }
.rc-layout-editor-page .ui-widget-overlay { z-index: 1200 !important; background: #062f28; opacity: .48; }
.rc-layout-editor-page .ui-dialog { z-index: 1201 !important; padding: 0; overflow: hidden; border: 1px solid var(--rc-border); border-radius: 7px; background: #fff; box-shadow: 0 22px 65px rgba(8,35,28,.30); }
.rc-layout-editor-page .ui-dialog-titlebar { min-height: 48px; padding: 13px 48px 11px 16px; box-sizing: border-box; color: var(--rc-text); background: #f7f9f8; border: 0; border-bottom: 1px solid var(--rc-border); border-radius: 0; }
.rc-layout-editor-page .ui-dialog-title { margin: 0; font-family: var(--rc-font); font-size: 14px; font-weight: 600; line-height: 24px; }
.rc-layout-editor-page .ui-dialog-titlebar-close { right: 14px; width: 28px; height: 28px; margin-top: -14px; border: 1px solid var(--rc-border); border-radius: 4px; background: #fff; }
.rc-layout-editor-page .ui-dialog-content { padding: 0 !important; overflow: hidden !important; }
.rc-layout-editor-page #userFileControllFrame { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.rc-layout-editor-page .ui-dialog-buttonpane { margin: 0; padding: 8px 12px; background: #f8faf9; border-top: 1px solid var(--rc-border); }
.rc-layout-editor-page .ui-dialog-buttonpane .ui-dialog-buttonset { display: flex; gap: 7px; float: right; }
.rc-layout-editor-page .ui-dialog-buttonpane button { min-width: 76px; min-height: 32px; margin: 0; padding: 5px 12px; color: #fff; background: var(--rc-primary); border: 0; border-radius: 4px; font-family: var(--rc-font); font-size: 11px; }
.rc-layout-editor-page .ui-dialog-buttonpane button:last-child { color: var(--rc-muted); background: #edf1ef; }
.rc-layout-editor-page .sucWrap2 { z-index: 1100; background: rgba(0,37,31,.52); }
.rc-layout-editor-page .sucModel { width: min(420px,calc(100vw - 32px)); padding: 30px 26px; border: 1px solid var(--rc-border); border-radius: 7px; box-shadow: 0 22px 60px rgba(8,35,28,.28); transform: translateY(-50%); }
.rc-layout-editor-page .sucModel button { min-height: 34px; padding: 6px 13px; border: 0; border-radius: 4px; color: #fff; background: var(--rc-primary) !important; }
.rc-layout-builder-page.rc-rtl .box_right,
.rc-layout-editor-page.rc-rtl .box_right,
.rc-layout-builder-page.rc-rtl .rc-layout-builder,
.rc-layout-editor-page.rc-rtl .rc-layout-editor { direction: rtl; text-align: right; }
.rc-layout-builder-page.rc-rtl .rc-layout-steps li { padding-right: 0; padding-left: 42px; }
.rc-layout-builder-page.rc-rtl .rc-layout-steps li:last-child,
.rc-layout-editor-page.rc-rtl .rc-layout-steps li:last-child { padding-left: 0; }
.rc-layout-builder-page.rc-rtl .rc-layout-steps li:not(:last-child),
.rc-layout-editor-page.rc-rtl .rc-layout-steps li:not(:last-child) { padding-right: 0; padding-left: 42px; }
.rc-layout-builder-page.rc-rtl .rc-layout-steps li:not(:last-child)::after,
.rc-layout-editor-page.rc-rtl .rc-layout-steps li:not(:last-child)::after { right: auto; left: 12px; }
.rc-layout-builder-page.rc-rtl .rc-layout-steps li > span,
.rc-layout-editor-page.rc-rtl .rc-layout-steps li > span { margin-right: 0; margin-left: 7px; }
.rc-layout-builder-page.rc-rtl .rc-orientation-option { text-align: right; }
.rc-layout-builder-page.rc-rtl .rc-layout-template-card input[type="radio"] { margin-right: 0; margin-left: 5px; }
.rc-layout-builder-page.rc-rtl .rc-layout-template-card #spblock_div > div[id].is-selected::after,
.rc-layout-builder-page.rc-rtl .rc-layout-template-card .screen_3_bot.is-selected::after { right: auto; left: 7px; }
.rc-layout-editor-page.rc-rtl .rc-editor-help > summary::after { margin-right: auto; margin-left: 0; }
.rc-layout-editor-page.rc-rtl .rc-editor-popover { text-align: right; }

/* Saved layout edit and read-only preview */
.rc-layout-preview-status { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 5px 10px; color: var(--rc-primary); font-size: 11px; font-weight: 600; background: #edf6f3; border: 1px solid #cee0da; border-radius: 15px; }
.rc-layout-preview-toolbar { position: relative; top: auto; }
.rc-layout-preview-back { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; gap: 6px; min-width: 82px; min-height: 34px; padding: 5px 11px; color: var(--rc-primary); font-size: 11px; font-weight: 600; text-decoration: none; background: #fff; border: 1px solid #b8d0c9; border-radius: 4px; }
.rc-layout-preview-back:hover,
.rc-layout-preview-back:focus { color: #fff; text-decoration: none; background: var(--rc-primary); border-color: var(--rc-primary); outline: 0; }
.rc-layout-preview .scre2_box { min-width: 670px; padding-left: 14px; }
.rc-layout-preview .rc-layout-window-meta { display: none !important; }
.rc-layout-preview .rc-layout-content-window,
.rc-layout-preview .lcol,
.rc-layout-preview .trow { cursor: default !important; }
.rc-layout-preview .col_split,
.rc-layout-preview .row_split { z-index: 1; background: #d7e0dd; box-shadow: none; cursor: default !important; pointer-events: none; }
.rc-layout-preview .col_split::before,
.rc-layout-preview .row_split::before { display: none; }
.rc-layout-preview .col_split:hover,
.rc-layout-preview .row_split:hover { background: #d7e0dd; box-shadow: none; }
.rc-layout-preview #wt_div { background: #f8faf9; }
.rc-layout-preview #wt_div img { display: block; object-fit: cover; }
.rc-layout-editor-page.rc-rtl .rc-layout-preview-back i { transform: rotate(180deg); }

@media (max-width: 1180px) {
  .rc-layout-basic-grid { grid-template-columns: minmax(220px,.85fr) minmax(270px,1.15fr); }
  .rc-layout-field--resolution { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .rc-layout-builder-page .box_right,
  .rc-layout-editor-page .box_right { padding: 12px 10px 24px; }
  .rc-layout-builder-heading,
  .rc-layout-editor-heading { align-items: flex-start; flex-direction: column; }
  .rc-layout-basic-grid { grid-template-columns: 1fr; }
  .rc-layout-field--resolution { grid-column: auto; }
  .rc-layout-editor-toolbar { position: relative; top: auto; align-items: stretch; flex-direction: column; }
  .rc-layout-editor-meta { width: 100%; }
  .rc-layout-editor-meta #pxName { width: min(360px,60vw) !important; }
  .rc-layout-editor-toolbar form { display: block; align-self: flex-end; }
  .rc-layout-editor-toolbar #perv { align-self: flex-end; }
  .rc-editor-workspace { padding: 14px 8px; }
}
@media (max-width: 560px) {
  .rc-layout-steps li { padding-right: 27px; font-size: 10px; }
  .rc-layout-steps li:not(:last-child)::after { right: 7px; width: 12px; }
  .rc-layout-basic-grid { gap: 14px; padding: 14px; }
  .rc-resolution-control { grid-template-columns: 1fr; }
  .rc-layout-basic-actions { align-items: stretch; flex-direction: column; }
  .rc-layout-basic-actions #next { width: 100%; }
  .rc-layout-template-heading { align-items: flex-start; flex-direction: column; }
  .rc-layout-template-card > .screen_1 > span,
  .rc-layout-template-card .screen_3_top > span { flex-basis: 100%; }
  .rc-layout-template-card #spblock_div { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px !important; }
  .rc-layout-editor-meta { align-items: stretch; flex-direction: column; }
  .rc-editor-name { align-items: stretch; flex-direction: column; }
  .rc-layout-editor-meta #pxName { width: 100% !important; }
  .rc-layout-editor-meta input[disabled] { max-width: 100%; }
  .rc-layout-editor-toolbar form,
  .rc-layout-editor-toolbar #perv,
  .rc-layout-editor-toolbar #save { width: 100%; align-self: stretch; }
}

/* Keep the September 14 component overrides after the legacy compatibility rules. */
.rc-remote-open { overflow:hidden!important; }
.rc-remote-overlay-backdrop { position:fixed;inset:0;z-index:8998;background:rgba(8,23,19,.62);backdrop-filter:blur(2px); }
.rc-remote-overlay { position:fixed;top:50%;left:50%;z-index:8999;width:min(342px,calc(100vw - 24px));height:min(720px,calc(100vh - 24px));overflow:hidden;background:transparent;border:0;box-shadow:none;transform:translate(-50%,-50%); }
.rc-remote-overlay iframe { display:block;width:100%;height:100%;background:transparent;border:0; }
.rc-remote-handset__close { position:absolute;top:10px;right:10px;z-index:5;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;font-size:14px;color:#d6dfdc;background:#202825;border:1px solid #0d1210;border-radius:50%;box-shadow:inset 0 1px rgba(255,255,255,.12),0 2px 4px rgba(0,0,0,.28);cursor:pointer; }
.rc-remote-handset__close:hover,.rc-remote-handset__close:focus { color:#fff;background:#39433f;outline:0; }
.rc-remote-handset .rc-remote-display { padding-right:42px; }
.rc-remote-page.rc-rtl .rc-remote-handset__close { right:auto;left:10px; }.rc-remote-page.rc-rtl .rc-remote-handset .rc-remote-display{padding-right:12px;padding-left:42px}
html.rc-remote-document,body.rc-remote-page { min-height:0!important;margin:0!important;padding:0!important;background:transparent!important; }
body.rc-remote-page { overflow:auto!important; }
body.rc-remote-page #webControl { width:100%!important;min-height:0!important;margin:0!important;padding:0!important;background:transparent!important; }
body.rc-remote-page .remote_control { width:100%;margin:0!important;padding:6px!important;background:transparent!important;border-radius:0!important; }
body.rc-remote-page .rc-remote-handset { width:330px;max-width:100%;margin:0 auto; }
body.rc-remote-page::-webkit-scrollbar { width:6px;height:6px; }body.rc-remote-page::-webkit-scrollbar-track{background:transparent}body.rc-remote-page::-webkit-scrollbar-thumb{background:rgba(120,136,130,.7);border-radius:6px}
.rc-intercut-resource-dialog { padding:0!important;overflow:hidden;border:0!important;border-radius:8px!important;box-shadow:0 18px 50px rgba(17,52,43,.24)!important; }
.rc-intercut-resource-dialog .ui-dialog-titlebar { min-height:48px;padding:13px 16px!important;color:#fff;background:linear-gradient(112deg,var(--rc-shell),var(--rc-primary))!important;border:0!important;border-radius:8px 8px 0 0!important; }
.rc-intercut-resource-dialog .ui-dialog-title { margin:0!important;color:#fff!important;font-size:15px!important;line-height:22px!important; }
.rc-intercut-resource-dialog .ui-dialog-titlebar-close { top:14px!important;right:14px!important;margin:0!important;filter:brightness(0) invert(1);opacity:.85; }
.rc-intercut-resource-dialog .ui-dialog-content { padding:0!important;overflow:hidden!important;background:#f5f7f6!important; }
.rc-intercut-resource-dialog .ui-dialog-buttonpane { margin:0!important;padding:10px 14px!important;background:#fff!important;border-top:1px solid var(--rc-border)!important; }
.rc-intercut-resource-dialog .ui-dialog-buttonset button { min-width:82px;min-height:34px;margin:0 0 0 8px!important;padding:6px 14px!important;color:var(--rc-primary)!important;background:#fff!important;border:1px solid #b9ccc5!important;border-radius:4px!important;box-shadow:none!important;text-shadow:none!important; }
.rc-intercut-resource-dialog .ui-dialog-buttonset button:first-child { color:#fff!important;background:var(--rc-primary)!important;border-color:var(--rc-primary)!important; }
.rc-device-list .rc-device-table .rc-device-progress { display:block!important;width:min(128px,100%)!important;min-width:86px!important;height:18px!important;margin:5px auto 0!important;overflow:hidden!important;line-height:18px!important;background:#e6ece9!important;border:1px solid #d6dfdb!important;border-radius:9px!important;box-shadow:inset 0 1px 2px rgba(20,52,43,.08)!important; }
.rc-device-list .rc-device-table .rc-device-progress .bgS { position:absolute!important;top:0!important;right:auto!important;bottom:0!important;left:0!important;display:block!important;height:100%!important;max-width:100%!important;background:linear-gradient(90deg,#0a6b59,#2b8d78)!important; }
.rc-device-list .rc-device-table .rc-device-progress .blue { position:relative!important;z-index:1!important;display:block!important;width:100%!important;height:100%!important;padding:0 4px!important;color:#fff!important;font-size:10px!important;font-weight:700!important;line-height:17px!important;text-align:center!important;text-shadow:0 1px 1px rgba(0,0,0,.28)!important; }

/* Device list: resource download progress dialog */
.rc-file-progress-dialog { width: min(760px, calc(100vw - 30px)) !important; overflow: hidden; }
.rc-file-progress-dialog .ui-dialog-titlebar { min-height: 46px; box-sizing: border-box; }
.rc-file-progress-dialog .ui-dialog-content { min-height: 210px !important; max-height: calc(100vh - 150px) !important; padding: 16px 18px !important; overflow: auto !important; background: #fff; }
.rc-file-progress-dialog .ui-dialog-buttonpane { padding: 10px 18px !important; background: #f8faf9 !important; }
.rc-file-progress-dialog .ui-dialog-buttonpane .ui-button:first-child { min-width: 74px; min-height: 34px; color: var(--rc-muted) !important; background: #fff !important; border-color: #cfd8d5 !important; }
.rc-file-progress { color: var(--rc-text); font-family: var(--rc-font); }
.rc-file-progress__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; margin-bottom: 12px; }
.rc-file-progress__speed { display: inline-flex; align-items: center; min-height: 28px; color: var(--rc-muted); font-size: 12px; }
.rc-file-progress__speed:not(:empty)::before { width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--rc-primary); content: ""; }
.rc-file-progress__refresh { display: inline-flex !important; align-items: center; justify-content: center; gap: 5px; min-height: 32px !important; margin: 0 0 0 auto !important; padding: 5px 11px !important; border: 1px solid var(--rc-accent) !important; border-radius: 4px !important; color: #fff !important; background: var(--rc-accent) !important; font-size: 12px !important; line-height: 20px !important; text-shadow: none !important; box-shadow: none !important; }
.rc-file-progress__refresh:hover { background: #2f6b91 !important; border-color: #2f6b91 !important; }
.rc-file-progress__refresh[disabled] { opacity: .62; cursor: wait; }
.rc-file-progress__refresh.is-loading i { animation: rc-file-progress-spin .8s linear infinite; }
.rc-file-progress__table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--rc-border); border-radius: 5px; }
.rc-file-progress__table { width: 100%; min-width: 560px; margin: 0; border: 0; border-collapse: collapse; table-layout: fixed; }
.rc-file-progress__table th { height: 40px; padding: 7px 10px; color: #4e5b57; background: #f1f4f3; border: 0; border-bottom: 1px solid var(--rc-border); font-size: 12px; font-weight: 600; line-height: 20px; text-align: left; white-space: nowrap; }
.rc-file-progress__table td { height: 42px; padding: 7px 10px; color: var(--rc-text); background: #fff; border: 0; border-bottom: 1px solid #edf0ef; font-size: 12px; line-height: 20px; text-align: left; vertical-align: middle; }
.rc-file-progress__table tbody tr:nth-child(even) td { background: #fcfdfd; }
.rc-file-progress__table tbody tr:hover td { background: #f5f9f7; }
.rc-file-progress__table tbody tr:last-child td { border-bottom: 0; }
.rc-file-progress__table th:first-child,.rc-file-progress__table td:first-child { width: 54px; text-align: center; }
.rc-file-progress__table th:nth-child(2) { width: 120px; }
.rc-file-progress__table th:nth-child(3) { width: 100px; }
.rc-file-progress__table th:nth-child(4) { width: 190px; }
.rc-file-progress__table th:last-child,.rc-file-progress__table td:last-child { width: 92px; text-align: right; }
.rc-file-progress__status { display: inline-flex; align-items: center; gap: 5px; min-height: 22px; padding: 2px 8px; border-radius: 11px; color: #65716d; background: #eef1f0; font-size: 11px; font-weight: 600; white-space: nowrap; }
.rc-file-progress__status::before { width: 6px; height: 6px; border-radius: 50%; background: currentColor; content: ""; }
.rc-file-progress__status--complete { color: #087a5d; background: #e4f5ee; }
.rc-file-progress__status--failed { color: #a1473f; background: #fbeeec; }
.rc-file-progress__status--pending { color: #8a641e; background: #fff4d9; }
.rc-file-progress__empty { height: 150px !important; color: #87918e !important; text-align: center !important; }
.rc-device-page.rc-rtl .rc-file-progress__speed:not(:empty)::before { margin-right: 0; margin-left: 7px; }
.rc-device-page.rc-rtl .rc-file-progress__refresh { margin-right: auto !important; margin-left: 0 !important; }
.rc-device-page.rc-rtl .rc-file-progress__table th,.rc-device-page.rc-rtl .rc-file-progress__table td { text-align: right; }
.rc-device-page.rc-rtl .rc-file-progress__table th:first-child,.rc-device-page.rc-rtl .rc-file-progress__table td:first-child { text-align: center; }
.rc-device-page.rc-rtl .rc-file-progress__table th:last-child,.rc-device-page.rc-rtl .rc-file-progress__table td:last-child { text-align: left; }
@keyframes rc-file-progress-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .rc-file-progress__refresh.is-loading i { animation: none; } }
@media (max-width: 640px) {
  .rc-file-progress-dialog .ui-dialog-content { padding: 12px !important; }
  .rc-file-progress__toolbar { align-items: stretch; flex-direction: column; }
  .rc-file-progress__refresh { width: 100%; margin: 0 !important; }
}
body.rc-remote-page #webControl { width:min(390px,calc(100% - 20px));padding-bottom:12px;background:transparent;border:0;box-shadow:none; }
body.rc-remote-page .rc-remote-heading { min-height:64px;border-radius:14px 14px 0 0; }
body.rc-remote-page .remote_control { padding:16px;background:#e9eeec;border-radius:18px; }
body.rc-remote-page.rc-rtl .rc-remote-handset { direction:ltr; }
.rc-remote-screenshot-backdrop { position:fixed;inset:0;z-index:1040;display:none;background:rgba(10,25,21,.58); }
.rc-remote-screenshot-dialog { position:fixed;top:50%;left:50%;z-index:1050;display:none;width:min(360px,calc(100% - 24px));margin:0;color:var(--rc-text);background:#fff;border:0;border-radius:7px;box-shadow:0 18px 50px rgba(17,52,43,.3);transform:translate(-50%,-50%); }
.rc-remote-screenshot-dialog .modal-header { padding:12px 14px;background:#f7f9f8;border-bottom:1px solid var(--rc-border);border-radius:7px 7px 0 0; }
.rc-remote-screenshot-dialog .modal-header h3 { margin:0;color:var(--rc-text);font-size:15px;line-height:24px; }
.rc-remote-screenshot-dialog .modal-header .close { margin:0;color:var(--rc-muted);font-size:22px;line-height:24px;opacity:.8; }
.rc-remote-screenshot-dialog .modal-body { max-height:min(420px,calc(100vh - 150px));padding:12px;overflow:auto; }
.rc-remote-screenshot-dialog .modal-footer { padding:10px 14px;background:#fafbfb;border-top:1px solid var(--rc-border);border-radius:0 0 7px 7px;box-shadow:none; }
.rc-remote-screenshot-dialog .modal-footer .btn { min-width:74px;margin:0;color:var(--rc-muted);background:#fff;border:1px solid #cfd9d5;border-radius:4px;box-shadow:none;text-shadow:none; }
.rc-remote-screenshot { display:flex;align-items:center;justify-content:center;min-height:220px;overflow:hidden;background:#111916;border-radius:6px; }
.rc-remote-screenshot img { display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:380px!important;margin:0!important;padding:0!important;object-fit:contain; }
.rc-remote-screenshot img.is-loading { width:32px!important;height:32px!important; }
body.rc-batch-settings-page .rc-batch-settings-grid { display:grid;gap:14px; }
body.rc-batch-settings-page .rc-batch-power-panel--unified { box-sizing:border-box;width:100%; }
body.rc-scrolltext-page .rc-scrolltext-workspace { display:grid;grid-template-columns:minmax(280px,.78fr) minmax(480px,1.5fr);gap:14px;margin-top:16px; }
body.rc-scrolltext-page .rc-scrolltext-presets { height:auto!important;max-height:640px;margin:0!important;overflow-y:auto!important; }
body.rc-scrolltext-page .rc-scrolltext-workspace .rc-scrolltext-editor { margin:0!important; }
@media(max-width:1080px){body.rc-scrolltext-page .rc-scrolltext-workspace{grid-template-columns:1fr}body.rc-scrolltext-page .rc-scrolltext-presets{max-height:420px}}
@media(max-width:900px){body.rc-batch-settings-page .rc-batch-power-panel--unified{float:none!important;width:100%}}

/* Batch settings workspace */
.rc-batch-settings-page .rc-publish-workspace { max-width:1480px;margin:0 auto; }
.rc-batch-page-heading { display:flex;align-items:center;justify-content:space-between;gap:18px;margin:14px 0;padding:18px 20px;color:#fff;background:linear-gradient(115deg,var(--rc-shell),var(--rc-primary));border-radius:7px;box-shadow:0 8px 24px rgba(0,63,53,.14); }
.rc-batch-page-heading>div { display:flex;align-items:center;gap:13px;min-width:0; }.rc-batch-page-heading>div>span{display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);border-radius:50%}
.rc-batch-page-heading h1 { margin:0;color:#fff;font-size:21px;line-height:1.35; }.rc-batch-page-heading p{margin:4px 0 0;overflow:hidden;color:rgba(255,255,255,.72);font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.rc-batch-page-heading .rc-btn--neutral { flex:0 0 auto;color:#fff;background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.28); }.rc-batch-page-heading .rc-btn--neutral:hover{background:rgba(255,255,255,.18)}
.rc-batch-target-card { margin-bottom:14px;overflow:hidden;background:#fff;border:1px solid var(--rc-border);border-radius:var(--rc-radius);box-shadow:var(--rc-shadow); }
.rc-batch-target-header { display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:76px;padding:13px 16px; }
.rc-batch-target-title { display:flex;align-items:center;gap:11px;min-width:0; }.rc-batch-target-title>span{display:inline-flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;color:var(--rc-primary);background:#e8f2ef;border-radius:6px}
.rc-batch-target-title h2 { margin:0;color:var(--rc-text);font-size:15px;line-height:1.4; }.rc-batch-target-title p{margin:3px 0 0;color:var(--rc-muted);font-size:11px}.rc-batch-target-title strong{color:var(--rc-primary);font-size:15px}
.rc-batch-target-toggle { display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:6px 11px;color:var(--rc-primary);background:#fff;border:1px solid #bfd0ca;border-radius:4px;cursor:pointer; }.rc-batch-target-toggle:hover{background:#f2f7f5}.rc-batch-toggle-icon{margin-left:3px;transition:transform .18s}.rc-batch-target-toggle[aria-expanded=true] .rc-batch-toggle-icon{transform:rotate(180deg)}
.rc-batch-target-body { padding:0 14px 14px;border-top:1px solid var(--rc-border); }.rc-batch-target-body.is-collapsed{display:none}.rc-batch-target-body .rc-publish-notice{margin:12px 0!important}.rc-batch-target-body .rc-publish-device-grid{margin:0!important}
.rc-batch-target-body .rc-batch-target-notice { display:flex;align-items:flex-start;gap:11px;box-sizing:border-box;width:100%;height:auto!important;min-height:0;padding:12px 14px!important;overflow:visible;line-height:1.55!important; }
.rc-batch-target-notice__icon { display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;color:#9a6b14;background:#fff4d9;border-radius:50%; }
.rc-batch-target-notice__content { min-width:0;flex:1; }.rc-batch-target-notice__content>strong{display:block;margin:0 0 3px;color:var(--rc-text);font-size:13px;line-height:1.45}.rc-batch-target-notice__content p{float:none!important;width:auto!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;color:var(--rc-muted);font-size:12px;line-height:1.65!important;white-space:normal;overflow-wrap:anywhere}.rc-batch-target-notice__content .rc-batch-target-notice__warning{margin-top:3px!important;color:#8b5b0d}
.rc-batch-settings-page.rc-rtl .rc-batch-target-notice { direction:rtl;text-align:right;border-right:4px solid var(--rc-marker)!important;border-left:1px solid #dce9e4!important; }
.rc-batch-settings .rc-publish-categories #wrapper { position:static!important;box-sizing:border-box;width:100%!important;height:auto!important;min-height:0;flex:1;padding:10px!important;overflow:auto!important;border:0!important; }
.rc-batch-card-heading { display:flex;align-items:center;gap:11px;margin:-2px 0 13px;padding-bottom:13px;border-bottom:1px solid #e8edeb; }.rc-batch-card-heading>span{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;color:var(--rc-primary);background:#e9f3f0;border-radius:6px}
.rc-batch-card-heading h2 { margin:0;color:var(--rc-text);font-size:15px;line-height:1.35; }.rc-batch-card-heading small{display:block;margin-top:3px;color:var(--rc-muted);font-size:10px}.rc-batch-card-heading strong{color:var(--rc-primary);font-size:12px}
.rc-batch-setting-card .prompt p { border-bottom:0!important; }.rc-batch-setting-card--wide{padding:18px!important}.rc-batch-setting-card--danger{background:#fffafa!important;border-color:#edcfcb!important}.rc-batch-setting-card--danger::before{background:var(--rc-danger)!important}.rc-batch-setting-card--danger .rc-batch-card-heading>span{color:var(--rc-danger);background:#fbecea}.rc-batch-setting-card--danger .prompt p span{color:var(--rc-danger)}
.rc-batch-setting-card .rc-btn { display:inline-flex;align-items:center;justify-content:center;gap:6px;width:auto!important;min-width:108px;min-height:36px;margin:0!important;padding:7px 14px!important;border-radius:4px!important;box-shadow:none!important;text-shadow:none!important; }.rc-batch-setting-card .rc-btn--accent{color:#fff!important;background:var(--rc-accent)!important;border-color:var(--rc-accent)!important}.rc-batch-setting-card .rc-btn--danger{color:#fff!important;background:var(--rc-danger)!important;border-color:var(--rc-danger)!important}
.rc-batch-volume-control { margin-top:4px; }.rc-batch-volume-control #rating-21{cursor:pointer}.rc-batch-volume-control #result-21{min-width:96px!important;white-space:nowrap}.rc-batch-volume-control .rc-btn{flex:0 0 auto}
.rc-batch-settings .screenshots #screenCutImg { display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;min-height:0;margin-top:14px;padding:0;background:transparent;border:0!important;box-shadow:none}.rc-batch-settings .screenshots #screenCutImg:empty{display:none}.rc-batch-settings .screenshots #screenCutImg>#loadindImg{width:32px;height:32px;margin:14px auto}
.rc-batch-settings .screenCutItem { min-width:0;padding:9px;overflow:hidden;background:#f7f9f8;border:1px solid var(--rc-border);border-radius:5px}.rc-batch-settings .screenCutItem a{display:block;width:100%;margin:6px 0!important;overflow:hidden;border-radius:4px}.rc-batch-settings .screenCutItem a img{display:block;width:100%!important;height:84px!important;object-fit:cover}.rc-batch-settings .screenCutItem span{display:block;width:100%;overflow:hidden;color:var(--rc-muted);font-size:10px;line-height:1.5;text-align:center;text-overflow:ellipsis;white-space:nowrap}.rc-batch-settings .screenCutItem span:first-child{color:var(--rc-text);font-weight:600}
.rc-batch-settings-page.rc-rtl .rc-batch-page-heading,.rc-batch-settings-page.rc-rtl .rc-batch-target-header,.rc-batch-settings-page.rc-rtl .rc-batch-card-heading{direction:rtl;text-align:right}.rc-batch-settings-page.rc-rtl .rc-batch-toggle-icon{margin-right:3px;margin-left:0}.rc-batch-settings-page.rc-rtl .rc-batch-setting-card::before{right:0;left:auto}
@media(max-width:760px){.rc-batch-page-heading{align-items:flex-start;flex-direction:column}.rc-batch-page-heading .rc-btn{width:100%}.rc-batch-target-header{align-items:flex-start;flex-direction:column}.rc-batch-target-toggle{width:100%;justify-content:center}.rc-batch-power-panel{width:100%!important;float:none!important;margin-top:10px}.rc-batch-setting-row{grid-template-columns:1fr!important}}

/* Scroll subtitle publishing studio */
.rc-scrolltext-page .rc-publish-workspace { max-width:1480px;margin:0 auto; }
.rc-scrolltext-hero { display:flex;align-items:center;justify-content:space-between;gap:18px;margin:14px 0;padding:18px 20px;color:#fff;background:linear-gradient(115deg,var(--rc-shell),var(--rc-primary));border-radius:7px;box-shadow:0 8px 24px rgba(0,63,53,.14); }
.rc-scrolltext-hero>div { display:flex;align-items:center;gap:13px;min-width:0; }.rc-scrolltext-hero>div>span{display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);border-radius:50%}.rc-scrolltext-hero small{display:block;margin-bottom:2px;color:#d9ad48;font-size:10px;font-weight:700;letter-spacing:.05em}.rc-scrolltext-hero h1{margin:0;color:#fff;font-size:21px;line-height:1.35}.rc-scrolltext-hero p{margin:4px 0 0;color:rgba(255,255,255,.74);font-size:12px;line-height:1.55}.rc-scrolltext-hero .rc-btn--neutral{flex:0 0 auto;color:#fff;background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.28)}.rc-scrolltext-hero .rc-btn--neutral:hover{background:rgba(255,255,255,.18)}
.rc-scrolltext-steps { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 14px;padding:0;overflow:hidden;list-style:none;background:#fff;border:1px solid var(--rc-border);border-radius:6px;box-shadow:var(--rc-shadow); }.rc-scrolltext-steps li{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:8px 12px;color:var(--rc-muted);font-size:12px;font-weight:600}.rc-scrolltext-steps li:not(:last-child){border-right:1px solid var(--rc-border)}.rc-scrolltext-steps li span{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;color:var(--rc-muted);background:#edf1ef;border-radius:50%}.rc-scrolltext-steps li.is-active{color:var(--rc-primary);background:#f2f8f6}.rc-scrolltext-steps li.is-active span{color:#fff;background:var(--rc-primary)}
.rc-scrolltext-target-card { margin-bottom:14px;overflow:hidden;background:#fff;border:1px solid var(--rc-border);border-radius:6px;box-shadow:var(--rc-shadow); }.rc-scrolltext-target-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:70px;padding:12px 16px}.rc-scrolltext-target-title{display:flex;align-items:center;gap:11px;min-width:0}.rc-scrolltext-target-title>span{display:inline-flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;color:var(--rc-primary);background:#e8f2ef;border-radius:6px}.rc-scrolltext-target-title h2{margin:0;color:var(--rc-text);font-size:15px;line-height:1.4}.rc-scrolltext-target-title p{margin:3px 0 0;color:var(--rc-muted);font-size:11px}.rc-scrolltext-target-title strong{color:var(--rc-primary);font-size:15px}.rc-scrolltext-target-toggle{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:6px 11px;color:var(--rc-primary);background:#fff;border:1px solid #bfd0ca;border-radius:4px;cursor:pointer}.rc-scrolltext-target-toggle:hover{background:#f2f7f5}.rc-scrolltext-toggle-icon{margin-left:3px}.rc-scrolltext-target-body{padding:0 14px 14px;border-top:1px solid var(--rc-border)}.rc-scrolltext-target-body.is-collapsed{display:none}
.rc-scrolltext-target-body .rc-scrolltext-notice { display:flex;align-items:flex-start;gap:11px;box-sizing:border-box;width:100%;height:auto!important;min-height:0;margin:12px 0!important;padding:12px 14px!important;overflow:visible;line-height:1.55!important }.rc-scrolltext-notice__icon{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 30px;width:30px!important;height:30px!important;color:#9a6b14;background:#fff4d9;border-radius:50%}.rc-scrolltext-notice>div{min-width:0;flex:1}.rc-scrolltext-notice strong{display:block;margin:0 0 3px;color:var(--rc-text);font-size:13px}.rc-scrolltext-notice p{float:none!important;width:auto!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;color:var(--rc-muted);font-size:12px;line-height:1.65!important;white-space:normal;overflow-wrap:anywhere}
.rc-scrolltext-target-body .rc-publish-device-grid{margin:0!important}.rc-scrolltext .rc-scrolltext-panel-title{display:flex!important;align-items:center;justify-content:space-between;gap:8px;box-sizing:border-box;width:100%!important;min-height:48px!important;margin:0!important;padding:0 13px!important;color:var(--rc-text)!important;font-size:12px;font-weight:700;line-height:1.4!important;background:#fafbfb!important;border-bottom:1px solid var(--rc-border)}.rc-scrolltext-panel-title>span{display:inline-flex!important;align-items:center;gap:7px}.rc-scrolltext-panel-title i{color:var(--rc-primary)}.rc-scrolltext-panel-title>strong{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:22px;padding:0 7px;color:#fff;font-size:10px;background:var(--rc-primary);border-radius:11px}.rc-scrolltext .rc-publish-categories #wrapper{top:auto!important;width:100%!important;height:360px!important;padding:10px!important}
.rc-scrolltext-page .scrolltextlist::after,.rc-scrolltext-page .addscrolltext::after{display:none!important;content:none!important}.rc-scrolltext-workspace{align-items:start}.rc-scrolltext-page .rc-scrolltext-presets{position:relative;max-height:760px!important;padding:0!important;overflow:auto!important}.rc-scrolltext-section-heading{position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:10px;min-height:62px;padding:10px 13px;background:#fff;border-bottom:1px solid var(--rc-border)}.rc-scrolltext-section-heading>span{display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;color:var(--rc-primary);background:#e9f3f0;border-radius:5px}.rc-scrolltext-section-heading>div{min-width:0;flex:1}.rc-scrolltext-section-heading h2{margin:0;color:var(--rc-text);font-size:14px;line-height:1.35}.rc-scrolltext-section-heading p{margin:3px 0 0;overflow:hidden;color:var(--rc-muted);font-size:10px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.rc-scrolltext-section-heading>strong{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:24px;color:var(--rc-primary);font-size:11px;background:#e9f3f0;border-radius:12px}
.rc-scrolltext-presets .roll_div{box-sizing:border-box;width:auto!important;margin:10px 12px!important;padding:10px!important;transition:border-color .16s,box-shadow .16s}.rc-scrolltext-presets .roll_div.is-active{border-color:#8cb9ac;background:#f3f9f7;box-shadow:0 0 0 2px rgba(7,93,78,.08)}.rc-scrolltext-presets .roll_div_box{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;gap:6px!important}.rc-scrolltext-presets .roll_marquee{width:100%!important}.rc-scrolltext-presets .roll_a{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:52px!important;padding:7px 8px!important}.rc-scrolltext-presets .roll_p{padding-top:7px;border-top:1px solid #e7ecea}.rc-scrolltext-empty{display:flex;align-items:center;flex-direction:column;justify-content:center;min-height:190px;padding:24px;color:var(--rc-muted);text-align:center}.rc-scrolltext-empty>i{margin-bottom:10px;color:#9aa7a2;font-size:25px}.rc-scrolltext-empty p{margin:0;line-height:1.7}
.rc-scrolltext-page .rc-scrolltext-editor{padding:0!important;overflow:hidden!important}.rc-scrolltext-editor-heading{position:static;margin:0!important}.rc-scrolltext-editor>div:not(.rc-scrolltext-section-heading){padding:14px 16px 0}.rc-scrolltext-editor .zImg{margin:0 0 14px!important;padding:0!important;overflow:hidden;background:#111b18!important;border:1px solid #25332f;border-radius:6px!important}.rc-scrolltext-preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;padding:0 12px;color:#d9e4e0;background:#1d2925;border-bottom:1px solid rgba(255,255,255,.08)}.rc-scrolltext-preview-toolbar strong{display:inline-flex;align-items:center;gap:7px;font-size:11px}.rc-scrolltext-preview-toolbar button{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;color:#d9e4e0;font-size:10px;background:transparent;border:1px solid rgba(255,255,255,.18);border-radius:4px}.rc-scrolltext-preview-screen{position:relative;display:flex;align-items:center;min-height:100px;padding:16px;background:linear-gradient(145deg,#15221e,#0d1513)}.rc-scrolltext-preview-screen p{position:relative!important;width:100%;height:auto!important;margin:0!important}.rc-scrolltext-preview-screen marquee{display:block;width:100%;box-sizing:border-box}
.rc-scrolltext-form-card,.rc-scrolltext-schedule-card,.rc-scrolltext-speech{box-sizing:border-box;margin:0 0 12px!important;padding:14px!important;background:#f8faf9!important;border:1px solid var(--rc-border);border-radius:6px!important}.rc-scrolltext-form-card h3,.rc-scrolltext-schedule-card h3{display:flex;align-items:center;gap:7px;margin:0 0 3px;color:var(--rc-text);font-size:13px}.rc-scrolltext-form-card h3 i,.rc-scrolltext-schedule-card h3 i{color:var(--rc-primary)}.rc-scrolltext-field-hint{height:auto!important;margin:0 0 9px!important;color:var(--rc-muted)!important;font-size:10px!important;line-height:1.5!important}.rc-scrolltext-editor textarea#content{min-height:104px!important;margin:0!important;padding:10px 12px!important}.rc-scrolltext-character-count{margin-top:6px;color:var(--rc-muted);font-size:10px;text-align:right}.rc-scrolltext-character-count strong{color:var(--rc-primary)}.rc-scrolltext-character-count strong.is-over-limit{color:var(--rc-danger)}.rc-scrolltext-subheading{margin-top:14px!important;padding-top:13px;border-top:1px solid #e5ebe8}
.rc-scrolltext-editor .Zradio,.rc-scrolltext-editor .backColor,.rc-scrolltext-editor .wordPo{box-sizing:border-box}.rc-scrolltext-editor .rc-scrolltext-form-card>.Zradio,.rc-scrolltext-editor .rc-scrolltext-form-card>.backColor,.rc-scrolltext-editor .rc-scrolltext-form-card>.wordPo{margin:8px 0 0!important;background:#fff!important;border:1px solid #e7ecea}.rc-scrolltext-editor .rc-scrolltext-form-card>.wordPo{display:grid!important;grid-template-columns:minmax(150px,.6fr) minmax(260px,1.4fr);gap:10px}.rc-scrolltext-editor .wordPo input#fontSize{width:72px!important}.rc-scrolltext-control-heading{display:flex;flex:0 0 100%;align-items:center;gap:7px;margin-bottom:4px;color:var(--rc-text);font-size:13px}.rc-scrolltext-control-heading i{color:var(--rc-primary)}.rc-scrolltext-editor .rc-scrolltext-speech{display:flex!important;width:100%!important;margin:0 0 12px!important;padding:14px!important}.rc-scrolltext-editor .rc-scrolltext-speech label{min-height:30px;padding:5px 9px!important;background:#fff;border:1px solid var(--rc-border);border-radius:4px}
.rc-scrolltext-editor .rc-scrolltext-schedule-card{padding:14px!important;border-top:1px solid var(--rc-border)!important}.rc-scrolltext-schedule-card>p,.rc-scrolltext-schedule-card>div{display:flex!important;align-items:center;flex-wrap:wrap;gap:10px;height:auto!important;margin:10px 0 0!important}.rc-scrolltext-schedule-card input,.rc-scrolltext-schedule-card select{box-sizing:border-box;height:34px!important;margin:0!important}.rc-scrolltext-schedule-card #playSDate,.rc-scrolltext-schedule-card #playEDate{width:126px!important}.rc-scrolltext-schedule-card>div>div:first-child{display:flex!important;align-items:center;flex:1 1 460px;flex-wrap:wrap;gap:6px;width:auto!important}.rc-scrolltext-schedule-card #playCurTime{display:inline-flex!important;align-items:center;flex-wrap:wrap;gap:5px}.rc-scrolltext-schedule-card .Zradio{margin:0!important;padding:6px 9px!important;background:#fff!important;border:1px solid var(--rc-border)}
.rc-scrolltext-editor .rc-scrolltext-publish-bar{display:flex!important;align-items:center!important;justify-content:space-between;gap:14px;margin:14px -14px 0!important;padding:12px 14px!important;background:#f7f9f8;border-top:1px solid var(--rc-border)}.rc-scrolltext-editor .rc-scrolltext-publish-summary{display:flex!important;align-items:center;flex:1;flex-wrap:wrap;gap:6px 14px;width:auto!important;min-width:0}.rc-scrolltext-publish-summary>strong{flex:0 0 100%;color:var(--rc-text);font-size:11px}.rc-scrolltext-publish-summary>span{display:inline-flex!important;align-items:center;gap:5px;max-width:230px;color:var(--rc-muted);font-size:10px}.rc-scrolltext-publish-summary>span b{overflow:hidden;color:var(--rc-text);font-weight:600;text-overflow:ellipsis;white-space:nowrap}.rc-scrolltext-publish-summary i{color:var(--rc-primary)}.rc-scrolltext-editor .rc-scrolltext-publish-bar .rc-publish-actions{display:flex!important;flex:0 0 auto;justify-content:flex-end;gap:8px;width:auto!important;margin:0!important}.rc-scrolltext-editor .rc-scrolltext-publish-bar .rc-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;min-width:112px;min-height:36px;margin:0!important;padding:7px 14px!important;border-radius:4px!important}.rc-scrolltext-editor .rc-scrolltext-publish-bar .rc-btn--primary{color:#fff;background:var(--rc-primary);border-color:var(--rc-primary)}
.rc-scrolltext-page.rc-rtl .rc-scrolltext-hero,.rc-scrolltext-page.rc-rtl .rc-scrolltext-target-header,.rc-scrolltext-page.rc-rtl .rc-scrolltext-section-heading,.rc-scrolltext-page.rc-rtl .rc-scrolltext-publish-bar{direction:rtl;text-align:right}.rc-scrolltext-page.rc-rtl .rc-scrolltext-steps{direction:rtl}.rc-scrolltext-page.rc-rtl .rc-scrolltext-steps li:not(:last-child){border-right:0;border-left:1px solid var(--rc-border)}.rc-scrolltext-page.rc-rtl .rc-scrolltext-notice{direction:rtl;text-align:right;border-right:4px solid var(--rc-marker)!important;border-left:1px solid #dce9e4!important}.rc-scrolltext-page.rc-rtl .rc-scrolltext-toggle-icon{margin-right:3px;margin-left:0}.rc-scrolltext-page.rc-rtl .rc-scrolltext-character-count{text-align:left}.rc-scrolltext-page.rc-rtl .rc-scrolltext-panel-title,.rc-scrolltext-page.rc-rtl .rc-scrolltext-schedule-card{direction:rtl;text-align:right}
@media(max-width:1080px){.rc-scrolltext-page .rc-scrolltext-workspace{grid-template-columns:1fr!important}.rc-scrolltext-page .rc-scrolltext-presets{max-height:420px!important}.rc-scrolltext-editor .rc-scrolltext-publish-bar{align-items:flex-start;flex-direction:column}.rc-scrolltext-editor .rc-scrolltext-publish-bar .rc-publish-actions{width:100%!important}}
@media(max-width:900px){.rc-scrolltext-target-body .rc-publish-device-grid{grid-template-columns:1fr 1fr}.rc-scrolltext-target-body .rc-publish-categories{grid-column:1/-1;height:210px!important}.rc-scrolltext .rc-publish-categories #wrapper{height:160px!important}}
@media(max-width:640px){.rc-scrolltext-hero,.rc-scrolltext-target-header{align-items:flex-start;flex-direction:column}.rc-scrolltext-hero .rc-btn,.rc-scrolltext-target-toggle{width:100%;justify-content:center}.rc-scrolltext-steps li{flex-direction:column;gap:4px;padding:7px 4px;font-size:10px;text-align:center}.rc-scrolltext-target-body .rc-publish-device-grid{grid-template-columns:1fr}.rc-scrolltext-editor .rc-scrolltext-form-card>.wordPo{grid-template-columns:1fr}.rc-scrolltext-schedule-card #playSDate,.rc-scrolltext-schedule-card #playEDate{width:112px!important}.rc-scrolltext-editor .rc-scrolltext-publish-bar .rc-publish-actions{flex-direction:column}.rc-scrolltext-editor .rc-scrolltext-publish-bar .rc-btn{width:100%}}
@media(prefers-reduced-motion:reduce){.rc-scrolltext-presets .roll_div{transition:none}}

/* Compact subtitle controls and CSS-driven live preview */
.rc-scrolltext-editor>div:not(.rc-scrolltext-section-heading){padding:11px 13px 0}
.rc-scrolltext-editor .zImg{margin-bottom:10px!important}
.rc-scrolltext-preview-toolbar{min-height:34px;padding:0 10px}
.rc-scrolltext-preview-screen{display:block;box-sizing:border-box;min-height:86px;padding:8px 10px}
.rc-scrolltext-preview-stage{position:relative;width:100%;height:70px;overflow:hidden;border:1px solid rgba(255,255,255,.08);border-radius:4px;background:rgba(0,0,0,.16)}
.rc-scrolltext-preview-text{position:absolute;left:0;z-index:1;box-sizing:border-box;min-width:100%;width:max-content;max-width:none;padding:5px 12px;color:#000;background:#fff;font-size:12px;line-height:22px;text-align:center;white-space:nowrap;will-change:transform;animation-duration:9s;animation-timing-function:linear;animation-iteration-count:infinite}
.rc-scrolltext-preview-stage.is-top>.rc-scrolltext-preview-text:not(.is-up):not(.is-down){top:7px;bottom:auto}
.rc-scrolltext-preview-stage.is-bottom>.rc-scrolltext-preview-text:not(.is-up):not(.is-down){top:auto;bottom:7px}
.rc-scrolltext-preview-text.is-left{animation-name:rc-scrolltext-left}
.rc-scrolltext-preview-text.is-right{animation-name:rc-scrolltext-right}
.rc-scrolltext-preview-text.is-up{top:0!important;bottom:auto!important;animation-name:rc-scrolltext-up}
.rc-scrolltext-preview-text.is-down{top:0!important;bottom:auto!important;animation-name:rc-scrolltext-down}
.rc-scrolltext-preview-text.is-speed-slow{animation-duration:8s}
.rc-scrolltext-preview-text.is-speed-normal{animation-duration:5s}
.rc-scrolltext-preview-text.is-speed-fast{animation-duration:3s}
.rc-scrolltext-preview-text.is-paused{animation-play-state:paused}
@keyframes rc-scrolltext-left{0%{transform:translate3d(32%,0,0)}88%{transform:translate3d(-32%,0,0)}88.01%,100%{transform:translate3d(32%,0,0)}}
@keyframes rc-scrolltext-right{0%{transform:translate3d(-32%,0,0)}88%{transform:translate3d(32%,0,0)}88.01%,100%{transform:translate3d(-32%,0,0)}}
@keyframes rc-scrolltext-up{0%{transform:translate3d(0,24px,0)}88%{transform:translate3d(0,-24px,0)}88.01%,100%{transform:translate3d(0,24px,0)}}
@keyframes rc-scrolltext-down{0%{transform:translate3d(0,-24px,0)}88%{transform:translate3d(0,24px,0)}88.01%,100%{transform:translate3d(0,-24px,0)}}

.rc-scrolltext-form-card,.rc-scrolltext-schedule-card{margin-bottom:10px!important;padding:11px!important}
.rc-scrolltext-editor textarea#content{min-height:74px!important;height:74px!important;padding:8px 10px!important;resize:vertical}
.rc-scrolltext-character-count{margin-top:3px}
.rc-scrolltext-subheading{margin-top:7px!important;padding-top:8px}
.rc-scrolltext-appearance-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px;margin-top:7px}
.rc-scrolltext-editor .rc-scrolltext-appearance-grid>.Zradio,
.rc-scrolltext-editor .rc-scrolltext-appearance-grid>.backColor,
.rc-scrolltext-editor .rc-scrolltext-appearance-grid>.wordPo{display:flex!important;align-items:center;box-sizing:border-box;min-width:0;min-height:42px;margin:0!important;padding:6px 9px!important;overflow:visible;background:#fff!important;border:1px solid #e2e9e6;border-radius:4px!important}
.rc-scrolltext-editor .rc-scrolltext-appearance-grid>.wordPo{justify-content:space-between;flex-wrap:wrap;gap:6px 12px}
.rc-scrolltext-editor .rc-scrolltext-appearance-grid>.wordPo>.Zradio{display:flex!important;align-items:center;width:auto!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important}
.rc-scrolltext-editor .rc-scrolltext-appearance-grid .backColor ul{flex-wrap:nowrap;gap:4px;width:auto!important;min-width:0;margin:0!important}
.rc-scrolltext-editor .rc-scrolltext-appearance-grid .backColor li{width:17px!important;height:17px!important}
.rc-scrolltext-background-color.is-disabled{opacity:.42;filter:grayscale(.65)}
.rc-scrolltext-background-color.is-disabled li{cursor:not-allowed!important;pointer-events:none}

.rc-scrolltext-editor .rc-scrolltext-schedule-card{padding:11px!important}
.rc-scrolltext-schedule-card>h3{margin-bottom:7px}
.rc-scrolltext-schedule-card>.rc-scrolltext-speech,
.rc-scrolltext-schedule-card>p,
.rc-scrolltext-schedule-card>div:not(.rc-scrolltext-publish-bar){display:flex!important;align-items:center;box-sizing:border-box;width:100%!important;min-height:42px;margin:0 0 7px!important;padding:5px 8px!important;flex-wrap:wrap;gap:5px 8px;background:#fff!important;border:1px solid #e2e9e6!important;border-radius:4px!important}
.rc-scrolltext-schedule-card>.rc-scrolltext-speech label{min-height:26px;padding:3px 7px!important}
.rc-scrolltext-schedule-card>p>span:first-child{margin-bottom:0!important}
.rc-scrolltext-schedule-card>p>span:first-child{flex:1 1 330px;width:auto!important}
.rc-scrolltext-schedule-card>p>.Zradio{flex:0 1 auto}
.rc-scrolltext-schedule-card>div:not(.rc-scrolltext-publish-bar)>div:first-child{display:flex!important;align-items:center;flex:1 1 450px;flex-wrap:wrap;gap:5px;width:auto!important}
.rc-scrolltext-schedule-card input,.rc-scrolltext-schedule-card select{height:30px!important}
.rc-scrolltext-schedule-card #playSDate,.rc-scrolltext-schedule-card #playEDate{width:112px!important}
.rc-scrolltext-schedule-card #playCurTime{display:inline-flex!important;align-items:center;flex-wrap:nowrap;gap:4px}
.rc-scrolltext-schedule-card #playCurTime[style*="display: none"]{display:none!important}
.rc-scrolltext-schedule-card #playCurTime select{width:62px!important}
.rc-scrolltext-editor .rc-scrolltext-publish-bar{margin-top:4px!important}

/* 滚动字幕底栏曾自建一套「label 相对定位 + radio 绝对定位」的样式，
   与批量发布/布局发布页的底栏不统一（胶囊 32px vs 28px、radio 13px vs 14px），
   且「清空字幕」用白底描边配白色雪碧图图标 → 图标在白底上不可见。
   现统一交由上面 .rc-layout-publish .fixBottom 的规则接管。 */

@media(max-width:760px){.rc-scrolltext-appearance-grid{grid-template-columns:1fr}.rc-scrolltext-schedule-card>.rc-scrolltext-speech,.rc-scrolltext-schedule-card>p,.rc-scrolltext-schedule-card>div:not(.rc-scrolltext-publish-bar){align-items:flex-start;flex-direction:column}.rc-scrolltext-schedule-card #playCurTime{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.rc-scrolltext-preview-text{animation:none!important;left:50%;top:50%!important;bottom:auto!important;min-width:0;transform:translate(-50%,-50%)!important}}

/* Subtitle preview sizing and paired playback controls */
.rc-scrolltext-editor .zImg{display:block!important;box-sizing:border-box;width:100%!important;height:auto!important}
.rc-scrolltext-editor .zImg>.rc-scrolltext-preview-toolbar{position:relative!important;display:flex!important;box-sizing:border-box;width:100%!important;height:34px!important;min-height:34px!important}
.rc-scrolltext-editor .zImg>.rc-scrolltext-preview-screen{position:relative!important;display:block!important;box-sizing:border-box;width:100%!important;height:86px!important;min-height:86px!important}
.rc-scrolltext-schedule-card>.rc-scrolltext-time-row,
.rc-scrolltext-schedule-card>.rc-scrolltext-motion-row{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:8px;margin-bottom:7px!important;padding:6px 8px!important}
.rc-scrolltext-time-row .rc-scrolltext-control-group,
.rc-scrolltext-motion-row .rc-scrolltext-control-group{display:flex!important;align-items:center;box-sizing:border-box;min-width:0;width:100%!important;margin:0!important;padding:0!important;flex-wrap:wrap;gap:5px 7px;background:transparent!important;border:0!important}
.rc-scrolltext-control-label{flex:0 0 auto;color:var(--rc-text);font-weight:600;white-space:nowrap}
.rc-scrolltext-time-row input{direction:ltr;text-align:center}
.rc-scrolltext-window-control #changePlay{flex:0 0 108px;width:108px!important}
.rc-scrolltext-duration{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.rc-scrolltext-motion-row .checkbox.inline{margin:0!important}
.rc-scrolltext-page.rc-rtl .rc-scrolltext-time-row,
.rc-scrolltext-page.rc-rtl .rc-scrolltext-motion-row{direction:rtl;text-align:right}
@media(max-width:920px){.rc-scrolltext-schedule-card>.rc-scrolltext-time-row,.rc-scrolltext-schedule-card>.rc-scrolltext-motion-row{grid-template-columns:1fr}}

/* Sidebar hierarchy refinement */
.backstageHome-2 .rc-admin__sidebar .sidebar-nav + .sidebar-nav {
  border-top: 1px solid rgba(255,255,255,.055);
}
.backstageHome-2 .rc-admin__sidebar .sidebar-title {
  height: 50px;
  line-height: 50px;
  background: var(--rc-shell) !important;
  border-bottom: 1px solid rgba(255,255,255,.045);
}
.backstageHome-2 .rc-admin__sidebar .sidebar-title .sidebar-title-inner {
  display: flex;
  align-items: center;
  min-width: 0;
  height: 100%;
  padding-right: 32px;
  color: rgba(255,255,255,.82);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
}
.backstageHome-2 .rc-admin__sidebar .sidebar-title-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.backstageHome-2 .rc-admin__sidebar .sidebar-title::after {
  position: absolute;
  top: 50%;
  right: 17px;
  width: 6px;
  height: 6px;
  margin-top: -4px;
  border-right: 1.5px solid rgba(255,255,255,.56);
  border-bottom: 1.5px solid rgba(255,255,255,.56);
  content: "";
  transform: rotate(-45deg);
  transition: transform .18s ease;
}
.backstageHome-2 .rc-admin__sidebar .sidebar-title:hover {
  background: #064b40 !important;
}
.backstageHome-2 .rc-admin__sidebar .sidebar-title.active {
  background: var(--rc-primary) !important;
  box-shadow: inset 0 -1px rgba(255,255,255,.07);
}
.backstageHome-2 .rc-admin__sidebar .sidebar-title.active .sidebar-title-inner {
  color: #fff;
}
.backstageHome-2 .rc-admin__sidebar .sidebar-title.is-open::after {
  margin-top: -6px;
  transform: rotate(45deg);
}
.backstageHome-2 .rc-admin__sidebar .sidebar-title.active::before {
  width: 4px;
  background: var(--rc-marker);
  box-shadow: 2px 0 8px rgba(217,173,72,.2);
}
.backstageHome-2 .rc-admin__sidebar .sidebar-title .singleIcon {
  flex: 0 0 30px;
  color: rgba(255,255,255,.76);
}
.backstageHome-2 .rc-admin__sidebar .sidebar-title.active .singleIcon {
  color: #fff;
}
.backstageHome-2 .rc-admin__sidebar .sidebar-trans {
  padding: 7px 8px 9px;
  background: #002f28 !important;
  border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow: inset 4px 0 0 rgba(217,173,72,.16);
}
.backstageHome-2 .rc-admin__sidebar .sidebar-trans li {
  position: relative;
  margin: 2px 0;
  overflow: hidden;
  border-radius: 4px;
}
.backstageHome-2 .rc-admin__sidebar .sidebar-trans li a {
  box-sizing: border-box;
  height: 40px;
  padding-right: 12px;
  color: rgba(255,255,255,.68);
  font-size: 14px;
  font-weight: 400;
  line-height: 40px;
  background: transparent !important;
}
.backstageHome-2 .rc-admin__sidebar .sidebar-trans .nav-icon {
  width: 28px;
  margin-left: 25px;
  color: rgba(255,255,255,.56);
  font-size: 13px;
}
.backstageHome-2 .rc-admin__sidebar .sidebar-trans li:not(.active) a:hover,
.backstageHome-2 .rc-admin__sidebar .sidebar-trans li:not(.active) a:focus {
  color: #fff;
  background: rgba(255,255,255,.075) !important;
}
.backstageHome-2 .rc-admin__sidebar .sidebar-trans li.active a,
.backstageHome-2 .rc-admin__sidebar .sidebar-trans li.active a:hover,
.backstageHome-2 .rc-admin__sidebar .sidebar-trans li.active a:focus,
.backstageHome-2 .rc-admin__sidebar .sidebar-trans li.active a:active {
  color: var(--rc-primary) !important;
  font-weight: 600;
  background: #eaf4f1 !important;
  box-shadow: 0 3px 10px rgba(0,24,20,.16);
}
.backstageHome-2 .rc-admin__sidebar .sidebar-trans li.active a i,
.backstageHome-2 .rc-admin__sidebar .sidebar-trans li.active .nav-icon {
  color: var(--rc-primary) !important;
}
.backstageHome-2 .rc-admin__sidebar .sidebar-trans li.active::before {
  top: 7px;
  bottom: 7px;
  left: 0;
  width: 3px;
  background: var(--rc-marker);
  border-radius: 0 3px 3px 0;
}
.backstageHome-2 .rc-admin__sidebar .sidebar-title.current50::after {
  display: none;
}
.backstageHome-2 .rc-admin__sidebar .sidebar-trans li.current50 {
  margin-right: -4px;
  margin-left: -4px;
}
.rc-rtl .backstageHome-2 .rc-admin__sidebar .sidebar-title .sidebar-title-inner {
  padding-right: 0;
  padding-left: 32px;
}
.rc-rtl .backstageHome-2 .rc-admin__sidebar .sidebar-title::after {
  right: auto;
  left: 17px;
  transform: rotate(135deg);
}
.rc-rtl .backstageHome-2 .rc-admin__sidebar .sidebar-title.is-open::after {
  transform: rotate(45deg);
}
.rc-rtl .backstageHome-2 .rc-admin__sidebar .sidebar-title.active::before,
.rc-rtl .backstageHome-2 .rc-admin__sidebar .sidebar-trans li.active::before {
  right: 0;
  left: auto;
}
.rc-rtl .backstageHome-2 .rc-admin__sidebar .sidebar-trans {
  box-shadow: inset -4px 0 0 rgba(217,173,72,.16);
}
.rc-rtl .backstageHome-2 .rc-admin__sidebar .sidebar-trans .nav-icon {
  margin-right: 25px;
  margin-left: 0;
}
.rc-rtl .backstageHome-2 .rc-admin__sidebar .sidebar-trans li a {
  padding-right: 0;
  padding-left: 12px;
}
@media(prefers-reduced-motion:reduce){
  .backstageHome-2 .rc-admin__sidebar .sidebar-title::after{transition:none}
}

/* Party-building module: unified Raffles City administration UI */
.rc-party-module-page {
  --rc-party-soft: #edf6f3;
  --rc-party-soft-strong: #dfeee9;
  --rc-party-line: #d9e3df;
}
.rc-party-module-page .box_right {
  padding: 18px 22px 30px !important;
}
.rc-party-module-page .box_right > form,
.rc-party-module-page .box_right > .centent,
.rc-party-module-page .box_right > .row-fluid,
.rc-party-module-page .box_right > .countingPayWrap {
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
}
.rc-party-module-page .alert-info,
.rc-party-module-page .prompt {
  display: block;
  height: auto !important;
  min-height: 0;
  padding: 11px 14px !important;
  color: #53635d;
  line-height: 1.65;
  white-space: normal;
  overflow-wrap: anywhere;
  background: #f4f8f6;
  border: 1px solid #dce8e3;
  border-left: 4px solid var(--rc-marker);
  border-radius: 6px;
}
.rc-party-module-page .alert-info strong,
.rc-party-module-page .prompt strong {
  color: var(--rc-text);
}

/* Tabs and filters */
.rc-party-module-page .nav-tabs {
  display: flex;
  align-items: flex-end;
  min-height: 44px;
  margin: 0 0 14px !important;
  padding: 0 10px;
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--rc-border) !important;
  border-radius: 6px 6px 0 0;
  box-shadow: var(--rc-shadow);
}
.rc-party-module-page .nav-tabs > li {
  float: none;
  flex: 0 0 auto;
  margin: 0 3px -1px 0;
}
.rc-party-module-page .nav-tabs > li > a {
  min-height: 42px;
  margin: 0;
  padding: 10px 14px;
  color: var(--rc-muted);
  background: transparent !important;
  border: 0 !important;
  border-bottom: 3px solid transparent !important;
  border-radius: 0;
  line-height: 20px;
}
.rc-party-module-page .nav-tabs > li > a:hover {
  color: var(--rc-primary);
  background: var(--rc-party-soft) !important;
}
.rc-party-module-page .nav-tabs > .active > a,
.rc-party-module-page .nav-tabs > .active > a:hover,
.rc-party-module-page .nav-tabs > .active > a:focus {
  color: var(--rc-primary) !important;
  font-weight: 700;
  background: #fff !important;
  border-bottom-color: var(--rc-primary) !important;
}
.rc-party-module-page .bip1.z_bip {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 54px;
  min-height: 30px;
  margin: 3px 5px 3px 0 !important;
  padding: 5px 11px !important;
  color: #53615c !important;
  font-size: 11px;
  line-height: 20px !important;
  background: #f5f7f6 !important;
  border: 1px solid transparent !important;
  border-radius: 4px !important;
  text-align: center;
  text-decoration: none;
}
.rc-party-module-page .bip1.z_bip:hover {
  color: var(--rc-primary) !important;
  background: var(--rc-party-soft) !important;
  border-color: #c9ddd6 !important;
}
.rc-party-module-page .bip1.z_bip.is-active,
.rc-party-module-page .bip1.z_bip[style*="#3790e2"] {
  color: #fff !important;
  font-weight: 600;
  background: var(--rc-primary) !important;
  border-color: var(--rc-primary) !important;
  box-shadow: 0 3px 9px rgba(7,93,78,.16);
}

/* List pages and compact action areas */
.rc-party-module-page.rc-party-list-page form > ul:not(.nav):not(.pagination),
.rc-party-module-page.rc-party-list-page .box_right > ul:not(.nav):not(.pagination) {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 48px;
  margin: 0 0 12px !important;
  padding: 8px 10px !important;
  list-style: none;
  background: #fff;
  border: 1px solid var(--rc-border);
  border-radius: 6px;
  box-shadow: var(--rc-shadow);
}
.rc-party-module-page.rc-party-list-page form > ul:not(.nav):not(.pagination) li,
.rc-party-module-page.rc-party-list-page .box_right > ul:not(.nav):not(.pagination) li {
  float: none !important;
  margin: 0 !important;
}
.rc-party-module-page table td .btn + .btn,
.rc-party-module-page table td a + a {
  margin-left: 5px;
}
.rc-party-module-page table td:last-child {
  white-space: nowrap;
}
.rc-party-module-page table input[type="checkbox"] {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--rc-primary);
}
.rc-party-module-page .page {
  min-height: 48px;
  margin-top: 0 !important;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid var(--rc-border);
  border-radius: 6px;
  box-shadow: var(--rc-shadow);
}
.rc-party-module-page .page + span {
  position: relative;
  z-index: 1;
  margin: -36px auto 0 12px !important;
  line-height: 24px;
}

/* Add and edit forms */
.rc-party-module-page .countingPayWrap,
.rc-party-module-page .flowPayWrap {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}
.rc-party-module-page .countingPayBox {
  width: 100% !important;
  max-width: 1120px;
  margin: 0 auto !important;
  padding: 0 22px 20px !important;
  overflow: hidden;
  background: #fff !important;
  border: 1px solid var(--rc-border);
  border-radius: 7px;
  box-shadow: var(--rc-shadow);
}
.rc-party-module-page .countingPayBox .toptit {
  width: auto !important;
  min-height: 58px;
  margin: 0 -22px 12px !important;
  padding: 17px 22px 14px !important;
  color: var(--rc-text) !important;
  font-size: 16px !important;
  font-weight: 700;
  line-height: 26px !important;
  background: #fafbfb !important;
  border-bottom: 1px solid var(--rc-border);
}
.rc-party-module-page .countingPayBox .payBor {
  display: grid !important;
  grid-template-columns: 160px minmax(0,1fr);
  align-items: start !important;
  width: 100% !important;
  min-height: 58px;
  margin: 0 !important;
  padding: 11px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #edf0ef !important;
}
.rc-party-module-page .countingPayBox .payLeft {
  display: flex !important;
  align-items: center;
  width: auto !important;
  min-height: 34px;
  margin: 0 !important;
  padding: 6px 18px 6px 0 !important;
  color: #46544f;
  font-weight: 600;
  text-align: right;
}
.rc-party-module-page .countingPayBox .payLeft img {
  display: none !important;
}
.rc-party-module-page .countingPayBox .nameDl {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  width: 100% !important;
  min-width: 0;
  min-height: 34px;
  margin: 0 !important;
  padding: 0 !important;
}
.rc-party-module-page .countingPayBox .nameDl > input[type="text"],
.rc-party-module-page .countingPayBox .nameDl > input[type="password"],
.rc-party-module-page .countingPayBox .nameDl > select,
.rc-party-module-page .countingPayBox .nameDl > textarea {
  width: min(100%, 620px) !important;
}
.rc-party-module-page .countingPayBox .nameDl textarea,
.rc-party-module-page .countingPayBox .nameDl .ke-container {
  width: 100% !important;
  max-width: 860px;
}
.rc-party-module-page .countingPayBottom {
  display: flex !important;
  align-items: center;
  justify-content: flex-end !important;
  gap: 8px;
  width: auto !important;
  min-height: 58px;
  margin: 14px -22px -20px !important;
  padding: 11px 22px !important;
  background: #f7f9f8;
  border-top: 1px solid var(--rc-border);
}
.rc-party-module-page .countingPayBottom input,
.rc-party-module-page .countingPayBottom button,
.rc-party-module-page .countingPayBottom a {
  min-width: 92px;
}

/* Resource cards, storage summary, trees and image pickers */
.rc-party-module-page .xximage_1,
.rc-party-module-page .marbot10.xximage_1.bor {
  margin: 0 0 14px !important;
  padding: 14px !important;
  background: #fff;
  border: 1px solid var(--rc-border) !important;
  border-radius: 7px;
  box-shadow: var(--rc-shadow);
}
.rc-party-module-page .xximage_1 ul {
  display: grid !important;
  grid-template-columns: repeat(auto-fit,minmax(130px,1fr));
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
}
.rc-party-module-page .xximage_1 ul li {
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 10px 12px;
  background: #f7f9f8;
  border: 1px solid #e6ece9;
  border-radius: 5px;
}
.rc-party-module-page .progress {
  height: 8px;
  margin: 7px 0 0;
  overflow: hidden;
  background: #e4ebe8;
  border-radius: 4px;
  box-shadow: none;
}
.rc-party-module-page .progress .bar {
  background: var(--rc-primary);
  box-shadow: none;
}
.rc-party-module-page .row-fluid .thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(150px,1fr));
  gap: 10px;
  margin: 0 !important;
  padding: 0;
}
.rc-party-module-page .row-fluid .thumbnails > li,
.rc-party-module-page .row-fluid .thumbnails > [class*="span"] {
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
}
.rc-party-module-page .thumbnail {
  height: 100%;
  padding: 9px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--rc-border);
  border-radius: 6px;
  box-shadow: none;
}
.rc-party-module-page .thumbnail:hover {
  border-color: #9fc2b7;
  box-shadow: 0 8px 20px rgba(22,49,41,.09);
}
.rc-party-module-page .thumbnail img {
  display: block;
  width: 100%;
  height: 112px;
  object-fit: contain;
  background: #f3f6f5;
  border-radius: 4px;
}
.rc-party-module-page #feyeheight {
  height: auto !important;
  max-height: 520px;
  padding: 10px;
  overflow: auto;
  background: #f7f9f8;
  border: 1px solid var(--rc-border);
  border-radius: 6px;
}
.rc-party-module-page.rc-party-tree-page .centent {
  display: block;
  float: left;
  width: 280px !important;
  min-height: 520px;
  margin: 0 !important;
}
.rc-party-module-page.rc-party-tree-page #treeFrame {
  display: block;
  float: none !important;
  width: calc(100% - 294px) !important;
  min-height: 520px;
  margin: 0 0 0 294px !important;
  background: #fff;
  border: 1px solid var(--rc-border);
  border-radius: 7px;
  box-shadow: var(--rc-shadow);
}
.rc-party-module-page .treebox {
  box-sizing: border-box;
  width: 100% !important;
  height: auto !important;
  min-height: 520px;
  max-height: calc(100vh - 190px);
  margin: 0 !important;
  padding: 12px !important;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--rc-border);
  border-radius: 7px;
  box-shadow: var(--rc-shadow);
}
.rc-party-module-page .tree,
.rc-party-module-page .tree ul {
  margin: 0;
  padding: 0 0 0 18px;
  list-style: none;
}
.rc-party-module-page .tree > li {
  padding-left: 0;
}
.rc-party-module-page .tree li {
  margin: 3px 0;
  line-height: 32px;
}
.rc-party-module-page .tree a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 3px 8px;
  color: #45534e;
  border-radius: 4px;
  text-decoration: none;
}
.rc-party-module-page .tree a:hover {
  color: var(--rc-primary);
  background: var(--rc-party-soft);
}
.rc-party-module-page .pickerBox {
  display: grid !important;
  grid-template-columns: repeat(auto-fill,minmax(132px,1fr));
  gap: 10px;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
.rc-party-module-page .picker,
.rc-party-module-page .df-conlumn-center {
  box-sizing: border-box;
  min-width: 0;
  margin: 0 !important;
  padding: 9px !important;
  background: #fff;
  border: 1px solid var(--rc-border);
  border-radius: 6px;
}
.rc-party-module-page .picker:hover,
.rc-party-module-page .df-conlumn-center:hover {
  border-color: #9fc2b7;
  box-shadow: 0 6px 16px rgba(22,49,41,.08);
}
.rc-party-module-page .picker img,
.rc-party-module-page .df-conlumn-center img {
  max-width: 100%;
  object-fit: contain;
}

/* Dialogs and RTL */
.rc-party-module-page .ui-widget-overlay {
  background: #12231e;
  opacity: .5;
}
.rc-party-module-page .ui-dialog .ui-dialog-titlebar-close {
  top: 50%;
  right: 12px;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  margin-top: -14px;
  padding: 0;
  color: var(--rc-muted);
  background: transparent;
}
.rc-party-module-page .ui-dialog iframe {
  display: block;
  width: 100% !important;
  min-height: 360px;
  border: 0;
}
.rc-party-module-page.rc-rtl .bip1.z_bip {
  margin-right: 0 !important;
  margin-left: 5px !important;
}
.rc-party-module-page.rc-rtl .alert-info,
.rc-party-module-page.rc-rtl .prompt {
  border-right: 4px solid var(--rc-marker);
  border-left: 1px solid #dce8e3;
}
.rc-party-module-page.rc-rtl .countingPayBox .payBor {
  grid-template-columns: minmax(0,1fr) 160px;
}
.rc-party-module-page.rc-rtl .countingPayBox .payLeft {
  grid-column: 2;
  grid-row: 1;
  padding-right: 0 !important;
  padding-left: 18px !important;
  text-align: left;
}
.rc-party-module-page.rc-rtl .countingPayBox .nameDl {
  grid-column: 1;
  grid-row: 1;
}
.rc-party-module-page.rc-rtl .countingPayBottom {
  justify-content: flex-start !important;
}
.rc-party-module-page.rc-rtl .tree,
.rc-party-module-page.rc-rtl .tree ul {
  padding-right: 18px;
  padding-left: 0;
}
.rc-party-module-page.rc-party-tree-page.rc-rtl .centent {
  float: right;
}
.rc-party-module-page.rc-party-tree-page.rc-rtl #treeFrame {
  margin-right: 294px !important;
  margin-left: 0 !important;
}
.rc-party-module-page.rc-rtl table td .btn + .btn,
.rc-party-module-page.rc-rtl table td a + a {
  margin-right: 5px;
  margin-left: 0;
}
@media(max-width:900px){
  .rc-party-module-page .box_right{padding:14px 12px 24px!important}
  .rc-party-module-page .countingPayBox .payBor{grid-template-columns:1fr}
  .rc-party-module-page .countingPayBox .payLeft{padding:0 0 6px!important;text-align:left}
  .rc-party-module-page.rc-rtl .countingPayBox .payBor{grid-template-columns:1fr}
  .rc-party-module-page.rc-rtl .countingPayBox .payLeft,.rc-party-module-page.rc-rtl .countingPayBox .nameDl{grid-column:1;grid-row:auto;text-align:right}
  .rc-party-module-page.rc-party-tree-page .centent{float:none;width:100%!important;min-height:0}
  .rc-party-module-page.rc-party-tree-page #treeFrame{width:100%!important;margin:12px 0 0!important}
  .rc-party-module-page.rc-party-tree-page.rc-rtl #treeFrame{margin:12px 0 0!important}
  .rc-party-module-page .treebox{min-height:320px;max-height:480px}
  .rc-party-module-page table{min-width:640px}
}
@media(max-width:560px){
  .rc-party-module-page .countingPayBox{padding:0 14px 14px!important}
  .rc-party-module-page .countingPayBox .toptit{margin-right:-14px!important;margin-left:-14px!important;padding-right:14px!important;padding-left:14px!important}
  .rc-party-module-page .countingPayBottom{align-items:stretch;flex-direction:column;margin:12px -14px -14px!important;padding:10px 14px!important}
  .rc-party-module-page .countingPayBottom input,.rc-party-module-page .countingPayBottom button,.rc-party-module-page .countingPayBottom a{width:100%;min-width:0}
  .rc-party-module-page .page{align-items:flex-end;flex-direction:column}
  .rc-party-module-page .page + span{margin:7px 0 0!important}
}

/* Unit management and party-resource routes */
.rc-unit-service-page .box_right {
  width: 0 !important;
  min-width: 0;
}
.rc-unit-service-page .rc-unit-toolbar,
.rc-unit-service-page .weixin1Sel > .weixin1,
.rc-unit-service-page .weixin1Sel > div:first-child {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 58px;
  margin: 0 0 14px !important;
  padding: 10px 12px !important;
  background: #fff;
  border: 1px solid var(--rc-border);
  border-radius: 6px;
  box-shadow: var(--rc-shadow);
}
.rc-unit-service-page .rc-unit-toolbar > *,
.rc-unit-service-page .weixin1Sel > .weixin1 > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.rc-unit-service-page .rc-unit-toolbar input[type="text"],
.rc-unit-service-page .weixin1Sel input[type="text"] {
  width: min(100%, 260px) !important;
}
.rc-unit-service-page .rc-unit-toolbar .btn,
.rc-unit-service-page .weixin1Sel > .weixin1 .btn {
  min-height: 34px;
  padding: 6px 12px;
}
.rc-unit-service-page .backstage {
  margin: 0 !important;
  padding: 14px !important;
  background: #fff;
  border: 1px solid var(--rc-border);
  border-radius: 7px;
  box-shadow: var(--rc-shadow);
}
.rc-unit-service-page .help-inline {
  color: #475550;
  font-size: 12px;
  font-weight: 600;
}
.rc-unit-service-page .label {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 2px 7px;
  color: #53615c;
  font-size: 10px;
  line-height: 18px;
  background: #edf2f0;
  border-radius: 3px;
  text-shadow: none;
}
.rc-unit-service-page .label-success {
  color: var(--rc-primary);
  background: var(--rc-party-soft);
}
.rc-unit-service-page .rc-unit-footer {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 52px;
  margin: 12px 0 0 !important;
  padding: 9px 11px !important;
  background: #fff;
  border: 1px solid var(--rc-border);
  border-radius: 6px;
  box-shadow: var(--rc-shadow);
}
.rc-unit-service-page .rc-unit-footer .page {
  order: 3;
  width: auto;
  min-height: 32px;
  margin: 0 0 0 auto !important;
  padding: 0;
  border: 0;
  box-shadow: none;
}
.rc-unit-service-page .rc-unit-footer .page + span {
  order: 2;
  width: auto;
  margin: 0 4px 0 auto !important;
  color: var(--rc-muted);
  line-height: 30px;
}
.rc-unit-service-page .rc-unit-footer .page ~ span + .page,
.rc-unit-service-page .rc-unit-footer .page + span + .page {
  margin-left: 0 !important;
}
.rc-unit-service-page .equip-btn-group .martop10 {
  display: inline-flex !important;
  align-items: center;
  min-height: 32px;
  margin: 0 !important;
}
.rc-unit-service-page .equip-btn-group .eqspan2 {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 5px 11px !important;
  color: #fff !important;
  background: var(--rc-warning) !important;
  border-radius: 4px;
  text-decoration: none;
}

/* Unit list and device binding */
.rc-unitmanage-page table td a:not(.btn):not(.rc-row-action) {
  color: var(--rc-primary);
  font-weight: 600;
}
.rc-unitmanage-page table td a:not(.btn):not(.rc-row-action):hover {
  color: var(--rc-primary-hover);
  text-decoration: underline;
}
.rc-unitmanage-page .table-bordered + .alert,
.rc-unitmanage-page table .alert {
  margin: 0 !important;
  box-shadow: none;
}
.rc-unitmanage-page .rc-device-table td:nth-last-child(2),
.rc-unitmanage-page .rc-device-table td:last-child {
  white-space: nowrap;
}
.rc-unitmanage-page .rc-device-table .icon-pencil {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: 4px;
  color: var(--rc-accent);
  background: #edf4f8;
  border-radius: 4px;
}
.rc-unitmanage-page .z_more2 {
  z-index: 50;
  box-sizing: border-box;
  min-width: 250px;
  padding: 12px !important;
  background: #fff !important;
  border: 1px solid var(--rc-border) !important;
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(9,39,31,.2) !important;
}
.rc-unitmanage-page .z_more2 .z_spenspan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin-top: 7px;
  padding: 4px 9px;
  color: #fff;
  background: var(--rc-primary);
  border-radius: 4px;
  cursor: pointer;
}
.rc-unitmanage-page .z_more2 .z_spenspan2 {
  color: var(--rc-muted);
  background: #edf1ef;
}
.rc-unitmanage-page .rc-row-actions {
  justify-content: flex-start;
}
.rc-unitmanage-page .rc-row-action,
.rc-unitmanage-page .rc-row-actions__trigger {
  min-height: 28px;
  padding: 3px 8px;
  font-size: 10px;
}
.rc-unitmanage-page .form-inline > .prompt + .alert,
.rc-unitmanage-page .form-inline > .alert {
  box-shadow: none;
}
.rc-unitmanage-page .form-inline > table {
  max-width: 920px;
  margin-right: auto !important;
  margin-left: auto !important;
}
.rc-unitmanage-page .form-inline > table td:first-child {
  width: 180px !important;
  color: #475550;
  font-weight: 600;
  text-align: right;
  background: #f7f9f8;
}
.rc-unitmanage-page .form-inline > table td:nth-child(2) {
  text-align: left;
}
.rc-unitmanage-page .form-inline > table .h93btn,
.rc-unitmanage-page .form-inline > table .dingbtn {
  position: static !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 15px;
  color: #fff;
  background: var(--rc-primary) !important;
  border: 0;
  border-radius: 4px;
}
.rc-unitmanage-page .form-inline > table .dingbtn + .dingbtn {
  color: var(--rc-muted);
  background: #edf1ef !important;
}
.rc-unitmanage-page .form-inline > table .dingbtn img {
  display: none;
}
.rc-unitmanage-page #unitDeviceControllFrame {
  min-height: 430px;
}
.rc-unitmanage-page > .row-fluid {
  box-sizing: border-box;
  min-height: 100vh;
  margin: 0 !important;
  padding: 12px;
  background: var(--rc-canvas);
}
.rc-unitmanage-page > .row-fluid > [class*="span"] {
  float: none;
  width: 100%;
  margin: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--rc-border);
  border-radius: 7px;
  box-shadow: var(--rc-shadow);
}
.rc-unitmanage-page #contentDialog #flowTable {
  margin: 0 !important;
  box-shadow: none;
}

/* Party resource list and add/edit pages */
.rc-unitfile-page .viewFramework-con{width:100%;max-width:100%;min-width:0;overflow-x:hidden}
.rc-unitfile-page .box_right{float:none;flex:1 1 0%;align-self:stretch;width:0!important;min-width:0;max-width:none;margin:0!important;padding:18px 22px 30px!important;box-sizing:border-box}
.rc-unitfile-page .breadcrumbs{width:100%;margin:0 0 14px!important}
.rc-unitfile-page .breadcrumb{margin:0!important;box-sizing:border-box}
.rc-unitfile-page .rc-unitfile-form {
  min-width: 0;
}
.rc-unitfile-page .xximage_1{height:auto!important;margin:0 0 14px!important;border:1px solid var(--rc-border);border-radius:6px;background:#fff;box-shadow:var(--rc-shadow);overflow:hidden}
.rc-unitfile-page .xximage_1 ul{display:grid!important;grid-template-columns:minmax(220px,1.6fr) repeat(3,minmax(120px,1fr));width:100%;height:auto!important;margin:0;padding:0}
.rc-unitfile-page .xximage_1 ul li{float:none!important;width:auto!important;min-width:0;height:76px!important;padding:10px 14px;border-right:1px solid #e7ecea;box-sizing:border-box}
.rc-unitfile-page .xximage_1 ul li:last-child{border-right:0}
.rc-unitfile-page .xximage_1 ul li>span{display:block;height:27px!important;line-height:27px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rc-unitfile-page .xximage_1 ul li .xx1line2{color:var(--rc-muted);font-size:11px}
.rc-unitfile-page .xximage_1 ul li>span:last-child{color:var(--rc-text);font-size:15px;font-weight:600}
.rc-unitfile-page .xximage_1 ul li .xx1line{display:flex;align-items:center;height:27px!important;padding:0!important}
.rc-unitfile-page .xximage_1 .progress{float:none!important;width:100%!important;height:16px;margin:0!important;border-radius:4px;overflow:hidden}
.rc-unitfile-page .xximage_1 .progress .bar{height:16px;line-height:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rc-unitfile-page .rc-unit-toolbar input[type="text"],.rc-unitfile-page .rc-unit-toolbar select{height:34px!important;box-sizing:border-box}
.rc-unitfile-page .jiaohao3_box{width:100%;min-width:0}
.rc-unitfile-page .jiaohao3_box .xxin3.change_wrap{width:100%;box-sizing:border-box}
.rc-unitfile-page .jiaohao3_box .change_wrap1{display:flex;align-items:center;min-width:0}
.rc-unitfile-page .jiaohao3_box .change_wrap2{min-width:0}
.rc-unitfile-page .xximage_1 .progress {
  width: 100% !important;
  margin: 7px 0 0 !important;
  float: none !important;
}
.rc-unitfile-page .jiaohao3_box,
.rc-unitfile-page .xxin3.change_wrap {
  margin: 0 0 12px !important;
}
.rc-unitfile-page .xxin3.change_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 9px 11px;
  background: #fff;
  border: 1px solid var(--rc-border) !important;
  border-radius: 6px;
  box-shadow: var(--rc-shadow);
}
.rc-unitfile-page .change_wrap1 {
  width: auto !important;
  min-width: 0;
  flex: 1;
}
.rc-unitfile-page .change_wrap2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  float: none !important;
}
.rc-unitfile-page .zzz_wrap {
  position: relative;
  float: none !important;
}
.rc-unitfile-page .xxin3_r {
  display: flex !important;
  align-items: center;
  flex: 0 0 auto;
  gap: 6px;
}
.rc-unitfile-page .xx3_ra {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 30px;
  margin: 0 !important;
  padding: 5px 10px;
  color: var(--rc-primary);
  background: #fff;
  border: 1px solid #bfd0ca;
  border-radius: 4px;
  text-decoration: none;
}
.rc-unitfile-page .bip.z_bip {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 30px;
  margin: 3px 5px 3px 0 !important;
  padding: 5px 11px !important;
  color: #53615c !important;
  line-height: 20px !important;
  background: #f5f7f6 !important;
  border: 1px solid transparent !important;
  border-radius: 4px !important;
  text-decoration: none;
}
.rc-unitfile-page .bip1.z_bip {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 30px;
  margin: 3px 5px 3px 0 !important;
  padding: 5px 11px !important;
  color: #53615c !important;
  line-height: 20px !important;
  background: #f5f7f6 !important;
  border: 1px solid transparent !important;
  border-radius: 4px !important;
  text-decoration: none;
}
.rc-unitfile-page .bip1.z_bip:hover,
.rc-unitfile-page .bip1.z_bip.det_bg,
.rc-unitfile-page .bip1.z_bip.is-active {
  color: var(--rc-primary) !important;
  background: var(--rc-party-soft) !important;
  border-color: #c9ddd6 !important;
}
.rc-unitfile-page .bip.z_bip:hover,
.rc-unitfile-page .bip.z_bip.det_bg {
  color: var(--rc-primary) !important;
  background: var(--rc-party-soft) !important;
  border-color: #c9ddd6 !important;
}
.rc-unitfile-page .rc-unitfile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
  gap: 12px;
  margin: 0 !important;
}
.rc-unitfile-page .rc-unitfile-grid > .rc-unitfile-empty {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100% !important;
  min-height: 150px;
  margin: 0 !important;
  padding: 24px !important;
  color: var(--rc-muted);
  text-align: center;
  background: #fff;
  border: 1px dashed #cbd9d4;
  border-left: 1px dashed #cbd9d4;
  border-radius: 7px;
  box-shadow: var(--rc-shadow);
}
.rc-unitfile-page .rc-unitfile-empty > i {
  margin-right: 14px;
  color: #93aaa2;
  font-size: 32px;
}
.rc-unitfile-page .rc-unitfile-empty > div {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}
.rc-unitfile-page .rc-unitfile-empty strong {
  color: #56635f;
  font-size: 13px;
  font-weight: 600;
}
.rc-unitfile-page .rc-unitfile-empty .btn {
  min-height: 32px;
  padding: 5px 13px;
}
.rc-unitfile-page.rc-rtl .rc-unitfile-empty > i {
  margin-right: 0;
  margin-left: 14px;
}
.rc-unitfile-page .rc-unitfile-card {
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: auto !important;
  min-width: 0;
  min-height: 338px;
  margin: 0 !important;
  padding: 12px !important;
  overflow: visible;
  background: #fff;
  border: 1px solid var(--rc-border);
  border-radius: 7px;
  box-shadow: var(--rc-shadow);
}
.rc-unitfile-page .rc-unitfile-card > input[type="checkbox"] {
  position: absolute;
  top: 11px;
  left: 11px;
  z-index: 2;
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--rc-primary);
}
.rc-unitfile-page .rc-unitfile-card > a:first-of-type,
.rc-unitfile-page .rc-unitfile-card > img {
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100% !important;
  height: 154px !important;
  min-height: 154px;
  margin: 0 0 10px !important;
  background: #f3f6f5;
  border-radius: 5px;
}
.rc-unitfile-page .rc-unitfile-card > a:first-of-type img,
.rc-unitfile-page .rc-unitfile-card > img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  object-fit: contain;
}
.rc-unitfile-page .rc-unitfile-card > p {
  min-height: 22px;
  margin: 0 0 6px !important;
  overflow: hidden;
  color: var(--rc-text);
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rc-unitfile-page .rc-unitfile-card > div:not(.rc-unitfile-card-actions) {
  height: auto !important;
  min-height: 40px;
  color: var(--rc-muted);
  font-size: 11px;
}
.rc-unitfile-page .rc-unitfile-card-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 5px;
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px solid #edf0ef;
}
.rc-unitfile-page .rc-unitfile-card-actions button,
.rc-unitfile-page .rc-unitfile-card-actions a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  min-height: 29px;
  margin: 0 !important;
  padding: 4px 7px !important;
  color: #fff !important;
  font-size: 10px;
  line-height: 20px;
  border: 0;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
}
.rc-unitfile-page .rc-unitfile-card-actions .shf_span1 { background: var(--rc-accent) !important; }
.rc-unitfile-page .rc-unitfile-card-actions .shf_span2 { background: var(--rc-danger) !important; }
.rc-unitfile-page .rc-unitfile-card-actions .shf_span3 { background: var(--rc-primary) !important; }
.rc-unitfile-page #upload,
.rc-unitfile-page form[action*="unitfile/update"] {
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--rc-border);
  border-radius: 7px;
  box-shadow: var(--rc-shadow);
}
.rc-unitfile-page #upload > .alert {
  margin: 14px !important;
}
.rc-unitfile-page #upload > .alert h4{margin:0 0 4px;color:var(--rc-primary);font-size:14px}
.rc-unitfile-page #upload > .alert .close{top:10px;right:12px}
.rc-unitfile-add-page #upload{max-width:1180px;margin:0 auto}
.rc-unitfile-add-header{display:flex;align-items:center;gap:13px;margin:14px;padding:18px 20px;border:1px solid var(--rc-border);border-radius:7px;background:#fff;box-shadow:0 3px 12px rgba(20,45,38,.04)}
.rc-unitfile-add-header__icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;border-radius:6px;background:#e8f3ef;color:var(--rc-primary);font-size:18px}
.rc-unitfile-add-header h1{margin:0;color:var(--rc-text);font-size:20px;line-height:1.35}
.rc-unitfile-add-header p{margin:4px 0 0;color:var(--rc-muted);font-size:12px}
.rc-unitfile-add-page #upload>.alert{padding:12px 15px!important;color:#52625d;background:#f4f8f6;border-color:#d9e6e1;border-left:4px solid var(--rc-warning)}
.rc-unitfile-add-page #upload>.alert h4{font-weight:700}
.rc-unitfile-add-page .xximage_2{padding:0 18px 18px!important}
.rc-unitfile-add-page .rc-unitfile-category-row,.rc-unitfile-add-page .rc-unitfile-type-row,.rc-unitfile-add-page .rc-unitfile-upload-row,.rc-unitfile-add-page .rc-unitfile-progress-row{background:#fff}
.rc-unitfile-add-page .rc-unitfile-category-row>div:first-child,.rc-unitfile-add-page .rc-unitfile-type-row>.w20,.rc-unitfile-add-page .rc-unitfile-upload-row>.w20,.rc-unitfile-add-page .rc-unitfile-progress-row>.w20{color:var(--rc-text);font-size:12px;font-weight:700}
.rc-unitfile-add-page .rc-unitfile-category-row .zWrapMaterial{padding:6px 0}
.rc-unitfile-add-page .rc-unitfile-upload-row .w80{min-height:126px}
.rc-unitfile-add-page .rc-unitfile-upload-row #drop{display:flex;align-items:center;justify-content:center;gap:16px;width:100%;min-height:112px;padding:18px 22px;border:1px dashed #9fbbb2;border-radius:7px;background:#f5faf8;color:var(--rc-primary);text-align:left;transition:border-color .15s ease,background .15s ease}
.rc-unitfile-add-page .rc-unitfile-upload-row #drop:hover{border-color:var(--rc-primary);background:#eef7f4}
.rc-unitfile-dropzone__icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 50px;width:50px;height:50px;border-radius:50%;background:#e3f1ed;color:var(--rc-primary);font-size:22px}
.rc-unitfile-dropzone__copy{display:flex;align-items:flex-start;min-width:0;flex-direction:column}
.rc-unitfile-dropzone__copy strong{color:var(--rc-text);font-size:14px;line-height:1.5}
.rc-unitfile-dropzone__copy small{margin:3px 0 10px;color:var(--rc-muted);font-size:11px;line-height:1.5}
.rc-unitfile-add-page .rc-unitfile-upload-row #drop a{display:inline-flex;align-items:center;justify-content:center;min-height:34px;margin:0;padding:6px 15px;border-radius:4px;color:#fff;background:var(--rc-primary);font-size:12px;font-weight:600;text-transform:none;cursor:pointer}
.rc-unitfile-add-page .rc-unitfile-upload-row #drop a:hover{background:var(--rc-primary-hover)}
.rc-unitfile-add-page .rc-unitfile-upload-row #drop input[type=file]{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}
.rc-unitfile-add-page .rc-unitfile-progress-row #fsUploadProgress{display:flex;align-items:flex-start;min-height:98px;padding:8px 0}
.rc-unitfile-add-page .rc-unitfile-progress-row #fileTips{width:100%;margin:0;padding:0}
.rc-unitfile-add-page .rc-unitfile-progress-row #fileTips:empty::before{display:block;padding:20px 0;color:#8a9691;content:'上传文件后将在这里显示进度';font-size:12px;text-align:center}
.rc-unitfile-add-page #fileTips li{position:relative;display:grid;grid-template-columns:54px minmax(0,1fr) 28px;align-items:center;min-height:66px;margin:0 0 8px;padding:8px 10px;border:1px solid var(--rc-border);border-radius:6px;background:#f9fbfa}
.rc-unitfile-add-page #fileTips li:last-child{margin-bottom:0}
.rc-unitfile-add-page #fileTips li>input{display:none}
.rc-unitfile-add-page #fileTips li canvas{position:static!important;grid-column:1;width:46px!important;height:46px!important}
.rc-unitfile-add-page #fileTips li p{position:static!important;grid-column:2;width:auto!important;margin:0!important;overflow:hidden;color:var(--rc-text)!important;font-size:12px!important;font-weight:600!important;text-overflow:ellipsis;white-space:nowrap}
.rc-unitfile-add-page #fileTips li p i{display:block;margin-top:4px;color:var(--rc-muted);font-size:10px;font-style:normal;font-weight:400}
.rc-unitfile-add-page #fileTips li>span{position:static!important;grid-column:3;width:26px!important;height:26px!important;border-radius:4px;background:#f5e9e7!important;cursor:pointer}
.rc-unitfile-add-page #fileTips li>span::before{display:block;color:var(--rc-danger);font-size:16px;line-height:24px;text-align:center;content:'×'}
.rc-unitfile-add-page #fileTips li.working>span::before{font-size:12px;content:'■'}
.rc-unitfile-add-page #fileTips li.error{border-color:#e8c7c2;background:#fff8f7}
.rc-unitfile-add-actions{justify-content:flex-end!important}
.rc-unitfile-add-page .xximage_2>.bor_bot{grid-template-columns:160px minmax(0,1fr);min-height:78px}
.rc-unitfile-add-page .xximage_2>.bor_bot.xximage_div1{min-height:118px}
.rc-unitfile-add-page .xximage_2>.bor_bot:nth-last-child(2){align-items:stretch;min-height:132px}
.rc-unitfile-add-page .xximage_2>.bor_bot:nth-last-child(2)>#fsUploadProgress{height:auto!important;min-height:100px;max-height:180px;overflow:auto}
.rc-unitfile-add-page .xximage_2 .w80{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.rc-unitfile-add-page .xximage_2 #fileType{height:36px!important;min-width:150px;padding:6px 10px;border:1px solid #cbd6d2;border-radius:4px;background:#fff}
.rc-unitfile-add-page .xximage_2 #messageInfo{display:inline-block!important;width:auto!important;max-width:100%;margin:0!important;color:var(--rc-muted);line-height:1.5}
.rc-unitfile-add-page .xximage_2 .h93{margin:0 -18px -18px}
.rc-unitfile-add-page .xximage_2 .h93btn img{width:14px;height:14px;object-fit:contain}
@media(max-width:760px){
  .rc-unitfile-add-header{margin:10px;padding:14px}
  .rc-unitfile-add-header h1{font-size:18px}
  .rc-unitfile-add-page #upload{max-width:none}
  .rc-unitfile-add-page .xximage_2>.bor_bot{grid-template-columns:1fr;gap:5px}
  .rc-unitfile-add-page .xximage_2 .w20,.rc-unitfile-add-page .xximage_2>.bor_bot.xximage_div1>div:first-child{padding:5px 0;text-align:left!important}
  .rc-unitfile-add-page .xximage_2 .detop_left{align-items:stretch;flex-direction:column}
  .rc-unitfile-add-page .xximage_2 .detop_left .xxin3_r{justify-content:flex-start}
  .rc-unitfile-add-page .rc-unitfile-upload-row #drop{align-items:center;flex-direction:column;text-align:center}
  .rc-unitfile-dropzone__copy{align-items:center}
}
.rc-unitfile-page .xximage_2 {
  margin: 0 !important;
  padding: 0 16px 16px !important;
  border: 0 !important;
}
.rc-unitfile-page .xximage_2 > .bor_bot {
  display: grid;
  grid-template-columns: 180px minmax(0,1fr);
  align-items: center;
  box-sizing: border-box;
  width: 100% !important;
  height: auto !important;
  min-height: 72px;
  padding: 10px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #edf0ef !important;
}
.rc-unitfile-page .xximage_2 > .bor_bot.xximage_div1{align-items:stretch;min-height:116px}
.rc-unitfile-page .xximage_2 > .bor_bot.xximage_div1>div:first-child{display:flex!important;align-items:center;justify-content:flex-start;width:auto!important;height:auto!important;min-height:0;line-height:1.5!important;padding:14px 18px 14px 0;box-sizing:border-box;text-align:left!important}
.rc-unitfile-page .xximage_2 .zWrapMaterial{min-width:0;padding:4px 0}
.rc-unitfile-page .xximage_2 .detop_left{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.rc-unitfile-page .xximage_2 .detop_left #menu{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}
.rc-unitfile-page .xximage_2 .detop_left .xxin3_r{display:flex!important;align-items:center;flex:0 0 auto;gap:6px}
.rc-unitfile-page .xximage_2 .zWrapMaterial>p{margin:8px 0 0!important;line-height:1.5}
.rc-unitfile-page .xximage_2 .h85 .w80{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.rc-unitfile-page .xximage_2 #drop{display:inline-flex;align-items:center;min-height:36px;padding:0 13px;border:1px dashed #9fbbb2;border-radius:4px;background:#f4faf7;color:var(--rc-primary);cursor:pointer}
.rc-unitfile-page .xximage_2 #drop a{color:inherit;text-decoration:none}
.rc-unitfile-page .xximage_2 #drop input[type="file"]{width:1px;height:1px;overflow:hidden;opacity:0}
.rc-unitfile-page .xximage_2 #fsUploadProgress{width:100%;min-width:0;box-sizing:border-box;padding:10px 0}
.rc-unitfile-page .xximage_2 #fileTips{margin:0;padding:0;list-style:none}
.rc-unitfile-page .xximage_2 .w20 {
  float: none !important;
  width: auto !important;
  height: auto !important;
  min-height: 34px;
  padding: 7px 18px 7px 0;
  color: #475550;
  font-weight: 600;
  text-align: right;
  border: 0 !important;
}
.rc-unitfile-page .xximage_2 .w80 {
  float: none !important;
  box-sizing: border-box;
  width: 100% !important;
  height: auto !important;
  min-height: 34px;
  padding: 0 !important;
}
.rc-unitfile-page .xximage_2 .h93 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-height: 58px;
  margin: 0 -16px -16px;
  padding: 11px 16px;
  background: #f7f9f8;
  border-top: 1px solid var(--rc-border);
}
.rc-unitfile-page .xximage_2 .h93btn {
  position: static !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 36px;
  margin: 0 !important;
  padding: 7px 14px;
  color: #fff;
  background: var(--rc-primary) !important;
  border: 0;
  border-radius: 4px;
}

/* Party-device renewal pages reached from the device list */
.rc-unit-renewal-page .box_right > b,
.rc-unit-renewal-page .box_right > b ~ p {
  display: block;
  margin: 0;
  padding: 3px 14px;
  color: #53615c;
  background: #fff;
  border-right: 1px solid var(--rc-border);
  border-left: 1px solid var(--rc-border);
}
.rc-unit-renewal-page .box_right > b {
  padding-top: 13px;
  color: var(--rc-text);
  border-top: 1px solid var(--rc-border);
  border-radius: 6px 6px 0 0;
}
.rc-unit-renewal-page .box_right > b ~ p:last-of-type {
  padding-bottom: 13px;
  border-bottom: 1px solid var(--rc-border);
  border-radius: 0 0 6px 6px;
}
.rc-unit-renewal-page .box_right > div > h4,
.rc-unit-renewal-page .table-height > h4 {
  margin: 14px 0 0 !important;
  padding: 12px 14px;
  color: var(--rc-text);
  font-size: 14px;
  background: #fff;
  border: 1px solid var(--rc-border);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}
.rc-unit-renewal-page #openDeviceBySelf > .box_right {
  width: 100% !important;
  min-height: 0;
  margin: 14px 0 0 !important;
  padding: 0 !important;
  background: transparent;
}
.rc-unit-renewal-page .RenewWrapP {
  margin: 0 !important;
  padding: 13px 16px;
  color: var(--rc-text);
  font-size: 14px;
  font-weight: 700;
  background: #f7f9f8;
  border: 1px solid var(--rc-border);
  border-radius: 7px 7px 0 0;
}
.rc-unit-renewal-page .RenewWrap {
  margin: 0 !important;
  padding: 16px !important;
  background: #fff;
  border: 1px solid var(--rc-border);
  border-top: 0;
  border-radius: 0 0 7px 7px;
  box-shadow: var(--rc-shadow);
}
.rc-unit-renewal-page .RenewTime {
  display: grid;
  grid-template-columns: 140px minmax(0,1fr);
  align-items: start;
  min-height: 58px;
  padding: 10px 0;
  border-bottom: 1px solid #edf0ef;
}
.rc-unit-renewal-page .RenewTime > span {
  float: none !important;
  padding: 7px 15px 7px 0;
  color: #475550;
  font-weight: 600;
  text-align: right;
}
.rc-unit-renewal-page .RenewTime ul {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rc-unit-renewal-page .RenewTime li {
  margin: 0;
}
.rc-unit-renewal-page .RenewTime label {
  display: flex;
  align-items: center;
  min-height: 38px;
  margin: 0;
  padding: 6px 10px;
  background: #f7f9f8;
  border: 1px solid var(--rc-border);
  border-radius: 4px;
}
.rc-unit-renewal-page .RenewTime input[type="radio"] {
  margin: 0 7px 0 0;
  accent-color: var(--rc-primary);
}
.rc-unit-renewal-page .RenewNeedPay {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0 0;
}
.rc-unit-renewal-page .RenewNeedPay > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 18px;
  color: #fff;
  font-weight: 600;
  background: var(--rc-primary);
  border-radius: 4px;
}

.rc-unit-service-page.rc-rtl .rc-unit-footer .page {
  margin-right: auto !important;
  margin-left: 0 !important;
}
.rc-unit-service-page.rc-rtl .rc-unit-footer .page + span {
  margin-right: auto !important;
  margin-left: 4px !important;
}
.rc-unitfile-page.rc-rtl .rc-unitfile-card > input[type="checkbox"] {
  right: 11px;
  left: auto;
}
.rc-unitfile-page.rc-rtl .xximage_2 .w20,
.rc-unit-renewal-page.rc-rtl .RenewTime > span {
  padding-right: 0;
  padding-left: 18px;
  text-align: left;
}
.rc-unit-renewal-page.rc-rtl .RenewTime input[type="radio"] {
  margin-right: 0;
  margin-left: 7px;
}
@media(max-width:900px){
  .rc-unitfile-page .rc-unitfile-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}
  .rc-unitfile-page .xximage_2 > .bor_bot,.rc-unit-renewal-page .RenewTime{grid-template-columns:1fr}
  .rc-unitfile-page .xximage_2 .w20,.rc-unit-renewal-page .RenewTime > span{padding:0 0 7px;text-align:left}
  .rc-unit-service-page.rc-rtl .xximage_2 .w20,.rc-unit-renewal-page.rc-rtl .RenewTime > span{text-align:right}
}
@media(max-width:640px){
  .rc-unit-service-page .rc-unit-toolbar,.rc-unit-service-page .weixin1Sel > .weixin1{align-items:stretch;flex-direction:column}
  .rc-unit-service-page .rc-unit-toolbar input,.rc-unit-service-page .rc-unit-toolbar select,.rc-unit-service-page .rc-unit-toolbar .btn{width:100%!important}
  .rc-unit-service-page .rc-unit-footer{align-items:stretch}
  .rc-unit-service-page .rc-unit-footer .page,.rc-unit-service-page .rc-unit-footer .page + span{width:100%;margin:0!important;justify-content:center;text-align:center}
  .rc-unitfile-page .rc-unitfile-grid{grid-template-columns:1fr}
  .rc-unitfile-page .xxin3.change_wrap{align-items:stretch;flex-direction:column}
  .rc-unitfile-page .xxin3_r{width:100%;justify-content:flex-end}
  .rc-unit-renewal-page .RenewNeedPay{align-items:stretch;flex-direction:column}
}

/* APP version management -------------------------------------------------- */
.rc-appversion-page .box_right.rc-appversion{box-sizing:border-box;width:100%;max-width:none;padding:16px 18px 28px;overflow-x:hidden;background:var(--rc-canvas,#f5f7f8)}
.rc-appversion-page .rc-appversion-breadcrumbs{margin:0 0 12px;padding:0;background:transparent;border:0}.rc-appversion-page .rc-appversion-breadcrumbs .breadcrumb{margin:0;padding:11px 14px;background:#fff;border:1px solid var(--rc-border,#e3e8e6);border-radius:6px}.rc-appversion-page .rc-appversion-breadcrumbs li{font-size:13px}
.rc-appversion-hero{display:flex;align-items:center;gap:13px;margin-bottom:14px;padding:18px 20px;background:#fff;border:1px solid var(--rc-border,#e3e8e6);border-radius:6px;box-shadow:0 4px 15px rgba(27,49,43,.04)}.rc-appversion-hero__icon{display:flex;align-items:center;justify-content:center;flex:0 0 46px;height:46px;color:var(--rc-primary,#075d4e);font-size:20px;background:#eaf4f1;border-radius:6px}.rc-appversion-hero h1{margin:0;color:var(--rc-text,#1f2927);font-size:22px;line-height:1.35}.rc-appversion-hero p{margin:4px 0 0;color:var(--rc-muted,#59635f);font-size:13px}.rc-appversion-hero>.rc-btn{margin-inline-start:auto}
.rc-appversion-card,.rc-appversion-form-card{margin:0;padding:0;background:#fff;border:1px solid var(--rc-border,#e3e8e6);border-radius:6px;box-shadow:0 5px 18px rgba(27,49,43,.05)}
.rc-appversion-toolbar{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--rc-border,#e3e8e6)}.rc-appversion-toolbar label{margin:0;color:var(--rc-text,#1f2927);font-size:13px;font-weight:600;white-space:nowrap}.rc-appversion-toolbar select{width:min(280px,34vw);height:36px;margin:0;padding:6px 30px 6px 10px;border:1px solid #cfd8d5;border-radius:4px;background:#fff}.rc-appversion-toolbar #type{width:min(210px,25vw)}.rc-appversion-page .rc-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;box-sizing:border-box;width:auto!important;min-height:32px;margin:0!important;padding:6px 11px;border:1px solid transparent;border-radius:4px;font-size:12px;line-height:18px;text-decoration:none!important;white-space:nowrap;box-shadow:none;text-shadow:none;cursor:pointer}.rc-appversion-page .rc-btn--primary{color:#fff;background:var(--rc-primary,#075d4e);border-color:var(--rc-primary,#075d4e)}.rc-appversion-page .rc-btn--accent{color:#fff;background:var(--rc-accent,#397aa4);border-color:var(--rc-accent,#397aa4)}.rc-appversion-page .rc-btn--secondary{color:var(--rc-primary,#075d4e);background:#eaf4f1;border-color:#c8ded8}.rc-appversion-page .rc-btn--neutral{color:#4f5e59;background:#fff;border-color:#cfd8d5}.rc-appversion-page .rc-btn--danger{color:#fff;background:var(--rc-danger,#c85147);border-color:var(--rc-danger,#c85147)}.rc-appversion-page .rc-btn[disabled]{opacity:.55;cursor:not-allowed}
.rc-appversion-table-wrap{width:100%;overflow-x:auto}.rc-appversion-table{width:100%;min-width:1120px;margin:0;border-collapse:collapse;table-layout:fixed}.rc-appversion-table th{height:40px;padding:7px 10px;color:#4e5b57;font-size:12px;font-weight:600;text-align:left;background:#f1f4f3;border-bottom:1px solid var(--rc-border,#e3e8e6)}.rc-appversion-table td{height:52px;padding:8px 10px;color:var(--rc-text,#1f2927);font-size:12px;vertical-align:middle;border-bottom:1px solid #edf0ef}.rc-appversion-table tr:last-child td{border-bottom:0}.rc-appversion-table th:nth-child(1){width:175px}.rc-appversion-table th:nth-child(2){width:110px}.rc-appversion-table th:nth-child(3){width:86px}.rc-appversion-table th:nth-child(4){width:105px}.rc-appversion-table th:nth-child(5){width:76px}.rc-appversion-table th:nth-child(6){width:190px}.rc-appversion-table th:nth-child(7){width:180px}.rc-appversion-table th:nth-child(8){width:250px}.rc-appversion-table td strong{display:block;font-size:13px}.rc-appversion-table td small{display:block;margin-top:3px;color:#7a8682}.rc-appversion-type{display:inline-flex;align-items:center;min-height:24px;padding:2px 8px;color:var(--rc-primary,#075d4e);font-weight:600;background:#eaf4f1;border-radius:12px}.rc-status{display:inline-flex;align-items:center;gap:4px;padding:3px 7px;color:#68736f;background:#f0f2f1;border-radius:11px}.rc-status--current{color:#087a5d;background:#e4f5ee}.rc-link{display:inline-flex;align-items:center;gap:4px;color:var(--rc-primary,#075d4e)!important;text-decoration:none!important}.rc-asset-links{display:flex;align-items:flex-start;flex-direction:column;gap:5px}.rc-asset-links>span{display:inline-flex;align-items:center;gap:4px;color:#99a39f}.rc-appversion-note{display:-webkit-box;overflow:hidden;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:2}.rc-appversion-table .rc-actions{display:flex;align-items:center;gap:5px;white-space:nowrap}.rc-appversion-table .rc-actions .rc-btn{min-height:28px;padding:4px 7px;font-size:11px}.rc-appversion-empty{display:flex;align-items:center;justify-content:center;gap:8px;min-height:150px;color:#87918e;font-size:14px}.rc-appversion-empty i{font-size:22px}.rc-appversion-pager{display:flex;align-items:center;justify-content:flex-end;min-height:48px;padding:0 14px;border-top:1px solid var(--rc-border,#e3e8e6)}.rc-appversion-pager .page{margin:0}.rc-appversion-pager>span{float:none!important;margin:0 0 0 12px!important}
.rc-appversion-form-card{padding:0}.rc-form-section{padding:18px 20px;border-bottom:1px solid var(--rc-border,#e3e8e6)}.rc-form-section__title{display:flex;align-items:center;gap:8px;margin-bottom:15px;color:var(--rc-text,#1f2927);font-size:15px;font-weight:700}.rc-form-section__title i{display:flex;align-items:center;justify-content:center;width:28px;height:28px;color:var(--rc-primary,#075d4e);background:#eaf4f1;border-radius:5px}.rc-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 18px}.rc-field{display:flex;min-width:0;margin:0;flex-direction:column;gap:7px}.rc-field>span{color:#46534f;font-size:12px;font-weight:600}.rc-field>span b{margin-inline-start:3px;color:var(--rc-danger,#c85147)}.rc-field input,.rc-field select,.rc-field textarea{box-sizing:border-box;width:100%;height:38px;margin:0;padding:7px 10px;color:var(--rc-text,#1f2927);font-size:13px;background:#fff;border:1px solid #cfd8d5;border-radius:4px;box-shadow:none}.rc-field textarea{height:auto;min-height:90px;resize:vertical}.rc-field input:focus,.rc-field select:focus,.rc-field textarea:focus{border-color:var(--rc-primary,#075d4e);outline:0;box-shadow:0 0 0 2px rgba(7,93,78,.10)}.rc-field--wide{grid-column:1/-1}.rc-upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.rc-upload-box{position:relative;display:grid;grid-template-columns:38px 1fr auto;grid-template-rows:auto auto;align-items:center;gap:3px 10px;box-sizing:border-box;min-height:92px;margin:0;padding:13px 14px;color:var(--rc-text,#1f2927);background:#f9fbfa;border:1px dashed #b8cbc5;border-radius:6px;cursor:pointer}.rc-upload-box>i{display:flex;align-items:center;justify-content:center;grid-row:1/3;width:38px;height:38px;color:var(--rc-primary,#075d4e);font-size:17px;background:#e6f2ef;border-radius:5px}.rc-upload-box strong{font-size:13px}.rc-upload-box span{overflow:hidden;color:#71807b;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.rc-upload-box input[type=file]{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.rc-upload-box em{grid-row:1/3;grid-column:3;max-width:150px;padding:6px 9px;overflow:hidden;color:#fff;font-size:11px;font-style:normal;text-overflow:ellipsis;white-space:nowrap;background:var(--rc-primary,#075d4e);border-radius:4px}.rc-upload-box>a{display:inline-flex;align-items:center;gap:4px;grid-column:2;color:var(--rc-primary,#075d4e);font-size:11px}.rc-upload-box--existing{grid-template-columns:54px 1fr auto;min-height:108px}.rc-upload-box--existing>img{grid-row:1/4;width:54px;height:54px;object-fit:contain;background:#fff;border:1px solid var(--rc-border,#e3e8e6);border-radius:4px}.rc-upload-box--existing>img~i{display:none}.rc-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:14px 20px}.rc-form-actions .rc-btn{min-width:96px;min-height:36px}.rc-appversion-page .ui-datepicker{font-size:12px}
.rc-appversion-page .rc-upload-grid>.rc-field{box-sizing:border-box;min-height:92px;padding:13px 14px;background:#f9fbfa;border:1px solid #cfe0db;border-radius:6px}.rc-appversion-page .rc-upload-grid>.rc-field small{color:#71807b;font-size:11px;line-height:1.5}.rc-appversion-page .rc-upload-grid>.rc-field>a{align-self:flex-start;font-size:11px}
.rc-appversion-source-row{margin-bottom:14px}.rc-appversion-source-row .rc-field{max-width:calc(50% - 9px)}.rc-appversion-source-row small{color:#71807b;font-size:11px;line-height:1.5}
.rc-appversion-page.rc-rtl .rc-appversion,.rc-appversion-page.rc-rtl .rc-appversion *{direction:rtl}.rc-appversion-page.rc-rtl .rc-appversion-table th{text-align:right}.rc-appversion-page.rc-rtl .rc-appversion-pager>span{margin:0 12px 0 0!important}.rc-appversion-page.rc-rtl .rc-appversion-hero>.rc-btn{margin-right:auto!important;margin-left:0!important}
@media(max-width:900px){.rc-appversion-page .box_right.rc-appversion{padding:12px}.rc-appversion-hero{align-items:flex-start;flex-wrap:wrap}.rc-appversion-hero>.rc-btn{width:100%!important;margin-inline-start:0}.rc-appversion-toolbar{align-items:stretch;flex-wrap:wrap}.rc-appversion-toolbar select{width:100%;flex:1 1 240px}.rc-form-grid,.rc-upload-grid{grid-template-columns:1fr}.rc-field--wide{grid-column:auto}.rc-appversion-source-row .rc-field{max-width:none}.rc-appversion-pager{overflow:hidden;flex-wrap:wrap;justify-content:center}.rc-form-section{padding:15px}.rc-form-actions{padding:12px 15px}}
@media(prefers-reduced-motion:reduce){.rc-appversion-page *,.rc-appversion-page *:before,.rc-appversion-page *:after{transition:none!important;animation:none!important}}

/* APP welcome pages -------------------------------------------------------- */
.rc-appwelcome-page .box_right.rc-appwelcome{box-sizing:border-box;width:100%;max-width:none;padding:16px 18px 28px;overflow-x:hidden;background:var(--rc-canvas,#f5f7f8)}
.rc-appwelcome-page .rc-appwelcome-breadcrumbs{margin:0 0 12px;padding:0;background:transparent;border:0}.rc-appwelcome-page .rc-appwelcome-breadcrumbs .breadcrumb{margin:0;padding:11px 14px;background:#fff;border:1px solid var(--rc-border,#e3e8e6);border-radius:6px}.rc-appwelcome-page .rc-appwelcome-breadcrumbs li{font-size:13px}
.rc-appwelcome-hero{display:flex;align-items:center;gap:13px;margin-bottom:14px;padding:18px 20px;background:#fff;border:1px solid var(--rc-border,#e3e8e6);border-radius:6px;box-shadow:0 4px 15px rgba(27,49,43,.04)}.rc-appwelcome-hero__icon{display:flex;align-items:center;justify-content:center;flex:0 0 46px;height:46px;color:var(--rc-primary,#075d4e);font-size:20px;background:#eaf4f1;border-radius:6px}.rc-appwelcome-hero h1{margin:0;color:var(--rc-text,#1f2927);font-size:22px;line-height:1.35}.rc-appwelcome-hero p{margin:4px 0 0;color:var(--rc-muted,#59635f);font-size:13px}.rc-appwelcome-hero>.rc-btn{margin-inline-start:auto}
.rc-appwelcome-card,.rc-appwelcome-form-card{margin:0;background:#fff;border:1px solid var(--rc-border,#e3e8e6);border-radius:6px;box-shadow:0 5px 18px rgba(27,49,43,.05)}
.rc-appwelcome-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:12px 16px;border-bottom:1px solid var(--rc-border,#e3e8e6)}.rc-appwelcome-toolbar strong{color:var(--rc-text,#1f2927);font-size:13px;font-weight:600}.rc-appwelcome-toolbar span{color:var(--rc-muted,#59635f);font-size:12px}
.rc-appwelcome-table-wrap{width:100%;overflow-x:auto}
.rc-appwelcome-table{width:100%;min-width:980px;margin:0;border-collapse:collapse;table-layout:fixed}.rc-appwelcome-table th{height:40px;padding:7px 10px;color:#4e5b57;font-size:12px;font-weight:600;text-align:left;background:#f1f4f3;border-bottom:1px solid var(--rc-border,#e3e8e6)}.rc-appwelcome-table td{height:76px;padding:8px 10px;color:var(--rc-text,#1f2927);font-size:12px;vertical-align:middle;border-bottom:1px solid #edf0ef}.rc-appwelcome-table tr:last-child td{border-bottom:0}.rc-appwelcome-table th:nth-child(1){width:150px}.rc-appwelcome-table th:nth-child(2){width:160px}.rc-appwelcome-table th:nth-child(3){width:96px}.rc-appwelcome-table th:nth-child(4){width:92px}.rc-appwelcome-table th:nth-child(5){width:112px}.rc-appwelcome-table th:nth-child(6){width:130px}.rc-appwelcome-table th:nth-child(7){width:240px}.rc-appwelcome-table td strong{display:block;overflow:hidden;font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.rc-appwelcome-shotwrap{display:flex;align-items:center;gap:9px}
.rc-appwelcome-shot{display:flex;align-items:center;justify-content:center;flex:0 0 48px;box-sizing:border-box;width:48px;height:56px;padding:2px;background:#f7faf9;border:1px solid var(--rc-border,#e3e8e6);border-radius:5px}.rc-appwelcome-shot img{max-width:100%;max-height:100%;object-fit:contain}
.rc-appwelcome-size strong{font-size:12px}.rc-appwelcome-size small{display:block;margin-top:2px;color:#7a8682}
.rc-appwelcome-duration{display:inline-flex;align-items:center;gap:4px;min-height:24px;padding:2px 9px;color:var(--rc-primary,#075d4e);font-weight:600;background:#eaf4f1;border-radius:12px}
.rc-appwelcome-time{color:var(--rc-muted,#59635f);white-space:nowrap}
.rc-appwelcome-table .rc-actions{display:flex;align-items:center;gap:5px;white-space:nowrap}
.rc-appwelcome-page .rc-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;box-sizing:border-box;width:auto!important;min-height:32px;margin:0!important;padding:6px 11px;border:1px solid transparent;border-radius:4px;font-size:12px;line-height:18px;text-decoration:none!important;white-space:nowrap;box-shadow:none;text-shadow:none;cursor:pointer}.rc-appwelcome-page .rc-btn--primary{color:#fff;background:var(--rc-primary,#075d4e);border-color:var(--rc-primary,#075d4e)}.rc-appwelcome-page .rc-btn--accent{color:#fff;background:var(--rc-accent,#397aa4);border-color:var(--rc-accent,#397aa4)}.rc-appwelcome-page .rc-btn--secondary{color:var(--rc-primary,#075d4e);background:#eaf4f1;border-color:#c8ded8}.rc-appwelcome-page .rc-btn--neutral{color:#4f5e59;background:#fff;border-color:#cfd8d5}.rc-appwelcome-page .rc-btn--danger{color:#fff;background:var(--rc-danger,#c85147);border-color:var(--rc-danger,#c85147)}.rc-appwelcome-page .rc-btn[disabled]{opacity:.55;cursor:not-allowed}.rc-appwelcome-table .rc-actions .rc-btn{min-height:28px;padding:4px 8px;font-size:11px}
.rc-appwelcome-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;min-height:250px;padding:30px 20px;text-align:center}.rc-appwelcome-empty__icon{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;background:#eaf4f1;border-radius:50%}.rc-appwelcome-empty__icon i{display:inline-block;width:14px;height:14px;line-height:14px}.rc-appwelcome-empty h3{margin:0;color:var(--rc-text,#1f2927);font-size:15px;font-weight:600}.rc-appwelcome-empty p{margin:0;color:var(--rc-muted,#59635f);font-size:13px}
.rc-appwelcome-pager{display:flex;align-items:center;justify-content:flex-end;min-height:48px;padding:0 14px;border-top:1px solid var(--rc-border,#e3e8e6)}.rc-appwelcome-pager .page{margin:0}.rc-appwelcome-pager>span{float:none!important;margin:0 0 0 12px!important;color:var(--rc-muted,#59635f);font-size:11px}
.rc-appwelcome-page.rc-rtl .rc-appwelcome,.rc-appwelcome-page.rc-rtl .rc-appwelcome *{direction:rtl}.rc-appwelcome-page.rc-rtl .rc-appwelcome-table th{text-align:right}.rc-appwelcome-page.rc-rtl .rc-appwelcome-pager>span{margin:0 12px 0 0!important}.rc-appwelcome-page.rc-rtl .rc-appwelcome-hero>.rc-btn{margin-right:auto!important;margin-left:0!important}
@media(max-width:900px){.rc-appwelcome-page .box_right.rc-appwelcome{padding:12px}.rc-appwelcome-hero{align-items:flex-start;flex-wrap:wrap}.rc-appwelcome-hero>.rc-btn{width:100%!important;margin-inline-start:0}.rc-appwelcome-toolbar{align-items:flex-start;flex-direction:column;gap:6px}.rc-appwelcome-pager{overflow:hidden;flex-wrap:wrap;justify-content:center}.rc-form-grid,.rc-upload-grid{grid-template-columns:1fr}.rc-form-actions{padding:12px 15px}}

/* User material upload workbench: clear upload focus, compact settings and queue feedback. */
.rc-file-upload-page .box_right.rc-file-upload {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  padding: 0 18px 28px;
  color: var(--rc-text);
  font-family: var(--rc-font);
}
.rc-file-upload-page .rc-upload-form {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}
.rc-file-upload-page .rc-upload-hero {
  display: flex;
  align-items: center;
  gap: 13px;
  box-sizing: border-box;
  min-height: 76px;
  margin: 0 0 12px;
  padding: 15px 18px;
  border: 1px solid var(--rc-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--rc-shadow);
}
.rc-file-upload-page .rc-upload-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--rc-primary);
  background: #e7f2ee;
  font-size: 19px;
}
.rc-file-upload-page .rc-upload-hero__copy { flex: 1 1 auto; min-width: 0; }
.rc-file-upload-page .rc-upload-hero h1 {
  margin: 0;
  color: var(--rc-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}
.rc-file-upload-page .rc-upload-hero p {
  margin: 3px 0 0;
  color: var(--rc-muted);
  font-size: 12px;
  line-height: 1.5;
}
.rc-file-upload-page .rc-upload-storage {
  display: grid;
  grid-template-columns: 34px minmax(210px, 260px);
  align-items: center;
  gap: 9px;
  flex: 0 1 310px;
  box-sizing: border-box;
  min-width: 250px;
  padding: 9px 11px;
  border: 1px solid #d9e5e1;
  border-radius: 7px;
  background: #f7faf9;
}
.rc-file-upload-page .rc-upload-storage__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  color: var(--rc-primary);
  background: #e4f0ec;
  font-size: 15px;
}
.rc-file-upload-page .rc-upload-storage__content { min-width: 0; }
.rc-file-upload-page .rc-upload-storage__title,
.rc-file-upload-page .rc-upload-storage__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.rc-file-upload-page .rc-upload-storage__title strong { color: var(--rc-text); font-size: 11px; }
.rc-file-upload-page .rc-upload-storage__title span { color: var(--rc-primary); font-size: 10px; font-weight: 700; }
.rc-file-upload-page .rc-upload-storage__track {
  width: 100%;
  height: 5px;
  margin: 6px 0 5px;
  overflow: hidden;
  border-radius: 3px;
  background: #dfe8e5;
}
.rc-file-upload-page .rc-upload-storage__track > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--rc-primary);
  transition: width .2s ease;
}
.rc-file-upload-page .rc-upload-storage__track > span.is-warning { background: var(--rc-warning); }
.rc-file-upload-page .rc-upload-storage__track > span.is-danger { background: var(--rc-danger); }
.rc-file-upload-page .rc-upload-storage__meta { color: #71807b; font-size: 9px; }
.rc-file-upload-page .rc-upload-storage__meta b { color: #43504c; font-weight: 700; }
.rc-file-upload-page .rc-upload-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 6px;
  box-sizing: border-box;
  min-width: 104px;
  min-height: 36px;
  margin: 0;
  padding: 7px 14px;
  border: 1px solid #cbd6d2;
  border-radius: 5px;
  color: #52615c;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  box-shadow: none;
  text-shadow: none;
}
.rc-file-upload-page .rc-upload-back:hover { border-color: #9fb5ad; color: var(--rc-primary); background: #f4f8f6; }
.rc-file-upload-page .rc-upload-back:focus,
.rc-file-upload-page .rc-upload-type-cards button:focus,
.rc-file-upload-page .rc-upload-dropzone:focus {
  outline: 2px solid rgba(7, 93, 78, .28);
  outline-offset: 2px;
}
.rc-file-upload-page .rc-upload-notice {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 12px;
  border: 1px solid #e5dcc8;
  border-left: 4px solid var(--rc-warning);
  border-radius: 7px;
  color: #5d645f;
  background: #fffaf1;
  font-size: 12px;
}
.rc-file-upload-page .rc-upload-notice summary {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 13px;
  cursor: pointer;
  list-style: none;
}
.rc-file-upload-page .rc-upload-notice summary::-webkit-details-marker { display: none; }
.rc-file-upload-page .rc-upload-notice summary > i { color: var(--rc-warning); font-size: 14px; }
.rc-file-upload-page .rc-upload-notice summary strong { color: #715a2d; }
.rc-file-upload-page .rc-upload-notice summary span { flex: 1 1 auto; }
.rc-file-upload-page .rc-upload-notice summary em { color: #8a7243; font-size: 11px; font-style: normal; }
.rc-file-upload-page .rc-upload-notice[open] summary { border-bottom: 1px solid #eee4d1; }
.rc-file-upload-page .rc-upload-notice__content { padding: 9px 14px 11px 34px; color: #716753; line-height: 1.65; }
.rc-file-upload-page .rc-upload-notice__content p { margin: 0 0 3px; }
.rc-file-upload-page .rc-upload-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(310px, .72fr);
  align-items: start;
  gap: 14px;
}
.rc-file-upload-page .rc-upload-workspace--linear {
  display: block;
  overflow: visible;
  border: 1px solid var(--rc-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--rc-shadow);
}
.rc-file-upload-page .rc-upload-workspace--linear > .rc-upload-panel {
  border: 0;
  border-bottom: 1px solid var(--rc-border);
  border-radius: 0;
  box-shadow: none;
}
.rc-file-upload-page .rc-upload-workspace--linear > .rc-upload-panel:first-child { border-radius: 8px 8px 0 0; }
.rc-file-upload-page .rc-upload-workspace--linear > .rc-upload-panel:last-child { border-bottom: 0; border-radius: 0 0 8px 8px; }
.rc-file-upload-page .rc-upload-workspace--linear .rc-upload-panel__header {
  min-height: 52px;
  padding: 10px 16px;
  border-bottom: 0;
  background: #f8faf9;
}
.rc-file-upload-page .rc-upload-workspace--linear .rc-upload-setting-body { padding: 13px 16px 16px; }
.rc-file-upload-page .rc-upload-workspace--linear .rc-upload-step-optional {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 10px;
  color: #74817c;
  background: #edf1ef;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
}
.rc-file-upload-page .rc-upload-workspace--linear .rc-upload-type-cards { grid-template-columns: repeat(5, minmax(90px, 1fr)); }
.rc-file-upload-page .rc-upload-workspace--linear .rc-upload-type-notes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}
.rc-file-upload-page .rc-upload-workspace--linear .rc-upload-category-tools {
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: row;
  gap: 14px;
}
.rc-file-upload-page .rc-upload-workspace--linear .rc-upload-category-tools #menu { flex: 1 1 auto; }
.rc-file-upload-page .rc-upload-workspace--linear .rc-upload-dropzone { min-height: 206px; margin: 14px 16px; }
.rc-file-upload-page .rc-upload-workspace--linear .rc-upload-queue {
  margin: 0 16px 16px;
  overflow: hidden;
  border: 1px solid #e1e9e6;
  border-radius: 7px;
  background: #fff;
}
.rc-file-upload-page .rc-upload-workspace--linear .rc-upload-queue__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 8px 12px;
  border-bottom: 1px solid #edf1ef;
  background: #fafcfb;
}
.rc-file-upload-page .rc-upload-workspace--linear .rc-upload-queue__bar > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 9px; }
.rc-file-upload-page .rc-upload-workspace--linear .rc-upload-queue__bar strong { color: var(--rc-text); font-size: 12px; }
.rc-file-upload-page .rc-upload-workspace--linear .rc-upload-queue__bar small { color: var(--rc-muted); font-size: 10px; }
.rc-file-upload-page .rc-upload-workspace--linear .rc-upload-queue-count {
  flex: 0 0 auto;
  padding: 4px 9px;
  border-radius: 12px;
  color: var(--rc-primary);
  background: #e7f2ee;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.rc-file-upload-page .rc-upload-composer .rc-upload-field-title,
.rc-file-upload-page .rc-upload-composer .rc-upload-file-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 9px;
  margin: 0 0 9px;
}
.rc-file-upload-page .rc-upload-composer .rc-upload-field-title strong,
.rc-file-upload-page .rc-upload-composer .rc-upload-file-heading strong { color: var(--rc-text); font-size: 12px; }
.rc-file-upload-page .rc-upload-composer .rc-upload-field-title span,
.rc-file-upload-page .rc-upload-composer .rc-upload-file-heading span { color: var(--rc-muted); font-size: 10px; }
.rc-file-upload-page .rc-upload-composer .rc-upload-file-heading {
  margin: 14px 0 0;
  padding-top: 13px;
  border-top: 1px solid #e8eeeb;
}
.rc-file-upload-page .rc-upload-composer .rc-upload-dropzone { min-height: 190px; margin: 10px 0 0; }
.rc-file-upload-page .rc-upload-composer .rc-upload-queue { margin: 12px 0 0; }
.rc-file-upload-page .rc-upload-main,
.rc-file-upload-page .rc-upload-sidebar {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 14px;
}
.rc-file-upload-page .rc-upload-sidebar { position: sticky; top: 12px; }
.rc-file-upload-page .rc-upload-panel {
  box-sizing: border-box;
  min-width: 0;
  overflow: visible;
  border: 1px solid var(--rc-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--rc-shadow);
}
.rc-file-upload-page .rc-upload-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 11px 15px;
  border-bottom: 1px solid #e8eeeb;
  border-radius: 8px 8px 0 0;
  background: #fbfcfc;
}
.rc-file-upload-page .rc-upload-panel__header h2 {
  margin: 0;
  color: var(--rc-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}
.rc-file-upload-page .rc-upload-panel__header p {
  margin: 2px 0 0;
  color: var(--rc-muted);
  font-size: 11px;
  line-height: 1.45;
}
.rc-file-upload-page .rc-upload-panel__header > span {
  flex: 0 0 auto;
  padding: 4px 9px;
  border-radius: 12px;
  color: var(--rc-primary);
  background: #e7f2ee;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.rc-file-upload-page .rc-upload-dropzone {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 238px;
  margin: 16px;
  padding: 28px;
  flex-direction: column;
  border: 1px dashed #9fbbb2;
  border-radius: 8px;
  color: var(--rc-text);
  background: #f6faf8;
  cursor: pointer;
  text-align: center;
  text-transform: none;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.rc-file-upload-page .rc-upload-dropzone:hover,
.rc-file-upload-page .rc-upload-dropzone.ui-state-hover {
  border-color: var(--rc-primary);
  background: #eef7f3;
  box-shadow: inset 0 0 0 1px rgba(7, 93, 78, .05);
}
.rc-file-upload-page .rc-upload-dropzone__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  border-radius: 50%;
  color: var(--rc-primary);
  background: #e0eee9;
  font-size: 25px;
}
.rc-file-upload-page .rc-upload-dropzone > strong { color: var(--rc-text); font-size: 16px; line-height: 1.5; }
.rc-file-upload-page .rc-upload-dropzone > small { margin-top: 5px; color: var(--rc-muted); font-size: 11px; line-height: 1.5; }
.rc-file-upload-page .rc-upload-dropzone .rc-upload-choose {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 118px;
  min-height: 36px;
  margin: 16px 0 0;
  padding: 7px 16px;
  border-radius: 5px;
  color: #fff;
  background: var(--rc-primary);
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
  text-decoration: none;
}
.rc-file-upload-page .rc-upload-dropzone .rc-upload-choose:hover { color: #fff; background: var(--rc-primary-hover); }
.rc-file-upload-page .rc-upload-dropzone input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.rc-file-upload-page .rc-upload-legacy-picker { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.rc-file-upload-page .rc-upload-setting-body { padding: 14px; }
.rc-file-upload-page .rc-upload-native-type {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  border: 0 !important;
  white-space: nowrap !important;
}
.rc-file-upload-page .rc-upload-type-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.rc-file-upload-page .rc-upload-type-cards button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-sizing: border-box;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 7px 8px;
  border: 1px solid #d8e2de;
  border-radius: 6px;
  color: #52615c;
  background: #fff;
  font-size: 12px;
  box-shadow: none;
  text-shadow: none;
}
.rc-file-upload-page .rc-upload-type-cards button:hover { border-color: #9fbdb3; color: var(--rc-primary); background: #f3f8f6; }
.rc-file-upload-page .rc-upload-type-cards button i { color: #71847d; font-size: 14px; }
.rc-file-upload-page .rc-upload-type-cards button.is-active {
  border-color: var(--rc-primary);
  color: var(--rc-primary);
  background: #e7f2ee;
  box-shadow: inset 0 0 0 1px rgba(7, 93, 78, .08);
  font-weight: 700;
}
.rc-file-upload-page .rc-upload-type-cards button.is-active i { color: var(--rc-primary); }
.rc-file-upload-page .rc-upload-format-hint,
.rc-file-upload-page .rc-upload-permission-hint {
  display: block;
  width: auto !important;
  height: auto !important;
  margin: 11px 0 0 !important;
  padding: 9px 10px;
  border-radius: 5px;
  color: #68766f;
  background: #f5f8f7;
  font-size: 11px;
  line-height: 1.65;
}
.rc-file-upload-page .rc-upload-permission-hint { margin-top: 7px !important; color: #7b6850 !important; background: #fff9ef; }
.rc-file-upload-page .rc-upload-permission-hint a { margin-left: 4px; padding: 0; color: var(--rc-primary); font-weight: 700; }
.rc-file-upload-page .rc-upload-category-tools { display: flex; min-width: 0; flex-direction: column; gap: 11px; }
.rc-file-upload-page .rc-upload-category-tools #menu { display: flex; flex-wrap: wrap; gap: 7px; min-width: 0; }
.rc-file-upload-page .rc-upload-category-tools .zzz_wrap { position: relative; display: inline-flex; float: none !important; margin: 0; }
.rc-file-upload-page .rc-upload-category-tools .bip.z_bip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: auto;
  min-width: 62px;
  min-height: 31px;
  margin: 0;
  padding: 5px 10px;
  border: 1px solid #d9e3df;
  border-radius: 5px;
  color: #56645f;
  background: #f5f7f6;
  font-size: 11px;
  line-height: 19px;
  text-decoration: none;
}
.rc-file-upload-page .rc-upload-category-tools .bip.z_bip:hover { border-color: #a9c4bb; color: var(--rc-primary); }
.rc-file-upload-page .rc-upload-category-tools .bip.z_bip.det_bg { border-color: var(--rc-primary); color: #fff; background: var(--rc-primary); }
.rc-file-upload-page .rc-upload-category-actions { position: relative; display: flex; align-items: center; gap: 7px; }
.rc-file-upload-page .rc-upload-category-actions .xx3_ra {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-sizing: border-box;
  min-height: 31px;
  margin: 0 !important;
  padding: 5px 9px;
  border: 1px solid #cbd9d4;
  border-radius: 5px;
  color: var(--rc-primary);
  background: #fff;
  font-size: 11px;
  line-height: 19px;
  text-decoration: none;
}
.rc-file-upload-page .rc-upload-category-actions .xx3_ra:hover { background: #f0f7f4; }
.rc-file-upload-page .rc-upload-category-actions .z_more2 {
  right: 0;
  left: auto !important;
  top: 38px !important;
  z-index: 70;
  box-sizing: border-box;
  width: 270px;
  height: auto;
  min-height: 130px;
  padding: 14px;
  border: 1px solid var(--rc-border);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(13, 43, 36, .18);
}
.rc-file-upload-page .rc-upload-category-actions .z_more2 input {
  box-sizing: border-box;
  width: 100%;
  height: 34px;
  margin: 8px 0 4px !important;
  padding: 6px 9px;
  border: 1px solid #cbd6d2;
  border-radius: 4px;
  box-shadow: none;
}
.rc-file-upload-page .rc-upload-category-actions .z_more2 > div { min-height: 18px; color: var(--rc-danger); font-size: 11px; }
.rc-file-upload-page .rc-upload-category-actions .z_spenspan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  float: none;
  width: auto;
  min-width: 58px;
  height: 30px;
  margin: 4px 6px 0 0;
  padding: 0 9px;
  border: 0;
  border-radius: 4px;
  line-height: 30px;
}
.rc-file-upload-page .rc-upload-category-actions .z_spenspan1 { color: #fff; background: var(--rc-primary); }
.rc-file-upload-page .rc-upload-category-actions .z_spenspan2 { color: var(--rc-muted); background: #edf1ef; }
.rc-file-upload-page .rc-upload-category-hint { margin: 10px 0 0 !important; color: #798680 !important; font-size: 11px; line-height: 1.55; }
.rc-file-upload-page .rc-upload-category-hint i { margin-right: 5px; color: var(--rc-warning); }
.rc-file-upload-page .rc-upload-progress {
  box-sizing: border-box;
  min-height: 116px;
  max-height: 310px;
  padding: 12px 14px;
  overflow: auto;
}
.rc-file-upload-page #fileTips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 9px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rc-file-upload-page #fileTips:empty::before {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 1 / -1;
  min-height: 90px;
  color: #8a9691;
  content: '选择文件后，上传进度将在这里显示';
  font-size: 11px;
  text-align: center;
}
.rc-file-upload-page #fileTips li {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 72px;
  margin: 0;
  border: 1px solid #e0e8e5;
  border-radius: 6px;
  background: #fafcfb;
}
.rc-file-upload-page #fileTips li canvas { position: absolute; top: 12px; left: 12px; }
.rc-file-upload-page #fileTips li p {
  position: absolute;
  top: 17px;
  right: 34px;
  left: 72px;
  width: auto;
  margin: 0;
  overflow: hidden;
  color: var(--rc-text);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rc-file-upload-page #fileTips li p i { display: block; margin-top: 3px; color: var(--rc-muted); font-size: 10px; font-weight: 400; font-style: normal; }
.rc-file-upload-page #fileTips li span { top: 29px; right: 12px; }
.rc-file-upload-page #fileTips li.error { border-color: #e7b8b3; background: #fff7f6; }
.rc-file-upload-page #fileTips li.error p { color: var(--rc-danger); }
.rc-file-upload-page.rc-rtl .rc-upload-notice { border-right: 4px solid var(--rc-warning); border-left-width: 1px; }
.rc-file-upload-page.rc-rtl .rc-upload-back .icon-arrow-left { transform: scaleX(-1); }
.rc-file-upload-page.rc-rtl .rc-upload-category-actions .z_more2 { right: auto; left: 0 !important; }
.rc-file-upload-page.rc-rtl .rc-upload-category-hint i { margin-right: 0; margin-left: 5px; }
.rc-file-upload-page.rc-rtl #fileTips li canvas { right: 12px; left: auto; }
.rc-file-upload-page.rc-rtl #fileTips li p { right: 72px; left: 34px; }
.rc-file-upload-page.rc-rtl #fileTips li span { right: auto; left: 12px; }
@media (max-width: 1080px) {
  .rc-file-upload-page .rc-upload-workspace { grid-template-columns: minmax(0, 1.35fr) minmax(290px, .8fr); }
  .rc-file-upload-page .rc-upload-type-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rc-file-upload-page .rc-upload-hero { flex-wrap: wrap; }
  .rc-file-upload-page .rc-upload-storage { flex: 1 1 310px; }
}
@media (max-width: 820px) {
  .rc-file-upload-page .box_right.rc-file-upload { padding-right: 10px; padding-left: 10px; }
  .rc-file-upload-page .rc-upload-workspace { grid-template-columns: 1fr; }
  .rc-file-upload-page .rc-upload-sidebar { position: static; grid-row: 1; }
  .rc-file-upload-page .rc-upload-main { grid-row: 2; }
  .rc-file-upload-page .rc-upload-type-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .rc-file-upload-page .rc-upload-workspace--linear .rc-upload-type-notes { grid-template-columns: 1fr; }
  .rc-file-upload-page .rc-upload-workspace--linear .rc-upload-category-tools { flex-direction: column; }
}
@media (max-width: 560px) {
  .rc-file-upload-page .rc-upload-hero { align-items: flex-start; flex-wrap: wrap; }
  .rc-file-upload-page .rc-upload-hero .rc-upload-back { width: 100%; }
  .rc-file-upload-page .rc-upload-storage { grid-template-columns: 34px minmax(0, 1fr); width: 100%; min-width: 0; }
  .rc-file-upload-page .rc-upload-type-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rc-file-upload-page .rc-upload-dropzone { min-height: 210px; margin: 12px; padding: 22px 14px; }
  .rc-file-upload-page .rc-upload-panel__header { align-items: flex-start; }
  .rc-file-upload-page .rc-upload-category-actions { align-items: stretch; flex-direction: column; }
  .rc-file-upload-page .rc-upload-category-actions .xx3_ra { justify-content: center; }
  .rc-file-upload-page .rc-upload-category-actions .z_more2 { right: auto; left: 0 !important; width: 100%; }
  .rc-file-upload-page .rc-upload-workspace--linear .rc-upload-type-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rc-file-upload-page .rc-upload-workspace--linear .rc-upload-category-actions { width: 100%; }
  .rc-file-upload-page .rc-upload-workspace--linear .rc-upload-queue__bar { align-items: flex-start; flex-direction: column; }
}

/* 人流统计页面：将摄像头能力开通与已开通设备数据分成清晰状态卡片。 */
.rc-face-page .viewFramework-con{width:100%;max-width:100%;min-width:0;overflow-x:hidden}
.rc-face-content{display:block;flex:1 1 auto;align-self:stretch;width:auto!important;max-width:none!important;min-width:0;box-sizing:border-box}
.rc-face-content>.breadcrumbs,.rc-face-content>.rc-face-intro,.rc-face-content>.rc-face-card{width:100%;max-width:none;box-sizing:border-box}
.rc-face-intro{display:block!important;width:100%!important;box-sizing:border-box;margin:0 0 14px;padding:14px 18px;border:1px solid #d8e5e0;border-left:4px solid var(--rc-warning);border-radius:6px;background:#f5faf8;color:var(--rc-muted)}.rc-face-intro>div{width:100%;box-sizing:border-box}.rc-face-intro p{width:auto!important;margin:0;line-height:1.65}.rc-face-intro p span{color:var(--rc-primary);font-weight:700}
.rc-face-card{padding:0;border:1px solid var(--rc-border);border-radius:8px;background:#fff;box-shadow:var(--rc-shadow);overflow:hidden}.rc-face-card .countingFaceWrap{width:100%;min-width:0}.rc-face-tabs{display:flex;align-items:center;justify-content:space-between;min-height:58px;padding:0 18px;border-bottom:1px solid var(--rc-border);background:#f8faf9}.rc-face-tabs ul{display:flex;align-items:stretch;gap:4px;height:58px;margin:0;padding:0}.rc-face-tabs ul li{display:inline-flex;align-items:center;margin:0;padding:0 18px;border-bottom:3px solid transparent;color:var(--rc-muted);font-size:14px;cursor:pointer}.rc-face-tabs ul li.active{border-bottom-color:var(--rc-primary);color:var(--rc-primary);font-weight:700;background:#eef6f3}.rc-face-tabs .openBtn{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:auto;min-width:112px;height:34px;margin:0;padding:0 14px;border:0;border-radius:4px;color:#fff;text-decoration:none}
.rc-face-tables{width:100%;padding:16px 18px 18px;box-sizing:border-box}.rc-face-table-panel{display:none;width:100%;min-width:0;overflow-x:auto}.rc-face-table-panel:first-child{display:block}.rc-face-table{width:100%;min-width:760px;margin:0;border:1px solid var(--rc-border);border-collapse:separate;border-spacing:0;border-radius:6px;overflow:hidden;color:var(--rc-text);table-layout:fixed}.rc-face-table thead tr{background:#f1f5f3}.rc-face-table thead td{height:44px;padding:0 12px;border:0;border-bottom:1px solid var(--rc-border);color:var(--rc-muted);font-size:12px;font-weight:700;text-align:left;white-space:nowrap}.rc-face-table tbody td{min-height:52px;padding:10px 12px;border:0;border-bottom:1px solid #edf1ef;vertical-align:middle;font-size:12px;text-align:left}.rc-face-table tbody tr:last-child td{border-bottom:0}.rc-face-table tbody tr:hover{background:#f8fbfa}.rc-face-table .alignItems{display:inline-flex;align-items:center;justify-content:flex-start;gap:7px}.rc-face-table .alignItems label{display:inline-flex;align-items:center;margin:0}.rc-face-table input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:var(--rc-primary)}.rc-face-table .search,.rc-face-table .money{padding-left:0;background:none}.rc-face-table .line{display:none}.rc-face-table td:nth-child(1){width:16%}.rc-face-table td:nth-child(2){width:16%}.rc-face-table td:nth-child(3){width:18%}.rc-face-table td:nth-child(4){width:16%}.rc-face-table td:nth-child(5){width:15%}.rc-face-table td:nth-child(6){width:19%}.rc-face-table-panel:nth-child(2) .rc-face-table td:nth-child(1){width:28%}.rc-face-table-panel:nth-child(2) .rc-face-table td:nth-child(2){width:28%}.rc-face-table-panel:nth-child(2) .rc-face-table td:nth-child(3){width:22%}.rc-face-table-panel:nth-child(2) .rc-face-table td:nth-child(4){width:22%}
.rc-face-action{display:inline-flex;align-items:center;gap:4px;min-height:28px;margin:2px 3px 2px 0;padding:0 8px;border:1px solid transparent;border-radius:4px;font-size:11px;text-decoration:none!important;white-space:nowrap}.rc-face-action--view{color:var(--rc-primary);background:#e8f3ef;border-color:#cfe4dc}.rc-face-action--renew{color:#8a6418;background:#fff6df;border-color:#ead7a6}.rc-face-action--secondary{color:var(--rc-accent);background:#edf4f8;border-color:#d5e4ec}.rc-face-action:hover{filter:brightness(.96)}.rc-face-empty{width:100%;box-sizing:border-box;margin:0;padding:58px 20px 62px;border-top:1px solid var(--rc-border);color:var(--rc-muted)}.rc-face-empty img{width:72px;height:72px;object-fit:contain;opacity:.78}.rc-face-empty p{margin:10px 0 0;line-height:1.7}.rc-face-empty p:first-of-type{color:var(--rc-text);font-size:15px;font-weight:700}.rc-face-empty a{color:var(--rc-primary);font-weight:700}.rc-face-page.rc-rtl .rc-face-tabs,.rc-face-page.rc-rtl .rc-face-table{direction:rtl}
@media(max-width:760px){.rc-face-tabs{align-items:stretch;min-height:52px;padding:0 10px}.rc-face-tabs ul{height:52px}.rc-face-tabs ul li{padding:0 10px;font-size:12px}.rc-face-tabs .openBtn{min-width:0;padding:0 9px;font-size:11px}.rc-face-tables{padding:10px}}

/* Keep the notice full-width even when legacy prompt rules are loaded. */
.rc-face-content > .rc-face-intro,
.rc-face-content > .rc-face-intro > div,
.rc-face-content > .rc-face-intro > div > p {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  display: block !important;
  box-sizing: border-box !important;
}
.rc-face-content {
  float: none !important;
  display: block !important;
  min-width: 0 !important;
}
.rc-face-content > .rc-face-intro {
  height: auto !important;
  min-height: 54px;
  clear: both !important;
  overflow: visible !important;
  margin-right: 0 !important;
}

/* Party-building material upload: compact, click-to-select workflow. */
.rc-unitfile-add-page #upload {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.rc-unitfile-add-page .rc-unitfile-add-header {
  margin: 0 0 12px;
  padding: 16px 18px;
  border-radius: 8px;
  box-shadow: var(--rc-shadow);
}
.rc-unitfile-add-page .rc-unitfile-add-notice {
  display: flex;
  align-items: center;
  gap: 9px;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  margin: 0 0 12px;
  padding: 10px 14px;
  border: 1px solid #d9e7e2;
  border-left: 4px solid var(--rc-warning);
  border-radius: 7px;
  color: #52625d;
  background: #f5faf8;
  font-size: 12px;
  line-height: 1.6;
}
.rc-unitfile-add-page .rc-unitfile-add-notice > i {
  color: var(--rc-primary);
  font-size: 15px;
}
.rc-unitfile-add-page .rc-unitfile-add-notice strong { color: var(--rc-text); }
.rc-unitfile-add-page .rc-unitfile-add-workspace {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.rc-unitfile-add-page .rc-unitfile-settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr);
  gap: 12px;
}
.rc-unitfile-add-page .rc-unitfile-setting-card,
.rc-unitfile-add-page .rc-unitfile-picker-card {
  box-sizing: border-box;
  min-width: 0;
  border: 1px solid var(--rc-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--rc-shadow);
}
.rc-unitfile-add-page .rc-unitfile-setting-card > header,
.rc-unitfile-add-page .rc-unitfile-picker-card > header {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 16px;
  border-bottom: 1px solid #e8eeeb;
  background: #fbfcfc;
}
.rc-unitfile-add-page .rc-unitfile-setting-card > header > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  color: var(--rc-primary);
  background: #e8f3ef;
  font-size: 14px;
}
.rc-unitfile-add-page .rc-unitfile-setting-card h2,
.rc-unitfile-add-page .rc-unitfile-picker-card h2 {
  margin: 0;
  color: var(--rc-text);
  font-size: 15px;
  line-height: 1.45;
}
.rc-unitfile-add-page .rc-unitfile-setting-card header p,
.rc-unitfile-add-page .rc-unitfile-picker-card header p {
  margin: 2px 0 0;
  color: var(--rc-muted);
  font-size: 11px;
  line-height: 1.4;
}
.rc-unitfile-add-page .rc-unitfile-category-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 14px 16px 10px;
}
.rc-unitfile-add-page .rc-unitfile-category-content #menu {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}
.rc-unitfile-add-page .rc-unitfile-category-content .zzz_wrap {
  position: relative;
  display: inline-flex;
  float: none !important;
  margin: 0;
}
.rc-unitfile-add-page .rc-unitfile-category-content .bip.z_bip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: auto;
  min-width: 66px;
  min-height: 32px;
  margin: 0;
  padding: 5px 12px;
  border: 1px solid #dbe5e1;
  border-radius: 5px;
  color: #56645f;
  background: #f5f7f6;
  font-size: 12px;
  line-height: 20px;
  text-decoration: none;
}
.rc-unitfile-add-page .rc-unitfile-category-content .bip.z_bip:hover {
  border-color: #adc8bf;
  color: var(--rc-primary);
  background: #eef6f3;
}
.rc-unitfile-add-page .rc-unitfile-category-content .bip.z_bip.det_bg {
  border-color: var(--rc-primary);
  color: #fff;
  background: var(--rc-primary);
  box-shadow: 0 3px 8px rgba(0, 96, 74, .16);
}
.rc-unitfile-add-page .rc-unitfile-category-content .xxin3_r {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 6px;
  padding: 0;
}
.rc-unitfile-add-page .rc-unitfile-category-content .xx3_ra {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-sizing: border-box;
  min-height: 32px;
  margin: 0;
  padding: 5px 10px;
  border: 1px solid #cbd9d4;
  border-radius: 5px;
  color: var(--rc-primary);
  background: #fff;
  font-size: 12px;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
}
.rc-unitfile-add-page .rc-unitfile-category-content .xx3_ra:hover { background: #f0f7f4; }
.rc-unitfile-add-page .rc-unitfile-category-content .z_more2 {
  right: 0;
  left: auto !important;
  top: 39px !important;
  z-index: 60;
  box-sizing: border-box;
  width: 278px;
  height: auto;
  min-height: 126px;
  padding: 14px;
  border: 1px solid var(--rc-border);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(13, 43, 36, .18);
  font-family: inherit;
}
.rc-unitfile-add-page .rc-unitfile-category-content .z_more2 input {
  box-sizing: border-box;
  width: 100%;
  height: 34px;
  margin: 8px 0 4px;
  padding: 6px 9px;
  border: 1px solid #cbd6d2;
  border-radius: 4px;
  box-shadow: none;
}
.rc-unitfile-add-page .rc-unitfile-category-content .z_more2 > div {
  min-height: 18px;
  color: var(--rc-danger);
  font-size: 11px;
}
.rc-unitfile-add-page .rc-unitfile-category-content .z_spenspan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  float: none;
  width: auto;
  min-width: 60px;
  height: 30px;
  margin: 4px 6px 0 0;
  padding: 0 10px;
  border: 0;
  border-radius: 4px;
  line-height: 30px;
}
.rc-unitfile-add-page .rc-unitfile-category-content .z_spenspan1 { color: #fff; background: var(--rc-primary); }
.rc-unitfile-add-page .rc-unitfile-category-content .z_spenspan2 { color: var(--rc-muted); background: #edf1ef; }
.rc-unitfile-add-page .rc-unitfile-setting-hint {
  margin: 0;
  padding: 8px 16px 12px;
  color: #7a8782;
  font-size: 11px;
  line-height: 1.55;
}
.rc-unitfile-add-page .rc-unitfile-setting-hint i { margin-right: 5px; color: var(--rc-warning); }
.rc-unitfile-add-page .rc-unitfile-setting-card--type > select {
  box-sizing: border-box;
  width: calc(100% - 32px);
  height: 36px;
  margin: 14px 16px 8px;
  padding: 6px 10px;
  border: 1px solid #cbd6d2;
  border-radius: 5px;
  color: var(--rc-text);
  background: #fff;
  box-shadow: none;
}
.rc-unitfile-add-page .rc-unitfile-setting-card--type #messageInfo,
.rc-unitfile-add-page .rc-unitfile-setting-card--type .rc-unitfile-permission {
  display: block;
  width: auto;
  margin: 0;
  padding: 0 16px 8px;
  color: var(--rc-muted);
  font-size: 11px;
  line-height: 1.55;
}
.rc-unitfile-add-page .rc-unitfile-setting-card--type .rc-unitfile-permission { padding-bottom: 14px; }
.rc-unitfile-add-page .rc-unitfile-setting-card--type .rc-unitfile-permission a {
  margin-left: 5px;
  color: var(--rc-primary);
  font-weight: 700;
}
.rc-unitfile-add-page .rc-unitfile-picker-card > header { justify-content: space-between; }
.rc-unitfile-add-page .rc-unitfile-picker-card > header > span {
  flex: 0 0 auto;
  padding: 4px 9px;
  border-radius: 12px;
  color: var(--rc-primary);
  background: #e8f3ef;
  font-size: 10px;
  font-weight: 700;
}
.rc-unitfile-add-page .rc-unitfile-file-select {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 82px;
  margin: 14px 16px 0;
  padding: 14px 16px;
  border: 1px solid #d7e5df;
  border-radius: 7px;
  color: var(--rc-text);
  background: #f5faf8;
}
.rc-unitfile-add-page .rc-unitfile-file-select > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 7px;
  color: var(--rc-primary);
  background: #e2f0eb;
  font-size: 20px;
}
.rc-unitfile-add-page .rc-unitfile-file-select > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.rc-unitfile-add-page .rc-unitfile-file-select strong {
  color: var(--rc-text);
  font-size: 14px;
  line-height: 1.5;
}
.rc-unitfile-add-page .rc-unitfile-file-select small {
  margin-top: 3px;
  color: var(--rc-muted);
  font-size: 11px;
  line-height: 1.5;
}
.rc-unitfile-add-page .rc-unitfile-file-select > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 106px;
  min-height: 36px;
  padding: 6px 15px;
  border-radius: 5px;
  color: #fff;
  background: var(--rc-primary);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.rc-unitfile-add-page .rc-unitfile-file-select > a:hover { background: var(--rc-primary-hover); }
.rc-unitfile-add-page .rc-unitfile-file-select input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.rc-unitfile-add-page .rc-unitfile-queue {
  margin: 12px 16px 16px;
  border: 1px solid #e1e9e6;
  border-radius: 7px;
  background: #fff;
}
.rc-unitfile-add-page .rc-unitfile-queue__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  padding: 8px 12px;
  border-bottom: 1px solid #edf1ef;
  background: #fafcfb;
}
.rc-unitfile-add-page .rc-unitfile-queue__title strong { color: var(--rc-text); font-size: 12px; }
.rc-unitfile-add-page .rc-unitfile-queue__title small { color: var(--rc-muted); font-size: 10px; }
.rc-unitfile-add-page .rc-unitfile-queue #fsUploadProgress {
  box-sizing: border-box;
  width: 100%;
  min-height: 70px;
  max-height: 190px;
  padding: 10px 12px;
  overflow: auto;
}
.rc-unitfile-add-page .rc-unitfile-queue #fileTips {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rc-unitfile-add-page .rc-unitfile-queue #fileTips:empty::before {
  display: block;
  padding: 15px 0;
  color: #8a9691;
  content: '选择文件后，上传进度将在这里显示';
  font-size: 11px;
  text-align: center;
}
.rc-unitfile-add-page .rc-unitfile-add-actions {
  display: flex;
  justify-content: flex-end !important;
  padding: 0 0 2px;
}
.rc-unitfile-add-page .rc-unitfile-add-actions .h93btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 90px;
  min-height: 34px;
  margin: 0;
  padding: 6px 14px;
  border: 1px solid #ccd7d3;
  border-radius: 5px;
  color: #52615c;
  background: #fff;
  box-shadow: none;
}
.rc-unitfile-add-page .rc-unitfile-add-actions .h93btn:hover { color: var(--rc-primary); background: #f3f8f6; }
.rc-unitfile-add-page .rc-unitfile-add-actions .h93btn img { width: 14px; height: 14px; object-fit: contain; }
@media (max-width: 900px) {
  .rc-unitfile-add-page .rc-unitfile-settings-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .rc-unitfile-add-page .rc-unitfile-add-header { padding: 14px; }
  .rc-unitfile-add-page .rc-unitfile-category-content { align-items: stretch; flex-direction: column; }
  .rc-unitfile-add-page .rc-unitfile-category-content .xxin3_r { justify-content: flex-start; }
  .rc-unitfile-add-page .rc-unitfile-category-content .z_more2 { right: auto; left: 0 !important; }
  .rc-unitfile-add-page .rc-unitfile-file-select { grid-template-columns: 40px minmax(0, 1fr); }
  .rc-unitfile-add-page .rc-unitfile-file-select > a { grid-column: 1 / -1; width: 100%; }
  .rc-unitfile-add-page .rc-unitfile-queue__title { align-items: flex-start; flex-direction: column; gap: 2px; }
}

/* ==========================================================================
   视频点播 / 节目清单（background/videoselection/query.html）
   原先沿用旧版 bootstrap 外壳（box_right + well + table-bordered），与后台
   rc-* 设计系统不一致。这里对齐 rc-appversion-page 的令牌与骨架：
   面包屑 → Hero → 温馨提示 → 工具栏 → 表格 → 分页。
   ========================================================================== */
.rc-videoselection-page .box_right.rc-videoselection { box-sizing: border-box; width: 100%; max-width: none; padding: 16px 18px 28px; overflow-x: hidden; background: var(--rc-canvas); }
.rc-videoselection-page .rc-videoselection-breadcrumbs { margin: 0 0 12px; padding: 0; background: transparent; border: 0; }
.rc-videoselection-page .rc-videoselection-breadcrumbs .breadcrumb { margin: 0; padding: 11px 14px; background: #fff; border: 1px solid var(--rc-border); border-radius: 6px; }
.rc-videoselection-page .rc-videoselection-breadcrumbs li { font-size: 13px; }

/* Hero */
.rc-videoselection-hero { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--rc-border); border-radius: 6px; box-shadow: 0 4px 15px rgba(27,49,43,.04); }
.rc-videoselection-hero__icon { display: flex; align-items: center; justify-content: center; flex: 0 0 46px; height: 46px; color: var(--rc-primary); font-size: 20px; background: #eaf4f1; border-radius: 6px; }
.rc-videoselection-hero h1 { margin: 0; color: var(--rc-text); font-size: 22px; line-height: 1.35; }
.rc-videoselection-hero p { margin: 4px 0 0; color: var(--rc-muted); font-size: 13px; }
.rc-videoselection-hero > .rc-btn { margin-inline-start: auto; }

/* 按钮（复用 rc-appversion 的视觉规格） */
.rc-videoselection-page .rc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; box-sizing: border-box; width: auto !important; min-height: 32px; margin: 0 !important; padding: 6px 11px; border: 1px solid transparent; border-radius: 4px; font-family: var(--rc-font); font-size: 12px; line-height: 18px; text-decoration: none !important; white-space: nowrap; box-shadow: none; text-shadow: none; cursor: pointer; }
.rc-videoselection-page .rc-btn--primary { color: #fff; background: var(--rc-primary); border-color: var(--rc-primary); }
.rc-videoselection-page .rc-btn--primary:hover { background: var(--rc-primary-hover); border-color: var(--rc-primary-hover); }
.rc-videoselection-page .rc-btn--accent { color: #fff; background: var(--rc-accent); border-color: var(--rc-accent); }
.rc-videoselection-page .rc-btn--accent:hover { background: #2f6a90; border-color: #2f6a90; }
.rc-videoselection-page .rc-btn--secondary { color: var(--rc-primary); background: #eaf4f1; border-color: #c8ded8; }
.rc-videoselection-page .rc-btn--secondary:hover { background: #dceee8; }
.rc-videoselection-page .rc-btn--neutral { color: #4f5e59; background: #fff; border-color: #cfd8d5; }
.rc-videoselection-page .rc-btn--neutral:hover { color: var(--rc-primary); border-color: #9fbbb2; }
.rc-videoselection-page .rc-btn--danger { color: #fff; background: #c85147; border-color: #c85147; }
.rc-videoselection-page .rc-btn--danger:hover { background: #b3463d; border-color: #b3463d; }

/* 温馨提示 */
.rc-videoselection-notice { margin: 0 0 14px !important; padding: 12px 15px !important; color: #52625d !important; font-size: 12px; line-height: 1.75; text-shadow: none; background: #f4f8f6 !important; border: 1px solid #d9e6e1 !important; border-radius: 5px !important; }
.rc-videoselection-notice h4 { margin: 0 0 4px; color: var(--rc-primary) !important; font-size: 13px; }

/* 工具栏 */
.rc-videoselection-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 54px; margin: 0 0 12px !important; padding: 10px 12px !important; background: #fff !important; border: 1px solid var(--rc-border) !important; border-radius: 6px !important; }
.rc-videoselection-toolbar > input[type="text"] { width: min(250px, 100%); height: 34px !important; margin: 0; padding: 6px 10px; border: 1px solid #ccd7d3; border-radius: 4px; box-shadow: none; }
.rc-videoselection-toolbar > input[type="text"]:focus { border-color: var(--rc-primary); outline: 0; box-shadow: 0 0 0 2px rgba(7,93,78,.10); }

/* 表格 */
.rc-videoselection-table-wrap { width: 100%; overflow-x: auto; background: #fff; border: 1px solid var(--rc-border); border-radius: 6px; box-shadow: 0 5px 18px rgba(27,49,43,.05); }
.rc-videoselection-table { width: 100%; min-width: 1000px; margin: 0 !important; border-collapse: collapse; table-layout: fixed; }
.rc-videoselection-table th { height: 40px; padding: 7px 12px; color: #4e5b57; font-size: 12px; font-weight: 600; text-align: left; background: #f1f4f3; border: 0 !important; border-bottom: 1px solid var(--rc-border) !important; }
.rc-videoselection-table td { height: 52px; padding: 8px 12px; color: var(--rc-text); font-size: 12px; vertical-align: middle; border: 0 !important; border-bottom: 1px solid #edf0ef !important; }
.rc-videoselection-table tbody tr:last-child td { border-bottom: 0 !important; }
.rc-videoselection-table tbody tr:hover td { background: #f8fbfa; }
.rc-videoselection-table td strong { font-size: 13px; overflow-wrap: anywhere; }
.rc-videoselection-table th:nth-child(1) { width: 64px; }
.rc-videoselection-table th:nth-child(2) { width: 210px; }
.rc-videoselection-table th:nth-child(3) { width: 120px; }
.rc-videoselection-table th:nth-child(4) { width: 126px; }
.rc-videoselection-table th:nth-child(5) { width: 126px; }
.rc-videoselection-table th:nth-child(6) { width: 100px; }
.rc-videoselection-table th:nth-child(7) { width: 100px; }
.rc-videoselection-table th:nth-child(8) { width: 190px; }
.rc-videoselection-table .rc-actions { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.rc-videoselection-table .rc-actions .rc-btn { min-height: 28px; padding: 4px 8px; font-size: 11px; }
.rc-videoselection-table td > .rc-btn { min-height: 28px; padding: 4px 9px; font-size: 11px; min-width: 62px; }
.rc-status--on { color: #087a5d !important; background: #e4f5ee !important; }
.rc-status--off { color: #9a5a52 !important; background: #fbeeec !important; }
.rc-videoselection-empty { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 150px; color: #87918e; font-size: 14px; }
.rc-videoselection-empty i { font-size: 22px; }

/* 分页 */
.rc-videoselection-pager { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; min-height: 48px; margin-top: 12px; padding: 9px 14px; background: #fff; border: 1px solid var(--rc-border); border-radius: 6px; }
.rc-videoselection-pager .page { float: none !important; margin: 0 !important; }
.rc-videoselection-pager > span { float: none !important; margin: 0 !important; color: var(--rc-muted); font-size: 12px; line-height: 30px; }

/* RTL */
.rc-videoselection-page.rc-rtl .rc-videoselection-table th { text-align: right; }
.rc-videoselection-page.rc-rtl .rc-videoselection-hero > .rc-btn { margin-right: auto !important; margin-left: 0 !important; }
.rc-videoselection-page.rc-rtl .rc-videoselection-pager { justify-content: flex-start; }

@media (max-width: 900px) {
  .rc-videoselection-page .box_right.rc-videoselection { padding: 12px; }
  .rc-videoselection-hero { align-items: flex-start; flex-wrap: wrap; }
  .rc-videoselection-hero > .rc-btn { width: 100% !important; margin-inline-start: 0; }
  .rc-videoselection-toolbar > input[type="text"] { flex: 1 1 100%; width: 100%; }
  .rc-videoselection-pager { justify-content: center; }
}

/* --------------------------------------------------------------------------
   视频点播 / 新增·修改节目（background/videoselection/addUI.html、modifyUI.html）
   原页面是裸 table-bordered + btn-dark-blue/btn-blue，与后台 rc-* 设计系统不一致。
   这里沿用系统内已改造表单页（background/file/edit.jsp 的 .rc-file-edit-*）的规格：
   标题条（左侧主色竖条）→ 白底卡片 → 「180px 标签 + 内容」的字段行 → 底部操作条。
   ========================================================================== */
/* 不设 max-width：与上方面包屑、列表页卡片保持同宽同左边界，避免居中造成边缘错位。
   输入控件自身有 width 上限，不会把输入框拉得过长。 */
.rc-videoselection-form { width: 100%; margin: 0; }
.rc-videoselection-form *, .rc-videoselection-form *::before, .rc-videoselection-form *::after { box-sizing: border-box; }

/* 标题条 */
.rc-videoselection-form-title { position: relative; margin: 0 !important; padding: 15px 18px 15px 22px !important; color: var(--rc-text) !important; font-size: 16px !important; font-weight: 600; line-height: 24px !important; background: #f7f9f8 !important; border: 1px solid var(--rc-border); border-bottom: 0; border-radius: 7px 7px 0 0; }
.rc-videoselection-form-title::before { position: absolute; top: 0; bottom: 0; left: 0; width: 4px; content: ""; background: var(--rc-primary); border-radius: 7px 0 0 0; }
.rc-videoselection-form-title small { margin-left: 10px; color: var(--rc-muted); font-size: 12px; font-weight: 400; }

/* 卡片 */
.rc-videoselection-form-card { width: 100%; margin: 0; overflow: hidden; background: #fff; border: 1px solid var(--rc-border); border-radius: 0 0 7px 7px; box-shadow: var(--rc-shadow); }

/* 字段行：180px 标签 + 自适应内容 */
.rc-videoselection-form-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: stretch; min-height: 62px; border-bottom: 1px solid var(--rc-border); }
.rc-videoselection-form-row__label { display: flex; align-items: center; padding: 14px 18px; color: #47534f; font-size: 12px; font-weight: 600; line-height: 1.6; background: #f7f9f8; border-right: 1px solid var(--rc-border); }
.rc-videoselection-form-row__value { display: flex; align-items: center; min-width: 0; padding: 14px 18px; color: var(--rc-text); font-size: 12px; line-height: 1.7; }

/* 表单控件 */
.rc-videoselection-form-row__value input[type="text"],
.rc-videoselection-form-row__value select { width: min(360px, 100%); height: 36px; margin: 0; padding: 7px 10px; color: var(--rc-text); font-family: var(--rc-font); font-size: 12px; background: #fff; border: 1px solid #cbd6d2; border-radius: 4px; box-shadow: none; }
.rc-videoselection-form-row__value select { padding-right: 26px; cursor: pointer; }
.rc-videoselection-form-row__value input[type="text"]:focus,
.rc-videoselection-form-row__value select:focus { border-color: var(--rc-primary); box-shadow: 0 0 0 3px rgba(7,93,78,.10); outline: 0; }
.rc-videoselection-form-row__value input[type="text"]::placeholder { color: #a9b5b1; }
.rc-videoselection-form-row__value .rc-form-hint { margin: 0 0 0 10px; color: var(--rc-muted); font-size: 11px; }

/* 单选组 */
.rc-videoselection-form-radios { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.rc-videoselection-form-radios label { display: inline-flex; align-items: center; gap: 5px; min-height: 34px; margin: 0; padding: 6px 14px 6px 10px; color: #4f5e59; font-size: 12px; background: #fff; border: 1px solid #cfd8d5; border-radius: 4px; cursor: pointer; }
.rc-videoselection-form-radios label:hover { border-color: #9fbbb2; }
.rc-videoselection-form-radios input[type="radio"] { width: 15px; height: 15px; margin: 0; accent-color: var(--rc-primary); }
.rc-videoselection-form-radios label:has(input[type="radio"]:checked) { color: var(--rc-primary); background: #eaf4f1; border-color: #c8ded8; }

/* 底部操作条 */
.rc-videoselection-form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 12px 18px; background: #fbfcfb; }
.rc-videoselection-form-actions .rc-btn { min-width: 96px; height: 36px !important; }

/* RTL */
.rc-videoselection-page.rc-rtl .rc-videoselection-form-title { padding-right: 22px !important; text-align: right; }
.rc-videoselection-page.rc-rtl .rc-videoselection-form-title::before { right: 0; left: auto; border-radius: 0 7px 0 0; }
.rc-videoselection-page.rc-rtl .rc-videoselection-form-row__label { border-right: 0; border-left: 1px solid var(--rc-border); text-align: right; }
.rc-videoselection-page.rc-rtl .rc-videoselection-form-row__value { text-align: right; }
.rc-videoselection-page.rc-rtl .rc-videoselection-form-row__value .rc-form-hint { margin: 0 10px 0 0; }
.rc-videoselection-page.rc-rtl .rc-videoselection-form-actions { justify-content: flex-start; }

@media (max-width: 900px) {
  .rc-videoselection-form { max-width: 100%; }
  .rc-videoselection-form-row { grid-template-columns: 120px minmax(0, 1fr); }
  .rc-videoselection-form-row__label { padding: 12px 12px; }
  .rc-videoselection-form-row__value { padding: 12px; flex-wrap: wrap; gap: 6px; }
  .rc-videoselection-form-row__value input[type="text"],
  .rc-videoselection-form-row__value select { width: 100%; }
  .rc-videoselection-form-row__value .rc-form-hint { width: 100%; margin: 0; }
  .rc-videoselection-form-actions { justify-content: center; }
}

/* --------------------------------------------------------------------------
   视频点播 / 节目内容（videoselectioncontent/query.html → vsclist.jsp）
             发布设备（videoselectiondevice/query.html   → vsdlist.jsp）
   与节目清单页同属 rc-videoselection-* 体系，此处只补充两张页面的
   差异部分：Hero 右侧多按钮、缩略图列、复选框列、批量操作条与列宽。
   ========================================================================== */

/* Hero 右侧操作区（可能不止一个按钮，不能靠 .rc-btn 的 margin-inline-start 撑） */
.rc-videoselection-hero__actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.rc-videoselection-page.rc-rtl .rc-videoselection-hero__actions { margin-right: auto; margin-left: 0; }

/* 批量操作条 */
.rc-videoselection-batchbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 52px; margin: 0 0 12px; padding: 9px 12px; background: #fff; border: 1px solid var(--rc-border); border-radius: 6px; }
.rc-videoselection-batchbar__hint { flex: 1 1 auto; min-width: 0; color: var(--rc-muted); font-size: 12px; }
.rc-videoselection-batchbar__hint i { margin-right: 5px; color: var(--rc-primary); }
.rc-videoselection-page.rc-rtl .rc-videoselection-batchbar__hint i { margin-right: 0; margin-left: 5px; }

/* 复选框（表头/行内） */
.rc-videoselection-table input[type="checkbox"] { width: 15px; height: 15px; margin: 0; vertical-align: middle; cursor: pointer; accent-color: var(--rc-primary); }

/* ---- 节目内容表：列宽 + 缩略图 ---- */
.rc-videoselection-page .rc-videoselection-table--content { min-width: 1120px; }
.rc-videoselection-page .rc-videoselection-table--content th:nth-child(1) { width: 64px; }
.rc-videoselection-page .rc-videoselection-table--content th:nth-child(2) { width: 228px; }
/* 列宽总和必须 <= min-width(1120)，否则 table-layout:fixed 下会撑出横向滚动条 */
.rc-videoselection-page .rc-videoselection-table--content th:nth-child(3) { width: 200px; }
.rc-videoselection-page .rc-videoselection-table--content th:nth-child(4) { width: 200px; }
.rc-videoselection-page .rc-videoselection-table--content th:nth-child(5) { width: 96px; }
.rc-videoselection-page .rc-videoselection-table--content th:nth-child(6) { width: 80px; }
.rc-videoselection-page .rc-videoselection-table--content th:nth-child(7) { width: 252px; }
.rc-videoselection-page .rc-videoselection-table--content th:first-child,
.rc-videoselection-page .rc-videoselection-table--content td:first-child { padding-left: 0; padding-right: 0; text-align: center; }
/* 缩略图行高由图片决定，覆盖基类的固定 52px */
.rc-videoselection-page .rc-videoselection-table--content td { height: auto; padding-top: 10px; padding-bottom: 10px; }
.rc-videoselection-thumb { display: block; width: 200px; height: 125px; object-fit: cover; background: #f1f4f3; border: 1px solid var(--rc-border); border-radius: 4px; }
.rc-videoselection-table--content .rc-actions .rc-btn { min-width: 0; padding: 4px 8px; }

/* ---- 发布设备表：列宽 ---- */
.rc-videoselection-page .rc-videoselection-table--device { min-width: 760px; }
.rc-videoselection-page .rc-videoselection-table--device th:nth-child(1) { width: 340px; }
.rc-videoselection-page .rc-videoselection-table--device th:nth-child(3) { width: 132px; }

/* 面包屑里的可点击层级 */
.rc-videoselection-breadcrumbs .breadcrumb a { color: var(--rc-primary); text-decoration: none; }
.rc-videoselection-breadcrumbs .breadcrumb a:hover { text-decoration: underline; }
.rc-videoselection-breadcrumbs .breadcrumb > .active { color: var(--rc-muted); }

@media (max-width: 900px) {
  .rc-videoselection-hero__actions { width: 100%; margin-inline-start: 0; }
  .rc-videoselection-hero__actions .rc-btn { flex: 1 1 auto; }
  .rc-videoselection-batchbar__hint { flex: 1 1 100%; }
  .rc-videoselection-thumb { width: 140px; height: 88px; }
}

/* ==========================================================================
   2026-09-17 发布设备 · 设备穿梭选择
   videoselectiondevice/pushUI.html → vscpush.jsp
   三栏：分类目录 / 可选设备 / 已选设备。
   注意：vscpush.js 会用 $("#scroller span").removeClass().addClass("eqspan1")
   重写菜单项 class，所以菜单项样式必须挂在父级
   .rc-videoselection-push__menu 下（父级由 JSP 静态写出，JS 不会改）。
   ========================================================================== */
.rc-videoselection-push { display: grid; grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: stretch; margin-bottom: 14px; }
.rc-videoselection-push__col { display: flex; flex-direction: column; box-sizing: border-box; min-width: 0; height: 460px; overflow: hidden; background: #fff; border: 1px solid var(--rc-border); border-radius: 6px; box-shadow: 0 5px 18px rgba(27, 49, 43, .05); }

/* 列头 */
.rc-videoselection-push__head { display: flex; align-items: center; flex: 0 0 auto; min-height: 42px; padding: 0 13px; color: #47534f; font-size: 12px; font-weight: 600; background: #f1f4f3; border-bottom: 1px solid var(--rc-border); }
.rc-videoselection-push__head-title { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.rc-videoselection-push__head-title i { color: var(--rc-primary); font-size: 13px; }
.rc-videoselection-push__badge { margin-inline-start: auto; min-width: 22px; padding: 1px 7px; color: #fff; font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; background: var(--rc-primary); border-radius: 10px; }

/* 搜索工具栏 */
.rc-videoselection-push__tools { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 10px 12px; border-bottom: 1px solid var(--rc-border); }
.rc-videoselection-push__tools input[type="text"] { flex: 1 1 auto; min-width: 0; height: 34px; margin: 0; padding: 6px 10px; color: var(--rc-text); font-family: var(--rc-font); font-size: 12px; background: #fff; border: 1px solid #ccd7d3; border-radius: 4px; box-shadow: none; }
.rc-videoselection-push__tools input[type="text"]:focus { border-color: var(--rc-primary); outline: 0; box-shadow: 0 0 0 2px rgba(7, 93, 78, .10); }
.rc-videoselection-push__tools input[type="text"]::placeholder { color: #a9b5b1; }

/* 滚动列表区 */
.rc-videoselection-push__body { flex: 1 1 auto; min-height: 0; overflow: auto; }
.rc-videoselection-push__body--menu { position: relative; overflow: hidden; }

/* style.css 里 #wrapper / #scroller 是为旧版穿梭框写的绝对定位
   （#wrapper: position:absolute; top:95px; width:429px; float:left; height:78%
     #scroller: position:absolute; z-index:1），ID 选择器优先级高于类，
   必须在这里显式复位，否则整个分类目录会脱离文档流盖到 Hero 上。 */
.rc-videoselection-page #wrapper { position: relative !important; top: auto !important; float: none !important; width: 100% !important; height: auto !important; margin: 0 !important; padding: 0 !important; overflow: hidden !important; border: 0 !important; z-index: auto !important; }
.rc-videoselection-page #scroller { position: relative !important; z-index: auto !important; width: 100%; }
.rc-videoselection-page .rc-videoselection-push__menu .span1 { display: none; }

/* 分类目录菜单：eqspan1=未选中 eqspan2=选中（JS 动态切换） */
.rc-videoselection-push__menu { position: relative; padding-bottom: 8px; }
.rc-videoselection-push__menu .eqspan1,
.rc-videoselection-push__menu .eqspan2 { display: flex; align-items: center; box-sizing: border-box; width: calc(100% - 16px); height: 38px; margin: 8px 8px 0; padding: 0 12px; color: #4f5e59; font-size: 12px; line-height: 1.4; background: #f6f8f7; border: 1px solid transparent; border-radius: 4px; cursor: pointer; transition: background .15s ease, color .15s ease; }
.rc-videoselection-push__menu .eqspan1:hover { color: var(--rc-primary); background: #eef4f2; border-color: #dfe8e4; }
.rc-videoselection-push__menu .eqspan2 { color: #fff; font-weight: 600; background: var(--rc-primary); border-color: var(--rc-primary); }
.rc-videoselection-push__menu .span1 { height: 1px; margin: 8px 8px 0; background: var(--rc-border); }

/* 穿梭表格：比列表页更紧凑，不用 .rc-videoselection-table 的 min-width */
.rc-videoselection-push__table { width: 100%; margin: 0 !important; border-collapse: collapse; table-layout: fixed; }
.rc-videoselection-push__table th { position: sticky; top: 0; z-index: 1; height: 34px; padding: 5px 10px; color: #4e5b57; font-size: 11px; font-weight: 600; text-align: left; background: #fafbfb; border: 0 !important; border-bottom: 1px solid var(--rc-border) !important; }
.rc-videoselection-push__table td { height: 40px; padding: 5px 10px; color: var(--rc-text); font-size: 12px; line-height: 1.5; vertical-align: middle; overflow-wrap: anywhere; border: 0 !important; border-bottom: 1px solid #edf0ef !important; }
.rc-videoselection-push__table tbody tr:last-child td { border-bottom: 0 !important; }
.rc-videoselection-push__table tbody tr:hover td { background: #f8fbfa; }
.rc-videoselection-push__table th:nth-child(1) { width: 46%; }
.rc-videoselection-push__table input[type="checkbox"] { width: 14px; height: 14px; margin: 0 6px 0 0; vertical-align: middle; cursor: pointer; accent-color: var(--rc-primary); }
.rc-videoselection-push__op { width: 86px; text-align: center !important; }
.rc-videoselection-page .rc-btn--mini { min-height: 26px !important; padding: 3px 8px !important; font-size: 11px !important; }
.rc-videoselection-page .rc-btn--lg { min-height: 38px !important; padding: 8px 22px !important; font-size: 13px !important; }

/* 列脚 */
.rc-videoselection-push__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; flex: 0 0 auto; min-height: 52px; padding: 9px 12px; background: #fbfcfb; border-top: 1px solid var(--rc-border); }
.rc-videoselection-push__foot--end { justify-content: flex-end; }
.rc-videoselection-push__opt { display: inline-flex; align-items: center; gap: 5px; margin: 0; color: #4f5e59; font-size: 12px; cursor: pointer; }
.rc-videoselection-push__opt input[type="checkbox"] { margin: 0; accent-color: var(--rc-primary); }
.rc-videoselection-push__radios { display: inline-flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.rc-videoselection-push__radios label { display: inline-flex; align-items: center; gap: 4px; min-height: 28px; margin: 0; padding: 3px 10px; color: #4f5e59; font-size: 12px; background: #fff; border: 1px solid #cfd8d5; border-radius: 4px; cursor: pointer; }
.rc-videoselection-push__radios label:hover { border-color: #9fbbb2; }
.rc-videoselection-push__radios label:has(input[type="radio"]:checked) { color: var(--rc-primary); background: #eaf4f1; border-color: #c8ded8; }
.rc-videoselection-push__radios input[type="radio"] { margin: 0; accent-color: var(--rc-primary); }

/* 发布操作条 */
.rc-videoselection-push__submit { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 0; padding: 14px 16px; background: #fff; border: 1px solid var(--rc-border); border-radius: 6px; box-shadow: 0 5px 18px rgba(27, 49, 43, .05); }
.rc-videoselection-push__note { display: flex; flex-direction: column; gap: 3px; flex: 1 1 320px; min-width: 0; }
.rc-videoselection-push__note strong { display: inline-flex; align-items: center; gap: 6px; color: var(--rc-primary); font-size: 13px; }
.rc-videoselection-push__note span { color: var(--rc-muted); font-size: 12px; line-height: 1.7; }
.rc-videoselection-push__submit-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.rc-videoselection-empty--sm { min-height: 96px; font-size: 12px; }
.rc-videoselection-empty--sm i { font-size: 17px; }

/* RTL：真实页面的 <html> 上没有 dir 属性（项目惯例是靠容器 direction 接管），
   所以这里必须显式声明，否则阿拉伯语环境三栏不会镜像。
   声明 direction 之后，grid 列序、flex 的 inline-start/end 会自动翻转，
   不需要再写 justify-content / margin 的反向覆盖。 */
.rc-videoselection-page.rc-rtl .rc-videoselection-push,
.rc-videoselection-page.rc-rtl .rc-videoselection-push__submit { direction: rtl; }
/* direction:rtl 下 text-align:left 不会自动翻转成右，需显式覆盖 */
.rc-videoselection-page.rc-rtl .rc-videoselection-push__table th { text-align: right; }
.rc-videoselection-page.rc-rtl .rc-videoselection-push__table input[type="checkbox"] { margin: 0 0 0 6px; }

@media (max-width: 1180px) {
  .rc-videoselection-push { grid-template-columns: 160px minmax(0, 1fr) minmax(0, 1fr); }
  .rc-videoselection-push__col { height: 420px; }
  .rc-videoselection-push__table th:nth-child(1) { width: 42%; }
}
@media (max-width: 900px) {
  .rc-videoselection-push { grid-template-columns: minmax(0, 1fr); }
  .rc-videoselection-push__col { height: 320px; }
  .rc-videoselection-push__col--menu { height: 220px; }
  .rc-videoselection-push__table th:nth-child(1) { width: 52%; }
  .rc-videoselection-push__radios { margin-inline-start: 0; }
  .rc-videoselection-push__submit-actions { width: 100%; margin-inline-start: 0; }
  .rc-videoselection-push__submit-actions .rc-btn { flex: 1 1 auto; }
}

/* ==========================================================================
   2026-09-17 选择内容 · 素材卡片选择
   videoselectioncontent/addUI.html → vscadd.jsp
   结构：.rc-videoselection-picker（自适应网格）
         └ .rc-videoselection-pick（卡片）
              ├ label.rc-videoselection-pick__main（勾选区：checkbox + 角标 + 缩略图 + 名称）
              └ .rc-videoselection-pick__bar（说明 + 播放按钮）
   勾选态用 :has(input:checked)，与 .rc-videoselection-form-radios 保持同一套路。
   缩略图用 padding-top 百分比撑高（不用 aspect-ratio），避免旧内核下高度塌陷。
   ========================================================================== */
.rc-videoselection-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); gap: 14px; margin: 0 0 14px; padding: 14px; background: #fff; border: 1px solid var(--rc-border); border-radius: 6px; box-shadow: 0 5px 18px rgba(27,49,43,.05); }
.rc-videoselection-picker__empty { grid-column: 1 / -1; }

.rc-videoselection-pick { display: flex; flex-direction: column; box-sizing: border-box; min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--rc-border); border-radius: 6px; transition: border-color .16s ease, box-shadow .16s ease; }
.rc-videoselection-pick:hover { border-color: #9fbbb2; box-shadow: 0 6px 18px rgba(27,49,43,.10); }

/* 勾选区（label）：点卡片主体即可勾选 */
.rc-videoselection-pick__main { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; color: inherit; text-decoration: none !important; cursor: pointer; }
.rc-videoselection-pick input[type="checkbox"] { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }

/* 勾选角标 */
.rc-videoselection-pick__check { position: absolute; top: 8px; inset-inline-start: 8px; z-index: 3; display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 21px; height: 21px; color: transparent; font-size: 12px; background: rgba(255,255,255,.94); border: 1px solid #cfd8d5; border-radius: 4px; transition: color .16s ease, background .16s ease, border-color .16s ease; }

/* 缩略图：padding-top 撑出 200:125 */
.rc-videoselection-pick__thumb { position: relative; display: block; overflow: hidden; padding-top: 62.5%; background: #f1f4f3; }
.rc-videoselection-pick__thumb img { position: absolute; top: 0; inset-inline-start: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .26s ease; }
.rc-videoselection-pick:hover .rc-videoselection-pick__thumb img { transform: scale(1.04); }
.rc-videoselection-pick__mask { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 26px; background: rgba(12,42,35,.34); opacity: 0; transition: opacity .18s ease; }
.rc-videoselection-pick:hover .rc-videoselection-pick__mask { opacity: 1; }

/* 名称与操作条 */
.rc-videoselection-pick__name { display: block; padding: 9px 11px 3px; color: var(--rc-text); font-size: 12px; font-weight: 600; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-videoselection-pick__bar { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 0 11px 11px; }
.rc-videoselection-pick__desc { flex: 1 1 auto; min-width: 0; color: var(--rc-muted); font-size: 11px; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-videoselection-pick__bar .rc-btn { margin-inline-start: auto; }

/* 选中态 */
.rc-videoselection-pick:has(input[type="checkbox"]:checked) { border-color: var(--rc-primary); box-shadow: 0 0 0 2px rgba(7,93,78,.14), 0 6px 18px rgba(27,49,43,.10); }
.rc-videoselection-pick:has(input[type="checkbox"]:checked) .rc-videoselection-pick__check { color: #fff; background: var(--rc-primary); border-color: var(--rc-primary); }
.rc-videoselection-pick:has(input[type="checkbox"]:checked) .rc-videoselection-pick__thumb::after { position: absolute; inset: 0; z-index: 1; content: ""; background: rgba(7,93,78,.30); }
/* 键盘可达：视觉隐藏的 checkbox 仍能收焦点 */
.rc-videoselection-pick:has(input[type="checkbox"]:focus-visible) { border-color: var(--rc-primary); box-shadow: 0 0 0 3px rgba(7,93,78,.20); }

/* 已选计数 */
.rc-videoselection-batchbar__hint b { margin: 0 3px; color: var(--rc-primary); font-size: 13px; }

/* RTL：真实页面 <html> 上没有 dir 属性，靠容器 direction 接管，必须显式声明。
   hero / batchbar / notice 是模块共享外壳，一起声明 —— 只写 margin 反转不够：
   flex 主轴仍是 LTR 时，hero 的操作按钮会被顶到文字右边（视觉上悬在中间）。 */
.rc-videoselection-page.rc-rtl .rc-videoselection-picker,
.rc-videoselection-page.rc-rtl .rc-videoselection-pick,
.rc-videoselection-page.rc-rtl .rc-videoselection-hero,
.rc-videoselection-page.rc-rtl .rc-videoselection-batchbar,
.rc-videoselection-page.rc-rtl .rc-videoselection-notice { direction: rtl; }

@media (max-width: 900px) {
  .rc-videoselection-picker { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 10px; padding: 10px; }
  .rc-videoselection-pick__bar { flex-wrap: wrap; }
  .rc-videoselection-pick__desc { flex: 1 1 100%; }
}

/* ── 头部/尾部设置弹层（popupHF）紧凑美化 2026-09-17 ─────────── */
.rc-editor-popover--hf { width: min(500px, calc(100vw - 32px)); padding: 0 !important; }
.rc-editor-popover--hf .rc-editor-popover__header { min-height: 0; padding: 10px 16px; }
.rc-editor-popover--hf .rc-editor-popover__title > i { flex: 0 0 30px; width: 30px; height: 30px; background: none; }
.rc-editor-popover--hf .rc-editor-popover__title > i::before { content: "\270E"; font-family: "Segoe UI Symbol",Arial,sans-serif; font-size: 14px; }
.rc-editor-popover--hf .rc-editor-popover__title strong { font-size: 14px; }
.rc-editor-popover--hf .rc-hf-list { margin: 0; padding: 2px 16px 8px; }
.rc-editor-popover--hf .rc-hf-list > li { display: block; min-height: 0; margin: 0; padding: 8px 2px; color: var(--rc-text); font-size: 12px; line-height: 30px; border-bottom: 1px solid #f0f4f2; background: transparent; }
.rc-editor-popover--hf .rc-hf-list > li:last-child { border-bottom: 0; }
.rc-editor-popover--hf .rc-hf-list > li > hr { display: none; margin: 0; border: 0; }
.rc-editor-popover--hf .rc-hf-list > li:has(> hr:only-child) { display: none; }
.rc-editor-popover--hf .rc-hf-list > li > b { color: var(--rc-text); font-weight: 600; }
.rc-editor-popover--hf .rc-hf-list select { box-sizing: border-box; height: 30px; margin: 0 2px; padding: 0 8px; color: var(--rc-text); font-size: 12px; background: #fff; border: 1px solid #ccd7d3; border-radius: 4px; box-shadow: none; }
.rc-editor-popover--hf .rc-hf-list input[type="text"] { box-sizing: border-box; height: 30px; margin: 0 2px; padding: 4px 8px; color: var(--rc-text); font-size: 12px; background: #fff; border: 1px solid #ccd7d3; border-radius: 4px; box-shadow: none; }
.rc-editor-popover--hf .rc-hf-list #fontColor,
.rc-editor-popover--hf .rc-hf-list #background { width: 64px; text-align: center; cursor: pointer; }
.rc-editor-popover--hf .rc-hf-list input[type="radio"] { width: 15px !important; height: 15px; margin: 0 5px; vertical-align: -3px; accent-color: var(--rc-primary); }
.rc-editor-popover--hf .rc-hf-list img { height: 32px; margin: 0 4px; padding: 3px 8px; background: #fff; border: 1px dashed #c8ded8; border-radius: 4px; vertical-align: middle; }
.rc-editor-popover--hf .rc-hf-list input[type="button"] { box-sizing: border-box; min-width: 64px; min-height: 30px; margin: 0 0 0 10px; padding: 5px 12px !important; color: #fff !important; font-size: 12px; background: var(--rc-accent) !important; border: 0 !important; border-radius: 4px; cursor: pointer; }
.rc-editor-popover--hf .rc-hf-list input[type="button"]:hover { background: #2f6a90 !important; }
.rc-editor-popover__footer { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 10px 16px; background: #f8faf9; border-top: 1px solid var(--rc-border); }
.rc-editor-popover__footer > input.btn { width: auto !important; min-width: 72px; min-height: 30px; margin: 0 !important; padding: 5px 14px !important; color: #fff !important; font-size: 12px; border: 0 !important; border-radius: 4px; text-shadow: none; cursor: pointer; }
.rc-editor-popover__footer > input.btn-primary { background: var(--rc-primary) !important; }
.rc-editor-popover__footer > input.btn-primary:hover { background: var(--rc-primary-hover) !important; }
.rc-editor-popover__footer > input.btn-inverse { background: #75807c !important; }
.rc-editor-popover__footer > input.btn-inverse:hover { background: #67716d !important; }
.rc-editor-popover__footer > input.btn-primary:disabled { opacity: .5; cursor: not-allowed; }

/* ===== 设备管理：所有设备 / 未分配设备（allldevice.html、allNoUserdevice.html）===== */
.rc-filter-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 12px !important;
  padding: 14px 16px;
  border: 1px solid var(--rc-border);
  border-radius: var(--rc-radius);
  background: #fff;
  box-shadow: var(--rc-shadow);
}
.rc-filter-card > label { margin: 0; color: var(--rc-muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
.rc-filter-card input[type="text"],
.rc-filter-card select { width: auto; min-width: 132px; height: 34px; margin: 0 !important; padding: 6px 10px; border: 1px solid #cfd9d5; border-radius: 4px; box-shadow: none; color: var(--rc-text); font-size: 12px; line-height: 20px; }
.rc-filter-card input[type="text"]:focus,
.rc-filter-card select:focus { border-color: var(--rc-primary); outline: 2px solid rgba(7, 93, 78, .1); }
.rc-filter-card > .rc-btn { flex: 0 0 auto; }
.rc-filter-card__submit { margin-left: auto !important; }
.rc-device-page.rc-rtl .rc-filter-card__submit { margin-right: auto !important; margin-left: 0 !important; }

.rc-table-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 150px; color: #87918e; font-size: 13px; }
.rc-table-empty i { color: #a3ada9; font-size: 22px; }

/* 操作列：下拉菜单结构保留，只换成系统外观。
   这批老页面按用户要求保留原有全部操作按钮（不折叠成系统的「更多」菜单），
   所以操作列一定会换行；这里把内边距/间距收紧，让 4 个操作能塞进 2 行，
   从而把列宽压到 ~22%（否则要 25% 才够，会挤掉设备名称/所属用户列）。 */
.rc-device-table .rc-device-operations { white-space: normal; overflow: visible; }
.rc-device-table .rc-device-operations .rc-row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; white-space: normal; }
.rc-device-table .rc-device-operations .rc-row-action { display: inline-flex; align-items: center; gap: 4px; min-height: 28px; padding: 4px 7px; border: 1px solid #d7dfdc; border-radius: 4px; background: #fff; color: var(--rc-muted); font-size: 11px; line-height: 18px; text-decoration: none; text-shadow: none !important; white-space: nowrap; }
.rc-device-table .rc-device-operations .rc-row-action:hover,
.rc-device-table .rc-device-operations .rc-row-action:focus { border-color: #bdcbc6; background: #f7faf9; color: var(--rc-text); text-decoration: none; }
.rc-device-table .rc-device-operations .rc-row-action--primary { border-color: var(--rc-primary); background: var(--rc-primary); color: #fff; }
.rc-device-table .rc-device-operations .rc-row-action i,
.rc-device-table .rc-device-operations .rc-row-action img { padding: 0; vertical-align: middle; }
.rc-device-table .rc-device-operations .btn-group { display: inline-flex; }
.rc-device-table .rc-device-operations .dropdown-menu { min-width: 172px; padding: 5px 0; border: 1px solid var(--rc-border); border-radius: 6px; box-shadow: 0 12px 30px rgba(13, 43, 36, .16); }
.rc-device-table .rc-device-operations .dropdown-menu > li > a { padding: 7px 13px; color: var(--rc-text); font-size: 12px; }
.rc-device-table .rc-device-operations .dropdown-menu > li > a:hover,
.rc-device-table .rc-device-operations .dropdown-menu > li > a:focus { background: #f2f7f5; color: var(--rc-primary); }
.rc-device-table .rc-device-operations .dropdown-menu > li > a i { width: 15px; margin-right: 6px; padding: 0; color: var(--rc-muted); }

/* ===== 设备分配（userdevice/list.html）与内嵌的 iframe 列表页 ===== */
/* iframe 内页也要复用 .rc-device-list 那套表格样式，但它不在 flex 容器里，
   必须把 flex:1 1 0% / width:0 覆盖掉，否则宽度会塌成 0（整页白屏）。 */
.rc-list-canvas.rc-device-list { display: block; flex: none !important; width: auto !important; max-width: none; padding: 12px !important; }

.rc-list-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 12px; padding: 12px 14px; border: 1px solid var(--rc-border); border-radius: var(--rc-radius); background: #fff; box-shadow: var(--rc-shadow); }
.rc-list-toolbar__title { margin: 0; color: var(--rc-text); font-size: 15px; font-weight: 600; }
.rc-list-toolbar__fields { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }
.rc-list-toolbar__fields > label { margin: 0; color: var(--rc-muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
.rc-list-toolbar input[type="text"],
.rc-list-toolbar select { width: auto; min-width: 120px; height: 32px; margin: 0 !important; padding: 5px 9px; border: 1px solid #cfd9d5; border-radius: 4px; box-shadow: none; color: var(--rc-text); font-size: 12px; line-height: 20px; }
.rc-list-toolbar input[type="text"]:focus,
.rc-list-toolbar select:focus { border-color: var(--rc-primary); outline: 2px solid rgba(7, 93, 78, .1); }

/* 设备分配页：两张卡片承载 iframe */
.rc-assign-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.rc-assign-card { min-width: 0; border: 1px solid var(--rc-border); border-radius: var(--rc-radius); background: #fff; box-shadow: var(--rc-shadow); overflow: hidden; }
.rc-assign-card__head { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border-bottom: 1px solid var(--rc-border); background: #fbfdfc; }
.rc-assign-card__head h2 { margin: 0; color: var(--rc-text); font-size: 14px; font-weight: 600; }
.rc-assign-card__hint { margin-left: auto; color: var(--rc-muted); font-size: 12px; }
.rc-assign-card__body iframe { display: block; width: 100%; height: 360px; border: 0; background: #fff; }
.rc-assign-actions { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rc-device-page.rc-rtl .rc-assign-card__hint { margin-right: auto; margin-left: 0; }

/* 表格上面没有状态页签时（allldevice / allNoUserdevice / 两个内嵌列表页），
   容器四个角都要圆角；表头是灰底，必须跟着一起圆，否则会在角上露出直角。
   注意不能用 overflow:hidden —— 操作列的下拉菜单是绝对定位、会被裁掉。 */
.rc-device-table-wrap--standalone { border-radius: var(--rc-radius); }
.rc-device-table-wrap--standalone .rc-device-table > thead > tr:first-child > th:first-child { border-top-left-radius: var(--rc-radius); }
.rc-device-table-wrap--standalone .rc-device-table > thead > tr:first-child > th:last-child { border-top-right-radius: var(--rc-radius); }

/* Bootstrap 2 gives breadcrumb separators 5px on both sides. Keep the leading
   separation, but remove the visible blank after the slash on every admin page. */
.breadcrumb > li > .divider { padding: 0 0 0 5px; }
.rc-rtl .breadcrumb > li > .divider { padding: 0 5px 0 0; }

/* ===== 混合屏节目编辑 ===== */
/* Keep the playlist off the legacy .srce_choose / .srce_choose1 rules: they
   impose a 110px cap and a fixed 900px track. This component owns its sizing. */
.rc-hybrid-playlist { box-sizing: border-box; float: none; width: auto; height: auto; max-height: none; min-width: 0; margin: 0; padding: 8px 10px; border: 0; border-bottom: 1px solid var(--rc-border); background: #fff; overflow: visible; }
.rc-hybrid-playlist > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.rc-hybrid-playlist > header > div { min-width: 0; }
.rc-hybrid-playlist > header h2 { margin: 0 0 1px; color: var(--rc-text); font-size: 13px; font-weight: 600; line-height: 1.4; }
.rc-hybrid-playlist > header p { margin: 0; color: var(--rc-muted); font-size: 10px; line-height: 1.4; }
.rc-hybrid-playlist > header .rc-btn { flex: 0 0 auto; min-height: 30px; padding: 5px 9px; font-size: 11px; }
/* Keep cards in one compact row; the track scrolls only when cards exceed its width. */
.rc-hybrid-playlist__track { box-sizing: border-box; display: flex; float: none; align-items: stretch; gap: 6px; width: 100%; min-width: 0; min-height: 0; padding: 6px; overflow-x: auto; overflow-y: hidden; border: 1px solid var(--rc-border); border-radius: 5px; background: #f6f9f8; }
.rc-hybrid-playlist__track #pg_ul_rslist { display: flex; flex: 0 0 auto; align-items: stretch; flex-wrap: nowrap; gap: 6px; width: max-content; height: auto; margin: 0; overflow: visible; list-style: none; }
.rc-hybrid-playlist .rc-hybrid-page-card { position: relative; display: flex; flex: 0 0 168px; flex-direction: column; box-sizing: border-box; width: 168px; height: 124px; margin: 0; padding: 5px 6px; border: 1px solid #cfd9d5; border-radius: 5px; background: #fff; box-shadow: 0 1px 3px rgba(20,52,44,.06); }
.rc-hybrid-playlist .rc-hybrid-page-card.srce_choose_current { border-color: var(--rc-primary); box-shadow: 0 0 0 2px rgba(7,93,78,.14); }
.rc-hybrid-page-preview { position: relative; display: flex; flex: 0 0 66px; align-items: center; box-sizing: border-box; gap: 5px; width: 100%; min-width: 0; min-height: 66px; margin: 0 0 4px; padding: 1px 0 3px; border: 0; border-bottom: 1px solid #edf1ef; background: transparent; cursor: pointer; text-align: start; }
/* 注意：旧样式里 .srce_choose ul li .number 是 (0,2,2)，权重高于 .rc-hybrid-page-preview .number (0,2,0)，
   它会把序号徽章写成「0×0 + 30px 上边框 + 30px 右边框」的三角标。
   这里必须再抬一级作用域（.rc-hybrid-playlist ...）才压得住。 */
.rc-hybrid-playlist .rc-hybrid-page-preview .number { position: static; display: grid; flex: 0 0 18px; width: 18px; height: 18px; place-items: center; border: 0; border-radius: 50%; background: #dfe9e6; color: var(--rc-primary); }
.rc-hybrid-playlist .rc-hybrid-page-card.srce_choose_current .number { background: var(--rc-primary); color: #fff; }
.rc-hybrid-playlist .rc-hybrid-page-preview .number em { position: static; width: auto; color: inherit; font-size: 10px; font-style: normal; line-height: 1; text-align: center; }
/* 缩略图按源图比例 250:200 = 5:4 给盒（38×30），object-fit:contain 才不留左右空白。
   注意 z-index: 旧样式给 .srce_choose_img 写了 z-index:-1（它原本是绝对定位的角标）。
   flex 项即使 position:static，z-index 依然生效（会建栈上下文）——
   负值会让缩略图整张画到卡片白底**后面**，肉眼完全看不见。必须显式 auto。 */
.rc-hybrid-page-preview .srce_choose_img { position: static; z-index: auto; flex: 0 0 76px; width: 76px; height: 60px; min-width: 0; object-fit: contain; }
.rc-hybrid-page-split { flex: 0 1 auto; min-width: 0; overflow: hidden; padding: 2px 4px; border-radius: 3px; background: #edf6f3; color: var(--rc-primary); font-size: 10px; font-weight: 700; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.rc-hybrid-page-time { display: flex; flex: 0 0 18px; align-items: center; gap: 3px; min-width: 0; margin: 0; color: var(--rc-muted); font-size: 9px; line-height: 18px; white-space: nowrap; }
.rc-hybrid-page-time > span { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.rc-hybrid-page-time input { flex: 0 0 auto; width: 48px; min-width: 48px; height: 18px; margin: 0; padding: 1px 3px; border: 1px solid #cfd9d5; border-radius: 3px; font-size: 10px; line-height: 14px; text-align: center; }
.rc-hybrid-page-time > em { flex: 0 0 auto; font-style: normal; }
.rc-hybrid-page-actions { position: absolute; right: 3px; bottom: 3px; display: flex; gap: 2px; }
.rc-rtl .rc-hybrid-playlist .rc-hybrid-page-actions { right: auto; left: 4px; }
.rc-hybrid-icon-btn { display: grid; width: 18px; height: 18px; padding: 0; place-items: center; border: 1px solid #d9e1de; border-radius: 3px; background: #fff; color: var(--rc-muted); cursor: pointer; font-size: 9px; line-height: 1; }
.rc-hybrid-icon-btn:hover:not(:disabled) { border-color: var(--rc-primary); color: var(--rc-primary); }
.rc-hybrid-icon-btn:disabled { cursor: not-allowed; opacity: .35; }
.rc-hybrid-icon-btn--danger:hover:not(:disabled) { border-color: #c74e49; color: #c74e49; }
.rc-hybrid-add-page { display: flex; flex: 0 0 168px; align-items: center; justify-content: center; gap: 5px; min-height: 124px; border: 1px dashed #8db6a9; border-radius: 5px; background: #edf7f3; color: var(--rc-primary); font-size: 11px; font-weight: 600; cursor: pointer; }
.rc-hybrid-add-page:hover { border-color: var(--rc-primary); background: #e3f2ed; }
/* Empty hybrid canvas: keep the selection target clickable while centering its
   muted, dashed placeholder with the same treatment used by the header/footer. */
.rc-hybrid-editor-page .rc-layout-editor .rc-hybrid-canvas-placeholder { display: flex; align-items: stretch; outline: 0 !important; }
.rc-hybrid-editor-page .rc-layout-editor .rc-hybrid-canvas-placeholder > .lcol { display: flex !important; flex: 1 1 100%; align-items: center; justify-content: center; box-sizing: border-box; width: 100% !important; height: 100% !important; margin: 0 !important; padding: 12px; border: 1px dashed #bed1cb !important; border-radius: 4px; outline: 0 !important; background: rgba(255,255,255,.55); color: #93a5a0 !important; font-family: var(--rc-font); font-size: 11px; line-height: 18px !important; text-align: center; }
.rc-hybrid-source-dialog .ui-dialog-titlebar { border: 0; border-bottom: 1px solid var(--rc-border); background: #f7faf9; color: var(--rc-text); }
.rc-hybrid-source-dialog .ui-dialog-content { padding: 0; }
.rc-hybrid-source-dialog .ui-dialog-buttonpane { margin: 0; padding: 8px 12px; border-top: 1px solid var(--rc-border); background: #fff; }
.rc-hybrid-source-dialog-content iframe { display: block; border: 0; }

/* 混合来源选择 iframe */
.rc-hybrid-selector-page { min-width: 0; padding: 0; background: #f3f6f5; color: var(--rc-text); font-family: var(--rc-font); }
.rc-hybrid-selector { width: auto; min-height: 100%; padding: 16px; border: 0; background: transparent; }
.rc-hybrid-selector__intro { margin-bottom: 12px; padding: 15px 18px; border-radius: 6px; background: var(--rc-primary); color: #fff; }
.rc-hybrid-selector__intro span { color: #dceee8; font-size: 11px; font-weight: 700; }
.rc-hybrid-selector__intro h1 { margin: 2px 0 4px; color: #fff; font-size: 18px; }
.rc-hybrid-selector__intro p { margin: 0; color: #e6f2ee; font-size: 12px; }
.rc-hybrid-selector__form { padding: 0 14px 16px; border: 1px solid var(--rc-border); border-radius: 6px; background: #fff; box-shadow: var(--rc-shadow); }
.rc-hybrid-selector__filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; height: auto; min-height: 50px; margin: 0 -14px 14px; padding: 9px 14px; border-bottom: 1px solid var(--rc-border); background: #fafcfb; }
.rc-hybrid-selector__filters > span { margin: 0 !important; color: var(--rc-text); font-weight: 600; }
.rc-hybrid-selector__filters label { margin: 0; padding: 5px 8px; border: 1px solid #d9e1de; border-radius: 4px; background: #fff; }
.rc-hybrid-selector__section-title { display: flex; align-items: center; margin: 14px 0 9px; padding-left: 9px; border-left: 3px solid var(--rc-marker); }
.rc-hybrid-selector__section-title h2 { margin: 0; color: var(--rc-text); font-size: 14px; }
.rc-hybrid-selector__section-title p { margin: 2px 0 0; color: var(--rc-muted); font-size: 11px; }
.rc-hybrid-selector #spblock_div { min-height: 112px; padding: 10px; border: 1px solid var(--rc-border); border-radius: 5px; background: #f7faf9; }
.rc-hybrid-selector__notice { margin: 0 0 10px; padding: 8px 10px; border: 1px solid #f0ddb4; border-radius: 4px; background: #fff9ec; color: #8b6414; }
.rc-hybrid-program-card { margin: 0 10px 10px 0; border: 1px solid var(--rc-border); border-radius: 5px; background: #fff; box-shadow: none; }
.rc-hybrid-program-card .shop_con { border: 0; }
.rc-hybrid-program-card .shc_top { background: #f7faf9; }
.rc-hybrid-program-card button { border-radius: 3px; background: var(--rc-primary); }

@media (max-width: 800px) {
  .rc-hybrid-playlist > header { align-items: flex-start; flex-wrap: wrap; gap: 6px 8px; }
  .rc-hybrid-playlist > header > div { flex: 1 1 180px; }
  .rc-hybrid-playlist > header .rc-btn { align-self: flex-start; }
  .rc-hybrid-selector { padding: 8px; }
}

/* The picker iframe includes legacy style.css after this file. These scoped
   selectors outrank its fixed heights, floats, and shop-card dimensions. */
body.rc-hybrid-selector-page .bod.rc-hybrid-selector {
  box-sizing: border-box;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 10px;
  border: 0;
  background: transparent;
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector .rc-hybrid-selector__intro {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 8px;
  margin: 0 0 8px;
  padding: 0 8px;
  border-inline-start: 3px solid var(--rc-primary, #075d4e);
  border-radius: 0;
  background: transparent;
  color: var(--rc-text, #1f2927);
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector .rc-hybrid-selector__intro h1 {
  margin: 0;
  color: var(--rc-text, #1f2927);
  font-size: 15px;
  line-height: 1.45;
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector .rc-hybrid-selector__intro p {
  flex: 1 1 220px;
  margin: 0;
  color: var(--rc-muted, #59635f);
  font-size: 11px;
  line-height: 1.5;
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector .rc-hybrid-selector__form {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0 10px 10px;
  overflow: visible;
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector .screen_1.rc-hybrid-selector__filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  box-sizing: border-box;
  width: auto;
  height: auto;
  min-height: 0;
  margin: 0 -10px 8px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--rc-border, #e3e8e6);
  background: #f7f9f8;
  line-height: 1.4;
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector .screen_1.rc-hybrid-selector__filters > span {
  flex: 0 0 auto;
  margin: 0 !important;
  color: var(--rc-text, #1f2927);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector .screen_1.rc-hybrid-selector__filters label.radio.inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 26px;
  margin: 0;
  padding: 3px 6px;
  border: 1px solid #d9e1de;
  border-radius: 4px;
  background: #fff;
  color: var(--rc-text, #1f2927);
  font-size: 11px;
  line-height: 1.35;
  white-space: nowrap;
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector .screen_1.rc-hybrid-selector__filters input[type="radio"] {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--rc-primary, #075d4e);
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector .rc-hybrid-selector__section-title {
  align-items: center;
  margin: 8px 0 6px;
  padding-inline-start: 8px;
  border: 0;
  border-inline-start: 3px solid var(--rc-marker, #d9ad48);
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector .rc-hybrid-selector__section-title h2 {
  margin: 0;
  color: var(--rc-text, #1f2927);
  font-size: 13px;
  line-height: 1.4;
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector .rc-hybrid-selector__section-title p {
  margin: 1px 0 0;
  color: var(--rc-muted, #59635f);
  font-size: 10px;
  line-height: 1.4;
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector #spblock_div {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  align-items: stretch;
  gap: 7px;
  box-sizing: border-box;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 7px;
  border: 1px solid var(--rc-border, #e3e8e6);
  border-radius: 5px;
  background: #f7faf9;
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector #spblock_div > .rc-hybrid-template-tile {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 5px 4px;
  border: 1px solid #dfe6e3;
  border-radius: 4px;
  background: #fff;
  color: var(--rc-text, #1f2927);
  cursor: pointer;
  font: inherit;
  text-align: center;
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector #spblock_div > .rc-hybrid-template-tile:hover,
body.rc-hybrid-selector-page .bod.rc-hybrid-selector #spblock_div > .rc-hybrid-template-tile:focus-visible {
  border-color: #9dbbb2;
  outline: 0;
  box-shadow: 0 1px 4px rgba(20, 52, 44, .10);
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector #spblock_div > .rc-hybrid-template-tile.is-selected {
  border-color: var(--rc-primary, #075d4e);
  box-shadow: inset 0 0 0 1px var(--rc-primary, #075d4e);
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector #spblock_div > .rc-hybrid-template-tile img {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 96px;
  height: auto;
  max-height: 68px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector #spblock_div > .rc-hybrid-template-tile.is-selected img {
  border: 1px solid #d9ad48 !important;
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector #spblock_div > .rc-hybrid-template-tile span {
  display: block;
  width: 100%;
  margin: 4px 0 0;
  color: var(--rc-muted, #59635f);
  font-size: 10px;
  line-height: 1.3;
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector .wraning.rc-hybrid-selector__notice {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0 0 8px;
  padding: 6px 8px;
  border: 1px solid #eadabb;
  border-radius: 4px;
  background: #fff9ec;
  color: #79633d;
  font-size: 11px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector .rc-hybrid-selector__programs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  align-items: stretch;
  gap: 8px;
  min-width: 0;
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector .rc-hybrid-selector__programs .rc-hybrid-program-card {
  float: none !important;
  box-sizing: border-box;
  width: auto !important;
  min-width: 0;
  height: auto !important;
  margin: 0 !important;
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector .rc-hybrid-selector__programs .rc-hybrid-program-card .shop_con {
  display: grid;
  grid-template-rows: auto minmax(72px, 1fr) auto;
  gap: 5px;
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0;
  height: auto !important;
  min-height: 0;
  margin: 0 !important;
  padding: 7px !important;
  float: none !important;
  border: 1px solid var(--rc-border, #e3e8e6);
  border-radius: 5px;
  background: #fff;
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector .rc-hybrid-selector__programs .rc-hybrid-program-card .shc_top {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  min-height: 27px;
  margin: 0;
  padding: 0 0 5px;
  border-bottom: 1px solid var(--rc-border, #e3e8e6);
  background: #fff;
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector .rc-hybrid-selector__programs .rc-hybrid-program-card .shc_top > p {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  float: none;
  color: var(--rc-text, #1f2927);
  font-size: 11px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector .rc-hybrid-selector__programs .rc-hybrid-program-card .shc_top font {
  color: var(--rc-text, #1f2927) !important;
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector .rc-hybrid-selector__programs .rc-hybrid-program-card .rc-hybrid-program-card__choose {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 26px;
  margin: 0;
  padding: 4px 7px;
  border: 0;
  border-radius: 4px;
  background: var(--rc-primary, #075d4e) !important;
  color: #fff;
  font-size: 10px;
  line-height: 1.3;
  white-space: nowrap;
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector .rc-hybrid-selector__programs .rc-hybrid-program-card .rc-hybrid-program-card__choose:hover,
body.rc-hybrid-selector-page .bod.rc-hybrid-selector .rc-hybrid-selector__programs .rc-hybrid-program-card .rc-hybrid-program-card__choose:focus-visible {
  background: #03483d !important;
  color: #fff;
  outline: 2px solid rgba(7, 93, 78, .18);
  outline-offset: 1px;
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector .rc-hybrid-selector__programs .rc-hybrid-program-card .rc-hybrid-program-card__choose i {
  display: inline-block;
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 11px;
  line-height: 1;
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector .rc-hybrid-selector__programs .rc-hybrid-program-card .shop_con > div:not(.shc_top):not(.shc_p) {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  margin: 0;
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector .rc-hybrid-selector__programs .rc-hybrid-program-card .shc_center {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 76px;
  min-height: 76px;
  margin: 0;
  padding: 3px;
  border: 0;
  border-radius: 4px;
  background: #f5f8f7;
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector .rc-hybrid-selector__programs .rc-hybrid-program-card .shc_cenbox {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  margin: 0;
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector .rc-hybrid-selector__programs .rc-hybrid-program-card .shc_cenbox table {
  width: auto;
  height: auto;
  margin: 0;
  border-collapse: collapse;
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector .rc-hybrid-selector__programs .rc-hybrid-program-card .shc_cenbox td {
  width: auto;
  height: auto;
  padding: 0;
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector .rc-hybrid-selector__programs .rc-hybrid-program-card .shc_center img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 68px;
  margin: 0;
  object-fit: contain;
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector .rc-hybrid-selector__programs .rc-hybrid-program-card .shc_p {
  margin: 0;
  color: var(--rc-muted, #59635f);
  font-size: 10px;
  line-height: 1.4;
  text-align: start;
  overflow-wrap: anywhere;
}
body.rc-hybrid-selector-page .bod.rc-hybrid-selector .rc-hybrid-selector__empty {
  box-sizing: border-box;
  min-height: 0;
  margin: 0;
  padding: 10px;
  border: 1px dashed #cbd6d2;
  border-radius: 5px;
  background: #f7faf9;
  color: var(--rc-muted, #59635f);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}
@media (max-width: 520px) {
  body.rc-hybrid-selector-page .bod.rc-hybrid-selector { padding: 8px; }
  body.rc-hybrid-selector-page .bod.rc-hybrid-selector .rc-hybrid-selector__form { padding: 0 8px 8px; }
  body.rc-hybrid-selector-page .bod.rc-hybrid-selector .screen_1.rc-hybrid-selector__filters { margin-inline: -8px; padding-inline: 8px; }
  body.rc-hybrid-selector-page .bod.rc-hybrid-selector .rc-hybrid-selector__programs { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); }
}

/* Hybrid layout save result: keep the existing destinations in the admin dialog language. */
body.rc-hybrid-editor-page #saveResultDIV.rc-hybrid-save-result {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5001;
  background: rgba(8, 24, 20, .48);
}
body.rc-hybrid-editor-page .rc-hybrid-save-result .sucModel.rc-hybrid-save-result__dialog {
  top: 50%;
  width: min(390px, calc(100vw - 40px));
  box-sizing: border-box;
  padding: 28px 26px 22px;
  transform: translate(-50%, -50%);
  font-family: var(--rc-font);
}
.rc-hybrid-save-result__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #eaf4f1;
  color: var(--rc-primary);
  font-size: 21px;
}
body.rc-hybrid-editor-page .rc-hybrid-save-result h2 {
  margin: 13px 0 0;
  color: var(--rc-text);
  font-size: 18px;
  line-height: 1.4;
}
.rc-hybrid-save-result__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
body.rc-hybrid-editor-page .rc-hybrid-save-result__actions button {
  min-height: 36px;
  margin: 0;
  padding: 8px 14px;
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
}
body.rc-hybrid-editor-page .rc-hybrid-save-result__actions .rc-btn--neutral {
  border: 1px solid var(--rc-border);
  background: #f3f6f5 !important;
  color: var(--rc-text);
}

/* Upload UX enhancement 2026-09-26 */
.rc-file-upload-page .rc-upload-dropzone.is-dragging {
  border-color: var(--rc-primary);
  border-style: solid;
  background: #e8f5f0;
  box-shadow: 0 0 0 3px rgba(7, 93, 78, .08), inset 0 0 0 1px rgba(7, 93, 78, .08);
  transform: translateY(-1px);
}
.rc-file-upload-page .rc-upload-dropzone.is-dragging .rc-upload-dropzone__icon { transform: scale(1.06); }
.rc-file-upload-page .rc-upload-feedback {
  box-sizing: border-box;
  margin: 10px 0 0;
  padding: 10px 12px;
  border: 1px solid #d9e4e0;
  border-radius: 6px;
  color: #4f5e59;
  background: #f6f9f8;
  font-size: 11px;
  line-height: 1.55;
}
.rc-file-upload-page .rc-upload-feedback.is-error { border-color: #e7b8b3; color: #9e433b; background: #fff6f5; }
.rc-file-upload-page .rc-upload-feedback.is-success { border-color: #bcdccf; color: #24684f; background: #f1faf6; }
.rc-file-upload-page .rc-upload-feedback.is-info { border-color: #cbded7; color: #4f625b; background: #f5faf8; }

.rc-file-upload-page #fileTips li.rc-upload-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 84px;
  height: auto;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid #e0e8e5;
  border-radius: 7px;
  background: #fafcfb;
}
.rc-file-upload-page #fileTips li.rc-upload-item canvas,
.rc-file-upload-page #fileTips li.rc-upload-item > input,
.rc-file-upload-page #fileTips li.rc-upload-item > span { display: none !important; }
.rc-file-upload-page .rc-upload-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  color: var(--rc-primary);
  background: #e8f3ef;
  font-size: 15px;
}
.rc-file-upload-page .rc-upload-item__body { min-width: 0; }
.rc-file-upload-page #fileTips li.rc-upload-item .rc-upload-item__name {
  position: static;
  width: auto;
  margin: 0;
  overflow: hidden;
  color: var(--rc-text);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rc-file-upload-page .rc-upload-item__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 5px;
  color: var(--rc-muted);
  font-size: 10px;
}
.rc-file-upload-page .rc-upload-item__status { color: #65736e; font-weight: 600; white-space: nowrap; }
.rc-file-upload-page .rc-upload-item__track {
  width: 100%;
  height: 4px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 3px;
  background: #e3eae7;
}
.rc-file-upload-page .rc-upload-item__track > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--rc-primary);
  transition: width .18s ease;
}
.rc-file-upload-page .rc-upload-item__actions { display: flex; align-items: center; gap: 5px; }
.rc-file-upload-page .rc-upload-item__action {
  min-width: 42px;
  height: 28px;
  margin: 0;
  padding: 0 7px;
  border: 1px solid #d4dfdb;
  border-radius: 4px;
  color: #5d6a66;
  background: #fff;
  font-size: 10px;
  line-height: 26px;
  box-shadow: none;
  text-shadow: none;
}
.rc-file-upload-page .rc-upload-item__action:hover { border-color: #a9c2b9; color: var(--rc-primary); background: #f5faf8; }
.rc-file-upload-page #fileTips li.rc-upload-item.success { border-color: #c9e1d7; background: #f6fbf8; }
.rc-file-upload-page #fileTips li.rc-upload-item.success .rc-upload-item__icon { color: #287259; background: #e2f2eb; }
.rc-file-upload-page #fileTips li.rc-upload-item.success .rc-upload-item__status { color: #287259; }
.rc-file-upload-page #fileTips li.rc-upload-item.error { border-color: #e7b8b3; background: #fff7f6; }
.rc-file-upload-page #fileTips li.rc-upload-item.error .rc-upload-item__icon { color: var(--rc-danger); background: #fde9e7; }
.rc-file-upload-page #fileTips li.rc-upload-item.error .rc-upload-item__status { color: var(--rc-danger); }
.rc-file-upload-page #fileTips li.rc-upload-item.error .rc-upload-item__track > span { background: var(--rc-danger); }

@media (max-width: 680px) {
  .rc-file-upload-page #fileTips { grid-template-columns: 1fr; }
  .rc-file-upload-page #fileTips li.rc-upload-item { grid-template-columns: 34px minmax(0, 1fr); }
  .rc-file-upload-page .rc-upload-item__actions { grid-column: 2; justify-content: flex-end; }
  .rc-file-upload-page .rc-upload-item__meta { align-items: flex-start; flex-direction: column; gap: 2px; }
}
/* Upload flow redesign 2026-09-26 v3 */
.rc-file-upload-page .rc-upload-form{max-width:1400px}
.rc-file-upload-page .rc-upload-hero--flow{justify-content:space-between;min-height:86px;margin-bottom:12px;padding:15px 18px}
.rc-file-upload-page .rc-upload-hero__main,.rc-file-upload-page .rc-upload-hero__actions{display:flex;align-items:center;gap:12px}
.rc-file-upload-page .rc-upload-hero__main{min-width:0;flex:1 1 auto}
.rc-file-upload-page .rc-upload-hero__actions{flex:0 0 auto}
.rc-file-upload-page .rc-upload-batch-tag{padding:5px 10px;border-radius:14px;color:#557068;background:#edf3f1;font-size:10px;font-weight:700;white-space:nowrap}
.rc-file-upload-page .rc-upload-hero--flow .rc-upload-storage{grid-template-columns:minmax(200px,250px);min-width:230px;padding:8px 10px}
.rc-file-upload-page .rc-upload-hero--flow .rc-upload-storage__title,.rc-file-upload-page .rc-upload-hero--flow .rc-upload-storage__meta{font-size:10px}

.rc-file-upload-page .rc-upload-flow{display:flex;flex-direction:column;gap:12px}
.rc-file-upload-page .rc-upload-step{overflow:visible;border:1px solid #dde6e2;border-radius:9px;background:#fff;box-shadow:0 3px 12px rgba(26,49,42,.045)}
.rc-file-upload-page .rc-upload-step__head{display:flex;align-items:center;gap:10px;min-height:54px;padding:10px 16px;border-bottom:1px solid #edf1ef;background:#fbfcfc;border-radius:9px 9px 0 0}
.rc-file-upload-page .rc-upload-step__number{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;color:#fff;background:var(--rc-primary);font-size:12px;font-weight:800}
.rc-file-upload-page .rc-upload-step__head h2{margin:0;color:var(--rc-text);font-size:14px;font-weight:700}
.rc-file-upload-page .rc-upload-step__head p{margin:2px 0 0;color:var(--rc-muted);font-size:10px;line-height:1.45}
.rc-file-upload-page .rc-upload-step__body{padding:14px 16px 16px}

.rc-file-upload-page .rc-upload-type-cards--flow{grid-template-columns:repeat(5,minmax(110px,1fr));gap:9px}
.rc-file-upload-page .rc-upload-type-cards--flow button{position:relative;min-height:60px;flex-direction:column;gap:5px;border-radius:7px;font-size:12px}
.rc-file-upload-page .rc-upload-type-cards--flow button>i{font-size:17px}
.rc-file-upload-page .rc-upload-type-check{position:absolute;top:7px;right:7px;display:none;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;color:#fff;background:var(--rc-primary);font-size:8px}
.rc-file-upload-page .rc-upload-type-cards--flow button.is-active .rc-upload-type-check{display:inline-flex}

.rc-file-upload-page .rc-upload-rule-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.8fr);gap:10px;margin-top:10px}
.rc-file-upload-page .rc-upload-rule-card,.rc-file-upload-page .rc-upload-upgrade-card{display:flex;align-items:flex-start;gap:11px;min-height:68px;padding:12px 14px;border-radius:7px;box-sizing:border-box}
.rc-file-upload-page .rc-upload-rule-card{background:#f4f8f6}
.rc-file-upload-page .rc-upload-upgrade-card{background:#fff8ec}
.rc-file-upload-page .rc-upload-rule-card__icon,.rc-file-upload-page .rc-upload-upgrade-card__icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;border-radius:6px}
.rc-file-upload-page .rc-upload-rule-card__icon{color:var(--rc-primary);background:#e1f0ea}
.rc-file-upload-page .rc-upload-upgrade-card__icon{color:#b97819;background:#fff0ce}
.rc-file-upload-page .rc-upload-rule-card strong,.rc-file-upload-page .rc-upload-upgrade-card strong{display:block;margin-bottom:4px;color:var(--rc-text);font-size:11px}
.rc-file-upload-page .rc-upload-rule-card p,.rc-file-upload-page .rc-upload-upgrade-card p{margin:0;color:#68766f;font-size:10px;line-height:1.6}
.rc-file-upload-page .rc-upload-upgrade-card a{display:inline-block;margin:1px 0 4px;color:var(--rc-primary);font-size:11px;font-weight:700;text-decoration:none}

.rc-file-upload-page .rc-upload-category-compact{display:grid;grid-template-columns:190px minmax(0,1fr);gap:12px;align-items:start;margin-top:10px;padding-top:11px;border-top:1px solid #edf1ef}
.rc-file-upload-page .rc-upload-category-compact__label strong{display:block;color:var(--rc-text);font-size:11px}
.rc-file-upload-page .rc-upload-category-compact__label span{display:block;margin-top:3px;color:var(--rc-muted);font-size:9px;line-height:1.45}
.rc-file-upload-page .rc-upload-category-compact .rc-upload-category-tools{flex-direction:row;align-items:flex-start;justify-content:space-between;gap:12px}
.rc-file-upload-page .rc-upload-category-compact .rc-upload-category-tools #menu{flex:1 1 auto}

.rc-file-upload-page .rc-upload-dropzone--flow{min-height:210px;margin:0;padding:28px 20px;border-width:1px;background:linear-gradient(180deg,#f9fcfb 0%,#f5faf8 100%)}
.rc-file-upload-page .rc-upload-dropzone--flow>strong{font-size:16px}
.rc-file-upload-page .rc-upload-dropzone--flow .rc-upload-choose{min-width:132px;min-height:38px;margin-top:14px}
.rc-file-upload-page .rc-upload-dropzone--flow>small{max-width:760px}

.rc-file-upload-page .rc-upload-task-head{align-items:center}
.rc-file-upload-page .rc-upload-task-head__copy{flex:1 1 auto;min-width:0}
.rc-file-upload-page .rc-upload-task-tools{display:flex;align-items:center;gap:7px;flex:0 0 auto}
.rc-file-upload-page .rc-upload-task-action{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:30px;padding:5px 9px;border:1px solid #d9e2df;border-radius:5px;color:#53645e;background:#fff;font-size:10px;box-shadow:none}
.rc-file-upload-page .rc-upload-task-action:disabled{opacity:.42;cursor:not-allowed}
.rc-file-upload-page .rc-upload-task-action:not(:disabled):hover{border-color:#a7c1b8;color:var(--rc-primary);background:#f3f8f6}
.rc-file-upload-page .rc-upload-task-tools .rc-upload-queue-count{padding:5px 10px;border-radius:14px;color:var(--rc-primary);background:#e7f2ee;font-size:10px;font-weight:700;white-space:nowrap}
.rc-file-upload-page .rc-upload-progress--flow{position:relative;min-height:132px;max-height:360px;padding:12px 14px 14px}
.rc-file-upload-page .rc-upload-empty-state{display:flex;align-items:center;justify-content:center;min-height:104px;flex-direction:column;color:#89958f;text-align:center}
.rc-file-upload-page .rc-upload-empty-state>span{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;margin-bottom:7px;border-radius:50%;color:#829089;background:#f0f4f2;font-size:16px}
.rc-file-upload-page .rc-upload-empty-state strong{color:#63716c;font-size:11px}
.rc-file-upload-page .rc-upload-empty-state p{margin:3px 0 0;font-size:10px}
.rc-file-upload-page .rc-upload-progress--flow #fileTips{display:flex;flex-direction:column;gap:7px}
.rc-file-upload-page .rc-upload-progress--flow #fileTips:empty::before{display:none}
.rc-file-upload-page .rc-upload-progress--flow #fileTips li.rc-upload-item{grid-template-columns:38px minmax(0,1fr) auto;min-height:70px;padding:9px 11px}
.rc-file-upload-page .rc-upload-notice--flow{margin:0}

@media(max-width:980px){
.rc-file-upload-page .rc-upload-hero--flow{align-items:flex-start;flex-direction:column}
.rc-file-upload-page .rc-upload-hero__actions{width:100%;flex-wrap:wrap}
.rc-file-upload-page .rc-upload-hero--flow .rc-upload-storage{flex:1 1 280px}
.rc-file-upload-page .rc-upload-rule-grid{grid-template-columns:1fr}
.rc-file-upload-page .rc-upload-category-compact{grid-template-columns:1fr}
.rc-file-upload-page .rc-upload-type-cards--flow{grid-template-columns:repeat(3,minmax(100px,1fr))}
}
@media(max-width:680px){
.rc-file-upload-page .rc-upload-type-cards--flow{grid-template-columns:repeat(2,minmax(0,1fr))}
.rc-file-upload-page .rc-upload-step__head{align-items:flex-start}
.rc-file-upload-page .rc-upload-task-head{flex-wrap:wrap}
.rc-file-upload-page .rc-upload-task-tools{width:100%;flex-wrap:wrap;padding-left:38px}
.rc-file-upload-page .rc-upload-task-tools .rc-upload-queue-count{order:-1}
.rc-file-upload-page .rc-upload-category-compact .rc-upload-category-tools{flex-direction:column}
.rc-file-upload-page .rc-upload-category-actions{width:100%;flex-direction:row}
.rc-file-upload-page .rc-upload-dropzone--flow{min-height:190px;padding:22px 12px}
.rc-file-upload-page .rc-upload-hero__actions .rc-upload-back{width:auto}
}
/* Upload flow refinement 2026-09-26 v4 */
.rc-file-upload-page .rc-upload-storage__title-actions{
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.rc-file-upload-page .rc-upload-storage-upgrade{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:36px;
  height:20px;
  padding:0 7px;
  border:1px solid rgba(7,93,78,.18);
  border-radius:10px;
  color:var(--rc-primary);
  background:#eef7f3;
  font-size:9px;
  font-weight:700;
  line-height:18px;
  text-decoration:none;
}
.rc-file-upload-page .rc-upload-storage-upgrade:hover{
  color:#fff;
  background:var(--rc-primary);
}

.rc-file-upload-page .rc-upload-category-top{
  display:grid;
  grid-template-columns:180px minmax(0,1fr);
  align-items:start;
  gap:14px;
  padding:13px 16px;
  border:1px solid #dde6e2;
  border-radius:9px;
  background:#fff;
  box-shadow:0 3px 12px rgba(26,49,42,.045);
}
.rc-file-upload-page .rc-upload-category-top__label strong{
  display:block;
  color:var(--rc-text);
  font-size:13px;
  font-weight:700;
}
.rc-file-upload-page .rc-upload-category-top__label span{
  display:block;
  margin-top:3px;
  color:var(--rc-muted);
  font-size:9px;
  line-height:1.5;
}
.rc-file-upload-page .rc-upload-category-top .rc-upload-category-tools{
  flex-direction:row;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.rc-file-upload-page .rc-upload-category-top .rc-upload-category-tools #menu{
  flex:1 1 auto;
}
.rc-file-upload-page .rc-upload-rule-grid--single{
  grid-template-columns:1fr;
}
.rc-file-upload-page .rc-upload-step--type .rc-upload-step__body{
  padding-bottom:14px;
}
.rc-file-upload-page .rc-upload-step--files{
  margin-top:-2px;
}
@media(max-width:680px){
  .rc-file-upload-page .rc-upload-category-top{
    grid-template-columns:1fr;
  }
  .rc-file-upload-page .rc-upload-category-top .rc-upload-category-tools{
    flex-direction:column;
  }
  .rc-file-upload-page .rc-upload-storage__title-actions{
    gap:5px;
  }
}
/* Upload flow refinement 2026-09-26 v5 */
.rc-file-upload-page .rc-upload-form{
  width:100%;
  max-width:none;
}
.rc-file-upload-page .rc-upload-top-note{
  display:grid;
  grid-template-columns:30px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
  padding:10px 14px;
  border:1px solid #dce8e3;
  border-radius:8px;
  background:#f6faf8;
}
.rc-file-upload-page .rc-upload-top-note__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border-radius:50%;
  color:var(--rc-primary);
  background:#e6f2ed;
}
.rc-file-upload-page .rc-upload-top-note__copy strong{
  display:inline-block;
  margin-right:8px;
  color:var(--rc-text);
  font-size:11px;
}
.rc-file-upload-page .rc-upload-top-note__copy span{
  color:#65736e;
  font-size:10px;
}
.rc-file-upload-page .rc-upload-top-note__toggle{
  border:0;
  color:var(--rc-primary);
  background:transparent;
  font-size:10px;
  font-weight:700;
  cursor:pointer;
}
.rc-file-upload-page .rc-upload-top-note__detail{
  display:none;
  grid-column:2 / -1;
  padding-top:7px;
  border-top:1px dashed #d8e2de;
}
.rc-file-upload-page .rc-upload-top-note.is-open .rc-upload-top-note__detail{display:block}
.rc-file-upload-page .rc-upload-top-note__detail p{
  margin:2px 0;
  color:#6c7773;
  font-size:9px;
  line-height:1.55;
}

.rc-file-upload-page .rc-upload-storage-upgrade{
  min-width:auto;
  padding:0 9px;
  white-space:nowrap;
}
.rc-file-upload-page .rc-upload-member-upgrade-card{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:68px;
  padding:12px 14px;
  border-radius:7px;
  background:#fff8ec;
  box-sizing:border-box;
}
.rc-file-upload-page .rc-upload-member-upgrade-card__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 32px;
  width:32px;
  height:32px;
  border-radius:6px;
  color:#b97819;
  background:#fff0ce;
}
.rc-file-upload-page .rc-upload-member-upgrade-card__copy{
  min-width:0;
  flex:1 1 auto;
}
.rc-file-upload-page .rc-upload-member-upgrade-card__copy strong{
  display:block;
  margin-bottom:4px;
  color:var(--rc-text);
  font-size:11px;
}
.rc-file-upload-page .rc-upload-member-upgrade-card__copy p{
  margin:0;
  color:#6f746f;
  font-size:10px;
  line-height:1.5;
}
.rc-file-upload-page .rc-upload-member-upgrade-card>a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  min-width:72px;
  height:30px;
  padding:0 11px;
  border-radius:5px;
  color:#fff;
  background:var(--rc-primary);
  font-size:10px;
  font-weight:700;
  text-decoration:none;
}
.rc-file-upload-page .rc-upload-member-upgrade-card>a:hover{
  filter:brightness(.96);
  color:#fff;
}
.rc-file-upload-page .rc-upload-step--files,
.rc-file-upload-page .rc-upload-step--files .rc-upload-step__body,
.rc-file-upload-page .rc-upload-dropzone--flow{
  width:100%;
  max-width:none;
  box-sizing:border-box;
}
.rc-file-upload-page .rc-upload-dropzone--flow{
  min-height:240px;
}
@media(max-width:680px){
  .rc-file-upload-page .rc-upload-top-note{
    grid-template-columns:28px minmax(0,1fr);
  }
  .rc-file-upload-page .rc-upload-top-note__toggle{
    grid-column:2;
    justify-self:start;
    padding:0;
  }
  .rc-file-upload-page .rc-upload-top-note__detail{
    grid-column:1 / -1;
  }
  .rc-file-upload-page .rc-upload-member-upgrade-card{
    align-items:flex-start;
    flex-wrap:wrap;
  }
  .rc-file-upload-page .rc-upload-member-upgrade-card>a{
    margin-left:42px;
  }
}
/* Upload workspace unified 2026-09-26 v6 */
.rc-file-upload-page .rc-upload-workspace{
  overflow:hidden;
  border:1px solid #dce5e1;
  border-radius:10px;
  background:#fff;
  box-shadow:0 4px 16px rgba(27,50,43,.05);
}
.rc-file-upload-page .rc-upload-workspace__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 16px;
  border-bottom:1px solid #e9efec;
  background:#fbfcfc;
}
.rc-file-upload-page .rc-upload-workspace__head h2{
  margin:0;
  color:var(--rc-text);
  font-size:15px;
  font-weight:700;
}
.rc-file-upload-page .rc-upload-workspace__head p{
  margin:3px 0 0;
  color:var(--rc-muted);
  font-size:10px;
}
.rc-file-upload-page .rc-upload-workspace__member{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  flex:0 0 auto;
  min-height:30px;
  padding:5px 11px;
  border:1px solid #e7ca91;
  border-radius:5px;
  color:#9a6718;
  background:#fff8e9;
  font-size:10px;
  font-weight:700;
  text-decoration:none;
}
.rc-file-upload-page .rc-upload-workspace__member:hover{
  border-color:#d7b16b;
  color:#81520d;
  background:#fff3d9;
}
.rc-file-upload-page .rc-upload-workspace__type{
  padding:14px 16px 12px;
}
.rc-file-upload-page .rc-upload-workspace__section-title{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:9px;
}
.rc-file-upload-page .rc-upload-workspace__section-title strong{
  color:var(--rc-text);
  font-size:12px;
}
.rc-file-upload-page .rc-upload-workspace__section-title span{
  color:var(--rc-muted);
  font-size:9px;
}
.rc-file-upload-page .rc-upload-workspace .rc-upload-type-cards--flow{
  grid-template-columns:repeat(5,minmax(100px,1fr));
}
.rc-file-upload-page .rc-upload-workspace__upload{
  padding:0 16px 14px;
}
.rc-file-upload-page .rc-upload-dropzone--workspace{
  box-sizing:border-box;
  width:100%;
  min-height:220px;
  margin:0;
  padding:28px 20px;
  border:1px dashed #b7ccc4;
  border-radius:8px;
  background:linear-gradient(180deg,#f9fcfb 0%,#f4f9f7 100%);
}
.rc-file-upload-page .rc-upload-dropzone--workspace:hover,
.rc-file-upload-page .rc-upload-dropzone--workspace.is-dragging{
  border-color:var(--rc-primary);
  background:#eef7f3;
}
.rc-file-upload-page .rc-upload-dropzone--workspace>strong{
  font-size:16px;
}
.rc-file-upload-page .rc-upload-dropzone--workspace>small{
  display:block;
  max-width:780px;
  margin:7px auto 0;
  color:#66756f;
  font-size:10px;
  line-height:1.55;
}
.rc-file-upload-page .rc-upload-dropzone--workspace .rc-upload-choose{
  min-width:132px;
  min-height:38px;
  margin-top:14px;
}
.rc-file-upload-page .rc-upload-workspace__tasks{
  border-top:1px solid #e9efec;
}
.rc-file-upload-page .rc-upload-workspace__task-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:11px 16px;
  background:#fbfcfc;
}
.rc-file-upload-page .rc-upload-workspace__task-head>div:first-child{
  min-width:0;
}
.rc-file-upload-page .rc-upload-workspace__task-head>div:first-child strong{
  display:block;
  color:var(--rc-text);
  font-size:12px;
}
.rc-file-upload-page .rc-upload-workspace__task-head>div:first-child span{
  display:block;
  margin-top:2px;
  color:var(--rc-muted);
  font-size:9px;
}
.rc-file-upload-page .rc-upload-workspace .rc-upload-task-tools{
  display:flex;
  align-items:center;
  gap:7px;
}
.rc-file-upload-page .rc-upload-workspace .rc-upload-task-tools .rc-upload-queue-count{
  padding:5px 10px;
  border-radius:13px;
  color:var(--rc-primary);
  background:#e7f2ee;
  font-size:10px;
  font-weight:700;
  white-space:nowrap;
}
.rc-file-upload-page .rc-upload-progress--workspace{
  min-height:118px;
  max-height:360px;
  padding:12px 14px 14px;
}
.rc-file-upload-page .rc-upload-progress--workspace #fileTips{
  display:flex;
  flex-direction:column;
  gap:7px;
}
.rc-file-upload-page .rc-upload-progress--workspace #fileTips:empty::before{
  display:none;
}
/* Previous multi-step blocks are no longer used by the page. */
.rc-file-upload-page .rc-upload-rule-grid,
.rc-file-upload-page .rc-upload-member-upgrade-card{
  display:none;
}

@media(max-width:760px){
  .rc-file-upload-page .rc-upload-workspace__head,
  .rc-file-upload-page .rc-upload-workspace__task-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .rc-file-upload-page .rc-upload-workspace__member{
    align-self:flex-end;
  }
  .rc-file-upload-page .rc-upload-workspace .rc-upload-type-cards--flow{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .rc-file-upload-page .rc-upload-workspace .rc-upload-task-tools{
    width:100%;
    flex-wrap:wrap;
  }
  .rc-file-upload-page .rc-upload-dropzone--workspace{
    min-height:190px;
    padding:22px 12px;
  }
}
/* Force upload workspace vertical flow 2026-09-26 v7 */
.rc-file-upload-page .rc-upload-workspace{
  display:block !important;
  grid-template-columns:none !important;
  grid-template-rows:none !important;
  width:100%;
}
.rc-file-upload-page .rc-upload-workspace__head,
.rc-file-upload-page .rc-upload-workspace__type,
.rc-file-upload-page .rc-upload-workspace__upload,
.rc-file-upload-page .rc-upload-workspace__tasks{
  display:block;
  width:100%;
  max-width:none;
  box-sizing:border-box;
}
.rc-file-upload-page .rc-upload-workspace__head{
  position:relative;
  padding-right:120px;
}
.rc-file-upload-page .rc-upload-workspace__member{
  position:absolute;
  top:14px;
  right:16px;
}
.rc-file-upload-page .rc-upload-workspace__type{
  border-bottom:1px solid #edf1ef;
}
.rc-file-upload-page .rc-upload-workspace__upload{
  padding-top:14px;
  border-bottom:1px solid #edf1ef;
}
.rc-file-upload-page .rc-upload-workspace__tasks{
  border-top:0;
}
.rc-file-upload-page .rc-upload-workspace__task-head{
  display:flex;
  width:100%;
  box-sizing:border-box;
}
@media(max-width:760px){
  .rc-file-upload-page .rc-upload-workspace__head{
    padding-right:16px;
  }
  .rc-file-upload-page .rc-upload-workspace__member{
    position:static;
    display:inline-flex;
    margin-top:10px;
  }
}
/* Upload task status spacing 2026-09-26 v8 */
.rc-file-upload-page .rc-upload-progress--workspace #fileTips li.rc-upload-item{
  grid-template-columns:42px minmax(0,1fr) minmax(96px,max-content);
  column-gap:14px;
  min-height:78px;
  padding:11px 14px;
}
.rc-file-upload-page .rc-upload-progress--workspace .rc-upload-item__body{
  min-width:0;
}
.rc-file-upload-page .rc-upload-progress--workspace .rc-upload-item__meta{
  display:grid;
  grid-template-columns:minmax(70px,auto) minmax(110px,max-content);
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.rc-file-upload-page .rc-upload-progress--workspace .rc-upload-item__size{
  min-width:0;
  white-space:nowrap;
}
.rc-file-upload-page .rc-upload-progress--workspace .rc-upload-item__status{
  min-width:110px;
  flex-shrink:0;
  text-align:right;
  white-space:nowrap;
  line-height:1.5;
}
.rc-file-upload-page .rc-upload-progress--workspace .rc-upload-item__actions{
  min-width:96px;
  justify-content:flex-end;
  flex-shrink:0;
  white-space:nowrap;
}
.rc-file-upload-page .rc-upload-progress--workspace .rc-upload-item__action{
  min-width:46px;
}
.rc-file-upload-page .rc-upload-workspace__task-head{
  flex-wrap:wrap;
}
.rc-file-upload-page .rc-upload-workspace .rc-upload-task-tools{
  flex:0 0 auto;
  min-width:max-content;
  margin-left:auto;
}
.rc-file-upload-page .rc-upload-workspace .rc-upload-task-tools .rc-upload-queue-count{
  min-width:88px;
  text-align:center;
  box-sizing:border-box;
}

@media(max-width:920px){
  .rc-file-upload-page .rc-upload-workspace__task-head{
    align-items:flex-start;
  }
  .rc-file-upload-page .rc-upload-workspace .rc-upload-task-tools{
    width:100%;
    min-width:0;
    margin-left:0;
    padding-top:4px;
    justify-content:flex-end;
  }
}
@media(max-width:680px){
  .rc-file-upload-page .rc-upload-progress--workspace #fileTips li.rc-upload-item{
    grid-template-columns:36px minmax(0,1fr);
    row-gap:8px;
  }
  .rc-file-upload-page .rc-upload-progress--workspace .rc-upload-item__meta{
    grid-template-columns:1fr;
    gap:3px;
  }
  .rc-file-upload-page .rc-upload-progress--workspace .rc-upload-item__status{
    min-width:0;
    text-align:left;
  }
  .rc-file-upload-page .rc-upload-progress--workspace .rc-upload-item__actions{
    grid-column:2;
    min-width:0;
    justify-content:flex-start;
  }
  .rc-file-upload-page .rc-upload-workspace .rc-upload-task-tools{
    justify-content:flex-start;
  }
  .rc-file-upload-page .rc-upload-workspace .rc-upload-task-tools .rc-upload-queue-count{
    order:-1;
    min-width:auto;
  }
}
/* Upload task item hard reset 2026-09-26 v9 */
.rc-file-upload-page .rc-upload-progress--workspace #fileTips li.rc-upload-item{
  display:grid !important;
  grid-template-columns:42px minmax(0,1fr) 118px 118px !important;
  align-items:center;
  gap:14px;
  min-height:76px;
  height:auto !important;
  padding:10px 14px;
  position:relative;
}
.rc-file-upload-page .rc-upload-progress--workspace #fileTips li.rc-upload-item p,
.rc-file-upload-page .rc-upload-progress--workspace #fileTips li.rc-upload-item span,
.rc-file-upload-page .rc-upload-progress--workspace #fileTips li.rc-upload-item i{
  position:static !important;
  top:auto !important;
  right:auto !important;
  bottom:auto !important;
  left:auto !important;
}
.rc-file-upload-page .rc-upload-progress--workspace #fileTips li.rc-upload-item span{
  width:auto !important;
  height:auto !important;
  background:none !important;
  cursor:default !important;
}
.rc-file-upload-page .rc-upload-progress--workspace #fileTips li.rc-upload-item.working span{
  height:auto !important;
  background:none !important;
}
.rc-file-upload-page .rc-upload-progress--workspace .rc-upload-item__icon{
  grid-column:1;
}
.rc-file-upload-page .rc-upload-progress--workspace .rc-upload-item__body{
  grid-column:2;
  min-width:0;
}
.rc-file-upload-page .rc-upload-progress--workspace #fileTips li.rc-upload-item .rc-upload-item__name{
  position:static !important;
  top:auto !important;
  right:auto !important;
  left:auto !important;
  width:100% !important;
  margin:0 !important;
  color:var(--rc-text) !important;
  font-size:12px !important;
  font-weight:700 !important;
  line-height:1.45;
}
.rc-file-upload-page .rc-upload-progress--workspace .rc-upload-item__size{
  display:block !important;
  margin-top:3px;
  color:#7b8983 !important;
  font-size:10px;
  line-height:1.4;
  white-space:nowrap;
}
.rc-file-upload-page .rc-upload-progress--workspace .rc-upload-item__track{
  width:100%;
  height:5px;
  margin-top:8px;
  overflow:hidden;
  border-radius:4px;
  background:#e4ece8;
}
.rc-file-upload-page .rc-upload-progress--workspace .rc-upload-item__track>span{
  display:block !important;
  width:0;
  height:100% !important;
  border-radius:inherit;
  background:var(--rc-primary) !important;
  transition:width .18s ease;
}
.rc-file-upload-page .rc-upload-progress--workspace #fileTips li.rc-upload-item.error .rc-upload-item__track>span{
  background:var(--rc-danger) !important;
}
.rc-file-upload-page .rc-upload-progress--workspace .rc-upload-item__status{
  grid-column:3;
  min-width:0;
  width:100%;
  box-sizing:border-box;
  padding:6px 8px;
  border-radius:5px;
  color:#66756f;
  background:#f2f6f4;
  font-size:10px;
  font-weight:700;
  line-height:1.45;
  text-align:center;
  white-space:normal;
  word-break:keep-all;
}
.rc-file-upload-page .rc-upload-progress--workspace li.success .rc-upload-item__status{
  color:#287259;
  background:#eaf6f0;
}
.rc-file-upload-page .rc-upload-progress--workspace li.error .rc-upload-item__status{
  color:#b4473e;
  background:#fdecea;
}
.rc-file-upload-page .rc-upload-progress--workspace .rc-upload-item__actions{
  grid-column:4;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  min-width:0;
  white-space:nowrap;
}
.rc-file-upload-page .rc-upload-progress--workspace .rc-upload-item__action{
  min-width:50px;
  height:30px;
  padding:0 9px;
  line-height:28px;
}
@media(max-width:920px){
  .rc-file-upload-page .rc-upload-progress--workspace #fileTips li.rc-upload-item{
    grid-template-columns:38px minmax(0,1fr) 108px !important;
  }
  .rc-file-upload-page .rc-upload-progress--workspace .rc-upload-item__status{
    grid-column:3;
  }
  .rc-file-upload-page .rc-upload-progress--workspace .rc-upload-item__actions{
    grid-column:2 / 4;
    justify-content:flex-end;
    margin-top:2px;
  }
}
@media(max-width:680px){
  .rc-file-upload-page .rc-upload-progress--workspace #fileTips li.rc-upload-item{
    grid-template-columns:36px minmax(0,1fr) !important;
    gap:9px 10px;
  }
  .rc-file-upload-page .rc-upload-progress--workspace .rc-upload-item__status{
    grid-column:2;
    justify-self:start;
    width:auto;
    min-width:96px;
    text-align:left;
  }
  .rc-file-upload-page .rc-upload-progress--workspace .rc-upload-item__actions{
    grid-column:2;
    justify-content:flex-start;
    margin-top:0;
  }
}
/* Compact upload workspace header 2026-09-26 v10 */
.rc-file-upload-page .rc-upload-workspace__head{
  min-height:0;
  padding:8px 14px !important;
  padding-right:112px !important;
}
.rc-file-upload-page .rc-upload-workspace__head h2{
  font-size:13px;
  line-height:1.35;
}
.rc-file-upload-page .rc-upload-workspace__head p{
  margin-top:1px;
  font-size:9px;
  line-height:1.35;
}
.rc-file-upload-page .rc-upload-workspace__member{
  top:8px !important;
  right:14px !important;
  min-height:26px;
  padding:3px 9px;
  font-size:9px;
  line-height:18px;
}
@media(max-width:760px){
  .rc-file-upload-page .rc-upload-workspace__head{
    padding:8px 14px !important;
  }
  .rc-file-upload-page .rc-upload-workspace__member{
    position:static;
    margin-top:6px;
  }
}
/* Dashboard primary device binding CTA 2026-09-26 v11 */
.rc-dashboard-page .rc-workbench__tools{
  align-items:flex-end;
}
.rc-dashboard-page .rc-dashboard-bind{
  display:flex;
  align-items:flex-end;
  flex-direction:column;
  gap:4px;
}
.rc-dashboard-page .rc-dashboard-bind__hint{
  color:#7b8782;
  font-size:10px;
  line-height:1.2;
  white-space:nowrap;
}
.rc-dashboard-page .rc-dashboard-bind__button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:38px;
  box-sizing:border-box;
  padding:8px 15px;
  border:1px solid var(--rc-primary);
  border-radius:5px;
  color:#fff !important;
  background:var(--rc-primary);
  box-shadow:0 5px 13px rgba(7,93,78,.18);
  font-size:12px;
  font-weight:700;
  line-height:20px;
  white-space:nowrap;
  transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.rc-dashboard-page .rc-dashboard-bind__button:hover,
.rc-dashboard-page .rc-dashboard-bind__button:focus{
  color:#fff !important;
  background:var(--rc-primary-hover);
  border-color:var(--rc-primary-hover);
  box-shadow:0 7px 17px rgba(7,93,78,.24);
  transform:translateY(-1px);
}
.rc-dashboard-page .rc-dashboard-bind__button i{
  padding:0;
}
.rc-dashboard-page .rc-dashboard-bind__button i:first-child{
  color:#f0c96d;
  font-size:13px;
}
.rc-dashboard-page .rc-quick__item{
  grid-template-columns:minmax(0,1fr) 22px;
}
@media(max-width:760px){
  .rc-dashboard-page .rc-workbench__tools{
    align-items:flex-start;
    flex-wrap:wrap;
  }
  .rc-dashboard-page .rc-dashboard-bind{
    align-items:flex-start;
  }
}
@media(max-width:520px){
  .rc-dashboard-page .rc-workbench__tools{
    display:flex;
    width:100%;
  }
  .rc-dashboard-page .rc-dashboard-bind{
    width:100%;
  }
  .rc-dashboard-page .rc-dashboard-bind__button{
    width:100%;
  }
  .rc-dashboard-page .rc-dashboard-bind__hint{
    white-space:normal;
  }
  .rc-dashboard-page .rc-quick__item{
    grid-template-columns:minmax(0,1fr) 22px;
  }
  .rc-dashboard-page .rc-quick__arrow{
    display:inline-flex;
  }
}
/* Dashboard storage purchase CTA 2026-09-26 v12 */
.rc-dashboard-page .rc-metric--storage-purchase{
  display:block;
  padding:0;
}
.rc-dashboard-page .rc-metric--storage-purchase:hover,
.rc-dashboard-page .rc-metric--storage-purchase:focus{
  color:var(--rc-text);
}
.rc-dashboard-page .rc-metric--storage-purchase .rc-metric__main-link{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
  min-height:116px;
  box-sizing:border-box;
  padding:18px 18px 38px;
  color:var(--rc-text);
}
.rc-dashboard-page .rc-metric--storage-purchase .rc-metric__main-link:hover,
.rc-dashboard-page .rc-metric--storage-purchase .rc-metric__main-link:focus{
  color:var(--rc-text);
}
.rc-dashboard-page .rc-metric__purchase{
  position:absolute;
  right:14px;
  bottom:10px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-height:25px;
  box-sizing:border-box;
  padding:3px 8px;
  border:1px solid rgba(47,126,166,.24);
  border-radius:4px;
  color:var(--rc-accent) !important;
  background:#f1f7fa;
  font-size:9px;
  font-weight:700;
  line-height:17px;
  white-space:nowrap;
}
.rc-dashboard-page .rc-metric__purchase:hover,
.rc-dashboard-page .rc-metric__purchase:focus{
  border-color:var(--rc-accent);
  color:#fff !important;
  background:var(--rc-accent);
}
.rc-dashboard-page .rc-metric__purchase i{
  padding:0;
  font-size:10px;
}
@media(max-width:520px){
  .rc-dashboard-page .rc-metric--storage-purchase .rc-metric__main-link{
    padding-right:18px;
    padding-bottom:42px;
  }
  .rc-dashboard-page .rc-metric__purchase{
    right:12px;
    bottom:9px;
  }
}
/* Dashboard online bind CTA 2026-09-26 v13 */
.rc-dashboard-page .rc-metric--online-bind{
  display:block;
  padding:0;
}
.rc-dashboard-page .rc-metric--online-bind .rc-metric__main-link{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
  min-height:116px;
  box-sizing:border-box;
  padding:18px 18px 38px;
  color:var(--rc-text);
}
.rc-dashboard-page .rc-metric--online-bind .rc-metric__main-link:hover,
.rc-dashboard-page .rc-metric--online-bind .rc-metric__main-link:focus{
  color:var(--rc-text);
}
.rc-dashboard-page .rc-metric__purchase--bind{
  border-color:rgba(76,150,119,.26);
  color:#347a5c !important;
  background:#eef7f3;
}
.rc-dashboard-page .rc-metric__purchase--bind:hover,
.rc-dashboard-page .rc-metric__purchase--bind:focus{
  border-color:#4c9677;
  color:#fff !important;
  background:#4c9677;
}
@media(max-width:520px){
  .rc-dashboard-page .rc-metric--online-bind .rc-metric__main-link{
    padding-right:18px;
    padding-bottom:42px;
  }
}
/* Device category subtle actions 2026-09-26 v14 */
.rc-device-page .rc-device-list .rc-device-category-actions .rc-category-action--subtle{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:5px !important;
  min-width:72px !important;
  min-height:32px !important;
  box-sizing:border-box !important;
  margin:0 !important;
  padding:5px 11px !important;
  border:1px solid #d7e0dd !important;
  border-radius:4px !important;
  color:#53635d !important;
  background:#fff !important;
  box-shadow:none !important;
  font-size:12px !important;
  font-weight:500 !important;
  line-height:20px !important;
  text-shadow:none !important;
  text-decoration:none !important;
  filter:none !important;
}
.rc-device-page .rc-device-list .rc-device-category-actions .rc-category-action--subtle > i{
  color:#64736e !important;
  filter:none !important;
  text-shadow:none !important;
}
.rc-device-page .rc-device-list .rc-device-category-actions .rc-category-action--subtle:hover,
.rc-device-page .rc-device-list .rc-device-category-actions .rc-category-action--subtle:focus{
  border-color:#b8ccc5 !important;
  color:var(--rc-primary) !important;
  background:#f3f8f6 !important;
  box-shadow:none !important;
  filter:none !important;
  outline:0 !important;
}
.rc-device-page .rc-device-list .rc-device-category-actions .rc-category-action--subtle:hover > i,
.rc-device-page .rc-device-list .rc-device-category-actions .rc-category-action--subtle:focus > i{
  color:var(--rc-primary) !important;
}
/* Device category extra-subtle actions 2026-09-26 v15 */
.rc-device-page .rc-device-list .rc-device-category-actions .rc-category-action--subtle{
  min-width:68px !important;
  min-height:30px !important;
  padding:4px 10px !important;
  border-color:#e2e8e5 !important;
  color:#66736e !important;
  background:#f8faf9 !important;
  font-size:11px !important;
  font-weight:500 !important;
}
.rc-device-page .rc-device-list .rc-device-category-actions .rc-category-action--subtle > i{
  color:#7b8782 !important;
}
.rc-device-page .rc-device-list .rc-device-category-actions .rc-category-action--subtle:hover,
.rc-device-page .rc-device-list .rc-device-category-actions .rc-category-action--subtle:focus{
  border-color:#c8d8d2 !important;
  color:#3f6257 !important;
  background:#f1f6f4 !important;
}
.rc-device-page .rc-device-list .rc-device-category-actions .rc-category-action--subtle:hover > i,
.rc-device-page .rc-device-list .rc-device-category-actions .rc-category-action--subtle:focus > i{
  color:#507066 !important;
}
/* Device group manager panel 2026-09-26 v16 */
.rc-device-page .rc-device-groups .rc-device-group-shell{
  display:block !important;
  min-height:0 !important;
  padding:0 !important;
}
.rc-device-page .rc-device-group-bar{
  display:flex;
  align-items:flex-start;
  gap:12px;
  width:100%;
}
.rc-device-page .rc-device-group-picker{
  flex:1 1 auto;
  min-width:0;
}
.rc-device-page .rc-device-group-picker__inner{
  display:flex !important;
  align-items:flex-start !important;
  gap:14px;
  width:100%;
}
.rc-device-page .rc-device-group-title{
  flex:0 0 auto;
  min-width:72px;
  padding-top:7px;
  color:#43534e;
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
}
.rc-device-page .rc-device-group-tabs-wrap{
  flex:1 1 auto;
  min-width:0;
}
.rc-device-page .rc-device-group-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  min-width:0;
}
.rc-device-page .rc-device-group-tabs .zzz_wrap{
  float:none !important;
  margin:0 !important;
}
.rc-device-page .rc-device-group-manage-toggle{
  flex:0 0 auto;
  min-width:90px;
  min-height:32px;
  margin:0 !important;
  padding:5px 11px;
  color:#53635d;
  background:#fff;
  border-color:#d6dfdc;
}
.rc-device-page .rc-device-group-manage-toggle:hover,
.rc-device-page .rc-device-group-manage-toggle:focus,
.rc-device-page .rc-device-group-manage-toggle.is-active{
  color:var(--rc-primary);
  background:#f2f7f5;
  border-color:#b9cec6;
}
.rc-device-page .rc-device-group-manage-toggle > i{
  color:inherit !important;
  filter:none !important;
}

.rc-device-page .rc-device-group-manager{
  margin-top:12px;
  overflow:hidden;
  border:1px solid #dce5e1;
  border-radius:7px;
  background:#fff;
}
.rc-device-page .rc-device-group-manager__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:12px 14px;
  border-bottom:1px solid #e8eeeb;
  background:#f8faf9;
}
.rc-device-page .rc-device-group-manager__head strong{
  display:block;
  color:#25322e;
  font-size:13px;
  line-height:1.45;
}
.rc-device-page .rc-device-group-manager__head span{
  display:block;
  margin-top:2px;
  color:#7a8782;
  font-size:10px;
  line-height:1.5;
}
.rc-device-page .rc-device-group-manager__close{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 28px;
  width:28px;
  height:28px;
  padding:0;
  border:1px solid transparent;
  border-radius:4px;
  color:#7b8782;
  background:transparent;
}
.rc-device-page .rc-device-group-manager__close:hover{
  color:#42514c;
  background:#eef3f1;
  border-color:#dce5e1;
}

.rc-device-page .rc-device-group-create{
  display:grid;
  grid-template-columns:minmax(260px,420px) auto minmax(140px,1fr);
  align-items:end;
  gap:8px 10px;
  padding:13px 14px;
  border-bottom:1px solid #edf1ef;
}
.rc-device-page .rc-device-group-create__field{
  display:flex;
  min-width:0;
  flex-direction:column;
  gap:5px;
}
.rc-device-page .rc-device-group-create__field label{
  margin:0;
  color:#4d5c57;
  font-size:11px;
  font-weight:600;
}
.rc-device-page .rc-device-group-create__field input,
.rc-device-page .rc-device-group-row__edit input{
  box-sizing:border-box;
  width:100%;
  height:34px;
  margin:0;
  padding:6px 9px;
  color:#26332f;
  background:#fff;
  border:1px solid #cfd9d5;
  border-radius:4px;
  box-shadow:none;
  font-size:12px;
}
.rc-device-page .rc-device-group-create__field input:focus,
.rc-device-page .rc-device-group-row__edit input:focus{
  border-color:var(--rc-primary);
  outline:0;
  box-shadow:0 0 0 2px rgba(7,93,78,.08);
}
.rc-device-page .rc-device-group-create > .rc-btn{
  min-height:34px;
  padding:6px 12px;
}
.rc-device-page .rc-device-group-error,
.rc-device-page .rc-device-group-row__error{
  min-height:18px;
  color:#b84b43;
  font-size:10px;
  line-height:18px;
}

.rc-device-page .rc-device-group-list{
  padding:0 14px 6px;
}
.rc-device-page .rc-device-group-row{
  border-bottom:1px solid #edf1ef;
}
.rc-device-page .rc-device-group-row:last-child{
  border-bottom:0;
}
.rc-device-page .rc-device-group-row__view{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:58px;
  padding:8px 0;
}
.rc-device-page .rc-device-group-row__identity{
  display:flex;
  align-items:center;
  min-width:0;
  gap:10px;
}
.rc-device-page .rc-device-group-row__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 32px;
  width:32px;
  height:32px;
  border-radius:5px;
  color:var(--rc-primary);
  background:#edf5f2;
}
.rc-device-page .rc-device-group-row__identity > div{
  min-width:0;
}
.rc-device-page .rc-device-group-row__name{
  display:block;
  overflow:hidden;
  color:#26332f;
  font-size:12px;
  font-weight:600;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.rc-device-page .rc-device-group-row__identity > div > span{
  display:block;
  margin-top:2px;
  color:#87928e;
  font-size:10px;
}
.rc-device-page .rc-device-group-row__actions,
.rc-device-page .rc-device-group-row__edit-actions{
  display:flex;
  align-items:center;
  gap:6px;
  flex:0 0 auto;
}
.rc-device-page .rc-device-group-row__actions .rc-btn,
.rc-device-page .rc-device-group-row__edit-actions .rc-btn{
  min-width:58px;
  min-height:28px;
  padding:4px 8px;
  font-size:10px;
}
.rc-device-page .rc-btn--danger-ghost{
  color:#b34b43;
  background:#fff;
  border-color:#ebcfcc;
}
.rc-device-page .rc-btn--danger-ghost > i{
  color:#b34b43 !important;
  filter:none !important;
}
.rc-device-page .rc-btn--danger-ghost:hover,
.rc-device-page .rc-btn--danger-ghost:focus{
  color:#9e3f38;
  background:#fff4f3;
  border-color:#dda9a4;
}
.rc-device-page .rc-device-group-row__edit{
  display:none;
  grid-template-columns:minmax(220px,420px) minmax(120px,1fr) auto;
  align-items:center;
  gap:8px 10px;
  min-height:58px;
  padding:8px 0;
}
.rc-device-page .rc-device-group-row.is-editing .rc-device-group-row__view{
  display:none;
}
.rc-device-page .rc-device-group-row.is-editing .rc-device-group-row__edit{
  display:grid;
}
.rc-device-page .rc-device-group-empty{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:96px;
  color:#84908b;
  text-align:left;
}
.rc-device-page .rc-device-group-empty > i{
  font-size:22px;
  color:#9aa49f;
}
.rc-device-page .rc-device-group-empty strong{
  display:block;
  color:#64716c;
  font-size:11px;
}
.rc-device-page .rc-device-group-empty span{
  display:block;
  margin-top:2px;
  font-size:10px;
}

@media(max-width:900px){
  .rc-device-page .rc-device-group-bar{
    align-items:stretch;
    flex-direction:column;
  }
  .rc-device-page .rc-device-group-manage-toggle{
    align-self:flex-start;
  }
  .rc-device-page .rc-device-group-create{
    grid-template-columns:minmax(0,1fr) auto;
  }
  .rc-device-page .rc-device-group-error{
    grid-column:1/-1;
  }
  .rc-device-page .rc-device-group-row__edit{
    grid-template-columns:minmax(0,1fr) auto;
  }
  .rc-device-page .rc-device-group-row__error{
    grid-column:1/-1;
    order:3;
  }
}
@media(max-width:620px){
  .rc-device-page .rc-device-group-picker__inner{
    flex-direction:column;
    gap:7px;
  }
  .rc-device-page .rc-device-group-title{
    min-width:0;
    padding-top:0;
  }
  .rc-device-page .rc-device-group-create{
    grid-template-columns:1fr;
  }
  .rc-device-page .rc-device-group-create > .rc-btn{
    justify-self:start;
  }
  .rc-device-page .rc-device-group-row__view{
    align-items:flex-start;
    flex-direction:column;
  }
  .rc-device-page .rc-device-group-row__actions{
    width:100%;
    justify-content:flex-end;
  }
  .rc-device-page .rc-device-group-row__edit{
    grid-template-columns:1fr;
  }
  .rc-device-page .rc-device-group-row__edit-actions{
    justify-content:flex-start;
  }
}
/* Device group modal 2026-09-26 v17 */
body.rc-modal-open{
  overflow:hidden !important;
}
.rc-device-page .rc-device-group-modal{
  position:fixed !important;
  inset:0 !important;
  z-index:9999 !important;
  margin:0 !important;
  padding:0 !important;
  background:rgba(18,31,27,.42);
}
.rc-device-page .rc-device-group-modal .rc-device-group-manager{
  position:absolute;
  top:50%;
  left:50%;
  width:min(760px,calc(100vw - 40px));
  max-height:calc(100vh - 70px);
  margin:0 !important;
  overflow:hidden;
  transform:translate(-50%,-50%);
  border:1px solid #d8e1de;
  border-radius:9px;
  background:#fff;
  box-shadow:0 22px 60px rgba(16,35,29,.24);
}
.rc-device-page .rc-device-group-modal .rc-device-group-manager__head{
  padding:14px 16px;
}
.rc-device-page .rc-device-group-modal .rc-device-group-create{
  padding:14px 16px;
}
.rc-device-page .rc-device-group-modal .rc-device-group-list{
  max-height:calc(100vh - 270px);
  overflow-y:auto;
  padding:0 16px 8px;
}
.rc-device-page .rc-device-group-modal .rc-device-group-row__view{
  min-height:60px;
}
.rc-device-page .rc-device-group-modal .rc-device-group-manager__close{
  cursor:pointer;
}
@media(max-width:620px){
  .rc-device-page .rc-device-group-modal .rc-device-group-manager{
    width:calc(100vw - 24px);
    max-height:calc(100vh - 24px);
  }
  .rc-device-page .rc-device-group-modal .rc-device-group-list{
    max-height:calc(100vh - 310px);
  }
}
/* Resource group modal and confirm stacking 2026-09-26 v18 */
.rc-confirm{
  z-index:12000 !important;
}

.rc-file-page .rc-resource-groups .rc-resource-group-shell{
  display:block !important;
  min-height:0 !important;
  padding:10px 12px !important;
}
.rc-file-page .rc-resource-group-bar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  width:100%;
}
.rc-file-page .rc-resource-group-picker{
  display:flex;
  align-items:flex-start;
  flex:1 1 auto;
  min-width:0;
  gap:14px;
}
.rc-file-page .rc-resource-group-title{
  flex:0 0 auto;
  min-width:72px;
  padding-top:7px;
  color:#43534e;
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
}
.rc-file-page .rc-resource-group-tabs{
  display:flex;
  flex:1 1 auto;
  flex-wrap:wrap;
  gap:7px;
  min-width:0;
}
.rc-file-page .rc-resource-group-tabs .zzz_wrap{
  float:none !important;
  margin:0 !important;
}
.rc-file-page .rc-resource-group-manage-toggle{
  flex:0 0 auto;
  min-width:90px;
  min-height:32px;
  margin:0 !important;
  padding:5px 11px;
  color:#53635d;
  background:#fff;
  border-color:#d6dfdc;
}
.rc-file-page .rc-resource-group-manage-toggle:hover,
.rc-file-page .rc-resource-group-manage-toggle:focus,
.rc-file-page .rc-resource-group-manage-toggle.is-active{
  color:var(--rc-primary);
  background:#f2f7f5;
  border-color:#b9cec6;
}
.rc-file-page .rc-resource-group-manage-toggle > i{
  color:inherit !important;
  filter:none !important;
}

.rc-file-page .rc-resource-group-modal{
  position:fixed !important;
  inset:0 !important;
  z-index:9999 !important;
  margin:0 !important;
  padding:0 !important;
  background:rgba(18,31,27,.42);
}
.rc-file-page .rc-resource-group-manager{
  position:absolute;
  top:50%;
  left:50%;
  width:min(760px,calc(100vw - 40px));
  max-height:calc(100vh - 70px);
  margin:0 !important;
  overflow:hidden;
  transform:translate(-50%,-50%);
  border:1px solid #d8e1de;
  border-radius:9px;
  background:#fff;
  box-shadow:0 22px 60px rgba(16,35,29,.24);
}
.rc-file-page .rc-resource-group-manager__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:14px 16px;
  border-bottom:1px solid #e8eeeb;
  background:#f8faf9;
}
.rc-file-page .rc-resource-group-manager__head strong{
  display:block;
  color:#25322e;
  font-size:13px;
  line-height:1.45;
}
.rc-file-page .rc-resource-group-manager__head span{
  display:block;
  margin-top:2px;
  color:#7a8782;
  font-size:10px;
  line-height:1.5;
}
.rc-file-page .rc-resource-group-manager__close{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 28px;
  width:28px;
  height:28px;
  padding:0;
  border:1px solid transparent;
  border-radius:4px;
  color:#7b8782;
  background:transparent;
  cursor:pointer;
}
.rc-file-page .rc-resource-group-manager__close:hover{
  color:#42514c;
  background:#eef3f1;
  border-color:#dce5e1;
}

.rc-file-page .rc-resource-group-create{
  display:grid;
  grid-template-columns:minmax(260px,420px) auto minmax(140px,1fr);
  align-items:end;
  gap:8px 10px;
  padding:14px 16px;
  border-bottom:1px solid #edf1ef;
}
.rc-file-page .rc-resource-group-create__field{
  display:flex;
  min-width:0;
  flex-direction:column;
  gap:5px;
}
.rc-file-page .rc-resource-group-create__field label{
  margin:0;
  color:#4d5c57;
  font-size:11px;
  font-weight:600;
}
.rc-file-page .rc-resource-group-create__field input,
.rc-file-page .rc-resource-group-row__edit input{
  box-sizing:border-box;
  width:100%;
  height:34px;
  margin:0;
  padding:6px 9px;
  color:#26332f;
  background:#fff;
  border:1px solid #cfd9d5;
  border-radius:4px;
  box-shadow:none;
  font-size:12px;
}
.rc-file-page .rc-resource-group-create__field input:focus,
.rc-file-page .rc-resource-group-row__edit input:focus{
  border-color:var(--rc-primary);
  outline:0;
  box-shadow:0 0 0 2px rgba(7,93,78,.08);
}
.rc-file-page .rc-resource-group-create > .rc-btn{
  min-height:34px;
  padding:6px 12px;
}
.rc-file-page .rc-resource-group-error,
.rc-file-page .rc-resource-group-row__error{
  min-height:18px;
  color:#b84b43;
  font-size:10px;
  line-height:18px;
}

.rc-file-page .rc-resource-group-list{
  max-height:calc(100vh - 270px);
  overflow-y:auto;
  padding:0 16px 8px;
}
.rc-file-page .rc-resource-group-row{
  border-bottom:1px solid #edf1ef;
}
.rc-file-page .rc-resource-group-row:last-child{
  border-bottom:0;
}
.rc-file-page .rc-resource-group-row__view{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:60px;
  padding:8px 0;
}
.rc-file-page .rc-resource-group-row__identity{
  display:flex;
  align-items:center;
  min-width:0;
  gap:10px;
}
.rc-file-page .rc-resource-group-row__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 32px;
  width:32px;
  height:32px;
  border-radius:5px;
  color:var(--rc-primary);
  background:#edf5f2;
}
.rc-file-page .rc-resource-group-row__identity > div{
  min-width:0;
}
.rc-file-page .rc-resource-group-row__name{
  display:block;
  overflow:hidden;
  color:#26332f;
  font-size:12px;
  font-weight:600;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.rc-file-page .rc-resource-group-row__identity > div > span{
  display:block;
  margin-top:2px;
  color:#87928e;
  font-size:10px;
}
.rc-file-page .rc-resource-group-row__actions,
.rc-file-page .rc-resource-group-row__edit-actions{
  display:flex;
  align-items:center;
  gap:6px;
  flex:0 0 auto;
}
.rc-file-page .rc-resource-group-row__actions .rc-btn,
.rc-file-page .rc-resource-group-row__edit-actions .rc-btn{
  min-width:58px;
  min-height:28px;
  padding:4px 8px;
  font-size:10px;
}
.rc-file-page .rc-btn--danger-ghost{
  color:#b34b43;
  background:#fff;
  border-color:#ebcfcc;
}
.rc-file-page .rc-btn--danger-ghost > i{
  color:#b34b43 !important;
  filter:none !important;
}
.rc-file-page .rc-btn--danger-ghost:hover,
.rc-file-page .rc-btn--danger-ghost:focus{
  color:#9e3f38;
  background:#fff4f3;
  border-color:#dda9a4;
}
.rc-file-page .rc-resource-group-row__edit{
  display:none;
  grid-template-columns:minmax(220px,420px) minmax(120px,1fr) auto;
  align-items:center;
  gap:8px 10px;
  min-height:58px;
  padding:8px 0;
}
.rc-file-page .rc-resource-group-row.is-editing .rc-resource-group-row__view{
  display:none;
}
.rc-file-page .rc-resource-group-row.is-editing .rc-resource-group-row__edit{
  display:grid;
}
.rc-file-page .rc-resource-group-empty{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:96px;
  color:#84908b;
  text-align:left;
}
.rc-file-page .rc-resource-group-empty > i{
  font-size:22px;
  color:#9aa49f;
}
.rc-file-page .rc-resource-group-empty strong{
  display:block;
  color:#64716c;
  font-size:11px;
}
.rc-file-page .rc-resource-group-empty span{
  display:block;
  margin-top:2px;
  font-size:10px;
}

@media(max-width:900px){
  .rc-file-page .rc-resource-group-bar{
    align-items:stretch;
    flex-direction:column;
  }
  .rc-file-page .rc-resource-group-manage-toggle{
    align-self:flex-start;
  }
  .rc-file-page .rc-resource-group-create{
    grid-template-columns:minmax(0,1fr) auto;
  }
  .rc-file-page .rc-resource-group-error{
    grid-column:1/-1;
  }
  .rc-file-page .rc-resource-group-row__edit{
    grid-template-columns:minmax(0,1fr) auto;
  }
  .rc-file-page .rc-resource-group-row__error{
    grid-column:1/-1;
    order:3;
  }
}
@media(max-width:620px){
  .rc-file-page .rc-resource-group-picker{
    flex-direction:column;
    gap:7px;
  }
  .rc-file-page .rc-resource-group-title{
    min-width:0;
    padding-top:0;
  }
  .rc-file-page .rc-resource-group-manager{
    width:calc(100vw - 24px);
    max-height:calc(100vh - 24px);
  }
  .rc-file-page .rc-resource-group-create{
    grid-template-columns:1fr;
  }
  .rc-file-page .rc-resource-group-create > .rc-btn{
    justify-self:start;
  }
  .rc-file-page .rc-resource-group-list{
    max-height:calc(100vh - 310px);
  }
  .rc-file-page .rc-resource-group-row__view{
    align-items:flex-start;
    flex-direction:column;
  }
  .rc-file-page .rc-resource-group-row__actions{
    width:100%;
    justify-content:flex-end;
  }
  .rc-file-page .rc-resource-group-row__edit{
    grid-template-columns:1fr;
  }
  .rc-file-page .rc-resource-group-row__edit-actions{
    justify-content:flex-start;
  }
}
/* File edit resource group modal 2026-09-26 v20 */
.rc-file-edit-page .rc-file-edit-category-row{
  display:flex !important;
  min-height:118px !important;
  height:auto !important;
  width:100%;
}
.rc-file-edit-page .rc-file-edit-category-label{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 20%;
  width:20% !important;
  min-height:118px;
  box-sizing:border-box;
  color:#43534e;
  font-weight:600;
  line-height:1.5 !important;
  border-right:1px solid var(--rc-border);
}
.rc-file-edit-page .rc-file-edit-group-content{
  flex:1 1 auto;
  width:auto !important;
  min-width:0;
  min-height:118px;
  box-sizing:border-box;
  padding:16px 18px;
}
.rc-file-edit-page .rc-file-edit-group-content .rc-resource-group-tabs{
  align-items:flex-start;
}
.rc-file-edit-page .rc-file-edit-group-content .rc-resource-group-tabs .bip{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  box-sizing:border-box;
  padding:5px 11px;
  color:var(--rc-muted);
  background:#f4f7f6;
  border:1px solid #dce5e2;
  border-radius:4px;
  line-height:20px;
}
.rc-file-edit-page .rc-file-edit-group-content .rc-resource-group-tabs .det_bg{
  color:var(--rc-primary);
  background:#eaf4f1;
  border-color:#c9ddd6;
}
@media(max-width:620px){
  .rc-file-edit-page .rc-file-edit-category-row{
    flex-direction:column;
  }
  .rc-file-edit-page .rc-file-edit-category-label{
    justify-content:flex-start;
    width:100% !important;
    min-height:auto;
    padding:10px 14px 4px;
    border-right:0;
  }
  .rc-file-edit-page .rc-file-edit-group-content{
    width:100% !important;
    min-height:0;
    padding:8px 14px 14px;
  }
}
.rc-file-edit-page .rc-resource-groups .rc-resource-group-shell{
  display:block !important;
  min-height:0 !important;
  padding:10px 12px !important;
}
.rc-file-edit-page .rc-resource-group-bar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  width:100%;
}
.rc-file-edit-page .rc-resource-group-picker{
  display:flex;
  align-items:flex-start;
  flex:1 1 auto;
  min-width:0;
  gap:14px;
}
.rc-file-edit-page .rc-resource-group-title{
  flex:0 0 auto;
  min-width:72px;
  padding-top:7px;
  color:#43534e;
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
}
.rc-file-edit-page .rc-resource-group-tabs{
  display:flex;
  flex:1 1 auto;
  flex-wrap:wrap;
  gap:7px;
  min-width:0;
}
.rc-file-edit-page .rc-resource-group-tabs .zzz_wrap{
  float:none !important;
  margin:0 !important;
}
.rc-file-edit-page .rc-resource-group-manage-toggle{
  flex:0 0 auto;
  min-width:90px;
  min-height:32px;
  margin:0 !important;
  padding:5px 11px;
  color:#53635d;
  background:#fff;
  border-color:#d6dfdc;
}
.rc-file-edit-page .rc-resource-group-manage-toggle:hover,
.rc-file-edit-page .rc-resource-group-manage-toggle:focus,
.rc-file-edit-page .rc-resource-group-manage-toggle.is-active{
  color:var(--rc-primary);
  background:#f2f7f5;
  border-color:#b9cec6;
}
.rc-file-edit-page .rc-resource-group-manage-toggle > i{
  color:inherit !important;
  filter:none !important;
}

.rc-file-edit-page .rc-resource-group-modal{
  position:fixed !important;
  inset:0 !important;
  z-index:9999 !important;
  margin:0 !important;
  padding:0 !important;
  background:rgba(18,31,27,.42);
}
.rc-file-edit-page .rc-resource-group-manager{
  position:absolute;
  top:50%;
  left:50%;
  width:min(760px,calc(100vw - 40px));
  max-height:calc(100vh - 70px);
  margin:0 !important;
  overflow:hidden;
  transform:translate(-50%,-50%);
  border:1px solid #d8e1de;
  border-radius:9px;
  background:#fff;
  box-shadow:0 22px 60px rgba(16,35,29,.24);
}
.rc-file-edit-page .rc-resource-group-manager__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:14px 16px;
  border-bottom:1px solid #e8eeeb;
  background:#f8faf9;
}
.rc-file-edit-page .rc-resource-group-manager__head strong{
  display:block;
  color:#25322e;
  font-size:13px;
  line-height:1.45;
}
.rc-file-edit-page .rc-resource-group-manager__head span{
  display:block;
  margin-top:2px;
  color:#7a8782;
  font-size:10px;
  line-height:1.5;
}
.rc-file-edit-page .rc-resource-group-manager__close{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 28px;
  width:28px;
  height:28px;
  padding:0;
  border:1px solid transparent;
  border-radius:4px;
  color:#7b8782;
  background:transparent;
  cursor:pointer;
}
.rc-file-edit-page .rc-resource-group-manager__close:hover{
  color:#42514c;
  background:#eef3f1;
  border-color:#dce5e1;
}

.rc-file-edit-page .rc-resource-group-create{
  display:grid;
  grid-template-columns:minmax(260px,420px) auto minmax(140px,1fr);
  align-items:end;
  gap:8px 10px;
  padding:14px 16px;
  border-bottom:1px solid #edf1ef;
}
.rc-file-edit-page .rc-resource-group-create__field{
  display:flex;
  min-width:0;
  flex-direction:column;
  gap:5px;
}
.rc-file-edit-page .rc-resource-group-create__field label{
  margin:0;
  color:#4d5c57;
  font-size:11px;
  font-weight:600;
}
.rc-file-edit-page .rc-resource-group-create__field input,
.rc-file-edit-page .rc-resource-group-row__edit input{
  box-sizing:border-box;
  width:100%;
  height:34px;
  margin:0;
  padding:6px 9px;
  color:#26332f;
  background:#fff;
  border:1px solid #cfd9d5;
  border-radius:4px;
  box-shadow:none;
  font-size:12px;
}
.rc-file-edit-page .rc-resource-group-create__field input:focus,
.rc-file-edit-page .rc-resource-group-row__edit input:focus{
  border-color:var(--rc-primary);
  outline:0;
  box-shadow:0 0 0 2px rgba(7,93,78,.08);
}
.rc-file-edit-page .rc-resource-group-create > .rc-btn{
  min-height:34px;
  padding:6px 12px;
}
.rc-file-edit-page .rc-resource-group-error,
.rc-file-edit-page .rc-resource-group-row__error{
  min-height:18px;
  color:#b84b43;
  font-size:10px;
  line-height:18px;
}

.rc-file-edit-page .rc-resource-group-list{
  max-height:calc(100vh - 270px);
  overflow-y:auto;
  padding:0 16px 8px;
}
.rc-file-edit-page .rc-resource-group-row{
  border-bottom:1px solid #edf1ef;
}
.rc-file-edit-page .rc-resource-group-row:last-child{
  border-bottom:0;
}
.rc-file-edit-page .rc-resource-group-row__view{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:60px;
  padding:8px 0;
}
.rc-file-edit-page .rc-resource-group-row__identity{
  display:flex;
  align-items:center;
  min-width:0;
  gap:10px;
}
.rc-file-edit-page .rc-resource-group-row__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 32px;
  width:32px;
  height:32px;
  border-radius:5px;
  color:var(--rc-primary);
  background:#edf5f2;
}
.rc-file-edit-page .rc-resource-group-row__identity > div{
  min-width:0;
}
.rc-file-edit-page .rc-resource-group-row__name{
  display:block;
  overflow:hidden;
  color:#26332f;
  font-size:12px;
  font-weight:600;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.rc-file-edit-page .rc-resource-group-row__identity > div > span{
  display:block;
  margin-top:2px;
  color:#87928e;
  font-size:10px;
}
.rc-file-edit-page .rc-resource-group-row__actions,
.rc-file-edit-page .rc-resource-group-row__edit-actions{
  display:flex;
  align-items:center;
  gap:6px;
  flex:0 0 auto;
}
.rc-file-edit-page .rc-resource-group-row__actions .rc-btn,
.rc-file-edit-page .rc-resource-group-row__edit-actions .rc-btn{
  min-width:58px;
  min-height:28px;
  padding:4px 8px;
  font-size:10px;
}
.rc-file-edit-page .rc-btn--danger-ghost{
  color:#b34b43;
  background:#fff;
  border-color:#ebcfcc;
}
.rc-file-edit-page .rc-btn--danger-ghost > i{
  color:#b34b43 !important;
  filter:none !important;
}
.rc-file-edit-page .rc-btn--danger-ghost:hover,
.rc-file-edit-page .rc-btn--danger-ghost:focus{
  color:#9e3f38;
  background:#fff4f3;
  border-color:#dda9a4;
}
.rc-file-edit-page .rc-resource-group-row__edit{
  display:none;
  grid-template-columns:minmax(220px,420px) minmax(120px,1fr) auto;
  align-items:center;
  gap:8px 10px;
  min-height:58px;
  padding:8px 0;
}
.rc-file-edit-page .rc-resource-group-row.is-editing .rc-resource-group-row__view{
  display:none;
}
.rc-file-edit-page .rc-resource-group-row.is-editing .rc-resource-group-row__edit{
  display:grid;
}
.rc-file-edit-page .rc-resource-group-empty{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:96px;
  color:#84908b;
  text-align:left;
}
.rc-file-edit-page .rc-resource-group-empty > i{
  font-size:22px;
  color:#9aa49f;
}
.rc-file-edit-page .rc-resource-group-empty strong{
  display:block;
  color:#64716c;
  font-size:11px;
}
.rc-file-edit-page .rc-resource-group-empty span{
  display:block;
  margin-top:2px;
  font-size:10px;
}

@media(max-width:900px){
  .rc-file-edit-page .rc-resource-group-bar{
    align-items:stretch;
    flex-direction:column;
  }
  .rc-file-edit-page .rc-resource-group-manage-toggle{
    align-self:flex-start;
  }
  .rc-file-edit-page .rc-resource-group-create{
    grid-template-columns:minmax(0,1fr) auto;
  }
  .rc-file-edit-page .rc-resource-group-error{
    grid-column:1/-1;
  }
  .rc-file-edit-page .rc-resource-group-row__edit{
    grid-template-columns:minmax(0,1fr) auto;
  }
  .rc-file-edit-page .rc-resource-group-row__error{
    grid-column:1/-1;
    order:3;
  }
}
@media(max-width:620px){
  .rc-file-edit-page .rc-resource-group-picker{
    flex-direction:column;
    gap:7px;
  }
  .rc-file-edit-page .rc-resource-group-title{
    min-width:0;
    padding-top:0;
  }
  .rc-file-edit-page .rc-resource-group-manager{
    width:calc(100vw - 24px);
    max-height:calc(100vh - 24px);
  }
  .rc-file-edit-page .rc-resource-group-create{
    grid-template-columns:1fr;
  }
  .rc-file-edit-page .rc-resource-group-create > .rc-btn{
    justify-self:start;
  }
  .rc-file-edit-page .rc-resource-group-list{
    max-height:calc(100vh - 310px);
  }
  .rc-file-edit-page .rc-resource-group-row__view{
    align-items:flex-start;
    flex-direction:column;
  }
  .rc-file-edit-page .rc-resource-group-row__actions{
    width:100%;
    justify-content:flex-end;
  }
  .rc-file-edit-page .rc-resource-group-row__edit{
    grid-template-columns:1fr;
  }
  .rc-file-edit-page .rc-resource-group-row__edit-actions{
    justify-content:flex-start;
  }
}
/* Material edit raffles refresh 2026-09-26 v21 */
.rc-file-edit-page .rc-file-edit{
  min-height:calc(100vh - 72px);
  padding:14px 18px 30px;
  background:#f4f7f6;
}
.rc-file-edit-page .rc-file-edit .breadcrumbs{
  margin-bottom:12px;
}
.rc-file-edit-page .rc-file-edit-form{
  width:100%;
  max-width:1180px;
  margin:0 auto;
}
.rc-file-edit-page .rc-file-edit-header{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 10px;
  padding:14px 16px;
  border:1px solid var(--rc-border);
  border-radius:8px;
  background:#fff;
  box-shadow:0 1px 2px rgba(20,45,38,.03);
}
.rc-file-edit-page .rc-file-edit-header__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 38px;
  width:38px;
  height:38px;
  border-radius:7px;
  color:var(--rc-primary);
  background:#eaf4f1;
}
.rc-file-edit-page .rc-file-edit-header__icon i{
  margin:0;
  color:var(--rc-primary) !important;
  font-size:15px;
  filter:none !important;
}
.rc-file-edit-page .rc-file-edit-header__text{
  min-width:0;
}
.rc-file-edit-page .rc-file-edit-header__text h2{
  margin:0;
  color:#1f2d29;
  font-size:16px;
  font-weight:700;
  line-height:22px;
}
.rc-file-edit-page .rc-file-edit-header__text span{
  display:block;
  margin-top:2px;
  color:#7a8782;
  font-size:10px;
  line-height:16px;
}
.rc-file-edit-page .rc-file-edit-card{
  overflow:visible !important;
  border:1px solid var(--rc-border) !important;
  border-radius:8px !important;
  background:#fff;
  box-shadow:0 7px 22px rgba(28,55,47,.05);
}
.rc-file-edit-page .rc-file-edit-card > .rc-file-edit-row{
  display:grid !important;
  grid-template-columns:160px minmax(0,1fr) !important;
  min-height:72px !important;
  height:auto !important;
  line-height:1.6 !important;
  border:0 !important;
  border-bottom:1px solid #e7ecea !important;
}
.rc-file-edit-page .rc-file-edit-card > .rc-file-edit-row > .rc-file-edit-label{
  display:flex !important;
  align-items:center;
  justify-content:flex-start;
  width:auto !important;
  min-width:0;
  height:auto !important;
  padding:15px 16px !important;
  border:0 !important;
  border-right:1px solid #e7ecea !important;
  color:#43504c;
  background:#f8faf9;
  font-size:12px;
  font-weight:600;
  line-height:1.5 !important;
  text-align:left;
}
.rc-file-edit-page .rc-file-edit-card > .rc-file-edit-row > .rc-file-edit-value{
  display:flex !important;
  align-items:center;
  width:auto !important;
  min-width:0;
  height:auto !important;
  padding:14px 18px !important;
  color:#5f6e69;
  background:#fff;
  font-size:12px;
  line-height:1.7 !important;
}
.rc-file-edit-page .rc-file-edit-card input[type="text"]{
  width:min(520px,100%);
  height:36px;
  margin:0;
  padding:7px 10px;
  border:1px solid #cdd8d4;
  border-radius:5px;
  color:#26332f;
  background:#fff;
  font-size:12px;
  box-shadow:none;
}
.rc-file-edit-page .rc-file-edit-card input[type="text"]:hover{
  border-color:#b8c9c3;
}
.rc-file-edit-page .rc-file-edit-card input[type="text"]:focus,
.rc-file-edit-page .rc-file-edit-card textarea:focus{
  border-color:var(--rc-primary);
  outline:0;
  box-shadow:0 0 0 3px rgba(7,93,78,.09);
}
.rc-file-edit-page .rc-file-edit-category-row{
  display:grid !important;
  grid-template-columns:160px minmax(0,1fr) !important;
  min-height:92px !important;
  height:auto !important;
  border-bottom:1px solid #e7ecea !important;
}
.rc-file-edit-page .rc-file-edit-category-label{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  width:auto !important;
  min-height:92px;
  padding:15px 16px;
  border:0 !important;
  border-right:1px solid #e7ecea !important;
  color:#43504c;
  background:#f8faf9;
  font-size:12px;
  font-weight:600;
}
.rc-file-edit-page .rc-file-edit-group-content{
  width:auto !important;
  min-width:0;
  min-height:92px;
  padding:16px 18px !important;
  background:#fff;
}
.rc-file-edit-page .rc-file-edit-group-content .rc-resource-group-bar{
  align-items:center;
}
.rc-file-edit-page .rc-file-edit-group-content .rc-resource-group-tabs{
  align-items:center;
  gap:7px;
}
.rc-file-edit-page .rc-file-edit-group-content .rc-resource-group-tabs .bip{
  min-height:32px;
  margin:0;
  padding:5px 11px;
  border:1px solid #dce5e2;
  border-radius:4px;
  color:#65736e;
  background:#f5f7f6;
  font-size:11px;
  line-height:20px;
  text-decoration:none;
}
.rc-file-edit-page .rc-file-edit-group-content .rc-resource-group-tabs .bip:hover{
  border-color:#bdcec8;
  color:var(--rc-primary);
}
.rc-file-edit-page .rc-file-edit-group-content .rc-resource-group-tabs .det_bg{
  border-color:#c8ddd6;
  color:var(--rc-primary);
  background:#e8f2ef;
  font-weight:600;
}
.rc-file-edit-page .rc-file-edit-description{
  min-height:150px !important;
}
.rc-file-edit-page .rc-file-edit-description .rc-file-edit-value{
  align-items:flex-start !important;
}
.rc-file-edit-page .rc-file-edit-description textarea{
  width:min(720px,100%);
  min-height:118px;
  margin:0 !important;
  padding:9px 10px;
  resize:vertical;
  border:1px solid #cdd8d4;
  border-radius:5px;
  color:#26332f;
  background:#fff !important;
  font-size:12px;
  line-height:1.65;
  box-shadow:none;
}
.rc-file-edit-page .rc-file-edit-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  min-height:62px;
  padding:12px 16px;
  border-radius:0 0 8px 8px;
  background:#fbfcfb;
}
.rc-file-edit-page .rc-file-edit-actions .rc-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-width:88px;
  min-height:36px;
  margin:0 !important;
  padding:7px 14px;
  border-radius:5px;
  font-size:11px;
  font-weight:600;
  line-height:20px;
  box-shadow:none;
  text-shadow:none;
}
.rc-file-edit-page .rc-file-edit-actions .rc-file-edit-back{
  order:1;
  color:#52615c;
  border-color:#d4ddda;
  background:#fff;
}
.rc-file-edit-page .rc-file-edit-actions .rc-file-edit-back:hover{
  color:var(--rc-primary);
  border-color:#b9ccc6;
  background:#f3f7f5;
}
.rc-file-edit-page .rc-file-edit-actions .rc-file-edit-save{
  order:2;
  color:#fff !important;
  border-color:var(--rc-primary);
  background:var(--rc-primary);
}
.rc-file-edit-page .rc-file-edit-actions .rc-file-edit-save:hover{
  color:#fff !important;
  border-color:var(--rc-primary-hover);
  background:var(--rc-primary-hover);
}
.rc-file-edit-page .rc-file-edit-actions .rc-file-edit-save i{
  color:#fff !important;
  filter:none !important;
}
.rc-file-edit-page .rc-file-edit-actions .rc-file-edit-back i{
  color:#687772 !important;
  filter:none !important;
}
.rc-file-edit-page .rc-file-edit-card > .rc-file-edit-row:last-of-type{
  border-bottom:1px solid #e7ecea !important;
}
.rc-file-edit-page.rc-rtl .rc-file-edit-card > .rc-file-edit-row > .rc-file-edit-label,
.rc-file-edit-page.rc-rtl .rc-file-edit-category-label{
  border-right:0 !important;
  border-left:1px solid #e7ecea !important;
  text-align:right;
}
@media(max-width:760px){
  .rc-file-edit-page .rc-file-edit{
    padding:10px 10px 22px;
  }
  .rc-file-edit-page .rc-file-edit-card > .rc-file-edit-row,
  .rc-file-edit-page .rc-file-edit-category-row{
    grid-template-columns:minmax(0,1fr) !important;
  }
  .rc-file-edit-page .rc-file-edit-card > .rc-file-edit-row > .rc-file-edit-label,
  .rc-file-edit-page .rc-file-edit-category-label{
    min-height:auto;
    padding:10px 14px 6px !important;
    border-right:0 !important;
    border-bottom:0 !important;
    background:#fff;
  }
  .rc-file-edit-page .rc-file-edit-card > .rc-file-edit-row > .rc-file-edit-value,
  .rc-file-edit-page .rc-file-edit-group-content{
    min-height:auto;
    padding:6px 14px 14px !important;
  }
  .rc-file-edit-page .rc-file-edit-group-content .rc-resource-group-bar{
    align-items:stretch;
    flex-direction:column;
  }
  .rc-file-edit-page .rc-resource-group-manage-toggle{
    align-self:flex-start;
  }
  .rc-file-edit-page .rc-file-edit-actions{
    justify-content:stretch;
  }
  .rc-file-edit-page .rc-file-edit-actions .rc-btn{
    flex:1 1 0;
  }
}
/* Resources management pages 2026-09-26 v24 */
.rc-resources-page{
  color:var(--rc-text);
  font-family:var(--rc-font);
  background:var(--rc-canvas);
}
.rc-resources-page .viewFramework-con{
  min-width:0;
  overflow-x:hidden;
}
.rc-resources-page .box_right.rc-resources-shell{
  box-sizing:border-box;
  width:auto;
  min-width:0;
  margin:0;
  padding:14px 18px 30px;
  background:var(--rc-canvas);
}
.rc-resources-breadcrumb{
  margin:0 0 12px !important;
  padding:9px 12px !important;
  background:#fff !important;
  border:1px solid var(--rc-border);
  border-radius:6px;
  box-shadow:none;
}
.rc-resources-breadcrumb li,
.rc-resources-breadcrumb li a{
  color:#68736f;
  font-size:11px;
}
.rc-resources-breadcrumb li.active{
  color:var(--rc-primary);
  font-weight:600;
}
.rc-resources-page-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:0 0 12px;
  padding:16px 18px;
  background:#fff;
  border:1px solid var(--rc-border);
  border-radius:8px;
  box-shadow:var(--rc-shadow);
}
.rc-resources-page-head--form{
  justify-content:flex-start;
}
.rc-resources-page-head>div{
  min-width:0;
}
.rc-resources-eyebrow{
  display:block;
  margin-bottom:3px;
  color:var(--rc-primary);
  font-size:10px;
  font-weight:700;
}
.rc-resources-page-head h1{
  margin:0;
  color:#1f2927;
  font-size:20px;
  font-weight:700;
  line-height:1.4;
}
.rc-resources-page-head p{
  margin:4px 0 0;
  color:#76817d;
  font-size:11px;
  line-height:1.6;
}
.rc-resources-page .rc-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  box-sizing:border-box;
  min-height:34px;
  margin:0 !important;
  padding:6px 12px;
  color:#53615d;
  font-size:11px;
  font-weight:600;
  line-height:20px;
  text-decoration:none !important;
  white-space:nowrap;
  background:#fff;
  border:1px solid #d1d9d6;
  border-radius:4px;
  box-shadow:none;
  text-shadow:none;
  cursor:pointer;
}
.rc-resources-page .rc-btn:hover,
.rc-resources-page .rc-btn:focus{
  color:var(--rc-primary);
  background:#f3f7f5;
  border-color:#b9ccc6;
}
.rc-resources-page .rc-btn--primary{
  color:#fff !important;
  background:var(--rc-primary);
  border-color:var(--rc-primary);
}
.rc-resources-page .rc-btn--primary:hover,
.rc-resources-page .rc-btn--primary:focus{
  color:#fff !important;
  background:var(--rc-primary-hover);
  border-color:var(--rc-primary-hover);
}
.rc-resources-page .rc-btn--primary i{
  color:#fff !important;
  filter:none !important;
}
.rc-resources-toolbar{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 12px;
  padding:12px 14px;
  background:#fff;
  border:1px solid var(--rc-border);
  border-radius:7px;
}
.rc-resources-toolbar>label{
  margin:0;
  color:#46534f;
  font-size:11px;
  font-weight:600;
  white-space:nowrap;
}
.rc-resources-search{
  display:flex;
  align-items:center;
  gap:8px;
  flex:1;
}
.rc-resources-search input{
  box-sizing:border-box;
  width:min(360px,100%);
  height:34px;
  margin:0 !important;
  padding:6px 10px;
  color:var(--rc-text);
  background:#fff;
  border:1px solid #ced8d4;
  border-radius:4px;
  box-shadow:none;
  font-size:11px;
}
.rc-resources-search input:focus{
  border-color:var(--rc-primary);
  outline:0;
  box-shadow:0 0 0 2px rgba(7,93,78,.08);
}

.rc-resources-table{
  width:100% !important;
  min-width:980px;
  margin:0 !important;
  border-collapse:separate !important;
  border-spacing:0;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--rc-border) !important;
  border-radius:7px;
  box-shadow:var(--rc-shadow);
}
.rc-resources-table thead tr,
.rc-resources-table .tr1{
  background:#f2f5f4 !important;
}
.rc-resources-table th{
  height:42px !important;
  padding:8px 10px !important;
  color:#46534f !important;
  font-size:11px !important;
  font-weight:700 !important;
  text-align:left !important;
  vertical-align:middle !important;
  border:0 !important;
  border-bottom:1px solid #dce4e1 !important;
  white-space:nowrap;
}
.rc-resources-table td{
  height:auto !important;
  min-height:46px;
  padding:9px 10px !important;
  color:#54625d;
  font-size:11px;
  vertical-align:middle !important;
  border:0 !important;
  border-bottom:1px solid #edf1ef !important;
  background:#fff !important;
}
.rc-resources-table tbody tr:last-child td{
  border-bottom:0 !important;
}
.rc-resources-table tbody tr:hover td{
  background:#f8fbfa !important;
}
.rc-resources-table td img{
  width:18px;
  height:18px;
  margin-right:5px;
  object-fit:contain;
  vertical-align:middle;
}
.rc-resources-table input[type="checkbox"]{
  width:15px;
  height:15px;
  margin:0;
  accent-color:var(--rc-primary);
}
.rc-resources-table td:nth-child(1),
.rc-resources-table th:nth-child(1){
  width:46px;
  text-align:center !important;
}
.rc-resources-table td:last-child,
.rc-resources-table th:last-child{
  min-width:118px;
}
.rc-resources-table td:last-child .STYLE4{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:5px;
}
.rc-resources-table td:last-child .STYLE4>br{
  display:none;
}
.rc-resources-table td:last-child .STYLE4>img{
  display:none;
}
.rc-resources-table td:last-child .STYLE4>a{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-height:26px;
  margin:0 !important;
  padding:3px 8px;
  color:#52605c !important;
  font-size:10px;
  text-decoration:none !important;
  background:#fff;
  border:1px solid #d5ddda;
  border-radius:4px;
}
.rc-resources-table td:last-child .STYLE4>a:hover{
  color:var(--rc-primary) !important;
  background:#f2f7f5;
  border-color:#b9cec7;
}
.rc-resources-table td:last-child .STYLE4>a:last-of-type{
  color:#b44d45 !important;
  border-color:#ead0cd;
}
.rc-resources-type{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:2px 7px;
  border-radius:10px;
  font-size:10px;
  font-weight:600;
}
.rc-resources-type--directory{
  color:#176956;
  background:#e9f4f0;
}
.rc-resources-type--menu{
  color:#8b651d;
  background:#fff5df;
}
.rc-resources-type--action{
  color:#5c6e7f;
  background:#eef3f6;
}

.rc-resources-form{
  margin:0;
  padding:0;
  background:#fff;
  border:1px solid var(--rc-border);
  border-radius:8px;
  box-shadow:var(--rc-shadow);
  overflow:hidden;
}
.rc-resources-form-table{
  width:100% !important;
  margin:0 !important;
  border:0 !important;
  border-collapse:separate !important;
  border-spacing:0;
  background:#fff;
}
.rc-resources-form-table tr>td{
  box-sizing:border-box;
  height:auto !important;
  min-height:58px;
  padding:11px 14px !important;
  vertical-align:middle !important;
  border:0 !important;
  border-bottom:1px solid #e8edeb !important;
}
.rc-resources-form-table tr>td:first-child{
  width:170px !important;
  color:#44514d;
  font-size:11px;
  font-weight:600;
  text-align:left !important;
  background:#f8faf9;
  border-right:1px solid #e8edeb !important;
}
.rc-resources-form-table tr>td:nth-child(2){
  color:#66736f;
  background:#fff;
}
.rc-resources-form-table tr:last-child>td{
  border-bottom:0 !important;
}
.rc-resources-form-table td>div[align="left"],
.rc-resources-form-table td>.STYLE1{
  margin:0 !important;
  padding:0 !important;
  text-align:left !important;
}
.rc-resources-form-table input[type="text"],
.rc-resources-form-table select{
  box-sizing:border-box;
  width:min(520px,100%) !important;
  height:36px !important;
  margin:0 !important;
  padding:6px 10px;
  color:var(--rc-text);
  font-size:11px;
  background:#fff;
  border:1px solid #ccd7d3;
  border-radius:4px;
  box-shadow:none;
}
.rc-resources-form-table input[type="text"]:focus,
.rc-resources-form-table select:focus{
  border-color:var(--rc-primary);
  outline:0;
  box-shadow:0 0 0 2px rgba(7,93,78,.08);
}
.rc-resources-form-table label.radio.inline{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:30px;
  margin:0 16px 0 0;
  padding:0;
  color:#596762;
  font-size:11px;
}
.rc-resources-form-table input[type="radio"]{
  width:15px;
  height:15px;
  margin:0 4px 0 0;
  accent-color:var(--rc-primary);
}
.rc-resources-form-table td span{
  color:#7a8782;
  font-size:10px;
}
.rc-resources-form-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  min-height:38px;
}
.rc-resources-form-actions .rc-btn{
  min-width:82px;
}
.rc-resources-form--detail input,
.rc-resources-form--detail select{
  background:#fafbfb;
}
.rc-resources-show-page .rc-resources-form-table input[type="radio"]{
  pointer-events:none;
}

@media(max-width:900px){
  .rc-resources-page .box_right.rc-resources-shell{
    padding:12px;
  }
  .rc-resources-page-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .rc-resources-page-head>.rc-btn{
    align-self:flex-start;
  }
  .rc-resources-toolbar{
    align-items:stretch;
    flex-direction:column;
  }
  .rc-resources-search{
    width:100%;
  }
  .rc-resources-search input{
    flex:1;
    width:auto;
  }
  .rc-resources-table{
    display:block;
    overflow-x:auto;
  }
}
@media(max-width:620px){
  .rc-resources-form-table,
  .rc-resources-form-table tbody,
  .rc-resources-form-table tr,
  .rc-resources-form-table td{
    display:block;
    width:100% !important;
  }
  .rc-resources-form-table tr>td:first-child{
    width:100% !important;
    min-height:0;
    padding:9px 12px 4px !important;
    background:#fff;
    border-right:0 !important;
    border-bottom:0 !important;
  }
  .rc-resources-form-table tr>td:nth-child(2){
    padding:4px 12px 12px !important;
  }
  .rc-resources-form-actions{
    justify-content:stretch;
  }
  .rc-resources-form-actions .rc-btn{
    flex:1;
  }
}
/* Resources full-width fix 2026-09-26 v25 */
.rc-resources-page .backstageHome-2,
.rc-resources-page .viewFramework-body,
.rc-resources-page .viewFramework-con{
  width:100%;
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
}
.rc-resources-page .viewFramework-con{
  overflow-x:hidden;
}
.rc-resources-page .box_right.rc-resources-shell{
  float:none !important;
  display:block !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 !important;
  padding:14px 18px 30px !important;
  box-sizing:border-box !important;
}
.rc-resources-page .rc-resources-breadcrumb,
.rc-resources-page .rc-resources-page-head,
.rc-resources-page .rc-resources-toolbar,
.rc-resources-page form,
.rc-resources-page .rc-resources-form,
.rc-resources-page .rc-resources-form-table,
.rc-resources-page .rc-resources-table{
  width:100% !important;
  max-width:none !important;
  box-sizing:border-box !important;
}
.rc-resources-add-page .rc-resources-form,
.rc-resources-edit-page .rc-resources-form,
.rc-resources-show-page .rc-resources-form{
  display:block;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
}
.rc-resources-add-page .rc-resources-page-head,
.rc-resources-edit-page .rc-resources-page-head,
.rc-resources-show-page .rc-resources-page-head{
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
}
.rc-resources-add-page .rc-resources-form-table,
.rc-resources-edit-page .rc-resources-form-table,
.rc-resources-show-page .rc-resources-form-table{
  table-layout:auto;
}
@media(max-width:900px){
  .rc-resources-page .box_right.rc-resources-shell{
    padding:12px !important;
  }
}
/* File layout batch insert status 2026-09-28 */
.rc-file-layout-page .breadcrumbs { margin: 0 0 12px !important; padding: 0 !important; background: #fff; border: 1px solid var(--rc-border); border-radius: 7px; box-shadow: 0 2px 8px rgba(17,52,43,.03); }
.rc-file-layout-page .breadcrumbs .breadcrumb { min-height: 42px; margin: 0 !important; padding: 11px 14px; background: transparent; }
.rc-file-layout-page .rc-file-layout-hero { grid-template-columns: 260px minmax(0,1fr); gap: 14px 18px; }
.rc-file-layout-page .rc-file-layout-resource { height: 202px !important; padding: 12px !important; border-radius: 8px; }
.rc-file-layout-page .rc-file-layout-notice .prompt,
.rc-file-layout-page .rc-file-layout-notice .prompt > div { min-height: 202px; border-radius: 8px; }
.rc-file-layout-page .rc-file-layout-toolbar { min-height: 58px; margin-bottom: 10px; padding: 10px 14px; border-radius: 8px; box-shadow: 0 2px 8px rgba(17,52,43,.025); }
.rc-file-layout-page .rc-file-layout-toolbar .search-query { width: 310px; max-width: calc(100vw - 430px); height: 36px; }
.rc-file-layout-page .rc-file-layout-toolbar .input-append button { height: 36px; }
.rc-file-layout-statusbar { margin: 0 0 12px; padding: 13px 15px; background: #fff; border: 1px solid var(--rc-border); border-radius: 8px; box-shadow: 0 2px 8px rgba(17,52,43,.025); }
.rc-file-layout-statusbar__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rc-file-layout-statusbar__head > div:first-child { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.rc-file-layout-statusbar__head strong { color: var(--rc-text); font-size: 14px; font-weight: 700; }
.rc-file-layout-statusbar__head #batchSelectedCount { color: var(--rc-muted); font-size: 12px; }
.rc-file-layout-statusbar__stats { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rc-file-layout-statusbar__stats > span { display: inline-flex; align-items: center; gap: 5px; min-height: 27px; padding: 3px 9px; font-size: 11px; border: 1px solid transparent; border-radius: 999px; }
.rc-file-layout-statusbar__stats b { font-size: 12px; }
.rc-file-layout-statusbar__stats .is-success { color: #17745e; background: #edf8f4; border-color: #cce9df; }
.rc-file-layout-statusbar__stats .is-exists { color: #936817; background: #fff8e9; border-color: #efdfb8; }
.rc-file-layout-statusbar__stats .is-failed { color: #b24c43; background: #fdf0ef; border-color: #efcfcc; }
.rc-file-layout-statusbar__summary { margin-top: 7px; color: var(--rc-muted); font-size: 12px; line-height: 1.6; }
.rc-file-layout-statusbar.is-processing { border-color: #b9ddd4; box-shadow: 0 0 0 2px rgba(7,93,78,.05); }
.rc-file-layout-statusbar.is-done { border-color: #c8dfd8; }
.rc-file-layout-statusbar.is-error { border-color: #e7c2bf; background: #fffafa; }
.rc-file-layout-statusbar__results { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 7px; max-height: 210px; margin-top: 10px; overflow-y: auto; }
.rc-file-layout-statusbar__results:empty { display: none; }
.rc-file-layout-result-row { display: grid; grid-template-columns: 25px minmax(0,1fr) auto; align-items: center; gap: 8px; min-width: 0; padding: 8px 9px; background: #fafcfc; border: 1px solid var(--rc-border); border-radius: 6px; }
.rc-file-layout-result-row__icon { display: inline-flex; width: 23px; height: 23px; align-items: center; justify-content: center; color: #fff; font-weight: 700; border-radius: 50%; }
.rc-file-layout-result-row__main { display: flex; min-width: 0; flex-direction: column; }
.rc-file-layout-result-row__main strong { overflow: hidden; color: var(--rc-text); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.rc-file-layout-result-row__main span { overflow: hidden; color: var(--rc-muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.rc-file-layout-result-row__status { font-size: 10px; font-style: normal; font-weight: 600; white-space: nowrap; }
.rc-file-layout-result-row.is-success .rc-file-layout-result-row__icon { background: #23866d; }
.rc-file-layout-result-row.is-success .rc-file-layout-result-row__status { color: #17745e; }
.rc-file-layout-result-row.is-exists .rc-file-layout-result-row__icon { background: #c58a22; }
.rc-file-layout-result-row.is-exists .rc-file-layout-result-row__status { color: #936817; }
.rc-file-layout-result-row.is-failed .rc-file-layout-result-row__icon { background: #c85147; }
.rc-file-layout-result-row.is-failed .rc-file-layout-result-row__status { color: #b24c43; }
.rc-file-layout-page .rc-file-layout-grid { grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 14px; }
.rc-file-layout-page .rc-file-layout-grid .shop_con { position: relative; height: 300px !important; padding: 13px !important; border-radius: 8px; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.rc-file-layout-page .rc-file-layout-grid .shop_con:hover { border-color: #cad9d4; box-shadow: 0 7px 18px rgba(17,52,43,.07); transform: translateY(-1px); }
.rc-file-layout-page .rc-file-layout-grid .shop_con.is-selected { border-color: #77b6a7 !important; box-shadow: 0 0 0 2px rgba(7,93,78,.08); }
.rc-file-layout-page .rc-file-layout-grid .shop_con.is-processing { border-color: #6fae9f !important; background: #fbfefd; }
.rc-file-layout-page .rc-file-layout-grid .shop_con.is-success { border-color: #64aa97 !important; background: #fbfefd; }
.rc-file-layout-page .rc-file-layout-grid .shop_con.is-exists { border-color: #d7b76d !important; background: #fffdf8; }
.rc-file-layout-page .rc-file-layout-grid .shop_con.is-failed { border-color: #d98a84 !important; background: #fffafa; }
.rc-file-layout-page .rc-file-layout-grid .shc_top a { color: #fff !important; background: var(--rc-primary) !important; border: 0 !important; }
.rc-file-layout-card-status { position: absolute; top: 48px; right: 11px; z-index: 3; min-width: 54px; padding: 4px 8px; color: #fff; font-size: 10px; font-weight: 700; line-height: 1.2; text-align: center; border-radius: 999px; box-shadow: 0 3px 8px rgba(17,52,43,.12); }
.rc-file-layout-card-status.is-processing { background: #397aa4; }
.rc-file-layout-card-status.is-success { background: #23866d; }
.rc-file-layout-card-status.is-exists { background: #c58a22; }
.rc-file-layout-card-status.is-failed { background: #c85147; }
.rc-file-layout-page .rc-file-layout-footer { position: sticky; bottom: 8px; z-index: 20; min-height: 60px; margin-top: 16px; padding: 10px 13px; border-radius: 8px; box-shadow: 0 8px 24px rgba(17,52,43,.10); }
.rc-file-layout-page #batchInsertSaveButton { min-width: 86px; color: #fff; background: var(--rc-primary); border-color: var(--rc-primary); }
.rc-file-layout-page #batchInsertSaveButton:hover { background: var(--rc-primary-hover); border-color: var(--rc-primary-hover); }
.rc-file-layout-page #batchInsertSaveButton.is-loading,
.rc-file-layout-page #batchInsertSaveButton:disabled { cursor: wait; opacity: .68; }
@media(max-width:900px){
  .rc-file-layout-page .rc-file-layout-hero { grid-template-columns: 1fr; grid-template-areas: "title" "resource" "notice"; }
  .rc-file-layout-statusbar__head { align-items: flex-start; flex-direction: column; }
  .rc-file-layout-statusbar__results { grid-template-columns: 1fr; }
  .rc-file-layout-page .rc-file-layout-toolbar .search-query { width: min(280px,calc(100vw - 160px)); max-width: none; }
}
/* Batch insert action bar refinement 2026-09-28 */
.rc-file-layout-statusbar__identity { display: flex; align-items: center; flex: 1 1 auto; min-width: 0; gap: 12px; flex-wrap: wrap; }
.rc-file-layout-statusbar__actions { display: inline-flex; align-items: center; gap: 8px; margin-left: 4px; padding-left: 14px; border-left: 1px solid #e2e9e6; }
.rc-file-layout-action { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 104px; height: 35px; margin: 0; padding: 0 14px; box-sizing: border-box; border-radius: 7px; font-size: 12px; font-weight: 600; line-height: 33px; cursor: pointer; transition: background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease; }
.rc-file-layout-action i { margin: 0; }
.rc-file-layout-action--select { color: var(--rc-primary) !important; background: #f7fbf9 !important; border: 1px solid #bfd7d0 !important; box-shadow: 0 1px 2px rgba(17,52,43,.03) !important; }
.rc-file-layout-action--select i { color: var(--rc-primary) !important; filter: none !important; }
.rc-file-layout-action--select:hover { color: var(--rc-primary-hover) !important; background: #edf6f3 !important; border-color: #92bdb1 !important; box-shadow: 0 4px 10px rgba(17,52,43,.07) !important; transform: translateY(-1px); }
.rc-file-layout-action--save { color: #fff !important; background: var(--rc-primary) !important; border: 1px solid var(--rc-primary) !important; box-shadow: 0 4px 10px rgba(7,93,78,.16) !important; }
.rc-file-layout-action--save i { color: #fff !important; filter: brightness(0) invert(1) !important; }
.rc-file-layout-action--save:hover { color: #fff !important; background: var(--rc-primary-hover) !important; border-color: var(--rc-primary-hover) !important; box-shadow: 0 6px 14px rgba(7,93,78,.20) !important; transform: translateY(-1px); }
.rc-file-layout-action--save.is-loading, .rc-file-layout-action--save:disabled { cursor: wait; opacity: .64; transform: none; box-shadow: none !important; }
.rc-file-layout-statusbar__stats { margin-left: auto; }
.rc-file-layout-page .rc-file-layout-footer { position: static; bottom: auto; z-index: auto; min-height: 50px; margin-top: 14px; padding: 8px 12px; border-radius: 8px; box-shadow: 0 2px 8px rgba(17,52,43,.035); }
.rc-file-layout-page .rc-file-layout-footer:empty { display: none; }
@media(max-width:1100px){ .rc-file-layout-statusbar__head { align-items: flex-start; } .rc-file-layout-statusbar__stats { width: 100%; margin-left: 0; } }
@media(max-width:760px){ .rc-file-layout-statusbar__identity { align-items: flex-start; flex-direction: column; } .rc-file-layout-statusbar__actions { width: 100%; margin-left: 0; padding: 10px 0 0; border-top: 1px solid #e8eeec; border-left: 0; } .rc-file-layout-action { flex: 1 1 0; min-width: 0; } }
/* Batch insert notice card refinement 2026-09-28 */
.rc-file-layout-notice-card { display: flex; min-height: 202px; height: 100%; padding: 17px 18px; box-sizing: border-box; flex-direction: column; background: #fffaf2; border: 1px solid #eadcc3; border-left: 4px solid var(--rc-warning); border-radius: 9px; box-shadow: 0 3px 12px rgba(73,55,24,.045); }
.rc-file-layout-notice-card__head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid rgba(197,138,34,.18); }
.rc-file-layout-notice-card__icon { display: inline-flex; width: 30px; height: 30px; flex: 0 0 30px; align-items: center; justify-content: center; color: #fff; font-size: 16px; font-weight: 800; background: var(--rc-warning); border-radius: 50%; box-shadow: 0 3px 8px rgba(197,138,34,.18); }
.rc-file-layout-notice-card__head > div { display: flex; flex-direction: column; gap: 1px; }
.rc-file-layout-notice-card__head strong { color: #765519; font-size: 15px; line-height: 1.35; }
.rc-file-layout-notice-card__head small { color: #9b8a6c; font-size: 10px; line-height: 1.4; }
.rc-file-layout-notice-card__rules { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px 12px; margin-top: 12px; }
.rc-file-layout-notice-card__rule { display: flex; min-width: 0; min-height: 48px; padding: 8px 10px; box-sizing: border-box; align-items: center; gap: 9px; background: rgba(255,255,255,.74); border: 1px solid rgba(224,205,169,.72); border-radius: 7px; }
.rc-file-layout-notice-card__rule > span { display: inline-flex; width: 23px; height: 23px; flex: 0 0 23px; align-items: center; justify-content: center; color: #8b641c; font-size: 11px; font-weight: 700; background: #fff2d8; border: 1px solid #ecd6a7; border-radius: 50%; }
.rc-file-layout-notice-card__rule p { margin: 0 !important; color: #5f594f !important; font-size: 11px; line-height: 1.55 !important; }
.rc-file-layout-page.rc-rtl .rc-file-layout-notice-card { border-right: 4px solid var(--rc-warning); border-left-width: 1px; }
@media(max-width:980px){ .rc-file-layout-notice-card__rules { grid-template-columns: 1fr; } }
/* User device manager compact layout 2026-09-28 */
.rc-userdevice-manager-page .viewFramework-con { min-width: 0; overflow-x: hidden; overflow-y: auto; }
.rc-userdevice-manager-page .box_right.rc-device-list { box-sizing: border-box; float: none !important; width: auto !important; min-width: 0; max-width: none; margin: 0 !important; padding: 10px 14px 16px !important; overflow: visible !important; }
.rc-userdevice-manager-page .rc-device-page-heading { min-height: 50px; margin: 0 0 9px; padding: 6px 2px; }
.rc-userdevice-manager-page .rc-device-page-heading p { margin: 0 0 1px; font-size: 10px; line-height: 1.3; }
.rc-userdevice-manager-page .rc-device-page-heading h1 { margin: 0; font-size: 19px; line-height: 1.35; }
.rc-userdevice-manager-page .rc-assign-actions { gap: 6px; }
.rc-userdevice-manager-page .rc-assign-actions .rc-btn { min-height: 30px; padding: 5px 10px; font-size: 11px; }
.rc-userdevice-manager-page .rc-assign-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 9px; }
.rc-userdevice-manager-page .rc-assign-card { border-radius: 6px; box-shadow: 0 3px 12px rgba(17,52,43,.045); overflow: hidden; }
.rc-userdevice-manager-page .rc-assign-card__head { min-height: 36px; padding: 6px 11px; gap: 8px; }
.rc-userdevice-manager-page .rc-assign-card__head h2 { font-size: 13px; }
.rc-userdevice-manager-page .rc-assign-card__hint { font-size: 10px; }
.rc-userdevice-manager-page .rc-assign-card__body { min-height: 0; overflow: hidden; }
.rc-userdevice-manager-page .rc-assign-card__body iframe { display: block; width: 100%; border: 0; background: #fff; }
.rc-userdevice-manager-page .rc-assign-card--users .rc-assign-card__body iframe { height: 205px; }
.rc-userdevice-manager-page .rc-assign-card--devices .rc-assign-card__body iframe { height: 315px; }

.rc-userdevice-embed-page { box-sizing: border-box; min-width: 720px; margin: 0; padding: 0; overflow: auto; background: #fff; }
.rc-userdevice-embed-page .rc-list-canvas.rc-device-list { box-sizing: border-box; width: 100% !important; margin: 0 !important; padding: 7px !important; }
.rc-userdevice-embed-page .rc-list-toolbar { gap: 6px 9px; margin: 0 0 7px; padding: 7px 9px; border-radius: 5px; box-shadow: 0 2px 7px rgba(17,52,43,.035); }
.rc-userdevice-embed-page .rc-list-toolbar__title { font-size: 13px; line-height: 28px; }
.rc-userdevice-embed-page .rc-list-toolbar__fields { gap: 5px 7px; }
.rc-userdevice-embed-page .rc-list-toolbar__fields > label { font-size: 10px; }
.rc-userdevice-embed-page .rc-list-toolbar input[type='text'],
.rc-userdevice-embed-page .rc-list-toolbar select { min-width: 96px; height: 28px; padding: 3px 7px; font-size: 11px; line-height: 18px; }
.rc-userdevice-user-list .rc-list-toolbar input[type='text'] { width: 125px; }
.rc-userdevice-device-list .rc-list-toolbar input[type='text'] { width: 118px; }
.rc-userdevice-device-list .rc-list-toolbar select { min-width: 105px; }
.rc-userdevice-embed-page .rc-list-toolbar .rc-btn { min-height: 28px; padding: 4px 9px; font-size: 10px; }
.rc-userdevice-embed-page .rc-device-table-wrap { max-width: 100%; overflow: auto; border-radius: 5px; }
.rc-userdevice-embed-page .rc-device-table { min-width: 720px; margin: 0; font-size: 11px; }
.rc-userdevice-embed-page .rc-device-table thead th { height: 32px !important; padding: 4px 7px !important; font-size: 10px !important; line-height: 18px !important; }
.rc-userdevice-embed-page .rc-device-table tbody td { height: 30px !important; min-height: 30px !important; padding: 4px 7px !important; font-size: 10px !important; line-height: 18px !important; }
.rc-userdevice-embed-page .rc-device-table input[type='radio'],
.rc-userdevice-embed-page .rc-device-table input[type='checkbox'] { width: 14px; height: 14px; margin: 0; }
.rc-userdevice-embed-page .rc-table-empty { min-height: 88px; gap: 4px; font-size: 11px; }
.rc-userdevice-embed-page .rc-table-empty i { font-size: 18px; }

@media(max-height:760px){
  .rc-userdevice-manager-page .rc-device-page-heading { min-height: 44px; }
  .rc-userdevice-manager-page .rc-assign-card--users .rc-assign-card__body iframe { height: 175px; }
  .rc-userdevice-manager-page .rc-assign-card--devices .rc-assign-card__body iframe { height: 280px; }
}
@media(max-width:900px){
  .rc-userdevice-manager-page .box_right.rc-device-list { padding: 8px 10px 12px !important; }
  .rc-userdevice-manager-page .rc-device-page-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .rc-userdevice-manager-page .rc-assign-card__head { align-items: flex-start; flex-direction: column; gap: 2px; }
  .rc-userdevice-manager-page .rc-assign-card__hint { margin-left: 0; }
}
/* Seller device renewal page 2026-09-28 */
.rc-renewal-seller-page .viewFramework-con { width: 100%; max-width: 100%; min-width: 0; overflow-x: hidden; }
.rc-renewal-seller-page .box_right.rc-renewal-seller { box-sizing: border-box; float: none !important; width: 100% !important; max-width: none; margin: 0 !important; padding: 10px 18px 24px !important; color: var(--rc-text); }
.rc-renewal-seller .breadcrumbs { width: 100%; margin: 0 0 8px !important; }
.rc-renewal-seller .breadcrumb { margin: 0 !important; padding: 7px 10px; border: 1px solid var(--rc-border); border-radius: 5px; background: #fff; box-shadow: none; }
.rc-renewal-seller .breadcrumb > li { font-size: 11px; }

.rc-renewal-notice { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; padding: 10px 12px; border: 1px solid #eadbb9; border-left: 4px solid var(--rc-warning); border-radius: 6px; background: #fffaf0; box-shadow: 0 2px 8px rgba(72,55,22,.035); }
.rc-renewal-notice__icon { display: inline-flex; flex: 0 0 28px; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: #fff0cf; color: #9a6d17; font-size: 14px; }
.rc-renewal-notice__copy { display: flex; min-width: 0; flex: 1; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.rc-renewal-notice__copy strong { color: #77551a; font-size: 12px; white-space: nowrap; }
.rc-renewal-notice__copy span { color: #716956; font-size: 11px; line-height: 1.5; }
.rc-renewal-notice__copy b { color: #9b6810; font-size: 13px; }

.rc-renewal-summary-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-bottom: 10px; }
.rc-renewal-card { min-width: 0; margin: 0 0 10px; border: 1px solid var(--rc-border); border-radius: 7px; background: #fff; box-shadow: 0 4px 14px rgba(17,52,43,.045); overflow: hidden; }
.rc-renewal-summary-grid .rc-renewal-card { margin-bottom: 0; }
.rc-renewal-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 7px 12px; border-bottom: 1px solid var(--rc-border); background: #fafcfb; }
.rc-renewal-card__head > div { min-width: 0; }
.rc-renewal-card__head span { display: block; margin-bottom: 1px; color: var(--rc-primary); font-size: 8px; font-weight: 800; line-height: 1.2; letter-spacing: .09em; }
.rc-renewal-card__head h2 { margin: 0; color: var(--rc-text); font-size: 13px; font-weight: 700; line-height: 1.35; }
.rc-renewal-card__head small { max-width: 45%; overflow: hidden; color: var(--rc-muted); font-size: 10px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.rc-renewal-card__head--open { border-bottom-color: #d9e8e3; background: #f5faf8; }
.rc-renewal-device-no { padding: 4px 8px; border-radius: 12px; background: #edf6f3; color: var(--rc-primary) !important; font-family: Consolas, monospace; font-weight: 600; }
.rc-renewal-card__body { padding: 10px 12px 12px; }

.rc-renewal-info-grid, .rc-renewal-device-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.rc-renewal-device-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.rc-renewal-info-item { min-width: 0; padding: 8px 10px; border: 1px solid #edf1ef; border-radius: 5px; background: #fafcfb; }
.rc-renewal-info-item--wide { grid-column: span 2; }
.rc-renewal-info-item > span { display: block; margin-bottom: 3px; color: #86918d; font-size: 9px; line-height: 1.3; }
.rc-renewal-info-item > strong { display: block; overflow: hidden; color: #2b3834; font-size: 11px; font-weight: 600; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }

.rc-renewal-table-wrap { padding: 0; overflow-x: auto; }
.rc-renewal-license-table { width: 100%; min-width: 760px; margin: 0 !important; border: 0 !important; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.rc-renewal-license-table thead th { height: 34px; padding: 5px 9px; border: 0; border-bottom: 1px solid var(--rc-border); background: #f3f6f5; color: #66736f; font-size: 10px; font-weight: 700; text-align: left; }
.rc-renewal-license-table tbody td { height: 34px; padding: 5px 9px; border: 0; border-bottom: 1px solid #edf1ef; color: #33413d; font-size: 10px; vertical-align: middle; text-align: left; }
.rc-renewal-license-table tbody tr:last-child td { border-bottom: 0; }
.rc-renewal-license-table tbody tr:hover { background: #f8fbfa; }
.rc-renewal-license-table .rc-renewal-index { width: 52px; text-align: center; }
.rc-renewal-license-table .rc-renewal-operation { width: 90px; }
.rc-renewal-license-table tbody td:first-child { text-align: center; }
.rc-renewal-delete { display: inline-flex; align-items: center; gap: 4px; min-height: 25px; padding: 2px 7px; border: 1px solid #eccfcb; border-radius: 4px; background: #fff7f6; color: #b34b43; font-size: 9px; text-decoration: none !important; }
.rc-renewal-delete:hover { border-color: #dca49e; background: #fff0ef; color: #9e3f38; }
.rc-renewal-delete i { color: inherit; }
.rc-renewal-empty { display: flex; min-height: 72px; align-items: center; justify-content: center; gap: 7px; color: #8a9691; font-size: 11px; }
.rc-renewal-empty i { color: #a4afaa; font-size: 16px; }

.rc-renewal-open { border-color: #cfe0da; }
.rc-renewal-open .rc-renewal-card__body { padding: 12px; }
.rc-renewal-form-row { display: grid; grid-template-columns: 90px minmax(0,1fr); align-items: center; gap: 10px; min-height: 42px; padding: 8px 0; border-bottom: 1px solid #edf1ef; }
.rc-renewal-form-label { margin: 0; color: #5d6a66; font-size: 11px; font-weight: 700; text-align: right; }
.rc-renewal-plans { display: flex; align-items: stretch; gap: 8px; flex-wrap: wrap; }
.rc-renewal-plan { position: relative; display: block; margin: 0 !important; cursor: pointer; }
.rc-renewal-plan > input { position: absolute; opacity: 0; pointer-events: none; }
.rc-renewal-plan > span { display: flex; min-width: 92px; min-height: 40px; box-sizing: border-box; align-items: center; justify-content: center; gap: 6px; padding: 6px 10px; border: 1px solid #d7e0dd; border-radius: 5px; background: #fff; transition: all .15s ease; }
.rc-renewal-plan b { color: #2f3c38; font-size: 11px; }
.rc-renewal-plan em { color: #8b9692; font-size: 9px; font-style: normal; }
.rc-renewal-plan:hover > span { border-color: #a9c8be; background: #f7fbf9; }
.rc-renewal-plan > input:checked + span { border-color: var(--rc-primary); background: #edf6f3; box-shadow: inset 0 0 0 1px var(--rc-primary); }
.rc-renewal-plan > input:checked + span b, .rc-renewal-plan > input:checked + span em { color: var(--rc-primary); }
.rc-renewal-open-user-wrap { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.rc-renewal-open-user { box-sizing: border-box; width: 220px; height: 31px; margin: 0 !important; padding: 5px 9px; border: 1px solid #cad6d2; border-radius: 4px; box-shadow: none !important; font-size: 11px; }
.rc-renewal-open-user:focus { border-color: var(--rc-primary); outline: 2px solid rgba(7,93,78,.09); }
.rc-renewal-open-user-wrap > span { color: #8a9591; font-size: 9px; }
.rc-renewal-actions { display: flex; align-items: center; gap: 8px; padding: 10px 0 0 100px; }
.rc-renewal-actions .rc-btn { min-height: 31px; padding: 5px 11px; font-size: 10px; }
.rc-renewal-submit { min-width: 118px; }

.rc-renewal-seller-page.rc-rtl .rc-renewal-notice { border-right: 4px solid var(--rc-warning); border-left-width: 1px; }
.rc-renewal-seller-page.rc-rtl .rc-renewal-form-label { text-align: left; }
.rc-renewal-seller-page.rc-rtl .rc-renewal-actions { padding-right: 100px; padding-left: 0; }

@media(max-width:980px){
  .rc-renewal-summary-grid { grid-template-columns: 1fr; }
  .rc-renewal-device-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:680px){
  .rc-renewal-seller-page .box_right.rc-renewal-seller { padding: 8px 10px 16px !important; }
  .rc-renewal-notice__copy { display: block; }
  .rc-renewal-notice__copy strong { display: block; margin-bottom: 2px; }
  .rc-renewal-info-grid, .rc-renewal-device-grid { grid-template-columns: 1fr; }
  .rc-renewal-info-item--wide { grid-column: auto; }
  .rc-renewal-form-row { grid-template-columns: 1fr; gap: 5px; }
  .rc-renewal-form-label { text-align: left; }
  .rc-renewal-actions { padding-left: 0; }
  .rc-renewal-seller-page.rc-rtl .rc-renewal-actions { padding-right: 0; }
}
/* User device manager compact layout v2 2026-09-28 */
.rc-userdevice-manager-page .box_right.rc-device-list { padding: 8px 12px 14px !important; }
.rc-userdevice-manager-page .rc-device-page-heading { min-height: 42px; margin: 0 0 7px; padding: 3px 1px; }
.rc-userdevice-manager-page .rc-device-page-heading p { display: none; }
.rc-userdevice-manager-page .rc-device-page-heading h1 { font-size: 17px; line-height: 1.3; }
.rc-userdevice-manager-page .rc-assign-actions .rc-btn { min-height: 28px; padding: 4px 9px; font-size: 10px; }
.rc-userdevice-manager-page .rc-assign-grid { gap: 8px; }
.rc-userdevice-manager-page .rc-assign-card__head { min-height: 32px; padding: 5px 9px; }
.rc-userdevice-manager-page .rc-assign-card__head h2 { font-size: 12px; line-height: 1.25; }
.rc-userdevice-manager-page .rc-assign-card__hint { font-size: 9px; }
.rc-userdevice-manager-page .rc-assign-card__body iframe { height: 410px; }

.rc-userdevice-embed-page { min-width: 0; }
.rc-userdevice-embed-page .rc-list-canvas.rc-device-list { padding: 5px !important; }
.rc-userdevice-embed-page .rc-list-toolbar { min-height: 32px; margin-bottom: 5px; padding: 4px 6px; gap: 4px 6px; border-radius: 4px; }
.rc-userdevice-embed-page .rc-list-toolbar__title { display: none; }
.rc-userdevice-embed-page .rc-list-toolbar__fields { width: 100%; margin-left: 0; gap: 4px 6px; }
.rc-userdevice-embed-page .rc-list-toolbar__fields > label { font-size: 9px; }
.rc-userdevice-embed-page .rc-list-toolbar input[type='text'],
.rc-userdevice-embed-page .rc-list-toolbar select { height: 25px; min-width: 88px; padding: 2px 6px; font-size: 10px; line-height: 17px; }
.rc-userdevice-user-list .rc-list-toolbar input[type='text'] { width: 110px; }
.rc-userdevice-device-list .rc-list-toolbar input[type='text'] { width: 102px; }
.rc-userdevice-device-list .rc-list-toolbar select { min-width: 94px; }
.rc-userdevice-embed-page .rc-list-toolbar .rc-btn { min-height: 25px; padding: 3px 8px; font-size: 9px; }
.rc-userdevice-embed-page .rc-device-table { width: 100%; margin: 0; }
.rc-userdevice-user-list .rc-device-table { min-width: 650px; }
.rc-userdevice-device-list .rc-device-table { min-width: 560px; }
.rc-userdevice-embed-page .rc-device-table thead th { height: 28px !important; padding: 3px 5px !important; font-size: 9px !important; line-height: 16px !important; }
.rc-userdevice-embed-page .rc-device-table tbody td { height: 27px !important; min-height: 27px !important; padding: 3px 5px !important; font-size: 9px !important; line-height: 16px !important; }
.rc-userdevice-embed-page .rc-device-table input[type='radio'],
.rc-userdevice-embed-page .rc-device-table input[type='checkbox'] { width: 13px; height: 13px; }
.rc-userdevice-embed-page .rc-table-empty { min-height: 64px; font-size: 10px; }

@media(min-width:1280px){
  .rc-userdevice-manager-page .rc-assign-grid { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); align-items: stretch; }
  .rc-userdevice-manager-page .rc-assign-card { margin: 0; }
  .rc-userdevice-manager-page .rc-assign-card__body iframe { height: 430px; }
}

@media(max-width:1279px){
  .rc-userdevice-manager-page .rc-assign-card--users .rc-assign-card__body iframe { height: 165px; }
  .rc-userdevice-manager-page .rc-assign-card--devices .rc-assign-card__body iframe { height: 255px; }
}

@media(max-height:760px) and (min-width:1280px){
  .rc-userdevice-manager-page .rc-assign-card__body iframe { height: 360px; }
}

@media(max-width:760px){
  .rc-userdevice-manager-page .box_right.rc-device-list { padding: 6px 8px 10px !important; }
  .rc-userdevice-manager-page .rc-device-page-heading { align-items: center; flex-direction: row; }
  .rc-userdevice-manager-page .rc-assign-card__head { align-items: center; flex-direction: row; }
  .rc-userdevice-manager-page .rc-assign-card__hint { margin-left: auto; }
  .rc-userdevice-embed-page .rc-list-toolbar__fields { align-items: center; }
}
/* Layout pendant visual refresh 2026-09-29 */
.rc-layout-editor-page .scre2box_left { display:flex; width:72px; box-sizing:border-box; flex-direction:column; align-items:stretch; gap:8px; padding:8px 5px; margin-right:10px; border:1px solid #dbe8e4; border-radius:8px; background:#f7fbf9; box-shadow:0 4px 14px rgba(17,52,43,.045); }
.rc-layout-editor-page .scre2box_left .btn_s { display:flex !important; width:60px !important; min-height:76px; height:auto !important; box-sizing:border-box; margin:0 !important; padding:9px 5px 8px !important; flex-direction:column; align-items:center; justify-content:center; gap:6px; color:#31534c !important; background:#fff !important; border:1px solid #d7e4e0 !important; border-radius:7px !important; box-shadow:none !important; transition:border-color .15s ease,background .15s ease,box-shadow .15s ease,transform .15s ease; }
.rc-layout-editor-page .scre2box_left .btn_s:hover { color:var(--rc-primary) !important; background:#f0f8f5 !important; border-color:#9fc5b9 !important; box-shadow:0 4px 10px rgba(7,93,78,.08) !important; transform:translateY(-1px); }
.rc-layout-editor-page .scre2box_left .btn_s:active { transform:translateY(0); background:#e8f4f0 !important; }
.rc-layout-editor-page .scre2box_left .btn_s img { display:block; width:30px !important; height:30px !important; object-fit:contain; opacity:.88; }
.rc-layout-editor-page .scre2box_left .btn_s span { display:block; color:inherit; font-size:11px; font-weight:600; line-height:1.25; white-space:nowrap; }
.rc-pendant.ui-widget-content { z-index:80 !important; box-sizing:border-box; overflow:visible; background:rgba(255,255,255,.96) !important; border:1px solid rgba(7,93,78,.46) !important; border-radius:7px; box-shadow:0 6px 18px rgba(16,46,39,.14); transition:border-color .15s ease,box-shadow .15s ease; }
.rc-pendant.ui-widget-content:hover { border-color:var(--rc-primary) !important; box-shadow:0 8px 22px rgba(7,93,78,.18); }
.rc-pendant__content { position:relative; display:flex; box-sizing:border-box; overflow:hidden; align-items:center; justify-content:center; color:#43534f; font-size:11px; font-weight:600; line-height:1.35; text-align:center; border-radius:6px; background:linear-gradient(135deg,rgba(7,93,78,.035),rgba(57,122,164,.025)),#fbfdfc; }
.rc-pendant--type-1 .rc-pendant__content:empty::before { content:"图片"; display:inline-flex; min-height:34px; align-items:center; justify-content:center; padding:0 12px; color:var(--rc-primary); background:#e9f4f0; border-radius:17px; }
.rc-pendant--type-1 .rc-pendant__content > img:not([src*="/images/icon/close.png"]) { display:block; width:100% !important; height:100% !important; object-fit:contain; background:#eef3f1; }
.rc-pendant--type-2 .rc-pendant__content > div { display:flex; width:100% !important; height:100% !important; box-sizing:border-box; align-items:center; justify-content:center; padding:10px; border-radius:6px; }
.rc-pendant--type-3 .rc-pendant__content { justify-content:flex-start; gap:9px; padding:10px 12px; background:linear-gradient(135deg,#f6fbf9 0%,#edf6f3 100%); }
.rc-pendant--type-3 .rc-pendant__content > img { width:34px !important; height:34px !important; flex:0 0 34px; box-sizing:border-box; padding:7px; object-fit:contain; background:var(--rc-primary); border-radius:50%; filter:brightness(0) invert(1); box-shadow:0 4px 10px rgba(7,93,78,.18); }
.rc-pendant--type-3 #bgmusic_name { min-width:0; overflow:hidden; color:#31534c; font-size:10px; font-weight:600; line-height:1.35; text-overflow:ellipsis; white-space:nowrap; }
.rc-pendant__close { position:absolute !important; z-index:12; top:-10px !important; right:-10px !important; display:flex; width:24px !important; height:24px !important; box-sizing:border-box; align-items:center; justify-content:center; margin:0 !important; padding:0 !important; color:#fff !important; font-family:Arial,sans-serif; font-size:19px; font-weight:700; line-height:20px; background:#c85147 !important; border:2px solid #fff !important; border-radius:50% !important; box-shadow:0 3px 9px rgba(98,38,33,.24); cursor:pointer; transition:transform .15s ease,background .15s ease; }
.rc-pendant__close span { display:block; height:20px; line-height:18px; transform:translateY(-1px); }
.rc-pendant__close:hover,.rc-pendant__close:focus { color:#fff !important; background:#ad4038 !important; outline:0; transform:scale(1.08); }
.rc-pendant .ui-resizable-handle { opacity:0; transition:opacity .15s ease; }
.rc-pendant:hover .ui-resizable-handle { opacity:1; }
.rc-pendant .ui-resizable-se { right:-4px; bottom:-4px; width:10px; height:10px; background:var(--rc-primary); border:2px solid #fff; border-radius:50%; box-shadow:0 1px 4px rgba(7,93,78,.25); }
.rc-layout-editor-page.rc-rtl .rc-pendant__close { right:auto !important; left:-10px !important; }
/* Open-device self-pay compact refinement 2026-09-29 */
.rc-open-device-page .rc-renew { min-height:0; padding:10px 16px 16px; }
.rc-open-device .breadcrumbs { margin-bottom:7px; }
.rc-open-device .breadcrumb { padding:7px 10px; }
.rc-open-device .rc-renew__heading { margin-bottom:8px; }
.rc-open-device .rc-renew__heading h1 { font-size:18px; line-height:1.3; }
.rc-open-device .rc-renew__heading p { margin-top:2px; font-size:11px; line-height:1.4; }
.rc-open-device .rc-renew__count { min-height:28px; padding:4px 10px; font-size:10px; }
.rc-open-device-status { margin-bottom:8px; padding:8px 11px; }
.rc-open-device-status p { font-size:11px; line-height:1.5; }
.rc-open-device-notice { margin-bottom:8px; }
.rc-open-device-invoice-notice { gap:9px; padding:9px 11px; }
.rc-open-device-invoice-notice .rc-renew-notice__icon { width:26px; height:26px; flex-basis:26px; font-size:12px; }
.rc-open-device-invoice-notice__content { min-width:0; flex:1; }
.rc-open-device-invoice-notice__content h2 { margin:0 0 4px; font-size:12px; }
.rc-open-device-invoice-notice__content ul { margin:0; padding-left:17px; font-size:10px; line-height:1.55; }
.rc-open-device-invoice-notice__content li { margin:1px 0; }
.rc-open-device-invoice-link { display:inline-flex; align-items:center; gap:3px; margin-left:4px; padding:1px 6px; color:var(--rc-primary) !important; font-size:10px; font-weight:700; line-height:18px; text-decoration:none !important; background:#eaf4f1; border:1px solid #c7ddd7; border-radius:10px; white-space:nowrap; }
.rc-open-device-invoice-link:hover { color:#fff !important; background:var(--rc-primary); border-color:var(--rc-primary); }
.rc-open-device-info { margin-bottom:8px; padding:10px 12px; }
.rc-open-device-info > h4 { margin:-10px -12px 8px; padding:8px 10px; font-size:12px; line-height:1.35; }
.rc-open-device-table td { height:34px; padding:5px 9px !important; font-size:10px; line-height:1.4; }
.rc-open-device-table td:nth-child(odd) { width:120px !important; }
.rc-open-device-table .label { min-height:20px; padding:1px 7px; font-size:9px; line-height:18px; }
.rc-open-device-order .RenewWrapP { padding:8px 11px; font-size:12px; line-height:1.35; }
.rc-open-device-order .RenewWrap { margin-bottom:0; padding:10px 11px; }
.rc-open-device-order .RenewTime { grid-template-columns:112px minmax(0,1fr); padding-bottom:9px; }
.rc-open-device-order .RenewTime > span.fl { padding:8px 9px; font-size:10px; line-height:1.4; }
.rc-open-device-order .RenewTime > ul { gap:6px; padding-left:8px; }
.rc-open-device-order .RenewTime > ul > li { min-height:42px; }
.rc-open-device-order .RenewTime > ul > li label { min-height:42px; padding:6px 8px; font-size:10px; line-height:1.35; }
.rc-open-device-order .RenewTime input[type="radio"] { width:13px; height:13px; margin-right:6px; }
.rc-open-device-order .RenewPay { margin-top:9px; padding-bottom:9px; }
.rc-open-device-order .RenewPay > ul { grid-template-columns:repeat(2,minmax(150px,210px)); }
.rc-open-device-order .RenewNeedPay { min-height:58px; margin-top:9px; padding:9px 11px; gap:12px; }
.rc-open-device-order .RenewNeedPay p { margin:1px 0; font-size:10px; line-height:1.4; }
.rc-open-device-order .RenewNeedPay em { font-size:18px; }
.rc-open-device-order .RenewNeedPay > span { min-width:150px; min-height:32px; padding:5px 12px; font-size:11px; line-height:18px; }
.rc-open-device-page.rc-rtl .rc-open-device-invoice-notice__content ul { padding-right:17px; padding-left:0; }
.rc-open-device-page.rc-rtl .rc-open-device-invoice-link { margin-right:4px; margin-left:0; }
@media(max-width:900px){.rc-open-device-page .rc-renew{padding:8px 10px 12px}.rc-open-device-order .RenewTime{grid-template-columns:1fr;gap:5px}.rc-open-device-order .RenewTime>span.fl{text-align:left!important}.rc-open-device-order .RenewTime>ul{padding-left:0}.rc-open-device-order .RenewNeedPay{align-items:stretch;flex-direction:column}.rc-open-device-order .RenewNeedPay>span{width:100%;box-sizing:border-box}.rc-open-device-invoice-notice{align-items:flex-start}}
/* Open-device payment emphasis 2026-09-29 */
.rc-open-device .rc-renew__heading { display:none !important; }
.rc-open-device-status { margin-top:0 !important; }
.rc-open-device-order .RenewPay { margin-top:8px !important; padding:9px 0 !important; background:#fff !important; border-bottom:1px solid var(--rc-border) !important; }
.rc-open-device-order .RenewPay > span.fl { background:#fff !important; }
.rc-open-device-order .RenewPay > ul { display:flex !important; width:auto !important; align-items:stretch; gap:8px !important; padding-left:8px !important; background:#fff !important; }
.rc-open-device-order .RenewPay > ul > li { width:210px !important; min-width:210px !important; min-height:46px !important; height:46px !important; margin:0 !important; padding:0 !important; background:#fff !important; border:0 !important; }
.rc-open-device-order .RenewPay > ul > li label { display:flex !important; width:100% !important; height:46px !important; min-height:46px !important; box-sizing:border-box; align-items:center; justify-content:flex-start; margin:0 !important; padding:7px 11px !important; background:#fff !important; border:1px solid #d8e2df !important; border-radius:6px !important; box-shadow:none !important; transition:border-color .15s ease,background .15s ease,box-shadow .15s ease; }
.rc-open-device-order .RenewPay > ul > li label:hover { border-color:#9fc8bd !important; background:#f7fbf9 !important; }
.rc-open-device-order .RenewPay > ul > li label:has(input:checked), .rc-open-device-order .RenewPay > ul > li label.is-selected { border-color:var(--rc-primary) !important; background:#edf6f3 !important; box-shadow:inset 0 0 0 1px var(--rc-primary) !important; }
.rc-open-device-order .RenewPay input[type="radio"] { width:14px !important; height:14px !important; margin:0 9px 0 0 !important; accent-color:var(--rc-primary); }
.rc-open-device-order .RenewPay .RenewIcon { width:78px !important; height:26px !important; background-size:contain !important; }
.rc-open-device-order .RenewPay .RenewIcon1 { width:112px !important; height:28px !important; background-size:contain !important; }
.rc-open-device-order .RenewNeedPay { position:relative; min-height:64px !important; margin-top:10px !important; padding:11px 13px !important; background:#fff !important; border:1px solid #bfd9d1 !important; border-left:4px solid var(--rc-primary) !important; box-shadow:0 4px 14px rgba(7,93,78,.06); }
.rc-open-device-order .RenewNeedPay > div { flex:1 1 auto; }
.rc-open-device-order .RenewNeedPay #paymoney { color:#55635f; font-size:11px !important; font-weight:600; }
.rc-open-device-order .RenewNeedPay #paymoney em { margin-left:4px; color:#e06b18 !important; font-size:24px !important; line-height:1.2; }
.rc-open-device-order .RenewNeedPay #expirdata { margin-top:4px !important; color:#7a8682; }
.rc-open-device-order .RenewNeedPay #expirdata font { color:#c85147 !important; font-weight:700; }
.rc-open-device-order .RenewNeedPay > span { min-width:170px !important; min-height:36px !important; padding:7px 16px !important; background:var(--rc-primary) !important; border-radius:5px !important; font-size:12px !important; font-weight:700; box-shadow:0 4px 10px rgba(7,93,78,.12); transition:background .15s ease,transform .15s ease; }
.rc-open-device-order .RenewNeedPay > span:hover { background:var(--rc-primary-hover) !important; transform:translateY(-1px); }
.rc-open-device-page.rc-rtl .rc-open-device-order .RenewPay > ul { padding-right:8px !important; padding-left:0 !important; }
.rc-open-device-page.rc-rtl .rc-open-device-order .RenewPay input[type="radio"] { margin-right:0 !important; margin-left:9px !important; }
.rc-open-device-page.rc-rtl .rc-open-device-order .RenewNeedPay { border-right:4px solid var(--rc-primary) !important; border-left:1px solid #bfd9d1 !important; }
@media(max-width:760px){.rc-open-device-order .RenewPay>ul{flex-direction:column}.rc-open-device-order .RenewPay>ul>li{width:100%!important;min-width:0!important}.rc-open-device-order .RenewNeedPay{border-left-width:1px!important}.rc-open-device-page.rc-rtl .rc-open-device-order .RenewNeedPay{border-right-width:1px!important}}
/* Storage purchase UX refresh 2026-09-29 */
.rc-space-purchase { padding:12px 16px 20px; }
.rc-space-purchase .breadcrumbs { margin-bottom:8px; }
.rc-space-purchase .breadcrumb { margin:0 !important; padding:7px 10px; }
.rc-space-intro { display:flex; align-items:flex-start; gap:10px; margin:0 0 8px; padding:10px 12px; color:#43534f; background:#fff; border:1px solid var(--rc-border); border-radius:6px; box-shadow:0 3px 12px rgba(17,52,43,.04); }
.rc-space-intro__icon { display:inline-flex; width:30px; height:30px; flex:0 0 30px; align-items:center; justify-content:center; color:#fff; font-size:14px; background:var(--rc-primary); border-radius:50%; }
.rc-space-intro strong { display:block; margin:0 0 2px; color:var(--rc-text); font-size:12px; }
.rc-space-intro p { margin:0; color:#64716d; font-size:10px; line-height:1.55; }
.rc-space-invoice-notice { display:flex; align-items:flex-start; gap:9px; margin:0 0 8px; padding:9px 11px; color:#715f3f; background:#fffaf0; border:1px solid #eadbb9; border-left:4px solid var(--rc-warning); border-radius:6px; }
.rc-space-invoice-notice__icon { display:inline-flex; width:26px; height:26px; flex:0 0 26px; align-items:center; justify-content:center; color:#8b641c; font-size:12px; background:#fff0cf; border-radius:50%; }
.rc-space-invoice-notice strong { display:block; margin-bottom:3px; color:#77551a; font-size:12px; }
.rc-space-invoice-notice ul { margin:0; padding-left:17px; font-size:10px; line-height:1.55; }
.rc-space-invoice-notice li { margin:1px 0; }
.rc-space-invoice-link { display:inline-flex; align-items:center; gap:3px; margin-left:4px; padding:1px 6px; color:var(--rc-primary) !important; font-size:10px; font-weight:700; line-height:18px; text-decoration:none !important; background:#eaf4f1; border:1px solid #c7ddd7; border-radius:10px; white-space:nowrap; }
.rc-space-invoice-link:hover { color:#fff !important; background:var(--rc-primary); border-color:var(--rc-primary); }
.rc-space-heading { margin-bottom:8px; padding:10px 12px; }
.rc-space-heading__icon { width:32px; height:32px; flex-basis:32px; }
.rc-space-heading h1 { font-size:15px; }
.rc-space-heading p { font-size:10px; }
.rc-space-options { margin-bottom:10px; }
.rc-space-options td { padding:10px 12px; }
.rc-space-options .rc-space-options__label { width:130px; padding-top:14px; font-size:11px; }
.rc-space-current > div { min-height:40px; padding:7px 10px; }
.rc-space-current span { font-size:10px; }
.rc-space-current strong { font-size:13px; }
.rc-space-usage-guide { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 8px; padding:8px 10px; background:#f7faf9; border:1px solid #dce6e2; border-radius:5px; }
.rc-space-usage-guide__copy { min-width:0; }
.rc-space-usage-guide__copy strong { display:block; margin-bottom:2px; color:#2f3c38; font-size:11px; }
.rc-space-usage-guide__copy span { display:block; color:#78847f; font-size:9px; line-height:1.4; }
.rc-space-usage-switch { display:flex; flex:0 0 auto; align-items:center; gap:5px; }
.rc-space-usage-switch button { display:inline-flex; align-items:center; gap:5px; min-height:28px; margin:0; padding:4px 8px; color:#52625d; font:600 9px/18px var(--rc-font); background:#fff; border:1px solid #d4dfdb; border-radius:4px; box-shadow:none; cursor:pointer; }
.rc-space-usage-switch button:hover { color:var(--rc-primary); border-color:#a8c7be; background:#f8fbfa; }
.rc-space-usage-switch button.is-active { color:#fff; background:var(--rc-primary); border-color:var(--rc-primary); }
.rc-space-estimate-note { display:flex; align-items:center; gap:5px; margin:0 0 8px; color:#7b8782; font-size:9px; line-height:1.45; }
.rc-space-estimate-note i { color:#9aa6a1; }
.rc-space-plan-list { grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:8px; }
.rc-space-plan { min-height:118px; padding:10px 32px 10px 10px !important; align-items:stretch; flex-direction:column; gap:7px; border-radius:6px; }
.rc-space-plan__top { display:flex; align-items:baseline; justify-content:space-between; gap:8px; width:100%; }
.rc-space-plan__top strong { color:var(--rc-text); font-size:15px; font-weight:700; line-height:1.2; }
.rc-space-plan__top small { margin:0; color:#a4640d; font-size:10px; font-weight:700; white-space:nowrap; }
.rc-space-plan__estimates { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; width:100%; }
.rc-space-plan__estimate { display:flex; min-width:0; min-height:36px; box-sizing:border-box; align-items:center; gap:4px; padding:6px 7px; color:#60706b; background:#f7faf9; border:1px solid #e2e9e6; border-radius:5px; transition:border-color .15s ease,background .15s ease,color .15s ease; }
.rc-space-plan__estimate i { color:#7d918a; font-size:12px; }
.rc-space-plan__estimate b { color:#2f403b; font-size:12px; }
.rc-space-plan__estimate em { overflow:hidden; font-size:9px; font-style:normal; text-overflow:ellipsis; white-space:nowrap; }
.rc-space-plan-list[data-usage-mode="image"] .rc-space-plan__estimate--image, .rc-space-plan-list[data-usage-mode="video"] .rc-space-plan__estimate--video { color:var(--rc-primary); background:#eaf4f1; border-color:#b9d5cc; }
.rc-space-plan-list[data-usage-mode="image"] .rc-space-plan__estimate--image i, .rc-space-plan-list[data-usage-mode="image"] .rc-space-plan__estimate--image b, .rc-space-plan-list[data-usage-mode="video"] .rc-space-plan__estimate--video i, .rc-space-plan-list[data-usage-mode="video"] .rc-space-plan__estimate--video b { color:var(--rc-primary); }
.rc-space-plan-list[data-usage-mode="image"] .rc-space-plan__estimate--video, .rc-space-plan-list[data-usage-mode="video"] .rc-space-plan__estimate--image { opacity:.58; }
.rc-space-plan__recommend { display:inline-flex; align-self:flex-start; min-height:20px; align-items:center; padding:1px 7px; color:#596761; font-size:9px; font-weight:600; background:#eef2f0; border-radius:10px; }
.rc-space-plan:has(input:checked) .rc-space-plan__recommend, .rc-space-plan.is-selected .rc-space-plan__recommend { color:var(--rc-primary); background:#dfeee9; }
.rc-space-periods { gap:6px; }
.rc-space-period { min-height:32px; padding:5px 10px !important; font-size:10px; }
.rc-space-period strong { font-size:12px; }
.rc-space-checkout { grid-template-columns:minmax(0,1fr) 300px; gap:10px; }
.rc-space-payment { padding:11px !important; }
.rc-space-payment > span.fl { margin-bottom:7px !important; font-size:11px; }
.rc-space-payment ul { grid-template-columns:repeat(2,minmax(150px,210px)); gap:7px; }
.rc-payment-option { min-height:44px; padding:7px 10px !important; }
.rc-space-summary { padding:12px !important; }
.rc-space-summary > div { margin-bottom:9px; padding-bottom:9px; }
.rc-space-summary #cost { font-size:10px; }
.rc-space-summary #cost em { font-size:20px !important; }
.rc-space-summary #spacePurchaseSubmit { min-height:34px; font-size:11px; }
.rc-space-page.rc-rtl .rc-space-invoice-notice { border-right:4px solid var(--rc-warning); border-left-width:1px; }
.rc-space-page.rc-rtl .rc-space-invoice-notice ul { padding-right:17px; padding-left:0; }
.rc-space-page.rc-rtl .rc-space-invoice-link { margin-right:4px; margin-left:0; }
@media(max-width:980px){.rc-space-usage-guide{align-items:flex-start;flex-direction:column}.rc-space-usage-switch{width:100%;flex-wrap:wrap}.rc-space-checkout{grid-template-columns:1fr}.rc-space-plan-list{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}}
@media(max-width:680px){.rc-space-purchase{padding:8px 10px 14px}.rc-space-options,.rc-space-options tbody,.rc-space-options tr,.rc-space-options td{display:block;width:100%!important}.rc-space-options .rc-space-options__label{text-align:left;padding:8px 10px;background:#f7f9f8}.rc-space-plan-list{grid-template-columns:1fr}.rc-space-usage-switch button{flex:1 1 auto;justify-content:center}.rc-space-plan__estimates{grid-template-columns:1fr 1fr}}
/* Storage checkout row alignment 2026-09-29 */
.rc-space-checkout { align-items:stretch !important; }
.rc-space-payment { display:grid !important; grid-template-columns:110px minmax(0,1fr); align-items:center; min-height:96px; height:100%; box-sizing:border-box; padding:12px !important; }
.rc-space-payment > span.fl { float:none !important; display:flex !important; height:100%; min-height:68px; box-sizing:border-box; align-items:center; margin:0 12px 0 0 !important; padding:0 12px 0 0; color:var(--rc-text); font-size:11px; font-weight:700; border-right:1px solid var(--rc-border); }
.rc-space-payment ul { display:grid !important; grid-template-columns:repeat(2,minmax(180px,230px)); align-items:center; align-content:center; gap:8px; width:100%; margin:0 !important; padding:0 !important; }
.rc-space-payment li { display:flex; align-items:center; min-height:46px !important; height:46px !important; }
.rc-space-payment .rc-payment-option { width:100%; min-height:46px !important; height:46px; box-sizing:border-box; margin:0 !important; padding:7px 10px !important; }
.rc-space-summary { min-height:96px; height:100%; box-sizing:border-box; justify-content:center; }
.rc-space-summary > div { margin-bottom:8px !important; padding-bottom:8px !important; }
.rc-space-summary #spacePurchaseSubmit { min-height:36px; }
.rc-space-page.rc-rtl .rc-space-payment > span.fl { margin-right:0 !important; margin-left:12px !important; padding-right:0; padding-left:12px; border-right:0; border-left:1px solid var(--rc-border); }
@media(max-width:980px){.rc-space-payment{grid-template-columns:100px minmax(0,1fr)}.rc-space-payment ul{grid-template-columns:repeat(2,minmax(150px,1fr))}}
@media(max-width:680px){.rc-space-payment{grid-template-columns:1fr;gap:8px;min-height:0}.rc-space-payment>span.fl{min-height:0;height:auto;margin:0!important;padding:0 0 7px!important;border-right:0!important;border-left:0!important;border-bottom:1px solid var(--rc-border)}.rc-space-payment ul{grid-template-columns:1fr}.rc-space-payment li,.rc-space-payment .rc-payment-option{height:44px!important;min-height:44px!important}.rc-space-summary{min-height:0}}
/* Storage purchase unified panel 2026-09-29 */
.rc-space-purchase-panel { width:100%; box-sizing:border-box; overflow:hidden; background:#fff; border:1px solid #dce5e2; border-radius:7px; box-shadow:0 4px 14px rgba(17,52,43,.045); }
.rc-space-purchase-panel .rc-space-options { width:100%; margin:0 !important; border:0 !important; border-radius:0 !important; box-shadow:none !important; background:#fff; }
.rc-space-purchase-panel .rc-space-options tr:first-child td { border-top:0 !important; }
.rc-space-purchase-panel .rc-space-options tr:last-child td { border-bottom:0 !important; }
.rc-space-purchase-panel .rc-space-checkout { margin:0 !important; padding:0 !important; gap:0 !important; background:#fff !important; border:0 !important; border-top:1px solid var(--rc-border) !important; border-radius:0 !important; box-shadow:none !important; }
.rc-space-purchase-panel .rc-space-payment { margin:0 !important; border:0 !important; border-radius:0 !important; box-shadow:none !important; background:#fff !important; }
.rc-space-purchase-panel .rc-space-summary { margin:0 !important; border:0 !important; border-left:1px solid var(--rc-border) !important; border-radius:0 !important; box-shadow:none !important; background:#fff !important; }
.rc-space-purchase-panel .rc-space-current > div, .rc-space-purchase-panel .rc-space-usage-guide, .rc-space-purchase-panel .rc-space-plan, .rc-space-purchase-panel .rc-space-period, .rc-space-purchase-panel .rc-payment-option { box-shadow:none !important; }
.rc-space-page.rc-rtl .rc-space-purchase-panel .rc-space-summary { border-left:0 !important; border-right:1px solid var(--rc-border) !important; }
@media(max-width:980px){.rc-space-purchase-panel .rc-space-summary{border-left:0!important;border-right:0!important;border-top:1px solid var(--rc-border)!important}.rc-space-page.rc-rtl .rc-space-purchase-panel .rc-space-summary{border-right:0!important;border-top:1px solid var(--rc-border)!important}}
/* Storage estimate clarity refinement 2026-09-29 */
.rc-space-estimate-note--important { align-items:flex-start; margin:0 0 9px; padding:7px 9px; color:#596761; background:#f6faf8; border:1px solid #dbe7e2; border-radius:5px; font-size:9px; line-height:1.5; }
.rc-space-estimate-note--important i { margin-top:2px; color:var(--rc-primary); }
.rc-space-estimate-note--important span { min-width:0; }
.rc-space-estimate-note--important strong { color:#33433e; font-size:9px; font-weight:700; }
.rc-space-plan { min-height:162px; }
.rc-space-plan__reference-head { display:flex; width:100%; align-items:center; justify-content:space-between; gap:6px; margin-top:1px; color:#74817c; font-size:9px; line-height:1.3; }
.rc-space-plan__reference-head > span { font-weight:700; color:#57655f; }
.rc-space-plan__reference-head > em { padding:1px 6px; color:#73817c; font-size:8px; font-style:normal; background:#eef2f0; border-radius:9px; white-space:nowrap; }
.rc-space-plan__estimates { display:grid; grid-template-columns:1fr !important; gap:4px; width:100%; }
.rc-space-plan__estimate { display:grid; grid-template-columns:26px minmax(0,1fr); min-height:42px; padding:5px 7px; align-items:center; gap:7px; background:#fafcfb; border:1px solid #e6ece9; border-radius:5px; }
.rc-space-plan__estimate-icon { display:inline-flex; width:26px; height:26px; align-items:center; justify-content:center; color:#6c8079; background:#eef3f1; border-radius:50%; }
.rc-space-plan__estimate-icon i { color:inherit; font-size:11px; }
.rc-space-plan__estimate-copy { display:flex; min-width:0; flex-direction:column; gap:1px; }
.rc-space-plan__estimate-copy small { overflow:hidden; color:#8a9691; font-size:8px; font-weight:400; line-height:1.25; text-overflow:ellipsis; white-space:nowrap; }
.rc-space-plan__estimate-copy strong { color:#40504b; font-size:10px; font-weight:600; line-height:1.3; }
.rc-space-plan__estimate-copy b { color:#263630; font-size:12px; font-weight:700; }
.rc-space-plan-list[data-usage-mode="image"] .rc-space-plan__estimate--image, .rc-space-plan-list[data-usage-mode="video"] .rc-space-plan__estimate--video { background:#f0f7f4; border-color:#c8ddd6; }
.rc-space-plan-list[data-usage-mode="image"] .rc-space-plan__estimate--image .rc-space-plan__estimate-icon, .rc-space-plan-list[data-usage-mode="video"] .rc-space-plan__estimate--video .rc-space-plan__estimate-icon { color:var(--rc-primary); background:#dfeee9; }
.rc-space-plan-list[data-usage-mode="image"] .rc-space-plan__estimate--image strong, .rc-space-plan-list[data-usage-mode="image"] .rc-space-plan__estimate--image b, .rc-space-plan-list[data-usage-mode="video"] .rc-space-plan__estimate--video strong, .rc-space-plan-list[data-usage-mode="video"] .rc-space-plan__estimate--video b { color:var(--rc-primary); }
.rc-space-plan-list[data-usage-mode="image"] .rc-space-plan__estimate--video, .rc-space-plan-list[data-usage-mode="video"] .rc-space-plan__estimate--image { opacity:.62; }
.rc-space-plan__recommend { margin-top:auto; }
@media(max-width:680px){.rc-space-plan{min-height:0}.rc-space-plan__estimate-copy small{white-space:normal}}
/* Device renewal i18n visual cleanup 2026-09-29 */
.rc-open-device-pay-brand { display:inline-flex; min-width:96px; align-items:center; justify-content:center; padding:4px 10px; color:#33423e; font-size:12px; font-weight:700; line-height:20px; background:#fff; border:1px solid #d7e2de; border-radius:4px; }
.rc-open-device-pay-brand--alipay::before, .rc-open-device-pay-brand--wechat::before { display:inline-flex; width:18px; height:18px; align-items:center; justify-content:center; margin-right:6px; color:#fff; font-size:10px; font-weight:800; border-radius:50%; }
.rc-open-device-pay-brand--alipay::before { content:"A"; background:#1677ff; }
.rc-open-device-pay-brand--wechat::before { content:"W"; background:#09bb07; }
.rc-open-device-discount { display:inline-flex; margin-left:6px; padding:1px 6px; color:#a45f0f; font-size:10px; font-weight:700; line-height:18px; background:#fff4df; border:1px solid #edd5a9; border-radius:10px; white-space:nowrap; }
.rc-open-device-page.rc-rtl .rc-open-device-pay-brand--alipay::before, .rc-open-device-page.rc-rtl .rc-open-device-pay-brand--wechat::before { margin-right:0; margin-left:6px; }
.rc-open-device-page.rc-rtl .rc-open-device-discount { margin-right:6px; margin-left:0; }
/* Device list status note and footer alignment 2026-09-29 */
.rc-device-status-note { display:flex; min-width:0; min-height:46px; align-items:center; gap:10px; margin:0; padding:7px 12px; box-sizing:border-box; color:#6b5a38; background:#fffaf0; border:1px solid #eadbb9; border-bottom:0; }
.rc-device-status-note__icon { display:inline-flex; width:26px; height:26px; flex:0 0 26px; align-items:center; justify-content:center; color:#946a1d; background:#fff0cf; border-radius:50%; }
.rc-device-status-note__icon i { margin:0; font-size:12px; }
.rc-device-status-note__content { display:flex; min-width:0; flex:1 1 auto; align-items:center; gap:10px; overflow:hidden; }
.rc-device-status-note strong { display:inline; flex:0 0 auto; margin:0; color:#6f531d; font-size:12px; font-weight:700; line-height:1.5; white-space:nowrap; }
.rc-device-status-note p { min-width:0; flex:1 1 auto; margin:0; overflow:hidden; color:#6f6758; font-size:12px; line-height:1.5; text-overflow:ellipsis; white-space:nowrap; }
.rc-device-status-note__dismiss { display:inline-flex; min-height:28px; flex:0 0 auto; align-items:center; justify-content:center; gap:5px; margin:0 0 0 auto; padding:4px 9px; color:#776340; font-size:11px; line-height:18px; background:rgba(255,255,255,.72); border:1px solid #e2d2ae; border-radius:4px; cursor:pointer; }
.rc-device-status-note__dismiss:hover { color:#8d4f18; background:#fff; border-color:#d9bf8b; }
.rc-device-status-note__dismiss i { margin:0; font-size:11px; }
.rc-device-status-note--expired { color:#73554e; background:#fff8f6; border-color:#ecd8d2; }
.rc-device-status-note--expired .rc-device-status-note__icon { color:#a64b42; background:#fbe7e3; }
.rc-device-status-note--expired strong { color:#8d4038; }
.rc-device-status-note--expired .rc-device-status-note__dismiss { color:#8d5149; border-color:#e5cbc5; }
.rc-device-status-note + .rc-device-table-wrap { border-radius:0 0 var(--rc-radius) var(--rc-radius); }
.rc-device-list .rc-bulk-toolbar { display:grid !important; grid-template-columns:minmax(0,1fr) max-content; align-items:center; gap:10px; flex-wrap:nowrap !important; min-height:52px; }
.rc-device-list .rc-bulk-toolbar__actions { display:flex; min-width:0; align-items:center; flex-wrap:wrap; gap:6px; }
.rc-device-list .rc-bulk-toolbar__actions > .martop10 { display:flex; align-items:center; min-height:30px; }
.rc-device-list .rc-bulk-toolbar > .rc-device-pagination { flex:none !important; min-width:max-content; margin:0 !important; align-self:center; }
.rc-device-list .rc-bulk-toolbar .page { margin-top:0 !important; }
.rc-device-page.rc-rtl .rc-device-list .rc-bulk-toolbar > .rc-device-pagination { margin:0 !important; }
.rc-device-page.rc-rtl .rc-device-status-note { direction:rtl; text-align:right; }
.rc-device-page.rc-rtl .rc-device-status-note__dismiss { margin-right:auto; margin-left:0; }
@media(max-width:760px){.rc-device-list .rc-bulk-toolbar{grid-template-columns:1fr}.rc-device-list .rc-bulk-toolbar>.rc-device-pagination{justify-content:flex-start;min-width:0;width:100%}.rc-device-page.rc-rtl .rc-device-list .rc-bulk-toolbar>.rc-device-pagination{justify-content:flex-end}.rc-device-status-note__dismiss span{display:none}.rc-device-status-note__dismiss{width:28px;padding:4px}}
/* Layout editor side-toolbar clearance 2026-09-29 */
.rc-layout-editor-page .rc-layout-editor .scre2_box { padding-left:102px !important; }
.rc-layout-editor-page .rc-layout-editor .scre2box_left { position:absolute !important; top:18px !important; left:14px !important; z-index:30 !important; width:72px !important; margin:0 !important; }
.rc-layout-editor-page .rc-layout-editor .scre2box_c, .rc-layout-editor-page .rc-layout-editor .scre2box_t { position:relative; z-index:1; }
@media(max-width:900px){.rc-layout-editor-page .rc-layout-editor .scre2_box{padding-left:94px!important}.rc-layout-editor-page .rc-layout-editor .scre2box_left{left:10px!important}}
/* Batch intercut workbench scheme A 2026-09-29 */
.rc-file-layout-page .rc-file-layout-hero { display:block !important; }
.rc-batch-resource-workbench { margin:0 0 12px; padding:14px; background:#fff; border:1px solid var(--rc-border); border-radius:9px; box-shadow:0 3px 12px rgba(17,52,43,.045); }
.rc-batch-resource-workbench__head { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:12px; padding-bottom:11px; border-bottom:1px solid #e8eeec; }
.rc-batch-resource-workbench__identity { display:flex; min-width:0; align-items:baseline; gap:10px; }
.rc-batch-resource-workbench__identity strong { color:var(--rc-text); font-size:15px; font-weight:700; }
.rc-batch-resource-workbench__identity span { color:var(--rc-muted); font-size:11px; white-space:nowrap; }
.rc-batch-resource-workbench__controls { display:flex; align-items:center; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.rc-batch-resource-workbench__controls .rc-btn:disabled,.rc-batch-resource-workbench__controls .rc-btn.is-disabled { opacity:.48; cursor:not-allowed; box-shadow:none; }
.rc-batch-image-time { display:inline-flex; min-height:34px; align-items:center; gap:6px; margin:0; padding:4px 8px; color:#44534f; font-size:11px; font-weight:600; background:#f7faf9; border:1px solid #dce6e2; border-radius:6px; }
.rc-batch-image-time input { width:68px; height:28px; margin:0; padding:3px 7px; box-sizing:border-box; text-align:center; border:1px solid #cbd8d4; border-radius:4px; box-shadow:none; }
.rc-batch-image-time em { color:var(--rc-muted); font-size:10px; font-style:normal; font-weight:400; }
.rc-batch-resource-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:10px; min-width:0; }
.rc-batch-resource-card { display:grid; grid-template-columns:74px minmax(0,1fr); grid-template-areas:"preview body" "actions actions"; min-width:0; overflow:hidden; background:#fbfcfc; border:1px solid #dfe7e4; border-radius:7px; transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease; }
.rc-batch-resource-card:hover { border-color:#bdd3cc; box-shadow:0 5px 13px rgba(17,52,43,.065); transform:translateY(-1px); }
.rc-batch-resource-card__preview { grid-area:preview; display:flex; width:74px; height:74px; align-items:center; justify-content:center; padding:5px; background:#f1f5f3; border-right:1px solid #e2e9e6; }
.rc-batch-resource-card__preview img { display:block; max-width:100%; max-height:100%; object-fit:contain; border-radius:3px; }
.rc-batch-resource-card__body { grid-area:body; display:flex; min-width:0; padding:9px 10px 7px; flex-direction:column; justify-content:center; gap:7px; }
.rc-batch-resource-card__body strong { overflow:hidden; color:var(--rc-text); font-size:11px; font-weight:700; line-height:1.4; text-overflow:ellipsis; white-space:nowrap; }
.rc-batch-resource-card__meta { display:flex; min-width:0; align-items:center; gap:6px; flex-wrap:wrap; }
.rc-batch-resource-card__meta span { display:inline-flex; min-height:20px; align-items:center; padding:1px 7px; font-size:9px; font-weight:700; border-radius:10px; }
.rc-batch-resource-card__meta .is-image { color:#176b58; background:#e5f2ee; }
.rc-batch-resource-card__meta .is-video { color:#356d91; background:#e7f0f6; }
.rc-batch-resource-card__meta .is-pdf { color:#8a5c2c; background:#f7ede1; }
.rc-batch-resource-card__meta em { overflow:hidden; color:#687670; font-size:9px; font-style:normal; line-height:1.4; text-overflow:ellipsis; white-space:nowrap; }
.rc-batch-resource-card__actions { grid-area:actions; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-top:1px solid #e5ebe9; background:#fff; }
.rc-batch-resource-card__actions button { display:inline-flex; min-width:0; height:30px; align-items:center; justify-content:center; gap:4px; margin:0; padding:0 5px; color:#52635d; font-size:9px; font-weight:600; background:#fff; border:0; border-right:1px solid #e8eeec; cursor:pointer; }
.rc-batch-resource-card__actions button:last-child { border-right:0; }
.rc-batch-resource-card__actions button:hover { color:var(--rc-primary); background:#f2f8f5; }
.rc-batch-resource-card__actions button.is-remove:hover { color:#a8453d; background:#fff4f3; }
.rc-batch-resource-card__actions i { margin:0; }
.rc-batch-resource-empty { display:flex; min-height:92px; align-items:center; justify-content:center; gap:8px; color:#7b8782; font-size:11px; background:#fafcfc; border:1px dashed #cedbd6; border-radius:7px; }
.rc-batch-resource-empty i { color:#8ca29b; font-size:18px; }
.rc-file-layout-page .rc-file-layout-notice { margin:0 0 12px !important; }
.rc-file-layout-page .rc-file-layout-notice-card { min-height:0; }
.rc-batch-resource-picker { width:100%; height:100%; overflow:hidden; }
.rc-batch-resource-picker iframe { display:block; width:100%; height:100%; border:0; background:#fff; }
.rc-resource-picker-dialog .ui-dialog-content { padding:0 !important; overflow:hidden !important; }
.rc-file-layout-page.rc-rtl .rc-batch-resource-card__preview { border-right:0; border-left:1px solid #e2e9e6; }
.rc-file-layout-page.rc-rtl .rc-batch-resource-card__actions button { border-right:0; border-left:1px solid #e8eeec; }
.rc-file-layout-page.rc-rtl .rc-batch-resource-card__actions button:last-child { border-left:0; }
@media(max-width:900px){.rc-batch-resource-workbench__head{align-items:flex-start;flex-direction:column}.rc-batch-resource-workbench__controls{width:100%;justify-content:flex-start}.rc-batch-resource-list{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}}
@media(max-width:560px){.rc-batch-resource-list{grid-template-columns:1fr}.rc-batch-image-time{width:100%;justify-content:space-between}.rc-batch-resource-workbench__controls .rc-btn{flex:1 1 auto;justify-content:center}}

/* Party building content management */
.rc-party-content-page .box_right { padding-bottom: 22px; }
.rc-party-content-page .breadcrumbs { margin-bottom: 12px; }
.rc-party-content-workspace { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 14px; align-items: stretch; width: 100%; }
.rc-party-content-page .rc-party-tree-panel { float: none !important; width: auto !important; min-width: 0; margin: 0 !important; overflow: hidden; border: 1px solid var(--rc-border) !important; border-radius: 7px; background: #fff; box-shadow: var(--rc-shadow); }
.rc-party-tree-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 14px; border-bottom: 1px solid #e5ece9; background: #f8faf9; }
.rc-party-tree-head > div { min-width: 0; }
.rc-party-tree-head strong { display: block; margin: 0; color: var(--rc-text); font-size: 13px; line-height: 1.4; }
.rc-party-tree-head span { display: block; margin-top: 2px; overflow: hidden; color: var(--rc-muted); font-size: 10px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.rc-party-preview-btn { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; gap: 4px; min-height: 30px; padding: 4px 9px; color: var(--rc-primary); font-size: 11px; font-weight: 600; line-height: 20px; text-decoration: none; border: 1px solid #bdd3cc; border-radius: 4px; background: #fff; }
.rc-party-preview-btn:hover,.rc-party-preview-btn.is-active { color: #fff; text-decoration: none; border-color: var(--rc-primary); background: var(--rc-primary); }
.rc-party-preview-btn i { margin: 0; }
.rc-party-content-page .rc-party-tree-scroll { width: 100%; height: calc(100vh - 278px) !important; min-height: 540px; overflow: auto; box-sizing: border-box; padding: 10px; }
.rc-party-content-page .rc-party-tree { width: 100%; }
.rc-party-content-page .rc-party-tree > ul { padding: 0; margin: 0; }
.rc-party-content-page .rc-party-tree ul { margin-top: 0; padding-left: 0; }
.rc-party-content-page .rc-party-tree li { margin: 0 0 4px; }
.rc-party-content-page .rc-party-tree .close_menu,
.rc-party-content-page .rc-party-tree .open_menu { display: flex; align-items: center; min-height: 34px; padding: 0 6px; overflow: visible; border-radius: 5px; transition: background-color .15s ease; }
.rc-party-content-page .rc-party-tree .close_menu:hover,
.rc-party-content-page .rc-party-tree .open_menu:hover { background: #f2f7f5; }
.rc-party-content-page .rc-party-tree .close_menu span,
.rc-party-content-page .rc-party-tree .open_menu span { display: inline-flex; float: none; align-items: center; justify-content: center; flex: 0 0 20px; width: 20px; height: 20px; margin-right: 3px; color: #6e7d78; font-size: 14px; line-height: 20px; cursor: pointer; opacity: 1; background: none !important; border: 1px solid #d5dfdb; border-radius: 3px; }
.rc-party-content-page .rc-party-tree .close_menu span::before { content: "+"; }
.rc-party-content-page .rc-party-tree .open_menu span::before { content: "\2212"; }
.rc-party-content-page .rc-party-tree a { display: block; flex: 1 1 auto; min-width: 0; height: auto; padding: 5px 7px; overflow: hidden; color: #4f5f5a; font-size: 12px; line-height: 20px; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; border-radius: 4px; }
.rc-party-content-page .rc-party-tree a:hover { color: var(--rc-primary); background: #edf6f2; }
.rc-party-content-page .rc-party-tree a.is-active { color: var(--rc-primary); font-weight: 600; background: #e6f2ee; }
.rc-party-tree-section-item { margin-top: 10px !important; padding-top: 10px; border-top: 1px solid #edf1ef; }
.rc-party-tree-section { display: flex; align-items: center; gap: 6px; min-height: 32px; margin-bottom: 5px; padding: 0 9px; color: var(--rc-primary); font-size: 12px; font-weight: 600; background: #eaf4f1; border-radius: 5px; }
.rc-party-tree-section i { margin: 0; }
.rc-party-tree-submenu { padding-left: 8px !important; }
.rc-party-tree-submenu .close_menu { padding-left: 4px !important; }
.rc-party-content-panel { min-width: 0; overflow: hidden; border: 1px solid var(--rc-border); border-radius: 7px; background: #fff; box-shadow: var(--rc-shadow); }
.rc-party-content-panel iframe { display: block; width: 100%; min-height: 620px; border: 0; background: #fff; }

/* Party building iframe: category management */
.rc-party-menu-page { margin: 0; padding: 0; color: var(--rc-text); background: #fff; }
.rc-party-menu-page .backstageHome-2 { min-width: 0; background: #fff; }
.rc-party-menu-page .box_right { float: none !important; width: 100% !important; min-width: 0; margin: 0 !important; padding: 15px 16px 18px; box-sizing: border-box; background: #fff; }
.rc-party-menu-header { display: flex; align-items: center; justify-content: space-between; min-height: 42px; margin: 0 0 10px; }
.rc-party-menu-header h2 { margin: 0; color: var(--rc-text); font-size: 16px; font-weight: 600; line-height: 1.4; }
.rc-party-menu-header p { margin: 2px 0 0; color: var(--rc-muted); font-size: 10px; line-height: 1.5; }
.rc-party-menu-tip { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 11px; padding: 9px 11px; color: #52655f; background: #f3f8f6; border: 1px solid #d8e6e1; border-left: 3px solid var(--rc-primary); border-radius: 5px; }
.rc-party-menu-tip > i { flex: 0 0 auto; margin-top: 2px; color: var(--rc-primary); }
.rc-party-menu-tip strong { display: inline-block; margin-right: 8px; color: var(--rc-primary); font-size: 11px; }
.rc-party-menu-tip span { color: #63726d; font-size: 10px; line-height: 1.6; }
.rc-party-menu-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin: 0 0 11px; padding: 10px 11px; background: #fafcfc; border: 1px solid #e2e9e6; border-radius: 6px; }
.rc-party-menu-filters { display: grid; gap: 7px; min-width: 0; }
.rc-party-filter-row { display: flex; align-items: center; gap: 9px; min-height: 28px; }
.rc-party-filter-row > span { flex: 0 0 34px; color: #687771; font-size: 11px; font-weight: 600; }
.rc-party-filter-options { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.rc-party-filter { display: inline-flex; align-items: center; justify-content: center; min-width: 56px; min-height: 27px; padding: 3px 10px; box-sizing: border-box; color: #5d6d67; font-size: 11px; line-height: 19px; text-decoration: none; background: #fff; border: 1px solid #d7e0dd; border-radius: 4px; }
.rc-party-filter:hover { color: var(--rc-primary); text-decoration: none; border-color: #aac6bd; background: #f1f7f5; }
.rc-party-filter.is-active { color: #fff; font-weight: 600; border-color: var(--rc-primary); background: var(--rc-primary); }
.rc-party-add-btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; flex: 0 0 auto; min-height: 32px; margin: 0; padding: 5px 12px; }
.rc-party-add-btn i { margin: 0; }
.rc-party-menu-table-wrap { overflow: hidden; border: 1px solid #dfe7e4; border-radius: 6px; }
.rc-party-menu-table { width: 100%; margin: 0 !important; border: 0 !important; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.rc-party-menu-table thead th { height: 38px; padding: 7px 9px !important; color: #42514c; font-size: 11px; font-weight: 600; text-align: center; vertical-align: middle; background: #f2f5f4 !important; border-top: 0 !important; border-left: 0 !important; border-color: #dfe7e4 !important; }
.rc-party-menu-table thead th:last-child { border-right: 0 !important; }
.rc-party-menu-table tbody td { min-height: 42px; padding: 8px 9px !important; color: #53635d; font-size: 11px; line-height: 20px !important; text-align: center; vertical-align: middle; background: #fff; border-left: 0 !important; border-color: #e8eeec !important; }
.rc-party-menu-table tbody tr:hover td { background: #fafcfb; }
.rc-party-menu-table tbody tr:last-child td { border-bottom: 0 !important; }
.rc-party-menu-table .label,.rc-party-menu-table .badge { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; min-height: 22px; padding: 2px 8px; box-sizing: border-box; font-size: 10px; font-weight: 500; line-height: 16px; text-shadow: none; border-radius: 11px; }
.rc-party-menu-table .label-info { color: var(--rc-primary); background: #e8f3ef; }
.rc-party-menu-table .badge-success { color: #237052; background: #e9f5ee; }
.rc-party-menu-table .badge:not(.badge-success) { color: #707b77; background: #edf0ef; }
.rc-party-menu-table td .btn { min-height: 27px; margin: 1px 2px; padding: 3px 8px; color: #53635d; font-size: 10px; line-height: 19px; text-shadow: none; background: #fff; border: 1px solid #ccd8d4; border-radius: 4px; box-shadow: none; }
.rc-party-menu-table td .btn:hover { color: var(--rc-primary); background: #f1f7f5; border-color: #aac6bd; }
.rc-party-menu-table td .btn i { margin-right: 3px; filter: none; }
.rc-party-menu-table td .btn-primary { color: #fff; background: var(--rc-primary); border-color: var(--rc-primary); }
.rc-party-menu-table td .btn-primary:hover { color: #fff; background: var(--rc-primary-hover); border-color: var(--rc-primary-hover); }
.rc-party-empty { display: flex; min-height: 155px; align-items: center; justify-content: center; flex-direction: column; gap: 4px; color: #7b8884; }
.rc-party-empty i { margin-bottom: 3px; color: #9aaba5; font-size: 24px; }
.rc-party-empty strong { color: #596862; font-size: 12px; font-weight: 600; }
.rc-party-empty span { color: #8a9692; font-size: 10px; }
.rc-party-menu-page .page { float: right; margin-top: 10px !important; }
.rc-party-menu-page .page + span { float: right; margin-top: 14px !important; color: var(--rc-muted); font-size: 10px; }
@media(max-width:900px){.rc-party-content-workspace{grid-template-columns:210px minmax(0,1fr)}.rc-party-menu-toolbar{align-items:stretch;flex-direction:column}.rc-party-add-btn{align-self:flex-end}}

/* Fix legacy party-tree layout rules that are auto-added by common-js.jsp. */
body.rc-party-content-page.rc-party-module-page.rc-party-tree-page .rc-party-content-workspace {
  display: grid !important;
  grid-template-columns: 250px minmax(0,1fr) !important;
  gap: 14px !important;
  width: 100% !important;
  min-width: 0 !important;
}
body.rc-party-content-page.rc-party-module-page.rc-party-tree-page .rc-party-tree-panel.centent {
  display: block !important;
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
}
body.rc-party-content-page.rc-party-module-page.rc-party-tree-page .rc-party-tree-panel .treebox,
body.rc-party-content-page.rc-party-module-page.rc-party-tree-page .rc-party-tree-scroll {
  width: 100% !important;
  height: calc(100vh - 278px) !important;
  min-height: 540px !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 10px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.rc-party-content-page.rc-party-module-page.rc-party-tree-page .rc-party-content-panel {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}
body.rc-party-content-page.rc-party-module-page.rc-party-tree-page .rc-party-content-panel #treeFrame,
body.rc-party-content-page.rc-party-module-page.rc-party-tree-page #treeFrame {
  display: block !important;
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 620px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.rc-party-content-page.rc-party-module-page .box_right {
  width: 100% !important;
  min-width: 0 !important;
  padding: 18px 22px 28px !important;
}
body.rc-party-content-page.rc-party-module-page .breadcrumbs {
  margin: 0 0 14px !important;
}
body.rc-party-content-page.rc-party-module-page .rc-party-tree .close_menu,
body.rc-party-content-page.rc-party-module-page .rc-party-tree .open_menu {
  width: 100% !important;
  box-sizing: border-box;
}
body.rc-party-content-page.rc-party-module-page .rc-party-tree-submenu {
  margin: 0 !important;
  padding: 0 0 0 8px !important;
}
body.rc-party-content-page.rc-party-module-page .rc-party-tree-submenu > li {
  width: 100% !important;
}
@media(max-width:900px){
  body.rc-party-content-page.rc-party-module-page.rc-party-tree-page .rc-party-content-workspace{grid-template-columns:210px minmax(0,1fr)!important}
}

/* YB program creation dialog: shared visual language with the touch-query editor. */
body.rc-create-template-open { overflow: hidden; }
.rc-create-template-overlay { position: fixed; inset: 0; z-index: 10050; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(28, 37, 42, .54); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.rc-create-template-overlay.is-closed { display: none; }
.rc-create-template-dialog { display: flex; flex-direction: column; width: min(1020px, calc(100vw - 40px)); max-height: calc(100vh - 40px); margin: 0; overflow: hidden; border: 0 !important; border-radius: 18px; background: #fff; box-shadow: 0 22px 70px rgba(20, 35, 45, .24); }
.rc-create-template-header { position: relative; flex: 0 0 auto; min-height: 128px; gap: 22px; padding: 25px 36px; background: #f4f8f7; border-bottom: 1px solid #e0e9e6; }
.rc-create-template-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 64px; width: 64px; height: 64px; color: #087d6b; font-size: 28px; background: linear-gradient(135deg, #e1f5ef 0%, #e8efff 100%); border-radius: 17px; }
.rc-create-template-header > div { min-width: 0; }
.rc-create-template-header strong { display: block; color: #24332f; font-size: 27px; font-weight: 700; line-height: 1.35; }
.rc-create-template-header small { display: block; margin-top: 5px; color: #82908c; font-size: 15px; line-height: 1.5; }
.rc-create-template-close { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 38px; width: 38px; height: 38px; margin: 0 0 0 auto; padding: 0; color: #a2aeaa; font-size: 22px; background: transparent; border: 0; border-radius: 8px; cursor: pointer; }
.rc-create-template-close:hover, .rc-create-template-close:focus { color: #087d6b; background: #e7f2ee; outline: 0; }
.rc-create-template-dialog .rc-layout-basic-grid { display: flex; flex: 1 1 auto; flex-direction: column; gap: 24px; min-height: 0; padding: 34px 5.8% 24px; overflow: auto; }
.rc-create-template-dialog .rc-layout-field { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 16px; }
.rc-create-template-dialog .rc-layout-field > label { margin: 0; color: #5d6d68; font-size: 17px; font-weight: 500; text-align: right; }
.rc-create-template-dialog .rc-layout-field--name input[type="text"] { height: 62px; padding: 10px 17px; border-color: #d5e2dd; border-radius: 11px; font-size: 19px; }
.rc-create-template-dialog .rc-orientation-switch { display: flex; flex-wrap: wrap; gap: 14px; }
.rc-create-template-dialog .rc-orientation-option { flex: 0 1 225px; flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; min-height: 64px; padding: 12px 17px; text-align: left; border: 1px solid #d5e2dd; border-radius: 13px; box-shadow: none; }
.rc-create-template-dialog .rc-orientation-option__screen { flex: 0 0 42px; width: 42px; height: 40px; }
.rc-create-template-dialog .rc-orientation-option--landscape .rc-orientation-option__screen::before { width: 36px; height: 24px; border-width: 2px; box-shadow: inset 0 0 0 2px #eef3f1; }
.rc-create-template-dialog .rc-orientation-option--portrait .rc-orientation-option__screen::before { width: 23px; height: 36px; border-width: 2px; box-shadow: inset 0 0 0 2px #eef3f1; }
.rc-create-template-dialog .rc-orientation-option__label { font-size: 17px; font-weight: 600; }
.rc-create-template-dialog .rc-orientation-option__check { top: 50%; right: 12px; color: #087d6b; transform: translateY(-50%); }
.rc-create-template-dialog .rc-orientation-option.is-selected { color: #087d6b; background: #eff8f5; border-color: #65bba9; box-shadow: 0 2px 7px rgba(8, 125, 107, .08); }
.rc-create-template-dialog .rc-orientation-option.is-selected .rc-orientation-option__screen::before { border-color: #087d6b; background: #fff; box-shadow: inset 0 0 0 2px #e3f3ed; }
.rc-create-template-dialog .rc-resolution-presets, .rc-create-template-dialog .rc-resolution-preview { display: none !important; }
.rc-create-template-dialog .rc-resolution-control { display: block; }
.rc-create-template-dialog .rc-layout-field--resolution select { width: min(480px, 100%) !important; height: 64px !important; padding: 12px 17px !important; border-radius: 11px !important; font-size: 18px; }
.rc-create-template-dialog .rc-layout-field--canvas-size { align-items: center; }
.rc-canvas-size-control { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.rc-canvas-size-input { display: flex; align-items: center; flex: 0 1 218px; min-width: 0; height: 62px; overflow: hidden; border: 1px solid #d5e2dd; border-radius: 11px; background: #fff; }
.rc-canvas-size-input > span { display: inline-flex; align-items: center; justify-content: center; align-self: stretch; flex: 0 0 56px; color: #61736d; font-size: 16px; background: #f3f7f5; border-right: 1px solid #d5e2dd; }
.rc-canvas-size-input input { width: 100% !important; min-width: 0; height: 100% !important; margin: 0 !important; padding: 10px 13px !important; color: #344640; font-size: 18px; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.rc-canvas-size-input input:focus { outline: 0; background: #fbfefd; }
.rc-canvas-swap { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 28px; width: 28px; height: 42px; margin: 0; padding: 0; color: #91a29c; font-size: 22px; background: transparent; border: 0; cursor: pointer; }
.rc-canvas-swap:hover, .rc-canvas-swap:focus { color: #087d6b; outline: 0; }
.rc-create-template-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex: 0 0 auto; min-height: 112px; padding: 20px 36px; background: #f4f8f7; border-top: 1px solid #e0e9e6; }
.rc-create-template-footer > span { display: flex; align-items: flex-start; gap: 10px; color: #879590; font-size: 14px; line-height: 1.6; }
.rc-create-template-footer > span i { flex: 0 0 auto; margin-top: 3px; color: #7fa99d; }
.rc-create-template-confirm { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 144px; min-width: 144px; height: 64px; margin: 0; padding: 0 24px; color: #fff; font-size: 18px; font-weight: 600; background: #087d6b; border: 0; border-radius: 11px; box-shadow: none; cursor: pointer; }
.rc-create-template-confirm:hover, .rc-create-template-confirm:focus { background: #066c5d; outline: 0; box-shadow: 0 0 0 3px rgba(8, 125, 107, .15); }
.rc-create-template-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 14px; padding: 14px 18px; background: #f5f9f7; border: 1px solid #dce9e4; border-radius: 8px; }
.rc-create-template-summary > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; min-width: 0; }
.rc-create-template-summary strong { color: #243a33; font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.rc-create-template-summary span { color: #72847d; font-size: 12px; }
.rc-create-template-summary button { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; min-height: 34px; margin: 0; padding: 6px 12px; color: #087d6b; font-size: 12px; background: #fff; border: 1px solid #cfe0d9; border-radius: 6px; cursor: pointer; }
.rc-create-template-summary button:hover, .rc-create-template-summary button:focus { background: #edf7f3; outline: 0; }
.rc-layout-template-heading #next { display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: 0 0 auto; min-width: 142px; height: 38px; margin: 0 0 0 14px; padding: 6px 14px; color: #fff; font-size: 12px; background: var(--rc-primary); border: 0; border-radius: 5px; cursor: pointer; }
.rc-layout-template-heading #next:hover { background: var(--rc-primary-hover); }
@media (max-width: 760px) {
  .rc-create-template-overlay { align-items: center; padding: 12px; }
  .rc-create-template-dialog { width: calc(100vw - 24px); max-height: calc(100vh - 24px); border-radius: 14px; }
  .rc-create-template-header { min-height: 94px; gap: 13px; padding: 18px; }
  .rc-create-template-icon { flex-basis: 48px; width: 48px; height: 48px; font-size: 22px; border-radius: 13px; }
  .rc-create-template-header strong { font-size: 21px; }
  .rc-create-template-header small { font-size: 12px; }
  .rc-create-template-dialog .rc-layout-basic-grid { gap: 19px; padding: 22px 18px; }
  .rc-create-template-dialog .rc-layout-field { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .rc-create-template-dialog .rc-layout-field > label { text-align: left; font-size: 14px; }
  .rc-create-template-dialog .rc-layout-field--name input[type="text"], .rc-create-template-dialog .rc-layout-field--resolution select { width: 100% !important; height: 48px !important; font-size: 16px; }
  .rc-create-template-dialog .rc-orientation-option { flex: 1 1 140px; min-height: 58px; padding: 9px 12px; }
  .rc-create-template-dialog .rc-orientation-option__label { font-size: 15px; }
  .rc-canvas-size-control { gap: 8px; flex-wrap: nowrap; }
  .rc-canvas-size-input { flex: 1 1 0; height: 48px; }
  .rc-canvas-size-input > span { flex-basis: 38px; font-size: 14px; }
  .rc-canvas-size-input input { padding: 8px !important; font-size: 15px; }
  .rc-canvas-swap { flex-basis: 22px; width: 22px; font-size: 18px; }
  .rc-create-template-footer { align-items: stretch; flex-direction: column; gap: 14px; min-height: 0; padding: 18px; }
  .rc-create-template-footer > span { font-size: 12px; }
  .rc-create-template-confirm { flex-basis: 48px; width: 100%; min-width: 0; height: 48px; font-size: 16px; }
  .rc-create-template-summary { align-items: flex-start; flex-direction: column; }
  .rc-layout-template-heading { flex-wrap: wrap; }
  .rc-layout-template-heading #next { margin-left: auto; }
}
.rc-create-template-dialog { float: none; margin-bottom: 0; }
.rc-create-template-dialog form { margin: 0; }

/* Member gifted-device activation */
.rc-member-gift-inline { display:flex; align-items:center; flex-wrap:wrap; gap:6px 10px; }
.rc-member-gift-inline > span { color:var(--rc-primary); font-size:14px; font-weight:700; }
.rc-member-gift-inline small { color:var(--rc-muted); font-size:11px; }
.rc-member-gift-open { display:inline-flex; align-items:center; justify-content:center; min-height:30px; padding:5px 10px; border:0; border-radius:4px; color:#fff; background:var(--rc-primary); font-size:11px; cursor:pointer; }
.rc-member-gift-open:hover { background:var(--rc-primary-hover); }
.rc-member-gift-open.is-secondary { border:1px solid #d2e1db; color:var(--rc-primary); background:#edf5f2; }
.rc-member-gift-open:disabled { color:#89958f; background:#dfe6e3; cursor:not-allowed; }
.rc-member-gift-dialog { width:100%; min-width:0; padding:18px; box-sizing:border-box; color:var(--rc-text); font-family:var(--rc-font); font-size:12px; }
.rc-member-gift-dialog-wrap { z-index:99999; border:1px solid var(--rc-border); border-radius:8px; box-shadow:0 18px 60px rgba(0,0,0,.22); }
.rc-member-gift-dialog-wrap .ui-dialog-titlebar { padding:14px 18px; border:0; border-bottom:1px solid var(--rc-border); border-radius:8px 8px 0 0; color:var(--rc-text); background:#f7faf8; font-size:15px; font-weight:600; }
.rc-member-gift-dialog-wrap .ui-dialog-titlebar-close { top:50%; right:12px; transform:translateY(-50%); }
.rc-member-gift-intro { margin:0 0 14px; color:var(--rc-muted); font-size:12px; line-height:1.6; }
.rc-member-gift-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-bottom:14px; }
.rc-member-gift-stats > div { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:56px; padding:10px 12px; border:1px solid var(--rc-border); border-radius:6px; background:#f8faf9; }
.rc-member-gift-stats span { color:var(--rc-muted); font-size:11px; }
.rc-member-gift-stats strong { color:var(--rc-primary); font-size:20px; font-weight:700; }
.rc-member-gift-toolbar { display:flex; gap:9px; margin-bottom:12px; }
.rc-member-gift-toolbar input { flex:1; min-width:0; height:36px; padding:0 11px; border:1px solid var(--rc-border); border-radius:4px; box-shadow:none; }
.rc-member-gift-toolbar select { width:150px; height:36px; padding:0 9px; border:1px solid var(--rc-border); border-radius:4px; background:#fff; }
.rc-member-gift-main { display:grid; grid-template-columns:minmax(0,1fr) 220px; gap:12px; min-height:280px; }
.rc-member-gift-table-wrap { max-height:330px; overflow:auto; border:1px solid var(--rc-border); border-radius:6px; }
.rc-member-gift-table { width:100%; min-width:760px; margin:0; border-collapse:collapse; font-size:11px; }
.rc-member-gift-table th, .rc-member-gift-table td { padding:9px 8px; border-bottom:1px solid #edf1ef; color:var(--rc-text); text-align:left; vertical-align:middle; }
.rc-member-gift-table th { position:sticky; top:0; z-index:1; color:#586760; background:#f6f9f7; font-weight:600; }
.rc-member-gift-table tbody tr:hover, .rc-member-gift-table tbody tr.is-selected { background:#f2f8f5; }
.rc-member-gift-table td strong { display:block; font-size:11px; }
.rc-member-gift-table td small { display:block; margin-top:3px; color:var(--rc-muted); font-size:10px; }
.rc-member-gift-check-col { width:34px; text-align:center !important; }
.rc-member-gift-check { width:15px; height:15px; margin:0; accent-color:var(--rc-primary); }
.rc-member-gift-status { display:inline-block; padding:3px 6px; border-radius:3px; color:#78857f; background:#f0f3f1; white-space:nowrap; }
.rc-member-gift-status.is-pending { color:#94651e; background:#fff6e6; }
.rc-member-gift-status.is-done { color:var(--rc-primary); background:#eaf4f0; }
.rc-member-gift-empty { padding:35px 12px !important; color:var(--rc-muted) !important; text-align:center !important; }
.rc-member-gift-selected { padding:12px; border:1px solid var(--rc-border); border-radius:6px; background:#fbfcfb; }
.rc-member-gift-selected h4 { margin:0 0 10px; color:var(--rc-text); font-size:12px; font-weight:600; }
.rc-member-gift-selected ul { display:grid; gap:7px; max-height:280px; margin:0; padding:0; overflow:auto; list-style:none; }
.rc-member-gift-selected li { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:7px 8px; border:1px solid #e5ece8; border-radius:4px; background:#fff; }
.rc-member-gift-selected li span { min-width:0; overflow:hidden; color:var(--rc-text); text-overflow:ellipsis; white-space:nowrap; }
.rc-member-gift-selected li button { flex:0 0 22px; width:22px; height:22px; border:0; border-radius:50%; color:#8b9691; background:#f0f3f1; cursor:pointer; }
.rc-member-gift-selected-empty { color:var(--rc-muted) !important; font-size:11px; text-align:center; }
.rc-member-gift-tip { margin-top:12px; padding:9px 11px; border-radius:4px; color:#69766f; background:#f4f8f6; font-size:11px; line-height:1.6; }
.rc-member-gift-tip i { margin-right:6px; color:var(--rc-primary); }
.rc-member-gift-footer { display:flex; justify-content:flex-end; gap:8px; margin-top:14px; }
.rc-member-gift-footer button { min-width:100px; min-height:34px; padding:6px 12px; border:1px solid var(--rc-border); border-radius:4px; color:var(--rc-muted); background:#fff; cursor:pointer; }
.rc-member-gift-footer .rc-member-gift-confirm { border-color:var(--rc-primary); color:#fff; background:var(--rc-primary); }
.rc-member-gift-footer .rc-member-gift-confirm:disabled { border-color:#dfe6e3; color:#89958f; background:#dfe6e3; cursor:not-allowed; }
.rc-account-page.rc-rtl .rc-member-gift-inline { direction:rtl; }
.rc-account-page.rc-rtl .rc-member-gift-table th, .rc-account-page.rc-rtl .rc-member-gift-table td { text-align:right; }
.rc-account-page.rc-rtl .rc-member-gift-tip i { margin-right:0; margin-left:6px; }
@media (max-width:760px) {
  .rc-member-gift-inline { align-items:flex-start; }
  .rc-member-gift-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rc-member-gift-main { grid-template-columns:minmax(0,1fr); }
  .rc-member-gift-selected ul { max-height:120px; }
  .rc-member-gift-toolbar { flex-direction:column; }
  .rc-member-gift-toolbar select { width:100%; }
  .rc-member-gift-dialog { padding:10px; }
  .rc-member-gift-dialog-wrap { width:calc(100vw - 20px) !important; max-width:calc(100vw - 20px) !important; }
}